/*
 * 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; }
}

/* ── Contact page (Views/Contact/Index) ──────────────────────────────── */
.zq-contact .row > [class*="col-md-"] { margin-bottom: 24px; }
.zq-card {
    background: var(--zq-slate);
    border: 1px solid var(--zq-border);
    border-radius: var(--zq-radius-lg);
    padding: 32px;
    box-shadow: var(--zq-shadow-sm);
    height: 100%;
}
.zq-card-title {
    font-family: var(--zq-font-head);
    font-weight: 700;
    font-size: 26px;
    color: var(--zq-white);
    margin: 0 0 8px;
}
.zq-card-lead { color: var(--zq-muted); margin: 0 0 24px; }
.zq-req { color: var(--zq-coral); font-weight: 700; }
.zq-optional { color: var(--zq-muted); font-weight: 400; font-size: 13px; }

.zq-form .zq-field { margin-bottom: 20px; }
.zq-form label {
    display: flex; align-items: center; gap: 8px;
    font-family: var(--zq-font-head);
    font-weight: 500;
    font-size: 15px;
    color: var(--zq-white);
    margin-bottom: 8px;
}
.zq-form .form-control { width: 100%; font-size: 16px; }   /* 16px stops iOS zoom-on-focus */
.zq-form select.form-control { height: 44px; cursor: pointer; }
.zq-form textarea.form-control { height: auto; min-height: 150px; resize: vertical; line-height: 1.6; padding-top: 10px; }
.zq-form .form-control[aria-invalid="true"] { border-color: var(--zq-coral); box-shadow: 0 0 0 3px rgba(255, 107, 122, .2); }
.zq-hint { color: var(--zq-muted); font-size: 13px; margin: 6px 0 0; }
.zq-counter { text-align: right; }
.zq-field-error { color: var(--zq-coral); font-size: 13px; font-weight: 600; margin: 6px 0 0; }
.zq-field-error:empty { display: none; }
.zq-field-error::before { content: "\f071\00a0"; font-family: FontAwesome; font-weight: 400; }   /* warning icon, not colour alone */
.zq-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.zq-help-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 24px; height: 24px; padding: 0;
    border-radius: 50%;
    border: 2px solid var(--zq-cyan);
    background: transparent;
    color: var(--zq-cyan);
    font-family: var(--zq-font-head);
    font-weight: 700; font-size: 13px; line-height: 1;
    cursor: pointer;
    position: relative;
}
.zq-help-btn::after { content: ""; position: absolute; inset: -10px; }   /* 44px touch target */
.zq-help-btn:hover { background: var(--zq-cyan); color: var(--zq-navy); }

.zq-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; margin-top: 8px; }
.zq-actions .btn[disabled] { opacity: .6; cursor: progress; }

.zq-alert {
    display: flex; gap: 10px; align-items: flex-start;
    padding: 14px 16px; margin-bottom: 20px;
    border-radius: var(--zq-radius);
    border: 1px solid; font-weight: 600;
}
.zq-alert .fa { font-size: 20px; line-height: 1.3; }
.zq-alert[hidden], .zq-contact [hidden] { display: none !important; }
.zq-alert--success { background: rgba(66, 232, 224, .10); border-color: var(--zq-cyan); color: var(--zq-white); }
.zq-alert--success .fa { color: var(--zq-cyan); }
.zq-alert--error { background: rgba(255, 107, 122, .10); border-color: var(--zq-coral); color: var(--zq-white); }
.zq-alert--error .fa { color: var(--zq-coral); }

/* Socials column */
.zq-social-card {
    background:
        radial-gradient(420px 220px at 100% 0%, rgba(255, 107, 122, .10), transparent 70%),
        radial-gradient(420px 220px at 0% 100%, rgba(66, 232, 224, .10), transparent 70%),
        var(--zq-slate);
}
.zq-social-link {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 18px; margin-bottom: 14px;
    background: var(--zq-navy);
    border: 1px solid var(--zq-border);
    border-radius: var(--zq-radius);
    color: var(--zq-white);
    transition: border-color .2s var(--zq-ease), transform .2s var(--zq-ease);
}
.zq-social-link:hover, .zq-social-link:focus { border-color: var(--zq-cyan); color: var(--zq-white); text-decoration: none; transform: translateY(-2px); }
.zq-social-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; flex: 0 0 48px;
    border-radius: 14px;
    background: var(--zq-cyan); color: var(--zq-navy);
    font-size: 24px;
}
/* Contact page social tiles: each platform's colour, softened to suit the navy theme (icons stay navy) */
.zq-social-icon--instagram { background: #F58FB8; }   /* soft Instagram pink   */
.zq-social-icon--tiktok    { background: #F5F7FA; }   /* TikTok black & white  */
.zq-social-icon--facebook  { background: #7AA7F7; }   /* soft Facebook blue    */
.zq-social-icon--youtube   { background: #FF6B7A; }   /* soft YouTube red (Ziqnal coral) */
/* Footer social circles: same soft colours, applied to the icon (circle stays navy) */
.social-list li a.zq-social--instagram { color: #F58FB8 !important; }
.social-list li a.zq-social--tiktok    { color: #F5F7FA !important; }
.social-list li a.zq-social--facebook  { color: #7AA7F7 !important; }
.social-list li a.zq-social--youtube   { color: #FF6B7A !important; }
.social-list li a.zq-social--email     { color: var(--zq-cyan) !important; }
.zq-social-text { display: flex; flex-direction: column; line-height: 1.3; flex: 1; min-width: 0; }
.zq-social-name { font-family: var(--zq-font-head); font-weight: 600; font-size: 17px; }
.zq-social-handle { color: var(--zq-cyan); overflow-wrap: anywhere; }
.zq-social-arrow { color: var(--zq-muted); }

/* Dialogs (Player ID help + captcha) */
.zq-dialog {
    width: min(640px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    padding: 0;
    border: 1px solid var(--zq-border);
    border-radius: var(--zq-radius-lg);
    background: var(--zq-slate);
    color: var(--zq-muted);
    box-shadow: var(--zq-shadow);
}
.zq-dialog--sm { width: min(420px, calc(100vw - 32px)); }
.zq-dialog::backdrop { background: rgba(4, 8, 18, .72); }
.zq-dialog[open] { animation: zq-pop .18s var(--zq-ease); }
@keyframes zq-pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.zq-dialog-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 18px 22px; border-bottom: 1px solid var(--zq-border);
}
.zq-dialog-head h2 { font-size: 20px; margin: 0; color: var(--zq-white); }
.zq-dialog-close {
    width: 44px; height: 44px; flex: 0 0 44px;
    border: 0; border-radius: 50%;
    background: transparent; color: var(--zq-white);
    font-size: 28px; line-height: 1; cursor: pointer;
}
.zq-dialog-close:hover { background: var(--zq-navy); color: var(--zq-cyan); }
.zq-dialog-body { padding: 22px; }
.zq-help-img { display: block; width: 100%; height: auto; border-radius: var(--zq-radius); border: 1px solid var(--zq-border); }
.zq-turnstile { min-height: 70px; display: flex; justify-content: center; margin: 8px 0; }

/* Phone input (intl-tel-input) on the dark theme.
   :root:root out-ranks the library's own :root defaults, which load after this file. */
.zq-form .iti { display: block; width: 100%; }
:root:root {
    --iti-border-color: var(--zq-border);
    --iti-country-selector-bg: var(--zq-slate);
    --iti-hover-color: rgba(66, 232, 224, .12);
    --iti-icon-color: var(--zq-muted);
}
.iti__selected-country { color: var(--zq-white); border-radius: var(--zq-radius-sm) 0 0 var(--zq-radius-sm); }
.iti__selected-country:hover, .iti__selected-country:focus-visible { background: rgba(66, 232, 224, .08); }
.iti__dropdown-content {
    background: var(--zq-slate) !important;
    border: 1px solid var(--zq-border) !important;
    border-radius: var(--zq-radius-sm);
    color: var(--zq-white);
    box-shadow: var(--zq-shadow);
}
.iti__country-list { background: var(--zq-slate); }
.iti__country { color: var(--zq-white); }
.iti__country.iti__highlight { background-color: rgba(66, 232, 224, .12); }
.iti__country-name { color: var(--zq-white); }
.iti__dial-code { color: var(--zq-muted); }
.iti__search-input { background: var(--zq-navy); color: var(--zq-white); border-color: var(--zq-border); }
.iti__search-input::placeholder { color: var(--zq-muted); }
.iti__divider { border-bottom-color: var(--zq-border); }
.zq-form .iti input.iti__tel-input { border-radius: var(--zq-radius-sm); }

@media (max-width: 767px) {
    .zq-card { padding: 22px 18px; }
    .zq-actions { flex-direction: column-reverse; }
    .zq-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .zq-dialog[open] { animation: none; }
    .zq-social-link:hover { transform: none; }
}

/* Player ID help pop-up: screenshot left, steps right (stacks on phones) */
#player-id-dialog { width: min(780px, calc(100vw - 32px)); }
.zq-help-grid { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 28px; align-items: center; }
.zq-help-shot { margin: 0; }
.zq-help-shot .zq-help-img { max-height: calc(100vh - 180px); width: auto; max-width: 100%; margin: 0 auto; }
.zq-steps { list-style: none; padding: 0; margin: 0 0 24px; counter-reset: none; }
.zq-steps li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; color: var(--zq-muted); line-height: 1.6; }
.zq-steps strong { color: var(--zq-white); }
.zq-steps code { background: var(--zq-navy); color: var(--zq-cyan); padding: 2px 8px; border-radius: 6px; font-size: 14px; }
.zq-step-num {
    flex: 0 0 32px; width: 32px; height: 32px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--zq-cyan); color: var(--zq-navy);
    font-family: var(--zq-font-head); font-weight: 700;
}
.zq-help-done { width: 100%; }
@media (max-width: 640px) {
    .zq-help-grid { grid-template-columns: 1fr; gap: 20px; }
    .zq-help-shot .zq-help-img { max-height: 46vh; }
}

/* Contact page banner: artwork sits on the right, title in its empty left side.
   Height follows the image (3:1); the background colour matches the art's own navy. */
.zq-contact-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 260px;
    aspect-ratio: 3 / 1;
    max-height: 560px;
    width: 100%;
    background-color: #061B34;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right center;
    border-bottom: 1px solid var(--zq-border);
}
.zq-contact-hero > .container { flex: 0 1 auto; }   /* keep Bootstrap's centred container width */
.zq-contact-hero-text { max-width: 40%; text-align: left; }
.zq-contact-hero .page-hero-title { font-size: clamp(32px, 22px + 2.6vw, 56px); margin-bottom: 12px; }
.zq-contact-hero-lead { color: var(--zq-muted); font-size: 18px; margin: 0 0 14px; }
.zq-contact-hero .breadcrumb { justify-content: flex-start; }
@media (max-width: 991px) {
    .zq-contact-hero-text { max-width: 38%; }
    .zq-contact-hero-lead { font-size: 16px; }
}
@media (max-width: 767px) {
    /* Phones: art fills the top, title sits below it on the same navy */
    .zq-contact-hero {
        display: block;
        aspect-ratio: auto;
        min-height: 0;
        max-height: none;
        padding-top: 56%;                 /* room for the artwork */
        background-size: 180% auto;
        background-position: 88% 0;
    }
    .zq-contact-hero-text { max-width: none; padding: 8px 0 28px; }
}

/* ── Qontento editor (Quill) formatting inside article & page content ─────
   The CMS saves alignment/indent/list formatting as ql-* classes; these rules make
   the website honour them. Applies to .article-body and .page-body. */
.article-body .ql-align-center,  .page-body .ql-align-center  { text-align: center; }
.article-body .ql-align-right,   .page-body .ql-align-right   { text-align: right; }
.article-body .ql-align-justify, .page-body .ql-align-justify { text-align: justify; }
.article-body .ql-direction-rtl, .page-body .ql-direction-rtl { direction: rtl; text-align: inherit; }

/* Block-level images (e.g. a centred picture) follow their paragraph's alignment */
.article-body img, .page-body img { max-width: 100%; height: auto; vertical-align: middle; }
.article-body .ql-align-center img,  .page-body .ql-align-center img  { margin-left: auto;  margin-right: auto; }
.article-body .ql-align-right img,   .page-body .ql-align-right img   { margin-left: auto;  margin-right: 0; }

/* Indents (ql-indent-1 … ql-indent-8) */
.article-body .ql-indent-1, .page-body .ql-indent-1 { padding-left: 3em; }
.article-body .ql-indent-2, .page-body .ql-indent-2 { padding-left: 6em; }
.article-body .ql-indent-3, .page-body .ql-indent-3 { padding-left: 9em; }
.article-body .ql-indent-4, .page-body .ql-indent-4 { padding-left: 12em; }
.article-body .ql-indent-5, .page-body .ql-indent-5 { padding-left: 15em; }
.article-body .ql-indent-6, .page-body .ql-indent-6 { padding-left: 18em; }
.article-body .ql-indent-7, .page-body .ql-indent-7 { padding-left: 21em; }
.article-body .ql-indent-8, .page-body .ql-indent-8 { padding-left: 24em; }
/* Indented list items: move the bullet/number too, not just the text */
.article-body li.ql-indent-1, .page-body li.ql-indent-1 { padding-left: .2em; margin-left: 3em; }
.article-body li.ql-indent-2, .page-body li.ql-indent-2 { padding-left: .2em; margin-left: 6em; }
.article-body li.ql-indent-3, .page-body li.ql-indent-3 { padding-left: .2em; margin-left: 9em; }
.article-body li.ql-indent-4, .page-body li.ql-indent-4 { padding-left: .2em; margin-left: 12em; }
.article-body li.ql-indent-5, .page-body li.ql-indent-5 { padding-left: .2em; margin-left: 15em; }
.article-body li.ql-indent-6, .page-body li.ql-indent-6 { padding-left: .2em; margin-left: 18em; }
.article-body li.ql-indent-7, .page-body li.ql-indent-7 { padding-left: .2em; margin-left: 21em; }
.article-body li.ql-indent-8, .page-body li.ql-indent-8 { padding-left: .2em; margin-left: 24em; }

/* Lists: Quill 2 writes every list as <ol>; the item's data-list says bullet or ordered.
   The empty <span class="ql-ui"> is an editor-only marker – hide it. */
.article-body .ql-ui, .page-body .ql-ui { display: none; }
.article-body ol, .article-body ul, .page-body ol, .page-body ul { padding-left: 1.6em; margin-bottom: 1.3rem; }
.article-body li, .page-body li { margin-bottom: .45rem; padding-left: .2em; }
.article-body li[data-list="bullet"],    .page-body li[data-list="bullet"]    { list-style-type: disc; }
.article-body li[data-list="ordered"],   .page-body li[data-list="ordered"]   { list-style-type: decimal; }
.article-body li[data-list="checked"],   .page-body li[data-list="checked"],
.article-body li[data-list="unchecked"], .page-body li[data-list="unchecked"] { list-style: none; }
.article-body li[data-list="checked"]::before,   .page-body li[data-list="checked"]::before   { content: "\2611\00a0"; color: var(--zq-cyan); }
.article-body li[data-list="unchecked"]::before, .page-body li[data-list="unchecked"]::before { content: "\2610\00a0"; }
.article-body li::marker, .page-body li::marker { color: var(--zq-cyan); font-weight: 700; }

/* Other Quill formats */
.article-body .ql-size-small, .page-body .ql-size-small { font-size: .8em; }
.article-body .ql-size-large, .page-body .ql-size-large { font-size: 1.4em; }
.article-body .ql-size-huge,  .page-body .ql-size-huge  { font-size: 2em; }
.article-body pre.ql-syntax, .page-body pre.ql-syntax,
.article-body .ql-code-block-container, .page-body .ql-code-block-container {
    background: var(--zq-navy); color: var(--zq-white);
    border: 1px solid var(--zq-border); border-radius: var(--zq-radius-sm);
    padding: 14px 16px; overflow-x: auto;
}
.article-body blockquote, .page-body blockquote { margin: 1.4rem 0; }
.article-body iframe.ql-video, .page-body iframe.ql-video { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--zq-radius); }
