:root {
    --brand-red: #c70f1a;
    --brand-green: #0f766e;
    --brand-blue: #164b8f;
    --ink: #101828;
    --muted: #667085;
    --line: #e4e7ec;
    --paper: #ffffff;
    --soft: #f5f7fb;
    --warning: #d97706;
    --radius: 8px;
    --shadow: 0 18px 45px rgba(16, 24, 40, .09);
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

img,
iframe {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.top-strip {
    background: #101828;
    color: #fff;
    font-size: .84rem;
}

.top-strip__inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.top-strip__links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.site-header {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
}

.masthead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand__mark {
    width: 54px;
    height: 54px;
    border-radius: var(--radius);
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-blue));
    font-weight: 900;
    letter-spacing: 0;
    flex: 0 0 auto;
}

.brand__logo {
    width: 62px;
    height: 62px;
    object-fit: contain;
}

.brand__logo--mark {
    width: 58px;
    height: 58px;
    border-radius: var(--radius);
    display: block;
    box-shadow: 0 12px 28px rgba(16, 24, 40, .14);
}

.brand__text {
    min-width: 0;
}

.brand__name {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.55rem, 2.4vw, 2.25rem);
    font-weight: 900;
    line-height: 1;
}

.brand__tagline {
    display: block;
    color: var(--muted);
    margin-top: 4px;
    font-size: .92rem;
}

.masthead__tools {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-box {
    display: flex;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
}

.search-box input {
    border: 0;
    width: min(260px, 32vw);
    padding: 11px 12px;
    outline: 0;
}

.search-box button,
.menu-toggle {
    border: 0;
    background: var(--brand-red);
    color: #fff;
    padding: 0 14px;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    min-width: 44px;
    min-height: 44px;
    border-radius: var(--radius);
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

.menu-icon {
    position: relative;
}

.menu-icon::before,
.menu-icon::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-icon::before {
    top: -6px;
}

.menu-icon::after {
    top: 6px;
}

.nav-bar {
    border-top: 1px solid var(--line);
}

.nav-bar__inner {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
}

.nav-link {
    padding: 14px 12px;
    font-weight: 800;
    color: #344054;
    white-space: nowrap;
    font-size: .92rem;
}

.nav-link:hover,
.nav-link.is-live {
    color: var(--brand-red);
}

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: stretch;
}

.nav-link--parent::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

.nav-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 6px;
    background: #fff;
    box-shadow: var(--shadow);
    display: none;
    z-index: 80;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
    display: grid;
}

.nav-submenu a {
    border-radius: 7px;
    padding: 9px 10px;
    color: #344054;
    font-weight: 800;
    white-space: nowrap;
}

.nav-submenu a:hover {
    color: var(--brand-red);
    background: #f8fafc;
}

.nav-link.is-live::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-red);
    display: inline-block;
    margin-right: 7px;
}

.ad-area {
    margin: 18px 0;
}

.ad-slot {
    border: 1px dashed #cbd5e1;
    background: #f8fafc;
    border-radius: var(--radius);
    min-height: 86px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.ad-slot img {
    display: block;
    width: 100%;
    height: auto;
}

.ad-slot__label {
    color: #94a3b8;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.mobile-sticky-ad {
    display: none;
}

.breaking {
    background: #fff7ed;
    border-block: 1px solid #fed7aa;
}

.breaking__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    overflow: hidden;
}

.breaking__badge {
    background: var(--brand-red);
    color: #fff;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: .75rem;
    font-weight: 900;
    flex: 0 0 auto;
}

.breaking__ticker {
    min-width: 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.breaking__track {
    display: flex;
    width: max-content;
    animation: breaking-ticker 34s linear infinite;
}

.breaking__ticker:hover .breaking__track,
.breaking__ticker:focus-within .breaking__track {
    animation-play-state: paused;
}

.breaking__items {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 0;
    font-size: .9rem;
    font-weight: 700;
}

.breaking__items a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 26px 0 14px;
    white-space: nowrap;
}

.breaking__items a::after {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-red);
    position: absolute;
    right: 8px;
}

@keyframes breaking-ticker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .breaking__ticker {
        overflow-x: auto;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .breaking__track {
        animation: none;
        width: auto;
    }
}

.page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}

.hero {
    padding: 28px 0 18px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
    gap: 18px;
}

.lead-story {
    position: relative;
    min-height: 500px;
    border-radius: var(--radius);
    overflow: hidden;
    color: #fff;
    box-shadow: var(--shadow);
    background: #111827;
}

.lead-story img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    opacity: .82;
}

.lead-story::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(16, 24, 40, .08), rgba(16, 24, 40, .86));
}

.lead-story__content {
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    padding: 28px;
}

.eyebrow,
.category-pill {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 9px;
    border-radius: 999px;
    color: #fff;
    background: var(--brand-red);
    font-size: .75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.lead-story h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.02;
    margin: 14px 0 12px;
}

.story-meta {
    color: #d1d5db;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: .9rem;
}

.hero-stack {
    display: grid;
    gap: 18px;
}

.compact-story {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 12px;
    min-height: 136px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
}

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

.compact-story__body {
    padding: 12px 12px 12px 0;
}

.compact-story h3,
.post-card h3,
.sidebar-card h3 {
    margin: 8px 0;
    line-height: 1.18;
    font-size: 1rem;
}

.section {
    padding: 24px 0;
}

.section__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    border-bottom: 2px solid #101828;
}

.section__head h2,
.archive-title h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
}

.section__head h2 {
    border-bottom: 5px solid var(--brand-red);
    padding-bottom: 8px;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.post-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.post-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    min-width: 0;
}

.post-card__media {
    aspect-ratio: 16 / 10;
    background: var(--soft);
    display: block;
}

.post-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-card__body {
    padding: 14px;
}

.post-card p,
.archive-title p {
    color: var(--muted);
    margin: 0;
}

.small-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    color: #667085;
    font-size: .82rem;
}

.video-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    background: #101828;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: .75rem;
    font-weight: 900;
}

.video-badge::before {
    content: "";
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid #fff;
}

.sidebar {
    display: grid;
    gap: 18px;
}

.sidebar-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    overflow: hidden;
}

.sidebar-card__title {
    padding: 12px 14px;
    color: #fff;
    background: #101828;
    font-weight: 900;
}

.sidebar-card__body {
    padding: 14px;
}

.sidebar-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-list li + li {
    border-top: 1px solid var(--line);
    padding-top: 12px;
}

.category-list {
    display: grid;
    gap: 8px;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    font-weight: 800;
}

.social-row,
.share-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.social-row a,
.share-btn {
    min-width: 42px;
    min-height: 42px;
    border-radius: var(--radius);
    display: inline-grid;
    place-items: center;
    color: #fff;
    font-weight: 900;
}

.social-icon {
    width: 20px;
    height: 20px;
    display: block;
    fill: currentColor;
}

.share-btn {
    padding: 0 12px;
}

.share-btn.whatsapp { background: #16a34a; }
.social-row a.facebook,
.share-btn.facebook { background: #1877f2; }
.social-row a.twitter,
.share-btn.twitter { background: #111827; }
.social-row a.linkedin,
.share-btn.linkedin { background: #0a66c2; }
.social-row a.telegram,
.share-btn.telegram { background: #229ed9; }
.social-row a.mail,
.share-btn.mail { background: #64748b; }
.social-row a.instagram { background: linear-gradient(135deg, #f58529, #dd2a7b 52%, #515bd4); }
.social-row a.youtube { background: #ff0000; }
.social-row a.tiktok { background: #000; }
.social-row a.whatsapp { background: #16a34a; }

.archive-header {
    padding: 30px 0 10px;
}

.article-shell {
    padding: 28px 0;
}

.article-header {
    margin-bottom: 20px;
}

.article-admin-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-edit-post-btn {
    min-height: 34px;
    border: 1px solid #d0d7e2;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    color: #fff;
    background: #101828;
    box-shadow: 0 10px 22px rgba(16, 24, 40, .14);
    font-size: .82rem;
    font-weight: 900;
}

.admin-edit-post-btn:hover {
    background: var(--brand-red);
}

.article-header h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.75rem);
    line-height: 1.05;
    margin: 12px 0;
}

.article-lead {
    color: #475467;
    font-size: 1.12rem;
}

.article-media {
    border-radius: var(--radius);
    overflow: hidden;
    margin: 20px 0;
    background: #101828;
}

.article-media img {
    width: 100%;
    display: block;
}

.video-frame {
    position: relative;
    padding-top: 56.25%;
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.article-body {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.13rem;
    color: #1f2937;
}

.article-body p {
    margin: 0 0 1.15em;
}

.related {
    margin-top: 30px;
}

.site-footer {
    margin-top: 40px;
    background: #101828;
    color: #e5e7eb;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr .8fr;
    gap: 28px;
    padding: 40px 0;
}

.site-footer h3,
.site-footer h4 {
    color: #fff;
    margin-top: 0;
}

.site-footer a {
    color: #e5e7eb;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, .14);
    padding: 16px 0;
    color: #cbd5e1;
    font-size: .9rem;
}

.empty-state {
    border: 1px dashed #cbd5e1;
    border-radius: var(--radius);
    padding: 30px;
    color: var(--muted);
    background: #f8fafc;
}

nav[role="navigation"] {
    margin-top: 24px;
}

nav[role="navigation"] p {
    margin: 0;
}

nav[role="navigation"] > div:first-child {
    display: none !important;
}

nav[role="navigation"] > div:last-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

nav[role="navigation"] > div:last-child > div:first-child {
    color: var(--muted);
    font-size: .84rem;
    font-weight: 800;
}

nav[role="navigation"] > div:last-child > div:last-child {
    display: flex;
    justify-content: flex-end;
}

nav[role="navigation"] span[aria-current="page"] span,
nav[role="navigation"] span[aria-disabled="true"] span,
nav[role="navigation"] a {
    min-width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: -1px;
    padding: 0 10px;
    background: #fff;
    color: #344054;
    font-size: .84rem;
    font-weight: 900;
    line-height: 1;
}

nav[role="navigation"] a:hover {
    color: var(--brand-red);
    background: #f8fafc;
}

nav[role="navigation"] span[aria-current="page"] span {
    color: #fff;
    background: var(--brand-red);
    border-color: var(--brand-red);
}

nav[role="navigation"] span[aria-disabled="true"] span {
    color: #98a2b3;
    background: #f8fafc;
}

nav[role="navigation"] svg {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px;
    max-height: 16px;
    display: block;
}

nav[role="navigation"] .relative {
    border-radius: var(--radius);
}

@media (max-width: 980px) {
    .page-grid,
    .hero-grid,
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .lead-story {
        min-height: 440px;
    }

    .post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .masthead {
        align-items: flex-start;
    }

    .search-box input {
        width: 190px;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(100% - 22px, 1180px);
    }

    .top-strip__inner,
    .masthead {
        flex-direction: column;
        align-items: stretch;
    }

    .masthead__tools {
        display: grid;
        grid-template-columns: 1fr 44px;
    }

    .search-box input {
        width: 100%;
    }

    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .nav-bar__inner {
        display: none;
        padding: 8px 0;
        flex-direction: column;
        align-items: stretch;
        overflow: visible;
    }

    .nav-bar__inner.is-open {
        display: flex;
    }

    .nav-link {
        border-bottom: 1px solid var(--line);
    }

    .nav-dropdown {
        display: grid;
    }

    .nav-submenu {
        position: static;
        display: grid;
        min-width: 0;
        border: 0;
        border-radius: 0;
        padding: 0 0 6px 16px;
        box-shadow: none;
    }

    .lead-story {
        min-height: 390px;
    }

    .lead-story__content {
        padding: 20px;
    }

    .compact-story {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .post-grid,
    .post-grid--two {
        grid-template-columns: 1fr;
    }

    .mobile-sticky-ad {
        display: block;
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: 10px;
        z-index: 70;
        margin: 0;
        box-shadow: 0 12px 32px rgba(16, 24, 40, .2);
    }

    .mobile-sticky-ad .ad-slot {
        min-height: 54px;
        background: #fff;
    }

    body.has-mobile-sticky-ad {
        padding-bottom: 74px;
    }

    nav[role="navigation"] > div:last-child {
        justify-content: center;
    }

    nav[role="navigation"] > div:last-child > div:first-child {
        display: none;
    }
}
