/* --- Variables (Your Palette) --- */
:root {
    --c-navy: #2b2c53;
    --c-grey: #4b4b4b;
    --c-white: #ffffff;
    --c-accent: #f2f2f5; 
    
    /* ADDED THESE BACK (They were missing) */
    --bg-surface: #f7f8fa; /* Needed for dropdown hover */
    --border-strong: rgba(43, 44, 83, 0.15); /* Needed for footer meta text */

    --border-subtle: rgba(43, 44, 83, 0.1); 
    --glass-bg: rgba(255, 255, 255, 0.85);
    
    --radius-btn: 6px;
    --radius-card: 12px;
    
    --font-main: 'Inter', system-ui, sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
/* --- GLOBAL RESET (Crucial for Layouts) --- */
* {
    box-sizing: border-box;
}

/* --- Layout Wrappers --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header Styling --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    
    /* The "Pearl" Gradient + Blur */
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 247, 250, 0.9) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); /* Safari support */
    
    border-bottom: 1px solid rgba(43, 44, 83, 0.06);
    padding: 16px 0;
    transition: all 0.3s ease;
}

.logo-text {
    font-weight: 700;
    color: var(--c-navy);
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

/* --- NAVIGATION & DROPDOWNS --- */

/* Top Level Container */
.desktop-nav { 
    display: flex; 
    align-items: center; 
    gap: 40px; /* Space between Menu Links and Buttons */
}

/* Header Action Buttons (Login/Contact) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px; 
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Reset WordPress Wrappers */
.desktop-nav .menu-main-menu-container,
.desktop-nav ul.nav-links {
    height: 100%;
    display: flex;
    align-items: center;
}

/* The Nav List */
.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links > li {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

/* Link Styling */
.nav-links a {
    text-decoration: none;
    color: var(--c-grey);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 8px 0;
    display: block;
}

.nav-links a:hover {
    color: var(--c-navy);
}

/* --- DROPDOWNS (Sub-Menus) --- */
.nav-links .sub-menu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: -12px;
    width: 220px;
    
    background: var(--c-white);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 12px 32px rgba(43, 44, 83, 0.12);
    border-radius: var(--radius-card);
    
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 1100;
    
    transform: translateY(10px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links li:hover > .sub-menu,
.nav-links li:focus-within > .sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.nav-links .sub-menu li {
    display: block;
    width: 100%;
}

.nav-links .sub-menu a {
    padding: 10px 16px;
    border-radius: 6px;
    color: var(--c-grey);
    font-size: 0.9rem;
}

.nav-links .sub-menu a:hover {
    background-color: var(--bg-surface);
    color: var(--c-navy);
}

.current-menu-item > a {
    color: var(--c-navy);
    font-weight: 600;
}

/* --- MOBILE DRAWER --- */
.mobile-drawer {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: var(--c-white);
    
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    
    transition: all 0.3s var(--ease);
    z-index: 990;
    padding: 24px;
    overflow-y: auto;
}

.mobile-drawer.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.mobile-nav-links li { border-bottom: 1px solid var(--border-subtle); }
.mobile-nav-links a { 
    display: block; 
    padding: 16px 0; 
    color: var(--c-navy); 
    text-decoration: none;
}

/* --- MOBILE TOGGLE --- */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle .bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--c-navy);
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-toggle.is-open .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.is-open .bar:nth-child(2) { opacity: 0; }
.mobile-toggle.is-open .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }



/* --- WOOCOMMERCE --- */
ul.products li.product {
    background: var(--c-white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    padding: 16px !important;
}

ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(43, 44, 83, 0.08);
}

.button, .wp-block-button__link {
    background-color: var(--c-navy) !important;
    color: white !important;
    border-radius: var(--radius-btn) !important;
    font-weight: 500 !important;
    padding: 10px 20px !important;
}

.woocommerce-input-wrapper input,
.woocommerce-input-wrapper textarea {
    border: 1px solid var(--border-subtle) !important;
    border-radius: 6px !important;
    padding: 12px !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.woocommerce-input-wrapper input:focus {
    outline: none;
    border-color: var(--c-navy) !important;
    box-shadow: 0 0 0 3px rgba(43, 44, 83, 0.1);
}

/* --- FOOTER STYLES --- */
.site-footer {
    background-color: var(--c-white);
    border-top: 1px solid var(--border-subtle);
    padding: 64px 0 32px;
    margin-top: 80px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-logo {
    display: block;
    font-weight: 700;
    color: var(--c-navy);
    margin-bottom: 16px;
    font-size: 1.1rem;
    text-decoration: none;
}

.footer-mission {
    color: var(--c-grey);
    line-height: 1.6;
    margin-bottom: 16px;
    max-width: 320px;
}

.footer-meta {
    font-size: 0.85rem;
    color: var(--border-strong); /* Only works if var is defined in root */
}

.footer-heading {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--c-navy);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: 12px; }

.footer-links a {
    color: var(--c-grey);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--c-navy); }

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: rgba(75, 75, 75, 0.6);
}

.legal-links a {
    color: inherit;
    text-decoration: none;
    margin-left: 20px;
}

/* --- BUTTON SYSTEM --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    line-height: 1;
    border: 1px solid transparent;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 6px;
}

.btn-md {
    padding: 12px 24px;
    font-size: 1rem;
    border-radius: 8px;
}

.btn-primary {
    background-color: var(--c-navy);
    color: var(--c-white);
    box-shadow: 0 1px 2px rgba(43, 44, 83, 0.1);
}

.btn-primary:hover {
    background-color: #3b3c6e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(43, 44, 83, 0.2);
    color: var(--c-white);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(43, 44, 83, 0.1);
}

.btn-ghost {
    background: transparent;
    color: var(--c-grey);
}

.btn-ghost:hover {
    background: rgba(43, 44, 83, 0.05);
    color: var(--c-navy);
}

/* --- GLOBAL SCROLL FIX --- */
html, body {
    overflow-x: hidden; /* Kills the horizontal scrollbar globally */
    width: 100%;
    position: relative;
}

/* --- HERO SECTION (FIXED ALIGNMENT) --- */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 500px; /* Reduced slightly for better laptop view */
    
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    
    /* THIS IS THE FIX: Forces content to true center horizontally */
    align-items: center; 
    
    padding-top: 100px;
    padding-bottom: 60px;
    padding-left: 20px;
    padding-right: 20px;
    
    text-align: center;
    overflow: hidden;
}

/* Ensure the container inside doesn't fight the flex parent */
.hero-container {
    position: relative;
    z-index: 10;
    width: 100%; /* Take full width available */
    max-width: 900px; /* But stop at 900px */
    margin: 0 auto;
}

/* Typography */
.hero-label {
    margin-bottom: 24px;
    display: block; /* Ensures it sits on its own line */
}

.label-text {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-navy);
    background: #f4f6f8; /* Slightly darker than white for visibility */
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(43, 44, 83, 0.08);
    display: inline-block;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--c-navy);
    margin-bottom: 24px;
    letter-spacing: -0.04em;
}

/* Responsive Font Size for smaller laptops */
@media (max-width: 1200px) {
    .hero-title { font-size: 3.5rem; }
}

.text-highlight {
    color: var(--c-grey);
    font-weight: 300; /* Makes the "Carrollton" part thinner/sleeker */
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--c-grey);
    line-height: 1.6;
    margin-bottom: 48px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* Button Group Alignment */
/* Button Group Alignment */
.hero-actions {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center;     /* Center vertically */
    width: 100%;             /* Force full width so 'center' works */
    gap: 16px;
    position: relative;
    z-index: 12;
    margin-top: 10px;        /* Ensure space from text above */
}

/* --- ANIMATED BACKGROUND BLOBS --- */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; 
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px); /* Increased blur for smoother background blend */
    opacity: 0.5;
    will-change: transform; /* Performance optimization */
    animation: float 10s infinite ease-in-out alternate;
}

/* Blob 1: The Navy one */
.blob-1 {
    top: -150px; /* Pull it up higher so it doesn't push down */
    left: -100px;
    width: 600px;
    height: 600px;
    background: rgba(43, 44, 83, 0.12);
    animation-duration: 25s;
}

/* Blob 2: The Accent one */
.blob-2 {
    bottom: -100px;
    right: -100px;
    width: 700px;
    height: 700px;
    background: rgba(43, 44, 83, 0.05); /* Grey/Blue tint */
    animation-duration: 20s;
    animation-direction: reverse;
}

/* --- RESPONSIVE LOGIC & MOBILE HEADER FIX --- */

/* Unified Breakpoint (900px) */
@media (max-width: 900px) {
    
    /* 1. Force Hide Desktop Nav */
    .desktop-nav { 
        display: none !important; 
    }
    
    /* 2. Force Show Hamburger */
    .mobile-toggle { 
        display: block !important; 
    }
    
    /* 3. Protect the Logo (Ratio Fix) */
    .site-logo {
        flex-shrink: 0; /* Don't let the container collapse */
        max-width: 70%; /* Limit width so it doesn't hit the hamburger */
        display: flex; /* Removes accidental extra spacing */
        align-items: center;
    }
    
    .site-logo img,
    .custom-logo-link img {
        /* The Golden Trio for perfect ratios: */
        width: auto !important;      /* 1. Calculate width based on height */
        height: auto !important;     /* 2. Calculate height based on width */
        max-height: 60px !important; /* 3. Cap the height (adjust this number if you want it bigger/smaller) */
        
        max-width: 100% !important;  /* Ensure it fits in the container */
        object-fit: contain;         /* Modern browser safety net: prevents squishing */
    }

    /* 4. Fix Footer Grid */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    /* 5. Adjust Hero Padding for Mobile */
    .hero-section {
        padding-top: 120px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .legal-links a {
        margin: 0 10px;
    }
}

/* --- MOBILE FIXES --- */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 140px; /* Less padding on mobile */
        min-height: auto;
    }
    .hero-title { font-size: 2.5rem; }
    .hero-desc { font-size: 1rem; }
    .hero-actions { flex-direction: column; padding: 0 20px; }
    .btn { width: 100%; } /* Full width buttons on mobile */
}
/* Hide empty content container on Home Template only */
.page-template-template-home .site-content:empty {
    display: none;
    padding: 0;
}

/* --- VALUES SLIDER STYLES --- */

.tca-values-slider {
    width: 100%;
    padding: 40px 10px 60px 10px !important;
}

.value-card {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically centers the content block */
    background: var(--c-white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    padding: 32px 24px;
    height: 100%;
    min-height: 320px; /* Slightly taller to accommodate icons */
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

/* Wrapper to handle text centering */
.card-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* Horizontally centers icon/text */
    text-align: center;  /* Centers the text lines */
    width: 100%;
}

/* NEW: Icon Styling */
.card-icon {
    color: var(--c-navy);
    margin-bottom: 20px;
    transition: transform 0.3s ease, color 0.3s ease;
    /* Background circle logic (optional, remove if you want plain icon) */
    background: rgba(43, 44, 83, 0.05);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.card-title {
    font-size: 1.35rem; /* Adjusted slightly for balance */
    font-weight: 700;
    color: var(--c-navy);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.card-desc {
    font-size: 0.95rem;
    color: var(--c-grey);
    line-height: 1.5;
    margin-bottom: 24px;
    transition: color 0.3s ease;
    flex-grow: 1; /* Pushes the button down if descriptions vary length */
}

.card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--c-navy);
    
    /* Make it a button */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    
    background-color: rgba(43, 44, 83, 0.05); /* Same as icon bg */
    padding: 10px 20px;
    border-radius: 50px; /* Pill shape */
    margin-top: auto;
    
    transition: all 0.3s ease;
}

/* Hover State (When user hovers the CARD, not just the button) */
.value-card:hover .card-link {
    background-color: rgba(255, 255, 255, 0.15); /* Semi-transparent white */
    color: var(--c-white);
    padding-right: 24px; /* Subtle animation: button grows slightly */
}

/* --- HOVER EFFECTS --- */
.value-card:hover {
    background-color: var(--c-navy);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(43, 44, 83, 0.25);
    border-color: var(--c-navy);
}

/* On hover, turn everything white */
.value-card:hover .card-title,
.value-card:hover .card-desc,
.value-card:hover .card-link,
.value-card:hover .card-icon {
    color: var(--c-white);
}

/* On hover, make the icon circle transparent so icon pops */
.value-card:hover .card-icon {
    background: rgba(255, 255, 255, 0.1); 
    transform: scale(1.1);
}

/* Pagination Dots */
.swiper-pagination-bullet {
    background: var(--c-grey);
    opacity: 0.3;
}
.swiper-pagination-bullet-active {
    background: var(--c-navy);
    opacity: 1;
}

/* --- CORE VALUES (VERTICAL TABS) --- */

.tca-values-container {
    display: grid;
    grid-template-columns: 300px 1fr; /* Fixed width nav, fluid content */
    gap: 60px;
    max-width: 1100px;
    margin: 60px auto;
    align-items: start;
}

/* 1. Left Navigation */
.values-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.values-tab-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    background: transparent;
    border: 1px solid transparent; /* Prevents jump on active */
    padding: 16px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
}

.values-tab-btn .v-icon {
    color: rgba(75, 75, 75, 0.4); /* Muted grey icon */
    transition: color 0.2s;
    display: flex;
}

.values-tab-btn .v-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--c-grey);
    flex-grow: 1; /* Pushes arrow to the right */
}

.values-tab-btn .v-arrow {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.2s;
    color: var(--c-navy);
}

/* Hover State */
.values-tab-btn:hover {
    background: var(--bg-surface);
}

.values-tab-btn:hover .v-title,
.values-tab-btn:hover .v-icon {
    color: var(--c-navy);
}

/* Active State */
.values-tab-btn.active {
    background: var(--c-white);
    border-color: var(--border-subtle);
    box-shadow: 0 4px 12px rgba(43, 44, 83, 0.06);
}

.values-tab-btn.active .v-title,
.values-tab-btn.active .v-icon {
    color: var(--c-navy);
}

.values-tab-btn.active .v-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* 2. Right Content Panel */
.value-content-panel {
    display: none; /* Hidden by default */
    background: var(--c-white);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 12px 40px rgba(43, 44, 83, 0.04);
}

.value-content-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

/* Panel Internals */
.panel-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-subtle);
}

.panel-icon {
    width: 60px;
    height: 60px;
    background: rgba(43, 44, 83, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-navy);
}

.panel-icon svg {
    width: 32px;
    height: 32px;
}

.panel-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--c-navy);
    margin: 0;
}

.panel-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--c-grey);
}

.panel-body p {
    margin-bottom: 24px;
}


/* --- PROMISE GRID STYLES --- */

.promise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Auto-responsive */
    gap: 30px;
    max-width: 1100px;
    margin: 40px auto;
}

.promise-card {
    background: var(--c-white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Ensures footer stays inside radius */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Makes cards in same row equal height */
}

.promise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(43, 44, 83, 0.08);
    border-color: var(--c-navy);
}

/* 1. Top Section: The School's Promise */
.promise-body {
    padding: 32px;
    flex-grow: 1; /* Pushes footer down */
}

.promise-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--c-navy);
    line-height: 1.5;
    margin: 0;
}

/* 2. Bottom Section: The Scripture Foundation */
.promise-footer {
    background: var(--bg-surface); /* Light grey/blue background */
    padding: 24px 32px;
    border-top: 1px solid var(--border-subtle);
    position: relative;
}

/* Decorative Quote Icon */
.promise-footer::before {
    content: '“';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 3rem;
    line-height: 1;
    color: rgba(43, 44, 83, 0.05); /* Very subtle watermark */
    font-family: serif;
}

.scripture-text {
    font-family: Georgia, 'Times New Roman', serif; /* Classic Bible feel */
    font-style: italic;
    font-size: 0.95rem;
    color: var(--c-grey);
    line-height: 1.6;
    margin-bottom: 12px;
}

.scripture-ref {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--c-navy);
    text-align: right; /* Align reference to the right */
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .promise-grid {
        grid-template-columns: 1fr;
    }
    .promise-body {
        padding: 24px;
    }
    .promise-footer {
        padding: 20px 24px;
    }
}

/* --- GRADUATE OUTCOMES GRID --- */

.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Equal Columns */
    gap: 30px;
    max-width: 1100px;
    margin: 40px auto;
    align-items: stretch; /* Ensures all cards are same height */
}

.outcome-card {
    background: var(--c-white);
    border: 1px solid var(--border-subtle);
    border-top: 4px solid var(--c-navy); /* The "Cord" Accent */
    border-radius: var(--radius-card);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.outcome-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(43, 44, 83, 0.08);
}

/* Header Area */
.outcome-header {
    text-align: center;
    margin-bottom: 32px;
}

.cord-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(75, 75, 75, 0.5); /* Muted label */
    margin-bottom: 12px;
}

.trinity-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--c-navy);
    margin: 0 0 20px 0;
}

.cord-divider {
    width: 40px;
    height: 2px;
    background: var(--bg-surface);
    margin: 0 auto 20px auto;
}

.outcome-focus {
    font-size: 0.95rem;
    color: var(--c-grey);
    line-height: 1.5;
    font-style: italic; /* Differentiates the "instruction" from the list */
}

/* The Skill List */
.skill-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1; /* Pushes content to fill space */
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(43, 44, 83, 0.03); /* Extremely subtle separator */
    color: var(--c-navy);
    font-weight: 500;
    font-size: 1rem;
}

.skill-item:last-child {
    border-bottom: none;
}

.check-icon {
    color: var(--c-navy);
    opacity: 0.6;
    flex-shrink: 0;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .outcomes-grid {
        grid-template-columns: 1fr; /* Stack vertically */
        max-width: 500px; /* Constrain width so they don't look super wide */
    }
    
    .outcome-card {
        padding: 32px 24px;
    }
}

/* --- WHY TCA PAGE STYLES --- */

.why-section {
    padding: 80px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.why-quote-box {
    margin-bottom: 30px;
    border-left: 4px solid var(--c-navy);
    padding-left: 24px;
}

.why-quote {
    font-size: 2rem;
    font-weight: 800;
    color: var(--c-navy);
    line-height: 1.2;
    margin: 0;
}

.why-quote.center {
    text-align: center;
    border: none;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.lead-text {
    font-size: 1.2rem;
    color: var(--c-navy);
    font-weight: 500;
}

.why-text-body p {
    font-size: 1.05rem;
    color: var(--c-grey);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* --- CHAPTER 2: BENEFITS GRID --- */
.why-needs-bg {
    background: linear-gradient(180deg, var(--c-white) 0%, var(--bg-surface) 100%);
    border-radius: 24px;
    margin: 60px auto;
    padding: 80px 40px;
    max-width: 1100px; /* Slightly wider grid */
}

.why-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--c-white);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 4px 12px rgba(43, 44, 83, 0.04);
    transition: transform 0.2s;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.b-icon {
    width: 48px;
    height: 48px;
    background: rgba(43, 44, 83, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-navy);
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.2rem;
    color: var(--c-navy);
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--c-grey);
    line-height: 1.5;
}

/* --- CHAPTER 3: THE PYRAMID --- */
.pyramid-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* The Graphic */
.pyramid-graphic {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.p-layer {
    width: 100%;
    text-align: center;
    color: white;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(43, 44, 83, 0.15);
    transition: transform 0.3s ease;
}

/* Top Layer (Inverted Triangle Shape) */
.p-top {
    background: var(--c-navy);
    width: 280px;
    padding: 20px 10px;
    /* Create the inverted effect visually via clip-path or simple styling */
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    height: 140px;
    padding-bottom: 40px; /* Push text up */
}

/* Middle Layer */
.p-mid {
    background: #4b4b70; /* Lighter Navy */
    width: 200px;
    padding: 15px;
    border-radius: 8px;
}

/* Base Layer */
.p-base {
    background: var(--c-grey);
    width: 140px;
    padding: 15px;
    border-radius: 8px;
}

/* Hover Effect: Explode the pyramid */
.pyramid-graphic:hover .p-top { transform: translateY(-10px); }
.pyramid-graphic:hover .p-base { transform: translateY(10px); }

/* Mobile Responsive */
@media (max-width: 900px) {
    .pyramid-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .why-quote-box {
        border-left: none;
        border-top: 4px solid var(--c-navy);
        padding-top: 20px;
        padding-left: 0;
    }
}

/* --- WPFORMS OVERRIDES (The Linear Style) --- */

/* 1. Containers & Labels */
div.wpforms-container-full .wpforms-form .wpforms-field {
    padding: 10px 0 !important;
    clear: both !important;
}

div.wpforms-container-full .wpforms-form .wpforms-field-label {
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--c-navy);
    display: block;
    margin-bottom: 8px;
}

/* 2. Inputs (Text, Email, Number, Select, Date) */
div.wpforms-container-full .wpforms-form input[type=text],
div.wpforms-container-full .wpforms-form input[type=email],
div.wpforms-container-full .wpforms-form input[type=number],
div.wpforms-container-full .wpforms-form input[type=date],
div.wpforms-container-full .wpforms-form input[type=tel],
div.wpforms-container-full .wpforms-form select,
div.wpforms-container-full .wpforms-form textarea,
.flatpickr-input {
    background-color: var(--c-white) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    font-size: 1rem !important;
    color: var(--c-grey) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02) !important;
    transition: all 0.2s ease !important;
}

/* Focus State (The Glow) */
div.wpforms-container-full .wpforms-form input:focus,
div.wpforms-container-full .wpforms-form select:focus,
div.wpforms-container-full .wpforms-form textarea:focus {
    border-color: var(--c-navy) !important;
    box-shadow: 0 0 0 3px rgba(43, 44, 83, 0.1) !important;
    outline: none;
}

/* 3. Sub-labels (First, Last) */
div.wpforms-container-full .wpforms-form .wpforms-field-sublabel {
    font-size: 0.75rem !important;
    color: rgba(75, 75, 75, 0.5) !important;
    margin-top: 4px;
    font-weight: 500;
}

/* 4. Radio Buttons (How did you hear?) */
div.wpforms-container-full .wpforms-form ul.wpforms-field-required li {
    margin-bottom: 8px;
}

div.wpforms-container-full .wpforms-form input[type=radio] {
    margin-right: 8px;
    accent-color: var(--c-navy); /* Modern browser support */
}

/* 5. Submit Button */
div.wpforms-container-full .wpforms-form button[type=submit] {
    background-color: var(--c-navy) !important;
    color: white !important;
    border: none !important;
    border-radius: var(--radius-btn) !important;
    padding: 14px 32px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%; /* Full width on mobile/desktop */
    margin-top: 16px;
}

div.wpforms-container-full .wpforms-form button[type=submit]:hover {
    background-color: #3b3c6e !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43, 44, 83, 0.2);
}

/* --- RIGHT COLUMN: FAQ & TUITION --- */

.admissions-sidebar {
    padding-left: 40px; /* Space between form and FAQ */
}

.sidebar-header {
    font-size: 1.5rem;
    color: var(--c-navy);
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-subtle);
    padding-bottom: 10px;
    display: inline-block;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-item {
    /* Optional: Card style background */
    /* background: var(--bg-surface); padding: 20px; border-radius: 12px; */
}

.faq-q {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--c-navy);
    margin-bottom: 8px;
}

.faq-q svg {
    color: var(--c-navy);
    opacity: 0.7;
    flex-shrink: 0;
}

.faq-a {
    color: var(--c-grey);
    line-height: 1.6;
    font-size: 0.95rem;
    padding-left: 30px; /* Indent answer to align with text above */
}

/* Tuition Highlight Box */
.tuition-box {
    margin-top: 50px;
    background: rgba(43, 44, 83, 0.04); /* Very light Navy tint */
    border: 1px solid rgba(43, 44, 83, 0.1);
    border-radius: 12px;
    padding: 30px;
}

.tuition-title {
    color: var(--c-navy);
    font-size: 1.1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tuition-title::before {
    content: '$'; /* Simple money icon */
    background: var(--c-navy);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .admissions-sidebar {
        padding-left: 0;
        margin-top: 60px;
        padding-top: 40px;
        border-top: 1px solid var(--border-subtle);
    }
}

/* --- CONTACT PAGE SIDEBAR --- */

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    justify-content: center; /* Vertically centers the stack relative to the form */
}

/* Card Base Styles */
.contact-card {
    background: var(--c-white);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 24px;
    transition: transform 0.2s, box-shadow 0.2s;
}

/* 1. The Highlight Email Card */
.highlight-card {
    background: linear-gradient(135deg, var(--c-navy) 0%, #3b3c6e 100%);
    color: white;
    border: none;
    text-align: center;
}

.cc-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
    margin-bottom: 12px;
}

.cc-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
}

.cc-email:hover {
    text-decoration: underline;
    opacity: 1;
}

/* Divider Text ("Call a Founder") */
.contact-divider {
    text-align: center;
    font-size: 0.8rem;
    color: var(--c-grey);
    position: relative;
    margin: 10px 0;
}

.contact-divider::before,
.contact-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: var(--border-subtle);
}
.contact-divider::before { left: 0; }
.contact-divider::after { right: 0; }


/* 2. Family Phone Cards */
.family-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(43, 44, 83, 0.08);
    border-color: var(--c-navy);
}

.cc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--bg-surface);
}

.cc-family {
    font-weight: 700;
    color: var(--c-navy);
    font-size: 0.95rem;
}

.cc-time-badge {
    font-size: 0.75rem;
    background: var(--bg-surface);
    color: var(--c-grey);
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.cc-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cc-person {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--c-grey);
    font-size: 0.9rem;
}

.cc-phone {
    color: var(--c-navy);
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
}

.cc-phone:hover {
    text-decoration: underline;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .contact-sidebar {
        margin-top: 40px;
    }
}

/* --- WOOCOMMERCE: "HIDE & REBUILD" METHOD --- */

/* 1. Hide the Default Sidebar completely */
.woocommerce-MyAccount-navigation {
    display: none !important;
}

/* 2. Force the Content to be 100% width of its container */
.woocommerce-MyAccount-content {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

/* 3. Style the Content Area (Optional Clean up) */
.woocommerce-MyAccount-content p {
    color: var(--c-grey);
}

.woocommerce-MyAccount-content a {
    color: var(--c-navy);
    font-weight: 600;
}

/* Style the Table (Orders/Applications) to match Linear Theme */
.woocommerce-table {
    border: 1px solid var(--border-subtle) !important;
    border-radius: var(--radius-card);
    border-collapse: separate !important;
    border-spacing: 0;
    overflow: hidden;
}

.woocommerce-table th {
    background: var(--bg-surface);
    color: var(--c-navy);
    font-weight: 700;
    padding: 16px !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.woocommerce-table td {
    padding: 16px !important;
    border-top: 1px solid var(--border-subtle);
    color: var(--c-grey);
}

.woocommerce-button {
    background-color: var(--c-navy) !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
}

/* --- HIDE & REBUILD: MY ACCOUNT STYLING --- */

/* 1. HIDE the default WooCommerce Sidebar (The Duplicate) */
.woocommerce-MyAccount-navigation {
    display: none !important;
}

/* 2. UNLOCK the Content Area */
.woocommerce-MyAccount-content {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* 3. STYLE YOUR NEW SIDEBAR (Elementor Icon List) */
/* Targeted via the class 'tca-dashboard-menu' you added */

.tca-dashboard-menu .elementor-icon-list-items {
    background: var(--c-white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    padding: 12px !important; /* Space inside the card */
    display: flex;
    flex-direction: column;
    gap: 4px; /* Space between buttons */
}

.tca-dashboard-menu .elementor-icon-list-item {
    padding: 0 !important; /* Reset Elementor defaults */
}

.tca-dashboard-menu .elementor-icon-list-item a {
    display: block;
    width: 100%;
    padding: 14px 20px;
    border-radius: 8px;
    color: var(--c-grey);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
}

/* Hover State */
.tca-dashboard-menu .elementor-icon-list-item a:hover {
    background-color: var(--bg-surface); /* Light Grey/Blue */
    color: var(--c-navy);
    transform: translateX(4px); /* Subtle slide right */
}

/* Optional: "Active" State Simulation */
/* Since Elementor links don't know they are active automatically, 
   we style the "Dashboard" link on the Dashboard page, etc. 
   OR just rely on the clean hover state above. */

/* 4. STYLE THE CONTENT CARD (Right Side) */
/* Wraps the content in a card look */
.woocommerce-MyAccount-content {
    background: var(--c-white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    padding: 40px !important;
    min-height: 500px;
}

/* Typography Fixes inside the content */
.woocommerce-MyAccount-content p {
    font-size: 1rem;
    color: var(--c-grey);
    line-height: 1.6;
}

.woocommerce-MyAccount-content a {
    color: var(--c-navy);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dotted var(--c-navy);
}
/* --- WOOCOMMERCE: "HIDE & REBUILD" FIX --- */

/* 1. NUCLEAR HIDE: Target the nav specifically within Elementor widgets */
.elementor-widget-text-editor .woocommerce-MyAccount-navigation,
.elementor-widget-shortcode .woocommerce-MyAccount-navigation,
.woocommerce nav.woocommerce-MyAccount-navigation,
.woocommerce-MyAccount-navigation {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. FORCE CONTENT WIDTH: Make the actual data fill the space */
.woocommerce-MyAccount-content {
    width: 100% !important;
    float: none !important;
    display: block !important;
    margin: 0 !important;
    padding: 20px !important; /* Give it a little internal breathing room */
    border: none !important;
    background: transparent !important;
}

/* 3. TABLE STYLING: Make the orders/downloads tables look good */
.woocommerce-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    overflow: hidden;
    margin-bottom: 20px;
}

.woocommerce-table th {
    background-color: var(--bg-surface); /* Light Grey header */
    color: var(--c-navy);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 16px !important;
    text-align: left;
}

.woocommerce-table td {
    border-top: 1px solid var(--border-subtle);
    padding: 16px !important;
    color: var(--c-grey);
    vertical-align: middle;
}

/* 4. BUTTONS: Style the 'View' buttons in the table */
.woocommerce-button.button.view {
    background-color: transparent !important;
    color: var(--c-navy) !important;
    border: 1px solid var(--border-subtle) !important;
    padding: 6px 12px !important;
    font-size: 0.85rem !important;
    border-radius: 4px !important;
}

.woocommerce-button.button.view:hover {
    background-color: var(--c-navy) !important;
    color: white !important;
    border-color: var(--c-navy) !important;
}
/* 1. NUKE THE DUPLICATE TOP SECTION */
/* This specific ID comes from your HTML to hide the extra "Hello Dono" block */
.elementor-element-4063aeda {
    display: none !important;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .woocommerce-account .woocommerce {
        grid-template-columns: 1fr; /* Stack vertically */
        gap: 30px;
    }

    .woocommerce-MyAccount-navigation ul {
        display: flex; /* Turn sidebar into horizontal scroll menu */
        overflow-x: auto;
        white-space: nowrap;
        border: none;
        background: transparent;
        gap: 10px;
    }

    .woocommerce-MyAccount-navigation-link {
        border: 1px solid var(--border-subtle);
        border-radius: 50px;
        background: var(--c-white);
    }
    
    .woocommerce-MyAccount-navigation-link a {
        padding: 10px 20px;
        border: none;
    }

    .woocommerce-MyAccount-navigation-link.is-active a {
        background: var(--c-navy);
        color: white;
    }
}<div class="woocommerce">
<nav class="woocommerce-MyAccount-navigation" aria-label="Account pages">
	<ul>
					<li class="woocommerce-MyAccount-navigation-link woocommerce-MyAccount-navigation-link--dashboard is-active">
				<a href="https://threecordsacademy.com/staging/9953/my-account/" aria-current="page">
					Dashboard				</a>
			</li>
					<li class="woocommerce-MyAccount-navigation-link woocommerce-MyAccount-navigation-link--orders">
				<a href="https://threecordsacademy.com/staging/9953/my-account/orders/">
					Orders				</a>
			</li>
					<li class="woocommerce-MyAccount-navigation-link woocommerce-MyAccount-navigation-link--downloads">
				<a href="https://threecordsacademy.com/staging/9953/my-account/downloads/">
					Downloads				</a>
			</li>
					<li class="woocommerce-MyAccount-navigation-link woocommerce-MyAccount-navigation-link--edit-address">
				<a href="https://threecordsacademy.com/staging/9953/my-account/edit-address/">
					Addresses				</a>
			</li>
					<li class="woocommerce-MyAccount-navigation-link woocommerce-MyAccount-navigation-link--edit-account">
				<a href="https://threecordsacademy.com/staging/9953/my-account/edit-account/">
					Account details				</a>
			</li>
					<li class="woocommerce-MyAccount-navigation-link woocommerce-MyAccount-navigation-link--wishlist">
				<a href="https://threecordsacademy.com/staging/9953/wishlist/">
					Wishlist				</a>
			</li>
					<li class="woocommerce-MyAccount-navigation-link woocommerce-MyAccount-navigation-link--customer-logout">
				<a href="https://threecordsacademy.com/staging/9953/my-account/customer-logout/?_wpnonce=e7edf83aee">
					Log out				</a>
			</li>
			</ul>
</nav>


<div class="woocommerce-MyAccount-content">
	<div class="woocommerce-notices-wrapper"></div>
<p>
	Hello <strong>dono</strong> (not <strong>dono</strong>? <a href="https://threecordsacademy.com/staging/9953/wp-login.php?action=logout&amp;redirect_to=https%3A%2F%2Fthreecordsacademy.com%2Fstaging%2F9953%2Fmy-account%2F&amp;_wpnonce=2ab965b99b">Log out</a>)</p>

<p>
	From your account dashboard you can view your <a href="https://threecordsacademy.com/staging/9953/my-account/orders/">recent orders</a>, manage your <a href="https://threecordsacademy.com/staging/9953/my-account/edit-address/">shipping and billing addresses</a>, and <a href="https://threecordsacademy.com/staging/9953/my-account/edit-account/">edit your password and account details</a>.</p>

</div>
</div>

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 900px) {
    .tca-values-container {
        grid-template-columns: 1fr; /* Stack vertically */
        gap: 40px;
        margin-top: 20px;
    }

    .values-nav {
        flex-direction: row; /* Horizontal scroll on mobile */
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .values-tab-btn {
        flex-shrink: 0; /* Prevent squishing */
        width: auto;
        white-space: nowrap;
        background: var(--bg-surface);
        padding: 12px 16px;
    }
    
    .values-tab-btn.active {
        background: var(--c-navy);
        color: white !important;
    }
    
    .values-tab-btn.active .v-title,
    .values-tab-btn.active .v-icon {
        color: white !important;
    }
    
    .values-tab-btn .v-arrow { display: none; } /* Hide arrow on mobile */

    /* Panel Adjustments */
    .value-content-panel {
        padding: 30px 24px;
    }
    
    .panel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .panel-title {
        font-size: 1.5rem;
    }
}

/* --- PILLAR NAVIGATION (SUB-HEADER) --- */
.tca-pillar-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 30px 20px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 60px;
}

.pillar-link {
    text-decoration: none;
    color: var(--c-grey);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 50px;
    background: var(--bg-surface);
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.pillar-link:hover, .pillar-link.active {
    background: var(--c-white);
    color: var(--c-navy);
    border-color: var(--border-subtle);
    box-shadow: 0 4px 12px rgba(43, 44, 83, 0.08);
}

/* --- TEAM SHOWCASE CONTAINER --- */
.tca-team-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

/* 1. Top Nav (Family Selector) */
.team-nav {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 10px;
    overflow-x: auto; /* Scroll on mobile */
}

.team-nav-btn {
    background: none;
    border: none;
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(75, 75, 75, 0.5);
    padding: 10px 10px 20px 10px;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
    white-space: nowrap;
}

.team-nav-btn.active {
    color: var(--c-navy);
}

/* The "Active Line" indicator */
.team-nav-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--c-navy);
    border-radius: 3px 3px 0 0;
}

/* 2. Family Panels */
.family-panel {
    display: none; /* Hidden by default */
    animation: fadeIn 0.4s ease;
}

.family-panel.active {
    display: block;
}

.family-grid {
    display: grid;
    grid-template-columns: 350px 1fr; /* Image fixed width, Content fills rest */
    gap: 60px;
    align-items: start;
}

/* Image Column */
.family-photo {
    width: 100%;
    height: auto;
    border-radius: var(--radius-card);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 12px 32px rgba(43, 44, 83, 0.08);
}

/* 3. Bio Tabs (Inside the panel) */
.bio-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.bio-tab-btn {
    background: var(--bg-surface);
    border: 1px solid transparent;
    padding: 8px 16px;
    border-radius: 6px;
    color: var(--c-grey);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.bio-tab-btn:hover {
    background: #eef0f3;
}

.bio-tab-btn.active {
    background: var(--c-navy);
    color: var(--c-white);
    box-shadow: 0 4px 10px rgba(43, 44, 83, 0.2);
}

/* 4. Bio Text */
.bio-text-panel {
    display: none;
}
.bio-text-panel.active {
    display: block;
    animation: slideUp 0.3s ease;
}

.bio-heading {
    font-size: 1.8rem;
    color: var(--c-navy);
    margin-bottom: 20px;
    font-weight: 700;
}

.bio-body {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--c-grey);
}

.bio-body p { margin-bottom: 16px; }

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsive */
@media (max-width: 850px) {
    .family-grid {
        grid-template-columns: 1fr; /* Stack vertically */
        gap: 30px;
    }
    
    .family-photo {
        max-height: 400px; /* Cap height so it doesn't take whole screen */
        object-fit: cover;
    }
}

/* --- FRAMILY HEADER --- */
.framily-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.framily-text {
    font-size: 1.5rem;
    font-weight: 400; /* Lighter weight for elegance */
    color: var(--c-grey);
    line-height: 1.4;
    max-width: 600px;
    margin: 0 auto;
}

.highlight-navy {
    color: var(--c-navy);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Mobile Adjustment */
@media (max-width: 600px) {
    .framily-text {
        font-size: 1.25rem;
    }
}

/* --- MISSION MANIFESTO BLOCK --- */

.mission-wrapper {
    position: relative;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh; /* Ensures it looks substantial */
}

/* The Glowing Background Blob */
.mission-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(43, 44, 83, 0.08) 0%, rgba(255,255,255,0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* The Glass Card */
.mission-card {
    position: relative;
    z-index: 2;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 4px 6px rgba(0,0,0,0.02), 
        0 20px 40px rgba(43, 44, 83, 0.04),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5); /* Inner light ring */
    border-radius: 24px;
    padding: 30px;
    text-align: center;
}

/* Typography */
.mission-pill {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--c-navy);
    background: rgba(43, 44, 83, 0.05);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.mission-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--c-navy);
    line-height: 1.1;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

.mission-body p {
    font-size: 1.25rem;
    line-height: 1.8; /* Relaxed reading spacing */
    color: var(--c-grey);
    margin-bottom: 24px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.mission-body p:last-child {
    margin-bottom: 0;
}

/* Highlighted words */
.highlight-text {
    color: var(--c-navy);
    font-weight: 600;
    background: linear-gradient(180deg, rgba(255,255,255,0) 60%, rgba(43, 44, 83, 0.1) 60%);
}

/* Three Cords Decoration at bottom */
.cord-decoration {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
    opacity: 0.3;
}

.cord-decoration span {
    width: 4px;
    height: 4px;
    background-color: var(--c-navy);
    border-radius: 50%;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mission-card {
        padding: 40px 24px;
    }
    .mission-title {
        font-size: 2rem;
    }
    .mission-body p {
        font-size: 1.1rem;
    }
}

/* --- FOOTER LEGAL BLOCK --- */

.footer-legal-block {
    border-top: 1px solid var(--border-subtle);
    padding: 32px 0; /* Space above and below */
    text-align: center;
    margin-top: 0;
}

.footer-legal-block p {
    font-size: 0.75rem; /* Small, fine-print size */
    color: rgba(75, 75, 75, 0.5); /* Very muted grey */
    line-height: 1.6;
    max-width: 700px; /* Constrain width for readability */
    margin: 0 auto; /* Center the block */
}

/* Optional: If you want it to fade in on hover (super clean look) */
.footer-legal-block p {
    transition: color 0.3s ease;
}

.footer-legal-block:hover p {
    color: rgba(75, 75, 75, 0.8); /* Darkens slightly when you mouse over it */
}

/* --- WOOCOMMERCE: THE "LINEAR" APP THEME (FINAL CLEAN) --- */

/* 1. GLOBAL LAYOUT FIXES (The Nuke) */
/* Hide the Sidebar everywhere on Woo pages */
.woocommerce #sidebar,
.woocommerce-page #sidebar {
    display: none !important;
}

/* Force Content to Center & Fill */
.woocommerce-page .content-area,
.woocommerce-page .site-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

/* Optional: Prevent horizontal scrollbar */
body, html {
    overflow-x: hidden;
}

/* 2. ALERTS (Soft & Modern) */
.woocommerce-message, 
.woocommerce-info, 
.woocommerce-error {
    background-color: var(--c-white) !important;
    border-top: none !important;
    border-left: 4px solid var(--c-navy) !important;
    box-shadow: 0 4px 12px rgba(43, 44, 83, 0.08);
    border-radius: 6px;
    padding: 16px 24px !important;
    color: var(--c-grey) !important;
    margin-bottom: 24px !important;
}

.woocommerce-error {
    border-left-color: #d63031 !important;
}

/* 3. SHOP ARCHIVE (The Grid) */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.woocommerce ul.products li.product {
    background: var(--c-white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    padding: 0 !important;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    width: 100% !important;
    margin: 0 !important;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(43, 44, 83, 0.12);
    border-color: var(--c-navy);
}

.woocommerce ul.products li.product a img {
    margin: 0 !important;
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-subtle);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    padding: 20px 20px 5px 20px;
    font-size: 1.1rem !important;
    font-weight: 700;
    color: var(--c-navy);
}

.woocommerce ul.products li.product .price {
    color: var(--c-grey) !important;
    font-weight: 500;
    font-size: 0.95rem !important;
    padding-bottom: 15px;
    display: block;
}

.woocommerce ul.products li.product .button {
    margin: 0 20px 20px 20px !important;
    width: calc(100% - 40px);
    background-color: var(--bg-surface) !important;
    color: var(--c-navy) !important;
}

.woocommerce ul.products li.product .button:hover {
    background-color: var(--c-navy) !important;
    color: white !important;
}

/* 4. SINGLE PRODUCT PAGE (Donation Style) */
.single-product .product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    
    /* Center it */
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px; /* Safety padding */
}

/* Image Gallery */
.woocommerce-product-gallery {
    width: 100% !important;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    overflow: hidden;
    padding: 0 !important;
}

.woocommerce-product-gallery img {
    width: 100% !important;
    height: auto !important;
    display: block;
}

/* Summary Column */
.summary.entry-summary {
    padding-top: 0;
    display: flex;
    flex-direction: column;
}

.product_title {
    font-size: 2.5rem !important;
    font-weight: 800;
    color: var(--c-navy);
    line-height: 1.1;
    margin-bottom: 20px;
}

/* "Name Your Price" Input (Big Money Field) */
.woonp-input {
    font-size: 2.5rem !important;
    padding: 20px !important;
    border: 2px solid var(--border-subtle) !important;
    border-radius: 12px !important;
    color: var(--c-navy) !important;
    font-weight: 700 !important;
    text-align: center;
    width: 100% !important;
    max-width: 100% !important;
    background-color: var(--bg-surface) !important;
    transition: all 0.2s ease !important;
    margin-bottom: 10px !important;
}

.woonp-input:focus {
    border-color: var(--c-navy) !important;
    background-color: var(--c-white) !important;
    box-shadow: 0 4px 20px rgba(43, 44, 83, 0.1) !important;
    outline: none;
}

.woonp label {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: var(--c-grey);
    margin-bottom: 10px;
    text-align: center;
}

/* Hide Quantity */
.single-product .quantity {
    display: none !important;
}

/* Hide Wishlist */
.tinv-wraper, 
.tinvwl-shortcode-add-to-cart {
    display: none !important;
}

/* Cart Form Container */
.cart {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px;
    margin-top: 30px;
    width: 100%;
}

/* The Big Donate Button */
.single_add_to_cart_button {
    width: 100% !important;
    display: block !important;
    padding: 20px !important;
    font-size: 1.2rem !important;
    background-color: var(--c-navy) !important;
    color: white !important;
    border-radius: 12px !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    margin: 0 !important;
}

.single_add_to_cart_button:hover {
    background-color: #3b3c6e !important;
    transform: translateY(-2px);
}

/* 5. TABS & DESCRIPTION (Full Width) */
.woocommerce-tabs {
    grid-column: 1 / -1;
    margin-top: 60px !important;
    border-top: 1px solid var(--border-subtle);
    padding-top: 40px;
    width: 100%;
}

.woocommerce-tabs ul.tabs {
    border: none !important;
    padding: 0 !important;
    margin: 0 0 30px 0 !important;
    display: flex;
    gap: 15px;
    background: transparent !important;
}

.woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: 1px solid transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-tabs ul.tabs li a {
    padding: 10px 24px !important;
    font-weight: 600 !important;
    color: var(--c-grey) !important;
    border-radius: 50px;
    background: var(--bg-surface);
}

.woocommerce-tabs ul.tabs li.active a {
    background: var(--c-navy);
    color: white !important;
}

/* Hide redundant "Description" heading inside the tab */
#tab-description h2 {
    display: none;
}

/* 6. CART & CHECKOUT TABLES */
.shop_table {
    border: 1px solid var(--border-subtle) !important;
    border-radius: var(--radius-card) !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden;
    background: var(--c-white);
}

.shop_table th {
    background: var(--bg-surface);
    color: var(--c-navy);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 20px !important;
}

.shop_table td {
    padding: 20px !important;
    border-top: 1px solid var(--border-subtle) !important;
    color: var(--c-grey);
}

.cart_totals {
    background: var(--bg-surface);
    padding: 30px;
    border-radius: 16px;
    margin-top: 40px;
}

.cart_totals h2 {
    font-size: 1.5rem;
    color: var(--c-navy);
    margin-bottom: 20px;
}

/* 7. CHECKOUT PAGE (Split Layout) */
@media (min-width: 1000px) {
    .woocommerce-checkout .col2-set {
        width: 55%;
        float: left;
        margin-right: 5%;
    }

    .woocommerce-checkout #order_review_heading,
    .woocommerce-checkout #order_review {
        width: 40%;
        float: right;
    }
    
    .woocommerce-checkout #order_review {
        background: var(--bg-surface);
        padding: 30px;
        border-radius: 16px;
        border: 1px solid var(--border-subtle);
    }
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
    padding: 14px !important;
    background-color: var(--c-white);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
}

.woocommerce form .form-row input.input-text:focus {
    border-color: var(--c-navy);
    box-shadow: 0 0 0 3px rgba(43, 44, 83, 0.1);
}

/* 8. MOBILE RESPONSIVE WOOCOMMERCE */
@media (max-width: 768px) {
    /* Stack Product Page */
    .single-product .product {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 20px;
    }
    
    /* Stack Checkout */
    .woocommerce-checkout .col2-set,
    .woocommerce-checkout #order_review_heading,
    .woocommerce-checkout #order_review {
        width: 100%;
        float: none;
        margin-right: 0;
    }
    
    /* Stack Grid */
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }
}

/* --- DONATION INPUT STYLING --- */

/* The container for the price input */
.nyp-input-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

/* The Input Field itself */
input.nyp-input {
    font-size: 2rem !important; /* Huge text */
    padding: 15px 20px !important;
    border: 2px solid var(--border-subtle) !important;
    border-radius: 8px !important;
    color: var(--c-navy) !important;
    font-weight: 700 !important;
    width: 100% !important;
    max-width: 300px; /* Don't let it stretch too wide */
    text-align: center;
    transition: all 0.2s ease;
}

/* Focus State */
input.nyp-input:focus {
    border-color: var(--c-navy) !important;
    box-shadow: 0 0 0 4px rgba(43, 44, 83, 0.1) !important;
    outline: none;
}

/* Hide the currency symbol if the plugin adds an ugly one (Optional) */
.nyp-currency-symbol {
    font-size: 1.5rem;
    color: var(--c-grey);
    margin-right: 10px;
    font-weight: 600;
}


/* --- WOOCOMMERCE PRODUCT PAGE FIXES --- */

/* 1. HIDE THE SIDEBAR ON SHOP PAGES */
.woocommerce #sidebar,
.woocommerce-page #sidebar {
    display: none !important;
}

/* 2. FORCE FULL WIDTH LAYOUT (The Real Fix) */
/* This makes the main container span the entire page width */
.woocommerce-page .content-area,
.woocommerce-page .site-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

/* Optional: Ensure the body doesn't allow horizontal scrolling */
body, html {
    overflow-x: hidden;
}

/* 3. STYLE THE "NAME YOUR PRICE" INPUT */
/* This targets the specific plugin input to make it look like a big money field */
.woonp-input {
    font-size: 2.5rem !important; /* Huge text */
    padding: 20px !important;
    border: 2px solid var(--border-subtle) !important;
    border-radius: 12px !important;
    color: var(--c-navy) !important;
    font-weight: 700 !important;
    width: 100% !important;
    max-width: 100% !important; /* Let it fill the container */
    text-align: center;
    background-color: var(--bg-surface) !important;
    transition: all 0.2s ease !important;
    margin-bottom: 20px !important;
}

.woonp-input:focus {
    border-color: var(--c-navy) !important;
    background-color: var(--c-white) !important;
    box-shadow: 0 4px 20px rgba(43, 44, 83, 0.1) !important;
    outline: none;
}

/* Label styling ("Name Your Price") */
.woonp label {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: var(--c-grey);
    margin-bottom: 10px;
    text-align: center; /* Center the label above the big input */
}

/* 4. HIDE QUANTITY SELECTOR (For Donations) */
/* It feels weird to "Donate Quantity: 2". This hides it. */
.single-product .quantity {
    display: none !important;
}

/* 5. MAKE "ADD TO CART" BUTTON HUGE */
.single_add_to_cart_button {
    width: 100% !important; /* Full width button */
    padding: 20px !important;
    font-size: 1.2rem !important;
    border-radius: 12px !important;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 6. CLEAN UP THE TABS AT THE BOTTOM */
.woocommerce-tabs {
    margin-top: 60px !important;
    border-top: 1px solid var(--border-subtle);
    padding-top: 40px;
}

/* Hide the "Description" Tab Title (Redundant) */
#tab-description h2 {
    display: none;
}

/* --- WOOCOMMERCE GRID COMPATIBILITY FIX --- */

/* 1. Reset the "Old School" columns so they fill our modern Grid */
.woocommerce #content div.product div.summary, 
.woocommerce div.product div.summary, 
.woocommerce-page #content div.product div.summary, 
.woocommerce-page div.product div.summary,
.woocommerce div.product div.images,
.woocommerce-page div.product div.images {
    float: none !important;
    width: 100% !important;
    clear: both !important;
    margin: 0 !important;
}

/* 2. Final Safety Buffer for the "Bleeding Edge" */
/* This ensures the entire page always has a 2% breathing room on the right */
.woocommerce-page .site-content,
.woocommerce-page .content-area {
    width: 96% !important;   /* Leaves 2% gap on Left & Right */
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-right: 0 !important; /* Reset padding since we use width% for spacing */
}

/* --- WOOCOMMERCE BLOCKS (CHECKOUT & CART) --- */

/* 1. LAYOUT CONTAINERS */
.wc-block-checkout,
.wc-block-cart {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* 2. EXPRESS CHECKOUT BOX (Google Pay / Stripe Link) */
.wc-block-components-express-payment {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    padding: 24px;
    background-color: var(--bg-surface);
    margin-bottom: 40px;
}

.wc-block-components-express-payment__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-navy);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

/* 3. INPUT FIELDS (The Linear Look) */
.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input {
    border: 1px solid var(--border-subtle) !important;
    border-radius: 8px !important;
    padding: 14px !important;
    font-size: 1rem !important;
    background-color: var(--c-white) !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

.wc-block-components-text-input input:focus {
    border-color: var(--c-navy) !important;
    box-shadow: 0 0 0 3px rgba(43, 44, 83, 0.1) !important;
}

/* Floating Labels color */
.wc-block-components-floating-label-input__label {
    color: var(--c-grey);
}

/* 4. SECTIONS (Contact, Billing, Payment) */
.wc-block-components-checkout-step {
    border: none !important; /* Remove default block borders */
    margin-bottom: 40px;
}

.wc-block-components-title {
    font-size: 1.5rem;
    color: var(--c-navy);
    margin-bottom: 20px;
    font-weight: 700;
}

/* 5. ORDER SUMMARY SIDEBAR (The Right Column) */
.wc-block-components-sidebar {
    background-color: var(--bg-surface);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--border-subtle);
}

/* Product Row in Summary */
.wc-block-components-order-summary-item {
    border-bottom: 1px solid rgba(43, 44, 83, 0.05);
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.wc-block-components-product-name {
    color: var(--c-navy);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
}

.wc-block-formatted-money-amount {
    color: var(--c-grey);
    font-weight: 600;
}

/* 6. BUTTONS (Place Order) */
.wc-block-components-checkout-place-order-button,
.wc-block-cart__submit-button {
    background-color: var(--c-navy) !important;
    color: white !important;
    border-radius: 8px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    padding: 16px 32px !important;
    width: 100%;
    transition: transform 0.2s ease;
}

.wc-block-components-checkout-place-order-button:hover,
.wc-block-cart__submit-button:hover {
    background-color: #3b3c6e !important;
    transform: translateY(-2px);
}

/* 7. CART PAGE TABLE */
.wc-block-cart-items {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    overflow: hidden;
}

.wc-block-cart-items__header {
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
}

.wc-block-cart-items__header th {
    color: var(--c-navy);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 16px;
}

/* 8. MOBILE RESPONSIVENESS */
@media (max-width: 1000px) {
    /* Stack the sidebar on mobile/tablet */
    .wc-block-checkout {
        display: block !important;
    }
    
    .wc-block-components-sidebar {
        margin-top: 40px;
    }
}

/* --- ORDER RECEIVED (THANK YOU PAGE) --- */

/* 1. The "Success" Banner */
.woocommerce-order-received .woocommerce-thankyou-order-received {
    background-color: var(--bg-surface);
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-card);
    padding: 30px;
    text-align: center;
    color: var(--c-navy);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 40px;
}

/* Add a Checkmark Icon before the text */
.woocommerce-order-received .woocommerce-thankyou-order-received::before {
    content: "✓";
    display: block;
    font-size: 3rem;
    color: var(--c-navy);
    margin-bottom: 10px;
    line-height: 1;
}

/* 2. Order Details List */
ul.order_details {
    display: flex;
    justify-content: center;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 40px;
    flex-wrap: wrap; /* Wrap on mobile */
}

ul.order_details li {
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--c-grey);
    border-right: 1px solid var(--border-subtle);
    padding-right: 40px;
}

ul.order_details li:last-child {
    border: none;
    padding-right: 0;
}

ul.order_details li strong {
    display: block;
    font-size: 1.1rem;
    color: var(--c-navy);
    margin-top: 5px;
    font-weight: 700;
}

/* 3. Mobile Fix for Order Details */
@media (max-width: 600px) {
    ul.order_details {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    ul.order_details li {
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
        padding-right: 0;
        padding-bottom: 20px;
    }
}

/* --- REMOVE BREADCRUMBS --- */

/* Option A: Hide on Single Product Pages only */
.single-product .woocommerce-breadcrumb {
    display: none !important;
}

/* --- HIDE SKU & CATEGORY METADATA --- */

.single-product .product_meta {
    display: none !important;
}

/* --- HIDE SUGGESTED PRICE --- */
.single-product .summary .price {
    display: none !important;
}


/* --- RELATED PRODUCTS (GIVING SUGGESTIONS) --- */

/* 1. Section Container */
.related.products {
    margin-top: 80px;
    border-top: 1px solid var(--border-subtle);
    padding-top: 60px;
    width: 100%;
    clear: both;
}

/* Section Title */
.related.products > h2 {
    font-size: 1.8rem;
    color: var(--c-navy);
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
    text-transform: none; /* Override default caps if any */
}

/* 2. Force Modern Grid Layout */
.related.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
    gap: 30px !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Reset any floating pseudo-elements */
.related.products ul.products::before,
.related.products ul.products::after {
    display: none !important;
}

/* 3. The Product Card */
.related.products li.product {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    background: var(--c-white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 25px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(43, 44, 83, 0.1);
    border-color: var(--c-navy);
}

/* 4. Product Image */
.related.products li.product img {
    width: 100% !important;
    height: 220px !important; /* Uniform height for tidiness */
    object-fit: cover !important;
    margin-bottom: 15px !important;
    border-bottom: 1px solid var(--border-subtle);
}

/* 5. Title & Price */
.related.products li.product .woocommerce-loop-product__title {
    font-size: 1.1rem !important;
    color: var(--c-navy);
    padding: 0 20px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
    min-height: 3em; /* Ensures buttons align even if titles vary in length */
    display: flex;
    align-items: center;
    justify-content: center;
}

.related.products li.product .price {
    color: var(--c-grey) !important;
    font-weight: 600;
    font-size: 0.95rem !important;
    margin-bottom: 15px;
    display: block;
}

/* 6. The "Donate Now" Button */
.related.products li.product .button {
    background-color: var(--bg-surface) !important;
    color: var(--c-navy) !important;
    border: 1px solid var(--border-subtle) !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    width: auto !important;
    display: inline-block !important;
    margin-top: auto; /* Pushes button to bottom */
    text-transform: uppercase;
    font-size: 0.85rem !important;
    letter-spacing: 0.05em;
    text-decoration: none;
}

.related.products li.product .button:hover {
    background-color: var(--c-navy) !important;
    color: white !important;
}

/* 7. Hide Clutter (Wishlist & Quick View) */
.related.products .tinv-wraper, /* Wishlist Heart */
.related.products .woosq-btn,   /* Quick View Button */
.related.products .added_to_cart { /* "View Cart" link after adding */
    display: none !important;
}
/* --- RELATED PRODUCTS DESKTOP FIX --- */

/* Only apply this on screens larger than mobile (tablets/desktops) */
@media (min-width: 768px) {
    
    /* 1. Force the container to be wide enough to hold columns */
    .related.products ul.products {
        display: grid !important;
        /* Fits as many 250px cards as possible (usually 3 or 4) */
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important; 
        gap: 30px !important;
        width: 100% !important;
    }

    /* 2. CRITICAL: Tell the cards to stop forcing full width */
    .related.products li.product {
        width: auto !important; /* Let the grid dictate the width */
        margin-right: 0 !important; /* Remove old float margins */
        margin-bottom: 0 !important;
    }
}

/* Optional: Hide "Suggested Price" text in related products too, keeping just the amount */
.related.products .price {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--c-navy) !important;
}

/* --- IMPACT GRID STYLES (Paste into Custom CSS or keep here) --- */

.tca-campaign-section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(43, 44, 83, 0.1);
}

.tca-campaign-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.tca-camp-title {
    color: #2b2c53; /* Navy */
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.tca-camp-desc {
    font-size: 1.1rem;
    color: #4b4b4b; /* Grey */
    line-height: 1.6;
}

/* GRID LAYOUT */
.tca-impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* CARD DESIGN */
.tca-impact-card {
    background: #ffffff;
    border: 1px solid rgba(43, 44, 83, 0.1);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.tca-impact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(43, 44, 83, 0.08);
    border-color: #2b2c53;
}

/* HIGHLIGHT CARD (Pop out specific tiers) */
.tca-card-highlight {
    background: #f7f8fa; /* Light Surface Color */
    border-color: #2b2c53;
}

/* ELEMENTS */
.tca-card-badge {
    background: rgba(43, 44, 83, 0.05);
    color: #2b2c53;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.tca-card-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.tca-card-title {
    color: #2b2c53;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.tca-card-body {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 30px;
    flex-grow: 1; /* Pushes button to bottom */
}

/* BUTTONS */
.tca-donate-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #2b2c53;
    border-radius: 8px;
    color: #2b2c53;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.tca-donate-btn:hover {
    background: rgba(43, 44, 83, 0.05);
    color: #2b2c53;
}

/* Solid Button for Highlight Cards */
.tca-donate-btn.btn-solid {
    background: #2b2c53;
    color: white;
}

.tca-donate-btn.btn-solid:hover {
    background: #3b3c6e;
    transform: scale(1.02);
}

/* MOBILE */
@media (max-width: 768px) {
    .tca-camp-title { font-size: 1.8rem; }
    .tca-impact-grid { grid-template-columns: 1fr; }
}
</style>

/* Option B: Hide Everywhere (Uncomment if you want them gone from the Shop page too) */
/*
.woocommerce-breadcrumb {
    display: none !important;
}
*/

/* --- LOGIN / REGISTER PAGE STYLING --- */

/* Center the Container */
#customer_login {
    max-width: 900px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Side by side on desktop */
    gap: 40px;
    padding: 0 20px;
}

/* Style the Columns (Login vs Register) as Cards */
.u-column1, .u-column2 {
    background: var(--c-white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    padding: 40px;
    box-shadow: 0 4px 12px rgba(43, 44, 83, 0.04);
}

.u-column1 h2, .u-column2 h2 {
    color: var(--c-navy);
    font-size: 1.5rem;
    margin-bottom: 24px;
    text-align: center;
}

/* Mobile Stack */
@media (max-width: 768px) {
    #customer_login {
        grid-template-columns: 1fr;
    }
}



/* --- TEXT BLEED PREVENTION --- */

/* 1. Force the layout to respect the viewport edge */
.woocommerce div.product {
    max-width: 100vw; /* Never wider than the screen */
    overflow-x: hidden; /* Hide anything that tries to overflow */
}

/* 2. Add "Air" to the text descriptions so they don't touch the edge */
.woocommerce-product-details__short-description,
.woocommerce-Tabs-panel--description,
.product_meta {
    padding-right: 15px !important; /* The Safety Gap */
}

/* 3. Fix the Donation Input Math (The likely culprit) */
.woonp-input,
.single_add_to_cart_button {
    box-sizing: border-box !important; /* Keeps padding inside the box */
    max-width: 100% !important;
}

/* --- RESPONSIVE FOOTER FIX --- */
/* Paste this at the VERY BOTTOM of main.css */

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr; /* 2x2 grid on tablets */
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Stack vertically on phones */
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-links a {
        margin: 0 10px;
    }
}



