/* -------- Magazine container (no columns here) -------- */
.magazine {
    max-width: 1000px;
    margin-inline: auto;
    margin-block: 0;
    color: var(--fg);
    font-family: var(--font-family);
}

/* -------- One self-contained, two-column section -------- */
.mag-section {
    margin-top: 0;
    margin-bottom: 0;
}

/* Header spans the whole width above the columns */
.mag-section .section-header {
    text-align: center;
    margin-bottom: 1rem;
    -webkit-column-span: all;
    column-span: all;
    break-inside: avoid;
}

.mag-section .section-kicker {
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--fg);
    margin-bottom: 0.5rem;
}

.mag-section .section-title {
    font-family: var(--font-family);
    font-size: 42px;
    line-height: 1.05;
    letter-spacing: 1.2px;
    margin: 0 0 0.5rem 0;
    color: var(--fg);
}

.mag-section .section-intro {
    margin: 0.75rem auto 1.5rem;
    font-weight: 300;
    text-align: justify;
    -webkit-column-span: all;
    column-span: all;
    break-inside: avoid;
    column-count: 1;
    -webkit-column-count: 1;
}

.mag-section .section-header img {
    display: block;
    margin: auto;
    width: 100%;
    height: 500px;
    margin-block: 0.5rem;
    object-fit: cover;
}

.mag-section .section-body {
    column-count: 1;
    column-gap: 1.5rem;
}

@media (max-width: 768px) {
    .magazine {
        margin: 1rem;
    }

    .mag-section {
        margin: 1.5rem 0;
    }

    .mag-section .section-title {
        font-size: 34px;
    }

    .mag-section .section-header img {
        height: 260px;
    }

    .mag-section .section-body p,
    .mag-section .section-intro {
        text-align: left;
    }
}

@media (min-width: 667px) {
    .mag-section .section-body {
        column-count: 2;
    }

    .mag-section .section-title {
        font-size: 50px;
    }

    .mag-section .section-divider {
        width: 339px;
        height: 24px;
    }
}

.mag-section .section-body p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 1rem;
    text-align: justify;
}

/* Images & figures centered and kept together */
.mag-section .section-body figure {
    text-align: center;
    margin: 1rem 0;
    break-inside: avoid;
}

.mag-section .section-body img {
    display: block;
    margin: auto;
    max-width: 100%;
    height: auto;
    margin-block: 0.5rem;
}

.mag-section .section-body figcaption {
    font-size: 0.9rem;
    color: #555;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Clear floats at the end of each paragraph block (safety) */
.mag-section .section-body p::after {
    content: "";
    display: block;
    clear: both;
}

/* Optional: an alternate band that spans full width between sections */
.mag-section.section--alt {
    -webkit-column-span: all;
    column-span: all;
    padding: 2rem 1rem;
    border-radius: 12px;
    background: #f7f7f7;
    break-inside: avoid;
}