/* =======================================
   RESET & BASE
======================================= */
/* Hamburger hidden by default (desktop) */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}




.brand-h1 {
  display: block;
  margin-top: 0.1em;
  font-weight: 700;
  letter-spacing: -0.05em;
  font-style: italic;
  text-align: left;
}

/* HEADINGS / TITLES - Premium Museum Editorial Sizing */
h1 {
    font-family: 'Telegraf', serif;
    font-weight: 700;
    font-size: 5rem;          /* main hero/title size */
    letter-spacing: 2px;
    line-height: 1.1;
    color: #111;
    margin-bottom: 1em;
    letter-spacing: -.5px;
}

h2 {
    font-family: 'Telegraf', serif;
    font-weight: 700;
    font-size: 3rem;          /* section headers, gallery titles */
    letter-spacing: 1.5px;
    line-height: 1.2;
    color: #111;
    margin-bottom: 1em;
    letter-spacing: -.25px;
}

h3 {
    font-family: 'Telegraf', serif;
    font-weight: 700;
    font-size: 2.5rem;          /* subheaders */
    letter-spacing: 1px;
    line-height: 1.3;
    color: #111;
    margin-bottom: 1em;
    letter-spacing: -.20px;
}



/* BODY / UI / NAV */
body, p, nav a, .tagline, .cta {
    font-family: 'Cormorant Garamond', sans-serif;
    font-weight: 400;
    color: #111;
    margin-bottom: 1em;
}

.section-full {
    width: 100%;
    height: 100vh;            /* full viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0%;
    box-sizing: border-box;
}
/* =======================================
   HEADER
======================================= */
header {
    position: relative;
    width: 100%;
    padding: 20px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

header .logo {
    font-size: 1.0rem;
    font-weight: 300;
    letter-spacing: -0.5px;
    color: #111;
}

header .logo img {
    height: 100px;       /* control logo size */
    width: auto;        /* keep proportions */
    display: block;
}

header .logo a {
    display: inline-block;
}




.hero-image-section {
    display: flex;
    flex-direction: column; /* stack image + title vertically */
    align-items: center;
    text-align: center;
    width: 100%;
}

.hero-image-container {
    width: 100%;
    overflow: hidden;
    position: relative; /* remove absolute */
}

.hero-image-container img {
    width: 100%;
    height: auto;       /* keep aspect ratio */
    max-height: 80vh;   /* image takes most of screen */
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

/* Title below image */
.hero-image-section .image-title {
    margin-top: 30px;   /* spacing below image */
    text-align: center;
}

.hero-image-section .image-title h1,
.hero-image-section .image-title h2 {
    font-family: 'Telegraf', serif;
    font-weight: 700;
    font-size: 3rem;    /* adjust for hero layout */
    margin: 0;
}

.hero-image-section .image-title .tagline {
    font-family: 'Cormorant Garamond', sans-serif;
    font-size: 1.5rem;
    margin-top: 30px;
    opacity: 0.9;
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/static/images/10447203.png") center/cover no-repeat;
  opacity: 0.01;
  z-index: -1;
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 750px;
    z-index: 1;
}

.hero-content a {
  color: #44413e;
  text-decoration: none; /* remove default underline */
  position: relative;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.hero-content a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px; /* thin, elegant line */
  background-color: rgba(68, 65, 62, 0.6); /* slightly softer than text */
}

.hero-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    text-align: left;
}

.hero h1 {
    font-size: 4rem;
    letter-spacing: 2px;
}

.hero h2 {
    font-size: 3rem;
    letter-spacing: 2px;
}



.tagline {
    font-size: 1.5rem;
    margin-top: 20px;
    opacity: 0.9;
}

.cta {
    display: inline-block;
    margin-top: 40px;
    padding: 15px 35px;
    border: 2px solid #111;
    color: #111;
    text-decoration: none;
    font-weight: 200;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cta:hover {
    background: #111;
    color: #fff;
    text-decoration: none;
}
a.cta:hover {
    background: #111;
    color: #fff !important;
    text-decoration: none;
}

.hero-content .cta,
.hero-content .cta:hover {
    text-decoration: none;
}

/* HERO IMAGE SECTION */
.hero-image-section {
    background-color: #fefefe;
}

.hero-image-section .image-container {
    width: 100%;
    height: 100vh;          /* or 400px 100vh */
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}


.hero-image-section img {
    /*height: 100%;      /* fit container height */
    width: auto;       /* scale width proportionally */
    max-width: 100%;   /* prevent overflow on small screens */
    display: block;
    border-radius: 4px;
}
/* portrait container override */
.hero-image-section .image-container.portrait {
    height: 600px;
}

.hero-image-section img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .hero-image-section .image-container {
        height: auto;
    }

    .hero-image-section img {
        width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
    }
}

/* =======================================
   WORK / GALLERY PAGE
======================================= */
.gallery {
    display: flex;
    flex-direction: column; /* stack vertically */
    gap: 60px;
    padding: 100px 2%;
    align-items: center;    /* optional: center items horizontally */
}

.art-item {
    width: 100%;            /* full width */
    max-width: 600px;       /* optional max width for large screens */
}

.art-item img {
    width: 100%;
    height: auto; /* keeps aspect ratio */
    display: block;
    object-fit: cover; /* ensures image fills its container if forced height */
}



.art-item p {
    margin-top: 15px;
    font-weight: 400;
    opacity: 0.85;
    letter-spacing: 0.5px;
    font-size: 1rem;
}

/* Gallery section */
.section-full.gallery {
    display: flex;
    flex-direction: column;
    align-items: center;  /* center items horizontally */
    padding: 80px 5%;     /* top/bottom padding for breathing space */
    background-color: #fefefe;  /* optional light background */
    box-sizing: border-box;
}

/* Gallery header / H2 */
.section-full.gallery h2 {
    font-weight: 700;
    font-size: 3rem;
    text-align: center;       /* center horizontally */
    margin-bottom: 60px;      /* space below heading */
    letter-spacing: 1.5px;    /* subtle luxury spacing */
    color: #111;              /* dark text for contrast */
}

/* Optional tagline under gallery header */
.section-full.gallery .gallery-tagline {
    font-weight: 400;
    font-size: 1.2rem;
    text-align: center;
    opacity: 0.85;
    margin-top: 10px;
}

/* About Artist Section */
.about-artist {
    display: flex;
    flex-direction: column;   /* stack vertically */
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 5%;
    box-sizing: border-box;
    min-height: auto;   /* override 100vh */
    height: auto;
    padding: 140px 5% 100px 5%; /* extra top padding for fixed nav */
}



.about-artist .artist-bio {
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1.8;
    max-width: 650px;
    opacity: 0.9;
    margin: 0 auto;
    text-align: justify;         /* align both sides */
    text-justify: inter-word;    /* optimal spacing for justified text */
}
.about-artist .image-container {
    width: 100%;
    max-width: 650px;
    margin-bottom: 60px; /* space below image only */
}

.about-artist .image-container img {
    width: 100%;
    height: auto;       /* keep aspect ratio */
    max-height: 80vh;   /* image takes most of screen */
    object-fit: cover;
    display: block;
    border-radius: 4px;
    border: 2px solid #eee;       /* light outer border */
    padding: 8px;                  /* space between image and border */
    background-color: #fff;        /* frame background */
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); /* elegant shadow */
}


ul {
    list-style-type: disc;        /* keep bullets */
    padding-left: 0;              /* remove default padding */
    display: inline-block;        /* shrink ul to text width */
    text-align: left;             /* keep text left-aligned inside the block */
    margin: 0 auto 20px auto;     /* center the ul block */
  }

  ul li {
    margin: 6px 0;
    font-size: 1.25rem;
    line-height: 1.6;
    color: #222;
  }

  ul.meta li {
    color: #555;
    font-size: 1.25rem;

  }


/* =======================================
   EXHIBITIONS PAGE
======================================= */
.exhibitions {
    max-width: 800px;          /* optional: constrain width for readability */
    margin: 0 auto;            /* horizontally center the section */
    padding: 80px 20px;        /* top/bottom and some horizontal padding */
    position: relative;
    z-index: 0;
    text-align: center;
}

.exhibitions p {
    margin-bottom: 12px;
    opacity: 0.85;
    font-size: 1.25rem;
}

.exhibitions ul {
    list-style-type: disc;          /* standard bullets */
    list-style-position: inside;    /* bullets move with text */
    padding-left: 0;                /* remove default padding */
    margin: 10px 0 30px 0;          /* spacing above and below */
    text-align: left;               /* always left-align text */
    display: inline-block;          /* shrink ul to text width */
    max-width: 600px;
}

.exhibitions ul li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #222;
}
.exhibitions-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    background: #fff;
    margin: 0 auto;
}

.exhibitions-table th,
.exhibitions-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
    text-align: left;
    vertical-align: top;
    color: #222;
}

.exhibitions-table th {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: #111;
    border-bottom: 2px solid #111;
}

.exhibitions-table tbody tr:hover {
    background-color: #f7f7f7;
}

.exhibitions-table td:first-child {
    font-weight: 500;
}

.exhibitions-table td:nth-child(2) {
    font-style: italic;
    opacity: 0.85;
}

.exhibitions-table td:nth-child(3) {
    text-align: right;
    color: #555;
}

/* ===========================
   EXHIBITIONS TABLE - MOBILE SCROLL
=========================== */
@media (max-width: 768px) {

  .table-wrapper {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      width: 100%;
  }

  .exhibitions-table {
      min-width: 600px;
      border-collapse: collapse;
      font-size: 0.9rem;   /* set base size once */
  }

  .exhibitions-table th,
  .exhibitions-table td {
      padding: 10px 8px;
      white-space: nowrap;
      font-size: inherit;  /* inherit from table */
      line-height: 1.4;    /* consistent vertical spacing */
  }

  .exhibitions-table td:nth-child(3) {
      text-align: left;
      display: table-cell;
      margin-top: 0;
  }

}
/* =======================================
   CV PAGE
======================================= */
.cv-section {
    max-width: 800px;          /* optional: constrain width for readability */
    margin: 0 auto;            /* horizontally center the section */
    padding: 80px 20px;        /* top/bottom and some horizontal padding */
    position: relative;
    z-index: 0;
    text-align: center;

}



.cv-section p {
    margin-bottom: 12px;
    opacity: 0.85;
    font-size: 1.25rem;
}

/* ===========================
   UL LISTS FOR CV
=========================== */
.cv-section ul {
    list-style-type: disc;          /* standard bullets */
    list-style-position: inside;    /* bullets move with text */
    padding-left: 0;                /* remove default padding */
    margin: 10px 0 30px 0;          /* spacing above and below */
    text-align: left;               /* always left-align text */
    display: inline-block;          /* shrink ul to text width */
    max-width: 600px;               /* optional: constrain width for readability */
}

.cv-section h3 {
    display: block; /* full-width headings */
    font-size: 2rem;
    margin: 40px 0 15px 0; /* space above and below */
    border-bottom: 1px solid #111;
    padding-bottom: 5px;
}

.cv-section ul li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #222;
}

/* =======================================
   CONTACT PAGE
======================================= */
.contact-section {
    padding: 80px 10%;
}

.contact-section p {
    margin-bottom: 20px;
    font-size: 1rem;
}

/* =======================================
   FOOTER
======================================= */
footer {
position: relative;  /* Ensure it's in normal flow */
    text-align: center;
    padding: 40px 10%;
    font-size: 0.9rem;
    border-top: 1px solid #eee;
    letter-spacing: 1px;
    opacity: 0.8;
    z-index: 1;
}

.footer-links {
  display: flex;
  justify-content: space-between; /* h4 left, links right */
  align-items: center; /* vertically center h4 and links */
  padding: 20px;
  border-radius: 8px;
  width: 800px; /* Adjust width as needed */
  background-color: #f8f8f8;
  margin: 0 auto; /* Center the container horizontally */
}

.footer-links h4 {
  font-size: 18px;
  margin-right: 20px;
  color: #333;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex; /* Make links horizontal */
  gap: 20px; /* Space between links */
}

.footer-links ul li {
  margin: 0; /* Remove vertical spacing */
  font-size: 0.8rem;
}

.footer-links ul li a {
  text-decoration: none;
  color: #44413e;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #111;
  text-decoration: underline;
}

/* Desktop header/nav */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    width: 100%;
    position: relative;
    z-index: 100;
}




/* Desktop nav links */
nav {
    display: flex;
    flex-direction: row; /* horizontal */
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: #111;
    font-size: 0.95rem;
}

/* Hamburger hidden on desktop */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 16px;
    cursor: pointer;
    z-index: 1000;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: #111;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile styling */
@media (max-width: 768px) {

    /* Show hamburger */
    .menu-toggle {
        display: flex;
    }

    /* Hide nav by default on mobile */
    nav {
        display: none;
        flex-direction: column; /* vertical links */
        width: 100%;
        background: #fff;
        position: absolute;
        top: 60px;
        left: 0;
        gap: 15px;
        padding: 10px 0;
    }

    /* Show nav when active */
    nav.active {
        display: flex;
    }

    /* Mobile nav links */
    nav a {
        margin: 0;
        text-align: center;
        padding: 10px 0;
    }
}

/* ===========================
   MOBILE HEADING & BODY ADJUSTMENTS
=========================== */
@media (max-width: 768px) {

    h1 {
        font-size: 2rem;       /* reduce main hero/title size */
        line-height: 1.2;
        letter-spacing: -0.25px;
        padding: 20px;
    }

    h2 {
        font-size: 1.8rem;       /* smaller section headers */
        line-height: 1.2;
        letter-spacing: -0.1px;
        padding: 0px;
    }

    h3 {
        font-size: 1.5rem;     /* smaller subheaders */
        line-height: 1.3;
        letter-spacing: 0px;
        padding: 0px;
    }

    body, p, nav a, .tagline, .cta {
        font-size: 0.9rem;     /* slightly smaller body text */
        line-height: 1.4;
        padding: 10px;
    }

    .cta {
        padding: 10px 25px;    /* smaller call-to-action buttons */
        font-size: 0.9rem;
    }
}

/* ===========================
   HERO SECTION TEXT - MOBILE
=========================== */
@media (max-width: 768px) {


  .hero-image-section .image-title h1,
  .hero-image-section .image-title h2 {
      font-size: 2rem;       /* shrink hero titles on mobile */
      line-height: 1.2;
  }

  .hero-image-section .image-title .tagline {
      font-size: 1rem;       /* shrink tagline */
      margin-top: 8px;
      line-height: 1.4;
  }
}

/* ===========================
   LISTS - MOBILE
=========================== */
@media (max-width: 768px) {

  ul {
    padding: 20px;
    list-style-type: none;
  }

  ul li {
      margin: 4px 0;       /* slightly tighter spacing */
      font-size: 0.9rem;     /* reduce font size */
      line-height: 1.4;    /* slightly tighter line height */
  }

  ul.meta li {
      font-size: 1rem;     /* scale meta items down */
      color: #555;         /* keep same color */
      line-height: 1.4;
  }
}

/* Desktop: keep original size */
.video-container {
    position: relative;
    width: 650px;       /* fixed desktop width */
    height: 450px;      /* fixed desktop height */
    margin: 0 auto;
}

/* Make iframe fill container */
.video-container iframe {
    width: 100%;
    height: 100%;
}

/* Mobile: make video responsive */
@media (max-width: 768px) {
    .video-container {
        width: 100%;           /* full width of screen */
        height: 0;
        padding-bottom: 56.25%; /* 16:9 aspect ratio */
    }

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

    .hero-content h2 {
        font-size: 1.8rem;      /* smaller heading on mobile */
        text-align: center;
        padding: 20px;
    }
}



/* ===========================
   ABOUT ARTIST BIO - MOBILE
=========================== */
@media (max-width: 768px) {

  .about-artist .artist-bio {
      font-size: 0.9rem;       /* smaller font for mobile */
      line-height: 1.5;      /* tighter line spacing */
      max-width: 100%;        /* use full width of screen */
      padding: 0 5px;        /* optional horizontal padding */
      text-align: justify;    /* keep justified text */
      text-justify: inter-word;
      margin: 0 auto;
  }

  .art-item p {
    margin-top: 15px;
    font-weight: 400;
    opacity: 0.85;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}
}


/* ===========================
   CV SECTION PARAGRAPHS - MOBILE
=========================== */
@media (max-width: 768px) {
  .cv-section p {
      font-size: 0.9rem;       /* smaller font on mobile */
      margin-bottom: 10px;   /* slightly tighter spacing */
      line-height: 1.5;      /* improve readability on small screens */
  }
  .cv-section {
      max-width: 100%;       /* use full screen width */
      text-align: left;      /* optional: left-align text for better readability */

    margin: 0 auto;            /* horizontally center the section */
    padding: 0px 0px;        /* top/bottom and some horizontal padding */
    position: relative;
    z-index: 0;
    text-align: center;
  }
}


/* ===========================
   .section-full - MOBILE
=========================== */
@media (max-width: 768px) {
  .section-full {
      height: auto;           /* let section height adjust to content */
      flex-direction: column; /* stack content vertically if needed */
      justify-content: flex-start; /* start from top for better UX */
      align-items: center;    /* keep items centered horizontally */
      padding-top: 80px;      /* use padding instead of margin */
      padding-bottom: 80px;
      margin: 0;              /* remove margin */
  }
}

/* ===========================
   CV SECTION LISTS & HEADINGS - MOBILE
=========================== */
@media (max-width: 768px) {
header .logo img {
    height: 50px;       /* control logo size */
    width: auto;        /* keep proportions */
    display: block;
}

  /* CV section headings */
  .cv-section h3 {
      font-size: 1.5rem;     /* smaller heading */
      margin: 30px 0 10px 0; /* tighter spacing above/below */
      padding-bottom: 4px;   /* slightly smaller border padding */
  }

  /* CV lists container */
  .cv-section ul {
      max-width: 100%;        /* fill mobile screen */
      padding-left: 15px;     /* small padding for bullets */
      margin: 10px 0 20px 0;  /* slightly reduced spacing */
      display: block;         /* full width on mobile */
  }

  /* CV list items */
  .cv-section ul li {
      font-size: 0.9rem;      /* smaller text for mobile */
      margin-bottom: 6px;     /* slightly tighter spacing */
      line-height: 1.4;       /* tighter line height for mobile */
  }
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.tabs button {
    background-color: #f0f0f0;
    border: none;
    padding: 0.6rem 1rem;
    cursor: pointer;
    font-weight: bold;
    border-radius: 4px;
    transition: background 0.2s;
}

.tabs button.active {
    background-color: #333;
    color: #fff;
}

.tab-content .tab-pane {
    display: none;
    padding: 1rem 0;
    border-top: 1px solid #ddd;
}

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

/* Dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown links (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1000;
}

/* Dropdown links styling */
.dropdown-content a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
}

.dropdown-content a:hover {
    background-color: #f2f2f2;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Style parent hover */
.dropdown:hover .dropbtn {
    color: #000;
    font-weight: bold;
    cursor: default; /* pointer stays default since not clickable */
}

.tab-pane a {
    color: #44413e;           /* your base link color, e.g., gold */
    text-decoration: none; /* make it underlined */
    transition: color 0.3s ease; /* smooth hover transition */
}

.tab-pane a:hover {
    color: #111;            /* darker gold on hover */
    text-decoration: none;      /* remove underline on hover if desired */
}

.tagline a {
    color: #44413e;
    text-decoration: none; /* remove default underline */
    position: relative;
    letter-spacing: 0.05em;
}

.tagline a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px; /* space below text */
    width: 100%;
    height: 1px; /* thin elegant line */
    background-color: #44413e;
}

.tagline a:hover {
    color: #111;             /* darker gold on hover */
    text-decoration: none;       /* remove underline on hover if you like */
}

.artist-bio a,
.cv-section a {
    color: #44413e;
    text-decoration: none;
    position: relative;
    letter-spacing: 0.04em;
}

.artist-bio a::after,
.cv-section a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 1px;
    background-color: rgba(68, 65, 62, 0.6);
}

/* =======================================
   FOOTER MOBILE
======================================= */
@media (max-width: 768px) {

  footer {
    padding: 30px 20px;
    font-size: 0.85rem;
  }

  .footer-links {
    flex-direction: column;     /* stack vertically */
    align-items: center;
    justify-content: center;
    width: 100%;                /* full width */
    padding: 20px;
    text-align: center;
    gap: 15px;
  }

  .footer-links h4 {
    margin: 0;
    font-size: 1rem;
  }

  .footer-links ul {
    flex-direction: column;
    align-items: flex-start;   /* align items left */
    text-align: left;          /* text left */
    width: 100%;               /* allow left alignment */
    gap: 10px;
  }

  .footer-links ul li {
    font-size: 0.8rem;
  }

}

.gallery-grid img {
    width: 100%;
    max-width: 800px;
    height: auto;
}

/* Mobile screens */
@media (max-width: 768px) {
    .hero-content p {
        font-size: 0.9rem;       /* smaller font for mobile */
        line-height: 1.4;      /* tighter spacing */
        text-align: left;      /* keep left aligned or change to center if you want */
    }
}

/* Mobile nav */
@media (max-width: 768px) {
    header nav {
        display: none;             /* hidden by default */
        flex-direction: column;    /* stack vertically */
        width: 100%;
        background-color: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 1rem 0;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        gap: 0;                    /* no extra gaps between items */
    }

    header nav.active {
        display: flex;             /* show when hamburger clicked */
    }

    /* All nav items (links + dropdown) align properly */
    header nav a,
    header nav .dropdown {
        display: flex;             /* flex so height & alignment match */
        align-items: center;
        padding: 0.75rem 1.5rem;   /* consistent spacing */
        text-decoration: none;
        color: #000;
        width: 100%;               /* full width for easy tapping */
    }

    /* Dropdown content stacked under parent */
    .dropdown-content {
        position: static;           /* no absolute positioning on mobile */
        display: none;              /* hidden by default */
        flex-direction: column;
        width: 100%;
        padding-left: 0rem;
    }

    /* Show dropdown when parent is active */
    .dropdown.active .dropdown-content {
        display: flex;
    }

    .dropdown-content a {
    display: flex;
    align-items: center;    /* vertical center */
    justify-content: flex-start; /* left align */
    width: 100%;
    padding: 1rem 2rem;     /* bigger tap area */
    font-size: 1rem;
    text-align: left;
  }
}

/* Mobile dropdown button */
@media (max-width: 768px) {
    .dropdown .dropbtn {
        display: flex;         /* make it a proper flex item */
        align-items: center;
        width: 100%;           /* full width for easy tapping */
        padding: 0.75rem 1.5rem;
        cursor: pointer;       /* show hand on tap */
        user-select: none;     /* prevent text selection */
    }
}

/* =====================
   HEADER + NAV
===================== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #fff;
  position: relative;
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

header .logo img {
  height: 40px;
}

header .logo {
    width: 200px;
    display: flex;
    align-items: center;
}

header .logo img {
    width: 65%;
    height: auto;
}

header nav a,
header nav .dropdown,
header nav .dropdown .dropbtn {
    font-size: 1rem;
    font-weight: 800;
    color: #000;
    line-height: 1.2;
}

/* Nav links */
header nav {
  display: flex;
  align-items: center;
  height: 100%;  /* ensures all nav items align */
}

/* All nav items including dropdown */
header nav a,
header nav .dropdown {
  display: flex;           /* make flex items */
  align-items: center;     /* vertical center */
  padding: 0 0.75rem;      /* horizontal spacing only */
  margin: 0;               /* remove default margins */
  text-decoration: none;
  color: #000;
  cursor: pointer;
  position: relative;
  height: 100%;            /* match nav container height */
  line-height: normal;
}

/* Dropdown button inside dropdown */
header nav .dropdown .dropbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;           /* same as nav */
  padding: 0;             /* remove vertical padding */
  margin: 0;
  cursor: pointer;
  user-select: none;
}

/* Dropdown content (desktop) */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  flex-direction: column;
  background: #fff;
  min-width: 150px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  z-index: 1000;
}

.dropdown-content a {
  padding: 0.5rem 1rem;
  color: #000;
  text-decoration: none;
}

.dropdown-content a:hover {
  background-color: #f0f0f0;
}

/* Show dropdown on hover (desktop) */
header nav .dropdown:hover .dropdown-content {
  display: flex;
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 25px;
  background: #000;
  transition: all 0.3s ease;
}

/* =====================
   MOBILE
===================== */
@media (max-width: 768px) {

  .menu-toggle {
    display: flex;
  }

  /* Mobile menu container */
  header nav {
    display: none;
    flex-direction: column;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    height: auto;          /* <-- change from 100vh */
    min-height: 100vh;     /* optional, ensures it can scroll if content is tall */
    background: rgba(255, 255, 255, 0.98);
    padding-top: 5rem;
    overflow-y: auto;
    z-index: 9999;
    justify-content: flex-start; /* make sure items start at top */
  }

  /* Show menu when active */
  header nav.active {
    display: flex;
  }

  /* Nav items full width */
  header nav a,
  header nav .dropdown {
    width: 100%;
    padding: 1rem 1rem;
    color: #000;
  }

  /* Dropdown button clickable on mobile */
  header nav .dropdown .dropbtn {
    width: 100%;
    justify-content: left;
  }



  /* Dropdown content inside mobile menu */
  .dropdown-content {
    position: static;
    display: none;
    flex-direction: column;
    padding-left: 2rem;
  }

  /* Show dropdown when active on mobile */
  .dropdown.active .dropdown-content {
    display: flex;
  }

  /* Hamburger X animation */
  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* Mobile-specific adjustments for hero background */
@media (max-width: 768px) {
  .hero-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("/static/images/10447203.png") center top / contain no-repeat;
    opacity: 0.01; /* slightly higher so it shows on smaller screens */
    z-index: -1;
  }
}

.hero-content pre {
  white-space: pre-wrap;      /* preserves line breaks but allows wrapping */
  word-break: break-word;      /* breaks long words if needed */
  overflow-wrap: break-word;   /* fallback for older browsers */
  font-size: 1.2rem;           /* optional, adjust for mobile */
  line-height: 1.4;            /* optional, improves readability */
  max-width: 100%;             /* ensures it doesn’t overflow parent */
}

/* Desktop styles (default) */
.war-image-container {
  max-width: 50%;           /* container is 50% of viewport on desktop */
  margin: 70px auto 0 auto; /* top margin 70px, centered horizontally */
}

/* Make the image responsive */
.war-image-container img {
  width: 100%;       /* fill the container */
  height: auto;      /* maintain aspect ratio */
  display: block;    /* removes inline spacing */
}

/* Mobile styles */
@media (max-width: 768px) {
  .war-image-container {
    max-width: 100%;  /* container fills screen */
    margin-top: 20px; /* smaller top margin for mobile */
    padding: 0 10px;  /* optional padding so image doesn’t touch edges */
  }
}

.rune-container {
    position: relative;
    padding: 20px;
    border-radius: 6px;
    display: inline-block;
}

.rune-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/static/images/flat-style-icon-of-a-chess-board-vector.png");
    background-size: cover;
    background-position: center;
    opacity: 0.05; /* adjust transparency here */
    border-radius: 6px;
    z-index: 1;
}

.rune-container pre {
    position: relative;
    z-index: 2;
    color: black;
}


/* ===== Footer Container ===== */
.site-footer {
  width: 100%;
  background: #f6f6f6;       /* light, subtle background */
  color: #111;
  padding: 80px 0 40px;
  font-family: inherit;
}

/* ===== Footer Grid (Upper Row) ===== */
.footer-grid {
  max-width: 1400px;
  margin: auto;
  display: grid;
  grid-template-columns: 220px repeat(4, 1fr); /* logo + 4 columns */
  gap: 50px;
  padding: 0 40px;
}

/* ===== Logo Block ===== */
.footer-brand img {
  width: 200px;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #777;
}

/* ===== Info / Contact Block ===== */
.footer-info {
  font-size: 13px;
  line-height: 1.5;
  color: #555;
}

.footer-info h4 {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #777;
}

.footer-info a {
  color: #111;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-info a:hover {
  opacity: 0.6;
}

/* ===== Navigation Columns ===== */
.footer-column h4 {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #777;
}

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

.footer-column li {
  margin-bottom: 4px;  /* compact spacing */
}

.footer-column a {
  font-size: 13px;
  color: #111;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.footer-column a:hover {
  opacity: 0.6;
}

/* ===== Optional Column Divider (Vertical Lines) ===== */
.footer-column:not(:first-child),
.footer-info {
  border-left: 1px solid #f0f0f0;
  padding-left: 25px;
}

/* ===== Divider Between Upper and Lower Footer Rows ===== */
.footer-row-divider {
  border-top: 1px solid #e5e5e5;  /* subtle thin line */
  margin: 50px auto 25px;          /* spacing above/below */
  max-width: 1400px;
}

/* ===== Lower Row (Next 4 Columns, aligned with upper row) ===== */
.footer-grid.lower-row {
  display: grid;
  grid-template-columns: 220px repeat(4, 1fr); /* empty first column to match logo */
  gap: 50px;
  max-width: 1400px;
  margin: auto;
  padding: 0 40px;
}

/* ===== Footer Bottom ===== */
.footer-bottom {
  border-top: 1px solid #e5e5e5;  /* thin line */
  margin-top: 50px;
  padding-top: 25px;
  text-align: center;
  font-size: 12px;
  color: #777;
}

@media (max-width: 900px) {

.site-footer p {
    font-size: 11px;       /* compact font */
    line-height: 1.3;      /* tighter spacing */
    margin-bottom: 4px;    /* small spacing between paragraphs */
    padding: 0;            /* remove inherited padding */
    color: #555;           /* subtle, like desktop footer text */
  }
  /* Make the footer scrollable horizontally */
  .footer-scroll-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 5px;
  }

  /* Keep the desktop grid intact but allow min-width for scroll */
  .footer-grid {
    min-width: 900px; /* adjust based on number of columns */
    gap: 12px;          /* reduce gap for mobile */
    padding: 0 10px;
  }

  /* Reduce footer padding and font size */
  .site-footer {
    padding: 20px 0 10px;
    font-size: 10px;
  }

  /* Logo smaller */
  .footer-brand img {
    width: 80px;
    margin-bottom: 4px;
  }

  /* Column headings smaller */
  .footer-column h4,
  .footer-info h4 {
    font-size: 10px;
    margin-bottom: 4px;
    margin-top: 10px;
  }

  /* Links more compact */
  .footer-column li {
    margin-bottom: 1px;
  }

  /* Links slightly smaller */
  .footer-column a,
  .footer-info a {
    font-size: 10px;
  }

  /* Info block tighter */
  .footer-info {
    font-size: 10px;
    line-height: 1.3;
  }

  /* Footer bottom smaller */
  .footer-bottom {
    font-size: 9px;
    padding-top: 8px;
  }


}

.tab-pane {
  max-height: 600px;
  overflow-y: auto;
  display: none;
}

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

.artists-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin-bottom: 60px; /* space below the table */
}

.artists-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}


.artists-table th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 10px;
  border-bottom: 1px solid #e5e5e5;
  color: #777;
}

.artists-table td {
  padding: 14px 10px;
  border-bottom: 1px solid #f0f0f0;
}

.artists-table a {
  text-decoration: none;
  color: #111;
}

.artists-table a:hover {
  opacity: 0.6;
}

.artists-table-container {
  width: 100%;
  margin-bottom: 50px; /* gives space below table */
}




.collections-row {
    display: flex;
    justify-content: center; /* center horizontally */
    align-items: center;
    gap: 1rem; /* space between items */
    margin-top: 2rem;
    font-weight: 300;
    font-size: 1.2rem;
}

.collection-link {
    text-decoration: none;
    color: #333; /* or your theme color */
    transition: color 0.3s;
}

.collection-link:hover {
    color: #0077cc; /* highlight on hover */
}

.separator {
    color: #999; /* subtle bar color */
    margin: 0 0.5rem;
}



/* Section */
.section-news {
    padding: 60px 20px;
    background-color: #fafafa;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Grid layout for news cards */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual card */
.news-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-radius: 0px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Image */
.news-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Body */
.news-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Title */
.news-title {
    margin: 0 0 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.news-title a {
    text-decoration: none;
    color: #222;
    transition: color 0.2s;
}

.news-title a:hover {
    color: #007acc;
}

/* Date */
.news-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
}

/* Description */
.news-description {
    flex: 1;
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 15px;
}

/* Read more */
.read-more {
    font-size: 0.9rem;
    text-decoration: none;
    color: #007acc;
    font-weight: 500;
    align-self: flex-start;
    transition: color 0.2s;
}

.read-more:hover {
    color: #005f99;
}


/* Full-width article section */
.section-article {
    padding: 60px 0px;
    background-color: #fafafa;
}

/* Center the content with max width */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

/* Article image */
.article-image img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 30px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Article title */
.article-title {
    font-size: 4rem;
    margin-top: 1em;
    margin-bottom: 1em;
    font-weight: 600;
    line-height: 1.2;
}

.article-content h2 {
    font-size: 1.4rem;
    margin-top: 1em;
    margin-bottom: 1em;
    font-weight: 600;
    line-height: 1.2;
}

/* Date styling */
.article-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 25px;
    display: block;
}

/* Description / content */
.article-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #333;
}

/* Optional: links in content */
.article-description a {
    color: #007acc;
    text-decoration: none;
}

.article-description a:hover {
    text-decoration: underline;
}

/* Container spacing */
.news-home {
    padding: 80px 20px;
}

/* Section title */
.section-title {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 40px;
    text-align: left;
}

/* Grid: 3 columns (perfect for latest 3) */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Card (minimal look) */
.news-card {
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-4px);
}

/* Image */
.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-bottom: 15px;
}

/* Body */
.news-body {
    display: flex;
    flex-direction: column;
}

/* Title */
.news-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.news-title a {
    color: #111;
    text-decoration: none;
}

.news-title a:hover {
    text-decoration: underline;
}

/* Date */
.news-date {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 10px;
}

/* Description */
.news-description {
    font-size: 1.25rem;
    color: #444;
    line-height: 1.5;
    margin-bottom: 12px;
}

/* Read more */
.read-more {
    font-size: 0.85rem;
    color: #000;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.read-more:hover {
    text-decoration: underline;
}

.article-image figcaption {
    margin-top: 0.8rem;        /* Space above caption */
    margin-bottom: 2rem;
    font-size: 0.95rem;        /* Slightly smaller than normal text */
    color: #555;               /* Dark gray text for readability */
    line-height: 1.5;          /* Comfortable line spacing */
    font-style: normal;        /* Keep text normal except for <em> */
    background: rgba(240,240,240,0.5); /* Optional subtle background */
    padding: 0.5rem 1rem;      /* Small padding around text */
    border-radius: 6px;        /* Rounded background */
    display: inline-block;     /* Caption width fits text nicely */
}

@media (max-width: 768px) {
    .partners-list {
        flex-direction: column;
        gap: 15px; /* smaller gap between stacked links */
    }

    .partners-list a {
        display: block;
    }

    /* Optional: remove the "|" separators for mobile */
    .partners-list a::after {
        content: "";
    }
}

/* ------------------------ */
/* Mobile Responsive Styles */
/* ------------------------ */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr; /* stack cards vertically */
        gap: 25px; /* smaller gap for mobile */
    }

    .news-image img {
        /*height: 180px;  slightly shorter for small screens */
    }

    .news-title {
        font-size: 1.1rem;
    }

    .news-description {
        font-size: 1rem;
    }

    .news-date {
        font-size: 0.75rem;
    }
}

.art-item figcaption{
    margin-top:40px;
}

.subscribe-form input[type="email"] {
    width: 100%;           /* Full width of container */
    padding: 10px 15px;    /* Comfortable inner spacing */
    border: 1px solid #ccc; /* Light border */
    border-radius: 0px;     /* Rounded corners */
    font-size: 0.8rem;        /* Readable text */
    box-sizing: border-box; /* Ensures padding doesn't break layout */
}


/* Container */
.flash-messages {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
    display: flex;
    justify-content: center;  /* center horizontally */
    flex-direction: column;   /* stacked vertically */
    align-items: center;
}

/* Each message */
.flash-messages li {
    background-color: #f5f5f5;  /* light neutral gray */
    color: #333;                /* dark text for readability */
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    margin: 5px 0;
    border: 1px solid #ddd;     /* subtle border for structure */
    max-width: 400px;           /* prevent it from stretching too wide */
    box-shadow: 0 2px 6px rgba(0,0,0,0.05); /* subtle shadow */
}

/* Optional: smooth fade-in */
.flash-messages li {
    animation: fadein 0.4s ease-in;
}

@keyframes fadein {
    from { opacity: 0; transform: translateY(-3px); }
    to { opacity: 1; transform: translateY(0); }
}

/* General styling for select */
.subscribe-form select {
    width: 100%;                 /* full width like input */
    padding: 10px 15px;          /* comfortable inner spacing */
    border: 1px solid #ccc;      /* subtle border */
    border-radius: 4px;          /* rounded corners */
    font-size: 0.8rem;             /* same as input */
    color: #333;                 /* neutral text color */
    background-color: #fff;      /* white background */
    box-sizing: border-box;      /* prevents overflow */
    margin: 10px 0;              /* space above/below */
    appearance: none;            /* removes default arrow for cleaner look */
    -webkit-appearance: none;    /* Safari/Chrome */
    -moz-appearance: none;       /* Firefox */
    cursor: pointer;             /* shows pointer on hover */
    transition: border-color 0.2s, box-shadow 0.2s;
}

/* Focus effect */
.subscribe-form select:focus {
    outline: none;
    border-color: #999;           /* subtle darker border */

}

/* Optional: custom arrow using pseudo-element */
.subscribe-form {
    position: relative;
}

.subscribe-form select {
    padding-right: 35px;          /* space for arrow */
}

.subscribe-form::after {
    content: '▼';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #555;
    font-size: 0.8rem;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .subscribe-form select {
        font-size: 0.7rem;        /* smaller font */
        padding: 8px 10px;        /* tighter padding */
    }

    .subscribe-form::after {
        font-size: 0.7rem;        /* smaller arrow */
        right: 8px;
    }
}

.catalogue-entry :is(h1, h2, h3, h4, h5, h6) {
    margin: 1em 0;
    font-size: 2em;
}

.article-title :is(h1, h2, h3, h4, h5, h6) {
    margin: 1em 0;
}

@media (max-width: 768px) {
  .article-title {
    font-size: 2rem;      /* Adjust font size for mobile */
    margin-top: 1em;      /* Space above */
    margin-bottom: 1em;   /* Space below */
    font-weight: 600;     /* Semi-bold */
    line-height: 1.2;     /* Tight line spacing */
  }
}

/* Mobile styles for catalogue headings */
@media (max-width: 768px) {
  .catalogue-entry :is(h1, h2, h3, h4, h5, h6) {
    margin: 1em 0;     /* Space above and below each heading */
    font-size: 1.5em;  /* Slightly smaller for mobile */
    line-height: 1.2;  /* Tight line spacing for readability */
  }
}

/* Mobile styles for article descriptions */
@media (max-width: 768px) {
  .article-description {
    font-size: 0.9rem;   /* Slightly smaller for smaller screens */
    line-height: 1.5;    /* Tighter line spacing for mobile */
    color: #333;         /* Keep text color for readability */
    margin-bottom: 1em;  /* Optional spacing after paragraphs */
    padding: 20px;
  }
}

.work-size-container {
    text-align: center;
    padding: 5em 1em;
    box-sizing: border-box;
}

.work-size-images {
    display: flex;
    gap: 1.5em;
    justify-content: center;
    flex-wrap: wrap; /* allows stacking on mobile */
}

.work-size-images img {
    flex: 1 1 45%;        /* layout: two per row */
    max-width: 100%;
    max-height: 400px;    /* KEY: constrain height */
    width: auto;
    height: auto;
    object-fit: contain;  /* ensures full image fits */
    display: block;
}

/* Caption */
.image-caption {
    margin-top: 1.5em;
    font-style: italic;
    color: #555;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .work-size-images {
        flex-direction: column;
    }

    .work-size-images img {
        flex: 1 1 100%;
    }
}

/* Desktop */
.work-img {
    width: 45%;
    max-width: 500px;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .work-size-images {
        flex-direction: column !important;
        align-items: center;
    }

    .work-img {
        width: 100% !important;
        max-width: 100% !important;
    }
}


.fb-icon {
  color: #888;
  transition: color 0.3s ease;
}

.fb-icon:hover {
  color: #555;
}

.footer-bottom div {
  margin-top: 6px;
  text-align: center;
}

.footer-language-selector {
    margin-top: 30px;
    text-align: center;
    letter-spacing: 2px;
    font-family: "Times New Roman", Georgia, serif;
}

.footer-language-selector .language-title {
    display: block;
    margin-bottom: 15px;
    color: #b8b8b8;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.footer-language-selector a {
    display: inline-block;
    margin: 0 10px;
    color: #d4d4d4;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    transition: all 0.35s ease;
    position: relative;
}

.footer-language-selector a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: #c8a96b;
    transition: all 0.35s ease;
    transform: translateX(-50%);
}

.footer-language-selector a:hover {
    color: #ffffff;
}

.footer-language-selector a:hover::after {
    width: 100%;
}

.footer-language-selector a.active {
    color: #c8a96b;
}

.footer-language-selector a.active::after {
    width: 100%;
}
.footer-language-selector {
    margin-top: 60px;
    padding-top: 35px;
    position: relative;

    text-align: center;
    letter-spacing: 2px;
    font-family: "Times New Roman", Georgia, serif;
}

.footer-language-selector::before {
    content: "";
    display: block;
    width: 120px;
    height: 1px;
    background: rgba(200, 169, 107, 0.35);
    margin: 0 auto 30px;
}

.tagline {
    max-width: 65ch;
    margin: 2em auto 0;
    text-align: left;
}
@media (max-width: 768px) {
    .image-title,
    .image-title h1,
    .brand-h1,
    .tagline {
        text-align: left;
    }

    .brand-h1 {
        display: block;
        width: 100%;
    }
}

.section-full:nth-of-type(odd) {
    background-color: #f8f8f8;
}

.section-full:nth-of-type(even) {
    background-color: #ffffff;
}

.image-title {
    text-align: left;
}

.image-title h1 {
    text-align: left;
}

.brand-h1 {
    display: block;
    text-align: left;
}

.tagline {
    max-width: 65ch;
    margin: 2em 0 0 0;
    text-align: left;
}

/* =======================================
   RTL OVERRIDES
   Keeps all current main.css features while adapting layout/text for RTL pages
======================================= */
html,
body {
    direction: rtl;
}

/* RTL typography */
h1,
h2,
h3,
.hero-image-section .image-title h1,
.hero-image-section .image-title h2,
.exhibitions-table th {
    font-family: 'Cormorant Garamond', serif;
}

body,
p,
nav a,
.tagline,
.cta,
.hero-image-section .image-title .tagline,
.exhibitions-table,
.section-news,
.article-description {
    font-family: 'Montserrat', sans-serif;
    direction: rtl;
}

/* Keep artwork/title blocks aligned naturally for RTL */
.image-title,
.image-title h1,
.brand-h1,
.tagline,
.hero-content p,
.article-content,
.section-title,
.exhibitions ul,
.cv-section ul,
ul {
    text-align: right;
}

.brand-h1 {
    display: block;
    width: 100%;
}

.tagline {
    max-width: 65ch;
    margin: 2em 0 0 0;
    text-align: right;
}

.hero-content {
    max-width: 650px;
}

/* Elegant underline links adapted from main.css */
.hero-content a,
.tagline a,
.artist-bio a,
.cv-section a {
    color: #44413e;
    text-decoration: none;
    position: relative;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.hero-content a::after,
.tagline a::after,
.artist-bio a::after,
.cv-section a::after {
    content: "";
    position: absolute;
    right: 0;
    left: auto;
    bottom: -3px;
    width: 100%;
    height: 1px;
    background-color: rgba(68, 65, 62, 0.6);
}

.hero-content a:hover,
.tagline a:hover,
.artist-bio a:hover,
.cv-section a:hover {
    color: #111;
    text-decoration: none;
}

/* RTL dropdown alignment */
.dropdown-content {
    right: 0;
    left: auto;
    text-align: right;
}

.dropdown-content a {
    text-align: right;
}

/* RTL tables */
.exhibitions-table th,
.exhibitions-table td,
.artists-table th,
.artists-table td {
    text-align: right;
}

.exhibitions-table td:nth-child(3) {
    text-align: left;
}

/* RTL footer column dividers */
.footer-column:not(:first-child),
.footer-info {
    border-left: none;
    padding-left: 0;
    border-right: 1px solid #f0f0f0;
    padding-right: 25px;
}

/* RTL form arrow */
.subscribe-form select {
    padding-right: 15px;
    padding-left: 35px;
}

.subscribe-form::after {
    right: auto;
    left: 10px;
}

@media (max-width: 768px) {
    .image-title,
    .image-title h1,
    .brand-h1,
    .tagline {
        text-align: right;
    }

    header nav a,
    header nav .dropdown,
    .dropdown-content a,
    .dropdown .dropbtn {
        text-align: right;
        justify-content: flex-start;
    }

    .dropdown-content {
        padding-left: 0;
        padding-right: 2rem;
    }

    .cv-section ul {
        padding-left: 0;
        padding-right: 15px;
    }

    .exhibitions-table td:nth-child(3) {
        text-align: right;
    }
}

@media (max-width: 480px) {
    .subscribe-form::after {
        right: auto;
        left: 8px;
    }
}

