/* E. Henry Eckhardt — Poetry page. Scoped to .hp-poetry */
.poetry-page {
    overflow-x: clip;
}

.hp-poetry {
    --hp-navy: #101b2c;
    --hp-deep: #17263a;
    --hp-gold: #d4b778;
    --hp-cream: #f8f5ed;
    --hp-ink: #243348;
    --hp-muted: #6c7888;
    color: var(--hp-ink);
    overflow: hidden;
}

.hp-poetry *,
.hp-poetry *::before,
.hp-poetry *::after {
    box-sizing: border-box;
}

.hp-poetry h1,
.hp-poetry h2,
.hp-poetry h3,
.hp-poetry blockquote {
    font-family: Georgia, "Times New Roman", serif;
}

.hp-poetry em {
    font-style: italic;
    font-weight: 400;
    color: var(--hp-gold);
}

.hp-poetry a {
    text-decoration: none;
}

.hp-poetry a:focus-visible,
.hp-poetry button:focus-visible,
.hp-poetry input:focus-visible {
    outline: 3px solid var(--hp-gold);
    outline-offset: 4px;
}

.hp-kicker {
    display: block;
    margin-bottom: 15px;
    letter-spacing: 0.2em;
    font-size: 11px;
    font-weight: 800;
    color: #a5854d;
}

.hp-section-intro {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px;
}

.hp-section-intro h2,
.hp-poems-head h2 {
    font-size: clamp(34px, 4.4vw, 57px);
    color: var(--hp-navy);
    letter-spacing: -0.035em;
    line-height: 1.12;
    margin: 0 0 16px;
}

.hp-section-intro h2 em,
.hp-poems-head h2 em {
    color: #a5854d;
}

.hp-section-intro p,
.hp-poems-head p {
    color: var(--hp-muted);
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

/* HERO */
.hp-hero {
    position: relative;
    isolation: isolate;
    height: auto;
    min-height: 420px;
    display: flex;
    align-items: center;
    padding: 30px 0;
    background: var(--hp-navy);
    overflow: hidden;
}

.hp-hero-image,
.hp-hero-shade {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hp-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hp-hero-shade {
    z-index: -1;
    background:
        linear-gradient(90deg,
            rgba(11, 21, 36, 0.93) 0%,
            rgba(13, 25, 43, 0.79) 42%,
            rgba(13, 25, 43, 0.28) 100%),
        linear-gradient(0deg, rgba(10, 20, 35, 0.35), transparent 55%);
}

.hp-hero-inner {
    position: relative;
    width: 100%;
}

.hp-hero-copy {
    max-width: 710px;
    animation: hpRise 0.85s ease both;
}

.hp-overline {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: #e3c88e;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.24em;
    margin-bottom: 22px;
}

.hp-overline-rule {
    width: 39px;
    height: 1px;
    background: var(--hp-gold);
}

.hp-hero h1 {
    color: white;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.05;
    letter-spacing: -0.047em;
    max-width: 730px;
    margin: 14px 0;
    text-wrap: balance;
}

.hp-hero h1 em {
    color: #e9d19a;
}

.hp-hero-subtitle {
    color: #e9d19a;
    text-transform: uppercase;
    letter-spacing: 0.17em;
    font-size: 12px;
    font-weight: 700;
    margin: 0 0 25px;
}

.hp-hero-desc {
    font-size: clamp(15px, 1.35vw, 18px);
    line-height: 1.85;
    color: #dae0e7;
    max-width: 540px;
    margin: 0 0 30px;
}

.hp-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px 27px;
}

.hp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 51px;
    padding: 14px 23px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 750;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease,
        color 0.3s ease;
}

.hp-button:hover {
    transform: translateY(-3px);
}

.hp-button-gold {
    background: var(--hp-gold);
    color: var(--hp-navy);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.hp-button-gold:hover {
    background: #edd39b;
    color: var(--hp-navy);
    box-shadow: 0 17px 32px rgba(0, 0, 0, 0.22);
}

.hp-button-navy {
    background: var(--hp-navy);
    color: #f0d9aa;
}

.hp-button-navy:hover {
    background: #263d56;
    color: white;
    box-shadow: 0 13px 25px rgba(16, 27, 44, 0.15);
}

.hp-text-link {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 13px;
    font-weight: 700;
    color: white;
    border-bottom: 1px solid rgba(212, 183, 120, 0.6);
    padding-bottom: 7px;
    transition:
        color 0.3s ease,
        gap 0.3s ease;
}

.hp-text-link:hover {
    color: #e8cc93;
    gap: 17px;
}

.hp-hero-accent {
    position: absolute;
    right: 1rem;
    bottom: -45px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e1c68f;
    font-size: 10px;
    letter-spacing: 0.17em;
}

.hp-hero-accent span:first-child {
    font-size: 26px;
}

/* COLLECTION */
.hp-collection {
    padding: 105px 0 112px;
    background: linear-gradient(180deg, #faf8f2 0%, #f3efe5 100%);
    scroll-margin-top: 80px;
}

.hp-collection-layout {
    display: grid;
    grid-template-columns: minmax(220px, 0.95fr) minmax(290px, 1.2fr) minmax(190px,
            0.7fr);
    align-items: center;
    gap: clamp(25px, 4vw, 65px);
}

.hp-collection-cover {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
}

.hp-cover-halo {
    position: absolute;
    width: 85%;
    aspect-ratio: 1;
    background: radial-gradient(circle,
            rgba(212, 183, 120, 0.26),
            rgba(212, 183, 120, 0.03) 66%,
            transparent 67%);
    border: 1px solid rgba(187, 156, 95, 0.17);
    border-radius: 50%;
}

.hp-collection-cover img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 295px;
    max-height: 410px;
    object-fit: contain;
    filter: drop-shadow(0 26px 25px rgba(16, 27, 44, 0.24));
    transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hp-collection-cover:hover img {
    transform: translateY(-10px) rotate(-2deg);
}

.hp-cover-caption {
    position: absolute;
    bottom: 0;
    color: #95784a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.21em;
}

.hp-collection-copy h3 {
    font-size: clamp(43px, 4.3vw, 65px);
    color: var(--hp-navy);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin: 0 0 24px;
}

.hp-collection-copy h3 span {
    display: block;
    font-style: italic;
    font-weight: 400;
    color: #a5854d;
}

.hp-gold-stroke {
    width: 55px;
    height: 2px;
    background: var(--hp-gold);
    margin-bottom: 23px;
}

.hp-collection-copy p {
    font-size: 16px;
    line-height: 1.85;
    color: #4f5d6d;
    margin: 0 0 16px;
}

.hp-collection-copy .hp-collection-note {
    color: #7a8390;
    font-size: 14px;
    margin-bottom: 28px;
}

.hp-collection-pullquote {
    position: relative;
    border-left: 1px solid #d8c5a0;
    padding: 18px 0 18px 27px;
}

.hp-collection-pullquote>i {
    font-size: 38px;
    color: #c2a269;
}

.hp-collection-pullquote blockquote {
    font-size: clamp(20px, 2vw, 27px);
    font-style: italic;
    color: #38465b;
    line-height: 1.5;
    margin: 4px 0 16px;
}

.hp-collection-pullquote p {
    font-size: 12px;
    color: #8d7448;
    margin: 0;
}

/* POEMS */
.hp-poems {
    padding: 110px 0 120px;
    background: #fff;
    scroll-margin-top: 80px;
}

.hp-poems-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 25px;
    margin-bottom: 42px;
}

.hp-poems-head p {
    max-width: 315px;
    padding-bottom: 9px;
}

.hp-poems-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.hp-poem-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 390px;
    padding: 28px 25px 26px;
    background: #fcfaf6;
    border: 1px solid #ece5d9;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(16, 27, 44, 0.035);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.hp-poem-card:nth-child(even) {
    background: #f6f4ef;
}

.hp-poem-card:hover {
    transform: translateY(-8px);
    border-color: #d4b778;
    box-shadow: 0 19px 40px rgba(16, 27, 44, 0.1);
}

.hp-poem-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #a38655;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    margin-bottom: 28px;
}

.hp-poem-top i {
    font-size: 21px;
}

.hp-poem-card h3 {
    font-size: clamp(23px, 2vw, 29px);
    line-height: 1.23;
    letter-spacing: -0.025em;
    color: var(--hp-navy);
    margin: 0 0 22px;
}

.hp-poem-divider {
    width: 42px;
    height: 2px;
    background: var(--hp-gold);
    margin-bottom: 22px;
}

.hp-poem-card p {
    color: #556172;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    line-height: 1.85;
    margin: 0 0 24px;
}

.hp-excerpt-tag {
    margin-top: auto;
    color: #967950;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

/* QUOTE */
.hp-quote {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 410px;
    padding: 80px 0;
    background: var(--hp-navy);
    text-align: center;
}

.hp-quote>img,
.hp-quote-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hp-quote-shade {
    z-index: -1;
    background:
        linear-gradient(100deg, rgba(12, 24, 40, 0.83), rgba(12, 24, 40, 0.64)),
        rgba(12, 24, 40, 0.2);
}

.hp-quote .hp-kicker {
    color: #e6cc96;
}

.hp-quote blockquote {
    margin: 0 auto 20px;
    max-width: 850px;
    color: #fff;
    font-size: clamp(28px, 4.4vw, 53px);
    line-height: 1.3;
    font-style: italic;
    letter-spacing: -0.025em;
}

.hp-quote cite {
    font-size: 13px;
    color: #e6cc96;
    font-style: normal;
    letter-spacing: 0.1em;
}

/* VALUES */
.hp-values {
    padding: 105px 0 115px;
    background: #f8f6f0;
}

.hp-values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.hp-value {
    padding: 30px 23px;
    border-radius: 19px;
    background: #fff;
    border: 1px solid #eae4d9;
    text-align: center;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.hp-value:hover {
    transform: translateY(-6px);
    box-shadow: 0 17px 35px rgba(16, 27, 44, 0.08);
}

.hp-value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f3e9d2;
    color: #9f7e40;
    font-size: 25px;
}

.hp-value h3 {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--hp-navy);
    font-size: 21px;
    margin: 0 0 12px;
}

.hp-value p {
    color: #6d7988;
    font-size: 13px;
    line-height: 1.75;
    margin: 0;
}

/* NEWSLETTER */
.hp-newsletter {
    padding: 90px 0;
    background: linear-gradient(120deg, #101b2c, #203550);
    border-top: 2px solid #b89a64;
}

.hp-newsletter-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 50px;
}

.hp-newsletter .hp-kicker {
    color: #e1c38b;
}

.hp-newsletter h2 {
    font-size: clamp(36px, 4vw, 56px);
    color: white;
    line-height: 1.1;
    letter-spacing: -0.035em;
    margin: 0 0 18px;
}

.hp-newsletter h2 em {
    color: #e4c78e;
}

.hp-newsletter-copy p {
    color: #c7d0dc;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.hp-subscribe-form {
    min-width: 0;
}

.hp-subscribe-field {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 8px;
    padding: 7px 7px 7px 19px;
    background: white;
    border: 1px solid rgba(212, 183, 120, 0.4);
    border-radius: 16px;
}

.hp-subscribe-field>i {
    flex-shrink: 0;
    color: #a58752;
    font-size: 19px;
}

.hp-subscribe-field input {
    flex: 1;
    min-width: 0;
    width: 100%;
    padding: 10px;
    border: none;
    background: transparent;
    color: var(--hp-navy);
    font-size: 14px;
    outline: none;
}

.hp-subscribe-field input:focus-visible {
    outline: 2px solid #d4b778;
    outline-offset: -2px;
    border-radius: 6px;
}

.hp-subscribe-field button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-shrink: 0;
    min-height: 47px;
    padding: 12px 19px;
    border: 0;
    border-radius: 11px;
    background: var(--hp-gold);
    color: var(--hp-navy);
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.hp-subscribe-field button:hover {
    background: #edd49f;
    transform: translateY(-1px);
}

.hp-subscribe-hint {
    color: #b5c0cf;
    font-size: 12px;
    margin: 12px 0 0;
}

.hp-subscribe-error {
    color: #ffe0d7;
    font-size: 12px;
    margin: 10px 0 0;
}

@keyframes hpRise {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1199px) {
    .hp-collection-layout {
        grid-template-columns: minmax(220px, 0.85fr) minmax(250px, 1.15fr);
    }

    .hp-collection-pullquote {
        grid-column: 1/-1;
        max-width: 680px;
        margin: 0 auto;
        text-align: center;
        border-left: 0;
        border-top: 1px solid #d8c5a0;
        padding: 20px 0 0;
    }

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

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

    .hp-poem-card {
        min-height: 320px;
    }
}

@media (max-width: 767px) {
    .hp-hero {
        min-height: 380px;
        padding: 28px 0;
    }

    .hp-hero-shade {
        background: linear-gradient(90deg,
                rgba(11, 21, 36, 0.91),
                rgba(11, 21, 36, 0.67));
    }

    .hp-hero h1 {
        font-size: clamp(32px, 8vw, 42px);
    }

    .hp-hero-accent {
        display: none;
    }

    .hp-collection,
    .hp-poems,
    .hp-values {
        padding: 75px 0;
    }

    .hp-section-intro {
        margin-bottom: 35px;
    }

    .hp-collection-layout {
        grid-template-columns: 1fr;
        gap: 37px;
    }

    .hp-collection-cover {
        min-height: 310px;
    }

    .hp-collection-cover img {
        max-height: 315px;
    }

    .hp-collection-copy {
        text-align: center;
    }

    .hp-gold-stroke {
        margin-left: auto;
        margin-right: auto;
    }

    .hp-collection-pullquote {
        grid-column: auto;
    }

    .hp-poems-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .hp-poems-head p {
        max-width: 550px;
    }

    .hp-newsletter-inner {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .hp-newsletter {
        padding: 70px 0;
    }
}

@media (max-width: 520px) {
    .hp-hero {
        min-height: 570px;
    }

    .hp-hero h1 {
        font-size: clamp(43px, 11vw, 58px);
    }

    .hp-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hp-hero-actions .hp-button {
        width: 100%;
    }

    .hp-text-link {
        align-self: center;
    }

    .hp-poems-grid,
    .hp-values-grid {
        grid-template-columns: 1fr;
    }

    .hp-poem-card {
        min-height: auto;
        padding: 27px 23px;
    }

    .hp-value {
        padding: 28px 22px;
    }

    .hp-subscribe-field {
        flex-wrap: wrap;
    }

    .hp-subscribe-field input {
        flex-basis: calc(100% - 40px);
    }

    .hp-subscribe-field button {
        flex-basis: 100%;
    }

    .hp-quote {
        min-height: 350px;
        padding: 65px 0;
    }
}

@media (prefers-reduced-motion: reduce) {

    .hp-poetry *,
    .hp-poetry *::before,
    .hp-poetry *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

.poetry-empty {
    grid-column: 1 / -1;
    padding: clamp(36px, 7vw, 72px) 24px;
    border: 1px solid #e6dac0;
    border-radius: 22px;
    background: radial-gradient(ellipse at top, #fffdf7, #f4eee1);
    box-shadow: 0 12px 32px rgba(16, 27, 44, 0.06);
    text-align: center;
}

.poetry-empty-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    border: 1px solid #d4b778;
    border-radius: 50%;
    background: #101b2c;
    color: #d4b778;
    font-size: 25px;
    line-height: 1;
}

.poetry-empty p {
    margin: 0;
    color: #101b2c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(22px, 4vw, 34px);
    line-height: 1.25;
}

.poetry-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    border: 1px solid #e6dac0;
    border-radius: 22px;
    background: #fffdf7;
    box-shadow: 0 12px 32px rgba(16, 27, 44, 0.08);
}

.poetry-card-image {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    padding: 16px;
    background: #f4eee1;
}

.poetry-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
}

.poetry-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: clamp(20px, 4vw, 32px);
    overflow-wrap: anywhere;
}

.poetry-card .poetry-card-title {
    margin: 0 0 16px;
    color: #101b2c;
    font:
        700 clamp(22px, 3vw, 30px) / 1.2 Georgia,
        serif;
}

.poetry-card .poetry-card-verse {
    margin: 0 0 24px;
    color: #37465a;
    font:
        17px / 1.75 Georgia,
        serif;
    white-space: pre-wrap;
}

.poetry-card .poetry-card-author {
    margin: auto 0 0;
    padding-top: 14px;
    border-top: 1px solid #e6dac0;
    color: #765b29;
    font:
        italic 16px / 1.5 Georgia,
        serif;
}

.poetry-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 24px;
    box-sizing: border-box;
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: 24px;
}

.poetry-grid>.poetry-card {
    box-sizing: border-box;
    flex: 0 0 calc((100% - 72px) / 4);
    min-width: 0;
    max-width: 380px;
    height: auto;
}

.poetry-grid>.poetry-empty {
    width: 100%;
}

@media (max-width: 1100px) {
    .poetry-grid>.poetry-card {
        flex-basis: calc((100% - 48px) / 3);
    }
}

@media (max-width: 800px) {
    .poetry-grid>.poetry-card {
        flex-basis: calc((100% - 24px) / 2);
    }
}

@media (max-width: 520px) {
    .poetry-grid>.poetry-card {
        flex-basis: 100%;
    }
}

.poetry-card-image {
    box-sizing: border-box;
    height: 200px;
    padding: 16px;
    overflow: hidden;
    background: #f4eee1;
}

.poetry-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.poem-rich-text {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.8;
}

.poem-rich-text p {
    margin: 0;
    min-height: 1.8em;
    white-space: pre-wrap;
    line-height: inherit;
}

.poem-rich-text> :first-child {
    margin-top: 0;
}

.poem-rich-text> :last-child {
    margin-bottom: 0;
}

.poem-rich-text h2,
.poem-rich-text h3 {
    color: #101b2c;
    font-family: Georgia, serif;
    line-height: 1.3;
    margin: 18px 0 10px;
}

.poem-rich-text ul,
.poem-rich-text ol {
    margin: 12px 0;
    padding-left: 26px;
}

.poem-rich-text li {
    white-space: pre-wrap;
    margin: 4px 0;
}

.poem-rich-text a {
    color: #987332;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.poem-rich-text blockquote {
    margin: 16px 0;
    padding: 8px 18px;
    border-left: 3px solid #d4b778;
    color: #536071;
}

.poem-rich-text pre {
    max-width: 100%;
    margin: 16px 0;
    padding: 16px;
    border-radius: 10px;
    background: #f7f4ed;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.poem-plain-text {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    line-height: 1.8;
}

/* POETRY COLLECTION */
.hp-poems-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    padding: 35px 0 60px;
}

.hp-poem-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e9e0d0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 35px rgb(16 27 44 / 5%);
}

.hp-poem-image-link {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f7f4ed;
}

.hp-poem-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-poem-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    padding: 24px;
}

.hp-poem-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #987332;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
    line-height: 1.6;
}

.hp-poem-title {
    margin: 0 0 16px;
    color: #101b2c;
    font-family: Georgia, serif;
    font-size: 25px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.hp-poem-title a {
    color: inherit;
    text-decoration: none;
}

.hp-poem-title a:hover {
    color: #987332;
}

/* Three lines of formatted preview */
.hp-poem-card .hp-poem-excerpt {
    display: block;
    max-height: 5.4em;
    margin: 0 0 22px;
    overflow: hidden;
    color: #687587;
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.hp-poem-preview-rich {
    white-space: normal;
}

.hp-poem-preview-plain {
    white-space: pre-wrap;
}

.hp-poem-preview-rich p {
    min-height: 1.8em;
    margin: 0;
    white-space: pre-wrap;
    line-height: inherit;
}

.hp-poem-preview-rich h2,
.hp-poem-preview-rich h3 {
    margin: 0;
    color: #101b2c;
    font-family: Georgia, serif;
    font-size: inherit;
    font-weight: 700;
    line-height: inherit;
}

.hp-poem-preview-rich ul,
.hp-poem-preview-rich ol {
    margin: 0;
    padding-left: 24px;
}

.hp-poem-preview-rich li {
    margin: 0;
    white-space: pre-wrap;
    line-height: inherit;
}

.hp-poem-preview-rich a {
    color: #987332;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hp-poem-preview-rich blockquote {
    margin: 0;
    padding-left: 12px;
    border-left: 3px solid #d4b778;
}

.hp-poem-preview-rich pre {
    margin: 0;
    padding: 0;
    background: #f7f4ed;
    white-space: pre-wrap;
    line-height: inherit;
}

.hp-poem-author {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #eee7dc;
    color: #687587;
    font-size: 12px;
    line-height: 1.6;
}

.hp-poem-author i {
    color: #a17b35;
}

.hp-poem-read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    gap: 9px;
    margin-top: 20px;
    padding: 12px 16px;
    border: 1px solid #d4b778;
    border-radius: 8px;
    background: #d4b778;
    color: #101b2c;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .2s ease;
}

.hp-poem-read-more:hover {
    background: #e2c88f;
    color: #101b2c;
}

.hp-poem-read-more:focus-visible,
.hp-poem-title a:focus-visible,
.hp-poem-image-link:focus-visible,
.hp-poem-detail-navigation a:focus-visible {
    outline: 3px solid #b58c42;
    outline-offset: 4px;
}

.hp-poems-empty {
    grid-column: 1 / -1;
    padding: 55px 24px;
    border: 1px solid #e9e0d0;
    border-radius: 18px;
    background: #f8f5ef;
    text-align: center;
}

.hp-poems-empty > i {
    display: inline-block;
    margin-bottom: 16px;
    color: #a17b35;
    font-size: 36px;
}

.hp-poems-empty h3 {
    color: #101b2c;
    font-family: Georgia, serif;
}

.hp-poems-empty p {
    margin-bottom: 0;
    color: #687587;
}

/* FULL POEM PAGE */
.hp-poem-detail {
    padding: 45px 0 80px;
    background: #f8f5ef;
    color: #253347;
}

.hp-poem-detail-shell {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

.hp-poem-detail-navigation {
    margin-bottom: 28px;
}

.hp-poem-detail-navigation a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #536071;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.hp-poem-detail-navigation a:hover {
    color: #987332;
}

.hp-poem-detail-article {
    overflow: hidden;
    border: 1px solid #e9e0d0;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 50px rgb(16 27 44 / 5%);
}

.hp-poem-detail-heading {
    padding: 48px 48px 32px;
    text-align: center;
}

.hp-poem-detail-heading h1 {
    margin: 0 0 20px;
    color: #101b2c;
    font-family: Georgia, serif;
    font-size: clamp(30px, 4.5vw, 52px);
    font-weight: 500;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.hp-poem-detail-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 0;
    color: #687587;
    font-size: 14px;
}

.hp-poem-detail-author i {
    color: #a17b35;
}

.hp-poem-detail-image {
    margin: 0 32px;
    overflow: hidden;
    border-radius: 14px;
    background: #f7f4ed;
}

.hp-poem-detail-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* Complete poem, including stanza spacing */
.hp-poem-full-text {
    display: block;
    min-width: 0;
    max-height: none;
    padding: 40px 48px;
    overflow: visible;
    color: #435166;
    font-size: 16px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.hp-poem-full-plain {
    white-space: pre-wrap;
}

.hp-poem-full-rich {
    white-space: normal;
}

.hp-poem-full-rich p {
    min-height: 1.9em;
    margin: 0;
    white-space: pre-wrap;
    line-height: inherit;
}

.hp-poem-full-rich h2,
.hp-poem-full-rich h3 {
    margin: 26px 0 14px;
    color: #101b2c;
    font-family: Georgia, serif;
    line-height: 1.3;
}

.hp-poem-full-rich h2 {
    font-size: 30px;
}

.hp-poem-full-rich h3 {
    font-size: 25px;
}

.hp-poem-full-rich ul,
.hp-poem-full-rich ol {
    margin: 18px 0;
    padding-left: 28px;
}

.hp-poem-full-rich li {
    margin: 6px 0;
    white-space: pre-wrap;
}

.hp-poem-full-rich a {
    color: #987332;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hp-poem-full-rich blockquote {
    margin: 24px 0;
    padding: 12px 20px;
    border-left: 3px solid #d4b778;
    background: #f8f5ef;
    color: #536071;
}

.hp-poem-full-rich pre {
    max-width: 100%;
    margin: 20px 0;
    padding: 18px;
    border-radius: 10px;
    background: #f7f4ed;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.hp-poem-full-rich > :first-child {
    margin-top: 0;
}

.hp-poem-full-rich > :last-child {
    margin-bottom: 0;
}

.hp-poem-detail-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 22px;
    margin: 0 48px;
    padding: 26px 0 32px;
    border-top: 1px solid #e9e0d0;
}

.hp-poem-detail-footer > div > span {
    display: block;
    margin-bottom: 8px;
    color: #987332;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.hp-poem-detail-footer strong {
    color: #101b2c;
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: 500;
}

.hp-poem-detail-footer .hp-poem-read-more {
    margin-top: 0;
}

@media (max-width: 1100px) {
    .hp-poems-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 850px) {
    .hp-poems-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .hp-poem-detail {
        padding: 28px 0 55px;
    }

    .hp-poem-detail-heading {
        padding: 30px 22px 25px;
    }

    .hp-poem-detail-image {
        margin: 0 16px;
        border-radius: 10px;
    }

    .hp-poem-full-text {
        padding: 28px 22px;
        font-size: 15px;
    }

    .hp-poem-detail-footer {
        margin: 0 22px;
    }
}

@media (max-width: 575px) {
    .hp-poems-grid {
        grid-template-columns: minmax(0, 1fr);
        width: calc(100% - 32px);
        gap: 22px;
    }
}

/* Poetry hero: full image, centered text, no blue overlay */
.hp-poetry .hp-hero {
    display: grid;
    height: auto;
    min-height: 0;
    padding: 0;
    overflow: hidden;
}

.hp-poetry .hp-hero-image {
    position: relative;
    inset: auto;
    grid-area: 1 / 1;
    align-self: center;
    width: 100%;
    z-index: 0;
}

.hp-poetry .hp-hero-image img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    object-fit: contain;
    filter: none;
    transform: none;
    animation: none;
}

.hp-poetry .hp-hero-shade {
    display: none;
}

.hp-poetry .hp-hero-inner {
    position: relative;
    grid-area: 1 / 1;
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    padding-top: 40px;
    padding-bottom: 40px;
    text-align: center;
    z-index: 1;
}

.hp-poetry .hp-hero-copy {
    width: 100%;
    max-width: 800px;
    margin-inline: auto;
}

.hp-poetry .hp-hero h1,
.hp-poetry .hp-hero-desc {
    margin-inline: auto;
}

.hp-poetry .hp-hero .hp-overline,
.hp-poetry .hp-hero-actions {
    justify-content: center;
}

.hp-poetry .hp-hero-actions {
    align-items: center;
}

.hp-poetry .hp-hero-accent {
    display: none;
}

.hp-poetry .hp-hero h1,
.hp-poetry .hp-hero-subtitle,
.hp-poetry .hp-hero-desc,
.hp-poetry .hp-hero .hp-overline,
.hp-poetry .hp-hero .hp-text-link {
    text-shadow: 0 2px 8px rgba(0, 0, 0, .65);
}

@media (max-width: 767px) {
    .hp-poetry .hp-hero-inner {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .hp-poetry .hp-hero h1 {
        font-size: clamp(30px, 7vw, 42px);
    }

    .hp-poetry .hp-hero-desc {
        font-size: 15px;
    }
}
.hm-hero-copy {
    background: rgba(0, 0, 0, 0.35) !important;
    box-shadow: 0 0 60px 40px rgba(0, 0, 0, 0.35) !important;
    border-radius: 20px;
}

/* =========================================
   POETRY HERO - RESPONSIVE IMAGE
========================================= */

.hp-poetry .hp-hero-image picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hp-poetry .hp-hero-image img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    object-fit: contain;
}

/* Hero container shadow */
.hp-poetry .hp-hero-copy {
    background: rgba(0, 0, 0, 0.35) !important;
    box-shadow: 0 0 60px 40px rgba(0, 0, 0, 0.35) !important;
    border-radius: 20px;
}

/* Remove full-banner overlay */
.hp-poetry .hp-hero-shade {
    display: none !important;
}

/* Mobile hero */
@media (max-width: 767px) {

    .hp-poetry .hp-hero {
        position: relative;
        display: grid;
        min-height: 600px;
        min-height: 85svh;
        height: auto;
        overflow: hidden;
    }

    .hp-poetry .hp-hero-image {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        align-self: stretch;
        z-index: 0;
    }

    .hp-poetry .hp-hero-image picture {
        display: block;
        width: 100%;
        height: 100%;
    }

    .hp-poetry .hp-hero-image img {
        width: 100% !important;
        height: 100% !important;
        max-height: none !important;
        object-fit: cover !important;
        object-position: center center !important;
        display: block !important;
    }

    .hp-poetry .hp-hero-inner {
        position: relative;
        width: 100%;
        padding: 40px 20px;
        text-align: center;
        z-index: 1;
    }

    .hp-poetry .hp-hero-copy {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .hp-poetry .hp-hero-actions {
        justify-content: center;
        align-items: center;
    }
}
