/* ============================================================
   PETBRIDGE IQ — THEME STYLESHEET v3.0.0
   Global styles only. No page-specific classes.
   All section backgrounds set via Gutenberg colour picker.
   ============================================================ */

:root {
    --teal:     #0D6E6E;
    --amber:    #E8A838;
    --dark:     #1A1A2E;
    --offwhite: #F8F6F2;
    --white:    #ffffff;
    --muted:    rgba(26,26,46,0.60);
    --radius:   7px;
    --max-w:    1160px;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Restore paragraph spacing inside content blocks */
.wp-block-group p,
.wp-block-column p {
    margin-bottom: 1em;
}
.wp-block-group p:last-child,
.wp-block-column p:last-child {
    margin-bottom: 0;
}
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ── WORDPRESS / GUTENBERG RESETS ────────────────────────── */
.site-main { margin: 0; padding: 0; }
.site-main article { margin: 0; padding: 0; }
.wp-site-blocks { padding: 0 !important; }
.wp-block-group { margin: 0 !important; }
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.has-global-padding { padding-inline: 0 !important; }

/* ── HEADER ──────────────────────────────────────────────── */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--dark); height: 80px;
    display: flex; align-items: center; width: 100%;
}
.header-inner {
    width: 100%; max-width: var(--max-w);
    margin: 0 auto; padding: 0 32px;
    display: flex; align-items: center;
}
.site-logo {
    display: flex; align-items: center; gap: 10px;
    color: var(--white); font-size: 15px; font-weight: 500;
    flex-shrink: 0; margin-right: auto;
}
.logo-icon {
    width: 36px; height: 36px; background: var(--teal);
    color: var(--white); font-weight: 700; font-size: 16px;
    border-radius: 8px; display: flex; align-items: center; justify-content: center;
}
.primary-nav { display: flex; align-items: center; gap: 28px; margin: 0 32px; }
.primary-nav > a,
.primary-nav > .nav-has-children > a {
    color: rgba(255,255,255,0.75); font-size: 14px; transition: color .15s;
}
.primary-nav > a:hover,
.primary-nav > .nav-has-children > a:hover { color: var(--white); }
.nav-has-children { position: relative; display: flex; align-items: center; }
.nav-dropdown-menu {
    display: none; position: absolute; top: calc(100% + 0px); left: 0;
    background: var(--dark); border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius); padding: 8px 0; min-width: 240px;
    flex-direction: column; z-index: 200;
}
.nav-has-children:hover .nav-dropdown-menu { display: flex; }
.nav-dropdown-menu a { display: block; padding: 8px 16px; color: rgba(255,255,255,0.75); font-size: 14px; }
.nav-dropdown-menu a:hover { color: var(--white); background: rgba(255,255,255,.06); }
.btn-header {
    flex-shrink: 0; background: var(--amber); color: var(--dark);
    font-size: 14px; font-weight: 500; padding: 8px 18px;
    border-radius: var(--radius);
}
.mobile-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px; margin-left: 16px;
}
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; }

/* ── SECTION LAYOUT ──────────────────────────────────────── */
/* Every top-level group block gets section padding and max-width */
.site-main > article > .entry-content > .wp-block-group,
.site-main > article > .wp-block-group {
    padding: 40px 32px;
    width: 100%;
}
.site-main > article > .entry-content > .wp-block-group > .wp-block-group__inner-container,
.site-main > article > .wp-block-group > .wp-block-group__inner-container {
    max-width: var(--max-w);
    margin: 0 auto;
}

/* Trust bar compact padding handled by specific rule below */

/* White-label note section — compact padding */
.wp-block-group:has(.wl-note) {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
}

/* CTA section centres content */
.has-teal-background-color.wp-block-group > .wp-block-group__inner-container {
    max-width: 680px !important;
    text-align: center;
}

/* ── COLUMN GAPS ─────────────────────────────────────────── */
.wp-block-columns {
    gap: 24px !important;
    margin-bottom: 24px !important;
}
.wp-block-columns:last-of-type { margin-bottom: 0 !important; }

/* ── TYPOGRAPHY — GLOBAL ─────────────────────────────────── */
h1, h2, h3, h4, h6 { font-weight: 500; line-height: 1.25; }

/* H1 — hero headline */
.wp-block-heading:is(h1) {
    font-size: 46px;
    font-weight: 500;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 24px;
}

/* H2 — section headline */
.wp-block-heading:is(h2) {
    font-size: 28px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 12px;
}

/* H3 — card/tile title */
.wp-block-heading:is(h3) {
    font-size: 16px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 8px;
}

/* H4 — mini card title */
.wp-block-heading:is(h4) {
    font-size: 15px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 8px;
}

/* H5 — section subline */
.wp-block-heading:is(h5) {
    font-size: 15px;
    font-weight: 500;
    color: rgba(26,26,46,0.60);
    line-height: 1.6;
    margin-bottom: 32px;
}

/* ── DARK BACKGROUND OVERRIDES ───────────────────────────── */
/* When inside a dark background group, text goes white */
.has-dark-background-color .wp-block-heading:is(h1),
.has-dark-background-color .wp-block-heading:is(h2),
.has-dark-background-color .wp-block-heading:is(h3) {
    color: var(--white);
}
.has-dark-background-color p {
    color: rgba(255,255,255,0.75);
}
.has-dark-background-color .wp-block-heading:is(h5) {
    color: rgba(255,255,255,0.60);
}

/* Teal background — white text */
.has-teal-background-color .wp-block-heading:is(h2),
.has-teal-background-color p {
    color: var(--white);
}

/* ── QUOTE BLOCK ─────────────────────────────────────────── */
.wp-block-quote {
    background: var(--offwhite);
    border-left: 4px solid var(--teal) !important;
    border-top: none; border-right: none; border-bottom: none;
    border-radius: 6px;
    padding: 24px;
    margin: 0;
}
.wp-block-quote p { font-style: italic; font-size: 15px; line-height: 1.7; margin-bottom: 12px; }
.wp-block-quote cite,
.wp-block-quote .wp-block-quote__citation {
    font-style: normal; font-size: 13px; font-weight: 500;
    color: var(--teal); display: block;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.wp-block-button__link {
    border-radius: var(--radius) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    padding: 12px 28px !important;
    box-shadow: none !important;
}
/* Amber button */
.btn-amber .wp-block-button__link {
    background: var(--amber) !important;
    color: var(--dark) !important;
}
/* Outline button */
.btn-outline .wp-block-button__link {
    background: transparent !important;
    color: var(--white) !important;
    border: 1px solid rgba(255,255,255,.35) !important;
}
/* CTA button */
.has-teal-background-color .wp-block-button__link {
    background: var(--amber) !important;
    color: var(--dark) !important;
}

/* ── CUSTOM CLASSES — small reusable elements ────────────── */
/* These are the only custom classes — all small, reusable everywhere */

/* Section label — small teal uppercase text above headings */
.section-label {
    font-size: 11px !important; font-weight: 500 !important;
    letter-spacing: .1em !important; text-transform: uppercase !important;
    color: var(--teal) !important; margin-bottom: 12px !important;
    display: block !important;
}

/* Hero label — amber uppercase */
.hero-label {
    font-size: 11px !important; font-weight: 500 !important;
    letter-spacing: .1em !important; text-transform: uppercase !important;
    color: var(--amber) !important; margin-bottom: 20px !important;
    display: block !important;
}

/* Teal span inside hero h1 */
.hero-teal { color: var(--teal) !important; }

/* Trust bar label */
.trust-label {
    font-size: 11px !important; font-weight: 500 !important;
    letter-spacing: .1em !important; text-transform: uppercase !important;
    color: rgba(26,26,46,0.45) !important;
}

/* Card number circle */
.card-number {
    width: 40px !important; height: 40px !important; min-width: 40px !important;
    background: var(--teal) !important; color: var(--white) !important;
    border-radius: 50% !important; font-size: 16px !important; font-weight: 500 !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    margin-bottom: 16px !important;
}

/* Hero image placeholder */
.hero-placeholder {
    background: rgba(13,110,110,0.15) !important;
    border: 2px dashed rgba(13,110,110,0.4) !important;
    border-radius: 12px !important; padding: 80px 40px !important;
    text-align: center !important; color: rgba(255,255,255,0.3) !important;
    font-size: 13px !important; margin: 0 !important;
}

/* Chips */
p.chip {
    display: inline-flex !important; width: auto !important;
    border-radius: 20px !important; padding: 6px 14px !important;
    font-size: 13px !important; margin: 12px 6px 6px 0 !important;
}
p.chip-teal { border: 1px solid var(--teal) !important; color: var(--teal) !important; background: transparent !important; }
p.chip-muted { border: 1px solid rgba(26,26,46,0.2) !important; color: rgba(26,26,46,0.45) !important; background: transparent !important; }

/* Badge pill */
p.badge-pill {
    display: inline-block !important; background: var(--amber) !important;
    color: var(--dark) !important; border-radius: 20px !important;
    padding: 6px 16px !important; font-size: 13px !important;
    font-weight: 500 !important; margin-bottom: 20px !important; width: auto !important;
}

/* Status lines */
p.status-live { font-size: 13px !important; font-weight: 500 !important; color: var(--teal) !important; margin-bottom: 12px !important; }
p.status-soon { font-size: 13px !important; color: rgba(26,26,46,0.40) !important; margin-bottom: 12px !important; }

/* Tile icon */
.tile-icon {
    width: 44px; height: 44px; background: rgba(13,110,110,0.12);
    border-radius: 8px; display: flex; align-items: center;
    justify-content: center; margin-bottom: 16px; color: var(--teal);
}
.tile-icon svg { width: 22px; height: 22px; }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer { background: var(--dark); padding: 32px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; gap: 40px; }
.footer-nav { flex: 1; display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,0.5); font-size: 14px; }
.footer-nav a:hover { color: rgba(255,255,255,0.85); }
.footer-copy { color: rgba(255,255,255,0.45); font-size: 13px; flex-shrink: 0; }
.footer-wordmark .fw-paw {
    color: #4ab896;
}

.footer-wordmark .fw-unify {
    color: #c8cdd5;
}

.footer-wordmark .fw-iq {
    color: #E8852A;
}

.footer-wordmark,
.footer-wordmark .fw-paw,
.footer-wordmark .fw-unify,
.footer-wordmark .fw-iq {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
    .primary-nav { display: none; }
    .mobile-toggle { display: flex; }
    .footer-inner { flex-direction: column; text-align: center; gap: 20px; }
    .wp-block-heading:is(h1) { font-size: 32px; }
}
@media (max-width: 600px) {
    .site-main > article > .entry-content > .wp-block-group,
    .site-main > article > .wp-block-group { padding: 48px 20px; }
}
body.nav-open .primary-nav {
    display: flex !important; flex-direction: column;
    position: fixed; top: 56px; left: 0; right: 0;
    background: var(--dark); padding: 24px 32px;
    gap: 20px; z-index: 99; align-items: flex-start;
}

/* ── SECTION LAYOUT ─────────────────────────────────────────
   Every top-level Group block gets section padding + max-width.
   Background colour comes from has-*-background-color (theme.json).
   ────────────────────────────────────────────────────────── */
.entry-content > .wp-block-group,
.site-main .wp-block-group:not(.wp-block-group .wp-block-group) {
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 32px;
    padding-right: 32px;
    width: 100%;
    box-sizing: border-box;
}
.entry-content > .wp-block-group > .wp-block-group__inner-container,
.site-main .wp-block-group:not(.wp-block-group .wp-block-group) > .wp-block-group__inner-container {
    max-width: var(--max-w);
    margin-left: auto;
    margin-right: auto;
}

/* Trust bar / narrow band — offwhite sections get compact padding */
.entry-content > .wp-block-group.has-offwhite-background-color:has(> .wp-block-group__inner-container > p:only-child) {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
}

/* CTA section — teal, centred, narrow */
.entry-content > .wp-block-group.has-teal-background-color > .wp-block-group__inner-container {
    max-width: 680px !important;
    text-align: center;
}

/* ── COLUMNS ─────────────────────────────────────────────── */
.wp-block-columns {
    gap: 24px !important;
    margin-top: 32px !important;
    margin-bottom: 24px !important;
    flex-wrap: nowrap !important;
}
.wp-block-columns:last-of-type { margin-bottom: 0 !important; }

/* ── COLUMN CARDS ────────────────────────────────────────── */
/* When a column has a background colour set via the editor
   sidebar picker, it becomes a card automatically */
.wp-block-column.has-white-background-color,
.wp-block-column.has-offwhite-background-color {
    border-radius: 12px !important;
    padding: 28px 24px !important;
}

/* ── DARK CARD GROUP ─────────────────────────────────────── */
/* A group block inside a section with dark background */
.wp-block-group.has-dark-background-color:not(.entry-content > .wp-block-group):not(.hentry > .wp-block-group):not(article > .wp-block-group) {
    border-radius: 12px !important;
    padding: 40px !important;
}
/* Mini-cards inside dark group */
.wp-block-group.has-dark-background-color:not(.entry-content > .wp-block-group):not(.hentry > .wp-block-group):not(article > .wp-block-group) .wp-block-group {
    background: rgba(255,255,255,0.07) !important;
    border-radius: 8px !important;
    padding: 16px 20px !important;
    margin-bottom: 12px !important;
}
.wp-block-group.has-dark-background-color:not(.entry-content > .wp-block-group):not(.hentry > .wp-block-group):not(article > .wp-block-group) .wp-block-group:last-child {
    margin-bottom: 0 !important;
}

/* ── TYPOGRAPHY — GLOBAL ─────────────────────────────────── */
.wp-block-heading.wp-block-heading:is(h1) {
    font-size: 46px; font-weight: 500; line-height: 1.15;
    color: var(--white); margin-bottom: 24px;
}
.wp-block-heading:is(h2) {
    font-size: 28px; font-weight: 500; color: var(--dark); margin-bottom: 12px;
}
.wp-block-heading:is(h3) {
    font-size: 16px; font-weight: 500; color: var(--dark); margin-bottom: 8px;
}
.wp-block-heading:is(h4) {
    font-size: 15px; font-weight: 500; color: var(--dark); margin-bottom: 8px;
}
.wp-block-heading:is(h5) {
    font-size: 15px; font-weight: 500; color: var(--muted);
    line-height: 1.6; margin-bottom: 32px;
}
/* Dark background overrides */
.has-dark-background-color .wp-block-heading:is(h2),
.has-dark-background-color .wp-block-heading:is(h3) { color: var(--white); }
.has-dark-background-color p { color: rgba(255,255,255,0.75); }
.has-dark-background-color .wp-block-heading:is(h5) { color: rgba(255,255,255,0.60); }
/* Teal background */
.has-teal-background-color .wp-block-heading:is(h2),
.has-teal-background-color p { color: var(--white); }

/* ── QUOTE ───────────────────────────────────────────────── */
.wp-block-quote {
    background: var(--offwhite) !important;
    border-left: 4px solid var(--teal) !important;
    border-top: none; border-right: none; border-bottom: none;
    border-radius: 6px; padding: 24px; margin: 0;
}
.wp-block-quote p { font-style: italic; font-size: 15px; line-height: 1.7; margin-bottom: 12px; color: var(--dark) !important; }
.wp-block-quote cite { font-style: normal; font-size: 13px; font-weight: 500; color: var(--teal); display: block; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.wp-block-button__link {
    border-radius: var(--radius) !important; font-size: 15px !important;
    font-weight: 500 !important; padding: 14px 32px !important; box-shadow: none !important;
}
.btn-amber .wp-block-button__link { background: var(--amber) !important; color: var(--dark) !important; }
.btn-outline .wp-block-button__link { background: transparent !important; color: var(--white) !important; border: 1px solid rgba(255,255,255,.35) !important; }
.has-teal-background-color .wp-block-button__link { background: var(--amber) !important; color: var(--dark) !important; }

/* ── SMALL REUSABLE CLASSES ──────────────────────────────── */
.section-label {
    font-size: 11px !important; font-weight: 500 !important;
    letter-spacing: .1em !important; text-transform: uppercase !important;
    color: var(--teal) !important; margin-bottom: 12px !important; display: block !important;
}
.hero-label {
    font-size: 11px !important; font-weight: 500 !important;
    letter-spacing: .1em !important; text-transform: uppercase !important;
    color: var(--amber) !important; margin-bottom: 20px !important; display: block !important;
}
.hero-teal { color: var(--teal) !important; }
.trust-label {
    font-size: 11px !important; font-weight: 500 !important;
    letter-spacing: .1em !important; text-transform: uppercase !important;
    color: rgba(26,26,46,0.45) !important;
}
.hero-placeholder {
    background: rgba(13,110,110,0.15) !important;
    border: 2px dashed rgba(13,110,110,0.4) !important;
    border-radius: 12px !important; padding: 80px 40px !important;
    text-align: center !important; color: rgba(255,255,255,0.3) !important;
    font-size: 13px !important; margin: 0 !important;
}
p.status-live { font-size: 13px !important; font-weight: 500 !important; color: var(--teal) !important; margin-bottom: 12px !important; }
p.status-soon { font-size: 13px !important; color: rgba(26,26,46,0.40) !important; margin-bottom: 12px !important; }
p.chip-muted { border: 1px solid rgba(26,26,46,0.2) !important; color: rgba(26,26,46,0.45) !important; background: transparent !important; }
p.badge-pill { display: inline-block !important; background: var(--amber) !important; color: var(--dark) !important; border-radius: 20px !important; padding: 6px 16px !important; font-size: 13px !important; font-weight: 500 !important; margin-bottom: 20px !important; width: auto !important; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
    .primary-nav { display: none; }
    .mobile-toggle { display: flex; }
    .wp-block-columns { flex-wrap: wrap !important; }
    .wp-block-heading:is(h1) { font-size: 32px; }
    .footer-inner { flex-direction: column; text-align: center; gap: 20px; }
}
@media (max-width: 600px) {
    .entry-content > .wp-block-group,
    .site-main .wp-block-group:not(.wp-block-group .wp-block-group) { padding: 48px 20px; }
    .wp-block-heading:is(h1) { font-size: 26px; }
}
body.nav-open .primary-nav {
    display: flex !important; flex-direction: column;
    position: fixed; top: 56px; left: 0; right: 0;
    background: var(--dark); padding: 24px 32px;
    gap: 20px; z-index: 99; align-items: flex-start;
}


/* ── EDITOR COLOUR OVERRIDES ─────────────────────────────────
   These rules apply in both editor and frontend.
   Without them the editor shows dark text on dark backgrounds.
   ────────────────────────────────────────────────────────── */
.has-dark-background-color,
.editor-styles-wrapper .has-dark-background-color {
    background-color: #1A1A2E !important;
}
.has-dark-background-color p,
.editor-styles-wrapper .has-dark-background-color p {
    color: rgba(255,255,255,0.75) !important;
}
.has-dark-background-color h1,
.has-dark-background-color h2,
.has-dark-background-color h3,
.has-dark-background-color h4,
.editor-styles-wrapper .has-dark-background-color h1,
.editor-styles-wrapper .has-dark-background-color h2,
.editor-styles-wrapper .has-dark-background-color h3,
.editor-styles-wrapper .has-dark-background-color h4 {
    color: #ffffff !important;
}

/* ── CARD DARK — mini-card colour ────────────────────────── */
.has-card-dark-background-color {
    background-color: #252538 !important;
    border-radius: 8px !important;
    padding: 16px 20px !important;
    margin-bottom: 12px !important;
}
.has-card-dark-background-color h4 {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    margin-bottom: 8px !important;
}
.has-card-dark-background-color p {
    color: rgba(255,255,255,0.55) !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
}


/* ── BLOCK STYLES ────────────────────────────────────────────
   Applied via the Styles panel in the editor sidebar.
   Gutenberg adds is-style-{name} class to the block.
   ─────────────────────────────────────────────────────────── */

/* Mini Card — for Group blocks inside dark sections */
.is-style-mini-card {
    background: rgba(255,255,255,0.07) !important;
    border-radius: 8px !important;
    padding: 16px 20px !important;
    margin-bottom: 12px !important;
}
.is-style-mini-card h4 {
    color: var(--white) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    margin-bottom: 8px !important;
}
.is-style-mini-card p {
    color: rgba(255,255,255,0.55) !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
}

/* Section Card — dark rounded card containing columns */
.is-style-section-card {
    background: var(--dark) !important;
    border-radius: 12px !important;
    padding: 40px !important;
}

/* Tile — for Column blocks with white background */
.is-style-tile {
    background: var(--white) !important;
    border: 1px solid rgba(26,26,46,0.10) !important;
    border-radius: 12px !important;
    padding: 28px 24px !important;
}

/* Card — for Column blocks with offwhite background */
.is-style-card {
    background: var(--offwhite) !important;
    border-radius: 12px !important;
    padding: 28px 24px !important;
}


/* ── MOBILE APP PAGE STYLES ─────────────────────────────────
   Used on /channels/apple-ios/ and similar channel pages.
   ─────────────────────────────────────────────────────────── */

/* Breadcrumb nav */
.channel-breadcrumb {
    font-size: 13px;
    margin-bottom: 20px;
    opacity: 0.7;
}
.channel-breadcrumb a {
    color: var(--white);
    text-decoration: none;
}
.channel-breadcrumb .current {
    color: var(--amber);
    opacity: 1;
}

/* Phone placeholder in hero */
.phone-placeholder {
    background: rgba(13,110,110,0.18);
    border: 2px dashed rgba(13,110,110,0.5);
    border-radius: 28px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px;
    color: rgba(255,255,255,0.35);
    font-size: 14px;
    line-height: 1.6;
}

/* White-label note block */
.wl-note {
    border-left: 4px solid var(--amber);
    background: rgba(232,168,56,0.07);
    border-radius: 6px;
    padding: 20px 24px;
    margin: 0;
}
.wl-note strong {
    color: var(--dark);
    font-weight: 600;
}

/* Feature rows — image + text two-col with bottom separator */
.feature-row {
    padding: 48px 0;
    border-bottom: 1px solid rgba(26,26,46,0.10);
}
.feature-row:last-child {
    border-bottom: none;
}

/* Screenshot placeholder in feature rows */
.screenshot-placeholder {
    background: var(--offwhite);
    border: 2px dashed rgba(26,26,46,0.18);
    border-radius: 12px;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(26,26,46,0.35);
    font-size: 14px;
}

/* Disclaimer block — amber-tinted quote */
.is-style-disclaimer {
    border-left: 4px solid var(--amber) !important;
    background: rgba(232,168,56,0.08) !important;
    border-radius: 6px !important;
    padding: 16px 20px !important;
    font-style: italic !important;
    color: var(--muted) !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    margin: 24px 0 0 0 !important;
}
.is-style-disclaimer p,
.is-style-disclaimer cite {
    font-style: italic !important;
    color: var(--muted) !important;
    font-size: 14px !important;
}

/* Step Card — numbered how-it-works card */
.is-style-step-card {
    background: var(--white) !important;
    border: 1px solid rgba(26,26,46,0.10) !important;
    border-radius: 12px !important;
    padding: 32px 24px !important;
    text-align: left !important;
}
.is-style-step-card h4,
.is-style-step-card h3 {
    font-size: 16px !important;
    font-weight: 500 !important;
    margin-bottom: 10px !important;
    color: var(--dark) !important;
}
.is-style-step-card p:not(.card-number) {
    font-size: 14px !important;
    color: var(--muted) !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* HQ card — highlighted tile with border in Also Included section */
.hq-card {
    background: var(--white);
    border: 1px solid rgba(26,26,46,0.10);
    border-radius: 10px;
    padding: 24px;
}
.hq-card a {
    color: var(--teal);
    text-decoration: underline;
    font-size: 14px;
}

ENDOFCSS 2>&1

/* Dropdown hover bridge — fills the gap so mouse travel doesn't break hover */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

ENDCSS 2>&1
/* Feature rows: force equal 50/50 column split */
.feature-row .wp-block-columns .wp-block-column:first-child {
    flex-basis: 36% !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
}
.feature-row .wp-block-columns .wp-block-column:nth-child(1) {
    flex-basis: 36% !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    max-width: 40% !important;
}
.feature-row .wp-block-columns .wp-block-column:nth-child(2) {
    flex-basis: 60% !important;
    flex-grow: 1 !important;
}

/* Hero section — reduce bottom padding so wl-note sits closer */
.hentry > .wp-block-group.has-dark-background-color:first-child {
    padding-bottom: 24px !important;
}

/* What the app does section — reduce top padding since wl-note sits above it */
.hentry > .wp-block-group.has-white-background-color:nth-child(3) {
    padding-top: 24px !important;
}

/* Buttons wrapper — space above from preceding paragraph */
.wp-block-buttons {
    margin-top: 24px !important;
}

/* Logo image */
.site-logo .logo-img {
    height: 66px;
    width: auto;
    mix-blend-mode: lighten;
    display: block;
}

/* ── INTEGRATIONS PAGE STYLES ───────────────────────────── */

/* Amber chip */
p.chip-amber {
    border: 1px solid var(--amber) !important;
    color: var(--amber) !important;
    background: transparent !important;
}

/* HQ feature list — numbered rows with vertical connector line */
.hq-feature {
    padding: 32px 0;
    border-bottom: 1px solid rgba(26,26,46,0.08);
    position: relative;
}
/* hq-feature uses wp-block-columns internally — let Gutenberg flex handle layout */
.hq-feature .wp-block-columns {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 24px !important;
    align-items: flex-start !important;
    width: 100% !important;
}
.hq-feature:last-child {
    border-bottom: none;
}
.hq-feature-num {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    background: rgba(26,26,46,0.10) !important;
    color: var(--dark) !important;
    border-radius: 50% !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
}

/* Integration note block */
.integration-note {
    background: var(--offwhite);
    border-radius: 10px;
    padding: 24px;
    margin-top: 32px;
}
.integration-note strong {
    font-weight: 600;
    color: var(--dark);
}

/* Dashboard placeholder (dark sections) */
.dashboard-placeholder {
    background: rgba(13,110,110,0.18);
    border: 2px dashed rgba(13,110,110,0.4);
    border-radius: 12px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.35);
    font-size: 14px;
    text-align: center;
}

/* Planned badge pill — muted grey */
.badge-pill-muted {
    display: inline-block;
    background: rgba(26,26,46,0.08);
    color: rgba(26,26,46,0.5);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 16px;
}

/* HQ badge pill — teal filled */
.badge-pill-teal {
    display: inline-block;
    background: var(--teal);
    color: var(--white);
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
}

/* Step rows — numbered vertical list with connector line */
.step-row {
    padding: 20px 0;
    border-bottom: none;
}
.step-row .wp-block-columns {
    align-items: flex-start !important;
    gap: 32px !important;
}
.step-row .wp-block-columns .wp-block-column:first-child {
    flex-basis: 60px !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    max-width: 60px !important;
    width: 60px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}
.step-row .wp-block-columns .wp-block-column:nth-child(2) {
    flex-basis: auto !important;
    flex-grow: 1 !important;
    max-width: none !important;
}
/* Vertical connector line below number circle (except last step-row) */
.step-row:not(:last-of-type) .wp-block-columns .wp-block-column:first-child::after {
    content: '';
    display: block;
    width: 1px;
    flex-grow: 1;
    min-height: 60px;
    background: rgba(26,26,46,0.15);
    margin-top: 8px;
}

/* Teal stat column — sits directly on teal background, no card */
.is-style-teal-stat {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}
.is-style-teal-stat .card-number {
    background: rgba(255,255,255,0.20) !important;
    color: var(--white) !important;
}
.is-style-teal-stat h4 {
    color: var(--white) !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
}
.is-style-teal-stat p {
    color: rgba(255,255,255,0.75) !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

/* ── IMAGE SHADOW CLASSES ────────────────────────────────────
   Apply via Additional CSS Class(es) in the Gutenberg block editor.
   img-shadow-light : for images on light/white/offwhite backgrounds
   img-shadow-dark  : for images on dark/teal backgrounds
   ─────────────────────────────────────────────────────────── */

/* Shadow for images on light backgrounds */
/* Shadow applied only to the img element so it follows transparent PNG shape */
.img-shadow-light img {
    filter: drop-shadow(4px 8px 16px rgba(26, 26, 46, 0.22)) !important;
}

/* Shadow for images on dark backgrounds */
.img-shadow-dark img {
    filter: drop-shadow(4px 8px 20px rgba(255, 255, 255, 0.50)) !important;
}

/* Gap between stacked is-style-tile groups inside a column */
.wp-block-column > .wp-block-group.is-style-tile + .wp-block-group.is-style-tile,
.wp-block-column > .wp-block-group.is-style-card + .wp-block-group.is-style-card {
    margin-top: 16px !important;
}

/* Hint block — used for contextual tips, sits on offwhite sections */
.is-style-hint {
    background: rgba(26, 26, 46, 0.06) !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 28px 24px !important;
}
.is-style-hint p {
    color: var(--dark) !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
}
.is-style-hint strong {
    color: var(--dark) !important;
}
/* Gap between stacked hint groups */
.wp-block-column > .wp-block-group.is-style-hint + .wp-block-group.is-style-hint,
.wp-block-column > .wp-block-group.is-style-tile + .wp-block-group.is-style-hint,
.wp-block-column > .wp-block-group.is-style-hint + .wp-block-group.is-style-tile {
    margin-top: 16px !important;
}

/* hq-feature-col-num — number column in integration feature rows */
.hq-feature-col-num {
    flex-basis: 48px !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    max-width: 48px !important;
    width: 48px !important;
}
/* Content column next to hq-feature-col-num gets remaining space */
.wp-block-columns:has(.hq-feature-col-num) .wp-block-column:not(.hq-feature-col-num) {
    flex: 1 1 0 !important;
    min-width: 0 !important;
}

/* ── WHYITMATTER-NOTE ── */
.whyitmatter-note {
    padding: 13px 48px !important;
}
.whyitmatter-note p {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin: 0 !important;
    font-size: 14px !important;
    color: rgba(255,255,255,0.92) !important;
}
.whyitmatter-note .wm-tag {
    font-size: 11px !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,0.5) !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
}
.whyitmatter-note .wm-sep {
    display: inline-block !important;
    width: 1px !important;
    height: 18px !important;
    background: rgba(255,255,255,0.25) !important;
    flex-shrink: 0 !important;
    font-size: 0 !important;
    color: transparent !important;
    vertical-align: middle !important;
}

/* ── PILLS ROW ── */
.pills-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    padding-top: 28px !important;
    margin-top: 8px !important;
}
.pills-row p {
    margin: 0 !important;
}

/* ── TESTIMONIAL QUOTE ── */
.wp-block-quote.is-style-testimonial {
    background: #F8F6F2;
    border: none !important;
    border-left: none !important;
    border-radius: 10px;
    padding: 32px 48px 56px 64px !important;
    position: relative;
    margin: 0 !important;
    text-align: center !important;
}
.wp-block-quote.is-style-testimonial::before {
    content: "\201C";
    font-size: 96px;
    line-height: 1;
    color: #0D6E6E;
    font-family: Georgia, serif;
    position: absolute;
    top: 4px;
    left: 20px;
    opacity: 0.4;
}
.wp-block-quote.is-style-testimonial::after {
    content: "\201D";
    font-size: 96px;
    line-height: 1;
    color: #0D6E6E;
    font-family: Georgia, serif;
    position: absolute;
    bottom: 4px;
    right: 20px;
    opacity: 0.4;
}
.wp-block-quote.is-style-testimonial p {
    font-size: 16px !important;
    font-style: italic !important;
    color: #1A1A2E !important;
    line-height: 1.65 !important;
    margin-bottom: 8px !important;
    position: relative;
    z-index: 1;
}
.wp-block-quote.is-style-testimonial cite {
    font-size: 13px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    color: #0D6E6E !important;
}
.has-dark-background-color .wp-block-quote.is-style-testimonial {
    background: rgba(255,255,255,0.06) !important;
}
.has-dark-background-color .wp-block-quote.is-style-testimonial p {
    color: rgba(255,255,255,0.85) !important;
}
.has-dark-background-color .wp-block-quote.is-style-testimonial::before,
.has-dark-background-color .wp-block-quote.is-style-testimonial::after {
    color: rgba(255,255,255,0.3) !important;
}
.has-dark-background-color .wp-block-quote.is-style-testimonial cite {
    color: rgba(255,255,255,0.5) !important;
}






/* Testimonial on dark background (hero) */
.has-dark-background-color .wp-block-quote.is-style-testimonial {
    background: rgba(255,255,255,0.06) !important;
}
.has-dark-background-color .wp-block-quote.is-style-testimonial p {
    color: rgba(255,255,255,0.85) !important;
}
.has-dark-background-color .wp-block-quote.is-style-testimonial cite {
    color: rgba(255,255,255,0.5) !important;
}

/* ── BADGE PILL AMBER ── */
p.badge-pill-amber {
    display: inline-block !important;
    background: var(--amber, #E8A838) !important;
    color: var(--dark, #1A1A2E) !important;
    border-radius: 20px !important;
    padding: 6px 16px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    margin: 0 !important;
    width: auto !important;
}

/* ── BADGE PILL WHITE ── */
p.badge-pill-white {
    display: inline-block !important;
    background: #ffffff !important;
    color: var(--dark, #1A1A2E) !important;
    border-radius: 20px !important;
    padding: 6px 16px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    margin: 0 !important;
    width: auto !important;
}

/* ── PHONE PLACEHOLDER — constrained size ── */
p.phone-placeholder {
    background: rgba(13,110,110,0.08) !important;
    border: 1.5px dashed rgba(13,110,110,0.3) !important;
    border-radius: 12px !important;
    min-height: 280px !important;
    max-width: 320px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    color: rgba(26,26,46,0.3) !important;
    margin: 0 auto !important;
}

/* ── SCREENSHOT GALLERY ROWS ── */
/* 66/33 split for feature rows */
.hq-feature .wp-block-columns {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 40px !important;
    align-items: flex-start !important;
}
/* Odd rows: image left (col 1 = 33%, col 2 = 66%) — screenshot gallery only */
.hq-feature:not(:has(.hq-feature-col-num)):nth-child(odd) .wp-block-columns .wp-block-column:first-child {
    flex: 0 0 33% !important;
    max-width: 33% !important;
}
.hq-feature:not(:has(.hq-feature-col-num)):nth-child(odd) .wp-block-columns .wp-block-column:last-child {
    flex: 1 1 0 !important;
}
/* Even rows: text left (col 1 = 66%), image right (col 2 = 33%) — screenshot gallery only */
.hq-feature:not(:has(.hq-feature-col-num)):nth-child(even) .wp-block-columns .wp-block-column:first-child {
    flex: 1 1 0 !important;
}
.hq-feature:not(:has(.hq-feature-col-num)):nth-child(even) .wp-block-columns .wp-block-column:last-child {
    flex: 0 0 33% !important;
    max-width: 33% !important;
}

/* Screenshot placeholder — 280px height, rotation, shadow */
.hq-feature:nth-child(odd) .screenshot-placeholder {
    transform: rotate(3deg) !important;
    box-shadow: -6px 8px 24px rgba(26,26,46,0.12) !important;
}
.hq-feature:nth-child(even) .screenshot-placeholder {
    transform: rotate(-3deg) !important;
    box-shadow: -6px 8px 24px rgba(26,26,46,0.12) !important;
}
p.screenshot-placeholder {
    background: rgba(13,110,110,0.08) !important;
    border: 1.5px dashed rgba(13,110,110,0.3) !important;
    border-radius: 12px !important;
    height: 280px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    color: rgba(26,26,46,0.3) !important;
    margin: 0 !important;
}

/* ── SCREENSHOT GALLERY IMAGE — add class 'screenshot-gallery-img' in editor ── */
/* Strip figure background — prevent white tile effect */
.hq-feature .wp-block-image {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: center !important;
}
.screenshot-gallery-img {
    background: transparent !important;
    padding: 0 !important;
    text-align: center !important;
}
.screenshot-gallery-img img {
    height: 280px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
}
.screenshot-gallery-img.rotate-right img {
    transform: rotate(3deg) !important;
    filter: drop-shadow(-6px 8px 16px rgba(26,26,46,0.25)) !important;
}
.screenshot-gallery-img.rotate-left img {
    transform: rotate(-3deg) !important;
    filter: drop-shadow(6px 8px 16px rgba(26,26,46,0.25)) !important;
}

/* ── LIST CHEVRON ── */
ul.list-chevron {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
ul.list-chevron li {
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
    font-size: 14px !important;
    color: #1A1A2E !important;
    line-height: 1.6 !important;
    padding: 5px 0 !important;
}
ul.list-chevron li::before {
    content: "›" !important;
    color: #0D6E6E !important;
    font-size: 20px !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    font-weight: 300 !important;
}

.wp-block-columns > .wp-block-column > .wp-block-columns:first-child {
    margin-top: 0 !important;
}

/* ── TESTIMONIAL — closing quote fix + centring ── */
.wp-block-quote.is-style-testimonial {
    text-align: center !important;
}
.wp-block-quote.is-style-testimonial::after {
    text-align: center !important;
    display: block !important;
    margin-right: 0 !important;
}
