/* HOMEPAGE*/
.homepage-in-focus__container {
    max-height: 40rem;
    display: flex;
    overflow: hidden;

    @media only screen and (max-width: 1200px) {
        display: flex;
        flex-direction: column;
        max-height: none;
    }
}

/* News grid with Media in Focus placed in the center */
.homepage-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: dense;
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.15);

    @media only screen and (max-width: 900px) {
        grid-template-columns: 1fr;
    }
}

.home-in-focus-media-and-text {
    grid-column: 2 / 4;
    grid-row: 2 / 3;
    display: grid;
    position: relative;
    grid-template-rows: 1fr auto;
    max-height: 32rem;
    overflow: visible;

    @media only screen and (max-width: 900px) {
        grid-column: 1;
        grid-row: auto;
        display: block;
        max-height: none;
    }
}

.home-in-focus-media-and-text__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    grid-row: 1 / -1;
    grid-column: 1;

    @media only screen and (max-width: 900px) {
        height: auto;
    }
}

.home-in-focus-media-and-text__text-box {
    grid-row: 2;
    grid-column: 1;
    background: rgba(132, 0, 50, 0.72);
    color: white;
    padding: 1rem 2rem;
    line-height: 1.4;
    text-align: center;
    z-index: 1;
}

.home-in-focus-media-and-text__label {
    position: absolute;
    top: -2rem;
    right: 0;
    z-index: 2;
    background: var(--primary-color);
    color: white;
    font-family: var(--secondary-text);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.6rem 1rem;
}

.home-in-focus-media-and-text__text-box p {
    font-size: 1rem;
}

.homepage-in-focus__image-wrap {
    position: relative; /* anchor for the overlay */
    width: 100%;
    overflow: hidden;
    height: 500px;

    @media only screen and (max-width: 1200px) {
        height: 25rem;
    }
}
.homepage-in-focus__image-wrap::after {
    content: "";
    position: absolute;
    inset: 0; /* cover the whole image */
    background: linear-gradient(
        to top,
        rgba(59, 7, 100, 0.85) 0%,
        rgba(59, 7, 100, 0.3) 45%,
        transparent 75%
    );
    pointer-events: none; /* clicks still reach anything below */
}

.homepage-in-focus__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0px 2px 10px rgba(61, 97, 136, 0.4);

    @media only screen and (min-width: 301px) and (max-width: 1200px) {
        width: 100%;
        max-height: 25rem;
    }
}

/* Overlay pinned to the bottom of the in-focus image */
.homepage-in-focus__overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1; /* sit above the gradient ::after */
    padding: 2rem;
    color: #fff;
}

/* IN FOCUS chip: purple pill with a small white dot before the text */
.homepage-in-focus__chip {
    display: inline-flex;
    align-items: center;
    background: #7c3aed;
    color: #fff;
    font-family: var(--secondary-text);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border-radius: 0;
}
.homepage-in-focus__chip::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-right: 0.5rem;
    border-radius: 50%;
    background: #fff;
}

/* Date + read-more on a single row below the title */
.homepage-in-focus__meta-row {
    display: flex;
    align-items: center;
    gap: 1rem; /* keep read-more right next to the date */
}
.homepage-in-focus__date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.58);
}
.homepage-in-focus__read-more {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #fff;
    font-size: 0.65rem;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 0;
}
.homepage-in-focus__read-more:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* HERO: in-focus image (left) + upcoming events panel (right) */
.homepage-hero {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    column-gap: 0.25rem;
    padding: 2rem 7rem 0.25rem 7rem;
    align-items: stretch;

    @media only screen and (max-width: 1200px) {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
}

/* No events -> in-focus image spans full width */
.homepage-hero--no-events {
    grid-template-columns: 1fr;
}

/* NEWS: featured card + mid image cards + "more latest" dark sidebar */
.homepage-news {
    padding: 2.5rem 7rem 3rem;

    @media only screen and (max-width: 1200px) {
        padding: 1.5rem 1rem 2rem;
    }
}
.homepage-news__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid #1a1015;
}
.homepage-news__label {
    margin: 0;
    font-family: "Roboto", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #1a1015;
}
.homepage-news__rule {
    flex-grow: 1;
    height: 1px;
    background: rgba(26, 16, 21, 0.1);
}
.homepage-news__all {
    font-family: "Roboto", sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #3b0764;
    text-decoration: none;
}
.homepage-news__all:hover {
    opacity: 0.8;
}
.homepage-news__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 300px;
    gap: 20px;
    align-items: start;

    @media only screen and (max-width: 1100px) {
        grid-template-columns: 1fr 1fr;
    }
    @media only screen and (max-width: 760px) {
        grid-template-columns: 1fr;
    }
}

/* Featured */
.news-featured {
    display: block;
    background: #f0ede8;
    overflow: hidden;
    text-decoration: none;
}
.news-featured:hover {
    opacity: 0.9;
}
.news-featured__image-wrap {
    display: block;
    height: 220px;
    overflow: hidden;
}
.news-featured__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.news-featured__body {
    display: block;
    padding: 18px 20px;
}
.news-featured__top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.news-chip {
    background: #7c3aed;
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 2px 6px;
}
.news-featured__date {
    font-family: "Roboto", sans-serif;
    font-size: 11px;
    color: #6b5f5a;
}
.news-featured__title {
    display: block;
    font-family: "Crimson Text", serif;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.28;
    color: #1a1015;
    margin-bottom: 9px;
}
.news-featured__summary {
    display: block;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #6b5f5a;
}

/* Middle column: small horizontal image cards */
.news-mid {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.news-mini {
    display: flex;
    height: 134px;
    background: #f0ede8;
    overflow: hidden;
    text-decoration: none;
}
.news-mini:hover {
    opacity: 0.9;
}
.news-mini__image-wrap {
    flex-shrink: 0;
    width: 130px;
    overflow: hidden;
}
.news-mini__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.news-mini__body {
    display: block;
    padding: 13px 15px;
}
.news-mini__meta {
    font-family: "Roboto", sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #3b0764;
}
.news-mini__title {
    display: block;
    margin-top: 5px;
    font-family: "Crimson Text", serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1015;
}

/* Sidebar: More Latest (dark) */
.news-more {
    display: flex;
    flex-direction: column;
    background: #1c1533;
    padding: 18px 20px 8px;
}
.news-more__label {
    display: block;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: "Roboto", sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}
.news-more__item {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
}
.news-more__item:last-child {
    border-bottom: none;
}
.news-more__item:hover {
    opacity: 0.8;
}
.news-more__meta {
    font-family: "Roboto", sans-serif;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #c4b5fd;
}
.news-more__title {
    display: block;
    margin-top: 4px;
    font-family: "Crimson Text", serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.9);
}

/* MEDIA IN FOCUS: featured photo + dark description panel */
.media-focus {
    background: #1a1015;
}
.media-focus__inner {
    padding: 0 7rem;

    @media only screen and (max-width: 900px) {
        padding: 0 1rem;
    }
}
.media-focus__head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 0 0;
}
.media-focus__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #7c3aed;
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 4px 10px;
}
.media-focus__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fff;
}
.media-focus__rule {
    flex-grow: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
}
.media-focus__meta {
    font-family: "Roboto", sans-serif;
    font-size: 10px;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.3);
}
.media-focus__body-wrap {
    padding: 20px 7rem 0;

    @media only screen and (max-width: 900px) {
        padding: 20px 1rem 0;
    }
}
.media-focus__body {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3px;
    height: 460px;

    @media only screen and (max-width: 900px) {
        grid-template-columns: 1fr;
        height: auto;
    }
}
.media-focus__image-wrap {
    position: relative;
    overflow: hidden;
    background: #2a1520;

    @media only screen and (max-width: 900px) {
        height: 240px;
    }
}
.media-focus__image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(26, 16, 21, 0.5) 0%,
        transparent 40%
    );
}
.media-focus__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.media-focus__panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: auto;
    background: #221018;
    padding: 32px 28px;
}
.media-focus__panel-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}
.media-focus__panel-label {
    font-family: "Roboto", sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #7c3aed;
}
.media-focus__panel-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}
.media-focus__panel-date {
    font-family: "Roboto", sans-serif;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.38);
}
.media-focus__title {
    margin: 0 0 16px;
    font-family: "Crimson Text", serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.28;
    color: #fff;
}
.media-focus__summary {
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    line-height: 1.72;
    color: rgba(255, 255, 255, 0.55);
}
.media-focus__summary p {
    margin: 0 0 0.8rem;
    font-size: 14px;
}

/* LIBRARY: dark section with featured text + 3 secondary cards */
.homepage-library {
    background: #120e1f;
    padding: 3rem 0 4rem;
}
.homepage-library__inner {
    padding: 0 7rem;

    @media only screen and (max-width: 1200px) {
        padding: 0 1rem;
    }
}
.homepage-library__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 2rem;
}
.homepage-library__label {
    margin: 0;
    font-family: "Roboto", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}
.homepage-library__rule {
    flex-grow: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}
.homepage-library__all {
    font-family: "Roboto", sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #c4b5fd;
    text-decoration: none;
}
.homepage-library__all:hover {
    opacity: 0.8;
}

/* Featured text */
.library-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 1px;
    text-decoration: none;

    @media only screen and (max-width: 760px) {
        grid-template-columns: 1fr;
    }
}
.library-featured:hover {
    opacity: 0.9;
}
.library-featured__image-wrap {
    position: relative;
    height: 320px;
    overflow: hidden;
}
.library-featured__image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 60%, #120e1f 100%);
}
.library-featured__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.library-featured__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #1c1533;
    padding: 40px 36px;
}
.library-featured__chip {
    align-self: flex-start;
    margin-bottom: 20px;
    padding: 2px 9px;
    background: #7c3aed;
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.library-featured__title {
    margin-bottom: 18px;
    font-family: "Crimson Text", serif;
    font-size: 32px;
    font-weight: 900;
    line-height: 1.07;
    color: #fff;
    overflow-wrap: anywhere;
}
.library-featured__author {
    margin-bottom: 28px;
    font-family: "Crimson Text", serif;
    font-style: italic;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.45);
}
.library-featured__more {
    align-self: flex-start;
    font-family: "Roboto", sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c4b5fd;
}

/* Three secondary text cards */
.homepage-library__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.08);

    @media only screen and (max-width: 760px) {
        grid-template-columns: 1fr;
    }
}
.library-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #120e1f;
    padding: 24px 22px 26px;
    text-decoration: none;
}
.library-card:hover {
    opacity: 0.8;
}
.library-card__top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.library-card__chip {
    align-self: flex-start;
    margin-bottom: 14px;
    padding: 2px 7px;
    background: rgba(124, 58, 237, 0.18);
    color: #c4b5fd;
    font-family: "Roboto", sans-serif;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.library-card__title {
    display: block;
    font-family: "Crimson Text", serif;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.24;
    color: #fff;
}
.library-card__author {
    display: block;
    margin-top: 18px;
    font-family: "Crimson Text", serif;
    font-style: italic;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.32);
}

/* Upcoming events panel (right side of hero) */
.events-panel {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 500px;
    background: #1c1533;

    @media only screen and (max-width: 1200px) {
        height: auto;
        max-height: 30rem;
    }
}
.events-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.events-panel__label {
    font-family: "Roboto", sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}
.events-panel__list {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.events-panel__item {
    display: flex;
    gap: 14px;
    align-items: baseline;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
}
.events-panel__item:hover {
    opacity: 0.8;
}
.events-panel__date {
    flex-shrink: 0;
    width: 36px;
    text-align: center;
}
.events-panel__day {
    display: block;
    font-family: "Crimson Text", serif;
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
    color: #fff;
}
.events-panel__month {
    font-family: "Roboto", sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #7c3aed;
}
.events-panel__title {
    display: block;
    margin-bottom: 3px;
    font-family: "Crimson Text", serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
}
.events-panel__location {
    font-family: "Roboto", sans-serif;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
}
.events-panel__foot {
    padding: 12px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: right;
}
.events-panel__all {
    font-family: "Roboto", sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #c4b5fd;
    text-decoration: none;
}
.events-panel__all:hover {
    opacity: 0.8;
}

/* LATEST: full-width 4-column grid of text cards on a dark panel */
.homepage-latest {
    padding: 0 7rem;

    @media only screen and (max-width: 1200px) {
        padding: 0 1rem;
    }
}
.homepage-latest__inner {
    background: #1c1533;
}
.homepage-latest__head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 18px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.homepage-latest__label {
    font-family: "Roboto", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}
.homepage-latest__rule {
    flex-grow: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
}
.homepage-latest__meta {
    font-family: "Roboto", sans-serif;
    font-size: 10px;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.22);
}
.homepage-latest__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px; /* thin dividers via the panel background showing through */
    background: rgba(255, 255, 255, 0.08);

    @media only screen and (max-width: 900px) {
        grid-template-columns: repeat(2, 1fr);
    }
    @media only screen and (max-width: 560px) {
        grid-template-columns: 1fr;
    }
}
.latest-card {
    display: block;
    background: #1c1533;
    padding: 20px 18px;
    text-decoration: none;
}
.latest-card:hover {
    opacity: 0.8;
}
.latest-card__top {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}
.latest-card__chip {
    font-family: "Roboto", sans-serif;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 2px 5px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.6);
}
.latest-card__chip--vesti {
    background: #7c3aed;
    color: #fff;
}
.latest-card__chip--intervju {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
}
.latest-card__date {
    font-family: "Roboto", sans-serif;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.28);
}
.latest-card__title {
    display: block;
    font-family: "Crimson Text", serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.88);
}

.homepage-in-focus__title-container {
    margin: 1rem 0;
}

.homepage-in-focus__title {
    font-family: var(--secondary-text);
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;

    @media only screen and (max-width: 1200px) {
        font-size: 1.8rem;
    }
}

.homepage-in-focus__title:hover {
    color: var(--link-color);
}

.homepage-in-focus__summary {
    position: relative;
    border-bottom: 1px solid white;
    color: black !important;
    line-height: 1.4rem;
    margin: 1rem 0;
}

.homepage-in-focus__summary p {
    font-size: 1rem;
}

.homepage-in-focus__meta {
    color: var(--primary-color);

    padding: 0.5rem 0rem 1rem;
    text-align: end;
}

.homepage-in-focus__meta span {
    font-size: 1rem;
}

.homepage-in-focus__tags {
    margin-bottom: 1rem;
    font-weight: 900;
}
.homepage-in-focus__tags .tag-link {
    color: rgba(255, 255, 255, 0.85);
    padding-left: 0;
    padding-right: 0.75rem;
}
.homepage-in-focus__tags .tag-link:hover {
    color: var(--link-color);
}

.homepage-in-focus__tags p {
    overflow-wrap: break-word;
}

.homepage-in-focus__tags p:first-child {
    margin-right: 1rem;
}

.homepage-in-focus__tags p:nth-child(2) a:first-child {
    padding-left: 0;
}

.homepage-in-focus__tag {
    display: inline-block;
    font-family: "Roboto";
    font-size: 1rem;
    margin-top: 0.5rem;
    color: white;
    text-transform: capitalize;
    padding-right: 0.5rem;
}

.homepage-in-focus__text-box {
    position: relative;
    width: 40%;
    padding: 0 2rem;
    padding-bottom: 4rem;

    @media only screen and (max-width: 1200px) {
        display: flex;
        flex-direction: column;
    }

    @media only screen and (min-width: 301px) and (max-width: 1200px) {
        width: 90%;
        padding: 0;
    }
}

.homepage-main-content {
    margin-top: 3rem;
}

.homepage-news-title {
    grid-column: 1 / -1;
    height: 2rem;
    margin-top: 0;
    font-family: "Crimson Text";
    padding-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.homepage-block-title {
    font-family: "Crimson Text";
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
    text-align: center;
    color: var(--secondary-color);
    letter-spacing: 0.15em;
}

.homepage-title-link {
    font-family: "Roboto";
    font-size: 1.1rem;
    text-decoration: none;
    /*text-transform: uppercase;*/
    color: black;
}

.homepage-title-link:hover {
    color: var(--secondary-color);
}

.homepage-event-block {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.homepage-event-block:last-child {
    border-bottom: none;
}

.homepage-event-block h3 {
    line-height: 1.2;
    padding-bottom: 0.5rem;
}

.homepage-event-detail {
    line-height: 1.4;
    font-size: 0.9rem;
    color: var(--secondary-color);
    padding: 0.15rem 0;
}

.homepage-event-icon {
    color: var(--primary-color);
    font-size: 0.5rem;
    vertical-align: middle;
    margin-right: 0.3rem;
}

.homepage-event-link {
    font-family: "Roboto";
    font-size: 1rem;
    text-decoration: none;
    font-weight: bold;
    color: var(--secondary-color);
    text-transform: uppercase;
}

.homepage-event-link:hover {
    color: var(--link-color);
}
.homepage-library-section__background {
    display: flex;
    /*padding: 0 10rem;*/
    height: auto;
    background: var(--primary-color);

    @media only screen and (max-width: 600px) {
        height: auto;
        flex-direction: column;
        padding: 2rem 0;
        /* @media only screen and (max-width: 1200px) {
          height: 50rem;
          margin-bottom: 5rem;
        } */
    }

    @media only screen and (min-width: 601px) and (max-width: 1200px) {
        height: 90rem;
        flex-direction: column;
    }
}

.homepage-library-section__title {
    font-family: "Roboto";
    padding: 2rem 0;
    color: var(--link-color);
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 2rem;

    @media only screen and (max-width: 1400px) {
        font-size: 2rem;
        grid-template-columns: 1fr;
        font-size: 2rem;
    }
}

.homepage-library-entry__title {
    margin-bottom: 2rem;

    @media only screen and (max-width: 900px) {
        margin-top: 3rem;
    }
}

.homepage-library-entry__title a {
    font-family: "Roboto";
    font-size: 2rem;
    color: var(--link-color);
    font-weight: bold;

    @media only screen and (max-width: 900px) {
        font-size: 1.2rem;
    }
}

.homepage-library-entry__title a:hover {
    color: var(--focus-color);
}

.homepage-library-section__left {
    width: 50%;
    /*padding: 0 4rem;*/
    /*margin-top: 6rem;*/

    @media only screen and (max-width: 900px) {
        display: flex;
        width: 50%;
        /*height: 25rem;*/
        width: 100%;
        padding: 0;
    }

    /* @media only screen and (max-width: 1400px) { */
    /*   width: 50%; */
    /*   margin-top: 15rem; */
    /*   padding: 0; */

    /* } */

    @media only screen and (min-width: 901px) and (max-width: 1400px) {
        width: 50%;
        /*height: 25rem;*/
        width: 100%;
        padding: 0;
    }
}

.homepage-library__image {
    width: 100%;
    height: 100%;
    vertical-align: middle;
    object-fit: cover;
    max-height: 50rem;

    @media only screen and (max-width: 900px) {
        width: 100%;
        height: 50rem;
        margin: 0 auto;
    }

    @media only screen and (min-width: 900px) and (max-width: 1200px) {
        width: 100%;
        height: 50rem;
        margin: 0 auto;
    }

    @media only screen and (min-width: 1600px) {
        width: 100%;
        height: 100%;
        margin: 0 auto;
        max-height: 40rem;
    }
}

.homepage-library-section__right {
    width: 60%;
    margin-top: 4rem;
    padding: 2rem 4rem;

    @media only screen and (max-width: 1200px) {
        width: 90%;
        margin: 0 auto;
        padding: 0;
    }
}

.homepage-library-summary {
    color: var(--link-color);
    line-height: 1.8rem;
    font-size: 1.2rem;
    font-style: italic;
}

.homepage-library-entry__author {
    font-family: "Crimson Text";
    font-size: 1.6rem;
    color: var(--link-color);
    font-weight: bold;
    padding-top: 2rem;
    padding-bottom: 0.5rem;
    display: flex;
    justify-content: flex-end;
    text-decoration: underline;
    text-decoration-color: var(--secondary-color);
}

/* ════════ Bespoke homepage Interview + Magazine sections (synced from design) ════════ */

/* Shared head + helpers */
.hp-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}
.hp-head__label {
    margin: 0;
    font-family: "Roboto", sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.hp-head__rule {
    flex-grow: 1;
    height: 1px;
}
.hp-head__all {
    font-family: "Roboto", sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-decoration: none;
}
.hp-head__all:hover {
    opacity: 0.7;
}
.hp-head--light .hp-head__label {
    color: #1a1015;
}
.hp-head--light .hp-head__rule {
    background: rgba(26, 16, 21, 0.12);
}
.hp-head--light .hp-head__all {
    color: #3b0764;
}
.hp-head--dark .hp-head__label {
    color: rgba(255, 255, 255, 0.35);
}
.hp-head--dark .hp-head__rule {
    background: rgba(255, 255, 255, 0.07);
}
.hp-head--dark .hp-head__all {
    color: #c4b5fd;
}
.hp-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hp-eyebrow {
    display: block;
    font-family: "Roboto", sans-serif;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.hp-eyebrow--purple {
    color: #3b0764;
}
.hp-eyebrow--light {
    color: #c4b5fd;
}

/* Interview: 2-col large + stacked list */
.hp-interview {
    background: #f5f0e8;
    padding: 3rem 0 3.25rem;
}
.hp-interview__inner {
    padding: 0 7rem;
}
.hp-interview__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
}
.hp-interview__lead {
    display: flex;
    flex-direction: column;
    background: #ede8e0;
    overflow: hidden;
    text-decoration: none;
}
.hp-interview__lead:hover {
    opacity: 0.9;
}
.hp-interview__lead-img {
    display: block;
    position: relative;
    height: 320px;
    overflow: hidden;
}
.hp-interview__lead-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(26, 16, 21, 0.55) 0%,
        transparent 55%
    );
}
.hp-interview__lead-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px 24px 28px;
}
.hp-interview__lead-text .hp-eyebrow {
    margin-bottom: 10px;
}
.hp-interview__lead-title {
    display: block;
    margin-bottom: 12px;
    font-family: "Crimson Text", serif;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.18;
    color: #1a1015;
}
.hp-interview__lead-excerpt {
    display: block;
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    font-style: italic;
    line-height: 1.65;
    color: #5a5050;
}
.hp-interview__date {
    display: block;
    margin-top: 16px;
    font-family: "Roboto", sans-serif;
    font-size: 9px;
    color: #8a7f7a;
}
.hp-interview__list {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.hp-interview__item {
    display: flex;
    flex-grow: 1;
    background: #ede8e0;
    overflow: hidden;
    text-decoration: none;
}
.hp-interview__item:hover {
    opacity: 0.9;
}
.hp-interview__item-img {
    flex-shrink: 0;
    width: 140px;
    overflow: hidden;
}
.hp-interview__item-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px 20px;
}
.hp-interview__item-body .hp-eyebrow {
    margin-bottom: 8px;
}
.hp-interview__item-title {
    display: block;
    font-family: "Crimson Text", serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.28;
    color: #1a1015;
}
.hp-interview__item-body .hp-interview__date {
    margin-top: 10px;
}

/* Magazine: dark asymmetric — 1 hero (2 rows) + 3 small */
.hp-magazine {
    background: #1a1015;
    padding: 3rem 0 3.5rem;
}
.hp-magazine__inner {
    padding: 0 7rem;
}
.hp-magazine__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3px;
}
.hp-magazine__hero {
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    background: #1c1030;
    overflow: hidden;
    text-decoration: none;
}
.hp-magazine__hero:hover {
    opacity: 0.9;
}
.hp-magazine__hero-img {
    display: block;
    position: relative;
    flex-grow: 1;
    min-height: 260px;
    overflow: hidden;
}
.hp-magazine__hero-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(59, 7, 100, 0.92) 0%,
        rgba(59, 7, 100, 0.2) 50%,
        transparent 80%
    );
}
.hp-magazine__hero-body {
    padding: 24px 22px 28px;
    background: #1c1030;
}
.hp-magazine__hero-body .hp-eyebrow {
    margin-bottom: 10px;
}
.hp-magazine__hero-title {
    display: block;
    margin-bottom: 10px;
    font-family: "Crimson Text", serif;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.18;
    color: #fff;
}
.hp-magazine__hero-excerpt {
    display: block;
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    font-style: italic;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.45);
}
.hp-magazine__card {
    display: block;
    background: #231520;
    overflow: hidden;
    text-decoration: none;
}
.hp-magazine__card:hover {
    opacity: 0.9;
}
.hp-magazine__card-img {
    display: block;
    position: relative;
    height: 180px;
    overflow: hidden;
}
.hp-magazine__card-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(26, 21, 32, 0.7) 0%,
        transparent 60%
    );
}
.hp-magazine__card-body {
    padding: 16px 18px 20px;
}
.hp-magazine__card-body .hp-eyebrow {
    margin-bottom: 7px;
}
.hp-magazine__card-title {
    display: block;
    font-family: "Crimson Text", serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.28;
    color: #fff;
}

@media only screen and (max-width: 1200px) {
    .hp-interview__inner,
    .hp-magazine__inner {
        padding: 0 1.5rem;
    }
}
@media only screen and (max-width: 760px) {
    .hp-interview__grid {
        grid-template-columns: 1fr;
    }
    .hp-magazine__grid {
        grid-template-columns: 1fr 1fr;
    }
    .hp-magazine__hero {
        grid-row: auto;
        grid-column: 1 / -1;
    }
}
@media only screen and (max-width: 520px) {
    .hp-magazine__grid {
        grid-template-columns: 1fr;
    }
}
