/* ===== «Сайт картасы» (page-sitemap.php, inc/sitemap.php) ===== */
.smap { padding: 34px 0 64px; font-family: Merriweather, Georgia, serif; color: #0A1628; }
.smap * { box-sizing: border-box; }
.smap [hidden] { display: none !important; }
.smap ul { list-style: none; margin: 0; padding: 0; }
.smap a { color: #0A1628; text-decoration: none; }
.smap a:hover { color: #0052A5; text-decoration: underline; text-underline-offset: 3px; }

/* Іздеу жолағы */
.smap-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 30px; padding: 16px; border: 1px solid #e3ebf6; border-radius: 16px; background: #F8FBFF; }
.smap-search { position: relative; flex: 1 1 320px; margin: 0; }
.smap-search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: #5a6a80; pointer-events: none; }
.smap-search input { width: 100%; height: 46px; margin: 0; padding: 0 14px 0 42px; border: 1px solid #cfdcec; border-radius: 10px; background: #fff; font: 14px Merriweather, Georgia, serif; color: #0A1628; }
.smap-search input:focus { outline: none; border-color: #0052A5; box-shadow: 0 0 0 3px rgba(0,82,165,.15); }
.smap-count { font-size: 13px; color: #5a6a80; }
.smap-count b { color: #0052A5; font-size: 15px; }

/* Бөлім тақырыптары */
.smap-h { display: flex; align-items: baseline; gap: 10px; margin: 0 0 16px !important; font-size: 22px !important; font-weight: 700; line-height: 1.3; color: #0A1628; }
.smap-h small { font-size: 12px; font-weight: 700; color: #0052A5; background: #EEF5FF; padding: 3px 9px; border-radius: 50px; }
.smap-sec { margin-bottom: 18px; padding: 20px 22px 22px; border: 1px solid #e3ebf6; border-radius: 16px; background: #fff; }
.smap-sec__title { display: flex; align-items: center; gap: 12px; margin: 0 0 16px !important; font-size: 18px !important; font-weight: 700; line-height: 1.3; color: #0A1628; }
.smap-sec__ico { flex: 0 0 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: #EEF5FF; color: #0052A5; }
.smap-sec__ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Топтар */
.smap-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.smap-g { padding: 14px 16px; border-radius: 12px; background: #F8FBFF; border: 1px solid #eef2f7; }
.smap-g h4, .smap-l h4 { margin: 0 0 8px !important; font-size: 14px !important; font-weight: 700; line-height: 1.35; color: #0052A5; }
.smap-g h4 a { color: #0052A5; }
/* Сілтемелер тізімі — сайттың өз шрифті (Merriweather, .smap-тен), 12px */
.smap-g li, .smap-l li { position: relative; padding: 4px 0 4px 14px; font-size: 12px; line-height: 1.5; }
.smap-g li::before, .smap-l li::before { content: ""; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: #F5C46B; }
.smap-ext { display: inline-block; width: 12px; height: 12px; margin-left: 4px; vertical-align: -1px; color: #5a6a80; }

/* Басқа беттер: әріптер */
.smap-sec--az { margin-top: 34px; }
.smap-letters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid #eef2f7; }
.smap-letters a { min-width: 32px; height: 32px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #cfdcec; border-radius: 8px; background: #fff; font: 700 13px Merriweather, Georgia, serif; color: #0052A5; }
.smap-letters a:hover { background: #0052A5; border-color: #0052A5; color: #fff; text-decoration: none; }
.smap-az { columns: 3 260px; column-gap: 28px; }
.smap-l { break-inside: avoid; margin-bottom: 18px; scroll-margin-top: 140px; }
.smap-l h4 { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 8px; background: #EEF5FF; font-size: 15px !important; }

/* Басқа беттер мен жазбалар: ішкі бөліктер */
.smap-part + .smap-part { margin-top: 26px; padding-top: 22px; border-top: 1px solid #eef2f7; }
.smap-sub { margin: 0 0 14px !important; font-size: 16px !important; font-weight: 700; line-height: 1.3; color: #0A1628; }
.smap-n { flex-shrink: 0; min-width: 28px; padding: 2px 8px; border-radius: 50px; background: #EEF5FF; color: #0052A5; font-size: 11.5px; font-weight: 700; line-height: 1.4; text-align: center; }


/* Анықтамалық жазбалар — жиналмалы топтар */
.smap-ref { border: 1px solid #e3ebf6; border-radius: 12px; background: #fff; }
.smap-ref + .smap-ref { margin-top: 8px; }
.smap-ref > summary { display: flex; align-items: center; gap: 10px; padding: 12px 16px; cursor: pointer; list-style: none; font-size: 14.5px; font-weight: 700; color: #0A1628; border-radius: 12px; }
.smap-ref > summary::-webkit-details-marker { display: none; }
.smap-ref > summary::before { content: ""; flex: 0 0 8px; width: 8px; height: 8px; margin-right: 4px; border-right: 2px solid #0052A5; border-bottom: 2px solid #0052A5; transform: rotate(-45deg); transition: transform .15s; }
.smap-ref[open] > summary::before { transform: rotate(45deg); }
.smap-ref > summary > span:first-child { flex: 1; }
.smap-ref > summary:hover { background: #F8FBFF; }
.smap-ref > summary:focus-visible { outline: 2px solid #0052A5; outline-offset: 2px; }
.smap-ref[open] > summary { border-bottom: 1px solid #eef2f7; border-radius: 12px 12px 0 0; }
.smap-ref__body { padding: 14px 16px 6px; columns: 3 260px; column-gap: 28px; }
.smap-rs { break-inside: avoid; margin-bottom: 14px; }
.smap-rs h4 { margin: 0 0 6px !important; font-size: 13px !important; font-weight: 700; line-height: 1.35; color: #0052A5; }
.smap-rs li { position: relative; padding: 3px 0 3px 14px; font-size: 12px; line-height: 1.5; }
.smap-rs li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: #F5C46B; }

.smap-none { padding: 26px; text-align: center; color: #5a6a80; border: 1px dashed #cfdcec; border-radius: 12px; font-size: 14px; background: #fff; }

@media (max-width: 767px) {
    .smap { padding: 22px 0 44px; }
    .smap-bar { padding: 12px; margin-bottom: 22px; }
    .smap-h { font-size: 19px !important; }
    .smap-sec { padding: 16px; }
    .smap-sec__title { font-size: 16px !important; }
    .smap-groups { grid-template-columns: 1fr; gap: 10px; }
    .smap-az, .smap-ref__body { columns: 1; }
    .smap-ref > summary { padding: 11px 12px; font-size: 14px; }
    .smap-ref__body { padding: 12px 12px 4px; }
}
