/* ============================================================
   PrivateLAN Company Website - Main Stylesheet
   All code and comments in English
   ============================================================ */

/* ---- Self-hosted font: Source Sans 3 (variable, weights 300-700) ---- */
@font-face {
    font-family: "Source Sans 3";
    font-style:   normal;
    font-weight:  300 700;
    font-display: swap;
    src: url("/fonts/source-sans-3-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- CSS Custom Properties (Brand Colors & Tokens) ---- */
:root {
    --privatelan-blue:         #567386;
    --privatelan-blue-lighter: #6c8494;
    --privatelan-blue-darker:  #436373;
    --white:        #ffffff;
    --light-bg:     #f4f7f9;
    --text-dark:    #2c3e50;
    --text-muted:   #6c757d;
    --border-color: #dde3e8;
    --shadow:       0 2px 8px rgba(86, 115, 134, 0.12);
    --shadow-hover: 0 6px 20px rgba(86, 115, 134, 0.22);
    --font:         "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, sans-serif;
    --radius:       6px;
    --header-height: 70px;
    --transition:   0.2s ease;
}

/* ---- Reset / Base ---- */
*, *::before, *::after {
    box-sizing: border-box;
    margin:  0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    color:       var(--text-dark);
    background:  var(--white);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height:    auto;
    display:   block;
}

a {
    color:           var(--privatelan-blue);
    text-decoration: none;
    transition:      color var(--transition);
}

a:hover {
    color: var(--privatelan-blue-darker);
}

ul {
    list-style: none;
}

/* ---- Layout Container ---- */
.container {
    width:      100%;
    max-width:  1800px;
    margin:     0 auto;
    padding:    0 24px;
}

/* ---- Section Shared Styles ---- */
section {
    padding: 80px 0;
}

.section-header {
    text-align:    center;
    margin-bottom: 56px;
}

.section-title {
    font-size:     2rem;
    font-weight:   700;
    color:         var(--privatelan-blue-darker);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size:  1.1rem;
    color:      var(--text-muted);
    max-width:  600px;
    margin:     0 auto;
}

/* ---- Buttons ---- */
.btn {
    display:          inline-block;
    padding:          12px 28px;
    border-radius:    var(--radius);
    font-family:      var(--font);
    font-size:        1rem;
    font-weight:      600;
    cursor:           pointer;
    border:           2px solid transparent;
    transition:       background-color var(--transition),
                      color            var(--transition),
                      border-color     var(--transition),
                      box-shadow       var(--transition);
    text-align:       center;
}

.btn--primary {
    background-color: var(--privatelan-blue);
    color:            var(--white);
    border-color:     var(--privatelan-blue);
}

.btn--primary:hover {
    background-color: var(--privatelan-blue-darker);
    border-color:     var(--privatelan-blue-darker);
    color:            var(--white);
    box-shadow:       var(--shadow-hover);
}

.btn--secondary {
    background-color: var(--privatelan-blue-lighter);
    color:            var(--white);
    border-color:     var(--privatelan-blue-lighter);
}

.btn--secondary:hover {
    background-color: var(--privatelan-blue);
    border-color:     var(--privatelan-blue);
    color:            var(--white);
}

.btn--outline {
    background-color: transparent;
    color:            var(--privatelan-blue);
    border-color:     var(--privatelan-blue);
}

.btn--outline:hover {
    background-color: var(--privatelan-blue);
    color:            var(--white);
}

.btn--large {
    padding:   16px 40px;
    font-size: 1.1rem;
}

.btn--sm {
    padding:   6px 18px;
    font-size: 0.9rem;
}

.btn--full {
    width:   100%;
    display: block;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */

.site-header {
    position:         sticky;
    top:              0;
    z-index:          100;
    background-color: var(--privatelan-blue-darker);
    box-shadow:       0 2px 10px rgba(0, 0, 0, 0.15);
    height:           var(--header-height);
}

.header-inner {
    display:         flex;
    align-items:     center;
    justify-content: space-between;
    height:          var(--header-height);
    position:        relative;
}

/* Logo */
.nav-logo {
    display:         flex;
    align-items:     center;
    gap:             12px;
    text-decoration: none;
    flex-shrink:     0;
}

.nav-logo img {
    height: 60px;
    width:  auto;
}

.nav-logo-text {
    font-size:      1.4rem;
    font-weight:    700;
    color:          var(--white);
    letter-spacing: 0.02em;
}

/* Mobile hamburger — hidden checkbox (no JS required) */
.nav-toggle-input {
    display: none;
}

/* Submenu toggle — hidden checkbox (no JS required) */
.submenu-toggle-input {
    display: none;
}

/* Three-bar hamburger label */
.nav-toggle-label {
    display:         none; /* shown only on mobile via media query */
    flex-direction:  column;
    justify-content: space-between;
    width:           28px;
    height:          20px;
    cursor:          pointer;
    z-index:         101;
}

.nav-toggle-label span {
    display:       block;
    height:        3px;
    background:    var(--white);
    border-radius: 2px;
    transition:    transform var(--transition), opacity var(--transition);
}

/* Animate hamburger → X when menu is open */
.nav-toggle-input:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.nav-toggle-input:checked ~ .nav-toggle-label span:nth-child(2) {
    opacity: 0;
}

.nav-toggle-input:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Navigation list */
.nav-menu .nav-list {
    display:     flex;
    align-items: center;
    gap:         4px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display:       block;
    padding:       8px 16px;
    color:         #d5dde4;
    font-size:     0.95rem;
    font-weight:   600;
    border-radius: var(--radius);
    transition:    background-color var(--transition), color var(--transition);
    white-space:   nowrap;
}

.nav-link:hover {
    background-color: var(--privatelan-blue-lighter);
    color:            var(--white);
}

/* CTA-style nav button */
.nav-link--cta {
    background-color: var(--privatelan-blue-lighter);
    color:            var(--white);
    border:           2px solid rgba(255, 255, 255, 0.3);
}

.nav-link--cta:hover {
    background-color: var(--white);
    color:            var(--privatelan-blue-darker);
    border-color:     var(--white);
}

/* Dropdown arrow */
.submenu-arrow {
    font-size:   0.7em;
    margin-left: 4px;
    display:     inline-block;
    transition:  transform var(--transition);
}

/* Submenu dropdown panel */
.submenu {
    position:   absolute;
    top:        calc(100% + 8px);
    left:       0;
    min-width:  210px;
    background: var(--white);
    border:     1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    /* Hidden by default */
    opacity:    0;
    visibility: hidden;
    transform:  translateY(-8px);
    transition: opacity    var(--transition),
                visibility var(--transition),
                transform  var(--transition);
    z-index:    200;
}

.submenu li a {
    display:    block;
    padding:    10px 18px;
    color:      var(--text-dark);
    font-size:  0.9rem;
    transition: background-color var(--transition), color var(--transition);
    cursor:     pointer;
}

.submenu li a[href="#"] {
    opacity: 0.65;
    cursor: not-allowed;
}

.submenu li a:hover {
    background-color: var(--light-bg);
    color:            var(--privatelan-blue-darker);
}

.submenu li:first-child a { border-radius: var(--radius) var(--radius) 0 0; }
.submenu li:last-child  a { border-radius: 0 0 var(--radius) var(--radius); }

/* Show submenu on hover or keyboard focus (accessible) */
.has-submenu:hover      .submenu,
.has-submenu:focus-within .submenu {
    opacity:    1;
    visibility: visible;
    transform:  translateY(0);
}

.has-submenu:hover       .submenu-arrow,
.has-submenu:focus-within .submenu-arrow {
    transform: rotate(180deg);
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
    background: linear-gradient(
        135deg,
        var(--privatelan-blue-darker) 0%,
        var(--privatelan-blue)        60%,
        var(--privatelan-blue-lighter) 100%
    );
    padding:    100px 0 80px;
    text-align: center;
    color:      var(--white);
}

.hero-title {
    font-size:     3rem;
    font-weight:   700;
    line-height:   1.2;
    margin-bottom: 20px;
    color:         var(--white);
}

.hero-subtitle {
    font-size:     1.2rem;
    line-height:   1.7;
    max-width:     620px;
    margin:        0 auto 40px;
    color:         rgba(255, 255, 255, 0.88);
}

.hero-actions {
    display:         flex;
    gap:             16px;
    justify-content: center;
    flex-wrap:       wrap;
}

/* Override outline button colors inside the hero */
.hero .btn--outline {
    border-color: rgba(255, 255, 255, 0.7);
    color:        var(--white);
}

.hero .btn--outline:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color:     var(--white);
    color:            var(--white);
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */

.features {
    background-color: var(--light-bg);
}

.features-grid {
    display:               grid;
    grid-template-columns: repeat(3, 1fr);
    gap:                   28px;
}

.feature-card {
    background:    var(--white);
    border:        1px solid var(--border-color);
    border-radius: var(--radius);
    padding:       32px 28px;
    transition:    box-shadow var(--transition), transform var(--transition);
}

.feature-card:hover {
    box-shadow: var(--shadow-hover);
    transform:  translateY(-3px);
}

.feature-icon {
    font-size:     2.2rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size:     1.1rem;
    font-weight:   700;
    color:         var(--privatelan-blue-darker);
    margin-bottom: 10px;
}

.feature-card p {
    font-size:   0.95rem;
    color:       var(--text-muted);
    line-height: 1.6;
}

/* ============================================================
   PRICING SECTION
   ============================================================ */

.pricing {
    background-color: var(--white);
}

.pricing-grid {
    display:     flex;
    gap:         24px;
    align-items: stretch;
    flex-wrap:   wrap;
}

.pricing-card {
    flex:          1 1 200px;
    min-width:     200px;
    background:    var(--white);
    border:        2px solid var(--border-color);
    border-radius: var(--radius);
    padding:       32px 24px;
    display:       flex;
    flex-direction: column;
    position:      relative;
    transition:    box-shadow var(--transition), transform var(--transition);
}

.pricing-card:hover {
    box-shadow: var(--shadow-hover);
    transform:  translateY(-4px);
}

/* Highlighted / recommended card */
.pricing-card--featured {
    border-color: var(--privatelan-blue);
    box-shadow:   0 4px 20px rgba(86, 115, 134, 0.2);
}

/* "Most popular" badge */
.pricing-badge {
    position:        absolute;
    top:             -14px;
    left:            50%;
    transform:       translateX(-50%);
    background:      var(--privatelan-blue);
    color:           var(--white);
    font-size:       0.78rem;
    font-weight:     700;
    padding:         4px 16px;
    border-radius:   20px;
    white-space:     nowrap;
    letter-spacing:  0.03em;
    text-transform:  uppercase;
}

.pricing-card-header {
    margin-bottom: 20px;
}

.pricing-tier {
    font-size:     1.3rem;
    font-weight:   700;
    color:         var(--privatelan-blue-darker);
    margin-bottom: 4px;
}

.pricing-description {
    font-size: 0.88rem;
    color:     var(--text-muted);
}

.pricing-card-price {
    margin-bottom:  24px;
    padding-bottom: 24px;
    border-bottom:  1px solid var(--border-color);
}

.price-amount {
    font-size:   2.2rem;
    font-weight: 700;
    color:       var(--privatelan-blue-darker);
}

.price-period {
    font-size:   0.9rem;
    color:       var(--text-muted);
    margin-left: 4px;
}

.pricing-features {
    flex:          1;
    margin-bottom: 28px;
}

.pricing-features li {
    padding:       7px 0;
    font-size:     0.92rem;
    color:         var(--text-dark);
    border-bottom: 1px solid var(--light-bg);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li.unavailable {
    color:           var(--text-muted);
    text-decoration: line-through;
    opacity:         0.6;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */

.about {
    background-color: var(--light-bg);
}

.about-grid {
    display:               grid;
    grid-template-columns: 1fr 1fr;
    gap:                   60px;
    align-items:           center;
}

.about-content .section-title {
    text-align:    left;
    margin-bottom: 20px;
}

.about-content p {
    font-size:     1rem;
    color:         var(--text-muted);
    line-height:   1.75;
    margin-bottom: 18px;
}

.about-content .btn {
    margin-top: 8px;
}

.about-image-placeholder {
    background:    var(--white);
    border:        2px solid var(--border-color);
    border-radius: var(--radius);
    display:       flex;
    align-items:   center;
    justify-content: center;
    padding:       60px 40px;
    min-height:    280px;
}

.about-logo {
    max-width: 220px;
    margin:    0 auto;
    opacity:   0.75;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
    background-color: var(--privatelan-blue-darker);
    color:            rgba(255, 255, 255, 0.8);
    padding:          60px 0 0;
}

.footer-grid {
    display:               grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap:                   40px;
    padding-bottom:        48px;
    border-bottom:         1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo {
    display:         flex;
    align-items:     center;
    gap:             10px;
    margin-bottom:   16px;
    text-decoration: none;
}

.footer-logo img {
    height: 32px;
    width:  auto;
}

.footer-logo span {
    font-size:   1.2rem;
    font-weight: 700;
    color:       var(--white);
}

.footer-tagline {
    font-size:   0.9rem;
    line-height: 1.6;
    color:       rgba(255, 255, 255, 0.65);
}

.footer-status {
    margin-top: 16px;
}

.status-badge {
    display:         inline-flex;
    align-items:     center;
    gap:              8px;
    padding:          6px 12px;
    border-radius:    999px;
    background:       rgba(255, 255, 255, 0.08);
    color:            rgba(255, 255, 255, 0.85);
    font-size:        0.8rem;
    text-decoration:  none;
    transition:       background 0.2s ease;
}

.status-badge:hover {
    background: rgba(255, 255, 255, 0.14);
}

.status-badge-dot {
    width:         8px;
    height:        8px;
    border-radius: 50%;
    background:    rgba(255, 255, 255, 0.4);
    flex-shrink:   0;
}

.status-badge--up .status-badge-dot {
    background:  #36a64f;
    box-shadow:  0 0 6px rgba(54, 166, 79, 0.7);
}

.status-badge--down .status-badge-dot {
    background:  #cc0000;
    box-shadow:  0 0 6px rgba(204, 0, 0, 0.7);
}

.status-badge--paused {
    color: #6cb2ff;
}

.status-badge--paused .status-badge-dot {
    background:  #0072c6;
    box-shadow:  0 0 6px rgba(0, 114, 198, 0.7);
}

.footer-heading {
    font-size:      0.85rem;
    font-weight:    700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color:          var(--white);
    margin-bottom:  18px;
}

.footer-list li {
    margin-bottom: 10px;
}

.footer-list a {
    color:      rgba(255, 255, 255, 0.7);
    font-size:  0.9rem;
    transition: color var(--transition);
}

.footer-list a:hover {
    color: var(--white);
}

.footer-contact li {
    display:     flex;
    align-items: center;
    gap:         8px;
    color:       rgba(255, 255, 255, 0.7);
    font-size:   0.9rem;
}

.footer-bottom {
    padding:    20px 0;
    text-align: center;
    font-size:  0.85rem;
    color:      rgba(255, 255, 255, 0.45);
}

/* ============================================================
   RESPONSIVE — TABLET (max-width: 1024px)
   ============================================================ */

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card {
        flex: 1 1 calc(50% - 12px);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap:                   32px;
    }

    .hero-title {
        font-size: 2.4rem;
    }
}

/* ============================================================
   RESPONSIVE — MOBILE (max-width: 768px)
   ============================================================ */

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    /* Show the hamburger label */
    .nav-toggle-label {
        display: flex;
    }

    /* Slide-down mobile nav */
    .nav-menu {
        position:   absolute;
        top:        var(--header-height);
        left:       0;
        right:      0;
        background: var(--privatelan-blue-darker);
        max-height: 0;
        overflow-y: auto;
        transition: max-height 0.35s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    /* Open nav when checkbox is checked — cap to viewport height and scroll
       if the menu (including any open submenus) is taller than the screen */
    .nav-toggle-input:checked ~ .nav-menu {
        max-height: calc(100vh - var(--header-height));
    }

    .nav-menu .nav-list {
        flex-direction: column;
        align-items:    stretch;
        gap:            0;
        padding:        12px 0;
    }

    .nav-link {
        border-radius: 0;
        padding:       14px 24px;
    }

    /* Mobile submenus: always visible, collapsed by default, opened via toggle checkbox */
    .submenu {
        position:      static;
        opacity:       1;
        visibility:    visible;
        transform:     none;
        box-shadow:    none;
        border:        none;
        border-radius: 0;
        background:    rgba(0, 0, 0, 0.15);
        max-height:    0;
        overflow:      hidden;
        transition:    max-height 0.3s ease;
    }

    /* Open state is driven solely by the checkbox, so tapping the label
       reliably toggles it both open and closed (:focus-within would stay
       true after a tap and prevent closing again) */
    .submenu-toggle-input:checked ~ .submenu {
        /* Tall enough for the longest submenu (Functies, 13 items) */
        max-height: 700px;
    }

    .submenu-toggle-input:checked ~ .nav-link .submenu-arrow {
        transform: rotate(180deg);
    }

    /* Make the toggle checkbox keyboard-focusable (Space toggles it
       natively) while keeping it visually hidden */
    .submenu-toggle-input {
        position: absolute;
        width:    1px;
        height:   1px;
        opacity:  0;
        display:  block;
    }

    .submenu-toggle-input:focus ~ .nav-link {
        outline:        2px solid var(--white);
        outline-offset: 2px;
    }

    .submenu li a {
        color:       rgba(255, 255, 255, 0.8);
        padding-left: 40px;
    }

    .submenu li a:hover {
        background: rgba(255, 255, 255, 0.08);
        color:      var(--white);
    }

    /* Hero */
    .hero-title {
        font-size: 1.9rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items:    center;
    }

    .hero-actions .btn {
        width:     100%;
        max-width: 320px;
    }

    /* Features: single column */
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Pricing: single column */
    .pricing-card {
        flex: 1 1 100%;
    }

    /* About: single column */
    .about-grid {
        grid-template-columns: 1fr;
        gap:                   32px;
    }

    .about-content .section-title {
        text-align: center;
    }

    /* Footer: single column */
    .footer-grid {
        grid-template-columns: 1fr;
        gap:                   28px;
    }

    .section-title {
        font-size: 1.6rem;
    }
}

/* ============================================================
   PAGE SECTION + PAGE CARD
   Reusable wrapper for internal pages: login, contact, 404, etc.
   Usage: <section class="page-section"><div class="container"><div class="page-card">
   ============================================================ */

.page-section {
    padding:    60px 0;
    min-height: calc(100vh - var(--header-height) - 220px);
    background: var(--light-bg);
}

.page-card,
.page-card--medium,
.page-card--large,
.page-card--xlarge {
    background:    var(--white);
    border:        1px solid var(--border-color);
    border-radius: var(--radius);
    padding:       40px 48px;
    margin:        0 auto;
    box-shadow:    var(--shadow);
}

.page-card        { width: 100%; max-width:  580px; }
.page-card--medium { width: 100%; max-width:  990px; }
.page-card--large  { width: 100%; max-width: 1400px; }
.page-card--xlarge { width: 100%; max-width: 1600px; }

.page-card h1,
.page-card--medium h1,
.page-card--large h1,
.page-card--xlarge h1 {
    font-size:     1.6rem;
    font-weight:   700;
    color:         var(--privatelan-blue-darker);
    margin-bottom: 24px;
}

/* Error page variant: colored top border */
.page-card--error {
    border-top:  4px solid var(--privatelan-blue);
    text-align:  center;
    max-width:   480px;
}

.page-card--error-critical {
    border-top-color: #dc3545;
}

/* Large error code number */
.error-code {
    font-size:     5rem;
    font-weight:   700;
    line-height:   1;
    color:         var(--privatelan-blue);
    margin-bottom: 12px;
    letter-spacing: -2px;
}

.page-card--error-critical .error-code {
    color: #dc3545;
}

.page-card--error h1 {
    font-size:     1.5rem;
    margin-bottom: 10px;
}

.error-actions {
    display:         flex;
    gap:             10px;
    justify-content: center;
    margin-top:      24px;
}

@media (max-width: 640px) {
    .page-card {
        padding: 28px 20px;
    }
}

/* ---- card-table: form table styled for use inside .page-card ---- */
.card-table {
    width:           100%;
    border-collapse: collapse;
    border-radius:   var(--radius);
    overflow:        hidden;
    border:          1px solid var(--border-color);
    margin-top:      16px;
}

.card-table__header td {
    background:  var(--privatelan-blue);
    color:       var(--white);
    font-weight: 600;
    font-size:   0.9rem;
    padding:     10px 14px;
}

.card-table__row td {
    padding:       10px 14px;
    border-top:    1px solid var(--border-color);
    vertical-align: top;
    font-size:     0.95rem;
}

.card-table__label {
    width:       30%;
    color:       var(--text-muted);
    font-weight: 600;
    white-space: nowrap;
}

.card-table__actions td {
    padding-top: 14px;
}

/* ---- form-input: text/password fields ---- */
.form-input {
    width:         100%;
    padding:       5px 5px;
    border:        1px solid var(--border-color);
    border-radius: var(--radius);
    font-family:   var(--font);
    font-size:     0.95rem;
    color:         var(--text-dark);
    transition:    border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus {
    outline:      none;
    border-color: var(--privatelan-blue);
    box-shadow:   0 0 0 3px rgba(86, 115, 134, 0.15);
}

/* ---- form helpers ---- */
.form-intro {
    font-size:     0.95rem;
    color:         var(--text-muted);
    margin-bottom: 4px;
}

.form-required-note {
    font-size: 0.8rem;
    color:     var(--text-muted);
}

.required {
    color:       var(--privatelan-blue);
    font-weight: 700;
    flex-shrink: 0;
}

/* Inline wrapper: input fills available space, * stays on the same line */
.input-with-required {
    display:     flex;
    align-items: center;
    gap:         6px;
}

.input-with-required .form-input {
    flex:      1 1 0%;
    min-width: 0;
    width:     0 !important;
}

/* ---- form-feedback: success / error messages ---- */
.form-feedback {
    display:       flex;
    align-items:   center;
    gap:           12px;
    padding:       12px 16px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size:     0.95rem;
}

.form-feedback--ok {
    background: #edfaf0;
    border:     1px solid #a3d9af;
    color:      #1e6b34;
}

.form-feedback--error {
    background: #fdf2f2;
    border:     1px solid #f0b8b8;
    color:      #882020;
}

/* ============================================================
   SMALL MOBILE (max-width: 480px)
   ============================================================ */

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 72px 0 56px;
    }

    .hero-title {
        font-size: 1.6rem;
    }
}

/* ============================================================
   ALERTS MODELS
   ============================================================ */

/* Add padding and center-align text to the container */
.alert-container {
  padding: 16px;
  text-align: center;
  opacity: 1;
  background-color: #ffffff;
  
}

/* The Modal (background) */
.alert-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 200; /* Above sticky header (z-index: 100) */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent backdrop */
  padding-top: 50px;
  text-align: center;
}

/* Modal Content/Box */
.alert-modal-content {
  background-color: #ffffff;
  margin: 5% auto 15% auto;
  border: 1px solid var(--border-color);
  width: 500px;
  max-width: 90%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
}

/* Style the horizontal ruler */
hr {
  border: 1px solid #f1f1f1;
  margin-bottom: 25px;
}
 
/* The Modal Close Button (x) */
.close {
  position: absolute;
  right: 35px;
  top: 15px;
  font-size: 40px;
  font-weight: bold;
  color: #f1f1f1;
}

.close:hover,
.close:focus {
  color: #f44336;
  cursor: pointer;
}

/* Clear floats */
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

/* ---- Modal buttons ---- */
.cancelbtn,
.deletebtn {
    display:       inline-block;
    padding:       8px 20px;
    border-radius: var(--radius);
    font-family:   var(--font);
    font-size:     0.95rem;
    font-weight:   600;
    cursor:        pointer;
    border:        2px solid transparent;
    transition:    background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
    margin:        4px;
}

.cancelbtn {
    background-color: var(--text-muted);
    color:            var(--white);
    border-color:     var(--text-muted);
}

.cancelbtn:hover {
    background-color: #5a6268;
    border-color:     #5a6268;
    color:            var(--white);
}

.deletebtn {
    background-color: #c0392b;
    color:            var(--white);
    border-color:     #c0392b;
}

.deletebtn:hover {
    background-color: #a93226;
    border-color:     #a93226;
    color:            var(--white);
    box-shadow:       var(--shadow-hover);
}

/* Change styles for cancel button and delete button on extra small screens */
@media screen and (max-width: 300px) {
  .cancelbtn, .deletebtn {
     width: 100%;   }
}

/* ============================================================
   FEATURE PAGES (functies/*)
   Uniform template components: fp-hero, fp-benefits, fp-tech,
   fp-gallery (CSS-only lightbox), fp-split, fp-cta
   ============================================================ */

/* ---- Feature Page Mini-Hero (.fp-hero) ---- */
.fp-hero {
    background: linear-gradient(
        135deg,
        var(--privatelan-blue-darker) 0%,
        var(--privatelan-blue)        60%,
        var(--privatelan-blue-lighter) 100%
    );
    padding:    56px 0 48px;
    text-align: center;
    color:      var(--white);
}

.fp-hero-breadcrumb {
    font-size:   0.85rem;
    color:       rgba(255, 255, 255, 0.65);
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}

.fp-hero-breadcrumb a {
    color:      rgba(255, 255, 255, 0.65);
    transition: color var(--transition);
}

.fp-hero-breadcrumb a:hover {
    color: var(--white);
}

.fp-hero-breadcrumb span {
    margin: 0 6px;
}

.fp-hero-title {
    font-size:     2.4rem;
    font-weight:   700;
    line-height:   1.2;
    margin-bottom: 16px;
    color:         var(--white);
}

.fp-hero-subtitle {
    font-size:   1.1rem;
    line-height: 1.65;
    max-width:   600px;
    margin:      0 auto 28px;
    color:       rgba(255, 255, 255, 0.88);
}

.fp-hero-actions {
    display:         flex;
    gap:             14px;
    justify-content: center;
    flex-wrap:       wrap;
}

.fp-hero .btn--outline {
    border-color: rgba(255, 255, 255, 0.7);
    color:        var(--white);
}

.fp-hero .btn--outline:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color:     var(--white);
    color:            var(--white);
}

/* ---- Section label (overkoepelende sectie-tag) ---- */
.fp-section-label {
    display:        inline-block;
    font-size:      0.78rem;
    font-weight:    700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color:          var(--privatelan-blue);
    margin-bottom:  10px;
}

/* ---- Commercial Benefits Grid (.fp-benefits) ---- */
.fp-benefits {
    background: var(--white);
}

.fp-benefits-grid {
    display:               grid;
    grid-template-columns: repeat(3, 1fr);
    gap:                   24px;
}

.fp-benefit-card {
    background:    var(--white);
    border:        1px solid var(--border-color);
    border-radius: var(--radius);
    padding:       28px 24px 24px;
    transition:    box-shadow var(--transition), transform var(--transition);
}

.fp-benefit-card:hover {
    box-shadow: var(--shadow-hover);
    transform:  translateY(-3px);
}

.fp-benefit-icon {
    font-size:     2rem;
    margin-bottom: 14px;
    line-height:   1;
}

.fp-benefit-card h3 {
    font-size:     1.05rem;
    font-weight:   700;
    color:         var(--privatelan-blue-darker);
    margin-bottom: 8px;
}

.fp-benefit-card p {
    font-size:   0.95rem;
    color:       var(--text-muted);
    line-height: 1.6;
}

/* ---- Technical Features Checklist (.fp-tech) ---- */
.fp-tech {
    background: var(--light-bg);
}

.fp-tech-grid {
    display:               grid;
    grid-template-columns: 1fr 1fr;
    gap:                   14px 48px;
}

.fp-tech-item {
    display:     flex;
    gap:         12px;
    align-items: flex-start;
    padding:     12px 0;
    border-bottom: 1px solid var(--border-color);
}

.fp-tech-check {
    color:       var(--privatelan-blue);
    font-weight: 700;
    font-size:   1rem;
    flex-shrink: 0;
    margin-top:  2px;
}

.fp-tech-item-body strong {
    display:     block;
    font-size:   0.97rem;
    font-weight: 600;
    color:       var(--text-dark);
    margin-bottom: 2px;
}

.fp-tech-item-body span {
    font-size:  0.88rem;
    color:      var(--text-muted);
    line-height: 1.5;
}

/* ---- Screenshot Gallery (.fp-gallery) — CSS-only lightbox ---- */
.fp-gallery-section {
    background: var(--white);
}

.fp-gallery {
    display:         flex;
    flex-wrap:       wrap;
    justify-content: center;
    gap:             16px;
}

.fp-gallery-item {
    display:   block;
    flex:      1 1 220px;
    max-width: 400px;
}

.fp-gallery-item img {
    width:         100%;
    border-radius: var(--radius);
    border:        2px solid var(--border-color);
    cursor:        zoom-in;
    transition:    transform 0.2s ease, box-shadow 0.2s ease;
    display:       block;
}

.fp-gallery-item img:hover {
    transform:  scale(1.03);
    box-shadow: var(--shadow-hover);
}

/* Lightbox overlay (CSS :target) */
.fp-lightbox {
    display:         none;
    position:        fixed;
    inset:           0;
    background:      rgba(0, 0, 0, 0.88);
    z-index:         9000;
    justify-content: center;
    align-items:     center;
    padding:         20px;
}

.fp-lightbox:target {
    display: flex;
}

.fp-lightbox img {
    max-width:     90vw;
    max-height:    88vh;
    border-radius: var(--radius);
    box-shadow:    0 8px 40px rgba(0, 0, 0, 0.5);
    display:       block;
}

.fp-lightbox-close {
    position:    absolute;
    top:         20px;
    right:       28px;
    color:       rgba(255, 255, 255, 0.8);
    font-size:   2.2rem;
    line-height: 1;
    text-decoration: none;
    transition:  color var(--transition);
}

.fp-lightbox-close:hover {
    color: var(--white);
}

.fp-lightbox-bg {
    position: absolute;
    inset:    0;
    z-index:  -1;
}

/* ---- Split block: text + visual (.fp-split) ---- */
.fp-split-section {
    background: var(--light-bg);
}

.fp-split {
    display:               grid;
    grid-template-columns: 1fr 1fr;
    gap:                   56px;
    align-items:           center;
}

.fp-split--reverse .fp-split-visual {
    order: -1;
}

.fp-split-content h2 {
    font-size:     1.75rem;
    font-weight:   700;
    color:         var(--privatelan-blue-darker);
    margin-bottom: 16px;
    line-height:   1.25;
}

.fp-split-content p {
    font-size:     1rem;
    color:         var(--text-muted);
    line-height:   1.75;
    margin-bottom: 16px;
}

.fp-split-content p:last-of-type {
    margin-bottom: 24px;
}

.fp-split-visual img {
    width:         100%;
    border-radius: var(--radius);
    border:        2px solid var(--border-color);
    box-shadow:    var(--shadow);
    display:       block;
}

.fp-placeholder {
    background:      var(--white);
    border:          2px solid var(--border-color);
    border-radius:   var(--radius);
    min-height:      280px;
    display:         flex;
    align-items:     center;
    justify-content: center;
    color:           var(--text-muted);
    font-size:       0.9rem;
    text-align:      center;
    padding:         40px;
}

/* ---- Feature video block (.fp-video) ----
   Use inside .fp-split-visual (16:9, ~1280x720 source) or standalone
   full-width as its own section (16:9, ~1920x1080 source). */
.fp-video {
    position:      relative;
    width:         100%;
    aspect-ratio:  16 / 9;
    border-radius: var(--radius);
    border:        2px solid var(--border-color);
    box-shadow:    var(--shadow);
    overflow:      hidden;
    background:    var(--privatelan-blue-darker);
}

.fp-video video {
    width:      100%;
    height:     100%;
    display:    block;
    object-fit: cover;
}

/* ---- CTA Bar (.fp-cta) ---- */
.fp-cta {
    background:  var(--privatelan-blue-darker);
    color:       var(--white);
    text-align:  center;
    padding:     60px 0;
}

.fp-cta h2 {
    font-size:     1.9rem;
    font-weight:   700;
    color:         var(--white);
    margin-bottom: 12px;
}

.fp-cta p {
    font-size:   1rem;
    color:       rgba(255, 255, 255, 0.8);
    max-width:   540px;
    margin:      0 auto;
    line-height: 1.6;
}

.fp-cta-actions {
    display:         flex;
    gap:             16px;
    justify-content: center;
    flex-wrap:       wrap;
    margin-top:      28px;
}

.fp-cta .btn--outline {
    border-color: rgba(255, 255, 255, 0.7);
    color:        var(--white);
}

.fp-cta .btn--outline:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color:     var(--white);
    color:            var(--white);
}

/* ---- Functies overview page (.fp-overview) ---- */
.fp-overview {
    background: var(--light-bg);
}

/* ============================================================
   PRIJZEN PAGE — CALCULATOR
   ============================================================ */

.calc-wrapper {
    display:               grid;
    grid-template-columns: 1fr 380px;
    gap:                   32px;
    align-items:           start;
}

.calc-form-card {
    background:    var(--white);
    border:        1px solid var(--border-color);
    border-radius: var(--radius);
    padding:       36px 40px;
    box-shadow:    var(--shadow);
}

.calc-result-card {
    background:    var(--white);
    border:        2px solid var(--privatelan-blue);
    border-radius: var(--radius);
    padding:       32px 28px;
    box-shadow:    var(--shadow-hover);
    position:      sticky;
    top:           calc(var(--header-height) + 20px);
}

.calc-step {
    margin-bottom: 32px;
}

.calc-step:last-child {
    margin-bottom: 0;
}

.calc-step-title {
    font-size:     0.78rem;
    font-weight:   700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color:         var(--privatelan-blue);
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.calc-slider-group {
    margin-bottom: 20px;
}

.calc-slider-header {
    display:         flex;
    justify-content: space-between;
    align-items:     baseline;
    margin-bottom:   8px;
}

.calc-slider-label {
    font-size:   0.95rem;
    font-weight: 600;
    color:       var(--text-dark);
}

.calc-slider-value {
    font-size:   1.1rem;
    font-weight: 700;
    color:       var(--privatelan-blue-darker);
    min-width:   48px;
    text-align:  right;
}

.calc-slider {
    -webkit-appearance: none;
    width:         100%;
    height:        6px;
    border-radius: 3px;
    background:    var(--border-color);
    outline:       none;
    cursor:        pointer;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width:         20px;
    height:        20px;
    border-radius: 50%;
    background:    var(--privatelan-blue);
    cursor:        pointer;
    box-shadow:    0 1px 4px rgba(86,115,134,0.35);
    transition:    background var(--transition);
}

.calc-slider::-webkit-slider-thumb:hover {
    background: var(--privatelan-blue-darker);
}

.calc-slider::-moz-range-thumb {
    width:         20px;
    height:        20px;
    border-radius: 50%;
    background:    var(--privatelan-blue);
    border:        none;
    cursor:        pointer;
}

.calc-slider-ticks {
    display:         flex;
    justify-content: space-between;
    margin-top:      4px;
}

.calc-slider-ticks span {
    font-size: 0.72rem;
    color:     var(--text-muted);
}

/* Checkboxes */
.calc-check-list {
    display:        flex;
    flex-direction: column;
    gap:            10px;
}

.calc-check-item {
    display:     flex;
    align-items: center;
    gap:         10px;
    cursor:      pointer;
    font-size:   0.95rem;
    color:       var(--text-dark);
}

.calc-check-item input[type="checkbox"] {
    width:     18px;
    height:    18px;
    accent-color: var(--privatelan-blue);
    cursor:    pointer;
    flex-shrink: 0;
}

.calc-check-badge {
    margin-left:    auto;
    font-size:      0.72rem;
    font-weight:    700;
    padding:        2px 8px;
    border-radius:  999px;
    white-space:    nowrap;
    background:     var(--light-bg);
    color:          var(--text-muted);
    border:         1px solid var(--border-color);
}

.calc-check-item--bundle {
    font-weight: 700;
}

.calc-check-badge--bundle {
    background:   var(--privatelan-blue);
    color:        #fff;
    border-color: var(--privatelan-blue);
}

.calc-bundle-hint {
    font-size: 0.78rem;
    color:     var(--text-muted);
    margin:    -4px 0 4px 28px;
}

/* Explains what a unit on the slider above actually counts */
.calc-slider-hint {
    font-size:   0.78rem;
    color:       var(--text-muted);
    margin-top:  6px;
    line-height: 1.4;
}

.calc-check-item.is-disabled {
    color:  var(--text-muted);
    cursor: not-allowed;
}

.calc-check-item input[type="checkbox"]:disabled {
    cursor:  not-allowed;
    opacity: 0.6;
}

.calc-number-wrap {
    display:        flex;
    flex-direction: column;
    gap:            6px;
}

.calc-number-label {
    font-size:   0.88rem;
    font-weight: 600;
    color:       var(--text-dark);
}

.calc-number-sublabel {
    font-size: 0.78rem;
    color:     var(--text-muted);
    margin-top: -2px;
}

.calc-number {
    padding:       8px 12px;
    border:        1px solid var(--border-color);
    border-radius: var(--radius);
    font-family:   var(--font);
    font-size:     1rem;
    font-weight:   600;
    color:         var(--text-dark);
    width:         100%;
    transition:    border-color var(--transition);
}

.calc-number:focus {
    outline:      none;
    border-color: var(--privatelan-blue);
    box-shadow:   0 0 0 3px rgba(86,115,134,0.12);
}

/* Result card */
.calc-result-title {
    font-size:     0.78rem;
    font-weight:   700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color:         var(--privatelan-blue);
    margin-bottom: 16px;
}

.calc-tier-display {
    background:    var(--light-bg);
    border-radius: var(--radius);
    padding:       14px 16px;
    margin-bottom: 20px;
    display:       flex;
    align-items:   center;
    justify-content: space-between;
    gap:           8px;
}

.calc-tier-label {
    font-size:  0.85rem;
    color:      var(--text-muted);
    font-weight: 600;
}

.calc-tier-name {
    font-size:     1rem;
    font-weight:   700;
    color:         var(--privatelan-blue-darker);
}

.calc-tier-name.tier-custom {
    color: #e67e22;
}

.calc-price-lines {
    display:        flex;
    flex-direction: column;
    gap:            10px;
    margin-bottom:  20px;
}

.calc-price-line {
    display:         flex;
    justify-content: space-between;
    align-items:     baseline;
    font-size:       0.92rem;
    color:           var(--text-muted);
    padding-bottom:  10px;
    border-bottom:   1px solid var(--light-bg);
}

.calc-price-line:last-child {
    border-bottom: none;
}

.calc-price-line strong {
    color: var(--text-dark);
}

.calc-price-line .price-val {
    font-weight: 600;
    color:       var(--text-dark);
    white-space: nowrap;
}

.calc-divider {
    border: none;
    border-top: 2px solid var(--border-color);
    margin: 16px 0;
}

.calc-total-line {
    display:         flex;
    justify-content: space-between;
    align-items:     baseline;
    margin-bottom:   8px;
}

.calc-total-label {
    font-size:   0.88rem;
    font-weight: 700;
    color:       var(--text-dark);
}

.calc-total-price {
    font-size:   1.5rem;
    font-weight: 700;
    color:       var(--privatelan-blue-darker);
}

.calc-total-note {
    font-size:  0.8rem;
    color:      var(--text-muted);
    margin-top: 4px;
    line-height: 1.4;
}

.calc-cta {
    margin-top: 20px;
}

.calc-note {
    font-size:   0.8rem;
    color:       var(--text-muted);
    margin-top:  12px;
    line-height: 1.4;
    text-align:  center;
}

.calc-warning {
    background:    #fff8e1;
    border:        1px solid #ffe082;
    border-radius: var(--radius);
    padding:       10px 14px;
    font-size:     0.85rem;
    color:         #7a5a00;
    margin-bottom: 16px;
    display:       none;
}

.calc-warning.visible {
    display: block;
}

/* Responsive calculator */
@media (max-width: 1024px) {
    .calc-wrapper {
        grid-template-columns: 1fr;
    }
    .calc-result-card {
        position: static;
    }
}

@media (max-width: 600px) {
    .calc-form-card { padding: 24px 20px; }
}

/* ============================================================
   TEAM CARDS
   ============================================================ */

.team-grid {
    display:               grid;
    grid-template-columns: repeat(3, 1fr);
    gap:                   28px;
}

.team-card {
    background:    var(--white);
    border:        1px solid var(--border-color);
    border-radius: var(--radius);
    overflow:      hidden;
    transition:    box-shadow var(--transition), transform var(--transition);
    text-align:    center;
}

.team-card:hover {
    box-shadow: var(--shadow-hover);
    transform:  translateY(-3px);
}

.team-card--featured {
    border-color: var(--privatelan-blue);
    box-shadow:   0 4px 20px rgba(86, 115, 134, 0.15);
}

.team-photo {
    width:      100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--privatelan-blue-darker), var(--privatelan-blue-lighter));
    display:    flex;
    align-items:    center;
    justify-content: center;
    font-size:  3.5rem;
    color:      rgba(255, 255, 255, 0.85);
}

.team-photo img {
    width:       100%;
    height:      100%;
    object-fit:  cover;
    display:     block;
}

.team-card-body {
    padding: 24px 20px 28px;
}

.team-name {
    font-size:     1.1rem;
    font-weight:   700;
    color:         var(--privatelan-blue-darker);
    margin-bottom: 4px;
}

.team-role {
    font-size:     0.85rem;
    font-weight:   600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color:         var(--privatelan-blue);
    margin-bottom: 12px;
}

.team-bio {
    font-size:   0.92rem;
    color:       var(--text-muted);
    line-height: 1.6;
}

/* Open position card */
.team-card--open {
    border-style:  dashed;
    border-color:  var(--border-color);
    background:    var(--light-bg);
}

.team-card--open .team-photo {
    background: var(--light-bg);
    color:      var(--border-color);
    font-size:  2.8rem;
}

.team-card--open .team-name {
    color: var(--text-muted);
}

/* ============================================================
   PARTNER CARDS
   ============================================================ */

.partner-grid {
    display:               grid;
    grid-template-columns: repeat(4, 1fr);
    gap:                   20px;
}

.partner-card {
    background:    var(--white);
    border:        1px solid var(--border-color);
    border-radius: var(--radius);
    padding:       28px 20px;
    display:       flex;
    flex-direction: column;
    align-items:   center;
    text-align:    center;
    transition:    box-shadow var(--transition), transform var(--transition);
    gap:           12px;
}

.partner-card:hover {
    box-shadow: var(--shadow-hover);
    transform:  translateY(-2px);
}

.partner-logo {
    width:       80px;
    height:      80px;
    border-radius: 50%;
    background:  var(--light-bg);
    display:     flex;
    align-items: center;
    justify-content: center;
    font-size:   2rem;
    flex-shrink: 0;
}

.partner-name {
    font-size:   0.97rem;
    font-weight: 700;
    color:       var(--text-dark);
}

.partner-type {
    font-size:  0.82rem;
    color:      var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.partner-desc {
    font-size:   0.88rem;
    color:       var(--text-muted);
    line-height: 1.5;
}

/* Responsive team & partners */
@media (max-width: 1024px) {
    .team-grid    { grid-template-columns: repeat(2, 1fr); }
    .partner-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .team-grid    { grid-template-columns: 1fr; }
    .partner-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   NEWS (list page, homepage teaser & article detail)
   ============================================================ */

.news-grid {
    display:               grid;
    grid-template-columns: repeat(3, 1fr);
    gap:                   28px;
}

.news-card {
    display:        flex;
    flex-direction: column;
    background:     var(--white);
    border:         1px solid var(--border-color);
    border-radius:  var(--radius);
    overflow:       hidden;
    transition:     box-shadow var(--transition), transform var(--transition);
}

.news-card:hover {
    box-shadow: var(--shadow-hover);
    transform:  translateY(-3px);
}

.news-card-image {
    width:        100%;
    aspect-ratio: 16 / 9;
    background:   var(--light-bg);
    overflow:     hidden;
}

.news-card-image img {
    width:      100%;
    height:     100%;
    object-fit: cover;
}

.news-card-body {
    display:        flex;
    flex-direction: column;
    flex:           1;
    padding:        22px 24px 26px;
}

.news-card-meta {
    display:       flex;
    align-items:   center;
    gap:           10px;
    margin-bottom: 8px;
}

.news-card-date {
    font-size:      0.8rem;
    font-weight:    600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color:          var(--privatelan-blue);
}

/* 'Binnenkort' badge for 'upcoming' news items - amber, distinct from the
   blue used everywhere else so a preview is never mistaken for something
   that has already shipped. Works on both white cards and the fp-hero
   gradient background. */
.news-badge {
    display:        inline-block;
    font-size:      0.72rem;
    font-weight:    700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding:        3px 10px;
    border-radius:  999px;
    color:          var(--white);
}

.news-badge--upcoming {
    background: #ca8a04;
}

.fp-hero .news-badge {
    margin-bottom: 16px;
}

.news-card-title {
    font-size:     1.15rem;
    font-weight:   700;
    color:         var(--text-dark);
    line-height:   1.35;
    margin-bottom: 10px;
}

.news-card-summary {
    font-size:     0.92rem;
    color:         var(--text-muted);
    line-height:   1.6;
    flex:          1;
    margin-bottom: 14px;
}

.news-card-more {
    font-size:   0.9rem;
    font-weight: 600;
    color:       var(--privatelan-blue);
}

.news-empty {
    text-align: center;
    color:      var(--text-muted);
    padding:    40px 0;
}

/* Article detail page - image reuses the .fp-gallery-item / .fp-lightbox
   CSS-only lightbox already used on the feature pages */
.news-article-image {
    max-width: 700px;
    margin:    0 auto 32px;
}

/* Article detail page - screenshot row shown instead of the single image when a
   news item has an 'images' list; reuses .fp-gallery and its lightbox */
.news-article-gallery {
    margin-top: 12px;
}

.news-gallery-caption {
    margin:     32px 0 0;
    font-size:  0.88rem;
    color:      var(--text-muted);
    scroll-margin-top: 24px;
}

.news-highlights {
    margin:  16px 0 0;
    padding: 0;
}

.news-highlights li {
    position:      relative;
    list-style:    none;
    padding-left:  24px;
    margin-bottom: 12px;
    line-height:   1.65;
}

.news-highlights li::before {
    content:     "\2713";
    position:    absolute;
    left:        0;
    color:       var(--privatelan-blue);
    font-weight: 700;
}

.news-disclaimer {
    margin-top:  24px;
    padding:     14px 18px;
    background:  var(--light-bg);
    border-left: 3px solid #ca8a04;
    border-radius: var(--radius);
    font-size:   0.88rem;
    color:       var(--text-muted);
}

@media (max-width: 1024px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* ============================================================
   FAQ PAGE
   ============================================================ */

.faq-search-wrap {
    max-width:     640px;
    margin:        0 auto 48px;
    position:      relative;
}

.faq-search {
    width:         100%;
    padding:       14px 48px 14px 20px;
    border:        2px solid var(--border-color);
    border-radius: var(--radius);
    font-family:   var(--font);
    font-size:     1rem;
    color:         var(--text-dark);
    background:    var(--white);
    transition:    border-color var(--transition), box-shadow var(--transition);
}

.faq-search:focus {
    outline:      none;
    border-color: var(--privatelan-blue);
    box-shadow:   0 0 0 3px rgba(86, 115, 134, 0.15);
}

.faq-search-icon {
    position:  absolute;
    right:     16px;
    top:       50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    color:     var(--text-muted);
    pointer-events: none;
}

/* Category filter pills */
.faq-categories {
    display:         flex;
    flex-wrap:       wrap;
    gap:             10px;
    justify-content: center;
    margin-bottom:   48px;
}

.faq-cat-btn {
    padding:       8px 20px;
    border:        2px solid var(--border-color);
    border-radius: 999px;
    background:    var(--white);
    font-family:   var(--font);
    font-size:     0.88rem;
    font-weight:   600;
    color:         var(--text-muted);
    cursor:        pointer;
    transition:    background-color var(--transition),
                   border-color     var(--transition),
                   color            var(--transition);
}

.faq-cat-btn:hover {
    border-color: var(--privatelan-blue);
    color:        var(--privatelan-blue);
}

.faq-cat-btn.active {
    background:   var(--privatelan-blue);
    border-color: var(--privatelan-blue);
    color:        var(--white);
}

/* Category section */
.faq-section {
    margin-bottom: 40px;
}

.faq-section-title {
    font-size:     1rem;
    font-weight:   700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color:         var(--privatelan-blue);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

/* Accordion item */
.faq-item {
    border:        1px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 8px;
    background:    var(--white);
    overflow:      hidden;
    transition:    box-shadow var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-item[open] {
    box-shadow: var(--shadow);
    border-color: var(--privatelan-blue-lighter);
}

.faq-question {
    padding:     16px 20px;
    font-size:   0.97rem;
    font-weight: 600;
    color:       var(--text-dark);
    cursor:      pointer;
    list-style:  none;
    display:     flex;
    justify-content: space-between;
    align-items: center;
    gap:         16px;
    user-select: none;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
    content:      "›";
    font-size:    1.4rem;
    font-weight:  300;
    color:        var(--privatelan-blue);
    flex-shrink:  0;
    transition:   transform var(--transition);
    line-height:  1;
}

.faq-item[open] .faq-question::after {
    transform: rotate(90deg);
}

.faq-item[open] .faq-question {
    color: var(--privatelan-blue-darker);
}

.faq-answer {
    padding:     0 20px 18px;
    font-size:   0.95rem;
    color:       var(--text-muted);
    line-height: 1.7;
    border-top:  1px solid var(--border-color);
    padding-top: 14px;
}

.faq-answer a {
    color:           var(--privatelan-blue);
    text-decoration: underline;
}

.faq-no-results {
    text-align:  center;
    padding:     48px 0;
    color:       var(--text-muted);
    font-size:   1rem;
    display:     none;
}

.faq-item.faq-hidden {
    display: none;
}

.faq-section.faq-hidden {
    display: none;
}

/* ============================================================
   FEATURE PAGES — RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
    .fp-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .fp-hero-title {
        font-size: 1.9rem;
    }

    .fp-hero-subtitle {
        font-size: 1rem;
    }

    .fp-hero-actions {
        flex-direction: column;
        align-items:    center;
    }

    .fp-hero-actions .btn {
        width:     100%;
        max-width: 320px;
    }

    .fp-benefits-grid {
        grid-template-columns: 1fr;
    }

    .fp-tech-grid {
        grid-template-columns: 1fr;
    }

    .fp-split {
        grid-template-columns: 1fr;
        gap:                   28px;
    }

    .fp-split--reverse .fp-split-visual {
        order: 0;
    }

    .fp-cta h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .fp-hero {
        padding: 44px 0 36px;
    }

    .fp-hero-title {
        font-size: 1.6rem;
    }

    .fp-gallery {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================================
   ADMIN PAGES (users, users/edit)
   page_table — data and form tables used in admin-only pages.
   These pages output raw HTML into <main> without a page-section
   wrapper, so we apply a container layout here via :has().
   ============================================================ */

/* Match background so any whitespace before .page-section is invisible */
main:has(.page-section) {
    background: var(--light-bg);
}

/* Container layout for admin pages that don't use .page-section */
main:not(:has(.page-section, .fp-hero)) {
    padding:   32px 24px;
    max-width: 1800px;
    margin:    0 auto;
}

/* ---- page_table base ---- */
.page_table {
    width:           100%;
    border-collapse: collapse;
    border-radius:   var(--radius);
    overflow:        hidden;
    border:          1px solid var(--border-color);
    margin-top:      16px;
    font-size:       0.95rem;
}

/* ---- header row ---- */
.page_table .page_table_top th,
.page_table .page_table_top td {
    background:  var(--privatelan-blue);
    color:       var(--white);
    font-weight: 600;
    font-size:   0.9rem;
    padding:     10px 14px;
    text-align:  left;
}

/* ---- form rows (no border between label and input) ---- */
.page_table .page_table_contents td {
    padding:        10px 14px;
    border-top:     1px solid var(--border-color);
    vertical-align: top;
}

/* ---- data rows (user list) ---- */
.page_table .page_table_contents_border td {
    padding:        10px 14px;
    border-top:     1px solid var(--border-color);
    vertical-align: top;
}

.page_table .page_table_contents_border:hover td {
    background: var(--light-bg);
}

/* ---- text / password inputs inside page_table ---- */
.page_table input[type="text"],
.page_table input[type="password"] {
    padding:       5px 8px;
    border:        1px solid var(--border-color);
    border-radius: var(--radius);
    font-family:   var(--font);
    font-size:     0.95rem;
    color:         var(--text-dark);
    transition:    border-color var(--transition), box-shadow var(--transition);
}

.page_table input[type="text"]:focus,
.page_table input[type="password"]:focus {
    outline:      none;
    border-color: var(--privatelan-blue);
    box-shadow:   0 0 0 3px rgba(86, 115, 134, 0.15);
}

/* ---- select inside page_table ---- */
.page_table select {
    padding:       5px 8px;
    border:        1px solid var(--border-color);
    border-radius: var(--radius);
    font-family:   var(--font);
    font-size:     0.95rem;
    color:         var(--text-dark);
    background:    var(--white);
    cursor:        pointer;
    transition:    border-color var(--transition);
}

.page_table select:focus {
    outline:      none;
    border-color: var(--privatelan-blue);
}

/* ---- submit button inside page_table ---- */
.page_table input[type="submit"] {
    display:          inline-block;
    padding:          8px 22px;
    background-color: var(--privatelan-blue);
    color:            var(--white);
    border:           2px solid var(--privatelan-blue);
    border-radius:    var(--radius);
    font-family:      var(--font);
    font-size:        0.95rem;
    font-weight:      600;
    cursor:           pointer;
    transition:       background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.page_table input[type="submit"]:hover {
    background-color: var(--privatelan-blue-darker);
    border-color:     var(--privatelan-blue-darker);
    box-shadow:       var(--shadow-hover);
}

/* ---- fieldsets (roles section in edit page) ---- */
.page_table fieldset {
    border:        1px solid var(--border-color);
    border-radius: var(--radius);
    padding:       10px 12px;
}

.page_table fieldset legend {
    font-weight: 600;
    font-size:   0.9rem;
    color:       var(--text-dark);
    padding:     0 6px;
}

/* ---- action icon links in table rows ---- */
.page_table td a img {
    display:        inline;
    vertical-align: middle;
    height:         15px;
    width:          auto;
    opacity:        0.72;
    transition:     opacity var(--transition);
}

.page_table td a:hover img {
    opacity: 1;
}

/* Restore inline height attributes overridden by the global img reset */
img[height="15"] {
    height:         15px;
    width:          auto;
    display:        inline;
    vertical-align: middle;
}

img[height="40"] {
    height:  40px;
    width:   auto;
    display: inline;
}

/* ---- page navigator + sort controls (outside .page_table, direct children of the form) ---- */

#page_and_filter_form > input[type="button"] {
    display:          inline-block;
    padding:          4px 10px;
    background-color: var(--privatelan-blue);
    color:            var(--white);
    border:           2px solid var(--privatelan-blue);
    border-radius:    var(--radius);
    font-family:      var(--font);
    font-size:        0.95rem;
    font-weight:      700;
    cursor:           pointer;
    transition:       background-color var(--transition), border-color var(--transition);
}

#page_and_filter_form > input[type="button"]:hover {
    background-color: var(--privatelan-blue-darker);
    border-color:     var(--privatelan-blue-darker);
}

#page_and_filter_form > input[type="text"] {
    padding:       4px 6px;
    border:        1px solid var(--border-color);
    border-radius: var(--radius);
    font-family:   var(--font);
    font-size:     0.95rem;
    color:         var(--text-dark);
    text-align:    center;
    transition:    border-color var(--transition), box-shadow var(--transition);
}

#page_and_filter_form > input[type="text"]:focus {
    outline:      none;
    border-color: var(--privatelan-blue);
    box-shadow:   0 0 0 3px rgba(86, 115, 134, 0.15);
}

#page_and_filter_form > select {
    padding:       4px 8px;
    border:        1px solid var(--border-color);
    border-radius: var(--radius);
    font-family:   var(--font);
    font-size:     0.9rem;
    color:         var(--text-dark);
    background:    var(--white);
    cursor:        pointer;
    transition:    border-color var(--transition);
}

#page_and_filter_form > select:focus {
    outline:      none;
    border-color: var(--privatelan-blue);
    box-shadow:   0 0 0 3px rgba(86, 115, 134, 0.15);
}

/* ---- responsive: stack table on narrow screens ---- */
@media (max-width: 768px) {
    main:not(:has(.page-section, .fp-hero)) {
        padding: 20px 16px;
    }

    .page_table,
    .page_table thead,
    .page_table tbody,
    .page_table tr,
    .page_table td,
    .page_table th {
        display: block;
        width:   100%;
    }

    .page_table .page_table_top {
        display: none;
    }

    .page_table .page_table_contents td,
    .page_table .page_table_contents_border td {
        border-top: none;
        padding:    6px 12px;
    }

    .page_table .page_table_contents_border {
        border-top:    1px solid var(--border-color);
        padding:       8px 0;
    }
}

.mfa_backup_codes {
    background: #ffffff;
    border: 2px solid var(--red);
    border-radius: 4px;
    padding: 20px;
    margin: 16px 0;
    width: 50%;
}

.mfa_backup_codes_header::before {
    content: "Save your backup codes";
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
}

.mfa_backup_codes_header::after {
    content: "Store these codes in a safe place. Each code can only be used once to log in if you lose access to your authenticator app.";
    display: block;
    margin-bottom: 12px;
}

.mfa_backup_codes_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    font-family: monospace;
    font-size: 1.1rem;
}

/* ============================================================
   CVE Disclosure Page
   ============================================================ */

/* Policy box */
.cve-policy-box {
    background:    var(--light-bg);
    border-left:   4px solid var(--privatelan-blue);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding:       24px 28px;
    margin-bottom: 48px;
    font-size:     0.95rem;
    color:         var(--text-muted);
    line-height:   1.7;
}

.cve-policy-title {
    font-size:     1.1rem;
    font-weight:   700;
    color:         var(--privatelan-blue-darker);
    margin-bottom: 12px;
}

.cve-policy-box a {
    color:           var(--privatelan-blue);
    text-decoration: underline;
}

/* Filter section */
.cve-filter-section {
    display:       flex;
    flex-wrap:     wrap;
    gap:           24px;
    margin-bottom: 24px;
}

.cve-filter-group {
    display:     flex;
    align-items: center;
    gap:         12px;
    flex-wrap:   wrap;
}

.cve-filter-label {
    font-size:      0.8rem;
    font-weight:    700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color:          var(--text-muted);
    white-space:    nowrap;
}

.cve-filter-bar {
    display:  flex;
    flex-wrap: wrap;
    gap:       8px;
}

/* CVE count line */
.cve-count {
    font-size:     0.9rem;
    color:         var(--text-muted);
    margin-bottom: 24px;
}

/* CVE accordion item */
.cve-item {
    border:        1px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 10px;
    background:    var(--white);
    overflow:      hidden;
    transition:    box-shadow var(--transition);
}

.cve-item:hover {
    box-shadow: var(--shadow);
}

.cve-item[open] {
    box-shadow:   var(--shadow);
    border-color: var(--privatelan-blue-lighter);
}

.cve-item.cve-hidden {
    display: none;
}

/* Summary row */
.cve-summary {
    padding:         14px 20px;
    cursor:          pointer;
    list-style:      none;
    display:         flex;
    justify-content: space-between;
    align-items:     center;
    gap:             16px;
    user-select:     none;
    flex-wrap:       wrap;
}

.cve-summary::-webkit-details-marker { display: none; }

.cve-summary::after {
    content:     "›";
    font-size:   1.4rem;
    font-weight: 300;
    color:       var(--privatelan-blue);
    flex-shrink: 0;
    transition:  transform var(--transition);
    line-height: 1;
}

.cve-item[open] .cve-summary::after {
    transform: rotate(90deg);
}

.cve-summary-left {
    display:     flex;
    align-items: center;
    gap:         10px;
    flex-wrap:   wrap;
    flex:        1;
    min-width:   0;
}

.cve-summary-right {
    display:     flex;
    align-items: center;
    gap:         10px;
    flex-shrink: 0;
    flex-wrap:   wrap;
}

.cve-id {
    font-family:    monospace;
    font-size:      0.88rem;
    font-weight:    700;
    color:          var(--text-dark);
    background:     var(--light-bg);
    padding:        2px 8px;
    border-radius:  4px;
    white-space:    nowrap;
}

.cve-title-text {
    font-size:   0.95rem;
    font-weight: 600;
    color:       var(--text-dark);
}

.cve-item[open] .cve-title-text {
    color: var(--privatelan-blue-darker);
}

.cve-date {
    font-size:   0.85rem;
    color:       var(--text-muted);
    white-space: nowrap;
}

/* Severity badge */
.cve-badge {
    display:        inline-block;
    padding:        2px 10px;
    border-radius:  999px;
    font-size:      0.72rem;
    font-weight:    700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space:    nowrap;
    color:          #fff;
}

.cve-badge--critical  { background: #dc2626; }
.cve-badge--high      { background: #ea580c; }
.cve-badge--medium    { background: #ca8a04; }
.cve-badge--low       { background: #2563eb; }
.cve-badge--none      { background: #6b7280; }

/* Status badge */
.cve-status {
    display:        inline-block;
    padding:        2px 10px;
    border-radius:  999px;
    font-size:      0.72rem;
    font-weight:    700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space:    nowrap;
}

.cve-status--fixed         { background: #d1fae5; color: #065f46; }
.cve-status--investigating { background: #fef3c7; color: #92400e; }
.cve-status--won\'t-fix    { background: #f3f4f6; color: #374151; }

/* Expanded body */
.cve-body {
    padding:    0 20px 20px;
    border-top: 1px solid var(--border-color);
}

.cve-description {
    padding:     16px 0 20px;
    font-size:   0.95rem;
    color:       var(--text-muted);
    line-height: 1.7;
}

/* Two-column metadata grid */
.cve-meta-grid {
    display:               grid;
    grid-template-columns: 1fr 1fr;
    gap:                   0 40px;
}

.cve-meta-block dl {
    display:               grid;
    grid-template-columns: auto 1fr;
    gap:                   8px 16px;
    align-items:           baseline;
}

.cve-meta-block dt {
    font-size:      0.8rem;
    font-weight:    700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color:          var(--text-muted);
    white-space:    nowrap;
}

.cve-meta-block dd {
    font-size:  0.92rem;
    color:      var(--text-dark);
    word-break: break-word;
}

/* CVSS vector monospace display */
.cve-vector {
    font-family: monospace;
    font-size:   0.82rem;
    color:       var(--text-muted);
    word-break:  break-all;
}

/* Tags */
.cve-tags {
    display:  flex;
    flex-wrap: wrap;
    gap:       6px;
}

.cve-tag {
    display:       inline-block;
    padding:       2px 10px;
    border-radius: 999px;
    font-size:     0.75rem;
    font-weight:   600;
    background:    var(--light-bg);
    color:         var(--privatelan-blue-darker);
    border:        1px solid var(--border-color);
}

/* References */
.cve-refs {
    margin-top:  20px;
    padding-top: 16px;
    border-top:  1px solid var(--border-color);
}

.cve-refs-label {
    font-size:      0.8rem;
    font-weight:    700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color:          var(--text-muted);
    margin-bottom:  8px;
}

.cve-refs ul {
    list-style: none;
    padding:    0;
}

.cve-refs li {
    font-size:    0.88rem;
    margin-bottom: 4px;
}

/* ============================================================
   Documentation pages (rendered Markdown)
   ============================================================ */

.docs-content h1,
.docs-content h2,
.docs-content h3,
.docs-content h4,
.docs-content h5,
.docs-content h6 {
    color:         var(--privatelan-blue-darker);
    margin:        32px 0 12px;
    line-height:   1.3;
    /* .site-header is sticky at the top, so an anchor jump would otherwise leave the heading
       hidden behind it - the reader lands on the section body with no title in sight. */
    scroll-margin-top: calc(var(--header-height) + 24px);
}

.docs-content h1:first-child,
.docs-content h2:first-child {
    margin-top: 0;
}

.docs-content p {
    margin:      0 0 16px;
    line-height: 1.7;
    color:       var(--text-dark);
}

.docs-content ul,
.docs-content ol {
    margin:  0 0 16px;
    padding-left: 24px;
    line-height: 1.7;
}

.docs-content li {
    margin-bottom: 4px;
}

.docs-content a {
    color:           var(--privatelan-blue);
    text-decoration: underline;
}

.docs-content code {
    font-family:   monospace;
    font-size:     0.9em;
    background:    var(--light-bg);
    padding:       2px 6px;
    border-radius: 4px;
}

.docs-content pre {
    background:    var(--light-bg);
    border-radius: var(--radius);
    padding:       16px 20px;
    overflow-x:    auto;
    margin:        0 0 16px;
}

.docs-content pre code {
    background: none;
    padding:    0;
}

.docs-content blockquote {
    background:    var(--light-bg);
    border-left:   4px solid var(--privatelan-blue);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding:       12px 20px;
    margin:        0 0 16px;
    color:         var(--text-muted);
}

.docs-content blockquote p {
    margin: 0;
}

.docs-table {
    width:           100%;
    border-collapse: collapse;
    margin:          0 0 16px;
    font-size:       0.95rem;
}

.docs-table th,
.docs-table td {
    border:  1px solid var(--border-color);
    padding: 8px 12px;
    text-align: left;
}

.docs-table th {
    background:  var(--light-bg);
    font-weight: 700;
}

.docs-content img {
    max-width:     100%;
    border-radius: var(--radius);
    margin:        8px 0;
}

.docs-content hr {
    border:     none;
    border-top: 1px solid var(--border-color);
    margin:     24px 0;
}

/* ============================================================
   Switch configuration guides (/support/switch-configuratie)
   ============================================================ */

.swconf-grid {
    display:               grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap:                   24px;
}

.swconf-card {
    border:        1px solid var(--border-color);
    border-radius: var(--radius);
    padding:       24px 28px;
    background:    var(--white);
}

.swconf-card-title {
    font-size:     1.15rem;
    margin-bottom: 8px;
}

.swconf-card-title a {
    color:           var(--privatelan-blue-darker);
    text-decoration: none;
}

.swconf-card-title a:hover {
    text-decoration: underline;
}

.swconf-card-text {
    color:         var(--text-muted);
    margin-bottom: 16px;
}

.swconf-meta {
    margin:    0;
    font-size: 0.9rem;
}

.swconf-meta dt {
    font-weight: 700;
    margin-top:  8px;
}

.swconf-meta dd {
    margin:  2px 0 0;
    color:   var(--text-muted);
}

.swconf-meta code {
    font-family:   monospace;
    background:    var(--light-bg);
    padding:       2px 6px;
    border-radius: 4px;
}

.swconf-note {
    background:    var(--light-bg);
    border-left:   4px solid var(--privatelan-blue);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding:       10px 16px;
    margin:        16px 0 0;
    color:         var(--text-muted);
    font-size:     0.92rem;
}

/* Table of contents, built from the rendered h2 headings by the page script */
.swconf-toc {
    border:        1px solid var(--border-color);
    border-radius: var(--radius);
    background:    var(--light-bg);
    padding:       20px 24px;
    margin-bottom: 40px;
}

.swconf-toc-title {
    font-weight:   700;
    margin-bottom: 8px;
}

.swconf-toc ul {
    list-style:   none;
    padding-left: 0;
    margin:       0;
    columns:      2;
    column-gap:   32px;
}

.swconf-toc li {
    margin-bottom:            4px;
    break-inside:             avoid;
    -webkit-column-break-inside: avoid;
}

.swconf-toc a {
    color:       var(--privatelan-blue);
    font-size:   0.94rem;
}

@media (max-width: 640px) {
    .swconf-toc ul {
        columns: 1;
    }
}

/* Copy button, added to every code block by the page script */
.swconf-code {
    position: relative;
}

.swconf-copy {
    position:      absolute;
    top:           8px;
    right:         8px;
    padding:       4px 12px;
    font-family:   var(--font);
    font-size:     0.8rem;
    color:         var(--privatelan-blue-darker);
    background:    var(--white);
    border:        1px solid var(--border-color);
    border-radius: 4px;
    cursor:        pointer;
    opacity:       0;
    transition:    opacity var(--transition), color var(--transition);
}

.swconf-code:hover .swconf-copy,
.swconf-copy:focus {
    opacity: 1;
}

.swconf-copy.is-done {
    opacity: 1;
    color:   #2e7d32;
}

/* Touch devices have no hover, so the button has to stay visible */
@media (hover: none) {
    .swconf-copy {
        opacity: 1;
    }
}

.swconf-content pre {
    padding-right: 92px;
}

.cve-refs a {
    color:           var(--privatelan-blue);
    text-decoration: underline;
    word-break:      break-all;
}

/* No results */
.cve-no-results {
    text-align:  center;
    padding:     48px 0;
    color:       var(--text-muted);
    font-size:   1rem;
    display:     none;
}

/* Empty state */
.cve-empty {
    text-align: center;
    padding:    64px 24px;
    color:      var(--text-muted);
}

.cve-empty-icon {
    font-size:     3rem;
    margin-bottom: 16px;
}

.cve-empty-title {
    font-size:     1.3rem;
    font-weight:   700;
    color:         var(--text-dark);
    margin-bottom: 12px;
}

.cve-empty-text {
    font-size:  0.95rem;
    max-width:  480px;
    margin:     0 auto;
    line-height: 1.7;
}

.cve-empty-text a {
    color:           var(--privatelan-blue);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .cve-meta-grid {
        grid-template-columns: 1fr;
    }

    .cve-meta-block + .cve-meta-block {
        margin-top: 16px;
    }

    .cve-summary-right {
        gap: 8px;
    }
}

@media (max-width: 640px) {
    .cve-filter-section {
        flex-direction: column;
        gap:            16px;
    }

    .cve-summary {
        padding: 12px 14px;
    }

    .cve-body {
        padding: 0 14px 16px;
    }
}

/* My Systems — fleet health status cells */
.systems-cell--ok       { color: #065f46; font-weight: 700; }
.systems-cell--warning  { color: #92400e; font-weight: 700; }
.systems-cell--critical { color: #dc2626; font-weight: 700; }

/* "Last polling" cell — 4-tier freshness indicator, independent of status */
.systems-poll--ok     { color: #065f46; font-weight: 700; }
.systems-poll--warn   { color: #ca8a04; font-weight: 700; }
.systems-poll--orange { color: #ea580c; font-weight: 700; }
.systems-poll--crit   { color: #dc2626; font-weight: 700; }

/* ---- Auditlog priority colouring (pages/auditlog.php) ----
   7 = debug through 0 = emergency. Tinted backgrounds rather than coloured text,
   so a severe row is findable while scanning without reading it, and kept pale
   enough that the text on top stays at a normal contrast ratio. The appliance
   uses the same scale in Web/css/style.css against its own palette. */
.auditlog.priority_7 { background: #eef1f3; }
.auditlog.priority_6 { background: var(--white); }
.auditlog.priority_5 { background: #fdf6dc; }
.auditlog.priority_4,
.auditlog.priority_3 { background: #fdebd8; }
.auditlog.priority_2,
.auditlog.priority_1,
.auditlog.priority_0 { background: #fadbd8; }

/* ---- Support status badge (support-status, CRA art. 13 lid 11) ----
   Used on /support/changelog and /support/downloads to warn clearly about a release
   past its support end-date. --eol reuses the same red as .tux-offline in chat.css
   (css/chat.css) — the site's existing red/green status-colour pair, not a new choice. */
.support-status {
    display:        inline-block;
    padding:        2px 10px;
    border-radius:  999px;
    font-size:      0.78rem;
    font-weight:    700;
}
.support-status--ok {
    background: var(--light-bg);
    color:      var(--text-muted);
}
.support-status--eol {
    background: #fadbd8;
    color:      #cc0000;
}
.changelog-support-line { margin: 0 0 6px; }
