*{
    margin: 0;
    padding: 0;
    font-family: Arial-fallback,Linux-fallback,Helvetica,Helvetica Neue,-apple-system,BlinkMacSystemFont,sans-serif;
    box-sizing: border-box;
}
a{
    text-decoration: none;
    color: #5a5a5a;
}
img{
    cursor: pointer;
}
nav{
    display: flex;
    padding: 10px 2%;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}
nav h1 {
	display: inline;
	color: #04a2ff;
	font-size: 3em;
	margin-left: 10px;
}
nav img.logo {
    width:  42px;
	vertical-align: text-bottom;
}
.nav-links {
    flex: 1;
    text-align: right;
}
.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding:8px 12px;
    position: relative;
}
.nav-links ul li a{
    color: #f69400;
    text-decoration: none;
    font-size: 1.35em;
    font-weight: 600;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #04a2ff;
    display: block;
    margin: auto;
    transition: 0.56s;
}
.nav-links ul li:hover::after{
    width: 100%;
}
button.menu-close {
    display: none;
}
button.menu-open {
    display: none;
}
div.container{
    padding-left: 2%;
    padding-right: 2%;
    padding-top:20px;
    padding-bottom: 20px;
    margin: auto;
    max-width: 80%;
}
button.nav_btn {
    border-radius: 0.5rem;
    margin: 10px 5px;
    background-color: #fcfbf8;
    color: #5a5a5a;
    padding: 0.75rem 1rem;
    border: none;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
}
button.nav_btn img {
    width: 15px;
    height: 15px;
    vertical-align: text-bottom;
    margin-right: 5px;
}

button.nav_btn:hover {
    background-color: #f69400;
    color: #fff;
}
button.nav_btn:hover img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(314deg) brightness(106%) contrast(101%);
}

select.lang-select {
    max-width: 120px;
}

@media (max-width: 700px) {
    div.container {
        max-width: 36rem;
    }
    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: absolute;
        background: #B0DEF5;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -400px;
        text-align: left;
        z-index: 2;
        transition: 1s;
        display: none;
    }
    nav .fa{
        display: block;
        color: #f69400;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul{
        padding: 30px;
    }
    button.menu-close {
        display: block;
        width: 32px;
        border: 0px;
        margin-left: 20px;
        margin-top: 20px;
        background: #B0DEF5;
    }
    button.menu-open {
        display: block;
        width: 32px;
        background-color: #fff;
        border: none;
    }
    nav img.logo {
        width : 42px;
    }
	nav h1 {
		font-size: 1.7em;
		display:block;
	}
    nav {
        padding: 2% 2%;
    }
}
@media screen 
    and (max-width: 1400px) 
    and (min-width: 701px) {
    div.container {
        max-width: 72rem;
    }
        .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: absolute;
        background: #B0DEF5;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -400px;
        text-align: left;
        z-index: 2;
        transition: 1s;
        display: none;
    }
    nav .fa{
        display: block;
        color: #f69400;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul{
        padding: 30px;
    }
    button.menu-close {
        display: block;
        width: 32px;
        border: 0px;
        margin-left: 20px;
        margin-top: 20px;
        background: #B0DEF5;
    }
    button.menu-open {
        display: block;
        width: 32px;
        background-color: #fff;
        border: none;
    }

    nav h1 {
		font-size: 2.25em;
		display:block;
	}
}
section.content {
    color : #3a3a3a;
    background-color: #fcfbf8;
}


.flex-div {
    display: flex;
    align-items: center;
}

div.list-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 15px;
}

div.ve-list {
    box-shadow: 2px 2px 3px 2px rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem;
    background: white;
    transition: transform 0.3s ease-in-out;
    text-align: left;
}

div.ve-list .thumbnail {
    width: 100%;
    border-radius: 0.75rem 0.75rem 0 0;
    border-color: #aaa;
    height: 200px;
}

div.ve-list:hover {
    transform: scale(1.05);
}

div.ve-list .flex-div {
    align-items: flex-start;
    margin-top: 7px;
}

div.ve-list .edesc {
    white-space: nowrap;
    overflow: hidden;
    margin-bottom: 0.4rem;
    text-overflow: ellipsis;
    color: #5a5a5a;
}

div.ve-list .details {
    padding: 1.5rem;
    color: #6b7280;
}

div.details h4 {
    font-size: 1.125rem;
    line-height: 1.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #282c34;
    font-weight: 600;
}

div.details:hover h4 {
    color: #f69400;
}

div.details h5 {
    margin-bottom: 0.8rem;
}

img.cth {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 5px;
}

a.elink {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #f69400;
    float: right;
    font-weight: 500;
}

button.elink {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #f69400;
    float: right;
    font-weight: 500;
    border: none;
    background: #fff;
}

button.elink:hover {
    color: #fff;
    background-color: #f69400;
    padding: 5px 10px;
    border-radius: 5px;
}

span.e_category {
    color: #282c34;
    background-color: #fff3eb;
    padding: 0.25rem 1rem;
    font-size: 0.75rem;
    line-height: 1rem;
    border-radius: 1rem;
    font-weight: 600;
    margin-right: 1rem;
}

p.e_categories {
    margin-bottom: 0.5rem;
}

span.stats {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #5a5a5a;
}

span.stats img {
    width: 15px;
    height: 15px;
    vertical-align: text-bottom;
}

span.name {
    color: #5a5a5a;
}

div.heroContainer {
    background-image: url(/images/artegallery.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 80vh;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

div.heroText {
    margin: auto;
    max-width: 52rem;
    vertical-align: middle;
    color: white;
    padding: 8rem 8rem;
}

div.heroText h1 {
    font-size: 4.5rem;
    line-height: 1;
    font-weight: 700;
    text-align: center;
    max-width: 32rem;
    margin-bottom: 1.5rem;
}

div.heroText p {
    font-size: 1.5rem;
    line-height: 2rem;
    max-width: 42rem;
    text-align: center;
}

div.heroText h1 span.titleOrange {
    color: #f69400;
}

div.heroOverlay {
    background-color: rgb(0 0 0 / 0.5);
    width: 100%;
    height: 80vh;
    border-radius: 1rem;
}

div.search_container {
    margin: 2rem auto;
    align-items: center;
    border: 1px solid #e5e7eb;
    padding: 5px 10px;
    background: white;
    border-radius: 0.5rem;
    display: block;
    max-width: 470px;
}

div.search_container:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

div.search_container:focus-within {
    border: #dd6b19f7 2px solid;
}

input#search_input {
    border: none;
    outline: none;
    font-size: 0.875rem;
    line-height: 1.25rem;
    width: 90%;
    padding: 0.5rem;
}

div.search_container img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

div.category_links {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

a.category_link {
    text-decoration: none;
    color: #282c34;
    border: 1px solid #e5e7eb;
    padding: 5px 10px;
    margin-right: 20px;
    border-radius: 0.5rem;
    background: #fff3eb;
    font-size: 0.9rem;
    line-height: 1.25rem;
    font-weight: 600;
}

a.category_link:hover {
    background-color: #f69400;
    color: #fff;
}

button.category_link {
    text-decoration: none;
    color: #282c34;
    border: 1px solid #e5e7eb;
    padding: 5px 10px;
    margin-right: 20px;
    border-radius: 0.5rem;
    background: #fff3eb;
    font-size: 0.9rem;
    line-height: 1.25rem;
    font-weight: 600;
}

button.category_link:hover {
    background-color: #f69400;
    color: #fff;
}

h2.list_header {
    font-weight: 700;
    font-size: 1.875rem;
    line-height: 2.25rem;
}

div.category_header {
    padding: 1rem 0rem;
    color: white;
    background-image: linear-gradient(to right, #f69400, #04a2ff);
}

div.category_header h2 {
    padding: 1rem 0rem;
    font-weight: 700;
    font-size: 3rem;
    line-height: 1;
}

div.list_header_container {
    padding-top: 3em;
    padding-bottom: 0.5em;
    display: flex;
    justify-content: space-between;
}

a.link {
    float: right;
    border: 0;
    background: transparent;
    color: #f69400;
    font-size: 1.125rem;
}

a.link img {
    filter: brightness(0) saturate(100%) invert(67%) sepia(55%) saturate(4894%) hue-rotate(9deg) brightness(104%) contrast(109%);
    vertical-align: text-bottom;
}

a.link:hover {
    color: #fff;
    background-color: #f69400;
    border-radius: 5px;
    padding: 5px;
}

a.link:hover img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(314deg) brightness(106%) contrast(101%);
}

section#hero {
    padding: 3% 1%;
    background: #fcfbf8;
}

section.bg {
    background-color: #fcfbf8;
}

div.paginate {
    margin-top: 2rem;
    text-align: center;
}

div.paginate ul {
    list-style-type: none;
    display: inline-flex;
}

div.paginate ul li {
    margin: 5px;
}

a.page_link_text {
    font-weight: 500;
    font-size: .875rem;
    line-height: 1.25rem;
    border: 0px solid gray;
    border-radius: 5px;
    padding: 0.5rem 0.75rem;
    display: block;
}

a.page_link_text:hover {
    background-color: #f69400;
    border: 1px solid #f69400;
    color: #fff;
}

a.page_link_num {
    font-weight: 500;
    font-size: .875rem;
    line-height: 1.25rem;
    border: 1px solid gray;
    border-radius: 5px;
    padding: 0.5rem 0.75rem;
    display: block;
}

a.page_link_num:hover {
    background-color: #f69400;
    border: 1px solid #f69400;
    color: #fff;
}

a.link_dsbl {
    pointer-events: none;
    opacity: 0.5;
}

h2.ct {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 600;
    color: #282c34;
    text-align: center;
}

p.ct {
    font-size: 1rem;
    line-height: 1.5rem;
    color: #5a5a5a;
    text-align: center;
}

.row {
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}

.ptype {
    flex-basis: 31%;
    background: #F6F6F6;
    border-radius: 10px;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 00.56s;
    margin-bottom: 1em;
    box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.1);
}

.ptype ul {
    margin-left: 2em;
    margin-top: 3%;
}

.ptype li {
    text-align: left;
    margin-bottom: 3%;
}
:root {
            --primary-orange: #f69400;
            --secondary-blue: #04a2ff;
            --dark-gray: #1a1a1a;
            --light-gray: #f4f4f4;
        }

.optin-container {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 450px;
    text-align: center;
    border-top: 5px solid var(--secondary-blue);
    margin:auto;
}

.optin-container h2 {
    margin-top: 0;
    color: var(--dark-gray);
    font-size: 1.8rem;
    letter-spacing: -0.5px;
}

.optin-container p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

input[type="email"] {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input[type="email"]:focus {
    outline: none;
    border-color: var(--secondary-blue);
}

.cta-button {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-orange);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background-color: #e58a00;
    transform: translateY(-2px);
}

.footer-note {
    font-size: 0.8rem;
    color: #999;
    margin-top: 20px;
}

@media screen and (max-width: 700px) {
    div.list-container {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    div.heroText {
        padding: 1rem;
    }

    div.heroText h1 {
        font-size: 4rem;
    }

    div.heroOverlay {
        display: flex;
    }
}

@media screen and (max-width: 1400px) and (min-width: 701px) {
    div.list-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
div.heroContainerWImg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 80vh;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

div.heroNav nav {
    background: transparent;
    box-shadow: none;
}

div.heroNav nav button {
    border-radius: 0.5rem;
    margin: 10px 5px;
    background-color: #fcfbf8;
    color: #5a5a5a;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    border: none;
}
span.category {
    background-color: #f69400;
    padding: 0.25rem 1rem;
    font-size: 0.875rem;
    line-height: 1.75rem;
    border-radius: 1rem;
    font-weight: 600;
    margin-right: 1rem;
}
p#categories {
    margin-bottom: 0.5rem;
}

div.exhibitionSummary {
    vertical-align: middle;
    color: white;
    padding: 8rem 8rem;
    position: absolute;
    bottom: 0px;
    left: 0px;
    margin-bottom: 1rem;
}

div.exhibitionSummary h1.title {
    font-weight: 700;
    font-size: 3.75rem;
    line-height: 1;
}

div.exhibitionSummary p.description {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 52rem;
    font-size: 1.25rem;
    line-height: 2rem;
    margin: 1rem 0px;

    @supports (-webkit-line-clamp: 2) {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: initial;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}

div.exhibitionSummary p.stats {
    color: white;
    font-size: 1rem;
    line-height: 1.25rem;
    margin-bottom: 1rem;
}

div.exhibitionSummary p.stats img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(190deg) brightness(104%) contrast(101%);
    width: 20px;
    height: 20px;
    vertical-align: text-bottom;
}

a.s-link {
    padding: 15px 30px;
    font-size: 18px;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background-image: linear-gradient(to right, #f69400, #04a2ff);
    display: block;
    font-weight: 600;
    max-width: 250px;
    text-align: center;
}

a.s-link:hover {
    color: #f69400;
    background-image: linear-gradient(to right, #c3e6fa, #fdf2e2);
}

h2.section_header {
    font-weight: 700;
    font-size: 2.25rem;
    line-height: 2.5rem;
    margin-bottom: 1rem;
}

p.sub_header {
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: #5a5a5a;
    margin-bottom: 2rem;
}

div.ymal-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 15px;
}

div.ymal-header-container {
    padding-top: 3rem;
    padding-bottom: 0.5rem;
}

div.ymal-header-container h2 {
    font-weight: 700;
    font-size: 1.875rem;
    line-height: 2.25rem;
    margin-bottom: 1rem;
    text-align: center;
}

div.ymal-header-container p {
    text-align: center;
    font-size: 1.125rem;
}

div.aw-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.2rem;
    margin-bottom: 2rem;
}

div.artwork {
    box-shadow: 2px 2px 3px 2px rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem;
    background: white;
    transition: transform 0.3s ease-in-out;
    position: relative;
}

div.artwork .awimg {
    width: 100%;
    border-radius: 0.75rem 0.75rem 0 0;
    border-color: #aaa;
    height: 200px;
    transition: all .5s ease;
    object-fit: cover;
}

div.artwork:hover {
    transform: scale(1.05);
    overflow: hidden;
    box-shadow: 5px 5px 7px 5px rgba(0, 0, 0, 0.2);
}

div.artwork:hover .awimg {
    transform: scale(1.15);
}

div.artwork .awdesc {
    white-space: nowrap;
    overflow: hidden;
    margin-bottom: 0.4rem;
    text-overflow: ellipsis;
    color: #3a3a3a;
    margin: 10px 0px;

    @supports (-webkit-line-clamp: 2) {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: initial;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}

div.artwork .details {
    padding: 1rem;
}

div.artwork .details h3 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

div.artwork:hover .details h3 {
    color: #f69400;
}

div.artwork .details p {
    margin-bottom: 1rem;
}

div.artwork button.lbtn {
    border-radius: 0.5rem;
    margin: 10px 5px;
    background-color: #fcfbf8;
    color: #5a5a5a;
    padding: 0.3rem;
    position: absolute;
    right: 5px;
    border: none;
    opacity: 0.5;
}

div.artwork button.lbtn img {
    vertical-align: middle;
}

div.artwork button.lbtn:hover {
    background-color: #fff;
    opacity: 1;
}

div.artwork button.lbtn:hover img {
    filter: brightness(0) saturate(100%) invert(47%) sepia(100%) saturate(682%) hue-rotate(8deg) brightness(104%) contrast(105%);
}

div.artwork button.ldbtn {
    background-color: #fff;
    opacity: 1;
}

div.artwork button.ldbtn img {
filter: brightness(0) saturate(100%) invert(27%) sepia(77%) saturate(3033%) hue-rotate(323deg) brightness(93%) contrast(89%);
}
div.details p {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #6b7280;
}

div.details p.creator {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

div.details span.label {
    font-weight: 500;
}

div.details span.price {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.75rem;
    color: #282c34;
}

img.cimg {
    width: 128px;
    height: 128px;
    object-fit: cover;
    border-radius: 50%;
}

div.box {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

div.box ul li {
    margin: 10px;
}

ul.flexul {
    list-style-type: none;
    display: inline-flex;
}

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100vh;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    margin: auto auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    border-radius: 1rem;
    height: 100%;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
div#slideshow {
    height: 100%;
    margin: auto;
}
div#slideshow div.awd_container {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
}

div.awd_container div.img_container {
    position: relative;
    height: 100%;
}

img.awdimg {
    height: 100%;
    padding: 0.5rem;
    object-fit: contain;
    border-radius: 1rem;
}
div.aw_details {
    border-left: 1px solid #6b7280;
    padding: 1rem;
}

div.aw_details h2 {
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 2rem;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    color: #282c34;
}

div.aw_details h3 {
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.75rem;
    margin-bottom: 0.75rem;
    margin-top: 1.25rem;
    color: #282c34;
}

div.aw_details p.creator {
    font-size: 1.125.rem;
    line-height: 1.75rem;
    margin-bottom: 1rem;
}

div.aw_details p {
    border: solid #5a5a5a 0px;
}

div.aw_details p.attr {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom-width: 1px;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    justify-content: space-between;
    display: flex;
    border-color: #c1c1c1;
    font-weight: 600;
    color: #282c34;
}

p.attr span.label {
    color: #6b7280;
    font-weight: 500;
}

div.aw_details p.awdesc {
    margin-top: 0.25rem;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

:root {
    --primary: #f69400;
    --secondary: #04a2ff;
    --white: #ffffff;
}

/* Modal Overlay Optimization */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0; /* Shorthand for top/bottom/left/right: 0 */
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    padding: 20px; /* Prevents modal hitting screen edges on mobile */
    align-items: center;
    justify-content: center;
}

.camodal-content {
    background: var(--white);
    width: 100%;
    max-width: 480px;
    max-height: 90vh; /* Prevents overflow on short mobile screens */
    overflow-y: auto;
    position: relative;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
button.close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

/* Mobile Input Handling */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 600px) {
    .input-group { flex-direction: row; }
}

input, select, textarea {
    font-size: 16px; /* Prevents iOS auto-zoom on focus */
    padding: 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    width: 100%;
    margin-bottom: 12px;
    transition: 0.2s;
}

input:focus { border-color: var(--secondary); outline: none; }

/* The Loading Spinner */
.spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.send-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 55px;
    background: var(--secondary);
    color: white;
    width: 100%;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
}

/* Active State for Spinner */
.send-btn.loading .btn-text { display: none; }
.send-btn.loading .spinner { display: block; }

@media screen and (max-width: 700px) {
    div.aw-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    div.ymal-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    div.exhibitionSummary {
        padding: 2rem 2rem;
        bottom: 4rem;
    }

    div.heroText h1 {
        font-size: 4rem;
    }

    div#slideshow div.awd_container {
        display: block;
    }

    .modal-content {
        margin: 2% auto;
        width: 98%;
    }

    div.awd_container div.img_container {
    height: auto;
    }

    img.awdimg {
    height: auto;
    width: 100% ;
    }
}

@media screen and (max-width: 1400px) and (min-width: 701px) {
    div.aw-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    div.ymal-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .modal-content {
        margin: 5% auto;
        width: 95%;
    }
}
.copyright {
margin: auto;
text-align: center;
}
ul.plist {
    list-style-type:  none;
}
ul.plist li {
    margin-bottom: 10px;
}
ul.plist li button.link-button {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0;
    text: inherit;
    font: inherit;
    text-decoration: none;
}
ul.plist li button.link-button:hover {
    text-decoration: underline;
}
ul.plist li.top {
    font-weight: 600;
}
div.social {
    text-align: left;
}
div.social img {
width: 24px;
height: 24px;
}
img.playstore {
    width: 180px;
    margin-left: -10px;
    margin-right: 25px;
}
img.appstore {
width: 160px;
margin-right: 25px;
margin-bottom: 10px;

}
img.logo-small {
width: 64px;
}
footer {
    padding-top: 20px;
    padding-left: 3%;
    padding-right: 3%;
    margin-top: 10px;
    width: 100%;
    margin: auto;
    font-size: 1.1rem;
    color: #313131;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);

}
div.footer-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
    gap: 2rem;
    margin-top: 15px;
}
footer .store-btn {
  padding: 15px 30px; 
  font-size: 18px;
  color: white; 
  border: none; 
  border-radius: 8px; 
  cursor: pointer; 
  background-image: linear-gradient(to right, #f69400, #04a2ff); 
  margin : 10px;
  display: block;
  font-weight:600;
  max-width: 250px;
}
footer ul.buttons {
    display: block;
	margin-bottom:2rem;
	margin-right: 1em;
	list-style-type:none;
}
footer a {
    text-decoration: none;
}
footer a:hover {
    color : #f69400;
}

.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  z-index: 1000;
  pointer-events: none;
}
.cookie-consent__inner {
  pointer-events: auto;
  background: rgba(255,255,255,0.98);
  color: #111;
  border-radius: 8px;
  box-shadow: 0 6px 22px rgba(0,0,0,0.12);
  padding: 14px 16px;
  max-width: 980px;
  width: calc(100% - 40px);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  grid-template-areas: "text text" "links actions";
  gap: 12px;
  align-items: center;
}
.cookie-consent__text { grid-area: text; font-size: 14px; }
.cookie-consent__links { grid-area: links; margin-right: 8px; display: flex; align-items: center; gap:8px; }
.cookie-consent__link { color: #2b6cb0; text-decoration: underline; font-size: 13px; }
.cookie-consent__manage { background: transparent; border: none; color: #333; cursor: pointer; font-size: 13px; }
.cookie-consent__actions { grid-area: actions; display: flex; gap: 8px; justify-self: end; align-self: center; }
.cookie-consent__btn { padding: 8px 12px; border-radius: 6px; border: 1px solid transparent; cursor: pointer; font-size: 14px; }
.cookie-consent__btn--primary { background: #1f7a8c; color: #fff; }
.cookie-consent__btn--ghost { background: transparent; color: #333; border-color: #e6e6e6; }

/* Modal */
.cookie-consent__modal { position: fixed; inset: 0; display:flex; align-items:center; justify-content:center; background: rgba(0,0,0,0.4); z-index: 1100; }
.cookie-consent__modal { pointer-events: auto; }

/* Keep banner near bottom on small screens for better UX */
@media (max-width: 600px) {
  .cookie-consent {
    top: auto;
    bottom: 18px;
    transform: none;
  }
  .cookie-consent__inner {
    grid-template-columns: 1fr;
    grid-template-areas: "text" "links" "actions";
  }
  .cookie-consent__actions { justify-self: start; }
}

/* respect the HTML5 hidden attribute when toggled from JS */
.cookie-consent[hidden], .cookie-consent__modal[hidden] {
  display: none !important;
  pointer-events: none !important;
}
.cookie-consent__modal { pointer-events: auto; }
.cookie-consent__modal-inner { background: #fff; padding: 20px; border-radius: 8px; max-width: 640px; width: calc(100% - 40px); max-height: 90vh; overflow-y: auto; }
.cookie-consent__pref { margin: 12px 0; }
.cookie-consent__pref-row { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.cookie-consent__pref-title { font-weight:600; }
.cookie-consent__modal-actions { display:flex; justify-content:flex-end; gap:8px; margin-top:12px; }

/* Prevent body scroll when modal is open */
body.cookie-modal-open { overflow: hidden; }

