/* menu */

.menu-container {
    position: relative;
}

.menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    font-size: var( --base-font-size );
    line-height: 1.3;
    margin-left: 65px;
    margin-top: 30px;
    height: 90px;
    transition: opacity 0.3s ease-in-out;
}

.menuitem {
    float: left;
    opacity: 0.8;
}

.menuitem a {
    color: var( --inverse-color );
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, font-weight 0.3s ease-in-out;
}

.header.invert .menu .menuitem a {
    color: var( --primary-bg );
}

.header.invert .menu.active .menuitem a {
    color: var( --inverse-color );
}

.menuitem a:hover {
    transform: scale(1.1 );
    font-weight: bold;
    opacity: 1;
}

.hamburger {
    width: 32px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 1000; 
    margin-left: 33px;
    margin-top: 0;
    display: none;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--inverse-color);
    position: absolute;
    left: 0;
    transition: 0.25s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 10px;
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
}

@media screen and (max-width: 1000px) {
    .hamburger {
        display: block;
    }
    .menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--primary-bg);
        color: var(--inverse-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0;
        gap: 20px;
        opacity: 0;
        pointer-events: none;
        z-index: 999;
    }
    .menu.active {
        opacity: 1;
        pointer-events: auto;
    }
    .menuitem {
        font-size: 24px;
        opacity: 1;
    }
}

.header.invert .hamburger span {
    background: var(--primary-bg);
}

.header.invert .hamburger.active span {
    background: var(--inverse-color);
}

#hero {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5 );
    z-index: 0;
}

.headline {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50% );
    width: 80%;
    text-align: center;
    color: #ffffff;
}

.headline h1 {
    margin: 0 10%;
    font-size: var( --hero-h1-font-size );
    margin-bottom: 33px;
}

.headline h3 {
    margin: 0 10%;
    font-size: var( --base-font-size );
    line-height: 1.8;
}

.headline.narrow {
    width: 60%;
    line-height: 1.1;
}

.headline.topleft {
    position: absolute;
    top: 25%;
    left: 3%;
    width: 50%;
    text-align: left;
    transform: none;
}

.headline.topright {
    position: absolute;
    top: 25%;
    right: 3%;
    left: auto;
    width: 50%;
    text-align: left;
    transform: none;
}

.headline.bottomleft {
    position: absolute;
    bottom: 15%;
    left: 3%;
    top: auto;
    width: 50%;
    text-align: left;
    transform: none;
}

.headline.bottomright {
    position: absolute;
    bottom: 15%;
    right: 3%;
    left: auto;
    top: auto;
    width: 50%;
    text-align: left;
    transform: none;
}

.headline.midleft {
    position: absolute;
    top: 50%;
    left: 3%;
    transform: translateY(-50% );
    width: 50%;
    text-align: left;
}

.headline.midright {
    position: absolute;
    top: 50%;
    right: 3%;
    transform: translateY(-50% );
    width: 50%;
    text-align: left;
}

.headline.centerjustify {
    text-align: center;
}

/* testimonial */

.testimonial {
    position: relative;
    border: 1px solid black;
    padding: 33px;
    margin: 0px;
    background-color: #fff;
    font-family: 'Georgia', serif;
    overflow: visible;
    z-index: 0;
}

.testimonial-description {
    font-size: 1.2em;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-description::before,
.testimonial-description::after {
    content: '"';
}

.testimonial::before,
.testimonial::after {
    content: '“';
    font-size: 4em;
    background-color: white;
    padding: 10px;
    position: absolute;
    color: black;
    font-family: serif;
    z-index: 5;
}

.testimonial::before {
    top: -20px;
    left: -20px;
    transform: rotate(0deg);
}

.testimonial::after {
    content: '”';
    bottom: -50px;
    right: -20px;
    transform: rotate(0deg);
}

.testimonial-author,
.testimonial-organization,
.testimonial-location {
    text-align: right;
    margin: 0;
    padding: 0;
    font-size: 0.9em;
}

.testimonial-author {
    margin-top: 30px;
    font-weight: bold;
}

.aboutsection-container.separate {
    margin-bottom: 85px;
}

#testimonials.aboutsection-gallery.stagger {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 7%;
    width: 100%;
    margin-bottom: 33px;
}

.gallerysection {
    padding: 20px;
    padding-top: 1px;
    padding-bottom: 0px;
}

.gallerysectiontitle {
    color: var( --inverse-color, #000000 );
    font-size: var( --heading-font-size );
    padding-top: 55px;
    padding-bottom: 55px;
    margin-block-start: 0px;
    margin-block-end: 0px;
    text-align: center;
}

.gallery-container:not(.limit) {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr) );
    gap: 20px;
}

.gallery-container.limit {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .gallery-container.limit {
        grid-template-columns: repeat(2, 1fr );
    }
}

@media (min-width: 1300px) {
    .gallery-container.limit {
        grid-template-columns: repeat(3, 1fr );
    }
}

.gallery-container.biggerpanels {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .gallery-container.biggerpanels {
        grid-template-columns: repeat(2, 1fr );
    }
}

@media (min-width: 1300px) {
    .gallery-container.biggerpanels {
        grid-template-columns: repeat(3, 1fr );
    }
}

@media (max-width: 768px) {

    .headline h3 {
        font-size: var( --mobile-smaller-font-size );
        line-height: 1.25;
    }

}

.gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

.gallerytitle {
    color: #ffffff;
    font-size: var( --heading-font-size );
    margin: 0;
    position: absolute;
    top: 50%;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
    text-decoration: none;
    left: 20%;
    transform: translateX(-20%) translateY(-50%) scale(1 );
}

.gallerysection .gallery .gallerytitle {
    color: #ffffff;
}

.galleryimage {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
}

.galleryimage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.gallerysection.portrait .galleryimage {
    aspect-ratio: 9/16;
}

.gallerysection.square .galleryimage {
    aspect-ratio: 1/1;
}

.gallery:hover .galleryimage img {
    transform: scale(1.15 );
}

.gallery:hover .gallerytitle {
    opacity: 1;
    transform: translate(-20%, -50%) scale(1.15 );
}

.gallery-nav {
    display: flex;
    justify-content: space-between;
    margin: 66px 0;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 0 22px;
}

.gallery-nav a {
    text-decoration: none;
    color: var( --inverse-color, #000000 );
    transition: opacity 0.2s ease;
    padding-left: 7%;
    padding-right: 7%;
}

.gallery-nav a:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {

    .gallery-nav h2 {
        background-color: var( --inverse-color );
        color: var( --primary-bg );
        font-size: calc(var(--base-font-size) * 1.2);
        padding: 20px;
    }

}

.artworksection {
    padding: 20px;
    padding-top: 1px;
    padding-bottom: 0px;
    margin-bottom: 55px;
    box-sizing: border-box;
}

.artworksectiontitle {
    color: var( --inverse-color, #000000 );
    font-size: var( --heading-font-size );
    padding-top: 55px;
    padding-bottom: 55px;
    margin-block-start: 0px;
    margin-block-end: 0px;
    text-align: center;
}

.artwork-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 3%;
    row-gap: 1%;
    padding: 0 5%;
    box-sizing: border-box;
}

.artwork {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.artwork a {
    width: 100%;
    text-decoration: none;
}

.artwork-container.firstoneup .artwork:first-child {
    grid-column: span 2;
    width: 60%;
    max-width: 1000px;
    margin: 0 auto;
}

.artwork .artworkimage {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    position: relative;
}

.artworksection.portrait .artwork .artworkimage {
    aspect-ratio: 9/16;
}

.artworksection.square .artwork .artworkimage {
    aspect-ratio: 1/1;
}

.artworksection.staggered .artwork .artworkimage {
    aspect-ratio: initial;
}

.artworksection.staggered .artwork-container {
    display: grid;
    grid-template-columns: repeat(2, calc((100% - 3%) / 2) );
    column-gap: 3%;
    row-gap: 1%;
    padding: 0 5%;
    box-sizing: border-box;
}

.artworksection.staggered .artwork {
    width: 100%;
    margin-bottom: 20px;
    vertical-align: top;
}

.artworksection.staggered .artwork .artworkimage {
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
}

.artworksection.staggered .artwork .artworkimage img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

.artwork .artworkimage img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.artwork .artworktitle {
    font-size: var( --heading-font-size );
    color: var( --inverse-color, #000000 );
    margin: 25px 0 25px 0;
    text-align: center;
    text-decoration: none;
}

.artwork .artworkdescription,
.artwork .artworkdimensions,
.artwork .artworkedition,
.artwork .artworkyear {
    font-size: var( --base-font-size );
    color: var( --inverse-color, #000000 );
    margin: 5px 0;
    text-align: center;
    text-decoration: none;
}

@media (max-width: 768px) {
    .artwork-container {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 1.8%;
    }
    .artwork-container.firstoneup .artwork:first-child {
        grid-column: auto;
        width: 100%;
        max-width: none;
        margin: 0;
    }
}

.artwork .padded {
    padding-left: 7%;
    padding-right: 7%;
}

.artistsection {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    clear: both;
    margin-top: 55px;
    overflow: hidden;
    height: 333px;
    min-height: 333px;
}

.artistsection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5 );
    z-index: 1;
}

.artistsection:not(.wide) {
    width: 80%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.artistsection.wide {
    width: 100%;
    max-width: 100%;
}

.artistsection.portrait {
    aspect-ratio: 9/16;
}

.artistsection.square {
    aspect-ratio: 1/1;
}

.artistsection.video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.artistsectiontitle {
    font-size: var( --heading-font-size );
    margin: 0;
    width: 60%;
    text-align: center;
    margin: 0px auto;
    margin-bottom: 15px;
    z-index: 1;
}

.artistsectiondescription {
    font-size: var( --base-font-size );
    margin: 15px 0 0 0;
    width: 60%;
    text-align: center;
    margin: 0px auto;
    z-index: 1;
}

.artistsectioncta {
    font-size: var( --subhead-size );
    margin: 15px 0 0 0;
    width: 60%;
    text-align: center;
    margin: 0px auto;
    background-color: #ffffff;
    height: 29px;
    cursor: pointer;
    padding: 17.92px 29.9264px;
    margin-top: 25px;
    transition: transform 0.2s ease-in-out, opacity 0.1s linear;
    color: #000000;
    width: auto;
    z-index: 1;
}

.artistsection a {
    text-decoration: underline;
    color: #ffffff;
}

.artistsectioncta a {
    text-decoration: none;
    color: #000000;
}

.artistsectioncta:hover {
    transform: scale(1.05 );
}

.artistsectiontitle,
.artistsectiondescription,
.artistsectioncta {
    z-index: 2;
}

.featuredpostsection {
    padding: 20px;
    padding-top: 1px;
    padding-bottom: 0px;
}

.featuredpostsectiontitle {    
    color: var( --inverse-color, #000000 );
    font-size: var( --heading-font-size );
    padding-top: 55px;
    padding-bottom: 55px;
    margin-block-start: 0px;
    margin-block-end: 0px;
    text-align: center;
}

.featuredpostsectiontitle a {
    color: #594334;
    text-decoration: underline;
}

.featuredpostrow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .featuredpostrow {
        grid-template-columns: repeat(2, 1fr );
    }
}

@media (min-width: 1300px) {
    .featuredpostrow {
        grid-template-columns: repeat(3, 1fr );
    }
}

.featuredpost a,
.featuredpost a:hover,
.featuredposttitle,
.featuredpostdate {
    text-decoration: none !important;
    color: var( --inverse-color, #000000 );
    font-weight: 300;
}

.featuredpost a {
    color: #594334;
    text-decoration: underline;
}

.featuredposttitle {
    font-size: var( --heading-font-size );
    margin: 0;
    width: 60%;
    text-align: center;
    margin: 0px auto;
    margin-bottom: 25px;
    z-index: 1;
    margin-top: 25px;
}

.featuredpostdate {
    font-size: var( --base-font-size );
    margin: 0 0 25px 0;
    text-align: center;
}

.featuredpostimage {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
}

.featuredpostsection.portrait .featuredpostimage {
    aspect-ratio: 9/16;
}

.featuredpostsection.square .featuredpostimage {
    aspect-ratio: 1/1;
}

.featuredpostimage img,
.featuredpostimage video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.featuredpostcta a {
    text-decoration: underline;
    color: var( --inverse-color, #000000 );
}

.featuredpostcta:hover {
    transform: scale(1.05 );
}

.featuredpostrow .featuredpost:nth-child(n+3) {
    display: none;
}

@media (min-width: 1300px) {
    .featuredpostrow .featuredpost:nth-child(n+3) {
        display: block;
    }
    .featuredpostrow .featuredpost:nth-child(n+4) {
        display: none;
    }
}

.herosection {
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 200px 15% 10% 15%;
    z-index: 0;
}

.herosection .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5 );
    z-index: 1;
}

.herosection.two-col {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10%;
}

.herosection.two-col .left,
.herosection.two-col .right {
    flex: 1;
    text-align: left;
}

.herosection.two-col .left img,
.herosection.two-col .right img {
    max-width: 100%;
    height: auto;
    display: block;
}

.herosectiontitle {
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.herosectiontitle h1 {
    font-size: var( --hero-h1-font-size );
    margin: 0;
}

.herosectiondescription {
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.herosectiondescription h3 {
    font-size: var( --subhead-size );
    margin: 0;
}

.herosectiondetails {
    position: relative;
    z-index: 2;
}

.herosectiondetails p {
    font-size: var( --base-font-size );
    margin: 5px 0;
    padding-bottom: 10px;
}

.herosection a {
    color: #ffffff;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .herosection.two-col {
        height: auto;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 200px 10% 33px 10%;
        gap: 20px;
    }
    .herosection.two-col .left,
    .herosection.two-col .right {
        width: 100%;
        text-align: left;
    }
}

.aboutsection-container {
    width: 100%;
    padding-left: 20%;
    padding-right: 20%;
    box-sizing: border-box;
}

.aboutsection {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 55px;
}

.aboutsection .aboutsection-image {
    flex: 1;
    padding: 20px;
}

.aboutsection .aboutsection-text {
    flex: 1;
    padding: 20px;
    color: var( --inverse-color );
    text-align: center;
}

.aboutsection .aboutsection-text a {
    color: var( --standard-highlight );
}

.aboutsection .aboutsectiontitle {
    font-size: var( --heading-font-size );
    margin: 0 0 15px 0;
}

.aboutsection .aboutsectiondescription {
    font-size: var( --base-font-size );
    margin: 0;
}

.aboutsection .aboutsection-image img {
    width: 100%;
    height: auto;
    display: block;
}

.aboutsection.hflip {
    flex-direction: row-reverse;
}

.artdisplay {
    flex-direction: column;
}

.artdisplay .aboutsection-text {
    margin-bottom: 20px;
}

.aboutsection-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
}

.aboutsection-gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.aboutsection-gallery.wide-layout {
    flex-direction: column;
}

.aboutsection-gallery.wide-layout > .extreme {
    width: 100%;
}

.aboutsection-gallery.wide-layout > .secondary {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.aboutsection-gallery.wide-layout > .secondary img {
    width: calc(50% - 5px);
}

.aboutsection-gallery.tall-layout {
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
}

.aboutsection-gallery.tall-layout > .extreme {
    width: 50%;
}

.aboutsection-gallery.tall-layout > .secondary {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 50%;
}

.aboutsection-gallery.tall-layout > .secondary img {
    width: 100%;
}

@media (max-width: 768px) {
    .aboutsection {
        flex-direction: column;
    }
}

.aboutsection.artdisplay.twocolumn {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 20px 0;
}

.aboutsection.artdisplay.twocolumn .aboutsection-text {
    margin-bottom: 0;
    break-inside: avoid;
    padding: 10px;
}

@media (max-width: 768px) {
    .aboutsection.artdisplay.twocolumn {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .aboutsection {
        margin-top: 0px;
    }
    .aboutsection-container {
        padding-left: 7%;
        padding-right: 7%;
    }
    .aboutsection.zoom.hflip {
         display: grid;
         grid-template-areas: 
              "title"
              "image"
              "desc";
         row-gap: 10px;
         text-align: center;
    }
    .aboutsection.zoom.hflip .aboutsection-image {
         grid-area: image;
    }
    .aboutsection.zoom.hflip .aboutsection-text {
         display: contents;
    }
    .aboutsection.zoom.hflip .aboutsectiontitle {
         grid-area: title;
    }
    .aboutsection.zoom.hflip .aboutsectiondescription {
         grid-area: desc;
    }
}

.aboutsection-gallery.stagger {
    display: block;
    column-count: 2;
    column-gap: 3%;
    width: 100%;
}

.aboutsection-gallery.stagger img {
    width: 100%;
    margin-bottom: 3%;
    break-inside: avoid;
    display: block;
}

@media (max-width: 768px) {
    .aboutsection-gallery.stagger {
        column-count: 1;
    }
}

.blogsection-container {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
    overflow: hidden;
}

.blogsection {
    width: 80%;
    margin-left: 10%;
    margin-bottom: 33px;
}

@media (max-width: 768px) {

    .blogsection {
        width: 90%;
        padding-left: 5%;
        padding-right: 5%;
        margin-bottom: 5px;
        margin-left: 0%;
    }

}

.blogsection a {
    color: var( --standard-highlight );
}

.blogdate {
    text-transform: uppercase;
    font-size: var( --blog-font-size );
    margin-bottom: clamp(10px, 2vw, 20px);
    text-align: center;
}

.blogtitle {
    font-size: calc(var(--heading-font-size) * 1.2);
    margin: 0 0 15px 0;
    text-align: center;
}

.blogdescription {
    font-size: var( --blog-font-size );
    margin: 0 0 15px 0;
    padding-bottom: 20px;
    text-align: center;
}

.blogimages {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 0 auto;
    max-width: 100%;
}

.blogimages img {
    width: 100%;
}

.blogimage {
    position: relative;
    text-align: center;
}

.blogimage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blogcaption {
    font-size: var( --base-font-size );
    padding-top: 15px;
    padding-bottom: 15px;
    text-align: center;
    margin: 0;
}

.blogimages.two-up {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: clamp(20px, 5vw, 66px);
    padding-bottom: clamp(20px, 5vw, 66px);
}

.blogimages.two-up .blogimage {
    width: calc(50% - 10px );
}

.blogimages.three-up.wide-layout {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.blogimages.three-up.wide-layout > .extreme {
    width: 100%;
    margin-bottom: 10px;
}

.blogimages.three-up.wide-layout > .secondary {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.blogimages.three-up.wide-layout > .secondary .blogimage {
    width: calc(50% - 5px );
}

.blogimages.three-up.tall-layout {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
}

.blogimages.three-up.tall-layout > .extreme {
    width: 50%;
}

.blogimages.three-up.tall-layout > .secondary {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 50%;
}

.blogimages.three-up.tall-layout > .secondary .blogimage {
    width: 100%;
}

.blogimage iframe.youtube {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.blogimage video {
  display: block;
  width: 100% !important;
  height: auto !important;
  object-fit: cover;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#pagination {
    width: 80%;
    margin: 2rem auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: Raleway, sans-serif;
    font-size: 1rem;
}

.pagination-left,
.pagination-center,
.pagination-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.pagination-center {
    justify-content: center;
}

.pagination-left {
    justify-content: flex-start;
}

.pagination-right {
    justify-content: flex-end;
}

#pagination a {
    color: var(--standard-highlight);
    text-decoration: none;
    margin: 0 0.25rem;
    white-space: nowrap;
}

@media screen and (max-width: 768px) {

    #pagination {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        grid-template-areas:
            "center center"
            "left right";
        justify-items: center;
        align-items: center;
    }
    .pagination-center {
        grid-area: center;
        margin-bottom: 1rem;
        padding-bottom: 25px;
    }
    .pagination-left {
        grid-area: left;
        justify-self: start;
        width: 100%;
    }
    .pagination-right {
        grid-area: right;
        justify-self: end;
        width: 100%;
    }

}

#overlay-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999 !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#overlay-container.visible {
    opacity: 1;
    pointer-events: all;
}

#overlay-image {
    max-width: 90%;
    max-height: 90%;
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5 );
    transition: transform 0.3s ease;
    transform: scale(0.98 );
}

#overlay-container.visible #overlay-image {
    transform: scale(1 );
}

#overlay-close {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 10000;
    user-select: none;
}

.contactform {
    background: #ffffff;
    color: #000000;
    padding: 20px 0;
    padding-top: 95px;
    padding-bottom: 95px;
}

.contactform-container {
    width: 70%;
    margin: 0 auto;
}

.contactformtitle h1 {
    font-size: var( --contactform-h1-size );
    margin: 0 0 15px 0;
    text-align: center;
}

.contactformdescription {
    margin-bottom: 33px;
    text-align: center;
}

.contactform p {
    margin: 0 0 15px 0;
}

.contactform form {
    display: flex;
    flex-direction: column;
}

.contactform-row {
    display: flex;
    gap: 5%;
}

.contactform-field {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-bottom: 15px;
}

.contactform-field label {
    opacity: 0.7;
    margin-bottom: 5px;
}

.contactform-field input,
.contactform-field textarea {
    border: 1px solid #A9A9A9;
    box-shadow: 0 0 0 1px transparent;
    background-color: #fafafa;
    padding: 10px;
    font-size: var( --input-font-size );
    width: 100%;
}

.contactform-field input:focus,
.contactform-field textarea:focus {
    border: 2px solid #594334;
}

.contactform-errors {
    color: #ffffff;
    margin-bottom: 15px;
    min-height: 18px;
    text-align: center;
    width: 100%;
    background-color: #C70039;
    padding: 10px;
    display: none;
    font-family: 'cgp-semibold', serif;
    font-weight: 600;
}

.contactform-submit {
    font-size: var( --subhead-size );
    background-color: #594334;
    color: #ffffff;
    padding: 17.92px 29.9264px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out, opacity 0.1s linear;
    text-align: center;
    width: auto;
    display: inline-block;
    align-self: flex-start;
    margin: 0px auto;
    border: 0px;
}

.contactform-submit:hover {
    transform: scale(1.05 );
}

@media (max-width: 768px) {
    .contactform-row {
        flex-direction: column;
        gap: 0;
    }
}

/* article cta */

.requestcta {
    font-size: var(--subhead-size);
    background-color: var(--standard-highlight);
    color: #ffffff;
    width: auto;
    padding: 17.92px 29.9264px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out, opacity 0.1s linear;
    display: inline-block;
    text-decoration: none;
    margin-top: 25px;
}

.requestcta:hover {
    transform: scale(1.05);
    text-decoration: none;
    color: #ffffff;
}

/* footer */

.footersection {
    width: 100%;
    padding: 50px 0;
    text-align: center;
    padding-bottom: 50px;
    padding-top: 75px;
}

.footersection-container {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.footersectiontitle {
    font-size: var( --heading-font-size );
    margin: 0 0 15px 0;
    font-weight: 600;
    font-family: 'cgp-semibold', serif;
    color: var( --inverse-color, #000000 );
}

.footersectiondetails {
    font-size: var( --base-font-size );
    line-height: 1.5;
    margin-bottom: 25px;
    color: var( --inverse-color, #000000 );
}

.footersectiondetails a {
    color: var( --standard-highlight );
    text-decoration: underline;
}

.footersectioncta {
    font-size: var( --subhead-size );
    background-color: #594334;
    color: #ffffff;
    width: auto;
    padding: 17.92px 29.9264px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out, opacity 0.1s linear;
    display: inline-block;
}

.footersectioncta:hover {
    transform: scale(1.05 );
}

.footersectioncta a {
    text-decoration: none;
    color: #ffffff;
}

.footersection.invert {
    background: #ffffff;
    color: #000000;
}

.footersection.invert .footersectiontitle,
.footersection.invert .footersectiondetails {
    color: #000000;
}

.footersection.invert .footersectiondetails a,
.footersection.invert .footersectioncta a {
    color: #594334;
}

@media (max-width: 768px) {
    .mobilehide {
        display: none;
    }
}

.heromin {
    height: 850px; 
    margin-bottom: 33px;
}

.herominlow {
    height: 750px; 
    margin-bottom: 33px;
}

.herominxlow {
    height: 600px; 
    margin-bottom: 33px;
}

@media (max-width: 768px) {

    .heromin {
        height: 700px;
    }

    .herominlow {
        height: 600px; 
    }

    .herominxlow {
        height: 500px; 
    }

}