:root {
    --bg-color: #FAFAF9;
    --text-color: #1C1917;
    --accent-color: #2563EB;
    --accent-hover: #1D4ED8;
    --card-bg: #FFFFFF;
    --border-color: #E5E5E5;
    --muted: #47566C;
    --muted-soft: #64748B;
    --text-strong: #0F1B2D;
    --surface-tint: #F4F8FF;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: #FFFFFF;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: var(--accent-color);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #F0F9FF 0%, #FAFAF9 100%);
    padding: 100px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #4B5563;
    margin-bottom: 40px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-alt {
    background-color: #FFFFFF;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 700;
}

/* Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Cards */
.card {
    background-color: var(--card-bg);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card p {
    color: #4B5563;
}

/* About */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    text-align: center;
    color: #374151;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 20px;
    color: #4B5563;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Forms */
.contact-form {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.alert-success {
    background-color: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.alert-error {
    background-color: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* Footer */
.site-footer {
    background-color: #1C1917;
    color: #D1D5DB;
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.9rem;
    color: #9CA3AF;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #D1D5DB;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .main-nav {
        display: none; /* Simplified for foundation, could add hamburger later */
    }
}

/* ===== TVP brand / header refinements ===== */
.brand-logo{
    height: 44px;
    width: auto;
    display: inline-block;
    object-fit: contain;
    background: #fff;
    border-radius: 10px;
}
.brand-name{
    margin-left: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    color: var(--text-color);
}
.nav-toggle{
    display: none;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    width: 44px;
    height: 44px;
    padding: 10px;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    align-items: center;
}
.nav-toggle span{
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-color);
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}
.main-nav{
    display: flex;
    align-items: center;
    gap: 28px;
}
.main-nav a{
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.98rem;
    position: relative;
    padding: 6px 0;
    transition: color .18s ease;
}
.main-nav a:hover{ color: var(--accent-color); }
.main-nav a.is-active{ color: var(--accent-color); font-weight: 600; }
.main-nav a.is-active::after{
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 2px;
}
.nav-cta{
    padding: 10px 22px;
    font-size: 0.95rem;
}
.nav-cta:hover{ color: #fff; }

/* Hero: warm, locally-trusted */
.hero{
    position: relative;
    background:
        radial-gradient(1200px 500px at 80% -10%, rgba(37, 99, 235, .12), transparent 60%),
        radial-gradient(900px 400px at 10% 0%, rgba(37, 99, 235, .06), transparent 55%),
        linear-gradient(180deg, #F4F8FF 0%, #FAFAF9 100%);
    padding: 110px 0 110px;
    text-align: center;
    overflow: hidden;
}
.hero::before{
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(37, 99, 235, .10) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: .35;
    pointer-events: none;
    mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 80%, transparent 100%);
}
.hero-content{ position: relative; max-width: 860px; }
.hero-eyebrow{
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 18px;
}
.hero h1{
    font-size: clamp(2.4rem, 5.4vw, 3.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 22px;
    color: #0F1B2D;
}
.hero-subtitle{
    font-size: 1.2rem;
    color: #47566C;
    max-width: 720px;
    margin: 0 auto 36px;
}
.hero-actions{
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-ghost{
    background: transparent;
    color: var(--accent-color);
    border: 1px solid rgba(37, 99, 235, .35);
}
.btn-ghost:hover{
    background: rgba(37, 99, 235, .08);
    color: var(--accent-hover);
    transform: translateY(-2px);
}

/* Page hero for subpages */
.page-hero{
    position: relative;
    background:
        radial-gradient(800px 300px at 90% -10%, rgba(37, 99, 235, .18), transparent 60%),
        linear-gradient(180deg, #EAF1FF 0%, #F5F9FF 100%);
    padding: 70px 0 56px;
    border-bottom: 1px solid rgba(15, 27, 45, .08);
    color: #0B1626;
}
.page-hero h1{
    font-size: clamp(2.2rem, 4.8vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 14px;
    color: #0B1626;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
}
.page-hero-sub{
    font-size: 1.12rem;
    color: #47566C;
    max-width: 760px;
    line-height: 1.6;
}
.breadcrumb{
    font-size: 0.9rem;
    color: #64748B;
    margin-bottom: 18px;
    display: flex;
    gap: 10px;
    align-items: center;
}
.breadcrumb a{ color: var(--accent-color); text-decoration: none; }
.breadcrumb a:hover{ text-decoration: underline; }
.breadcrumb .is-current{ color: #334155; font-weight: 600; }

/* Section headings */
.section{ padding: 88px 0; }
.section-title{
    text-align: center;
    font-size: clamp(1.8rem, 3.4vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: 14px;
    color: #0F1B2D;
}
.section-lede{
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
    color: #47566C;
    font-size: 1.08rem;
    line-height: 1.65;
}
.section-cta{
    text-align: center;
    margin-top: 50px;
}
.h2-section{
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: 18px;
    color: #0F1B2D;
}
.body-lg{
    font-size: 1.08rem;
    line-height: 1.7;
    color: #374151;
    max-width: 620px;
}
.eyebrow{
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 12px;
    display: block;
}

/* Policy cards grid (6 across 3 on desktop) */
.priorities-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.priority-card{
    background: #fff;
    border: 1px solid #E7ECF3;
    border-radius: 16px;
    padding: 32px 28px;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.priority-card::before{
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--accent-color), #60A5FA);
    opacity: 0;
    transition: opacity .2s ease;
}
.priority-card:hover{
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, .35);
    box-shadow: 0 18px 36px -18px rgba(37, 99, 235, .25);
}
.priority-card:hover::before{ opacity: 1; }
.priority-icon{
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #EFF5FF, #DCEBFF);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    border: 1px solid #D6E6FF;
}
.priority-card h2{
    font-size: 1.22rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0F1B2D;
}
.priority-card p{
    color: #47566C;
    font-size: 0.98rem;
    line-height: 1.65;
    margin: 0;
}

/* Valprogram (full manifesto) */
.valprogram{
    background: #FFFFFF;
    border: 1px solid #E7ECF3;
    border-radius: 20px;
    padding: 44px 40px 40px;
    box-shadow: 0 18px 40px -28px rgba(15, 27, 45, .18);
}
.valprogram-head{
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #E7ECF3;
}
.valprogram-eyebrow{
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent-color, #2563EB);
    background: rgba(37, 99, 235, .08);
    border: 1px solid rgba(37, 99, 235, .25);
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.valprogram h2{
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    letter-spacing: -0.015em;
    color: #0F1B2D;
    margin-bottom: 10px;
}
.valprogram-lede{
    color: #47566C;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}
.valprogram-list{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    counter-reset: valprogram;
}
.valprogram-item{
    counter-increment: valprogram;
    display: flex;
    gap: 18px;
    padding: 24px 26px;
    background: linear-gradient(180deg, #F8FAFF 0%, #FFFFFF 100%);
    border: 1px solid #E7ECF3;
    border-radius: 14px;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.valprogram-item:hover{
    border-color: rgba(37, 99, 235, .35);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -22px rgba(37, 99, 235, .35);
}
.valprogram-item::before{
    content: counter(valprogram, decimal-leading-zero);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--accent-color, #2563EB);
    align-self: flex-start;
    margin-top: 2px;
}
.valprogram-icon{
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #EFF5FF, #DCEBFF);
    border: 1px solid #D6E6FF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex: none;
}
.valprogram-content{ flex: 1; min-width: 0; }
.valprogram-content h3{
    font-size: 1.18rem;
    font-weight: 700;
    color: #0F1B2D;
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}
.valprogram-body{
    color: #334155;
    font-size: .99rem;
    line-height: 1.7;
    white-space: normal;
}
.valprogram-body br{ display: block; content: ""; margin-top: .55em; }

/* Princip section */
.princip-princip{
    max-width: 880px;
    margin: 0 auto;
    background:
        radial-gradient(600px 300px at 0% 0%, rgba(37, 99, 235, .08), transparent 60%),
        #FFFFFF;
    border: 1px solid #E7ECF3;
    border-radius: 20px;
    padding: 56px 48px;
    text-align: center;
    position: relative;
}
.princip-rubrik h2{
    font-size: clamp(1.5rem, 3.2vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: 22px;
    color: #0F1B2D;
}
.princip-text{
    font-size: 1.12rem;
    line-height: 1.75;
    color: #374151;
    max-width: 720px;
    margin: 0 auto 32px;
}

/* Transparens lofte block */
.lofte-block{
    background: #fff;
    border: 1px solid #E7ECF3;
    border-radius: 20px;
    padding: 56px 44px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 48px -32px rgba(15, 23, 42, .18);
}
.lofte-block::before{
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), #60A5FA 30%, #93C5FD 70%, var(--accent-color));
    background-size: 200% 100%;
    animation: lofte-shift 14s ease-in-out infinite;
}
@keyframes lofte-shift{
    0%, 100% { background-position: 0% 0; }
    50% { background-position: 100% 0; }
}
@media (prefers-reduced-motion: reduce){
    .lofte-block::before{ animation: none; }
}
.lofte-head{
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 36px;
}
.lofte-head h2{
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    color: #0F1B2D;
    margin: 0;
}
.lofte-badge{
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #DCFCE7, #86EFAC);
    color: #166534;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid #86EFAC;
}
.lofte-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.lofte-card{
    border: 1px solid #E7ECF3;
    border-radius: 14px;
    padding: 28px 24px;
    background: #FBFDFF;
}
.lofte-icon{
    font-size: 1.8rem;
    margin-bottom: 14px;
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #EFF5FF;
    align-items: center;
    justify-content: center;
    border: 1px solid #D6E6FF;
}
.lofte-card h3{
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0F1B2D;
}
.lofte-card p{
    color: #47566C;
    font-size: 0.98rem;
    line-height: 1.65;
    margin: 0;
}

/* Kontaktpage layout: form left, contact info right */
.contact-page-grid{ align-items: start; }
.contact-page-grid .contact-form{ margin-top: 6px; }

/* Two-col feature on home + transparency bottom */
.two-col{
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
}
.feature-visual .visual-card{
    background: #fff;
    border: 1px solid #E7ECF3;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 24px 48px -28px rgba(15, 23, 42, .18);
    transform: rotate(-1.2deg);
    transition: transform .25s ease;
}
.feature-visual .visual-card:hover{ transform: rotate(0deg); }
.visual-row{
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 6px;
    border-bottom: 1px dashed #E7ECF3;
    font-weight: 600;
    color: #1F2937;
}
.visual-row:last-child{ border-bottom: 0; }
.visual-row span:first-child{
    font-size: 1.4rem;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #EFF5FF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

/* Contact card mini (used on home + kontakt) */
.contact-card-mini{
    background: #FBFDFF;
    border: 1px solid #DCEBFF;
    border-radius: 14px;
    padding: 20px;
    margin-top: 24px;
    font-size: 0.96rem;
}
.contact-card-mini p{ color: #374151; margin-bottom: 10px; }
.contact-card-mini ul{ list-style: none; padding: 0; margin: 0; }
.contact-card-mini li{ margin-bottom: 8px; }
.contact-card-mini a{ color: var(--accent-color); font-weight: 600; text-decoration: none; }
.contact-card-mini a:hover{ text-decoration: underline; }

/* Kontakta card (transparency) */
.kontakta-card{
    background: #fff;
    border: 1px solid #E7ECF3;
    border-radius: 18px;
    padding: 32px 28px;
    box-shadow: 0 24px 48px -32px rgba(15, 23, 42, .16);
}
.kontakta-card h3{
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: #0F1B2D;
}
.kontakta-card p{
    color: #47566C;
    line-height: 1.65;
    margin-bottom: 22px;
}

/* Footer refinements */
.site-footer{
    background: #0F1B2D;
    color: #D1D5DB;
    padding: 56px 0 28px;
    margin-top: 80px;
}
.footer-inner{
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 36px;
}
.footer-logo-link{
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 14px;
}
.footer-logo{
    height: 42px;
    width: auto;
    background: #fff;
    border-radius: 8px;
    padding: 4px;
}
.footer-brand p{
    color: #94A3B8;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}
.footer-col h4{
    color: #fff;
    font-size: 0.95rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-weight: 700;
}
.footer-col ul{ list-style: none; padding: 0; margin: 0; }
.footer-col li{ margin-bottom: 10px; }
.footer-col a{
    color: #C8D1DC;
    text-decoration: none;
    transition: color .15s ease;
}
.footer-col a:hover{ color: #fff; }
.footer-base{
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: 22px;
}
.footer-base .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #94A3B8;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-base a{ color: #94A3B8; text-decoration: none; }
.footer-base a:hover{ color: #fff; }

/* Form hint */
.form-hint{
    font-size: 0.85rem;
    color: #6B7280;
    margin-top: 14px;
}

/* Map section on kontakt */
.section-map{
    padding: 60px 0 36px;
    background: linear-gradient(180deg, #F4F8FF 0%, #FAFAF9 100%);
    border-bottom: 1px solid rgba(15, 23, 42, .06);
}
.map-frame{
    position: relative;
    border: 1px solid #E7ECF3;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 48px -32px rgba(15, 23, 42, .18);
    background: #EEF3FA;
}
.map-frame iframe{
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}
.map-caption{
    margin-top: 16px;
    color: #47566C;
    font-size: 0.95rem;
    text-align: center;
}
.map-caption a{ color: var(--accent-color); text-decoration: none; }
.map-caption a:hover{ text-decoration: underline; }

/* Engage steps */
.engage-steps{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    counter-reset: engage-step;
}
.engage-step{
    position: relative;
    background: #fff;
    border: 1px solid #E7ECF3;
    border-radius: 18px;
    padding: 36px 30px 32px;
    text-align: left;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    overflow: hidden;
}
.engage-step::before{
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), #93C5FD);
    opacity: 0;
    transition: opacity .2s ease;
}
.engage-step:hover{
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, .35);
    box-shadow: 0 18px 36px -18px rgba(37, 99, 235, .25);
}
.engage-step:hover::before{ opacity: 1; }
.engage-step-num{
    position: absolute;
    top: 22px;
    right: 26px;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(37, 99, 235, .12);
    letter-spacing: -0.02em;
    user-select: none;
}
.engage-step-icon{
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #EFF5FF, #DCEBFF);
    border: 1px solid #D6E6FF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 18px;
}
.engage-step h2{
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0F1B2D;
    letter-spacing: -0.01em;
}
.engage-step p{
    color: #47566C;
    font-size: 0.98rem;
    line-height: 1.65;
    margin: 0;
}

/* Engage form */
.engage-form-wrap{
    background: #fff;
    border: 1px solid #E7ECF3;
    border-radius: 20px;
    padding: 48px 44px;
    box-shadow: 0 24px 48px -32px rgba(15, 23, 42, .16);
    max-width: 980px;
    margin: 0 auto;
}
.engage-form-head{
    margin-bottom: 30px;
}
.engage-form-head .section-lede{
    text-align: left;
    margin: 0;
    max-width: 720px;
}
.engage-form-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 22px;
    margin-bottom: 18px;
}
.engage-form-details{
    grid-column: 1 / -1;
}
.engage-form-wrap select{
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #E7ECF3;
    border-radius: 10px;
    background: #fff;
    color: #1C1917;
    font: inherit;
}
.engage-form-wrap select:focus{
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

/* Om-oss history block */
.om-history{
    max-width: 880px;
    margin: 0 auto;
}
.om-history-text{
    max-width: 760px;
    margin-bottom: 36px;
}
.timeline-mini{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 28px;
}
.timeline-item{
    background: #FBFDFF;
    border: 1px solid #E7ECF3;
    border-radius: 14px;
    padding: 24px 22px;
    position: relative;
}
.timeline-item::before{
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #93C5FD);
    border-radius: 14px 14px 0 0;
    opacity: .5;
}
.timeline-year{
    display: inline-block;
    font-size: 0.74rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
}
.timeline-item p{
    margin: 0;
    color: #374151;
    font-size: 0.97rem;
    line-height: 1.6;
}

/* About text block */
.about-text-block .body-lg{
    margin-bottom: 18px;
}

/* Responsive tweaks for new sections */
@media (max-width: 992px){
    .engage-steps{ grid-template-columns: repeat(2, 1fr); }
    .timeline-mini{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px){
    .engage-steps{ grid-template-columns: 1fr; }
    .timeline-mini{ grid-template-columns: 1fr; }
    .engage-form-wrap{ padding: 30px 22px; }
    .engage-form-grid{ grid-template-columns: 1fr; }
    .engage-form-details{ grid-column: auto; }
    .map-frame iframe{ height: 320px; }
    .section-map{ padding: 40px 0 24px; }
}

/* Responsive */
@media (max-width: 992px){
    .priorities-grid{ grid-template-columns: repeat(2, 1fr); }
    .lofte-grid{ grid-template-columns: repeat(2, 1fr); }
    .two-col{ grid-template-columns: 1fr; gap: 36px; }
    .footer-inner{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px){
    .nav-toggle{ display: flex; }
    .main-nav{
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 12px 20px 24px;
        display: none;
        box-shadow: 0 12px 24px -16px rgba(15, 23, 42, .18);
    }
    .main-nav.open{ display: flex; }
    .main-nav a{
        padding: 12px 0;
        width: 100%;
        border-bottom: 1px dashed #EEF2F7;
    }
    .main-nav a.is-active::after{ display: none; }
    .main-nav .nav-cta{
        margin-top: 14px;
        width: auto;
        border: 0;
    }
    .hero{ padding: 70px 0 80px; }
    .section{ padding: 64px 0; }
    .priorities-grid{ grid-template-columns: 1fr; }
    .lofte-grid{ grid-template-columns: 1fr; }
    .lofte-block{ padding: 36px 24px; }
    .princip-princip{ padding: 36px 24px; }
    .footer-inner{ grid-template-columns: 1fr; gap: 28px; text-align: left; }
    .footer-base .container{ justify-content: flex-start; }
    .feature-visual .visual-card{ transform: none; }
}

/* ===== News (Aktuellt) ===== */
.news-list{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.news-card{
    background: #fff;
    border: 1px solid #E7ECF3;
    border-radius: 18px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    position: relative;
}
.news-card:hover{
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, .35);
    box-shadow: 0 22px 44px -22px rgba(37, 99, 235, .25);
}
.news-card-link{
    display: block;
    text-decoration: none;
    color: inherit;
}
.news-card-image{
    height: 200px;
    background: linear-gradient(135deg, #EAF1FF 0%, #F8FAFF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid #EEF2F7;
}
.news-card-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-card-fallback{
    font-size: 3.2rem;
    opacity: .5;
}
.news-card-body{
    padding: 24px 26px 28px;
}
.news-card-date{
    display: inline-block;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 12px;
}
.news-card-title{
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.012em;
    color: #0F1B2D;
    margin-bottom: 12px;
    line-height: 1.25;
}
.news-card-excerpt{
    color: #47566C;
    font-size: .97rem;
    line-height: 1.65;
    margin-bottom: 18px;
}
.news-card-more{
    color: var(--accent-color);
    font-weight: 600;
    font-size: .92rem;
}
.news-card:hover .news-card-more{
    text-decoration: underline;
}
.empty-state{
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 30px;
    background: #fff;
    border: 1px dashed #D6DEE8;
    border-radius: 18px;
}
.empty-state h2{
    color: #0F1B2D;
    margin-bottom: 12px;
}
.empty-state p{
    color: #47566C;
}

/* News article detail */
.news-article{
    max-width: 820px;
    margin: 0 auto;
}
.news-article-figure{
    margin: 0 0 36px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #E7ECF3;
    box-shadow: 0 22px 48px -32px rgba(15, 23, 42, .25);
}
.news-article-figure img{
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}
.news-article-body{
    font-size: 1.08rem;
    line-height: 1.85;
    color: #1F2A3A;
}
.news-article-body p{
    margin-bottom: 1.2em;
}
.news-article-body h2,
.news-article-body h3{
    color: #0F1B2D;
    margin: 1.4em 0 .5em;
}
.news-article-body ul,
.news-article-body ol{
    margin: 0 0 1.2em 1.3em;
}
.news-article-body strong{
    color: #0F1B2D;
}
.news-article-back{
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #EEF2F7;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ===== Legal pages (Integritet / Tillgänglighet) ===== */
.legal-wrap{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
    align-items: start;
}
.legal-card{
    background: #fff;
    border: 1px solid #E7ECF3;
    border-radius: 22px;
    padding: 52px 56px;
    box-shadow: 0 24px 48px -32px rgba(15, 23, 42, .18);
    position: relative;
    overflow: hidden;
}
.legal-card::before{
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), #60A5FA 35%, #93C5FD 70%, var(--accent-color));
    background-size: 200% 100%;
    animation: lofte-shift 14s ease-in-out infinite;
}
.legal-h2{
    font-size: clamp(1.3rem, 2.4vw, 1.7rem);
    font-weight: 700;
    letter-spacing: -0.012em;
    color: #0F1B2D;
    margin: 36px 0 14px;
    padding-top: 28px;
    border-top: 1px solid #EEF2F7;
}
.legal-h2:first-child{
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}
.legal-card p{
    color: #374151;
    font-size: 1.02rem;
    line-height: 1.75;
    margin-bottom: 14px;
}
.legal-card ul{
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}
.legal-card ul li{
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    color: #374151;
    line-height: 1.7;
}
.legal-card ul li::before{
    content: "";
    position: absolute;
    left: 4px;
    top: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
}
.legal-card a{
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}
.legal-card a:hover{
    text-decoration: underline;
}
.legal-meta{
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #EEF2F7;
    color: #64748B;
    font-size: .95rem;
}
.legal-side{
    background: linear-gradient(180deg, #F4F8FF, #FFFFFF);
    border: 1px solid #E7ECF3;
    border-radius: 18px;
    padding: 32px 28px;
    position: sticky;
    top: 100px;
}
.legal-side h3{
    font-size: 1.1rem;
    font-weight: 700;
    color: #0F1B2D;
    margin-bottom: 14px;
}
.legal-side p{
    color: #47566C;
    font-size: .95rem;
    line-height: 1.65;
    margin-bottom: 18px;
}
.legal-contact-list{
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}
.legal-contact-list li{
    margin-bottom: 10px;
    color: #374151;
    font-size: .95rem;
}
.legal-contact-list a{
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}
.legal-contact-list a:hover{
    text-decoration: underline;
}
.legal-links{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.legal-links .btn{
    width: 100%;
}
@media (max-width: 992px){
    .news-list{ grid-template-columns: 1fr; }
    .legal-wrap{ grid-template-columns: 1fr; }
    .legal-card{ padding: 36px 28px; }
    .legal-side{ position: static; }
}
@media (prefers-reduced-motion: reduce){
    .legal-card::before{ animation: none; }
    .news-card{ transition: none; }
    .candidate-card{ transition: none; }
    .candidate-card .candidate-card-photo img{ transition: none; }
}

/* ===== Kandidater (candidate list + detail) ===== */
.candidates-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}
@media (min-width: 601px){
    .candidates-grid.candidate-grid-solo{
        grid-template-columns: minmax(0, 1fr);
        max-width: 920px;
        margin: 0 auto;
    }
}
.candidate-card{
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 30px -24px rgba(15, 23, 42, .22);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.candidate-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 28px 56px -36px rgba(15, 23, 42, .32);
    border-color: rgba(37, 99, 235, .35);
}
.candidate-card::before{
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, #2563EB 0%, #10B981 55%, #F59E0B 100%);
    opacity: 0;
    transition: opacity .25s ease;
}
.candidate-card:hover::before{ opacity: 1; }
.candidate-card-link{
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}
.candidate-card-photo{
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: linear-gradient(160deg, #EEF3FA 0%, #E1E9F5 100%);
}
.candidate-card-photo img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform .45s ease;
}
.candidate-card:hover .candidate-card-photo img{
    transform: scale(1.05);
}
.candidate-fallback{
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(37, 99, 235, .18);
    letter-spacing: -0.02em;
}
.candidate-card-body{
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.candidate-name{
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.2;
}
.candidate-role{
    display: inline-block;
    align-self: flex-start;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1D4ED8;
    background: rgba(37, 99, 235, 0.1);
    padding: 4px 10px;
    border-radius: 999px;
}
.candidate-district{
    font-size: 0.9rem;
    color: var(--muted);
}
.candidate-bio{
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.55;
    margin: 4px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.candidate-interest{
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-color);
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed rgba(15, 23, 42, 0.12);
}
.eyebrow-sm{
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94A3B8;
}
.candidate-more{
    margin-top: 12px;
    font-weight: 600;
    color: var(--accent-color);
}
.candidate-more-box{
    margin-top: 14px;
    border-top: 1px dashed rgba(15, 23, 42, 0.12);
    padding-top: 4px;
}
.candidate-more-box summary.candidate-more{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: color .2s ease;
}
.candidate-more-box summary.candidate-more::-webkit-details-marker{ display: none; }
.candidate-more-box summary.candidate-more:focus-visible{
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
    border-radius: 6px;
}
.candidate-more-caret{
    position: relative;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    transform: rotate(45deg);
    transition: transform .3s ease;
    flex-shrink: 0;
    margin-top: -4px;
}
.candidate-more-box[open] .candidate-more-caret{
    transform: rotate(-135deg);
    margin-top: 4px;
}
.candidate-more-panel{
    margin-top: 14px;
    padding: 18px 18px 6px;
    background: linear-gradient(160deg, rgba(37, 99, 235, 0.05), rgba(16, 185, 129, 0.04));
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 14px;
    animation: candidate-more-in .35s ease both;
}
@keyframes candidate-more-in{
    from{ opacity: 0; transform: translateY(-6px); }
    to{ opacity: 1; transform: translateY(0); }
}
.candidate-statement-title{
    margin: 0 0 12px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.35;
}
.candidate-statement-para{
    margin: 0 0 12px;
    font-size: 0.93rem;
    line-height: 1.6;
    color: var(--text-color);
}
.candidate-statement-para:last-child{ margin-bottom: 4px; }
.candidate-statement-closing{
    margin: 4px 0 0;
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.55;
}

/* Candidate detail */
.candidate-detail{
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 48px;
    align-items: start;
}
.candidate-detail-photo{
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(160deg, #EEF3FA 0%, #E1E9F5 100%);
    box-shadow: 0 30px 60px -40px rgba(15, 23, 42, .35);
    border: 1px solid var(--border-color);
}
.candidate-detail-photo img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.candidate-detail-photo .candidate-fallback{ font-size: 7rem; }
.candidate-detail-body{ display: flex; flex-direction: column; gap: 18px; }
.candidate-detail-body .body-lg{ margin: 0; }
.candidate-interest-block{
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 14px;
    padding: 18px 20px;
}
.candidate-interest-block h3{
    margin: 0 0 4px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #1D4ED8;
}
.candidate-interest-block p{
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-color);
}
.candidate-quote{
    margin: 0;
    padding: 18px 22px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(37, 99, 235, 0.08));
    border-left: 4px solid #10B981;
    border-radius: 12px;
    font-style: italic;
    color: var(--text-color);
}
.candidate-quote p{ margin: 0 0 8px; font-size: 1.1rem; line-height: 1.5; }
.candidate-quote cite{
    display: block;
    font-style: normal;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
}
.candidate-detail-body .section-cta{
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 6px;
}

@media (max-width: 992px){
    .candidates-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .candidate-detail{ grid-template-columns: 1fr; gap: 28px; }
    .candidate-detail-photo{ max-width: 420px; }
}
@media (max-width: 600px){
    .candidates-grid{ grid-template-columns: 1fr; }
    .candidate-detail-photo{ max-width: 100%; }
}

/* Homepage candidate mini-cards */
.candidates-mini{
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.candidate-mini-card{
    display: grid;
    grid-template-columns: 72px 1fr;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: 0 8px 20px -18px rgba(15, 23, 42, .25);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.candidate-mini-card:hover{
    transform: translateX(4px);
    border-color: rgba(37, 99, 235, .35);
    box-shadow: 0 16px 32px -24px rgba(15, 23, 42, .32);
}
.candidate-mini-photo{
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(160deg, #EEF3FA 0%, #E1E9F5 100%);
    flex-shrink: 0;
}
.candidate-mini-photo img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.candidate-mini-fallback{
    display: grid;
    place-items: center;
    font-size: 2rem;
    font-weight: 800;
    color: rgba(37, 99, 235, .3);
}
.candidate-mini-info{
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.candidate-mini-info strong{
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.candidate-mini-info em{
    font-style: normal;
    font-size: 0.85rem;
    color: var(--muted);
}

/* ============================================================
   Premium polish pass: scoped, high-specificity overrides
   - Stronger hero + page-hero atmosphere with a subtle animated
     accent line (respects prefers-reduced-motion).
   - Buttons: explicit white text on a confident blue surface,
     darker hover, focus ring.
   - Nav: explicit dark text + readable active underline that
     does not dim the label.
   - Cards: explicit dark text, readable muted body, refined
     hover.
   - Section-alt: explicit dark foreground.
   - Forms: explicit input text + readable placeholder.
   - Footer: stronger brand + link contrast.
   - Candidate cards: explicit bio/closing/role contrast.
   - Candidate more panel: stronger background + readable text.
   ============================================================ */

/* --- Buttons --- */
.btn.btn-primary{
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #FFFFFF !important;
    box-shadow: 0 6px 16px -8px rgba(37, 99, 235, .55);
    letter-spacing: .005em;
    border: 0;
}
.btn.btn-primary:hover{
    background: linear-gradient(135deg, #1D4ED8 0%, #1E3A8A 100%);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px -10px rgba(30, 58, 138, .6);
}
.btn.btn-primary:focus-visible{
    outline: 2px solid #1D4ED8;
    outline-offset: 3px;
}
.btn-ghost.btn-primary{
    background: transparent !important;
    color: var(--accent-hover) !important;
    border: 1px solid rgba(37, 99, 235, .35) !important;
    box-shadow: none !important;
}
.btn-ghost.btn-primary:hover{
    background: rgba(37, 99, 235, .08) !important;
    color: var(--accent-hover) !important;
    box-shadow: none !important;
}
.nav-cta.btn-primary{
    background: var(--accent-color) !important;
    box-shadow: 0 4px 10px -6px rgba(37, 99, 235, .45);
}
.nav-cta.btn-primary:hover{
    background: var(--accent-hover) !important;
    color: #fff !important;
}

/* --- Header / nav --- */
.site-header{
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: saturate(140%) blur(8px);
    backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid rgba(15, 27, 45, .08);
    color: var(--text-color);
}
.main-nav{ color: var(--text-color); }
.main-nav a{
    color: #1F2937;
    font-weight: 600;
}
.main-nav a:hover{ color: var(--accent-hover); }
.main-nav a.is-active{
    color: var(--accent-hover);
    font-weight: 700;
    position: relative;
    z-index: 1;
}
.main-nav a.is-active::after{
    content: "";
    position: absolute;
    left: -2px;
    right: -2px;
    bottom: -6px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #60A5FA);
    border-radius: 3px;
    z-index: -1;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .8);
}
.brand-name{ color: var(--text-color); }
.brand-logo{ filter: none; }

/* --- Hero (home) --- */
.hero{
    background:
        radial-gradient(1100px 460px at 82% -12%, rgba(37, 99, 235, .20), transparent 60%),
        radial-gradient(900px 380px at 6% 6%, rgba(16, 185, 129, .10), transparent 55%),
        radial-gradient(700px 320px at 50% 110%, rgba(245, 158, 11, .08), transparent 60%),
        linear-gradient(180deg, #EAF2FF 0%, #F5F9FF 60%, #FAFAF9 100%);
    color: var(--text-strong);
    position: relative;
    overflow: hidden;
}
.hero::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-color) 25%, #10B981 50%, #F59E0B 75%, transparent 100%);
    background-size: 200% 100%;
    animation: hero-line-shift 16s ease-in-out infinite;
    opacity: .85;
    pointer-events: none;
}
@keyframes hero-line-shift{
    0%, 100% { background-position: 0% 0; }
    50% { background-position: 100% 0; }
}
@media (prefers-reduced-motion: reduce){
    .hero::after{ animation: none; }
}
.hero-content{ position: relative; z-index: 1; }
.hero h1{
    color: #0F1B2D;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
}
.hero-subtitle{ color: #334155; }
.hero .btn{ position: relative; z-index: 1; }
.hero-eyebrow{
    color: var(--accent-hover);
    font-weight: 700;
    letter-spacing: .22em;
    background: rgba(255, 255, 255, .65);
    border: 1px solid rgba(37, 99, 235, .18);
    padding: 6px 14px;
    border-radius: 999px;
    display: inline-block;
}

/* --- Page hero (subpages) --- */
.page-hero{
    background:
        radial-gradient(900px 320px at 88% -10%, rgba(37, 99, 235, .18), transparent 60%),
        radial-gradient(600px 260px at 4% 100%, rgba(16, 185, 129, .10), transparent 60%),
        linear-gradient(180deg, #E7F0FF 0%, #F5F9FF 100%);
    color: var(--text-strong);
    position: relative;
    border-bottom: 1px solid rgba(15, 27, 45, .08);
}
.page-hero::after{
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-color) 30%, #10B981 60%, #F59E0B 90%, transparent 100%);
    opacity: .8;
    pointer-events: none;
}
.page-hero h1{
    color: #0B1626;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
}
.page-hero-sub{ color: #334155; }
.breadcrumb{ color: #475569; }
.breadcrumb a{ color: var(--accent-hover); font-weight: 600; }
.breadcrumb .is-current{ color: #1F2937; font-weight: 700; }

/* --- Sections & headings --- */
.section{ color: var(--text-color); }
.section-alt{
    background: linear-gradient(180deg, #F4F8FF 0%, #FAFAF9 100%);
    color: var(--text-color);
    border-top: 1px solid rgba(15, 27, 45, .05);
    border-bottom: 1px solid rgba(15, 27, 45, .05);
}
.section-title, .h2-section{ color: var(--text-strong); }
.section-lede, .body-lg{ color: #334155; }
.eyebrow{
    color: var(--accent-hover);
    font-weight: 700;
    letter-spacing: .22em;
}

/* --- Cards --- */
.card{
    background: #FFFFFF;
    color: var(--text-color);
    border: 1px solid rgba(15, 27, 45, .06);
    box-shadow: 0 18px 36px -28px rgba(15, 27, 45, .35);
}
.card h3{ color: var(--text-strong); font-weight: 700; }
.card p{ color: #47566C; }
.priority-card{
    color: var(--text-color);
    background: linear-gradient(180deg, #FFFFFF 0%, #FBFDFF 100%);
}
.priority-card::before{ color: transparent; }
.priority-card h2{ color: var(--text-strong); }
.priority-card p{ color: #47566C; }
.lofte-card{ color: var(--text-color); }
.lofte-card h3{ color: var(--text-strong); }
.lofte-card p{ color: #47566C; }
.contact-card-mini{
    color: var(--text-color);
    background: linear-gradient(180deg, #FFFFFF 0%, #F5F9FF 100%);
    border: 1px solid rgba(37, 99, 235, .16);
}
.contact-card-mini p{ color: #334155; }
.contact-card-mini a{ color: var(--accent-hover); font-weight: 600; }
.kontakta-card{
    color: var(--text-color);
    background: linear-gradient(180deg, #FFFFFF 0%, #F5F9FF 100%);
    border: 1px solid rgba(37, 99, 235, .16);
    box-shadow: 0 24px 48px -32px rgba(15, 23, 42, .20);
}
.kontakta-card h3{ color: var(--text-strong); }
.kontakta-card p{ color: #334155; }
.feature-visual .visual-card{
    color: var(--text-color);
    background: #FFFFFF;
    border: 1px solid rgba(37, 99, 235, .18);
    box-shadow: 0 30px 60px -36px rgba(15, 23, 42, .35);
}
.visual-row{ color: #1F2937; }

/* --- Forms --- */
.contact-form{
    color: var(--text-color);
    background: #FFFFFF;
    border: 1px solid rgba(37, 99, 235, .14);
    box-shadow: 0 24px 48px -32px rgba(15, 23, 42, .20);
    padding: 36px;
    border-radius: 20px;
}
.contact-form .form-group label{
    color: #1F2937;
    font-weight: 600;
}
.contact-form .form-group input,
.contact-form .form-group textarea,
.engage-form-wrap input,
.engage-form-wrap textarea,
.engage-form-wrap select{
    background: #FFFFFF;
    color: #0F1B2D;
    border: 1px solid #D6DEE8;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 1rem;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder,
.engage-form-wrap input::placeholder,
.engage-form-wrap textarea::placeholder{
    color: #64748B;
}
.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus,
.engage-form-wrap input:focus,
.engage-form-wrap textarea:focus,
.engage-form-wrap select:focus{
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
    outline: none;
}

/* --- Footer --- */
.site-footer{
    background:
        radial-gradient(700px 280px at 90% -10%, rgba(37, 99, 235, .18), transparent 60%),
        radial-gradient(600px 260px at 5% 110%, rgba(16, 185, 129, .10), transparent 60%),
        #0F1B2D;
    color: #C7D2E2;
}
.footer-logo-link{ color: #FFFFFF; }
.footer-logo-link:hover{ color: #FFFFFF; text-decoration: none; }
.footer-logo{ filter: none; }
.footer-brand p{ color: #94A3B8; }
.footer-col h4{ color: #FFFFFF; }
.footer-col a{ color: #C7D2E2; font-weight: 500; }
.footer-col a:hover{ color: #FFFFFF; }
.footer-col li{ color: #94A3B8; }
.footer-base .container{ color: #94A3B8; }
.footer-base a{ color: #94A3B8; }
.footer-base a:hover{ color: #FFFFFF; }

/* --- News --- */
.news-card{ color: var(--text-color); }
.news-card-image{ color: var(--text-color); }
.news-card-title{ color: var(--text-strong); }
.news-card-excerpt{ color: #47566C; }
.news-card-date{ color: var(--accent-hover); }
.news-card-more{ color: var(--accent-hover); }

/* --- Legal --- */
.legal-card{ color: var(--text-color); }
.legal-card::before{ color: transparent; }
.legal-card p{ color: #374151; }
.legal-card ul li{ color: #374151; }
.legal-card ul li::before{ background: var(--accent-color); color: transparent; }
.legal-card a{ color: var(--accent-hover); }
.legal-h2{ color: var(--text-strong); }
.legal-side{ color: var(--text-color); }
.legal-side h3{ color: var(--text-strong); }
.legal-side p{ color: #47566C; }

/* --- Section map --- */
.section-map{
    color: var(--text-color);
    background:
        radial-gradient(700px 280px at 80% -10%, rgba(37, 99, 235, .10), transparent 60%),
        linear-gradient(180deg, #F4F8FF 0%, #FAFAF9 100%);
}
.map-caption{ color: #334155; }

/* --- Candidate cards --- */
.candidate-card{
    color: var(--text-color);
    background: #FFFFFF;
    border: 1px solid rgba(15, 27, 45, .08);
    box-shadow: 0 22px 44px -30px rgba(15, 23, 42, .28);
}
.candidate-card::before{
    content: "";
    pointer-events: none;
}
.candidate-card-body{ position: relative; z-index: 1; }
.candidate-card-photo{
    background:
        radial-gradient(240px 200px at 30% 20%, rgba(37, 99, 235, .10), transparent 70%),
        linear-gradient(160deg, #EEF3FA 0%, #E1E9F5 100%);
}
.candidate-name{
    color: var(--text-strong);
    font-weight: 800;
    letter-spacing: -0.012em;
}
.candidate-role{
    color: #1D4ED8;
    background: rgba(37, 99, 235, .10);
    border: 1px solid rgba(37, 99, 235, .18);
    font-weight: 700;
}
.candidate-district{ color: #47566C; }
.candidate-bio{
    color: #47566C;
    font-size: 0.95rem;
    line-height: 1.6;
    -webkit-line-clamp: 4;
}
.candidate-interest{ color: var(--text-color); }
.eyebrow-sm{ color: #64748B; }
.candidate-more{ color: var(--accent-hover); font-weight: 700; }
.candidate-more-caret{
    border-right-color: var(--accent-hover);
    border-bottom-color: var(--accent-hover);
}
.candidate-more-box summary.candidate-more{
    color: var(--accent-hover);
}
.candidate-more-panel{
    color: var(--text-color);
    background:
        radial-gradient(400px 160px at 100% 0%, rgba(37, 99, 235, .07), transparent 60%),
        linear-gradient(160deg, rgba(37, 99, 235, 0.07), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 14px;
    padding: 18px 18px 14px;
}
.candidate-statement-title{
    color: var(--text-strong);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}
.candidate-statement-para{
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.7;
}
.candidate-statement-closing{
    color: #47566C;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Candidate mini cards (homepage) */
.candidate-mini-card{
    color: var(--text-color);
    background: #FFFFFF;
    border: 1px solid rgba(15, 27, 45, .06);
}
.candidate-mini-info strong{ color: var(--text-strong); }
.candidate-mini-info em{ color: #47566C; }

/* Candidate detail */
.candidate-detail-body .body-lg{ color: #374151; }
.candidate-interest-block{ color: var(--text-color); }
.candidate-interest-block h3{ color: #1D4ED8; }
.candidate-interest-block p{ color: var(--text-color); }
.candidate-quote{ color: #1F2A3A; }
.candidate-quote cite{ color: #64748B; }

/* Engage steps */
.engage-step{
    color: var(--text-color);
    background: #FFFFFF;
    border: 1px solid rgba(15, 27, 45, .06);
}
.engage-step::before{ color: transparent; }
.engage-step h2{ color: var(--text-strong); }
.engage-step p{ color: #47566C; }
.engage-step-num{ color: rgba(37, 99, 235, .14); }

/* Valprogram */
.valprogram{ color: var(--text-color); }
.valprogram h2{ color: var(--text-strong); }
.valprogram-lede{ color: #47566C; }
.valprogram-content h3{ color: var(--text-strong); }
.valprogram-body{ color: #374151; }

/* Princip */
.princip-princip{ color: var(--text-color); }
.princip-rubrik h2{ color: var(--text-strong); }
.princip-text{ color: #374151; }

/* Loftime block */
.lofte-block{ color: var(--text-color); }
.lofte-head h2{ color: var(--text-strong); }

/* News article */
.news-article-body{ color: #1F2A3A; }
.news-article-back a{ color: var(--accent-hover); font-weight: 600; }

/* Map section link */
.map-caption a{ color: var(--accent-hover); font-weight: 600; }

/* Form hint */
.form-hint{ color: #64748B; }

/* Valprogram list item */
.valprogram-item{ color: var(--text-color); }
.valprogram-item::before{ color: var(--accent-hover); }

/* Nav toggle */
.nav-toggle span{ background: var(--text-color); }

/* Section-map + map caption (final) */
.section-map .container{ color: var(--text-color); }

/* Hero eyebrow pill (small touch) */
.hero .hero-eyebrow{
    color: var(--accent-hover);
}

