:root {
    --paper: #f5f1e8;
    --ink: #101010;
    --muted: #030303;
    --card: #fffdf8;
    --line: rgba(0,0,0,.12);
    --shadow: 0 12px 30px rgba(0,0,0,.13);
    --radius: 22px;
}

* { box-sizing: border-box; }

html {
    min-height: 100%;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    overscroll-behavior-y: contain;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,.8), transparent 38rem),
        var(--paper);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

button {
    font: inherit;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    color: #333
}

button:not(.read-more):not([type="submit"]):hover {
    color: #000;
}

.page {
    width: min(1380px, calc(100% - 28px));
    margin: 0 auto;
    padding: 28px 0 50px;
}

.hero-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: visible;
    box-shadow: var(--shadow);
}

.hero-image-wrap {
    background: #eeeae0;
    display: flex;
    justify-content: center;
}

.hero-image {
    width: 100%;
    max-height: 780px;
    object-fit: contain;
    display: block;
}

.hero-content {
    padding: clamp(22px, 4vw, 48px);
}

.hero-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px 20px;
    align-items: center;
    margin: 22px 0 6px;
}

.hero-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    min-width: 0;
    background: transparent;
    border: 0;
    padding: 6px 2px;
    font-size: 15px;
    font-weight: 500;
    color: #55524b;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
    line-height: 1.5;
    transition: color .15s ease;
}

.hero-actions button span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-actions button:hover {
    color: #000;
}

.eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
    margin-bottom: 12px;
}

h1 {
    margin: 0;
    font-size: clamp(34px, 6vw, 66px);
    line-height: .95;
    letter-spacing: -.045em;
    max-width: 850px;
}

.hero-lead {
    /* max-width: 720px; */
    font-size: clamp(17px, 2.3vw, 22px);
    line-height: 1.55;
    color: #44413b;
    margin: 24px 0 20px;
}

.hero-welcome {
    font-size: 14px;
    font-weight: 500;
    color: #77726a;
    margin: 0 0 28px;
}

.hero-welcome-email {
    color: #aaa49a;
}

.read-more {
    border: 0;
    background: #101010;
    color: white;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .15s ease, opacity .15s ease;
    display: block;
    margin-left: auto;
}

/* .read-more:hover { transform: translateY(-1px); } */
.read-more:active { transform: translateY(0); opacity: .85; }

.read-more span {
    display: inline-block;
    margin-left: 5px;
    transition: transform .2s ease;
}

.read-more.open span {
    transform: rotate(45deg);
}

.expandable {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .35s ease;
}

.expandable > * {
    min-height: 0;
    overflow: hidden;
}

.expandable.open {
    grid-template-rows: 1fr;
}

/* ---------- AI writer voetregel ---------- */

.article-writer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-style: italic;
    font-weight: 400;
    color: rgba(0, 0, 0, .45);
    font-size: 12px;
    line-height: 1.4;
}

.writer-avatar-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, .1);
}

.writer-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    opacity: .65;
    display: block;
}

/* ---------- Report (artikel melden) ---------- */

.block-content {
    transition: transform .35s ease;
}

.block-content.report-open {
    transform: translateY(18px);
}

.report-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .35s ease;
    margin-top: 10px;
}

.report-panel > * {
    min-height: 0;
    overflow: hidden;
}

.report-panel.open {
    grid-template-rows: 1fr;
}

.report-trigger {
    cursor: pointer;
    color: inherit;
}

.report-reason {
    width: 100%;
    box-sizing: border-box;
    font: inherit;
    font-size: 13px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 8px 10px;
    background: #ffffff;
    color: #222;
    resize: vertical;
}

.report-reason:focus {
    outline: none;
    border-color: #1a73e8;
}

.report-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 8px;
}

.report-cancel,
.report-send {
    font: inherit;
    font-size: 13px;
    border-radius: 8px;
    padding: 6px 12px;
    cursor: pointer;
    border: 1px solid transparent;
}

.report-cancel {
    background: transparent;
    color: #666;
    border-color: rgba(0, 0, 0, 0.15);
}

.report-send {
    background: #eeeadf;
    color: #2f3442;
}

.report-send:hover {
    background: #e3ddcd;
    color: #1a3a5c;
}

.report-status {
    font-size: 13px;
    color: #1a73e8;
    font-weight: 600;
}

.report-status-error {
    color: #c5221f;
}

/* ---------- SendTo (delen via e-mail) ---------- */

.sendto-trigger {
    cursor: pointer;
    color: inherit;
}

.sendto-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .35s ease;
    margin-top: 10px;
}

.sendto-panel > * {
    min-height: 0;
    overflow: hidden;
}

.sendto-panel.open {
    grid-template-rows: 1fr;
}

.sendto-email {
    width: 100%;
    box-sizing: border-box;
    font: inherit;
    font-size: 13px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 8px 10px;
    background: #ffffff;
    color: #222;
}

.sendto-explain {
    margin: 0 0 8px;
    font-size: 12px;
    line-height: 1.45;
    color: rgba(0, 0, 0, .55);
}

.sendto-email:focus {
    outline: none;
    border-color: #1a73e8;
}

.sendto-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 8px;
}

.sendto-cancel,
.sendto-send {
    font: inherit;
    font-size: 13px;
    border-radius: 8px;
    padding: 6px 12px;
    cursor: pointer;
    border: 1px solid transparent;
}

.sendto-cancel {
    background: transparent;
    color: #666;
    border-color: rgba(0, 0, 0, 0.15);
}

.sendto-send {
    background: #eeeadf;
    color: #2f3442;
}

.sendto-send:hover {
    background: #e3ddcd;
    color: #1a3a5c;
}

.sendto-resend {
    background: #1a3a5c;
    color: #ffffff;
}

.sendto-resend:hover {
    background: #143047;
}

.sendto-status {
    font-size: 13px;
    color: #1a73e8;
    font-weight: 600;
}

.sendto-status-ok {
    color: #188038;
}

.sendto-status-error {
    color: #c5221f;
}

/* ---------- Gedeeld artikel (shared page) ---------- */

.shared-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-top: 18px;
}

.shared-hero {
    margin-top: 18px;
}

.shared-brand {
    font-weight: 800;
    letter-spacing: .12em;
    color: inherit;
    text-decoration: none;
}

.shared-note {
    font-size: 12px;
    color: rgba(0, 0, 0, .45);
}

.pending-register {
    margin-top: 28px;
    padding: 26px clamp(20px, 5vw, 48px);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.pending-register h2 {
    margin: 0 0 10px;
    font-size: 1.25em;
}

.pending-register p {
    color: rgba(0, 0, 0, .65);
    line-height: 1.5;
}

.pending-register form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 420px;
    margin-top: 16px;
}

.pending-register input {
    font: inherit;
    font-size: 14px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px 12px;
}

.pending-register input:focus {
    outline: none;
    border-color: #1a73e8;
}

.pending-register button {
    font: inherit;
    font-size: 14px;
    border: none;
    border-radius: 8px;
    background: #2f3442;
    color: #fff;
    padding: 10px 14px;
    cursor: pointer;
}

.pending-register button:hover {
    background: #1a3a5c;
}

.pending-error {
    color: #c5221f;
    font-size: 13px;
}

.waiting-message {
    color: #188038;
    font-size: 14px;
    line-height: 1.5;
}

.waiting-list-label {
    font-size: 13px;
    color: rgba(0, 0, 0, .7);
}

.newsletter-feed {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 34px;
}

.lazy-block {
    min-height: 360px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    content-visibility: auto;
    contain-intrinsic-size: 360px;
}

.block-content {
    padding: clamp(24px, 5vw, 56px);
    animation: appear .25s ease;
}

.block-content h2 {
    max-width: 100%;
    box-sizing: border-box;

    word-break: normal;
    overflow-wrap: break-word;
    hyphens: auto;

    text-wrap: pretty;
}

.block-kicker {
    font-size: 12px;
    font-weight: 100;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ---------- Marker (tekstmarkering in nieuwsberichten) ---------- */

.marker {
    position: relative;
    display: inline-block;
    z-index: 0;
    white-space: nowrap;
}

.marker::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: -5px;
    right: -8px;
    top: 52%;
    height: 45%;
    background: rgba(255, 235, 59, 0.72);
    transform: rotate(-1deg) skewX(-4deg);
    clip-path: polygon( 0 20%, 6% 12%, 15% 15%, 24% 8%, 35% 13%, 47% 7%, 59% 12%, 72% 6%, 84% 13%, 100% 9%, 98% 80%, 88% 88%, 75% 83%, 63% 92%, 51% 85%, 38% 94%, 25% 86%, 12% 91%, 2% 82% );
}

.block-content h2 {
    margin: 10px 0 15px;
    font-size: clamp(34px, 5vw, 42px);
    line-height: .98;
    letter-spacing: -.04em;
}

.block-summary {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    text-align: left;
    line-height: 1.5;
    box-sizing: border-box;
    font-size: clamp(20px, 3vw, 28px);
    line-height: 1.35;
    margin: 0 0 25px;
    font-weight: 400;
}

.block-body {
    font-size: 18px;
    line-height: 1.75;
    color: #44413b;
}

.block-deepresearch {
    margin: 18px 0 0;
    padding-left: 16px;
    border-left: 3px solid #d9d4c8;
    font-size: 18px;
    line-height: 1.75;
    color: #44413b;
    text-align: left;
    overflow-wrap: break-word;
}

.google-search-link {
    margin: 18px 0 0;
}

.google-search-link a {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid #1a73e8;
}

.google-search-link a:hover {
    text-decoration: underline;
}

.block-deepresearch > :first-child { margin-top: 0; }
.block-deepresearch > :last-child { margin-bottom: 0; }

.block-deepresearch h1,
.block-deepresearch h2,
.block-deepresearch h3,
.block-deepresearch h4,
.block-deepresearch h5,
.block-deepresearch h6 {
    margin: 1.2em 0 .4em;
    line-height: 1.25;
    color: #1d1b17;
}

.block-deepresearch h1 { font-size: 1.5em; }
.block-deepresearch h2 { font-size: 1.3em; }
.block-deepresearch h3 { font-size: 1.15em; }
.block-deepresearch h4,
.block-deepresearch h5,
.block-deepresearch h6 { font-size: 1.05em; }

.block-deepresearch p { margin: .6em 0; }

.block-deepresearch ul,
.block-deepresearch ol {
    margin: .6em 0 .6em 1.35em;
    padding: 0;
}

.block-deepresearch ul { list-style: disc; }
.block-deepresearch ol { list-style: decimal; }
.block-deepresearch li { margin: .25em 0; }

.block-deepresearch code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .9em;
    background: #efece4;
    border-radius: 4px;
    padding: .1em .35em;
    color: #7a3e0e;
}

.block-deepresearch pre.vot-code {
    margin: .8em 0;
    padding: 12px 14px;
    background: #171b2b;
    color: #d8e1ff;
    border-radius: 8px;
    overflow-x: auto;
    line-height: 1.55;
}

.block-deepresearch pre.vot-code code {
    background: none;
    padding: 0;
    color: inherit;
    font-size: .9em;
}

.block-deepresearch blockquote {
    margin: .8em 0;
    padding: .2em 1em;
    color: #7a766c;
    border-left: 3px solid #c9c4b8;
}

.block-deepresearch hr {
    border: none;
    border-top: 1px solid #d9d4c8;
    margin: 1.2em 0;
}

.block-deepresearch a {
    color: #0b1023;
    text-decoration: underline;
    word-break: break-word;
}

.block-deepresearch img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: .6em 0;
}

.block-deepresearch .vot-table-wrap {
    overflow-x: auto;
    margin: .8em 0;
}

.block-deepresearch table.vot-table {
    border-collapse: collapse;
    font-size: .9em;
    line-height: 1.5;
    min-width: 100%;
}

.block-deepresearch table.vot-table th,
.block-deepresearch table.vot-table td {
    border: 1px solid #d9d4c8;
    padding: 6px 10px;
    text-align: left;
    vertical-align: top;
    background: var(--card);
}

.block-deepresearch table.vot-table th {
    background: #efece4;
    font-weight: 600;
    color: #1d1b17;
}

.block-deepresearch table.vot-table tr:nth-child(even) td {
    background: #faf7f0;
}

.loading {
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--muted);
    font-weight: 400;
}

.block-loading {
    min-height: 360px;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0,0,0,.15);
    border-top-color: var(--ink);
    border-radius: 50%;
    animation: spin 5.7s linear infinite;
}

footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 26px 4px 0;
    font-size: 11px;
    letter-spacing: .12em;
    /* font-weight: 800; */
    color: var(--muted);
}

.feed-sentinel {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
}

.feed-sentinel .loading {
    min-height: 100px;
}

.pull-refresh {
    height: 0;
    opacity: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
    transition: height .12s ease, opacity .12s ease;
    will-change: height;
}

.pull-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transform-origin: center;
    transition: transform .15s ease;
}

.refresh-spin {
    animation: spin .7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

@keyframes appear {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
    .page {
        width: min(100% - 16px, 620px);
        padding-top: 8px;
    }

    .hero-card,
    .lazy-block {
        border-radius: 16px;
    }

    .hero-image {
        max-height: none;
    }

    .newsletter-feed {
        gap: 16px;
        margin-top: 20px;
    }

    .lazy-block {
        min-height: 340px;
        contain-intrinsic-size: 340px;
    }

    .block-content {
        padding: 26px 21px 32px;
    }

    .block-content h2 {
        font-size: 42px;
    }

    .block-summary {
        font-size: 21px;
    }

    .block-body {
        font-size: 17px;
        line-height: 1.65;
    }

    .block-loading {
        min-height: 340px;
    }
}

/*
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
*/

@media (prefers-reduced-motion: reduce) {
    *:not(.spinner),
    *:not(.spinner)::before,
    *:not(.spinner)::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}


.articleimage {
        height: 200px;
    }

.tldr-ad {
        width: 100%;
        margin: 0 auto;
        background: #eeeadf;
        color: #000;
        font-family: Arial, Helvetica, sans-serif;
        overflow: hidden;
        border-radius: var(--radius) var(--radius) 0 0;
        position: relative;
        box-sizing: border-box;
    }

    /* Main advertisement */
    .tldr-main {
        min-height: 110px;
        background: #eeeadf;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 170px 30px 65px;
        box-sizing: border-box;
    }

    /* Heel lichte wereldkaart als achtergrond (volledige breedte/hoogte)
       zodat duidelijk is dat dit een internationale nieuws-website is.
       Mobiel-proof: expliciete offsets (geen inset), cover-scale,
       geen fixed background-attachment. */
    .tldr-main::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url("/static/images/world-map.min.svg");
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        opacity: 0.07;
        pointer-events: none;
        z-index: 1;
    }

    .tldr-main > * {
        position: relative;
        z-index: 2;
    }

    .tldr-main::after {
    content: "";
    position: absolute;
    top: 20px;
    right: 20px;

    width: 70px;
    height: 70px;

    background-image: url("/static/images/logo_trans_white.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    }

    /* Smartphone / iPhone-achtige schermen */
    @media (max-width: 600px) {
        .tldr-main::after {
            top: 28px;
            right:10px;
            width: 50px;
            height: 50px;
        }
    }

    .tldr-big-number {
        font-size: clamp(230px, 30vw, 370px);
        line-height: .78;
        font-weight: 900;
        letter-spacing: -0.08em;
        margin: 0;
        transform: scaleX(.92);
        white-space: nowrap;
    }

    /* Reserveert de ruimte van een groot cijfer terwijl het echte nummer
       nog via JS moet binnenkomen, zodat de div niet verspringt bij het
       laden (het nummer start leeg en wordt pas na de async fetch gevuld).
       De ::before is onzichtbaar maar neemt exact dezelfde breedte/hoogte
       in als het latere cijfer, want hij erft dezelfde font-instellingen.
       Zodra het echte cijfer (in een .tldr-big-number-value span) binnenkomt,
       wordt dat erover gelegd en gecentreerd. */
    .tldr-big-number::before {
        content: "000000";
        visibility: hidden;
    }

    /* Het echte cijfer legt zich over de gereserveerde ruimte. */
    .tldr-big-number {
        position: relative;
    }

    .tldr-big-number-value {
        position: absolute;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
    }

    .tldr-subtitle {
        font-family: Georgia, "Times New Roman", serif;
        font-style: italic;
        font-size: clamp(25px, 3vw, 50px);
        margin-top: 35px;
        text-align: center;
        white-space: nowrap;
    }

    .tldr-tagline {
        margin-top: 25px;
        font-size: clamp(17px, 1.8vw, 29px);
        letter-spacing: 8px;
        font-weight: 800;
        color: #77705e;
        text-align: center;
        white-space: nowrap;
    }

    /* Bottom */
    .tldr-footer {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        margin-top: 20px;
        padding: 110px 25px 0;
        box-sizing: border-box;
        position: relative;
    }

    .tldr-wordcloud {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        overflow: hidden;
        pointer-events: none;
    }

    .tldr-wordcloud-word {
        position: absolute;
        color: #eeeadf;
        white-space: nowrap;
        font-weight: 500;
        line-height: 1;
    }

    .tldr-footer-logo {
        font-size: clamp(50px, 7vw, 95px);
        line-height: .8;
        font-weight: 900;
        letter-spacing: -5px;
    }

    .tldr-footer-text {
        font-size: clamp(25px, 3vw, 43px);
        font-weight: 900;
        letter-spacing: -2px;
    }

    /* Responsive */
    @media (max-width: 700px) {

        .tldr-ad {
            max-width: 100%;
        }

        .tldr-ad-header {
            height: 72px;
            padding: 0 14px;
        }

        .tldr-logo-circle {
            width: 52px;
            height: 52px;
            min-width: 52px;
            margin-right: 12px;
        }

        .tldr-logo-text {
            font-size: 15px;
        }

        .tldr-title {
            font-size: 21px;
            margin-bottom: 4px;
        }

        .tldr-sponsored {
            font-size: 15px;
        }

        .tldr-menu {
            display: none;
        }

        .tldr-close {
            right: 10px;
            top: 10px;
            transform: scale(.65);
        }

        .tldr-intro {
            height: 65px;
            padding: 13px 15px;
            font-size: 18px;
        }

        .tldr-main {
            min-height: 110px;
            padding: 110px 15px 35px;
        }

        .tldr-big-number {
            font-size: clamp(130px, 45vw, 300px);
        }

        .tldr-subtitle {
            font-size: 21px;
            margin-top: 20px;
        }

        .tldr-tagline {
            font-size: 13px;
            letter-spacing: 4px;
            margin-top: 14px;
        }

        .tldr-footer {
            padding: 70px 10px 0;
        }

        .tldr-footer-logo {
            font-size: 42px;
            letter-spacing: -3px;
        }

        .tldr-footer-text {
            font-size: 20px;
        }
    }

.like-icon {
    transition:
        transform 0.5s ease,
        opacity 0.4s ease;
}

.like-icon.like-changing {
    transform: scale(0.7);
    opacity: 0.3;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 16px;
    user-select: none;
}

/* Native checkbox verbergen */
.category-item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}


.source-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.source-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 16px;
    user-select: none;
}

/* Native checkbox verbergen */
.source-item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}



/* Eigen checkbox */
.custom-checkbox {
    width: 22px;
    height: 22px;
    border: 2px solid #aaa;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

/* Checked */
.category-item input:checked + .custom-checkbox {
    background: var(--ink);
    border-color: var(--ink);
}

/* Vinkje */
.category-item input:checked + .custom-checkbox::after {
    content: "✓";
    color: white;
    font-size: 16px;
    font-weight: bold;
}

/* Hover */
.category-item:hover .custom-checkbox {
    border-color: var(--ink);
}


/* Checked */
.source-item input:checked + .custom-checkbox {
    background: var(--ink);
    border-color: var(--ink);
}

/* Vinkje */
.source-item input:checked + .custom-checkbox::after {
    content: "✓";
    color: white;
    font-size: 16px;
    font-weight: bold;
}

/* Hover */
.source-item:hover .custom-checkbox {
    border-color: var(--ink);
}

/* -------------------------------------------------------------
   Tags pagina
   ------------------------------------------------------------- */

.tag-letter-group {
    margin-bottom: 18px;
}

.tag-letter-group[open] {
    margin-bottom: 18px;
}

.tag-letter {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .08em;
    border-bottom: 2px solid var(--line);
    padding-bottom: 4px;
    margin-bottom: 10px;
    list-style: none;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tag-letter::-webkit-details-marker {
    display: none;
}

.tag-letter::before {
    content: "\25B6";
    font-size: 10px;
    transition: transform .2s ease;
}

.tag-letter-group[open] > .tag-letter::before {
    transform: rotate(90deg);
}

.tag-group-count {
    font-size: 11px;
    font-weight: 600;
    color: #888;
    margin-left: auto;
}

.tag-group-articles {
    font-size: 11px;
    font-weight: 600;
    color: #666;
    background: #eee;
    border-radius: 999px;
    padding: 2px 8px;
    margin-left: 8px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 15px;
    user-select: none;
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    transition: border-color .15s ease, background .15s ease;
}

.tag-item:hover {
    border-color: var(--ink);
}

.tag-item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tag-item input:checked + .custom-checkbox {
    background: var(--ink);
    border-color: var(--ink);
}

.tag-item input:checked + .custom-checkbox::after {
    content: "✓";
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.tag-item .custom-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #aaa;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tag-name {
    font-weight: 500;
}

.tag-count {
    font-size: 11px;
    font-weight: 600;
    color: #666;
    background: #eee;
    border-radius: 999px;
    padding: 1px 7px;
    min-width: 20px;
    text-align: center;
}

.tag-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 18px;
    padding: 0 5px;
    margin-left: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #888;
    background: transparent;
    border: 1px solid #ccc;
    border-radius: 999px;
    line-height: 1;
}

.tag-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 999px;
    color: #fff;
}

.tag-badge-category {
    background: #5b5fc7;
}

.tag-badge-source {
    background: #2e7d5b;
}

.tag-badge-tags {
    background: #c08a2d;
}

.tag-selection-count {
    display: inline-block;
    background: var(--ink);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.tag-actions {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.tag-actions a {
    color: #55524b;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 4px;
}

.tag-actions a:hover {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.tag-apply {
    background: var(--ink);
    color: #fff !important;
    border-radius: 999px;
    padding: 10px 22px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tag-apply:hover {
    opacity: .85;
}

/* -------------------------------------------------------------
   Tag-filter banner (home)
   ------------------------------------------------------------- */

.tag-filter-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 14px 22px;
    margin-bottom: 22px;
}

.tag-filter-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-weight: 600;
    color: #55524b;
    font-size: 14px;
}

.tag-filter-chips {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-filter-chip {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    padding: 3px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tag-chip-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 10px;
    line-height: 1;
    cursor: pointer;
}

.tag-chip-remove:hover {
    background: rgba(255, 255, 255, 0.45);
}

.tag-filter-chip-category {
    background: #5b5fc7;
}

.tag-filter-chip-source {
    background: #2e7d5b;
}

.tag-filter-chip-tags {
    background: #c08a2d;
}

.tag-filter-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #55524b;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    margin-left: auto;
}

.tag-filter-link:hover {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.block-refresh {
    position: absolute;
    right: 10px;
    bottom: 8px;
    font-size: 10px;
    opacity: 0.512;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.2s ease;
}

.block-refresh:hover {
    opacity: 0.5;
}

.profile-form {
    max-width: 100%;
    margin-top: 20px;
}

.form-field input,
.form-field select {
    max-width: 600px;
}

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

.form-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    background: transparent;
    font-family: inherit;
    font-size: 16px;
}

.form-field textarea {
    resize: vertical;
}

.save-status {
    font-size: 13px;
    opacity: 0.6;
    min-height: 18px;
}

/* ---------- Marker woorden: tag-input ---------- */

.tag-input {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    max-width: 600px;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    background: transparent;
}

.tag-input:focus-within {
    border-color: #555;
}

.tag-input-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.marker-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--ink);
    color: #fff;
    border-radius: 999px;
    padding: 5px 8px 5px 12px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.marker-chip-label {
    line-height: 1;
}

.marker-chip-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease;
}

.marker-chip-remove:hover {
    background: rgba(255, 255, 255, 0.45);
}

.form-field .tag-input-field {
    width: auto;
    flex: 1;
    min-width: 160px;
    padding: 6px;
    border: none;
    background: transparent;
    box-shadow: none;
    outline: none;
}

.score-sliders {
    margin-top: 34px;
}

.score-slider-row {
    margin: 26px 0;
    padding: 0 6px;
}

.score-slider-row:first-of-type {
    margin-top: 12px;
}

.score-slider-row label {
    display: inline-block;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 15px;
}

.score-value {
    float: right;
    font-size: 15px;
    font-weight: 700;
    color: #1a73e8;
    background: rgba(26, 115, 232, 0.10);
    border-radius: 999px;
    padding: 2px 12px;
}

.score-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 34px;
    background: transparent;
    cursor: pointer;
    touch-action: manipulation;
}

/* Track */
.score-slider::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(
        to right,
        #1a73e8 var(--score-fill, 100%),
        #d9d4c8 var(--score-fill, 100%)
    );
}

.score-slider::-moz-range-track {
    height: 8px;
    border-radius: 999px;
    background: #d9d4c8;
}

.score-slider::-moz-range-progress {
    height: 8px;
    border-radius: 999px;
    background: #1a73e8;
}

/* Thumb - grote touch-target voor iPhone */
.score-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    margin-top: -11px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #1a73e8;
    border: 4px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: transform 0.15s ease;
}

.score-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #1a73e8;
    border: 4px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: transform 0.15s ease;
}

.score-slider:active::-webkit-slider-thumb {
    transform: scale(1.15);
}

.score-slider:active::-moz-range-thumb {
    transform: scale(1.15);
}

.score-slider:focus {
    outline: none;
}

.score-slider:focus-visible::-webkit-slider-thumb {
    box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.25);
}

.score-labels {
    position: relative;
    height: 32px;
    margin-top: 4px;
}

.score-label {
    position: absolute;
    top: 0;
    left: clamp(40px, var(--label-pos, 0%), calc(100% - 40px));
    transform: translateX(-50%);
    width: 80px;
    margin: 0;
    padding: 3px 2px;
    border: 0;
    background: transparent;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.15;
    text-align: center;
    color: #888;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: color 0.15s ease, background 0.15s ease;
}

.score-label:nth-child(1) {
    --label-pos: 0%;
}

.score-label:nth-child(2) {
    --label-pos: 25%;
}

.score-label:nth-child(3) {
    --label-pos: 50%;
}

.score-label:nth-child(4) {
    --label-pos: 100%;
}

.score-label:hover {
    background: rgba(26, 115, 232, 0.08);
    color: #1a73e8;
}

.score-label:active {
    background: rgba(26, 115, 232, 0.16);
}

.score-label i {
    font-style: normal;
    font-size: 10px;
    line-height: 1.15;
    max-width: 80px;
}

/* ------------------------------------------------------------
   Scores per land (accordion)
   ------------------------------------------------------------ */

.country-scores {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e6e0d2;
}

.country-scores-head {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 12px;
}

.country-scores-title {
    font-weight: 700;
    font-size: 15px;
    color: #1f2430;
}

.country-scores-head .field-help {
    font-size: 12px;
}

.country-group {
    border: 1px solid #e6e0d2;
    border-radius: 10px;
    margin: 0 0 8px;
    background: #fbfaf6;
}

.country-group-title {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    cursor: pointer;
    user-select: none;
    font-weight: 600;
    font-size: 14px;
    color: #1f2430;
    border-radius: 10px;
    transition: background 0.15s ease;
}

.country-group-title:hover {
    background: rgba(26, 115, 232, 0.06);
}

.country-group-title::-webkit-details-marker {
    display: none;
}

.country-group-title .chevron {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid #1a73e8;
    border-bottom: 2px solid #1a73e8;
    transform: rotate(-45deg);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.country-group[open] .country-group-title .chevron {
    transform: rotate(45deg);
}

.country-group-count {
    margin-left: auto;
    font-size: 12px;
    font-weight: 500;
    color: #888;
}

.country-group-body {
    padding: 4px 14px 12px;
}

.country-group[open] .country-group-body {
    border-top: 1px dashed #e6e0d2;
}

.country-score-row {
    display: grid;
    grid-template-columns: 130px 1fr;
    align-items: center;
    gap: 12px;
    padding: 9px 2px;
}

.country-score-row + .country-score-row {
    border-top: 1px solid #efe9db;
}

.country-score-row label {
    font-size: 13px;
    font-weight: 600;
    color: #1f2430;
}

.score-help {
    font-style: italic;
    font-size: 12px;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.45;
    margin: -8px 0 12px;
}

.suggest-url {
    margin: 18px 0 4px;
}

.suggest-url-form {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    max-width: 600px;
}

.suggest-url-form input {
    flex: 1;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    background: transparent;
    font-family: inherit;
    font-size: 16px;
}

.suggest-url-form input:focus {
    border-color: #555;
    outline: none;
}

.country-score {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 26px;
    background: transparent;
    cursor: pointer;
    touch-action: manipulation;
}

.country-score::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(
        to right,
        #1a73e8 var(--score-fill, 0%),
        #d9d4c8 var(--score-fill, 0%)
    );
}

.country-score::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    margin-top: -8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #1a73e8;
    border: 3px solid #ffffff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.22);
    transition: transform 0.15s ease;
}

.country-score::-moz-range-track {
    height: 6px;
    border-radius: 999px;
    background: #d9d4c8;
}

.country-score::-moz-range-progress {
    height: 6px;
    border-radius: 999px;
    background: #1a73e8;
}

.country-score::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #1a73e8;
    border: 3px solid #ffffff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.22);
    transition: transform 0.15s ease;
}

.country-score:active::-webkit-slider-thumb {
    transform: scale(1.15);
}

.country-score:active::-moz-range-thumb {
    transform: scale(1.15);
}

.country-score-row.highlight {
    animation: country-flash 2s ease;
    border-radius: 8px;
}

@keyframes country-flash {
    0%, 100% {
        background: transparent;
    }
    25% {
        background: rgba(26, 115, 232, 0.14);
    }
}

@media (max-width: 480px) {
    .country-score-row {
        grid-template-columns: 96px 1fr 38px;
    }
}

.score-count {
    margin: 6px 0 12px;
    font-size: 14px;
    color: #000;
}

.feed-filter-note {
    display: inline-block;
    margin: 16px 0 4px;
    font-size: 12px;
    font-style: italic;
    color: #888;
    opacity: 0.9;
    text-decoration: none;
    cursor: pointer;
    border-bottom: 1px dotted transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.feed-filter-note:hover {
    color: #1a73e8;
    border-bottom-color: rgba(26, 115, 232, 0.4);
}

#scores {
    scroll-margin-top: 90px;
}

.preferences-footer {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #e6e0d2;
    text-align: center;
}

.preferences-apply {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border: 0;
    border-radius: 999px;
    background: #eeeadf;
    color: #2f3442;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.preferences-apply:hover {
    background: #e3ddcd;
    color: #1a3a5c;
}

.preferences-apply:active {
    transform: scale(0.97);
}

.preferences-apply:disabled {
    opacity: 0.6;
    cursor: default;
}

.score-count b {
    color: #000;
    font-weight: 700;
}

.login-form {
    width: 100%;
    margin: 25px auto;
    /* padding: 30px; */
    /* background: #ffffff; */
    border-radius: 10px;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
}

.login-form p {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    margin-bottom: 5px;
    /* font-weight: bold; */
}

.login-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.login-form button {
    width: 100%;
    padding: 12px;
    background: #333;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.login-form button:hover {
    background: #000;
}

input[type="text"]:focus {
    border-color: #555;
    outline: none;
}

/* =========================================================
   COOKIE BANNER
   ========================================================= */

.cookie-banner {
    position: fixed;

    left: 24px;
    right: 24px;
    bottom: 24px;

    z-index: 99999;

    background: #111;

    color: #fff;

    border-radius: 18px;

    padding: 22px 26px;

    box-sizing: border-box;

    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.35);

    font-family: inherit;

    animation:
        cookieSlideUp
        0.45s
        ease-out;
}


/* =========================================================
   CONTENT
   ========================================================= */

.cookie-content {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    max-width: 1200px;

    margin: 0 auto;
}


/* =========================================================
   TEXT
   ========================================================= */

.cookie-text {

    flex: 1;

    min-width: 0;
}


.cookie-title {

    font-size: 17px;

    font-weight: 600;

    margin-bottom: 6px;

    letter-spacing: -0.2px;
}


.cookie-description {

    font-size: 13px;

    line-height: 1.5;

    color: rgba(255, 255, 255, 0.68);

    max-width: 700px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.cookie-buttons {

    display: flex;

    align-items: center;

    gap: 9px;

    flex-shrink: 0;
}


.cookie-button {

    border: 0;

    border-radius: 999px;

    padding: 11px 18px;

    font-family: inherit;

    font-size: 13px;

    font-weight: 500;

    cursor: pointer;

    transition:
        background 0.2s ease,
        opacity 0.2s ease,
        transform 0.2s ease;
}


.cookie-button:hover {

    transform: translateY(-1px);
}


.cookie-button:active {

    transform: translateY(0);
}


/* =========================================================
   SETTINGS
   ========================================================= */

.cookie-settings {

    background: transparent;

    color: rgba(255, 255, 255, 0.7);

    border: 1px solid rgba(255, 255, 255, 0.18);
}


.cookie-settings:hover {

    background: rgba(255, 255, 255, 0.07);
}


/* =========================================================
   REJECT
   ========================================================= */

.cookie-reject {

    background: rgba(255, 255, 255, 0.08);

    color: #fff;
}


.cookie-reject:hover {

    background: rgba(255, 255, 255, 0.14);
}


/* =========================================================
   ACCEPT
   ========================================================= */

.cookie-accept {

    background: #fff;

    color: #111;
}


.cookie-accept:hover {

    opacity: 0.88;
}


/* =========================================================
   ANIMATION
   ========================================================= */

@keyframes cookieSlideUp {

    from {

        opacity: 0;

        transform:
            translateY(25px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .cookie-banner {

        left: 12px;

        right: 12px;

        bottom: 12px;

        padding: 20px;

        border-radius: 16px;
    }


    .cookie-content {

        display: block;
    }


    .cookie-description {

        margin-top: 5px;

        margin-bottom: 18px;
    }


    .cookie-buttons {

        display: grid;

        grid-template-columns:
            1fr 1fr;

        gap: 8px;
    }


    .cookie-accept {

        grid-column:
            1 / -1;

        order: -1;
    }


    .cookie-button {

        width: 100%;

        padding: 12px 10px;
    }
}



/* Image  */
.article-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    margin: 12px 0 10px 0;
}

.article-image img {
    width: 100%;
    height: 180px;
    padding-bottom:10px;
    object-fit: cover;
    display: block;
    border-radius: 10px 10px 0 0;

    mask-image: linear-gradient(
        to bottom,
        black 0%,
        black 20%,
        rgba(0, 0, 0, 0.65) 45%,
        rgba(0, 0, 0, 0.25) 70%,
        transparent 100%
    );

    -webkit-mask-image: linear-gradient(
        to bottom,
        black 0%,
        black 20%,
        rgba(0, 0, 0, 0.65) 45%,
        rgba(0, 0, 0, 0.25) 70%,
        transparent 100%
    );
}

@media (max-width: 600px) {

    .article-image {
        height: 120px;
        margin: 10px 0 8px 0;
    }

    .article-image img {
        height: 120px;
    }
}

.researchurl {
    color:#211b1b;
    line-height: 1.8;
    text-decoration: none;
    cursor: pointer;
    font-size: small;

}

/* =========================================================
   LANGUAGE SELECTOR
   ========================================================= */

.lang-selector-inline {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.lang-btn {
    background: transparent;
    border: 0;
    padding: 4px 6px;
    font-size: 16px;
    cursor: pointer;
    color: #333;
    line-height: 1;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 1000;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    padding: 6px;
    min-width: 64px;
}

.lang-selector-inline .lang-dropdown.show {
    display: block;
}

.lang-selector-inline .lang-dropdown.drop-up {
    top: auto;
    bottom: calc(100% + 8px);
}

.lang-dropdown .lang-option {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
}

.lang-dropdown .lang-option:hover {
    background: #f5f1e8;
    color: #000;
}

.lang-dropdown .lang-option.active,
.lang-dropdown .lang-option.active:hover {
    background: #101010;
    color: #fff;
}
