/* Site map: visual, searchable hub (SiteMap.aspx + assets/js/page-sitemap.js). Scoped to .sm-page; logical properties keep RTL and LTR on one set of rules.
   Each group has its own colour band, big icon and icon-led rows, so the structure reads at a glance. */
.sm-page { --sm-teal:#287882; --sm-teal-d:#1e626b; --sm-teal-l:#eef7f8; --sm-orange:#ec874b; --sm-ink:#16323f; --sm-text:#2f4a55; --sm-mut:#586d75; --sm-line:#dce6e8; --sm-bg:#f5f5f5; --sm-shadow:0 1px 3px rgba(0,0,0,.1),0 1px 2px rgba(0,0,0,.06); --sm-focus:#f5833d;
  background:var(--sm-bg); color:var(--sm-ink); padding:18px 0 6px; font-size:15px; line-height:1.5; }
.sm-page *, .sm-page *::before, .sm-page *::after { box-sizing:border-box; }
.sm-page a { text-decoration:none; color:inherit; }
.sm-page h1, .sm-page h2, .sm-page h3, .sm-page p, .sm-page ul, .sm-page dl, .sm-page dd, .sm-page dt { margin:0; padding:0; }
.sm-page ul { list-style:none; }
.sm-page [hidden] { display:none !important; }
.sm-page a:focus-visible, .sm-page button:focus-visible, .sm-page summary:focus-visible, .sm-page input:focus-visible { outline:2px solid var(--sm-focus); outline-offset:2px; }
.sm-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

/* top panel */
.sm-hero { display:flex; align-items:center; justify-content:space-between; gap:24px; background:#fff; border:1px solid var(--sm-line); border-radius:12px; padding:18px 22px; box-shadow:var(--sm-shadow); }
.sm-hero__main { flex:1; min-width:0; }
.sm-hero h1 { font-size:22px; line-height:1.3; font-weight:800; letter-spacing:-.2px; }
.sm-hero h1::after { content:""; display:block; width:36px; height:3px; margin-top:7px; border-radius:2px; background:var(--sm-orange); }
.sm-hero p { margin-top:6px; font-size:14px; color:var(--sm-mut); }
.sm-search { position:relative; display:flex; align-items:center; margin-top:12px; max-width:640px; background:#fff; border:2px solid #b9cfd5; border-radius:12px; transition:border-color .15s, box-shadow .15s; }
.sm-search:focus-within { border-color:var(--sm-teal); box-shadow:0 0 0 4px #28788220; }
.sm-search input { flex:1; min-width:0; height:48px; border:0; outline:0 !important; background:transparent; font:inherit; font-size:15.5px; color:var(--sm-ink); padding-inline:46px 72px; border-radius:12px; }
.sm-search input::-webkit-search-cancel-button { display:none; }
.sm-search__ico { position:absolute; inset-inline-start:16px; color:var(--sm-teal); pointer-events:none; font-size:15px; }
.sm-search__clear { position:absolute; inset-inline-end:42px; width:28px; height:28px; border:0; border-radius:50%; background:#edf3f4; color:#586d75; cursor:pointer; }
.sm-search__clear:hover { background:#dce8ea; }
.sm-kbd { position:absolute; inset-inline-end:12px; font:600 12px/1 Arial,sans-serif; color:#5f757d; background:#f1f6f7; border:1px solid #d5e1e4; border-radius:6px; padding:5px 8px; }
.sm-search:focus-within .sm-kbd { opacity:0; }
.sm-status { margin-top:6px; font-size:13px; font-weight:700; color:var(--sm-teal-d); }
.sm-status:empty { display:none; }
.sm-stats { flex:none; display:flex; border:1px solid var(--sm-line); border-radius:12px; background:#f8fbfb; }
.sm-stats > div { display:flex; flex-direction:column-reverse; align-items:center; padding:9px 20px; }
.sm-stats > div + div { border-inline-start:1px solid var(--sm-line); }
.sm-stats dd { font-size:24px; font-weight:800; line-height:1.1; color:var(--sm-teal); }
.sm-stats dt { font-size:12px; color:var(--sm-mut); font-weight:700; white-space:nowrap; }

/* section navigation: coloured pills, sticky under the site header */
.sm-chips { position:sticky; top:var(--tg-topbar-offset, 0px); z-index:30; display:flex; gap:8px; overflow-x:auto; scrollbar-width:none; padding:12px 2px; margin-top:6px; background:var(--sm-bg); border-bottom:1px solid transparent; }
.sm-chips::-webkit-scrollbar { display:none; }
.sm-chips.is-stuck { border-bottom-color:var(--sm-line); box-shadow:0 8px 14px -14px #16323f77; }
.sm-chip { flex:none; display:inline-flex; align-items:center; gap:8px; height:38px; padding-inline:14px; border:1px solid var(--sm-line); border-radius:999px; background:#fff; color:var(--sm-text); font:700 13.5px/1 inherit; font-family:inherit; cursor:pointer; white-space:nowrap; transition:background .15s,color .15s,border-color .15s; }
.sm-chip i { color:var(--sm-teal); font-size:13px; }
.sm-chip:hover { border-color:var(--sm-teal); color:var(--sm-teal-d); }
.sm-chip.is-on { background:var(--sm-teal); border-color:var(--sm-teal); color:#fff; }
.sm-chip.is-on i { color:#fff; }
.sm-suggest .sm-chip { padding-inline:14px; }
.sm-legend { display:flex; flex-wrap:wrap; gap:4px 18px; font-size:13px; color:var(--sm-mut); margin:4px 2px 12px; }
.sm-legend i { color:var(--sm-teal); margin-inline-end:5px; }

/* cards: columns flow without gaps; heights follow the content */
.sm-cols { columns:3; column-gap:18px; }
.sm-cols > .sm-sec { break-inside:avoid; margin-bottom:18px; }
@media (min-width:1101px) {
  .sm-cols > .sm-sec--account, .sm-cols > .sm-sec--help { break-after:column; }
  .sm-page.is-filtering .sm-cols > .sm-sec { break-after:auto; }
}
.sm-sec { --acc:#287882; --acc-l:#eef7f8; background:#fff; border:1px solid var(--sm-line); border-radius:12px; overflow:hidden; box-shadow:var(--sm-shadow); scroll-margin-top:calc(var(--tg-topbar-offset, 0px) + 60px); }
.sm-sec__head { display:flex; align-items:center; gap:12px; padding:14px 16px; background:#f6fafb; border-bottom:1px solid var(--sm-line); border-top:3px solid var(--sm-teal); }
.sm-ico { flex:none; width:42px; height:42px; display:grid; place-items:center; border-radius:11px; background:var(--sm-teal); color:#fff; font-size:18px; }
.sm-sec__txt { flex:1; min-width:0; }
.sm-sec__head h2 { font-size:17px; font-weight:800; line-height:1.3; color:var(--sm-ink); }
.sm-sec__head p { font-size:12.5px; color:var(--sm-mut); margin-top:2px; line-height:1.4; }
.sm-count { flex:none; min-width:28px; height:26px; padding:0 9px; display:grid; place-items:center; border-radius:999px; background:#fff; border:1px solid #cfe3e6; color:var(--sm-teal-d); font:700 13px/1 Arial,sans-serif; }

/* link rows: icon, strong title, soft description, arrow; the whole row is the link */
.sm-links { display:flex; flex-direction:column; padding:4px 10px 8px; }
.sm-link + .sm-link { border-top:1px solid #eff3f4; }
.sm-link > a { display:flex; align-items:center; gap:12px; min-height:56px; padding:8px 8px; border-radius:10px; transition:background .12s; }
.sm-link > a:hover { background:var(--acc-l); }
.sm-link__ico { flex:none; width:36px; height:36px; display:grid; place-items:center; border-radius:10px; background:var(--acc-l); color:var(--acc); font-size:15px; transition:background .12s, color .12s; }
.sm-link > a:hover .sm-link__ico { background:var(--acc); color:#fff; }
.sm-link__main { flex:1; min-width:0; display:flex; flex-direction:column; }
.sm-link__t { font-size:15.5px; font-weight:700; line-height:1.35; color:var(--sm-ink); }
.sm-link__d { font-size:13px; line-height:1.4; color:var(--sm-mut); margin-top:1px; }
.sm-link__meta { flex:none; display:inline-flex; align-items:center; gap:8px; }
.sm-go { width:14px; text-align:center; font-size:12px; color:#8fa3aa; transition:transform .12s, color .12s; }
[dir=rtl] .sm-page .sm-go.fa-chevron-right { transform:scaleX(-1); }
.sm-link > a:hover .sm-go { color:var(--acc); transform:translateX(3px); }
[dir=rtl] .sm-link > a:hover .sm-go.fa-chevron-right { transform:scaleX(-1) translateX(3px); }
.sm-badge { display:inline-grid; place-items:center; height:22px; min-width:22px; padding:0 8px; border-radius:999px; font:700 11.5px/1 inherit; font-family:inherit; }
.sm-badge--lock { background:#eaf0f2; color:#4f656d; font-size:11px; padding:0; width:22px; }
.sm-badge--new { background:#fdeadb; color:#b5530f; }

/* countries: compact chips */
.sm-countries { display:flex; flex-wrap:wrap; gap:10px; padding:14px 16px 16px; }
.sm-country { display:inline-flex; align-items:center; gap:10px; height:42px; padding-inline:7px 16px; border:1px solid var(--sm-line); border-radius:999px; background:#fff; font-weight:700; font-size:14.5px; color:var(--sm-text); transition:border-color .12s, background .12s, color .12s; }
.sm-country img { width:28px; height:28px; border-radius:50%; object-fit:cover; flex:none; box-shadow:0 0 0 1px #e1e8ea; }
.sm-country:hover { border-color:var(--acc); background:var(--acc-l); color:var(--sm-ink); }

/* categories: main ones first, the rest behind Show all */
.sm-sec--wide { margin-bottom:18px; }
.sm-cats { columns:3; column-gap:12px; padding:14px 16px 6px; }
.sm-more { display:grid; grid-template-rows:0fr; transition:grid-template-rows .28s ease; }
.sm-more__inner { overflow:hidden; min-height:0; }
.sm-more[data-open="1"], .sm-page.is-searching .sm-more { grid-template-rows:1fr; }
.sm-more:not([data-open="1"]) .sm-more__inner { visibility:hidden; }
.sm-page.is-searching .sm-more .sm-more__inner { visibility:visible; }
.sm-more .sm-cats { padding-top:0; }
.sm-cat { break-inside:avoid; margin-bottom:8px; border:1px solid var(--sm-line); border-radius:10px; background:#fff; overflow:hidden; }
.sm-cat[open] { border-color:#b9d6da; }
.sm-cat > summary { display:flex; align-items:center; gap:8px; min-height:44px; padding:6px 12px; cursor:pointer; list-style:none; font-weight:700; font-size:14.5px; color:var(--sm-ink); }
.sm-cat > summary::-webkit-details-marker { display:none; }
.sm-cat > summary:hover, .sm-cat[open] > summary { background:var(--acc-l); }
.sm-cat__name { flex:1; min-width:0; }
.sm-cat__n { flex:none; min-width:24px; height:22px; padding:0 7px; display:grid; place-items:center; border-radius:999px; background:var(--acc); color:#fff; font:700 12px/1 Arial,sans-serif; }
.sm-cat__chev { flex:none; font-size:11px; color:#6f858c; transition:transform .18s; }
.sm-cat[open] .sm-cat__chev { transform:rotate(180deg); }
.sm-cat__body { padding:8px 12px 10px; }
.sm-cat__all { display:flex; align-items:center; justify-content:space-between; gap:8px; margin:0 0 6px; padding:8px 10px; border-radius:8px; background:var(--acc-l); color:var(--sm-teal-d); font-weight:700; font-size:13.5px; }
.sm-cat__all:hover { background:#d9eef0; }
[dir=rtl] .sm-cat__all .fa-chevron-right { transform:scaleX(-1); }
.sm-cat ul { display:flex; flex-direction:column; gap:1px; border-inline-start:3px solid #cfe3e6; padding-inline-start:8px; }
.sm-sub a { display:block; padding:6px 7px; border-radius:6px; font-size:14px; color:var(--sm-text); }
.sm-sub a:hover { background:var(--acc-l); color:var(--sm-teal-d); }
.sm-morebar { display:flex; justify-content:center; padding:6px 0 16px; }
.sm-tool { display:inline-flex; align-items:center; gap:8px; min-height:40px; padding:0 18px; border:1px solid #b9d6da; border-radius:10px; background:#fff; color:var(--sm-teal-d); font:700 14px/1 inherit; font-family:inherit; cursor:pointer; transition:background .12s,border-color .12s; }
.sm-tool:hover { background:var(--sm-teal-l); border-color:var(--sm-teal); }
.sm-tool i { font-size:12px; transition:transform .2s; }
.sm-tool[aria-expanded="true"] i { transform:rotate(180deg); }
.sm-tool__n { font:700 12px/1 Arial,sans-serif; background:var(--sm-teal); color:#fff; border-radius:999px; padding:4px 8px; }

/* search states */
.sm-link.is-off, .sm-sub.is-off, .sm-country.is-off, .sm-cat.is-off, .sm-sec.is-off { display:none !important; }
mark.sm-hit { background:#ffe58a; color:inherit; border-radius:3px; padding:0 2px; }
.sm-empty { text-align:center; padding:36px 18px; margin-bottom:18px; background:#fff; border:1px solid var(--sm-line); border-radius:12px; box-shadow:var(--sm-shadow); }
.sm-empty > i { font-size:28px; color:#7f9aa2; }
.sm-empty h3 { font-size:18px; font-weight:800; margin:8px 0 2px; }
.sm-empty p { color:var(--sm-mut); margin-bottom:10px; }
.sm-suggest { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-bottom:14px; }

/* tablet / mobile */
@media (max-width:1100px) { .sm-cols { columns:2; } .sm-cats { columns:2; } }
@media (max-width:800px) {
  .sm-hero { flex-direction:column; align-items:stretch; gap:12px; padding:14px; }
  .sm-hero h1 { font-size:19px; }
  .sm-stats { align-self:stretch; }
  .sm-stats > div { flex:1; padding:7px 8px; }
  .sm-kbd { display:none; }
  .sm-search input { height:50px; padding-inline:44px 46px; }
  .sm-search__clear { inset-inline-end:8px; }
}
@media (max-width:700px) {
  .sm-page { padding-top:12px; }
  .sm-cols, .sm-cats { columns:1; }
  .sm-chips { margin-inline:-15px; padding-inline:15px; }
  .sm-chip { height:40px; }
  .sm-link > a { min-height:60px; }
  .sm-country { height:44px; }
  .sm-cat > summary { min-height:48px; }
}
@media (prefers-reduced-motion:reduce) { .sm-page * { transition:none !important; scroll-behavior:auto !important; } }
@media print { .sm-chips, .sm-search, .sm-kbd, .sm-legend, .sm-morebar { display:none !important; } .sm-more { grid-template-rows:1fr; } .sm-more__inner { visibility:visible; } .sm-sec__head { background:#fff; } }
