/*
 * article-nav.css — navbar for article/section pages.
 * Rules copied VERBATIM from css/style@r_1743928094.css (the homepage
 * stylesheet) so the navbar is identical to the homepage one. Only the
 * header-scoped rules were taken; the full homepage stylesheet is NOT
 * linked here because its global resets would alter article typography.
 * Extracted by _builder/retrofit_nav.py — edit the homepage stylesheet
 * first, then re-extract, so the two never drift apart.
 */

/* ---------- buttons (header uses .button base) ---------- */
.button {
  display: inline-block; cursor: pointer; text-align: center;
  border: 0; background: none; font-family: inherit;
}

/* ---------- icon substitutes (original icon font lost) ---------- */
.icon-menu1::before  { content: "\2261"; font-style: normal; }  /* ≡ */
.icon-arrow5::before { content: "\25BE"; font-style: normal; }  /* ▾ */
.icon-inmap1::before { content: "\25C6"; font-style: normal; color: #b98d2f; } /* ◆ */
.icon-bell::before   { content: "BOOK NOW"; font-style: normal; }

/* ---------- header-scoped equivalent of the homepage global resets ----------
   The homepage stylesheet resets everything (* { margin:0; padding:0;
   box-sizing:border-box }, ul { list-style:none }, a { text-decoration:none }).
   Those globals are deliberately not copied (they would change article
   typography), so they are re-applied here inside the header only.
   :where() keeps specificity at zero, so the component rules above override
   them exactly as they do on the homepage. */
.header__wrapper :where(*) { margin: 0; padding: 0; box-sizing: border-box; }
.header__wrapper :where(ul) { list-style: none; }
.header__wrapper :where(a) { text-decoration: none; }

/* ---------- header ---------- */
.header__wrapper { position: relative; z-index: 50; }
.header { position: relative; width: 100%; }

.header__container_base { background: #17181c; }
.header__container_base .header__content {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  min-height: 42px; display: flex; align-items: center; justify-content: space-between;
}
.address { font-size: 12.5px; }
.address_header .address__link { color: #d7d9de; }
.address__icon { margin-right: 7px; font-size: 11px; }

/* language switcher */
.lang { position: relative; }
.button_lang {
  color: #d7d9de; font-size: 12.5px; display: flex; align-items: center; gap: 7px;
  padding: 8px 2px;
}
.lang__icon_arrow { font-size: 10px; }
.lang__columns { display: none; position: absolute; right: 0; top: 100%;
  background: #fff; border-radius: 8px; box-shadow: 0 8px 26px rgba(0,0,0,.16);
  padding: 8px 0; min-width: 150px; z-index: 60; }
.lang__columns_open { display: block; }
.lang__item { padding: 4px 16px; }
.lang__link { display: flex; align-items: center; gap: 8px; color: #333;
  font-size: 13px; white-space: nowrap; }
.lang__item_current .lang__name { color: #b98d2f; }

/* simplified flag substitutes (original flag sprites lost) */
.lang__flag { width: 21px; height: 14px; display: inline-block;
  border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.15) inset; }
.lang__flag_en { background:
  linear-gradient(to right, transparent 42%, #C8102E 42% 58%, transparent 58%),
  linear-gradient(to bottom, transparent 38%, #C8102E 38% 62%, transparent 62%),
  linear-gradient(45deg, transparent 44%, #fff 44% 56%, transparent 56%),
  linear-gradient(-45deg, transparent 44%, #fff 44% 56%, transparent 56%),
  linear-gradient(#012169, #012169); }
.lang__flag_th { background: linear-gradient(to bottom,
  #a51931 0 16.7%, #f4f5f8 16.7% 33.3%, #2d2a4a 33.3% 66.7%,
  #f4f5f8 66.7% 83.3%, #a51931 83.3% 100%); }

/* main header row */
.header__container_overlay {
  background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.07);
}
.header__container_overlay {
  max-width: 1200px; margin: 0 auto; padding: 13px 20px;
  display: flex; align-items: center;
}
.header__container_overlay .logo { flex: 0 0 auto; }
.logo__image { height: 52px; width: auto; display: block; }
.header__menu { margin-left: auto; display: flex; align-items: center; }
.menu__list { display: flex; align-items: center; gap: 26px; }
.menu__link {
  font-size: 12.5px; font-weight: 600; letter-spacing: 1.1px;
  text-transform: uppercase; color: #22232a; padding: 8px 0; display: block;
}
.menu__link:hover { color: #b98d2f; }
.button_menu { display: none; margin-left: 18px; color: #22232a; }
.button_menu .icon-menu1 { font-size: 22px; vertical-align: middle; }
.button_menu .button__text { font-size: 11px; font-weight: 700;
  letter-spacing: 1px; margin-left: 6px; vertical-align: middle; }
.button_menu-booking {
  background: #b98d2f; color: #fff !important; border-radius: 6px;
  padding: 10px 18px; font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
  margin-left: 22px;
}
.button_menu-booking:hover { background: #97731f; }

/* ---------- responsive (header rules only) ---------- */
@media (max-width: 980px) {
  .menu__list { display: none; position: absolute; top: 100%; right: 12px;
    background: #fff; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.18);
    padding: 14px 22px; z-index: 70; }
  .menu__list .menu__item { margin: 6px 0; }
  body.nav-open .menu__list { display: block; }
  .button_menu { display: inline-block; }
}
@media (max-width: 640px) {
  .header__container_base .address__text { max-width: 220px; display: inline-block;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .button_menu-booking { display: none; }
}
