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

/* Main page background and text */
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;
}

/* Header */
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);
}

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

/* Opening page content */
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;
}

/* Elegant headings */
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;
}

/* Paragraphs and links */
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;
}

/* Language switcher */
.mod-languages,
.mod-languages ul,
.mod-languages li {
  background: transparent !important;
  background-color: transparent !important;
}

.mod-languages {
  padding: 0.25rem 0.5rem;
}

.mod-languages ul {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mod-languages a,
.mod-languages .lang-active a {
  display: inline-block;
  padding: 0.35rem 0.1rem;
  color: #e2bdc8 !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid #d0aab4 !important;
  text-decoration: none !important;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  transition: color 0.2s ease, border-color 0.2s ease;
}

/* 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;
  }
}

/* Mary Zoo intro — responsive destination cards */
@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 Contact: 105
   French Contact: 106
======================================== */

/* Dark atmospheric page background */
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;
}

/* Keep page containers transparent */
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;
}

/* Contact page header */
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);
}

/* Contact page spacing */
body.itemid-105 .container-component,
body.itemid-106 .container-component {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

/* Contact page headings */
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;
}

/* Contact page paragraphs */
body.itemid-105 .com-content-article p,
body.itemid-106 .com-content-article p {
  color: #d8cdd2;
}

/* Contact page links */
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;
}