.home-page .hero-shell {
    padding-top: 34px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 30px;
    align-items: stretch;
}
.hero-copy {
    position: relative;
}

.hero-copy::after {
    content: "";
    position: absolute;
    top: -10px;
    right: 8%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
    filter: blur(6px);
    pointer-events: none;
}

.hero-copy h1 { font-size: clamp(2.4rem, 5vw, 4.7rem); }
.hero-copy p { font-size: 1.1rem; color: rgba(255,255,255,0.84); max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 26px;
}
.hero-stat {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
}
.hero-stat strong { display: block; font-size: 1.8rem; margin-bottom: 6px; letter-spacing: -0.04em; }
.hero-stat span { color: rgba(255,255,255,0.76); }
.hero-panel {
    background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.06));
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 30px;
    padding: 28px;
    box-shadow: 0 20px 40px rgba(4, 15, 30, 0.16);
    backdrop-filter: blur(10px);
}
.hero-panel h2 { margin-top: 0; margin-bottom: 14px; font-size: 1.5rem; }
.hero-panel ul { margin: 0; padding-left: 18px; color: rgba(255,255,255,0.88); line-height: 1.8; }
.split-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.split-grid > .card > p { margin-bottom: 22px; }
.split-grid > .card > h2 { margin-bottom: 10px; font-size: 1.7rem; }
.featured-article-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 28px;
    align-items: center;
    margin-bottom: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f1f7ff 58%, #e7f0fb 100%);
}
.featured-article-copy .tag,
.article-card .tag {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(11, 78, 162, 0.08);
    background: #eff5ff;
    color: #0b4ea2;
    font-size: 13px;
    font-weight: 700;
}
.featured-article-copy h2 {
    margin-bottom: 12px;
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    line-height: 1.08;
    color: #102b46;
}
.featured-article-copy p {
    color: #526f8c;
    line-height: 1.75;
}
.featured-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 22px;
}
.featured-article-meta span {
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(16, 43, 70, 0.08);
    color: #244761;
    font-size: 13px;
    font-weight: 700;
}
.featured-article-preview {
    position: relative;
    display: block;
    min-height: 330px;
    padding: 16px;
    border-radius: 26px;
    background: #d9e6f3;
    box-shadow: inset 0 0 0 1px rgba(11, 78, 162, 0.1), 0 22px 42px rgba(8, 36, 64, 0.16);
    cursor: pointer;
    user-select: none;
}
.featured-article-pages {
    position: relative;
    display: grid;
    height: min(44vw, 420px);
    min-height: 300px;
    max-height: 420px;
    overflow: hidden;
    place-items: center;
    border-radius: 18px;
    background: #ffffff;
}
.featured-article-preview img {
    display: block;
    width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 18px;
    background: #ffffff;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}
.featured-article-guard {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, transparent 0%, transparent 62%, rgba(217, 230, 243, 0.96) 100%),
        repeating-linear-gradient(135deg, rgba(11, 78, 162, 0.06) 0 1px, transparent 1px 18px);
}
.featured-article-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: rgba(16, 43, 70, 0.88);
    color: #ffffff;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.2s ease, transform 0.2s ease;
}
.featured-article-arrow:hover {
    background: #0b4ea2;
    transform: translateY(-50%) scale(1.04);
}
.featured-article-arrow-prev { left: 26px; }
.featured-article-arrow-next { right: 26px; }
.featured-article-preview span {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(16, 43, 70, 0.88);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}
.article-card {
    padding: 20px;
    border-radius: 22px;
    background: rgba(255,255,255,0.78);
    box-shadow: none;
}
.article-card p { line-height: 1.7; color: #56708c; }
.article-card .pill { margin-top: 8px; }
.article-card h3 { margin-bottom: 10px; font-size: 1.15rem; line-height: 1.3; }

.category-showcase-head {
    max-width: 720px;
    margin-bottom: 28px;
}

.category-showcase-head h2 {
    margin: 14px 0 10px;
    font-size: clamp(1.9rem, 3.8vw, 3rem);
    line-height: 1.08;
    color: #102b46;
}

.category-showcase-head p {
    margin: 0;
    color: #5a738d;
    line-height: 1.7;
    max-width: 62ch;
}

.category-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.category-panel {
    display: flex;
    flex-direction: column;
    min-height: 260px;
    padding: 18px;
    border: 1px solid #dce6f2;
    border-radius: 26px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
    box-shadow: 0 18px 36px rgba(8, 36, 64, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-panel:hover {
    transform: translateY(-4px);
    border-color: #bfd3e8;
    box-shadow: 0 24px 44px rgba(8, 36, 64, 0.12);
}

.category-panel:nth-child(4n + 1) {
    background: linear-gradient(180deg, #f5f9ff 0%, #eef5ff 100%);
}

.category-panel:nth-child(4n + 2) {
    background: linear-gradient(180deg, #f9fbff 0%, #f3f7fd 100%);
}

.category-panel:nth-child(4n + 3) {
    background: linear-gradient(180deg, #f7fbf9 0%, #eef8f3 100%);
}

.category-panel:nth-child(4n + 4) {
    background: linear-gradient(180deg, #fffaf4 0%, #fff2e5 100%);
}

.category-panel-media {
    min-height: 148px;
    margin-bottom: 16px;
    border-radius: 18px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.category-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.category-panel-kicker,
.category-panel-count {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.category-panel-kicker {
    background: rgba(11, 78, 162, 0.08);
    color: #0b4ea2;
}

.category-panel-count {
    background: rgba(16, 43, 70, 0.08);
    color: #23496d;
}

.category-panel-copy {
    flex: 1;
}

.category-panel-copy h2 {
    margin: 0 0 12px;
    font-size: 1.38rem;
    line-height: 1.15;
    color: #102b46;
}

.category-panel-copy p {
    margin: 0;
    color: #5a738d;
    line-height: 1.7;
}

.category-panel-link {
    display: inline-flex;
    align-items: center;
    margin-top: 24px;
    color: #0b4ea2;
    font-weight: 700;
    font-size: 14px;
}

@media (max-width: 900px) {
    .hero-grid, .split-grid { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: 1fr; }
    .featured-article-card { grid-template-columns: 1fr; }
    .featured-article-preview { min-height: 360px; }
    .featured-article-pages { height: 420px; min-height: 320px; }
    .category-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-copy::after { right: 0; width: 90px; height: 90px; }
    .hero-copy p { max-width: none; }
}

@media (max-width: 640px) {
    .home-page .hero-shell {
        padding-top: 24px;
    }

    .category-showcase-grid { grid-template-columns: 1fr; }
    .featured-article-preview { min-height: 300px; padding: 10px; }
    .featured-article-pages { height: 340px; min-height: 280px; }
    .featured-article-arrow { width: 40px; height: 40px; }
    .featured-article-arrow-prev { left: 18px; }
    .featured-article-arrow-next { right: 18px; }
    .featured-article-preview span { left: 18px; right: 18px; bottom: 18px; }
    .category-panel-top { align-items: flex-start; flex-direction: column; }
    .category-panel-media { min-height: 180px; }
}
