@font-face {
    font-family: "Journa Editorial";
    src: url("../fonts/editorial.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Journa Sans";
    src: url("../fonts/sans.ttf") format("truetype");
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
}
:root {
    color-scheme: light;
    --paper: #fcf8f2;
    --surface: #fffcf8;
    --ink: #18251d;
    --muted: #61675e;
    --green: #173f2b;
    --green-hover: #28553b;
    --sage: #e7ead7;
    --peach: #f6c28f;
    --orange: #df8339;
    --line: #e9e3da;
    --soft: #f3ece2;
    --on-green: #fffdf6;
    --error: #a43924;
    --shadow: 0 6px 24px rgb(65 49 27 / 0.045);
    --font-heading: var(--gh-font-heading, "Journa Editorial", Georgia, serif);
    --font-body: var(--gh-font-body, "Journa Sans", sans-serif);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --radius: 18px;
}
[data-theme="dark"] {
    color-scheme: dark;
    --paper: #17211b;
    --surface: #202c23;
    --ink: #f4f1e7;
    --muted: #bcc5b6;
    --green: #d6e3cb;
    --green-hover: #e9f0e3;
    --sage: #384936;
    --line: #354335;
    --soft: #2c382b;
    --error: #ffb6a4;
    --shadow: 0 6px 24px rgb(0 0 0 / 0.08);
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 28px;
    scrollbar-color: var(--muted) var(--paper);
}
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font: 15px/1.65 var(--font-body);
    -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) {
    overflow: hidden;
}
::selection {
    background: var(--peach);
    color: #173324;
}
a {
    color: inherit;
    text-decoration: none;
    text-underline-offset: 5px;
}
a:hover {
    text-decoration: underline;
}
button,
input,
select {
    font: inherit;
}
button,
a,
input,
select {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
button {
    cursor: pointer;
    color: inherit;
    border: 0;
}
button:disabled {
    cursor: default;
    opacity: 0.5;
}
button {
    transition:
        color 160ms var(--ease),
        background-color 160ms var(--ease),
        transform 160ms var(--ease);
}
button:active:not(:disabled),
.button:active {
    transform: scale(0.97);
}
:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 4px;
}
input {
    caret-color: var(--green);
}
input::placeholder {
    color: var(--muted);
    opacity: 1;
}
svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}
img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
h1,
h2,
h3,
p,
figure {
    margin: 0;
}
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.12;
    text-wrap: balance;
    overflow-wrap: break-word;
}
[hidden] {
    display: none !important;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    padding: 12px 20px;
    background: var(--green);
    color: var(--paper);
    z-index: 50;
    transform: translateY(-180%);
}
.skip-link:focus {
    transform: translateY(0);
}
.container {
    width: calc(100% - 112px);
    max-width: 1536px;
    margin-inline: auto;
}
.site-header {
    display: flex;
    align-items: center;
    gap: 26px;
    min-height: 72px;
    width: calc(100% - 180px);
    max-width: 1440px;
    margin-inline: auto;
}
.wordmark {
    display: inline-flex;
    align-items: baseline;
    font: 400 43px/1 var(--font-heading);
    letter-spacing: -0.04em;
    color: var(--green);
    white-space: nowrap;
}
.wordmark:hover {
    text-decoration: none;
}
.wordmark span {
    color: var(--orange);
}
.site-tagline {
    padding-left: 27px;
    border-left: 1px solid var(--line);
    color: #714120;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
}
[data-theme="dark"] .site-tagline {
    color: var(--peach);
}
.primary-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}
.primary-nav ul,
.primary-nav .nav {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.primary-nav li {
    display: inline-flex;
    align-items: center;
}
.primary-nav a,
.primary-nav button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 46px;
    font-size: 14px;
    font-weight: 650;
    white-space: nowrap;
}
.primary-nav .current,
.primary-nav .nav-current a {
    border-bottom: 2px solid var(--green);
}
.primary-nav a:hover {
    text-decoration: none;
    color: var(--green);
}
.primary-nav button {
    background: transparent;
    padding: 0;
}
.primary-nav svg {
    width: 14px;
    height: 14px;
}
.nav-topics {
    position: relative;
}
.nav-topics summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    min-height: 46px;
    font-weight: 650;
}
.nav-topics summary::-webkit-details-marker {
    display: none;
}
.nav-topics > div {
    position: absolute;
    top: 48px;
    left: -18px;
    z-index: 5;
    width: 190px;
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    background: var(--surface);
    border: 1px solid var(--line);
}
.nav-topics > div a {
    display: flex;
    font-size: 13px;
    min-height: 38px;
}
.toast {
    position: fixed;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    max-width: calc(100% - 32px);
    padding: 12px 20px;
    border-radius: 10px;
    background: var(--green);
    color: var(--paper);
    font-size: 13px;
    z-index: 15;
    box-shadow: var(--shadow);
}
.saved-entries {
    list-style: none;
    padding: 0;
    margin: 0;
}
.saved-entries li {
    display: flex;
    gap: 15px;
    align-items: center;
    padding-block: 17px;
    border-bottom: 1px solid var(--line);
}
.saved-entries li > a {
    font: 400 24px/1.2 var(--font-heading);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 28px;
}
.icon-button {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 9px;
    border-radius: 50%;
    background: transparent;
}
.header-actions .icon-button {
    border: 1px solid var(--line);
    background: var(--surface);
}
.header-actions .theme-toggle {
    background: #faf0e1;
    color: #8c501c;
}
[data-theme="dark"] .header-actions .theme-toggle {
    background: var(--soft);
    color: var(--peach);
}
.icon-button:hover {
    background: var(--soft);
}
.moon {
    display: none;
}
[data-theme="dark"] .sun {
    display: none;
}
[data-theme="dark"] .moon {
    display: block;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 42px;
    padding: 9px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 650;
    white-space: nowrap;
    flex-shrink: 0;
    background: var(--green);
    color: var(--paper);
    transition:
        background-color 160ms var(--ease),
        transform 160ms var(--ease);
}
.button:hover {
    background: var(--green-hover);
    text-decoration: none;
}
.button svg {
    width: 18px;
    height: 18px;
}
.menu-toggle {
    display: none;
}
.stories-wrap {
    position: relative;
    margin-block: 8px 20px;
}
.story-track {
    display: flex;
    align-items: start;
    gap: clamp(14px, 2.6vw, 43px);
    padding: 4px 6px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}
.story-track::-webkit-scrollbar {
    display: none;
}
.story-link {
    flex: 1 0 86px;
    min-width: 0;
    max-width: 116px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    scroll-snap-align: start;
}
.story-link:hover {
    text-decoration: none;
}
.story-ring {
    width: 96px;
    height: 96px;
    padding: 4px;
    border: 2px solid #bc9078;
    border-top-color: #e6a064;
    border-right-color: #ad8e9e;
    border-radius: 50%;
    transition: transform 200ms var(--ease);
}
.story-link:nth-child(3n) .story-ring {
    border-left-color: #909e79;
}
.story-ring img {
    border-radius: 50%;
}
.story-link:hover .story-ring {
    transform: translateY(-3px);
}
.story-title {
    font-size: 12px;
    font-weight: 650;
    line-height: 1.3;
    max-width: 108px;
    min-height: 28px;
}
.story-arrow {
    position: absolute;
    top: 30px;
    right: -20px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 392px;
    gap: 36px;
    align-items: start;
}
.main-column,
.sidebar {
    min-width: 0;
}
section.featured {
    position: relative;
    min-height: 382px;
    border-radius: var(--radius);
    background: #173d2a;
    overflow: hidden;
    color: var(--on-green);
    isolation: isolate;
}
.feature-image {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.feature-image img {
    object-position: center 85%;
}
.feature-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 20%,
        rgb(8 27 22 / 0.08) 42%,
        rgb(8 26 23 / 0.93) 100%
    );
}
.featured-label {
    position: absolute;
    top: 28px;
    left: 28px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 15px;
    border-radius: 24px;
    background: #fffdf7;
    color: #18251d;
    font-size: 12px;
    font-weight: 650;
}
.featured-label svg {
    width: 18px;
    height: 18px;
    fill: #ef9e38;
    stroke: #cf7e16;
}
.feature-copy {
    width: 40%;
    margin-left: auto;
    padding: 28px 28px 90px 0;
}
.feature-copy h1,
.feature-copy h2 {
    font-size: clamp(32px, 3vw, 46px);
    line-height: 1.02;
    letter-spacing: -0.02em;
    text-wrap: pretty;
}
.feature-copy > p {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.5;
}
.feature-bottom {
    position: absolute;
    bottom: 40px;
    right: 24px;
    left: 56%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.byline {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 11px;
}
.avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    flex-shrink: 0;
    object-position: center 25%;
}
.byline a {
    font-weight: 700;
}
.feature-bottom .avatar {
    border: 1px solid #fff;
}
.feature-meta {
    display: flex;
    flex-wrap: wrap;
    column-gap: 6px;
    align-items: center;
}
.read-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    padding: 7px 16px;
    border: 1px solid rgb(255 253 246 / 0.8);
    border-radius: 28px;
    font-size: 13px;
    white-space: nowrap;
}
.read-button svg {
    width: 17px;
    height: 17px;
}
.read-button:hover {
    text-decoration: none;
    background: rgb(255 255 255 / 0.12);
}
.slide-controls {
    position: absolute;
    bottom: 22px;
    left: 28px;
    display: flex;
    gap: 0;
}
.slide-controls button {
    display: grid;
    place-items: center;
    width: 43px;
    height: 28px;
    background: transparent;
}
.slide-controls button::after {
    content: "";
    display: block;
    height: 6px;
    width: 30px;
    border-radius: 5px;
    background: rgb(255 255 255 / 0.45);
}
.slide-controls button[aria-current="true"]::after {
    background: #fffdf7;
}
.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-block: 28px 20px;
}
.section-heading h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 34px;
    letter-spacing: -0.02em;
}
.section-heading h2 svg {
    width: 30px;
    height: 30px;
    color: var(--green);
}
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    color: var(--green);
    font-size: 14px;
    font-weight: 700;
}
.text-link svg {
    width: 19px;
    height: 19px;
}
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.article-card {
    min-width: 0;
    position: relative;
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}
.card-photo {
    display: block;
    height: 146px;
    overflow: hidden;
}
.card-photo img {
    transition: transform 400ms var(--ease);
}
.card-topic {
    position: absolute;
    top: 14px;
    left: 17px;
    padding: 2px 14px;
    min-height: 27px;
    display: inline-flex;
    align-items: center;
    border-radius: 18px;
    background: #fffdf7;
    color: #18251d;
    font-size: 12px;
    font-weight: 650;
}
.card-copy {
    padding: 12px 16px 0;
    flex-grow: 1;
}
.card-copy h3 {
    font-size: 24px;
    line-height: 1.04;
    letter-spacing: -0.02em;
}
.article-card {
    background: var(--surface);
    color: var(--ink);
}
.article-card.featured {
    background: var(--surface);
    color: var(--ink);
    min-height: unset;
}
.article-card.featured .card-copy h3 a {
    color: var(--ink);
}
.article-card.featured .card-copy p {
    color: var(--muted);
}
.card-copy h3 a:hover {
    color: var(--green);
    text-decoration: none;
}
.card-copy p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}
.card-bottom {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 13px 13px 16px;
    font-size: 11px;
}
.card-bottom .avatar {
    width: 25px;
    height: 25px;
}
.card-bottom > a {
    font-weight: 700;
}
.card-bottom time {
    color: var(--muted);
}
.card-bottom time::before {
    content: "·";
    margin-inline-end: 6px;
}
.save-button {
    background: transparent;
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 36px;
    padding: 7px;
    margin-left: auto;
    flex-shrink: 0;
    border-radius: 6px;
}
.save-button svg {
    width: 19px;
    height: 19px;
}
.save-button:hover {
    background: var(--soft);
}
.save-button[aria-pressed="true"] svg {
    fill: var(--green);
    color: var(--green);
}
.card-date-mobile {
    display: none;
}
.no-image .card-photo {
    display: grid;
    place-items: center;
    background: var(--sage);
    color: var(--green);
    font: 400 65px/1 var(--font-heading);
}
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.panel {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.author-panel {
    padding: 18px 26px 16px;
}
.author-overview {
    display: flex;
    align-items: center;
    gap: 20px;
}
.author-portrait {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    flex-shrink: 0;
    object-position: center 25%;
}
.author-overview p:first-child {
    font-size: 15px;
    font-weight: 650;
    line-height: 1.3;
}
.author-overview h2 {
    font-size: 29px;
    letter-spacing: -0.02em;
    margin-top: 2px;
}
.author-overview p:last-child {
    font-size: 13px;
    line-height: 1.5;
    margin-top: 10px;
}
.author-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    align-items: center;
    border-top: 1px solid var(--line);
    margin-top: 16px;
    padding-top: 10px;
}
.author-socials a {
    display: grid;
    place-items: center;
    min-width: 30px;
    height: 30px;
    font-size: 12px;
    font-weight: 650;
}
.author-socials svg {
    width: 18px;
    height: 18px;
}
.author-socials .author-more {
    margin-left: auto;
    color: var(--green);
}
.newsletter-panel {
    position: relative;
    overflow: hidden;
    padding: 22px 28px 24px;
    color: #fffdf6;
    background: #214833;
    isolation: isolate;
}
.newsletter-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/forest.webp") center 70% / cover;
    opacity: 0.12;
    z-index: -1;
}
.newsletter-title {
    display: flex;
    align-items: start;
    gap: 14px;
}
.mail-circle {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgb(238 239 203 / 0.15);
    flex-shrink: 0;
}
.newsletter-title h2 {
    font-size: 23px;
}
.newsletter-title p {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.5;
}
.newsletter-form {
    margin-top: 20px;
}
.email-field {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8f7ee;
    border-radius: 25px;
    padding: 0 0 0 18px;
}
.email-field input {
    width: 100%;
    min-width: 0;
    padding: 12px 0;
    background: transparent;
    color: #233a2b;
    border: 0;
    font-size: 14px;
    border-radius: 25px;
}
.email-field input::placeholder {
    color: #61675e;
}
.email-field button {
    align-self: stretch;
    width: 54px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background: var(--peach);
    color: #2d3d27;
}
.form-status {
    margin-top: 11px;
    font-size: 12px;
    color: #ffdcce;
}
.form-status:empty {
    display: none;
}
.newsletter-success {
    display: none;
}
.newsletter-form.success .newsletter-success {
    display: block;
}
.curated-panel {
    padding: 19px 24px;
}
.curated-panel h2 {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 24px;
}
.curated-panel h2 svg {
    width: 20px;
    height: 20px;
    color: #cf7132;
}
.curated-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
    display: grid;
    gap: 16px;
}
.curated-list li {
    display: grid;
    grid-template-columns: 86px 1fr 26px;
    align-items: center;
    gap: 13px;
}
.curated-image {
    height: 69px;
    border-radius: 10px;
    overflow: hidden;
}
.curated-copy {
    font-size: 13px;
    line-height: 1.45;
    font-weight: 650;
}
.curated-copy small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 400;
    margin-top: 6px;
}
.curated-list .save-button {
    width: 29px;
}
.topic-nav {
    border-top: 1px solid var(--line);
    padding: 20px 6px 0;
    margin-top: 1px;
}
.sidebar-topics {
    border: 1px solid var(--line);
    padding: 20px 24px;
    margin-top: 0;
}
.topic-nav h2 {
    font-size: 24px;
}
.topic-nav > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}
.topic-nav a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 13px;
    border-radius: 20px;
    background: var(--soft);
    font-size: 13px;
    min-height: 34px;
    transition: background 0.18s ease, color 0.18s ease, transform 0.15s ease;
}
.topic-nav a svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.8;
}
.topic-nav a .topic-count {
    color: var(--muted);
    font-size: 11px;
    margin-left: 2px;
}
.topic-nav a[aria-current] {
    color: var(--paper);
    background: var(--green);
}
.topic-nav a[aria-current] svg,
.topic-nav a[aria-current] .topic-count {
    color: var(--sage);
    opacity: 0.9;
}
.topic-nav a:hover {
    text-decoration: none;
    background: var(--sage);
    color: var(--ink);
    transform: translateY(-1px);
}
.topic-nav a:hover svg {
    opacity: 1;
}
.recent-comments-panel {
    border-top: 1px solid var(--line);
    padding: 24px 6px 0;
    margin-top: 6px;
}
.comments-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 16px;
}
.comments-header h2 {
    font-size: 24px;
    margin: 0;
    letter-spacing: -0.02em;
}
.comments-badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(43, 89, 63, 0.08);
    padding: 3px 8px;
    border-radius: 999px;
}
[data-theme="dark"] .comments-badge {
    background: rgba(82, 183, 136, 0.15);
    color: var(--green);
}
.comments-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.comment-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.comment-card:hover {
    background: var(--paper);
    border-color: var(--peach);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.comment-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--soft);
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: -0.02em;
}
.comment-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.comment-author {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.2;
}
.comment-meta time {
    font-size: 11px;
    color: var(--muted);
}
.comment-text {
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--ink);
    margin: 0 0 10px;
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.comment-post-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: var(--green);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease;
}
.comment-post-link svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.comment-card:hover .comment-post-link svg {
    transform: translateX(2px);
}
.comment-post-link:hover {
    color: var(--ink);
    text-decoration: underline;
}
.feed-context {
    color: var(--muted);
    font-size: 13px;
    margin: -6px 0 18px;
}
.feed-context:empty {
    display: none;
}
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 38px;
}
.pagination a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 13px;
}
.pagination a[aria-current] {
    background: var(--green);
    color: var(--paper);
}
.pagination a:hover {
    background: var(--sage);
    color: var(--ink);
    text-decoration: none;
}
.pagination {
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}
.pagination .page-number {
    color: var(--muted);
    font-size: 13px;
    white-space: nowrap;
}
.pagination a.pagination-prev,
.pagination a.pagination-next {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
    height: 42px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: var(--surface);
    font-weight: 650;
    white-space: nowrap;
    transition: background-color 160ms var(--ease), border-color 160ms var(--ease);
}
.pagination a.pagination-prev:hover,
.pagination a.pagination-next:hover {
    border-color: var(--green);
}
.pagination a svg {
    width: 16px;
    height: 16px;
}
.pagination-prev svg {
    transform: rotate(180deg);
}
.site-footer {
    margin-top: 60px;
    border-top: 1px solid var(--line);
    padding-block: 30px;
}
.footer-top {
    display: flex;
    align-items: center;
    gap: 24px;
}
.footer-top .wordmark {
    font-size: 34px;
}
.footer-top p {
    color: var(--muted);
    font-size: 13px;
}
.footer-top nav {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-left: auto;
    font-size: 12px;
}
.footer-top nav ul,
.footer-top .nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-top nav li {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
}
.footer-top nav a {
    color: inherit;
    font-size: 12px;
    text-decoration: none;
    transition: color var(--speed-fast) ease;
}
.footer-top nav a:hover {
    color: var(--green);
}
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 11px;
}
dialog {
    width: min(680px, calc(100% - 32px));
    max-height: calc(100dvh - 40px);
    padding: 30px;
    border: 0;
    border-radius: 20px;
    background: var(--paper);
    color: var(--ink);
    overscroll-behavior: contain;
}
dialog::backdrop {
    background: rgb(13 29 21 / 0.65);
}
.dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 22px;
}
.dialog-header h2 {
    font-size: 32px;
}
.dialog-header h2 span {
    color: var(--orange);
}
.search-field {
    display: block;
    width: 100%;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    font-size: 16px;
    margin-top: 8px;
}
.search-status {
    color: var(--muted);
    font-size: 13px;
    margin-top: 14px;
}
.search-results {
    padding: 0;
    margin: 16px 0 0;
    list-style: none;
}
.search-results li + li {
    border-top: 1px solid var(--line);
}
.search-results a {
    display: block;
    padding: 14px 2px;
}
.search-results strong {
    display: block;
    font: 400 23px/1.2 var(--font-heading);
}
.search-results small {
    color: var(--muted);
}
.article-dialog {
    width: min(840px, calc(100% - 32px));
}
.article-dialog .dialog-header {
    margin-bottom: 16px;
}
.article-dialog .dialog-header p {
    color: var(--green);
    font-size: 13px;
}
.article-dialog img.cover {
    width: 100%;
    height: 280px;
    border-radius: 12px;
    margin-bottom: 23px;
}
.article-dialog h2 {
    font-size: clamp(29px, 5vw, 44px);
}
.article-dialog .article-details {
    color: var(--muted);
    font-size: 12px;
    margin-block: 14px 24px;
}
.article-dialog .article-body p {
    margin-top: 18px;
    max-width: 68ch;
}
.article-dialog .save-inline {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.article-dialog .save-inline button {
    margin-left: 0;
}
.info-dialog p + p {
    margin-top: 16px;
}
.info-dialog nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 22px;
}
.mobile-nav {
    display: grid;
}
.mobile-nav ul,
.mobile-nav .nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
}
.mobile-nav li {
    margin: 0;
    padding: 0;
}
.mobile-nav a {
    font: 400 28px/1.2 var(--font-heading);
    padding-block: 16px;
    border-bottom: 1px solid var(--line);
}
.mobile-nav button {
    text-align: left;
    background: transparent;
    padding-block: 16px;
    font: 400 28px/1.2 var(--font-heading);
}
.appearance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 26px;
}
.appearance select {
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 9px;
}
.saved-empty {
    color: var(--muted);
}
.noscript-note {
    font-size: 13px;
    padding: 20px;
    text-align: center;
}
@media (hover: hover) {
    .article-card:hover .card-photo img {
        transform: scale(1.035);
    }
}
@media (min-width: 1700px) {
    .featured {
        min-height: 450px;
    }
    .feature-copy {
        padding-top: 48px;
    }
    .feature-copy h1,
    .feature-copy h2 {
        font-size: 50px;
    }
    .card-photo {
        height: 190px;
    }
}
@media (max-width: 1380px) {
    .site-header {
        width: calc(100% - 80px);
        gap: 20px;
    }
    .site-tagline {
        font-size: 11px;
        letter-spacing: 0.08em;
        padding-left: 20px;
    }
    .primary-nav {
        gap: 20px;
    }
    .header-actions {
        margin-left: 12px;
        gap: 8px;
    }
    .header-subscribe {
        padding-inline: 14px;
    }
    .container {
        width: calc(100% - 80px);
    }
    .layout {
        grid-template-columns: minmax(0, 1fr) 330px;
        gap: 26px;
    }
    .story-track {
        gap: 20px;
    }
    .story-link {
        flex-basis: 80px;
    }
    .story-ring {
        width: 84px;
        height: 84px;
    }
    .feature-copy {
        width: 44%;
    }
    .feature-copy h1,
    .feature-copy h2 {
        font-size: 36px;
    }
    .feature-copy > p {
        font-size: 15px;
    }
    .feature-bottom {
        left: 52%;
        right: 20px;
    }
    .feature-meta {
        max-width: 135px;
    }
    .feature-bottom .byline {
        gap: 7px;
    }
    .read-button {
        font-size: 12px;
        padding-inline: 12px;
    }
    .article-grid {
        gap: 18px;
    }
    .card-copy {
        padding-inline: 13px;
    }
    .card-copy h3 {
        font-size: 23px;
    }
    .card-bottom {
        padding-inline: 10px;
        flex-wrap: wrap;
    }
    .card-bottom .avatar {
        width: 22px;
        height: 22px;
    }
    .author-panel {
        padding-inline: 20px;
    }
    .author-portrait {
        width: 86px;
        height: 86px;
    }
    .author-overview {
        gap: 15px;
    }
    .author-overview h2 {
        font-size: 27px;
    }
    .author-overview p:first-child {
        font-size: 13px;
    }
    .author-overview p:last-child {
        font-size: 12px;
    }
    .newsletter-panel {
        padding-inline: 22px;
    }
    .newsletter-title {
        gap: 10px;
    }
    .newsletter-title h2 {
        font-size: 22px;
    }
    .curated-panel {
        padding-inline: 20px;
    }
    .curated-list li {
        grid-template-columns: 70px 1fr 24px;
        gap: 10px;
    }
}
@media (max-width: 1150px) {
    .site-tagline {
        display: none;
    }
    .story-track {
        gap: 17px;
    }
    .layout {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 22px;
    }
    .feature-copy {
        width: 52%;
        padding-right: 22px;
    }
    .feature-copy h1,
    .feature-copy h2 {
        font-size: 35px;
    }
    .feature-bottom {
        left: 45%;
        bottom: 25px;
    }
    .feature-image::after {
        background: linear-gradient(
            90deg,
            transparent,
            rgb(8 26 23 / 0.85) 85%
        );
    }
    .article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .card-photo {
        height: 160px;
    }
    .author-portrait {
        width: 74px;
        height: 74px;
    }
    .author-panel {
        padding: 20px 18px;
    }
    .author-overview {
        gap: 12px;
    }
    .author-overview h2 {
        font-size: 25px;
    }
    .author-socials {
        gap: 12px;
    }
    .mail-circle {
        width: 35px;
        height: 35px;
    }
    .newsletter-panel {
        padding: 22px 20px;
    }
    .newsletter-title {
        display: block;
    }
    .mail-circle {
        margin-bottom: 12px;
    }
}
@media (max-width: 900px) {
    .container {
        width: calc(100% - 48px);
    }
    .site-header {
        width: calc(100% - 48px);
    }
    .primary-nav {
        gap: 18px;
    }
    .primary-nav a,
    .primary-nav button {
        font-size: 13px;
    }
    .header-subscribe {
        display: none;
    }
    .header-actions {
        margin-left: auto;
    }
    .layout {
        grid-template-columns: minmax(0, 1fr) 265px;
        gap: 22px;
    }
    .feature-copy {
        width: 64%;
    }
    .feature-copy h1,
    .feature-copy h2 {
        font-size: 33px;
    }
    .feature-bottom {
        left: 36%;
    }
    .featured-label {
        top: 20px;
        left: 20px;
    }
    .feature-copy {
        padding-top: 74px;
        padding-bottom: 120px;
    }
    .featured {
        min-height: 442px;
    }
    .feature-copy > p {
        font-size: 14px;
    }
    .author-overview {
        display: block;
    }
    .author-portrait {
        width: 74px;
        height: 74px;
        margin-bottom: 12px;
    }
    .author-socials {
        gap: 8px;
    }
    .curated-list li {
        grid-template-columns: 58px 1fr 24px;
        gap: 7px;
    }
    .curated-panel {
        padding-inline: 15px;
    }
    .curated-copy {
        font-size: 12px;
    }
    .article-grid {
        gap: 18px;
    }
    .card-copy h3 {
        font-size: 22px;
    }
    .card-photo {
        height: 140px;
    }
    .card-bottom {
        font-size: 11px;
    }
    .footer-top {
        flex-wrap: wrap;
    }
    .footer-top nav {
        margin-left: 0;
    }
}
@media (max-width: 700px) {
    .container {
        width: calc(100% - 40px);
    }
    .site-header {
        width: calc(100% - 32px);
        min-height: 82px;
        display: grid;
        grid-template-columns: 42px 1fr auto;
        gap: 10px;
    }
    .menu-toggle {
        display: inline-grid;
        grid-column: 1;
        grid-row: 1;
    }
    .site-header > .wordmark {
        justify-self: center;
        grid-column: 2;
        grid-row: 1;
        font-size: 37px;
    }
    .primary-nav {
        display: none;
    }
    .header-actions {
        grid-column: 3;
        grid-row: 1;
        margin-left: 0;
        gap: 7px;
    }
    .header-actions .icon-button {
        width: 38px;
        height: 38px;
        padding: 8px;
    }
    .stories-wrap.container {
        width: 100%;
        margin-block: 4px 24px;
    }
    .story-track {
        gap: 14px;
        padding-inline: 20px;
        padding-block: 4px;
        scroll-padding-inline: 20px;
    }
    .story-link {
        flex: 0 0 74px;
        gap: 7px;
    }
    .story-ring {
        width: 73px;
        height: 73px;
        padding: 3px;
    }
    .story-title {
        font-size: 11px;
        max-width: 78px;
        min-height: 32px;
    }
    .story-arrow {
        display: none;
    }
    .layout {
        display: flex;
        flex-direction: column;
        gap: 35px;
    }
    .main-column,
    .sidebar {
        width: 100%;
    }
    .featured {
        min-height: 0;
    }
    .feature-image {
        position: relative;
        height: 207px;
        z-index: 0;
    }
    .feature-image img {
        object-position: 36% 50%;
    }
    .feature-image::after {
        background: linear-gradient(180deg, transparent 45%, #173d2a);
    }
    .feature-copy {
        position: relative;
        z-index: 1;
        width: 100%;
        margin-top: -25px;
        padding: 0 18px;
    }
    .feature-copy h1,
    .feature-copy h2 {
        font-size: clamp(26px, 6.4vw, 38px);
        line-height: 1.06;
    }
    .feature-copy > p {
        font-size: 14px;
        line-height: 1.5;
        margin-top: 12px;
    }
    .featured-label {
        top: 16px;
        left: 16px;
        font-size: 11px;
        padding: 5px 12px;
        z-index: 2;
    }
    .featured-label svg {
        width: 15px;
        height: 15px;
    }
    .feature-bottom {
        position: relative;
        inset: auto;
        padding: 19px 18px 27px;
        gap: 10px;
        flex-wrap: nowrap;
    }
    .feature-bottom .byline {
        gap: 7px;
        min-width: 0;
        font-size: 11px;
    }
    .feature-bottom .avatar {
        width: 29px;
        height: 29px;
    }
    .feature-meta {
        max-width: none;
    }
    .feature-meta .read-time {
        display: none;
    }
    .read-button {
        min-height: 36px;
        padding: 5px 12px;
        font-size: 11px;
        gap: 7px;
    }
    .slide-controls {
        display: none;
    }
    .mobile-slide-controls {
        display: flex;
        justify-content: center;
        gap: 5px;
        margin-top: 8px;
    }
    .mobile-slide-controls button {
        width: 34px;
        height: 24px;
        display: grid;
        place-items: center;
        background: transparent;
    }
    .mobile-slide-controls button::after {
        content: "";
        width: 19px;
        height: 4px;
        border-radius: 3px;
        background: var(--line);
    }
    .mobile-slide-controls button[aria-current]::after {
        background: var(--green);
    }
    .section-heading {
        margin-block: 24px 17px;
        gap: 12px;
    }
    .section-heading h2 {
        font-size: 31px;
        gap: 10px;
    }
    .section-heading h2 svg {
        width: 27px;
        height: 27px;
    }
    .text-link {
        font-size: 12px;
        gap: 8px;
    }
    .text-link svg {
        width: 17px;
        height: 17px;
    }
    .article-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .article-card {
        display: grid;
        grid-template-columns: 113px minmax(0, 1fr) 28px;
        gap: 0 12px;
        padding-block: 13px;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
        overflow: visible;
        border-bottom: 1px solid var(--line);
    }
    .card-photo {
        height: 71px;
        align-self: start;
        grid-column: 1;
        grid-row: 1 / 3;
        border-radius: 12px;
    }
    .card-topic {
        position: static;
        width: fit-content;
        min-height: 0;
        padding: 1px 8px;
        margin-bottom: 4px;
        background: var(--sage);
        color: var(--ink);
        font-size: 11px;
    }
    .article-card:nth-child(3n + 2) .card-topic {
        background: #f7d9ca;
        color: #653b2d;
    }
    .article-card:nth-child(3n) .card-topic {
        background: #f6e6b5;
        color: #5d451d;
    }
    .card-copy {
        grid-column: 2;
        grid-row: 1;
        padding: 0;
        align-self: start;
    }
    .card-copy h3 {
        font-size: clamp(18px, 4.8vw, 25px);
        line-height: 1.06;
        letter-spacing: -0.02em;
    }
    .card-copy > p {
        display: none;
    }
    .card-bottom {
        display: contents;
    }
    .card-bottom > .avatar,
    .card-bottom > a,
    .card-bottom > time,
    .card-bottom > .card-reading {
        display: none;
    }
    .card-bottom .save-button {
        grid-column: 3;
        grid-row: 1 / 3;
        padding: 4px;
        width: 28px;
        align-self: center;
        margin: 0;
    }
    .card-date-mobile {
        display: flex;
        align-items: center;
        gap: 6px;
        grid-column: 2;
        grid-row: 2;
        font-size: 11px;
        color: var(--muted);
        padding-top: 7px;
        align-self: end;
    }
    .card-date-mobile svg {
        width: 14px;
        height: 14px;
    }
    .no-image .card-photo {
        font-size: 45px;
    }
    .sidebar {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .author-panel {
        padding: 22px;
    }
    .author-overview {
        display: flex;
        gap: 20px;
    }
    .author-portrait {
        width: 95px;
        height: 95px;
        margin: 0;
    }
    .author-overview h2 {
        font-size: 30px;
    }
    .author-overview p:first-child {
        font-size: 14px;
    }
    .author-overview p:last-child {
        font-size: 13px;
    }
    .author-socials {
        gap: 20px;
    }
    .newsletter-panel {
        padding: 25px;
    }
    .newsletter-title {
        display: flex;
        gap: 15px;
    }
    .mail-circle {
        width: 44px;
        height: 44px;
        margin: 0;
    }
    .newsletter-title h2 {
        font-size: 24px;
    }
    .newsletter-title p {
        font-size: 14px;
    }
    .curated-panel {
        padding: 23px;
    }
    .curated-list li {
        grid-template-columns: 83px 1fr 30px;
        gap: 13px;
    }
    .curated-copy {
        font-size: 14px;
    }
    .curated-panel h2 {
        font-size: 28px;
    }
    .topic-nav {
        padding-inline: 5px;
    }
    .site-footer {
        margin-top: 38px;
    }
    .footer-top {
        gap: 16px;
    }
    .footer-top p {
        max-width: 180px;
        font-size: 12px;
    }
    .footer-top nav {
        width: 100%;
        gap: 18px;
    }
    .footer-bottom {
        display: grid;
        gap: 8px;
    }
    dialog {
        padding: 24px;
    }
    .article-dialog img.cover {
        height: 200px;
    }
}
@media (min-width: 701px) {
    .mobile-slide-controls {
        display: none;
    }
}
@media (max-width: 360px) {
    .container {
        width: calc(100% - 32px);
    }
    .site-header {
        gap: 5px;
        width: calc(100% - 24px);
    }
    .site-header > .wordmark {
        font-size: 32px;
    }
    .header-actions {
        gap: 4px;
    }
    .header-actions .icon-button {
        width: 34px;
        height: 34px;
    }
    .feature-bottom {
        flex-wrap: wrap;
    }
    .feature-copy h1,
    .feature-copy h2 {
        font-size: 26px;
    }
    .feature-copy > p {
        font-size: 13px;
    }
    .article-card {
        grid-template-columns: 93px minmax(0, 1fr) 24px;
        gap: 0 10px;
    }
    .card-photo {
        height: 58px;
    }
    .card-copy h3 {
        font-size: 18px;
    }
    .section-heading h2 {
        font-size: 27px;
    }
    .section-heading h2 svg {
        width: 23px;
    }
    .text-link {
        font-size: 11px;
        gap: 4px;
    }
    .author-portrait {
        width: 75px;
        height: 75px;
    }
    .author-overview {
        gap: 15px;
    }
    .author-overview h2 {
        font-size: 27px;
    }
    .curated-list li {
        grid-template-columns: 65px 1fr 26px;
        gap: 9px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
    .story-link:hover .story-ring,
    .article-card:hover .card-photo img,
    button:active:not(:disabled),
    .button:active {
        transform: none;
    }
}

.card-bottom > a,
.card-bottom time,
.card-bottom .card-reading {
    white-space: nowrap;
}

