/* ========================================
   MARY ZOO — OPENING PAGES
   French: Accueil (102)
   English: Home Mary Zoo (103)
   English: Mary Zoo - Opening (104)
======================================== */

body.itemid-102,
body.itemid-103,
body.itemid-104 {
  background: #171319;
  color: #f4ece8;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.8;
}

body.itemid-102 .container-header,
body.itemid-103 .container-header,
body.itemid-104 .container-header {
  background: #171319 !important;
  background-image: none !important;
  color: #f4ece8;
  box-shadow: none;
  border-bottom: 1px solid rgba(244, 236, 232, 0.15);
}

body.itemid-102 .container-header a,
body.itemid-103 .container-header a,
body.itemid-104 .container-header a {
  color: #d6a9b8;
  text-decoration: none;
}

body.itemid-102 .container-component,
body.itemid-103 .container-component,
body.itemid-104 .container-component {
  background: #171319;
  color: #f4ece8;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

body.itemid-102 .com-content-article h1,
body.itemid-102 .com-content-article h2,
body.itemid-102 .com-content-article h3,
body.itemid-103 .com-content-article h1,
body.itemid-103 .com-content-article h2,
body.itemid-103 .com-content-article h3,
body.itemid-104 .com-content-article h1,
body.itemid-104 .com-content-article h2,
body.itemid-104 .com-content-article h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.2;
  color: #f4ece8;
}

body.itemid-102 .com-content-article p,
body.itemid-103 .com-content-article p,
body.itemid-104 .com-content-article p {
  color: #d8cdd2;
}

body.itemid-102 .com-content-article a,
body.itemid-103 .com-content-article a,
body.itemid-104 .com-content-article a {
  color: #fff5f2;
}

/* Opening pages — mobile spacing */
@media (max-width: 767px) {
  body.itemid-102 .container-component,
  body.itemid-103 .container-component,
  body.itemid-104 .container-component {
    padding-top: 1rem;
    padding-bottom: 2rem;
  }
}

/* Intro cards — mobile layout */
@media (max-width: 600px) {
  body.itemid-102 .com-content-article div[style*="grid-template-columns"],
  body.itemid-103 .com-content-article div[style*="grid-template-columns"],
  body.itemid-104 .com-content-article div[style*="grid-template-columns"] {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
    padding: 6px 0 !important;
  }

  body.itemid-102 .com-content-article div[style*="background: #39232f"],
  body.itemid-103 .com-content-article div[style*="background: #39232f"],
  body.itemid-104 .com-content-article div[style*="background: #39232f"],
  body.itemid-102 .com-content-article div[style*="background: #25232d"],
  body.itemid-103 .com-content-article div[style*="background: #25232d"],
  body.itemid-104 .com-content-article div[style*="background: #25232d"] {
    padding: 20px !important;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  body.itemid-102 .com-content-article div[style*="background: #39232f"] img,
  body.itemid-103 .com-content-article div[style*="background: #39232f"] img,
  body.itemid-104 .com-content-article div[style*="background: #39232f"] img {
    width: 100%;
    max-width: 300px;
    margin: 18px auto 22px !important;
  }
}

/* ========================================
   MARY ZOO — CONTACT PAGES
   English: 105 | French: 106
======================================== */

body.itemid-105,
body.itemid-106 {
  background-color: #171319 !important;
  background-image:
    radial-gradient(ellipse at 75% 25%, rgba(91, 43, 62, 0.38), transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(65, 35, 54, 0.28), transparent 50%) !important;
  color: #f4ece8;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.8;
}

body.itemid-105 #wrapper,
body.itemid-105 .site-grid,
body.itemid-105 main,
body.itemid-105 .container-component,
body.itemid-105 .com-content-article,
body.itemid-106 #wrapper,
body.itemid-106 .site-grid,
body.itemid-106 main,
body.itemid-106 .container-component,
body.itemid-106 .com-content-article {
  background: transparent !important;
  background-color: transparent !important;
  color: #f4ece8;
  box-shadow: none !important;
}

body.itemid-105 .container-header,
body.itemid-106 .container-header {
  background: #171319 !important;
  background-image: none !important;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(244, 236, 232, 0.15);
}

body.itemid-105 .container-component,
body.itemid-106 .container-component {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

body.itemid-105 .com-content-article h1,
body.itemid-105 .com-content-article h2,
body.itemid-105 .com-content-article h3,
body.itemid-106 .com-content-article h1,
body.itemid-106 .com-content-article h2,
body.itemid-106 .com-content-article h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: #f0dfe5;
}

body.itemid-105 .com-content-article p,
body.itemid-106 .com-content-article p {
  color: #d8cdd2;
}

body.itemid-105 .com-content-article a,
body.itemid-106 .com-content-article a {
  color: #e3b4c3;
}

body.itemid-105 .com-content-article a:hover,
body.itemid-106 .com-content-article a:hover {
  color: #fff5f2;
}

/* ========================================
   MARY ZOO — CONCERTS & SHOWS
   French: 111 | English: 112
======================================== */

body.itemid-111,
body.itemid-112 {
  background-color: #171319 !important;
  color: #f4ece8;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.8;
}

body.itemid-111 #wrapper,
body.itemid-111 .site-grid,
body.itemid-111 main,
body.itemid-111 .container-component,
body.itemid-111 .com-content-article,
body.itemid-112 #wrapper,
body.itemid-112 .site-grid,
body.itemid-112 main,
body.itemid-112 .container-component,
body.itemid-112 .com-content-article {
  background: transparent !important;
  background-color: transparent !important;
  color: #f4ece8;
  box-shadow: none !important;
}

body.itemid-111 .container-header,
body.itemid-112 .container-header {
  background: #171319 !important;
  background-image: none !important;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(244, 236, 232, 0.15);
}

body.itemid-111 .com-content-article h1,
body.itemid-111 .com-content-article h2,
body.itemid-111 .com-content-article h3,
body.itemid-112 .com-content-article h1,
body.itemid-112 .com-content-article h2,
body.itemid-112 .com-content-article h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: #f0dfe5;
  line-height: 1.3;
}

body.itemid-111 .com-content-article p,
body.itemid-111 .com-content-article li,
body.itemid-112 .com-content-article p,
body.itemid-112 .com-content-article li {
  color: #d8cdd2;
}

body.itemid-111 .com-content-article a,
body.itemid-112 .com-content-article a {
  color: #e3b4c3;
}

body.itemid-111 .com-content-article a:hover,
body.itemid-112 .com-content-article a:hover {
  color: #fff5f2;
}

body.itemid-111 .com-content-article hr,
body.itemid-112 .com-content-article hr {
  border: 0;
  border-top: 1px solid #d0aab4;
}

@media (max-width: 767px) {
  body.itemid-111 .container-component,
  body.itemid-112 .container-component {
    padding-top: 1rem;
    padding-bottom: 2rem;
  }
}

/* ========================================
   MARY ZOO — UNIVERSE PAGES
======================================== */

body.itemid-110,
body.itemid-109,
body.itemid-11,
body.itemid-10 {
  background: #171319 !important;
  color: #f4ece8 !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.8;
}

body.itemid-11 #wrapper,
body.itemid-11 .site-grid,
body.itemid-11 main,
body.itemid-11 .container-component,
body.itemid-11 .com-content,
body.itemid-11 .com-content-article,
body.itemid-11 .blog-item,
body.itemid-10 #wrapper,
body.itemid-10 .site-grid,
body.itemid-10 main,
body.itemid-10 .container-component,
body.itemid-10 .com-content,
body.itemid-10 .com-content-article,
body.itemid-10 .blog-item {
  background: #171319 !important;
  background-color: #171319 !important;
  color: #f4ece8 !important;
  box-shadow: none !important;
}

body.itemid-11 .container-header,
body.itemid-10 .container-header,
body.itemid-109 .container-header,
body.itemid-110 .container-header {
  background: #171319 !important;
  background-image: none !important;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(244, 236, 232, 0.15);
}

.mz-universe {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1rem 1.5rem 3rem;
  color: #f4ece8;
  box-sizing: border-box;
}

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

.mz-universe .mz-intro {
  max-width: 850px;
  margin: 0 auto 5rem;
  padding: 3rem 0 1rem;
  text-align: center;
}

.mz-universe .mz-eyebrow {
  margin: 0 0 1rem;
  color: #d0aab4;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.mz-universe h1,
.mz-universe h2,
.mz-universe h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.25;
}

.mz-universe .mz-intro h1 {
  margin: 0 0 1.2rem;
  color: #f4ece8;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.mz-universe .mz-intro-text {
  max-width: 700px;
  margin: 0 auto;
  color: #d8cdd2;
  font-size: 1.15rem;
}

.mz-universe .mz-section-heading {
  margin: 0 auto 2.5rem;
  text-align: center;
}

.mz-universe .mz-section-heading h2 {
  margin: 0 0 0.5rem;
  color: #f4ece8;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 0.08em;
}

.mz-universe .mz-subtitle {
  margin: 0;
  color: #d8cdd2;
}

.mz-universe .mz-albums {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 2rem;
  align-items: start;
  width: 100%;
  margin: 0 auto 4rem;
}

.mz-universe .mz-album {
  min-width: 0;
  margin: 0;
  text-align: center;
}

.mz-universe .mz-album img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0 auto 1.25rem;
}

.mz-universe .mz-album h3 {
  margin: 0 0 0.6rem;
  color: #f0dfe5;
  font-size: 1.35rem;
}

.mz-universe .mz-album .mz-origin {
  margin: 0;
  color: #d8cdd2;
  font-size: 0.95rem;
}

.mz-universe .mz-story {
  max-width: 820px;
  margin: 0 auto 3rem;
}

.mz-universe .mz-story h2 {
  margin: 2.5rem 0 1rem;
  color: #f0dfe5;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.mz-universe .mz-story p {
  margin: 0 0 1.25rem;
  color: #d8cdd2;
}

.mz-universe .mz-listen {
  margin: 3rem auto 5rem;
  text-align: center;
}

.mz-universe .mz-listen a {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 1px solid #d0aab4;
  color: #f4ece8;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mz-universe .mz-listen a:hover {
  background: #d0aab4;
  color: #171319;
}

.mz-universe .mz-explore {
  margin: 4rem 0 0;
  padding: 3rem 0 0;
  border-top: 1px solid rgba(208, 170, 180, 0.35);
}

.mz-universe .mz-explore > .mz-eyebrow,
.mz-universe .mz-explore > h2 {
  text-align: center;
}

.mz-universe .mz-explore > h2 {
  margin: 0 0 2rem;
  color: #f0dfe5;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.mz-universe .mz-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.mz-universe .mz-link {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.5rem;
  border: 1px solid rgba(208, 170, 180, 0.35);
  background: rgba(57, 35, 47, 0.35);
  color: #f4ece8;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.mz-universe .mz-link:hover {
  background: rgba(57, 35, 47, 0.75);
  border-color: #d0aab4;
}

.mz-universe .mz-link-title {
  margin-bottom: 0.5rem;
  color: #f0dfe5;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
}

.mz-universe .mz-link-description {
  color: #d8cdd2;
  font-size: 0.95rem;
}

.mz-universe .mz-arrow {
  margin-top: 1rem;
  color: #d0aab4;
}

@media (max-width: 900px) {
  .mz-universe .mz-albums {
    gap: 1.25rem;
  }

  .mz-universe .mz-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .mz-universe {
    padding: 0.5rem 1rem 2rem;
  }

  .mz-universe .mz-intro {
    margin-bottom: 3rem;
    padding-top: 2rem;
  }

  .mz-universe .mz-albums {
    grid-template-columns: 1fr !important;
    gap: 2.5rem;
    max-width: 480px;
  }

  .mz-universe .mz-album img {
    max-width: 420px;
  }

  .mz-universe .mz-story {
    margin-bottom: 2rem;
  }

  .mz-universe .mz-explore {
    margin-top: 3rem;
    padding-top: 2rem;
  }
}

/* ========================================
   MARY ZOO — MAIN NAVIGATION
   Menu module class: maryzoo-nav
======================================== */

.container-header {
  background: #171319 !important;
  background-image: none !important;
  box-shadow: none !important;
}

.container-header .maryzoo-nav ul.mod-menu {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
}

.container-header .maryzoo-nav ul.mod-menu > li {
  margin: 0 !important;
  padding: 0 !important;
}

.container-header .maryzoo-nav ul.mod-menu > li > a {
  display: inline-block;
  padding: 0.5rem 0.1rem;
  color: #d6a9b8 !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid transparent !important;
  text-decoration: none !important;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.container-header .maryzoo-nav ul.mod-menu > li > a:hover,
.container-header .maryzoo-nav ul.mod-menu > li > a:focus {
  color: #e2bdc8 !important;
  border-bottom-color: #d0aab4 !important;
}

/* Keep navigation horizontal on smaller screens */
@media (max-width: 767px) {
  .container-header .maryzoo-nav ul.mod-menu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px 16px !important;
  }

  .container-header .maryzoo-nav ul.mod-menu > li {
    display: block !important;
    width: auto !important;
  }
}

/* ========================================
   MARY ZOO — HEADER, NAVIGATION AND SEARCH
======================================== */

/* Header background on every page */
.container-header,
.container-header .container-nav,
.container-header .grid-child {
  background-color: #171319 !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* Site title */
.container-header a.navbar-brand,
.container-header a.navbar-brand:hover,
.container-header a.navbar-brand:focus,
.container-header .navbar-brand .site-title {
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 1.5rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.08em !important;
  color: #d6a9b8 !important;
  text-decoration: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* Remove underlines from all header links */
.container-header a,
.container-header a:hover,
.container-header a:focus,
.container-header a:visited {
  text-decoration: none !important;
}

/* Navigation labels — rose on every page */
.container-header .maryzoo-nav ul.mod-menu > li > a,
.container-header .maryzoo-nav ul.mod-menu > li > a:visited {
  color: #d6a9b8 !important;
  background: transparent !important;
  border-bottom: 1px solid transparent !important;
}

.container-header .maryzoo-nav ul.mod-menu > li > a:hover,
.container-header .maryzoo-nav ul.mod-menu > li > a:focus,
.container-header .maryzoo-nav ul.mod-menu > li.active > a {
  color: #e2bdc8 !important;
  border-bottom-color: #d0aab4 !important;
}

/* Desktop header layout and search */
@media (min-width: 768px) {
  .container-header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 0.5rem 1rem;
    padding: 0.75rem 2rem !important;
  }

  .container-header > .grid-child {
    flex: 0 1 auto !important;
    width: auto !important;
  }

  .container-header .navbar-brand {
    margin: 0 1rem 0 0 !important;
    white-space: nowrap;
  }

  .container-header .container-nav {
    flex: 1 1 auto !important;
    min-width: 0;
  }

  .container-header .maryzoo-nav ul.mod-menu {
    justify-content: center !important;
  }

  .container-header .container-search {
    flex: 0 0 auto;
    margin: 0 !important;
  }

  .container-header .container-search form {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }

  .container-header .container-search input[type="search"] {
    width: 110px;
    min-width: 0;
    background: transparent !important;
    color: #f4ece8 !important;
    border: 1px solid #d0aab4 !important;
    border-radius: 20px;
  }

  .container-header .container-search button,
  .container-header .container-search input[type="submit"] {
    color: #f4ece8 !important;
    background: transparent !important;
    border: 0 !important;
  }
}

/* MARY ZOO — site title */
.container-header a.navbar-brand,
.container-header a.navbar-brand:visited,
.container-header a.navbar-brand:hover,
.container-header a.navbar-brand:focus {
  color: #d6a9b8 !important;
  text-decoration: none !important;
  font-family: Georgia, "Times New Roman", serif !important;
}

/* End of Mary Zoo custom CSS */

/* MARY ZOO — enforce navigation colours on every page */
.container-header .container-nav .mod-menu a,
.container-header .container-nav .mod-menu a:visited {
  color: #d6a9b8 !important;
}

.container-header .container-nav .mod-menu a:hover,
.container-header .container-nav .mod-menu a:focus,
.container-header .container-nav .mod-menu li.active > a {
  color: #e2bdc8 !important;
  border-bottom-color: #d0aab4 !important;
}

/* MARY ZOO — title colour on every page */
.container-header .navbar-brand a.brand-logo,
.container-header .navbar-brand a.brand-logo span,
.container-header .navbar-brand a.brand-logo:visited,
.container-header .navbar-brand a.brand-logo:hover,
.container-header .navbar-brand a.brand-logo:focus {
  color: #d6a9b8 !important;
  -webkit-text-fill-color: #d6a9b8 !important;
  text-decoration: none !important;
}

/* MARY ZOO — elegant title on every page */
.container-header .navbar-brand a.brand-logo,
.container-header .navbar-brand a.brand-logo span,
.container-header .navbar-brand a.brand-logo:visited,
.container-header .navbar-brand a.brand-logo:hover,
.container-header .navbar-brand a.brand-logo:focus {
  color: #d6a9b8 !important;
  -webkit-text-fill-color: #d6a9b8 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  text-decoration: none !important;
}

/* MARY ZOO — compact header search */
.maryzoo-search {
  margin: 0;
  padding: 0;
}

.maryzoo-search form {
  display: flex;
  align-items: center;
  gap: 6px;
}

.maryzoo-search input[type="search"],
.maryzoo-search input[type="text"] {
  background: #f4ece8 !important;
  color: #171319 !important;
  border: 1px solid #d0aab4 !important;
  border-radius: 3px;
}

.maryzoo-search button,
.maryzoo-search input[type="submit"] {
  background: transparent !important;
  color: #d6a9b8 !important;
  border: 1px solid #d0aab4 !important;
  border-radius: 3px;
}

/* ========================================
   MARY ZOO — PLUM BACKGROUND AROUND ARTICLES
   Music: 115, 116
   Shop: 113, 114
   Lost Darling: 107, 108
======================================== */

body.itemid-115,
body.itemid-116,
body.itemid-113,
body.itemid-114,
body.itemid-107,
body.itemid-108 {
  background-color: #171319 !important;
  background-image: none !important;
}

/* Let the plum page background show around each article */
body.itemid-115 #wrapper,
body.itemid-115 .site-grid,
body.itemid-115 main,
body.itemid-115 .container-component,
body.itemid-115 .com-content,
body.itemid-116 #wrapper,
body.itemid-116 .site-grid,
body.itemid-116 main,
body.itemid-116 .container-component,
body.itemid-116 .com-content,
body.itemid-113 #wrapper,
body.itemid-113 .site-grid,
body.itemid-113 main,
body.itemid-113 .container-component,
body.itemid-113 .com-content,
body.itemid-114 #wrapper,
body.itemid-114 .site-grid,
body.itemid-114 main,
body.itemid-114 .container-component,
body.itemid-114 .com-content,
body.itemid-107 #wrapper,
body.itemid-107 .site-grid,
body.itemid-107 main,
body.itemid-107 .container-component,
body.itemid-107 .com-content,
body.itemid-108 #wrapper,
body.itemid-108 .site-grid,
body.itemid-108 main,
body.itemid-108 .container-component,
body.itemid-108 .com-content {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

/* MARY ZOO — mobile menu horizontal layout */
@media screen and (max-width: 767px) {
  #mod-menu1 {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 8px 16px !important;
  }

  #mod-menu1 > li {
    display: block !important;
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
  }
}

/* ========================================
   MARY ZOO — CAPHARNAÜM NEW ARTWORK
======================================== */

body.itemid-109,
body.itemid-110 {
  background-color: #171319 !important;
  background-image: url('/images/Crimson%20Hair%20in%20the%20Autumn%20Ruins%20-%20bottom%20fade.png') !important;
  background-size: 100% auto !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
}

/* ========================================
   MARY ZOO — ACTIVE NAVIGATION ITEM
======================================== */

.container-header .mod-menu li.current > a,
.container-header .mod-menu li.active > a,
.container-header .mod-menu a[aria-current="page"] {
  color: #e9a2b7 !important;
  font-weight: 600 !important;
}

/* ========================================
   MARY ZOO — CAPHARNAÜM PAGE LAYOUT
   No banners, no panels, no album frames
======================================== */

.mz-universe {
  max-width: 1100px;
  margin: 0 auto;
  padding: 45px 28px 80px;
  color: #fff5f2;
  line-height: 1.85;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
}

/* INTRODUCTION */

.mz-intro {
  max-width: 850px;
  text-align: center;
  margin: 0 auto 55px;
  padding: 15px 0;
  background: transparent;
  border: none;
}

.mz-universe .mz-eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #f0d0da;
  margin-bottom: 14px;
}

.mz-intro h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.15;
  margin: 0 0 16px;
  color: #fff5f2;
}

.mz-intro-text {
  font-size: 16px;
  max-width: 650px;
  margin: 0 auto;
}

/* STORY SECTIONS */

.mz-story {
  max-width: 760px;
  margin: 35px auto 65px;
  padding: 20px 0;
  background: transparent;
  border: none;
}

.mz-story h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: #fff5f2;
  font-size: 27px;
  line-height: 1.3;
  margin: 0 0 18px;
}

.mz-story p {
  font-size: 15px;
  margin: 0 0 16px;
  color: #fff5f2;
}

.mz-story p:last-child {
  margin-bottom: 0;
}

/* TALES SECTION */

.mz-tales {
  margin: 70px auto;
}

.mz-section-heading {
  text-align: center;
  margin-bottom: 35px;
}

.mz-section-heading h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
  letter-spacing: 4px;
  line-height: 1.1;
  margin: 8px 0;
  color: #fff5f2;
}

.mz-subtitle {
  font-size: 15px;
  color: #fff0ec;
}

/* ALBUM GRID */

.mz-albums {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 35px;
  align-items: start;
}

.mz-album {
  text-align: center;
  padding: 15px 10px 20px;
  background: transparent;
  border: none;
}

.mz-album img {
  display: block;
  width: 100%;
  max-width: 210px;
  height: auto;
  margin: 0 auto 20px;
}

.mz-album h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.4;
  color: #fff5f2;
  margin: 0 0 10px;
}

.mz-album .mz-origin {
  font-size: 13px;
  min-height: 48px;
  margin: 0;
  color: #fff0ec;
}

.mz-album a {
  display: inline-block;
  margin-top: 12px;
  color: #f0bdcc;
  text-decoration: none;
  font-size: 14px;
}

.mz-album a:hover {
  color: #ffffff;
}

/* LOWER TEXT */

.mz-about {
  margin-top: 75px;
  margin-bottom: 20px;
}

/* MOBILE */

@media (max-width: 700px) {
  .mz-universe {
    padding: 25px 16px 55px;
  }

  .mz-intro {
    padding: 10px 0;
    margin-bottom: 35px;
  }

  .mz-story {
    padding: 15px 0;
  }

  .mz-story h2 {
    font-size: 23px;
  }

  .mz-albums {
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 380px;
    margin: 0 auto;
  }

  .mz-album .mz-origin {
    min-height: 0;
  }

  .mz-section-heading h2 {
    font-size: 44px;
  }
}
/* MARY ZOO — FIX LANGUAGE SWITCHER COLOURS */

.container-header .mod-languages,
.container-header .mod-languages ul,
.container-header .mod-languages li {
  background: transparent !important;
  background-color: transparent !important;
}

.container-header .mod-languages a,
.container-header .mod-languages a:link,
.container-header .mod-languages a:visited,
.container-header .mod-languages a:hover,
.container-header .mod-languages a:focus,
.container-header .mod-languages a:active,
.container-header .mod-languages .lang-active a {
  color: #d6a9b8 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-bottom: 1px solid transparent !important;
  box-shadow: none !important;
  text-decoration: none !important;
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
}

/* Subtle underline when hovering or selecting a language */

.container-header .mod-languages a:hover,
.container-header .mod-languages a:focus,
.container-header .mod-languages .lang-active a {
  color: #e9a2b7 !important;
  border-bottom: 1px solid #d0aab4 !important;
}
/* ========================================
   MARY ZOO — CAPHARNAÜM TEXT POSITION
======================================== */

body.itemid-109 .mz-universe,
body.itemid-110 .mz-universe {
  padding-top: 220px !important;
}
/* ========================================
   MARY ZOO — STICKY HEADER
======================================== */

/* Desktop: fixed header */
@media (min-width: 768px) {
  .container-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
  }

  body {
    padding-top: 95px !important;
  }
}

/* ========================================
   CAPHARNAÜM — MOBILE ARTWORK
======================================== */

@media (max-width: 700px) {
  body.itemid-109,
  body.itemid-110 {
    background-image: none !important;
  }

  body.itemid-109 .mz-universe,
  body.itemid-110 .mz-universe {
    padding-top: 0 !important;
  }

  body.itemid-109 .mz-universe::before,
  body.itemid-110 .mz-universe::before {
    content: "";
    display: block;
    width: 100%;
    height: 280px;
    background-image: url('/images/Crimson%20Hair%20in%20the%20Autumn%20Ruins%20-%20bottom%20fade.png');
    background-size: auto 100%;
    background-position: center top;
    background-repeat: no-repeat;
    margin-bottom: 15px;
  }
}
/* ========================================
   MARY ZOO — MOBILE HEADER AND MENU
======================================== */

@media (max-width: 767px) {

  /* Header scrolls with the page */
  body .container-header {
    position: relative !important;
    top: auto !important;
    z-index: 10 !important;
    width: 100% !important;
  }

  /* Keep the menu horizontal and allow it to wrap */
  body .container-header .maryzoo-nav ul.mod-menu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px 10px !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Remove extra spacing around each menu item */
  body .container-header .maryzoo-nav ul.mod-menu > li {
    display: block !important;
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Compact menu links */
  body .container-header .maryzoo-nav ul.mod-menu > li > a {
    display: inline-block !important;
    padding: 2px 2px !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    font-size: 0.72rem !important;
  }
}
/* ========================================
   MARY ZOO — VIDEO PAGES PLUM BACKGROUND
   English: 117
   French: 118
======================================== */

body.itemid-117,
body.itemid-118 {
  background-color: #171319 !important;
  background-image: none !important;
}

body.itemid-117 #wrapper,
body.itemid-117 .site-grid,
body.itemid-117 main,
body.itemid-117 .container-component,
body.itemid-117 .com-content,
body.itemid-117 .com-content-article,
body.itemid-118 #wrapper,
body.itemid-118 .site-grid,
body.itemid-118 main,
body.itemid-118 .container-component,
body.itemid-118 .com-content,
body.itemid-118 .com-content-article {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}
/* MARY ZOO VIDEO TILE GALLERY */

.mz-archive {
  max-width: 1400px;
  margin: 45px auto;
  padding: 0 25px;
  box-sizing: border-box;
}

.mz-archive h2 {
  color: #d0aab4;
  margin: 35px 0 18px;
}

.mz-video-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px;
}

.mz-video-tile {
  min-width: 0;
  background: #211b23;
  border: 1px solid #493b48;
  border-radius: 7px;
  overflow: hidden;
  cursor: pointer;
  color: #f4ece8;
}

.mz-video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #171319;
}

.mz-video-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mz-video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 38px;
  color: white;
  text-shadow: 0 2px 8px #000;
}

.mz-video-title {
  padding: 10px;
  font-size: 13px;
  line-height: 1.4;
  min-height: 55px;
}

.mz-video-thumb iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 900px) {
  .mz-video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 600px) {
  .mz-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
  }
}
/* Tighten the Capharnaüm introduction spacing */
.mz-intro {
  margin-bottom: 20px !important;
  padding-bottom: 0 !important;
}

.mz-intro + .mz-story {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.mz-intro + .mz-story h2 {
  margin-top: 0 !important;
}
/* CAPHARNAÜM – refine the introduction */

.mz-intro {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.mz-intro + .mz-story {
  max-width: 900px !important;
  margin: 22px auto 0 !important;
  padding: 0 25px !important;
  text-align: center !important;
}

.mz-intro + .mz-story h2 {
  margin: 0 0 18px !important;
  text-align: center !important;
}

.mz-intro + .mz-story p {
  max-width: 760px;
  margin: 0 auto 12px !important;
  line-height: 1.65 !important;
  text-align: center !important;
}

.mz-tales {
  margin-top: 28px !important;
  padding-top: 0 !important;
}
/* MUSIC ARCHIVE – CD COVER SIZING */

.music-releases {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  gap: 24px !important;
}

.music-release {
  width: 170px !important;
  flex: 0 0 170px !important;
  text-align: center !important;
}

.music-release img {
  display: block !important;
  width: 150px !important;
  height: 150px !important;
  min-width: 150px !important;
  max-width: 150px !important;
  min-height: 150px !important;
  max-height: 150px !important;
  object-fit: contain !important;
  outline: none !important;
  margin: 0 auto 12px !important;
}

.music-release p {
  font-size: 13px !important;
  line-height: 1.4 !important;
}
/* MUSIC ARCHIVE – PROJECT AND RELEASE TEXT */

.music-project h2,
.music-project h3,
.music-project .release-title,
.music-project p {
  color: #f5e9e8 !important;
}

/* Project names */
.music-project h2,
.music-project h3 {
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 400 !important;
}

/* Album titles and years */
.music-project .release-title {
  color: #e2bdc8 !important;
}
/* MARY ZOO – ARTWORK LIGHTBOX */

.mz-lsar-lightbox,
.mz-em-lightbox,
.mz-ug-lightbox {
    display: none;
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 12, 17, 0.96) !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 50px 70px !important;
    box-sizing: border-box !important;
}

.mz-lsar-lightbox.active,
.mz-em-lightbox.active,
.mz-ug-lightbox.active {
    display: flex !important;
}

.mz-lsar-lightbox img,
.mz-em-lightbox img,
.mz-ug-lightbox img {
    display: block;
    max-width: 85vw !important;
    max-height: 85vh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border: none !important;
}

.mz-lsar-close,
.mz-em-close,
.mz-ug-close {
    position: absolute !important;
    top: 20px !important;
    right: 25px !important;
    font-size: 32px !important;
    color: #f4ece8 !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
}

.mz-lsar-prev,
.mz-em-prev,
.mz-ug-prev {
    position: absolute !important;
    left: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.mz-lsar-next,
.mz-em-next,
.mz-ug-next {
    position: absolute !important;
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.mz-lsar-prev,
.mz-lsar-next,
.mz-em-prev,
.mz-em-next,
.mz-ug-prev,
.mz-ug-next {
    font-size: 28px !important;
    color: #f4ece8 !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
}

.mz-lsar-counter,
.mz-em-counter,
.mz-ug-counter {
    position: absolute !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    color: #f4ece8 !important;
    font-size: 14px !important;
}

@media (max-width: 600px) {
    .mz-lsar-lightbox,
    .mz-em-lightbox,
    .mz-ug-lightbox {
        padding: 45px 40px !important;
    }

    .mz-lsar-lightbox img,
    .mz-em-lightbox img,
    .mz-ug-lightbox img {
        max-width: 90vw !important;
        max-height: 80vh !important;
    }
}

/* =================================
   PRESS REVIEWS
================================= */

.cz-press {
  width: 100%;
  max-width: 1000px;
  margin: 35px auto 50px;
  padding: 20px 15px;
  box-sizing: border-box;
  color: #34332F;
}

.cz-press h1 {
  text-align: center;
  font-size: 34px;
  font-weight: normal;
  color: #963F2E;
  margin: 0 0 12px;
}

.cz-press-intro {
  text-align: center;
  margin: 0 auto 40px;
  color: #8B9270;
  font-size: 16px;
  font-style: italic;
}

.cz-press-item {
  display: grid !important;
  grid-template-columns: 145px minmax(0, 1fr);
  align-items: center;
  gap: 25px;
  width: 100%;
  box-sizing: border-box;
  padding: 20px;
  margin: 0 0 18px;
  border: 1px solid rgba(52, 51, 47, 0.22);
  background: transparent;
}

.cz-press-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 145px;
  min-height: 75px;
}

.cz-press-logo img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 135px !important;
  max-height: 75px !important;
  object-fit: contain;
  margin: auto;
}

.cz-press-quote {
  min-width: 0;
  font-size: 15px;
  line-height: 1.65;
}

.cz-press-source {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  font-size: 14px;
  color: #963F2E;
}

/* MOBILE */

@media (max-width: 600px) {
  .cz-press {
    padding: 15px 8px;
  }

  .cz-press-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .cz-press-logo {
    width: 100%;
    min-height: 55px;
  }

  .cz-press-logo img {
    max-width: 150px !important;
    max-height: 65px !important;
  }

  .cz-press-quote {
    font-size: 14px;
  }
}

/* =================================
   MARY ZOO - PRESS PAGE
================================= */

.cz-press {
  font-family: inherit;
  background: #171319;
  color: #f4ece8;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 35px 20px 50px;
  box-sizing: border-box;
}

.cz-press h1 {
  font-family: inherit;
  color: #d0aab4;
  font-weight: normal;
}

.cz-press-intro {
  font-family: inherit;
  color: #d8cdd2;
}

.cz-press-item {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  background: transparent;
  border-color: rgba(216, 205, 210, 0.25);
}

.cz-press-quote {
  font-family: inherit;
  color: #f4ece8;
}

.cz-press-source {
  font-family: inherit;
  color: #d0aab4;
}

@media (max-width: 600px) {
  .cz-press {
    padding: 25px 12px 40px;
  }
}

/* MARY ZOO PRESS PAGE - FULL WIDTH BACKGROUND */

body:has(.cz-press),
body:has(.cz-press) #wrapper,
body:has(.cz-press) .site-grid,
body:has(.cz-press) main,
body:has(.cz-press) .container-component,
body:has(.cz-press) .com-content,
body:has(.cz-press) .com-content-article,
body:has(.cz-press) .item-page {
    background-color: #171319 !important;
}

/* PRESS CONTENT */
.cz-press {
    background: transparent !important;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

/* KEEP THE REVIEW BLOCKS */
.cz-press-item {
    background: transparent !important;
}


/* =========================================
   MARY ZOO - MOBILE HAMBURGER MENU
========================================= */

@media (max-width: 767px) {

    header.container-header .maryzoo-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        color: inherit !important;
        font-size: 30px;
        cursor: pointer;
        padding: 5px 10px;
        line-height: 1;
        position: relative;
        z-index: 100001;
    }

    /* HIDE MENU BY DEFAULT */

    header.container-header ul.maryzoo-nav {
        display: none !important;
    }

    /* SHOW MENU WHEN HAMBURGER IS CLICKED */

    header.container-header ul.maryzoo-nav.maryzoo-menu-open {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: flex-start !important;
        gap: 0 !important;
        position: absolute !important;
        top: 100% !important;
        right: 0 !important;
        width: 220px !important;
        padding: 12px 18px !important;
        background: #171319 !important;
        border: 1px solid rgba(255,255,255,0.25) !important;
        z-index: 100000 !important;
    }

    header.container-header ul.maryzoo-nav.maryzoo-menu-open a {
        display: block !important;
        width: 100%;
        padding: 12px 5px !important;
    }
}

/* HIDE HAMBURGER ON DESKTOP */

@media (min-width: 768px) {
    header.container-header .maryzoo-menu-toggle {
        display: none !important;
    }
}


/* =========================================
   MARY ZOO - FORCE MOBILE HAMBURGER MENU
========================================= */

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

    header.container-header #mod-menu1 {
        display: none !important;
    }

    header.container-header #mod-menu1.maryzoo-menu-open {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        width: 220px !important;
        position: absolute !important;
        top: 100% !important;
        right: 0 !important;
        z-index: 100000 !important;
    }

}
/* ========================================
   MARY ZOO — SEARCH RESULTS PAGE
======================================== */

body.com_finder,
body.com_finder #wrapper,
body.com_finder .site-grid,
body.com_finder main,
body.com_finder .container-component,
body.com_finder .com-finder,
body.com_finder .com-finder__results {
    background-color: #171319 !important;
    background-image: none !important;
    color: #f4ece8 !important;
}

body.com_finder .container-header {
    background: #171319 !important;
}

body.com_finder h1,
body.com_finder h2,
body.com_finder h3,
body.com_finder p,
body.com_finder label,
body.com_finder li,
body.com_finder .result__title {
    color: #f4ece8 !important;
}

body.com_finder a {
    color: #d6a9b8 !important;
}

body.com_finder a:hover {
    color: #e9a2b7 !important;
}
/* ========================================
   MARY ZOO — SEARCH RESULTS PURPLE BOX
======================================== */

body.com_finder .com-finder {
    background: rgba(23, 19, 25, 0.92) !important;
    color: #f4ece8 !important;
    padding: 30px !important;
    border-radius: 8px;
    box-sizing: border-box;
}

body.com_finder .com-finder h1,
body.com_finder .com-finder h2,
body.com_finder .com-finder h3,
body.com_finder .com-finder p,
body.com_finder .com-finder label,
body.com_finder .com-finder li {
    color: #f4ece8 !important;
}

body.com_finder .com-finder a {
    color: #d6a9b8 !important;
}

body.com_finder .com-finder a:hover {
    color: #e9a2b7 !important;
}
/* ========================================
   MARY ZOO — SEARCH RESULTS PURPLE PANEL
======================================== */

.com-finder.finder {
    max-width: 1100px !important;
    margin: 35px auto !important;
    padding: 35px !important;
    background: #211b23 !important;
    border: 1px solid #493b48 !important;
    border-radius: 7px !important;
    box-sizing: border-box !important;
    color: #f4ece8 !important;
}

/* Search text */
.com-finder.finder h1,
.com-finder.finder h2,
.com-finder.finder p,
.com-finder.finder label,
.com-finder.finder li,
.com-finder.finder time {
    color: #f4ece8 !important;
}

/* Result titles and links */
.com-finder.finder a {
    color: #d6a9b8 !important;
}

.com-finder.finder a:hover {
    color: #e9a2b7 !important;
}

/* Separate individual results */
.com-finder.finder .result__item {
    border-bottom: 1px solid rgba(208, 170, 180, 0.25);
    padding: 18px 0;
}

/* Search field */
.com-finder.finder input[type="text"] {
    background: #f4ece8 !important;
    color: #171319 !important;
}
