/* Public palette from the Secirebon wordmark and broadcast mark. */
:root {
    --brand-blue: #0756bf;
    --brand-navy: #0d326f;
    --brand-cyan: #00c8ef;
    --brand-orange: #ff9800;
    --brand-wash: #f3f8ff;
    --teal: var(--brand-blue);
    --deep: var(--brand-navy);
    --ink: #172944;
    --muted: #546780;
    --line: #d8e5f4;
    --pale: var(--brand-wash);
}

.main-nav {
    background: linear-gradient(100deg, var(--brand-navy), var(--brand-blue));
}

.nav-inner > a {
    color: #e7f2ff;
}

.footer-dot {
    color: var(--brand-orange);
}

.nav-home::after {
    background: var(--brand-cyan);
}

.section-title h2::before {
    background: var(--brand-orange);
}

.popular-list article {
    gap: 10px;
    padding: 9px 0;
}

.popular-list .rank {
    min-width: 28px;
    font-size: 25px;
}

.popular-list h3 {
    line-height: 1.4;
}

.popular-list small {
    margin-top: 3px;
}

:focus-visible,
input:focus,
textarea:focus,
select:focus,
.editor-carousel:focus-visible,
.editor-carousel-dots button:focus-visible,
.share-buttons.article-share > .article-share-icon:focus-visible {
    outline-color: var(--brand-blue);
}

.nav-inner > a:focus-visible,
.hero :focus-visible,
.recommended :focus-visible {
    outline-color: var(--brand-cyan);
}

.nav-inner > a:focus-visible {
    outline-offset: -3px;
}

.button-primary,
.back-top,
.editor-carousel-dots button[aria-pressed="true"] {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
}

.button-primary:hover,
.back-top:hover {
    background: var(--brand-navy);
    border-color: var(--brand-navy);
    color: #fff;
}

.utility,
.local-card,
.home-editor-section,
.home-video-section,
.listing-search {
    background: var(--brand-wash);
    border-color: var(--line);
}

.utility,
.local-card p,
.local-card > a,
.footer-brand > p,
.footer-main > div > a,
.footer-categories > a,
.footer-bottom {
    color: var(--muted);
}

.footer-main h3,
.editor-carousel-controls > button,
.article-body h2,
.article-body h3,
.article-body p.read-also strong {
    color: var(--brand-navy);
}

.sc-action,
.article-body a,
.video-play-badge {
    color: var(--brand-blue);
}

.sc-action,
.editor-carousel-controls > button,
.video-carousel-controls button,
.footer-social > a,
.footer-bottom {
    border-color: var(--line);
}

.sc-action:hover,
.editor-carousel-controls > button:hover,
.editor-carousel-controls > button:focus-visible,
.article-body p.read-also {
    background: var(--brand-wash);
}

.article-body a:hover {
    color: var(--brand-navy);
}

.breaking-strip {
    background: #fff4e4;
    border-color: #f3d4a9;
}

.breaking-strip-label {
    background: var(--brand-orange);
    color: #381900;
}

.breaking-live-dot,
.breaking-label > span {
    background: #9b4300;
}

.breaking-strip-track a {
    color: var(--brand-navy);
}

.breaking-strip-track a:hover,
.breaking-strip-track a span {
    color: #9b4300;
}

.site-footer {
    background: #080808;
    border-top-color: #242424;
    color: #f5f5f5;
}

.site-footer-top {
    display: flex;
    width: max-content;
    margin: 0 auto;
    padding: 14px 8px;
    align-items: center;
    gap: 6px;
    color: #ddd;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.site-footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.25fr);
    grid-template-areas: "brand rubrics links" "social rubrics links";
    gap: 20px 32px;
    padding: 28px 0;
    border-block: 1px solid #2a2a2a;
}

.site-footer-brand {
    grid-area: brand;
}

.site-footer-brand p {
    margin-top: 8px;
    color: #c6c6c6;
    font-size: 12px;
}

.site-footer-rubrics {
    grid-area: rubrics;
}

.site-footer-links {
    grid-area: links;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.site-footer h2 {
    margin: 0 0 12px;
    font-size: 13px;
}

.site-footer ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    color: #ccc;
    font-size: 12px;
}

.site-footer-rubrics ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-footer a:hover {
    color: #fff;
}

.site-footer a:focus-visible {
    outline-color: #fff;
}

.site-footer-social {
    grid-area: social;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 8px;
}

.site-footer-icon {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid #ffffff73;
    border-radius: 50%;
    background: var(--social-color, #181818);
    color: #fff;
}

.site-footer-icon:hover {
    border-color: #fff;
    filter: brightness(1.14);
}

.site-footer-icon.social-facebook { --social-color: #0866ff; }
.site-footer-icon.social-whatsapp { --social-color: #16814a; }
.site-footer-icon.social-telegram { --social-color: #087cae; }
.site-footer-icon.social-instagram { --social-color: linear-gradient(145deg, #5736b3, #ba2566 55%, #ad5005); }
.site-footer-icon.social-youtube { --social-color: #de0036; }
.site-footer-icon.social-rss { --social-color: #a64800; }

.site-footer-copy {
    padding: 20px 0 24px;
    color: #ccc;
    font-size: 12px;
    text-align: center;
}

@media (max-width: 700px) {
    .site-footer-top {
        flex-direction: column;
        gap: 3px;
    }

    .site-footer-inner {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "brand" "links" "social";
        gap: 20px;
        padding: 20px 0 22px;
        text-align: center;
    }

    .site-footer-brand .brand {
        display: inline-flex;
    }

    .site-footer-brand p,
    .site-footer-rubrics,
    .site-footer-links h2,
    .site-footer-social:has(.site-footer-icon--social) .site-footer-icon--extra,
    .back-top[data-back-top] {
        display: none;
    }

    .site-footer-links {
        grid-template-columns: minmax(0, 1fr);
        gap: 9px;
    }

    .site-footer-links ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 7px 13px;
    }

    .site-footer-social {
        justify-content: center;
    }
}
