@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk-VariableFont_wght.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Cormorant";
  src: url("../fonts/Cormorant-VariableFont_wght.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

.portfolio-grid {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colonnes fixes */
    gap: 30px; /* grid-gap est obsolète, mieux utiliser gap */
}


.portfolio-card {
    width: 100%;
    cursor: pointer;
    transition: 0.3s;
    height: 100%;
}

.portfolio-thumb {
    filter: grayscale(100%); /* image en noir et blanc par défaut */
    height: 300px !important;
    width: 100%;
    height: auto;
    display: block;
}
.portfolio-thumb:hover {
    filter: grayscale(0%); /* image en couleur au survol */

}
.portfolio-card:hover {
  transform: scale(1.03);
}
h4 {
    color: #FAF8F5;
    font-family: Cormorant;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: -0.48px;
}
.title {
  font-size: 18px;
  margin-top: 12px;
}
.portfolio-card h3 {
    color: #000000 !important;
    font-family: Cormorant !important;
    font-size: 35px !important;
    font-style: italic !important;
    font-weight: 300 !important;
    line-height: 91.2px !important;
    letter-spacing: -1.92px !important;
}
.desc {
    margin-bottom: 0px;
    font-size: 14px;
    color: #666;
}
.back-btn a{
  color: #000000 !important;
}
/* ==========
============= */
/*       MODAL POPUP       */
/* ======================= */
.portfolio-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  /* align-items: center; */
  z-index: 2000;
}

.hidden {
  display: none;
}

.portfolio-modal-content {
  position: relative;
  background: #fff;
  padding: 20px;
  width: 100%;
  /* max-width: 900px; */
  border-radius: 10px;
  text-align: center;
}

/* Close button */
.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 30px;
  cursor: pointer;
}

/* Slider */
.slider-container {
  position: relative;
  overflow: hidden;
}

.slide {
  display: none;
}

.slide.active {
  display: block;
}

.popup-image {
  width: 100%;
  height: auto;
}

.popup-title {
  font-size: 22px;
  margin-top: 15px;
}

.popup-text {
  font-size: 15px;
  margin: 10px 0;
  color: #555;
}

/* Navigation arrows */
.nav {
  position: absolute;
  top: 50%;
  font-size: 40px;
  cursor: pointer;
  padding: 10px;
  color: #000;
  transform: translateY(-50%);
  user-select: none;
}

.prev {
  left: 50px;
}

.next {
  right: 50px;
}
.slider-container {
        position: relative;
        width: 80%;
        max-width: 800px;
        margin: 50px auto;
        overflow: hidden;
        border-radius: 10px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    }

    .slider {
        display: flex;
        transition: transform 0.5s ease-in-out;
    }

    .slide {
        min-width: 100%;
        transition: opacity 0.5s ease-in-out;
        opacity: 0;
    }

    .slide.active {
        opacity: 1;
    }

    .slide img {
    height: 400px;
    width: 100%;
    display: block;
}

    /* Compteur */
    .slider-counter {
        position: absolute;
        top: 10px;
        right: 15px;
        background: rgba(0,0,0,0.5);
        color: #fff;
        padding: 5px 10px;
        border-radius: 5px;
        font-weight: bold;
    }

    /* Flèches */
    .slider-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0,0,0,0.5);
        color: #fff;
        border: none;
        padding: 10px;
        font-size: 20px;
        cursor: pointer;
        border-radius: 50%;
    }

    #prev { left: 10px; }
    #next { right: 10px; }
    .slider-btn:hover { background: rgba(0,0,0,0.8); }

    /* Pagination sous forme de tirets */
    .slider-dots {
        position: absolute;
        bottom: 15px;
        width: 100%;
        text-align: center;
        font-size: 24px;
        letter-spacing: 10px;
        color: rgba(255,255,255,0.5);
        user-select: none;
    }

    .slider-dots .active {
        color: #fff;
    }
body.is-front .logo img {
  content: url("/mordan/themes/mordan/public/images/logo-white.png");
}

body.not-front-page .logo img {
  content: url("/mordan/themes/mordan/public/images/logo-noir.png");
}

section {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-content: center;
  flex-direction: column;
}

p {
  color: #6b6b6b;
  font-family: "Space Grotesk";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0.16px;
}
.side-block {
    margin-bottom: 25px;
}
 /* SECTION HEADER */
        .artists-section {
            padding: 5rem 0 3rem;
            position: relative;
            overflow: visible;
            font-family: "Playfair Display", serif;
        }

        .section-number {
            position: absolute;
            top: -30px;
            left: 0;
            font-size: 220px;
            font-weight: 200;
            color: rgba(0, 0, 0, 0.04);
            line-height: 0.9;
            z-index: 0;
            pointer-events: none;
        }

        .section-subtitle {
            font-family: "Montserrat", sans-serif;
            letter-spacing: 2px;
            color: var(--muted);
            font-weight: 500;
            font-size: 0.8rem;
        }

        .section-title {
            font-size: 3.2rem;
            font-weight: 400;
            font-style: italic;
            margin: 0.3rem 0 1rem;
            color: #111;
        }

        .section-description {
            font-size: 1rem;
            color: var(--muted);
            border-left: 3px solid var(--accent);
            padding-left: 1rem;
            max-width: 520px;
        }

        /* Quote */
        blockquote.custom-quote {
            border: none;
            background: transparent;
            padding-left: 0;
        }

        blockquote.custom-quote .quote-card {
            background: transparent;
            border-left: 1px solid var(--accent);
            padding: 1.75rem;
            color: #666;
            position: relative;
        }

        .quote-card .blockquote-footer {
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--muted);
        }

        /* ARTIST CARDS */
        .artist-wrapper {
            position: relative;
            z-index: 2;
            padding-top: 12px;
        }

        /* Big faint number behind each card */
        .bg-number {
            position: absolute;
            top: -18px;
            left: -30px;
            font-size: 108px;
            font-weight: 200;
            color: rgba(0, 0, 0, 0.04);
            z-index: 1;
            line-height: 0.9;
            pointer-events: none;
            user-select: none;
        }
.views-row {
    display: contents;
    /* -webkit-box-pack: justify; */
}
        .artist-image-container {
            position: relative;
            overflow: hidden;
            border-radius: 6px;
            z-index: 5;
            box-shadow: 0 6px 18px rgba(20, 20, 20, 0.06);
            border: 1px solid rgba(0, 0, 0, 0.03);
            background: #f7f7f7;
            /* height: 360px; */
            /* ajuste selon besoin */
            display: block;
        }

        /* small index in corner */
        .artist-index {
            position: absolute;
            top: 12px;
            left: 16px;
            font-size: 12px;
            font-weight: 300;
            color: #fff;
            z-index: 10;
            letter-spacing: 2px;
            background: transparent;
            padding: 6px 10px;
            border-radius: 2px;

            /* backdrop-filter: blur(2px);*/
        }

        /* image sizing + crop */
        .artist-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transform-origin: center center;
            transition: transform .45s cubic-bezier(.2, .8, .2, 1);
        }

        .artist-image-container:hover .artist-img {
            transform: scale(1.03);
        }

        /* small decorative line and diamond */
        .artist-name {
            font-family: "Playfair Display", serif;
            font-size: 1.05rem;
            font-weight: 400;
            margin-top: 14px;
            margin-bottom: 6px;
            letter-spacing: 0.6px;
            position: relative;
        }

        .artist-meta {
            font-size: 0.75rem;
            text-transform: uppercase;
            color: var(--muted);
            letter-spacing: 1px;
            margin: 0;
        }

        /* diamond icon under name (centered) */
        .artist-caption {
            position: relative;
            padding-bottom: 10px;
        }

        .artist-caption::before {
            content: "";
            width: 6px;
            height: 6px;
            display: block;
            transform: rotate(45deg);
            background: rgba(0, 0, 0, 0.06);
            margin: 10px auto 0;
            border-radius: 1px;
        }

        /* subtle index number watermark on top-right of the card (very light) */
        .artist-wrapper .corner-watermark {
            position: absolute;
            right: 6px;
            top: 6px;
            font-size: 46px;
            font-weight: 700;
            color: rgba(0, 0, 0, 0.02);
            z-index: 0;
            pointer-events: none;
        }
 /* responsive adjustments */
        @media (max-width:991px) {
            .artist-image-container {
                height: 320px;
            }

            .section-number {
                font-size: 160px;
                top: -10px;
                left: -6px;
            }
        }

        @media (max-width:575px) {
            .artist-image-container {
                height: 260px;
            }

            .bg-number {
                font-size: 80px;
                top: -8px;
                left: -6px;
            }

            .section-title {
                font-size: 2.2rem;
            }
        }
         .artists-hero-precise {
            background: #fff;
            position: relative;
            overflow: visible;
            font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
        }

        /* big faint number on the left */
        .hero-big-number {
            position: absolute;
            left: 36px px;
            top: 90px;
            font-size: 171px;
            font-weight: 200;
            color: rgba(0, 0, 0, 0.04);
            line-height: 0.9;
            z-index: 0;
            pointer-events: none;
            user-select: none;
        }

        /* center container to mimic wide spacing */
        .hero-inner {
            max-width: 1320px;
            /* ajuste la largeur (ex: 1320px) */
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }

        /* LEFT */
        .hero-left-col {
            padding: 0 70px 0 160px;
            min-height: 220px;
        }

        .hero-left {
            position: relative;
        }

        /* hachures (petites lignes au dessus du sous-titre) */
        .ticks {
            margin-bottom: 14px;
            display: flex;
            gap: 18px;
            align-items: center;
        }

        .tick {
            display: block;
            width: 56px;
            height: 1px;
            background: #222;
            opacity: 0.6;
        }

        .tick.short {
            width: 36px;
            opacity: 0.35;
        }

        /* sous-titre */
        .hero-subtitle {
            font-size: 11px;
            letter-spacing: 4px;
            text-transform: uppercase;
            color: #9b9b9b;
            font-weight: 500;
            margin-bottom: 50px;
        }

        /* titre principal : Playfair italique */
        .hero-title {
            font-family: "Playfair Display", serif;
            font-size: 88px;
            /* grand titre */
            font-weight: 400;
            font-style: italic;
            margin: 0 0 26px;
            color: #111;
            line-height: 0.9;
            letter-spacing: 0.4px;
        }

        /* description avec 2 barres verticales fines */
        .hero-description {
            max-width: 520px;
            color: #7d7d7d;
            font-size: 18px;
            line-height: 1.9;
            position: relative;
            padding-left: 28px;
            margin: 0;
        }

        /* créer deux petites barres verticales alignées en début de paragraphe */
        .hero-description::before,
        .hero-description::after {
            content: "";
            position: absolute;
            left: 0;
            width: 2px;
            background: #d6d6d6;
            border-radius: 1px;
        }

        /* barre longue (début) */
        .hero-description::before {
            top: 6px;
            height: 44px;
            /* hauteur du premier segment */
            opacity: 1;
        }

        /* barre courte (sous le premier segment) */
        .hero-description::after {
            top: 56px;
            height: 36px;
            opacity: 1;
        }

        /* RIGHT : losange (diamond) */
        .quote-diamond {
            width: 550px;
            height: 440px;
            display: flex;
            align-items: center;
            justify-content: center;
            transform: rotate(45deg);
            border: 1px solid rgba(0, 0, 0, 0.04);
            box-shadow: none;
            background: transparent;
            margin: 20px 0;
            position: relative;
        }

        /* inner content must be counter-rotated */
        .quote-inner {
            transform: rotate(-45deg);
            width: 68%;
            padding: 48px 0px;
            box-sizing: border-box;
            position: relative;
        }

        /* quote text */
        .quote-text {
            font-family: "Playfair Display", serif;
            font-style: italic;
            font-size: 16px;
            color: #7a7a7a;
            margin: 0 0 22px 0;
            line-height: 1.8;
        }

        /* vertical thin bar at left of quote text (like the model) */
        .quote-inner::before {
            content: "";
            position: absolute;
            left: -28px;
            top: 12px;
            width: 2px;
            height: 84%;
            background: #d6d6d6;
        }

        /* thin horizontal rule under quote */
        .quote-line {
            height: 1px;
            background: #e6e6e6;
            margin-top: 10px;
            margin-bottom: 18px;
        }

        /* author footer aligned to right on the same baseline */
        .quote-author {
            font-size: 11px;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: #9b9b9b;
            text-align: right;
            font-weight: 500;
        }
   
       

       
        /* Responsive tweaks */
        @media (max-width: 1199px) {
            .hero-title {
                font-size: 72px;
            }

            .quote-diamond {
                width: 460px;
                height: 460px;
            }

            .hero-left-col {
                padding-left: 120px;
                padding-right: 40px;
            }
        }

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

            .hero-left-col {
                padding: 0 30px 30px 36px;
                text-align: left;
            }

            .quote-diamond {
                transform: none;
                width: 100%;
                height: auto;
                margin-top: 26px;
                border: none;
            }

            .quote-inner {
                transform: none;
                width: 100%;
                padding: 18px 12px;
            }

            .hero-big-number {
                left: 14px;
                top: 8px;
                font-size: 140px;
            }

            .hero-title {
                font-size: 48px;
            }
        }

        @media (max-width: 576px) {
            .hero-title {
                font-size: 36px;
            }

            .hero-description {
                font-size: 16px;
                line-height: 1.6;
            }

            .hero-big-number {
                font-size: 120px;
                left: 10px;
                top: 4px;
            }
        }


        /* Image en noir & blanc par défaut */
        .artist-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: grayscale(100%);
            transition: all .45s ease;
        }

        /* Au hover : image en couleur + zoom léger */
        .artist-image-container:hover .artist-img {
            filter: grayscale(0%);
            transform: scale(1.03);
        }

        /* Bouton masqué au début */
        .artist-btn {
            position: absolute;
            bottom: 16px;
            left: 50%;
            transform: translateX(-50%);
            padding: 8px 22px;
            background: rgba(255, 255, 255, 0.85);
            border: none;
            font-size: 12px;
            letter-spacing: 1px;
            text-transform: uppercase;
            border-radius: 4px;
            opacity: 0;
            visibility: hidden;
            transition: all .35s ease;
            z-index: 20;
        }

        /* Au Hover : afficher bouton */
        .artist-image-container:hover .artist-btn {
            opacity: 1;
            visibility: visible;
            bottom: 26px;
        }
.side-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.side-title .icon {
    font-size: 16px;
}

.side-content {
    font-size: 14px;
    color: #555;
    margin: 0;
}

.catalogue-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 0;
    border: 1px solid #000;
    text-decoration: none;
    color: #000;
    font-weight: 500;
    letter-spacing: 1px;
    margin-top: 20px;
}
.artist-btn a
  {
    color: #000000;
    text-decoration: none;
}
h3 a{
  color: #1A1A1A !important;
 text-decoration: none !important;
}

.catalogue-btn:hover {
    background: #000;
    color: #fff;
    transition: 0.3s ease;
}

h3{
    color: #000000 !important;
  font-family: Cormorant !important;
  font-size: 50px !important;
  font-style: italic !important;
  font-weight: 300 !important;
  line-height: 91.2px !important;
  letter-spacing: -1.92px !important;
}
h1 {
  color: #000000 !important;
  font-family: Cormorant !important;
  font-size: 80px !important;
  font-style: italic !important;
  font-weight: 300 !important;
  line-height: 91.2px !important;
  letter-spacing: -1.92px !important;
}
.footer-col p{
  color: #E8E6E3 !important;
font-family: "Space Grotesk";
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 22.75px; /* 162.5% */
letter-spacing: 0.16px;
}
body.is-front h1 {
  color: #fff !important;
  font-family: Cormorant !important;
  font-size: 96px !important;
  font-style: italic !important;
  font-weight: 300 !important;
  line-height: 91.2px !important;
  letter-spacing: -1.92px !important;
}

.site-footer {
  background: #000;
  color: #ccc;
  padding: 60px 0 30px;
  width: 100%;
}

.footer-container {
  max-width: 1400px;
  margin: auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.site-footer h3,
.site-footer h4 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 10px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
}

.site-footer ul li {
  margin-bottom: 6px;
  font-size: 15px;
}

.site-footer a {
  color: #ccc;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-social a {
  background: #222;
  padding: 8px 12px;
  margin-right: 8px;
  border-radius: 4px;
  color: #fff;
  display: inline-block;
}

.footer-social a:hover {
  background: #444;
}
.tab-content .views-element-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
/* BOTTOM */
.footer-bottom {
  margin-top: 40px;
  text-align: center;
  color: #777;
  font-size: 14px;
  padding-top: 20px;
  border-top: 1px solid #333;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.is-front header {
  background: transparent !important;
}

body.not-front-page header {
  padding: 20px 0px;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
  background: #fff !important;
}

/* nav links */
body.not-front-page .site-nav a {
  color: #1a1a1a;
  font-family: "Space Grotesk";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.35px;
  text-transform: uppercase;
}

body.is-front .site-nav a {
  color: #ffffff;
  font-family: "Space Grotesk";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.35px;
  text-transform: uppercase;
}

/* HEADER (slim) */
body.is-front .site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100;
  /* above slider */
  padding: 8px 28px;
  /* slim */
  background: rgba(0, 0, 0, 0.12);
  /* light overlay to see links */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* inner alignment */
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* logo */
.logo {
  color: #fff;
  font-size: 20px;
  /* small */
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* desktop nav */
.site-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 6px;
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 4px 0;
  transition: transform 0.2s ease;
}

body {
  margin: 0;
}

html,
body {
  overflow-x: hidden !important;
  width: 100%;
}

/* MAIN SLIDER */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Each slide */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

/* Text overlay inside each slide */
.hero-content {
  position: absolute;
  top: 50%;
  left: 12%;
  transform: translateY(-50%);
  color: #fff;
  z-index: 10;
  max-width: 80%;
}

.space-ligne-slide {
  margin-right: 40px;
  vertical-align: middle;
}

.hero-title {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 15px;
  line-height: 1.1;
  letter-spacing: 2px;
}

img.icon-btn {
  margin-left: 15px;
}

.hero-desc {
  font-size: 18px;
  margin-bottom: 25px;
  opacity: 0.9;
}

a.hero-btn {
  border: 1px solid white;
  font-family: "Space Grotesk";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: 3.6px;
  text-transform: uppercase;
  color: #ffffff;
}

.hero-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #ffffff00;
  color: #000;
  text-decoration: none;
  font-size: 16px;
  border-radius: 4px;
  font-weight: 600;
  transition: 0.3s;
}

.hero-btn:hover {
  background: #e6e6e6;
}
a.hero-btn-artists {
  border: 1px solid rgb(0, 0, 0);
  font-family: "Space Grotesk";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: 3.6px;
  text-transform: uppercase;
  color: #000000;
}

.hero-btn-artists {
  display: inline-block;
  padding: 12px 28px;
  background: #ffffff00;
  color: #000;
  text-decoration: none;
  font-size: 16px;
  border-radius: 4px;
  font-weight: 600;
  transition: 0.3s;
}

.hero-btn-artists:hover {
  background: #e6e6e6;
}
/* Slide image */
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.55);
}

/* Navigation */
.hero-nav {
  position: absolute;
  bottom: 60px;
  right: 60px;
  display: flex;
  align-items: center;
  gap: 30px;
}

/* Arrows */
.hero-arrow {
  width: 55px;
  height: 55px;
  font-size: 32px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: white;
  cursor: pointer;
  transition: 0.3s ease;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Counter */
.hero-counter span {
  color: #fff;
  font-family: "Space Grotesk";
  font-size: 37px;
  font-style: normal;
  font-weight: 400;
  line-height: 40px;
  /* 120% */
  letter-spacing: 2px;
}

.custom-tabs {
  width: 100%;
  max-width: 900px;
  margin: 40px auto;
  font-family: Arial, sans-serif;
}

.tab-buttons {
  display: flex;
  border-bottom: 2px solid #ddd;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tab-btn {
  padding: 12px 25px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: 0.3s;
}

.tab-btn:hover {
  color: #0066cc;
}

.tab-btn.active {
  border-bottom: 3px solid #0066cc;
  color: #0066cc;
  font-weight: bold;
}

.tab-content {
  display: none;
  padding: 20px 0;
}

.tab-content.active {
  display: block;
}

.exhibitions-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto;
}

.exhibition-card {
    max-width: 1200px;
    margin: 0 auto;
}
 .image-wrapper {
  position: relative;
  overflow: hidden;
  margin-bottom: 10px;
  background-color: #f7f7f7;
}

.image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: #ffffff;
  padding: 5px 10px;
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 500;
  z-index: 10;
  border: 1px solid #00000020;
}

.content {
  text-align: left;
  padding: 0 5px;
}

.date {
  font-size: 10px;
  color: #333;
  margin: 0 0 5px 0;
  letter-spacing: 1px;
}

.title {
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 5px 0;
}

.type {
  font-size: 14px;
  color: #555;
  margin: 0;
}

/* ===== Mobile ===== */
@media (max-width: 850px) {
  body.is-front h1 {
    color: #fff !important;
    font-family: Cormorant !important;
    font-size: 60px !important;
    font-style: italic !important;
    font-weight: 300 !important;
    /* line-height: 91.2px !important; */
    letter-spacing: 2.08px !important;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-desc {
    font-size: 15px;
  }

  .hero-content {
    left: 6%;
    max-width: 90%;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .header-inner {
    padding: 0 10px;
  }

  .site-nav {
    position: absolute;
    top: 56px;
    /* below header */
    right: 18px;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 8px;
    padding: 10px 12px;
    flex-direction: column;
    gap: 8px;
    display: none;
    /* hidden by default on mobile */
    min-width: 160px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  }

  .site-nav.show {
    display: flex;
  }

  /* shown when toggled */

  .site-nav a {
    font-size: 15px;
    padding: 8px 6px;
  }

  .nav-toggle {
    display: block;
  }
}
