/* tablettavizsgalat.hu  styles
*/

:root {
    --bg: #fbfbf8;
    --paper: #ffffff;
    --ink: #111418;
    --muted: #5b6470;
    --line: #e6e0d6;
    --accent: #0b5fff;
    --accent-2: #a12a2a;
    --shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
    --color-border: #5b6470;

    --radius: 18px;
    --radius-sm: 12px;

    --max: 1160px;
    --gutter: 24px;

    --serif: "Noto Serif", ui-serif, Palatino, Georgia, serif;
    --sans:
        "Noto Sans", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
        Inter, Arial, sans-serif;
    --mono:
        ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        "Liberation Mono", "Courier New", monospace;

    /* Typography scaling (default: medium) */
    --scale: 1;
    --text: calc(16px * var(--scale));
    --small: calc(13.5px * var(--scale));
    --tiny: calc(12.5px * var(--scale));
    --serif-body: calc(18px * var(--scale));
    --sans-body: calc(18px * var(--scale));
    --deck: calc(16px * var(--scale));
    --h1: calc(36px * var(--scale));
    --h1-mobile: calc(28px * var(--scale));
    --h1-mobile-small: calc(22px * var(--scale));
    --h2: calc(24px * var(--scale));
    --h2-mobile: calc(18px * var(--scale));
    --h3: calc(18px * var(--scale));
    --h3-mobile: calc(16px * var(--scale));
}

/* Dark ime-mode: */

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0b1020;
        --paper: #1e293b;
        --ink: #e5e7eb;
        --muted: #94a3b8;
        --border: rgba(255, 255, 255, 0.14);

        --accent: lightblue;
        --accent-2: rgba(122, 162, 255, 0.18);
        --line: dark;
        /* Dark mode shadow - light */
        --shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
    }
}

html.font-s {
    --scale: 0.95;
}
html.font-m {
    --scale: 1;
}
html.font-l {
    --scale: 1.12;
}

* {
    box-sizing: border-box;
}
html,
body {
    height: 100%;
    font-size: var(--text);
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    line-height: 1.55;
}

a {
    color: var(--accent);
    text-decoration: none;
}
a:hover {
    color: var(--accent2);
}

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

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

.skip-link {
    position: absolute;
    left: -999px;
    top: 10px;
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 10px 12px;
    border-radius: 10px;
}
.skip-link:focus {
    left: 14px;
    z-index: 99;
}

.topbar {
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--bg), white 12%);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
}

.header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.brand-logo {
    height: 32px;
    width: auto;
    display: block;
    flex: 0 0 auto;
}

.brand-text {
    display: flex;
    flex-direction: column; /* <- this stacks name/tagline/fineprint */
    line-height: 1.1;
    min-width: 0; /* allows truncation if needed */
}

.brand-name {
    font-weight: 700;
    line-height: 1.1;
    font-size: 1.22em;
}

.brand-tagline {
    font-size: 0.9em;
    opacity: 0.85;
}

.brand-fineprint {
    font-size: 0.8em;
    opacity: 0.7;
}

.nav {
    display: flex;
    align-items: center;
    gap: 16px;
}
.nav a {
    font-size: var(--small);
    color: color-mix(in srgb, var(--ink), var(--muted) 40%);
}
.nav a.active {
    color: var(--ink);
    font-weight: 600;
}
.nav .pill {
    border: 1px solid var(--line);
    background: var(--paper);
    padding: 8px 10px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav .btn {
    border: 1px solid var(--line);
    background: var(--paper);
    padding: 8px 10px;
    border-radius: 999px;
    font-size: var(--small);
    cursor: pointer;
}
.nav .btn.primary {
    border-color: color-mix(in srgb, var(--accent), var(--line) 55%);
    color: var(--accent);
}

.hamburger {
    display: none;
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: 12px;
    padding: 10px 12px;
    cursor: pointer;
    font-size: 14px;
}
.mobile-drawer {
    display: none;
    border-top: 1px solid var(--line);
    background: var(--paper);
}
.mobile-drawer .inner {
    padding: 12px 0 16px 0;
    display: grid;
    gap: 10px;
}
.mobile-drawer a {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--paper), var(--bg) 30%);
}
.mobile-drawer .pill {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: 14px;
    padding: 10px 12px;
}
.mobile-drawer input[type="search"] {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 14px;
}

.hero {
    padding: 30px 0 18px 0;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 18px;
    align-items: stretch;
}
.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.card.pad {
    padding: 20px;
}

.kicker {
    font-size: var(--tiny);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}
.headline {
    font-family: var(--serif);
    font-weight: 760;
    letter-spacing: 0.2px;
    margin: 10px 0 8px 0;
    line-height: 1.12;
}
.headline.xl {
    font-size: 40px;
}
.headline.lg {
    font-size: 28px;
}
.deck {
    color: color-mix(in srgb, var(--ink), var(--muted) 40%);
    font-size: var(--tiny);
    margin: 0 0 14px 0;
}
.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    font-size: var(--tiny);
}
.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: var(--tiny);
    background: color-mix(in srgb, var(--paper), var(--bg) 35%);
}
.tag.accent {
    border-color: color-mix(in srgb, var(--accent-2), var(--line) 55%);
    color: var(--accent-2);
}
.thumb {
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background:
        linear-gradient(
            135deg,
            rgba(11, 95, 255, 0.08),
            rgba(161, 42, 42, 0.06)
        ),
        repeating-linear-gradient(
            45deg,
            rgba(17, 20, 24, 0.05),
            rgba(17, 20, 24, 0.05) 8px,
            rgba(17, 20, 24, 0.02) 8px,
            rgba(17, 20, 24, 0.02) 16px
        );
    height: 220px;
    position: relative;
    overflow: hidden;
}
.thumb::after {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(17, 20, 24, 0.55);
    font-size: 13px;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-stack {
    display: grid;
    gap: 14px;
}
.side-item {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 12px;
    align-items: start;
    padding: 14px;
    border-radius: var(--radius);
    background: var(--paper);
    border: 1px solid var(--line);
}
.side-item .mini-thumb {
    width: 84px;
    height: 64px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: radial-gradient(
        circle at 25% 25%,
        rgba(11, 95, 255, 0.14),
        rgba(17, 20, 24, 0.03) 70%
    );
}

.side-item .mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.side-item h3 {
    margin: 0 0 6px 0;
    font-family: var(--serif);
    font-size: 16px;
    line-height: 1.2;
}
.side-item p {
    margin: 0;
    color: var(--muted);
    font-size: 12.5px;
}

.section {
    padding: 14px 0 34px 0;
}
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 8px 0 14px 0;
}
.section-head h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: var(--h2);
}
.section-head a {
    font-size: 13.5px;
    color: var(--muted);
}
.section-head a:hover {
    color: var(--accent);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.post {
    padding: 16px;
    border-radius: var(--radius);
    background: var(--paper);
    border: 1px solid var(--line);
    transition:
        transform 0.12s ease,
        box-shadow 0.12s ease;
}
.post:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.post h2 {
    margin: 10px 0 8px 0;
    font-family: var(--serif);
    font-size: var(--h2);
    line-height: 1.2;
}

.post h3 {
    margin: 10px 0 8px 0;
    font-family: var(--serif);
    font-size: var(--h3);
    line-height: 1.2;
}
.post p {
    margin: 0 0 10px 0;
    color: var(--muted);
    font-size: var(--text);
}
.post .meta {
    font-size: 12px;
}

.post a {
    color: var(--accent);
    text-decoration: none;
}

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

.post a:active {
    color: var(--accent2);
}

.post a:visited {
    color: var(--accent2);
}

.split {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 18px;
}

.panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
}
.panel h3 {
    margin: 0 0 10px 0;
    font-family: var(--serif);
    font-size: 18px;
}
.panel p {
    margin: 0 0 12px 0;
    color: var(--muted);
}
.panel form {
    display: grid;
    gap: 10px;
}
.panel input[type="email"] {
    width: 100%;
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--paper), var(--bg) 25%);
    outline: none;
    font-size: 14px;
}
.panel button {
    width: 100%;
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--accent), var(--line) 55%);
    background: color-mix(in srgb, var(--accent), white 88%);
    color: #062b7a;
    font-weight: 650;
    cursor: pointer;
}
.panel small {
    color: var(--muted);
}

.footer {
    border-top: 1px solid var(--line);
    padding: 22px 0 40px 0;
    color: var(--muted);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 16px;
}
.footer h4 {
    margin: 0 0 10px 0;
    font-family: var(--serif);
    color: var(--ink);
}
.footer a {
    color: var(--muted);
}
.footer a:hover {
    color: var(--accent);
}
.fineprint {
    margin-top: 14px;
    font-size: 12.5px;
    color: color-mix(in srgb, var(--muted), var(--ink) 10%);
}

/* Article page */
.article-shell {
    padding: 26px 0 40px 0;
}
.breadcrumb {
    font-size: 13px;
    color: var(--muted);
}
.breadcrumb a {
    color: var(--muted);
}
.breadcrumb a:hover {
    color: var(--accent);
}

.article-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
    align-items: start;
    margin-top: 14px;
}
.article {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px;
}
.article h1 {
    font-family: var(--serif);
    font-size: var(--h1);
    line-height: 1.08;
    margin: 10px 0 10px 0;
    letter-spacing: 0.2px;
}

.article h2 {
    font-family: var(--serif);
    font-size: var(--h2);
    line-height: 1.08;
    margin: 10px 0 10px 0;
}

.article h2 {
    font-family: var(--serif);
    font-size: var(--h3);
    line-height: 1.08;
    margin: 10px 0 10px 0;
}

.article .deck {
    font-size: 17px;
    margin-bottom: 16px;
}
.article .figure {
    margin: 18px 0 18px 0;
}
.article .figure .thumb {
    height: 300px;
    border-radius: 18px;
}
.article .figure figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-size: 12.5px;
}
.prose {
    font-family: var(--sans-body);
    line-height: 1.75;
}
.prose p {
    margin: 16px 0;
    font-size: var(--text);
}
.prose h2 {
    font-size: var(--h2);
    letter-spacing: 0.02em;
    margin: 28px 0 10px 0;
}

.prose h3 {
    font-family: var(--sans);
    font-size: var(--h3);
    margin: 20px 0 10px 0;
}

.prose li {
    margin: 8px 0;
    font-size: var(--text);
}

.prose ul {
    list-style-type: disc;
    margin-left: 20px;
}

.prose blockquote {
    margin: 20px 0;
    padding: 14px 16px;
    border-left: 3px solid color-mix(in srgb, var(--accent-2), var(--line) 45%);
    background: color-mix(in srgb, var(--paper), var(--bg) 30%);
    border-radius: 14px;
    color: color-mix(in srgb, var(--ink), var(--muted) 35%);
}
.prose code {
    font-family: var(--mono);
    font-size: 0.92em;
    background: color-mix(in srgb, var(--paper), var(--bg) 35%);
    border: 1px solid var(--line);
    padding: 2px 6px;
    border-radius: 10px;
}

.aside {
    position: sticky;
    top: 86px;
    display: grid;
    gap: 14px;
}
.toc a {
    display: block;
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--paper), var(--bg) 20%);
    color: var(--muted);
    font-size: 13.5px;
}
.toc a:hover {
    color: var(--accent);
    border-color: color-mix(in srgb, var(--accent), var(--line) 55%);
}

.related .post {
    box-shadow: none;
}

hr.sep {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 18px 0;
}

/* Responsive */
@media (max-width: 980px) {
    body {
        width: 100%;
    }
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .split {
        grid-template-columns: 1fr;
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .article-grid {
        grid-template-columns: 1fr;
    }
    .aside {
        position: static;
    }
    .article-shell {
        padding: 5px;
    }
}

@media (max-width: 760px) {
    .nav {
        display: none;
    }
    .hamburger {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }
    .mobile-drawer {
        display: none;
    }
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .headline.xl {
        font-size: 32px;
    }
    .article h1 {
        font-size: var(--h1-mobile);
    }
    .brand .tagline {
        display: none;
    }
}

.article h1 {
    font-size: var(--h1);
}
.prose {
    font-size: var(--sans);
}
.prose li {
    margin: 8px 0;
    font-size: var(--text);
}
.prose ul {
    list-style-type: disc;
    margin-left: 20px;
}
.prose code {
    font-size: calc(0.92em);
} /* maradhat */

@media (max-width: 760px) {
    .headline.xl {
        font-size: var(--h1-mobile);
    }
    .article h1 {
        font-size: var(--h1-mobile);
    }
}

@media (max-width: 760px) {
    .headline.xl {
        font-size: var(--h1-mobile);
    }
    .article h1 {
        font-size: var(--h1-mobile);
    }
}

/* Font size control */
.fontctl {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    background: var(--paper);
    padding: 6px 8px;
    border-radius: 999px;
}

.fontctl .label {
    font-size: var(--tiny);
    color: var(--muted);
    padding: 0 6px 0 2px;
    white-space: nowrap;
}

.fontctl .seg {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    background: color-mix(in srgb, var(--paper), var(--bg) 25%);
}

.fontctl button {
    border: 0;
    background: transparent;
    padding: 7px 10px;
    cursor: pointer;
    font-size: var(--tiny);
    color: var(--muted);
}

.fontctl button[aria-pressed="true"] {
    background: color-mix(in srgb, var(--accent), white 88%);
    color: #062b7a;
    font-weight: 650;
}

.fontctl button:focus {
    outline: 2px solid color-mix(in srgb, var(--accent), white 70%);
    outline-offset: 2px;
}

.footer-header {
    font-size: var(--small);
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 2px;
    white-space: nowrap;
}

.footer-links {
    gap: 8px;
    padding-left: 1em;
}

.footer-list {
    list-style: square;
    font-size: 0.8em;
    opacity: 0.7;
    margin: 0;
    padding: 0;
}

.footer-list li {
}

.more a {
    color: var(--accent);
    text-decoration: underline;
}

.advert {
    color: var(--accent-2);
    font-weight: 600;
    border: 1px var(--accent-2) solid;
    padding-left: 2px;
    padding-right: 2px;
}

.sponsor-logos {
    display: flex;
    justify-content: left;
    margin-top: 2em;
    padding: 1em;
}

.sponsor-logos img {
    max-width: 300px;
    height: auto;
    margin-right: 1em;
}

-- Cookies #cookie-banner,
#cookie-modal {
    font-family:
        system-ui,
        -apple-system,
        Segoe UI,
        Roboto,
        Arial,
        sans-serif;
}
.cookie-hidden {
    display: none !important;
}

#cookie-banner {
    position: fixed;
    inset: auto 0 0 0;
    padding: 16px;
    z-index: 9999;
}

.cookie-card {
    max-width: 980px;
    margin: 0 auto;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    padding: 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.cookie-title {
    font-weight: 700;
    margin: 0 0 6px 0;
}
.cookie-muted {
    margin: 6px 0 0 0;
    opacity: 0.75;
    font-size: 0.95rem;
}
.cookie-link {
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.cookie-btn {
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    padding: 10px 12px;
    cursor: pointer;
    font-weight: 600;
    background: #fff;
}

.cookie-btn-primary {
    background: #1b4db1;
    color: #fff;
    border-color: transparent;
}
.cookie-btn-secondary {
    background: #f3f4f6;
}
.cookie-btn-ghost {
    background: transparent;
}

@media (min-width: 780px) {
    .cookie-card {
        grid-template-columns: 1fr auto;
        align-items: center;
    }
    .cookie-actions {
        justify-content: flex-end;
    }
}

/* Modal */
#cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
}
.cookie-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}
.cookie-modal {
    position: relative;
    max-width: 720px;
    margin: 8vh auto 0 auto;
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.cookie-modal-header,
.cookie-modal-footer {
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.cookie-modal-body {
    padding: 8px 16px 16px 16px;
    display: grid;
    gap: 12px;
}
.cookie-x {
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 18px;
    padding: 8px 10px;
    border-radius: 10px;
}
.cookie-x:hover {
    background: #f3f4f6;
}

.cookie-row {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 14px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.cookie-row-title {
    font-weight: 700;
    margin: 0;
}
.cookie-pill {
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
}
.cookie-pill-on {
    background: #e7f5ea;
    color: #0a7a2f;
    border: 1px solid rgba(10, 122, 47, 0.25);
}

/* Switch */
.cookie-switch {
    position: relative;
    width: 46px;
    height: 28px;
    display: inline-block;
}
.cookie-switch input {
    display: none;
}
.cookie-slider {
    position: absolute;
    inset: 0;
    background: #d1d5db;
    border-radius: 999px;
    transition: 0.15s ease;
}
.cookie-slider:before {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 999px;
    transition: 0.15s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.cookie-switch input:checked + .cookie-slider {
    background: #1b4db1;
}
.cookie-switch input:checked + .cookie-slider:before {
    transform: translateX(18px);
}

/* Search */

.tv-search {
    max-width: 720px;
    margin: 16px auto;
    padding: 0 12px;
}
.tv-search input {
    border: 1px solid var(--line);
    background: var(--paper);
    padding: 6px 8px;
    border-radius: 999px;
    width: 100%;
    padding: 12px 14px;
    font-size: 12px;
    outline: none;
    color: var(--ink);
}
.tv-search-input:focus {
    border-color: rgba(27, 77, 177, 0.6);
    box-shadow: 0 0 0 4px rgba(27, 77, 177, 0.12);
}

.tv-search-status {
    opacity: 0.7;
    font-size: var(--tiny);
    color: var(--accent);
}
.tv-search-results {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}
.tv-search-results li {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 14px;
    padding: 10px 12px;
    margin: 8px 0;
    background: var(--paper);
    font-size: var(--small);
    color: var(--ink);
}

.tv-search-results a {
    text-decoration: none;
    font-weight: 700;
}
.tv-search-results a:hover {
    text-decoration: underline;
    color: var(--accent2);
}

.tagline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0; /* fontos: a pont adja a távolságot */
}

.tags {
    font-size: 12px;
    color: var(--muted);
    padding: 4px 0;
}

/* a pont */
.tags + .tags::before {
    content: "•";
    display: inline-block;
    margin: 0 10px;
    color: var(--border);
    font-size: 14px;
    line-height: 1;
    vertical-align: middle;
}

.article-tail {
    margin-top: 28px;
    padding-top: 16px;
    position: relative;
}
.article-tail::before {
    content: "";
    display: block;
    height: 6px;
    margin-bottom: 12px;
    background-image: radial-gradient(
        circle,
        var(--color-border) 1px,
        transparent 1px
    );
    background-size: 8px 6px;
    background-repeat: repeat-x;
    background-position: center;
}

.tail-label {
    font-size: 12px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
    opacity: 0.9;
}

@media (max-width: 500px) {
    .footer-grid {
        display: block;
        gap: 10px;
    }

    .sponsor-logos img {
        max-width: 150px;
        height: auto;
        margin-right: 10px;
    }

    .article h1 {
        font-size: var(--h1-mobile-small);
        font-family: var(--serif);
    }

    .prose h2 {
        font-size: var(--h2-mobile);
        font-family: var(--serif);
    }

    .prose h3 {
        font-size: var(--h3-mobile);
        font-family: var(--serif);
    }

    .prose li {
        /* pull to the left */
        margin-left: -2em;
        list-style-type: circle;
    }

    .section-head h1 {
        font-family: var(--serif);
        font-size: var(--h1-mobile);
    }

    .tagline {
        margin: 10px 0 8px 0; /* deck alatt, meta fölött */
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        opacity: 0.85;
    }

    .tag {
        font-size: var(--tiny);
        line-height: 1;
        padding: 6px 8px;
        border-radius: 999px;
        border: 1px solid var(--border);
        background: transparent; /* halk */
        color: var(--muted);
    }
}
