/*
 * Project Photo - Generic Public Content Pages
 *
 * Content pages deliberately use the shared photographic background
 * and hero slideshow while keeping article content free of cards.
 */


/* ==========================================================================
   DARKER PHOTOGRAPHIC BACKGROUND
   ========================================================================== */

.public-content-page-background-overlay {
    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.52) 0%,
            rgba(0, 0, 0, 0.48) 38%,
            rgba(0, 0, 0, 0.72) 100%
        );
}


/* ==========================================================================
   PAGE HERO
   ========================================================================== */

.public-content-page-hero {
    position: relative;
    z-index: 1;
}


/* ==========================================================================
   FLOWING ARTICLE CONTENT
   ========================================================================== */

.public-content-page-article {
    position: relative;
    z-index: 1;

    max-width: 980px;

    margin:
        0
        auto;

    padding:
        clamp(60px, 8vw, 110px)
        clamp(24px, 6vw, 70px)
        clamp(80px, 10vw, 140px);
}

.public-content-page-section {
    max-width: 780px;

    margin:
        0
        0
        clamp(54px, 7vw, 90px);
}

.public-content-page-section:last-child {
    margin-bottom: 0;
}

.public-content-page-section h2 {
    max-width: 760px;

    margin:
        0
        0
        28px;

    color: #ffffff;

    font-size:
        clamp(
            1.9rem,
            4vw,
            3.2rem
        );

    line-height: 1.08;

    letter-spacing: -0.025em;
}

.public-content-page-section h3 {
    margin:
        44px
        0
        18px;

    color: #ffffff;

    font-size:
        clamp(
            1.35rem,
            2.5vw,
            1.9rem
        );

    line-height: 1.2;
}

.public-content-page-section p {
    margin:
        0
        0
        24px;

    color:
        rgba(255, 255, 255, 0.88);

    font-size:
        clamp(
            1rem,
            1.6vw,
            1.14rem
        );

    line-height: 1.78;
}

.public-content-page-section p:last-child {
    margin-bottom: 0;
}

.public-content-page-section ul,
.public-content-page-section ol {
    margin:
        0
        0
        28px;

    padding-left: 1.5em;

    color:
        rgba(255, 255, 255, 0.88);

    font-size:
        clamp(
            1rem,
            1.6vw,
            1.14rem
        );

    line-height: 1.75;
}

.public-content-page-section li {
    margin-bottom: 10px;
}

.public-content-page-section a {
    color: #ffffff;

    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

.public-content-page-section figure {
    margin:
        clamp(38px, 6vw, 70px)
        0;
}

.public-content-page-section figure img,
.public-content-page-section > img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 2px;
}

.public-content-page-section figcaption {
    margin-top: 10px;

    color:
        rgba(255, 255, 255, 0.58);

    font-size: 0.88rem;

    line-height: 1.5;
}

.public-content-page-empty {
    margin: 0;

    color:
        rgba(255, 255, 255, 0.72);

    font-size: 1.05rem;
}


/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 700px) {

    .public-content-page-background-overlay {
        background:
            linear-gradient(
                to bottom,
                rgba(0, 0, 0, 0.58) 0%,
                rgba(0, 0, 0, 0.54) 38%,
                rgba(0, 0, 0, 0.78) 100%
            );
    }

    .public-content-page-article {
        padding:
            54px
            22px
            90px;
    }

    .public-content-page-section {
        margin-bottom: 54px;
    }

}
