/* Собиратор: самостоятельные секции Экогида. */
.eg-guide {
    --ink: #102e50;
    --blue: #0a58a5;
    --muted: #4c647b;
    --eg-head: 0px;
    box-sizing: border-box;
    min-width: 0;
    color: var(--ink);
    background: #fff;
    font-family: Circe, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.45;
}
.eg-guide *, .eg-guide *::before, .eg-guide *::after { box-sizing: border-box; }
.eg-guide[hidden], .eg-guide [hidden] { display: none !important; }
.eg-guide h1, .eg-guide h2, .eg-guide h3, .eg-guide p { margin: 0; }
.eg-guide a { color: var(--blue); }
.eg-guide button, .eg-guide input, .eg-guide select, .eg-guide textarea { font: inherit; }
.eg-guide button { cursor: pointer; }
.eg-guide :focus-visible { outline: 3px solid #e7b42e; outline-offset: 3px; }
.eg-guide .eg-wrap { width: min(1280px, calc(100% - 72px)); margin-inline: auto; }
.eg-guide h2 { color: var(--ink); font-size: clamp(25px, 2.6vw, 36px); font-weight: 800; line-height: 1.15; letter-spacing: -.025em; }
.eg-guide h3 { color: var(--ink); font-size: 20px; font-weight: 700; line-height: 1.22; }
.eg-guide .eg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 9px 18px;
    border: 1px solid transparent;
    border-radius: 22px;
    background: var(--blue);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
}
.eg-guide .eg-btn.light { background: #fff; color: #0b4e88; }
.eg-guide .eg-btn.quiet { min-height: 38px; padding: 7px 15px; border-color: #cbdfee; color: var(--blue); background: #f1f7fd; white-space: nowrap; }
.eg-guide .eg-btn:hover { filter: brightness(.96); }
.eg-guide .eg-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.eg-guide .eg-row > h2 { min-width: 0; }

/* Обложка. HTML виден сразу; состояния ожидания JS нет. */
.eg-guide .eg-hero { position: relative; isolation: isolate; display: flex; align-items: center; overflow: hidden; min-height: 320px; background: #133a5b; color: #fff; }
.eg-guide .eg-hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }
.eg-guide .eg-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,29,54,.92), rgba(5,29,54,.63) 43%, rgba(5,29,54,.08) 85%); }
.eg-guide .eg-hero-copy { padding-block: 30px 38px; }
.eg-guide .eg-crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; font-size: 14px; color: #f0f7ff; }
.eg-guide .eg-crumb a { color: inherit; text-decoration: none; }
.eg-guide .eg-crumb a:hover { text-decoration: underline; }
.eg-guide .eg-hero h1 { max-width: 850px; margin-bottom: 12px; color: #fff; font-size: clamp(34px, 3.8vw, 58px); font-weight: 800; letter-spacing: -.035em; line-height: 1.07; overflow-wrap: anywhere; }
.eg-guide .eg-hero p { max-width: 760px; color: #fff; font-size: clamp(16px, 1.55vw, 21px); line-height: 1.4; }
.eg-guide .eg-hero .eg-btn { margin-top: 20px; }
.eg-guide .eg-count { margin-bottom: 4px; }
.eg-guide .eg-count strong { color: #ffe077; }
.eg-guide .eg-hero--landing { min-height: 450px; }

/* Навигация сама является корневой секцией, без короткой внешней обёртки. */
.eg-topics { position: sticky; top: var(--eg-head); z-index: 18; border-bottom: 1px solid #dfebf4; box-shadow: 0 4px 12px #173d6109; }
.eg-topics > .eg-wrap { display: flex; gap: 8px; overflow-x: auto; padding-block: 14px; white-space: nowrap; scrollbar-width: none; }
.eg-topics > .eg-wrap::-webkit-scrollbar { display: none; }
.eg-topics > .eg-wrap.eg-topic-overflow { padding-right: 44px; }
.eg-topics a { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; padding: 7px 13px; border: 1px solid #d4e2ef; border-radius: 22px; color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.eg-topics a[aria-current='true'] { border-color: var(--blue); background: var(--blue); color: #fff; }
.eg-topics b { font-size: .85em; font-weight: 500; }
.eg-topics .eg-topic-arrow { position: absolute; top: 50%; right: max(13px, calc((100% - 1310px) / 2)); transform: translateY(-50%); display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid #cddfea; border-radius: 50%; color: #173d60; background: #fff; font: 700 22px/1 Arial, sans-serif; }

/* Заголовок и карточки тематической секции. */
.eg-category { padding-block: 34px 10px; scroll-margin-top: calc(var(--eg-head) + 85px); }
.eg-category h2 { text-transform: uppercase; }
.eg-category h2 small { margin-left: 4px; color: #6d8194; font-size: 15px; font-weight: 400; vertical-align: middle; }
.eg-guide .eg-hint { margin-top: 12px; color: var(--muted); font-size: 15px; }
.eg-guide .eg-hint a { font-weight: 700; text-underline-offset: 3px; }
.eg-guide .eg-objects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.eg-guide .eg-object { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 21px 21px 17px; border: 1px solid #d7e4ef; border-radius: 15px; background: #fff; overflow-wrap: anywhere; }
.eg-guide .eg-object-head { display: flex; align-items: center; justify-content: space-between; min-height: 18px; margin-bottom: 10px; color: #61788d; font-size: 12px; line-height: 1.3; }
.eg-guide .eg-object p { margin-top: 10px; color: #344f66; font-size: 16px; line-height: 1.45; }
.eg-guide .eg-review { display: block; margin-top: 8px; color: #536b7f; font-size: 12px; line-height: 1.4; }
.eg-guide .eg-review time { white-space: nowrap; }
.eg-guide .eg-card-actions { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 8px 10px; margin-top: auto; padding-top: 22px; }
.eg-guide .eg-links { display: flex; flex: 1 1 130px; flex-wrap: wrap; gap: 6px; min-width: 0; }
.eg-guide .eg-links a, .eg-guide .eg-edit { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 38px; max-width: 100%; padding: 7px 10px; border: 1px solid #bfd4e7; border-radius: 8px; color: #175489; background: #f0f6fc; font-size: 13px; font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none; }
.eg-guide .eg-edit { flex-shrink: 0; margin-left: auto; background: #fff; }
.eg-guide .eg-links a:hover, .eg-guide .eg-edit:hover { background: #e2eef9; }

/* Нижний блок приглашения. */
.eg-guide .eg-contribute { margin-block: 32px 40px; padding: 32px; border-radius: 20px; background: #0a518d; color: #fff; }
.eg-guide .eg-contribute h2 { color: #fff; font-size: clamp(23px, 2.5vw, 33px); text-transform: uppercase; }
.eg-guide .eg-contribute p { max-width: 850px; margin-top: 14px; color: #fff; }
.eg-guide .eg-contribute .eg-btn { margin-top: 22px; }
.eg-guide .eg-action-status { margin-top: 10px; font-size: 15px; line-height: 1.4; }

/* Форма. */
.eg-dialog-wrap { display: contents; }
.eg-guide #eg-dialog { position: fixed; inset: 0; width: 510px; max-width: calc(100% - 28px); max-height: 88dvh; overflow-y: auto; margin: auto; padding: 28px; border: 0; border-radius: 20px; color: var(--ink); background: #fff; box-shadow: 0 20px 80px #08254155; }
.eg-guide #eg-dialog::backdrop { background: #0c274ca6; }
.eg-guide #eg-dialog h2 { padding-right: 25px; font-size: 28px; }
.eg-guide #eg-dialog .eg-x { position: absolute; top: 10px; right: 13px; padding: 0 5px; border: 0; color: var(--ink); background: transparent; font-size: 30px; }
.eg-guide #eg-context { margin: 9px 0 15px; color: var(--muted); }
.eg-guide #eg-dialog label { display: block; margin: 12px 0; font-size: 15px; font-weight: 700; }
.eg-guide #eg-dialog label input, .eg-guide #eg-dialog label textarea, .eg-guide #eg-dialog label select { display: block; width: 100%; margin-top: 5px; padding: 10px; border: 1px solid #b3c8d9; border-radius: 8px; color: var(--ink); background: #fff; font-weight: 400; }
.eg-guide #eg-dialog textarea { resize: vertical; }
.eg-guide #eg-dialog small { color: var(--muted); font-weight: 400; }
.eg-guide #eg-dialog .eg-form-status:not(:empty) { margin-block: 14px; }
.eg-guide #eg-dialog button:disabled { cursor: wait; opacity: .6; }

/* Карта и каталог общей страницы. */
.eg-guide .eg-mapsec { padding-block: 30px 20px; }
.eg-guide .eg-mapsec h2 { font-size: 27px; }
.eg-guide .eg-mapbox { position: relative; height: 390px; margin-top: 16px; overflow: hidden; border: 1px solid #d4e1eb; border-radius: 18px; background: #eaf2f7; }
.eg-guide #eg-map { width: 100%; height: 100%; }
.eg-guide #eg-map-status { position: absolute; right: 12px; bottom: 12px; left: 12px; width: fit-content; padding: 6px 12px; border-radius: 8px; background: #fff; }
.eg-guide .eg-map-touch { display: none; }
.eg-guide #eg-catalog { padding-block: 20px 40px; scroll-margin-top: calc(var(--eg-head) + 20px); }
.eg-guide .eg-searchrow { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-block: 22px; }
.eg-guide .eg-search { display: flex; align-items: center; flex: 1 1 240px; gap: 10px; min-width: 0; max-width: 510px; padding-inline: 12px; border: 1px solid #b3c8d9; border-radius: 12px; }
.eg-guide .eg-search:focus-within { outline: 2px solid var(--blue); }
.eg-guide .eg-search span { color: var(--muted); font-size: 26px; }
.eg-guide .eg-search input { width: 100%; min-width: 0; padding-block: 11px; border: 0; outline: 0; color: var(--ink); background: transparent; }
.eg-guide .eg-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.eg-guide .eg-tabs button { padding: 8px 13px; border: 1px solid #cfdfeb; border-radius: 22px; color: var(--ink); background: #fff; font-weight: 700; }
.eg-guide .eg-tabs button[aria-pressed='true'] { border-color: var(--blue); color: #fff; background: var(--blue); }
.eg-guide .eg-tabs b { font-size: .85em; }
.eg-guide .eg-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.eg-guide .eg-tile { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 100px; min-width: 0; overflow: hidden; padding: 14px 16px; border: 0; border-radius: 14px; text-align: left; text-decoration: none; }
.eg-guide .eg-tile.filled { background: #194e78; color: #fff; }
.eg-guide .eg-tile picture, .eg-guide .eg-tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.eg-guide .eg-tile.filled::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg,#041c34dd,#041c3480); }
.eg-guide .eg-tile.soon { border: 1px solid #d6e0e7; background: #eff3f6; color: #263e53; }
.eg-guide .eg-tile strong { display: block; font-size: 21px; font-weight: 800; line-height: 1.15; overflow-wrap: anywhere; }
.eg-guide .eg-tile small { display: block; margin-top: 5px; font-size: 13px; line-height: 1.2; }
.eg-guide .eg-tile-arrow { align-self: flex-end; font-size: 22px; }
.eg-guide .eg-badge { align-self: flex-start; padding: 3px 7px; border: 1px solid #bdcbd5; border-radius: 13px; color: #465d70; font-size: 12px; }
.eg-guide .eg-addcity { justify-content: flex-start; border: 2px dashed #87a9c5; color: #0a568f; background: #f7fbff; font-weight: 700; }
.eg-guide .eg-addcity > span:first-child { font-size: 28px; }
.eg-guide #eg-empty { padding: 25px; border-radius: 16px; background: #f2f7fb; }
.eg-guide #eg-empty p { margin-block: 10px 18px; }
.eg-guide .eg-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

@media (max-width: 1100px) {
    .eg-guide .eg-objects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .eg-guide .eg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .eg-guide .eg-wrap { width: calc(100% - 32px); }
    .eg-guide .eg-hero { min-height: 280px; }
    .eg-guide .eg-hero--landing { min-height: 360px; }
    .eg-guide .eg-hero-copy { padding-block: 24px 30px; }
    .eg-guide .eg-hero::after { background: linear-gradient(90deg,#051d36f0,#051d3690); }
    .eg-guide .eg-hero h1 { font-size: clamp(30px, 7.5vw, 44px); }
    .eg-guide .eg-crumb { margin-bottom: 16px; font-size: 12px; }
    .eg-topics > .eg-wrap { width: 100%; padding-inline: 16px; }
    .eg-topics .eg-topic-arrow { right: 6px; }
    .eg-category { padding-top: 28px; }
    .eg-guide .eg-row { flex-wrap: wrap; gap: 10px; }
    .eg-guide .eg-row > h2 { max-width: 100%; overflow-wrap: anywhere; }
    .eg-guide .eg-objects { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 18px; }
    .eg-guide .eg-object { padding: 19px 18px 16px; }
    .eg-guide .eg-contribute { margin-block: 24px 30px; padding: 25px 22px; }
    .eg-guide .eg-mapbox { height: 260px; }
    .eg-guide .eg-map-touch { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding: 12px; border: 0; color: #173d60; background: linear-gradient(transparent 70%,#eef5faeb); font-size: 14px; touch-action: pan-y; }
    .eg-guide #eg-map-status { bottom: 45px; }
    .eg-guide .eg-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .eg-guide .eg-search { flex-basis: 100%; max-width: none; }
}
@media (max-width: 480px) {
    .eg-guide .eg-grid { grid-template-columns: minmax(0, 1fr); }
    .eg-guide .eg-tabs button { font-size: 14px; }
}
.sob-mp-host{position:relative!important;}
.sob-mp-trigger{border:0;background:transparent;color:#173551;display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;min-width:44px;min-height:44px;padding:0 6px;cursor:pointer;font:600 12px/1.2 system-ui,sans-serif}
.sob-mp-host>.eco-v2-meta,.sob-mp-host>.eg-object-head{padding-inline-end:88px}
.sob-mp-host>.sob-mp-trigger{position:absolute;inset-block-start:2px;inset-inline-end:6px;z-index:1}
.sob-mp-trigger:focus-visible{outline:2px solid #1466a9;outline-offset:1px;border-radius:6px}
.sob-mp-box{display:grid;place-items:center;width:19px;height:19px;border:1px solid #b6c2cd;border-radius:4px;background:#fff;color:#aab7c2;font-size:12px;line-height:1}
.sob-mp-trigger:hover .sob-mp-box{border-color:#517594;color:#517594}
.sob-mp-trigger[aria-pressed=true] .sob-mp-box{background:#ffd632;border-color:#d2a800;color:#24374c}
.sob-mp-text[hidden],.sob-mp-row[hidden],.sob-mp-empty[hidden]{display:none!important}
.sob-mp-panel{margin:18px 0;padding:12px 16px;background:#fff;border:1px solid #dce8f1;border-radius:14px}
.sob-mp-panel>summary{cursor:pointer;font-weight:700}
.sob-mp-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 0;flex-wrap:wrap}
.sob-mp-row a{display:inline-block}
.sob-mp-error{color:#923a27;font-size:13px}
.sob-mp-error:empty{display:none}
.sob-mp-row>div{min-width:0;flex:1}
.sob-mp-row small{display:block;color:#47647a;overflow-wrap:anywhere}
.sob-mp-row .sob-mp-trigger{margin-inline-start:auto}
.sob-mp-branches{display:grid;gap:2px;margin:7px 0}
.sob-mp-branch{margin:0;padding:2px 6px 2px 9px;background:#f1f6fb;border:1px solid #e4edf4;border-radius:7px;display:flex;align-items:center;justify-content:space-between;gap:6px;font:500 12px/1.35 system-ui,sans-serif}
.sob-mp-branch>span{min-width:0;overflow-wrap:anywhere}
.sob-mp-branch .sob-mp-trigger{flex-shrink:0}
.sob-mp-trigger{box-sizing:border-box;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;position:relative;justify-content:center;outline:none;box-shadow:none}
.sob-mp-trigger:not(:focus-visible){outline:none!important;box-shadow:none!important}
.sob-mp-host>.sob-mp-trigger{inset-block-start:4px;inset-inline-end:4px}
.sob-mp-trigger:focus-visible{outline:0;box-shadow:none}
.sob-mp-trigger:focus-visible .sob-mp-box{outline:2px solid #1466a9;outline-offset:2px}
.sob-mp-trigger:focus-visible:after{content:attr(data-sob-mp-tip);position:absolute;inset-inline-end:0;inset-block-start:calc(100% - 3px);background:#163b61;color:white;padding:5px 8px;border-radius:5px;white-space:nowrap;z-index:2}
.sob-mp-box{box-sizing:border-box;width:20px;height:20px;color:#bec8d1}
.sob-mp-trigger[aria-pressed=true] .sob-mp-box{color:#24374c}
.sob-mp-host>.eco-v2-meta,.sob-mp-host>.eg-object-head{padding-inline-end:45px}
.sob-mp-host>button.sob-mp-trigger,.sob-mp-row>button.sob-mp-trigger,.sob-mp-branch>button.sob-mp-trigger{padding:0!important;border:0!important;background:transparent!important;border-radius:0!important;column-gap:0!important}
.sob-mp-trigger>.sob-mp-box{flex:0 0 20px!important;min-inline-size:20px;max-inline-size:20px;min-block-size:20px;max-block-size:20px}
