/*
 * 45 SOUTH — Editorial Category Pages.
 * Applied only when customization is enabled.
 * The regular portfolio appearance remains unchanged.
 */

.page-hero.south-category-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: clamp(500px, 73svh, 880px);
    overflow: hidden;
    background: #1b1c1c;
}

.south-category-hero__image {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.page-hero.south-category-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.58) 0%,
            rgba(0,0,0,.13) 82%
        ),
        linear-gradient(
            0deg,
            rgba(0,0,0,.72) 0%,
            rgba(0,0,0,.08) 80%
        );
}

.south-category-hero > .container {
    position: relative;
    z-index: 2;
    width: min(90%, 1500px);
}

.south-category-hero h1 {
    max-width: 1100px;
    text-wrap: balance;
}

.south-category-hero .page-intro {
    max-width: 740px;
    color: rgba(255,255,255,.89);
    line-height: 1.55;
}

.south-category-story {
    padding-top: 70px;
    padding-bottom: 40px;
}

.south-category-story p {
    max-width: 850px;
    margin: 0;
    color: #d4d3d0;
    font-size: clamp(17px, 1.8vw, 23px);
    line-height: 1.75;
}

@media (max-width: 700px) {
    .page-hero.south-category-hero {
        min-height: 75svh;
        padding-top: 155px;
        padding-bottom: 70px;
    }

    .south-category-story {
        padding-top: 45px;
        padding-bottom: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .south-category-hero__image {
        transition: none;
    }
}
