/* Extracted from ui/templates/components/news/news.html. Linked via sekizai so a page loads it once,
   however many instances it renders. */

.news-component,
.news-component * {
    font-family: "NYU Perstare", sans-serif;
    box-sizing: border-box;
}

.news-component {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.news-component__inner {
    width: 100%;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.news-component__heading {
    font-family: "NYU Perstare", sans-serif;
    font-size: clamp(42px, 3.47vw, 60px);
    line-height: 1.28;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.news-dynamic-title b,
.news-dynamic-title strong {
    color: #4B0082;
    font-weight: 900;
}

.news-dynamic-title p {
    display: inline;
    margin: 0;
}

.news-component__badge {
    font-family: "NYU Perstare", sans-serif;
    font-size: 13px;
    line-height: 17px;
    font-weight: 500;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

/* Pinned/featured story photo. 16:10 is a little taller than the old
   871:490 (~16:9) frame, so a typical 3:2 news photo loses less off its sides. */
.news-component__featured-img {
    aspect-ratio: 16 / 10;
}

.news-component__featured-title {
    font-family: "NYU Perstare", sans-serif;
    font-size: clamp(30px, 2.08vw, 36px);
    line-height: 1.28;
    font-weight: 600;
    letter-spacing: -0.04em;
}

.news-component__teaser {
    font-family: "NYU Perstare", sans-serif;
    font-size: 16px;
    line-height: 27px;
    font-weight: 400;
    letter-spacing: -0.04em;
    color: #000000;
}

.news-component__side-title {
    font-family: "NYU Perstare", sans-serif;
    font-size: clamp(24px, 1.62vw, 28px);
    line-height: 1.28;
    font-weight: 400;
    letter-spacing: -0.04em;
}

.news-component__date {
    font-family: "NYU Perstare", sans-serif;
    font-size: 13px;
    line-height: 17px;
    font-weight: 400;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: #000000;
}

/* Lift "View More" off the bottom of the sidebar so it sits roughly on
   the featured story's date line rather than level with the teaser. */
@media (min-width: 1024px) {
    .news-component__sidebar {
        padding-bottom: 3rem;
    }
}

.news-component__button {
    min-height: 66px;
    font-family: "NYU Perstare", sans-serif;
    font-size: 20px;
    line-height: 26px;
    font-weight: 500;
    letter-spacing: -0.04em;
}
