/* STK Public Newsroom */

.dynamic-news-page {
    min-height: 100vh;
    padding: 85px 30px 120px;
    background:
        linear-gradient(rgba(0,0,0,.84), rgba(0,0,0,.96)),
        url("images/stkbackround.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.news-loading-message {
    min-height: 24px;
    margin-bottom: 35px;
    text-align: center;
    opacity: .65;
}

.featured-news-section,
.all-news-section {
    width: min(1200px, 100%);
    margin: 0 auto 75px;
}

.dynamic-news-heading {
    margin-bottom: 26px;
    text-align: center;
}

.dynamic-news-heading h2 {
    margin-top: 8px;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.featured-news-card,
.public-news-card {
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,0)), #101010;
    border: 2px solid white;
    border-radius: 16px;
    transition: .3s ease;
}

.featured-news-card:hover,
.public-news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 38px rgba(0,0,0,.65), 0 0 24px rgba(255,255,255,.1);
}

.featured-news-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

.featured-news-image,
.public-news-image {
    background: #151515;
    overflow: hidden;
}

.featured-news-image {
    min-height: 420px;
}

.public-news-image {
    height: 220px;
}

.featured-news-image img,
.public-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    font-weight: bold;
    opacity: .35;
}

.featured-news-body,
.public-news-body {
    padding: 28px;
}

.featured-news-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.public-news-date {
    margin-bottom: 10px;
    font-size: .68rem;
    font-weight: bold;
    letter-spacing: 1.4px;
    opacity: .58;
}

.featured-news-body h3 {
    margin-bottom: 16px;
    font-size: clamp(2rem, 4vw, 3rem);
}

.public-news-body h3 {
    margin-bottom: 13px;
    font-size: 1.45rem;
}

.public-news-excerpt {
    line-height: 1.7;
    opacity: .72;
    white-space: pre-line;
}

.all-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.public-news-card {
    display: flex;
    flex-direction: column;
}

.public-news-body {
    flex: 1;
}

.dynamic-news-empty {
    grid-column: 1 / -1;
    padding: 60px 25px;
    background: rgba(10,10,10,.86);
    border: 1px dashed #666;
    border-radius: 12px;
    text-align: center;
    opacity: .66;
}

@media (max-width: 950px) {
    .featured-news-card {
        grid-template-columns: 1fr;
    }

    .featured-news-image {
        min-height: 300px;
    }

    .all-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .dynamic-news-page {
        padding: 65px 18px 90px;
        background-attachment: scroll;
    }

    .all-news-grid {
        grid-template-columns: 1fr;
    }

    .featured-news-image {
        min-height: 240px;
    }

    .featured-news-body,
    .public-news-body {
        padding: 22px 18px;
    }
}
