/* #########################################################
   PAGE: Sitemap (for visitors)  —  html.pg-sitemap
   ######################################################### */
/* =========================================================
   Travel Point – sitemap page: quick filter, section jump links, link columns
   Loaded after common.css + inner.css (hero, breadcrumbs).
   ========================================================= */

:where(.pg-sitemap) .smhero--plain{ margin-bottom: clamp(10px, 1.4vw, 24px); }
:where(.pg-sitemap) .smhero--plain::after{ display: none; }

/* Filter */
:where(.pg-sitemap) .smsearch{
  position: relative; display: flex; align-items: center; gap: 10px; max-width: 560px; margin-top: clamp(14px, 1.6vw, 26px); padding: 6px 8px 6px 46px;
  background: #fff; border: 1.5px solid #e2d6bb; border-radius: 40px; box-shadow: 0 10px 26px rgba(18, 48, 46, .08);
}
:where(.pg-sitemap) .smsearch > i{ position: absolute; left: 18px; color: var(--gold-2); }
:where(.pg-sitemap) .smsearch input{ flex: 1; min-width: 0; height: 40px; border: 0; outline: 0; background: transparent; font-family: var(--sans); font-size: 14.5px; color: var(--text); }
:where(.pg-sitemap) .smsearch:focus-within{ border-color: var(--gold); box-shadow: 0 0 0 4px rgba(211, 162, 74, .16); }
:where(.pg-sitemap) .smsearch__count{ flex: none; padding: 6px 12px; border-radius: 30px; background: #f6f1e6; font-size: 12px; font-weight: 600; color: var(--heading); white-space: nowrap; }

/* Content */
:where(.pg-sitemap) .smap{ background: linear-gradient(180deg, #fff 0%, #fbf8f2 100%); padding: clamp(14px, 1.6vw, 28px) 0 clamp(44px, 5vw, 90px); }
:where(.pg-sitemap) .smap__jump{ display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(20px, 2vw, 34px); }
:where(.pg-sitemap) .smap__jump a{
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 30px; font-size: 13px; font-weight: 500; color: #33403f;
  background: #fff; border: 1.5px solid var(--line);
}
:where(.pg-sitemap) .smap__jump a i{ color: var(--gold-2); }
:where(.pg-sitemap) .smap__jump a:hover{ border-color: var(--teal-800); background: var(--teal-800); color: #fff; }
:where(.pg-sitemap) .smap__jump a:hover i{ color: var(--gold-mid); }

:where(.pg-sitemap) .smap__row{ display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 0 clamp(16px, 1.8vw, 30px); align-items: start; }
:where(.pg-sitemap) .smsec{
  width: 100%; margin-bottom: clamp(16px, 1.8vw, 30px); padding: clamp(18px, 1.6vw, 26px);
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 10px 30px rgba(18, 48, 46, .05); scroll-margin-top: 100px;
}
/* packages / blog: one wide box, categories in columns */
:where(.pg-sitemap) .smsec--wide .smsec__groups{ columns: 4 230px; column-gap: clamp(18px, 2vw, 36px); }
:where(.pg-sitemap) .smsec--wide .smgrp{ break-inside: avoid; padding-bottom: 8px; }
/* one long list (main pages): the list itself flows in columns */
:where(.pg-sitemap) .smsec--single .smsec__groups{ columns: auto; }
:where(.pg-sitemap) .smsec--single .smlist{ display: block; columns: 4 210px; column-gap: clamp(18px, 2vw, 36px); }
:where(.pg-sitemap) .smsec--single .smlist li{ break-inside: avoid; }
:where(.pg-sitemap) .smsec[hidden], :where(.pg-sitemap) .smgrp[hidden], :where(.pg-sitemap) .smlist li[hidden]{ display: none; }
:where(.pg-sitemap) .smsec__title{ display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: clamp(19px, 1.45vw, 23px); color: var(--heading); padding-bottom: 12px; margin-bottom: 6px; border-bottom: 2px solid #f1e7d1; }
:where(.pg-sitemap) .smsec__title a:hover{ color: var(--gold-2); }
:where(.pg-sitemap) .smsec__title small{ margin-left: auto; padding: 2px 10px; border-radius: 20px; background: #f6f1e6; font-family: var(--sans); font-size: 12px; font-weight: 600; color: var(--heading); }
:where(.pg-sitemap) .smsec__ic{ flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--teal-800); color: var(--gold-mid); font-size: 15px; }

:where(.pg-sitemap) .smgrp{ padding-top: 12px; }
:where(.pg-sitemap) .smap__row .smgrp + .smgrp{ margin-top: 4px; border-top: 1px dashed var(--line); }
:where(.pg-sitemap) .smgrp__title{ display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #a8722a; }
:where(.pg-sitemap) .smgrp__title a:hover{ color: var(--teal-700); }

:where(.pg-sitemap) .smlist{ display: grid; gap: 2px; }
:where(.pg-sitemap) .smlist a{ position: relative; display: block; padding: 6px 8px 6px 22px; border-radius: 8px; font-size: 14px; line-height: 1.4; color: #2b3737; }
:where(.pg-sitemap) .smlist a::before{ content: ""; position: absolute; left: 8px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--gold); }
:where(.pg-sitemap) .smlist a:hover{ background: #fbf7ef; color: var(--teal-800); }

:where(.pg-sitemap) .smap__none{ text-align: center; padding: 30px 0; color: var(--muted); }
:where(.pg-sitemap) .smap__none button{ margin-left: 6px; border: 0; background: none; color: var(--teal-700); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
:where(.pg-sitemap) .smap__xml{ margin-top: 10px; text-align: center; font-size: 13px; color: #7c8786; }
:where(.pg-sitemap) .smap__xml a{ color: var(--teal-700); font-weight: 600; }

@media (max-width: 1100px){ :where(.pg-sitemap) .smsec{ scroll-margin-top: calc(var(--appbar-h) + 16px); } }
@media (max-width: 560px){
  :where(.pg-sitemap) .smsearch{ padding-left: 40px; }
  :where(.pg-sitemap) .smsearch > i{ left: 15px; }
  :where(.pg-sitemap) .smsearch__count{ display: none; }
  :where(.pg-sitemap) .smsec{ border-radius: 14px; }
}
