/*
Theme Name: New Day Home Care
Theme URI: https://newdayhomecarenj.com
Description: Child theme for New Day Home Care NJ, built on Bluehost Blueprint
Author: New Day Home Care
Author URI: https://newdayhomecarenj.com
Template: bluehost-blueprint
Version: 2.0.0
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: newday-child
*/

/* ===================================================================
   DESIGN TOKENS
   =================================================================== */

:root {
    --newday-burgundy: #A0263A;
    --newday-burgundy-dark: color-mix(in srgb, #A0263A 85%, #000);
    --newday-ivory: #FAF8F5;
    --newday-charcoal: #1C1C2E;
    --newday-blush: #F2D4D9;
    --newday-gold: #C9A96E;
    --newday-espresso: #4A3F3F;
    --newday-soft-ivory: #F2EEEA;
    --newday-white: #FFFFFF;
    --newday-dark: #3D1525;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
    --shadow-hover: 0 4px 24px rgba(160,38,58,0.12);

    --max-w: 1080px;
    --section-py: 80px;

    --font-display: 'Lora', Georgia, serif;
    --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }

/* Hide template-generated page title on pages — our header band replaces it.
   But NOT on blog posts or archive listings. */
body.page .wp-block-post-title {
    display: none !important;
}

/* Remove all layout constraints — sections handle their own padding/centering */
body {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.wp-block-post-content.has-global-padding {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.wp-block-post-content.is-layout-constrained > * {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.wp-site-blocks > .wp-block-html + .wp-block-html,
.wp-block-post-content > .wp-block-html + .wp-block-html,
.entry-content > .wp-block-html + .wp-block-html,
.wp-site-blocks > * + .wp-block-html,
.wp-block-post-content > * + .wp-block-html {
    margin-block-start: 0 !important;
}

.wp-site-blocks > .wp-block-html + *,
.wp-block-post-content > .wp-block-html + * {
    margin-block-start: 0 !important;
}

/* ===================================================================
   NAVIGATION (Frosted Glass)
   =================================================================== */

.newday-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--newday-soft-ivory);
}

.newday-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 24px;
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: 24px;
}

.newday-nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    text-decoration: none;
}

.newday-nav-logo-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    color: var(--newday-burgundy);
    letter-spacing: -0.01em;
}

.newday-nav-logo-sub {
    font-size: 11px;
    color: var(--newday-espresso);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.newday-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.newday-nav-links a {
    font-size: 14px;
    color: var(--newday-espresso);
    font-weight: 400;
    text-decoration: none;
    transition: color 0.15s;
}

.newday-nav-links a:hover { color: var(--newday-burgundy); }

.newday-nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.newday-nav-phone {
    font-size: 13px;
    color: var(--newday-burgundy);
    font-weight: 500;
    text-decoration: none;
}

.newday-nav-cta {
    background: var(--newday-burgundy);
    color: var(--newday-white) !important;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    transition: background 0.15s;
    white-space: nowrap;
    text-decoration: none;
}

.newday-nav-cta:hover { background: var(--newday-burgundy-dark); }

/* ===================================================================
   HERO SECTION
   =================================================================== */

.newday-hero {
    position: relative;
    overflow: hidden;
    background: var(--newday-dark);
    padding: 96px 24px 100px;
    text-align: center;
}

.newday-hero::before {
    content: '';
    position: absolute;
    top: -120px; right: -100px;
    width: 480px; height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(160,38,58,0.18) 0%, transparent 70%);
    pointer-events: none;
}

.newday-hero::after {
    content: '';
    position: absolute;
    bottom: -140px; left: -80px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242,212,217,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.newday-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin-inline: auto;
}

.newday-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    padding: 7px 18px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--newday-blush);
    margin-bottom: 28px;
}

.newday-hero-eyebrow-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--newday-burgundy);
    animation: newday-pulse 2s ease-in-out infinite;
}

@keyframes newday-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

.newday-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 500;
    line-height: 1.15;
    color: var(--newday-white);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.newday-hero h1 em {
    font-style: italic;
    color: var(--newday-blush);
}

.newday-hero-tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 20px;
    color: var(--newday-gold);
    margin-bottom: 20px;
    letter-spacing: 0.01em;
}

.newday-hero-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    max-width: 560px;
    margin-inline: auto;
    margin-bottom: 40px;
    line-height: 1.65;
    font-weight: 300;
}

.newday-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* ===================================================================
   SHARED BUTTON STYLES
   =================================================================== */

.newday-btn-primary {
    background: var(--newday-white);
    color: var(--newday-charcoal);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    padding: 14px 30px;
    border-radius: var(--radius-md);
    transition: opacity 0.15s, transform 0.15s;
    display: inline-block;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.newday-btn-primary:hover { opacity: 0.92; transform: translateY(-1px); }

.newday-btn-ghost {
    background: transparent;
    color: var(--newday-white);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    padding: 14px 30px;
    border-radius: var(--radius-md);
    border: 1.5px solid rgba(255,255,255,0.35);
    transition: border-color 0.15s, transform 0.15s;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

.newday-btn-ghost:hover { border-color: rgba(255,255,255,0.75); transform: translateY(-1px); }

.newday-btn-burgundy {
    background: var(--newday-burgundy);
    color: var(--newday-white);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    padding: 14px 30px;
    border-radius: var(--radius-md);
    transition: background 0.15s, transform 0.15s;
    display: inline-block;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.newday-btn-burgundy:hover { background: var(--newday-burgundy-dark); transform: translateY(-1px); }

/* ===================================================================
   TRUST BAR
   =================================================================== */

.newday-trust-bar {
    background: var(--newday-dark);
    padding: 16px 24px;
}

.newday-trust-bar-inner {
    max-width: var(--max-w);
    margin-inline: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 36px;
}

.newday-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--newday-blush);
    font-weight: 400;
    letter-spacing: 0.01em;
}

.newday-trust-check {
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--newday-burgundy);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.newday-trust-check svg { display: block; }

/* ===================================================================
   SECTION HEADERS (shared)
   =================================================================== */

.newday-section-label {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--newday-burgundy);
    font-weight: 500;
    margin-bottom: 10px;
}

.newday-section-title {
    font-family: var(--font-display);
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 500;
    line-height: 1.22;
    letter-spacing: -0.015em;
    margin-bottom: 14px;
    color: var(--newday-charcoal);
}

.newday-section-sub {
    font-size: 17px;
    color: var(--newday-espresso);
    line-height: 1.65;
    max-width: 580px;
    font-weight: 300;
}

/* Component-specific section header aliases */
.newday-services-label,
.newday-testi-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--newday-burgundy); font-weight: 500; margin-bottom: 10px; }

.newday-services-title,
.newday-testi-title { font-family: var(--font-display); font-size: clamp(26px, 3.5vw, 36px); font-weight: 500; line-height: 1.22; letter-spacing: -0.015em; margin-bottom: 14px; color: var(--newday-charcoal); }

.newday-services-subtitle,
.newday-testi-subtitle { font-size: 17px; color: var(--newday-espresso); line-height: 1.65; max-width: 580px; font-weight: 300; }

/* ===================================================================
   DIFFERENTIATORS (5 Reasons)
   =================================================================== */

.newday-diff-section {
    padding: var(--section-py) 24px;
    background: var(--newday-ivory);
}

.newday-diff-header {
    max-width: var(--max-w);
    margin-inline: auto;
    margin-bottom: 48px;
}

.newday-diff-grid {
    max-width: var(--max-w);
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
    gap: 20px;
}

.newday-diff-card {
    background: var(--newday-white);
    border: 1px solid var(--newday-soft-ivory);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
    box-shadow: var(--shadow-card);
}

.newday-diff-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--newday-blush);
    transform: translateY(-2px);
}

.newday-diff-card.featured {
    border: 1px solid var(--newday-blush);
}

.newday-diff-card.featured::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--newday-burgundy), var(--newday-blush));
}

.newday-diff-badge {
    display: inline-block;
    background: var(--newday-blush);
    color: var(--newday-burgundy);
    font-size: 11px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 18px;
    letter-spacing: 0.03em;
}

.newday-diff-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-md);
    background: var(--newday-blush);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.newday-diff-title {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--newday-charcoal);
    letter-spacing: -0.01em;
}

.newday-diff-desc {
    font-size: 14px;
    color: var(--newday-espresso);
    line-height: 1.7;
    font-weight: 300;
}

.newday-diff-detail {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 13px;
    color: var(--newday-burgundy);
    font-weight: 500;
    border-top: 1px solid var(--newday-ivory);
    padding-top: 14px;
}

/* ===================================================================
   LOCAL OWNERSHIP BAND
   =================================================================== */

.newday-local-band {
    background: var(--newday-dark);
    padding: 72px 24px;
    text-align: center;
}

.newday-local-band-inner {
    max-width: 720px;
    margin-inline: auto;
}

.newday-local-band .newday-section-label { color: var(--newday-gold); }

.newday-local-band h2 {
    font-family: var(--font-display);
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 500;
    line-height: 1.3;
    color: var(--newday-white);
    letter-spacing: -0.015em;
    margin-bottom: 20px;
}

.newday-local-band h2 em {
    font-style: italic;
    color: var(--newday-blush);
}

.newday-local-band p {
    font-size: 17px;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    font-weight: 300;
}

.newday-local-tagline {
    display: inline-block;
    margin-top: 28px;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 22px;
    color: var(--newday-gold);
    letter-spacing: 0.01em;
}

/* ===================================================================
   STATS SECTION
   =================================================================== */

.newday-stats-section {
    background: var(--newday-burgundy);
    padding: 64px 24px;
}

.newday-stats-grid {
    max-width: var(--max-w);
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 32px;
    text-align: center;
}

.newday-stat-num {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 500;
    color: var(--newday-white);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.newday-stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
    font-weight: 300;
}

/* ===================================================================
   SERVICES GRID (Text Cards)
   =================================================================== */

.newday-services-section {
    padding: var(--section-py) 24px;
    background: var(--newday-white);
}

.newday-services-header {
    max-width: var(--max-w);
    margin-inline: auto;
    margin-bottom: 40px;
}

.newday-services-grid {
    max-width: var(--max-w);
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}

.newday-svc-card {
    background: var(--newday-ivory);
    border: 1px solid var(--newday-soft-ivory);
    border-radius: var(--radius-md);
    padding: 20px 18px;
    transition: background 0.15s, border-color 0.15s;
}

.newday-svc-card:hover {
    background: var(--newday-blush);
    border-color: var(--newday-burgundy);
}

.newday-svc-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.newday-svc-name {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--newday-charcoal);
}

.newday-svc-desc {
    font-size: 13px;
    color: var(--newday-espresso);
    line-height: 1.5;
    font-weight: 300;
}

/* ===================================================================
   TESTIMONIALS GRID (Card Layout)
   =================================================================== */

.newday-testi-section {
    padding: var(--section-py) 24px;
    background: var(--newday-ivory);
}

.newday-testi-header {
    max-width: var(--max-w);
    margin-inline: auto;
    margin-bottom: 40px;
}

.newday-testi-grid {
    max-width: var(--max-w);
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.newday-testi-card {
    background: var(--newday-white);
    border: 1px solid var(--newday-soft-ivory);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-card);
}

.newday-testi-stars {
    color: var(--newday-gold);
    font-size: 15px;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.newday-testi-quote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 16px;
    line-height: 1.7;
    color: var(--newday-charcoal);
    margin-bottom: 20px;
}

.newday-testi-divider {
    height: 1px;
    background: var(--newday-ivory);
    margin-bottom: 16px;
}

.newday-testi-author { font-size: 14px; font-weight: 500; color: var(--newday-charcoal); }
.newday-testi-role   { font-size: 12px; color: var(--newday-espresso); margin-top: 2px; }

/* ===================================================================
   FINAL CTA SECTION
   =================================================================== */

.newday-cta-section {
    padding: 96px 24px;
    background: var(--newday-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newday-cta-section::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(160,38,58,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.newday-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin-inline: auto;
}

.newday-cta-tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 15px;
    color: var(--newday-gold);
    letter-spacing: 0.04em;
    margin-bottom: 16px;
}

.newday-cta-section h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 500;
    color: var(--newday-white);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.newday-cta-section p {
    font-size: 17px;
    color: rgba(255,255,255,0.65);
    line-height: 1.65;
    font-weight: 300;
    margin-bottom: 36px;
}

.newday-cta-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.newday-btn-cta-phone {
    background: transparent;
    color: var(--newday-blush);
    border: 1.5px solid rgba(242,212,217,0.4);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    transition: border-color 0.15s;
    display: inline-block;
    text-decoration: none;
}

.newday-btn-cta-phone:hover { border-color: var(--newday-blush); }

/* ===================================================================
   FOOTER
   =================================================================== */

.newday-footer {
    background: var(--newday-dark);
    padding: 56px 24px 32px;
}

.newday-footer a {
    text-decoration: none;
    color: inherit;
}

.newday-footer-grid {
    max-width: var(--max-w);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.newday-footer-brand-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    color: var(--newday-white);
    margin-bottom: 4px;
}

.newday-footer-brand-tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 14px;
    color: var(--newday-gold);
    margin-bottom: 16px;
}

.newday-footer-brand-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.65;
    font-weight: 300;
    max-width: 280px;
}

.newday-footer-contact {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.newday-footer-contact a {
    font-size: 13px;
    color: var(--newday-blush);
    transition: color 0.15s;
}

.newday-footer-contact a:hover { color: var(--newday-white); }

.newday-footer-heading {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 16px;
    font-weight: 500;
}

.newday-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.newday-footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: color 0.15s;
    font-weight: 300;
}

.newday-footer-links a:hover { color: var(--newday-blush); }

.newday-footer-bottom {
    max-width: var(--max-w);
    margin-inline: auto;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.newday-footer-bottom p {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    font-weight: 300;
    margin: 0;
}

.newday-footer-bottom a {
    color: rgba(255,255,255,0.35);
    transition: color 0.15s;
}

.newday-footer-bottom a:hover { color: rgba(255,255,255,0.6); }

.newday-footer-badges {
    display: flex;
    gap: 10px;
}

.newday-footer-badge {
    font-size: 11px;
    color: var(--newday-gold);
    border: 1px solid rgba(201,169,110,0.3);
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: 0.04em;
}

/* ===================================================================
   PAGE HEADER BAND (Inner Pages)
   =================================================================== */

.newday-page-header {
    background: var(--newday-dark);
    padding: 48px 24px;
    text-align: center;
}

/* Hide page header when a hero section follows it */
.newday-page-header:has(+ .hero),
.newday-page-header:has(+ .newday-hero) {
    display: none;
}

/* Also hide if hero is the next sibling in the content flow */
.newday-page-header + .hero,
.newday-page-header + .newday-hero {
    /* hero shows, header already hidden above */
}

/* Fallback: hide page header when ANY hero exists on the page */
body:has(.hero) .newday-page-header,
body:has(.newday-hero) .newday-page-header {
    display: none;
}

.newday-page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 500;
    color: var(--newday-white);
    margin: 0;
}

/* ===================================================================
   INNER PAGE CONTENT STYLING
   =================================================================== */

/* Ensure WordPress block content on inner pages uses new fonts.
   Exclude elements inside newday-* custom sections which handle their own colors. */
.wp-block-post-content :where(h1, h2, h3, h4):not([class*="newday-"]) {
    font-family: var(--font-display);
    font-weight: 500;
}

.wp-block-post-content > :where(h1, h2, h3, h4) {
    color: var(--newday-charcoal);
}

.wp-block-post-content > :where(p, ul, ol, table) {
    font-family: var(--font-body);
    color: var(--newday-espresso);
    font-weight: 400;
    line-height: 1.7;
}

/* WordPress block buttons on inner pages */
.wp-block-post-content .wp-block-button__link {
    background: var(--newday-burgundy);
    color: var(--newday-white);
    font-family: var(--font-body);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: background 0.15s, transform 0.15s;
}

.wp-block-post-content .wp-block-button__link:hover {
    background: var(--newday-burgundy-dark);
    transform: translateY(-1px);
}

/* WordPress block columns cards on inner pages */
.wp-block-post-content .wp-block-column[style*="border-radius"] {
    border: 1px solid var(--newday-soft-ivory);
    transition: box-shadow 0.2s, transform 0.2s;
}

.wp-block-post-content .wp-block-column[style*="border-radius"]:hover {
    box-shadow: var(--shadow-card);
}

/* Links on inner pages */
.wp-block-post-content a:not(.wp-block-button__link):not([class*="newday-"]) {
    color: var(--newday-burgundy);
    text-decoration: underline;
    text-decoration-color: rgba(160, 38, 58, 0.3);
    transition: text-decoration-color 0.15s;
}

.wp-block-post-content a:not(.wp-block-button__link):not([class*="newday-"]):hover {
    text-decoration-color: var(--newday-burgundy);
}

/* ===================================================================
   SINGLE POST PAGE (override parent theme styles)
   =================================================================== */

/* Style the post title */
body.single-post .wp-block-post-title {
    display: block !important;
    font-family: var(--font-display) !important;
    font-size: clamp(28px, 4vw, 40px) !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    color: var(--newday-charcoal) !important;
}

/* Style category labels on single post */
body.single-post .wp-block-post-terms {
    font-size: 11px !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
}

body.single-post .wp-block-post-terms a {
    color: var(--newday-burgundy) !important;
    text-decoration: none !important;
}

/* Style date on single post */
body.single-post .wp-block-post-date {
    font-size: 14px !important;
    color: var(--newday-espresso) !important;
}

/* Hide excerpt on single post (it shows full content below) */
body.single-post .wp-block-post-excerpt {
    display: none !important;
}

/* Hide featured image placeholder on single post */
body.single-post .wp-block-post-featured-image {
    display: none !important;
}

/* ===================================================================
   BLOG ARCHIVE / LISTING PAGES
   =================================================================== */

/* Style archive page title */
body.archive .wp-block-query-title,
body.blog .wp-block-query-title {
    font-family: var(--font-display) !important;
    font-size: clamp(26px, 3.5vw, 36px) !important;
    font-weight: 500 !important;
    color: var(--newday-charcoal) !important;
    margin-bottom: 32px !important;
}

/* Style post cards in archive */
body.archive .wp-block-post-template,
body.blog .wp-block-post-template {
    gap: 20px !important;
}

body.archive .wp-block-columns,
body.blog .wp-block-columns {
    background: var(--newday-ivory) !important;
    border: 1px solid var(--newday-soft-ivory) !important;
    border-radius: 16px !important;
    padding: 28px !important;
    transition: box-shadow 0.2s, transform 0.2s !important;
}

body.archive .wp-block-columns:hover,
body.blog .wp-block-columns:hover {
    box-shadow: 0 4px 24px rgba(160,38,58,0.08) !important;
    transform: translateY(-2px) !important;
}

/* Hide featured images in archive (we don't have them) */
body.archive .wp-block-post-featured-image,
body.blog .wp-block-post-featured-image {
    display: none !important;
}

/* Make the text column full width since no image */
body.archive .wp-block-column[style*="flex-basis:50%"],
body.blog .wp-block-column[style*="flex-basis:50%"] {
    flex-basis: 100% !important;
}

body.archive .wp-block-column[style*="flex-basis:30%"],
body.blog .wp-block-column[style*="flex-basis:30%"] {
    display: none !important;
}

/* Style post titles in archive */
body.archive .wp-block-post-title a,
body.blog .wp-block-post-title a {
    font-family: var(--font-display) !important;
    font-weight: 500 !important;
    color: var(--newday-charcoal) !important;
    text-decoration: none !important;
}

body.archive .wp-block-post-title a:hover,
body.blog .wp-block-post-title a:hover {
    color: var(--newday-burgundy) !important;
}

/* Style excerpts in archive */
body.archive .wp-block-post-excerpt,
body.blog .wp-block-post-excerpt {
    color: var(--newday-espresso) !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

body.archive .wp-block-post-excerpt__more-link,
body.blog .wp-block-post-excerpt__more-link {
    color: var(--newday-burgundy) !important;
    font-weight: 500 !important;
}

/* Hide category label on blog listing — all posts are same category, it's redundant */
body.archive .wp-block-post-terms,
body.blog .wp-block-post-terms {
    display: none !important;
}

/* Make post title more prominent on listing */
body.archive .wp-block-post-title,
body.blog .wp-block-post-title {
    font-size: 20px !important;
    margin-bottom: 8px !important;
}

/* ===================================================================
   BLOG POST STYLING
   =================================================================== */

.newday-blog-post h2 {
    font-family: var(--font-display);
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 500;
    color: var(--newday-charcoal);
    margin: 0 0 16px;
    line-height: 1.3;
}

.newday-blog-post h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    color: var(--newday-charcoal);
    margin: 28px 0 8px;
}

.newday-blog-post p {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--newday-espresso);
    line-height: 1.75;
    margin: 0 0 16px;
    font-weight: 400;
}

.newday-blog-post ul,
.newday-blog-post ol {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--newday-espresso);
    line-height: 1.75;
    margin: 0 0 16px;
    padding-left: 24px;
}

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

.newday-blog-post a {
    color: var(--newday-burgundy);
    text-decoration: underline;
    text-decoration-color: rgba(160, 38, 58, 0.3);
}

.newday-blog-post a:hover {
    text-decoration-color: var(--newday-burgundy);
}

.newday-blog-post strong {
    color: var(--newday-charcoal);
    font-weight: 500;
}

.newday-blog-post em {
    color: var(--newday-burgundy);
}

/* ===================================================================
   FAQ ACCORDION (Details / Summary blocks)
   =================================================================== */

.wp-block-details {
    border-bottom: 1px solid var(--newday-soft-ivory);
    padding: 0.25rem 0;
}

.wp-block-details[open] {
    border-left: 3px solid var(--newday-burgundy);
    padding-left: 1rem;
}

.wp-block-details[open] > :not(summary) {
    background: var(--newday-ivory);
    padding: 0.75rem 1rem;
    border-radius: 4px;
}

.wp-block-details summary {
    cursor: pointer;
    font-weight: 600;
    padding: 0.75rem 0;
}

.newday-faq-divider {
    border: none;
    height: 2px;
    background: var(--newday-gold);
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .wp-block-details summary {
        min-height: 48px;
        display: flex;
        align-items: center;
    }
}

/* ===================================================================
   CAREERS / CONTACT FORM STYLES
   =================================================================== */

.newday-careers-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--newday-charcoal);
}

.newday-careers-form .required {
    color: var(--newday-burgundy);
}

.newday-careers-form .optional {
    color: var(--newday-espresso);
    font-weight: 400;
    font-size: 0.85rem;
}

.newday-careers-form input[type="text"],
.newday-careers-form input[type="tel"],
.newday-careers-form input[type="email"],
.newday-careers-form input[type="file"],
.newday-careers-form select,
.newday-careers-form textarea {
    width: 100%;
    min-height: 44px;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--newday-soft-ivory);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.newday-careers-form input:focus,
.newday-careers-form select:focus,
.newday-careers-form textarea:focus {
    outline: none;
    border-color: var(--newday-burgundy);
    box-shadow: 0 0 0 2px rgba(160, 38, 58, 0.15);
}

.newday-careers-form .field-note {
    display: block;
    font-size: 0.8rem;
    color: var(--newday-espresso);
    margin-top: 0.25rem;
}

.newday-careers-form p {
    margin-bottom: 1.25rem;
}

.newday-careers-form .error {
    color: var(--newday-burgundy);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.newday-careers-submit {
    display: inline-block;
    background: var(--newday-burgundy);
    color: var(--newday-white);
    border: none;
    padding: 14px 30px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s, transform 0.15s;
}

.newday-careers-submit:hover {
    background: var(--newday-burgundy-dark);
    transform: translateY(-1px);
}

/* Status messages */
.newday-careers-message {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.newday-careers-success {
    background: var(--newday-blush);
    color: var(--newday-charcoal);
    border: 1px solid var(--newday-gold);
}

.newday-careers-error {
    background: rgba(160, 38, 58, 0.08);
    color: var(--newday-burgundy);
    border: 1px solid rgba(160, 38, 58, 0.25);
}

/* ===================================================================
   PATTERN-SPECIFIC STYLES
   =================================================================== */

/* Numbered step circles */
.newday-step-number {
    width: 56px;
    height: 56px;
    line-height: 56px;
    border: 3px solid var(--newday-burgundy);
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

/* General card consistency */
.wp-block-column[style*="border-radius: 8px"],
.wp-block-column[style*="border-radius:8px"] {
    overflow: hidden;
}

/* ===================================================================
   MAP CONTAINER (responsive iframe)
   =================================================================== */

.newday-map-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.newday-map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===================================================================
   SERVICE PAGE STYLES
   =================================================================== */

/* Service sub-page cards: equal height with cropped images */
.wp-block-post-content .wp-block-columns {
    align-items: stretch;
}

.wp-block-post-content .wp-block-column .wp-block-image img,
.wp-block-post-content .wp-block-column .wp-block-cover__image-background {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

/* Make service cards equal height */
.wp-block-post-content .wp-block-columns .wp-block-column {
    display: flex;
    flex-direction: column;
}

.wp-block-post-content .wp-block-columns .wp-block-column > *:last-child {
    margin-top: auto;
}

/* Space between "You May Be Interested" heading and the cards */
.wp-block-post-content .wp-block-columns {
    margin-top: 24px;
}

/* Better spacing between image and title in service cards */
.wp-block-post-content .wp-block-column .wp-block-image {
    margin-bottom: 16px;
}

.wp-block-post-content .wp-block-column h4 {
    margin-bottom: 8px;
}

/* Hide "Learn More" links — title is already a link */
.wp-block-post-content .wp-block-column > p:last-child > a[href*="/services/"] {
    display: none;
}

.wp-block-post-content .wp-block-column > p:has(> a[href*="/services/"]):last-child {
    display: none;
}

/* "What We Provide" checkmark list */
ul.newday-service-list.wp-block-list,
ul.newday-service-list {
    list-style: none !important;
    padding-left: 0 !important;
}

ul.newday-service-list li {
    padding-left: 1.75rem;
    position: relative;
    margin-bottom: 0.75rem;
    list-style: none !important;
}

ul.newday-service-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--newday-burgundy);
    font-weight: 700;
    font-size: 1.1em;
}

/* Constrain hero images on inner pages */
.wp-block-image.alignwide img,
.wp-block-image.alignfull img {
    max-height: 50vh;
    object-fit: cover;
}

/* Accent border for "What Families Face" sections */
.newday-families-face {
    border-left: 4px solid var(--newday-burgundy);
}

/* ===================================================================
   SUBTLE ANIMATIONS
   =================================================================== */

@media (prefers-reduced-motion: no-preference) {
    .newday-diff-card,
    .newday-svc-card,
    .newday-testi-card {
        animation: newday-fadeUp 0.5s ease both;
    }

    @keyframes newday-fadeUp {
        from { opacity: 0; transform: translateY(16px); }
        to   { opacity: 1; transform: translateY(0); }
    }
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */

@media (max-width: 768px) {
    :root { --section-py: 56px; }

    .newday-nav-links { display: none; }
    .newday-nav-phone { display: none; }

    .newday-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .newday-diff-grid { grid-template-columns: 1fr; }
    .newday-testi-grid { grid-template-columns: 1fr; }

    .newday-hero { padding: 64px 24px 72px; }

    .wp-block-image.alignwide img,
    .wp-block-image.alignfull img {
        max-height: 40vh;
    }

    .page-template-default .wp-block-cover[style*="min-height:50vh"] {
        min-height: 40vh !important;
    }
}
