﻿:root {
    --bbc-red: #b80000;
    --bbc-black: #111111;
    --bbc-dark: #1d1d1d;
    --bbc-grey: #f6f6f6;
    --bbc-border: #e0e0e0;
    --bbc-text: #222222;
    --bbc-muted: #5a5a5a;
    --bbc-sans: "BBC Reith Sans", "ReithSans", "Archivo", sans-serif;
    --bbc-serif: "BBC Reith Serif", "ReithSerif", "Newsreader", serif;
}@font-face {
    font-family: "BBC Reith Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://static.files.bbci.co.uk/fonts/reith/2.512/BBCReithSans_W_Rg.woff2) format("woff2");
}

@font-face {
    font-family: "BBC Reith Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://static.files.bbci.co.uk/fonts/reith/2.512/BBCReithSans_W_Bd.woff2) format("woff2");
}

@font-face {
    font-family: "BBC Reith Serif";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://static.files.bbci.co.uk/fonts/reith/2.512/BBCReithSerif_W_Rg.woff2) format("woff2");
}

@font-face {
    font-family: "BBC Reith Serif";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://static.files.bbci.co.uk/fonts/reith/2.512/BBCReithSerif_W_Bd.woff2) format("woff2");
}
html {
    scroll-behavior: smooth;
}

body {
    background: var(--bbc-grey);
    color: var(--bbc-text);
    font-family: var(--bbc-serif);
    font-size: 16px;
    line-height: 1.6;
}

.card,
.card-body,
.card-header {
    border-radius: 0 !important;
}

.card {
    border: 1px solid var(--bbc-border);
    box-shadow: none !important;
    background: #ffffff;
}

.card-header {
    background: #ffffff;
    border-bottom: 1px solid var(--bbc-border);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-size: 0.85rem;
}

.form-control,
.form-select {
    border-radius: 0 !important;
    border-color: var(--bbc-border) !important;
    box-shadow: none !important;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--bbc-red) !important;
    box-shadow: none !important;
}

h1, h2, h3, h4, h5, h6,
.navbar .nav-link,
.section-title,
.category-title,
.topbar,
.btn,
.breadcrumbs,
.wrap__article-detail-title h1,
.wrap__article-detail-title h3 {
    font-family: var(--bbc-sans);
    letter-spacing: 0.2px;
}

a {
    color: var(--bbc-text);
    text-decoration: none;
}

a:hover,
a:focus {
    color: var(--bbc-red);
    text-decoration: underline;
    text-decoration-color: var(--bbc-red);
    text-underline-offset: 2px;
}

/* Topbar */
.topbar {
    background: var(--bbc-black);
    color: #ffffff;
    border-bottom: 4px solid var(--bbc-red);
}

.topbar a {
    color: #ffffff !important;
}

.bbc-topbar {
    background: #111111;
    color: #ffffff;
    border-bottom: 2px solid var(--bbc-red);
}

.bbc-topbar-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}

.bbc-topbar-left {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    margin-left: 0;
}

.bbc-topbar-icon {
    color: #ffffff !important;
    font-size: 18px;
    text-decoration: none;
}

.bbc-menu .nav-link {
    padding: 12px 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-bottom: 1px solid #e5e7eb;
}

.bbc-menu .nav-link:hover {
    background: #f6f6f6;
    color: var(--bbc-red) !important;
}

.bbc-menu-list {
    margin: 0;
}

.bbc-topbar-center {
    text-align: center;
    justify-self: center;
}

.bbc-logo {
    display: inline-flex;
    gap: 6px;
}

.bbc-topbar .bbc-logo span {
    background: transparent;
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    padding: 0;
    letter-spacing: 6px;
}

.bbc-topbar .bbc-logo {
    gap: 0;
}

.bbc-logo .bbc-logo-news {
    background: #b80000;
    color: #ffffff;
}

.bbc-logo--footer span {
    background: #111111;
}

.bbc-topbar-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
}

.bbc-topbar-btn,
.bbc-topbar-link {
    background: transparent;
    color: #ffffff !important;
    padding: 0;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    border-radius: 0;
}

.bbc-topbar-right .topbar-link {
    display: flex;
    gap: 14px;
    align-items: center;
}

.bbc-topbar-right .topbar-link a {
    color: #ffffff !important;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.6px;
}

.bbc-topbar-right .topbar-link a:hover {
    color: #ffffff !important;
    text-decoration: underline;
    text-decoration-color: #ffffff;
    text-underline-offset: 3px;
}

.bbc-footer {
    padding: 28px 0 28px;
    margin-top: 40px;
    clear: both;
}

.bbc-footer-light {
    background: #111111;
    color: #ffffff;
    border-top: 1px solid #2b2b2b;
}

.bbc-footer-light a {
    color: #ffffff;
}

.bbc-footer-light a:hover {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: var(--bbc-red);
}

.bbc-footer-brand-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.bbc-footer-brand-row .bbc-logo span {
    background: #ffffff;
    color: #000000 !important;
    padding: 6px 9px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
}

.bbc-footer .bbc-logo span {
    color: #000000 !important;
}

.bbc-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.7px;
}

.bbc-footer-language {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.bbc-footer-language label {
    font-weight: 600;
    font-size: 12px;
}

.bbc-footer-select {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.bbc-footer-select select {
    appearance: none;
    border: 1px solid #2b2b2b;
    padding: 8px 30px 8px 12px;
    font-size: 12px;
    font-weight: 600;
    background: #1a1a1a;
    color: #ffffff;
}

.bbc-footer-caret {
    position: absolute;
    right: 10px;
    pointer-events: none;
    color: #ffffff;
    font-size: 12px;
}

.bbc-footer-divider {
    border-top: 1px solid #2b2b2b;
    margin: 18px 0 14px;
}

.bbc-footer-social {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.bbc-footer-social-links {
    list-style: none;
    display: flex;
    gap: 12px;
    padding: 0;
    margin: 0;
}

.bbc-footer-social-links a {
    font-size: 14px;
}

.bbc-footer-legal-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
    font-size: 12px;
}

.bbc-footer-copy {
    font-size: 12px;
    color: #cfcfcf;
    margin: 0;
}

.bbc-ad-slot {
    background: #ffffff;
    border: 1px solid var(--bbc-border);
    padding: 12px 0 16px;
    margin: 18px 0 24px;
    text-align: center;
    clear: both;
}

.bbc-ad-slot .bbc-ad-label {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #888;
    font-weight: 600;
}

.bbc-ad-slot .bbc-ad-media img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--bbc-border);
    background: #f7f7f7;
}

.bbc-footer-about {
    margin: 6px 0 10px;
    color: #cfcfcf;
    font-size: 12px;
    line-height: 1.5;
}

.bbc-footer-about h6 {
    margin: 0 0 4px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #ffffff;
}

@media (max-width: 991px) {
    .bbc-footer-nav {
        gap: 12px;
    }
}

@media (max-width: 575px) {
    .bbc-footer-language {
        align-items: flex-start;
    }
}

.bbc-topbar .topbar-language-toggle {
    color: #ffffff;
}

@media (max-width: 991px) {
    .bbc-topbar-row {
        grid-template-columns: 1fr auto 1fr;
    }
}

@media (max-width: 767px) {
    .bbc-topbar-row {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .bbc-topbar-left,
    .bbc-topbar-right {
        justify-content: center;
    }
}

.topbar .topbar-text span:first-child {
    background: var(--bbc-red);
    color: #ffffff;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.6px;
}

/* Navigation */
.navigation-wrap {
    border-bottom: 2px solid var(--bbc-red);
    background: #ffffff;
    box-shadow: none !important;
}

.navbar {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
}

.navbar .nav-link {
    color: var(--bbc-black) !important;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.8px;
    padding: 0.55rem 0.85rem;
    border-bottom: 2px solid transparent;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-item.active .nav-link {
    color: var(--bbc-red) !important;
    border-color: var(--bbc-red);
}

.navbar .nav-link.is-active {
    color: var(--bbc-black) !important;
    border-bottom: 3px solid var(--bbc-black);
}

.navbar .nav-link.is-active:hover,
.navbar .nav-link.is-active:focus {
    border-bottom-color: var(--bbc-red) !important;
    color: var(--bbc-red) !important;
}

.nav-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.nav-categories .nav-link {
    padding: 0.55rem 0;
    white-space: nowrap;
}

.topbar-right {
    gap: 16px;
}

.topbar-language-toggle {
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.8px;
    text-decoration: none;
}

.topbar-language-toggle:hover {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: var(--bbc-red);
}

.topbar-language .dropdown-menu {
    background: #ffffff;
    color: #111111;
}

.topbar-language .dropdown-item {
    color: #111111 !important;
    font-weight: 600;
}

.topbar-language .dropdown-item:hover,
.topbar-language .dropdown-item:focus {
    background: #f2f2f2;
    color: #111111 !important;
}

.topbar-language .dropdown-menu a,
.topbar-language .dropdown-menu span {
    color: #111111 !important;
}

.nav-utility {
    align-items: center;
    gap: 14px;
}

.nav-utility .nav-link {
    padding: 0.55rem 0;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.8px;
    border: 0;
    box-shadow: none;
}

.nav-divider {
    border-left: 1px solid var(--bbc-border);
    padding-left: 16px;
}

.nav-utility .nav-link:focus,
.nav-utility .nav-link:active {
    outline: none;
    box-shadow: none;
}

.nav-utility .nav-link:hover {
    border-bottom: 3px solid var(--bbc-black);
}

/* Override template hover box borders */
.navbar-soft .navbar-nav .nav-link {
    border: 0 !important;
    box-shadow: none !important;
}

.navbar-soft .navbar-nav > .nav-item:hover > .nav-link,
.navbar-soft .navbar-nav > .nav-item.show > .nav-link {
    border-bottom: 3px solid var(--bbc-black) !important;
}

.nav-categories .nav-link {
    border-bottom: 2px solid transparent !important;
}

.nav-categories .nav-link:hover {
    border-bottom: 3px solid var(--bbc-black) !important;
}

.logo-wrapper .brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-wrapper .brand-block {
    background: var(--bbc-black);
    color: #ffffff;
    font-weight: 800;
    padding: 6px 8px;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.logo-wrapper .brand-block--news {
    background: var(--bbc-red);
}

.logo-wrapper .logo {
    max-height: 36px;
    width: auto;
}

/* Search */
.top-search {
    border-top: 1px solid var(--bbc-border);
    border-bottom: 2px solid var(--bbc-black);
}

.top-search .form-control {
    border-color: var(--bbc-border);
    border-radius: 0;
}

.top-search .btn {
    border-radius: 0;
}

/* Cards and sections */
.news-card,
.wrapper__section,
.widget__form-search-bar,
.card__post,
.wrap__article-detail,
.wrap__profile,
.comments-area,
.related-article,
.sidebar-sticky aside {
    border: 1px solid var(--bbc-border);
    border-radius: 0;
    background: #ffffff;
    box-shadow: none !important;
}

.news-card:hover {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.kicker {
    color: var(--bbc-red);
    font-weight: 800;
    letter-spacing: 0.7px;
}

.section-title,
.category-title,
.border_section,
.wrapper__list__article-small h4 {
    font-weight: 800;
    color: var(--bbc-black);
}

.section-title .accent,
.category-title .accent {
    color: var(--bbc-red);
}

.breadcrumbs {
    border: 1px solid var(--bbc-border);
    border-radius: 0;
    background: #ffffff;
}

.breadcrumbs__url {
    color: var(--bbc-black);
}

/* Article detail */
.wrap__article-detail-title h1 {
    font-size: 34px;
    font-weight: 800;
}

.wrap__article-detail-title h3 {
    font-size: 18px;
    color: var(--bbc-muted);
}

.wrap__article-detail-info ul li a {
    color: var(--bbc-red);
    font-weight: 700;
}

.wrap__article-detail-content p,
.has-drop-cap-fluid {
    font-size: 17px;
    color: var(--bbc-text);
}

/* Buttons */
.btn-primary,
.btn-success,
.submit,
.btn.btn-social-o {
    background: var(--bbc-red);
    border-color: var(--bbc-red);
    color: #ffffff;
    border-radius: 0;
}

.btn-primary:hover,
.btn-success:hover,
.submit:hover,
.btn.btn-social-o:hover {
    background: #9b0000;
    border-color: #9b0000;
}

.btn-outline-secondary {
    border-radius: 0;
}

/* Sidebar */
.sidebar-sticky {
    position: sticky;
    top: 90px;
}

.card__post__title h6 a,
.article__entry h5 a {
    font-family: var(--bbc-sans);
    font-weight: 700;
}

/* Footer */
footer .wrapper__footer,
.wrapper__footer-bottom {
    background: var(--bbc-black) !important;
}

footer,
footer a,
footer p,
footer span {
    color: #e6e6e6 !important;
}

footer a:hover {
    color: #ffffff !important;
}

.wrapper__footer-bottom .link-column a {
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.8px;
}

/* Forms */
.form-control,
textarea,
input[type="text"],
input[type="email"],
input[type="password"] {
    border-radius: 0 !important;
    border-color: var(--bbc-border) !important;
}

/* Utility */
.bg-light {
    background: #ffffff !important;
}

.text-primary {
    color: var(--bbc-red) !important;
}

/* Ad Strip */
.bbc-ad-strip {
    display: none;
    background: #fff;
    border-top: 1px solid var(--bbc-border);
    border-bottom: 1px solid var(--bbc-border);
    padding: 10px 0 14px;
}

.bbc-ad-strip .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.bbc-ad-label {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #888;
    font-weight: 600;
}

.bbc-ad-media {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
}

.bbc-ad-media img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--bbc-border);
    background: #f7f7f7;
}

@media (max-width: 991px) {
    .navbar .nav-link {
        padding: 0.4rem 0.5rem;
    }

    .logo-wrapper .logo {
        max-height: 30px;
    }
}

@media (max-width: 575px) {
    .wrap__article-detail-title h1 {
        font-size: 26px;
    }
}

