/*
Theme Name: Solid Rock Flix
Theme URI: https://youtube.com/@SolidRockFlix
Template: minimal-fse
Author: Solid Rock Flix
Description: A modern Full Site Editing child theme for Solid Rock Flix — Christ-centered teaching for everyone. Built on the Rock.
Version: 1.1.0
Requires at least: 6.2
Tested up to: 6.5
Requires PHP: 7.4
License: MIT
Text Domain: solid-rock-flix
*/

/* --- Modern Global Resets & Smoothing --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-color: #CBD5E1;
    background-image: radial-gradient(ellipse at 50% 30%, #F8FAFC 0%, #E2E8F0 50%, #94A3B8 85%, #64748B 100%);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    position: relative;
    color: var(--wp--preset--color--ink, #0F172A);
    overflow-x: hidden;
}

/* Perimeter vignette shadow */
body::after {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    box-shadow: inset 0 0 100px rgba(15, 23, 42, 0.28), inset 0 0 220px rgba(9, 38, 94, 0.16);
    pointer-events: none;
    z-index: 9999;
}

/* --- Sticky Raised Header (No Curl, Raised off Screen) --- */
.wp-site-blocks > header,
header.wp-block-template-part,
.srf-header-wrapper {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    width: 100% !important;
    padding: 22px 20px 24px !important;
    box-sizing: border-box;
}

.srf-header-bar {
    position: relative;
    max-width: 1140px;
    margin: 0 auto;
    background: linear-gradient(180deg, #FFFFFF 0%, #FAFBFD 50%, #EEF2F6 100%);
    border-radius: 14px;
    border-top: 1.5px solid #FFFFFF;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14), 0 2px 6px rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    min-height: 64px;
}

.srf-header-logo-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
}

.srf-header-logo-link {
    display: block;
    text-decoration: none;
    line-height: 0;
}

.srf-center-logo {
    width: 144px;
    height: 144px;
    border-radius: 50%;
    object-fit: cover;
    background: transparent;
    padding: 0 !important;
    border: 4px solid #FFFFFF;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.32), 0 3px 8px rgba(0, 0, 0, 0.16);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.srf-header-logo-link:hover .srf-center-logo {
    transform: scale(1.05);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.4);
}

.srf-nav-group {
    display: flex;
    align-items: center;
    gap: 20px;
    font-family: var(--wp--preset--font-family--display);
    font-weight: 600;
    font-size: 0.95rem;
}

.srf-nav-left {
    margin-right: 85px;
}

.srf-nav-right {
    margin-left: 85px;
}

.srf-nav-item {
    color: #334155;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.srf-nav-item:hover {
    color: #1446B4;
    background: rgba(20, 70, 180, 0.06);
}

.srf-nav-btn {
    background: linear-gradient(135deg, #EF101F 0%, #C90110 100%) !important;
    color: #FFFFFF !important;
    padding: 8px 18px !important;
    border-radius: 9999px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(239, 16, 31, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.srf-nav-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(239, 16, 31, 0.5) !important;
    background: linear-gradient(135deg, #FF2635 0%, #D80010 100%) !important;
}

/* --- Theme Toggle Switch --- */
.srf-theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    color: #475569;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
    position: relative;
    flex-shrink: 0;
}

.srf-theme-toggle:hover {
    color: #09265E;
    border-color: #94A3B8;
    background: #F8FAFC;
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.14);
}

.srf-theme-toggle:focus-visible {
    outline: 2px solid #1446B4;
    outline-offset: 2px;
}

.srf-theme-toggle .srf-icon-moon {
    display: block;
}

.srf-theme-toggle .srf-icon-sun {
    display: none;
}

/* Section scroll offsets for sticky header */
#series,
#about,
#resources,
#scripture,
.srf-section[id] {
    scroll-margin-top: 110px;
}

/* --- Flat Raised Cards with Drop Shadow --- */
.srf-curled-card,
.srf-card,
.srf-series-card,
.srf-article,
.wp-block-quote.is-style-scripture {
    position: relative;
    background: #FFFFFF !important;
    border-radius: 18px !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(15, 23, 42, 0.06) !important;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Hover elevation */
.srf-card:hover,
.srf-series-card:hover,
.srf-curled-card:hover,
.srf-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.18), 0 4px 12px rgba(15, 23, 42, 0.08) !important;
}

/* --- Hero Section (Direct on Main Background) --- */
.srf-hero {
    padding: 3.5rem 1.5rem 3.5rem !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--wp--preset--color--midnight, #09265E) !important;
    margin: 0.5rem auto 1.5rem !important;
    max-width: 900px !important;
    text-align: center;
    position: relative;
}

.srf-hero::before {
    display: none !important;
}

.srf-hero-badge {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #FFFFFF !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    color: var(--wp--preset--color--rock-blue, #1446B4) !important;
    padding: 6px 20px;
    border-radius: 9999px;
    font-family: var(--wp--preset--font-family--display);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin: 0 auto 1.5rem auto !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    width: fit-content;
}

.srf-hero-title,
.srf-hero h1 {
    color: #09265E !important;
    font-family: 'Oleo Script', cursive, sans-serif !important;
    font-weight: 700;
    font-size: clamp(2.8rem, 6.2vw, 4.3rem) !important;
    letter-spacing: 0.01em;
    line-height: 1.18;
    margin-bottom: 1.25rem;
}

.srf-cross-icon {
    display: block;
    margin: 0 auto 0.35rem auto;
    text-align: center;
    color: inherit !important;
    font-size: 1.35em;
    line-height: 1;
    font-weight: 700;
}

.srf-hero-sub {
    color: #475569 !important;
    font-size: 1.1875rem;
    line-height: 1.65;
    max-width: 700px;
    margin: 0 auto 2.25rem;
}

/* --- Buttons --- */
.wp-block-button__link {
    font-family: var(--wp--preset--font-family--display) !important;
    font-weight: 700 !important;
    padding: 0.85rem 1.75rem !important;
    border-radius: 12px !important;
    letter-spacing: -0.01em;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
}

.wp-block-button__link:hover {
    transform: translateY(-2px);
}

.srf-btn-youtube > .wp-block-button__link {
    background: linear-gradient(135deg, #EF101F 0%, #C90110 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 6px 20px rgba(239, 16, 31, 0.35) !important;
}

.srf-btn-youtube > .wp-block-button__link:hover {
    box-shadow: 0 10px 28px rgba(239, 16, 31, 0.5) !important;
    background: linear-gradient(135deg, #FF2635 0%, #D80010 100%) !important;
}

.srf-btn-outline > .wp-block-button__link,
.srf-btn-glass > .wp-block-button__link {
    background: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    color: #09265E !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08) !important;
}

.srf-btn-outline > .wp-block-button__link:hover,
.srf-btn-glass > .wp-block-button__link:hover {
    background: #F8FAFC !important;
    border-color: #94A3B8 !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12) !important;
}

/* --- Section Layouts --- */
.srf-section {
    margin-top: var(--wp--preset--spacing--10, 2.5rem);
    margin-bottom: var(--wp--preset--spacing--10, 2.5rem);
    padding-left: var(--wp--preset--spacing--4, 1rem);
    padding-right: var(--wp--preset--spacing--4, 1rem);
}

.srf-section-header {
    margin-bottom: var(--wp--preset--spacing--6, 1.5rem);
}

.srf-section-eyebrow {
    font-family: var(--wp--preset--font-family--display);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--wp--preset--color--rock-blue, #1446B4);
    margin-bottom: 0.35rem;
}

/* --- Modern Curled Card Component --- */
.srf-card {
    padding: 1.35rem !important;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: visible;
}

.srf-card .wp-block-post-featured-image {
    margin-bottom: 1rem !important;
    border-radius: 16px;
    overflow: hidden;
}

.srf-card .wp-block-post-featured-image img {
    border-radius: 16px;
    transition: transform 0.35s ease;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.srf-card:hover .wp-block-post-featured-image img {
    transform: scale(1.04);
}

.srf-tag a {
    display: inline-block;
    font-family: var(--wp--preset--font-family--display);
    font-weight: 700;
    font-size: 0.6875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--wp--preset--color--rock-blue) !important;
    background: #EEF2FF;
    padding: 4px 10px;
    border-radius: 9999px;
    margin-bottom: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.srf-tag a:hover {
    background: var(--wp--preset--color--rock-blue);
    color: #ffffff !important;
}

.srf-card .wp-block-post-title {
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.srf-card .wp-block-post-title a {
    color: var(--wp--preset--color--midnight);
    text-decoration: none;
    transition: color 0.2s ease;
}

.srf-card .wp-block-post-title a:hover {
    color: var(--wp--preset--color--rock-blue);
}

.srf-card .wp-block-post-excerpt {
    color: var(--wp--preset--color--slate);
    font-size: 0.9375rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.wp-block-read-more.srf-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--wp--preset--font-family--display);
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.6rem 1.15rem;
    border-radius: 10px;
    background: var(--wp--preset--color--rock-blue);
    color: #ffffff !important;
    text-decoration: none;
    margin-top: auto;
    transition: all 0.2s ease;
    align-self: flex-start;
}

.wp-block-read-more.srf-read-more:hover {
    background: var(--wp--preset--color--deep-navy);
    transform: translateY(-1px);
}

/* Hide internal routing categories from displaying on cards */
.wp-block-post-terms.srf-tag a[href*="video-series"],
.wp-block-post-terms.srf-eyebrow a[href*="video-series"],
.wp-block-post-terms.srf-tag a[href*="standalone-freebie"],
.wp-block-post-terms.srf-eyebrow a[href*="standalone-freebie"] {
    display: none !important;
}

.wp-block-post-terms.srf-tag,
.wp-block-post-terms.srf-eyebrow,
.wp-block-post-terms.srf-tags {
    font-size: 0 !important;
    color: transparent !important;
}

/* --- Series / Playlist Showcase Card (Raised Photo Card with Curl) --- */
.srf-series-card {
    background: #ffffff !important;
    border: 1px solid var(--wp--preset--color--cloud, #e2e8f0) !important;
    border-radius: 20px !important;
    overflow: visible !important;
    padding: 10px !important;
    display: flex;
    flex-direction: column;
}

.srf-series-card-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    border-radius: 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.srf-series-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    display: block;
}

.srf-series-card:hover .srf-series-card-media img {
    transform: scale(1.05);
}

.srf-series-card-body {
    padding: 1.15rem 0.5rem 0.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* --- Scripture Spotlight Styling (Curled Paper Quote) --- */
.wp-block-quote.is-style-scripture {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%) !important;
    border-left: 6px solid var(--wp--preset--color--rock-blue, #1446B4) !important;
    padding: 2.75rem 3.25rem !important;
    border-radius: 20px !important;
    margin: 3.5rem auto !important;
    max-width: min(1200px, calc(100% - 2.5rem)) !important;
    overflow: visible !important;
}

.wp-block-quote.is-style-scripture p {
    font-family: var(--wp--preset--font-family--quote) !important;
    font-size: 1.5rem !important;
    line-height: 1.6 !important;
    color: var(--wp--preset--color--midnight, #09265E) !important;
    font-style: italic;
    margin-bottom: 1.25rem !important;
}

.wp-block-quote.is-style-scripture cite {
    font-family: var(--wp--preset--font-family--display) !important;
    font-size: 0.95rem !important;
    font-style: normal !important;
    color: var(--wp--preset--color--rock-blue, #1446B4) !important;
    display: block;
    text-align: right;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.wp-block-quote.is-style-scripture .has-crimson-color,
.wp-block-quote.is-style-scripture .has-vivid-red-color,
.wp-block-quote.is-style-scripture .has-flix-red-color {
    color: var(--wp--preset--color--flix-red, #EF101F) !important;
}

/* --- About Author / Ministry Card (Subtle Elevated Light Blue Card) --- */
.srf-about-box {
    background: linear-gradient(135deg, #F0F6FF 0%, #E0EDFD 60%, #D8E8FC 100%) !important;
    border: 1px solid #BFDBFE !important;
    color: #1E293B !important;
    border-radius: 24px !important;
    padding: 3.25rem 3.5rem !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

.srf-about-badge {
    background: #DBEAFE !important;
    color: #1446B4 !important;
    border: 1px solid #93C5FD !important;
    padding: 5px 16px;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: inline-block;
    margin-bottom: 1rem;
}

/* --- Single Article & Resource --- */
.srf-article {
    background: var(--wp--preset--color--white);
    border: 1px solid var(--wp--preset--color--cloud);
    border-radius: 32px !important;
    padding: 48px 52px;
    box-shadow: 0 6px 28px rgba(15, 23, 42, 0.06);
}

.srf-eyebrow {
    font-family: var(--wp--preset--font-family--display);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.8125rem;
    color: var(--wp--preset--color--crimson) !important;
    margin-bottom: 8px;
}

.srf-eyebrow a {
    color: inherit;
    text-decoration: none;
}

.srf-meta {
    color: var(--wp--preset--color--cool-gray);
    font-size: 0.9375rem;
    margin-bottom: 28px;
}

.srf-backlink a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 24px;
    color: var(--wp--preset--color--rock-blue);
    font-family: var(--wp--preset--font-family--display);
    font-weight: 700;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.srf-backlink a:hover {
    transform: translateX(-3px);
}

.srf-tags a {
    display: inline-block;
    background: var(--wp--preset--color--surface-subtle);
    border: 1px solid var(--wp--preset--color--cloud);
    color: var(--wp--preset--color--slate);
    font-family: var(--wp--preset--font-family--display);
    font-size: 0.8125rem;
    padding: 5px 12px;
    border-radius: 8px;
    text-decoration: none;
    margin-right: 6px;
    margin-bottom: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.srf-tags a:hover {
    background: var(--wp--preset--color--rock-blue);
    border-color: var(--wp--preset--color--rock-blue);
    color: #ffffff;
}

.srf-hr {
    border: 0;
    border-top: 1px solid var(--wp--preset--color--cloud);
    margin: 32px 0;
}

/* --- Footer --- */
.srf-footer {
    padding: 4rem 1.75rem 3rem !important;
    background: #06183d !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
}

.srf-footer a {
    color: #CBD5E1 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.srf-footer a:hover {
    color: #ffffff !important;
}

/* --- Responsive Adjustments --- */
@media (max-width: 860px) {
    .srf-header-wrapper {
        padding: 10px 12px 14px !important;
    }
    .srf-header-bar {
        flex-direction: column;
        padding: 16px 14px 14px;
        gap: 12px;
        min-height: auto;
    }
    .srf-header-logo-container {
        position: static;
        transform: none;
        margin-bottom: 4px;
    }
    .srf-center-logo {
        width: 88px;
        height: 88px;
    }
    .srf-nav-group {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
        font-size: 0.875rem;
    }
    .srf-nav-left,
    .srf-nav-right {
        margin: 0;
    }
    .srf-hero {
        padding: 3rem 1.25rem 3.5rem !important;
        border-radius: 20px !important;
    }
    .srf-article {
        padding: 28px 20px;
        border-radius: 16px;
    }
    .srf-about-box {
        padding: 2.25rem 1.5rem !important;
        border-radius: 20px !important;
    }
    .wp-block-quote.is-style-scripture {
        padding: 1.75rem 1.25rem !important;
    }
}

/* ==========================================================================
   DARK MODE DESIGN SYSTEM
   ========================================================================== */

.dark-theme body {
    background-color: #0B1120 !important;
    background-image: radial-gradient(ellipse at 50% 30%, #1E293B 0%, #0F172A 50%, #080D1A 85%, #030712 100%) !important;
    color: #F8FAFC !important;
}

.dark-theme body::after {
    box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.7), inset 0 0 260px rgba(0, 0, 0, 0.9) !important;
}

/* Dark Header */
.dark-theme .srf-header-bar {
    background: linear-gradient(180deg, #1E293B 0%, #141E33 50%, #0F172A 100%) !important;
    border-top: 1.5px solid rgba(255, 255, 255, 0.12) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.5) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.dark-theme .srf-center-logo {
    border-color: #1E293B !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6), 0 3px 8px rgba(0, 0, 0, 0.4) !important;
}

.dark-theme .srf-nav-item {
    color: #E2E8F0 !important;
}

.dark-theme .srf-nav-item:hover {
    color: #60A5FA !important;
    background: rgba(59, 130, 246, 0.14) !important;
}

.dark-theme .srf-theme-toggle {
    background: #1E293B !important;
    border-color: #334155 !important;
    color: #FCD34D !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
}

.dark-theme .srf-theme-toggle:hover {
    background: #334155 !important;
    border-color: #64748B !important;
    color: #FDE68A !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5) !important;
}

.dark-theme .srf-theme-toggle .srf-icon-moon {
    display: none !important;
}

.dark-theme .srf-theme-toggle .srf-icon-sun {
    display: block !important;
}

/* Dark Hero Section */
.dark-theme .srf-hero {
    color: #FFFFFF !important;
}

.dark-theme .srf-hero-badge {
    background: #1E293B !important;
    border-color: #334155 !important;
    color: #93C5FD !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
}

.dark-theme .srf-hero-title,
.dark-theme .srf-hero h1 {
    color: #FFFFFF !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.dark-theme .srf-cross-icon {
    color: #93C5FD !important;
}

.dark-theme .srf-hero-sub {
    color: #94A3B8 !important;
}

.dark-theme .srf-btn-outline > .wp-block-button__link,
.dark-theme .srf-btn-glass > .wp-block-button__link {
    background: #1E293B !important;
    border-color: #334155 !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
}

.dark-theme .srf-btn-outline > .wp-block-button__link:hover,
.dark-theme .srf-btn-glass > .wp-block-button__link:hover {
    background: #334155 !important;
    border-color: #475569 !important;
    color: #FFFFFF !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45) !important;
}

/* Dark Section Titles */
.dark-theme .srf-section-title,
.dark-theme .wp-block-heading {
    color: #F8FAFC !important;
}

.dark-theme .srf-section-eyebrow {
    color: #60A5FA !important;
}

.dark-theme .srf-section-sub {
    color: #94A3B8 !important;
}

/* Dark Cards & Series Grid */
.dark-theme .srf-curled-card,
.dark-theme .srf-card,
.dark-theme .srf-series-card,
.dark-theme .srf-article {
    background: #1E293B !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

.dark-theme .srf-card:hover,
.dark-theme .srf-series-card:hover,
.dark-theme .srf-curled-card:hover,
.dark-theme .srf-article:hover {
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.6), 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    border-color: #475569 !important;
}

.dark-theme .srf-series-card-body h3,
.dark-theme .srf-card h3,
.dark-theme .srf-card .wp-block-post-title a {
    color: #FFFFFF !important;
}

.dark-theme .srf-series-card-body p,
.dark-theme .srf-card .wp-block-post-excerpt p {
    color: #94A3B8 !important;
}

.dark-theme .srf-tag,
.dark-theme .taxonomy-category.srf-tag,
.dark-theme .wp-block-post-terms.srf-tag {
    background: rgba(30, 58, 138, 0.45) !important;
    border: 1px solid rgba(96, 165, 250, 0.25) !important;
    color: #93C5FD !important;
}

.dark-theme .srf-tag a,
.dark-theme .taxonomy-category.srf-tag a,
.dark-theme .wp-block-post-terms.srf-tag a {
    color: #93C5FD !important;
}

.dark-theme .srf-read-more,
.dark-theme .wp-block-read-more.srf-read-more {
    color: #60A5FA !important;
}

.dark-theme .srf-read-more:hover,
.dark-theme .wp-block-read-more.srf-read-more:hover {
    color: #93C5FD !important;
}

/* Dark Scripture Callout */
.dark-theme .wp-block-quote.is-style-scripture {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%) !important;
    border: 1px solid #334155 !important;
    border-left: 5px solid #3B82F6 !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4) !important;
}

.dark-theme .wp-block-quote.is-style-scripture p {
    color: #F1F5F9 !important;
}

.dark-theme .wp-block-quote.is-style-scripture cite {
    color: #93C5FD !important;
}

/* Dark About Brother Ron Card */
.dark-theme .srf-about-box {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 60%, #172554 100%) !important;
    border: 1px solid #1E3A8A !important;
    color: #F8FAFC !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45) !important;
}

.dark-theme .srf-about-box h2 {
    color: #FFFFFF !important;
}

.dark-theme .srf-about-box p {
    color: #CBD5E1 !important;
}

.dark-theme .srf-about-badge {
    background: rgba(30, 58, 138, 0.55) !important;
    color: #93C5FD !important;
    border: 1px solid #3B82F6 !important;
}

/* Dark Single Resource / Article / Post */
.dark-theme .srf-article-back,
.dark-theme .srf-post-back {
    color: #93C5FD !important;
}

.dark-theme .srf-article-back:hover,
.dark-theme .srf-post-back:hover {
    color: #BFDBFE !important;
}

.dark-theme .srf-article-title,
.dark-theme .srf-post-title {
    color: #FFFFFF !important;
}

.dark-theme .srf-article-meta,
.dark-theme .srf-post-meta {
    color: #94A3B8 !important;
}

.dark-theme .srf-article-body,
.dark-theme .srf-post-body {
    color: #E2E8F0 !important;
}

.dark-theme .srf-article-body h2,
.dark-theme .srf-article-body h3,
.dark-theme .srf-article-body h4,
.dark-theme .srf-post-body h2,
.dark-theme .srf-post-body h3,
.dark-theme .srf-post-body h4 {
    color: #FFFFFF !important;
}

.dark-theme .srf-article-body p,
.dark-theme .srf-article-body li,
.dark-theme .srf-post-body p,
.dark-theme .srf-post-body li {
    color: #CBD5E1 !important;
}

.dark-theme .srf-article-body strong,
.dark-theme .srf-post-body strong {
    color: #FFFFFF !important;
}

.dark-theme .srf-article-body a,
.dark-theme .srf-post-body a {
    color: #60A5FA !important;
}

.dark-theme .srf-article-tag {
    background: #334155 !important;
    color: #93C5FD !important;
    border: 1px solid #475569 !important;
}

.dark-theme .srf-article-tag:hover {
    background: #475569 !important;
    color: #FFFFFF !important;
}

/* Dark Footer */
.dark-theme .srf-footer {
    background: #030712 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.dark-theme .srf-footer h3,
.dark-theme .srf-footer h4 {
    color: #F8FAFC !important;
}

.dark-theme .srf-footer p,
.dark-theme .srf-footer li,
.dark-theme .srf-footer a {
    color: #94A3B8 !important;
}

.dark-theme .srf-footer a:hover {
    color: #60A5FA !important;
}

.dark-theme .srf-footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.08) !important;
    color: #64748B !important;
}

/* Dark Pagination & Archive Headings */
.dark-theme .wp-block-query-pagination-numbers a,
.dark-theme .wp-block-query-pagination-previous,
.dark-theme .wp-block-query-pagination-next {
    background: #1E293B !important;
    color: #E2E8F0 !important;
    border: 1px solid #334155 !important;
}

.dark-theme .wp-block-query-pagination-numbers .page-numbers.current {
    background: #1446B4 !important;
    color: #FFFFFF !important;
    border-color: #1446B4 !important;
}



