/* === THE AUNTIE CHRONICLES - CUSTOM CSS === */

/* === HERO SECTION FIX === */
.hero {
    justify-content: center !important;
    text-align: center !important;
    padding-top: 80px !important;
}

.hero-content {
    max-width: 640px !important;
    margin: 0 auto !important;
    text-align: center !important;
}

.hero-logo {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
}

.hero-divider {
    margin: 0 auto 1.5rem !important;
}

.hero-buttons {
    justify-content: center !important;
}

.hero-overlay {
    background: linear-gradient(180deg, rgba(253,248,243,0.9) 0%, rgba(253,248,243,0.6) 50%, rgba(253,248,243,0.3) 100%) !important;
}

/* === TEXT CONTRAST FIXES === */
body,
p,
.entry-content p {
    color: #2D2D2D !important;
}

.gold-text,
.text-gold,
.accent-text,
.has-gold-color,
.entry-meta a,
.entry-meta,
.posted-on a,
.byline a,
.cat-links a {
    color: #B8860B !important;
}

/* === SECTION SPACING === */
.entry-content h2,
.entry-content h3 {
    margin-top: 2em !important;
    margin-bottom: 0.8em !important;
}

.entry-content h2 {
    text-align: center !important;
}

/* === FOOTER === */
.site-footer {
    text-align: center !important;
    padding: 40px 20px !important;
}

/* === NAVIGATION === */
.main-navigation {
    text-align: center !important;
}

/* === ABOUT SECTION === */
.about-section {
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 40px 20px !important;
}

/* === BUTTONS === */
.wp-block-button__link,
button,
input[type="submit"] {
    background-color: #3B0D14 !important;
    color: #fff !important;
    border-radius: 4px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
}

/* === BLOG CARDS === */
.blog-section,
.posts-section {
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* === IMAGES === */
img {
    max-width: 100% !important;
    height: auto !important;
}

img[src=""],
img[src="#"] {
    display: none !important;
}

/* === MOBILE === */
@media (max-width: 768px) {
    .hero {
        padding: 40px 15px !important;
    }
    .entry-content h2 {
        font-size: 1.5em !important;
    }
}


/* === HEADER FIXES === */

/* Fix header height to prevent logo truncation */
.header-inner {
    min-height: 80px !important;
    height: auto !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* Ensure logo isn't clipped */
.site-logo img {
    max-height: 70px !important;
    width: auto !important;
}

/* Fix nav CTA button text truncation */
.nav-cta {
    white-space: nowrap !important;
    padding: 10px 20px !important;
    font-size: 0.78rem !important;
    overflow: visible !important;
}

/* Fix site header to not clip content */
.site-header {
    overflow: visible !important;
}


/* === TRANSPARENT HERO LOGO === */
.hero-logo {
    display: none !important;
}

.hero-divider::before {
    content: '' !important;
    display: block !important;
    width: clamp(280px, 80vw, 500px) !important;
    height: 0 !important;
    padding-bottom: 65% !important;
    background-image: url('https://theauntiechronicles.blog/wp-content/uploads/2026/09/logo-transparent.png') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    margin: 0 auto 1.5rem !important;
}


/* === FOOTER LOGO TRANSPARENT === */
.footer-brand img {
    display: none !important;
}

.footer-brand::after {
    content: '' !important;
    display: block !important;
    width: 200px !important;
    height: 130px !important;
    background-image: url('https://theauntiechronicles.blog/wp-content/uploads/2026/09/logo-transparent.png') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    margin-bottom: 1rem !important;
}


/* === HIDE STRAY HEART ICON === */
.hero-divider > * {
    display: none !important;
}


/* === BARBARA PHOTO STYLING === */
.barbara-photo img,
figure.barbara-photo img,
.wp-block-image.barbara-photo img {
    border-radius: 12px !important;
    max-width: 500px !important;
    width: 100% !important;
    height: auto !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12) !important;
    margin: 1.5rem auto !important;
    display: block !important;
}

figure.barbara-photo,
.wp-block-image.barbara-photo {
    margin: 1.5rem 0 !important;
    text-align: center !important;
}


/* === HIDE BROKEN CATEGORY TAG DISPLAY (raw HTML escaping bug) === */
.card-tag {
    display: none !important;
}






/* === PODCAST SECTION LANGUAGE FIX (pre-launch consistency) === */
/* Replace "Latest Episodes" heading with "Coming to The Auntie Chronicles" */
section:has(.podcast-card) h2 {
    text-indent: -9999px !important;
    overflow: visible !important;
    position: relative !important;
}
section:has(.podcast-card) h2::after {
    content: 'Coming to The Auntie Chronicles' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    text-indent: 0 !important;
    font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem) !important;
    font-family: var(--font-display) !important;
    color: var(--color-burgundy) !important;
    line-height: 1.2 !important;
    text-align: center !important;
}

/* Replace "All Episodes" button text with "Explore the Podcast" */
section:has(.podcast-card) .text-center .btn-burgundy {
    text-indent: -9999px !important;
    overflow: visible !important;
    position: relative !important;
}
section:has(.podcast-card) .text-center .btn-burgundy::after {
    content: 'Explore the Podcast' !important;
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    right: 0 !important;
    transform: translateY(-50%) !important;
    text-indent: 0 !important;
    font-size: 0.9rem !important;
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    color: var(--color-cream) !important;
}