/* =====================================================
   VitalAlign — Main Stylesheet v1.0
   Olive green palette · Playfair Display + Lato
   ===================================================== */

/* -------------------------------------------------------
   CSS Custom Properties (overridden by Customizer inline)
   ----------------------------------------------------- */
:root {
    --color-primary:       #6e6e3a;
    --color-primary-dark:  #4a4a20;
    --color-primary-light: #8a8a50;
    --color-btn:           #3c3c3c;
    --color-btn-hover:     #555;
    --color-bg:            #d8d8c4;
    --color-bg-light:      #e4e4d4;
    --color-bg-white:      #ffffff;
    --color-text:          #2a2a2a;
    --color-text-light:    #666;
    --color-accent-red:    #c0392b;
    --color-border:        rgba(0,0,0,0.1);
    --font-heading:        'Playfair Display', Georgia, serif;
    --font-body:           'Lato', Arial, Helvetica, sans-serif;
    --max-width:           1200px;
    --header-height:       72px;
    --radius:              5px;
    --shadow:              0 2px 12px rgba(0,0,0,0.08);
    --shadow-hover:        0 8px 28px rgba(0,0,0,0.15);
    --transition:          0.22s ease;
}

/* -------------------------------------------------------
   Reset & Base
   ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--color-primary-dark); text-decoration: underline; transition: color var(--transition); }
a:hover { color: var(--color-primary); }
a:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.25;
    color: var(--color-primary-dark);
    font-weight: 700;
}

p { margin-bottom: 1rem; }
ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* -------------------------------------------------------
   HEADER
   ----------------------------------------------------- */
.site-header {
    background: var(--color-bg-white);
    border-bottom: 3px solid var(--color-primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    transition: box-shadow var(--transition);
}

body.scrolled .site-header {
    box-shadow: 0 3px 20px rgba(0,0,0,0.12);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 1.5rem;
}

/* Logo */
.header-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    gap: 0.1rem;
}

.header-logo .custom-logo { max-height: 52px; width: auto; }
.header-logo .custom-logo-link { display: block; }

.site-name-link { text-decoration: none; }
.site-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--color-primary-dark);
    font-weight: 700;
}

.header-phone a {
    color: var(--color-primary-dark);
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
    letter-spacing: 0.02em;
}
.header-phone a::before { content: "☎ "; font-size: 0.75rem; }
.header-phone a:hover { color: var(--color-primary); }

/* Nav */
.main-nav { display: flex; align-items: center; }

#primary-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.15rem;
    margin: 0;
    padding: 0;
}

#primary-menu > li { position: relative; }

#primary-menu > li > a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
    border-radius: var(--radius);
    transition: background var(--transition), color var(--transition);
    position: relative;
}

#primary-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transition: transform var(--transition);
    border-radius: 1px;
}

#primary-menu > li > a:hover::after,
#primary-menu > .current-menu-item > a::after,
#primary-menu > .current_page_item > a::after { transform: scaleX(1); }

#primary-menu > li > a:hover,
#primary-menu > .current-menu-item > a,
#primary-menu > .current_page_item > a { color: var(--color-primary-dark); }

/* Dropdowns */
#primary-menu .sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 200px;
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-primary);
    box-shadow: var(--shadow-hover);
    z-index: 999;
    list-style: none;
    padding: 0.4rem 0;
    border-radius: 0 0 var(--radius) var(--radius);
}

#primary-menu li:hover > .sub-menu,
#primary-menu li:focus-within > .sub-menu { display: block; }

#primary-menu .sub-menu li a {
    display: block;
    padding: 0.5rem 1.1rem;
    font-size: 0.85rem;
    color: var(--color-text);
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
    white-space: nowrap;
}

#primary-menu .sub-menu li a:hover {
    background: var(--color-bg);
    color: var(--color-primary-dark);
}

/* Hamburger toggle */
.menu-toggle {
    display: none;
    background: none;
    border: 2px solid var(--color-primary);
    border-radius: var(--radius);
    cursor: pointer;
    padding: 6px 8px;
    flex-direction: column;
    gap: 4px;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-primary-dark);
    border-radius: 1px;
    transition: var(--transition);
}

/* -------------------------------------------------------
   HERO SECTION
   ----------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: 500px;
    background-color: #6a7060;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: stretch;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: #0e0e06;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    width: 100%;
}

.hero-content { flex: 1; min-width: 0; }

.hero-heading {
    font-size: clamp(2.25rem, 5.5vw, 4rem);
    color: #fff;
    font-family: var(--font-heading);
    margin-bottom: 1.25rem;
    text-shadow: 2px 3px 10px rgba(0,0,0,0.5);
    line-height: 1.15;
}

.hero-subheading {
    font-size: 1rem;
    color: #fff;
    line-height: 1.75;
    max-width: 560px;
    background: rgba(0,0,0,0.45);
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    backdrop-filter: blur(3px);
    margin-bottom: 1.5rem;
}

.btn-hero-cta {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--color-primary);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius);
    letter-spacing: 0.03em;
    transition: background var(--transition), transform var(--transition);
}
.btn-hero-cta:hover { background: var(--color-primary-dark); color: #fff; transform: translateY(-2px); text-decoration: none; }

/* -------------------------------------------------------
   OFFICE HOURS CARD
   ----------------------------------------------------- */
.office-hours-card {
    background: var(--color-primary);
    color: #fff;
    min-width: 320px;
    max-width: 400px;
    flex-shrink: 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 10px 40px rgba(0,0,0,0.35);
}

.hours-card-title {
    text-align: center;
    padding: 1rem 1.5rem 0.85rem;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    background: rgba(0,0,0,0.12);
}

.hours-table { width: 100%; border-collapse: collapse; }

.hours-table tr { border-bottom: 1px solid rgba(255,255,255,0.12); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table tr:nth-child(even) { background: rgba(0,0,0,0.08); }

.hours-table td {
    padding: 0.55rem 1.25rem;
    font-size: 0.88rem;
    color: #fff;
    font-family: var(--font-body);
}

.hours-day { font-weight: 400; }
.hours-time { text-align: right; white-space: nowrap; font-weight: 600; opacity: 0.95; }

.hours-card-phone {
    text-align: center;
    padding: 0.85rem 1.25rem 1rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    background: rgba(0,0,0,0.12);
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.hours-card-phone a { color: #fff; text-decoration: none; }
.hours-card-phone a:hover { text-decoration: underline; }

.office-hours-card--standalone { max-width: 100%; width: 100%; }

/* -------------------------------------------------------
   CTA BUTTONS ROW
   ----------------------------------------------------- */
.cta-row {
    background: var(--color-btn);
    padding: 0;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    flex: 1;
    min-width: 200px;
    border-radius: 0;
    padding: 1.1rem 1rem;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.1);
    text-transform: uppercase;
}

.cta-buttons .btn:last-child { border-right: none; }
.cta-buttons .btn:hover { background: var(--color-btn-hover); transform: none; }

/* -------------------------------------------------------
   BUTTONS
   ----------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
    line-height: 1.3;
    letter-spacing: 0.02em;
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }

.btn-dark { background: var(--color-btn); color: #fff; }
.btn-dark:hover { background: var(--color-btn-hover); color: #fff; }

.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; }

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: #fff; }

.btn-upload { background: var(--color-btn); color: #fff; font-size: 0.95rem; }
.btn-upload:hover { background: var(--color-btn-hover); color: #fff; }

.btn-full { display: flex; width: 100%; justify-content: center; padding: 1rem 1.5rem; }

.btn-text-link {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.btn-text-link:hover { text-decoration: underline; }

/* -------------------------------------------------------
   SECTION HEADERS
   ----------------------------------------------------- */
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); color: #4a4a20; margin-bottom: 0.6rem; }
.section-header p { color: #666; max-width: 560px; margin: 0 auto; font-size: 0.97rem; }
.section-header--light h2 { color: #fff !important; }
.section-header--light p { color: rgba(255,255,255,0.8) !important; }

.olive-line {
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-primary);
    margin: 0.85rem auto 0;
    border-radius: 2px;
}
.olive-line--light { background: rgba(255,255,255,0.5); }

/* -------------------------------------------------------
   SERVICES SECTION
   ----------------------------------------------------- */
.services-section {
    padding: 4rem 0;
    background: #f2f2e8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: #ffffff;
    border: 1px solid #e4e4d8;
    border-radius: 14px;
    padding: 2.25rem 2rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before { display: none; }

.service-card:hover {
    box-shadow: 0 10px 32px rgba(0,0,0,0.13);
    transform: translateY(-5px);
    border-color: #b8b890;
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    background: rgba(110,110,58,0.1);
    border-radius: 14px;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    line-height: 1;
}

.service-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #4a4a20;
    margin-bottom: 0.6rem;
    font-family: var(--font-heading);
}

.service-desc {
    color: #666;
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 1.1rem;
    color: #6e6e3a;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: gap var(--transition);
}
.service-link:hover { text-decoration: underline; gap: 0.45rem; }

/* -------------------------------------------------------
   ABOUT SECTION
   ----------------------------------------------------- */
.about-section {
    padding: 4rem 0;
    background: #e8e8d8;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    border-radius: 8px;
    box-shadow: var(--shadow-hover);
    width: 100%;
    object-fit: cover;
}

.about-image-placeholder {
    background: #6e6e3a;
    border-radius: 8px;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.85);
    text-align: center;
    padding: 2rem;
    width: 100%;
}

.about-image-placeholder span { font-size: 4rem; margin-bottom: 1rem; display: block; }
.about-image-placeholder p { font-size: 0.88rem; margin: 0; max-width: 220px; line-height: 1.5; }

.about-content .section-label {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    padding: 0.2rem 0.9rem;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 2px;
    margin-bottom: 1rem;
}

.about-content h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--color-primary-dark);
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.about-content p {
    color: var(--color-text-light);
    font-size: 0.97rem;
    line-height: 1.8;
}

/* -------------------------------------------------------
   TESTIMONIALS SECTION
   ----------------------------------------------------- */
.testimonials-section {
    padding: 4rem 0;
    background: #4a4a20;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 2rem 1.75rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.22);
    position: relative;
}

.testimonial-stars {
    color: #f4b942;
    font-size: 1.05rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.85rem;
}

.testimonial-quote {
    color: #444;
    font-size: 0.93rem;
    line-height: 1.78;
    margin-bottom: 1.35rem;
    font-style: italic;
    position: relative;
    padding-top: 1.5rem;
}

.testimonial-quote::before {
    content: '\201C';
    position: absolute;
    top: -0.6rem;
    left: 0;
    font-size: 4.5rem;
    color: var(--color-primary);
    opacity: 0.25;
    font-family: var(--font-heading);
    line-height: 1;
    font-style: normal;
}

.testimonial-author {
    font-weight: 700;
    color: var(--color-primary-dark);
    font-size: 0.9rem;
}

.testimonial-role {
    color: #999;
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

/* -------------------------------------------------------
   BRANDING SECTION
   ----------------------------------------------------- */
.branding-section {
    background: var(--color-bg-light);
    padding: 2.5rem 0;
    text-align: center;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.branding-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.branding-logo .custom-logo { max-height: 90px; width: auto; margin: 0 auto; }

.branding-phone a {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    text-decoration: none;
}
.branding-phone a:hover { color: var(--color-primary); }

/* -------------------------------------------------------
   ANNOUNCEMENT BAR
   ----------------------------------------------------- */
.announcement-bar {
    background: var(--color-bg-light);
    padding: 1rem 0;
    text-align: center;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.announcement-text { font-size: 0.92rem; color: var(--color-text); line-height: 1.6; }
.announcement-text a { color: var(--color-accent-red); font-weight: 700; }
.announcement-text a:hover { text-decoration: none; }

/* -------------------------------------------------------
   UPLOAD BAR
   ----------------------------------------------------- */
.upload-bar { padding: 0.75rem 0; background: var(--color-bg); }

/* -------------------------------------------------------
   HOME BLOG
   ----------------------------------------------------- */
.home-blog-section { padding: 4rem 0; background: var(--color-bg); }

.home-blog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.home-blog-label {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 0.35rem 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 2px;
}

.home-blog-more {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    text-decoration: none;
}
.home-blog-more:hover { color: var(--color-primary); }

.home-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.75rem;
}

.home-blog-card {
    background: var(--color-bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow var(--transition), transform var(--transition);
}
.home-blog-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }

.home-blog-thumb img { width: 100%; height: 190px; object-fit: cover; }
.home-blog-thumb:hover img { opacity: 0.9; }

.home-blog-card-body { padding: 1.25rem 1.4rem 1.5rem; }
.home-blog-date { font-size: 0.78rem; color: #999; margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.05em; }
.home-blog-card-body h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.home-blog-card-body h3 a { text-decoration: none; color: var(--color-primary-dark); }
.home-blog-card-body h3 a:hover { color: var(--color-primary); }
.home-blog-card-body p { font-size: 0.88rem; color: var(--color-text-light); line-height: 1.65; }

/* -------------------------------------------------------
   HOURS & BOOKING PAGE
   ----------------------------------------------------- */
.hours-booking-section { padding: 3rem 0; }

.hours-booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.booking-widget-wrapper {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-bg-white);
    box-shadow: var(--shadow);
}

.booking-embed { min-height: 320px; }
.booking-embed iframe { width: 100%; border: none; }

.booking-placeholder {
    padding: 2.5rem;
    text-align: center;
    color: var(--color-text-light);
    font-style: italic;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.booking-placeholder::before { content: "📅"; font-size: 2.5rem; font-style: normal; }

.booking-cta-banner {
    background: var(--color-btn);
    text-align: center;
    padding: 0.9rem 1.25rem;
}

.booking-cta-banner a { color: #fff; font-weight: 700; font-size: 0.9rem; text-decoration: none; }
.booking-cta-banner a:hover { text-decoration: underline; color: #fff; }

/* New patients */
.new-patients-section {
    background: var(--color-bg-light);
    padding: 1.35rem 0;
    text-align: center;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.new-patients-text { font-size: 0.95rem; margin-bottom: 0.4rem; }
.new-patients-note { font-size: 0.875rem; color: var(--color-text-light); max-width: 720px; margin: 0 auto; }

/* -------------------------------------------------------
   GENERAL PAGE / INNER PAGES
   ----------------------------------------------------- */
.page-content { padding: 3rem 0 4rem; }
.page-hero-banner {
    background: var(--color-primary-dark);
    padding: 3rem 0;
    text-align: center;
    color: #fff;
}
.page-hero-banner h1 { color: #fff; font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 0.5rem; }
.page-hero-banner .page-hero-sub { color: rgba(255,255,255,0.75); font-size: 1rem; }

.page-header { margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 3px solid var(--color-primary); }
.page-title { font-size: clamp(1.6rem, 3vw, 2.25rem); color: var(--color-primary-dark); }
.page-body { max-width: 820px; }

.entry-content h2 { margin-top: 2rem; margin-bottom: 0.75rem; font-size: 1.5rem; }
.entry-content h3 { margin-top: 1.5rem; margin-bottom: 0.5rem; font-size: 1.2rem; }
.entry-content ul, .entry-content ol { margin-bottom: 1.25rem; }
.entry-content li { margin-bottom: 0.35rem; }
.entry-content blockquote {
    border-left: 4px solid var(--color-primary);
    padding: 0.75rem 1.25rem;
    margin: 1.5rem 0;
    background: var(--color-bg-light);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
}

/* -------------------------------------------------------
   BLOG / ARCHIVE
   ----------------------------------------------------- */
.blog-card {
    background: var(--color-bg-white);
    margin-bottom: 2.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-hover); }
.blog-card-image img { width: 100%; max-height: 320px; object-fit: cover; }
.blog-card-content { padding: 1.5rem 1.75rem 1.75rem; }
.blog-card-title { font-size: 1.5rem; margin-bottom: 0.4rem; }
.blog-card-title a { text-decoration: none; color: var(--color-primary-dark); }
.blog-card-title a:hover { color: var(--color-primary); }
.blog-card-meta { font-size: 0.8rem; color: var(--color-text-light); margin-bottom: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* -------------------------------------------------------
   SINGLE POST
   ----------------------------------------------------- */
.single-post { padding: 3rem 0 4rem; }
.post-title { font-size: clamp(1.6rem, 3vw, 2.5rem); margin-bottom: 0.5rem; }
.post-meta { font-size: 0.82rem; color: var(--color-text-light); margin-bottom: 1.5rem; }
.post-meta span + span::before { content: ' · '; }
.post-thumbnail { margin-bottom: 2rem; border-radius: 8px; overflow: hidden; }
.post-thumbnail img { width: 100%; }
.post-content p { margin-bottom: 1.1rem; }
.post-footer { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.post-nav .nav-links { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.post-nav .nav-previous a, .post-nav .nav-next a { text-decoration: none; color: var(--color-primary-dark); font-weight: 700; font-size: 0.9rem; }

/* -------------------------------------------------------
   PAGINATION
   ----------------------------------------------------- */
.pagination { margin-top: 2.5rem; text-align: center; }
.pagination .nav-links { display: flex; justify-content: center; gap: 0.4rem; flex-wrap: wrap; }
.pagination a, .pagination span.current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 0.6rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
}
.pagination a { background: var(--color-bg-white); color: var(--color-primary-dark); border: 1px solid var(--color-border); }
.pagination a:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.pagination span.current { background: var(--color-primary); color: #fff; border: 1px solid var(--color-primary); }

/* -------------------------------------------------------
   CONTACT PAGE
   ----------------------------------------------------- */
.contact-page { padding: 3rem 0 5rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; margin-top: 2.5rem; }
.contact-info-card {
    background: var(--color-primary);
    color: #fff;
    border-radius: 8px;
    padding: 2rem;
}
.contact-info-card h3 { color: #fff; font-size: 1.1rem; margin-bottom: 1.25rem; }
.contact-info-item { display: flex; gap: 0.85rem; margin-bottom: 1.25rem; align-items: flex-start; }
.contact-info-icon { font-size: 1.1rem; margin-top: 0.1rem; flex-shrink: 0; }
.contact-info-item a { color: rgba(255,255,255,0.9); }
.contact-info-item a:hover { color: #fff; }
.contact-hours-mini { margin-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 1.25rem; }
.contact-hours-mini h4 { color: rgba(255,255,255,0.8); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.75rem; }
.contact-hours-mini ul { list-style: none; padding: 0; }
.contact-hours-mini li { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.82rem; color: rgba(255,255,255,0.8); padding: 0.25rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.map-placeholder { margin-top: 1.25rem; background: rgba(0,0,0,0.2); border-radius: var(--radius); min-height: 160px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); font-size: 0.85rem; font-style: italic; }

.contact-form-wrap { background: var(--color-bg-white); border-radius: 8px; padding: 2rem; box-shadow: var(--shadow); }
.contact-form-wrap h3 { margin-bottom: 1.5rem; font-size: 1.3rem; }
.form-field { margin-bottom: 1.25rem; }
.form-field label { display: block; font-weight: 700; font-size: 0.85rem; color: #333; margin-bottom: 0.35rem; }
.form-field input, .form-field textarea, .form-field select {
    width: 100%; padding: 0.65rem 0.9rem; border: 2px solid #e0e0e0; border-radius: var(--radius);
    font-size: 0.92rem; font-family: var(--font-body); color: var(--color-text);
    transition: border-color var(--transition);
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--color-primary); outline: none; }
.form-field textarea { resize: vertical; }
.form-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* -------------------------------------------------------
   SERVICES PAGE
   ----------------------------------------------------- */
.services-page { padding-bottom: 5rem; }
.services-page .services-grid .service-card { padding: 2.25rem 2rem; }
.services-cta-section {
    background: var(--color-primary);
    text-align: center;
    padding: 4rem 0;
    color: #fff;
}
.services-cta-section h2 { color: #fff; margin-bottom: 0.75rem; }
.services-cta-section p { color: rgba(255,255,255,0.8); max-width: 500px; margin: 0 auto 2rem; }

/* -------------------------------------------------------
   ABOUT PAGE
   ----------------------------------------------------- */
.about-page { padding-bottom: 5rem; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin-top: 1.5rem; }
.value-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--color-bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}
.value-icon { font-size: 2.5rem; display: block; margin-bottom: 0.85rem; }
.value-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.88rem; color: var(--color-text-light); margin: 0; }

/* -------------------------------------------------------
   FOOTER
   ----------------------------------------------------- */
.site-footer {
    background: #2a2a16;
    color: rgba(255,255,255,0.8);
}

.footer-top { padding: 3.5rem 0 2.5rem; }

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.3fr;
    gap: 3rem;
}

.footer-col-title {
    color: #fff;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-logo { margin-bottom: 0.75rem; }
.footer-logo .custom-logo { max-height: 55px; width: auto; filter: brightness(10); opacity: 0.85; }
.footer-site-name { color: #fff; text-decoration: none; font-weight: 700; font-size: 1.05rem; }

.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-bottom: 1.1rem; line-height: 1.6; }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-bottom: 0.6rem;
    font-size: 0.84rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

.footer-contact-item a { color: rgba(255,255,255,0.8); text-decoration: none; }
.footer-contact-item a:hover { color: #fff; }
.footer-contact-icon { flex-shrink: 0; font-size: 0.85rem; margin-top: 0.15rem; }

.footer-social {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.1rem;
    flex-wrap: wrap;
}

.social-link {
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    transition: background var(--transition), color var(--transition);
    line-height: 1;
}

.social-link:hover { background: var(--color-primary); color: #fff; text-decoration: none; }

/* Footer nav */
.footer-nav-list,
.site-footer ul,
.site-footer .menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-nav-list li,
.site-footer ul li,
.site-footer .menu li { margin-bottom: 0 !important; list-style: none !important; }

.footer-nav-list li a,
.site-footer ul li a,
.site-footer .menu li a {
    display: block;
    padding: 0.3rem 0;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: color var(--transition), padding-left var(--transition);
}

.footer-nav-list li a:hover,
.site-footer ul li a:hover { color: #fff; padding-left: 0.35rem; }

/* Footer hours */
.footer-hours-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 1rem !important;
}

.footer-hours-list li {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.3rem 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-wrap: wrap;
}

.footer-hours-day { font-weight: 400; }
.footer-hours-time { white-space: nowrap; color: rgba(255,255,255,0.8); font-weight: 600; }

.footer-hours-phone { font-size: 1.05rem; font-weight: 700; }
.footer-hours-phone a { color: rgba(255,255,255,0.9); text-decoration: none; }
.footer-hours-phone a:hover { color: #fff; }

/* Footer bottom bar */
.footer-bottom {
    padding: 1.1rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-copy a { color: rgba(255,255,255,0.6); }
.footer-credit { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-credit a { color: rgba(255,255,255,0.5); }

/* -------------------------------------------------------
   404
   ----------------------------------------------------- */
.error-404 { padding: 5rem 0; text-align: center; }
.error-content h1 { font-size: clamp(1.75rem, 4vw, 3rem); margin-bottom: 1rem; }
.error-content p { max-width: 480px; margin: 0 auto 2rem; color: var(--color-text-light); }

/* -------------------------------------------------------
   WP ALIGNMENT
   ----------------------------------------------------- */
.alignleft  { float: left;  margin: 0 1.75rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.75rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.wp-caption-text { font-size: 0.82rem; color: var(--color-text-light); text-align: center; margin-top: 0.35rem; }

.screen-reader-text {
    clip: rect(1px,1px,1px,1px);
    height: 1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* -------------------------------------------------------
   RESPONSIVE
   ----------------------------------------------------- */
@media ( max-width: 1024px ) {
    .footer-top-grid { grid-template-columns: 1fr 1fr; }
    .footer-col--hours { grid-column: 1 / -1; }
    .about-grid { gap: 2.5rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media ( max-width: 900px ) {
    .hero-inner { flex-direction: column; align-items: stretch; }
    .office-hours-card { max-width: 100%; }
    .hours-booking-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr 1fr; }
}

@media ( max-width: 768px ) {
    :root { --header-height: 62px; }

    .menu-toggle { display: flex; }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--color-bg-white);
        border-top: 2px solid var(--color-primary);
        box-shadow: 0 6px 20px rgba(0,0,0,0.15);
        padding: 1rem 1.5rem 1.5rem;
        display: none;
        z-index: 999;
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }

    .main-nav.is-open { display: block; }

    #primary-menu { flex-direction: column; align-items: stretch; gap: 0; }
    #primary-menu > li > a { padding: 0.7rem 0; border-radius: 0; border-bottom: 1px solid var(--color-border); }
    #primary-menu > li > a::after { display: none; }
    #primary-menu .sub-menu { position: static; box-shadow: none; border: none; padding-left: 1rem; display: none; }
    #primary-menu .sub-menu.open { display: block; }

    .cta-buttons { flex-direction: column; }
    .cta-buttons .btn { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }

    .testimonials-grid, .services-grid, .home-blog-grid { grid-template-columns: 1fr !important; }
    .footer-top-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-col--hours { grid-column: auto; }
    .values-grid { grid-template-columns: 1fr; }
    .form-field-row { grid-template-columns: 1fr; }
}

@media ( max-width: 480px ) {
    .header-logo .custom-logo { max-height: 38px; }
    .hero-section { min-height: 300px; }
    .hero-heading { font-size: 1.75rem; }
    .services-grid { grid-template-columns: 1fr; }
    .next-steps-grid { grid-template-columns: 1fr 1fr; }
    .stats-strip-grid { grid-template-columns: 1fr 1fr; }
    .trust-bar-inner { flex-direction: column; gap: 0.75rem; }
    .trust-bar-list { flex-wrap: wrap; gap: 0.4rem; }
}

/* -------------------------------------------------------
   ANNOUNCEMENT TOP BAR (site-wide, above header)
   ----------------------------------------------------- */
.announcement-top-bar {
    background: var(--color-primary-dark);
    color: rgba(255,255,255,0.92);
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
    padding: 0.55rem 1rem;
    letter-spacing: 0.01em;
    line-height: 1.5;
}

.announcement-top-bar a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
}

.announcement-top-bar a:hover { text-decoration: none; color: #fff; }

/* -------------------------------------------------------
   HERO — visual improvements
   ----------------------------------------------------- */
/* Better default gradient when no image is set */
.hero-section:not([style*="background-image"]) {
    background: linear-gradient(135deg, #4a4a20 0%, #6e6e3a 50%, #5a6040 100%);
}

/* Cleaner subheading — remove the dark box */
.hero-subheading {
    background: none !important;
    backdrop-filter: none !important;
    padding: 0 !important;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.65);
    font-size: 1.05rem !important;
}

/* -------------------------------------------------------
   TRUST / INSURANCE BAR
   ----------------------------------------------------- */
.trust-bar {
    background: #fff;
    border-top: 1px solid #e8e8d8;
    border-bottom: 1px solid #e8e8d8;
    padding: 0.9rem 0;
}

.trust-bar-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 2rem;
}

.trust-bar-title {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--color-primary-dark);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.trust-bar-title svg { color: var(--color-primary); flex-shrink: 0; }

.trust-bar-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.trust-bar-list li {
    font-size: 0.82rem;
    color: #666;
    padding: 0 0.85rem;
    border-right: 1px solid #ddd;
    white-space: nowrap;
    list-style: none !important;
}

.trust-bar-list li:last-child { border-right: none; }
.trust-bar-list li:first-child { padding-left: 0; }

/* -------------------------------------------------------
   ABOUT SECTION — improved placeholder + features
   ----------------------------------------------------- */
.about-image-placeholder {
    background: linear-gradient(135deg, #5a5a28, #7a7a42);
    border-radius: 8px;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.9);
    text-align: center;
    padding: 2.5rem;
    width: 100%;
}

.about-placeholder-icon {
    font-size: 5rem;
    margin-bottom: 1.25rem;
    opacity: 0.7;
    line-height: 1;
}

.about-image-placeholder p {
    font-size: 0.88rem;
    margin: 0;
    max-width: 220px;
    line-height: 1.6;
    color: rgba(255,255,255,0.75);
}

.about-features {
    margin: 1.25rem 0 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.92rem;
    color: var(--color-text);
    font-weight: 500;
}

.about-feature-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 900;
    flex-shrink: 0;
}

/* -------------------------------------------------------
   STATS STRIP
   ----------------------------------------------------- */
.stats-strip {
    background: var(--color-primary-dark);
    padding: 2.75rem 0;
}

.stats-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
}

.stat-item {
    padding: 0.5rem 1rem;
    border-right: 1px solid rgba(255,255,255,0.12);
}

.stat-item:last-child { border-right: none; }

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.stat-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-weight: 600;
}

/* -------------------------------------------------------
   PAGE HERO BANNER — improved gradient
   ----------------------------------------------------- */
.page-hero-banner {
    background: linear-gradient(135deg, #3a3a18 0%, #5a5a28 60%, #4a4a20 100%) !important;
    padding: 3.5rem 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
}

.page-hero-banner h1 {
    position: relative;
    color: #fff;
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    margin-bottom: 0.6rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.page-hero-banner .page-hero-sub {
    position: relative;
    color: rgba(255,255,255,0.78);
    font-size: 1rem;
    max-width: 560px;
    margin: 0 auto;
}

.page-hero-banner--payment::after {
    content: '🔒';
    display: block;
    font-size: 1.75rem;
    margin-top: 0.75rem;
    opacity: 0.8;
    position: relative;
}

/* -------------------------------------------------------
   HOME BLOG — no thumbnail placeholder
   ----------------------------------------------------- */
.home-blog-thumb--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 190px;
    background: linear-gradient(135deg, #5a5a28, #7a7a42);
    text-decoration: none;
}

.home-blog-thumb--placeholder span {
    font-size: 3.5rem;
    opacity: 0.5;
}

/* -------------------------------------------------------
   SINGLE POST — improved layout
   ----------------------------------------------------- */
.single-post {
    padding: 0 0 5rem;
}

.single-post-wrap {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: start;
    padding-top: 2.5rem;
}

/* Post tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.post-tags-label {
    font-size: 0.8rem;
    color: #999;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 0.25rem;
}

.post-tag {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    background: var(--color-bg);
    border: 1px solid #c8c8a8;
    border-radius: 20px;
    font-size: 0.78rem;
    color: var(--color-text);
    text-decoration: none;
    transition: background var(--transition), border-color var(--transition);
}
.post-tag:hover { background: var(--color-primary); border-color: var(--color-primary); color: #fff; text-decoration: none; }

/* Post sidebar */
.post-cta-card,
.post-hours-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.75rem;
    box-shadow: var(--shadow);
    border: 1px solid #eaeae0;
    margin-bottom: 1.25rem;
}

.post-cta-card h3 {
    font-size: 1.05rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.6rem;
}

.post-cta-card p {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.post-hours-card h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary-dark);
    margin-bottom: 0.75rem;
    font-family: var(--font-body);
}

.sidebar-hours-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.sidebar-hours-list li {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: #555;
    padding: 0.3rem 0;
    border-bottom: 1px solid #f0f0e8;
}

.sidebar-hours-list li:last-child { border-bottom: none; }

/* Post meta cats */
.post-meta .post-cats a { color: var(--color-primary-dark); text-decoration: none; }
.post-meta .post-cats a:hover { text-decoration: underline; }

/* Responsive single */
@media ( max-width: 900px ) {
    .single-post-wrap { grid-template-columns: 1fr; }
    .post-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
    .post-cta-card, .post-hours-card { margin-bottom: 0; }
}

@media ( max-width: 600px ) {
    .post-sidebar { grid-template-columns: 1fr; }
}

.post-hero-banner {
    background: linear-gradient(135deg, #3a3a18 0%, #5a5a28 100%);
    padding: 3rem 0 2.5rem;
    color: #fff;
    margin-bottom: 2.5rem;
}

.post-hero-banner .post-title {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: 0.6rem;
    text-shadow: 0 2px 6px rgba(0,0,0,0.3);
    max-width: 780px;
}

.post-hero-banner .post-meta {
    color: rgba(255,255,255,0.65);
    margin-bottom: 0;
}

.post-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin-bottom: 1.5rem;
    font-weight: 600;
    transition: color var(--transition);
}
.post-back-link:hover { color: #fff; text-decoration: none; }
.post-back-link::before { content: '←'; }

.single-post .post-content-wrap {
    max-width: 780px;
    margin: 0 auto;
}

.single-post .post-thumbnail {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-hover);
}

.single-post .post-thumbnail img { width: 100%; max-height: 420px; object-fit: cover; }

/* -------------------------------------------------------
   PAY ONLINE PAGE
   ----------------------------------------------------- */
.pay-online-section {
    padding: 3.5rem 0 5rem;
    background: #f9f9f4;
}

.pay-online-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2.5rem;
    align-items: start;
}

.pay-online-main {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid #eaeae0;
}

.pay-online-desc {
    font-size: 0.97rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

/* Stripe embed container */
.stripe-embed-wrap {
    display: flex;
    justify-content: center;
    padding: 1.5rem 0;
}

/* Payment link button */
.btn-pay {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background: #4a4a20;
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    letter-spacing: 0.02em;
    box-shadow: 0 4px 16px rgba(74,74,32,0.3);
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    text-align: center;
}
.btn-pay:hover {
    background: #3a3a18;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(74,74,32,0.4);
    text-decoration: none;
}

.pay-link-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0;
    gap: 1rem;
}

.pay-link-note {
    font-size: 0.8rem;
    color: #999;
    text-align: center;
    max-width: 400px;
    margin: 0;
}

/* Accepted cards */
.accepted-cards {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.accepted-cards-label {
    font-size: 0.78rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}

.card-badges {
    display: flex;
    gap: 0.4rem;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-wrap: wrap;
}

.card-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.55rem;
    border: 1.5px solid #ddd;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #444;
    background: #fff;
    list-style: none !important;
}

.card-badge--visa  { color: #1a1f71; border-color: #1a1f71; }
.card-badge--mc    { color: #eb001b; border-color: #eb001b; }
.card-badge--amex  { color: #007bc1; border-color: #007bc1; }
.card-badge--disc  { color: #f76f20; border-color: #f76f20; }
.card-badge--hsa   { color: #2e7d32; border-color: #2e7d32; }

.ssl-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: #2e7d32;
    font-weight: 700;
    margin-left: auto;
}

/* Setup notice (admin only) */
.pay-setup-notice {
    background: #fff8e1;
    border-left: 4px solid #f9a825;
    padding: 1rem 1.25rem;
    border-radius: 0 6px 6px 0;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Sidebar */
.pay-online-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }

.pay-sidebar-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.75rem;
    box-shadow: var(--shadow);
    border: 1px solid #eaeae0;
}

.pay-sidebar-card h3 {
    font-size: 1rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.85rem;
}

.pay-sidebar-card p {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.pay-sidebar-contact {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0e8;
    transition: background var(--transition);
}

.pay-sidebar-contact:last-of-type { border-bottom: none; }
.pay-sidebar-contact:hover { text-decoration: none; }

.pay-sidebar-icon { font-size: 1.35rem; flex-shrink: 0; }

.pay-sidebar-contact small {
    display: block;
    font-size: 0.72rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}

.pay-sidebar-contact strong {
    display: block;
    font-size: 0.95rem;
    color: var(--color-primary-dark);
    margin-top: 0.1rem;
}

.pay-sidebar-security { background: #f5f5ec; border-color: #d8d8b8; }
.pay-sidebar-security h3 { color: #3a3a18; }

.pay-security-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 1.25rem !important;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pay-security-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: #555;
    line-height: 1.5;
    list-style: none !important;
}

.pay-security-list li::before {
    content: '✓';
    color: #2e7d32;
    font-weight: 900;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.stripe-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #888;
    font-weight: 600;
    margin-top: 0.5rem;
}

.stripe-wordmark {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #6772e5;
    letter-spacing: -0.03em;
}

/* Responsive pay-online */
@media ( max-width: 900px ) {
    .pay-online-grid { grid-template-columns: 1fr; }
    .pay-online-sidebar { flex-direction: row; flex-wrap: wrap; }
    .pay-sidebar-card { flex: 1; min-width: 260px; }
}

@media ( max-width: 600px ) {
    .pay-online-main { padding: 1.5rem; }
    .pay-online-sidebar { flex-direction: column; }
}

/* -------------------------------------------------------
   RESPONSIVE — new sections
   ----------------------------------------------------- */
@media ( max-width: 768px ) {
    .stats-strip-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 1rem; }
    .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }
    .stat-item:last-child, .stat-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
}
