/*
Theme Name: Reality Rain Check - Astra Child Theme
Theme URI: https://realityraincheck.com
Author: Reality Rain Check
Author URI: https://realityraincheck.com
Description: A sophisticated child theme for Reality Rain Check's book club and podcast website, featuring a literary aesthetic with custom typography and color palette.
Template: astra
Version: 1.0.0
License: GPL v2 or later
Text Domain: reality-raincheck
*/

/* ========================================
   TABLE OF CONTENTS
   ========================================
   
   Use your editor's search (Cmd/Ctrl+F) to jump to sections:
   
   1.  IMPORTS & FONTS ..................... Line ~18
   2.  BASE & RESET STYLES ................. Line ~20
   3.  CSS VARIABLES (Design System) ....... Line ~32
   4.  GLOBAL TYPOGRAPHY ................... Line ~100
   5.  REUSABLE COMPONENTS ................. Line ~146
       - Hero Sections
       - Cards
       - Info Sections
       - Buttons (Base)
       - Tags/Labels
       - Quote Blocks
   6.  HEADER & NAVIGATION ................. See header-navigation-redesign.css
   7.  FOOTER STYLES ....................... Line ~432
   8.  ABOUT PAGE .......................... Line ~589
   9.  PODCAST PLAYER EMBEDS ............... Line ~632
   10. UTILITIES ........................... Line ~853
   11. HOMEPAGE ............................ Line ~870
   12. RESPONSIVE OVERRIDES ................ Line ~1138
   13. ASTRA THEME OVERRIDES ............... Line ~2290+
   
   NOTE: Book page styles are in separate files:
   - single-book-redesign.css .... Single book pages
   - books-list-redesign.css ..... Books list page
   
   See CSS-ARCHITECTURE.md for detailed documentation
   
   ======================================== */


/* ========================================
   REALITY RAIN CHECK CUSTOM DESIGN SYSTEM
   ======================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Lora:ital,wght@0,400;0,500;1,400&family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&family=Space+Mono:wght@400;700&display=swap');

/* Reset global paragraph margins for precise control */
p {
    margin-bottom: 0;
}

/* Add margins only where needed */
.entry-content p,
.rrc-about-mission p,
.rrc-book-synopsis p {
    margin-bottom: 1.2em;
}

/* ========================================
   CSS VARIABLES - Your Brand Design System
   ======================================== */
:root {
    /* Sophisticated color palette from bookclub kit */
    --rrc-primary-navy: #1e3a5f;
    --rrc-secondary-teal: #4a7c7e;
    --rrc-accent-coral: #c96567;
    --rrc-warm-sand: #f4ebe8;
    --rrc-light-cream: #faf8f6;
    --rrc-medium-gray: #6c757d;
    --rrc-soft-sage: #a8c09a;
    --rrc-dusty-rose: #d4a5a5;
    --rrc-deep-plum: #614051;
    
    /* Typography */
    --rrc-font-display: 'Playfair Display', serif;
    --rrc-font-body: 'DM Sans', sans-serif;
    --rrc-font-serif: 'Lora', serif;
    --rrc-font-mono: 'Space Mono', monospace;
    --rrc-font-heading: 'Playfair Display', serif;

    /* Type Scale */
    --rrc-type-display-xl: 4rem;        /* 64px */
    --rrc-type-display-lg: 3rem;        /* 48px */
    --rrc-type-display-md: 2.625rem;    /* 42px */
    --rrc-type-display-sm: 2rem;        /* 32px */
    --rrc-type-heading-xl: 1.75rem;     /* 28px */
    --rrc-type-heading-lg: 1.5rem;      /* 24px */
    --rrc-type-heading-md: 1.25rem;     /* 20px */
    --rrc-type-heading-sm: 1.125rem;    /* 18px */
    --rrc-type-body-lg: 1.0625rem;      /* 17px */
    --rrc-type-body-md: 1rem;           /* 16px */
    --rrc-type-body-sm: 0.9375rem;      /* 15px */
    --rrc-type-body-xs: 0.875rem;       /* 14px */
    --rrc-type-label-lg: 0.75rem;       /* 12px */
    --rrc-type-label-md: 0.6875rem;     /* 11px */
    --rrc-type-label-sm: 0.625rem;      /* 10px */

    /* Line Heights */
    --rrc-leading-tight: 1.1;
    --rrc-leading-snug: 1.3;
    --rrc-leading-normal: 1.5;
    --rrc-leading-relaxed: 1.6;
    --rrc-leading-loose: 1.8;

    /* Font Weights */
    --rrc-weight-normal: 400;
    --rrc-weight-medium: 500;
    --rrc-weight-semibold: 600;
    --rrc-weight-bold: 700;
    --rrc-weight-black: 900;
    
    /* Spacing */
    --rrc-space-xs: 0.25rem;
    --rrc-space-sm: 0.5rem;
    --rrc-space-md: 1rem;
    --rrc-space-lg: 1.5rem;
    --rrc-space-xl: 2rem;
    --rrc-space-2xl: 3rem;
    --rrc-space-3xl: 4rem;
    
    /* Border Radius */
    --rrc-radius-sm: 8px;
    --rrc-radius-md: 12px;
    --rrc-radius-lg: 20px;
}

/* ========================================
   GLOBAL TYPOGRAPHY
   ======================================== */
.rrc-content {
    font-family: var(--rrc-font-body);
    color: var(--rrc-primary-navy);
    line-height: 1.7;
    font-size: 15px;
    letter-spacing: 0.01em;
}

.rrc-heading-1 {
    font-family: var(--rrc-font-display);
    font-size: 48px;
    font-weight: 900;
    color: var(--rrc-primary-navy);
    letter-spacing: -0.02em;
    margin-bottom: var(--rrc-space-lg);
}

.rrc-heading-2 {
    font-family: var(--rrc-font-display);
    font-size: 42px;
    font-weight: 900;
    color: var(--rrc-primary-navy);
    letter-spacing: -0.02em;
    margin-bottom: var(--rrc-space-lg);
}

.rrc-heading-3 {
    font-family: var(--rrc-font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--rrc-primary-navy);
    letter-spacing: -0.01em;
    margin-bottom: var(--rrc-space-md);
}

.rrc-body-text {
    font-family: var(--rrc-font-serif);
    font-size: 17px;
    line-height: 1.8;
    color: var(--rrc-primary-navy);
    opacity: 0.9;
}

/* ========================================
   REUSABLE COMPONENTS
   ======================================== */

/* Hero Sections */
.rrc-hero-section {
    text-align: center;
    margin-bottom: var(--rrc-space-3xl);
    position: relative;
    padding: var(--rrc-space-3xl) var(--rrc-space-xl);
    background: linear-gradient(135deg, var(--rrc-primary-navy) 0%, var(--rrc-secondary-teal) 100%);
    border-radius: 20px;
    color: white;
    box-shadow: 0 20px 60px rgba(30, 58, 95, 0.15);
}

.rrc-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--rrc-accent-coral) 0%, var(--rrc-secondary-teal) 50%, var(--rrc-soft-sage) 100%);
    border-radius: 20px 20px 0 0;
}

.rrc-hero-section h1 {
    color: white !important;
}

/* Cards */
.rrc-card {
    background: white;
    border-radius: 16px;
    padding: var(--rrc-space-xl);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    border: 1px solid rgba(30, 58, 95, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.rrc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30, 58, 95, 0.12);
}

.rrc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--rrc-accent-coral) 0%, var(--rrc-secondary-teal) 50%, var(--rrc-soft-sage) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.rrc-card:hover::before {
    opacity: 1;
}

/* Info Sections */
.rrc-info-section {
    margin-bottom: var(--rrc-space-xl);
    padding: var(--rrc-space-xl);
    background: linear-gradient(135deg, var(--rrc-light-cream) 0%, rgba(250, 248, 246, 0.5) 100%);
    border-radius: 16px;
    border: 1px solid rgba(30, 58, 95, 0.08);
}

.rrc-info-section h3 {
    margin-bottom: var(--rrc-space-lg);
    color: var(--rrc-primary-navy);
    position: relative;
    padding-left: var(--rrc-space-lg);
    font-family: var(--rrc-font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 18px;
}

.rrc-info-section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--rrc-accent-coral);
    border-radius: 2px;
}

/* Buttons */
.rrc-button {
    background: white;
    color: var(--rrc-primary-navy);
    padding: var(--rrc-space-md) var(--rrc-space-xl);
    border: 2px solid var(--rrc-accent-coral);
    border-radius: 30px;
    text-decoration: none;
    font-family: var(--rrc-font-body);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: inline-block;
    cursor: pointer;
}

.rrc-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(201, 101, 103, 0.2);
    background: linear-gradient(135deg, var(--rrc-accent-coral) 0%, var(--rrc-dusty-rose) 100%);
    color: white !important;
    border-color: var(--rrc-accent-coral);
    text-decoration: none;
}

/* Pill buttons shared across CTAs */
.rrc-pill-button,
.rrc-featured-primary-btn,
.rrc-amazon-button,
.rrc-kit-cta-button,
.rrc-libsyn-button,
.rrc-book-link,
.rrc-kit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0 1.6rem;
    border-radius: 999px;
    font-family: var(--rrc-font-body);
    font-size: var(--rrc-type-body-sm);
    font-weight: var(--rrc-weight-semibold);
    letter-spacing: 0.04em;
    text-decoration: none;
    line-height: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

/* Tags/Labels */
.rrc-tag {
    background: white;
    color: var(--rrc-secondary-teal);
    padding: var(--rrc-space-xs) var(--rrc-space-md);
    border: 1.5px solid var(--rrc-secondary-teal);
    border-radius: 20px;
    font-family: var(--rrc-font-body);
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    margin: 2px;
}

.rrc-tag:hover {
    background: linear-gradient(135deg, var(--rrc-secondary-teal) 0%, var(--rrc-soft-sage) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(74, 124, 126, 0.2);
}

/* Quote Blocks */
.rrc-quote {
    margin-bottom: var(--rrc-space-xl);
    padding: var(--rrc-space-lg);
    background: linear-gradient(170deg, rgba(244, 235, 232, 0.4) 0%, rgba(244, 235, 232, 0.1) 100%);
    border-left: 3px solid var(--rrc-accent-coral);
    border-radius: 0 8px 8px 0;
    position: relative;
}

.rrc-quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 10px;
    font-family: var(--rrc-font-display);
    font-size: 60px;
    color: var(--rrc-accent-coral);
    opacity: 0.15;
    font-weight: 900;
}

.rrc-quote p {
    font-family: var(--rrc-font-serif);
    font-size: 17px;
    line-height: 1.8;
    font-style: italic;
    color: var(--rrc-primary-navy);
    margin: 0;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fadeInDown {
    animation: fadeInDown 0.8s ease;
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease;
}

.animate-fadeIn {
    animation: fadeIn 1s ease;
}


/* ========================================
   ASTRA THEME OVERRIDES
   ======================================== */

/* Override Astra's default fonts for headings */
.entry-content h1,
.entry-title {
    font-family: var(--rrc-font-display) !important;
    color: var(--rrc-primary-navy);
}

.entry-content h2 {
    font-family: var(--rrc-font-display) !important;
    color: var(--rrc-primary-navy);
}

.entry-content h3 {
    font-family: var(--rrc-font-display) !important;
    color: var(--rrc-primary-navy);
}

/* Style Astra's buttons with your design */
.ast-button,
.wp-block-button__link {
    background: white !important;
    color: var(--rrc-primary-navy) !important;
    border: 2px solid var(--rrc-accent-coral) !important;
    border-radius: 30px !important;
    font-family: var(--rrc-font-body) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    transition: all 0.3s ease !important;
}

.ast-button:hover,
.wp-block-button__link:hover {
    background: linear-gradient(135deg, var(--rrc-accent-coral) 0%, var(--rrc-dusty-rose) 100%) !important;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(201, 101, 103, 0.2) !important;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    .rrc-heading-1 {
        font-size: 32px;
    }
    
    .rrc-heading-2 {
        font-size: 28px;
    }
    
    .rrc-heading-3 {
        font-size: 20px;
    }
    
    .rrc-hero-section {
        padding: var(--rrc-space-xl) var(--rrc-space-md);
        border-radius: 12px;
    }
    
    .rrc-card {
        padding: var(--rrc-space-lg);
    }
    
    .rrc-info-section {
        padding: var(--rrc-space-lg);
    }
}

/* ========================================
   ABOUT US PAGE SPECIFIC STYLES
   ======================================== */

/* Override Astra's container width for About Us */
.page-id-about .ast-container,
.page-slug-about-us .ast-container,
.page-template-default .site-content .ast-container {
    max-width: 1200px !important;
}

/* About Us Container */
.rrc-about-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

/* Hero Section */
.rrc-about-hero {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--rrc-primary-navy) 0%, var(--rrc-secondary-teal) 100%);
    border-radius: 20px;
    color: white;
    box-shadow: 0 20px 60px rgba(30, 58, 95, 0.15);
    border-top: 4px solid var(--rrc-accent-coral);
}

.rrc-about-hero h1 {
    font-family: var(--rrc-font-display);
    font-size: 48px;
    margin: 0 0 1.5rem 0;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: white !important;
}

.rrc-about-tagline {
    font-family: var(--rrc-font-display);
    font-size: 24px;
    margin-bottom: 2rem;
    font-style: italic;
}

.rrc-about-mission {
    background: rgba(255,255,255,0.08);
    padding: 2rem;
    border-radius: 16px;
    max-width: 800px;
    margin: 0 auto;
    font-family: var(--rrc-font-serif);
    font-size: 17px;
    line-height: 1.8;
}

/* Team Section Wrapper */
.rrc-about-team-section {
    margin: 4rem 0;
}

.rrc-about-team-section .rrc-section-title {
    font-family: var(--rrc-font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--rrc-primary-navy);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.rrc-about-team-section .rrc-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--rrc-accent-coral) 0%, var(--rrc-secondary-teal) 100%);
    border-radius: 2px;
}

/* Team Grid */
.rrc-about-team-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
    margin: 3rem -15px !important;
    justify-content: space-between !important;
    width: calc(100% + 30px) !important;
}

.rrc-about-team-member {
    flex: 0 0 calc(33.333% - 20px) !important;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    border: 1px solid rgba(30, 58, 95, 0.08);
    position: relative;
    margin: 0 !important;
    max-width: calc(33.333% - 20px) !important;
}

.rrc-about-team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--rrc-accent-coral) 0%, var(--rrc-secondary-teal) 50%, var(--rrc-soft-sage) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 10;
}

.rrc-about-team-member:hover::before {
    opacity: 1;
}

.rrc-about-team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30, 58, 95, 0.12);
}

.rrc-about-member-image-container {
    height: 320px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--rrc-warm-sand) 0%, var(--rrc-light-cream) 100%);
}

.rrc-about-member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.rrc-about-team-member:hover .rrc-about-member-image {
    transform: scale(1.1);
}

.rrc-about-member-role {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--rrc-primary-navy) 0%, var(--rrc-secondary-teal) 100%);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-family: var(--rrc-font-mono);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.rrc-about-member-content {
    padding: 2rem;
}

.rrc-about-member-name {
    font-family: var(--rrc-font-display);
    font-size: 28px;
    margin: 0 0 1rem 0;
    color: var(--rrc-primary-navy);
    font-weight: 700;
}

.rrc-about-member-bio {
    font-family: var(--rrc-font-serif);
    color: var(--rrc-primary-navy);
    line-height: 1.8;
    font-size: 15px;
    margin: 0 0 1.5rem 0;
    opacity: 0.9;
}

.rrc-about-member-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.rrc-about-tag {
    background: white;
    color: var(--rrc-secondary-teal);
    padding: 0.25rem 1rem;
    border: 1.5px solid var(--rrc-secondary-teal);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Podcast Section - REMOVED DUPLICATE (see line 1495 for actual styles) */

/* Responsive */
@media (max-width: 992px) {
    .rrc-about-team-member {
        flex: 0 0 calc(50% - 15px) !important;
        max-width: calc(50% - 15px) !important;
    }
}

@media (max-width: 768px) {
    .rrc-about-team-member {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* ========================================
   UTILITIES
   ======================================== */
.rrc-text-center {
    text-align: center;
}

.rrc-mt-1 { margin-top: var(--rrc-space-sm); }
.rrc-mt-2 { margin-top: var(--rrc-space-md); }
.rrc-mt-3 { margin-top: var(--rrc-space-lg); }
.rrc-mt-4 { margin-top: var(--rrc-space-xl); }

.rrc-mb-1 { margin-bottom: var(--rrc-space-sm); }
.rrc-mb-2 { margin-bottom: var(--rrc-space-md); }
.rrc-mb-3 { margin-bottom: var(--rrc-space-lg); }
.rrc-mb-4 { margin-bottom: var(--rrc-space-xl); }

/* ========================================
   HOMEPAGE ENHANCEMENTS
   ======================================== */

/* Container for consistent spacing */
.rrc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--rrc-space-lg);
}

/* Latest Episode Section */
.rrc-latest-episode-section {
    padding: 80px 0;
    background: white;
    margin-bottom: 0;
    border-bottom: 1px solid #f0f0f0;
}

.rrc-latest-episode-section .rrc-section-title {
    text-align: center;
    font-family: var(--rrc-font-heading);
    font-size: 2.5rem;
    color: var(--rrc-primary-navy);
    margin-bottom: 3rem;
    position: relative;
}

.rrc-latest-episode-section .rrc-section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--rrc-accent-coral);
    margin: 1rem auto 0;
}

.rrc-episode-embed {
    max-width: 100%;
    margin: 0 auto;
}

.rrc-episode-embed iframe {
    width: 100%;
    min-height: 468px;
    border-radius: var(--rrc-radius-md);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.rrc-episode-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--rrc-space-md);
}

.rrc-episode-book-info {
    display: flex;
    gap: var(--rrc-space-lg);
    align-items: center;
    margin-top: var(--rrc-space-lg);
    padding: var(--rrc-space-lg);
    background: white;
    border-radius: var(--rrc-radius-md);
    box-shadow: var(--rrc-shadow-sm);
}

.rrc-episode-book-cover {
    width: 100px;
    height: auto;
    border-radius: var(--rrc-radius-sm);
    box-shadow: var(--rrc-shadow-md);
}

.rrc-episode-details h3 {
    font-family: var(--rrc-font-heading);
    color: var(--rrc-primary-navy);
    margin-bottom: var(--rrc-space-sm);
}

.rrc-episode-link {
    color: var(--rrc-secondary-teal);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 1rem;
}

.rrc-episode-link:hover {
    color: var(--rrc-accent-coral);
    transform: translateX(5px);
}

/* Currently Reading Section */
.rrc-currently-reading-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fafafa 0%, white 100%);
}

.rrc-current-book {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--rrc-space-xl);
    max-width: 1200px;
    margin: var(--rrc-space-lg) auto;
    padding: var(--rrc-space-xl);
    background: white;
    border-radius: var(--rrc-radius-lg);
    box-shadow: var(--rrc-shadow-lg);
}

.rrc-current-book-cover {
    width: 100%;
    height: auto;
    border-radius: var(--rrc-radius-md);
    box-shadow: var(--rrc-shadow-xl);
}

.rrc-current-book-details h3 {
    font-family: var(--rrc-font-heading);
    font-size: 2rem;
    color: var(--rrc-primary-navy);
    margin-bottom: var(--rrc-space-sm);
}

.rrc-book-author {
    font-family: var(--rrc-font-serif);
    font-style: italic;
    color: var(--rrc-secondary-teal);
    font-size: 1.2rem;
    margin-bottom: var(--rrc-space-md);
}

.rrc-book-synopsis {
    font-family: var(--rrc-font-body);
    line-height: 1.8;
    color: var(--rrc-text-dark);
    margin-bottom: var(--rrc-space-md);
}

/* Quick Links Section - Redesigned */
.rrc-quick-links {
    padding: 0;
    background: transparent;
    margin: var(--rrc-space-3xl) auto;
    max-width: 1200px;
}

.rrc-quick-links .rrc-section-title {
    font-family: var(--rrc-font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--rrc-primary-navy);
    text-align: left;
    margin-bottom: var(--rrc-space-xl);
    padding-bottom: 0;
}

.rrc-quick-links .rrc-section-title:after {
    display: none;
}

.rrc-links-grid {
    display: flex;
    gap: var(--rrc-space-lg);
    max-width: 1200px;
    margin: 0;
    padding: 0 var(--rrc-space-md);
}

.rrc-link-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--rrc-space-md);
    background: white;
    padding: var(--rrc-space-lg);
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid rgba(30, 58, 95, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.rrc-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--rrc-accent-coral) 0%, var(--rrc-secondary-teal) 100%);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.rrc-link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(30, 58, 95, 0.12);
    border-color: transparent;
}

.rrc-link-card:hover::before {
    transform: translateY(0);
}

.rrc-link-icon {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(201, 101, 103, 0.1) 0%, rgba(74, 124, 126, 0.1) 100%);
    border-radius: 12px;
}

.rrc-link-card:hover .rrc-link-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.rrc-link-content {
    flex: 1;
}

.rrc-link-card h3 {
    font-family: var(--rrc-font-body);
    color: var(--rrc-primary-navy);
    margin: 0 0 var(--rrc-space-xs) 0;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.rrc-link-card p {
    font-size: 0.9rem;
    color: var(--rrc-medium-gray);
    margin: 0;
    line-height: 1.4;
}

.rrc-link-arrow {
    display: none;
    color: var(--rrc-accent-coral);
    font-size: 1.2rem;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.rrc-link-card:hover .rrc-link-arrow {
    display: block;
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .rrc-links-grid {
        flex-direction: column;
    }
    
    .rrc-link-card {
        width: 100%;
    }
}

/* ========================================
   LIBSYN PLAYER STYLING
   ======================================== */

/* Base container for all Libsyn players */
.rrc-libsyn-container {
    width: 100%;
    margin: var(--rrc-space-xl) auto;
    transition: all 0.3s ease;
}

/* Alignment variations */
.rrc-libsyn-align-left {
    margin-left: 0;
    margin-right: auto;
}

.rrc-libsyn-align-center {
    margin-left: auto;
    margin-right: auto;
}

.rrc-libsyn-align-right {
    margin-left: auto;
    margin-right: 0;
}

/* Style variations */
.rrc-libsyn-default {
    /* No extra styling */
}

.rrc-libsyn-card {
    padding: var(--rrc-space-lg);
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.08);
    border: 1px solid rgba(30, 58, 95, 0.06);
}

.rrc-libsyn-integrated {
    background: linear-gradient(135deg, rgba(250, 248, 246, 0.5) 0%, rgba(244, 235, 232, 0.3) 100%);
    padding: var(--rrc-space-md);
    border-radius: 12px;
}

.rrc-libsyn-featured {
    position: relative;
    padding: var(--rrc-space-xl);
    background: linear-gradient(135deg, white 0%, var(--rrc-light-cream) 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(30, 58, 95, 0.12);
    border: 2px solid var(--rrc-accent-coral);
    overflow: hidden;
}

.rrc-libsyn-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--rrc-accent-coral) 0%, var(--rrc-secondary-teal) 50%, var(--rrc-soft-sage) 100%);
}

.rrc-libsyn-featured::after {
    content: '🎧';
    position: absolute;
    top: var(--rrc-space-md);
    right: var(--rrc-space-md);
    font-size: 24px;
    opacity: 0.5;
}

/* Ensure iframes are responsive */
.rrc-libsyn-container iframe {
    width: 100% !important;
    max-width: 100%;
    border: none;
    border-radius: 8px;
}

/* Episode embed container - existing styles enhanced */
.rrc-episode-embed {
    max-width: 100%;
    margin: 0 auto;
}

.rrc-episode-embed .rrc-libsyn-container {
    margin-top: 0;
}

/* Dark theme preset styles */
.rrc-libsyn-dark-theme {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    padding: var(--rrc-space-lg);
    border-radius: 16px;
}

.rrc-libsyn-dark-theme iframe {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Minimal theme preset */
.rrc-libsyn-minimal-theme {
    border-top: 1px solid rgba(30, 58, 95, 0.08);
    border-bottom: 1px solid rgba(30, 58, 95, 0.08);
    padding: var(--rrc-space-lg) 0;
}

/* Loading state for dynamic embeds */
.rrc-libsyn-loading {
    position: relative;
    min-height: 468px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 12px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* About page podcast player */
.rrc-about-podcast-player {
    margin-top: var(--rrc-space-xl);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.rrc-about-podcast .rrc-libsyn-container {
    margin-top: var(--rrc-space-lg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .rrc-libsyn-container {
        padding: var(--rrc-space-md);
    }
    
    .rrc-libsyn-featured {
        padding: var(--rrc-space-lg);
    }
    
    .rrc-libsyn-featured::after {
        display: none;
    }
}

/* ========================================

   ASTRA THEME FOOTER OVERRIDES
   ======================================== */
.site-footer .ast-footer-overlay,
.site-footer .ast-small-footer,
.site-footer .ast-footer-wrap,
.site-footer .ast-builder-footer-wrap {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
