:root {
    --font-title: 'Oswald', Arial, sans-serif;
    --font-ui: 'Inter', Arial, sans-serif;
    --font-reading: Georgia, 'Times New Roman', serif;
    --blue: #07549b;
    --blue2: #0d6fbd;
    --green: #168a5b;
    --yellow: #ffd31a;
    --red: #d61f1f;
    --dark: #111827;
    --ink: #172033;
    --light: #f5f7fb;
    --soft: #eef4fb;
    --text: #1d2433;
    --muted: #667085;
    --border: #dce2ea;
    --shadow: 0 14px 34px rgba(17,24,39,.09);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-ui); color: var(--text); background: #fff; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
img { max-width: 100%; height: auto; }
.headline-image, .card-image, .compact-thumb, .author-mini-thumb { overflow: hidden; }
.headline-image img, .card-image img, .compact-thumb img, .author-mini-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.author-mini-thumb img { border-radius: 999px; }
.logo-img img { content-visibility: auto; }
h1, h2, h3, .site-title, .section-title h2, .page-hero h1, .headline-content h1, .article-head h1, .main-nav, .panel-title, .category-pill {
    font-family: var(--font-title);
}
.meta, .article-meta, .topbar, .search-form, .btn, .category-strip, .subtitle, .lead, .article-card p, .compact-article small {
    font-family: var(--font-ui);
}
.container { width: min(1180px, 92%); margin: 0 auto; }
.narrow { max-width: 820px; }

.topbar { background: var(--dark); color: #fff; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; align-items: center; }
.topbar a { color: #fff; opacity: .9; }
.topbar-links { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.topbar-text { display: inline-block; }
.social-icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 999px; color: #fff !important; }
.social-icon svg { width: 22px; height: 22px; fill: currentColor; display: block; }
.social-icon-facebook:hover { color: #fff !important; opacity: 1; transform: translateY(-1px); }
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: relative; z-index: 20; }
.header-main { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 24px; }
.logo-img img { display: block; width: min(390px, 52vw); max-height: 86px; object-fit: contain; }
.main-nav { display: flex; gap: 22px; font-weight: 700; align-items: center; font-size: 15px; text-transform: uppercase; letter-spacing: .02em; }
.main-nav a { position: relative; }
.main-nav a:after { content: ''; position: absolute; left: 0; bottom: -8px; width: 0; height: 3px; background: var(--yellow); transition: width .2s ease; }
.main-nav a:hover:after { width: 100%; }
.nav-accent { height: 4px; background: linear-gradient(90deg, var(--blue) 0 44%, var(--yellow) 44% 60%, var(--green) 60% 100%); }
.menu-toggle { display: none; border: 0; background: var(--blue); color: #fff; border-radius: 10px; padding: 9px 12px; font-size: 21px; }

.home-hero { background: linear-gradient(135deg, #eef6ff, #fff 55%, #f7fafc); border-bottom: 1px solid var(--border); }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 30px; padding: 34px 0; align-items: stretch; }
.headline-card { display: grid; grid-template-columns: minmax(270px, .92fr) 1fr; background: #fff; border: 1px solid var(--border); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); min-height: 420px; }
.headline-image { display: block; background-size: cover; background-position: center; min-height: 360px; background-color: #e9eef5; }
.headline-content { padding: clamp(24px, 4vw, 42px); display: flex; flex-direction: column; justify-content: center; }
.headline-content h1 { margin: 16px 0 14px; font-weight: 700; font-size: clamp(34px, 4.7vw, 58px); line-height: 1.03; letter-spacing: -.035em; }
.headline-content p { color: var(--muted); font-size: 18px; margin: 0 0 16px; }
.hero-news-panel { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; }
.panel-title { color: var(--blue); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.compact-article { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.compact-thumb { display: block; min-height: 72px; border-radius: 14px; background-size: cover; background-position: center; background-color: #e9eef5; }
.compact-article span { color: var(--blue); font-weight: 800; font-size: 11px; text-transform: uppercase; }
.compact-article h3 { font-size: 15px; line-height: 1.28; margin: 2px 0 3px; }
.compact-article small { color: var(--muted); }
.hero-search { margin-top: auto; }

.authors-mini-panel { display: grid; gap: 14px; margin-top: 4px; }
.author-mini { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.author-mini-thumb { display: block; width: 70px; height: 70px; border-radius: 999px; background-size: cover; background-position: center; background-color: #e9eef5; border: 1px solid var(--border); }
.author-mini-name { display: block; color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; line-height: 1.15; margin-bottom: 4px; }
.author-mini h3 { font-family: var(--font-title); font-size: 15px; line-height: 1.15; margin: 0; letter-spacing: -.01em; }

.page-hero { background: linear-gradient(135deg, var(--blue), #0b2f58); color: #fff; padding: 46px 0; border-bottom: 5px solid var(--yellow); }
.page-hero h1 { font-size: clamp(38px, 5vw, 58px); line-height: 1.05; margin: 0 0 12px; letter-spacing: -.03em; }
.page-hero p { font-size: 18px; margin: 0; color: rgba(255,255,255,.84); max-width: 760px; }
.section { padding: 48px 0; content-visibility: auto; contain-intrinsic-size: 720px; }
.compact-section { padding-top: 40px; }
.section-title { display: flex; justify-content: space-between; align-items: end; margin-bottom: 22px; gap: 20px; border-bottom: 2px solid var(--border); padding-bottom: 10px; }
.section-title h2, .section h1 { margin: 0; font-weight: 700; font-size: 32px; line-height: 1.1; letter-spacing: -.02em; }
.section-title a { color: var(--blue); font-weight: 800; }
.lead { color: var(--muted); font-size: 18px; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.two-plus .large-card { grid-column: span 2; }
.article-card { border: 1px solid var(--border); border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 10px 28px rgba(18,24,38,.06); transition: transform .18s ease, box-shadow .18s ease; }
.article-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(18,24,38,.12); }
.card-image { display: block; height: 196px; background-size: cover; background-position: center; background-color: #e9eef5; }
.large-card .card-image { height: 285px; }
.card-body { padding: 20px; }
.category-pill { display: inline-block; background: var(--blue); color: #fff !important; border-radius: 999px; padding: 5px 11px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .035em; }
.article-card h2 { font-weight: 700; font-size: 21px; line-height: 1.25; margin: 12px 0 8px; }
.large-card h2 { font-size: 28px; }
.article-card p { color: var(--muted); margin: 0 0 14px; }
.meta, .article-meta { color: var(--muted); font-size: 14px; }
.category-strip { display: flex; flex-wrap: wrap; gap: 10px; margin: -6px 0 24px; }
.category-strip a { border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 8px 13px; font-weight: 800; font-size: 13px; color: var(--blue); }
.category-strip a:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

.search-form { display: flex; gap: 8px; }
.search-form input, .contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--border); border-radius: 12px; padding: 13px; font-size: 16px; }
.search-form button, .contact-form button, .btn { border: 0; background: var(--blue); color: #fff; border-radius: 12px; padding: 12px 17px; font-weight: 800; cursor: pointer; display: inline-block; }
.search-form.large { max-width: 760px; margin-bottom: 28px; }
.pagination { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 44px 0 0; }
.pagination a, .pagination span { padding: 9px 13px; border: 1px solid var(--border); border-radius: 9px; background: #fff; }
.pagination .active { background: var(--blue); color: #fff; border-color: var(--blue); font-weight: 800; }

.article-head { background: #f8fafc; border-bottom: 1px solid var(--border); }
.article-head-inner { max-width: 950px; padding: 44px 0 34px; }
.article-head h1 { font-weight: 700; font-size: clamp(38px, 5vw, 64px); line-height: 1.03; margin: 16px 0; letter-spacing: -.04em; }
.subtitle { font-size: 21px; color: var(--muted); margin: 0 0 14px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 44px; align-items: start; padding: 42px 0; }
.article-page { width: 100%; min-width: 0; }
.article-cover { width: 100%; border-radius: 22px; margin: 0 0 32px; box-shadow: 0 12px 32px rgba(17,24,39,.10); display:block; object-fit:cover; }
.article-content { font-family: var(--font-reading); font-size: 20px; line-height: 1.86; color: #202733; }
.article-content p { margin: 0 0 28px; }
.article-content .article-lead { font-size: 21px; line-height: 1.75; color: #111827; padding: 0 0 20px; border-bottom: 1px solid var(--border); margin-bottom: 30px; }
.article-content h2, .article-content h3 { font-family: var(--font-title); line-height: 1.25; margin: 38px 0 16px; color: var(--blue); }
.article-content h2 { font-size: 28px; }
.article-content h3 { font-size: 23px; }
.article-content b, .article-content strong { font-weight: 900; color: #0f172a; }
.article-content blockquote { margin: 32px 0; padding: 18px 22px; border-left: 5px solid var(--yellow); background: #f8fafc; font-size: 21px; font-weight: 700; }
.article-content ul, .article-content ol { margin: 0 0 26px 24px; }
.article-content li { margin-bottom: 8px; }
.video-embed { position: relative; width: 100%; padding-top: 56.25%; margin: 28px 0; border-radius: 18px; overflow: hidden; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.article-sidebar { position: sticky; top: 22px; display: block; }
.article-sidebar h3 { margin: 0 0 14px; color: var(--blue); font-size: 18px; text-transform: uppercase; letter-spacing: .04em; }
.side-banner-stack { display: grid; gap: 18px; }
.side-banner-link, .side-banner { display: block; }
.side-banner img { display: block; width: 100%; border-radius: 16px; border: 1px solid var(--border); background: #fff; box-shadow: 0 8px 22px rgba(18,24,38,.08); transition: transform .18s ease, box-shadow .18s ease; }
.side-banner a:hover img { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(18,24,38,.14); }
.article-mobile-banners { display: none; }
.related-box { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--border); }
.related-grid .card-image { height: 160px; }
.related-grid .article-card h2 { font-weight: 700; font-size: 18px; }

.banner-section { padding: 10px 0 28px; }
.banner-label { color: var(--muted); text-transform: uppercase; letter-spacing: .09em; font-size: 11px; font-weight: 800; margin-bottom: 6px; }
.banner-slider { position: relative; min-height: 130px; border-radius: 22px; overflow: hidden; background: #f2f5fa; border: 1px solid var(--border); box-shadow: 0 10px 28px rgba(18,24,38,.06); }
.banner-slide { display: none; }
.banner-slide.active { display: block; }
.banner-slide img { width: 100%; max-height: 230px; object-fit: cover; display: block; }
.banner-prev, .banner-next { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; border-radius: 999px; background: rgba(18,24,38,.74); color: #fff; font-size: 26px; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .18s ease, background .18s ease; z-index: 4; }
.banner-prev { left: 12px; }
.banner-next { right: 12px; }
.banner-slider:hover .banner-prev,
.banner-slider:hover .banner-next,
.banner-slider:focus-within .banner-prev,
.banner-slider:focus-within .banner-next { opacity: 1; pointer-events: auto; }
.banner-prev:hover, .banner-next:hover { background: rgba(18,24,38,.9); }

.contact-box { background: #fff; }
.contact-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin: 24px 0; }
.contact-cards > div { border: 1px solid var(--border); border-radius: 16px; padding: 16px; background: var(--light); }
.contact-form { display: grid; gap: 14px; margin-top: 24px; }
.contact-form textarea { min-height: 160px; }
.site-footer { background: var(--dark); color: #fff; margin-top: 46px; border-top: 5px solid var(--yellow); }
.site-footer a { color: #fff; }
.footer-editorial { padding: 42px 0 34px; display: grid; grid-template-columns: 1.15fr 1.35fr 1fr; gap: 30px; align-items: start; }
.footer-editorial h3 { font-family: var(--font-title); font-size: 28px; line-height: 1.05; margin: 0 0 12px; letter-spacing: -.01em; }
.footer-editorial p { color: #dbe4f0; margin: 0 0 10px; font-size: 14px; line-height: 1.65; }
.footer-editorial strong { color: #fff; }
.footer-contact-block { display: flex; flex-direction: column; gap: 9px; align-items: flex-start; font-weight: 700; }
.footer-contact-block a:not(.social-icon) { color: #fff; border-bottom: 1px solid rgba(255,255,255,.28); padding-bottom: 2px; }
.footer-home-views { grid-column: 1 / -1; text-align: center; margin-top: 6px; color: #dbe4f0; font-size: 13px; font-weight: 600; }
.footer-home-views strong { color: #fff; font-size: 15px; }
.footer-facebook { margin-top: 8px; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.25); }
.footer-facebook svg { width: 25px; height: 25px; }

@media (max-width: 1000px) {
    .home-hero-grid, .headline-card, .article-layout { grid-template-columns: 1fr; }
    .headline-card { min-height: 0; }
    .headline-image { min-height: 280px; }
    .desktop-sidebar { display: none; }
    .article-mobile-banners { display: block; margin-top: 36px; }
    .article-sidebar { position: static; }
}
@media (max-width: 900px) {
    .menu-toggle { display: block; }
    .main-nav { display: none; position: absolute; left: 4%; right: 4%; top: 124px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 18px; flex-direction: column; box-shadow: 0 14px 30px rgba(0,0,0,.14); z-index: 30; align-items: flex-start; }
    .main-nav.open { display: flex; }
    .main-nav a:after { display: none; }
    .logo-img img { width: min(305px, 68vw); }
    .topbar-inner { align-items: center; flex-direction: column; gap: 7px; text-align: center; justify-content: center; }
    .topbar-text { width: 100%; text-align: center; }
    .topbar-links { gap: 12px; justify-content: center; width: 100%; text-align: center; }
    .home-hero-grid { padding: 24px 0; }
    .article-grid, .two-plus { grid-template-columns: 1fr; }
    .two-plus .large-card { grid-column: auto; }
    .large-card .card-image, .card-image { height: 210px; }
    .article-head-inner { padding: 34px 0 26px; }
    .article-content { font-size: 18px; line-height: 1.78; }
    .article-content .article-lead { font-size: 19px; }
    .footer-editorial, .footer-grid, .contact-cards { grid-template-columns: 1fr; }
    .footer-editorial { text-align: center; }
    .footer-contact-block { align-items: center; }
    .banner-slide img { max-height: 180px; }
    .section-title { align-items: flex-start; flex-direction: column; gap: 8px; }
}

/* Home refinement: top stories use image-above layout to avoid tall vertical photos. */
.home-main-stories {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
    gap: 24px;
    align-items: stretch;
}
.headline-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.headline-image {
    min-height: 0;
    aspect-ratio: 16 / 9;
    background-position: center top;
}
.headline-content {
    justify-content: flex-start;
}
.headline-content h2 {
    font-family: var(--font-title);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.06;
    margin: 14px 0 10px;
    letter-spacing: -.03em;
}
.headline-card-secondary .headline-content {
    padding: 24px;
}
.headline-card-secondary .headline-image {
    aspect-ratio: 16 / 10;
}
.headline-card-secondary p {
    font-size: 16px;
}

/* Home sponsor slider: banners are usually square 500x500, so keep them compact and uncropped. */
.banner-section.container {
    max-width: 560px;
    padding-top: 28px;
    padding-bottom: 36px;
}
.banner-section.container .banner-label {
    text-align: center;
}
.banner-section.container .banner-slider {
    width: min(500px, 100%);
    min-height: 0;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    background: #fff;
}
.banner-section.container .banner-slide,
.banner-section.container .banner-slide a {
    width: 100%;
    height: 100%;
}
.banner-section.container .banner-slide.active,
.banner-section.container .banner-slide.active a {
    display: block;
}
.banner-section.container .banner-slide img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    background: #fff;
}

@media (max-width: 1000px) {
    .home-main-stories {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 900px) {
    .headline-card-secondary .headline-content,
    .headline-content {
        padding: 22px;
    }
    .headline-content h1 {
        font-size: clamp(34px, 11vw, 48px);
    }
    .banner-section.container {
        width: min(500px, 92%);
    }
}

/* Home no-empty-spaces layout: one strong lead story plus three compact stories below. */
.home-hero-grid {
    align-items: start;
}
.top-stories-clean {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
}
.top-stories-clean .headline-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.headline-card-main .headline-image {
    aspect-ratio: 16 / 9;
    min-height: 0;
    background-position: center top;
}
.headline-card-main .headline-content {
    padding: clamp(22px, 3.4vw, 34px);
}
.headline-card-main .headline-content h1 {
    font-size: clamp(36px, 4.2vw, 56px);
    margin-top: 14px;
}
.home-secondary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}
.home-secondary-card {
    min-height: 0;
}
.home-secondary-card .card-image {
    height: auto;
    aspect-ratio: 16 / 10;
    background-position: center top;
}
.home-secondary-card .card-body {
    padding: 16px;
}
.home-secondary-card h2 {
    font-size: 20px;
    line-height: 1.18;
    margin: 10px 0 8px;
}
.home-secondary-card p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}
.home-secondary-card .meta {
    font-size: 13px;
}
.hero-news-panel {
    align-self: start;
}

@media (max-width: 1100px) {
    .home-secondary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 900px) {
    .home-secondary-grid {
        grid-template-columns: 1fr;
    }
    .headline-card-main .headline-content h1 {
        font-size: clamp(34px, 10vw, 48px);
    }
}


@media (max-width: 768px) {
    .banner-prev,
    .banner-next {
        display: none !important;
    }
    .banner-slider {
        touch-action: pan-y;
    }
}

/* Mobile speed: avoid loading/painting below-the-fold blocks until needed. */
.article-card, .compact-article, .author-mini, .side-banner { content-visibility: auto; contain-intrinsic-size: 260px; }
@media (max-width: 768px) {
    .article-card, .compact-article, .author-mini, .side-banner { contain-intrinsic-size: 220px; }
}
