/* scout-ro — the national scout.ro site, a copy of its current look (scout_next, 2026).
   Measures are the live site's computed styles at 1440 px: a 1152 px content column, Montserrat,
   #000032 navy, #FFA92F orange, #404040 text. Colours come from the site's settings (--so-*). */

:root {
    --so-text: #404040;
    --so-muted: #7a7a7a;
    --so-soft: #f3f4f6;
    --so-radius: 8px;
    --so-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
    --so-shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);
    --bs-body-font-family: var(--vh-body-font, Montserrat, system-ui, sans-serif);
    --bs-body-color: var(--so-text);
    --bs-link-color-rgb: 0, 0, 50;
    --bs-link-hover-color-rgb: 255, 169, 47;
}

body.so-site {
    font-family: var(--vh-body-font, Montserrat, system-ui, sans-serif);
    font-size: 14px;
    line-height: 20px;
    color: var(--so-text);
    background: #fff;
}

.so-site h1, .so-site h2, .so-site h3, .so-site h4, .so-site h5, .so-site h6 {
    font-family: var(--vh-heading-font, Montserrat, system-ui, sans-serif);
    color: var(--so-primary);
    font-weight: 700;
}

.so-site .container { max-width: 1280px; padding-inline: 16px; }
@media (min-width: 992px) { .so-site .container { padding-inline: 64px; } }

/* ── Header ─────────────────────────────────────────────────────────────── */
.so-header { position: relative; z-index: 1030; background: #fff; }
.so-header__bar { display: flex; align-items: center; gap: 16px; min-height: 80px; padding-block: 12px; }
@media (min-width: 992px) { .so-header__bar { min-height: 118px; padding-block: 16px; } }
.so-brand { flex: 0 0 auto; display: block; margin-right: auto; }
.so-logo { display: block; width: auto; height: 48px; max-width: 150px; object-fit: contain; }
@media (min-width: 992px) { .so-brand { margin-right: 32px; } }

.so-nav { display: none; }
@media (min-width: 992px) { .so-nav { display: block; margin-right: auto; } }
.so-menu { display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; }
.so-menu__link {
    display: flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none;
    font: 400 13px/22px var(--vh-body-font, Montserrat, sans-serif); color: var(--so-text); text-decoration: none; white-space: nowrap;
}
.so-menu__link:hover, .so-menu__link:focus-visible, .so-menu__item--parent:hover > .so-menu__link { color: var(--so-primary); }
.so-menu__link .bi { font-size: 11px; -webkit-text-stroke: .6px; }
/* The submenu is a navy band across the whole width under the header, its links in one row. */
.so-submenu {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-wrap: wrap; justify-content: center; gap: 8px 40px;
    margin: 0; padding: 16px 24px; list-style: none; background: var(--so-primary);
}
.so-menu__item--parent:hover > .so-submenu,
.so-menu__item--parent:focus-within > .so-submenu,
.so-menu__item--parent.is-open > .so-submenu { display: flex; }
/* The gap between the item and the band must not close the menu on the way down. */
.so-menu__item--parent { padding-block: 24px; margin-block: -24px; }
.so-submenu a { color: #fff; font-size: 13px; line-height: 20px; text-decoration: none; }
.so-submenu a:hover, .so-submenu a:focus-visible { color: var(--so-accent); }

.so-actions { display: flex; align-items: center; gap: 16px; }
.so-search { display: none; position: relative; align-items: center; }
@media (min-width: 992px) { .so-search { display: flex; } }
.so-search .bi { position: absolute; left: 12px; font-size: 13px; color: var(--so-text); -webkit-text-stroke: .5px; }
.so-search input {
    width: 96px; height: 36px; padding: 8px 12px 8px 32px; border: 1px solid transparent; border-radius: var(--so-radius);
    background: var(--so-soft); box-shadow: var(--so-shadow-sm); font-size: 14px; color: #374151; transition: width .2s;
}
.so-search input:focus { width: 180px; outline: 2px solid var(--so-accent); outline-offset: 1px; }
.so-btn {
    display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 0 16px;
    border-radius: var(--so-radius); font-size: 14px; font-weight: 600; line-height: 14px; text-decoration: none; white-space: nowrap;
}
.so-btn--accent { background: var(--so-accent); color: #fff; }
.so-btn--accent:hover, .so-btn--accent:focus-visible { background: var(--so-primary); color: #fff; }
.so-btn--outline { border: 1px solid var(--so-primary); color: var(--so-primary); }
.so-icon-link { display: inline-flex; color: var(--so-accent); font-size: 30px; line-height: 1; text-decoration: none; }
.so-icon-link:hover, .so-icon-link:focus-visible { color: var(--so-primary); }
.so-lang { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: 13px; }
.so-lang a { color: var(--so-text); }
.so-burger { display: inline-flex; padding: 4px; border: 0; background: none; font-size: 28px; color: #6b7280; }
@media (min-width: 992px) { .so-burger { display: none; } }

.so-mobile-nav { background: var(--so-primary); color: #fff; }
.so-mobile-nav__fleur { width: 40px; height: 40px; }
.so-search--mobile { display: flex; margin-bottom: 24px; }
.so-search--mobile input, .so-search--mobile input:focus { width: 100%; }
.so-mobile-menu, .so-mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.so-mobile-menu > li { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.so-mobile-menu__group { display: block; color: #fff; font-size: 16px; font-weight: 600; text-decoration: none; }
.so-mobile-menu ul { padding: 6px 0 0 12px; }
.so-mobile-menu ul a { display: block; padding: 6px 0; color: rgba(255, 255, 255, .85); font-size: 14px; text-decoration: none; }
.so-mobile-menu a:hover { color: var(--so-accent); }

/* ── Home: slider of the newest posts ───────────────────────────────────── */
.so-hero { position: relative; background: var(--so-primary); }
.so-hero__slide { position: relative; display: block; height: 500px; overflow: hidden; color: #fff; text-decoration: none; }
@media (min-width: 992px) { .so-hero__slide { height: 600px; } }
.so-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.so-hero__blend { position: absolute; inset: 0; background: var(--so-primary); opacity: .4; }
.so-hero__texts {
    position: absolute; top: 50px; left: 0; right: 0; display: flex; flex-direction: column;
    padding: 0 24px; max-width: 720px;
}
@media (min-width: 992px) { .so-hero__texts { top: 120px; padding-left: 96px; } }
.so-hero__title { font-size: 24px; line-height: 32px; font-weight: 700; color: #fff; }
@media (min-width: 992px) { .so-hero__title { font-size: 48px; line-height: 48px; } }
.so-hero__subtitle { margin-top: 16px; font-size: 18px; line-height: 28px; }
.so-hero__slide:hover .so-hero__title, .so-hero__slide:focus-visible .so-hero__title { text-decoration: underline; text-decoration-thickness: 2px; }
.so-hero__controls {
    position: absolute; left: 0; right: 0; bottom: 84px; z-index: 3;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
@media (min-width: 992px) { .so-hero__controls { bottom: 84px; justify-content: flex-start; padding-left: 96px; } }
.so-hero__arrow { padding: 10px 6px; border: 0; background: none; color: #fff; font-size: 22px; }
.so-hero__dots.carousel-indicators { position: static; margin: 0; gap: 8px; }
.so-hero__dots.carousel-indicators [data-bs-target] {
    width: 42px; height: 42px; margin: 0; border: 0; border-radius: 50%; text-indent: 0; opacity: 1;
    background: transparent; color: #fff; font-size: 18px; font-weight: 500; line-height: 42px;
}
.so-hero__dots.carousel-indicators .active { background: var(--so-accent); }

/* The three counter cards sit half over the slider. */
.so-stats { position: relative; z-index: 4; display: flex; gap: 48px; margin-top: -48px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; }
.so-stat {
    flex: 0 0 85%; display: flex; align-items: center; gap: 32px; min-height: 96px; padding: 16px 32px; scroll-snap-align: start;
    background: #fff; border-radius: var(--so-radius); box-shadow: var(--so-shadow);
}
@media (min-width: 768px) { .so-stat { flex: 1 1 0; } }
.so-stat img { width: 64px; height: 64px; flex: 0 0 64px; }
.so-stat__number { font-size: 30px; line-height: 36px; font-weight: 700; color: var(--so-text); }
.so-stat__label { font-size: 18px; line-height: 28px; font-weight: 700; color: var(--so-accent); }

.so-home-body { padding-top: 32px; }

/* ── Article text (pages, posts, the home bands) ────────────────────────── */
.so-article-body { font-size: 18px; line-height: 24px; font-weight: 300; color: var(--so-text); }
.so-article-body p { margin: 0 0 18px; }
.so-article-body strong, .so-article-body b { font-weight: 700; }
.so-article-body h2 { font-size: 30px; line-height: 36px; margin: 45px 0 20px; }
.so-article-body h3 { font-size: 24px; line-height: 32px; margin: 32px 0 16px; }
.so-article-body h4 { font-size: 18px; line-height: 28px; margin: 24px 0 12px; }
.so-article-body a { color: var(--so-primary); font-weight: 500; }
.so-article-body a:hover { color: var(--so-accent); }
.so-article-body img { max-width: 100%; height: auto; }
.so-article-body blockquote { border-left: 4px solid var(--so-accent); padding-left: 20px; font-style: italic; }

/* ── Bands: full width inside the page column ───────────────────────────── */
.so-site .band { position: relative; margin-inline: calc(50% - 50vw); padding: 48px 0; }
.so-site .band__inner { max-width: 1280px; margin: 0 auto; padding-inline: 16px; }
@media (min-width: 992px) { .so-site .band { padding: 64px 0; } .so-site .band__inner { padding-inline: 64px; } }
.so-site .band__heading { margin: 0 0 20px; font-size: 30px; line-height: 36px; text-transform: uppercase; }
.so-site .band__lead { font-size: 20px; line-height: 30px; font-weight: 300; }
@media (min-width: 992px) { .so-site .band__lead { font-size: 24px; line-height: 32px; } }
.so-site .band--light { background: var(--so-soft); }
.so-site .band--pattern { background: #fff url('../img/topography-bg.svg') 0 0 repeat; }
.so-site .band--dark { background: var(--so-primary); color: #fff; }
.so-site .band--dark h2, .so-site .band--dark h3, .so-site .band--dark h4, .so-site .band--dark a { color: #fff; }
.so-site .band--dark .band__lead, .so-site .band--dark p { color: rgba(255, 255, 255, .9); }
.so-site .band + .band { margin-top: 0; }
/* A band right after another of the same kind would double its padding. */
.so-site .band--plain + .band--plain { padding-top: 0; }

/* Illustration | text | illustration (the mountain and the tree of „Ce facem”). */
.so-site .columns-side { align-self: flex-end; }
.so-site .columns-side img { display: block; width: auto; max-width: 100%; height: auto; max-height: 340px; }
.so-site .columns-side:last-child img { max-height: 330px; margin-left: auto; }
@media (max-width: 991.98px) { .so-site .columns-side { display: none; } }

/* ── Cards with a photo (Local / Național, Sunt copil / părinte / adult) ── */
.so-site .image-card { border: 0; border-radius: var(--so-radius); overflow: hidden; box-shadow: var(--so-shadow); background: #fff; transition: transform .15s; }
.so-site .image-card:hover { transform: translateY(-3px); }
.so-site .image-card__img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; height: auto; }
.so-site .image-card__body { padding: 24px; }
.so-site .image-card__title { margin: 0 0 12px; font-size: 18px; line-height: 24px; }
.so-site .image-card__title a { color: var(--so-primary); text-decoration: none; }
.so-site .image-card__text { font-size: 14px; line-height: 22px; font-weight: 400; color: var(--so-text); }
.so-site .image-card__text p:last-child { margin-bottom: 0; }

/* ── Donation call ──────────────────────────────────────────────────────── */
.so-site .donation-cta {
    margin-inline: calc(50% - 50vw); padding: 48px 16px; color: #fff;
    background: linear-gradient(135deg, var(--so-primary) 0%, #0b1f5c 100%);
}
.so-site .donation-cta__inner { max-width: 880px; margin: 0 auto; }
.so-site .donation-cta__title { color: #fff; font-size: 24px; line-height: 32px; margin: 0 0 12px; }
.so-site .donation-cta__text { font-size: 16px; line-height: 26px; color: rgba(255, 255, 255, .9); }
.so-site .donation-cta__label { margin: 24px 0 12px; font-size: 15px; font-weight: 600; color: #fff; }
.so-site .donation-cta__amounts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.so-site .donation-cta__amount {
    display: block; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .35); border-radius: var(--so-radius);
    background: rgba(255, 255, 255, .08); color: #fff; font-weight: 700; text-align: center; text-decoration: none;
}
.so-site .donation-cta__amount:hover { border-color: var(--so-accent); color: var(--so-accent); }
.so-site .donation-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.so-site .donation-cta__button { padding: 10px 24px; border: 0; border-radius: var(--so-radius); background: var(--so-accent); color: #fff; font-weight: 700; }
.so-site .donation-cta__button:hover { background: #fff; color: var(--so-primary); }
.so-site .donation-cta__note { font-size: 13px; color: rgba(255, 255, 255, .75); }
.so-site .band .donation-cta { margin-inline: 0; border-radius: var(--so-radius); }

/* Counters inside a page (the stats_counters block). */
.so-site .stats-counters .display-5 { color: var(--so-primary); font-weight: 700; }

/* ── Network buttons and footer ─────────────────────────────────────────── */
.so-network { padding: 64px 0; }
.so-network h2 { margin: 0 0 32px; font-size: 30px; line-height: 36px; }
.so-network__grid { display: grid; grid-template-columns: 1fr; gap: 24px 48px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 576px) { .so-network__grid { grid-template-columns: repeat(2, 1fr); } }
/* Filled column by column, as on scout.ro (Consiliul Director, Internațional, Formare down the first). */
@media (min-width: 992px) { .so-network__grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, auto); grid-auto-flow: column; padding-inline: 64px; } }
.so-network__btn {
    display: block; max-width: 260px; margin: 0 auto; padding: 8px 16px; border-radius: var(--so-radius);
    background: var(--so-accent); box-shadow: var(--so-shadow); color: #fff; font-weight: 700; text-align: center; text-decoration: none;
}
.so-network__btn:hover, .so-network__btn:focus-visible { background: var(--so-primary); color: #fff; }
.so-prefooter { height: 72px; background: var(--so-primary); border-bottom: 1px solid rgba(255, 255, 255, .08); }

.so-footer { padding: 48px 0 32px; background: var(--so-primary); color: #fff; }
.so-footer a { color: #fff; text-decoration: none; }
.so-footer a:hover { color: var(--so-accent); }
.so-footer__top { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .so-footer__top { grid-template-columns: repeat(3, 1fr); } }
.so-footer__logo img { display: block; width: 150px; height: auto; }
.so-footer h3 { margin: 0 0 8px; color: #fff; font-size: 16px; line-height: 24px; text-transform: uppercase; }
.so-footer p { margin: 0; }
.so-social { display: flex; gap: 16px; font-size: 20px; }
.so-footer__links { display: flex; flex-wrap: wrap; gap: 24px; margin: 32px 0 0; padding: 0; list-style: none; }
.so-footer__legal { margin: 16px 0 0; }

/* ── Inner pages ────────────────────────────────────────────────────────── */
.so-page-head h1, .so-article h1 { margin: 0; padding: 16px 0 24px; font-size: 28px; line-height: 34px; }
@media (min-width: 992px) { .so-page-head h1, .so-article h1 { padding: 16px 0 32px; font-size: 36px; line-height: 40px; } }
.so-page-head__lead { margin-top: -16px; font-size: 18px; font-weight: 300; }
.so-page-body, .so-article { padding-bottom: 64px; }
.so-meta { margin: 0; font-size: 14px; line-height: 20px; color: var(--so-text); }
.so-article .so-meta { margin-top: -16px; }
.so-article__image { display: block; width: 100%; height: auto; max-height: 600px; object-fit: cover; margin: 16px 0 48px; }
.so-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.so-tag { padding: 4px 12px; border-radius: 999px; background: var(--so-soft); font-size: 13px; }

/* A section's list: the posts one under another, as scout.ro lists them. */
.so-list { padding-bottom: 64px; }
.so-list__intro { margin-bottom: 24px; font-size: 18px; font-weight: 300; }
.so-years { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.so-years a { padding: 4px 14px; border-radius: 999px; background: var(--so-soft); color: var(--so-text); font-size: 13px; text-decoration: none; }
.so-years a.is-active, .so-years a:hover { background: var(--so-accent); color: #fff; }
.so-post { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid #e5e7eb; }
.so-post:last-of-type { border-bottom: 0; }
.so-post__title { margin: 0 0 12px; font-size: 22px; line-height: 28px; }
@media (min-width: 992px) { .so-post__title { font-size: 24px; line-height: 32px; } }
.so-post__title a { color: var(--so-primary); text-decoration: none; }
.so-post__title a:hover { color: var(--so-accent); }
.so-post__image { display: block; width: 100%; height: auto; max-height: 480px; object-fit: cover; margin: 16px 0 24px; }
.so-post__excerpt { font-size: 18px; line-height: 24px; font-weight: 300; }
.so-post__more { display: inline-flex; align-items: center; gap: 8px; color: var(--so-primary); font-weight: 600; text-decoration: none; }
.so-post__more:hover { color: var(--so-accent); }
.so-pager { display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.so-pager a { color: var(--so-primary); text-decoration: none; }
.so-empty { color: var(--so-muted); font-size: 16px; }

/* Edit shortcut for editors. */
.so-edit-fab {
    position: fixed; right: 16px; bottom: 16px; z-index: 1040; padding: 8px 14px; border-radius: 999px;
    background: var(--so-primary); color: #fff; box-shadow: var(--so-shadow); text-decoration: none;
}
.so-edit-fab:hover { background: var(--so-accent); color: #fff; }

@media (prefers-reduced-motion: reduce) {
    .so-site .image-card, .so-search input { transition: none; }
}
