/*
 * Ziqnal Studio – Brand Theme Stylesheet
 * Loaded after template.css; everything here overrides the base template.
 * ─────────────────────────────────────────────────────────────────────
 * Midnight Navy    #101827   main background
 * Slate Navy       #1B263B   cards, menus, secondary surfaces
 * Electric Cyan    #42E8E0   primary accent (actions, links, active nav)
 * Cyan Hover       #75F0EA   primary hover
 * Arcade Coral     #FF6B7A   secondary accent (badges, highlights) – sparingly
 * Ice White        #F5F7FA   headings, main text
 * Muted Blue Grey  #AAB6C5   supporting text
 * Soft Border      #304057   borders, dividers
 * ─────────────────────────────────────────────────────────────────────
 * Type: Fredoka (headings, labels, buttons) + Nunito (body) – both rounded,
 * to sit alongside the rounded "ZIQNAL" lettering of the logo.
 * Contrast (WCAG AA): Ice White on Navy 17:1, Muted on Slate 7.4:1,
 * Cyan on Navy 12:1, Navy on Cyan 12:1, Coral on Navy 6.6:1.
 */

/* ── Tokens ───────────────────────────────────────────────────────── */
:root {
    --zq-navy:        #101827;
    --zq-slate:       #1B263B;
    --zq-slate-hi:    #22304A;   /* raised slate for hover */
    --zq-cyan:        #42E8E0;
    --zq-cyan-hover:  #75F0EA;
    --zq-cyan-press:  #2CCFC7;
    --zq-coral:       #FF6B7A;
    --zq-white:       #F5F7FA;
    --zq-muted:       #AAB6C5;
    --zq-border:      #304057;

    --zq-font-head:   'Fredoka', 'Nunito', system-ui, sans-serif;
    --zq-font-body:   'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --zq-radius-sm:   10px;
    --zq-radius:      16px;
    --zq-radius-lg:   24px;
    --zq-radius-pill: 999px;
    --zq-shadow:      0 10px 30px rgba(4, 8, 18, .35);
    --zq-shadow-sm:   0 4px 14px rgba(4, 8, 18, .28);
    --zq-ease:        cubic-bezier(.2, .8, .2, 1);

    /* legacy aliases still referenced by inline view styles */
    --wk-primary:     var(--zq-cyan);
    --wk-muted:       var(--zq-muted);
}

/* ── Global ───────────────────────────────────────────────────────── */
html { height: 100%; }
body {
    background: var(--zq-navy);
    color: var(--zq-muted);
    font-family: var(--zq-font-body);
    font-size: 16px;
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
::selection      { background: var(--zq-cyan); color: var(--zq-navy) !important; }
::-moz-selection { background: var(--zq-cyan); color: var(--zq-navy) !important; }

p, li { color: inherit; }
.text-muted { color: var(--zq-muted) !important; }
hr { border-top-color: var(--zq-border); }

/* Headings */
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-family: var(--zq-font-head);
    font-weight: 600;
    color: var(--zq-white);
    letter-spacing: 0;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: var(--zq-white); }
/* Uppercase reserved for short labels: tame the template's wide tracking on big headings */
h1.text-uppercase, h2.text-uppercase, h3.text-uppercase,
.h1.text-uppercase, .h2.text-uppercase, .h3.text-uppercase {
    text-transform: none;
    letter-spacing: 0;
    margin-right: 0;
}
h4.text-uppercase, h5.text-uppercase, h6.text-uppercase {
    letter-spacing: .08em;
    margin-right: 0;
}
/* The template's "montserrat" utility now maps to the brand display face */
.montserrat {
    font-family: var(--zq-font-head);
    font-weight: 700;
}

/* Links */
a { color: var(--zq-cyan); }
a:hover, a:focus { color: var(--zq-cyan-hover); text-decoration: underline; text-underline-offset: 3px; }
.btn:hover, .btn:focus, .inner-nav a:hover, .inner-nav a:focus,
.inner-brand:hover, .work-link:hover, .gallery-slide-link:hover,
.post-preview a:hover, .widget-posts-image a:hover { text-decoration: none; }

/* Visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--zq-cyan) !important;
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(66, 232, 224, .18) !important;
    border-radius: var(--zq-radius-sm);
}

/* Lead + section dividers (rounded pill accents) */
.lead { color: var(--zq-muted); font-size: 18px !important; }
.divider-line:after,
.module-header .divider-line::after,
p.lead.divider-line::after {
    background: linear-gradient(90deg, var(--zq-cyan) 0 70%, var(--zq-coral) 70% 100%);
    opacity: 1;
    height: 4px;
    width: 56px;
    border-radius: var(--zq-radius-pill);
}
.bottom-line:before { border-bottom: 1px solid var(--zq-border); }
.bottom-line:after  { border-bottom: 3px solid var(--zq-cyan); border-radius: var(--zq-radius-pill); width: 32px; }

blockquote {
    background: var(--zq-slate);
    color: var(--zq-white);
    border-left: 4px solid var(--zq-cyan);
    border-radius: 0 var(--zq-radius) var(--zq-radius) 0;
}

/* ── Page loader ──────────────────────────────────────────────────── */
.page-loader { background: var(--zq-navy); }
.loader { border-color: var(--zq-border); }
.loader:after { border-color: var(--zq-cyan) transparent transparent transparent; }

/* ── Header ───────────────────────────────────────────────────────── */
.header,
.header.stuck,
.header.header-small {
    background: rgba(16, 24, 39, .94) !important;
    border-bottom: 1px solid var(--zq-border);
    box-shadow: none;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.inner-brand { height: 86px; }
.zq-logo {
    display: block;
    height: 58px;
    width: auto;            /* preserve approved proportions */
    max-width: 60vw;
}
.inner-nav > li > a {
    font-family: var(--zq-font-head);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: .02em;
    text-transform: none;
    color: var(--zq-white);
    padding: 33px 6px;
    margin: 0 8px;
    position: relative;
}
.inner-nav > li > a::after {           /* rounded active / hover indicator */
    content: "";
    position: absolute;
    left: 6px; right: 6px; bottom: 24px;
    height: 3px;
    border-radius: var(--zq-radius-pill);
    background: var(--zq-cyan);
    transform: scaleX(0);
    transition: transform .2s var(--zq-ease);
}
.inner-nav > li > a:hover,
.inner-nav > li > a:focus { color: var(--zq-cyan) !important; }
.inner-nav > li > a:hover::after { transform: scaleX(.5); }
.inner-nav > li.active > a { color: var(--zq-cyan) !important; font-weight: 600; }
.inner-nav > li.active > a::after { transform: scaleX(1); }

/* Mobile toggle: comfortable 44px touch target */
.nav-icon-toggle span { background: var(--zq-white); height: 2px; border-radius: 2px; }
.nav-icon-toggle.open span { background: var(--zq-cyan); }

@media (max-width: 991px) {
    .inner-brand { height: 72px; }
    .zq-logo { height: 46px !important; }
    .main-nav-toggle { min-width: 44px; min-height: 44px; }
    .main-nav { background: var(--zq-slate); border-top: 1px solid var(--zq-border); border-radius: 0 0 var(--zq-radius) var(--zq-radius); }
    .inner-nav > li > a { padding: 14px 16px; margin: 0; min-height: 44px; }
    .inner-nav > li > a::after { left: 16px; right: auto; width: 24px; bottom: 6px; }
    .inner-nav > li.active > a { background: rgba(66, 232, 224, .08); border-radius: var(--zq-radius-sm); }
}

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
    font-family: var(--zq-font-head);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    border-radius: var(--zq-radius-pill) !important;
    border-width: 2px;
    min-height: 44px;
    padding: 10px 26px;
    transition: background-color .15s var(--zq-ease), color .15s var(--zq-ease),
                border-color .15s var(--zq-ease), transform .1s var(--zq-ease), box-shadow .15s var(--zq-ease);
}
.btn-lg { padding: 14px 32px; font-size: 15px; }
.btn-sm { min-height: 36px; padding: 6px 16px; }
.btn:active, .btn.active { transform: translateY(1px) scale(.98); box-shadow: none; }

/* Primary: cyan fill, navy label */
.btn.btn-base,
.btn.btn-base:visited,
.btn.btn-base.btn-fade,
.btn.btn-primary,
.input-group-btn .btn-base,
.sidebar .input-group .btn-base {
    background-color: var(--zq-cyan) !important;
    border-color: var(--zq-cyan) !important;
    color: var(--zq-navy) !important;
    box-shadow: 0 6px 18px rgba(66, 232, 224, .18);
}
.btn.btn-base:hover,
.btn.btn-base:focus,
.btn.btn-base.btn-fade:hover,
.btn.btn-primary:hover,
.input-group-btn .btn-base:hover,
.input-group-btn .btn-base:focus {
    background-color: var(--zq-cyan-hover) !important;
    border-color: var(--zq-cyan-hover) !important;
    color: var(--zq-navy) !important;
    box-shadow: 0 8px 22px rgba(66, 232, 224, .26);
}
.btn.btn-base:active,
.btn.btn-primary:active {
    background-color: var(--zq-cyan-press) !important;
    border-color: var(--zq-cyan-press) !important;
}

/* Secondary: transparent, cyan border + text; slate on hover */
.btn.btn-dark,
.btn.btn-outline,
.btn.btn-base.btn-outline,
.btn.btn-secondary {
    background: transparent !important;
    border-color: var(--zq-cyan) !important;
    color: var(--zq-cyan) !important;
    box-shadow: none;
}
.btn.btn-dark:hover, .btn.btn-dark:focus,
.btn.btn-outline:hover, .btn.btn-outline:focus,
.btn.btn-secondary:hover, .btn.btn-secondary:focus {
    background: var(--zq-slate) !important;
    border-color: var(--zq-cyan-hover) !important;
    color: var(--zq-cyan-hover) !important;
}
.btn.btn-dark:active, .btn.btn-outline:active { background: var(--zq-slate-hi) !important; }

/* Text-link buttons ("Read more ›") */
.btn.btn-link.btn-base,
.btn-link.btn-base {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none;
    color: var(--zq-cyan) !important;
    padding-left: 0;
    padding-right: 0;
    min-height: 0;
    text-transform: none;
    letter-spacing: 0;
    font-size: 15px;
}
.btn.btn-link.btn-base:hover,
.btn.btn-link.btn-base:focus {
    background: transparent !important;
    color: var(--zq-cyan-hover) !important;
    text-decoration: underline !important;
    text-underline-offset: 4px;
    box-shadow: none;
}

/* ── Sections ─────────────────────────────────────────────────────── */
.module, .module-sm, .module-xs { background-color: var(--zq-navy); }
.bg-white,
.bg-white-dark,
.bg-white-darken { background-color: var(--zq-navy) !important; }
#article-section { background-color: var(--zq-navy) !important; }
#gallery-section {
    background:
        radial-gradient(900px 300px at 85% 0%, rgba(255, 107, 122, .06), transparent 70%),
        var(--zq-navy) !important;
    border-top: 1px solid var(--zq-border);
}
.module-header h2 { font-size: clamp(30.4px, 22.4px + 1.6vw, 41.6px); font-weight: 700; }

/* Image overlays (hero + page titles): navy tint instead of black, art still visible */
.bg-black-alfa-60:before {
    background:
        linear-gradient(180deg, rgba(16, 24, 39, .55) 0%, rgba(16, 24, 39, .88) 100%) !important;
    opacity: 1 !important;
}
.bg-brand-alfa-60:before,
.bg-brand-alfa-60 { background-color: rgba(16, 24, 39, .82) !important; }

/* Page title bars */
.module-sm.bg-black-alfa-60 h3 {
    font-size: clamp(28.8px, 20.8px + 2vw, 41.6px) !important;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}
.breadcrumb { display: inline-flex; flex-wrap: wrap; justify-content: center; }
.breadcrumb a, .breadcrumb a[style] { color: var(--zq-cyan) !important; }
.breadcrumb > .active, .breadcrumb > .active[style] { color: var(--zq-white) !important; opacity: 1; }
.breadcrumb > li + li::before { color: var(--zq-muted); }

/* ── Hero ─────────────────────────────────────────────────────────── */
.module-hero { background-color: var(--zq-navy); }
.module-hero::after {                     /* soft brand glow, purely decorative */
    content: "";
    position: absolute;
    inset: auto -10% -30% auto;
    width: 60vw; height: 60vw;
    max-width: 760px; max-height: 760px;
    background: radial-gradient(closest-side, rgba(66, 232, 224, .12), transparent);
    pointer-events: none;
    z-index: 0;
}
.module-hero .hero-caption { position: relative; z-index: 1; }
.hero-headline {
    font-family: var(--zq-font-head) !important;
    font-weight: 700 !important;
    font-size: clamp(38.4px, 24px + 3.6vw, 70.4px) !important;
    line-height: 1.08 !important;
    text-transform: none !important;
    letter-spacing: -.01em !important;
    color: var(--zq-white);
}
.hero-headline .accent { color: var(--zq-cyan) !important; }
.hero-desc { color: var(--zq-muted); opacity: 1 !important; font-size: 19.2px !important; }
.hero-services-inline { border-top-color: var(--zq-border) !important; }
.hero-service-item {
    background: rgba(27, 38, 59, .8);
    border: 1px solid var(--zq-border);
    border-radius: var(--zq-radius);
    padding: 16px 18px;
    min-width: 128px;
}
.hero-service-item i { font-size: 41.6px !important; color: var(--zq-cyan) !important; }
.hero-service-item span { color: var(--zq-white); font-family: var(--zq-font-head); }

/* ── Cards (posts / games) ────────────────────────────────────────── */
.post,
.post-columns .post,
article.post.bg-white {
    background: var(--zq-slate) !important;
    border: 1px solid var(--zq-border);
    border-radius: var(--zq-radius-lg);
    overflow: hidden;
    box-shadow: var(--zq-shadow-sm);
    transition: transform .2s var(--zq-ease), border-color .2s var(--zq-ease), box-shadow .2s var(--zq-ease);
}
.post:hover {
    transform: translateY(-4px);
    border-color: rgba(66, 232, 224, .55);
    box-shadow: var(--zq-shadow);
}
.post-preview { overflow: hidden; }
.post-preview img { transition: transform .4s var(--zq-ease); }
.post:hover .post-preview img { transform: scale(1.04); }
.post .post-content,
.article-columns .post .post-content,
.post-columns .post .post-content { padding: 24px 24px 22px; }
.article-columns .post .post-content > *:last-child { margin-bottom: 0; }
.post .post-title,
.post-columns .post .post-title,
article.post h2.post-title { font-size: 22px !important; font-weight: 600; line-height: 1.25; letter-spacing: 0 !important; text-transform: none !important; margin-bottom: 10px; }
.post-title a { color: var(--zq-white); }
.post-title a:hover, .post-title a:focus { color: var(--zq-cyan); text-decoration: none; }
.post-content p { color: var(--zq-muted); }
.post-meta { margin-bottom: 14px; }
.post-meta > li,
.post-meta a {
    color: var(--zq-muted);
    font-family: var(--zq-font-head);
    font-weight: 500;
    letter-spacing: .06em;
}
.post-meta a:hover { color: var(--zq-cyan); }

/* Coral badge utility – for announcements / status (pair with text or icon) */
.zq-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--zq-font-head); font-weight: 600;
    font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
    padding: 4px 12px; border-radius: var(--zq-radius-pill);
    background: var(--zq-coral); color: var(--zq-navy);
}
.zq-badge--cyan { background: var(--zq-cyan); }

/* ── Tags / filter pills ──────────────────────────────────────────── */
.tags a {
    background: var(--zq-slate);
    color: var(--zq-white);
    border: 1px solid var(--zq-border);
    border-radius: var(--zq-radius-pill);
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    min-height: 36px;
    display: inline-flex; align-items: center;
}
.tags a:hover, .tags a:focus {
    background: var(--zq-slate-hi);
    border-color: var(--zq-cyan);
    color: var(--zq-cyan) !important;
    text-decoration: none;
}
.tags a.active {
    background: var(--zq-cyan);
    border-color: var(--zq-cyan);
    color: var(--zq-navy) !important;
}
.tags a.active::before { content: "\2713\00a0"; }   /* not colour alone */

/* Gallery filters */
.filters > li { padding: 0 6px 14px; }
.filters > li > a {
    display: inline-flex; align-items: center; min-height: 40px;
    padding: 6px 18px;
    border: 1px solid var(--zq-border);
    border-radius: var(--zq-radius-pill);
    background: var(--zq-slate);
    color: var(--zq-white);
    opacity: 1;
    font-family: var(--zq-font-head);
    font-weight: 500;
}
.filters > li > a:hover { border-color: var(--zq-cyan); color: var(--zq-cyan); text-decoration: none; }
.filters > li > a.current {
    background: var(--zq-cyan);
    border-color: var(--zq-cyan);
    color: var(--zq-navy);
    font-weight: 600;
}

/* Gallery grid + carousel */
.works-grid .work-wrapper,
.gallery-carousel .gallery-slide-link { border-radius: var(--zq-radius) !important; overflow: hidden; }
.work-overlay { background: linear-gradient(180deg, transparent 30%, rgba(16, 24, 39, .92)) !important; }
.work-title { color: var(--zq-white); font-family: var(--zq-font-head); }
.work-category { color: var(--zq-cyan); }
.gallery-carousel .gallery-slide-caption {
    background: linear-gradient(180deg, transparent, rgba(16, 24, 39, .92)) !important;
    color: var(--zq-white) !important;
}
.gallery-carousel .gallery-slide-caption h6 {
    color: var(--zq-white);
    font-family: var(--zq-font-head);
    font-weight: 600;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
.gallery-empty { color: var(--zq-muted) !important; }

/* Lightbox */
.mfp-bg { background: var(--zq-navy); opacity: .94; }

/* ── Testimonial / quote band ─────────────────────────────────────── */
.testimonial { font-size: 25.6px; font-style: normal; line-height: 1.6; color: var(--zq-white); font-family: var(--zq-font-head); font-weight: 500; margin-bottom: 28px; }
.cd-author-info h5 { font-size: 19.2px !important; margin-bottom: 6px !important; font-weight: 700; color: var(--zq-cyan); }
.cd-author-info p, .cd-author-info span { font-size: 16px; color: var(--zq-muted); }
.slider-testimonial .owl-dot span,
.slider-testimonial .owl-page span { background: var(--zq-border) !important; }
.slider-testimonial .owl-dot.active span,
.slider-testimonial .owl-page.active span { background: var(--zq-cyan) !important; }
.slider-testimonial .owl-buttons div,
.slider-testimonial .owl-buttons i { color: var(--zq-cyan) !important; }

/* ── Forms ────────────────────────────────────────────────────────── */
.form-control {
    background: var(--zq-navy);
    border: 1px solid #6F7F98;   /* lighter than Soft Border so the field edge meets 3:1 (WCAG 1.4.11) */
    border-radius: var(--zq-radius-sm);
    color: var(--zq-white);
    min-height: 44px;
}
.form-control::placeholder { color: var(--zq-muted); opacity: .85; }
.form-control:focus { border-color: var(--zq-cyan); box-shadow: 0 0 0 3px rgba(66, 232, 224, .2); }
.input-group .form-control:first-child { border-radius: var(--zq-radius-pill) 0 0 var(--zq-radius-pill); padding-left: 18px; }
.input-group-btn:last-child > .btn { border-radius: 0 var(--zq-radius-pill) var(--zq-radius-pill) 0 !important; }
.sidebar .input-group .form-control,
.sidebar .input-group .btn {
    height: 44px;
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 15px;
    line-height: 1.4;
    box-sizing: border-box;
}

/* ── Sidebar ──────────────────────────────────────────────────────── */
.sidebar .widget {
    background: var(--zq-slate);
    border: 1px solid var(--zq-border);
    border-radius: var(--zq-radius);
    padding: 20px;
    margin-bottom: 24px;
}
.sidebar .widget h6 { color: var(--zq-white); }
.sidebar p[style] { color: var(--zq-muted) !important; }
.sidebar .footer-links a { color: var(--zq-white); }
.sidebar .footer-links a:hover { color: var(--zq-cyan); }
.sidebar .footer-links a.active {
    color: var(--zq-cyan);
    font-weight: 700;
    border-left: 3px solid var(--zq-cyan);
    padding-left: 6px;
}

/* ── Pagination ───────────────────────────────────────────────────── */
.pagination { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pagination > li > a,
.pagination > li > span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 44px; height: 44px;
    border-radius: var(--zq-radius-pill) !important;
    background: var(--zq-slate);
    border: 1px solid var(--zq-border);
    color: var(--zq-white);
    font-family: var(--zq-font-head);
    font-weight: 600;
    margin: 0;
}
.pagination > li > a:hover,
.pagination > li > a:focus {
    background: var(--zq-slate-hi);
    border-color: var(--zq-cyan);
    color: var(--zq-cyan);
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > a:focus {
    background: var(--zq-cyan);
    border-color: var(--zq-cyan);
    color: var(--zq-navy);
}

/* ── Long-form content (articles / pages) on dark ─────────────────── */
.article-body, .page-body { color: var(--zq-muted) !important; font-size: 17px; }
.article-body h1, .article-body h2, .article-body h3, .article-body h4,
.page-body h1, .page-body h2, .page-body h3, .page-body h4 {
    font-family: var(--zq-font-head) !important;
    color: var(--zq-white) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
.article-body h3, .page-body h3 { font-size: 21.6px !important; }
.page-body h2 { font-size: 27.2px !important; }
.article-body strong, .page-body strong { color: var(--zq-white); }
.article-body img, .page-body img, .article-banner, .page-banner { border-radius: var(--zq-radius) !important; }
.article-meta { color: var(--zq-muted) !important; border-bottom-color: var(--zq-border) !important; flex-wrap: wrap; }
.article-meta i { color: var(--zq-cyan); }
.module-sm p.text-xs[style] { color: var(--zq-muted) !important; border-bottom-color: var(--zq-border) !important; }
.table, .table > thead > tr > th, .table > tbody > tr > td { border-color: var(--zq-border) !important; color: var(--zq-muted); }

/* ── Light background sections (opt-in: add .zq-light) ───────────── */
.zq-light {
    background: var(--zq-white) !important;
    color: var(--zq-navy);
}
.zq-light h1, .zq-light h2, .zq-light h3, .zq-light h4, .zq-light h5, .zq-light h6,
.zq-light p, .zq-light li, .zq-light .lead { color: var(--zq-navy); }
.zq-light a:not(.btn) { color: var(--zq-navy); text-decoration: underline; text-decoration-color: var(--zq-cyan); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.zq-light a:not(.btn):hover { text-decoration-color: var(--zq-coral); }
.zq-light .btn.btn-dark, .zq-light .btn.btn-outline { border-color: var(--zq-navy) !important; color: var(--zq-navy) !important; }
.zq-light .btn.btn-dark:hover, .zq-light .btn.btn-outline:hover { background: var(--zq-navy) !important; color: var(--zq-white) !important; }
.zq-light .post, .zq-light .sidebar .widget { background: #FFFFFF !important; border-color: #D9E0EA; }
.zq-light .post-title a { color: var(--zq-navy); }
.zq-light .post-content p, .zq-light .post-meta > li { color: #45526A; }

/* ── Footer ───────────────────────────────────────────────────────── */
.footer {
    background: var(--zq-navy);
    border-top: 1px solid var(--zq-border);
    color: var(--zq-muted);
    padding-top: 64px;
}
.footer * { color: inherit; }
.footer .widget p,
.footer .copyright p { color: var(--zq-muted); }
.footer .widget h6 { color: var(--zq-white); }
.footer a { color: var(--zq-cyan); text-decoration: none; }
.footer a:hover, .footer a:focus { color: var(--zq-cyan-hover); text-decoration: underline; }
.zq-footer-logo { display: block; height: 52px; width: auto; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 6px; }
.footer-links a { color: var(--zq-cyan); font-size: 15px; transition: color .2s; }
.footer-links a:hover { color: var(--zq-cyan-hover); }
.footer .widget-posts-title a { color: var(--zq-white); }
.footer .widget-posts-title a:hover { color: var(--zq-cyan); }
.footer .widget-posts-meta { color: var(--zq-muted); }
.footer .widget-posts-image img { border-radius: var(--zq-radius-sm); }
.footer .widget .recent-posts > li { border-color: var(--zq-border); }
.footer .bottom-line::before { display: none; }
.footer .bottom-line::after { margin: 8px 0 16px 0; border-bottom-color: var(--zq-cyan); }
.footer .copyright { border-top: 1px solid var(--zq-border); }

.social-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.social-list li a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--zq-slate);
    border: 1px solid var(--zq-border);
    color: var(--zq-cyan) !important;
    font-size: 19.2px;
    margin-left: 6px;
}
.social-list li a:hover { border-color: var(--zq-cyan); background: var(--zq-slate-hi); text-decoration: none; }

.scroll-top {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0;
    border: 2px solid var(--zq-cyan);
    border-radius: 50%;
    color: var(--zq-cyan) !important;
    opacity: 1;
}
.scroll-top:hover { background: var(--zq-slate); text-decoration: none !important; }

/* ── Recipe module (kept, rethemed) ───────────────────────────────── */
.recipe-meta-bar {
    display: flex; flex-wrap: wrap; gap: 30px; align-items: center;
    background: var(--zq-slate);
    border: 1px solid var(--zq-border);
    border-radius: var(--zq-radius);
    padding: 18px 24px; margin-bottom: 30px;
}
.recipe-meta-item { display: flex; align-items: center; gap: 10px; }
.recipe-meta-item i { color: var(--zq-cyan); font-size: 22.4px; }
.recipe-section-title { border-bottom: 2px solid var(--zq-cyan); }
.ingredients-list li { border-bottom-color: var(--zq-border) !important; }
.ingredients-list li::before { color: var(--zq-cyan) !important; }
.recipe-meta-label { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--zq-muted); display: block; }

/* ── Sticky footer ────────────────────────────────────────────────── */
.wrapper { flex: 1 0 auto; display: flex; flex-direction: column; }
.wrapper > .footer { margin-top: auto; }

/* ── Responsive spacing ───────────────────────────────────────────── */
@media (max-width: 767px) {
    body { font-size: 15px; }
    .module { padding: 64px 0; }
    .module-sm { padding: 48px 0; }
    .container { padding-left: 16px; padding-right: 16px; }
    .hero-services-inline { gap: 12px !important; }
    .hero-service-item { min-width: 0; flex: 1 1 calc(50% - 12px); }
    .hero-caption .btn { display: flex; justify-content: center; width: 100%; margin: 0 0 12px !important; }
    .post .post-content { padding: 20px; }
    .footer { text-align: left; }
    .footer .copyright .text-right { text-align: left; margin-top: 12px; }
}
@media (min-width: 768px) and (max-width: 991px) {
    .module { padding: 80px 0; }
}

/* ── Reduced motion ───────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .post:hover, .post:hover .post-preview img,
    .gallery-carousel .gallery-slide-link:hover img { transform: none !important; }
}

/* ── Page banner (Views/Page/Index): full image, fit to width, centred ── */
.page-hero-art { background: var(--zq-navy); }
.page-hero-media {
    width: 100%;
    max-width: 1920px;          /* very wide screens: stop growing, stay centred */
    margin: 0 auto;
    line-height: 0;
}
.page-hero-media img {
    display: block;
    width: 100%;
    height: auto;               /* height follows the image's own aspect ratio */
    margin: 0 auto;
}
.page-hero-caption {
    padding: 28px 0 24px;
    border-bottom: 1px solid var(--zq-border);
}
.page-hero-title {
    font-family: var(--zq-font-head);
    font-weight: 700;
    font-size: clamp(28px, 20px + 2vw, 42px);
    color: var(--zq-white);
    margin: 0 0 8px;
}
@media (max-width: 767px) {
    .page-hero-caption { padding: 20px 0 16px; }
}
