/*
Theme Name: THE dePressed POET
Theme URI: https://thedepressedpoet.com
Author: Stella
Description: A Poetry Foundation-inspired theme for THE dePressed POET blog. Clean, editorial design with EB Garamond typography.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: depressed-poet
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-red: #ed1c24;
    --color-red-dark: #a31418;
    --color-black: #000;
    --color-white: #fff;
    --color-gray-light: #f1f1f1;
    --color-gray-mid: #e5e5e5;
    --color-gray-dark: #2b2b2b;
    --color-cream: #efede7;
    --font-serif: 'EB Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --max-width: 1178px;
    --header-height: 60px;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--color-black);
    background-color: var(--color-white);
}

a {
    color: var(--color-black);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-red);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1.5rem;
}

blockquote {
    padding-left: 1.5rem;
    border-left: 3px solid var(--color-red);
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.25rem;
}

/* ===== LAYOUT ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip link — visible on focus */
.skip-link:focus {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100000;
    width: auto;
    height: auto;
    padding: 0.75rem 1.5rem;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background: var(--color-red);
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
}

/* Focus-visible for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--color-red);
    outline-offset: 2px;
}

/* 404 page */
.error-404-link {
    color: var(--color-red);
    text-decoration: underline;
}

/* ===== SITE HEADER — INITIAL (large) ===== */
.site-header-initial {
    padding: 3rem 0 0;
    text-align: left;
}

.site-header-initial .container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.site-header-initial .site-branding {
    flex: 1;
}

.site-title-large {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.site-title-large .de {
    text-transform: lowercase;
    font-size: 0.75em;
}

.site-title-large a {
    color: var(--color-black);
}

.site-title-large a:hover {
    color: var(--color-black);
}

.site-tagline {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: #555;
    font-style: italic;
}

.header-logo-large {
    width: 200px;
    height: auto;
    border-radius: 20px;
}

/* ===== SITE HEADER — STICKY NAV ===== */
.site-header-sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-gray-mid);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.site-header-sticky .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.sticky-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Hide sticky branding on homepage (large header already shows it) */
.home .sticky-logo,
.home .sticky-site-name {
    display: none;
}

.sticky-logo {
    height: 40px;
    width: auto;
    border-radius: 8px;
}

.sticky-site-name {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-black);
    letter-spacing: 0.05em;
}

.sticky-site-name a {
    color: var(--color-black);
}

/* ===== PRIMARY NAVIGATION ===== */
.primary-nav {
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-gray-mid);
}

.primary-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-black);
    padding-bottom: 0.25rem;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    border-bottom-color: var(--color-red);
    color: var(--color-black);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--color-black);
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--color-red);
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Search button */
.search-toggle {
    background: var(--color-red);
    border: none;
    color: var(--color-white);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.search-toggle:hover {
    background: var(--color-red-dark);
}

.search-toggle svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Search overlay */
.search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.search-overlay.active {
    display: flex;
}

.search-overlay-inner {
    width: 100%;
    max-width: 600px;
    padding: 2rem;
}

.search-overlay .search-field {
    width: 100%;
    font-family: var(--font-serif);
    font-size: 2rem;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--color-white);
    color: var(--color-white);
    outline: none;
}

.search-overlay .search-field::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

/* ===== HOMEPAGE SECTIONS ===== */

/* Category labels */
.category-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-red);
    margin-bottom: 0.5rem;
    display: block;
}

.category-label a {
    color: var(--color-red);
}

/* Audio badge */
.audio-badge {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    gap: 0.3rem;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-red);
    margin-left: 0.5rem;
}

.audio-badge svg {
    width: 14px;
    height: 14px;
    fill: var(--color-red);
}

/* ===== AUDIO PLAYER (Plyr) ===== */
.audio-player-section {
    max-width: 750px;
    margin: 0 auto;
    padding-bottom: 2rem;
}

.audio-player-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-gray-mid);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.audio-player-section h3 svg {
    width: 18px;
    height: 18px;
    fill: var(--color-red);
}

/* Plyr theme overrides — use Plyr's own custom properties */
.plyr {
    --plyr-color-main: var(--color-red);
    --plyr-audio-controls-background: var(--color-gray-light);
    --plyr-audio-control-color: var(--color-black);
    --plyr-audio-control-color-hover: var(--color-white);
    --plyr-audio-control-background-hover: var(--color-red);
    --plyr-range-fill-background: var(--color-red);
    --plyr-range-thumb-background: var(--color-red);
    --plyr-range-thumb-shadow: 0 1px 1px rgba(0,0,0,.15), 0 0 0 1px rgba(0,0,0,.15);
    --plyr-badge-background: var(--color-red);
    --plyr-badge-text-color: var(--color-white);
}

.plyr--audio .plyr__controls {
    border: 1px solid var(--color-gray-mid);
    border-radius: 0;
    padding: 0.75rem;
}

/* Hero / Featured post */
.hero-section {
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--color-gray-mid);
}

.hero-content {
    max-width: 100%;
}

.hero-image {
    margin-bottom: 1.5rem;
}

.hero-image img {
    width: 100%;
    height: auto;
}

.hero-content .category-label {
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.15;
}

.hero-content h2 a:hover {
    color: var(--color-red);
}

.post-meta {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.post-meta .author {
    font-weight: 600;
}

.hero-content .excerpt {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #333;
}

.hero-content .excerpt .continue-reading {
    margin-top: 0.5rem;
}

.hero-content .excerpt .continue-reading a {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-red);
}

.hero-content .excerpt .continue-reading a:hover {
    color: var(--color-red-dark);
}

/* Recent posts grid */
.recent-posts-section {
    padding: 2.5rem 0;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--color-red);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.post-card {
    padding: 1.5rem;
    border-right: 1px solid var(--color-gray-mid);
    border-bottom: 1px solid var(--color-gray-mid);
}

.post-card:nth-child(3n) {
    border-right: none;
}

.post-card-image {
    margin-bottom: 0.75rem;
}

.post-card-image img {
    width: 100%;
    height: auto;
}

.post-card .category-label {
    margin-bottom: 0.5rem;
}

.post-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.post-card h3 a:hover {
    color: var(--color-red);
}

.post-card .post-meta {
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
}

.post-card .excerpt {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #444;
}

/* ===== NEWSLETTER CTA ===== */
.newsletter-cta {
    padding: 3rem 0;
    border-top: 3px solid var(--color-red);
    border-bottom: 1px solid var(--color-gray-mid);
}

.newsletter-cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.newsletter-cta h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.newsletter-cta p {
    font-size: 1rem;
    color: #444;
    margin-bottom: 0;
    max-width: 600px;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-shrink: 0;
}

.newsletter-form input[type="email"] {
    font-family: var(--font-serif);
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-gray-mid);
    width: 280px;
    outline: none;
    transition: border-color 0.2s;
}

.newsletter-form input[type="email"]:focus {
    border-color: var(--color-red);
}

.btn-red {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--color-red);
    color: var(--color-white);
    border: none;
    padding: 0.85rem 1.75rem;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.btn-red:hover {
    background: var(--color-red-dark);
}

/* In-post newsletter CTA */
.newsletter-inline {
    background: var(--color-gray-light);
    padding: 2.5rem;
    margin: 3rem 0;
    text-align: center;
}

.newsletter-inline h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.newsletter-inline p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.newsletter-inline .newsletter-form {
    justify-content: center;
}

/* ===== SINGLE POST ===== */
.single-post-header {
    padding: 2.5rem 0 1.5rem;
    max-width: 750px;
    margin: 0 auto;
}

.single-post-header .category-label {
    font-size: 0.8125rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.single-post-header h1 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    line-height: 1.15;
}

.single-post-header .post-meta {
    margin-bottom: 0;
}

.single-post-hero {
    max-width: 750px;
    margin: 0 auto;
    padding: 1.5rem 0;
}

.single-post-hero img {
    width: 100%;
    height: auto;
}

.single-post-content {
    max-width: 750px;
    margin: 0 auto;
    padding: 1rem 0 3rem;
}

.single-post-content p {
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 1.75rem;
}

.single-post-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.single-post-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.single-post-content a {
    color: var(--color-red);
    text-decoration: underline;
}

.single-post-content a:hover {
    color: var(--color-red-dark);
}

.single-post-content img {
    margin: 2rem 0;
}

.single-post-content ul,
.single-post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.single-post-content ul {
    list-style: disc;
}

.single-post-content ol {
    list-style: decimal;
}

.single-post-content li {
    margin-bottom: 0.5rem;
}

/* Social sharing */
.social-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--color-gray-mid);
    border-bottom: 1px solid var(--color-gray-mid);
    max-width: 750px;
    margin: 0 auto;
}

.social-share span {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.social-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--color-gray-mid);
    color: var(--color-black);
    transition: all 0.2s;
}

.social-share a:hover {
    background: var(--color-red);
    border-color: var(--color-red);
    color: var(--color-white);
}

.social-share svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ===== COMMENTS ===== */
.comments-area {
    max-width: 750px;
    margin: 0 auto;
    padding: 3rem 0;
}

.comments-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-black);
}

.comment-list {
    margin-bottom: 3rem;
}

.comment {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--color-gray-mid);
}

.comment-author {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.comment-metadata {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 0.75rem;
}

.comment-content p {
    font-size: 1rem;
    line-height: 1.6;
}

.comment-respond .comment-reply-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.comment-form label {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    font-family: var(--font-serif);
    font-size: 1rem;
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-gray-mid);
    margin-bottom: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--color-red);
}

.comment-form .submit {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--color-red);
    color: var(--color-white);
    border: none;
    padding: 0.85rem 2rem;
    cursor: pointer;
    transition: background 0.2s;
}

.comment-form .submit:hover {
    background: var(--color-red-dark);
}

/* ===== ABOUT PAGE ===== */
.about-header {
    padding: 3rem 0 2rem;
    border-bottom: 1px solid var(--color-gray-mid);
}

.about-header h1 {
    font-size: 3rem;
}

.about-content {
    padding: 3rem 0;
    max-width: 750px;
    margin: 0 auto;
}

.about-intro {
    margin-bottom: 3rem;
    text-align: center;
}

.about-photo {
    width: 280px;
    margin: 0 auto 2rem;
}

.about-photo img {
    width: 100%;
    filter: grayscale(100%);
    border: 4px solid var(--color-black);
}

.about-text h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.about-text p {
    text-align: left;
    font-size: 1.125rem;
    line-height: 1.75;
}

.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--color-black);
}

.about-section p {
    font-size: 1.125rem;
    line-height: 1.75;
}

/* ===== FOOTER ===== */
.site-footer {
    border-top: 3px solid var(--color-red);
    padding-top: 3rem;
    margin-top: 3rem;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--color-gray-mid);
}

.footer-nav-column h4 {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.footer-nav-column a {
    display: block;
    font-size: 0.9375rem;
    padding: 0.25rem 0;
    color: #444;
}

.footer-nav-column a:hover {
    color: var(--color-red);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
}

.footer-logo {
    height: 50px;
    width: auto;
    border-radius: 10px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--color-black);
    transition: color 0.2s;
}

.footer-social a:hover {
    color: var(--color-red);
}

.footer-social svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.footer-legal {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: #888;
}

/* ===== ARCHIVE / CATEGORY PAGES ===== */
.archive-header {
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--color-gray-mid);
}

.archive-header h1 {
    font-size: 2.5rem;
}

.archive-description {
    font-size: 1.125rem;
    color: #555;
    margin-top: 0.5rem;
}

/* ===== PAGINATION ===== */
.pagination {
    padding: 2rem 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.pagination a,
.pagination span {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-gray-mid);
    color: var(--color-black);
    transition: all 0.2s;
}

.pagination a:hover {
    background: var(--color-red);
    border-color: var(--color-red);
    color: var(--color-white);
}

.pagination .current {
    background: var(--color-black);
    border-color: var(--color-black);
    color: var(--color-white);
}

/* ===== SEARCH RESULTS ===== */
.search-results-header {
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--color-gray-mid);
}

.search-results-header h1 {
    font-size: 2rem;
}

/* ===== 404 ===== */
.error-404 {
    padding: 5rem 0;
    text-align: center;
}

.error-404 h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.error-404 p {
    font-size: 1.25rem;
    color: #555;
}

/* ===== HAMBURGER MENU TOGGLE ===== */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
    z-index: 10;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-black);
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .site-title-large {
        font-size: 2.25rem;
    }

    .header-logo-large {
        width: 120px;
    }

    .sticky-site-name {
        display: none;
    }

    .sticky-logo {
        display: none;
    }

    .nav-right .social-links {
        display: none;
    }

    /* Hamburger toggle visible on mobile */
    .nav-toggle {
        display: flex;
    }

    /* Hide nav links by default on mobile, show as dropdown */
    .nav-links {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--color-white);
        border-bottom: 1px solid var(--color-gray-mid);
        flex-direction: column;
        padding: 1rem 1.5rem;
        gap: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 0.8125rem;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--color-gray-light);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .site-header-sticky {
        position: sticky;
    }

    .site-header-sticky .container {
        position: relative;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .post-card {
        border-right: none;
    }

    .hero-content h2 {
        font-size: 1.75rem;
    }

    .newsletter-cta .container {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-form input[type="email"] {
        width: 100%;
    }

    .about-photo {
        width: 220px;
    }

    .about-header h1 {
        font-size: 2rem;
    }

    .archive-header h1 {
        font-size: 2rem;
    }

    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .single-post-header h1 {
        font-size: 2rem;
    }

    .search-overlay .search-field {
        font-size: 1.5rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .site-title-large {
        font-size: 1.75rem;
    }

    .footer-nav {
        grid-template-columns: 1fr;
    }

    .newsletter-inline {
        padding: 1.5rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .single-post-header h1 {
        font-size: 1.75rem;
    }
}
