/* =========================================================
   stono.css – sajtens nya publika design (2026)
   Samma palett som sec.css:
   blå #004b6c · teal #086370 · röd #81454a · grön #517649
   ljus #efeeed · blågrå #b2c9d3 · text #1f2a33 · footer #034b6c
   ========================================================= */

.st {
    --blue: #004b6c;
    --blue-deep: #034b6c;
    --teal: #086370;
    --red: #81454a;
    --red-dark: #5e2f33;
    --green: #517649;
    --light: #efeeed;
    --bluegrey: #b2c9d3;
    --ink: #1f2a33;
    --muted: #4f5d68;
    --radius: 18px;
    --shadow-sm: 0 2px 10px rgba(0, 75, 108, 0.08);
    --shadow-lg: 0 18px 45px rgba(0, 75, 108, 0.18);
    --ease: cubic-bezier(.2, .7, .2, 1);

    font-family: Roboto, Verdana, sans-serif;
    color: var(--ink);
    overflow-x: clip;
}

.st a:not([class]) { color: var(--teal); }


/* ---------- Typografi & gemensamma element ---------- */

.st-title {
    color: var(--blue);
    font-weight: 800;
    font-size: clamp(1.8rem, 3.4vw, 2.8rem);
    line-height: 1.1;
    letter-spacing: -0.015em;
    margin: 0 0 0.9rem;
    text-align: center;
}

.st-title-left { text-align: left; }
.st-title-onDark { color: #fff; }

.st-subtitle {
    color: var(--teal);
    font-weight: 600;
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
    margin: 0 0 1rem;
}

.st-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--ink);
}

.st-text-onDark { color: rgba(255, 255, 255, 0.88); }

.st-text  p:last-child { margin-bottom: 0; }

.st-intro {
    max-width: 860px;
    margin: 0 auto 3rem;
    text-align: center;
}

.st-accent-line {
    display: block;
    width: 56px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--red), var(--teal));
    margin: 0 auto 1.25rem;
}

.st-accent-line-left { margin-left: 0; }

.st-kicker {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    margin-bottom: 1.1rem;
}

.st-kicker-teal { background: var(--teal); }

.st-eyebrow {
    display: inline-block;
    color: #fff;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    margin-bottom: 1.5rem;
}

/* Knappar */
.st-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}

.st-btn:hover,
.st-btn:focus-visible {
    transform: translateY(-2px);
    text-decoration: none;
}

.st-btn:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.st-btn-primary {
    background: var(--red);
    color: #fff;
    box-shadow: 0 8px 22px rgba(129, 69, 74, 0.35);
}

.st-btn-primary:hover,
.st-btn-primary:focus-visible {
    background: var(--red-dark);
    color: #fff;
    box-shadow: 0 12px 28px rgba(129, 69, 74, 0.45);
}

.st-btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
}

.st-btn-ghost:hover,
.st-btn-ghost:focus-visible {
    background: #fff;
    color: var(--blue);
}

/* Textlänk med pil */
.st-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--red);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    margin-top: auto;
    padding-top: 1rem;
}

.st-card-link span {
    transition: transform .25s var(--ease);
}

.st-card-link:hover,
.st-card-link:focus-visible {
    color: var(--red-dark);
    text-decoration: underline;
}

.st-card-link:hover span { transform: translateX(4px); }

/* Sektioner */
.st-section {
    padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}

.st-section-light { background: var(--light); }
.st-section-blue { background: var(--bluegrey); }

.st-section-dark {
    background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
    color: #fff;
}

.st-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.25rem;
}

.st-section-head .st-title { margin-bottom: 0; }
.st-section-head .st-card-link { padding-top: 0; }

/* ---------- HERO ---------- */

.st-hero {
    position: relative;
    min-height: clamp(560px, 92vh, 900px);
    display: flex;
    align-items: center;
    padding: 5rem 0 5rem;
    isolation: isolate;
}

.st-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    z-index: -2;
    animation: st-kenburns 24s ease-in-out infinite alternate;
}

.st-hero-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(0, 75, 108, 0.92) 0%, rgba(0, 75, 108, 0.75) 45%, rgba(8, 99, 112, 0.25) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.35) 100%);
}

.st-hero-content {
    max-width: 720px;
    color: #fff;
    animation: st-rise .9s var(--ease) both;
}

.st-hero-title {
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin: 0 0 1rem;
    text-wrap: balance;
}

.st-hero-subtitle {
    font-size: clamp(1.2rem, 2.2vw, 1.75rem);
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 1.25rem;
    color: rgba(255, 255, 255, 0.92);
}

.st-hero-text {
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    line-height: 1.65;
    max-width: 58ch;
    color: rgba(255, 255, 255, 0.88);
}

.st-hero-text  p:last-child { margin-bottom: 0; }

.st-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

/* Scroll-hint */
.st-scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 1.75rem;
    transform: translateX(-50%);
    width: 30px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
}

.st-scroll-hint span {
    position: absolute;
    left: 50%;
    top: 8px;
    width: 4px;
    height: 10px;
    margin-left: -2px;
    border-radius: 999px;
    background: #fff;
    animation: st-scroll 1.8s ease-in-out infinite;
}

/* ---------- KOMMUNRAD ---------- */

.st-municipalities {
    background: #fff;
    border-bottom: 1px solid rgba(0, 75, 108, 0.08);
}

.st-municipality-list {
    list-style: none;
    margin: 0;
    padding: 1.4rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2.5rem;
}

.st-municipality-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--blue);
    font-weight: 600;
    font-size: 0.95rem;
}

.st-municipality-list img {
    height: 36px;
    width: auto;
    filter: grayscale(1) opacity(.7);
    transition: filter .3s var(--ease), transform .3s var(--ease);
}

.st-municipality-list li:hover img {
    filter: none;
    transform: scale(1.08);
}

/* ---------- JUST NU ---------- */

.st-current {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

.st-current-media {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3;
}

.st-current-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}

.st-current-media:hover img { transform: scale(1.04); }

.st-current-media:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 4px;
}

.st-kicker-on-image {
    position: absolute;
    top: 1.1rem;
    left: 1.1rem;
    margin: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.st-kicker-inline { display: none; }

/* "Fokus just nu" – röd textetikett ovanför Just nu-rubriken */
.st-focus-label {
    display: inline-block;
    color: var(--red);
    font-weight: 800;
    font-size: clamp(0.95rem, 1.4vw, 1.2rem);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding-bottom: 0.35rem;
    border-bottom: 3px solid var(--red);
    margin-bottom: 1rem;
}

.st-current-body .st-btn { margin-top: 1.75rem; }

/* ---------- FOKUSKORT ---------- */

.st-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.st-card-grid .st-card { --shadow-sm: 0 4px 16px rgba(0, 75, 108, 0.14); }

/* Rubrik "Övriga frågor" mellan Just nu och korten */
.st-others-title {
    color: var(--blue);
    font-weight: 800;
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    margin: 0 0 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.st-others-title::before {
    content: "";
    width: 6px;
    height: 1.3em;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--red), var(--teal));
}

/* Fem övriga frågor på en rad vid full bredd, färre kolumner vid mindre skärm */
.st-card-grid-five {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

@media (min-width: 1400px) {
    .st-card-grid-five { grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
    .st-card-grid-five .st-card-title { font-size: 1.1rem; left: 1rem; right: 1rem; bottom: 0.9rem; }
    .st-card-grid-five .st-card-body { padding: 1rem 1.1rem 1.2rem; }
}

.st-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.st-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.st-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    text-decoration: none;
}

.st-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 75, 108, 0) 35%, rgba(0, 75, 108, 0.88) 100%);
}

.st-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}

.st-card:hover .st-card-media img { transform: scale(1.06); }

.st-card-title {
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.1rem;
    z-index: 1;
    margin: 0;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.15;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.st-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem 1.4rem 1.4rem;
    gap: 0.6rem;
}

.st-vhm {
    display: grid;
    grid-template-columns: 3.2rem 1fr;
    gap: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.st-vhm dt {
    color: var(--red);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding-top: 0.2rem;
}

.st-vhm dd { margin: 0; }
.st-vhm dd  p:last-child { margin-bottom: 0; }

/* ---------- FILM ---------- */

.st-film {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}

.st-film-media video {
    width: 100%;
    display: block;
    border-radius: var(--radius);
    background: #000;
    box-shadow: var(--shadow-lg);
}

/* ---------- PUBLICERAT ---------- */

.st-post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.st-post {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.st-post:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.st-post-media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.st-post-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}

.st-post:hover .st-post-media img { transform: scale(1.05); }

.st-post-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem 1.4rem 1.4rem;
}

.st-post-title {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 0.5rem;
}

.st-post-title a {
    color: var(--blue);
    text-decoration: none;
}

.st-post-title a:hover { text-decoration: underline; }

.st-post-subtitle {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* ---------- CTA ---------- */

.st-cta {
    background: var(--light);
    padding: 0 0 clamp(3.5rem, 7vw, 6rem);
}

.st-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    padding: clamp(2rem, 4vw, 3.5rem);
    border-radius: calc(var(--radius) + 6px);
    background: linear-gradient(135deg, var(--red) 0%, var(--blue-deep) 100%);
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.st-cta-inner .st-title { margin-bottom: 0.5rem; }
.st-cta-inner .st-text { margin: 0; }

.st-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

/* ---------- Animationer ---------- */

@keyframes st-rise {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes st-kenburns {
    from { transform: scale(1); }
    to   { transform: scale(1.08); }
}

@keyframes st-scroll {
    0%   { transform: translateY(0); opacity: 1; }
    70%  { transform: translateY(14px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .st-hero-image,
    .st-hero-content,
    .st-scroll-hint span {
        animation: none;
    }
}

/* ---------- Responsivt ---------- */

@media (max-width: 991.98px) {
    .st-hero {
        min-height: 0;
        padding: 6.5rem 0 4.5rem;
    }

    .st-hero-shade {
        background:
            linear-gradient(180deg, rgba(0, 75, 108, 0.85) 0%, rgba(0, 75, 108, 0.9) 100%);
    }

    .st-current,
    .st-film {
        grid-template-columns: 1fr;
    }

    .st-kicker-on-image { display: none; }
    .st-kicker-inline { display: inline-block; }

    .st-scroll-hint { display: none; }
}

@media (max-width: 575.98px) {
    .st-btn {
        width: 100%;
    }

    .st-municipality-list {
        gap: 0.8rem 1.4rem;
    }

    .st-municipality-list li { font-size: 0.85rem; }
    .st-municipality-list img { height: 28px; }

    .st-cta-inner .st-title { text-align: left; }
}

/* =========================================================
   UNDERSIDOR – sidhuvud, hero, prosa, paneler
   ========================================================= */

/* Sidhuvud utan bild (Arkiv, Publicerat, Organisation, Integritetspolicy) */
.st-page-head {
    padding: clamp(3rem, 7vw, 6rem) 0 clamp(1.5rem, 3vw, 2.5rem);
    text-align: center;
}

.st-page-head .st-intro { margin-bottom: 0; }

.st-page-title {
    color: var(--blue);
    font-weight: 900;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 0.75rem;
    text-wrap: balance;
}

.st-page-subtitle {
    color: var(--teal);
    font-weight: 600;
    font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    line-height: 1.3;
    margin: 0 0 1.25rem;
}

/* Kompakt hero med bild (fokussidor) */
.st-page-hero {
    position: relative;
    min-height: clamp(320px, 48vh, 520px);
    display: flex;
    align-items: flex-end;
    padding: 5rem 0 clamp(2rem, 4vw, 3.5rem);
    isolation: isolate;
}

.st-page-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.st-page-hero-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(0, 75, 108, 0.25) 0%, rgba(0, 75, 108, 0.85) 100%);
}

.st-page-hero .st-page-title,
.st-page-hero .st-page-subtitle {
    color: #fff;
    text-align: left;
}

.st-page-hero .st-page-subtitle { color: rgba(255, 255, 255, 0.9); margin-bottom: 0; }

/* Prosa (redaktörstext) – bilder får runda hörn */
.st-prose {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--ink);
}

.st-prose-narrow {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.st-prose img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.st-prose h1, .st-prose h2, .st-prose h3, .st-prose h4 {
    color: var(--blue);
    font-weight: 800;
    line-height: 1.15;
    margin: 1.75rem 0 0.75rem;
}

.st-prose h1 { font-size: 1.9rem; }
.st-prose h2 { font-size: 1.6rem; }
.st-prose h3 { font-size: 1.3rem; }
.st-prose h4 { font-size: 1.1rem; }

.st-prose a { color: var(--teal); }
.st-prose p:last-child { margin-bottom: 0; }

/* Vit panel med runda hörn */
.st-panel {
    background: #fff;
    border-radius: var(--radius);
    padding: clamp(1.5rem, 3.5vw, 3rem);
    box-shadow: var(--shadow-sm);
}

/* Stor rundad bild (t.ex. överst på ett inlägg) */
.st-figure {
    margin: 0 0 2rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.st-figure img {
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: cover;
    display: block;
}

/* Rundad bild generellt */
.st-img-rounded {
    border-radius: var(--radius);
    max-width: 100%;
    height: auto;
}

/* ---------- Fokussida: VAD / HUR / MÅL ---------- */
.st-focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.st-focus-box {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.6rem;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--red);
}

.st-focus-box-title {
    color: var(--red);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    margin: 0 0 0.6rem;
}

.st-focus-box .st-prose { font-size: 1rem; line-height: 1.6; }

/* ---------- Arkiv: gruppkort ---------- */
.st-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.st-archive-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.st-archive-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.st-archive-card-media {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.st-archive-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}

.st-archive-card:hover .st-archive-card-media img { transform: scale(1.05); }

.st-archive-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem 1.4rem 1.4rem;
}

.st-archive-card-title {
    color: var(--blue);
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 0.25rem;
}

.st-archive-card-title a { color: inherit; text-decoration: none; }
.st-archive-card-title a:hover { text-decoration: underline; }

.st-archive-card-subtitle {
    color: var(--teal);
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0;
}

/* ---------- Arkiv: dokumentlista ---------- */
.st-group-title {
    color: var(--blue);
    font-weight: 800;
    font-size: clamp(1.3rem, 2.2vw, 1.7rem);
    margin: 2.5rem 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.st-group-title::before {
    content: "";
    width: 6px;
    height: 1.4em;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--red), var(--teal));
}

.st-doc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.9rem;
}

.st-doc {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 1rem;
    align-items: start;
    background: #fff;
    border-radius: 14px;
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.st-doc:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.st-doc-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(0, 75, 108, 0.08);
    color: var(--blue);
    display: grid;
    place-items: center;
    font-size: 1.3rem;
}

.st-doc-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
}

.st-doc-title a { color: var(--blue); text-decoration: none; }
.st-doc-title a:hover { text-decoration: underline; }

.st-doc-meta {
    color: var(--muted);
    font-size: 0.85rem;
    margin: 0.15rem 0 0.4rem;
}

.st-doc-text {
    font-size: 0.98rem;
    line-height: 1.55;
}

.st-doc-text p:last-child { margin-bottom: 0; }

/* ---------- Pressbilder ---------- */
.st-press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.st-press-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.st-press-card-media {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #dfe6ea;
}

.st-press-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}

.st-press-card:hover .st-press-card-media img { transform: scale(1.05); }

.st-press-card-body {
    padding: 1.1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.st-press-card-title {
    color: var(--blue);
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0;
}

.st-press-card-file {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 0.8rem;
    color: var(--muted);
    word-break: break-all;
}

.st-press-card-text { font-size: 0.95rem; line-height: 1.5; }
.st-press-card-text p:last-child { margin-bottom: 0; }

.st-press-card-footer {
    border-top: 1px solid rgba(0, 75, 108, 0.1);
    padding: 0.75rem 1.25rem;
    font-size: 0.82rem;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ---------- Organisation: personer ---------- */
.st-people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.st-person {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1.25rem;
    background: #fff;
    border-radius: var(--radius);
    padding: 1.4rem;
    box-shadow: var(--shadow-sm);
}

.st-person-image {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.st-person-name {
    color: var(--blue);
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 0.15rem;
}

.st-person-role {
    color: var(--teal);
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0 0 0.6rem;
}

.st-person-about {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 0.6rem;
}

.st-person-about p:last-child { margin-bottom: 0; }

.st-contact-lines {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.25rem;
    font-size: 0.9rem;
}

.st-contact-lines li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ink);
}

.st-contact-lines i {
    color: var(--red);
    width: 1.1rem;
    text-align: center;
}

.st-contact-lines a { color: inherit; text-decoration: none; }
.st-contact-lines a:hover { text-decoration: underline; }

/* Kommunkort på organisationssidan */
.st-muni-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.st-muni {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.4rem;
    box-shadow: var(--shadow-sm);
}

.st-muni-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.9rem;
    margin-bottom: 0.9rem;
    border-bottom: 1px solid rgba(0, 75, 108, 0.1);
}

.st-muni-head img {
    height: 40px;
    width: auto;
}

.st-muni-head h3 {
    color: var(--blue);
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0;
}

.st-muni-contact + .st-muni-contact {
    margin-top: 0.9rem;
    padding-top: 0.9rem;
    border-top: 1px dashed rgba(0, 75, 108, 0.12);
}

.st-muni-contact-name {
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 0.25rem;
}

/* ---------- Kontaktformulär ---------- */
.st-contact {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
}

.st-contact-mail {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    color: var(--blue);
    font-weight: 700;
    text-decoration: none;
}

.st-contact-mail:hover { text-decoration: underline; }

.st-form {
    display: grid;
    gap: 1.1rem;
}

.st-form label {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 0.35rem;
}

.st-form .rz-textbox,
.st-form .rz-textarea {
    width: 100% !important;
    border-radius: 12px !important;
    border: 1px solid rgba(0, 75, 108, 0.2) !important;
    padding: 0.8rem 1rem !important;
    font-family: inherit !important;
    font-size: 1rem !important;
    background: #fff !important;
    box-shadow: none !important;
}

.st-form .rz-textarea { min-height: 160px; }

.st-form .rz-textbox:focus,
.st-form .rz-textarea:focus {
    border-color: var(--teal) !important;
    outline: 3px solid rgba(8, 99, 112, 0.2) !important;
}

.st-form-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 0.5rem;
}

.st-btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

.st-alert {
    background: rgba(129, 69, 74, 0.1);
    border-left: 4px solid var(--red);
    color: var(--red-dark);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
}

.st-thanks {
    text-align: center;
    padding: 2rem 1rem;
}

.st-thanks h3 {
    color: var(--blue);
    font-weight: 800;
    font-size: 1.6rem;
}

.st-org-link {
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1.5rem 2rem;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
    color: #fff;
}

.st-org-link h3 {
    color: #fff;
    font-weight: 800;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    margin: 0;
}

@media (max-width: 991.98px) {
    .st-contact { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
    .st-person { grid-template-columns: 1fr; }
    .st-person-image { width: 96px; height: 96px; }
    .st-doc { grid-template-columns: 44px 1fr; }
    .st-doc-icon { width: 44px; height: 44px; }
}

/* Ingress i sidhuvud: vänsterställd brödtext under centrerad rubrik */
.st-page-head .st-prose {
    text-align: left;
    max-width: 820px;
    margin: 0 auto;
}


/* =========================================================
   MENY (NavMenu.razor)
   ========================================================= */

.st-nav {
    --blue: #004b6c;
    --teal: #086370;
    --red: #81454a;
    --red-dark: #5e2f33;
    --ink: #1f2a33;
    --ease: cubic-bezier(.2, .7, .2, 1);
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 75, 108, 0.1);
    box-shadow: 0 2px 18px rgba(0, 75, 108, 0.08);
    font-family: Roboto, Verdana, sans-serif;
}

.st-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 76px;
}

.st-nav-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0.5rem 0;
}

.st-nav-brand img {
    height: 46px;
    width: auto;
    display: block;
}

.st-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.st-nav-link {
    position: relative;
    display: inline-block;
    padding: 0.6rem 0.9rem;
    color: var(--blue);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color .2s var(--ease);
}

.st-nav-link::after {
    content: "";
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.3rem;
    height: 3px;
    border-radius: 999px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease);
}

.st-nav-link:hover,
.st-nav-link:focus-visible,
.st-nav-link.active {
    color: var(--teal);
    text-decoration: none;
}

.st-nav-link:hover::after,
.st-nav-link:focus-visible::after,
.st-nav-link.active::after {
    transform: scaleX(1);
}

.st-nav-cta { margin-left: 0.75rem; }

.st-btn-sm {
    min-width: 0;
    padding: 0.6rem 1.4rem;
    font-size: 0.82rem;
}

/* Hamburgare */
.st-nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 12px;
    background: rgba(0, 75, 108, 0.08);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.st-nav-toggle span {
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--blue);
    transition: transform .25s var(--ease), opacity .25s var(--ease);
}

.st-nav-open .st-nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.st-nav-open .st-nav-toggle span:nth-child(2) { opacity: 0; }
.st-nav-open .st-nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991.98px) {
    .st-nav-inner { min-height: 68px; }
    .st-nav-brand img { height: 38px; }
    .st-nav-toggle { display: flex; }

    .st-nav-menu {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: #fff;
        border-bottom: 1px solid rgba(0, 75, 108, 0.1);
        box-shadow: 0 18px 40px rgba(0, 75, 108, 0.15);
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s var(--ease);
    }

    .st-nav-open .st-nav-menu { max-height: 520px; }

    .st-nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.75rem 1rem 1.25rem;
    }

    .st-nav-link {
        display: block;
        padding: 0.9rem 0.5rem;
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(0, 75, 108, 0.08);
    }

    .st-nav-link::after { display: none; }

    .st-nav-cta {
        margin: 1rem 0 0;
    }

    .st-nav-cta .st-btn { width: 100%; }
}

/* =========================================================
   SIDFOT (MainFooter.razor)
   ========================================================= */

.st-footer {
    --blue: #004b6c;
    --teal: #086370;
    --red: #81454a;
    --ease: cubic-bezier(.2, .7, .2, 1);
    background: linear-gradient(160deg, #034b6c 0%, #003a54 60%, #062e3f 100%);
    color: rgba(255, 255, 255, 0.85);
    font-family: Roboto, Verdana, sans-serif;
    padding: clamp(3rem, 6vw, 5rem) 0 1.5rem;
    position: relative;
}

.st-footer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--red) 0%, var(--teal) 100%);
}

.st-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.6fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.st-footer-wordmark {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1;
    margin-bottom: 1rem;
}

.st-footer-wordmark span {
    display: block;
    font-weight: 300;
    letter-spacing: 0.08em;
    font-size: 1.1rem;
    margin-top: 0.2rem;
    color: rgba(255, 255, 255, 0.85);
}

.st-footer-about p {
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0 0 1.25rem;
}

.st-footer-social {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: background .25s var(--ease), border-color .25s var(--ease);
}

.st-footer-social:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
    text-decoration: none;
}

.st-footer-heading {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 1.1rem;
    padding-bottom: 0.6rem;
    position: relative;
}

.st-footer-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 3px;
    border-radius: 999px;
    background: var(--red);
}

.st-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.st-footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color .2s var(--ease), transform .2s var(--ease);
}

.st-footer-links a i {
    width: 1.1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.st-footer-links a:hover {
    color: #fff;
    transform: translateX(3px);
    text-decoration: none;
}

.st-footer-shields {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem 1rem;
}

.st-footer-shields li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}

.st-footer-shields img {
    height: 34px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.st-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1.25rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}

.st-footer-top {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 700;
}

.st-footer-top:hover { color: #fff; text-decoration: none; }

@media (max-width: 991.98px) {
    .st-footer-grid { grid-template-columns: 1fr 1fr; }
    .st-footer-about { grid-column: 1 / -1; }
    .st-footer-munis { grid-column: 1 / -1; }
}

@media (max-width: 575.98px) {
    .st-footer-grid { grid-template-columns: 1fr; }
    .st-footer-shields { grid-template-columns: repeat(2, 1fr); }
}
