/*
 * Boxutca - a motorsport theme for the DDO News Portal (F1, WEC, rally, MotoGP).
 *
 * Bold condensed, slanted uppercase headlines; a racing-livery band along the
 * navbar and across the top of every card; chequered-flag accents on the
 * section headers and the footer; red-and-white kerb dividers; timing-tower
 * lists (position blocks + purple / green / yellow sector marks) for the
 * most-read list, the popular grid and the table of contents; a carbon-fibre
 * "night race" dark scheme and a white / asphalt "paddock" light scheme.
 *
 * Customizer tokens:
 *   --theme-bx-livery    livery stripe colour (racing red by default)
 *   --theme-bx-checkers  1 = chequered accents, 0 = off
 *   --theme-bx-slant     heading slant in degrees (0-12, unit-less)
 *   --theme-bx-carbon    carbon-fibre texture strength (0 = none)
 *   --theme-bx-kerbs     1 = red-white kerb dividers, 0 = plain livery rule
 * The brand accent (links, buttons) still comes from the icon pack
 * (--primary-*); this file never defines its own primary colour.
 * Every rule is scoped under [data-theme="boxutca"].
 */

/* =====================================================================
   Derived values
   ===================================================================== */
html[data-theme="boxutca"] {
    --bx-livery: var(--theme-bx-livery, #e10600);
    --bx-on-livery: #fff;
    --bx-livery-2: color-mix(in srgb, var(--bx-livery) 55%, #fff);
    --bx-livery-text: color-mix(in srgb, var(--bx-livery) 72%, #000);
    --bx-checkers: var(--theme-bx-checkers, 1);
    --bx-slant: calc(var(--theme-bx-slant, 8) * 1deg);
    --bx-skew: skewX(calc(var(--bx-slant) * -1));
    --bx-unskew: skewX(var(--bx-slant));
    --bx-carbon: var(--theme-bx-carbon, 1);
    --bx-kerbs: var(--theme-bx-kerbs, 1);
    --bx-weave: var(--theme-bx-weave, 0.35);

    --bx-page: var(--theme-bx-page, #eceef1);
    --bx-surface: var(--theme-bx-surface, #fff);
    --bx-surface-2: var(--theme-bx-surface-2, #e3e6ea);
    --bx-surface-3: var(--theme-bx-surface-3, #d3d7dd);
    --bx-ink: var(--theme-bx-ink, #0f1115);
    --bx-text: var(--theme-bx-text, #22252b);
    --bx-muted: var(--theme-bx-muted, #535a66);
    --bx-line: var(--theme-bx-line, rgba(15, 17, 21, 0.14));
    --bx-asphalt: var(--theme-bx-asphalt, #14161b);
    --bx-on-asphalt: #f3f4f6;
    --bx-on-asphalt-muted: #b4b9c2;

    /* Sector colours of a live timing screen */
    --bx-purple: #b45cff;
    --bx-green: #1fd36b;
    --bx-yellow: #ffd31a;

    /* Kerb: red for "on", the livery colour for the plain rule */
    --bx-kerb-a: color-mix(in srgb, #d71920 calc(var(--bx-kerbs) * 100%), var(--bx-livery));
    --bx-kerb-b: color-mix(in srgb, #f4f4f4 calc(var(--bx-kerbs) * 100%), var(--bx-livery));
    --bx-kerb-h: calc(2px + 8px * var(--bx-kerbs));
    --bx-kerb: repeating-linear-gradient(90deg, var(--bx-kerb-a) 0 26px, var(--bx-kerb-b) 26px 52px);

    --bx-check-size: 10px;
    --bx-check: repeating-conic-gradient(#f4f4f4 0 25%, #111216 0 50%) 0 0 / var(--bx-check-size) var(--bx-check-size);
    --bx-carbon-img: url("../assets/carbon.svg");

    /* The livery band: main colour, a pin-stripe gap, a lighter stripe, the ink tail */
    --bx-band: linear-gradient(100deg,
        var(--bx-livery) 0 58%,
        transparent 58% 60%,
        var(--bx-livery-2) 60% 72%,
        transparent 72% 74%,
        var(--bx-livery) 74% 80%,
        transparent 80%);

    --bx-font-display: "Roboto Condensed", "Bahnschrift", "Avenir Next Condensed", "Arial Narrow", "Helvetica Neue", "Liberation Sans Narrow", "Nimbus Sans Narrow", "DejaVu Sans Condensed", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    --bx-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --bx-font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace;
}

/* Readable text on the livery: black on light liveries, white on dark ones. */
@supports (color: oklch(from red l c h)) {
    html[data-theme="boxutca"] {
        --bx-on-livery: oklch(from var(--bx-livery) calc((0.66 - l) * 100) 0 0);
    }
}

html[data-theme="boxutca"][data-bs-theme="dark"] {
    /* Core colour roles (style.css "DARK COLOUR SCHEME") on the theme palette */
    --page: var(--bx-page);
    --surface: var(--bx-surface);
    --surface-2: var(--bx-surface-2);
    --surface-3: var(--bx-surface-3);
    --text: var(--bx-text);
    --text-strong: var(--bx-ink);
    --muted: var(--bx-muted);
    --muted-2: var(--theme-bx-muted-2, #8d939e);
    --line: var(--bx-line);
    --line-soft: var(--theme-bx-line-soft, rgba(255, 255, 255, 0.06));
    --bs-body-bg-rgb: 11, 12, 15;
    --bx-livery-text: color-mix(in srgb, var(--bx-livery) 74%, #fff);
}

html[data-theme="boxutca"]:not([data-bs-theme="dark"]) {
    --bs-body-bg: var(--bx-page);
    --bs-body-color: var(--bx-text);
    --bs-heading-color: var(--bx-ink);
    --bs-secondary-color: var(--bx-muted);
    --bs-border-color: var(--bx-line);
    --bs-tertiary-bg: var(--bx-surface-2);
    --bs-secondary-bg: var(--bx-surface-2);
}

/* =====================================================================
   Page and type
   ===================================================================== */
[data-theme="boxutca"] body {
    /* Carbon-fibre weave: strong in the night-race scheme, a faint asphalt
       grain in the paddock. A veil of the page colour sets its strength. */
    background:
        linear-gradient(color-mix(in srgb, var(--bx-page) calc(100% - var(--bx-carbon) * var(--bx-weave) * 60%), transparent), color-mix(in srgb, var(--bx-page) calc(100% - var(--bx-carbon) * var(--bx-weave) * 60%), transparent)),
        var(--bx-carbon-img) 0 0 / 16px 16px,
        var(--bx-page);
    color: var(--bx-text);
    font-family: var(--bx-font-body);
}

[data-theme="boxutca"] h1,
[data-theme="boxutca"] h2,
[data-theme="boxutca"] h3,
[data-theme="boxutca"] h4,
[data-theme="boxutca"] h5,
[data-theme="boxutca"] h6,
[data-theme="boxutca"] .h1,
[data-theme="boxutca"] .h2,
[data-theme="boxutca"] .h3,
[data-theme="boxutca"] .h4,
[data-theme="boxutca"] .h5,
[data-theme="boxutca"] .footer-brand,
[data-theme="boxutca"] .navbar .nav-link,
[data-theme="boxutca"] .btn,
[data-theme="boxutca"] .page-link,
[data-theme="boxutca"] .latest-badge,
[data-theme="boxutca"] .hero-badge,
[data-theme="boxutca"] .category-chip,
[data-theme="boxutca"] .art-tag,
[data-theme="boxutca"] .art-toc-title,
[data-theme="boxutca"] .art-tags-label,
[data-theme="boxutca"] .art-share-label,
[data-theme="boxutca"] .art-pn-label,
[data-theme="boxutca"] .art-banner-label,
[data-theme="boxutca"] .footer-cats-label {
    font-family: var(--bx-font-display);
    font-stretch: condensed;
}

[data-theme="boxutca"] h1,
[data-theme="boxutca"] h2,
[data-theme="boxutca"] h3,
[data-theme="boxutca"] h4,
[data-theme="boxutca"] h5,
[data-theme="boxutca"] h6,
[data-theme="boxutca"] .h1,
[data-theme="boxutca"] .h2,
[data-theme="boxutca"] .h3,
[data-theme="boxutca"] .h4,
[data-theme="boxutca"] .h5 {
    color: var(--bx-ink);
    font-weight: 800;
    letter-spacing: -0.005em;
}

/* The big display headings: uppercase, slanted like a livery number.
   The slant is a skew from the bottom-left corner, so a heading never
   leans out of its box on the left. */
[data-theme="boxutca"] .section-title,
[data-theme="boxutca"] .art-related-title,
[data-theme="boxutca"] .hero-title-main,
[data-theme="boxutca"] .hero-title-side,
[data-theme="boxutca"] .latest-main-title,
[data-theme="boxutca"] .listing-hero-title,
[data-theme="boxutca"] .art-hero-title,
[data-theme="boxutca"] .comments-section > h2,
[data-theme="boxutca"] .footer-brand,
[data-theme="boxutca"] .display-4,
[data-theme="boxutca"] .article-content h2,
[data-theme="boxutca"] .article-content h3 {
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 0.005em;
    transform: var(--bx-skew);
    transform-origin: 0 100%;
}

/* Card titles: slanted and condensed but in sentence case for readability */
[data-theme="boxutca"] .latest-small-title,
[data-theme="boxutca"] .listing-title,
[data-theme="boxutca"] .for-you-title,
[data-theme="boxutca"] .art-rel-card-title,
[data-theme="boxutca"] .article-row-title,
[data-theme="boxutca"] .art-pn-text {
    font-family: var(--bx-font-display);
    font-stretch: condensed;
    font-weight: 800;
    transform: var(--bx-skew);
    transform-origin: 0 100%;
}

[data-theme="boxutca"] a {
    text-underline-offset: 0.2em;
}

/* Slanted headings lean a few pixels past their box: never let that
   become a horizontal page scroll (clip keeps position: sticky working). */
[data-theme="boxutca"] main {
    overflow-x: clip;
}

[data-theme="boxutca"] ::selection {
    background: color-mix(in srgb, var(--bx-livery) 45%, transparent);
    color: inherit;
}

[data-theme="boxutca"] :focus-visible {
    outline-color: var(--bx-livery);
}

/* =====================================================================
   Navbar: carbon-fibre monocoque with the livery band underneath
   ===================================================================== */
[data-theme="boxutca"] .site-navbar {
    background: var(--bx-asphalt) !important;
    border-bottom: 0;
    isolation: isolate;
    box-shadow: 0 6px 18px -10px rgba(0, 0, 0, 0.7) !important;
}

[data-theme="boxutca"] .site-navbar::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: var(--bx-carbon-img);
    background-size: 12px 12px;
    opacity: calc(0.25 + 0.45 * var(--bx-carbon));
}

/* The livery band along the bottom edge, ending in a chequered block */
[data-theme="boxutca"] .site-navbar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 5px;
    pointer-events: none;
    background: linear-gradient(100deg, var(--bx-livery) 0 64%, transparent 64% 65%, var(--bx-livery-2) 65% 76%, transparent 76% 77%, var(--bx-livery) 77% 82%, transparent 82%);
}

[data-theme="boxutca"] .site-navbar .navbar-brand {
    position: relative;
}

[data-theme="boxutca"] .site-navbar .nav-link {
    position: relative;
    font-weight: 800;
    font-size: 0.92rem;
    letter-spacing: 0.06em;
    color: var(--bx-on-asphalt-muted);
}

[data-theme="boxutca"] .site-navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.2rem;
    height: 3px;
    background: var(--bx-livery);
    transform: skewX(-24deg) scaleX(0);
    transform-origin: left center;
    transition: transform 0.22s ease-out;
}

[data-theme="boxutca"] .site-navbar .nav-link:hover,
[data-theme="boxutca"] .site-navbar .nav-link:focus-visible,
[data-theme="boxutca"] .site-navbar .nav-link.active,
[data-theme="boxutca"] .site-navbar .nav-link[aria-current="page"] {
    opacity: 1;
    color: #fff;
}

[data-theme="boxutca"] .site-navbar .nav-link:hover::after,
[data-theme="boxutca"] .site-navbar .nav-link:focus-visible::after,
[data-theme="boxutca"] .site-navbar .nav-link.active::after,
[data-theme="boxutca"] .site-navbar .nav-link[aria-current="page"]::after {
    transform: skewX(-24deg) scaleX(1);
}

[data-theme="boxutca"] .navbar .form-control {
    background-color: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 3px solid var(--bx-livery);
    border-radius: 0;
    color: #f3f4f6;
}

[data-theme="boxutca"] .navbar .form-control::placeholder {
    color: rgba(243, 244, 246, 0.6);
}

[data-theme="boxutca"] .navbar .form-control:focus {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    border-left-color: var(--bx-livery);
    box-shadow: 0 0 0 0.18rem color-mix(in srgb, var(--bx-livery) 40%, transparent);
}

[data-theme="boxutca"] .navbar .btn-light {
    border-radius: 0;
    background: var(--bx-livery);
    border-color: var(--bx-livery);
    color: var(--bx-on-livery);
}

[data-theme="boxutca"] .navbar .btn-light:hover,
[data-theme="boxutca"] .navbar .btn-light:focus-visible {
    background: color-mix(in srgb, var(--bx-livery) 82%, #fff);
    border-color: color-mix(in srgb, var(--bx-livery) 82%, #fff);
    color: var(--bx-on-livery);
}

[data-theme="boxutca"] .navbar .btn-outline-light {
    border-radius: 0;
    border-color: rgba(255, 255, 255, 0.35);
}

/* =====================================================================
   Shared racing pieces
   ===================================================================== */

/* ---------- Section headers: chequered block, slanted title, livery line ---------- */
[data-theme="boxutca"] .section-header {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: flex-start !important;
    border-left: 0;
    padding-left: 0;
}

[data-theme="boxutca"] .section-header > .section-title {
    min-width: 0;
}

[data-theme="boxutca"] .section-header::before {
    content: "";
    flex: none;
    align-self: stretch;
    min-height: 1.6rem;
    width: calc(2.2rem * var(--bx-checkers));
    margin-right: calc(0.8rem * var(--bx-checkers));
    background: var(--bx-check);
    --bx-check-size: 0.8rem;
    transform: var(--bx-skew);
    opacity: var(--bx-checkers);
}

[data-theme="boxutca"] .section-header::after {
    content: "";
    order: 2;
    flex: 1 1 0;
    min-width: 0;
    height: 3px;
    margin-left: 1rem;
    background: linear-gradient(90deg, var(--bx-livery), color-mix(in srgb, var(--bx-livery) 30%, transparent) 60%, transparent);
    transform: var(--bx-skew);
}

[data-theme="boxutca"] .section-header > :not(:first-child) {
    order: 3;
    flex: none;
    margin-left: 1rem;
    white-space: nowrap;
}

[data-theme="boxutca"] .section-title,
[data-theme="boxutca"] .art-related-title {
    display: inline-block;
    font-size: clamp(1.45rem, 1.2rem + 0.8vw, 2.1rem);
    line-height: 1.05;
    color: var(--bx-ink);
    margin: 0;
}

[data-theme="boxutca"] .section-title.h5 {
    font-size: 1.2rem;
}

[data-theme="boxutca"] .section-title .text-primary,
[data-theme="boxutca"] .art-related-title .text-primary {
    color: var(--bx-livery-text) !important;
}

[data-theme="boxutca"] .section-title .bi {
    color: var(--bx-livery-text) !important;
}

/* ---------- Kerb dividers ---------- */
[data-theme="boxutca"] .section-divider,
[data-theme="boxutca"] .article-content hr {
    height: var(--bx-kerb-h);
    border: 0;
    opacity: 1;
    background: var(--bx-kerb);
    transform: skewX(-30deg);
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

[data-theme="boxutca"]:not([data-bs-theme="dark"]) .section-divider,
[data-theme="boxutca"]:not([data-bs-theme="dark"]) .article-content hr {
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--bx-ink) 14%, transparent);
}

/* ---------- Category badges: slanted livery tags ---------- */
[data-theme="boxutca"] .latest-badge,
[data-theme="boxutca"] .hero-badge,
[data-theme="boxutca"] .category-chip {
    display: inline-block;
    border-radius: 0;
    padding: 0.28em 0.95em 0.26em;
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.25;
    clip-path: polygon(0.5em 0, 100% 0, calc(100% - 0.5em) 100%, 0 100%);
}

[data-theme="boxutca"] .latest-badge,
[data-theme="boxutca"] .hero-badge-cat,
[data-theme="boxutca"] .category-chip {
    background: var(--cat-color, var(--bx-livery));
    color: var(--cat-contrast, var(--bx-on-livery));
}

[data-theme="boxutca"] .latest-badge-sm {
    font-size: 0.62rem;
    padding: 0.24em 0.85em 0.22em;
}

/* "FRISS": a live-timing LIVE tag with a blinking light */
[data-theme="boxutca"] .hero-badge-live {
    position: relative;
    background: #111216;
    color: #fff;
    padding-left: 1.75em;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

[data-theme="boxutca"] .hero-badge-live::before {
    content: "";
    position: absolute;
    left: 0.75em;
    top: 50%;
    width: 0.55em;
    height: 0.55em;
    margin-top: -0.275em;
    border-radius: 50%;
    background: var(--bx-livery);
    box-shadow: 0 0 0.5em var(--bx-livery);
    animation: bx-blink 1.2s steps(2, jump-none) infinite;
}

@keyframes bx-blink {
    from {
        opacity: 1;
    }

    to {
        opacity: 0.25;
    }
}

/* ---------- Tags ---------- */
[data-theme="boxutca"] .art-tag {
    background: transparent;
    color: var(--bx-muted);
    border: 1px solid var(--bx-line);
    border-left: 3px solid var(--bx-livery);
    border-radius: 0;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

[data-theme="boxutca"] .art-tag:hover {
    background: var(--bx-asphalt);
    border-color: var(--bx-asphalt);
    border-left-color: var(--bx-livery);
    color: #fff;
}

/* =====================================================================
   Home: the grid
   ===================================================================== */
[data-theme="boxutca"] .hero-section {
    position: relative;
    isolation: isolate;
    padding: 0.75rem;
    background: var(--bx-asphalt);
}

[data-theme="boxutca"] .hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: var(--bx-carbon-img);
    background-size: 14px 14px;
    opacity: calc(0.2 + 0.5 * var(--bx-carbon));
}

[data-theme="boxutca"] .hero-grid {
    gap: 0.75rem;
    grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
    height: clamp(480px, 66vh, 900px);
}

[data-theme="boxutca"] .hero-side {
    gap: 0.75rem;
}

[data-theme="boxutca"] .hero-card {
    background: #1b1d22;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
}

/* Livery band across the top of every hero picture */
[data-theme="boxutca"] .hero-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 6px;
    z-index: 3;
    pointer-events: none;
    background: var(--bx-band);
}

[data-theme="boxutca"] .hero-overlay {
    background:
        linear-gradient(to top, rgba(8, 9, 12, 0.95) 0%, rgba(8, 9, 12, 0.55) 42%, rgba(8, 9, 12, 0.05) 80%),
        linear-gradient(100deg, rgba(8, 9, 12, 0.35), transparent 55%);
}

[data-theme="boxutca"] .hero-overlay-side {
    background: linear-gradient(to top, rgba(8, 9, 12, 0.94) 0%, rgba(8, 9, 12, 0.4) 58%, transparent 100%);
}

[data-theme="boxutca"] .hero-content {
    padding: 1.6rem 2rem 1.9rem;
}

[data-theme="boxutca"] .hero-title-main {
    font-size: clamp(1.8rem, 1rem + 2.4vw, 4.2rem);
    line-height: 0.98;
    max-width: 22ch;
    text-wrap: balance;
    color: #fff;
}

[data-theme="boxutca"] .hero-title-side {
    font-size: clamp(1.1rem, 0.7rem + 1vw, 2rem);
    line-height: 1.02;
    text-wrap: balance;
    color: #fff;
}

[data-theme="boxutca"] .hero-meta {
    font-family: var(--bx-font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="boxutca"] .hero-dot {
    color: var(--bx-livery);
}

/* "ELOLVASOM": a slanted livery button */
[data-theme="boxutca"] .hero-read-link {
    display: inline-block;
    padding: 0.5em 1.4em 0.45em;
    border: 0;
    background: var(--bx-livery);
    color: var(--bx-on-livery);
    font-family: var(--bx-font-display);
    font-stretch: condensed;
    font-weight: 900;
    letter-spacing: 0.1em;
    clip-path: polygon(0.7em 0, 100% 0, calc(100% - 0.7em) 100%, 0 100%);
    transition: padding 0.2s ease;
}

[data-theme="boxutca"] .hero-card-link:hover .hero-read-link {
    padding-right: 2em;
}

[data-theme="boxutca"] .hero-bg-placeholder {
    background:
        repeating-linear-gradient(100deg, transparent 0 46%, color-mix(in srgb, var(--bx-livery) 60%, transparent) 46% 52%, transparent 52% 100%),
        #1b1d22;
}

/* =====================================================================
   Cards: monocoque panels with a livery band and a cut corner
   ===================================================================== */
[data-theme="boxutca"] .latest-main,
[data-theme="boxutca"] .latest-small-card,
[data-theme="boxutca"] .for-you-card,
[data-theme="boxutca"] .art-rel-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    background: var(--bx-surface);
    border: 1px solid var(--bx-line);
    border-radius: 0;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

[data-theme="boxutca"] .latest-main::before,
[data-theme="boxutca"] .latest-small-card::before,
[data-theme="boxutca"] .for-you-card::before,
[data-theme="boxutca"] .art-rel-card::before,
[data-theme="boxutca"] .category-card::before,
[data-theme="boxutca"] .card.h-100::before,
[data-theme="boxutca"] .editorial-office .card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 5px;
    z-index: 3;
    pointer-events: none;
    background: var(--bx-band);
}

[data-theme="boxutca"] .latest-main:hover,
[data-theme="boxutca"] .latest-small-card:hover,
[data-theme="boxutca"] .for-you-card:hover {
    opacity: 1;
    border-color: color-mix(in srgb, var(--bx-livery) 65%, transparent);
    transform: translateX(3px);
}

[data-theme="boxutca"] .latest-main-img-wrap,
[data-theme="boxutca"] .latest-small-img-wrap {
    position: relative;
    overflow: hidden;
}

[data-theme="boxutca"] .latest-main-img {
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: 280px;
}

[data-theme="boxutca"] .latest-small-img {
    height: auto;
    aspect-ratio: 16 / 10;
}

[data-theme="boxutca"] .latest-main-body {
    padding: 1.2rem 1.4rem 1.4rem;
}

[data-theme="boxutca"] .latest-small-body {
    padding: 0.75rem 0.9rem 1rem;
}

[data-theme="boxutca"] .latest-badge-overlay {
    left: 0.8rem;
    bottom: 0.8rem;
}

[data-theme="boxutca"] .latest-main-title {
    font-size: clamp(1.5rem, 1rem + 1.2vw, 2.6rem);
    line-height: 1;
    color: var(--bx-ink);
    text-wrap: balance;
}

[data-theme="boxutca"] .latest-small-title {
    font-size: 1.05rem;
    line-height: 1.15;
    color: var(--bx-ink);
}

[data-theme="boxutca"] .latest-main-summary,
[data-theme="boxutca"] .listing-summary,
[data-theme="boxutca"] .article-row-summary {
    color: var(--bx-muted);
}

[data-theme="boxutca"] .latest-meta,
[data-theme="boxutca"] .latest-meta-author,
[data-theme="boxutca"] .listing-date,
[data-theme="boxutca"] .for-you-meta {
    font-family: var(--bx-font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--bx-muted);
}

[data-theme="boxutca"] .latest-meta-dot {
    color: var(--bx-livery);
}

[data-theme="boxutca"] .latest-main:hover .latest-main-title,
[data-theme="boxutca"] .latest-small-card:hover .latest-small-title,
[data-theme="boxutca"] .listing-row:hover .listing-title,
[data-theme="boxutca"] .for-you-card:hover .for-you-title {
    color: var(--bx-livery-text);
}

/* No-picture placeholders: a livery stripe on carbon instead of a grey box */
[data-theme="boxutca"] .latest-main-img.bg-secondary,
[data-theme="boxutca"] .latest-small-img.bg-light,
[data-theme="boxutca"] .listing-thumb-placeholder,
[data-theme="boxutca"] .art-rel-img-placeholder {
    background:
        linear-gradient(100deg, transparent 0 55%, color-mix(in srgb, var(--bx-livery) 70%, transparent) 55% 63%, transparent 63% 66%, color-mix(in srgb, var(--bx-livery) 40%, transparent) 66% 70%, transparent 70%),
        var(--bx-carbon-img) 0 0 / 12px 12px,
        #1b1d22 !important;
}

[data-theme="boxutca"] .latest-main-img.bg-secondary .bi,
[data-theme="boxutca"] .latest-small-img.bg-light .bi {
    color: rgba(255, 255, 255, 0.35) !important;
}

/* ---------- Popular grid: P1-P5 grid slots ---------- */
[data-theme="boxutca"] .row.g-5 > .col-lg-6:first-child .section-header + .row {
    counter-reset: bx-grid;
}

[data-theme="boxutca"] .row.g-5 > .col-lg-6:first-child .section-header + .row .latest-small-col {
    counter-increment: bx-grid;
}

[data-theme="boxutca"] .row.g-5 > .col-lg-6:first-child .section-header + .row .latest-small-img-wrap::after {
    content: "P" counter(bx-grid);
    position: absolute;
    top: 5px;
    right: 0;
    z-index: 2;
    min-width: 2.6em;
    padding: 0.35em 0.6em 0.3em 0.9em;
    background: rgba(10, 11, 14, 0.88);
    color: #fff;
    font-family: var(--bx-font-mono);
    font-weight: 800;
    font-size: 0.8rem;
    text-align: center;
    font-variant-numeric: tabular-nums;
    clip-path: polygon(0.5em 0, 100% 0, 100% 100%, 0 100%);
}

[data-theme="boxutca"] .row.g-5 > .col-lg-6:first-child .section-header + .row .latest-small-col:first-child .latest-small-img-wrap::after {
    background: var(--bx-purple);
    color: #fff;
}

/* =====================================================================
   Listing rows (category, tag, author, search)
   ===================================================================== */
[data-theme="boxutca"] .listing-row {
    position: relative;
    padding: 1rem 1.1rem 1rem 1rem;
    margin-bottom: 0.75rem;
    background: var(--bx-surface);
    border: 1px solid var(--bx-line);
    border-left: 4px solid var(--bx-livery);
    border-radius: 0;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

[data-theme="boxutca"] .listing-row:first-child {
    padding-top: 1rem;
}

[data-theme="boxutca"] .listing-row:hover {
    opacity: 1;
    border-color: color-mix(in srgb, var(--bx-livery) 55%, transparent);
    border-left-color: var(--bx-livery);
    transform: translateX(3px);
}

[data-theme="boxutca"] .listing-thumb {
    background: var(--bx-surface-2);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}

[data-theme="boxutca"] .listing-title {
    color: var(--bx-ink);
    font-size: 1.3rem;
    line-height: 1.12;
}

[data-theme="boxutca"] .listing-count {
    font-family: var(--bx-font-mono);
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: var(--bx-muted);
}

[data-theme="boxutca"] .listing-count-num {
    color: var(--bx-livery-text);
    font-weight: 800;
}

/* =====================================================================
   Timing tower: the most-read list on the home page
   ===================================================================== */
[data-theme="boxutca"] .section-header + .listing-list {
    counter-reset: bx-pos;
    gap: 0;
    background: var(--bx-asphalt);
    padding: 0.4rem;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

[data-theme="boxutca"] .section-header + .listing-list .listing-row {
    counter-increment: bx-pos;
    align-items: center;
    gap: 1rem;
    margin: 0;
    padding: 0.6rem 4.4rem 0.6rem 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--bx-on-asphalt);
}

[data-theme="boxutca"] .section-header + .listing-list .listing-row:last-child {
    border-bottom: 0;
}

[data-theme="boxutca"] .section-header + .listing-list .listing-row:nth-child(odd) {
    background: rgba(255, 255, 255, 0.035);
}

[data-theme="boxutca"] .section-header + .listing-list .listing-row:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.08);
}

/* Position block */
[data-theme="boxutca"] .section-header + .listing-list .listing-row::before {
    content: counter(bx-pos);
    order: -1;
    flex: none;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    margin: -0.6rem 0;
    background: #f4f4f4;
    color: #111216;
    font-family: var(--bx-font-mono);
    font-weight: 800;
    font-size: 1.35rem;
    font-variant-numeric: tabular-nums;
}

[data-theme="boxutca"] .section-header + .listing-list .listing-row:first-child::before {
    background: var(--bx-livery);
    color: var(--bx-on-livery);
}

/* Sector marks: three tiny bars, purple = fastest, green = personal best, yellow */
[data-theme="boxutca"] .section-header + .listing-list .listing-row::after {
    content: "";
    position: absolute;
    right: 0.9rem;
    top: 50%;
    width: 2.7rem;
    height: 6px;
    margin-top: -3px;
    background:
        linear-gradient(90deg, var(--bx-s1) 0 30%, transparent 30% 35%, var(--bx-s2) 35% 65%, transparent 65% 70%, var(--bx-s3) 70% 100%);
    transform: skewX(-20deg);
    --bx-s1: var(--bx-green);
    --bx-s2: var(--bx-yellow);
    --bx-s3: var(--bx-green);
}

[data-theme="boxutca"] .section-header + .listing-list .listing-row:nth-child(1)::after {
    --bx-s1: var(--bx-purple);
    --bx-s2: var(--bx-purple);
    --bx-s3: var(--bx-green);
}

[data-theme="boxutca"] .section-header + .listing-list .listing-row:nth-child(2)::after {
    --bx-s1: var(--bx-green);
    --bx-s2: var(--bx-green);
    --bx-s3: var(--bx-purple);
}

[data-theme="boxutca"] .section-header + .listing-list .listing-row:nth-child(3n)::after {
    --bx-s1: var(--bx-yellow);
    --bx-s2: var(--bx-green);
    --bx-s3: var(--bx-yellow);
}

[data-theme="boxutca"] .section-header + .listing-list .listing-thumb {
    width: 92px;
    height: 58px;
    clip-path: none;
}

[data-theme="boxutca"] .section-header + .listing-list .listing-title {
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
    color: #fff;
}

[data-theme="boxutca"] .section-header + .listing-list .listing-row:hover .listing-title {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: var(--bx-livery);
    text-decoration-thickness: 2px;
}

[data-theme="boxutca"] .section-header + .listing-list .listing-summary {
    display: none;
}

[data-theme="boxutca"] .section-header + .listing-list .listing-meta-top {
    margin-bottom: 0.2rem;
}

[data-theme="boxutca"] .section-header + .listing-list .listing-date,
[data-theme="boxutca"] .section-header + .listing-list .latest-meta,
[data-theme="boxutca"] .section-header + .listing-list .latest-meta-author {
    color: var(--bx-on-asphalt-muted);
}

[data-theme="boxutca"] .section-header + .listing-list .latest-badge {
    margin-bottom: 0;
}

[data-theme="boxutca"] .section-header + .listing-list .latest-meta .art-tag,
[data-theme="boxutca"] .section-header + .listing-list .latest-meta .latest-meta-dot {
    display: none;
}

/* ---------- "Neked ajánljuk" ---------- */
[data-theme="boxutca"] .for-you-card,
[data-theme="boxutca"] .for-you-card.listing-row {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 0;
    padding: 0;
    border-left-width: 1px;
}

[data-theme="boxutca"] .for-you-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

[data-theme="boxutca"] .for-you-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 0.8rem 1rem 1.1rem;
    border-left: 0;
}

[data-theme="boxutca"] .for-you-title {
    color: var(--bx-ink);
}

[data-theme="boxutca"] .for-you-more {
    color: var(--accent-text, var(--primary-color));
    font-family: var(--bx-font-display);
    font-stretch: condensed;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ---------- Category cards ---------- */
[data-theme="boxutca"] .category-card.category-card.category-card {
    position: relative;
    overflow: hidden;
    background: var(--bx-surface) !important;
    border: 1px solid var(--bx-line) !important;
    border-radius: 0 !important;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

[data-theme="boxutca"] .category-card::before {
    background: var(--cat-color, var(--bx-livery));
}

[data-theme="boxutca"] .category-card.category-card.category-card:hover {
    transform: translateY(-2px);
    background: var(--bx-asphalt) !important;
}

[data-theme="boxutca"] .category-card.category-card.category-card:hover .text-dark,
[data-theme="boxutca"] .category-card.category-card.category-card:hover h5,
[data-theme="boxutca"] .category-card.category-card.category-card:hover h6 {
    color: #fff !important;
}

[data-theme="boxutca"] .category-card .bi,
[data-theme="boxutca"] .category-card .text-primary {
    color: var(--bx-livery-text) !important;
}

[data-theme="boxutca"] .category-card .text-dark,
[data-theme="boxutca"] .category-card h5,
[data-theme="boxutca"] .category-card h6 {
    font-family: var(--bx-font-display);
    font-stretch: condensed;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bx-ink) !important;
}

/* =====================================================================
   Listing headers (category, tag, author, search, pages):
   the pit wall - asphalt, a chequered flag waving in from the right,
   a kerb along the bottom
   ===================================================================== */
[data-theme="boxutca"] .listing-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--bx-asphalt);
    border-bottom: 0;
    padding-top: 2.6rem;
    padding-bottom: calc(2.2rem + var(--bx-kerb-h));
    margin-bottom: 1.5rem;
}

[data-theme="boxutca"] .listing-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(46%, 1200px);
    pointer-events: none;
    --bx-check-size: clamp(18px, 1.6vw, 34px);
    background: var(--bx-check);
    transform: skewX(-14deg);
    transform-origin: 100% 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 55%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 55%, #000 100%);
    opacity: calc(0.38 * var(--bx-checkers));
}

[data-theme="boxutca"] .listing-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--bx-kerb-h);
    pointer-events: none;
    background: var(--bx-kerb);
}

[data-theme="boxutca"] .listing-hero-inner {
    position: relative;
}

[data-theme="boxutca"] .listing-hero-inner::before {
    content: "";
    display: block;
    width: 5.5rem;
    height: 5px;
    margin-bottom: 0.9rem;
    background: var(--bx-band);
    transform: var(--bx-skew);
}

[data-theme="boxutca"] .listing-hero-title {
    font-size: clamp(2.2rem, 1.4rem + 3vw, 5rem);
    line-height: 0.95;
    color: #fff;
}

[data-theme="boxutca"] .listing-hero-sub,
[data-theme="boxutca"] .listing-hero .art-breadcrumb,
[data-theme="boxutca"] .listing-hero .art-breadcrumb a,
[data-theme="boxutca"] .listing-hero .text-white-50 {
    color: var(--bx-on-asphalt-muted) !important;
}

[data-theme="boxutca"] .art-breadcrumb {
    font-family: var(--bx-font-mono);
    letter-spacing: 0.06em;
}

[data-theme="boxutca"] .art-bc-sep {
    color: var(--bx-livery);
}

/* Light listing-header variants: the paddock wall */
[data-theme="boxutca"] :is(.listing-hero-light, .listing-hero-light-compact, .listing-hero-light-borderless, .listing-hero-light-borderless-compact) {
    background: var(--bx-surface-2);
}

[data-theme="boxutca"] :is(.listing-hero-light, .listing-hero-light-compact, .listing-hero-light-borderless, .listing-hero-light-borderless-compact)::before {
    filter: invert(1);
    opacity: calc(0.12 * var(--bx-checkers));
}

[data-theme="boxutca"] :is(.listing-hero-light, .listing-hero-light-compact, .listing-hero-light-borderless, .listing-hero-light-borderless-compact) .listing-hero-title {
    color: var(--bx-ink);
}

[data-theme="boxutca"] :is(.listing-hero-light, .listing-hero-light-compact, .listing-hero-light-borderless, .listing-hero-light-borderless-compact) :is(.listing-hero-sub, .art-breadcrumb, .art-breadcrumb a, .text-white-50) {
    color: var(--bx-muted) !important;
}

/* =====================================================================
   Search / page sidebars: a timing tower of scopes and categories
   ===================================================================== */
[data-theme="boxutca"] .search-cat-list,
[data-theme="boxutca"] .page-sidebar-tree {
    background: var(--bx-surface);
    border: 1px solid var(--bx-line);
    border-top: 4px solid var(--bx-livery);
    border-radius: 0;
    overflow: hidden;
}

[data-theme="boxutca"] .search-cat-item,
[data-theme="boxutca"] .page-sidebar-folder summary,
[data-theme="boxutca"] .page-sidebar-leaf {
    position: relative;
    color: var(--bx-text);
    border-bottom-color: var(--bx-line);
    font-family: var(--bx-font-display);
    font-stretch: condensed;
    font-weight: 700;
    letter-spacing: 0.02em;
}

[data-theme="boxutca"] .search-cat-item:nth-child(even) {
    background: color-mix(in srgb, var(--bx-surface-2) 55%, transparent);
}

[data-theme="boxutca"] .search-cat-item:hover:not(:disabled),
[data-theme="boxutca"] .page-sidebar-folder summary:hover,
[data-theme="boxutca"] .page-sidebar-leaf:hover {
    background: var(--bx-surface-2);
    color: var(--bx-ink);
}

[data-theme="boxutca"] .search-cat-active,
[data-theme="boxutca"] .search-cat-active:nth-child(even) {
    background: var(--bx-asphalt) !important;
    color: #fff !important;
    box-shadow: inset 4px 0 0 var(--bx-livery);
}

[data-theme="boxutca"] .search-cat-active .bi,
[data-theme="boxutca"] .search-cat-active .text-primary,
[data-theme="boxutca"] .search-cat-active .text-muted {
    color: #fff !important;
}

[data-theme="boxutca"] .search-cat-count {
    font-family: var(--bx-font-mono);
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    min-width: 2.2em;
    padding: 0.05em 0.4em;
    text-align: center;
    background: var(--bx-surface-2);
    color: var(--bx-text);
}

[data-theme="boxutca"] .search-cat-active .search-cat-count {
    background: var(--bx-purple);
    color: #fff;
}

[data-theme="boxutca"] .page-sidebar-current::before {
    background: var(--bx-livery);
}

[data-theme="boxutca"] .article-row {
    background: var(--bx-surface);
    border: 1px solid var(--bx-line);
    border-radius: 0;
}

/* =====================================================================
   Article page
   ===================================================================== */
[data-theme="boxutca"] .art-hero {
    height: clamp(440px, 72vh, 900px);
}

[data-theme="boxutca"] .art-hero-placeholder {
    background:
        linear-gradient(100deg, transparent 0 55%, color-mix(in srgb, var(--bx-livery) 60%, transparent) 55% 63%, transparent 63% 66%, color-mix(in srgb, var(--bx-livery) 35%, transparent) 66% 70%, transparent 70%),
        var(--bx-carbon-img) 0 0 / 14px 14px,
        #15171c;
}

[data-theme="boxutca"] .art-hero-overlay {
    background:
        linear-gradient(to top, rgba(8, 9, 12, 0.95) 0%, rgba(8, 9, 12, 0.6) 40%, rgba(8, 9, 12, 0.12) 100%),
        linear-gradient(100deg, rgba(8, 9, 12, 0.45), transparent 60%);
}

/* A kerb along the bottom of the hero picture */
[data-theme="boxutca"] .art-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--bx-kerb-h);
    z-index: 3;
    pointer-events: none;
    background: var(--bx-kerb);
}

[data-theme="boxutca"] .art-hero-content {
    max-width: min(1500px, 78%);
    padding: 2.5rem 2.5rem calc(2.4rem + var(--bx-kerb-h));
}

[data-theme="boxutca"] .art-hero-title {
    font-size: clamp(2rem, 1.2rem + 3vw, 5rem);
    line-height: 0.96;
    text-wrap: balance;
    color: #fff;
}

[data-theme="boxutca"] .art-hero-deck {
    color: rgba(255, 255, 255, 0.86);
}

[data-theme="boxutca"] .art-hero-meta {
    font-family: var(--bx-font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

[data-theme="boxutca"] .art-hero-dot {
    color: var(--bx-livery);
}

[data-theme="boxutca"] .art-personal-action {
    border-radius: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
}

[data-theme="boxutca"] .art-personal-action:hover {
    background: var(--bx-livery);
    border-color: var(--bx-livery);
    color: var(--bx-on-livery);
}

[data-theme="boxutca"] .article-content {
    color: var(--bx-text);
}

[data-theme="boxutca"] .article-content h2,
[data-theme="boxutca"] .article-content h3 {
    position: relative;
    color: var(--bx-ink);
    padding-left: 1rem;
    line-height: 1.05;
}

/* A slanted livery block before the subheadings */
[data-theme="boxutca"] .article-content h2::before,
[data-theme="boxutca"] .article-content h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.08em;
    bottom: 0.08em;
    width: 0.32rem;
    background: var(--bx-livery);
}

[data-theme="boxutca"] .article-content h3::before {
    background: var(--bx-livery-2);
}

[data-theme="boxutca"] .article-content a {
    color: var(--accent-text, var(--primary-color));
    text-decoration-line: underline;
    text-decoration-color: color-mix(in srgb, var(--bx-livery) 75%, transparent);
    text-decoration-thickness: 0.12em;
    text-underline-offset: 0.2em;
}

[data-theme="boxutca"] .article-content a:hover {
    text-decoration-color: var(--bx-livery);
    text-decoration-thickness: 0.2em;
}

/* Block quotes: team radio */
[data-theme="boxutca"] .article-content blockquote {
    position: relative;
    margin-left: 0;
    padding: 1.2rem 1.5rem 1.2rem 1.6rem;
    background: var(--bx-surface);
    border: 1px solid var(--bx-line);
    border-left: 6px solid var(--bx-livery);
    color: var(--bx-text);
    font-style: italic;
}

[data-theme="boxutca"] .article-content blockquote::after {
    content: "";
    position: absolute;
    right: 1rem;
    top: 0.9rem;
    width: 3.2rem;
    height: 1rem;
    pointer-events: none;
    opacity: 0.7;
    background:
        linear-gradient(var(--bx-livery), var(--bx-livery)) 0 60% / 3px 30% no-repeat,
        linear-gradient(var(--bx-livery), var(--bx-livery)) 6px 50% / 3px 60% no-repeat,
        linear-gradient(var(--bx-livery), var(--bx-livery)) 12px 50% / 3px 100% no-repeat,
        linear-gradient(var(--bx-livery), var(--bx-livery)) 18px 50% / 3px 45% no-repeat,
        linear-gradient(var(--bx-livery), var(--bx-livery)) 24px 50% / 3px 80% no-repeat,
        linear-gradient(var(--bx-livery), var(--bx-livery)) 30px 50% / 3px 35% no-repeat,
        linear-gradient(var(--bx-livery), var(--bx-livery)) 36px 50% / 3px 65% no-repeat,
        linear-gradient(var(--bx-livery), var(--bx-livery)) 42px 50% / 3px 25% no-repeat;
}

[data-theme="boxutca"] .article-content blockquote p:last-child {
    margin-bottom: 0;
}

[data-theme="boxutca"] .article-content img {
    border-radius: 0;
}

[data-theme="boxutca"] .article-content code {
    background: var(--bx-surface-2);
    color: var(--bx-ink);
    border-radius: 0;
    font-family: var(--bx-font-mono);
}

[data-theme="boxutca"] .article-content pre {
    background: var(--bx-asphalt);
    color: #e6e8ec;
    border-radius: 0;
    border-left: 4px solid var(--bx-livery);
}

[data-theme="boxutca"] .article-content pre code {
    background: none;
    color: inherit;
}

[data-theme="boxutca"] .article-content li::marker {
    color: var(--bx-livery);
    font-weight: 800;
}

/* Tables as timing sheets */
[data-theme="boxutca"] .article-content table {
    width: 100%;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
    background: var(--bx-surface);
    border: 1px solid var(--bx-line);
}

[data-theme="boxutca"] .article-content th {
    background: var(--bx-asphalt);
    color: #fff;
    font-family: var(--bx-font-display);
    font-stretch: condensed;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 3px solid var(--bx-livery);
}

[data-theme="boxutca"] .article-content th,
[data-theme="boxutca"] .article-content td {
    padding: 0.5rem 0.75rem;
}

[data-theme="boxutca"] .article-content td {
    border-bottom: 1px solid var(--bx-line);
}

[data-theme="boxutca"] .article-content tbody tr:nth-child(even) {
    background: color-mix(in srgb, var(--bx-surface-2) 60%, transparent);
}

/* ---------- Table of contents: a timing tower of the sections ---------- */
[data-theme="boxutca"] .art-toc {
    background: var(--bx-asphalt);
    border: 0;
    border-radius: 0;
    padding: 0;
    color: var(--bx-on-asphalt);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

[data-theme="boxutca"] .art-toc-title {
    margin: 0;
    padding: 0.7rem 1rem 0.6rem;
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    border-bottom: 3px solid var(--bx-livery);
    position: relative;
}

/* A chequered flag at the end of the tower header */
[data-theme="boxutca"] .art-toc-title::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 3rem;
    --bx-check-size: 0.6rem;
    background: var(--bx-check);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);
    mask-image: linear-gradient(90deg, transparent, #000 70%);
    opacity: calc(0.85 * var(--bx-checkers));
}

[data-theme="boxutca"] .art-toc-title .bi {
    color: var(--bx-livery);
}

[data-theme="boxutca"] .art-toc-nav {
    counter-reset: bx-toc;
    gap: 0;
    padding: 0.3rem 0 0.5rem;
}

[data-theme="boxutca"] .art-toc-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.35rem 1rem 0.35rem 0;
    color: #e4e6ea;
    font-size: 0.9rem;
}

[data-theme="boxutca"] .art-toc-link:nth-child(odd) {
    background: rgba(255, 255, 255, 0.035);
}

[data-theme="boxutca"] .art-toc-link.art-toc-h2 {
    counter-increment: bx-toc;
}

[data-theme="boxutca"] .art-toc-link::before {
    content: counter(bx-toc);
    flex: none;
    width: 2.2rem;
    padding: 0.1rem 0;
    text-align: center;
    background: #f4f4f4;
    color: #111216;
    font-family: var(--bx-font-mono);
    font-weight: 800;
    font-size: 0.85rem;
    font-variant-numeric: tabular-nums;
}

[data-theme="boxutca"] .art-toc-link.art-toc-h3 {
    padding-left: 0;
    opacity: 1;
    color: var(--bx-on-asphalt-muted);
    font-size: 0.84rem;
}

[data-theme="boxutca"] .art-toc-link.art-toc-h3::before {
    content: "";
    width: 2.2rem;
    height: 4px;
    padding: 0;
    background: linear-gradient(90deg, transparent 0 40%, var(--bx-green) 40% 70%, var(--bx-yellow) 70%);
}

[data-theme="boxutca"] .art-toc-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

[data-theme="boxutca"] .art-toc-link:hover::before {
    background: var(--bx-livery);
    color: var(--bx-on-livery);
}

[data-theme="boxutca"] .art-toc-link.art-toc-h3:hover::before {
    background: linear-gradient(90deg, transparent 0 40%, var(--bx-purple) 40%);
}

/* ---------- Tags, share, prev/next ---------- */
[data-theme="boxutca"] .art-tags,
[data-theme="boxutca"] .art-prevnext,
[data-theme="boxutca"] .comments-section,
[data-theme="boxutca"] .art-related {
    border-color: var(--bx-line) !important;
}

[data-theme="boxutca"] .art-tags-label,
[data-theme="boxutca"] .art-pn-label,
[data-theme="boxutca"] .art-share-label,
[data-theme="boxutca"] .art-banner-label {
    color: var(--bx-muted);
    font-weight: 800;
    letter-spacing: 0.1em;
}

[data-theme="boxutca"] .art-share-btn {
    border-radius: 0;
    clip-path: polygon(0.35rem 0, 100% 0, calc(100% - 0.35rem) 100%, 0 100%);
}

[data-theme="boxutca"] .art-pn-link {
    color: var(--bx-ink);
}

[data-theme="boxutca"] .art-pn-arrow {
    border-radius: 0;
    background: var(--bx-asphalt);
    color: #fff;
}

[data-theme="boxutca"] .art-pn-link:hover .art-pn-arrow {
    background: var(--bx-livery);
    color: var(--bx-on-livery);
}

[data-theme="boxutca"] .art-banner,
[data-theme="boxutca"] .art-banner-horizontal,
[data-theme="boxutca"] .comment-form-wrap {
    background: var(--bx-surface);
    border: 1px dashed color-mix(in srgb, var(--bx-muted) 45%, transparent);
    border-radius: 0;
    color: var(--bx-text);
}

/* ---------- Comments: pit radio messages ---------- */
[data-theme="boxutca"] .comments-section > h2 {
    font-size: 1.6rem;
}

[data-theme="boxutca"] .comments-section > h2 .bi {
    color: var(--bx-livery-text);
}

[data-theme="boxutca"] .comment-body {
    background: var(--bx-surface);
    border: 1px solid var(--bx-line);
    border-left: 3px solid var(--bx-livery);
    border-radius: 0;
    color: var(--bx-text);
}

[data-theme="boxutca"] .comment-reply .comment-body {
    border-left-color: var(--bx-livery-2);
}

[data-theme="boxutca"] .comment-author {
    color: var(--bx-ink);
    font-family: var(--bx-font-display);
    font-stretch: condensed;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

[data-theme="boxutca"] .comment-time {
    font-family: var(--bx-font-mono);
    font-size: 0.72rem;
    color: var(--bx-muted);
}

[data-theme="boxutca"] .comment-avatar,
[data-theme="boxutca"] .comment-avatar-fallback {
    border-radius: 0;
}

[data-theme="boxutca"] .comment-avatar-fallback {
    background: var(--bx-asphalt);
    color: #fff;
    box-shadow: inset 0 -3px 0 var(--bx-livery);
}

/* ---------- Related ---------- */
[data-theme="boxutca"] .art-rel-card {
    border: 0;
}

[data-theme="boxutca"] .art-rel-overlay {
    background: linear-gradient(to top, rgba(8, 9, 12, 0.94) 0%, rgba(8, 9, 12, 0.45) 55%, transparent 100%);
}

[data-theme="boxutca"] .art-rel-card-title {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.12;
}

[data-theme="boxutca"] .art-rel-meta {
    font-family: var(--bx-font-mono);
    font-size: 0.68rem;
    text-transform: uppercase;
}

/* =====================================================================
   Buttons, pagination, forms, bits
   ===================================================================== */
[data-theme="boxutca"] .btn {
    border-radius: 0;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

[data-theme="boxutca"] .btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--primary-contrast);
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.22);
}

[data-theme="boxutca"] .btn-primary:hover,
[data-theme="boxutca"] .btn-primary:focus-visible {
    background: var(--primary-strong);
    border-color: var(--primary-strong);
    color: var(--primary-contrast);
}

[data-theme="boxutca"] .pagination {
    --bs-pagination-bg: var(--bx-surface);
    --bs-pagination-color: var(--bx-text);
    --bs-pagination-border-color: var(--bx-line);
    --bs-pagination-hover-bg: var(--bx-surface-2);
    --bs-pagination-hover-color: var(--bx-ink);
    --bs-pagination-hover-border-color: var(--bx-line);
    --bs-pagination-disabled-bg: var(--bx-surface);
    --bs-pagination-disabled-color: var(--bx-muted);
    --bs-pagination-disabled-border-color: var(--bx-line);
    --bs-pagination-active-bg: var(--bx-asphalt);
    --bs-pagination-active-color: #fff;
    --bs-pagination-active-border-color: var(--bx-asphalt);
    --bs-pagination-focus-box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--bx-livery) 40%, transparent);
    gap: 0.3rem;
}

[data-theme="boxutca"] .page-link,
[data-theme="boxutca"] .page-item .page-link {
    border-radius: 0 !important;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

[data-theme="boxutca"] .page-item.active .page-link {
    box-shadow: inset 0 -3px 0 var(--bx-livery);
}

[data-theme="boxutca"] .form-control,
[data-theme="boxutca"] .form-select,
[data-theme="boxutca"] .comment-form-wrap textarea {
    border-radius: 0;
}

[data-theme="boxutca"]:not([data-bs-theme="dark"]) .form-control,
[data-theme="boxutca"]:not([data-bs-theme="dark"]) .form-select,
[data-theme="boxutca"]:not([data-bs-theme="dark"]) .comment-form-wrap textarea {
    background-color: #fff;
    border-color: rgba(15, 17, 21, 0.22);
}

[data-theme="boxutca"] .navbar .form-control {
    background-color: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.14);
    border-left-color: var(--bx-livery);
}

[data-theme="boxutca"] .form-control:focus,
[data-theme="boxutca"] .form-select:focus {
    border-color: var(--bx-livery);
    box-shadow: 0 0 0 0.18rem color-mix(in srgb, var(--bx-livery) 32%, transparent);
}

[data-theme="boxutca"] .form-check-input:checked {
    background-color: var(--bx-livery);
    border-color: var(--bx-livery);
}

[data-theme="boxutca"]:not([data-bs-theme="dark"]) .bg-light {
    background-color: var(--bx-surface-2) !important;
}

[data-theme="boxutca"]:not([data-bs-theme="dark"]) .bg-white {
    background-color: var(--bx-surface) !important;
}

[data-theme="boxutca"] .card {
    --bs-card-bg: var(--bx-surface);
    --bs-card-border-color: var(--bx-line);
    position: relative;
    border-radius: 0;
    overflow: hidden;
}

[data-theme="boxutca"] .card-title,
[data-theme="boxutca"] .card .h5,
[data-theme="boxutca"] .card .h6 {
    font-family: var(--bx-font-display);
    font-stretch: condensed;
    font-weight: 800;
}

[data-theme="boxutca"] .list-group {
    --bs-list-group-bg: var(--bx-surface);
    --bs-list-group-border-color: var(--bx-line);
    --bs-list-group-action-hover-bg: var(--bx-surface-2);
    --bs-list-group-action-active-bg: var(--bx-surface-3);
    border-radius: 0;
}

[data-theme="boxutca"] .badge {
    border-radius: 0;
    font-family: var(--bx-font-display);
    font-stretch: condensed;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

[data-theme="boxutca"] .badge.text-bg-primary {
    background-color: var(--bx-livery) !important;
    color: var(--bx-on-livery) !important;
}

[data-theme="boxutca"] .alert {
    border-radius: 0;
    border-left: 4px solid var(--bx-livery) !important;
}

[data-theme="boxutca"] .alert-light {
    background: var(--bx-surface);
    color: var(--bx-text);
    border-color: var(--bx-line);
}

[data-theme="boxutca"] .module-hero,
[data-theme="boxutca"] .page-sidebar-mobile-trigger {
    background: var(--bx-surface);
    border-color: var(--bx-line);
    border-radius: 0;
}

[data-theme="boxutca"] .page-breadcrumb-plain,
[data-theme="boxutca"] .module-hero p {
    color: var(--bx-muted);
}

[data-theme="boxutca"] .search-dropdown,
[data-theme="boxutca"] .dropdown-menu,
[data-theme="boxutca"] .category-mega-menu {
    border-radius: 0;
    border-top: 3px solid var(--bx-livery);
}

[data-theme="boxutca"]:not([data-bs-theme="dark"]) .search-dropdown,
[data-theme="boxutca"]:not([data-bs-theme="dark"]) .dropdown-menu {
    --bs-dropdown-bg: var(--bx-surface);
    background: var(--bx-surface);
}

/* Wide containers: the editorial office, 404 and landing pages use the fixed
   Bootstrap container; widen them like the rest of the site. */
[data-theme="boxutca"] main > .container,
[data-theme="boxutca"] .editorial-office.container {
    max-width: none;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 992px) {
    [data-theme="boxutca"] main > .container,
    [data-theme="boxutca"] .editorial-office.container {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

/* Editorial office / personal page bits */
[data-theme="boxutca"] .editorial-publisher-logo,
[data-theme="boxutca"] .editorial-author-placeholder {
    border-radius: 0;
    background: var(--bx-asphalt);
    color: #fff;
    box-shadow: inset 0 -4px 0 var(--bx-livery);
}

[data-theme="boxutca"] .editorial-author-avatar {
    border-radius: 0;
}

[data-theme="boxutca"] .page-child-card {
    border-left: 4px solid var(--bx-livery) !important;
}

/* 404: the red flag */
[data-theme="boxutca"] .display-4 {
    display: inline-block;
    font-size: clamp(3rem, 2rem + 4vw, 7rem);
    line-height: 0.95;
}

[data-theme="boxutca"] .bi-exclamation-triangle.text-warning {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6em;
    height: 1.1em;
    background: var(--bx-livery);
    color: var(--bx-on-livery) !important;
    clip-path: polygon(0.15em 0, 100% 0, calc(100% - 0.15em) 100%, 0 100%);
}

/* =====================================================================
   Footer: carbon, a chequered band and a kerb along the top
   ===================================================================== */
[data-theme="boxutca"] .site-footer {
    position: relative;
    isolation: isolate;
    margin-top: 3rem;
    padding-top: calc(var(--bx-kerb-h) + 22px * var(--bx-checkers));
    background: var(--bx-asphalt);
    color: var(--bx-on-asphalt-muted);
    border-top: 0;
}

[data-theme="boxutca"] .site-footer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
    pointer-events: none;
    background:
        var(--bx-kerb) 0 0 / 100% var(--bx-kerb-h) no-repeat,
        repeating-conic-gradient(#f4f4f4 0 25%, #0e0f12 0 50%) 0 var(--bx-kerb-h) / 11px 11px repeat-x;
    background-size: 100% var(--bx-kerb-h), 11px calc(22px * var(--bx-checkers));
}

[data-theme="boxutca"] .site-footer::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: calc(var(--bx-kerb-h) + 22px * var(--bx-checkers));
    bottom: 0;
    z-index: -2;
    pointer-events: none;
    background-image: var(--bx-carbon-img);
    background-size: 14px 14px;
    opacity: calc(0.25 + 0.45 * var(--bx-carbon));
}

[data-theme="boxutca"] .footer-top,
[data-theme="boxutca"] .footer-cats {
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="boxutca"] .footer-brand {
    color: #fff;
    font-size: 1.6rem;
}

[data-theme="boxutca"] .footer-brand .bi {
    color: var(--bx-livery);
}

[data-theme="boxutca"] .footer-social a {
    color: #d9dce2;
}

[data-theme="boxutca"] .footer-social a:hover {
    color: var(--bx-livery);
}

[data-theme="boxutca"] .footer-cats-label {
    color: var(--bx-on-asphalt-muted);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

[data-theme="boxutca"] .footer-copy,
[data-theme="boxutca"] .footer-built {
    color: #a3a8b2;
}

[data-theme="boxutca"] .footer-cat-link {
    color: #e2e4e9;
    font-family: var(--bx-font-display);
    font-stretch: condensed;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

[data-theme="boxutca"] .footer-cat-link:hover {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: var(--bx-livery);
    text-decoration-thickness: 3px;
}

[data-theme="boxutca"] .footer-contact,
[data-theme="boxutca"] .footer-cookie-link {
    color: #d1d4da;
}

[data-theme="boxutca"] .footer-contact:hover,
[data-theme="boxutca"] .footer-cookie-link:hover {
    color: #fff;
}

/* =====================================================================
   Cookie banner
   ===================================================================== */
[data-theme="boxutca"] .cookie-consent-card {
    border-radius: 0;
    background: var(--bx-surface);
    color: var(--bx-text);
    border: 1px solid var(--bx-line);
    border-top: 5px solid var(--bx-livery);
}

[data-theme="boxutca"] .cookie-provider-option {
    border-radius: 0;
    background: var(--bx-surface-2);
    color: var(--bx-text);
    border-color: var(--bx-line);
}

/* =====================================================================
   Dark scheme: night race
   ===================================================================== */
[data-theme="boxutca"][data-bs-theme="dark"] .text-dark,
[data-theme="boxutca"][data-bs-theme="dark"] .text-body {
    color: var(--bx-ink) !important;
}

[data-theme="boxutca"][data-bs-theme="dark"] .text-muted,
[data-theme="boxutca"][data-bs-theme="dark"] .text-secondary {
    color: var(--bx-muted) !important;
}

/* In the dark scheme the asphalt panels would melt into the page:
   lift them a little and give them a hairline edge. */
[data-theme="boxutca"][data-bs-theme="dark"] .section-header + .listing-list,
[data-theme="boxutca"][data-bs-theme="dark"] .art-toc {
    background: #191b21;
}

[data-theme="boxutca"][data-bs-theme="dark"] .search-cat-active,
[data-theme="boxutca"][data-bs-theme="dark"] .search-cat-active:nth-child(even) {
    background: var(--bx-surface-3) !important;
}

[data-theme="boxutca"][data-bs-theme="dark"] .category-card.category-card.category-card:hover {
    background: var(--bx-surface-3) !important;
}

[data-theme="boxutca"][data-bs-theme="dark"] .article-content pre {
    background: #07080a;
}

[data-theme="boxutca"][data-bs-theme="dark"] .listing-hero:not(:is(.listing-hero-light, .listing-hero-light-compact, .listing-hero-light-borderless, .listing-hero-light-borderless-compact)) {
    background: #15171c;
}

[data-theme="boxutca"][data-bs-theme="dark"] .cookie-consent-card,
[data-theme="boxutca"][data-bs-theme="dark"] .cookie-provider-option {
    background: var(--bx-surface);
    color: var(--bx-text);
    border-color: var(--bx-line);
}

/* =====================================================================
   Wide screens: more columns where the core grid allows it
   ===================================================================== */
@media (min-width: 1800px) {
    [data-theme="boxutca"] .latest-small-img {
        aspect-ratio: 16 / 9;
    }

    [data-theme="boxutca"] .for-you-img {
        aspect-ratio: 2 / 1;
    }

    [data-theme="boxutca"] .latest-small-title {
        font-size: 1.25rem;
    }

    [data-theme="boxutca"] .listing-title {
        font-size: 1.5rem;
    }

    [data-theme="boxutca"] .latest-meta,
    [data-theme="boxutca"] .latest-meta-author,
    [data-theme="boxutca"] .listing-date,
    [data-theme="boxutca"] .for-you-meta {
        font-size: 0.78rem;
    }

    [data-theme="boxutca"] .section-header + .listing-list .listing-thumb {
        width: 128px;
        height: 76px;
    }

    [data-theme="boxutca"] .section-header + .listing-list .listing-title {
        font-size: 1.3rem;
    }

    [data-theme="boxutca"] .section-header + .listing-list .listing-row::before {
        width: 3.8rem;
        font-size: 1.7rem;
    }

    /* Popular grid: three grid slots per row instead of two */
    [data-theme="boxutca"] .row.g-5 > .col-lg-6:first-child .section-header + .row .latest-small-col {
        flex: 0 0 auto;
        width: 33.3333%;
    }
}

@media (min-width: 2200px) {
    [data-theme="boxutca"] .listing-list:not(.section-header + .listing-list) {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 1rem;
    }

    [data-theme="boxutca"] .listing-list:not(.section-header + .listing-list) .listing-row {
        margin-bottom: 0.25rem;
    }
}

@media (min-width: 3200px) {
    [data-theme="boxutca"] .listing-list:not(.section-header + .listing-list) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* =====================================================================
   Mobile
   ===================================================================== */
@media (max-width: 991.98px) {
    [data-theme="boxutca"] .hero-section {
        padding: 0.5rem;
    }

    [data-theme="boxutca"] .hero-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        height: auto;
        gap: 0.5rem;
    }

    [data-theme="boxutca"] .hero-main {
        height: 440px;
    }

    [data-theme="boxutca"] .hero-side {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 300px;
        height: auto;
        gap: 0.5rem;
    }

    [data-theme="boxutca"] .art-hero-content {
        max-width: 100%;
        padding: 2rem 1.25rem calc(2rem + var(--bx-kerb-h));
    }

    [data-theme="boxutca"] .listing-hero::before {
        width: 60%;
    }
}

@media (max-width: 575.98px) {
    [data-theme="boxutca"] .listing-row {
        padding: 0.75rem;
        gap: 0.9rem;
    }

    [data-theme="boxutca"] .listing-title {
        font-size: 1.1rem;
    }

    [data-theme="boxutca"] .section-header + .listing-list .listing-row {
        padding-right: 0.75rem;
    }

    [data-theme="boxutca"] .section-header + .listing-list .listing-row::after {
        display: none;
    }

    [data-theme="boxutca"] .section-header + .listing-list .listing-thumb {
        display: none;
    }

    [data-theme="boxutca"] .hero-main {
        height: 380px;
    }

    [data-theme="boxutca"] .hero-side {
        grid-template-columns: 1fr;
        grid-template-rows: 230px 230px;
    }
}

/* =====================================================================
   Motion: no blinking light, no sliding cards when the reader opts out
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
    [data-theme="boxutca"] .hero-badge-live::before {
        animation: none;
    }

    [data-theme="boxutca"] .latest-main,
    [data-theme="boxutca"] .latest-small-card,
    [data-theme="boxutca"] .for-you-card,
    [data-theme="boxutca"] .listing-row,
    [data-theme="boxutca"] .category-card,
    [data-theme="boxutca"] .hero-read-link,
    [data-theme="boxutca"] .site-navbar .nav-link::after {
        transition: none;
    }

    [data-theme="boxutca"] .latest-main:hover,
    [data-theme="boxutca"] .latest-small-card:hover,
    [data-theme="boxutca"] .for-you-card:hover,
    [data-theme="boxutca"] .listing-row:hover,
    [data-theme="boxutca"] .category-card.category-card.category-card:hover {
        transform: none;
    }
}

html[data-theme="boxutca"][data-reader-motion="reduce"] .hero-badge-live::before {
    animation: none;
}

html[data-theme="boxutca"][data-reader-motion="reduce"] .latest-main,
html[data-theme="boxutca"][data-reader-motion="reduce"] .latest-small-card,
html[data-theme="boxutca"][data-reader-motion="reduce"] .for-you-card,
html[data-theme="boxutca"][data-reader-motion="reduce"] .listing-row,
html[data-theme="boxutca"][data-reader-motion="reduce"] .category-card,
html[data-theme="boxutca"][data-reader-motion="reduce"] .hero-read-link,
html[data-theme="boxutca"][data-reader-motion="reduce"] .site-navbar .nav-link::after {
    transition: none;
}

html[data-theme="boxutca"][data-reader-motion="reduce"] .latest-main:hover,
html[data-theme="boxutca"][data-reader-motion="reduce"] .latest-small-card:hover,
html[data-theme="boxutca"][data-reader-motion="reduce"] .for-you-card:hover,
html[data-theme="boxutca"][data-reader-motion="reduce"] .listing-row:hover,
html[data-theme="boxutca"][data-reader-motion="reduce"] .category-card.category-card.category-card:hover {
    transform: none;
}
