/*! Journa HTML Theme | Author: FrameForge Studio | Support: frameforge@kozmikyazilim.com */
.page-shell {
    padding-bottom: 32px;
}
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    font-size: 12px;
    margin: 12px 0 28px;
}
.breadcrumb [aria-current] {
    max-width: 34ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tags-directory-page > .breadcrumb {
    max-width: 740px;
    margin-inline: auto;
}
.static-article > .breadcrumb {
    margin: 0 0 28px;
}
.page-layout {
    align-items: start;
}
.page-heading {
    margin-bottom: 30px;
}
.page-heading h1,
.profile-intro h1,
.static-article h1,
.error-page h1 {
    font: 400 clamp(40px, 4.5vw, 68px) / 1.08 var(--font-heading);
    letter-spacing: -0.025em;
    margin: 0 0 18px;
    text-wrap: balance;
}
.page-heading p {
    color: var(--muted);
    font-size: 16px;
    max-width: 55ch;
    margin: 0 0 14px;
}
.collection-count,
.local-note {
    font-size: 12px;
    color: var(--muted);
}
.collection-tools {
    display: flex;
    gap: 18px;
    align-items: end;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
    margin-bottom: 24px;
}
.collection-tools label {
    font-size: 11px;
    color: var(--muted);
    display: grid;
    gap: 5px;
}
.collection-tools select {
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 10px 34px 10px 16px;
    max-width: 100%;
}
.filter-submit {
    padding: 10px;
    background: none;
}
.archive-list {
    display: grid;
    gap: 24px;
}
.archive-list .article-card {
    display: grid;
    grid-template-columns: 32% 1fr;
    grid-template-rows: 1fr auto;
    column-gap: 26px;
    background: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 24px;
    border-bottom: 1px solid var(--line);
}
.archive-list .card-photo {
    grid-row: 1 / 3;
    aspect-ratio: 1.8;
    border-radius: 14px;
    height: auto;
    align-self: start;
}
.archive-list .card-copy {
    padding: 0;
    position: static;
}
.archive-list .card-topic {
    position: static;
    background: none;
    padding: 0;
    color: var(--green);
    font-size: 12px;
    margin-bottom: 6px;
    display: inline-block;
}
.archive-list h3 {
    font-size: 26px;
    line-height: 1.13;
    margin: 0 0 9px;
}
.archive-list .card-copy p {
    display: block;
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 14px;
}
.archive-list .card-bottom {
    padding: 0;
    border: 0;
    margin: 0;
}
.archive-list .card-date-mobile {
    display: none;
}
.small-author {
    display: flex;
    gap: 20px;
    align-items: center;
}
.small-author > img {
    width: 100px;
    height: 116px;
    object-fit: cover;
    border-radius: 50% 50% 12px 12px;
}
.small-author h2 {
    margin: 0 0 8px;
}
.small-author p {
    font-size: 13px;
    margin: 0 0 10px;
}
.small-author .text-link {
    font-size: 12px;
}
.journal-quote {
    margin: 0;
    background: var(--soft);
    border-radius: 16px;
    padding: 36px;
}
.journal-quote blockquote {
    font: 400 29px/1.25 var(--font-heading);
    margin: 0 0 22px;
}
.journal-quote figcaption {
    font-size: 13px;
    color: var(--muted);
}
.category-heading {
    display: grid;
    grid-template-columns: 1fr 45%;
    gap: 28px;
    align-items: center;
}
.category-cover {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 100px 14px 14px 14px;
}
.category-list {
    grid-template-columns: 1fr 1fr;
    align-items: start;
}
.category-list .article-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-bottom: 22px;
}
.category-list .card-photo {
    width: 100%;
    margin-bottom: 15px;
}
.category-list .card-bottom {
    width: 100%;
}
.category-list h3 {
    font-size: 25px;
}
.category-list .card-reading,
.category-list .card-bottom time {
    display: none;
}
.category-list .article-card:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 52% 1fr;
    gap: 22px;
}
.category-list .article-card:first-child .card-photo {
    margin: 0;
    aspect-ratio: 1.4;
}
.centered-heading {
    text-align: center;
    max-width: 740px;
    margin: 20px auto 48px;
}
.centered-heading p {
    margin: auto;
}
.category-directory {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 28px;
}
.directory-item {
    display: block;
}
.directory-item img {
    width: 100%;
    aspect-ratio: 1.65;
    height: auto;
    object-fit: cover;
    border-radius: 14px;
    transition: filter 180ms var(--ease);
}
.directory-item:hover {
    text-decoration: none;
}
.directory-item:hover img {
    filter: brightness(0.9);
}
.directory-item > div {
    padding: 18px 0 0;
}
.directory-item span {
    font-size: 12px;
    color: var(--muted);
}
.directory-item h2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 6px 0 10px;
    font: 400 34px/1.1 var(--font-heading);
}
.directory-item svg {
    width: 24px;
    height: 24px;
}
.directory-item p {
    color: var(--muted);
    margin: 0;
    max-width: 45ch;
}
.wide-newsletter {
    margin: 58px 0 12px;
}
.wide-newsletter .newsletter-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 12px 44px;
    background: var(--sage);
    color: var(--ink);
    padding: 32px 40px;
}
.wide-newsletter .newsletter-title {
    margin: 0;
}
.wide-newsletter .newsletter-note {
    grid-column: 2;
}
.wide-newsletter .newsletter-title p,
.wide-newsletter .newsletter-note {
    color: var(--ink);
}
.wide-newsletter .newsletter-form {
    margin: 0;
}
.wide-newsletter .newsletter-panel::before {
    display: none;
}
.wide-newsletter .form-status {
    margin: 4px 0 0;
    color: var(--ink);
}
.profile-intro {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr) 300px;
    align-items: center;
    gap: 36px;
    margin-bottom: 52px;
}
.profile-portrait {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 140px 140px 16px 16px;
}
.profile-intro h1 {
    font-size: clamp(36px, 3.4vw, 54px);
}
.profile-intro h1 em {
    color: var(--green);
    font-weight: 400;
}
.profile-deck {
    color: var(--green);
    font: 400 22px/1.4 var(--font-heading);
}
.profile-intro p {
    margin: 0 0 16px;
}
.profile-meta,
.profile-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 20px;
    font-size: 12px;
}
.profile-intro .author-socials {
    border-top: 0;
    margin-top: 18px;
    padding-top: 0;
    gap: 12px;
}
.profile-intro .author-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--soft);
    color: var(--ink);
    display: grid;
    place-items: center;
    transition:
        background 0.18s ease,
        color 0.18s ease,
        transform 0.15s ease;
}
.profile-intro .author-socials a:hover {
    background: var(--green);
    color: var(--paper);
    transform: translateY(-2px);
    text-decoration: none;
}
.profile-intro .author-socials a svg {
    width: 17px;
    height: 17px;
}
.interests {
    background: var(--sage);
    padding: 28px;
    border-radius: 16px;
}
.interests h2 {
    font: 400 28px/1.2 var(--font-heading);
    margin: 0 0 20px;
}
.interests a {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}
.interests a:last-child {
    border: 0;
}
.interests svg {
    width: 22px;
    height: 22px;
}
.profile-posts .section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 20px;
}
.profile-posts h2 {
    font: 400 32px/1.1 var(--font-heading);
    margin: 0;
}
.profile-posts .article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}
.profile-posts .article-card {
    min-width: 0;
}
.static-article {
    max-width: 760px;
    margin: 30px auto 70px;
    font-size: 17px;
    line-height: 1.85;
}
.static-article h2,
.contact-content h2 {
    font: 400 30px/1.2 var(--font-heading);
    margin: 36px 0 14px;
}
.static-article a {
    text-decoration: underline;
}
.contact-content {
    max-width: 64ch;
    font-size: 17px;
}
.contact-note {
    color: var(--muted);
    font-size: 13px;
}
.contact-form {
    margin-top: 32px;
    display: grid;
    gap: 16px;
}
.contact-form label {
    display: grid;
    gap: 7px;
    font-size: 14px;
}
.contact-form input,
.contact-form textarea {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    padding: 13px;
    font: inherit;
    width: 100%;
}
.contact-form textarea {
    resize: vertical;
    min-height: 160px;
}
.contact-form .button {
    justify-self: start;
}
.post-header h1 {
    font: 400 clamp(38px, 4.1vw, 64px) / 1.06 var(--font-heading);
    letter-spacing: -0.025em;
    margin: 15px 0 22px;
    text-wrap: balance;
}
.post-category {
    font-size: 13px;
    color: var(--green);
}
.article-deck {
    font-size: 19px;
    line-height: 1.65;
    color: var(--muted);
    margin: 0 0 26px;
}
.post-byline {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
    margin: 28px 0;
}
.byline-author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.byline-author img {
    border-radius: 50%;
    width: 48px;
    height: 48px;
    object-fit: cover;
    flex-shrink: 0;
}
.byline-author strong {
    display: block;
    font: 400 22px/1.25 var(--font-heading);
}
.byline-author small {
    color: var(--muted);
    font-size: 12px;
}
.reading-tools {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.reading-tools .icon-button {
    width: 44px;
    height: 44px;
    background: var(--surface);
    border: 1px solid var(--line);
}
.post-cover {
    margin: 0 0 32px;
}
.post-cover img {
    width: 100%;
    height: auto;
    aspect-ratio: 2.3;
    object-fit: cover;
    border-radius: 16px;
}
.post-cover figcaption,
.inline-image figcaption {
    font-size: 11px;
    color: var(--muted);
    text-align: center;
    margin-top: 8px;
}
.prose {
    font-size: 17px;
    line-height: 1.9;
    max-width: 72ch;
    margin-inline: auto;
}
.prose.large-type {
    font-size: 20px;
}
.prose p {
    margin: 0 0 24px;
}
.prose h2 {
    font: 400 34px/1.2 var(--font-heading);
    margin: 44px 0 18px;
    text-wrap: balance;
}
.prose li {
    margin-bottom: 12px;
}
.drop-cap:first-letter {
    float: left;
    font: 400 78px/0.9 var(--font-heading);
    padding: 6px 10px 0 0;
    color: var(--green);
}
.prose blockquote {
    font: 400 30px/1.35 var(--font-heading);
    background: var(--sage);
    margin: 34px 0;
    padding: 30px;
    border-radius: 12px;
}
.inline-image {
    margin: 36px 0;
}
.inline-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.8;
    object-fit: cover;
    border-radius: 12px;
}
.callout-card {
    display: flex;
    align-items: start;
    gap: 16px;
    padding: 24px;
    background: var(--soft);
    border-radius: 12px;
    margin: 28px 0;
}
.callout-card svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    margin-top: 4px;
}
.callout-card p {
    margin: 0;
}
.toggle-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 20px;
    margin: 26px 0;
}
.toggle-card summary {
    cursor: pointer;
    font-weight: 650;
}
.toggle-card p {
    margin: 16px 0 0;
}
.post-tags {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    padding: 30px 0;
}
.post-tags a {
    padding: 7px 16px;
    border: 1px solid var(--line);
    border-radius: 24px;
    font-size: 13px;
    display: flex;
    gap: 10px;
    align-items: center;
}
.post-tags svg {
    width: 18px;
    height: 18px;
}
.author-end {
    display: flex;
    gap: 24px;
    padding: 28px;
    background: var(--sage);
    border-radius: 14px;
}
.author-end img {
    border-radius: 50%;
    width: 72px;
    height: 72px;
    object-fit: cover;
    flex-shrink: 0;
}
.author-end h2 {
    font: 400 27px/1.2 var(--font-heading);
    margin: 0;
}
.author-end p {
    margin: 10px 0;
}
.adjacent-posts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    border-block: 1px solid var(--line);
    padding: 28px 0;
    margin: 36px 0;
}
.adjacent-posts small {
    display: block;
    color: var(--muted);
    margin-bottom: 8px;
}
.adjacent-posts strong {
    font: 400 23px/1.25 var(--font-heading);
}
.comments-slot {
    padding: 12px 0 30px;
}
.comments-slot h2 {
    font: 400 32px/1.2 var(--font-heading);
    margin-bottom: 12px;
}
/* Members-only Paywall / Upgrade CTA */
.content-fade {
    position: relative;
    max-height: 120px;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, black 20%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 20%, transparent 100%);
}
.post-upgrade-cta {
    position: relative;
    margin: 36px 0 32px;
    padding: 36px 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}
.post-upgrade-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green), var(--peach));
}
.upgrade-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--green);
    background: var(--soft);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.upgrade-badge svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
}
.post-upgrade-cta h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    line-height: 1.25;
    margin: 0 0 10px;
    color: var(--ink);
    letter-spacing: -0.02em;
}
.post-upgrade-cta p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
    max-width: 480px;
    margin: 0 auto 20px;
}
.upgrade-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.upgrade-actions .button {
    min-width: 220px;
    justify-content: center;
    padding: 12px 24px;
    font-size: 14px;
}
.upgrade-signin {
    font-size: 13px;
    color: var(--muted);
    margin: 0 !important;
}
.upgrade-signin a {
    color: var(--ink);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.upgrade-signin a:hover {
    color: var(--green);
}
.reading-progress {
    position: fixed;
    inset: 0 0 auto;
    height: 3px;
    width: 100%;
    z-index: 20;
    appearance: none;
    border: 0;
    background: transparent;
}
.reading-progress::-webkit-progress-bar {
    background: transparent;
}
.reading-progress::-webkit-progress-value {
    background: var(--orange);
}
.reading-progress::-moz-progress-bar {
    background: var(--orange);
}
.empty-state {
    text-align: center;
    padding: 60px 25px;
    background: var(--soft);
    border-radius: 16px;
}
.empty-state > svg {
    width: 40px;
    height: 40px;
    color: var(--green);
}
.empty-state h2 {
    font: 400 32px/1.15 var(--font-heading);
}
.empty-state p {
    color: var(--muted);
    max-width: 43ch;
    margin: 0 auto 25px;
}
.error-page {
    display: grid;
    grid-template-columns: 1fr 45%;
    gap: 70px;
    align-items: center;
    padding: 30px 40px 50px;
}
.error-number {
    font: 400 clamp(100px, 13vw, 190px) / 1 var(--font-heading);
    color: var(--green);
}
.error-number > span {
    color: var(--orange);
}
.error-page h1 {
    font-size: clamp(36px, 4vw, 54px);
    margin-top: 20px;
}
.error-page p {
    font-size: 17px;
    max-width: 42ch;
    color: var(--muted);
}
.error-page > img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 180px 180px 14px 14px;
}
.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    margin-top: 28px;
}
.error-actions button {
    background: none;
    display: flex;
    gap: 10px;
    align-items: center;
}
.error-actions svg {
    width: 20px;
    height: 20px;
}
.small-author {
    padding: 24px;
}
.listing-main,
.post-main,
.byline-author,
.post-byline > *,
.author-end > div {
    min-width: 0;
}
.byline-author > span {
    min-width: 0;
}
.post-main h1 {
    overflow-wrap: anywhere;
}
.small-author > img {
    flex-shrink: 0;
}
.newsletter-note {
    font-size: 12px;
    line-height: 1.6;
    margin: 14px 0 0;
}
.byline-author small {
    display: block;
}
.profile-portrait {
    max-width: 230px;
}
.paywall-card {
    background: var(--sage);
    padding: 38px;
    border-radius: 14px;
    text-align: center;
    margin: 30px 0;
}
.paywall-card h2 {
    font: 400 34px/1.2 var(--font-heading);
    margin: 0 0 18px;
}
.paywall-card p {
    max-width: 42ch;
    margin: 0 auto 20px;
}
.paywall-card button:disabled {
    opacity: 0.7;
}
@media (min-width: 1600px) {
    .post-layout {
        grid-template-columns: minmax(0, 1fr) 392px;
    }
}
@media (max-width: 1200px) {
    .profile-intro {
        grid-template-columns: 190px 1fr;
        gap: 28px;
    }
    .interests {
        grid-column: 1 / -1;
        display: flex;
        gap: 20px;
        align-items: center;
        flex-wrap: wrap;
    }
    .interests h2 {
        margin: 0;
    }
    .interests a {
        border: 0;
    }
    .profile-portrait {
        height: 280px;
    }
    .archive-list h3 {
        font-size: 23px;
    }
    .archive-list .card-copy p {
        font-size: 13px;
    }
    .archive-list .card-bottom time {
        display: none;
    }
    .category-heading {
        grid-template-columns: 1fr;
    }
    .category-cover {
        height: 220px;
    }
    .post-byline {
        flex-wrap: wrap;
    }
}
@media (max-width: 1000px) {
    .category-directory {
        grid-template-columns: repeat(2, 1fr);
    }
    .error-page {
        gap: 32px;
        padding-inline: 0;
    }
    .profile-posts .article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 700px) {
    .collection-tools {
        flex-wrap: wrap;
    }
    .collection-tools label {
        flex: 1;
        min-width: 100px;
    }
    .byline-author img {
        width: 48px;
        height: 48px;
    }
    .byline-author small {
        white-space: normal;
    }
    .author-end img {
        width: 52px;
        height: 52px;
    }
    .breadcrumb {
        margin: 5px 0 24px;
        font-size: 11px;
        gap: 8px;
    }
    .tags-directory-page > .breadcrumb {
        max-width: none;
        margin-inline: 0;
    }
    .static-article > .breadcrumb {
        margin: 0 0 24px;
    }
    .page-heading h1 {
        font-size: 43px;
    }
    .page-heading p {
        font-size: 15px;
    }
    .page-heading {
        margin-bottom: 25px;
    }
    .collection-tools {
        gap: 10px;
    }
    .collection-tools select {
        font-size: 12px;
        padding: 10px 24px 10px 10px;
    }
    .filter-submit {
        font-size: 12px;
        padding-inline: 0;
    }
    .archive-list {
        gap: 20px;
    }
    .archive-list .article-card {
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 0 15px;
        padding-bottom: 18px;
    }
    .archive-list .card-photo {
        aspect-ratio: 1.5;
        width: 105px;
        height: 70px;
    }
    .archive-list h3 {
        font-size: 20px;
        margin-bottom: 8px;
    }
    .archive-list .card-copy p {
        display: none;
    }
    .archive-list .card-topic {
        font-size: 11px;
        margin-bottom: 5px;
    }
    .archive-list .card-bottom {
        grid-column: 2;
        font-size: 11px;
        display: flex;
    }
    .archive-list .card-bottom .avatar,
    .archive-list .card-bottom > a,
    .archive-list .card-reading {
        display: none;
    }
    .archive-list .card-bottom time {
        display: block;
        font-size: 11px;
    }
    .archive-list .save-button {
        margin-left: auto;
        min-width: 36px;
        min-height: 36px;
    }
    .category-list {
        grid-template-columns: 1fr;
    }
    .category-list .article-card:first-child {
        display: flex;
        grid-column: auto;
    }
    .category-list .article-card:first-child .card-photo {
        aspect-ratio: 1.7;
        width: 100%;
        height: auto;
        margin-bottom: 15px;
    }
    .category-list .article-card:first-child .card-copy p {
        display: block;
    }
    .category-list .article-card:first-child h3 {
        font-size: 28px;
    }
    .category-list .article-card:not(:first-child) {
        display: grid;
    }
    .category-list .article-card:first-child .card-bottom {
        width: 100%;
    }
    .category-heading {
        gap: 22px;
    }
    .category-cover {
        height: 190px;
        border-radius: 80px 12px 12px 12px;
    }
    .category-directory {
        grid-template-columns: 1fr;
        gap: 34px;
    }
    .centered-heading {
        text-align: left;
        margin: 0 0 32px;
    }
    .directory-item h2 {
        font-size: 31px;
    }
    .directory-item p {
        font-size: 14px;
    }
    .wide-newsletter {
        margin-top: 38px;
    }
    .wide-newsletter .newsletter-panel {
        display: block;
        padding: 25px 22px;
    }
    .wide-newsletter .newsletter-form {
        margin-top: 22px;
    }
    .wide-newsletter .newsletter-note {
        margin-bottom: 0;
    }
    .profile-intro {
        grid-template-columns: 1fr;
        gap: 26px;
        margin-bottom: 36px;
    }
    .profile-portrait {
        width: 170px;
        height: 210px;
    }
    .profile-intro h1 {
        font-size: 41px;
    }
    .profile-deck {
        font-size: 22px;
    }
    .profile-intro p {
        font-size: 15px;
    }
    .interests {
        grid-column: auto;
        gap: 8px 25px;
        padding: 22px;
    }
    .interests h2 {
        width: 100%;
        margin-bottom: 5px;
        font-size: 25px;
    }
    .interests a {
        font-size: 13px;
        padding: 8px 0;
    }
    .profile-posts .article-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .profile-posts h2 {
        font-size: 28px;
    }
    .profile-posts .section-heading .text-link {
        font-size: 12px;
    }
    .static-article {
        margin-top: 0;
        font-size: 16px;
    }
    .static-article h1 {
        font-size: 42px;
    }
    .contact-content {
        font-size: 16px;
    }
    .post-header h1 {
        font-size: 40px;
    }
    .article-deck {
        font-size: 16px;
    }
    .post-byline {
        gap: 18px;
        margin: 22px 0;
    }
    .byline-author strong {
        font-size: 20px;
    }
    .reading-tools {
        gap: 8px;
    }
    .reading-tools .icon-button {
        width: 40px;
        height: 40px;
    }
    .post-cover img {
        aspect-ratio: 1.55;
    }
    .prose {
        font-size: 16px;
        line-height: 1.85;
    }
    .prose.large-type {
        font-size: 19px;
    }
    .prose h2 {
        font-size: 29px;
        margin-top: 34px;
    }
    .prose blockquote {
        padding: 24px;
        font-size: 26px;
    }
    .author-end {
        padding: 22px;
        gap: 16px;
    }
    .author-end > img {
        width: 52px;
        height: 52px;
    }
    .author-end p {
        font-size: 14px;
    }
    .adjacent-posts {
        gap: 22px;
    }
    .adjacent-posts strong {
        font-size: 20px;
    }
    .journal-quote blockquote {
        font-size: 26px;
    }
    .error-page {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0;
    }
    .error-number {
        font-size: 120px;
    }
    .error-page > img {
        height: 260px;
        border-radius: 100px 100px 12px 12px;
    }
    .error-page h1 {
        font-size: 41px;
    }
    .error-actions {
        gap: 18px;
    }
    .empty-state {
        padding: 38px 20px;
    }
    .small-author h2 {
        font-size: 26px;
    }
}

/* Static comments preview for the HTML edition */
.comments-panel {
    margin: 44px 0 36px;
    padding: 26px 28px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}
.comments-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 20px;
}
.comments-kicker {
    margin: 0 0 4px;
    color: var(--orange);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.comments-head h2 {
    margin: 0;
    font: 400 30px/1.18 var(--font-heading);
}
.comments-head > div > p:last-child {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 14px;
}
.comments-count {
    flex: 0 0 auto;
    padding: 6px 11px;
    border-radius: 999px;
    background: var(--soft);
    color: var(--muted);
    font-size: 12px;
}
.comment-composer {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding: 20px 0;
    border-block: 1px solid var(--line);
}
.comment-avatar {
    display: block;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}
.comment-composer-main {
    min-width: 0;
}
.comment-composer textarea {
    display: block;
    width: 100%;
    min-height: 90px;
    padding: 12px 14px;
    resize: vertical;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
    color: var(--ink);
    font: inherit;
}
.comment-composer textarea::placeholder {
    color: var(--muted);
    opacity: 0.85;
}
.comment-composer textarea:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 2px;
}
.comment-composer-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 12px;
}
.comment-composer-footer > span {
    color: var(--muted);
    font-size: 12px;
}
.comment-composer-footer .button {
    min-height: 38px;
    padding: 7px 15px;
}
.comment-composer-footer .button svg {
    width: 16px;
    height: 16px;
}
.comment-list {
    display: grid;
}
.comment-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}
.comment-item:last-child {
    border-bottom: 0;
}
.comment-initials {
    display: grid;
    place-items: center;
    background: var(--soft);
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
}
.comment-content > header {
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.comment-content > header strong {
    font-size: 14px;
}
.comment-content time {
    color: var(--muted);
    font-size: 12px;
}
.comment-content p {
    margin: 7px 0 5px;
    font-size: 14px;
    line-height: 1.65;
}
.comment-reply {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--green);
    font: inherit;
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
}
.comment-reply:hover {
    text-decoration: underline;
}
@media (max-width: 600px) {
    .comments-panel {
        padding: 22px 18px 8px;
    }
    .comments-head h2 {
        font-size: 26px;
    }
    .comments-count {
        padding: 5px 8px;
        font-size: 11px;
    }
    .comment-composer-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Independent member account screens */
.member-page {
    padding-block: 32px 88px;
}
.member-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 12px;
}
.member-breadcrumb a,
.member-back-link,
.member-public-link {
    color: var(--green);
}
.member-breadcrumb a:hover,
.member-back-link:hover,
.member-public-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.member-page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}
.member-page-heading h1 {
    margin: 0;
    font: 400 42px/1.08 var(--font-heading);
    letter-spacing: -0.025em;
}
.member-page-heading p {
    margin: 8px 0 0;
    color: var(--muted);
}
.member-back-link,
.member-public-link {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 650;
}
.member-layout {
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    align-items: start;
    gap: 26px;
}
.member-sidebar,
.member-panel {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
}
.member-sidebar {
    padding: 18px 14px 12px;
}
.member-identity {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 4px 18px;
    border-bottom: 1px solid var(--line);
}
.member-avatar {
    display: grid;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    background: var(--sage);
    color: var(--green);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.member-identity > div:last-child {
    display: grid;
    min-width: 0;
    gap: 3px;
}
.member-identity strong {
    font-size: 14px;
}
.member-identity span {
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    text-overflow: ellipsis;
}
.member-nav {
    display: grid;
    gap: 3px;
    padding-top: 12px;
}
.member-nav a {
    display: block;
    padding: 10px 11px;
    border-radius: 8px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 550;
}
.member-nav a:hover {
    background: var(--soft);
    text-decoration: none;
}
.member-nav a[aria-current="page"] {
    background: var(--soft);
    color: var(--green);
    font-weight: 700;
}
.member-nav .member-signout {
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}
.member-content {
    display: grid;
    min-width: 0;
    gap: 18px;
}
.member-panel {
    padding: 26px 28px;
}
.member-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 28px;
    background: var(--sage);
    border-color: transparent;
}
.member-plan-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
}
.member-plan-label > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #55815b;
}
.member-welcome h2 {
    margin: 9px 0 5px;
    font: 400 30px/1.15 var(--font-heading);
}
.member-welcome-copy > p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}
.member-plan-meta {
    display: grid;
    flex: 0 0 auto;
    gap: 5px;
    padding: 8px 0 8px 24px;
    border-left: 1px solid color-mix(in srgb, var(--green) 18%, transparent);
}
.member-plan-meta span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
}
.member-plan-meta strong {
    font-size: 13px;
}
.member-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}
.member-section-heading h2 {
    margin: 0;
    font: 400 25px/1.2 var(--font-heading);
}
.member-section-heading p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
}
.member-settings-list {
    border-top: 1px solid var(--line);
}
.member-setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
}
.member-setting-row:last-child {
    border-bottom: 0;
    padding-bottom: 2px;
}
.member-setting-row > span:first-child {
    display: grid;
    gap: 4px;
}
.member-setting-row strong {
    font-size: 14px;
}
.member-setting-row small {
    color: var(--muted);
    font-size: 12px;
}
.member-row-action {
    flex: 0 0 auto;
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
}
.member-row-action span {
    margin-left: 5px;
}
.member-setting-row:hover {
    text-decoration: none;
}
.member-setting-row:hover strong {
    color: var(--green);
}
.member-preview-note {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}
.member-profile-photo {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 2px 0 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--line);
}
.member-avatar-large {
    width: 62px;
    height: 62px;
    font-size: 17px;
}
.member-profile-photo > div:nth-child(2) {
    flex: 1;
}
.member-profile-photo strong {
    font-size: 14px;
}
.member-profile-photo p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 12px;
}
.member-profile-photo .button {
    min-height: 38px;
    padding: 7px 14px;
}
.member-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 16px;
}
.member-form-grid label,
.member-form-stack > label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 650;
}
.member-field-full {
    grid-column: 1 / -1;
}
.member-form-grid input,
.member-form-grid textarea,
.member-form-stack input,
.member-auth-label input {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    font: 400 14px/1.5 var(--font-body);
}
.member-form-grid textarea {
    min-height: 106px;
    resize: vertical;
}
.member-form-grid input:focus-visible,
.member-form-grid textarea:focus-visible,
.member-form-stack input:focus-visible,
.member-auth-label input:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
}
.member-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}
.member-form-actions > span {
    color: var(--muted);
    font-size: 12px;
}
.member-form-actions > a {
    color: var(--green);
    font-size: 12px;
    font-weight: 650;
}
.member-form-actions .button {
    min-height: 40px;
}
.member-form-stack {
    display: grid;
    gap: 17px;
    max-width: 600px;
}
.member-password-grid {
    gap: 14px;
}
.member-field-hint {
    margin: -8px 0 0;
    color: var(--muted);
    font-size: 12px;
}
.member-security-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--soft);
}
.member-security-icon {
    display: grid;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
}
.member-security-note p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}
.member-security-note strong {
    color: var(--ink);
}
.member-preference-list {
    border-top: 1px solid var(--line);
}
.member-preference-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    cursor: pointer;
}
.member-preference-row > span {
    display: grid;
    gap: 4px;
}
.member-preference-row strong {
    font-size: 14px;
}
.member-preference-row small {
    color: var(--muted);
    font-size: 12px;
}
.member-preference-row input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    accent-color: var(--green);
}
.member-auth-label {
    display: grid;
    gap: 7px;
    margin: 24px 0 14px;
    font-size: 13px;
    font-weight: 650;
}
.auth-card > .member-preview-note {
    margin-top: 18px;
}
@media (max-width: 900px) {
    .member-layout {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 18px;
    }
    .member-panel {
        padding: 22px;
    }
}
@media (max-width: 700px) {
    .member-page {
        padding-top: 24px;
    }
    .member-page-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 22px;
    }
    .member-page-heading h1 {
        font-size: 36px;
    }
    .member-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .member-sidebar {
        min-width: 0;
        padding: 12px;
    }
    .member-identity {
        padding: 2px 4px 12px;
    }
    .member-nav {
        display: flex;
        overflow-x: auto;
        gap: 4px;
        padding: 10px 0 0;
        scrollbar-width: thin;
    }
    .member-nav a {
        flex: 0 0 auto;
        padding: 9px 10px;
        font-size: 12px;
    }
    .member-nav .member-signout {
        margin: 0;
        padding: 9px 10px;
        border: 0;
    }
    .member-content {
        gap: 14px;
    }
}
@media (max-width: 600px) {
    .member-page-heading h1 {
        font-size: 32px;
    }
    .member-welcome {
        align-items: flex-start;
        flex-direction: column;
    }
    .member-plan-meta {
        padding: 14px 0 0;
        border-top: 1px solid color-mix(in srgb, var(--green) 18%, transparent);
        border-left: 0;
    }
    .member-panel {
        padding: 20px 17px;
    }
    .member-form-grid {
        grid-template-columns: 1fr;
    }
    .member-field-full {
        grid-column: auto;
    }
    .member-profile-photo {
        flex-wrap: wrap;
    }
    .member-profile-photo .button {
        margin-left: 76px;
    }
    .member-setting-row,
    .member-preference-row {
        gap: 12px;
    }
    .member-row-action {
        font-size: 11px;
    }
    .member-row-action span {
        margin-left: 1px;
    }
    .member-form-actions {
        align-items: flex-start;
        flex-direction: column;
    }
    .member-form-actions .button {
        align-self: flex-end;
    }
}

/* ==========================================================================
   Journa Membership, Account & Auth Pages
   ========================================================================== */

/* Auth Pages (Signin / Signup) */
.auth-page {
    display: grid;
    place-items: center;
    min-height: calc(80vh - 100px);
    padding-block: 40px 60px;
}
.auth-card {
    width: 100%;
    max-width: 480px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    padding: 44px 38px 36px;
    text-align: center;
}
.auth-icon {
    display: inline-grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #e8efe8;
    color: var(--green);
    margin-bottom: 20px;
}
[data-theme="dark"] .auth-icon {
    background: #1b3526;
}
.auth-icon svg {
    width: 26px;
    height: 26px;
}
.auth-header h1 {
    font-size: clamp(26px, 3.2vw, 34px);
    line-height: 1.15;
    margin-bottom: 12px;
}
.auth-header p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 28px;
}
.auth-form {
    display: grid;
    gap: 18px;
    text-align: left;
}
.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 650;
    margin-bottom: 6px;
    color: var(--ink);
}
.form-group input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    font-size: 14px;
    transition: border-color var(--speed-fast) ease;
}
.form-group input:focus {
    border-color: var(--green);
    outline: none;
}
.auth-submit {
    width: 100%;
    height: 48px;
    margin-top: 8px;
    font-size: 14px;
    cursor: pointer;
}
.message-success {
    display: none;
    background: #ebf5ee;
    color: #1a4d2e;
    border: 1px solid #c7e3ce;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    font-size: 13px;
    line-height: 1.5;
}
[data-theme="dark"] .message-success {
    background: #163321;
    color: #a3e6be;
    border-color: #245837;
}
.message-error {
    display: none;
    background: #fdf2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    font-size: 13px;
}
.auth-form.success .message-success,
.auth-form.error .message-error {
    display: block;
}
.submit-loading,
.auth-form.loading .submit-label,
.auth-form.loading .auth-submit svg {
    display: none;
}
.auth-form.loading .submit-loading {
    display: inline;
}
[data-theme="dark"] .message-error {
    background: var(--surface);
    color: var(--error);
    border-color: var(--error);
}
.auth-footer {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--muted);
    display: grid;
    gap: 8px;
}
.auth-footer a {
    color: var(--green);
    font-weight: 650;
}

/* Membership Page (Pricing Tables) */
.membership-page {
    padding-block: 20px 70px;
}
.membership-header {
    text-align: center;
    max-width: 620px;
    margin-inline: auto;
    margin-bottom: 48px;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: stretch;
    max-width: 980px;
    margin-inline: auto;
    margin-bottom: 60px;
}
.tier-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    padding: 38px 32px 34px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition:
        transform var(--speed-fast) ease,
        box-shadow var(--speed-fast) ease;
}
.tier-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.tier-featured {
    border: 2px solid var(--green);
    background: var(--surface);
}
.tier-featured::before {
    content: "RECOMMENDED";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--green);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 3px 12px;
    border-radius: 20px;
}
.tier-header h2 {
    font-size: 24px;
    margin-bottom: 8px;
}
.tier-description {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
    min-height: 40px;
}
.tier-price {
    margin-block: 24px 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.price-value {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 400;
    line-height: 1;
}
.price-period {
    color: var(--muted);
    font-size: 13px;
}
.tier-benefits {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
    font-size: 13px;
    flex-grow: 1;
    margin-bottom: 30px;
}
.tier-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
}
.tier-benefits svg {
    width: 16px;
    height: 16px;
    color: var(--green);
    flex-shrink: 0;
}
.tier-footer {
    margin-top: auto;
}
.tier-btn {
    width: 100%;
    text-align: center;
}
.button-outline {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink);
}
.button-outline:hover {
    background: var(--soft);
}
.membership-guarantee {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    padding: 36px;
    background: var(--soft);
    border-radius: 18px;
    max-width: 980px;
    margin-inline: auto;
}
.guarantee-item {
    display: flex;
    gap: 16px;
    align-items: start;
}
.guarantee-item svg {
    width: 24px;
    height: 24px;
    color: var(--green);
    flex-shrink: 0;
    margin-top: 2px;
}
.guarantee-item strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}
.guarantee-item p {
    font-size: 12px;
    line-height: 1.5;
    color: var(--muted);
    margin: 0;
}

/* Account Page */
.account-page {
    padding-block: 20px 60px;
}
.account-header {
    margin-bottom: 36px;
}
.account-grid {
    max-width: 700px;
}
.account-card {
    padding: 36px 32px;
}
.account-profile {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
}
.account-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    display: grid;
    place-items: center;
    text-transform: uppercase;
}
.account-info h2 {
    font-size: 22px;
    margin: 0 0 4px;
}
.account-email {
    color: var(--muted);
    font-size: 13px;
    margin: 0 0 8px;
}
.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 650;
}
.status-badge.paid {
    background: #d1fae5;
    color: #065f46;
}
.status-badge.free {
    background: #f3f4f6;
    color: #4b5563;
}
[data-theme="dark"] .status-badge.paid {
    background: #064e3b;
    color: #6ee7b7;
}
[data-theme="dark"] .status-badge.free {
    background: #374151;
    color: #d1d5db;
}
.account-preferences {
    margin-top: 24px;
    border: 1px solid var(--line);
    border-radius: 10px;
}
.account-preference-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
}
.account-preference-row + .account-preference-row {
    border-top: 1px solid var(--line);
}
.account-preference-row p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 13px;
}
.account-preference-row a {
    color: var(--green);
    font-weight: 650;
    white-space: nowrap;
}
.account-subscription-details {
    padding-block: 24px;
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 16px;
}
.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}
.detail-label {
    color: var(--muted);
}
.account-actions {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}
.free-tier-notice {
    padding: 16px;
    background: var(--soft);
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.free-tier-notice p {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
    max-width: 40ch;
}
.account-footer-tools {
    padding-top: 20px;
}
.logout-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #dc2626;
    font-size: 13px;
    font-weight: 600;
}
.logout-btn svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 680px) {
    .auth-card {
        padding: 30px 20px 26px;
    }
    .membership-guarantee {
        grid-template-columns: 1fr;
        padding: 24px;
    }
    .account-profile {
        flex-direction: column;
        text-align: center;
    }
    .account-actions {
        flex-direction: column;
    }
    .free-tier-notice {
        flex-direction: column;
        text-align: center;
    }
}

/* Static HTML membership previews */
.auth-page,
.membership-page,
.account-page {
    width: min(100% - 40px, 760px);
    margin: 70px auto 110px;
}
.auth-card,
.tier-card,
.account-card {
    padding: clamp(26px, 5vw, 52px);
    border: 1px solid var(--line, #e8dfd4);
    border-radius: 24px;
    background: var(--surface, #fffdfa);
    box-shadow: 0 16px 42px rgb(40 32 20 / 5%);
}
.auth-card h1,
.membership-page h1,
.account-page h1 {
    margin: 0 0 12px;
    font-family: var(--font-editorial, Georgia, serif);
    font-size: clamp(36px, 6vw, 54px);
    line-height: 1.05;
}
.auth-card > p,
.membership-page > p,
.account-page > p,
.tier-card p {
    color: var(--muted, #68716b);
    line-height: 1.7;
}
.auth-form {
    display: grid;
    gap: 16px;
    margin: 28px 0 18px;
}
.auth-form label {
    display: grid;
    gap: 8px;
    font-weight: 600;
}
.auth-form input {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid var(--line, #e8dfd4);
    border-radius: 10px;
    background: transparent;
    color: inherit;
    font: inherit;
}
.integration-note {
    margin-top: 22px;
    padding: 16px 18px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--accent, #174b38) 8%, transparent);
    color: var(--muted, #68716b);
    font-size: 14px;
    line-height: 1.65;
}
.auth-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-top: 20px;
}
.tier-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 30px;
}
.tier-card h2 {
    margin-top: 0;
    font-family: var(--font-editorial, Georgia, serif);
}
.tier-price {
    margin: 20px 0;
    font-size: 30px;
    font-weight: 700;
}
.tier-card .button {
    display: inline-flex;
    margin-top: 12px;
}
.account-details {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}
.account-details a {
    width: fit-content;
}
@media (max-width: 640px) {
    .auth-page,
    .membership-page,
    .account-page {
        width: min(100% - 28px, 760px);
        margin: 40px auto 72px;
    }
    .tier-grid {
        grid-template-columns: 1fr;
    }
}
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    font-size: 12px;
    margin: 12px 0 28px;
}
.breadcrumb [aria-current] {
    max-width: 34ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tags-directory-page > .breadcrumb {
    max-width: 740px;
    margin-inline: auto;
}
.page-layout {
    align-items: start;
}
.page-heading {
    margin-bottom: 30px;
}
.page-heading h1,
.profile-intro h1,
.static-article h1,
.error-page h1 {
    font: 400 clamp(40px, 4.5vw, 68px) / 1.08 var(--font-heading);
    letter-spacing: -0.025em;
    margin: 0 0 18px;
    text-wrap: balance;
}
.page-heading p {
    color: var(--muted);
    font-size: 16px;
    max-width: 55ch;
    margin: 0 0 14px;
}
.collection-count,
.local-note {
    font-size: 12px;
    color: var(--muted);
}
.collection-tools {
    display: flex;
    gap: 18px;
    align-items: end;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
    margin-bottom: 24px;
}
.collection-tools label {
    font-size: 11px;
    color: var(--muted);
    display: grid;
    gap: 5px;
}
.collection-tools select {
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 10px 34px 10px 16px;
    max-width: 100%;
}
.filter-submit {
    padding: 10px;
    background: none;
}
.archive-list {
    display: grid;
    gap: 24px;
}
.archive-list .article-card {
    display: grid;
    grid-template-columns: 32% 1fr;
    grid-template-rows: 1fr auto;
    column-gap: 26px;
    background: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 24px;
    border-bottom: 1px solid var(--line);
}
.archive-list .card-photo {
    grid-row: 1 / 3;
    aspect-ratio: 1.8;
    border-radius: 14px;
    height: auto;
    align-self: start;
}
.archive-list .card-copy {
    padding: 0;
    position: static;
}
.archive-list .card-topic {
    position: static;
    background: none;
    padding: 0;
    color: var(--green);
    font-size: 12px;
    margin-bottom: 6px;
    display: inline-block;
}
.archive-list h3 {
    font-size: 26px;
    line-height: 1.13;
    margin: 0 0 9px;
}
.archive-list .card-copy p {
    display: block;
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 14px;
}
.archive-list .card-bottom {
    padding: 0;
    border: 0;
    margin: 0;
}
.archive-list .card-date-mobile {
    display: none;
}
.small-author {
    display: flex;
    gap: 20px;
    align-items: center;
}
.small-author > img {
    width: 100px;
    height: 116px;
    object-fit: cover;
    border-radius: 50% 50% 12px 12px;
}
.small-author h2 {
    margin: 0 0 8px;
}
.small-author p {
    font-size: 13px;
    margin: 0 0 10px;
}
.small-author .text-link {
    font-size: 12px;
}
.journal-quote {
    margin: 0;
    background: var(--soft);
    border-radius: 16px;
    padding: 36px;
}
.journal-quote blockquote {
    font: 400 29px/1.25 var(--font-heading);
    margin: 0 0 22px;
}
.journal-quote figcaption {
    font-size: 13px;
    color: var(--muted);
}
.category-heading {
    display: grid;
    grid-template-columns: 1fr 45%;
    gap: 28px;
    align-items: center;
}
.category-cover {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 100px 14px 14px 14px;
}
.category-list {
    grid-template-columns: 1fr 1fr;
    align-items: start;
}
.category-list .article-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-bottom: 22px;
}
.category-list .card-photo {
    width: 100%;
    margin-bottom: 15px;
}
.category-list .card-bottom {
    width: 100%;
}
.category-list h3 {
    font-size: 25px;
}
.category-list .card-reading,
.category-list .card-bottom time {
    display: none;
}
.category-list .article-card:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 52% 1fr;
    gap: 22px;
}
.category-list .article-card:first-child .card-photo {
    margin: 0;
    aspect-ratio: 1.4;
}
.centered-heading {
    text-align: center;
    max-width: 740px;
    margin: 20px auto 48px;
}
.centered-heading p {
    margin: auto;
}
.category-directory {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 28px;
}
.directory-item {
    display: block;
}
.directory-item img {
    width: 100%;
    aspect-ratio: 1.65;
    height: auto;
    object-fit: cover;
    border-radius: 14px;
    transition: filter 180ms var(--ease);
}
.directory-item:hover {
    text-decoration: none;
}
.directory-item:hover img {
    filter: brightness(0.9);
}
.directory-item > div {
    padding: 18px 0 0;
}
.directory-item span {
    font-size: 12px;
    color: var(--muted);
}
.directory-item h2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 6px 0 10px;
    font: 400 34px/1.1 var(--font-heading);
}
.directory-item svg {
    width: 24px;
    height: 24px;
}
.directory-item p {
    color: var(--muted);
    margin: 0;
    max-width: 45ch;
}
.wide-newsletter {
    margin: 58px 0 12px;
}
.wide-newsletter .newsletter-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 12px 44px;
    background: var(--sage);
    color: var(--ink);
    padding: 32px 40px;
}
.wide-newsletter .newsletter-title {
    margin: 0;
}
.wide-newsletter .newsletter-note {
    grid-column: 2;
}
.wide-newsletter .newsletter-title p,
.wide-newsletter .newsletter-note {
    color: var(--ink);
}
.wide-newsletter .newsletter-form {
    margin: 0;
}
.wide-newsletter .newsletter-panel::before {
    display: none;
}
.wide-newsletter .form-status {
    margin: 4px 0 0;
    color: var(--ink);
}
.profile-intro {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr) 300px;
    align-items: center;
    gap: 36px;
    margin-bottom: 52px;
}
.profile-portrait {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 140px 140px 16px 16px;
}
.profile-intro h1 {
    font-size: clamp(36px, 3.4vw, 54px);
}
.profile-intro h1 em {
    color: var(--green);
    font-weight: 400;
}
.profile-deck {
    color: var(--green);
    font: 400 22px/1.4 var(--font-heading);
}
.profile-intro p {
    margin: 0 0 16px;
}
.profile-meta,
.profile-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 20px;
    font-size: 12px;
}
.profile-intro .author-socials {
    border-top: 0;
    margin-top: 18px;
    padding-top: 0;
    gap: 12px;
}
.profile-intro .author-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--soft);
    color: var(--ink);
    display: grid;
    place-items: center;
    transition:
        background 0.18s ease,
        color 0.18s ease,
        transform 0.15s ease;
}
.profile-intro .author-socials a:hover {
    background: var(--green);
    color: var(--paper);
    transform: translateY(-2px);
    text-decoration: none;
}
.profile-intro .author-socials a svg {
    width: 17px;
    height: 17px;
}
.interests {
    background: var(--sage);
    padding: 28px;
    border-radius: 16px;
}
.interests h2 {
    font: 400 28px/1.2 var(--font-heading);
    margin: 0 0 20px;
}
.interests a {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}
.interests a:last-child {
    border: 0;
}
.interests svg {
    width: 22px;
    height: 22px;
}
.profile-posts .section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 20px;
}
.profile-posts h2 {
    font: 400 32px/1.1 var(--font-heading);
    margin: 0;
}
.profile-posts .article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}
.profile-posts .article-card {
    min-width: 0;
}
.static-article {
    max-width: 760px;
    margin: 30px auto 70px;
    font-size: 17px;
    line-height: 1.85;
}
.static-article h2,
.contact-content h2 {
    font: 400 30px/1.2 var(--font-heading);
    margin: 36px 0 14px;
}
.static-article a {
    text-decoration: underline;
}
.contact-content {
    max-width: 64ch;
    font-size: 17px;
}
.contact-note {
    color: var(--muted);
    font-size: 13px;
}
.contact-form {
    margin-top: 32px;
    display: grid;
    gap: 16px;
}
.contact-form label {
    display: grid;
    gap: 7px;
    font-size: 14px;
}
.contact-form input,
.contact-form textarea {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    padding: 13px;
    font: inherit;
    width: 100%;
}
.contact-form textarea {
    resize: vertical;
    min-height: 160px;
}
.contact-form .button {
    justify-self: start;
}
.post-header h1 {
    font: 400 clamp(38px, 4.1vw, 64px) / 1.06 var(--font-heading);
    letter-spacing: -0.025em;
    margin: 15px 0 22px;
    text-wrap: balance;
}
.post-category {
    font-size: 13px;
    color: var(--green);
}
.article-deck {
    font-size: 19px;
    line-height: 1.65;
    color: var(--muted);
    margin: 0 0 26px;
}
.post-byline {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
    margin: 28px 0;
}
.byline-author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.byline-author img {
    border-radius: 50%;
    width: 48px;
    height: 48px;
    object-fit: cover;
    flex-shrink: 0;
}
.byline-author strong {
    display: block;
    font: 400 22px/1.25 var(--font-heading);
}
.byline-author small {
    color: var(--muted);
    font-size: 12px;
}
.reading-tools {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.reading-tools .icon-button {
    width: 44px;
    height: 44px;
    background: var(--surface);
    border: 1px solid var(--line);
}
.post-cover {
    margin: 0 0 32px;
}
.post-cover img {
    width: 100%;
    height: auto;
    aspect-ratio: 2.3;
    object-fit: cover;
    border-radius: 16px;
}
.post-cover figcaption,
.inline-image figcaption {
    font-size: 11px;
    color: var(--muted);
    text-align: center;
    margin-top: 8px;
}
.prose {
    font-size: 17px;
    line-height: 1.9;
    max-width: 72ch;
    margin-inline: auto;
}
.prose.large-type {
    font-size: 20px;
}
.prose p {
    margin: 0 0 24px;
}
.prose h2 {
    font: 400 34px/1.2 var(--font-heading);
    margin: 44px 0 18px;
    text-wrap: balance;
}
.prose li {
    margin-bottom: 12px;
}
.drop-cap:first-letter {
    float: left;
    font: 400 78px/0.9 var(--font-heading);
    padding: 6px 10px 0 0;
    color: var(--green);
}
.prose blockquote {
    font: 400 30px/1.35 var(--font-heading);
    background: var(--sage);
    margin: 34px 0;
    padding: 30px;
    border-radius: 12px;
}
.inline-image {
    margin: 36px 0;
}
.inline-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.8;
    object-fit: cover;
    border-radius: 12px;
}
.callout-card {
    display: flex;
    align-items: start;
    gap: 16px;
    padding: 24px;
    background: var(--soft);
    border-radius: 12px;
    margin: 28px 0;
}
.callout-card svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    margin-top: 4px;
}
.callout-card p {
    margin: 0;
}
.toggle-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 20px;
    margin: 26px 0;
}
.toggle-card summary {
    cursor: pointer;
    font-weight: 650;
}
.toggle-card p {
    margin: 16px 0 0;
}
.post-tags {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    padding: 30px 0;
}
.post-tags a {
    padding: 7px 16px;
    border: 1px solid var(--line);
    border-radius: 24px;
    font-size: 13px;
    display: flex;
    gap: 10px;
    align-items: center;
}
.post-tags svg {
    width: 18px;
    height: 18px;
}
.author-end {
    display: flex;
    gap: 24px;
    padding: 28px;
    background: var(--sage);
    border-radius: 14px;
}
.author-end img {
    border-radius: 50%;
    width: 72px;
    height: 72px;
    object-fit: cover;
    flex-shrink: 0;
}
.author-end h2 {
    font: 400 27px/1.2 var(--font-heading);
    margin: 0;
}
.author-end p {
    margin: 10px 0;
}
.adjacent-posts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    border-block: 1px solid var(--line);
    padding: 28px 0;
    margin: 36px 0;
}
.adjacent-posts small {
    display: block;
    color: var(--muted);
    margin-bottom: 8px;
}
.adjacent-posts strong {
    font: 400 23px/1.25 var(--font-heading);
}
.comments-slot {
    padding: 12px 0 30px;
}
.comments-slot h2 {
    font: 400 32px/1.2 var(--font-heading);
    margin-bottom: 12px;
}
/* Members-only Paywall / Upgrade CTA */
.content-fade {
    position: relative;
    max-height: 120px;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, black 20%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 20%, transparent 100%);
}
.post-upgrade-cta {
    position: relative;
    margin: 36px 0 32px;
    padding: 36px 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}
.post-upgrade-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green), var(--peach));
}
.upgrade-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--green);
    background: var(--soft);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.upgrade-badge svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
}
.post-upgrade-cta h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    line-height: 1.25;
    margin: 0 0 10px;
    color: var(--ink);
    letter-spacing: -0.02em;
}
.post-upgrade-cta p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
    max-width: 480px;
    margin: 0 auto 20px;
}
.upgrade-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.upgrade-actions .button {
    min-width: 220px;
    justify-content: center;
    padding: 12px 24px;
    font-size: 14px;
}
.upgrade-signin {
    font-size: 13px;
    color: var(--muted);
    margin: 0 !important;
}
.upgrade-signin a {
    color: var(--ink);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.upgrade-signin a:hover {
    color: var(--green);
}
.reading-progress {
    position: fixed;
    inset: 0 0 auto;
    height: 3px;
    width: 100%;
    z-index: 20;
    appearance: none;
    border: 0;
    background: transparent;
}
.reading-progress::-webkit-progress-bar {
    background: transparent;
}
.reading-progress::-webkit-progress-value {
    background: var(--orange);
}
.reading-progress::-moz-progress-bar {
    background: var(--orange);
}
.empty-state {
    text-align: center;
    padding: 60px 25px;
    background: var(--soft);
    border-radius: 16px;
}
.empty-state > svg {
    width: 40px;
    height: 40px;
    color: var(--green);
}
.empty-state h2 {
    font: 400 32px/1.15 var(--font-heading);
}
.empty-state p {
    color: var(--muted);
    max-width: 43ch;
    margin: 0 auto 25px;
}
.error-page {
    display: grid;
    grid-template-columns: 1fr 45%;
    gap: 70px;
    align-items: center;
    padding: 30px 40px 50px;
}
.error-number {
    font: 400 clamp(100px, 13vw, 190px) / 1 var(--font-heading);
    color: var(--green);
}
.error-number > span {
    color: var(--orange);
}
.error-page h1 {
    font-size: clamp(36px, 4vw, 54px);
    margin-top: 20px;
}
.error-page p {
    font-size: 17px;
    max-width: 42ch;
    color: var(--muted);
}
.error-page > img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 180px 180px 14px 14px;
}
.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    margin-top: 28px;
}
.error-actions button {
    background: none;
    display: flex;
    gap: 10px;
    align-items: center;
}
.error-actions svg {
    width: 20px;
    height: 20px;
}
.small-author {
    padding: 24px;
}
.listing-main,
.post-main,
.byline-author,
.post-byline > *,
.author-end > div {
    min-width: 0;
}
.byline-author > span {
    min-width: 0;
}
.post-main h1 {
    overflow-wrap: anywhere;
}
.small-author > img {
    flex-shrink: 0;
}
.newsletter-note {
    font-size: 12px;
    line-height: 1.6;
    margin: 14px 0 0;
}
.byline-author small {
    display: block;
}
.profile-portrait {
    max-width: 230px;
}
.paywall-card {
    background: var(--sage);
    padding: 38px;
    border-radius: 14px;
    text-align: center;
    margin: 30px 0;
}
.paywall-card h2 {
    font: 400 34px/1.2 var(--font-heading);
    margin: 0 0 18px;
}
.paywall-card p {
    max-width: 42ch;
    margin: 0 auto 20px;
}
.paywall-card button:disabled {
    opacity: 0.7;
}
@media (min-width: 1600px) {
    .post-layout {
        grid-template-columns: minmax(0, 1fr) 392px;
    }
}
@media (max-width: 1200px) {
    .profile-intro {
        grid-template-columns: 190px 1fr;
        gap: 28px;
    }
    .interests {
        grid-column: 1 / -1;
        display: flex;
        gap: 20px;
        align-items: center;
        flex-wrap: wrap;
    }
    .interests h2 {
        margin: 0;
    }
    .interests a {
        border: 0;
    }
    .profile-portrait {
        height: 280px;
    }
    .archive-list h3 {
        font-size: 23px;
    }
    .archive-list .card-copy p {
        font-size: 13px;
    }
    .archive-list .card-bottom time {
        display: none;
    }
    .category-heading {
        grid-template-columns: 1fr;
    }
    .category-cover {
        height: 220px;
    }
    .post-byline {
        flex-wrap: wrap;
    }
}
@media (max-width: 1000px) {
    .category-directory {
        grid-template-columns: repeat(2, 1fr);
    }
    .error-page {
        gap: 32px;
        padding-inline: 0;
    }
    .profile-posts .article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 700px) {
    .collection-tools {
        flex-wrap: wrap;
    }
    .collection-tools label {
        flex: 1;
        min-width: 100px;
    }
    .byline-author img {
        width: 48px;
        height: 48px;
    }
    .byline-author small {
        white-space: normal;
    }
    .author-end img {
        width: 52px;
        height: 52px;
    }
    .breadcrumb {
        margin: 5px 0 24px;
        font-size: 11px;
        gap: 8px;
    }
    .tags-directory-page > .breadcrumb {
        max-width: none;
        margin-inline: 0;
    }
    .page-heading h1 {
        font-size: 43px;
    }
    .page-heading p {
        font-size: 15px;
    }
    .page-heading {
        margin-bottom: 25px;
    }
    .collection-tools {
        gap: 10px;
    }
    .collection-tools select {
        font-size: 12px;
        padding: 10px 24px 10px 10px;
    }
    .filter-submit {
        font-size: 12px;
        padding-inline: 0;
    }
    .archive-list {
        gap: 20px;
    }
    .archive-list .article-card {
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 0 15px;
        padding-bottom: 18px;
    }
    .archive-list .card-photo {
        aspect-ratio: 1.5;
        width: 105px;
        height: 70px;
    }
    .archive-list h3 {
        font-size: 20px;
        margin-bottom: 8px;
    }
    .archive-list .card-copy p {
        display: none;
    }
    .archive-list .card-topic {
        font-size: 11px;
        margin-bottom: 5px;
    }
    .archive-list .card-bottom {
        grid-column: 2;
        font-size: 11px;
        display: flex;
    }
    .archive-list .card-bottom .avatar,
    .archive-list .card-bottom > a,
    .archive-list .card-reading {
        display: none;
    }
    .archive-list .card-bottom time {
        display: block;
        font-size: 11px;
    }
    .archive-list .save-button {
        margin-left: auto;
        min-width: 36px;
        min-height: 36px;
    }
    .category-list {
        grid-template-columns: 1fr;
    }
    .category-list .article-card:first-child {
        display: flex;
        grid-column: auto;
    }
    .category-list .article-card:first-child .card-photo {
        aspect-ratio: 1.7;
        width: 100%;
        height: auto;
        margin-bottom: 15px;
    }
    .category-list .article-card:first-child .card-copy p {
        display: block;
    }
    .category-list .article-card:first-child h3 {
        font-size: 28px;
    }
    .category-list .article-card:not(:first-child) {
        display: grid;
    }
    .category-list .article-card:first-child .card-bottom {
        width: 100%;
    }
    .category-heading {
        gap: 22px;
    }
    .category-cover {
        height: 190px;
        border-radius: 80px 12px 12px 12px;
    }
    .category-directory {
        grid-template-columns: 1fr;
        gap: 34px;
    }
    .centered-heading {
        text-align: left;
        margin: 0 0 32px;
    }
    .directory-item h2 {
        font-size: 31px;
    }
    .directory-item p {
        font-size: 14px;
    }
    .wide-newsletter {
        margin-top: 38px;
    }
    .wide-newsletter .newsletter-panel {
        display: block;
        padding: 25px 22px;
    }
    .wide-newsletter .newsletter-form {
        margin-top: 22px;
    }
    .wide-newsletter .newsletter-note {
        margin-bottom: 0;
    }
    .profile-intro {
        grid-template-columns: 1fr;
        gap: 26px;
        margin-bottom: 36px;
    }
    .profile-portrait {
        width: 170px;
        height: 210px;
    }
    .profile-intro h1 {
        font-size: 41px;
    }
    .profile-deck {
        font-size: 22px;
    }
    .profile-intro p {
        font-size: 15px;
    }
    .interests {
        grid-column: auto;
        gap: 8px 25px;
        padding: 22px;
    }
    .interests h2 {
        width: 100%;
        margin-bottom: 5px;
        font-size: 25px;
    }
    .interests a {
        font-size: 13px;
        padding: 8px 0;
    }
    .profile-posts .article-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .profile-posts h2 {
        font-size: 28px;
    }
    .profile-posts .section-heading .text-link {
        font-size: 12px;
    }
    .static-article {
        margin-top: 0;
        font-size: 16px;
    }
    .static-article h1 {
        font-size: 42px;
    }
    .contact-content {
        font-size: 16px;
    }
    .post-header h1 {
        font-size: 40px;
    }
    .article-deck {
        font-size: 16px;
    }
    .post-byline {
        gap: 18px;
        margin: 22px 0;
    }
    .byline-author strong {
        font-size: 20px;
    }
    .reading-tools {
        gap: 8px;
    }
    .reading-tools .icon-button {
        width: 40px;
        height: 40px;
    }
    .post-cover img {
        aspect-ratio: 1.55;
    }
    .prose {
        font-size: 16px;
        line-height: 1.85;
    }
    .prose.large-type {
        font-size: 19px;
    }
    .prose h2 {
        font-size: 29px;
        margin-top: 34px;
    }
    .prose blockquote {
        padding: 24px;
        font-size: 26px;
    }
    .author-end {
        padding: 22px;
        gap: 16px;
    }
    .author-end > img {
        width: 52px;
        height: 52px;
    }
    .author-end p {
        font-size: 14px;
    }
    .adjacent-posts {
        gap: 22px;
    }
    .adjacent-posts strong {
        font-size: 20px;
    }
    .journal-quote blockquote {
        font-size: 26px;
    }
    .error-page {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0;
    }
    .error-number {
        font-size: 120px;
    }
    .error-page > img {
        height: 260px;
        border-radius: 100px 100px 12px 12px;
    }
    .error-page h1 {
        font-size: 41px;
    }
    .error-actions {
        gap: 18px;
    }
    .empty-state {
        padding: 38px 20px;
    }
    .small-author h2 {
        font-size: 26px;
    }
}
