/* ==========================================================================
   Rippliq Ghost Theme — screen.css
   ========================================================================== */

/* ---------- Variables ---------- */
:root {
    --accent: var(--ghost-accent-color, #e63946);
    --text: #171822;
    --text-secondary: #5e6073;
    --bg: #ffffff;
    --border: #e8e8ed;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --gh-font-heading: var(--font);
    --gh-font-body: var(--font);
    --content-width: 720px;
    --wide-width: 1200px;
}

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

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

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
}

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

ul, ol {
    list-style: none;
}

/* ---------- Header ---------- */
.site-header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 3rem;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-brand-icon {
    width: 24px;
    height: 24px;
    color: var(--text);
}

.site-brand-name {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.header-nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.header-nav a:hover {
    color: var(--text);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    padding: 4px;
}

/* ====================================================================
   HOME PAGE SECTIONS
   ==================================================================== */

/* ---------- Hero ---------- */
.hero {
    padding: 4rem 2rem 2.5rem;
    text-align: center;
}

.hero-inner {
    max-width: 700px;
    margin: 0 auto;
}

.hero-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    color: var(--ghost-accent-color, #e63946);
    vertical-align: -0.1em;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.hero-title strong {
    font-weight: 700;
}

/* ---------- Featured Row (portrait overlay cards) ---------- */
.featured-wrap {
    padding: 1rem 0 6rem;
    overflow: visible;
}

.featured-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    max-width: none;
    margin: 0 auto;
    padding: 2rem 3rem 0;
    align-items: start;
    position: relative;
    z-index: 2;
}

/* Zigzag stagger — even cards shift down */
.featured-row .post-card:nth-child(even) { transform: translateY(6rem); }

.post-card {
    position: relative;
}

.post-card-link {
    display: block;
    position: relative;
    z-index: 1;
    transition: transform 0.25s;
}

.post-card:hover .post-card-link {
    transform: translateY(-4px);
}

.post-card-image {
    width: 100%;
    aspect-ratio: 9 / 14;
    object-fit: cover;
    display: block;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.post-card-no-image {
    width: 100%;
    aspect-ratio: 9 / 14;
    border-radius: 16px;
    background: linear-gradient(135deg, #f0eef6, #e8e6f0);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.post-card-tag {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    z-index: 2;
    backdrop-filter: blur(4px);
}

.post-card-overlay {
    position: absolute;
    bottom: 0.85rem;
    left: 0.85rem;
    right: 0.85rem;
    color: #fff;
    padding: 1rem 1.1rem;
    border-radius: 12px;
    z-index: 3;
}

.post-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

/* Mobile text — hidden on desktop */
.post-card-mobile-text {
    display: none;
}

/* Rotating overlay colors — matching the original */
.post-card:nth-child(5n+1) .post-card-overlay { background: #ffc81b; color: var(--text); }
.post-card:nth-child(5n+2) .post-card-overlay { background: #3b82f6; }
.post-card:nth-child(5n+3) .post-card-overlay { background: var(--accent); }
.post-card:nth-child(5n+4) .post-card-overlay { background: #ffd500; color: var(--text); }
.post-card:nth-child(5n+5) .post-card-overlay { background: #22c55e; color: var(--text); }

/* ---------- Mission / About Section ---------- */
.mission {
    margin: -10rem 2rem 0;
    background: linear-gradient(135deg, #f3e8ff 0%, #ede9fe 50%, #e8e0ff 100%);
    border-radius: 24px;
    padding: 10rem 3rem 4rem;
}

.mission-inner {
    max-width: 720px;
    margin: 0 auto;
}

.mission-text {
    font-size: 1.5rem;
    line-height: 1.7;
    color: var(--text);
    margin-top: 1.5rem;
}

.mission-text strong {
    font-size: 1.75rem;
}

/* ---------- Feed Section ("What's new") ---------- */
.feed-section {
    max-width: var(--wide-width);
    margin: 0 auto;
    padding: 2.5rem 2rem 1rem;
}

.feed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.75rem;
}

.feed-title {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.feed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* ---------- Standard Post Card ---------- */
.card-standard {
    transition: transform 0.2s;
}

.card-standard:hover {
    transform: translateY(-3px);
}

.card-standard-image-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0.85rem;
}

.card-standard-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.card-standard:hover .card-standard-image {
    transform: scale(1.03);
}

.card-standard-tag {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.2rem 0.55rem;
    border-radius: 5px;
    backdrop-filter: blur(4px);
}

.card-standard-content {
    padding: 0 0.15rem;
}

.card-standard-author {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.card-standard-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
}

.card-standard-title a:hover {
    color: var(--accent);
}

.card-standard-excerpt {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- Pagination (pill button) ---------- */
.pagination {
    display: flex;
    justify-content: center;
    padding: 1.5rem 2rem 2.5rem;
}

.pagination-pill {
    display: inline-block;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}

.pagination-pill:hover {
    background: var(--accent);
    color: #fff;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    max-width: var(--wide-width);
    margin: 1rem auto 0;
    padding: 0 2rem;
}

.cta-banner-inner {
    background: linear-gradient(135deg, var(--accent), #ff6b81);
    border-radius: 24px;
    padding: 3rem 3rem 2.5rem;
    text-align: center;
    color: #fff;
}

.cta-banner-title {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.25;
    max-width: 560px;
    margin: 0 auto 1.5rem;
}

.cta-banner-benefits {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
}

.cta-banner-benefits ul {
    list-style: none;
    text-align: left;
}

.cta-banner-benefits li {
    margin-bottom: 0.35rem;
}

.cta-banner-benefits li::before {
    content: "\2713";
    margin-right: 0.4rem;
    font-weight: 700;
}

.cta-banner-btn {
    display: inline-block;
    background: #fff;
    color: var(--text);
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* ====================================================================
   SINGLE POST PAGE
   ==================================================================== */

.post-full {
    max-width: var(--wide-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.post-full-header {
    max-width: var(--content-width);
    margin: 3rem auto 2rem;
    text-align: center;
}

.post-full-meta {
    margin-bottom: 1rem;
}

.post-full-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--accent);
}

.post-full-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.post-full-byline {
    display: flex;
    justify-content: center;
}

.post-full-byline-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.post-full-author a {
    font-weight: 600;
    color: var(--text);
}

.post-full-author a:hover {
    color: var(--accent);
}

.post-full-date::before,
.post-full-reading-time::before {
    content: "\00b7";
    margin-right: 0.75rem;
}

/* ---------- Featured Image ---------- */
.post-full-image {
    max-width: 960px;
    margin: 0 auto 2.5rem;
    border-radius: 12px;
    overflow: hidden;
}

.post-full-image img {
    width: 100%;
}

.post-full-image figcaption {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.75rem;
}

/* ---------- Post Content ---------- */
.post-full-content {
    max-width: var(--content-width);
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.75;
}

.post-full-content h2 {
    font-size: 1.625rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 2.5rem 0 1rem;
}

.post-full-content h3 {
    font-size: 1.325rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 2rem 0 0.75rem;
}

.post-full-content p {
    margin-bottom: 1.5rem;
}

.post-full-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.post-full-content a:hover {
    opacity: 0.8;
}

.post-full-content blockquote {
    border-left: 3px solid var(--accent);
    padding-left: 1.25rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

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

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

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

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

.post-full-content img {
    border-radius: 8px;
    margin: 2rem auto;
}

.post-full-content figure {
    margin: 2rem 0;
}

.post-full-content figcaption {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.post-full-content pre {
    background: #f4f4f8;
    border-radius: 8px;
    padding: 1.25rem;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.post-full-content code {
    font-size: 0.9em;
    background: #f4f4f8;
    padding: 0.15em 0.35em;
    border-radius: 4px;
}

.post-full-content pre code {
    background: none;
    padding: 0;
}

.post-full-content hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2.5rem 0;
}

/* ---------- Post Footer ---------- */
.post-full-footer {
    max-width: var(--content-width);
    margin: 2.5rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.post-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.post-share-label {
    font-size: 0.875rem;
    font-weight: 600;
    margin-right: 0.25rem;
}

.post-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f4f4f8;
    color: var(--text-secondary);
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.post-share-btn:hover {
    background: var(--accent);
    color: #fff;
}

.post-tags {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.post-tags a {
    color: var(--accent);
    font-weight: 500;
}

/* ---------- Post Navigation ---------- */
.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: var(--content-width);
    margin: 3rem auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.post-nav-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.post-nav-next {
    text-align: right;
}

.post-nav-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--accent);
}

.post-nav-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.2s;
}

.post-nav-item:hover .post-nav-title {
    color: var(--accent);
}

/* ---------- Related Links ---------- */
.related-links {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 2rem 0 3rem;
}

.related-links-title {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: var(--accent);
}

.related-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--border);
}

.related-links-list li {
    border-bottom: 1px solid var(--border);
}

.related-links-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
    transition: color 0.2s;
}

.related-links-item:hover {
    color: var(--accent);
}

.related-links-name {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
}

.related-links-tag {
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: #f4f4f8;
    padding: 0.2rem 0.55rem;
    border-radius: 5px;
}

/* ---------- Archive Headers ---------- */
.archive-header {
    text-align: center;
    padding: 3rem 2rem 0;
    max-width: var(--content-width);
    margin: 0 auto;
}

.archive-title {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.archive-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
}

.author-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.author-website {
    color: var(--accent);
    font-weight: 500;
}

/* ---------- Error Page ---------- */
.error-page {
    text-align: center;
    padding: 6rem 2rem;
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1;
    color: var(--border);
    margin-bottom: 1rem;
}

.error-message {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.error-link {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: opacity 0.2s;
}

.error-link:hover {
    opacity: 0.88;
}

/* ---------- Page Full ---------- */
.page-full .post-full-header {
    margin-bottom: 2rem;
}

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--border);
    margin-top: 2rem;
}

.footer-inner {
    max-width: var(--wide-width);
    margin: 0 auto;
    padding: 1.5rem 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ---------- Ghost-specific: kg cards ---------- */
.kg-width-wide {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.kg-width-full {
    max-width: none;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

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

.kg-gallery-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 2rem 0;
}

.kg-gallery-row {
    display: flex;
    gap: 0.75rem;
}

.kg-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.kg-bookmark-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    margin: 1.5rem 0;
}

.kg-bookmark-container {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.kg-bookmark-content {
    flex: 1;
    padding: 1.25rem;
}

.kg-bookmark-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.35rem;
}

.kg-bookmark-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.kg-bookmark-metadata {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.kg-bookmark-icon {
    width: 16px;
    height: 16px;
}

.kg-bookmark-thumbnail {
    width: 160px;
    min-height: 100%;
}

.kg-bookmark-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ====================================================================
   RESPONSIVE
   ==================================================================== */
@media (max-width: 1100px) {
    .featured-row {
        grid-template-columns: repeat(3, 1fr);
    }

    .featured-row .post-card:nth-child(even) { transform: translateY(3.5rem); }
    .featured-row .post-card:nth-child(n+4) { display: none; }
    .featured-wrap { padding-bottom: 5rem; }
}

@media (max-width: 960px) {
    .feed-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .post-full-title {
        font-size: 2rem;
    }

    .cta-banner-title {
        font-size: 1.4rem;
    }

    .cta-banner-benefits {
        display: inline-flex;
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}

@media (max-width: 680px) {
    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: 1rem 2rem;
        z-index: 50;
    }

    .header-nav.is-open {
        display: block;
    }

    .header-nav ul {
        flex-direction: column;
        gap: 0.75rem;
    }

    .site-header {
        position: relative;
    }

    .menu-toggle {
        display: flex;
    }

    /* Feed stays 2-col grid on mobile */
    .feed-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .card-standard-image {
        aspect-ratio: 1 / 1;
    }

    .card-standard-title {
        font-size: 0.9rem;
    }

    .card-standard-excerpt {
        display: none;
    }

    .hero {
        padding: 2rem 1rem 1rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .featured-wrap {
        padding: 0.5rem 0 1rem;
        overflow: visible;
    }

    .featured-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 1fr;
        gap: 0.75rem;
        padding: 0 1rem;
    }

    .featured-row .post-card:nth-child(even) { transform: none; }

    .featured-row .post-card:nth-child(4) { display: block; }
    .featured-row .post-card:nth-child(n+5) { display: none; }

    .post-card-overlay {
        padding: 0.5rem 0.6rem;
    }

    .post-card-title {
        font-size: 0.8rem;
    }

    .post-card-tag {
        font-size: 0.6rem;
        padding: 0.15rem 0.4rem;
    }

    .mission {
        margin: -4rem 1rem 0;
        padding: 8rem 1.5rem 2.5rem;
        border-radius: 16px;
    }

    .mission-text {
        font-size: 1.1rem;
    }

    .mission-text strong {
        font-size: 1.25rem;
    }

    .feed-section {
        padding: 2rem 1rem 1rem;
    }

    .feed-title {
        font-size: 1.35rem;
    }

    .post-full-title {
        font-size: 1.625rem;
    }

    .post-full-byline-meta {
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .post-nav-next {
        text-align: left;
    }

    .header-inner {
        padding: 0 1rem;
    }

    .post-full {
        padding: 0 1rem;
    }

    .related-links {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .cta-banner {
        padding: 0 1rem;
    }

    .cta-banner-inner {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }

    .cta-banner-title {
        font-size: 1.25rem;
    }

    .cta-banner-benefits {
        display: inline-flex;
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }

    .cta-banner-benefits ul + ul {
        margin-top: 0;
    }

    /* Switch to horizontal card layout on mobile */
    .featured-row .post-card {
        border-radius: 12px;
        overflow: hidden;
    }

    .featured-row .post-card-link {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }

    .featured-row .post-card-image {
        aspect-ratio: 1 / 1;
        border-radius: 0;
        order: 2;
        height: 100%;
    }

    .featured-row .post-card-no-image {
        aspect-ratio: 1 / 1;
        border-radius: 0;
        order: 2;
    }

    .featured-row .post-card-tag {
        display: none;
    }

    .featured-row .post-card-overlay {
        display: none;
    }

    .featured-row .post-card-mobile-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0.75rem;
        order: 1;
    }

    .featured-row .post-card-mobile-text .post-card-title {
        font-size: 0.85rem;
        color: #fff;
    }

    /* Card background colors */
    .featured-row .post-card:nth-child(5n+1) { background: #ffc81b; }
    .featured-row .post-card:nth-child(5n+1) .post-card-mobile-text .post-card-title { color: var(--text); }
    .featured-row .post-card:nth-child(5n+2) { background: #3b82f6; }
    .featured-row .post-card:nth-child(5n+3) { background: var(--accent); }
    .featured-row .post-card:nth-child(5n+4) { background: #ffd500; }
    .featured-row .post-card:nth-child(5n+4) .post-card-mobile-text .post-card-title { color: var(--text); }
    .featured-row .post-card:nth-child(5n+5) { background: #22c55e; }
    .featured-row .post-card:nth-child(5n+5) .post-card-mobile-text .post-card-title { color: var(--text); }

    .mission {
        margin-top: 0;
        padding-top: 2.5rem;
    }
}

