﻿:root {
    --primary-color: #C83E16; /* Оранжевый акцент */
    --bg-color: #320300;      /* Темно-бордовый фон */
    --paper-color: #DEC192;   /* Бежевая бумага */
    --text-color: #1a1a1a;
}
@font-face {
    font-family: 'PT Serif';
    src: url('../fonts/PTSerif/PTSerif-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'PT Serif';
    src: url('../fonts/PTSerif/PTSerif-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'PT Serif';
    src: url('../fonts/PTSerif/PTSerif-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'PT Serif';
    src: url('../fonts/PTSerif/PTSerif-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}
body {
    position: relative; /* Точка отсчета для абсолютных декораций */
    max-width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: linear-gradient(to top, rgb(0 0 0) 0%, rgba(50, 3, 0, 0) 75%);
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'PT Serif', serif;
    line-height: 1.6;
    overflow-x: hidden; /* Чтобы декорации не создавали горизонтальную прокрутку */
}
.main-header {
    position: relative;
    background-color: var(--bg-color); 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6); 
    box-sizing: border-box; 
    padding: 30px 40px;
    text-align: center;
    z-index: 10;
    width: 100%;
    max-width: 100%;
}

.sub-title {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

h1 {
    color: var(--primary-color);
    font-size: 2.8rem;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); 
}

.header-link {
    color: inherit;
    text-decoration: none;
}

.header-link:hover {
    opacity: 0.9;
}
.hero-section {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: hidden;
}

/* ДЕКОР (Адаптив от HD 1280px до 2K 2560px) */
.decor {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    height: auto;
}

/* Левая карточка (зима 1) */
.zima1 {
    left: calc(55% - clamp(460px, 34vw, 620px));
    top: 22%;
    transform: translate(-50%, -20%);
    width: clamp(190px, 15vw, 280px);
    z-index: 2;
    border-radius: 10%;
    filter: drop-shadow(rgba(0, 0, 0, 0.5) 0px 5px 15px);
}

/* Правая карточка (зима 2) */
.zima2 {
    left: calc(40% + clamp(460px, 35vw, 650px));
    /* top: 40%; */
    transform: translate(-50%, -20%);
    width: clamp(200px, 16vw, 300px);
    border-radius: 10%;
    z-index: 2; 
    filter: drop-shadow(rgba(0, 0, 0, 0.5) 0px 5px 15px);
}

/* Верхняя левая кассета */
.cassette1 {
    top: 6%;
    left: 0;
    transform: translateX(-50%) rotate(140deg);
    width: clamp(160px, 12vw, 240px);
    filter: drop-shadow(rgba(0, 0, 0, 0.5) 0px 5px 15px);
}

/* Нижняя правая кассета */
.cassette2 {
    bottom: 6%;
    left: 100%;
    transform: translateX(-50%) rotate(300deg);
    width: clamp(160px, 12vw, 240px);
    filter: drop-shadow(rgba(0, 0, 0, 0.5) 0px 5px 15px);
}

/* Компас внизу слева */
.compass {
    bottom: 35%;
    left: calc(50% - clamp(500px, 40vw, 780px));
    transform: translateX(-50%);
    width: clamp(150px, 14vw, 320px);
    z-index: 3;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
}

/* КАРТА */
.map-wrapper {
    padding: 20px;
    right: 5%;
    position: relative;
    width: 100%;
    max-width: 900px;
}

.map-layer {
    display: block;
    width: 110%;
    height: auto;
}

/* Белая подложка */
.map-base {
    left: 5%;
    width: 110%;
    position: relative;
    filter: brightness(10);
    opacity: 0.9;
    align-content: flex-end;
}

/* Цветная карта поверх */
.map-color {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    filter: saturate(40%);
}
.content-block {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: -60px auto 60px; /* Отрицательный отступ для наезда на карту */
    padding: 0 20px;
}

.text-paper {
    background-color: #e8d3ac;
    background-image:
        radial-gradient(ellipse at 20% 15%, rgba(255, 248, 232, 0.55) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 80%, rgba(168, 124, 68, 0.22) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, transparent 58%, rgba(112, 74, 34, 0.28) 100%),
        linear-gradient(175deg, #eddab7 0%, #e4cb9e 50%, #d9bc89 100%);
    color: #1f1710;
    padding: 50px 60px;
    position: relative;
    border-radius: 3px;
    border: 1px solid rgba(112, 74, 34, 0.35);
    box-shadow:
        inset 0 0 40px rgba(112, 74, 34, 0.25),
        inset 0 0 10px rgba(84, 52, 20, 0.18),
        0 1px 0 rgba(255, 246, 224, 0.6) inset,
        0 14px 40px rgba(0, 0, 0, 0.65),
        0 4px 12px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.text-paper::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.22;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}

.text-paper::after {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(112, 74, 34, 0.18);
    pointer-events: none;
    z-index: 0;
}

.text-paper > * {
    position: relative;
    z-index: 1;
}

.text-paper p {
    margin-bottom: 1em;
    text-align: justify;
    line-height: 1.6;
    font-size: 1rem;
    text-indent: 1.5em each-line;
    white-space: pre-line;
}

.heroes-list {
    text-wrap: pretty;
    list-style: none;
    padding: 0;
    margin: 20px 0;
    background: rgba(0,0,0,0.03);
    padding: 20px 30px;
    border-left: 4px solid var(--primary-color);
}

.heroes-list li {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.hero-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    margin-left: 10px;
    font-size: 0.9rem;
}

.hero-link:hover {
    text-decoration: underline;
}

.final-text {
    font-weight: bold;
    margin-top: 30px;
    text-align: center;
    font-size: 1.1rem;
}
.back-link {
    position: fixed;
    top: 20px;
    left: 20px;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    z-index: 100;
    background: rgba(50, 3, 0, 0.7);
    padding: 8px 16px;
    border-radius: 4px;
    transition: background 0.2s;
}
.back-link:hover {
    background: rgba(200, 62, 22, 0.9);
}

.hero-card {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.hero-paper {
    position: relative;
    padding: 40px 60px 60px;
}

.hero-paper::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(50, 3, 0, 0.12);
    pointer-events: none;
}

/* Архивный штемпель библиотеки */
.archive-stamp {
    position: absolute;
    top: 26px;
    left: 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 7px 14px;
    border: 2px solid #5c1914;
    outline: 1px solid rgba(92, 25, 20, 0.55);
    outline-offset: 3px;
    border-radius: 4px;
    color: #5c1914;
    font-family: 'PT Serif', serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.25;
    transform: rotate(-9deg);
    opacity: 0.16;
    pointer-events: none;
    user-select: none;
}

.archive-stamp span {
    font-size: 0.62rem;
}

.archive-stamp strong {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    margin: 2px 0;
}

/* Краткая биографическая справка под портретом */
.hero-summary {
    max-width: 720px;
    margin: 22px auto 34px;
    padding: 14px 0;
    border-top: 1px solid rgba(42, 30, 18, 0.22);
    border-bottom: 1px solid rgba(42, 30, 18, 0.22);
    font-size: 0.94rem;
}

.hero-summary-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 12px;
    padding: 6px 0;
    line-height: 1.45;
}

.hero-summary-row + .hero-summary-row {
    border-top: 1px solid rgba(42, 30, 18, 0.08);
}

.hero-summary-row dt {
    font-weight: bold;
    color: #4a3520;
}

.hero-summary-row dd {
    margin: 0;
    color: #1f1710;
}

.hero-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(0,0,0,0.1);
}

.hero-photo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex-shrink: 0;
    font-weight: bold;
}

.hero-photo {
    width: 260px;
    height: 340px;
    object-fit: cover;
    padding: 6px;
    background: #f6eedb;
    border: 1px solid rgba(42, 30, 18, 0.24);
    border-radius: 6px;
    filter: grayscale(100%) contrast(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.35);
    cursor: zoom-in;
    transition: transform 0.2s ease;
}

.hero-photo:hover {
    transform: scale(1.015);
}

.hero-toolbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.font-size-controls {
    display: flex;
    gap: 4px;
}

.tool-btn {
    background: transparent;
    border: 1px solid rgba(42, 30, 18, 0.32);
    color: #1f1710;
    font-family: inherit;
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.tool-btn:hover:not(:disabled) {
    background: rgba(42, 30, 18, 0.08);
}

.tool-btn:disabled {
    opacity: 0.38;
    cursor: default;
}

.photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(18, 6, 4, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.photo-lightbox[hidden] {
    display: none;
}

.photo-lightbox-figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.photo-lightbox-img {
    max-width: min(90vw, 680px);
    max-height: 82vh;
    padding: 8px;
    background: #f6eedb;
    border-radius: 4px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
    filter: grayscale(100%) contrast(1.08);
}

.photo-lightbox-caption {
    color: #efe1c4;
    font-family: 'PT Serif', serif;
    font-size: 0.98rem;
    text-align: center;
}

.photo-lightbox-close {
    position: fixed;
    top: 18px;
    right: 22px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.photo-lightbox-close:hover {
    background: var(--primary-color);
}

/* Карта в карточке */
.hero-map-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex-grow: 1;
    max-width: 500px;
}

.hero-map {
    width: 105%;
    height: auto;
    border-radius: 8px;
    filter: saturate(40%);
}

.hero-story {
    max-width: 900px;
    margin: 0 auto;
}

.story-title {
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    color: #1a1a1a;
    margin: 40px 0 20px;
    font-family: 'PT Serif', serif;
}

.story-title:first-child {
    margin-top: 0;
}

.hero-story p {
    text-align: justify;
    margin-bottom: 1em;
    line-height: 1.6;
    font-size: 1em;
    white-space: pre-line;
    text-indent: 1.5em each-line;
}

.hero-story blockquote {
    margin: 18px 0;
    padding: 8px 18px;
    border-left: 3px solid rgba(92, 25, 20, 0.45);
    color: #2f2317;
    font-style: italic;
}

/* Оглавление длинных очерков */
.story-toc {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 4px 8px;
    margin: 0 auto 26px;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #5a432b;
}

.story-toc-sep {
    opacity: 0.5;
}

.story-toc a {
    color: #5a432b;
    text-decoration: none;
    border-bottom: 1px solid rgba(90, 67, 43, 0.28);
}

.story-toc a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Вставка карты внутри текста */
.story-figure {
    position: relative;
    display: flex;
    justify-content: center;
    margin: 30px auto;
    max-width: 500px;
}

.story-map {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 3px solid #8b0000;
}

/* Интерактивная карта боевого пути */
.route-map-section {
    margin: 28px 0 34px;
    border: 1px solid rgba(42, 30, 18, 0.32);
    border-radius: 3px;
    background: rgba(42, 30, 18, 0.04);
    overflow: hidden;
}

.route-map-stage {
    position: relative;
}

.route-map-canvas {
    width: 100%;
    height: 380px;
    position: relative;
    z-index: 1;
    isolation: isolate;
    background: #e5d2ae;
}

.route-zoom-controls {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.route-zoom-btn {
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 3px;
    border: 1px solid rgba(50, 3, 0, 0.35);
    background: rgba(235, 217, 184, 0.92);
    color: #320300;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    transition: background-color 0.15s ease;
}

.route-zoom-btn:hover {
    background: #f5e6ca;
}

.route-pin-wrap {
    cursor: pointer;
}

.route-pin {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border-radius: 50%;
    font-family: 'PT Serif', serif;
    font-size: 0.78rem;
    font-weight: bold;
    background: #4a2e1d;
    color: #f7ebd5;
    border: 2px solid #f7ebd5;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.route-pin.is-passed {
    background: #8b3b1e;
}

.route-pin.is-active {
    background: var(--primary-color);
    transform: scale(1.22);
}

.route-map-canvas .maplibregl-ctrl-attrib {
    font-size: 11px;
    background: rgba(239, 225, 196, 0.82);
}

.route-controls {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 18px;
    border-top: 1px solid rgba(42, 30, 18, 0.22);
}

.route-caption {
    flex: 1;
    min-width: 0;
    min-height: 6.2em;
    text-align: left;
}

.route-step-meta {
    font-weight: bold;
    font-size: 0.96rem;
    color: #1f1710;
    margin-bottom: 4px;
}

.route-step-note {
    font-size: 0.9rem;
    line-height: 1.45;
    color: #342619;
    min-height: 3.1em;
}

.route-jump-link {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.route-jump-link:hover {
    text-decoration: underline;
}

.is-highlighted {
    background-color: rgba(200, 62, 22, 0.16);
    border-radius: 3px;
    transition: background-color 0.6s ease;
}

.route-buttons {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.route-btn {
    background: transparent;
    border: 1px solid rgba(42, 30, 18, 0.35);
    color: #1f1710;
    font-family: inherit;
    font-size: 0.9rem;
    padding: 6px 12px;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.route-btn:hover:not(:disabled) {
    background: rgba(42, 30, 18, 0.08);
}

.route-btn:disabled {
    opacity: 0.38;
    cursor: default;
}

/* Блок «Статьи о ней» — книжная библиография */
.story-articles {
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid rgba(42, 30, 18, 0.28);
}

.story-articles-title {
    margin: 0 0 18px;
    text-align: left;
    font-size: 1.15rem;
    font-weight: bold;
    color: #1f1710;
}

.articles-list {
    margin: 0;
    padding-left: 1.5em;
}

.articles-list li {
    margin-bottom: 0.7em;
    padding-left: 0.35em;
    font-size: 0.92rem;
    line-height: 1.55;
    text-align: left;
    color: #2c2218;
}

.articles-list li:last-child {
    margin-bottom: 0;
}

.articles-list li::marker {
    color: rgba(42, 30, 18, 0.6);
}

/* ГЕРОИ ДЕКАЛИ */
.hero-decals {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Кассеты по углам сверху */
.cassette-top-left {
    top: 6%;
    left: 0;
    transform: translateX(-50%) rotate(140deg);
    width: clamp(160px, 12vw, 240px);
    filter: drop-shadow(rgba(0, 0, 0, 0.5) 0px 5px 15px);
}
.cassette-top-right {
    bottom: 6%;
    left: 100%;
    transform: translateX(-50%) rotate(300deg);
    width: clamp(160px, 12vw, 240px);
    filter: drop-shadow(rgba(0, 0, 0, 0.5) 0px 5px 15px);
}

/* Компас внизу слева */
.hero-compass {
    bottom: 5%;
    left: calc(50% - clamp(560px, 45vw, 880px));
    transform: translateX(-50%);
    width: clamp(150px, 12vw, 320px);
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5));
}
/* Скрываем боковые декорации на экранах меньше HD, чтобы не перекрывали текст */
@media (max-width: 1180px) {
    .decor { display: none; }
}

.hero-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.hero-nav-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
}

.hero-nav-link:hover {
    text-decoration: underline;
}

/* Полоска прогресса чтения */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--primary-color);
    z-index: 200;
    pointer-events: none;
    transition: width 0.08s linear;
}

/* Кнопка «Наверх» */
.scroll-top-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(50, 3, 0, 0.85);
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s, background 0.2s;
}

.scroll-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--primary-color);
}

@media (max-width: 768px) {
    h1 { font-size: 1.6rem; }
    .sub-title { font-size: 0.8rem; }
    .hero-section { min-height: auto; padding: 10px; }
    .map-wrapper { max-width: 80%; }
    .content-block { margin-top: -30px; max-width: 82%; padding: 0 10px; }
    .text-paper { padding: 30px 25px; }
    .heroes-list { padding: 15px; }
    .hero-top { flex-direction: column; align-items: center; }
    .hero-paper { padding: 30px 25px; }
    .archive-stamp { display: none; }
    .hero-summary-row { grid-template-columns: 1fr; gap: 2px; }
    .hero-toolbar { flex-wrap: wrap; justify-content: center; }
    .back-link {
        position: static;
        display: inline-block;
        margin: 16px 0 0 20px;
    }
    .hero-nav {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .route-map-canvas { height: 280px; }
    .route-controls { flex-direction: column; }
    .route-caption { width: 100%; min-height: 9.5em; }
    .route-buttons { width: 100%; justify-content: space-between; }
    .route-btn-fit { flex: 1; }
}

/* Версия для печати */
@page {
    margin: 14mm 16mm;
}

@media print {
    body {
        background: #fff !important;
        color: #000 !important;
        font-size: 10.5pt;
        line-height: 1.4;
    }
    .back-link,
    .hero-decals,
    .hero-toolbar,
    .hero-nav,
    .scroll-top-btn,
    .reading-progress,
    .route-map-section,
    .archive-stamp,
    .story-toc,
    header {
        display: none !important;
    }
    .hero-card {
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    .text-paper,
    .hero-paper {
        background: #fff !important;
        background-image: none !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
    .text-paper::before,
    .text-paper::after,
    .hero-paper::before,
    .hero-paper::after {
        display: none !important;
    }
    .hero-photo-wrap,
    .hero-summary {
        page-break-inside: avoid;
    }
    .hero-photo {
        width: 135px;
        height: 175px;
        padding: 3px;
        box-shadow: none;
        border: 1px solid #999;
    }
    .hero-summary {
        max-width: 100%;
        margin: 10pt 0 14pt;
        padding: 6pt 0;
        font-size: 9.5pt;
    }
    .hero-summary-row {
        padding: 3pt 0;
    }
    .story-title {
        margin: 14pt 0 6pt;
        font-size: 12pt;
        break-after: avoid;
    }
    .hero-story p {
        margin-bottom: 6pt;
        line-height: 1.42;
        orphans: 3;
        widows: 3;
    }
    a {
        color: #000;
        text-decoration: none;
    }
}