.ld-archive-wrap { padding-bottom: 72px; }
.ld-archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ld-archive-card { border: 1px solid var(--ld-border); border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, rgba(10,23,48,.82), rgba(5,13,30,.96)); box-shadow: var(--ld-shadow); transition: transform .2s ease, border-color .2s ease; }
.ld-archive-card:hover { transform: translateY(-4px); border-color: var(--ld-border-strong); }
.ld-archive-card__image { position: relative; display: block; aspect-ratio: 1.58/1; overflow: hidden; }
.ld-archive-card__image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .45s ease; }
.ld-archive-card:hover .ld-archive-card__image img { transform: scale(1.05); }
.ld-archive-card__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, rgba(3,7,20,.76)); }
.ld-archive-card__body { padding: 20px 20px 24px; }
.ld-archive-card__body h2 { margin: 0 0 10px; font-family: var(--ld-font-title); font-size: 29px; line-height: 1; }
.ld-archive-card__body p { margin: 0; color: var(--ld-muted); font-size: 14px; }
.ld-card-kicker { display: inline-block; margin-bottom: 8px; color: var(--ld-gold); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }


/* === v2.9.22 premium chapter archive === */
.post-type-archive-chapter .ld-page-hero,
.post-type-archive-chapter .ld-archive-wrap {
    display: none;
}

.ld-history-archive {
    position: relative;
    overflow: hidden;
    padding: 0 0 76px;
    background:
        radial-gradient(circle at 78% 18%, rgba(30,91,255,.14), transparent 32%),
        linear-gradient(180deg, #030714 0%, #071126 46%, #030714 100%);
}

.ld-history-archive::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(180deg, rgba(3,7,20,.08), rgba(3,7,20,.88) 76%, #030714 100%),
        linear-gradient(90deg, rgba(3,7,20,1) 0%, rgba(3,7,20,.92) 28%, rgba(3,7,20,.52) 48%, rgba(3,7,20,.18) 72%, rgba(3,7,20,.08) 100%),
        url('../img/history-archive-hero.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    opacity: .98;
    pointer-events: none;
    z-index: 0;
}

.ld-history-archive > * {
    position: relative;
    z-index: 1;
}

.ld-history-hero {
    min-height: 420px;
    display: flex;
    align-items: center;
    padding-top: 84px;
    padding-bottom: 62px;
}

.ld-history-hero__copy {
    max-width: 570px;
}

.ld-history-kicker {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--ld-gold);
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: 14px;
}

.ld-history-hero h1 {
    margin: 0;
    font-family: var(--ld-font-title);
    font-size: clamp(58px, 6vw, 96px);
    line-height: .92;
    color: #fff;
    letter-spacing: .045em;
    text-shadow: 0 4px 30px rgba(0,0,0,.28);
}

.ld-history-ornament {
    width: 360px;
    height: 22px;
    margin: 24px 0 24px;
    position: relative;
    background: linear-gradient(90deg, rgba(191,163,106,.86), rgba(191,163,106,.22), rgba(98,168,255,.72), rgba(191,163,106,.22), transparent);
    mask: linear-gradient(#000,#000) center/100% 1px no-repeat;
}

.ld-history-ornament::before {
    content: "";
    position: absolute;
    left: 52%;
    top: 50%;
    width: 12px;
    height: 12px;
    transform: translate(-50%, -50%) rotate(45deg);
    background: #7db8ff;
    box-shadow: 0 0 18px rgba(98,168,255,.72);
}

.ld-history-hero p {
    margin: 0;
    max-width: 560px;
    color: #d6e2ff;
    font-size: 18px;
    line-height: 1.7;
}

.ld-history-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: -44px;
}

.ld-history-stat {
    min-height: 112px;
    display: grid;
    grid-template-columns: 78px 1fr;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid rgba(191,163,106,.28);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(8,19,42,.76), rgba(5,13,30,.94));
    box-shadow: 0 16px 36px rgba(0,0,0,.20), inset 0 0 0 1px rgba(98,168,255,.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ld-history-stat__icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--ld-gold);
    border: 1px solid rgba(191,163,106,.38);
    background: rgba(4,12,30,.56);
    box-shadow: 0 0 22px rgba(98,168,255,.12);
    font-size: 28px;
}

.ld-history-stat strong {
    display: inline-block;
    margin-right: 8px;
    color: var(--ld-gold);
    font-family: var(--ld-font-title);
    font-size: 30px;
    line-height: 1;
}

.ld-history-stat span {
    display: inline-block;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 13px;
}

.ld-history-stat p {
    margin: 6px 0 0;
    color: #aebcdb;
    font-size: 13px;
    line-height: 1.45;
}

.ld-history-archive-title {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    margin-top: 34px;
    margin-bottom: 24px;
    text-align: center;
}

.ld-history-archive-title h2 {
    margin: 0;
    color: #d7c18b;
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: 18px;
}

.ld-history-archive-title span {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(191,163,106,.66), rgba(98,168,255,.42), transparent);
}

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

.ld-history-card {
    position: relative;
    min-height: 336px;
    border: 1px solid rgba(191,163,106,.28);
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(10,23,48,.76), rgba(4,11,27,.96));
    box-shadow: 0 18px 38px rgba(0,0,0,.22), 0 0 30px rgba(30,91,255,.08), inset 0 0 0 1px rgba(98,168,255,.04);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.ld-history-card:hover {
    transform: translateY(-4px);
    border-color: rgba(191,163,106,.48);
    box-shadow: 0 22px 44px rgba(0,0,0,.28), 0 0 34px rgba(30,91,255,.14), inset 0 0 0 1px rgba(98,168,255,.06);
}

.ld-history-card__image {
    display: block;
    position: relative;
    aspect-ratio: 1.55 / 1;
    overflow: hidden;
}

.ld-history-card__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3,7,20,.02) 0%, rgba(3,7,20,.10) 42%, rgba(3,7,20,.66) 100%);
}

.ld-history-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
    filter: brightness(1.04) saturate(1.08) contrast(1.03);
    transition: transform .48s ease;
}

.ld-history-card:hover .ld-history-card__image img {
    transform: scale(1.055);
}

.ld-history-card__body {
    position: relative;
    padding: 20px 20px 22px;
}

.ld-history-card__number {
    position: absolute;
    left: 20px;
    top: -34px;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #f0d9a1;
    font-family: var(--ld-font-title);
    font-size: 23px;
    border: 1px solid rgba(191,163,106,.42);
    background: rgba(4,12,30,.70);
    box-shadow: 0 0 18px rgba(98,168,255,.13);
}

.ld-history-card h3 {
    margin: 8px 0 12px 60px;
    min-height: 38px;
    color: #fff;
    font-family: var(--ld-font-title);
    font-size: 27px;
    line-height: 1.05;
}

.ld-history-card h3 a {
    color: inherit;
}

.ld-history-card p {
    margin: 0 0 18px;
    min-height: 58px;
    color: #c9d6f5;
    font-size: 14px;
    line-height: 1.55;
}

.ld-history-card__btn {
    min-height: 42px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 12px;
    border: 1px solid rgba(191,163,106,.36);
    color: #e8efff;
    background: rgba(6,13,29,.42);
    box-shadow: inset 0 0 0 1px rgba(98,168,255,.05);
    font-weight: 700;
    font-size: 13px;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.ld-history-card__btn:hover {
    transform: translateY(-2px);
    color: #fff;
    border-color: rgba(191,163,106,.62);
    background: rgba(10,23,48,.72);
}

.ld-history-card__btn--disabled {
    opacity: .82;
    cursor: default;
}

.ld-history-empty {
    margin-top: 26px;
    padding: 18px 24px;
    display: flex;
    gap: 14px;
    align-items: center;
    border-top: 1px solid rgba(191,163,106,.22);
    border-bottom: 1px solid rgba(191,163,106,.22);
    color: #aebcdb;
    text-align: center;
    justify-content: center;
}

.ld-history-empty span {
    color: var(--ld-gold);
    font-size: 24px;
}

.ld-history-empty p {
    margin: 0;
    max-width: 760px;
    font-size: 14px;
    letter-spacing: .04em;
}

.ld-history-pagination {
    margin-top: 36px;
}

@media (max-width: 1199px) {
    .ld-history-stats,
    .ld-history-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ld-history-hero {
        min-height: 380px;
    }
}

@media (max-width: 767px) {
    .ld-history-archive {
        padding-bottom: 54px;
    }

    .ld-history-hero {
        min-height: 0;
        padding-top: 54px;
        padding-bottom: 86px;
    }

    .ld-history-hero h1 {
        font-size: clamp(46px, 15vw, 64px);
    }

    .ld-history-ornament {
        width: 100%;
        max-width: 300px;
    }

    .ld-history-hero p {
        font-size: 16px;
    }

    .ld-history-stats {
        grid-template-columns: 1fr;
        margin-top: -48px;
    }

    .ld-history-stat {
        grid-template-columns: 64px 1fr;
    }

    .ld-history-grid {
        grid-template-columns: 1fr;
    }

    .ld-history-archive-title {
        gap: 12px;
    }

    .ld-history-card h3 {
        font-size: 25px;
    }
}


/* === v2.9.24 history archive: match selected mockup ===
   Block-by-block correction against the chosen design:
   compact hero, visible right castle, stats directly under hero,
   archive title and cards immediately below, no giant empty gap. */

.post-type-archive-chapter .ld-page-hero,
.post-type-archive-chapter .ld-archive-wrap {
    display: none !important;
}

.ld-history-archive {
    position: relative !important;
    overflow: hidden !important;
    padding: 0 0 64px !important;
    background:
        radial-gradient(circle at 75% 18%, rgba(30,91,255,.10), transparent 32%),
        linear-gradient(180deg, #030714 0%, #071126 42%, #030714 100%) !important;
}

.ld-history-archive::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    background-image:
        linear-gradient(180deg, rgba(3,7,20,.05) 0%, rgba(3,7,20,.50) 54%, rgba(3,7,20,.90) 100%),
        linear-gradient(90deg, rgba(3,7,20,1) 0%, rgba(3,7,20,.96) 25%, rgba(3,7,20,.68) 45%, rgba(3,7,20,.24) 66%, rgba(3,7,20,.10) 100%),
        url('../img/history-archive-hero.webp');
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center top !important;
    opacity: 1 !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

.ld-history-archive > * {
    position: relative !important;
    z-index: 1 !important;
}

.ld-history-hero {
    min-height: 365px !important;
    display: flex !important;
    align-items: center !important;
    padding-top: 70px !important;
    padding-bottom: 58px !important;
    overflow: visible !important;
}

.ld-history-hero::before,
.ld-history-hero::after {
    content: none !important;
    display: none !important;
}

.ld-history-hero__copy {
    max-width: 585px !important;
}

.ld-history-kicker {
    display: inline-block !important;
    margin-bottom: 18px !important;
    color: var(--ld-gold) !important;
    text-transform: uppercase !important;
    letter-spacing: .22em !important;
    font-size: 14px !important;
}

.ld-history-hero h1 {
    margin: 0 !important;
    font-family: var(--ld-font-title) !important;
    font-size: clamp(64px, 6.1vw, 96px) !important;
    line-height: .92 !important;
    color: #fff !important;
    letter-spacing: .045em !important;
    text-shadow: 0 4px 30px rgba(0,0,0,.28) !important;
}

.ld-history-ornament {
    width: 360px !important;
    height: 22px !important;
    margin: 24px 0 24px !important;
    position: relative !important;
    background: linear-gradient(90deg, rgba(191,163,106,.86), rgba(191,163,106,.22), rgba(98,168,255,.72), rgba(191,163,106,.22), transparent) !important;
    mask: linear-gradient(#000,#000) center/100% 1px no-repeat !important;
}

.ld-history-ornament::before {
    content: "" !important;
    position: absolute !important;
    left: 52% !important;
    top: 50% !important;
    width: 12px !important;
    height: 12px !important;
    transform: translate(-50%, -50%) rotate(45deg) !important;
    background: #7db8ff !important;
    box-shadow: 0 0 18px rgba(98,168,255,.72) !important;
}

.ld-history-hero p {
    margin: 0 !important;
    max-width: 560px !important;
    color: #d6e2ff !important;
    font-size: 17px !important;
    line-height: 1.7 !important;
}

.ld-history-stats {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
    margin-top: -24px !important;
}

.ld-history-stat {
    min-height: 104px !important;
    display: grid !important;
    grid-template-columns: 70px 1fr !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 16px 18px !important;
    border: 1px solid rgba(191,163,106,.28) !important;
    border-radius: 14px !important;
    background: linear-gradient(180deg, rgba(8,19,42,.76), rgba(5,13,30,.94)) !important;
    box-shadow: 0 16px 36px rgba(0,0,0,.20), inset 0 0 0 1px rgba(98,168,255,.05) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

.ld-history-stat__icon {
    width: 58px !important;
    height: 58px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    color: var(--ld-gold) !important;
    border: 1px solid rgba(191,163,106,.38) !important;
    background: rgba(4,12,30,.56) !important;
    box-shadow: 0 0 22px rgba(98,168,255,.12) !important;
    font-size: 27px !important;
}

.ld-history-stat strong {
    display: inline-block !important;
    margin-right: 8px !important;
    color: var(--ld-gold) !important;
    font-family: var(--ld-font-title) !important;
    font-size: 30px !important;
    line-height: 1 !important;
}

.ld-history-stat span {
    display: inline-block !important;
    color: #fff !important;
    text-transform: uppercase !important;
    letter-spacing: .16em !important;
    font-size: 13px !important;
}

.ld-history-stat p {
    margin: 6px 0 0 !important;
    color: #aebcdb !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
}

.ld-history-archive-title {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    gap: 20px !important;
    margin-top: 30px !important;
    margin-bottom: 24px !important;
    text-align: center !important;
}

.ld-history-archive-title h2 {
    margin: 0 !important;
    color: #d7c18b !important;
    text-transform: uppercase !important;
    letter-spacing: .22em !important;
    font-size: 18px !important;
}

.ld-history-archive-title span {
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(191,163,106,.66), rgba(98,168,255,.42), transparent) !important;
}

.ld-history-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
    margin-top: 0 !important;
}

.ld-history-card {
    display: block !important;
    position: relative !important;
    min-height: 336px !important;
    border: 1px solid rgba(191,163,106,.28) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, rgba(10,23,48,.76), rgba(4,11,27,.96)) !important;
    box-shadow: 0 18px 38px rgba(0,0,0,.22), 0 0 30px rgba(30,91,255,.08), inset 0 0 0 1px rgba(98,168,255,.04) !important;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease !important;
}

.ld-history-card:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(191,163,106,.48) !important;
    box-shadow: 0 22px 44px rgba(0,0,0,.28), 0 0 34px rgba(30,91,255,.14), inset 0 0 0 1px rgba(98,168,255,.06) !important;
}

.ld-history-card__image {
    display: block !important;
    position: relative !important;
    aspect-ratio: 1.55 / 1 !important;
    overflow: hidden !important;
}

.ld-history-card__image::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg, rgba(3,7,20,.02) 0%, rgba(3,7,20,.10) 42%, rgba(3,7,20,.66) 100%) !important;
}

.ld-history-card__image img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center center !important;
    filter: brightness(1.04) saturate(1.08) contrast(1.03) !important;
    transition: transform .48s ease !important;
}

.ld-history-card:hover .ld-history-card__image img {
    transform: scale(1.055) !important;
}

.ld-history-card__body {
    position: relative !important;
    padding: 20px 20px 22px !important;
}

.ld-history-card__number {
    position: absolute !important;
    left: 20px !important;
    top: -34px !important;
    width: 52px !important;
    height: 52px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    color: #f0d9a1 !important;
    font-family: var(--ld-font-title) !important;
    font-size: 23px !important;
    border: 1px solid rgba(191,163,106,.42) !important;
    background: rgba(4,12,30,.70) !important;
    box-shadow: 0 0 18px rgba(98,168,255,.13) !important;
    z-index: 2 !important;
}

.ld-history-card h3 {
    margin: 8px 0 12px 60px !important;
    min-height: 38px !important;
    color: #fff !important;
    font-family: var(--ld-font-title) !important;
    font-size: 27px !important;
    line-height: 1.05 !important;
}

.ld-history-card h3 a {
    color: inherit !important;
}

.ld-history-card p {
    margin: 0 0 18px !important;
    min-height: 58px !important;
    color: #c9d6f5 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

.ld-history-card__btn {
    min-height: 42px !important;
    padding: 0 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(191,163,106,.36) !important;
    color: #e8efff !important;
    background: rgba(6,13,29,.42) !important;
    box-shadow: inset 0 0 0 1px rgba(98,168,255,.05) !important;
    font-weight: 700 !important;
    font-size: 13px !important;
}

.ld-history-empty {
    margin-top: 26px !important;
    padding: 18px 24px !important;
    display: flex !important;
    gap: 14px !important;
    align-items: center !important;
    border-top: 1px solid rgba(191,163,106,.22) !important;
    border-bottom: 1px solid rgba(191,163,106,.22) !important;
    color: #aebcdb !important;
    text-align: center !important;
    justify-content: center !important;
}

.ld-history-empty span {
    color: var(--ld-gold) !important;
    font-size: 24px !important;
}

.ld-history-empty p {
    margin: 0 !important;
    max-width: 760px !important;
    font-size: 14px !important;
    letter-spacing: .04em !important;
    line-height: 1.65 !important;
}

@media (max-width: 1199px) {
    .ld-history-stats,
    .ld-history-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .ld-history-hero {
        min-height: 360px !important;
    }
}

@media (max-width: 767px) {
    .ld-history-archive {
        padding-bottom: 54px !important;
    }

    .ld-history-hero {
        min-height: 0 !important;
        padding-top: 54px !important;
        padding-bottom: 72px !important;
    }

    .ld-history-archive::before {
        background-position: 68% top !important;
    }

    .ld-history-hero h1 {
        font-size: clamp(46px, 15vw, 64px) !important;
    }

    .ld-history-ornament {
        width: 100% !important;
        max-width: 300px !important;
    }

    .ld-history-hero p {
        font-size: 16px !important;
    }

    .ld-history-stats {
        grid-template-columns: 1fr !important;
        margin-top: -32px !important;
    }

    .ld-history-stat {
        grid-template-columns: 64px 1fr !important;
    }

    .ld-history-grid {
        grid-template-columns: 1fr !important;
    }

    .ld-history-archive-title {
        gap: 12px !important;
    }

    .ld-history-card h3 {
        font-size: 25px !important;
    }
}


/* === v2.9.26 history hero image scaled to fit block === */
.ld-history-archive::before {
    background-size: auto 100%, auto 100%, 62% auto !important;
    background-position: left top, left top, right 26px top 18px !important;
}

.ld-history-hero {
    min-height: 340px !important;
    padding-bottom: 42px !important;
}

@media (max-width: 1199px) {
    .ld-history-archive::before {
        background-size: auto 100%, auto 100%, 66% auto !important;
        background-position: left top, left top, right 10px top 28px !important;
    }
}

@media (max-width: 767px) {
    .ld-history-archive::before {
        background-size: auto 100%, auto 100%, 92% auto !important;
        background-position: left top, left top, right -40px top 48px !important;
    }
}


/* === v2.9.27 history hero size matched to selected mockup ===
   The Hero block is now built like the chosen mockup:
   fixed desktop height, artwork fitted to the block, stats directly below. */
.ld-history-archive::before {
    background-image:
        linear-gradient(180deg, rgba(3,7,20,.04) 0%, rgba(3,7,20,.34) 58%, rgba(3,7,20,.82) 100%),
        linear-gradient(90deg, rgba(3,7,20,1) 0%, rgba(3,7,20,.96) 25%, rgba(3,7,20,.68) 45%, rgba(3,7,20,.24) 68%, rgba(3,7,20,.08) 100%),
        url('../img/history-archive-hero.webp') !important;
    background-repeat: no-repeat !important;
    background-size: 100% 410px, 100% 410px, 100% 410px !important;
    background-position: top center, top center, top center !important;
}

.ld-history-hero {
    height: 342px !important;
    min-height: 342px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.ld-history-hero__copy {
    transform: translateY(4px);
}

.ld-history-stats {
    margin-top: -6px !important;
}

@media (max-width: 1199px) {
    .ld-history-archive::before {
        background-size: 100% 390px, 100% 390px, 100% 390px !important;
    }

    .ld-history-hero {
        height: 326px !important;
        min-height: 326px !important;
    }

    .ld-history-stats {
        margin-top: -4px !important;
    }
}

@media (max-width: 767px) {
    .ld-history-archive::before {
        background-size: 100% 500px, 100% 500px, auto 500px !important;
        background-position: top center, top center, right top !important;
    }

    .ld-history-hero {
        height: auto !important;
        min-height: 360px !important;
        padding-top: 48px !important;
        padding-bottom: 74px !important;
    }

    .ld-history-hero__copy {
        transform: none;
    }

    .ld-history-stats {
        margin-top: -38px !important;
    }
}


/* === v2.9.28 hero lower from top + right artwork unsqueezed ===
   1) Lower the hero content a bit from the top.
   2) Do not squeeze the artwork on the right: keep its aspect ratio with auto width. */
.ld-history-archive::before {
    background-size: 100% 440px, 100% 440px, auto 440px !important;
    background-position: top center, top center, right 14px top 4px !important;
}

.ld-history-hero {
    height: 372px !important;
    min-height: 372px !important;
    padding-top: 34px !important;
    padding-bottom: 0 !important;
    display: flex !important;
    align-items: flex-start !important;
}

.ld-history-hero__copy {
    transform: translateY(10px) !important;
}

.ld-history-stats {
    margin-top: 6px !important;
}

@media (max-width: 1199px) {
    .ld-history-archive::before {
        background-size: 100% 420px, 100% 420px, auto 420px !important;
        background-position: top center, top center, right -10px top 8px !important;
    }

    .ld-history-hero {
        height: 356px !important;
        min-height: 356px !important;
        padding-top: 28px !important;
    }
}

@media (max-width: 767px) {
    .ld-history-archive::before {
        background-size: 100% 520px, 100% 520px, auto 520px !important;
        background-position: top center, top center, right -120px top 34px !important;
    }

    .ld-history-hero {
        height: auto !important;
        min-height: 372px !important;
        padding-top: 56px !important;
        padding-bottom: 74px !important;
        align-items: flex-start !important;
    }

    .ld-history-hero__copy {
        transform: none !important;
    }

    .ld-history-stats {
        margin-top: -26px !important;
    }
}


/* === v2.9.29 hero polish ===
   - lower the main hero image under the menu
   - make the artwork clearer / less dark
   - remove the right-side gap so the hero is continuous to the screen edge */
.ld-history-archive::before {
    background-image:
        linear-gradient(180deg, rgba(3,7,20,.00) 0%, rgba(3,7,20,.10) 58%, rgba(3,7,20,.48) 100%),
        linear-gradient(90deg, rgba(3,7,20,.94) 0%, rgba(3,7,20,.84) 22%, rgba(3,7,20,.48) 42%, rgba(3,7,20,.12) 64%, rgba(3,7,20,.02) 100%),
        url('../img/history-archive-hero.webp') !important;
    background-repeat: no-repeat !important;
    background-size: 100% 500px, 100% 500px, auto 500px !important;
    background-position: top center, top center, right 0 top 44px !important;
}

.ld-history-hero {
    height: 405px !important;
    min-height: 405px !important;
    padding-top: 60px !important;
    padding-bottom: 0 !important;
    display: flex !important;
    align-items: flex-start !important;
}

.ld-history-hero__copy {
    transform: translateY(18px) !important;
}

.ld-history-kicker {
    margin-bottom: 20px !important;
}

.ld-history-hero h1 {
    text-shadow: 0 2px 16px rgba(0,0,0,.18) !important;
}

.ld-history-hero p {
    color: #e2ebff !important;
    text-shadow: 0 1px 10px rgba(0,0,0,.12) !important;
}

.ld-history-stats {
    margin-top: 10px !important;
}

@media (max-width: 1199px) {
    .ld-history-archive::before {
        background-size: 100% 470px, 100% 470px, auto 470px !important;
        background-position: top center, top center, right 0 top 46px !important;
    }

    .ld-history-hero {
        height: 388px !important;
        min-height: 388px !important;
        padding-top: 52px !important;
    }

    .ld-history-hero__copy {
        transform: translateY(12px) !important;
    }
}

@media (max-width: 767px) {
    .ld-history-archive::before {
        background-image:
            linear-gradient(180deg, rgba(3,7,20,.18) 0%, rgba(3,7,20,.40) 70%, rgba(3,7,20,.84) 100%),
            linear-gradient(90deg, rgba(3,7,20,.72) 0%, rgba(3,7,20,.42) 52%, rgba(3,7,20,.08) 100%),
            url('../img/history-archive-hero.webp') !important;
        background-size: 100% 560px, 100% 560px, auto 560px !important;
        background-position: top center, top center, right -80px top 50px !important;
    }

    .ld-history-hero {
        height: auto !important;
        min-height: 400px !important;
        padding-top: 72px !important;
        padding-bottom: 76px !important;
    }

    .ld-history-hero__copy {
        transform: none !important;
    }

    .ld-history-stats {
        margin-top: -16px !important;
    }
}


/* === v2.9.30 hero final balance ===
   Requested changes:
   - lower right artwork
   - reduce castle scale
   - shift castle slightly right
   - lower left text block a bit
   - soften the dark gradient */
.ld-history-archive::before {
    background-image:
        linear-gradient(180deg, rgba(3,7,20,0.00) 0%, rgba(3,7,20,0.08) 62%, rgba(3,7,20,0.36) 100%),
        linear-gradient(90deg, rgba(3,7,20,0.82) 0%, rgba(3,7,20,0.70) 18%, rgba(3,7,20,0.38) 38%, rgba(3,7,20,0.12) 58%, rgba(3,7,20,0.02) 78%, rgba(3,7,20,0.00) 100%),
        url('../img/history-archive-hero.webp') !important;
    background-repeat: no-repeat !important;
    background-size: 100% 520px, 100% 520px, auto 455px !important;
    background-position: top center, top center, right -12px top 74px !important;
}

.ld-history-hero {
    height: 430px !important;
    min-height: 430px !important;
    padding-top: 72px !important;
    padding-bottom: 0 !important;
    align-items: flex-start !important;
}

.ld-history-hero__copy {
    transform: translateY(34px) !important;
}

.ld-history-kicker {
    margin-bottom: 22px !important;
}

.ld-history-hero h1 {
    text-shadow: 0 2px 14px rgba(0,0,0,.12) !important;
}

.ld-history-hero p {
    color: #e7efff !important;
    text-shadow: 0 1px 8px rgba(0,0,0,.10) !important;
}

.ld-history-stats {
    margin-top: -2px !important;
}

@media (max-width: 1199px) {
    .ld-history-archive::before {
        background-size: 100% 500px, 100% 500px, auto 430px !important;
        background-position: top center, top center, right -22px top 78px !important;
    }

    .ld-history-hero {
        height: 408px !important;
        min-height: 408px !important;
        padding-top: 64px !important;
    }

    .ld-history-hero__copy {
        transform: translateY(24px) !important;
    }
}

@media (max-width: 767px) {
    .ld-history-archive::before {
        background-image:
            linear-gradient(180deg, rgba(3,7,20,.12) 0%, rgba(3,7,20,.28) 70%, rgba(3,7,20,.68) 100%),
            linear-gradient(90deg, rgba(3,7,20,.56) 0%, rgba(3,7,20,.28) 48%, rgba(3,7,20,.06) 100%),
            url('../img/history-archive-hero.webp') !important;
        background-size: 100% 600px, 100% 600px, auto 470px !important;
        background-position: top center, top center, right -95px top 98px !important;
    }

    .ld-history-hero {
        height: auto !important;
        min-height: 420px !important;
        padding-top: 82px !important;
        padding-bottom: 76px !important;
    }

    .ld-history-hero__copy {
        transform: none !important;
    }

    .ld-history-stats {
        margin-top: -14px !important;
    }
}


/* === v2.9.31 hero microtune ===
   Final micro-adjustments:
   - lower right artwork a bit more
   - reduce castle slightly
   - lower left text slightly
   - soften and align Hero -> stats transition */
.ld-history-archive::before {
    background-size: 100% 530px, 100% 530px, auto 428px !important;
    background-position: top center, top center, right -8px top 92px !important;
}

.ld-history-hero {
    height: 440px !important;
    min-height: 440px !important;
    padding-top: 78px !important;
    padding-bottom: 10px !important;
}

.ld-history-hero__copy {
    transform: translateY(46px) !important;
}

.ld-history-kicker {
    margin-bottom: 24px !important;
}

.ld-history-hero p {
    margin-top: 4px !important;
}

.ld-history-stats {
    margin-top: 10px !important;
    position: relative !important;
}

@media (max-width: 1199px) {
    .ld-history-archive::before {
        background-size: 100% 510px, 100% 510px, auto 406px !important;
        background-position: top center, top center, right -16px top 94px !important;
    }

    .ld-history-hero {
        height: 420px !important;
        min-height: 420px !important;
        padding-top: 72px !important;
        padding-bottom: 8px !important;
    }

    .ld-history-hero__copy {
        transform: translateY(36px) !important;
    }

    .ld-history-stats {
        margin-top: 8px !important;
    }
}

@media (max-width: 767px) {
    .ld-history-archive::before {
        background-size: 100% 620px, 100% 620px, auto 448px !important;
        background-position: top center, top center, right -92px top 112px !important;
    }

    .ld-history-hero {
        min-height: 430px !important;
        padding-top: 88px !important;
        padding-bottom: 82px !important;
    }

    .ld-history-hero__copy {
        transform: none !important;
    }

    .ld-history-stats {
        margin-top: -8px !important;
    }
}
