/* The Herobrine Herald newsstand and newspaper reader. */
.uf-herald-hub,
.uf-herald-reading-room {
    --herald-ink: #17130f;
    --herald-ink-soft: #4f463b;
    --herald-paper: #efe4c8;
    --herald-paper-light: #fffaf0;
    --herald-paper-dark: #c9b78d;
    --herald-red: #8f261e;
    --herald-cyan: #65e7f3;
    --herald-gold: #efbd58;
    position: relative;
    isolation: isolate;
    overflow: clip;
    min-height: 70vh;
    color: #f5f4ed;
    background:
        radial-gradient(circle at 15% 15%, rgba(53, 197, 209, 0.1), transparent 24rem),
        radial-gradient(circle at 85% 42%, rgba(239, 189, 88, 0.08), transparent 28rem),
        #061115;
}

.uf-herald-hub::before,
.uf-herald-reading-room::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    pointer-events: none;
    opacity: 0.34;
    background-image:
        linear-gradient(rgba(101, 231, 243, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(101, 231, 243, 0.035) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

.uf-herald-breadcrumbs {
    padding-top: 1rem;
}

.uf-herald-hub .uf-breadcrumbs,
.uf-herald-reading-room .uf-breadcrumbs {
    margin-bottom: 0;
}

.uf-herald-eyebrow {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--herald-cyan);
    font-family: "JetBrains Mono", monospace;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.uf-herald-intro {
    padding: clamp(1.25rem, 3vw, 2.8rem) 0 clamp(2.5rem, 5vw, 4.8rem);
}

.uf-herald-console {
    overflow: hidden;
    border: 1px solid rgba(101, 231, 243, 0.36);
    border-radius: 5px;
    background: linear-gradient(145deg, rgba(10, 30, 36, 0.98), rgba(5, 17, 21, 0.98));
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.36),
        inset 0 0 0 4px rgba(255, 255, 255, 0.018);
}

.uf-herald-console__bar,
.uf-herald-ticker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 2.5rem;
    padding: 0.55rem 0.85rem;
    color: #bce9ed;
    border-bottom: 1px solid rgba(101, 231, 243, 0.22);
    background: linear-gradient(#17323a, #0d242b);
    font-family: "JetBrains Mono", monospace;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(101, 231, 243, 0.38);
}

.uf-herald-console__bar > span:first-child {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
}

.uf-herald-console__bar svg {
    width: 0.95rem;
    height: 0.95rem;
}

.uf-herald-console__status {
    padding: 0.2rem 0.45rem;
    color: #10160e;
    border: 1px solid #cde789;
    background: #9dcf59;
    box-shadow: 2px 2px 0 #35501c;
    text-shadow: none;
}

.uf-herald-console__body {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: clamp(1.6rem, 4vw, 4.2rem);
    align-items: center;
    padding: clamp(1.35rem, 4vw, 4rem);
}

.uf-herald-masthead-card {
    position: relative;
    padding: clamp(1.2rem, 3vw, 2.4rem);
    color: var(--herald-ink);
    border: 1px solid #2b251d;
    background:
        linear-gradient(90deg, transparent 49.5%, rgba(60, 45, 24, 0.12) 50%, transparent 50.5%),
        repeating-linear-gradient(0deg, rgba(59, 44, 25, 0.025), rgba(59, 44, 25, 0.025) 1px, transparent 1px, transparent 4px),
        var(--herald-paper);
    box-shadow: 9px 11px 0 rgba(0, 0, 0, 0.28), 18px 19px 45px rgba(0, 0, 0, 0.35);
    transform: rotate(-2deg);
}

.uf-herald-masthead-card::before,
.uf-herald-masthead-card::after {
    position: absolute;
    content: "";
    pointer-events: none;
}

.uf-herald-masthead-card::before {
    inset: 0.55rem;
    border-top: 3px double var(--herald-ink);
    border-bottom: 3px double var(--herald-ink);
}

.uf-herald-masthead-card::after {
    top: -8px;
    right: 14%;
    width: 54px;
    height: 20px;
    background: rgba(213, 190, 135, 0.72);
    transform: rotate(3deg);
}

.uf-herald-masthead-card span,
.uf-herald-masthead-card small,
.uf-herald-masthead-card strong {
    position: relative;
    z-index: 1;
    display: block;
    text-align: center;
}

.uf-herald-masthead-card span,
.uf-herald-masthead-card small {
    font-family: "JetBrains Mono", monospace;
    font-size: clamp(0.57rem, 1.2vw, 0.72rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.uf-herald-masthead-card strong {
    margin: 1rem 0 0.75rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.25rem, 5vw, 4.9rem);
    font-weight: 900;
    line-height: 0.78;
    letter-spacing: -0.075em;
}

.uf-herald-intro__copy h1,
.uf-herald-section-heading h2 {
    margin: 0;
    color: #fff;
    font-family: "Outfit", sans-serif;
    font-weight: 900;
    letter-spacing: -0.045em;
}

.uf-herald-intro__copy h1 {
    max-width: 11ch;
    font-size: clamp(2.5rem, 6vw, 5.8rem);
    line-height: 0.91;
}

.uf-herald-intro__copy > p {
    max-width: 52rem;
    margin: 1.15rem 0 0;
    color: #b6c5c7;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.65;
}

.uf-herald-intro__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.uf-herald-ticker {
    justify-content: flex-start;
    gap: 1.25rem;
    overflow: hidden;
    color: #0d1615;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-bottom: 0;
    background: var(--herald-gold);
    text-shadow: none;
}

.uf-herald-ticker span {
    display: inline-flex;
    white-space: nowrap;
}

.uf-herald-ticker span + span::before {
    margin-right: 1.25rem;
    content: "◆";
}

.uf-herald-newsstand,
.uf-herald-archive {
    padding: clamp(3rem, 6vw, 6rem) 0;
}

.uf-herald-newsstand {
    border-top: 1px solid rgba(101, 231, 243, 0.12);
    background: linear-gradient(180deg, rgba(9, 28, 34, 0.75), rgba(5, 17, 21, 0));
}

.uf-herald-section-heading {
    display: flex;
    gap: 2rem;
    align-items: end;
    justify-content: space-between;
    margin-bottom: clamp(1.5rem, 3vw, 2.6rem);
}

.uf-herald-section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 0.95;
}

.uf-herald-section-heading > p {
    max-width: 34rem;
    margin: 0;
    color: #91a6aa;
    font-size: 0.95rem;
    line-height: 1.55;
    text-align: right;
}

.uf-herald-lead-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.72fr) minmax(18rem, 0.68fr);
    gap: clamp(1rem, 2.6vw, 2rem);
    align-items: stretch;
}

.uf-herald-lead-paper {
    min-width: 0;
    perspective: 1500px;
}

.uf-herald-paper-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.uf-herald-paper-preview {
    position: relative;
    overflow: hidden;
    min-height: 34rem;
    height: 100%;
    padding: clamp(1rem, 2vw, 1.75rem);
    color: var(--herald-ink);
    border: 1px solid #a99569;
    background:
        repeating-linear-gradient(0deg, rgba(59, 44, 25, 0.018), rgba(59, 44, 25, 0.018) 1px, transparent 1px, transparent 4px),
        var(--herald-paper);
    box-shadow: 10px 13px 0 rgba(0, 0, 0, 0.2), 0 30px 70px rgba(0, 0, 0, 0.35);
    transition: transform 320ms ease, box-shadow 320ms ease, filter 320ms ease;
    transform-origin: center;
}

.uf-herald-paper-preview::before {
    position: absolute;
    z-index: 2;
    inset: 0 auto 0 50%;
    width: 1px;
    content: "";
    background: linear-gradient(transparent, rgba(69, 48, 22, 0.22), transparent);
    box-shadow: 6px 0 15px rgba(60, 38, 13, 0.08), -6px 0 15px rgba(60, 38, 13, 0.05);
}

.uf-herald-paper-link:hover .uf-herald-paper-preview,
.uf-herald-paper-link:focus-visible .uf-herald-paper-preview {
    box-shadow: 14px 18px 0 rgba(0, 0, 0, 0.2), 0 38px 90px rgba(0, 0, 0, 0.46);
    transform: translateY(-7px) rotateX(1.5deg);
}

.uf-herald-paper-link:focus-visible {
    outline: 3px solid var(--herald-cyan);
    outline-offset: 6px;
}

.uf-herald-paper-link.is-opening .uf-herald-paper-preview,
.uf-herald-dispatch-card a.is-opening,
.uf-herald-wire-item a.is-opening,
.uf-herald-story-nav a.is-opening {
    animation: uf-herald-open-card 620ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes uf-herald-open-card {
    0% { transform: scale(1) rotateY(0); filter: brightness(1); }
    48% { transform: scale(0.96) rotateY(-8deg); filter: brightness(1.08); }
    100% { transform: scale(1.07) rotateY(0); filter: brightness(1.22); opacity: 0.12; }
}

.uf-herald-paper-preview__masthead {
    padding: 0.25rem 0 0.8rem;
    border-top: 4px double var(--herald-ink);
    border-bottom: 2px solid var(--herald-ink);
    text-align: center;
}

.uf-herald-paper-preview__masthead span,
.uf-herald-paper-preview__masthead small {
    display: block;
    font-family: "JetBrains Mono", monospace;
    font-size: clamp(0.57rem, 1vw, 0.69rem);
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.uf-herald-paper-preview__masthead strong {
    display: block;
    margin: 0.24rem 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.6rem, 7vw, 6.3rem);
    font-weight: 900;
    line-height: 0.83;
    letter-spacing: -0.075em;
}

.uf-herald-paper-preview__body {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(1rem, 2vw, 1.8rem);
    padding-top: 1rem;
}

.uf-herald-paper-preview__image {
    position: relative;
    min-height: 22rem;
    border: 1px solid #75684e;
    background: #1a1b18;
}

.uf-herald-paper-preview__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.62) sepia(0.25) contrast(1.04);
}

.uf-herald-paper-preview__image > span {
    position: absolute;
    inset: auto 0 0;
    padding: 0.45rem 0.6rem;
    color: #fff9e8;
    background: rgba(23, 19, 15, 0.88);
    font-family: "JetBrains Mono", monospace;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.uf-herald-paper-preview__story > span {
    color: var(--herald-red);
    font-family: "JetBrains Mono", monospace;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.uf-herald-paper-preview__story h3 {
    margin: 0.45rem 0 0.75rem;
    color: var(--herald-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 5vw, 4.75rem);
    font-weight: 900;
    line-height: 0.91;
    letter-spacing: -0.055em;
}

.uf-herald-paper-preview__story p {
    margin: 0;
    color: var(--herald-ink-soft);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(0.98rem, 1.25vw, 1.1rem);
    line-height: 1.52;
}

.uf-herald-paper-preview__story > strong {
    display: inline-flex;
    gap: 0.55rem;
    align-items: center;
    margin-top: 1.25rem;
    padding-top: 0.7rem;
    color: var(--herald-red);
    border-top: 2px solid var(--herald-ink);
    font-family: "JetBrains Mono", monospace;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.uf-herald-paper-preview__fold,
.uf-herald-dispatch-card__crease {
    position: absolute;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(82, 56, 27, 0.1), transparent);
    transform: rotate(-18deg);
}

.uf-herald-paper-preview__fold {
    right: -8%;
    bottom: 17%;
    width: 38%;
    height: 2px;
}

.uf-herald-wire {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(1rem, 2vw, 1.4rem);
    border: 1px solid rgba(101, 231, 243, 0.24);
    background: linear-gradient(160deg, rgba(14, 38, 45, 0.96), rgba(6, 20, 25, 0.98));
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.25);
}

.uf-herald-wire__heading {
    padding: 0.15rem 0 0.9rem;
    border-bottom: 3px double rgba(101, 231, 243, 0.42);
}

.uf-herald-wire__heading > span {
    color: var(--herald-gold);
    font-family: "JetBrains Mono", monospace;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.uf-herald-wire__heading h2 {
    margin: 0.25rem 0 0;
    color: #fff;
    font-family: "Outfit", sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2.15rem);
    line-height: 1;
}

.uf-herald-wire-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.uf-herald-wire-item a {
    display: block;
    padding: clamp(0.85rem, 2vw, 1.25rem) 0;
    color: inherit;
    text-decoration: none;
    transform-origin: left center;
}

.uf-herald-wire-item time,
.uf-herald-wire-item a > span {
    color: #85a4a9;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.uf-herald-wire-item h3 {
    margin: 0.32rem 0 0.55rem;
    color: #f6f2e8;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.15rem, 1.6vw, 1.45rem);
    line-height: 1.06;
}

.uf-herald-wire-item a > span {
    color: var(--herald-gold);
}

.uf-herald-wire-item a:hover h3,
.uf-herald-wire-item a:focus-visible h3 {
    color: var(--herald-cyan);
}

.uf-herald-wire__board-link {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    color: var(--herald-cyan);
    font-size: 0.77rem;
    font-weight: 800;
    line-height: 1.35;
    text-decoration: none;
}

.uf-herald-wire__board-link svg {
    flex: 0 0 auto;
    width: 1.1rem;
    height: 1.1rem;
}

.uf-herald-archive {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(2, 12, 15, 0.42);
}

.uf-herald-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.9rem, 2vw, 1.35rem);
}

.uf-herald-dispatch-card {
    min-width: 0;
    perspective: 1200px;
}

.uf-herald-dispatch-card > a {
    position: relative;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    min-height: 22rem;
    height: 100%;
    padding: clamp(1.1rem, 2.5vw, 1.65rem);
    color: var(--herald-ink);
    border: 1px solid #a6946d;
    background:
        linear-gradient(90deg, transparent 49.5%, rgba(60, 45, 24, 0.07) 50%, transparent 50.5%),
        repeating-linear-gradient(0deg, rgba(59, 44, 25, 0.018), rgba(59, 44, 25, 0.018) 1px, transparent 1px, transparent 4px),
        var(--herald-paper);
    box-shadow: 6px 8px 0 rgba(0, 0, 0, 0.18), 0 20px 45px rgba(0, 0, 0, 0.22);
    text-decoration: none;
    transition: transform 260ms ease, box-shadow 260ms ease, background-color 260ms ease;
    transform-origin: center;
}

.uf-herald-dispatch-card:nth-child(3n + 2) > a {
    transform: rotate(0.55deg);
}

.uf-herald-dispatch-card:nth-child(3n + 3) > a {
    transform: rotate(-0.45deg);
}

.uf-herald-dispatch-card > a:hover,
.uf-herald-dispatch-card > a:focus-visible {
    z-index: 2;
    box-shadow: 9px 13px 0 rgba(0, 0, 0, 0.19), 0 32px 65px rgba(0, 0, 0, 0.36);
    transform: translateY(-7px) rotate(0);
}

.uf-herald-dispatch-card > a:focus-visible {
    outline: 3px solid var(--herald-cyan);
    outline-offset: 4px;
}

.uf-herald-dispatch-card__topline {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0.55rem;
    border-bottom: 3px double var(--herald-ink);
    font-family: "JetBrains Mono", monospace;
    font-size: 0.59rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.uf-herald-dispatch-card time {
    display: block;
    margin-top: 0.75rem;
    color: #6f5e45;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.63rem;
    font-weight: 700;
    text-transform: uppercase;
}

.uf-herald-dispatch-card h3 {
    margin: 0.45rem 0 0.75rem;
    color: var(--herald-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.7rem, 3vw, 2.7rem);
    font-weight: 900;
    line-height: 0.96;
    letter-spacing: -0.035em;
}

.uf-herald-dispatch-card p {
    margin: 0;
    color: var(--herald-ink-soft);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.96rem;
    line-height: 1.48;
}

.uf-herald-dispatch-card__action {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    color: var(--herald-red);
    border-top: 1px solid rgba(23, 19, 15, 0.3);
    font-family: "JetBrains Mono", monospace;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.uf-herald-dispatch-card__crease {
    right: -3rem;
    bottom: 5rem;
    width: 13rem;
    height: 2px;
}

.uf-herald-empty {
    padding: 3rem;
    border: 1px solid rgba(101, 231, 243, 0.2);
    text-align: center;
}

.uf-herald-pagination {
    margin-top: 2.25rem;
}

.uf-herald-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}

.uf-herald-pagination .page-numbers {
    display: inline-grid;
    min-width: 2.4rem;
    min-height: 2.4rem;
    padding: 0.5rem;
    place-items: center;
    color: #c5d7d9;
    border: 1px solid rgba(101, 231, 243, 0.25);
    background: #0a2026;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.72rem;
    font-weight: 800;
    text-decoration: none;
}

.uf-herald-pagination .page-numbers.current,
.uf-herald-pagination a.page-numbers:hover {
    color: #10150d;
    border-color: var(--herald-gold);
    background: var(--herald-gold);
}

/* Reading room. */
.uf-herald-reader-stage {
    padding: clamp(1.5rem, 4vw, 4rem) 0 clamp(4rem, 8vw, 8rem);
    perspective: 1800px;
}

.uf-herald-reader-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: #8ea5a9;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.uf-herald-reader-controls a,
.uf-herald-reader-controls span {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
}

.uf-herald-reader-controls a {
    color: var(--herald-cyan);
    text-decoration: none;
}

.uf-herald-reader-controls svg {
    width: 1rem;
    height: 1rem;
}

.uf-herald-paper {
    position: relative;
    overflow: hidden;
    max-width: 72rem;
    margin-inline: auto;
    padding: clamp(1.1rem, 4.2vw, 4rem);
    color: var(--herald-ink);
    border: 1px solid #a9966c;
    background:
        repeating-linear-gradient(0deg, rgba(59, 44, 25, 0.016), rgba(59, 44, 25, 0.016) 1px, transparent 1px, transparent 4px),
        var(--herald-paper-light);
    box-shadow: 18px 22px 0 rgba(0, 0, 0, 0.18), 0 40px 110px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(1.5rem) rotateY(-78deg) scale(0.72);
    transform-origin: left center;
    transition: transform 820ms cubic-bezier(0.16, 1, 0.3, 1), opacity 220ms ease;
}

.uf-herald-reading-room.is-open .uf-herald-paper {
    opacity: 1;
    transform: translateY(0) rotateY(0) scale(1);
}

.uf-herald-paper::before {
    position: absolute;
    z-index: 0;
    inset: 0 auto 0 50%;
    width: 1px;
    content: "";
    pointer-events: none;
    background: linear-gradient(transparent 2%, rgba(86, 61, 31, 0.17) 12%, rgba(86, 61, 31, 0.08) 85%, transparent 98%);
    box-shadow: 8px 0 24px rgba(74, 49, 21, 0.05), -8px 0 24px rgba(74, 49, 21, 0.05);
}

.uf-herald-paper > * {
    position: relative;
    z-index: 1;
}

.uf-herald-paper__edge {
    position: absolute;
    z-index: 0;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 90px rgba(91, 60, 22, 0.12);
}

.uf-herald-article-masthead {
    display: grid;
    grid-template-columns: 1fr minmax(18rem, 2fr) 1fr;
    gap: 1rem;
    align-items: center;
    padding: 0.65rem 0;
    border-top: 5px double var(--herald-ink);
    border-bottom: 2px solid var(--herald-ink);
}

.uf-herald-article-masthead strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.8rem, 7.5vw, 6.5rem);
    font-weight: 900;
    line-height: 0.78;
    letter-spacing: -0.08em;
    text-align: center;
}

.uf-herald-article-masthead span {
    font-family: "JetBrains Mono", monospace;
    font-size: clamp(0.53rem, 0.8vw, 0.65rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.35;
    text-transform: uppercase;
}

.uf-herald-article-masthead span:last-child {
    text-align: right;
}

.uf-herald-article-dateline,
.uf-herald-article-byline {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--herald-ink);
    font-family: "JetBrains Mono", monospace;
    font-size: clamp(0.55rem, 0.9vw, 0.67rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.uf-herald-article-kicker {
    display: block;
    margin: clamp(1.6rem, 4vw, 3.2rem) 0 0.55rem;
    color: var(--herald-red);
    font-family: "JetBrains Mono", monospace;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-align: center;
    text-transform: uppercase;
}

.uf-herald-article-header h1 {
    max-width: 16ch;
    margin: 0 auto;
    color: var(--herald-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.55rem, 7vw, 6.5rem);
    font-weight: 900;
    line-height: 0.88;
    letter-spacing: -0.06em;
    text-align: center;
    text-wrap: balance;
}

.uf-herald-article-deck {
    max-width: 54rem;
    margin: 1.25rem auto 0;
    color: var(--herald-ink-soft);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.08rem, 2vw, 1.45rem);
    font-weight: 700;
    line-height: 1.38;
    text-align: center;
}

.uf-herald-article-byline {
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
    border-top: 2px solid var(--herald-ink);
}

.uf-herald-featured-image {
    margin: 1.6rem 0 0;
}

.uf-herald-featured-image img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #8e7d5d;
    filter: saturate(0.78) sepia(0.12);
}

.uf-herald-featured-image figcaption {
    padding-top: 0.4rem;
    color: #665943;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.65rem;
}

.uf-herald-copy {
    max-width: 61rem;
    margin: clamp(1.5rem, 4vw, 3rem) auto 0;
    color: var(--herald-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1rem, 1.45vw, 1.16rem);
    line-height: 1.65;
}

.uf-herald-paper--bulletin .uf-herald-copy > p:first-child::first-letter,
.uf-herald-paper--bulletin .uf-herald-copy > div:first-child > p:first-child::first-letter {
    float: left;
    margin: 0.05em 0.08em 0 0;
    color: var(--herald-red);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 4.6em;
    font-weight: 900;
    line-height: 0.72;
}

.uf-herald-copy :where(h2, h3, h4) {
    color: var(--herald-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 900;
    line-height: 1.05;
}

.uf-herald-copy h2 {
    margin: 2rem 0 0.8rem;
    padding: 0.5rem 0;
    border-top: 3px solid var(--herald-ink);
    border-bottom: 1px solid var(--herald-ink);
    font-size: clamp(1.65rem, 3vw, 2.55rem);
}

.uf-herald-copy h3 {
    margin: 1.6rem 0 0.55rem;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.uf-herald-copy p,
.uf-herald-copy li {
    color: var(--herald-ink);
}

.uf-herald-copy p {
    margin: 0 0 1.1rem;
}

.uf-herald-copy a {
    color: #6d211b;
    font-weight: 800;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.16em;
}

.uf-herald-copy blockquote {
    margin: 1.5rem 0;
    padding: 0.6rem 0 0.6rem 1.2rem;
    color: #2e251c;
    border-left: 5px solid var(--herald-red);
    font-size: clamp(1.2rem, 2.4vw, 1.65rem);
    font-style: italic;
    line-height: 1.42;
}

.uf-herald-copy img {
    max-width: 100%;
    height: auto;
}

.uf-herald-copy figure,
.uf-herald-copy .wp-block-image {
    max-width: 100%;
    margin-inline: auto;
}

.uf-herald-paper--feature .uf-herald-copy > .uf-herald-post {
    max-width: none !important;
    margin: 0 !important;
    color: var(--herald-ink) !important;
    font-family: Georgia, "Times New Roman", serif !important;
}

.uf-herald-paper--feature .uf-herald-copy > .uf-herald-post > :first-child {
    display: none;
}

.uf-herald-paper--feature .uf-herald-post [style*="background:#fbf7ed"],
.uf-herald-paper--feature .uf-herald-post [style*="background:#fffaf0"] {
    background: #f7efd9 !important;
}

.uf-herald-comments {
    max-width: 61rem;
    margin: 2.5rem auto 0;
    padding-top: 2rem;
    border-top: 4px double var(--herald-ink);
}

.uf-herald-article-footer {
    display: flex;
    gap: 2rem;
    align-items: end;
    justify-content: space-between;
    margin-top: clamp(2.5rem, 5vw, 4.5rem);
    padding-top: 1rem;
    border-top: 5px double var(--herald-ink);
}

.uf-herald-article-footer span,
.uf-herald-article-footer strong {
    display: block;
}

.uf-herald-article-footer span {
    color: #76664d;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.uf-herald-article-footer strong {
    margin-top: 0.2rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.uf-herald-article-footer__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: flex-end;
}

.uf-herald-article-footer__actions a {
    padding: 0.55rem 0.7rem;
    color: var(--herald-ink);
    border: 1px solid var(--herald-ink);
    font-family: "JetBrains Mono", monospace;
    font-size: 0.62rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}

.uf-herald-article-footer__actions a:hover,
.uf-herald-article-footer__actions a:focus-visible {
    color: var(--herald-paper-light);
    background: var(--herald-ink);
}

.uf-herald-story-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    max-width: 72rem;
    margin: 1.4rem auto 0;
}

.uf-herald-story-nav > a {
    display: block;
    padding: 1rem 1.15rem;
    color: #e7f0ef;
    border: 1px solid rgba(101, 231, 243, 0.22);
    background: #0a2026;
    text-decoration: none;
    transform-origin: center;
}

.uf-herald-story-nav > a:last-child {
    grid-column: 2;
    text-align: right;
}

.uf-herald-story-nav span {
    display: block;
    color: var(--herald-cyan);
    font-family: "JetBrains Mono", monospace;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.uf-herald-story-nav strong {
    display: block;
    margin-top: 0.25rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    line-height: 1.25;
}

@media (max-width: 1000px) {
    .uf-herald-console__body,
    .uf-herald-lead-grid {
        grid-template-columns: 1fr;
    }

    .uf-herald-masthead-card {
        max-width: 42rem;
    }

    .uf-herald-wire {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0 1rem;
    }

    .uf-herald-wire__heading,
    .uf-herald-wire__board-link {
        grid-column: 1 / -1;
    }

    .uf-herald-wire-item {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 0;
    }

    .uf-herald-wire-item:nth-of-type(3) {
        border-right: 0;
    }

    .uf-herald-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .uf-herald-article-masthead {
        grid-template-columns: 1fr;
        gap: 0.45rem;
        text-align: center;
    }

    .uf-herald-article-masthead span:last-child {
        text-align: center;
    }
}

@media (max-width: 680px) {
    .uf-herald-breadcrumbs {
        padding-top: 0.6rem;
    }

    .uf-herald-console__bar {
        gap: 0.65rem;
        align-items: flex-start;
        font-size: 0.57rem;
    }

    .uf-herald-console__body {
        gap: 1.8rem;
        padding: 1rem;
    }

    .uf-herald-masthead-card {
        padding: 1.4rem 0.8rem;
        transform: rotate(-1deg);
    }

    .uf-herald-masthead-card strong {
        font-size: clamp(2.3rem, 14vw, 4.1rem);
    }

    .uf-herald-intro__copy h1 {
        font-size: clamp(2.45rem, 13vw, 4rem);
    }

    .uf-herald-intro__actions .uf-button {
        width: 100%;
        justify-content: center;
    }

    .uf-herald-ticker {
        gap: 0.75rem;
        overflow-x: auto;
        font-size: 0.57rem;
    }

    .uf-herald-ticker span + span::before {
        margin-right: 0.75rem;
    }

    .uf-herald-section-heading {
        display: block;
    }

    .uf-herald-section-heading > p {
        margin-top: 0.75rem;
        text-align: left;
    }

    .uf-herald-paper-preview {
        min-height: 0;
        padding: 0.85rem;
        box-shadow: 5px 7px 0 rgba(0, 0, 0, 0.2), 0 25px 55px rgba(0, 0, 0, 0.32);
    }

    .uf-herald-paper-preview__masthead strong {
        font-size: clamp(2.5rem, 14vw, 4.4rem);
    }

    .uf-herald-paper-preview__body {
        grid-template-columns: 1fr;
    }

    .uf-herald-paper-preview__image {
        min-height: 12rem;
        max-height: 17rem;
    }

    .uf-herald-paper-preview__story h3 {
        font-size: clamp(2.1rem, 11vw, 3.35rem);
    }

    .uf-herald-wire {
        display: block;
    }

    .uf-herald-wire-item {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .uf-herald-wire__board-link {
        margin-top: 0.4rem;
    }

    .uf-herald-archive-grid,
    .uf-herald-story-nav {
        grid-template-columns: 1fr;
    }

    .uf-herald-dispatch-card > a {
        min-height: 20rem;
    }

    .uf-herald-dispatch-card:nth-child(n) > a {
        transform: none;
    }

    .uf-herald-reader-controls {
        align-items: flex-start;
        font-size: 0.56rem;
    }

    .uf-herald-paper {
        width: calc(100% + 0.5rem);
        margin-left: -0.25rem;
        padding: 0.9rem;
        box-shadow: 6px 8px 0 rgba(0, 0, 0, 0.18), 0 28px 75px rgba(0, 0, 0, 0.44);
    }

    .uf-herald-paper::before {
        display: none;
    }

    .uf-herald-article-masthead strong {
        font-size: clamp(2.65rem, 15vw, 4.2rem);
    }

    .uf-herald-article-dateline,
    .uf-herald-article-byline {
        flex-wrap: wrap;
        gap: 0.25rem 0.65rem;
    }

    .uf-herald-article-dateline span:nth-child(2) {
        display: none;
    }

    .uf-herald-article-header h1 {
        font-size: clamp(2.35rem, 12.5vw, 4rem);
    }

    .uf-herald-copy {
        overflow-wrap: anywhere;
        font-size: 1rem;
    }

    .uf-herald-paper--feature .uf-herald-post [style*="display:flex"] {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .uf-herald-paper--feature .uf-herald-post [style*="flex:1 1 145px"] {
        min-width: 0;
    }

    .uf-herald-article-footer {
        display: block;
    }

    .uf-herald-article-footer__actions {
        justify-content: flex-start;
        margin-top: 1rem;
    }

    .uf-herald-story-nav > a:last-child {
        grid-column: auto;
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .uf-herald-paper,
    .uf-herald-paper-preview,
    .uf-herald-dispatch-card > a {
        transition: none !important;
    }

    .uf-herald-paper-link.is-opening .uf-herald-paper-preview,
    .uf-herald-dispatch-card a.is-opening,
    .uf-herald-wire-item a.is-opening,
    .uf-herald-story-nav a.is-opening {
        animation: none !important;
    }

    .uf-herald-paper {
        opacity: 1;
        transform: none;
    }
}
