/* ==========================================================================
   Biblical Theme — Screen.css
   A warm, parchment-inspired theme for "The Daily Bread"
   Colors evoke ancient manuscripts, illuminated texts, and the Holy Land
   ========================================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Lora:ital,wght@0,400;0,600;1,400&display=swap');

/* --- CSS Custom Properties --- */
:root {
    /* Parchment & Earth Tones */
    --parchment:          #f5e6d3;
    --parchment-dark:     #e8d5b7;
    --parchment-light:    #fdf5ee;
    --parchment-deep:     #d4c4a8;
    
    /* Browns */
    --brown-deep:         #2c1810;
    --brown-dark:         #4a3520;
    --brown:              #5c3a21;
    --brown-warm:         #8b6914;
    --brown-light:        #a0855b;
    
    /* Golds */
    --gold:               #c9a84c;
    --gold-dark:          #a0842d;
    --gold-light:         #e0c87a;
    --gold-pale:          #f0e0a0;
    
    /* Sky & Water */
    --sky:                #8cb5c9;
    --sky-light:          #b0d0e0;
    --sky-deep:           #6a9bb5;
    --water:              #7a9baa;
    
    /* Greens (olive, hill) */
    --olive:              #6b8e23;
    --olive-dark:         #556b2f;
    --olive-light:        #8aad3a;
    
    /* UI Colors */
    --text-primary:       #2c1810;
    --text-secondary:     #5c3a21;
    --text-muted:         #8b7355;
    --text-on-dark:       #f5e6d3;
    --white:              #ffffff;
    --shadow:             rgba(44, 24, 16, 0.08);
    --shadow-strong:      rgba(44, 24, 16, 0.15);
    
    /* Typography */
    --font-heading:       'Cinzel', serif;
    --font-body:          'Lora', Georgia, 'Times New Roman', serif;
    --font-size-base:     18px;
    --line-height-base:   1.8;
    
    /* Layout */
    --content-width:      720px;
    --content-wide:       960px;
    --content-full:       1200px;
    --spacing:            20px;
}


/* ==========================================================================
   1. Reset & Base
   ========================================================================== */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--parchment);
    color: var(--text-primary);
    line-height: var(--line-height-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--gold);
    color: var(--white);
}

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

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

a:hover {
    color: var(--gold-dark);
}


/* ==========================================================================
   2. Navigation
   ========================================================================== */

.site-nav {
    background: var(--brown-deep);
    padding: 0;
    position: relative;
    z-index: 100;
    box-shadow: 0 2px 8px var(--shadow-strong);
}

.nav-inner {
    max-width: var(--content-full);
    margin: 0 auto;
    padding: 0 var(--spacing);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold) !important;
    letter-spacing: 1px;
    text-decoration: none;
}

.nav-logo:hover {
    color: var(--gold-light) !important;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--text-on-dark);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.nav-current::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--gold-light) !important;
}

/* Navigation from Ghost */
.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu ul li {
    margin: 0;
}

.nav-menu ul li a {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--text-on-dark);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    margin: 3px 0;
    transition: all 0.3s ease;
}

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

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

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


/* ==========================================================================
   3. Hero Header — Sermon on the Mount SVG
   ========================================================================== */

.hero-header {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-artwork {
    width: 100%;
    display: block;
}

.hero-artwork svg {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    padding: 20px;
    pointer-events: auto;
    max-width: var(--content-wide);
}

.site-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.site-title a {
    color: var(--white) !important;
    text-decoration: none;
    letter-spacing: 3px;
}

.site-title a:hover {
    color: var(--gold-light) !important;
}

.site-description {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-on-dark);
    opacity: 0.9;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
}

.hero-verse {
    font-family: var(--font-body);
    font-size: 1rem;
    font-style: italic;
    color: var(--gold-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    margin-top: 10px;
}


/* ==========================================================================
   4. Main Content Area
   ========================================================================== */

.site-main {
    min-height: 60vh;
}

.content-wrapper {
    max-width: var(--content-full);
    margin: 0 auto;
    padding: 40px var(--spacing);
}

.content-wrapper-narrow {
    max-width: var(--content-wide);
}


/* ==========================================================================
   5. Post Cards (Home page feed)
   ========================================================================== */

.post-feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.post-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--parchment-deep);
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px var(--shadow-strong);
    border-color: var(--gold);
}

.post-card-link {
    display: block;
    color: inherit !important;
    text-decoration: none;
}

.post-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-card-image img {
    transform: scale(1.05);
}

.post-card-image-placeholder svg {
    width: 100%;
    height: 100%;
}

.post-card-content {
    padding: 25px;
}

.post-card-header {
    margin-bottom: 12px;
}

.post-card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--brown-dark);
    line-height: 1.4;
    transition: color 0.2s ease;
}

.post-card:hover .post-card-title {
    color: var(--gold-dark);
}

.post-card-excerpt {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.post-card-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-card-tag {
    background: var(--gold);
    color: var(--white);
    padding: 2px 10px;
    border-radius: 3px;
    font-size: 0.75rem;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}


/* ==========================================================================
   6. Single Post
   ========================================================================== */

.post-single,
.page-single {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow);
    border: 1px solid var(--parchment-deep);
    max-width: var(--content-wide);
    margin: 0 auto 40px;
}

.post-header {
    text-align: center;
    padding: 50px 40px 30px;
}

.page-single .post-header {
    padding: 60px 40px 30px;
}

.post-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brown-deep);
    line-height: 1.3;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.post-meta {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.post-tags a {
    color: var(--brown);
    font-style: normal;
    font-weight: 600;
}

.post-tags a:hover {
    color: var(--gold-dark);
}

.post-feature-image {
    margin: 0;
    overflow: hidden;
}

.post-feature-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.post-feature-image figcaption {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    padding: 10px 20px;
}

.post-body {
    padding: 40px;
    font-size: 1.05rem;
    line-height: 2;
    max-width: var(--content-width);
    margin: 0 auto;
}

.post-body p {
    margin-bottom: 1.5em;
}

.post-body h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--brown-dark);
    margin: 40px 0 15px;
    letter-spacing: 0.5px;
}

.post-body h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--brown);
    margin: 30px 0 12px;
}

.post-body blockquote {
    border-left: 4px solid var(--gold);
    padding: 20px 30px;
    margin: 25px 0;
    font-style: italic;
    color: var(--brown);
    background: var(--parchment-light);
    border-radius: 0 8px 8px 0;
    font-size: 1.1rem;
}

.post-body blockquote p {
    margin-bottom: 0;
}

.post-body blockquote cite {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.post-body ul,
.post-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.post-body li {
    margin-bottom: 8px;
}

.post-body hr {
    border: none;
    border-top: 2px solid var(--parchment-deep);
    margin: 40px auto;
    width: 80px;
}

.post-body a {
    color: var(--brown);
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.post-body a:hover {
    color: var(--gold-dark);
}

.post-body pre {
    background: var(--brown-deep);
    color: var(--text-on-dark);
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 0.9rem;
    margin: 20px 0;
    line-height: 1.5;
}

.post-body code {
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 0.9em;
}

.post-body p code {
    background: var(--parchment);
    padding: 2px 6px;
    border-radius: 3px;
}

.post-body img {
    border-radius: 8px;
    margin: 30px auto;
}

/* Ghost CMS content styles */
.kg-canvas {
    width: 100%;
}

.kg-width-wide {
    max-width: var(--content-wide);
    margin-left: auto;
    margin-right: auto;
}

.kg-width-full {
    max-width: 100%;
}

.kg-bookmark-card {
    margin: 30px 0;
}

.kg-bookmark-container {
    display: flex;
    border-radius: 8px;
    border: 1px solid var(--parchment-deep);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.kg-bookmark-container:hover {
    box-shadow: 0 4px 12px var(--shadow);
}

.kg-bookmark-content {
    padding: 20px;
    flex: 1;
}

.kg-bookmark-title {
    font-weight: 700;
    margin-bottom: 8px;
}

.kg-bookmark-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.kg-bookmark-thumbnail img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    margin: 0;
}

/* Post Footer */
.post-footer {
    padding: 30px 40px 50px;
    border-top: 1px solid var(--parchment-deep);
    max-width: var(--content-width);
    margin: 0 auto;
}

/* Author */
.post-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--parchment-light);
    border-radius: 8px;
    margin-bottom: 25px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
}

.author-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.author-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--brown-dark);
}

.author-info a {
    color: var(--brown-dark);
}

.author-info a:hover {
    color: var(--gold-dark);
}

/* Tags list */
.post-tags-list {
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.tags-label {
    color: var(--text-muted);
    margin-right: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.post-tags-list a {
    display: inline-block;
    background: var(--parchment);
    padding: 4px 12px;
    border-radius: 4px;
    margin: 0 4px 8px 0;
    font-size: 0.85rem;
    color: var(--brown);
    border: 1px solid var(--parchment-deep);
}

.post-tags-list a:hover {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

/* Share links */
.post-share {
    margin-bottom: 30px;
}

.post-share h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.share-links {
    display: flex;
    gap: 10px;
}

.share-link {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid var(--parchment-deep);
    color: var(--brown);
    transition: all 0.3s ease;
}

.share-link:hover {
    background: var(--gold);
    color: var(--white) !important;
    border-color: var(--gold);
}

/* Post navigation */
.post-nav {
    margin-top: 20px;
}

.post-nav-link {
    display: block;
    padding: 15px 20px;
    background: var(--parchment-light);
    border-radius: 8px;
    border: 1px solid var(--parchment-deep);
    transition: all 0.3s ease;
}

.post-nav-link:hover {
    background: var(--parchment);
    border-color: var(--gold);
}

.post-nav-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.post-nav-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--brown-dark);
}


/* ==========================================================================
   7. Tag & Author Archive Pages
   ========================================================================== */

.tag-header,
.author-header {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 30px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--parchment-deep);
    box-shadow: 0 2px 8px var(--shadow);
}

.tag-name,
.author-name {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--brown-deep);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.tag-description,
.author-bio {
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

.tag-image img {
    max-width: 400px;
    margin: 20px auto;
    border-radius: 8px;
}

.author-profile {
    max-width: 600px;
    margin: 0 auto;
}

.author-profile-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 3px solid var(--gold);
}

.author-meta {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.author-website {
    color: var(--brown);
    text-decoration: underline;
}

.author-location::before {
    content: '\2022';
    margin: 0 10px;
}


/* ==========================================================================
   8. Pagination
   ========================================================================== */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 20px 0 40px;
    text-align: center;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 1px;
    border: 1px solid var(--parchment-deep);
    transition: all 0.3s ease;
}

.pagination a {
    color: var(--brown);
}

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

.pagination .page-number {
    color: var(--text-muted);
    border: none;
    padding: 10px;
}


/* ==========================================================================
   9. Footer
   ========================================================================== */

.site-footer {
    background: var(--brown-deep);
    color: var(--text-on-dark);
    text-align: center;
    padding: 50px 20px 40px;
    margin-top: 60px;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: var(--gold);
}

.footer-inner {
    max-width: var(--content-wide);
    margin: 0 auto;
}

.footer-verse {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 8px;
    display: inline-block;
    max-width: 500px;
}

.footer-verse p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--gold-light);
    margin-bottom: 8px;
}

.verse-ref {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--gold);
    letter-spacing: 1px;
}

.footer-bottom {
    padding-top: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom p {
    margin-bottom: 5px;
}

.footer-bottom a {
    color: var(--gold);
}

.footer-bottom a:hover {
    color: var(--gold-light);
    text-decoration: underline;
}


/* ==========================================================================
   10. Error Page
   ========================================================================== */

.error-page {
    text-align: center;
    padding: 80px 20px;
}

.error-code {
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px var(--shadow-strong);
}

.error-message {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.error-link {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: var(--gold);
    color: var(--white);
    transition: background 0.3s ease;
}

.error-link:hover {
    background: var(--gold-dark);
    color: var(--white) !important;
}


/* ==========================================================================
   11. Ghost-specific Overrides
   ========================================================================== */

/* Ghost navigation output */
.gh-navigation {
    display: none;
}

.gh-container {
    display: none;
}

.gh-footer {
    display: none;
}

/* Ghost content cards */
.kg-header-card {
    padding: 60px 20px;
    text-align: center;
}

.kg-header-card h2 {
    font-family: var(--font-heading);
}

/* Image gallery */
.kg-image-card {
    margin: 30px 0;
}

.kg-image-card figcaption {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 8px;
}

/* Callout card */
.kg-callout-card {
    border-radius: 8px;
    border-left: 4px solid var(--gold);
}

/* Toggle card */
.kg-toggle-card {
    border-radius: 8px;
    border: 1px solid var(--parchment-deep);
}

.kg-toggle-heading-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

/* Button card */
.kg-btn {
    font-family: var(--font-heading) !important;
    letter-spacing: 1px;
    padding: 12px 28px !important;
    border-radius: 6px !important;
}

/* ==========================================================================
   12. Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
    .site-title {
        font-size: 2.8rem;
    }
    
    .post-feed {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-base: 16px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--brown-deep);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-top: 1px solid rgba(201, 168, 76, 0.3);
    }
    
    .nav-menu.nav-open {
        display: flex;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .site-title {
        font-size: 2.2rem;
    }
    
    .site-title a {
        letter-spacing: 2px;
    }
    
    .site-description {
        font-size: 1rem;
    }
    
    .hero-verse {
        font-size: 0.85rem;
    }
    
    .post-feed {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .post-header {
        padding: 30px 20px 20px;
    }
    
    .post-title {
        font-size: 1.8rem;
    }
    
    .post-body {
        padding: 20px;
    }
    
    .post-footer {
        padding: 20px;
    }
    
    .post-share .share-links {
        flex-wrap: wrap;
    }
    
    .post-single,
    .page-single {
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .tag-name,
    .author-name {
        font-size: 1.8rem;
    }
    
    .hero-artwork svg {
        max-height: 350px;
    }
    
    .error-code {
        font-size: 5rem;
    }

    .kg-bookmark-container {
        flex-direction: column;
    }
    
    .kg-bookmark-thumbnail img {
        width: 100%;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1.8rem;
    }
    
    .hero-artwork svg {
        max-height: 280px;
    }
    
    .nav-logo {
        font-size: 1.1rem;
    }
    
    .post-card-title {
        font-size: 1.1rem;
    }
    
    .content-wrapper {
        padding: 20px 15px;
    }
}


/* ==========================================================================
   13. Animations
   ========================================================================== */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.post-card {
    animation: fadeIn 0.5s ease forwards;
}

.post-card:nth-child(1) { animation-delay: 0.05s; }
.post-card:nth-child(2) { animation-delay: 0.1s; }
.post-card:nth-child(3) { animation-delay: 0.15s; }
.post-card:nth-child(4) { animation-delay: 0.2s; }
.post-card:nth-child(5) { animation-delay: 0.25s; }
.post-card:nth-child(6) { animation-delay: 0.3s; }

/* Subtle scroll animations */
@media (prefers-reduced-motion: no-preference) {
    .post-card {
        opacity: 0;
        animation: fadeIn 0.6s ease forwards;
    }
}

@media (prefers-reduced-motion: reduce) {
    .post-card {
        animation: none;
        opacity: 1;
    }
}