/* --- PROFESSIONAL EDITORIAL LAYOUT SYSTEM (COMPACT VERSION) --- */

/* 1. Main Container Scope */
.editorial-flow {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    /* DRASTICALLY Reduced from 8rem to 3rem for compactness */
    margin-top: 3rem;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

/* 2. Zig-Zag Item Structure */
.ed-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    /* Tighter horizontal gap */
    width: 100%;
    padding-bottom: 3rem;
    /* Separation between items */
    border-bottom: 1px solid #f0f0f0;
    /* Subtle separator instead of huge space */
}

.ed-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Image Side */
.ed-image {
    flex: 0 0 45%;
    /* Image takes less width (45%) */
    height: 280px;
    /* MUCH Shorter height (was 480px) */
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    /* Slight rounding for modern feel */
}

.ed-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ed-item:hover .ed-image img {
    transform: scale(1.02);
}

/* Content Side */
.ed-content {
    flex: 1 1 55%;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 3. Reversed Variation */
.ed-item.reversed {
    flex-direction: row-reverse;
}

/* 4. Typography Refinements (Compact) */
.ed-item h3 {
    font-family: 'Source Serif 4', serif;
    font-weight: 600;
    font-size: 1.6rem;
    /* Smaller font */
    margin-bottom: 0.8rem;
    margin-top: 0;
    color: var(--primary);
    line-height: 1.2;
}

.ed-item p {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 0.95rem;
    /* Smaller body text */
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Tag Styling */
.ed-tag {
    display: inline-block;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

/* 5. Part II Feature Block (Compact) */
.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
    padding: 0 2rem;
}

.feature-image {
    height: 400px;
    /* Reduced from 650px */
    width: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.quote-box {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
    border-left: 3px solid var(--accent);
    font-family: 'Source Serif 4', serif;
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.4;
    color: var(--primary);
}

/* Institutional Box refinement */
.institutional-box {
    background: #f8f8f8;
    border: 1px solid #eee;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

/* 6. Mobile Responsiveness */
@media (max-width: 900px) {

    .editorial-flow,
    .feature-block {
        gap: 2rem;
        margin-top: 2rem;
    }

    .ed-item,
    .ed-item.reversed,
    .feature-block {
        flex-direction: column;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        display: flex;
        border-bottom: none;
    }

    .ed-image,
    .feature-image {
        width: 100%;
        height: 250px;
    }

    .ed-content {
        padding: 0;
    }
}

/* Keep typography spacing consistent with the main stylesheet override. */
html body:not(#__no_letter_spacing_override__),
html body:not(#__no_letter_spacing_override__) * {
    letter-spacing: normal !important;
}
