html,
body {
    margin: 0;
    min-height: 100%;
    background: #e2e8f0;
    color: #0f172a;
    font-family: Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
}

a {
    color: inherit;
}

.media-site-header {
    background: #0f172a;
    border-bottom: 1px solid #020617;
}

.media-site-header-inner {
    width: min(1380px, calc(100% - 24px));
    min-height: 70px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.media-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 900;
    text-decoration: none;
}

.media-brand img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.media-language {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-weight: 800;
}

.media-language a {
    color: #cbd5e1;
    text-decoration: none;
}

.media-language a.is-active {
    color: #ffffff;
    text-decoration: underline;
}

.media-hero {
    padding: 46px 12px;
    background:
        radial-gradient(circle at 87% 20%, rgba(239, 68, 68, 0.25), transparent 27%),
        linear-gradient(125deg, #0f172a 0%, #172554 62%, #1e3a8a 100%);
    color: #ffffff;
}

.media-hero-inner {
    width: min(1380px, 100%);
    margin: 0 auto;
}

.media-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 12px;
    color: #fecaca;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.media-hero h1 {
    max-width: 920px;
    margin: 0;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.media-hero-text {
    max-width: 800px;
    margin: 18px 0 0;
    color: #dbeafe;
    font-size: 18px;
    line-height: 1.55;
}

.media-archive {
    width: min(1380px, calc(100% - 24px));
    margin: 22px auto 34px;
}

.media-archive-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.media-archive-heading h2 {
    margin: 0;
    font-size: 31px;
    color: #172554;
}

.media-archive-heading p {
    max-width: 780px;
    margin: 7px 0 0;
    color: #475569;
    line-height: 1.5;
}

.media-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #ffffff;
    color: #1e3a8a;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

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

.media-card {
    position: relative;
    min-width: 0;
    padding: 24px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.09);
}

.media-card-featured {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 16px;
    padding: 7px 10px;
    border-radius: 999px;
    background: #fee2e2;
    color: #991b1b;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.media-card-top {
    display: flex;
    align-items: center;
    gap: 11px;
}

.media-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    background: #dc2626;
    color: #ffffff;
}

.media-card-medium,
.media-card-program {
    margin: 0;
}

.media-card-medium {
    color: #172554;
    font-size: 14px;
    font-weight: 900;
}

.media-card-program {
    margin-top: 3px;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.media-card h3 {
    margin: 18px 0 0;
    font-size: 27px;
    line-height: 1.14;
    color: #0f172a;
}

.media-card h3 a {
    text-decoration: none;
}

.media-card h3 a:hover {
    color: #1d4ed8;
}

.media-card-description {
    margin: 13px 0 0;
    color: #475569;
    font-size: 15px;
    line-height: 1.55;
}

.media-card-date {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 14px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.media-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 19px;
}

.media-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 43px;
    padding: 0 15px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 850;
    text-decoration: none;
}

.media-btn-primary {
    background: #1d4ed8;
    color: #ffffff;
}

.media-btn-primary:hover {
    background: #1e40af;
}

.media-btn-secondary {
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #334155;
}

.media-btn-secondary:hover {
    background: #e2e8f0;
}

.media-empty {
    padding: 30px;
    border-radius: 14px;
    background: #ffffff;
    color: #64748b;
    text-align: center;
}

.media-footer {
    padding: 23px 12px;
    background: #0f172a;
    color: #cbd5e1;
    text-align: center;
    font-size: 13px;
}

.media-footer p {
    margin: 0;
}

@media (max-width: 850px) {
    .media-grid {
        grid-template-columns: 1fr;
    }

    .media-archive-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .media-site-header-inner,
    .media-archive {
        width: calc(100% - 12px);
    }

    .media-site-header-inner {
        min-height: 62px;
    }

    .media-brand {
        font-size: 17px;
    }

    .media-brand img {
        width: 42px;
        height: 42px;
    }

    .media-hero {
        padding: 34px 12px;
    }

    .media-hero h1 {
        font-size: 36px;
    }

    .media-hero-text {
        font-size: 16px;
    }

    .media-archive-heading h2 {
        font-size: 26px;
    }

    .media-card {
        padding: 20px 17px;
        border-radius: 14px;
    }

    .media-card h3 {
        font-size: 23px;
    }

    .media-card-actions {
        flex-direction: column;
    }

    .media-btn {
        width: 100%;
    }
}
