/*
Theme Name: The Healthy Living Series
Theme URI: https://thehealthylivingseries.com
Author: Master Arnold & Pamela K
Author URI: https://thehealthylivingseries.com
Description: A premium, faith-based wellness education theme for The Healthy Living Series. Built for health blogging, coaching, YouTube traffic, community membership, WooCommerce sales (eBooks, courses, consultations, products), and email list growth. Luxury wellness aesthetic with emerald/ocean greens-and-blues palette, gold accents, magazine-style blog cards, and a custom homepage. Gutenberg, WooCommerce, SEO and caching plugin friendly. Hostinger-ready.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: healthy-living-series
Tags: blog, e-commerce, education, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, threaded-comments, translation-ready, two-columns, right-sidebar, block-styles, wide-blocks, accessibility-ready
*/

/* =========================================================================
   THE HEALTHY LIVING SERIES — DESIGN SYSTEM
   Tokens, base, components, layout, WooCommerce, responsive
   ========================================================================= */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
    /* Brand palette (overridable via Customizer) */
    --hls-emerald:   #0B5E4F;  /* deep emerald green */
    --hls-emerald-d: #084338;  /* darker emerald for depth */
    --hls-green:     #2E9E6B;  /* fresh wellness green */
    --hls-ocean:     #1C6E8C;  /* ocean blue */
    --hls-sky:       #6FB7D4;  /* sky blue */
    --hls-cream:     #FBF8F1;  /* soft cream / off-white */
    --hls-paper:     #FFFFFF;
    --hls-navy:      #16263A;  /* deep navy text */
    --hls-charcoal:  #2B3A47;
    --hls-muted:     #5C6B76;  /* muted body text */
    --hls-gold:      #C9A24B;  /* gold accent, used sparingly */
    --hls-gold-soft: #E7D29A;
    --hls-line:      #E7E2D7;  /* hairline borders */
    --hls-line-soft: #F0ECE2;

    /* Gradients */
    --hls-grad-hero: linear-gradient(135deg, var(--hls-emerald) 0%, var(--hls-ocean) 100%);
    --hls-grad-soft: linear-gradient(180deg, var(--hls-cream) 0%, #FFFFFF 100%);
    --hls-grad-gold: linear-gradient(90deg, var(--hls-gold) 0%, var(--hls-gold-soft) 100%);

    /* Typography */
    --hls-font-head: "Playfair Display", Georgia, "Times New Roman", serif;
    --hls-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --hls-font-ui:   "Montserrat", var(--hls-font-body);

    /* Scale */
    --hls-h1: clamp(2.2rem, 5vw, 3.6rem);
    --hls-h2: clamp(1.7rem, 3.4vw, 2.5rem);
    --hls-h3: clamp(1.3rem, 2.2vw, 1.6rem);
    --hls-base: 1.05rem;

    /* Spacing & shape */
    --hls-radius:    18px;
    --hls-radius-sm: 12px;
    --hls-radius-pill: 999px;
    --hls-shadow:    0 18px 48px rgba(11, 94, 79, 0.10);
    --hls-shadow-sm: 0 6px 20px rgba(22, 38, 58, 0.07);
    --hls-shadow-lg: 0 28px 70px rgba(11, 94, 79, 0.16);
    --hls-content:   1180px;
    --hls-wide:      1380px;
    --hls-gap:       clamp(1.5rem, 4vw, 3.5rem);
}

/* ---------- 2. RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
    margin: 0;
    font-family: var(--hls-font-body);
    font-size: var(--hls-base);
    line-height: 1.75;
    color: var(--hls-charcoal);
    background: var(--hls-cream);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--hls-ocean); text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--hls-emerald); }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--hls-font-head);
    color: var(--hls-navy);
    line-height: 1.18;
    font-weight: 700;
    margin: 0 0 .6em;
    letter-spacing: -0.01em;
}
h1 { font-size: var(--hls-h1); }
h2 { font-size: var(--hls-h2); }
h3 { font-size: var(--hls-h3); }
p { margin: 0 0 1.2em; }
ul, ol { padding-left: 1.3em; }
blockquote {
    margin: 1.6em 0;
    padding: 1.2em 1.6em;
    border-left: 4px solid var(--hls-green);
    background: var(--hls-paper);
    border-radius: 0 var(--hls-radius-sm) var(--hls-radius-sm) 0;
    font-family: var(--hls-font-head);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--hls-emerald);
    box-shadow: var(--hls-shadow-sm);
}
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
pre { background: var(--hls-navy); color: #EAF2EE; padding: 1.2em; border-radius: var(--hls-radius-sm); overflow:auto; }
hr { border: 0; height: 1px; background: var(--hls-line); margin: 2.4em 0; }
:focus-visible { outline: 3px solid var(--hls-sky); outline-offset: 2px; border-radius: 4px; }

/* Accessibility: skip link + screen-reader text */
.screen-reader-text {
    border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
    height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; word-wrap: normal !important;
}
.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 9999;
    background: var(--hls-emerald); color: #fff; padding: .8em 1.4em; border-radius: 0 0 var(--hls-radius-sm) 0;
    font-family: var(--hls-font-ui); font-weight: 600;
}
.skip-link:focus { left: 0; color:#fff; }

/* ---------- 3. LAYOUT HELPERS ---------- */
.hls-container { width: 100%; max-width: var(--hls-content); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2rem); }
.hls-container--wide { max-width: var(--hls-wide); }
.hls-section { padding: clamp(3rem, 7vw, 6rem) 0; }
.hls-section--tint { background: var(--hls-grad-soft); }
.hls-section--deep { background: var(--hls-navy); color: #DCE6E2; }
.hls-section--deep h2, .hls-section--deep h3 { color: #fff; }
.hls-eyebrow {
    font-family: var(--hls-font-ui); text-transform: uppercase; letter-spacing: .18em;
    font-size: .78rem; font-weight: 700; color: var(--hls-green); margin: 0 0 .8rem;
    display: inline-flex; align-items: center; gap: .6rem;
}
.hls-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--hls-grad-gold); display: inline-block; }
.hls-section__head { max-width: 720px; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.hls-section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.hls-section__head--center .hls-eyebrow { justify-content: center; }

/* ---------- 4. BUTTONS ---------- */
.hls-btn, .wp-block-button__link, button, input[type="submit"], .button {
    font-family: var(--hls-font-ui); font-weight: 600; font-size: .95rem; letter-spacing: .02em;
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .85em 1.7em; border-radius: var(--hls-radius-pill); border: 0; cursor: pointer;
    background: var(--hls-emerald); color: #fff; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    text-align: center; line-height: 1.2;
}
.hls-btn:hover, button:hover, input[type="submit"]:hover, .button:hover {
    background: var(--hls-emerald-d); color: #fff; transform: translateY(-2px); box-shadow: var(--hls-shadow);
}
.hls-btn--ocean { background: var(--hls-ocean); }
.hls-btn--ocean:hover { background: #155770; }
.hls-btn--gold { background: var(--hls-grad-gold); color: var(--hls-navy); }
.hls-btn--gold:hover { color: var(--hls-navy); filter: brightness(.97); }
.hls-btn--ghost { background: transparent; border: 2px solid currentColor; color: var(--hls-emerald); padding: .75em 1.6em; }
.hls-btn--ghost:hover { background: var(--hls-emerald); color: #fff; }
.hls-btn--light { background: #fff; color: var(--hls-emerald); }
.hls-btn--light:hover { background: var(--hls-cream); color: var(--hls-emerald); }
.hls-btn--yt { background: #FF0000; color:#fff; }
.hls-btn--yt:hover { background:#cc0000; color:#fff; }
.hls-btn--block { display: flex; width: 100%; }

/* ---------- 5. SITE HEADER ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.92); backdrop-filter: saturate(150%) blur(10px);
    border-bottom: 1px solid var(--hls-line);
}
.site-header__bar {
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
    padding-top: .9rem; padding-bottom: .9rem;
}
.site-branding { display: flex; align-items: center; gap: .8rem; min-width: 0; }
.custom-logo-link img { max-height: 56px; width: auto; }
.site-title { font-family: var(--hls-font-head); font-size: 1.35rem; margin: 0; line-height: 1.05; }
.site-title a { color: var(--hls-emerald); }
.site-title a:hover { color: var(--hls-emerald-d); }
.site-description { font-family: var(--hls-font-ui); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--hls-gold); margin: 0; }

/* Primary nav */
.main-navigation { display: flex; align-items: center; }
.main-navigation ul { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; margin: 0; padding: 0; }
.main-navigation a {
    font-family: var(--hls-font-ui); font-weight: 600; font-size: .92rem; color: var(--hls-charcoal);
    padding: .55em .85em; border-radius: var(--hls-radius-pill); display: inline-block;
}
.main-navigation a:hover, .main-navigation .current-menu-item > a, .main-navigation .current_page_item > a {
    color: var(--hls-emerald); background: var(--hls-line-soft);
}
.main-navigation li { position: relative; }
.main-navigation .sub-menu {
    position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff;
    box-shadow: var(--hls-shadow); border-radius: var(--hls-radius-sm); padding: .5rem; flex-direction: column;
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s ease; z-index: 50; gap: 0;
}
.main-navigation li:hover > .sub-menu, .main-navigation li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-navigation .sub-menu a { display: block; }

.header-actions { display: flex; align-items: center; gap: .7rem; }

/* Mobile toggle */
.menu-toggle {
    display: none; background: var(--hls-emerald); color: #fff; border: 0;
    padding: .6em .9em; border-radius: var(--hls-radius-pill); font-family: var(--hls-font-ui); font-weight: 600;
    align-items: center; gap: .5rem; cursor: pointer;
}
.menu-toggle .bars { width: 18px; height: 2px; background: #fff; position: relative; display: inline-block; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content:""; position:absolute; left:0; width:18px; height:2px; background:#fff; }
.menu-toggle .bars::before { top: -6px; } .menu-toggle .bars::after { top: 6px; }

/* ---------- 6. HERO ---------- */
.hls-hero {
    position: relative; color: #fff; overflow: hidden;
    background: var(--hls-grad-hero);
}
.hls-hero__media { position: absolute; inset: 0; z-index: 0; }
.hls-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.hls-hero__overlay { position:absolute; inset:0; background: linear-gradient(120deg, rgba(8,67,56,.86) 0%, rgba(28,110,140,.66) 100%); z-index:1; }
.hls-hero__inner { position: relative; z-index: 2; padding: clamp(3.5rem, 9vw, 7rem) 0; max-width: 760px; }
.hls-hero h1 { color: #fff; font-size: var(--hls-h1); margin-bottom: .5em; }
.hls-hero__lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: #EAF2EE; margin-bottom: 1.8em; max-width: 640px; }
.hls-hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; }
.hls-hero__verse {
    margin-top: 2.4rem; font-family: var(--hls-font-head); font-style: italic; font-size: 1.1rem;
    color: var(--hls-gold-soft); border-top: 1px solid rgba(255,255,255,.2); padding-top: 1.4rem; max-width: 560px;
}

/* ---------- 7. CARDS / POST GRID ---------- */
.hls-grid { display: grid; gap: clamp(1.4rem, 3vw, 2.2rem); }
.hls-grid--3 { grid-template-columns: repeat(3, 1fr); }
.hls-grid--4 { grid-template-columns: repeat(4, 1fr); }
.hls-grid--2 { grid-template-columns: repeat(2, 1fr); }

.hls-card {
    background: #fff; border-radius: var(--hls-radius); overflow: hidden;
    box-shadow: var(--hls-shadow-sm); border: 1px solid var(--hls-line-soft);
    display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease;
}
.hls-card:hover { transform: translateY(-6px); box-shadow: var(--hls-shadow); }
.hls-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--hls-grad-hero); position: relative; }
.hls-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hls-card:hover .hls-card__media img { transform: scale(1.05); }
.hls-card__body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.hls-card__cat {
    font-family: var(--hls-font-ui); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
    color: var(--hls-green); margin-bottom: .55rem;
}
.hls-card__title { font-size: 1.25rem; margin: 0 0 .5rem; line-height: 1.25; }
.hls-card__title a { color: var(--hls-navy); }
.hls-card__title a:hover { color: var(--hls-emerald); }
.hls-card__excerpt { color: var(--hls-muted); font-size: .96rem; margin-bottom: 1rem; }
.hls-card__meta { margin-top: auto; font-family: var(--hls-font-ui); font-size: .78rem; color: var(--hls-muted); display: flex; gap: .6rem; align-items: center; }
.hls-card__more { font-family: var(--hls-font-ui); font-weight: 600; color: var(--hls-emerald); font-size: .9rem; }

/* Category pills */
.hls-cats { display: flex; flex-wrap: wrap; gap: .7rem; }
.hls-cat-pill {
    display: inline-flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--hls-line);
    border-radius: var(--hls-radius-pill); padding: .6em 1.1em; font-family: var(--hls-font-ui); font-weight: 600;
    font-size: .88rem; color: var(--hls-charcoal); box-shadow: var(--hls-shadow-sm); transition: all .2s ease;
}
.hls-cat-pill:hover { background: var(--hls-emerald); color: #fff; border-color: var(--hls-emerald); transform: translateY(-2px); }
.hls-cat-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--hls-green); }

/* ---------- 8. FOUNDER / SPLIT ---------- */
.hls-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hls-split__media img { border-radius: var(--hls-radius); box-shadow: var(--hls-shadow); width: 100%; }
.hls-split__media { position: relative; }
.hls-split__badge {
    position: absolute; bottom: -18px; right: -10px; background: var(--hls-grad-gold); color: var(--hls-navy);
    font-family: var(--hls-font-ui); font-weight: 700; padding: .9em 1.3em; border-radius: var(--hls-radius-sm);
    box-shadow: var(--hls-shadow); font-size: .9rem; max-width: 220px; line-height: 1.3;
}

/* ---------- 9. VIDEO / YOUTUBE ---------- */
.hls-video-embed { position: relative; aspect-ratio: 16/9; border-radius: var(--hls-radius); overflow: hidden; box-shadow: var(--hls-shadow); background:#000; }
.hls-video-embed iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }

/* ---------- 10. ZOOM / CTA BANNERS ---------- */
.hls-banner {
    background: var(--hls-grad-hero); color: #fff; border-radius: var(--hls-radius);
    padding: clamp(2rem, 5vw, 3.4rem); position: relative; overflow: hidden;
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center;
}
.hls-banner::after { content:""; position:absolute; right:-60px; top:-60px; width: 240px; height: 240px; border-radius:50%; background: rgba(255,255,255,.08); }
.hls-banner h2 { color: #fff; }
.hls-banner p { color: #EAF2EE; margin-bottom: 0; }
.hls-banner__actions { display:flex; flex-direction: column; gap: .8rem; position: relative; z-index: 2; }

/* ---------- 11. OPT-IN ---------- */
.hls-optin {
    background: #fff; border: 1px solid var(--hls-line); border-radius: var(--hls-radius);
    padding: clamp(2rem, 5vw, 3rem); box-shadow: var(--hls-shadow); text-align: center; max-width: 760px; margin: 0 auto;
    border-top: 5px solid var(--hls-gold);
}
.hls-optin .hls-form-note { font-size: .82rem; color: var(--hls-muted); margin-top: 1rem; }
.hls-placeholder-form {
    display:flex; flex-wrap:wrap; gap:.7rem; justify-content:center; margin-top: 1.4rem;
}
.hls-placeholder-form input[type="email"] {
    flex: 1 1 280px; max-width: 360px; padding: .9em 1.2em; border-radius: var(--hls-radius-pill);
    border: 1px solid var(--hls-line); font-family: var(--hls-font-body); font-size: 1rem;
}
.hls-shortcode-slot {
    background: var(--hls-line-soft); border: 1px dashed var(--hls-green); border-radius: var(--hls-radius-sm);
    padding: 1.1rem; font-family: var(--hls-font-ui); color: var(--hls-emerald); font-weight: 600; font-size: .9rem; margin-top: 1.2rem;
}

/* ---------- 12. TESTIMONIALS ---------- */
.hls-quote {
    background:#fff; border-radius: var(--hls-radius); padding: 1.8rem; box-shadow: var(--hls-shadow-sm);
    border: 1px solid var(--hls-line-soft); display:flex; flex-direction:column; gap: 1rem;
}
.hls-quote__stars { color: var(--hls-gold); letter-spacing: 2px; }
.hls-quote__text { font-family: var(--hls-font-head); font-style: italic; font-size: 1.1rem; color: var(--hls-navy); }
.hls-quote__who { font-family: var(--hls-font-ui); font-weight: 600; font-size: .9rem; color: var(--hls-muted); }

/* ---------- 13. ARTICLE / SINGLE ---------- */
.hls-article { background:#fff; border-radius: var(--hls-radius); box-shadow: var(--hls-shadow-sm); padding: clamp(1.5rem, 4vw, 3rem); }
.hls-article__header { margin-bottom: 1.8rem; }
.hls-article__meta { font-family: var(--hls-font-ui); font-size: .82rem; color: var(--hls-muted); display:flex; flex-wrap:wrap; gap:.8rem; margin-top:.6rem; }
.entry-content { font-size: 1.08rem; }
.entry-content > * { max-width: 760px; }
.entry-content .alignwide { max-width: 1000px; }
.entry-content .alignfull { max-width: none; }
.entry-content img, .post-thumbnail img { border-radius: var(--hls-radius-sm); }
.entry-content h2 { margin-top: 1.6em; }
.post-thumbnail { margin-bottom: 1.8rem; border-radius: var(--hls-radius); overflow: hidden; }
.hls-tags a {
    display:inline-block; background: var(--hls-line-soft); color: var(--hls-charcoal); font-family: var(--hls-font-ui);
    font-size:.8rem; padding:.35em .9em; border-radius: var(--hls-radius-pill); margin:.2em .2em 0 0;
}
.hls-tags a:hover { background: var(--hls-emerald); color:#fff; }

/* Author box */
.hls-author { display:flex; gap:1.2rem; align-items:flex-start; background: var(--hls-cream); border-radius: var(--hls-radius); padding: 1.5rem; margin-top: 2.4rem; }
.hls-author img { border-radius: 50%; width: 72px; height: 72px; object-fit: cover; }

/* ---------- 14. LAYOUT WITH SIDEBAR ---------- */
.hls-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
.hls-layout--full { grid-template-columns: 1fr; }
.widget-area .widget {
    background:#fff; border:1px solid var(--hls-line-soft); border-radius: var(--hls-radius); padding: 1.4rem; margin-bottom: 1.6rem; box-shadow: var(--hls-shadow-sm);
}
.widget-area .widget-title { font-size: 1.1rem; margin-bottom: 1rem; padding-bottom: .6rem; border-bottom: 2px solid var(--hls-line); }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { padding: .45em 0; border-bottom: 1px solid var(--hls-line-soft); }
.widget ul li:last-child { border-bottom: 0; }

/* ---------- 15. PAGINATION ---------- */
.hls-pagination { margin-top: 2.6rem; display:flex; justify-content:center; }
.hls-pagination .nav-links { display:flex; gap:.4rem; flex-wrap:wrap; }
.hls-pagination .page-numbers {
    font-family: var(--hls-font-ui); font-weight:600; padding:.6em .95em; border-radius: var(--hls-radius-sm);
    background:#fff; border:1px solid var(--hls-line); color: var(--hls-charcoal);
}
.hls-pagination .page-numbers.current, .hls-pagination .page-numbers:hover { background: var(--hls-emerald); color:#fff; border-color: var(--hls-emerald); }

/* ---------- 16. FOOTER ---------- */
.site-footer { background: var(--hls-navy); color: #C4D2CC; margin-top: clamp(3rem,7vw,5rem); }
.site-footer a { color: #C4D2CC; }
.site-footer a:hover { color: #fff; }
.site-footer__top { padding: clamp(3rem,6vw,4.5rem) 0; display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.4rem; }
.site-footer__brand .site-title { font-size: 1.5rem; }
.site-footer__brand .site-title a { color:#fff; }
.footer-widget-title, .site-footer h3 { color:#fff; font-size: 1.05rem; margin-bottom: 1rem; font-family: var(--hls-font-head); }
.site-footer .widget { background: transparent; border:0; box-shadow:none; padding:0; }
.site-footer .widget-title { color:#fff; border:0; font-size:1.05rem; }
.site-footer ul { list-style:none; padding:0; margin:0; }
.site-footer ul li { padding:.35em 0; border:0; }
.footer-newsletter input[type="email"] { width:100%; padding:.8em 1em; border-radius: var(--hls-radius-pill); border:0; margin-bottom:.6rem; font-family: var(--hls-font-body); }
.footer-social { display:flex; gap:.6rem; margin-top:1rem; }
.footer-social a {
    width:40px; height:40px; border-radius:50%; background: rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center;
    font-family: var(--hls-font-ui); font-weight:700; font-size:.8rem; color:#fff;
}
.footer-social a:hover { background: var(--hls-green); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.4rem 0; font-size:.82rem; }
.site-footer__bottom .hls-container { display:flex; flex-wrap:wrap; justify-content:space-between; gap:1rem; align-items:center; }
.site-footer__disclaimer { font-size:.78rem; color:#8FA29B; max-width: 100%; padding-bottom: 1.4rem; line-height:1.6; }

/* ---------- 17. PAGE HEADER (archives, pages) ---------- */
.hls-page-header { background: var(--hls-grad-hero); color:#fff; padding: clamp(2.6rem,6vw,4.5rem) 0; position:relative; overflow:hidden; }
.hls-page-header h1 { color:#fff; margin:0; }
.hls-page-header .hls-eyebrow { color: var(--hls-gold-soft); }
.hls-page-header .hls-eyebrow::before { background: var(--hls-gold); }
.hls-page-header p { color:#EAF2EE; margin:.6rem 0 0; max-width: 640px; }
.hls-breadcrumbs { font-family: var(--hls-font-ui); font-size:.8rem; color: rgba(255,255,255,.8); margin-bottom:.8rem; }
.hls-breadcrumbs a { color:#fff; }

/* ---------- 18. FORMS ---------- */
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"],
input[type="tel"], input[type="number"], textarea, select {
    width: 100%; padding: .8em 1em; border: 1px solid var(--hls-line); border-radius: var(--hls-radius-sm);
    font-family: var(--hls-font-body); font-size: 1rem; background:#fff; color: var(--hls-charcoal);
}
input:focus, textarea:focus, select:focus { border-color: var(--hls-green); outline: none; box-shadow: 0 0 0 3px rgba(46,158,107,.15); }
label { font-family: var(--hls-font-ui); font-weight: 600; font-size:.9rem; display:block; margin-bottom:.4rem; }

/* ---------- 19. COMMENTS ---------- */
.comments-area { background:#fff; border-radius: var(--hls-radius); padding: clamp(1.5rem,4vw,2.4rem); box-shadow: var(--hls-shadow-sm); margin-top: 2rem; }
.comment-list { list-style:none; padding:0; }
.comment-body { padding:1rem 0; border-bottom:1px solid var(--hls-line-soft); }
.comment-author { font-family: var(--hls-font-ui); font-weight:600; }

/* ---------- 20. GUTENBERG ALIGNMENTS ---------- */
.aligncenter { margin-left:auto; margin-right:auto; }
.alignright { float:right; margin:0 0 1rem 1.5rem; }
.alignleft { float:left; margin:0 1.5rem 1rem 0; }
.wp-block-image figcaption, .wp-caption-text { font-size:.82rem; color:var(--hls-muted); text-align:center; }

/* ---------- 21. UTILITIES ---------- */
.text-center { text-align:center; }
.mt-0{margin-top:0}.mb-0{margin-bottom:0}
.hls-mtop { margin-top: clamp(1.4rem,3vw,2.4rem); }
.sticky, .bypostauthor { display:block; }

/* ---------- 22. RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .hls-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .site-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .main-navigation {
        position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); background:#fff;
        flex-direction: column; align-items: stretch; padding: 5rem 1.4rem 2rem; box-shadow: var(--hls-shadow-lg);
        transform: translateX(100%); transition: transform .3s ease; overflow-y:auto; z-index: 200;
    }
    .main-navigation.is-open { transform: translateX(0); }
    .main-navigation ul { flex-direction: column; align-items: stretch; gap:.2rem; }
    .main-navigation .sub-menu { position: static; opacity:1; visibility:visible; transform:none; box-shadow:none; padding-left:1rem; }
    .menu-toggle { display: inline-flex; }
    .hls-split { grid-template-columns: 1fr; }
    .hls-banner { grid-template-columns: 1fr; }
    .hls-layout { grid-template-columns: 1fr; }
    .hls-grid--3 { grid-template-columns: repeat(2, 1fr); }
    body.menu-open::after { content:""; position:fixed; inset:0; background:rgba(22,38,58,.4); z-index:150; }
}
@media (max-width: 600px) {
    .hls-grid--3, .hls-grid--4, .hls-grid--2 { grid-template-columns: 1fr; }
    .site-footer__top { grid-template-columns: 1fr; }
    .header-actions .hls-btn { display:none; }
    blockquote { font-size:1.1rem; }
}
