* {
    box-sizing: border-box;
}

html {
    color-scheme: light;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f3f6fb;
    color: #101828;
}

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

img {
    max-width: 100%;
    display: block;
}

.page-shell {
    width: min(1420px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    padding-top: 6px;
}

.topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    font-size: 13px;
    color: #475467;
}

.topline__left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.topline__live-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #d92d20;
    box-shadow: 0 0 0 6px rgba(217, 45, 32, 0.12);
}

.lang-switch {
    display: flex;
    gap: 8px;
}

.lang-switch__item {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 999px;
    border: 1px solid #d0d5dd;
    background: #ffffff;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.lang-switch__item:hover,
.lang-switch__item:focus-visible {
    transform: translateY(-1px);
    border-color: #98a2b3;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.lang-switch__item.is-active {
    border-color: #0b5cff;
    box-shadow: 0 8px 20px rgba(11, 92, 255, 0.18);
}

.flag-icon {
    width: 24px;
    height: 24px;
    display: block;
}

.brand-row {
    padding: 8px 0 18px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.brand-mark__badge {
    width: 68px;
    aspect-ratio: 1;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0052d4 0%, #0b5cff 48%, #3b82f6 100%);
    color: #ffffff;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0;
    box-shadow: 0 18px 28px rgba(11, 92, 255, 0.22);
}

.brand-mark__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-mark__text strong {
    font-size: 42px;
    line-height: 1;
}

.brand-mark__text small {
    font-size: 14px;
    color: #475467;
}

.section-nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0 0 18px;
    scrollbar-width: thin;
}

.section-nav__item {
    white-space: nowrap;
    border: 1px solid #d0d5dd;
    background: #ffffff;
    color: #344054;
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
}

.section-nav__item.is-active,
.section-nav__item:hover {
    border-color: #0b5cff;
    color: #0b5cff;
}

.surface {
    background: #ffffff;
    border: 1px solid #eaecf0;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.lead-layout,
.lead-sidebar,
.stream-grid,
.section-grid,
.article-layout,
.related-grid {
    display: grid;
    gap: 18px;
}

.lead-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.55fr);
    align-items: stretch;
}

.lead-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
}

.lead-feature,
.lead-feature .news-card {
    height: 100%;
}

.news-card {
    overflow: hidden;
}

.news-card > a {
    display: block;
    height: 100%;
}

.news-card__media {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #c8d7ff 0%, #ecf2ff 100%);
}

.news-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card__body {
    padding: 16px 18px 18px;
}

.news-card__kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0b5cff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news-card__kicker::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: currentColor;
}

.news-card__title {
    margin: 10px 0 0;
    font-size: 18px;
    line-height: 1.28;
}

.news-card--feature {
    position: relative;
    min-height: 560px;
}

.news-card--feature > a {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 100%;
}

.news-card--feature .news-card__media {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
}

.news-card--feature .news-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 11, 23, 0.06) 0%, rgba(6, 11, 23, 0.2) 42%, rgba(6, 11, 23, 0.86) 100%);
}

.news-card--feature .news-card__body {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
}

.news-card--feature .news-card__kicker,
.news-card--feature .news-card__meta {
    color: rgba(255, 255, 255, 0.9);
}

.news-card--feature .news-card__title,
.news-card--feature .news-card__excerpt {
    color: #ffffff;
}

.news-card--feature .news-card__title {
    font-size: 42px;
    max-width: 12ch;
}

.news-card--feature .news-card__excerpt {
    max-width: 44ch;
    color: rgba(255, 255, 255, 0.86);
}

.news-card--compact .news-card__media {
    aspect-ratio: 16 / 10;
}

.news-card--compact .news-card__title {
    font-size: 28px;
}

.news-card--compact .news-card__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card__excerpt {
    margin: 12px 0 0;
    color: #475467;
    font-size: 15px;
    line-height: 1.55;
}

.news-card__meta {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: #667085;
    font-size: 13px;
}

.section-block {
    padding: 20px;
}

.section-block__header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 14px;
    margin-bottom: 18px;
}

.section-block__title {
    margin: 0;
    font-size: 28px;
}

.section-block__subtitle {
    margin: 6px 0 0;
    color: #667085;
    font-size: 15px;
}

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

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

.stack-list {
    display: grid;
    gap: 12px;
}

.stack-item {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 14px;
    padding: 14px;
    border: 1px solid #eaecf0;
    border-radius: 8px;
    background: #ffffff;
}

.stack-item__media {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, #c8d7ff 0%, #ecf2ff 100%);
}

.stack-item__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stack-item__title {
    margin: 0;
    font-size: 19px;
    line-height: 1.35;
}

.stack-item__excerpt {
    margin: 8px 0 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.55;
}

.article-layout {
    grid-template-columns: minmax(0, 1fr);
}

.article-shell {
    padding: 24px;
}

.article-hero {
    display: grid;
    gap: 22px;
}

.article-hero__media {
    aspect-ratio: 16 / 8;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, #c8d7ff 0%, #ecf2ff 100%);
}

.article-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-headline {
    margin: 0;
    font-size: 58px;
    line-height: 1.08;
}

.article-summary {
    margin: 0;
    color: #475467;
    font-size: 18px;
    line-height: 1.7;
    max-width: 900px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: #667085;
    font-size: 14px;
}

.article-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
}

.article-share__label {
    color: #475467;
    font-size: 14px;
    font-weight: 700;
}

.article-share__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.article-share__link {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 999px;
    border: 1px solid #d0d5dd;
    background: #ffffff;
    color: #101828;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.article-share__link:hover,
.article-share__link:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.article-share__link svg {
    width: 18px;
    height: 18px;
    display: block;
}

.article-share__link--whatsapp {
    border-color: rgba(37, 211, 102, 0.28);
    color: #128c49;
    background: rgba(37, 211, 102, 0.08);
}

.article-share__link--facebook {
    border-color: rgba(24, 119, 242, 0.24);
    color: #1877f2;
    background: rgba(24, 119, 242, 0.08);
}

.article-share__link--x {
    border-color: rgba(16, 24, 40, 0.14);
    color: #101828;
    background: #f8fafc;
}

.article-share__link--threads {
    border-color: rgba(124, 58, 237, 0.22);
    color: #5b21b6;
    background: rgba(124, 58, 237, 0.08);
}

.article-body {
    margin-top: 26px;
    font-size: 18px;
    line-height: 1.85;
    color: #101828;
}

.article-body p,
.article-body ul,
.article-body ol,
.article-body blockquote,
.article-body h2,
.article-body h3,
.article-body h4 {
    margin: 0 0 1.25em;
}

.article-body a {
    color: #0b5cff;
    text-decoration: underline;
}

.source-box {
    margin-top: 28px;
    padding: 18px 20px;
    border-radius: 8px;
    background: #f8fbff;
    border: 1px solid #dbe7ff;
    color: #344054;
    font-size: 15px;
}

.source-box a {
    color: #0b5cff;
    font-weight: 700;
}

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

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: end;
    padding: 28px 0 42px;
    color: #667085;
    font-size: 14px;
}

.site-footer__brand strong {
    display: block;
    color: #101828;
    font-size: 18px;
}

.site-footer__brand p {
    margin: 8px 0 0;
    max-width: 560px;
}

.empty-state {
    padding: 48px 22px;
    text-align: center;
    color: #667085;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: #667085;
    font-size: 13px;
}

.breadcrumbs a {
    color: #475467;
}

@media (max-width: 1200px) {
    .stream-grid,
    .related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .lead-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    }

    .news-card--feature .news-card__title {
        font-size: 34px;
        max-width: 13ch;
    }

    .article-headline {
        font-size: 46px;
    }
}

@media (max-width: 980px) {
    .lead-layout,
    .stream-grid,
    .section-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .lead-feature {
        order: -1;
    }

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

    .stack-item {
        grid-template-columns: 112px 1fr;
    }

    .brand-mark__text strong {
        font-size: 36px;
    }

    .article-headline {
        font-size: 38px;
    }

    .article-share {
        gap: 10px;
        align-items: center;
    }

    .article-share__label {
        font-size: 13px;
    }

    .article-share__links {
        gap: 8px;
    }

    .article-share__link {
        width: 32px;
        height: 32px;
        flex: 0 0 32px;
        min-width: 32px;
        min-height: 32px;
    }

    .article-share__link svg {
        width: 13px;
        height: 13px;
    }
}

@media (max-width: 720px) {
    .page-shell {
        width: min(100% - 20px, 1420px);
    }

    .topline,
    .site-footer,
    .section-block__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .brand-mark {
        align-items: flex-start;
    }

    .brand-mark__badge {
        width: 56px;
        border-radius: 12px;
        font-size: 24px;
    }

    .brand-mark__text strong {
        font-size: 30px;
    }

    .stack-item {
        grid-template-columns: 1fr;
    }

    .lead-sidebar {
        grid-template-columns: 1fr;
    }

    .article-shell,
    .section-block {
        padding: 18px;
    }

    .article-summary,
    .article-body {
        font-size: 17px;
    }

    .article-share {
        gap: 10px;
        align-items: center;
    }

    .article-share__links {
        width: auto;
        gap: 8px;
    }

    .article-share__link {
        width: 30px;
        height: 30px;
        flex: 0 0 30px;
        min-width: 30px;
        min-height: 30px;
        justify-content: center;
    }

    .article-share__link svg {
        width: 12px;
        height: 12px;
    }

    .news-card--feature .news-card__title {
        font-size: 30px;
        max-width: none;
    }

    .news-card--feature,
    .news-card--feature .news-card__body {
        min-height: 420px;
    }

    .news-card--compact .news-card__title {
        font-size: 24px;
    }

    .article-headline {
        font-size: 34px;
    }
}
