/* =========================================================
   SocioEducations — Lead Hero Section
   Based on supplied React LeadHeroSection.tsx
   File: assets/css/lead-hero.css
========================================================= */

.se-lead-hero {
    width: 100%;
    padding: 26px 0 30px;
    background: #fcfbf9;
    border-bottom: 1px solid #e8e5e0;
    color: #1a1a1a;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.se-hero-container {
    width: min(100% - 40px, 1280px);
    margin: 0 auto;
}

.se-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr);
    gap: 24px;
    align-items: start;
}

.se-hero-column {
    min-width: 0;
}

/* =========================================================
   COLUMN 1 — TOP STORIES
========================================================= */

.se-hero-left {
    padding-right: 20px;
    border-right: 1px solid #e8e5e0;
}

.se-hero-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding-bottom: 9px;
    margin-bottom: 16px;
    border-bottom: 2px solid #1a1a1a;
}

.se-hero-section-heading h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #1a1a1a;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.se-hero-heading-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    background: #ed1c24;
}

.se-hero-live-label {
    color: #777;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

/* Top story list */

.se-hero-top-stories {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.se-hero-top-story {
    padding: 0 0 16px;
    margin: 0 0 16px;
    border-bottom: 1px solid #e8e5e0;
}

.se-hero-top-story:last-child {
    margin-bottom: 0;
}

.se-hero-kicker {
    display: block;
    margin-bottom: 5px;
    color: #ed1c24;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.se-hero-top-story h3 {
    margin: 0;
    color: #1a1a1a;
    font-family: "Merriweather", Georgia, serif;
    font-size: 16px;
    line-height: 1.48;
    font-weight: 800;
}

.se-hero-top-story h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.se-hero-top-story h3 a:hover {
    color: #ed1c24;
}

.se-hero-top-story > p {
    margin: 7px 0 0;
    color: #5f5f5f;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 12px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.se-hero-story-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    color: #999;
    font-size: 11px;
}

.se-hero-story-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.se-hero-clock-icon {
    font-size: 13px;
    line-height: 1;
}

/* =========================================================
   LIVE WIRE BULLETINS
========================================================= */

.se-hero-live-wire {
    margin-top: 24px;
    padding: 13px;
    background: #f7f5f0;
    border: 1px solid #e8e5e0;
    border-radius: 2px;
}

.se-hero-live-wire-heading {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    color: #444;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 0.9px;
    text-transform: uppercase;
}

.se-hero-trending-icon {
    color: #ed1c24;
    font-size: 17px;
    font-weight: 900;
}

.se-hero-live-wire ul {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.se-hero-live-wire li {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 0;
    color: #333;
    font-size: 12px;
    line-height: 1.65;
}

.se-hero-bullet {
    flex: 0 0 auto;
    color: #ed1c24;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.2;
}

.se-hero-live-wire li a {
    color: inherit;
    text-decoration: none;
}

.se-hero-live-wire li a:hover {
    color: #ed1c24;
}

/* =========================================================
   COLUMN 2 — MAIN LEAD STORY
========================================================= */

.se-hero-center {
    padding: 0 2px;
    border-right: 1px solid #e8e5e0;
}

.se-hero-lead-story {
    padding-bottom: 22px;
    border-bottom: 1px solid #e8e5e0;
}

.se-hero-lead-kicker {
    display: block;
    margin-bottom: 7px;
    color: #ed1c24;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Main headline */

.se-hero-lead-headline {
    margin: 0;
    color: #111827;
    font-family: "Playfair Display", "Merriweather", Georgia, serif;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.6px;
}

.se-hero-lead-headline a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.se-hero-lead-headline a:hover {
    color: #ed1c24;
}

/* Subtitle */

.se-hero-lead-subtitle {
    margin: 12px 0 0;
    color: #57534e;
    font-family: "Merriweather", Georgia, serif;
    font-size: 14px;
    line-height: 1.75;
    font-weight: 400;
}

/* Byline */

.se-hero-byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-top: 13px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eeeae5;
    color: #888;
    font-size: 11px;
    line-height: 1.6;
}

.se-hero-author {
    color: #555;
}

.se-hero-author strong {
    color: #292929;
    font-weight: 800;
}

.se-hero-meta-separator {
    color: #aaa;
}

/* Lead image */

.se-hero-lead-image {
    position: relative;
    display: block;
    width: 100%;
    margin-top: 13px;
    overflow: hidden;
    background: #f0eeea;
    aspect-ratio: 16 / 9;
}

.se-hero-main-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.se-hero-lead-image:hover .se-hero-main-image {
    transform: scale(1.015);
}

.se-hero-image-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    background: #f9f8f6;
    border: 1px solid #e8e5e0;
    border-top: 0;
    color: #666;
    font-size: 11px;
    line-height: 1.5;
}

.se-hero-image-caption span {
    font-style: italic;
}

/* Lead story footer */

.se-hero-lead-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
}

.se-hero-read-full {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #ed1c24;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: color 0.2s ease;
}

.se-hero-read-full span {
    display: inline-block;
    transition: transform 0.2s ease;
}

.se-hero-read-full:hover {
    color: #c4151b;
}

.se-hero-read-full:hover span {
    transform: translateX(4px);
}

.se-hero-lead-read-time {
    color: #999;
    font-size: 11px;
}

/* =========================================================
   SECONDARY STORIES
========================================================= */

.se-hero-secondary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
    padding-top: 20px;
}

.se-hero-secondary-story {
    min-width: 0;
}

.se-hero-secondary-image {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    overflow: hidden;
    background: #f0eeea;
    aspect-ratio: 16 / 9;
}

.se-hero-secondary-img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.se-hero-secondary-image:hover .se-hero-secondary-img {
    transform: scale(1.05);
}

.se-hero-secondary-story h3 {
    margin: 3px 0 0;
    color: #1a1a1a;
    font-family: "Merriweather", Georgia, serif;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 800;
}

.se-hero-secondary-story h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.se-hero-secondary-story h3 a:hover {
    color: #ed1c24;
}

.se-hero-secondary-story > p {
    margin: 6px 0 0;
    color: #666;
    font-size: 11px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.se-hero-secondary-meta {
    display: block;
    margin-top: 7px;
    color: #999;
    font-size: 10px;
}

/* =========================================================
   COLUMN 3 — RIGHT SIDEBAR
========================================================= */

.se-hero-right {
    min-width: 0;
    padding-left: 3px;
}

/* =========================================================
   EXPLAINED CARD
========================================================= */

.se-hero-explained-card {
    overflow: hidden;
    background: #fffdfa;
    border: 1px solid #e8e5e0;
    border-radius: 2px;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.035);
}

.se-hero-explained-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 13px;
    background: #1a1a1a;
    color: #fff;
}

.se-hero-explained-header > div {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.se-hero-explained-label {
    display: inline-block;
    padding: 3px 6px;
    background: #f59e0b;
    border-radius: 2px;
    color: #111;
    font-size: 10px;
    line-height: 1.3;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.se-hero-explained-brand {
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.se-hero-explained-header > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #fbbf24;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.se-hero-explained-header > a:hover {
    color: #fff;
}

.se-hero-explained-body {
    padding: 14px;
}

.se-hero-explained-image {
    display: block;
    width: 100%;
    margin-bottom: 12px;
    overflow: hidden;
    background: #f0eeea;
    aspect-ratio: 16 / 9;
}

.se-hero-explained-img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.se-hero-explained-image:hover .se-hero-explained-img {
    transform: scale(1.04);
}

.se-hero-explained-body h3 {
    margin: 0;
    color: #1a1a1a;
    font-family: "Merriweather", Georgia, serif;
    font-size: 17px;
    line-height: 1.5;
    font-weight: 800;
}

.se-hero-explained-body h3 a {
    color: inherit;
    text-decoration: none;
}

.se-hero-explained-body h3 a:hover {
    color: #ed1c24;
}

.se-hero-explained-body > p {
    margin: 8px 0 0;
    color: #666;
    font-size: 12px;
    line-height: 1.75;
}

.se-hero-explained-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 13px;
    padding-top: 10px;
    border-top: 1px solid #eeeae5;
    font-size: 11px;
}

.se-hero-explained-footer > span {
    color: #999;
}

.se-hero-explained-footer > a {
    color: #ed1c24;
    font-weight: 800;
    text-decoration: none;
}

.se-hero-explained-footer > a:hover {
    text-decoration: underline;
}

/* =========================================================
   LATEST STORIES WIDGET
========================================================= */

.se-hero-latest-widget {
    margin-top: 24px;
    padding: 15px;
    background: #fff;
    border: 1px solid #e8e5e0;
    border-radius: 2px;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.025);
}

.se-hero-widget-heading {
    margin-bottom: 12px;
    border-bottom: 1px solid #e8e5e0;
}

.se-hero-widget-heading h3 {
    display: inline-block;
    margin: 0;
    padding: 0 0 9px;
    border-bottom: 2px solid #ed1c24;
    color: #ed1c24;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.se-hero-latest-list {
    display: flex;
    flex-direction: column;
}

.se-hero-latest-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid #f0eeea;
}

.se-hero-latest-item:first-child {
    padding-top: 0;
}

.se-hero-latest-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.se-hero-latest-number {
    flex: 0 0 26px;
    color: #c9c6c0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 24px;
    line-height: 1;
    font-weight: 900;
    transition: color 0.2s ease;
}

.se-hero-latest-item:hover .se-hero-latest-number {
    color: #ed1c24;
}

.se-hero-latest-info {
    flex: 1;
    min-width: 0;
}

.se-hero-latest-category {
    display: block;
    margin-bottom: 3px;
    color: #888;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.se-hero-latest-info h4 {
    margin: 0;
    color: #1a1a1a;
    font-size: 12px;
    line-height: 1.55;
    font-weight: 800;
}

.se-hero-latest-info h4 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.se-hero-latest-info h4 a:hover {
    color: #ed1c24;
}

.se-hero-latest-read-time {
    display: block;
    margin-top: 4px;
    color: #999;
    font-size: 10px;
}

/* =========================================================
   OPINION & COLUMNS
========================================================= */

.se-hero-opinion-section {
    margin-top: 25px;
    padding-top: 12px;
    border-top: 2px solid #1a1a1a;
}

.se-hero-opinion-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 13px;
}

.se-hero-opinion-heading h3 {
    margin: 0;
    color: #1a1a1a;
    font-family: "Merriweather", Georgia, serif;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.se-hero-opinion-heading > a {
    color: #ed1c24;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.se-hero-opinion-heading > a:hover {
    text-decoration: underline;
}

.se-hero-opinion-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.se-hero-opinion-card {
    padding: 12px;
    background: #f7f6f3;
    border: 1px solid #e8e5e0;
    border-radius: 2px;
    transition: background 0.2s ease;
}

.se-hero-opinion-card:hover {
    background: #f0eeea;
}

.se-hero-opinion-author {
    display: flex;
    align-items: center;
    gap: 11px;
}

.se-hero-author-avatar {
    display: block;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    overflow: hidden;
    border: 1px solid #ddd8d0;
    border-radius: 50%;
    background: #eeeae5;
}

.se-hero-avatar-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.se-hero-opinion-author-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.se-hero-opinion-author-info > span {
    margin-bottom: 3px;
    color: #ed1c24;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.se-hero-opinion-author-name {
    color: #1a1a1a;
    font-family: "Merriweather", Georgia, serif;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 800;
    text-decoration: none;
}

.se-hero-opinion-author-name:hover {
    color: #ed1c24;
}

.se-hero-opinion-card h4 {
    margin: 10px 0 0;
    color: #1a1a1a;
    font-family: "Merriweather", Georgia, serif;
    font-size: 12px;
    line-height: 1.55;
    font-weight: 800;
}

.se-hero-opinion-card h4 a {
    color: inherit;
    text-decoration: none;
}

.se-hero-opinion-card h4 a:hover {
    color: #ed1c24;
}

.se-hero-opinion-card > p {
    margin: 7px 0 0;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    color: #666;
    font-size: 11px;
    line-height: 1.7;
}

/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1024px) {

    .se-hero-container {
        width: min(100% - 32px, 960px);
    }

    .se-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
        gap: 22px;
    }

    .se-hero-left {
        padding-right: 17px;
        border-right: 1px solid #e8e5e0;
    }

    .se-hero-center {
        padding: 0;
        border-right: 0;
    }

    .se-hero-right {
        display: grid;
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        padding: 20px 0 0;
        border-top: 1px solid #e8e5e0;
    }

    .se-hero-latest-widget,
    .se-hero-opinion-section {
        margin-top: 0;
    }

    .se-hero-opinion-section {
        padding-top: 12px;
    }

    .se-hero-lead-headline {
        font-size: 28px;
    }

}

/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 767px) {

    .se-lead-hero {
        padding: 18px 0 22px;
    }

    .se-hero-container {
        width: calc(100% - 28px);
    }

    .se-hero-grid {
        display: flex;
        flex-direction: column;
        gap: 22px;
    }

    .se-hero-column {
        width: 100%;
        padding: 0;
        border: 0;
    }

    /* Main story first on mobile */

    .se-hero-center {
        order: 1;
    }

    .se-hero-left {
        order: 2;
        padding-top: 19px;
        border-top: 1px solid #e8e5e0;
    }

    .se-hero-right {
        display: flex;
        flex-direction: column;
        order: 3;
        gap: 20px;
        padding-top: 19px;
        border-top: 1px solid #e8e5e0;
    }

    .se-hero-lead-headline {
        font-size: clamp(24px, 6.5vw, 30px);
        line-height: 1.28;
        letter-spacing: -0.4px;
    }

    .se-hero-lead-subtitle {
        margin-top: 10px;
        font-size: 13px;
        line-height: 1.7;
    }

    .se-hero-byline {
        gap: 5px;
        font-size: 10px;
    }

    .se-hero-lead-image {
        margin-top: 11px;
        aspect-ratio: 16 / 10;
    }

    .se-hero-image-caption {
        font-size: 10px;
    }

    .se-hero-lead-footer {
        margin-top: 12px;
    }

    .se-hero-secondary-grid {
        gap: 13px;
        padding-top: 17px;
    }

    .se-hero-secondary-story h3 {
        font-size: 12px;
        line-height: 1.5;
    }

    .se-hero-secondary-story > p {
        font-size: 10px;
    }

    .se-hero-section-heading {
        margin-bottom: 13px;
    }

    .se-hero-top-story {
        padding-bottom: 13px;
        margin-bottom: 13px;
    }

    .se-hero-top-story h3 {
        font-size: 15px;
    }

    .se-hero-top-story > p {
        font-size: 11px;
    }

    .se-hero-live-wire {
        margin-top: 18px;
    }

    .se-hero-explained-card {
        width: 100%;
    }

    .se-hero-latest-widget {
        width: 100%;
        margin-top: 0;
    }

    .se-hero-opinion-section {
        width: 100%;
        margin-top: 0;
    }

}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .se-hero-container {
        width: calc(100% - 22px);
    }

    .se-hero-secondary-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .se-hero-secondary-image {
        aspect-ratio: 16 / 9;
    }

    .se-hero-lead-headline {
        font-size: 23px;
    }

    .se-hero-byline {
        font-size: 9px;
    }

}

/* =========================================================
   ACCESSIBILITY / MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .se-hero-lead-image *,
    .se-hero-secondary-image *,
    .se-hero-explained-image *,
    .se-hero-read-full span,
    .se-hero-top-story h3 a,
    .se-hero-secondary-story h3 a {
        transition: none !important;
    }

}