/*--------------------------------------------------------------
# Masthead
--------------------------------------------------------------*/
.masthead {
    --ms-bg: #f7f5f0;
    --ms-text: #2b2b2b;
    --ms-logo-height: 60px;

    background-color: var(--ms-bg);
    padding: 0.3125rem 0;
}

.masthead .masthead-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.masthead .masthead-logo {
    display: block;
    line-height: 0;
}

.masthead .masthead-logo img {
    width: auto;
    height: var(--ms-logo-height);
}

.masthead .masthead-date {
    color: var(--ms-text);
    font-size: var(--vr-fs-sm);
    font-weight: 600;
    white-space: nowrap;
}

[data-theme="news"] .topbar {
    --tb-bg: #f7f5f0;
    --tb-height: 30px;
    border-bottom: 0;
}

[data-theme="news"] .mega-menu-wrapper {
    --mn-padding-nav-link: 1rem 0.875rem;
    border-bottom: 3px solid #b08a32;
}

[data-theme="news"] .mega-menu-wrapper .navbar-nav {
    margin-left: 0 !important;
}

[data-theme="news"] .mega-menu-wrapper .navbar-nav > .nav-item:first-child > .nav-link {
    --mn-padding-nav-link: 1rem 0.875rem 1rem 0;
}

[data-theme="news"] .mega-menu-wrapper .navbar-nav > .nav-item.active > .nav-link {
    text-decoration: underline;
    text-decoration-color: #b08a32;
    text-decoration-thickness: 3px;
    text-underline-offset: 10px;
}

/* Hover and active colours: the theme uses the burgundy theme colour, which disappears on the burgundy bar.
   !important is needed to beat the theme's global a:hover { color: ... !important } */
[data-theme="news"] .mega-menu-wrapper {
    --nd-menu-hover: #f2d27a;
}

[data-theme="news"] .mega-menu-wrapper .navbar-nav .nav-link:hover,
[data-theme="news"] .mega-menu-wrapper .navbar-nav .nav-item.dropdown:hover > .nav-link,
[data-theme="news"] .mega-menu-wrapper .search-icon-btn:hover,
[data-theme="news"] .mega-menu-wrapper .search-icon-btn.active {
    color: var(--nd-menu-hover) !important;
}

[data-theme="news"] .mega-menu-wrapper .navbar-nav > .nav-item:hover > .nav-link {
    text-decoration: underline;
    text-decoration-color: #b08a32;
    text-decoration-thickness: 3px;
    text-underline-offset: 10px;
}

[data-theme="news"] .mega-menu-wrapper .subcat-link.active,
[data-theme="news"] .mega-menu-wrapper .subcat-link:hover {
    background-color: rgba(0, 0, 0, 0.18) !important;
    color: var(--nd-menu-hover) !important;
}

[data-bs-theme="dark"] .masthead {
    --ms-bg: var(--vr-body-bg);
    --ms-text: var(--vr-gray-300);
}

[data-bs-theme="dark"][data-theme="news"] .topbar {
    --tb-bg: var(--vr-body-bg);
}

/*--------------------------------------------------------------
# Featured Section
--------------------------------------------------------------*/
@media (min-width: 992px) {
    .featured-section-news {
        --fs-height-desktop: clamp(320px, calc(100vh - 270px), 520px);
    }

    .featured-section-news .top-headlines {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        align-content: flex-start;
        column-gap: 2rem;
    }

    .featured-section-news .top-headlines > * {
        width: 100%;
    }
}

/*--------------------------------------------------------------
# Cookie Banner
--------------------------------------------------------------*/
#cc-wrapper #cc-banner {
    padding: 0.75rem 0;
}

#cc-wrapper .banner-inner {
    gap: 0.75rem;
}

#cc-wrapper h5 {
    font-size: var(--vr-fs-md);
    margin-bottom: 0.25rem;
}

#cc-wrapper p {
    font-size: var(--vr-fs-sm);
    line-height: 1.5;
}

#cc-wrapper .btn-cc {
    font-size: var(--vr-fs-sm);
    padding: 0.4rem 1rem;
}

@media (min-width: 768px) {
    #cc-wrapper .cc-btn-group {
        gap: 0.5rem;
    }
}

/*--------------------------------------------------------------
# Featured Cards
--------------------------------------------------------------*/
.featured-section-news {
    --fs-gold: #c9a24a;
    --fs-overlay-gradient: radial-gradient(120% 70% at 100% 100%, rgba(139, 15, 26, 0.55) 0%, transparent 60%),
    linear-gradient(0deg, rgba(18, 6, 8, 0.94) 0%, rgba(58, 10, 16, 0.78) 28%, rgba(90, 14, 22, 0.38) 52%, transparent 74%);
}

/* Category label on hero cards: dark chip with a gold section stripe (owner chose option C, 22 Oct 2026) */
.featured-section-news .fs-badge .badge-category {
    display: inline-flex;
    align-items: center;
    gap: 0.4375rem;
    background-color: rgba(0, 0, 0, 0.55) !important;
    border-left: 3px solid var(--fs-gold);
    border-radius: 0;
    padding: 0.35rem 0.7rem;
    color: #ffffff;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: none;
}

.featured-section-news .fs-title {
    color: var(--fs-gold);
}

.featured-section-news .fs-title::first-line {
    color: #ffffff;
}

.featured-section-news .fs-meta {
    position: relative;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
}

.featured-section-news .fs-meta::before,
.featured-section-news .fs-meta::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
}

.featured-section-news .fs-meta::before {
    width: min(60%, 280px);
    height: 1px;
    background: linear-gradient(90deg, var(--fs-gold) 0%, var(--fs-gold) 70%, transparent 100%);
}

.featured-section-news .fs-meta::after {
    top: -3px;
    left: calc(min(60%, 280px) * 0.7);
    width: 7px;
    height: 7px;
    background-color: var(--fs-gold);
    transform: rotate(45deg);
}

.featured-section-news .fs-meta .vr-icon {
    color: var(--fs-gold) !important;
}

.featured-section-news .swiper-pagination-bullet-active {
    background: var(--fs-gold);
}

/*--------------------------------------------------------------
# Live Blog
--------------------------------------------------------------*/
.badge-live,
.live-badge {
    --nd-live-red: #c8102e;

    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background-color: var(--nd-live-red);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.live-badge {
    padding: 0.3125rem 0.625rem;
    border-radius: 0.125rem;
    font-size: var(--vr-fs-xs, 0.75rem);
}

.live-badge.live-badge-ended {
    background-color: #4a5568;
}

.live-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #fff;
    animation: nd-live-pulse 1.4s ease-in-out infinite;
}

@keyframes nd-live-pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.25;
    }
}

.live-blog {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 3px solid #c8102e;
}

.live-blog .live-blog-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.live-blog .live-blog-updated {
    color: var(--vr-gray-600, #6c757d);
    font-size: var(--vr-fs-sm, 0.875rem);
}

.live-blog .live-blog-notice {
    display: none;
    margin-bottom: 1rem;
    padding: 0.5rem 0.875rem;
    background-color: #fdf0f2;
    color: #8b0f1a;
    font-size: var(--vr-fs-sm, 0.875rem);
    font-weight: 600;
}

.live-blog .live-blog-notice.is-visible {
    display: block;
}

.live-blog .live-update {
    position: relative;
    margin-bottom: 1.75rem;
    padding: 0 0 0 1.25rem;
    border-left: 2px solid var(--vr-gray-200, #e5e5e5);
}

.live-blog .live-update::before {
    content: "";
    position: absolute;
    top: 0.375rem;
    left: -0.375rem;
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    background-color: #c8102e;
}

.live-blog .live-update.live-update-pinned {
    padding: 1rem 1rem 1rem 1.25rem;
    background-color: #f7f5f0;
    border-left-color: #b08a32;
}

.live-blog .live-update.live-update-pinned::before {
    top: 1.375rem;
    background-color: #b08a32;
}

.live-blog .live-update.live-update-new {
    animation: nd-live-new 3s ease-out;
}

@keyframes nd-live-new {
    from {
        background-color: #fdf0f2;
    }

    to {
        background-color: transparent;
    }
}

.live-blog .live-update-meta {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.375rem;
}

.live-blog .live-update-meta time {
    color: #c8102e;
    font-size: var(--vr-fs-sm, 0.875rem);
    font-weight: 700;
}

.live-blog .live-update-pin {
    padding: 0.125rem 0.5rem;
    background-color: #b08a32;
    color: #fff;
    font-size: var(--vr-fs-xs, 0.75rem);
    font-weight: 700;
    text-transform: uppercase;
}

.live-blog .live-update-title {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
}

.live-blog .live-update-body {
    line-height: 1.7;
}

.live-blog .live-update-body p:last-child {
    margin-bottom: 0;
}

.live-blog .live-update-body img,
.live-blog .live-update-body iframe {
    max-width: 100%;
    height: auto;
}

.live-blog .live-blog-ended {
    margin: 0;
    padding: 0.75rem 1rem;
    background-color: #f7f5f0;
    color: var(--vr-gray-700, #495057);
    font-style: italic;
}

[data-bs-theme="dark"] .live-blog .live-update.live-update-pinned,
[data-bs-theme="dark"] .live-blog .live-blog-ended {
    background-color: var(--vr-body-secondary-bg);
}

[data-bs-theme="dark"] .live-blog .live-blog-notice {
    background-color: rgba(200, 16, 46, 0.15);
    color: #f5c2c9;
}

@media (prefers-reduced-motion: reduce) {
    .live-dot,
    .live-blog .live-update.live-update-new {
        animation: none;
    }
}

/*--------------------------------------------------------------
# Content Labels and Menu Bar Links
--------------------------------------------------------------*/
.post-meta .meta-item span.post-label,
.post-label {
    --nd-label-bg: #2b2b2b;

    display: inline-flex;
    align-items: center;
    gap: 0.3125rem;
    height: 1.125rem;
    padding: 0 0.4375rem;
    border-radius: 0.125rem;
    background-color: var(--nd-label-bg);
    color: #fff !important;
    font-size: 0.625rem !important;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.post-meta .meta-item span.post-label::before {
    content: "";
    width: 0.3125rem;
    height: 0.3125rem;
    border-radius: 50%;
    background-color: currentColor;
}

.post-meta .meta-item span.post-label-live,
.post-meta .meta-item span.post-label-breaking {
    --nd-label-bg: #c8102e;
}

.post-meta .meta-item span.post-label-live::before {
    animation: nd-live-pulse 1.4s ease-in-out infinite;
}

.post-meta .meta-item span.post-label-explainer {
    --nd-label-bg: #2c7a7b;
}

.post-meta .meta-item span.post-label-opinion {
    --nd-label-bg: #4a5568;
}

.post-meta .meta-item span.post-label-diary {
    --nd-label-bg: #8b0f1a;
}

.post-meta .meta-item span.post-label-fact-check {
    --nd-label-bg: #9c4221;
}

.post-meta .meta-item span.post-label-explainer::before,
.post-meta .meta-item span.post-label-opinion::before,
.post-meta .meta-item span.post-label-diary::before,
.post-meta .meta-item span.post-label-fact-check::before {
    content: none;
}

/* Paid content: outlined, so it reads as a disclosure rather than a news flag */
.post-meta .meta-item span.post-label-sponsored,
.post-meta .meta-item span.post-label-press-release {
    border: 1px solid #718096;
    background-color: transparent;
    color: #4a5568 !important;
}

.post-meta .meta-item span.post-label-sponsored::before,
.post-meta .meta-item span.post-label-press-release::before {
    content: none;
}

[data-bs-theme="dark"] .post-meta .meta-item span.post-label-sponsored,
[data-bs-theme="dark"] .post-meta .meta-item span.post-label-press-release,
.section-videos .post-meta .meta-item span.post-label-sponsored,
.section-videos .post-meta .meta-item span.post-label-press-release {
    border-color: #a0aec0;
    color: #cbd5e0 !important;
}

.badge.post-label-live,
.badge.post-label-breaking {
    background-color: #c8102e;
}

.badge.post-label-explainer {
    background-color: #2c7a7b;
}

.badge.post-label-opinion {
    background-color: #4a5568;
}

.badge.post-label-diary {
    background-color: #8b0f1a;
}

.badge.post-label-fact-check {
    background-color: #9c4221;
}

.badge.post-label-sponsored,
.badge.post-label-press-release {
    background-color: #718096;
}

.badge.post-label-badge {
    margin-left: 0.25rem;
    color: #fff;
}

.nav-live-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.3125rem 0.625rem;
    border-radius: 0.125rem;
    background-color: #c8102e;
    color: #fff !important;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-live-btn:hover {
    background-color: #a50d26;
}

.nav-live-btn.nav-live-btn-mobile {
    margin-left: auto;
    margin-right: 0.5rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

[data-theme="news"] .mega-menu-wrapper .nav-latest-link {
    color: #fff;
    font-size: var(--mn-font-size-nav, 1rem);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

[data-theme="news"] .mega-menu-wrapper .nav-latest-link:hover,
[data-theme="news"] .mega-menu-wrapper .nav-latest-link.active {
    color: var(--nd-menu-hover) !important;
}

/*--------------------------------------------------------------
# Live Scores
--------------------------------------------------------------*/
.mega-menu-wrapper .subcat-extra-link {
    display: block;
    padding: 0.688rem 1.25rem;
    color: var(--mn-text-sub);
    font-size: var(--vr-fs-sm);
    font-weight: 600;
    text-decoration: none;
}

[data-theme="news"] .mega-menu-wrapper .subcat-extra-link {
    color: #fff;
}

[data-theme="news"] .mega-menu-wrapper .subcat-extra-link:hover {
    background-color: rgba(0, 0, 0, 0.18);
    color: var(--nd-menu-hover) !important;
}

.live-scores-intro {
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
    line-height: 1.6;
}

.live-scores-widget {
    min-height: 320px;
    margin-bottom: 1rem;
    overflow-x: auto;
}

.live-scores-widget iframe {
    max-width: 100%;
}

.live-scores-credit {
    color: var(--vr-gray-600, #6c757d);
    font-size: var(--vr-fs-sm, 0.875rem);
}

/*--------------------------------------------------------------
# Live Scores Board
--------------------------------------------------------------*/
.score-tabs,
.score-days {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.score-tab,
.score-day {
    padding: 0.375rem 1rem;
    border: 1px solid var(--vr-gray-200, #e5e5e5);
    border-radius: 0.125rem;
    color: inherit;
    font-weight: 600;
    text-decoration: none;
}

.score-tab.active {
    border-color: #8b0f1a;
    background-color: #8b0f1a;
    color: #fff;
}

.score-day.active {
    border-color: #b08a32;
    color: #8b0f1a;
}

.score-board {
    margin-bottom: 1.5rem;
}

.score-group {
    margin-bottom: 1.25rem;
    border: 1px solid var(--vr-gray-200, #e5e5e5);
}

.score-group-head {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    background-color: #f7f5f0;
    font-size: var(--vr-fs-sm, 0.875rem);
    font-weight: 700;
}

.score-group-head .score-country {
    color: var(--vr-gray-600, #6c757d);
    font-weight: 600;
}

.score-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.625rem 0.875rem;
    border-top: 1px solid var(--vr-gray-150, #eee);
    color: inherit;
    text-decoration: none;
}

.score-row:hover {
    background-color: #fbfaf7;
}

.score-row .score-time {
    flex: 0 0 4.5rem;
    color: var(--vr-gray-600, #6c757d);
    font-size: var(--vr-fs-sm, 0.875rem);
    font-weight: 600;
}

.score-row.score-live .score-time {
    color: #c8102e;
}

.score-live-dot {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    margin-right: 0.3125rem;
    border-radius: 50%;
    background-color: #c8102e;
    animation: nd-live-pulse 1.4s ease-in-out infinite;
}

.score-row .score-teams {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.score-row .score-team {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.score-row .score-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.score-row .score-value {
    flex-shrink: 0;
    font-weight: 700;
}

.score-row .score-note {
    color: var(--vr-gray-600, #6c757d);
    font-size: 0.8125rem;
}

.score-empty {
    padding: 1rem;
    background-color: #f7f5f0;
}

.score-match-head {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    border: 1px solid var(--vr-gray-200, #e5e5e5);
    text-align: center;
}

.score-match-competition,
.score-match-meta {
    color: var(--vr-gray-600, #6c757d);
    font-size: var(--vr-fs-sm, 0.875rem);
}

.score-match-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.25rem;
    margin-top: 0.5rem;
}

.score-match-teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 0.75rem 0;
}

.score-match-team {
    flex: 1 1 0;
    font-size: 1.125rem;
    font-weight: 700;
}

.score-match-score {
    flex: 0 0 auto;
    font-size: 1.75rem;
    font-weight: 800;
}

.score-match-innings {
    display: block;
    font-size: 1rem;
}

.score-match-vs {
    display: block;
    color: var(--vr-gray-600, #6c757d);
    font-size: 0.875rem;
    font-weight: 600;
}

.score-match-status {
    color: #8b0f1a;
    font-weight: 700;
}

.score-section-title {
    margin: 1.75rem 0 0.875rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.score-events {
    margin: 0;
    padding: 0;
    list-style: none;
}

.score-event {
    display: flex;
    gap: 0.875rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--vr-gray-150, #eee);
}

.score-event-time {
    flex: 0 0 3rem;
    color: #c8102e;
    font-weight: 700;
}

.score-event-assist,
.score-event-team {
    color: var(--vr-gray-600, #6c757d);
    font-size: 0.8125rem;
}

.score-event-team {
    display: block;
}

.score-table td,
.score-table th {
    font-size: var(--vr-fs-sm, 0.875rem);
}

.score-stats td:nth-child(2) {
    color: var(--vr-gray-600, #6c757d);
    text-align: center;
}

.score-stats td:last-child,
.score-stats th:last-child {
    text-align: right;
}

.score-lineup h3 {
    font-size: 1rem;
    font-weight: 700;
}

.score-lineup h4 {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    font-weight: 700;
}

.score-lineup ol,
.score-lineup ul {
    padding-left: 0;
    list-style: none;
}

.score-shirt {
    display: inline-block;
    min-width: 1.75rem;
    color: var(--vr-gray-600, #6c757d);
    font-weight: 700;
}

.score-dismissal {
    color: var(--vr-gray-600, #6c757d);
}

.score-innings h3 {
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: 700;
}

[data-bs-theme="dark"] .score-group-head,
[data-bs-theme="dark"] .score-empty {
    background-color: var(--vr-body-secondary-bg);
}

[data-bs-theme="dark"] .score-row:hover {
    background-color: rgba(255, 255, 255, 0.04);
}

@media (prefers-reduced-motion: reduce) {
    .score-live-dot,
    .post-meta .meta-item span.post-label-live::before {
        animation: none;
    }
}

/*--------------------------------------------------------------
# Country Flags on Category Badges
--------------------------------------------------------------*/
.badge-category.has-flag {
    display: inline-flex;
    align-items: center;
    gap: 0.4375rem;
}

.badge-category .cat-flag {
    flex-shrink: 0;
    width: 1.125rem;
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
    object-fit: cover;
}

.featured-section-news .fs-badge .badge-category.has-flag::before {
    content: none;
}

/* Cards show the flag alone, with no badge background; the name stays for screen readers and as the link's tooltip */
.badge-category.flag-only,
.featured-section-news .fs-badge .badge-category.flag-only {
    gap: 0;
    padding: 0;
    border-left: 0;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none;
    line-height: 1;
}

.badge-category.flag-only .cat-flag {
    width: 1.75rem;
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.featured-section-news .fs-badge .badge-category.flag-only .cat-flag {
    width: 2rem;
}

.badge-category.flag-only .visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/*--------------------------------------------------------------
# Menu Bar Submenus
--------------------------------------------------------------*/
/* Second-level submenus (More > Explainers > ...) open to the left, so they stay on screen */
.mega-menu-wrapper .navbar-nav .dropdown-submenu .submenu {
    inset-inline-start: auto;
    inset-inline-end: 100%;
}

/* In the dropdown list every label lines up on the right; the submenu arrow sits on the left edge */
.mega-menu-wrapper .navbar-nav > .nav-item > .standard-dropdown > li > .dropdown-item {
    justify-content: flex-end;
    text-align: right;
}

.mega-menu-wrapper .navbar-nav > .nav-item > .standard-dropdown > li.dropdown-submenu > .dropdown-item {
    justify-content: space-between;
}

.mega-menu-wrapper .navbar-nav .dropdown-submenu > .dropdown-item {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.mega-menu-wrapper .navbar-nav .dropdown-submenu > .dropdown-item .submenu-arrow {
    transform: scaleX(-1);
}

/*--------------------------------------------------------------
# Poll Widget
--------------------------------------------------------------*/
#sidebar-poll-widget {
    --poll-accent: #8b0f1a;
    --poll-option-bg: #fff;
    --poll-option-border: var(--vr-gray-200, #e5e5e5);
    --poll-option-text: #2b2b2b;
    --poll-option-hover-bg: #fbf7f4;
}

#sidebar-poll-widget .poll-question {
    line-height: 1.45;
}

#sidebar-poll-widget .poll-option {
    gap: 0.75rem;
    padding: 0.6875rem 1rem;
    border-radius: 0.375rem;
    line-height: 1.35;
}

/* Radio circle before each choice */
#sidebar-poll-widget .poll-option::before {
    content: "";
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--vr-gray-300, #cfcfcf);
    border-radius: 50%;
    transition: all 0.2s ease-in-out;
}

#sidebar-poll-widget .poll-option:hover::before {
    border-color: var(--poll-accent);
    box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 8px var(--poll-accent);
}

#sidebar-poll-widget .poll-option.voting::before {
    visibility: hidden;
}

#sidebar-poll-widget .result-row {
    margin-bottom: 1rem;
}

#sidebar-poll-widget .result-meta {
    font-weight: 600;
}

#sidebar-poll-widget .result-meta span:last-child {
    color: var(--poll-accent);
    font-weight: 700;
}

#sidebar-poll-widget .progress {
    height: 0.5rem;
    background-color: #efe9e4;
}

#sidebar-poll-widget .progress-bar {
    background: linear-gradient(90deg, #8b0f1a, #c8102e);
}

[data-bs-theme="dark"] #sidebar-poll-widget {
    --poll-option-bg: var(--vr-body-secondary-bg);
    --poll-option-text: var(--vr-gray-200);
    --poll-option-hover-bg: rgba(255, 255, 255, 0.04);
    --poll-accent: #e0525f;
}

[data-bs-theme="dark"] #sidebar-poll-widget .poll-option:hover::before {
    box-shadow: inset 0 0 0 3px var(--vr-body-secondary-bg), inset 0 0 0 8px var(--poll-accent);
}

[data-bs-theme="dark"] #sidebar-poll-widget .progress {
    background-color: rgba(255, 255, 255, 0.08);
}

/*---- # Post page: Modern cards design (gold tables and key-points box, maroon elsewhere) ----*/
:root {
    --vr-fs-post-title: 2rem;
    --vr-lh-post-title: 1.25;
    --vr-fs-post-summary: 1.1rem;
    --vr-lh-post-summary: 1.55;
    --vr-fs-content: 1.0625rem;
    --vr-lh-content: 1.75;
}

.entry-content,
.faq-section {
    --nd-gold: #c9a24a;
    --nd-gold-text: #8a6a1f;
    --nd-gold-tint: #fbf5e6;
    --nd-gold-line: #ecdcb4;
    --nd-accent: var(--vr-theme-color);
    --nd-accent-tint: #fbf1f1;
    --nd-accent-line: #f1d6d7;
    --nd-quote-bg: #ffcdd224;
    --nd-quote-line: #8b0e1b42;
    --nd-ink: var(--vr-gray-900);
    --nd-line: var(--vr-gray-200);
}

[data-bs-theme="dark"] .entry-content,
[data-bs-theme="dark"] .faq-section {
    --nd-gold-text: #e2c27a;
    --nd-gold-tint: rgba(201, 162, 74, 0.1);
    --nd-gold-line: rgba(201, 162, 74, 0.3);
    --nd-accent: #e0525f;
    --nd-accent-tint: rgba(158, 27, 34, 0.15);
    --nd-accent-line: rgba(224, 82, 95, 0.35);
    --nd-quote-bg: rgba(224, 82, 95, 0.1);
    --nd-quote-line: rgba(224, 82, 95, 0.32);
    --nd-ink: var(--vr-gray-100);
    --nd-line: var(--vr-gray-800);
}

.post-content .post-title {
    font-weight: 700;
}

.post-content .post-summary {
    color: var(--vr-gray-600);
}

.entry-content p {
    margin-bottom: 1.1rem;
}

.entry-content h2 {
    border-left: 4px solid var(--nd-accent);
    color: var(--nd-ink);
    font-family: var(--vr-font-secondary);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 2.2rem 0 0.9rem;
    padding-left: 14px;
}

.entry-content h3 {
    color: var(--nd-ink);
    font-family: var(--vr-font-secondary);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 1.6rem 0 0.6rem;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.1rem;
    padding-left: 1.25rem;
}

.entry-content li {
    margin-bottom: 0.4rem;
}

.entry-content li::marker {
    color: var(--nd-accent);
}

.entry-content blockquote li::marker {
    color: var(--nd-accent);
}

.entry-content blockquote {
    background: var(--nd-quote-bg);
    border: 1px solid var(--nd-quote-line);
    border-radius: 12px;
    color: var(--nd-ink);
    margin: 1.6rem 0;
    padding: 1.25rem 1.4rem;
}

.entry-content blockquote p:first-child:has(> strong:only-child) {
    background: var(--nd-accent);
    border-radius: 999px;
    color: #fff;
    display: inline-block;
    margin-bottom: 0.7rem;
    padding: 3px 12px;
}

.entry-content blockquote p:first-child:has(> strong:only-child) strong {
    font-family: var(--vr-font-primary);
    font-size: 0.8rem;
    letter-spacing: 0.04em;
}

.entry-content blockquote ul {
    margin-bottom: 0;
}

.entry-content table {
    border: 1px solid var(--nd-line);
    border-collapse: separate;
    border-radius: 12px;
    border-spacing: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    font-size: 0.97rem;
    margin: 1.4rem 0;
    overflow: hidden;
    width: 100%;
}

.entry-content th {
    background: var(--nd-gold-tint);
    border-bottom: 1px solid var(--nd-gold-line);
    color: var(--nd-gold-text);
    font-family: var(--vr-font-secondary);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 13px 14px;
    text-align: left;
}

.entry-content td {
    border-bottom: 1px solid var(--nd-line);
    padding: 13px 14px;
    vertical-align: top;
}

.entry-content tbody tr:last-child td {
    border-bottom: 0;
}

.entry-content td:first-child {
    color: var(--nd-ink);
    font-weight: 600;
}

@media (max-width: 768px) {
    :root {
        --vr-fs-post-title: 1.65rem;
        --vr-lh-post-title: 1.3;
    }

    .entry-content h2 {
        font-size: 1.3rem;
    }

    .entry-content table {
        display: block;
        overflow-x: auto;
        white-space: normal;
    }

    .entry-content td,
    .entry-content th {
        overflow-wrap: normal;
    }

    .entry-content td:first-child {
        white-space: nowrap;
    }
}

/*---- # Post page: FAQ section ----*/
.faq-section {
    --acc--theme-color: var(--nd-accent);
    margin-top: 2.2rem;
}

.faq-section .faq-head {
    margin-bottom: 1rem;
}

.faq-section .faq-title {
    border-left: 4px solid var(--nd-accent);
    color: var(--nd-ink);
    font-family: var(--vr-font-secondary);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    padding-left: 14px;
}

.faq-accordion .accordion-item {
    border-color: var(--nd-line);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 0.75rem;
}

.faq-accordion .accordion-item.active-item,
.faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
    border-color: var(--nd-accent-line);
    box-shadow: none;
}

.faq-accordion .accordion-header {
    margin: 0;
}

.faq-accordion .accordion-button {
    font-family: var(--vr-font-secondary);
    font-size: 1rem;
    gap: 1rem;
    line-height: 1.45;
    padding: 1rem 1.25rem;
    text-align: left;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background-color: var(--nd-accent-tint);
    color: var(--nd-ink);
}

.faq-accordion .accordion-button:not(.collapsed) .accordion-icon-wrapper {
    background-color: var(--nd-accent);
    color: #fff;
}

.faq-accordion .accordion-body {
    background-color: var(--nd-accent-tint);
    padding: 0 1.25rem 1.15rem;
}

@media (max-width: 768px) {
    .faq-section .faq-title {
        font-size: 1.3rem;
    }
}

/*---- # Article credit (By … / Edited by …) ----*/
.entry-content .nd-credit {
    border-top: 1px solid var(--nd-line);
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;
    margin-top: 2rem;
    padding-top: 1.1rem;
}

.entry-content .nd-credit-item {
    border-left: 3px solid var(--nd-accent);
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-left: 12px;
}

.entry-content .nd-credit-editor {
    border-left-color: var(--nd-gold);
}

.entry-content .nd-credit-label {
    color: var(--vr-gray-600);
    font-family: var(--vr-font-primary);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.3;
    text-transform: uppercase;
}

.entry-content .nd-credit-name {
    color: var(--nd-ink);
    font-family: var(--vr-font-primary);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
}

[data-bs-theme="dark"] .entry-content .nd-credit-label {
    color: var(--vr-gray-400);
}

/*---- # Category page: subcategory pills (outlined gold, maroon active, arrows) ----*/
.subcategories-wrapper.nd-subcat {
    align-items: center;
    display: flex;
    gap: 8px;
}

.nd-subcat .subcategory-swiper {
    flex: 1 1 auto;
    min-width: 0;
}

.nd-subcat .subcategory-pill {
    background-color: transparent;
    border: 1px solid #B08A32;
    border-radius: 50px;
    color: #6B5420;
    font-size: .875rem;
    font-weight: 500;
    padding: .4rem 1rem;
}

.nd-subcat .subcategory-pill:hover {
    background-color: #FBF6EC;
    border-color: #9E1B22;
    box-shadow: none;
    color: #9E1B22;
}

.nd-subcat .subcategory-pill.active,
.nd-subcat .subcategory-pill.active:hover {
    background-color: #9E1B22;
    border-color: #9E1B22;
    color: #fff;
}

.nd-subcat-arrow {
    align-items: center;
    background-color: #9E1B22;
    border: 1px solid #9E1B22;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 32px;
    height: 32px;
    justify-content: center;
    padding: 0;
    transition: background-color .2s ease;
    width: 32px;
}

.nd-subcat-arrow:hover {
    background-color: #7A141A;
}

.nd-subcat-arrow:disabled {
    background-color: transparent;
    border-color: var(--vr-border-color, #ddd);
    color: var(--vr-gray-400, #999);
    cursor: default;
}

.nd-subcat.nd-subcat-fits .nd-subcat-arrow {
    display: none;
}

[data-bs-theme="dark"] .nd-subcat .subcategory-pill {
    color: #D9BC7A;
}

[data-bs-theme="dark"] .nd-subcat .subcategory-pill:hover {
    background-color: rgba(176, 138, 50, .15);
    color: #fff;
}

@media (max-width: 767.98px) {
    .nd-subcat-arrow {
        display: none;
    }
}
