
/* WYNEATLAS — shared stylesheet */

    :root {
      --wyne-green: #6D7A52;
      --wyne-dark: #293D2C;
      --wyne-grey: #707070;
      --wyne-border: #e6e6e6;
      --wyne-cream: #FFFCF5;
    }

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    font-family: Arial, sans-serif;
    background: #F5F2E9;
    color: #293D2C;
}

/* Header */

.atlas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 30px;
    background: white;
}

.atlas-header a {
    color: #6D7A52;
    text-decoration: none;
    margin-right: 20px;
}

/* Introduction */

.atlas-intro {
    text-align: center;
    padding: 25px 15px;
}

.atlas-intro h1 {
    font-family: Georgia, serif;
    font-size: 32px;
}

/* Pages */

.atlas-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 15px;
}

.atlas-pages {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.atlas-page {
    width: 100%;
    max-width: 794px;
    margin: 0;
    padding: 0;
}

.atlas-page img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* Buttons */

.atlas-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0;
}

.atlas-button {
    display: inline-block;
    padding: 12px 20px;
    background: #6D7A52;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.atlas-button-secondary {
    background: #293D2C;
}

/* Mobile */

@media (max-width: 800px) {
    .atlas-header {
        flex-direction: column;
        gap: 12px;
    }

    .atlas-container {
        padding: 8px;
    }

    .atlas-page {
        max-width: 100%;
    }
}

/* Print */

@media print {
    @page {
        size: A4 portrait;
        margin: 0;
    }

    .atlas-header,
    .atlas-intro,
    .atlas-actions {
        display: none !important;
    }

    .atlas-container {
        padding: 0;
        margin: 0;
        max-width: none;
    }

    .atlas-pages {
        display: block;
    }

    .atlas-page {
        width: 210mm;
        height: 297mm;
        max-width: none;
        margin: 0;
        overflow: hidden;
        break-after: page;
    }

    .atlas-page:last-child {
        break-after: auto;
    }

    .atlas-page img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

/* Shared WyneAtlas components — authoritative country-page implementations */

    .atlas-logo {
      margin: 0;
      font-size: clamp(38px, 6vw, 58px);
      font-weight: 400;
      letter-spacing: -1px;
      line-height: 1.2;
    }

    .atlas-logo strong {
      color: var(--wyne-green);
      font-weight: 700;
    }

    .atlas-logo span {
      color: #000;
    }

    .atlas-breadcrumb {
    width: 100%;
    margin: 0;
    padding: 8px 25px 0;
    text-align: right;
    font-size: 13px;
    color: var(--wyne-grey);
    }

    .atlas-breadcrumb a {
    color: var(--wyne-green);
    }

    .atlas-breadcrumb span {
    margin: 0 8px;
    }

    .atlas-breadcrumb span {
      margin: 0 8px;
    }

/* =====================================
   LANGUAGE SELECTOR — DESKTOP & MOBILE
   ===================================== */

.atlas-language-selector {
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
}

/* Current language button */

.atlas-language-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  width: 65px;
  height: 32px;
  padding: 4px;

  border: none;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.atlas-language-button img {
  display: block;
  width: 30px !important;
  height: 20px !important;
  max-width: 30px !important;
  max-height: 20px !important;
  object-fit: cover;
  flex-shrink: 0;
}

.atlas-language-arrow {
  font-size: 12px;
  color: #707070;
}

/* Dropdown container */

.atlas-language-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;

  display: flex;
  flex-direction: column;

  width: 175px;
  height: auto;
  max-height: 320px;
  overflow-y: auto;

  padding: 5px 0;
  margin: 0;

  background: white;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);

  z-index: 201;
}

/* Hidden means hidden */

.atlas-language-menu[hidden] {
  display: none !important;
}

/* Individual language entries */

.atlas-language-menu button {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;

  width: 100%;
  min-height: 34px;
  padding: 6px 10px;
  margin: 0;

  border: none;
  border-radius: 0;
  background: white;

  color: #333;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: normal;
  line-height: 20px;
  text-align: left;
  white-space: nowrap;

  cursor: pointer;
}

/* Every dropdown flag */

.atlas-language-menu button img {
  display: block;

  width: 30px !important;
  height: 20px !important;
  min-width: 30px;
  min-height: 20px;
  max-width: 30px !important;
  max-height: 20px !important;

  object-fit: cover;
  flex: 0 0 30px;
}

/* Hover */

.atlas-language-menu button:hover {
  background: #f5f5f5;
}

/* Mobile positioning */

@media (max-width: 768px) {
  .atlas-language-selector {
    left: 10px;
  }
}    

    /* =====================================
       FOOTER
       ===================================== */

    .atlas-footer {
      min-height: 210px;
      padding: 24px 20px 16px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: #fff;
      background: linear-gradient(rgba(0,0,0,.35),rgba(0,0,0,.58)), url('/atlas/assets/img/wynelover-footer.png') center 25% / cover no-repeat;
    }

    .atlas-footer-brand { font-size: clamp(30px, 4vw, 38px); line-height: 1.1; font-weight: 400; }
    .atlas-footer-brand strong { color: var(--wyne-green); font-weight: 700; }
    .atlas-footer-brand span { color: #fff; }
    .atlas-footer a { margin-top: 7px; color: #fff; font-size: 14px; font-weight: 600; }
    .atlas-footer p { margin: 7px 0 0; color: #fff; font-size: 13px; }
    .atlas-footer small { margin-top: 24px; color: #fff; font-size: 11px; }
