/* Christine Zufferey — warm editorial design */

/* Colour palette */
:root {
  --cz-ivory: #F3EEE5;
  --cz-charcoal: #34332F;
  --cz-rust: #963F2E;
  --cz-olive: #8B9270;
  --cz-white: #FBF9F5;
  --cz-content-width: 1120px;
}

/* Overall page */
body {
  background-color: var(--cz-ivory);
  color: var(--cz-charcoal);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.7;
}

/* Main content area */
.container-header,
.container-footer {
  background-color: var(--cz-ivory);
  background-image: none;
  color: var(--cz-charcoal);
}

.container-component {
  background-color: transparent;
  padding-top: 3rem;
  padding-bottom: 4rem;
}

/* Keep the main page centred */
.site-grid {
  max-width: var(--cz-content-width);
  margin-left: auto;
  margin-right: auto;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--cz-charcoal);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: normal;
  line-height: 1.25;
}

h1 {
  margin-bottom: 1.5rem;
}

h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

/* Article headings */
.com-content-article h1 {
  margin-bottom: 2rem;
}

.com-content-article h2 {
  margin-top: 3rem;
  margin-bottom: 1.25rem;
}

/* Paragraph readability */
.com-content-article p {
  max-width: 72ch;
  margin-bottom: 1.25rem;
}

/* Links */
a {
  color: var(--cz-rust);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover,
a:focus {
  color: var(--cz-charcoal);
}

/* Buttons */
.btn {
  border-radius: 2px;
  padding: 0.75rem 1.25rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background-color: var(--cz-rust);
  border-color: var(--cz-rust);
  color: var(--cz-white);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--cz-charcoal);
  border-color: var(--cz-charcoal);
  color: var(--cz-white);
}

/* Form fields */
.form-control,
.form-select {
  background-color: var(--cz-white);
  border-color: #D5CEC3;
  color: var(--cz-charcoal);
}

/* Images */
img {
  max-width: 100%;
  height: auto;
}

/* Justify text on the homepage only */
body.itemid-101 main p {
  text-align: justify !important;
}

/* Language switcher — larger, clear and elegant */
.mod-languages {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

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

.mod-languages li {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.mod-languages li + li {
  border-left: 1px solid #c9b8a6;
  margin-left: 16px;
  padding-left: 16px;
}

.mod-languages a,
.mod-languages a:link,
.mod-languages a:visited {
  color: #34332F !important;
  text-decoration: none !important;
  opacity: 1 !important;
  transition: color 0.2s ease;
}

.mod-languages a:hover,
.mod-languages a:focus,
.mod-languages .lang-active a {
  color: #963F2E !important;
}

.mod-languages .lang-active a {
  font-weight: bold;
}

/* Hide flags in the language switcher */
.mod-languages img {
  display: none !important;
}

/* Avoid oversized gaps on small screens */
@media (max-width: 767px) {
  .container-component {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
  }
}
/* Main navigation — Christine Zufferey */

.container-header .mod-menu a,
.container-header .mod-menu a:link,
.container-header .mod-menu a:visited {
  color: #34332F !important;
  text-decoration: none !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}

/* Navigation hover and active links */
.container-header .mod-menu a:hover,
.container-header .mod-menu a:focus,
.container-header .mod-menu .current > a {
  color: #963F2E !important;
}
/* Header search — magnifying glass */
.cz-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.cz-search-toggle span {
  display: block;
  width: 14px;
  height: 14px;
  border: 1.8px solid #34332F;
  border-radius: 50%;
  position: relative;
}

.cz-search-toggle span::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 1.8px;
  background: #34332F;
  right: -5px;
  bottom: -3px;
  transform: rotate(45deg);
  transform-origin: left center;
}

.cz-search-toggle:hover span {
  border-color: #963F2E;
}

.cz-search-toggle:hover span::after {
  background: #963F2E;
}

/* Hide search field until icon is clicked */
input.js-finder-search-query {
  display: none !important;
}

form.cz-search-open input.js-finder-search-query {
  display: block !important;
  width: 180px;
  margin-right: 6px;
}
/* Mobile navigation: horizontal rows */
@media (max-width: 767px) {
  .container-header .container-nav ul.mod-menu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px 16px !important;
  }

  .container-header .container-nav ul.mod-menu > li {
    display: block !important;
    width: auto !important;
  }
}
/* ========================================
   CHRISTINE ZUFFEREY — STICKY NAVIGATION
======================================== */

/* Desktop: only the navigation bar stays fixed */
@media (min-width: 768px) {
  .container-header {
    position: relative !important;
    width: 100% !important;
    z-index: 99999 !important;
  }

  .container-header .container-nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    background-color: #F3EEE5 !important;
    padding: 12px 25px !important;
  }

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

/* Mobile: natural scrolling header */
@media (max-width: 767px) {
  .container-header {
    position: relative !important;
    top: auto !important;
    z-index: 10 !important;
    width: 100% !important;
  }
}
/* Christine Zufferey — independent fixed logo */
#mod-custom114 {
  position: absolute !important;
  top: 10px !important;
  left: 30px !important;
  z-index: 1000000 !important;
  width: 130px !important;
  margin: 0 !important;
  padding: 0 !important;
}

#mod-custom114 img {
  display: block !important;
  width: 130px !important;
  height: 130px !important;
  max-width: none !important;
  object-fit: contain;
}

#mod-custom114 p {
  margin: 0 !important;
  padding: 0 !important;
}
/* Mobile: logo scrolls with the page */
@media (max-width: 767px) {
  #mod-custom114 {
    position: absolute !important;
  }
}
/* Desktop header — compact navigation layout */
@media (min-width: 768px) {
  .container-header .container-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 18px !important;
  }

  .container-header .container-nav > ul.mod-menu {
    flex: 0 0 auto !important;
    width: auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    margin: 0 !important;
  }

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

  .container-header .mod-languages {
    flex: 0 0 auto !important;
    margin: 0 !important;
  }
}
/* Mobile: logo scrolls with the page */
@media (max-width: 767px) {
  #mod-custom114 {
    position: absolute !important;
    left: 15px !important;
    top: 10px !important;
    width: 110px !important;
  }

  #mod-custom114 img {
    width: 170px !important;
    height: 170px !important;
  }
}
/* Mobile: hide the separate logo */
@media (max-width: 767px) {
  #mod-custom114 {
    display: none !important;
  }
}
/* Desktop — let the logo scroll away */
@media (min-width: 768px) {
  #mod-custom114 {
    position: absolute !important;
    top: 28px !important;
    left: 100px !important;
    z-index: 10 !important;
  }
}