:root {
            --primary: #0f4c81;
            --primary-dark: #0a3558;
            --primary-deep: #072944;
            --accent: #2fa6df;
            --accent-light: #7ec8f0;
            --bg-top: #e6f0f7;
            --bg-bottom: #d7e5ef;
            --surface: #ffffff;
            --surface-soft: #f3f8fc;
            --surface-soft-2: #eaf4fa;
            --text: #183348;
            --muted: #5b7183;
            --border: rgba(10, 53, 88, 0.12);
            --border-strong: rgba(10, 53, 88, 0.18);
            --shadow: 0 18px 42px rgba(7, 41, 68, 0.14);
            --shadow-strong: 0 24px 52px rgba(7, 41, 68, 0.22);
            --radius-xl: 34px;
            --radius-lg: 24px;
            --radius-md: 18px;
            --max-width: 1200px;
        }

        * { box-sizing: border-box; }
        html { scroll-behavior: smooth; }

        body {
            margin: 0;
            font-family: Arial, Helvetica, sans-serif;
            color: var(--text);
            line-height: 1.65;
            background:
                radial-gradient(circle at top left, rgba(47, 166, 223, 0.22), transparent 26%),
                radial-gradient(circle at 95% 12%, rgba(15, 76, 129, 0.12), transparent 24%),
                linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 52%, #f4f8fb 100%);
        }

        img { max-width: 100%; display: block; }
        a { color: inherit; text-decoration: none; }

        a:focus-visible,
        button:focus-visible {
            outline: 3px solid rgba(47, 166, 223, 0.45);
            outline-offset: 3px;
        }

        .container {
            width: min(calc(100% - 2rem), var(--max-width));
            margin: 0 auto;
        }

        .site-header {
            position: sticky;
            top: 0;
            z-index: 50;
            backdrop-filter: blur(14px);
            background: rgba(255, 255, 255, 0.92);
            border-bottom: 1px solid rgba(255, 255, 255, 0.6);
            box-shadow: 0 6px 18px rgba(7, 41, 68, 0.05);
        }

        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1.5rem;
            padding: 1rem 0;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 0.85rem;
            font-weight: 700;
            letter-spacing: 0.02em;
            color: var(--primary-dark);
        }

        .brand-mark {
            width: 46px;
            height: 46px;
            border-radius: 50%;
            display: grid;
            place-items: center;
            background: linear-gradient(180deg, #47b7eb 0%, #0f5e98 100%);
            color: #fff;
            font-size: 1.35rem;
            box-shadow: inset 0 2px 8px rgba(255,255,255,0.35), 0 10px 22px rgba(15, 76, 129, 0.25);
        }

        .brand-text { font-size: 1.1rem; }

        .nav {
            display: flex;
            gap: 1.2rem;
            flex-wrap: wrap;
        }

        .nav a {
            color: var(--primary-dark);
            font-weight: 700;
            padding: 0.35rem 0.2rem;
            position: relative;
        }

        .nav a::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -0.15rem;
            width: 100%;
            height: 2px;
            background: var(--accent);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.2s ease;
        }

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

        .hero { padding: 2rem 0 0; }

        .hero-panel {
            position: relative;
            overflow: hidden;
            min-height: 540px;
            border-radius: var(--radius-xl);
            box-shadow: var(--shadow-strong);
            background-color: #96b5cb;
            background-image:
                radial-gradient(circle at 18% 18%, rgba(126, 200, 240, 0.20), transparent 24%),
                linear-gradient(105deg, rgba(7, 41, 68, 0.88) 0%, rgba(10, 53, 88, 0.68) 33%, rgba(15, 76, 129, 0.32) 62%, rgba(255,255,255,0.05) 100%),
                url('../images/dalby-rode-vandvaerk.png');
            background-position: center;
            background-size: cover;
            background-repeat: no-repeat;
        }

        .hero-panel::after {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            height: 120px;
            background:
                radial-gradient(circle at 8% 100%, rgba(255,255,255,0.92) 0 14%, transparent 15%),
                radial-gradient(circle at 18% 100%, rgba(255,255,255,0.82) 0 12%, transparent 13%),
                radial-gradient(circle at 30% 100%, rgba(255,255,255,0.8) 0 13%, transparent 14%),
                radial-gradient(circle at 44% 100%, rgba(255,255,255,0.84) 0 11%, transparent 12%),
                radial-gradient(circle at 58% 100%, rgba(255,255,255,0.75) 0 12%, transparent 13%),
                radial-gradient(circle at 74% 100%, rgba(255,255,255,0.84) 0 13%, transparent 14%),
                radial-gradient(circle at 90% 100%, rgba(255,255,255,0.9) 0 14%, transparent 15%);
            opacity: 0.38;
            pointer-events: none;
        }

        .hero-content {
            position: relative;
            z-index: 1;
            max-width: 620px;
            padding: 4.8rem 3rem 7rem;
            color: #fff;
        }

        .eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 0.95rem;
            border-radius: 999px;
            background: rgba(255,255,255,0.18);
            border: 1px solid rgba(255,255,255,0.22);
            font-size: 0.95rem;
            backdrop-filter: blur(10px);
        }

        .hero h1 {
            margin: 1rem 0 1rem;
            font-size: clamp(2.6rem, 5vw, 4.9rem);
            line-height: 1.03;
            letter-spacing: -0.03em;
        }

        .hero p {
            margin: 0 0 1.8rem;
            font-size: 1.08rem;
            max-width: 54ch;
            color: rgba(255,255,255,0.94);
        }

        .hero-actions {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.98rem 1.45rem;
            border-radius: 999px;
            font-weight: 700;
            transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
            width: auto;
            align-self: flex-start;
        }

        .btn:hover,
        .btn:focus-visible { transform: translateY(-1px); }

        .btn-primary {
            background: linear-gradient(180deg, #0f5e99 0%, #0b4677 100%);
            color: #fff;
            box-shadow: 0 12px 28px rgba(10, 53, 88, 0.30);
        }

        .btn-secondary {
            background: rgba(255,255,255,0.12);
            color: #fff;
            border: 1px solid rgba(255,255,255,0.26);
            backdrop-filter: blur(8px);
        }

        .section { padding: 1.4rem 0 2.5rem; }

        .section-head {
            max-width: 760px;
            margin-bottom: 1.5rem;
        }

        .section-head h2 {
            margin: 0 0 0.55rem;
            font-size: clamp(1.95rem, 3vw, 2.8rem);
            line-height: 1.1;
            color: var(--primary-dark);
        }

        .section-head p { margin: 0; color: var(--muted); }

        .quick-links {
            margin-top: 0;
            position: relative;
            z-index: 3;
        }


        .hero-status-band {
            margin-top: -3.6rem;
            margin-bottom: 1.6rem;
            position: relative;
            z-index: 6;
        }

        .operation-card {
            display: grid;
            grid-template-columns: auto 1fr auto;
            gap: 1.2rem;
            align-items: center;
            padding: 1.35rem 1.6rem;
            background: rgba(255,255,255,0.97);
            border: 1px solid rgba(10, 53, 88, 0.16);
            border-left: 0;
            border-radius: var(--radius-lg);
            box-shadow: 0 22px 50px rgba(7, 41, 68, 0.22);
            backdrop-filter: blur(14px);
        }

        .operation-card.status-warning,
        .operation-card.status-critical {
            border-left: 0;
        }

        .operation-icon {
            width: 54px;
            height: 54px;
            border-radius: 50%;
            display: grid;
            place-items: center;
            background: #2f9e44;
            color: #fff;
            font-size: 1.35rem;
            font-weight: 800;
            box-shadow: 0 12px 24px rgba(47, 158, 68, 0.24);
        }

        .status-warning .operation-icon { background: #f0ad00; box-shadow: 0 12px 24px rgba(240, 173, 0, 0.24); }
        .status-critical .operation-icon { background: #c92a2a; box-shadow: 0 12px 24px rgba(201, 42, 42, 0.24); }

        .operation-label {
            margin: 0 0 0.12rem;
            color: var(--primary);
            font-size: 0.78rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.09em;
        }

        .operation-card h2 {
            margin: 0 0 0.25rem;
            color: var(--primary-dark);
            font-size: clamp(1.35rem, 2vw, 1.75rem);
            line-height: 1.15;
        }

        .operation-card p {
            margin: 0;
            color: var(--muted);
        }

        .operation-updated {
            text-align: right;
            color: var(--muted);
            white-space: nowrap;
            font-size: 0.95rem;
        }

        .operation-updated strong {
            display: block;
            color: var(--text);
            margin-top: 0.15rem;
        }

        .quick-links-grid,
        .cards-grid,
        .docs-grid,
        .footer-grid,
        .about-feature-grid {
            display: grid;
            gap: 1.25rem;
        }

        .quick-links-grid,
        .cards-grid,
        .docs-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }

        .about-grid,
        .two-col-grid {
            display: grid;
            grid-template-columns: 1.05fr 0.95fr;
            gap: 1.5rem;
            align-items: stretch;
        }

        .link-card,
        .info-card,
        .panel,
        .status-card,
        .doc-card,
        .about-visual,
        .about-feature {
            display: block;
            padding: 1.15rem 1.2rem;
            background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
            border: 1px solid rgba(15, 76, 129, 0.16);
            border-left: 5px solid var(--accent);
            border-radius: var(--radius-md);
            box-shadow: 0 14px 30px rgba(7, 41, 68, 0.10);
            width: 100%;
            transition: transform 0.2s ease, box-shadow 0.2s ease, border-left-color 0.2s ease;
        }

        .link-card,
        .info-card,
        .panel,
        .doc-card,
        .about-visual { padding: 1.8rem; }

        .link-card {
            display: flex;
            gap: 1rem;
            align-items: flex-start;
            transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
        }

        .link-card:hover,
        .link-card:focus-visible {
            transform: translateY(-3px);
            box-shadow: 0 24px 50px rgba(7, 41, 68, 0.18);
            border-color: rgba(15, 76, 129, 0.22);
        }

        .link-icon,
        .info-badge,
        .doc-icon,
        .about-icon {
            width: 54px;
            height: 54px;
            min-width: 54px;
            border-radius: 16px;
            display: grid;
            place-items: center;
            font-size: 24px;
            background: linear-gradient(180deg, #e8f3fb 0%, #d6e9f7 100%);
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 10px 20px rgba(7, 41, 68, 0.08);
            transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
        }

        .about-icon.water {
            background: linear-gradient(180deg, #e4f4ff 0%, #cfeafd 100%);
        }

        .about-icon.doc {
            background: linear-gradient(180deg, #f2ecff 0%, #e4d8fb 100%);
        }

        .about-icon.sms {
            background: linear-gradient(180deg, #e8f8ee 0%, #d5efdf 100%);
        }

        .about-feature:hover .about-icon,
        .about-feature:focus-visible .about-icon {
            transform: scale(1.05);
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 14px 26px rgba(7, 41, 68, 0.12);
        }

        .link-card h3,
        .info-card h3,
        .panel h3,
        .status-card h3,
        .doc-card h3,
        .about-visual h3 {
            margin: 0 0 0.4rem;
            color: var(--primary-dark);
        }

        .link-card p,
        .info-card p,
        .panel p,
        .status-card p,
        .doc-card p,
        .doc-meta,
        .news-meta,
        .contact-list,
        .contact-list a,
        .about-feature p,
        .about-visual-intro,
        .news-item span {
            margin: 0;
            color: var(--muted);
        }

        .info-card,
        .doc-card {
            position: relative;
            background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
            border-color: rgba(15, 76, 129, 0.16);
            border-left: 5px solid var(--accent);
            transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
        }

        .info-card:hover,
        .doc-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 24px 50px rgba(7, 41, 68, 0.18);
            border-left-color: var(--primary);
        }

        .panel {
            background: linear-gradient(180deg, #ffffff 0%, #f9fcfe 100%);
            box-shadow: 0 20px 46px rgba(7, 41, 68, 0.14);
        }

        .status-card {
            padding: 1.4rem;
            margin-bottom: 1.2rem;
            background: linear-gradient(180deg, #ffffff 0%, #edf7fd 100%);
            border-color: rgba(15, 76, 129, 0.18);
            border-left: 5px solid #2f9e44;
        }

        .status-pill {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.48rem 0.82rem;
            border-radius: 999px;
            background: rgba(39, 153, 89, 0.10);
            color: #21794a;
            font-weight: 700;
            margin-bottom: 0.8rem;
        }

        .about-visual {
            background:
                radial-gradient(circle at top right, rgba(47, 166, 223, 0.16), transparent 22%),
                linear-gradient(180deg, #f7fbfe 0%, #edf6fc 100%);
            border-color: var(--border-strong);
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            gap: 1.2rem;
            min-height: 100%;
        }

        .about-visual-top {
            display: grid;
            grid-template-columns: 58px 1fr;
            gap: 1rem;
            align-items: center;
            width: 100%;
            margin-bottom: 0.25rem;
        }

        .about-visual-top h3 {
            margin: 0;
            line-height: 1.2;
            font-size: 1.1rem;
        }

        .about-visual-intro {
            display: block;
            width: 100%;
            max-width: none !important;
            font-size: 1.05rem;
            line-height: 1.8;
            color: var(--text);
            margin: 0 0 0.25rem 0;
        }

        .about-feature-grid {
            grid-template-columns: 1fr;
            width: 100%;
        }

        .about-feature {
            display: block;
            padding: 1.15rem 1.2rem;
            background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
            border: 1px solid rgba(15, 76, 129, 0.16);
            border-left: 5px solid var(--accent);
            border-radius: var(--radius-md);
            box-shadow: 0 14px 30px rgba(7, 41, 68, 0.10);
            width: 100%;
            transition: transform 0.2s ease, box-shadow 0.2s ease, border-left-color 0.2s ease;
        }


        .about-feature-head {
            display: flex;
            align-items: center;
            gap: 0.9rem;
            margin-bottom: 0.65rem;
        }

        .about-feature-text {
            padding-left: calc(54px + 0.9rem);
        }

        .about-feature-text p {
            margin: 0;
            line-height: 1.55;
            color: var(--muted);
        }

        .about-feature:hover,
        .about-feature:focus-visible {
            transform: translateY(-2px);
            box-shadow: 0 22px 44px rgba(7, 41, 68, 0.16);
            border-left-color: var(--primary);
        }

        .about-feature strong {
            display: block;
            color: var(--primary-dark);
            margin: 0;
            font-size: 1.05rem;
            line-height: 1.25;
        }

        .about-feature-arrow {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            display: grid;
            place-items: center;
            color: var(--primary);
            background: rgba(47, 166, 223, 0.12);
            font-weight: 800;
            transition: background 0.2s ease, transform 0.2s ease;
        }

        .about-feature:hover .about-feature-arrow,
        .about-feature:focus-visible .about-feature-arrow {
            background: rgba(47, 166, 223, 0.22);
            transform: translateX(2px);
        }

        .about-panel {
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            min-height: 100%;
        }

        .about-panel .btn {
            margin-top: 0.75rem;
        }

        .news-list {
            display: grid;
            gap: 1rem;
            margin-top: 1rem;
        }

        .news-item {
            display: flex;
            justify-content: space-between;
            gap: 1rem;
            padding: 1rem 0;
            border-top: 1px solid rgba(23, 50, 74, 0.08);
        }

        .news-item:first-child {
            border-top: none;
            padding-top: 0;
        }

        .news-item strong {
            display: block;
            color: var(--text);
            margin-bottom: 0.15rem;
        }

        .doc-top {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
        }

        .doc-link {
            color: var(--primary);
            font-weight: 700;
        }

        .doc-link:hover,
        .doc-link:focus-visible {
            color: var(--primary-dark);
        }

        .contact-list {
            list-style: none;
            padding: 0;
            display: grid;
            gap: 0.8rem;
        }

        .contact-list strong { color: var(--text); }

        .footer { padding: 1.2rem 0 3rem; }

        .footer-panel {
            padding: 1.7rem 1.8rem;
            background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(245,250,253,0.92));
            border: 1px solid var(--border);
            border-radius: 28px;
            box-shadow: var(--shadow);
        }

        .footer-grid {
            grid-template-columns: 1.2fr 0.8fr 0.8fr;
            align-items: start;
        }

        .footer-title { margin: 0 0 0.7rem; color: var(--primary-dark); }

        .footer ul {
            list-style: none;
            padding: 0;
            margin: 0;
            display: grid;
            gap: 0.55rem;
            color: var(--muted);
        }

        .footer-bottom {
            margin-top: 1.25rem;
            padding-top: 1rem;
            border-top: 1px solid rgba(23, 50, 74, 0.08);
            color: var(--muted);
            font-size: 0.95rem;
        }

        @media (max-width: 980px) {
            .quick-links-grid,
            .cards-grid,
            .about-grid,
            .two-col-grid,
            .footer-grid,
            .docs-grid {
                grid-template-columns: 1fr;
            }

            .hero-content { padding: 4rem 1.5rem 6rem; }

            .operation-card {
                grid-template-columns: 1fr;
                align-items: start;
            }

            .operation-updated {
                text-align: left;
                white-space: normal;
            }
        }

        @media (max-width: 720px) {
            .header-inner {
                flex-direction: column;
                align-items: flex-start;
            }

            .nav { gap: 0.8rem 1rem; }
            .hero-panel { min-height: 500px; border-radius: 26px; }
            .hero-status-band { margin-top: -2rem; }
            .quick-links { margin-top: 0; }

            .link-card,
            .info-card,
            .panel,
            .doc-card,
            .about-visual { padding: 1.25rem; }

            .news-item,
            .doc-top,
            .about-visual-top {
                display: block;
            }

            .about-feature {
                padding: 1rem;
            }

            .about-icon,
            .link-icon,
            .info-badge,
            .doc-icon {
                margin-bottom: 0.75rem;
            }

            .about-feature .about-icon {
                margin-bottom: 0;
            }

            .about-feature-head {
                gap: 0.75rem;
            }

            .about-feature-text {
                padding-left: 0;
            }

        }
    
        /* ---------------------------------------------------------
           FINAL OVERRIDE v10:
           Roligere og mere ensartede kort for Vandprøver og Dokumenter.
           Disse regler er bevidst meget specifikke, så de ikke påvirker
           nyheder, kontakt, driftstatus eller topkort.
        --------------------------------------------------------- */

        #vandproever .cards-grid {
            align-items: stretch;
        }

        #vandproever .cards-grid .info-card {
            display: grid !important;
            grid-template-columns: 58px 1fr;
            grid-template-rows: auto 1fr;
            column-gap: 1.05rem;
            row-gap: 0.35rem;
            align-items: start;
            min-height: 178px;
            padding: 1.55rem 1.55rem 1.45rem !important;
            border-left: 5px solid var(--accent);
            background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
        }

        #vandproever .cards-grid .info-badge {
            grid-column: 1;
            grid-row: 1 / 3;
            width: 56px;
            height: 56px;
            min-width: 56px;
            margin: 0;
            border-radius: 16px;
            display: grid;
            place-items: center;
            font-size: 1.45rem;
            background: linear-gradient(180deg, #e8f4fc 0%, #d7ebf8 100%);
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.75), 0 12px 24px rgba(7, 41, 68, 0.09);
        }

        #vandproever .cards-grid .info-card h3 {
            grid-column: 2;
            grid-row: 1;
            margin: 0 0 0.25rem;
            color: var(--primary-dark);
            font-size: 1.12rem;
            line-height: 1.25;
        }

        #vandproever .cards-grid .info-card p {
            grid-column: 2;
            grid-row: 2;
            margin: 0;
            color: var(--muted);
            line-height: 1.6;
        }

        #dokumenter .docs-grid {
            align-items: stretch;
        }

        #dokumenter .docs-grid .doc-card {
            display: flex !important;
            flex-direction: column;
            min-height: 220px;
            padding: 1.55rem !important;
            border-left: 5px solid var(--accent);
            background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
        }

        #dokumenter .docs-grid .doc-top {
            display: grid !important;
            grid-template-columns: 56px 1fr;
            gap: 1rem;
            align-items: start;
            margin: 0 0 0.85rem;
        }

        #dokumenter .docs-grid .doc-icon {
            width: 56px;
            height: 56px;
            min-width: 56px;
            margin: 0;
            border-radius: 16px;
            display: grid;
            place-items: center;
            font-size: 1.35rem;
            background: linear-gradient(180deg, #f2ecff 0%, #e4d8fb 100%);
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.75), 0 12px 24px rgba(7, 41, 68, 0.09);
        }

        #dokumenter .docs-grid .doc-card h3 {
            margin: 0 0 0.35rem;
            color: var(--primary-dark);
            font-size: 1.08rem;
            line-height: 1.28;
        }

        #dokumenter .docs-grid .doc-meta {
            margin: 0;
            display: block;
            color: var(--muted);
            line-height: 1.4;
            font-size: 0.94rem;
        }

        #dokumenter .docs-grid .doc-card > p {
            margin: 0.15rem 0 1rem;
            color: var(--muted);
            line-height: 1.55;
        }

        #dokumenter .docs-grid .doc-link {
            margin-top: auto;
            display: inline-flex;
            align-items: center;
            width: fit-content;
            color: var(--primary);
            font-weight: 800;
            line-height: 1.3;
        }

        #dokumenter .docs-grid .doc-link::after {
            content: '›';
            margin-left: 0.35rem;
            font-size: 1.25rem;
            line-height: 1;
        }

        @media (max-width: 900px) {
            #vandproever .cards-grid .info-card,
            #dokumenter .docs-grid .doc-card {
                min-height: auto;
            }
        }

        @media (max-width: 560px) {
            #vandproever .cards-grid .info-card,
            #dokumenter .docs-grid .doc-top {
                grid-template-columns: 50px 1fr;
            }

            #vandproever .cards-grid .info-badge,
            #dokumenter .docs-grid .doc-icon {
                width: 50px;
                height: 50px;
                min-width: 50px;
                font-size: 1.25rem;
            }
        }

    
        /* v7 sikkerhedsrettelse: præcist på de oprindelige elementer */
        .hero-status-band .operation-card {
            border-left: 0 !important;
        }

        .hero-status-band .operation-card.status-normal,
        .hero-status-band .operation-card.status-warning,
        .hero-status-band .operation-card.status-critical {
            border-left: 0 !important;
        }

        #om .about-grid {
            display: grid;
            grid-template-columns: 1.05fr 0.95fr;
            gap: 1.5rem;
            align-items: stretch;
        }

        #om .about-panel {
            display: flex;
        }

        #om .about-feature {
            display: block !important;
        }

        #om .about-feature-head {
            display: flex !important;
            align-items: center !important;
            gap: 0.9rem !important;
            margin: 0 0 0.65rem 0 !important;
        }

        #om .about-feature-text {
            padding-left: calc(54px + 0.9rem) !important;
        }

        #om .about-feature-text p {
            margin: 0 !important;
            line-height: 1.55 !important;
        }

        @media (max-width: 980px) {
            #om .about-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 720px) {
            #om .about-feature-text {
                padding-left: 0 !important;
            }
        }

    
        /* v11 spacing: mindre luft mellem overskrift og brødtekst i de tre kort */
        #om .about-feature-head {
            margin-bottom: 0.25rem !important;
        }

        #om .about-feature-text p {
            margin-top: 0 !important;
        }

        #om .about-feature {
            padding-top: 1rem !important;
            padding-bottom: 1rem !important;
        }

.news-list {
    display: grid;
    gap: 1.4rem;
    max-width: 900px;
}

.news-item-card {
    background: #fff;
    border: 1px solid rgba(15, 76, 129, 0.14);
    border-left: 5px solid var(--accent);
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(7, 41, 68, 0.10);
    padding: 1.6rem 1.8rem;
}

.news-item-meta {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 0.55rem;
}

.news-item-card h3 {
    margin: 0 0 0.55rem;
    font-size: 1.35rem;
    color: var(--primary-dark);
}

.news-item-card p {
    margin: 0 0 1rem;
    color: var(--muted);
    line-height: 1.65;
}

.news-single-card {
    max-width: 900px;
}

/* =========================================================
   Nyhedsside - offentlig visning
   ========================================================= */

.news-hero {
    padding: 4.2rem 0 2.2rem;
}

.news-hero-inner {
    max-width: 760px;
}

.news-hero h1 {
    margin: 1.1rem 0 1rem;
    color: var(--primary-dark);
    font-size: clamp(2.3rem, 4vw, 3.5rem);
    letter-spacing: -0.04em;
}

.news-hero p {
    margin: 0;
    color: var(--text);
    max-width: 720px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.news-page-section {
    padding: 1.2rem 0 5rem;
}

.news-page-container {
    max-width: 980px;
}

.news-list-heading {
    margin-bottom: 1.5rem;
}

.news-list-heading h2 {
    margin: 0 0 0.45rem;
    color: var(--primary-dark);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.news-list-heading p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.news-list {
    display: grid;
    gap: 1.35rem;
}

.news-item-card,
.news-detail-card,
.news-panel {
    background: #fff;
    border: 1px solid rgba(15, 76, 129, 0.14);
    border-left: 5px solid var(--accent);
    border-radius: 24px;
    box-shadow: 0 16px 36px rgba(7, 41, 68, 0.11);
}

.news-item-card {
    padding: 1.6rem 1.75rem;
}

.news-item-meta {
    color: var(--muted);
    font-size: 0.92rem;
    margin-bottom: 0.6rem;
}

.news-item-card h3 {
    margin: 0 0 0.55rem;
    color: var(--primary-dark);
    font-size: 1.35rem;
    line-height: 1.25;
}

.news-item-card h3 a {
    color: inherit;
    text-decoration: none;
}

.news-item-card h3 a:hover {
    color: var(--primary);
}

.news-item-card p {
    margin: 0 0 1rem;
    color: var(--muted);
    line-height: 1.65;
    max-width: 760px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 800;
    text-decoration: none;
}

.text-link::after {
    content: '›';
    margin-left: 0.35rem;
    font-size: 1.25rem;
    line-height: 1;
}

.text-link:hover {
    color: var(--primary-dark);
}

.news-detail-card {
    padding: clamp(1.8rem, 4vw, 2.6rem);
}

.news-detail-card h2 {
    margin: 0 0 1rem;
    color: var(--primary-dark);
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.news-detail-teaser {
    margin: 0 0 1.5rem;
    color: var(--primary-dark);
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.65;
}

.news-detail-body {
    color: var(--text);
    line-height: 1.85;
    max-width: 760px;
}

.news-detail-actions {
    margin-top: 2rem;
}

.news-panel {
    padding: 1.8rem;
}

.news-panel h2,
.news-panel h3 {
    margin-top: 0;
    color: var(--primary-dark);
}

@media (max-width: 720px) {
    .news-hero {
        padding-top: 3rem;
    }

    .news-item-card,
    .news-detail-card,
    .news-panel {
        border-radius: 20px;
    }
}

/* Nyheder navigation/fix */
.news-detail-actions {
    margin-top: 2rem;
}

.news-hero .btn {
    text-decoration: none;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    background: #eef4f8;
    color: var(--primary-dark);
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(15, 76, 129, 0.14);
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: #dfeaf2;
    transform: translateY(-1px);
}

.news-back-link {
    margin-top: 1.2rem;
    margin-bottom: 2rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    background: #eef4f8;
    color: var(--primary-dark);
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(15, 76, 129, 0.14);
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: #dfeaf2;
    transform: translateY(-1px);
}

.admin-table-description {
    margin-top: 0.35rem;
    color: #6b7b8f;
    font-size: 0.92rem;
}

/* =========================================================
   Dokumentbibliotek - offentlig visning
   ========================================================= */

.document-hero {
    padding: 4.2rem 0 2.2rem;
}

.document-hero-inner {
    max-width: 780px;
}

.document-hero h1 {
    margin: 1.1rem 0 1rem;
    color: var(--primary-dark);
    font-size: clamp(2.3rem, 4vw, 3.5rem);
    letter-spacing: -0.04em;
}

.document-hero p {
    margin: 0;
    color: var(--text);
    max-width: 720px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.document-back-link {
    margin-top: 1.2rem;
    margin-bottom: 2rem;
}

.document-page-section {
    padding: 1.2rem 0 5rem;
}

.document-page-container {
    max-width: 980px;
}

.document-panel {
    background: #fff;
    border: 1px solid rgba(15, 76, 129, 0.14);
    border-left: 5px solid var(--accent);
    border-radius: 24px;
    box-shadow: 0 16px 36px rgba(7, 41, 68, 0.11);
    padding: 1.8rem;
}

.document-panel h2 {
    margin-top: 0;
    color: var(--primary-dark);
}

.document-category-section {
    margin-bottom: 2.4rem;
}

.document-category-heading {
    margin-bottom: 1.1rem;
}

.document-category-heading h2 {
    margin: 0 0 0.3rem;
    color: var(--primary-dark);
    font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.document-category-heading p {
    margin: 0;
    color: var(--muted);
}

.document-list {
    display: grid;
    gap: 1.15rem;
}

.document-item-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 1rem;
    background: #fff;
    border: 1px solid rgba(15, 76, 129, 0.14);
    border-left: 5px solid var(--accent);
    border-radius: 24px;
    box-shadow: 0 16px 36px rgba(7, 41, 68, 0.10);
    padding: 1.45rem 1.6rem;
}

.document-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #f2ecff 0%, #e4d8fb 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.75), 0 12px 24px rgba(7, 41, 68, 0.09);
    font-size: 1.35rem;
}

.document-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 0.45rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.document-item-meta span:not(:last-child)::after {
    content: '·';
    margin-left: 0.55rem;
    color: rgba(101, 121, 138, 0.65);
}

.document-item-card h3 {
    margin: 0 0 0.45rem;
    color: var(--primary-dark);
    font-size: 1.25rem;
    line-height: 1.25;
}

.document-item-card p {
    margin: 0 0 1rem;
    color: var(--muted);
    line-height: 1.65;
}

.document-download-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: var(--primary);
    font-weight: 800;
    text-decoration: none;
}

.document-download-link::after {
    content: '›';
    margin-left: 0.35rem;
    font-size: 1.25rem;
    line-height: 1;
}

.document-download-link:hover {
    color: var(--primary-dark);
}

@media (max-width: 720px) {
    .document-hero {
        padding-top: 3rem;
    }

    .document-item-card {
        grid-template-columns: 50px minmax(0, 1fr);
        padding: 1.2rem;
        border-radius: 20px;
    }

    .document-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

.section-action {
    margin-top: 1.5rem;
}

/* =========================================================
   Kompakt kontaktsektion + rigtig footer
   ========================================================= */

.contact-compact-section {
    padding-top: 1.5rem;
}

.contact-compact-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2rem;
    align-items: start;
    background: #fff;
    border: 1px solid rgba(15, 76, 129, 0.14);
    border-left: 5px solid var(--accent);
    border-radius: 26px;
    box-shadow: 0 16px 36px rgba(7, 41, 68, 0.11);
    padding: 1.8rem 2rem;
}

.contact-compact-card h2 {
    margin: 0 0 0.6rem;
    color: var(--primary-dark);
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    letter-spacing: -0.04em;
}

.contact-compact-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.contact-compact-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.contact-compact-list div {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
    border: 1px solid rgba(15, 76, 129, 0.12);
    border-radius: 18px;
    padding: 1rem;
}

.contact-compact-list strong {
    display: block;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.contact-compact-list span,
.contact-compact-list a {
    color: var(--muted);
    line-height: 1.45;
}

.site-footer {
    margin-top: 3rem;
    background: linear-gradient(135deg, #073653 0%, #0f4c81 100%);
    color: rgba(255,255,255,0.86);
    padding: 2.6rem 0 1.2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.footer-brand {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.footer-logo {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}

.site-footer strong,
.site-footer h3 {
    color: #fff;
}

.site-footer h3 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
}

.site-footer p {
    margin: 0.35rem 0 0;
    max-width: 440px;
    line-height: 1.65;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.45rem;
}

.site-footer a {
    color: rgba(255,255,255,0.88);
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.16);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: rgba(255,255,255,0.68);
    font-size: 0.9rem;
}

@media (max-width: 850px) {
    .contact-compact-card,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .contact-compact-list {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

/* =========================================================
   Kontakt-side
   ========================================================= */

.contact-page-hero {
    padding: 4.2rem 0 2.2rem;
}

.contact-page-hero-inner {
    max-width: 780px;
}

.contact-page-hero h1 {
    margin: 1.1rem 0 1rem;
    color: var(--primary-dark);
    font-size: clamp(2.3rem, 4vw, 3.5rem);
    letter-spacing: -0.04em;
}

.contact-page-hero p {
    margin: 0;
    color: var(--text);
    max-width: 720px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.contact-back-link {
    margin-top: 1.2rem;
    margin-bottom: 2rem;
}

.contact-page-section {
    padding: 1.2rem 0 5rem;
}

.contact-page-container {
    max-width: 1060px;
}

.contact-info-card {
    background: #fff;
    border: 1px solid rgba(15, 76, 129, 0.14);
    border-left: 5px solid var(--accent);
    border-radius: 26px;
    box-shadow: 0 16px 36px rgba(7, 41, 68, 0.11);
    padding: 1.8rem 2rem;
}

.contact-primary-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.contact-info-card h2 {
    margin: 0 0 0.7rem;
    color: var(--primary-dark);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    letter-spacing: -0.035em;
}

.contact-info-card p {
    margin: 0 0 1.1rem;
    color: var(--muted);
    line-height: 1.65;
}

.contact-info-card p:last-child {
    margin-bottom: 0;
}

.contact-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.contact-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-detail-box,
.contact-detail-list > div {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
    border: 1px solid rgba(15, 76, 129, 0.12);
    border-radius: 18px;
    padding: 1rem;
}

.contact-detail-list {
    display: grid;
    gap: 0.9rem;
    margin-bottom: 1.2rem;
}

.contact-detail-box strong,
.contact-detail-list strong {
    display: block;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.contact-detail-box span,
.contact-detail-list span,
.contact-detail-box a,
.contact-detail-list a {
    color: var(--muted);
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.contact-note-card {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
}

@media (max-width: 850px) {
    .contact-primary-card,
    .contact-card-grid,
    .contact-detail-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Kontakt-side v2
   ========================================================= */

.contact-page-hero {
    padding: 4.2rem 0 2.2rem;
}

.contact-page-hero-inner {
    max-width: 780px;
}

.contact-page-hero h1 {
    margin: 1.1rem 0 1rem;
    color: var(--primary-dark);
    font-size: clamp(2.3rem, 4vw, 3.5rem);
    letter-spacing: -0.04em;
}

.contact-page-hero p {
    margin: 0;
    color: var(--text);
    max-width: 720px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.contact-back-link {
    margin-top: 1.2rem;
    margin-bottom: 2rem;
}

.contact-page-section {
    padding: 1.2rem 0 5rem;
}

.contact-page-container {
    max-width: 1100px;
}

.contact-feature-card,
.contact-role-card,
.contact-form-placeholder {
    background: #fff;
    border: 1px solid rgba(15, 76, 129, 0.14);
    border-left: 5px solid var(--accent);
    border-radius: 26px;
    box-shadow: 0 16px 36px rgba(7, 41, 68, 0.11);
}

.contact-feature-card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 1.1rem;
    align-items: start;
    padding: 1.6rem 1.8rem;
    margin-bottom: 1.5rem;
}

.contact-feature-icon,
.contact-role-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(180deg, #e8f4fc 0%, #d7ebf8 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.75), 0 12px 24px rgba(7, 41, 68, 0.09);
    font-size: 1.3rem;
}

.contact-feature-card h2,
.contact-role-card h2,
.contact-form-placeholder h2 {
    margin: 0 0 0.55rem;
    color: var(--primary-dark);
    letter-spacing: -0.035em;
}

.contact-feature-card h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.contact-feature-card p,
.contact-role-card p,
.contact-form-placeholder p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.contact-role-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.5rem;
    align-items: stretch;
}

.contact-role-main {
    grid-row: span 2;
}

.contact-role-card {
    padding: 1.6rem 1.8rem;
}

.contact-role-header {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    margin-bottom: 1.2rem;
}

.contact-role-header h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.contact-role-header p {
    font-weight: 700;
    color: var(--muted);
}

.contact-person {
    margin: 0 0 1.1rem;
    padding: 0.9rem 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
    border: 1px solid rgba(15, 76, 129, 0.12);
    border-radius: 18px;
}

.contact-person strong {
    color: var(--primary-dark);
    font-size: 1.05rem;
}

.contact-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.contact-detail-grid > div {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
    border: 1px solid rgba(15, 76, 129, 0.12);
    border-radius: 18px;
    padding: 1rem;
}

.contact-detail-grid .contact-wide {
    grid-column: 1 / -1;
}

.contact-detail-grid span {
    display: block;
    color: var(--muted);
    font-size: 0.92rem;
    margin-bottom: 0.25rem;
}

.contact-detail-grid strong,
.contact-detail-grid a {
    color: var(--primary-dark);
    overflow-wrap: anywhere;
    text-decoration: none;
}

.contact-detail-grid a:hover {
    text-decoration: underline;
}

.contact-note {
    margin-top: 1rem !important;
}

.contact-form-placeholder {
    margin-top: 1.5rem;
    padding: 1.6rem 1.8rem;
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
}

.contact-form-placeholder p {
    max-width: 720px;
}

@media (max-width: 900px) {
    .contact-role-grid,
    .contact-feature-card {
        grid-template-columns: 1fr;
    }

    .contact-role-main {
        grid-row: auto;
    }

    .contact-form-placeholder {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 620px) {
    .contact-role-header,
    .contact-detail-grid {
        grid-template-columns: 1fr;
    }

    .contact-feature-card,
    .contact-role-card,
    .contact-form-placeholder {
        padding: 1.25rem;
        border-radius: 22px;
    }
}

/* =========================================================
   Vandprøver - offentlig visning
   ========================================================= */

.water-hero {
    padding: 4.2rem 0 2.2rem;
}

.water-hero-inner {
    max-width: 780px;
}

.water-hero h1 {
    margin: 1.1rem 0 1rem;
    color: var(--primary-dark);
    font-size: clamp(2.3rem, 4vw, 3.5rem);
    letter-spacing: -0.04em;
}

.water-hero p {
    margin: 0;
    color: var(--text);
    max-width: 720px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.water-back-link {
    margin-top: 1.2rem;
    margin-bottom: 2rem;
}

.water-page-section {
    padding: 1.2rem 0 5rem;
}

.water-page-container {
    max-width: 1060px;
}

.water-intro-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.5rem;
    margin-bottom: 2.3rem;
}

.water-status-card,
.water-latest-card,
.water-panel,
.water-document-card {
    background: #fff;
    border: 1px solid rgba(15, 76, 129, 0.14);
    border-left: 5px solid var(--accent);
    border-radius: 26px;
    box-shadow: 0 16px 36px rgba(7, 41, 68, 0.11);
}

.water-status-card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 1.1rem;
    align-items: start;
    padding: 1.7rem 1.9rem;
}

.water-latest-card,
.water-panel {
    padding: 1.7rem 1.9rem;
}

.water-status-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #2f9e44;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(47, 158, 68, 0.25);
}

.water-status-card h2,
.water-latest-card h2,
.water-section-heading h2 {
    margin: 0 0 0.65rem;
    color: var(--primary-dark);
    letter-spacing: -0.035em;
}

.water-status-card p,
.water-latest-card p,
.water-panel p,
.water-document-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.water-latest-card .btn {
    margin-top: 1.2rem;
}

.water-meta {
    margin-bottom: 0.9rem !important;
}

.water-section-heading {
    margin-bottom: 1.2rem;
}

.water-section-heading p {
    margin: 0;
    color: var(--muted);
}

.water-document-list {
    display: grid;
    gap: 1.15rem;
}

.water-document-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 1rem;
    padding: 1.45rem 1.6rem;
}

.water-document-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #e8f4fc 0%, #d7ebf8 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.75), 0 12px 24px rgba(7, 41, 68, 0.09);
    font-size: 1.35rem;
}

.water-document-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 0.45rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.water-document-meta span:not(:last-child)::after {
    content: '·';
    margin-left: 0.55rem;
    color: rgba(101, 121, 138, 0.65);
}

.water-document-card h3 {
    margin: 0 0 0.45rem;
    color: var(--primary-dark);
    font-size: 1.25rem;
    line-height: 1.25;
}

.water-document-card p {
    margin-bottom: 1rem;
}

@media (max-width: 850px) {
    .water-intro-grid,
    .water-status-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .water-hero {
        padding-top: 3rem;
    }

    .water-document-card {
        grid-template-columns: 50px minmax(0, 1fr);
        padding: 1.2rem;
        border-radius: 20px;
    }

    .water-document-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* =========================================================
   SMS info
   ========================================================= */

.sms-hero {
    padding: 4.2rem 0 2.2rem;
}

.sms-hero-inner {
    max-width: 780px;
}

.sms-hero h1 {
    margin: 1.1rem 0 1rem;
    color: var(--primary-dark);
    font-size: clamp(2.3rem, 4vw, 3.5rem);
    letter-spacing: -0.04em;
}

.sms-hero p {
    margin: 0;
    color: var(--text);
    max-width: 720px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.sms-back-link {
    margin-top: 1.2rem;
    margin-bottom: 2rem;
}

.sms-page-section {
    padding: 1.2rem 0 5rem;
}

.sms-page-container {
    max-width: 1100px;
}

.sms-intro-grid,
.sms-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.sms-intro-grid {
    margin-bottom: 1.5rem;
}

.sms-info-card,
.sms-form-card,
.simple-message-card {
    background: #fff;
    border: 1px solid rgba(15, 76, 129, 0.14);
    border-left: 5px solid var(--accent);
    border-radius: 26px;
    box-shadow: 0 16px 36px rgba(7, 41, 68, 0.11);
}

.sms-info-card {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 1rem;
    padding: 1.6rem 1.8rem;
}

.sms-note-card {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
}

.sms-icon,
.sms-form-icon,
.simple-message-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(180deg, #e8f4fc 0%, #d7ebf8 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.75), 0 12px 24px rgba(7, 41, 68, 0.09);
    font-size: 1.3rem;
}

.sms-info-card h2,
.sms-form-card h2,
.simple-message-card h1 {
    margin: 0 0 0.6rem;
    color: var(--primary-dark);
    letter-spacing: -0.035em;
}

.sms-info-card p,
.sms-form-card p,
.simple-message-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.sms-benefit-list {
    margin: 1rem 0 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 0.55rem;
    color: var(--muted);
}

.sms-form-card {
    padding: 1.7rem 1.9rem;
}

.sms-form-header {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.sms-form {
    display: grid;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.45rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.form-group input {
    width: 100%;
    min-height: 52px;
    padding: 0 1rem;
    border-radius: 16px;
    border: 1px solid rgba(15, 76, 129, 0.18);
    background: #fff;
}

.phone-input {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    align-items: center;
    border: 1px solid rgba(15, 76, 129, 0.18);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.phone-input span {
    display: grid;
    place-items: center;
    min-height: 52px;
    background: #f7fbfe;
    border-right: 1px solid rgba(15, 76, 129, 0.12);
    color: var(--primary-dark);
    font-weight: 700;
}

.phone-input input {
    border: 0;
    border-radius: 0;
}

.sms-unsubscribe-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}

.simple-message-page {
    padding: 4rem 0 5rem;
}

.simple-message-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.simple-message-icon {
    margin: 0 auto 1.2rem;
}

.simple-message-card .btn {
    margin-top: 1.4rem;
}

@media (max-width: 850px) {
    .sms-intro-grid,
    .sms-form-grid,
    .sms-info-card,
    .sms-form-header {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Bestyrelse
   ========================================================= */

.board-hero {
    padding: 4.2rem 0 2.2rem;
}

.board-hero-inner {
    max-width: 760px;
}

.board-hero h1 {
    margin: 1rem 0;
    color: var(--primary-dark);
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    letter-spacing: -0.04em;
}

.board-hero p {
    margin: 0;
    max-width: 720px;
    line-height: 1.7;
    color: var(--text);
    font-size: 1.05rem;
}

.board-back-link {
    margin-top: 1.3rem;
}

.board-page-section {
    padding: 1.5rem 0 5rem;
}

.board-page-container {
    max-width: 1180px;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.board-member-card {
    background: #ffffff;
    border: 1px solid rgba(15, 76, 129, 0.14);
    border-left: 5px solid var(--accent);
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 18px 38px rgba(7, 41, 68, 0.11);
}

.board-member-card.featured {
    border-left-color: #0f5f99;
    background: linear-gradient(180deg, #ffffff 0%, #f3f9fd 100%);
    box-shadow: 0 22px 48px rgba(7, 41, 68, 0.16);
}

.board-member-card.featured .board-role {
    background: #0f5f99;
    color: #ffffff;
}

.board-role {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(15, 76, 129, 0.08);
    color: var(--primary-dark);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}

.board-member-card h2 {
    margin: 0 0 0.8rem;
    color: var(--primary-dark);
    font-size: 2rem;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.board-description {
    margin: 0 0 1.4rem;
    color: var(--muted);
    line-height: 1.7;
}

.board-contact-list {
    display: grid;
    gap: 1rem;
}

.board-contact-list div {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: #f7fbfe;
    border: 1px solid rgba(15, 76, 129, 0.08);
}

.board-contact-list strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--primary-dark);
    font-size: 0.9rem;
}

.board-contact-list span,
.board-contact-list a {
    color: var(--muted);
    text-decoration: none;
}

.board-contact-list a:hover {
    color: var(--primary-dark);
}

@media (max-width: 860px) {
    .board-grid {
        grid-template-columns: 1fr;
    }

    .board-member-card {
        padding: 1.5rem;
    }
}

/* =========================================================
   Om vandværket
   ========================================================= */

.about-page-hero {
    padding: 4.2rem 0 2.2rem;
}

.about-page-hero-inner {
    max-width: 780px;
}

.about-page-hero h1 {
    margin: 0 0 1rem;
    color: var(--primary-dark);
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    letter-spacing: -0.04em;
}

.about-page-hero p {
    margin: 0;
    max-width: 720px;
    line-height: 1.7;
    color: var(--text);
    font-size: 1.05rem;
}

.about-page-back-link {
    margin-top: 1.3rem;
}

.about-page-section {
    padding: 1.5rem 0 5rem;
}

.about-page-container {
    max-width: 1120px;
}

.about-page-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.about-page-grid.secondary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-page-card,
.about-page-note {
    background: #ffffff;
    border: 1px solid rgba(15, 76, 129, 0.14);
    border-left: 5px solid var(--accent);
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 18px 38px rgba(7, 41, 68, 0.11);
}

.about-page-main-card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 1.2rem;
    align-items: start;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
}

.about-page-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(180deg, #e8f4fc 0%, #d7ebf8 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.75), 0 12px 24px rgba(7, 41, 68, 0.09);
    font-size: 1.35rem;
}

.about-page-icon.small {
    margin-bottom: 1rem;
}

.about-page-card h2,
.about-page-note h2 {
    margin: 0 0 0.75rem;
    color: var(--primary-dark);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.about-page-card p,
.about-page-note p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.about-page-card .text-link {
    margin-top: 1.1rem;
}

.about-facts-list {
    display: grid;
    gap: 0.8rem;
}

.about-facts-list div {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: #f7fbfe;
    border: 1px solid rgba(15, 76, 129, 0.08);
}

.about-facts-list strong {
    display: block;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.about-facts-list span {
    color: var(--muted);
}

.about-page-note {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
}

@media (max-width: 900px) {
    .about-page-grid,
    .about-page-grid.secondary,
    .about-page-main-card {
        grid-template-columns: 1fr;
    }

    .about-page-card,
    .about-page-note {
        padding: 1.5rem;
    }
}

/* =========================================================
   Forside - nyheder + nyttige links
   ========================================================= */

.frontpage-info-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 1.5rem;
    align-items: stretch;
}

.frontpage-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.frontpage-panel-head h2 {
    margin-bottom: 0.35rem;
}

.frontpage-panel-head p {
    margin: 0;
}

.frontpage-news-list {
    display: grid;
    gap: 1rem;
}

.frontpage-news-item {
    border-radius: 18px;
    background: #f7fbfe;
    border: 1px solid rgba(15, 76, 129, 0.08);
    padding: 1rem 1.1rem;
}

.frontpage-news-item:hover {
    background: #ffffff;
    border-color: rgba(15, 76, 129, 0.18);
    transform: translateY(-2px);
}

.frontpage-news-item span {
    max-width: 520px;
    line-height: 1.45;
}

.useful-links-panel {
    height: 100%;
}

.useful-links-list {
    display: grid;
    gap: 1rem;
}

.useful-links-list a {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: #f7fbfe;
    border: 1px solid rgba(15, 76, 129, 0.08);
    text-decoration: none;
    transition: all 0.2s ease;
}

.useful-links-list a:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 76, 129, 0.18);
    background: #ffffff;
}

.useful-links-list span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(180deg, #e8f4fc 0%, #d7ebf8 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.75), 0 10px 20px rgba(7, 41, 68, 0.08);
    font-size: 1.2rem;
}

.useful-links-list strong {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--primary-dark);
}

.useful-links-list small {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.35;
}

@media (max-width: 900px) {
    .frontpage-info-grid {
        grid-template-columns: 1fr;
    }

    .frontpage-panel-head {
        flex-direction: column;
    }
}

/* =========================================================
   Kontaktformular
   ========================================================= */

.contact-form-card {
    margin-top: 1.5rem;
    background: #fff;
    border: 1px solid rgba(15, 76, 129, 0.14);
    border-left: 5px solid var(--accent);
    border-radius: 26px;
    box-shadow: 0 16px 36px rgba(7, 41, 68, 0.11);
    padding: 1.8rem 2rem;
}

.contact-form-intro {
    margin-bottom: 1.4rem;
}

.contact-form-intro h2 {
    margin: 0 0 0.5rem;
    color: var(--primary-dark);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    letter-spacing: -0.035em;
}

.contact-form-intro p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.public-contact-form {
    display: grid;
    gap: 1rem;
}

.form-two-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.public-contact-form .form-group label {
    display: block;
    margin-bottom: 0.45rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.public-contact-form input,
.public-contact-form textarea {
    width: 100%;
    border: 1px solid rgba(15, 76, 129, 0.18);
    border-radius: 16px;
    padding: 0.9rem 1rem;
    font: inherit;
    color: var(--text);
    background: #fff;
}

.public-contact-form textarea {
    resize: vertical;
    min-height: 160px;
}

.form-message {
    padding: 1rem 1.1rem;
    border-radius: 16px;
    margin-bottom: 1rem;
    font-weight: 700;
}

.form-message.success {
    background: #e8f5e9;
    color: #1f6d32;
    border: 1px solid rgba(47, 158, 68, 0.24);
}

.form-message.error {
    background: #fff0f0;
    color: #9b1c1c;
    border: 1px solid rgba(201, 42, 42, 0.24);
}

.hidden-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

@media (max-width: 720px) {
    .form-two-columns {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding: 1.35rem;
    }
}

/* =========================================================
   Dokumentbibliotek - kategorinavigation
   ========================================================= */

.document-library-hero {
    padding: 4.2rem 0 2.2rem;
}

.document-library-hero-inner {
    max-width: 900px;
}

.document-library-hero h1 {
    margin: 0 0 1rem;
    color: var(--primary-dark);
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    letter-spacing: -0.04em;
}

.document-library-hero p {
    margin: 0;
    max-width: 760px;
    line-height: 1.7;
    color: var(--text);
    font-size: 1.05rem;
}

.document-library-actions {
    margin-top: 1.3rem;
}

.document-category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.document-category-nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 0.95rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(15, 76, 129, 0.14);
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(7, 41, 68, 0.06);
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.document-category-nav a:hover {
    transform: translateY(-1px);
    background: #fff;
    border-color: rgba(15, 76, 129, 0.24);
}

.document-category-nav span {
    display: inline-grid;
    place-items: center;
    min-width: 1.55rem;
    height: 1.55rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: var(--primary-dark);
    color: #fff;
    font-size: 0.78rem;
}

.document-library-section {
    padding: 1.5rem 0 5rem;
}

.document-library-container {
    max-width: 1060px;
}

.document-library-panel,
.document-card {
    background: #fff;
    border: 1px solid rgba(15, 76, 129, 0.14);
    border-left: 5px solid var(--accent);
    border-radius: 26px;
    box-shadow: 0 16px 36px rgba(7, 41, 68, 0.11);
}

.document-library-panel {
    padding: 2rem;
}

.document-category-section {
    scroll-margin-top: 110px;
    margin-bottom: 3rem;
}

.document-category-section:last-child {
    margin-bottom: 0;
}

.document-category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.document-category-header h2 {
    margin: 0 0 0.35rem;
    color: var(--primary-dark);
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    letter-spacing: -0.04em;
}

.document-category-header p {
    margin: 0;
    color: var(--muted);
}

.document-back-top {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 800;
    white-space: nowrap;
}

.document-list {
    display: grid;
    gap: 1.15rem;
}

.document-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 1rem;
    padding: 1.45rem 1.6rem;
}

.document-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #efe7ff 0%, #e5d7ff 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.75), 0 12px 24px rgba(7, 41, 68, 0.09);
    font-size: 1.25rem;
}

.document-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 0.45rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.document-card-meta span:not(:last-child)::after {
    content: '·';
    margin-left: 0.55rem;
    color: rgba(101, 121, 138, 0.65);
}

.document-card h3 {
    margin: 0 0 0.45rem;
    color: var(--primary-dark);
    font-size: 1.25rem;
    line-height: 1.25;
}

.document-card p {
    margin: 0 0 1rem;
    color: var(--muted);
    line-height: 1.6;
}

@media (max-width: 720px) {
    .document-category-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .document-card {
        grid-template-columns: 50px minmax(0, 1fr);
        padding: 1.2rem;
        border-radius: 20px;
    }

    .document-card-icon {
        width: 50px;
        height: 50px;
    }
}


/* =========================================================
   Mobilmenu / Burger navigation
   ========================================================= */

.nav-toggle {
    display: none;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(15, 76, 129, 0.14);
    border-radius: 16px;
    background: rgba(255,255,255,0.92);
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    box-shadow: 0 10px 24px rgba(7, 41, 68, 0.08);
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--primary-dark);
    border-radius: 999px;
    transition: all 0.25s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 860px) {

    .header-inner {
        flex-direction: row;
        align-items: center;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav {
        display: none;
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 1rem;
        right: 1rem;
        padding: 1rem;
        border-radius: 24px;
        background: rgba(255,255,255,0.98);
        border: 1px solid rgba(15, 76, 129, 0.14);
        box-shadow: 0 22px 50px rgba(7, 41, 68, 0.16);
        flex-direction: column;
        gap: 0.35rem;
        backdrop-filter: blur(12px);
    }

    .nav.nav-open {
        display: flex;
    }

    .nav a {
        width: 100%;
        padding: 0.9rem 1rem;
        border-radius: 14px;
    }

    .nav a:hover {
        background: #f3f8fc;
    }
}


/* =========================================================
   GDPR / Privatlivspolitik / Cookiepolitik
   ========================================================= */

.footer-legal-links {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.footer-legal-links a {
    color: rgba(255,255,255,0.78);
    text-decoration: none;
}

.footer-legal-links a:hover,
.footer-legal-links a:focus-visible {
    color: #fff;
    text-decoration: underline;
}

.footer-legal-links span {
    color: rgba(255,255,255,0.42);
}

.contact-privacy-note {
    margin: 0.1rem 0 0;
    max-width: 760px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.contact-privacy-note a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-hero {
    padding: 4.2rem 0 2.2rem;
}

.legal-container {
    max-width: 980px;
}

.legal-hero-inner {
    max-width: 800px;
}

.legal-eyebrow {
    margin: 0 0 0.65rem;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.legal-hero h1 {
    margin: 0 0 1rem;
    color: var(--primary-dark);
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.legal-hero p:not(.legal-eyebrow) {
    margin: 0;
    max-width: 760px;
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.7;
}

.legal-back-link {
    margin-top: 1.3rem;
}

.legal-page-section {
    padding: 1.2rem 0 5rem;
}

.legal-card {
    background: #fff;
    border: 1px solid rgba(15, 76, 129, 0.14);
    border-left: 5px solid var(--accent);
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(7, 41, 68, 0.11);
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.legal-card h2 {
    margin: 2.1rem 0 0.7rem;
    color: var(--primary-dark);
    font-size: 1.4rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.legal-card h2:first-child {
    margin-top: 0;
}

.legal-card p,
.legal-card li {
    color: var(--text);
    line-height: 1.78;
}

.legal-card a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-contact-box {
    margin: 1rem 0 1.5rem;
    padding: 1.15rem 1.25rem;
    border-radius: 18px;
    background: #f7fbfe;
    border: 1px solid rgba(15, 76, 129, 0.10);
    color: var(--text);
    line-height: 1.65;
}

.legal-service-list {
    display: grid;
    gap: 0.8rem;
    margin: 1rem 0 1.4rem;
}

.legal-service-list > div {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: #f7fbfe;
    border: 1px solid rgba(15, 76, 129, 0.10);
}

.legal-service-list strong {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--primary-dark);
}

.legal-service-list span {
    color: var(--muted);
}

.legal-table-wrap {
    overflow-x: auto;
    margin: 1rem 0 1.5rem;
}

.legal-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
}

.legal-table th,
.legal-table td {
    padding: 0.95rem 1rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(15, 76, 129, 0.10);
}

.legal-table th {
    background: #f7fbfe;
    color: var(--primary-dark);
}

.legal-updated {
    margin-top: 2.5rem;
    color: var(--muted) !important;
    font-size: 0.92rem;
}

@media (max-width: 850px) {
    .footer-legal-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 720px) {
    .legal-hero {
        padding-top: 3rem;
    }

    .legal-card {
        border-radius: 22px;
    }
}
