/**
 * Native pages: the entry page and the directory as Native_Render draws them,
 * for a site without Elementor.
 *
 * Reads the variables entry.css defines and a profile overrides, so a native
 * site is coloured the same way as an Elementor one. Every rule sits under
 * .wcv-cp-n, the wrapper both shortcodes print.
 *
 * @since 1.2.0
 */

.wcv-cp-n {
    --wcv-n-max: var(--wcv-page-max, 1200px);
    --wcv-n-gutter: var(--wcv-page-gutter, 24px);
    --wcv-n-radius: 12px;
    color: var(--wcv-body-ink);
    font-family: var(--wcv-font-primary);
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
}
/* SeedProd pads every block 10px; the bands run edge to edge. */
.sp-el-block:has(> .wcv-cp-n) { padding: 0 !important; }
/* ...and on phones its sections, rows and columns 8px each. */
.sp-el-section:has(.wcv-cp-n), .sp-el-row:has(.wcv-cp-n), .sp-el-col:has(.wcv-cp-n) { padding-left: 0 !important; padding-right: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; }
.wcv-cp-n *, .wcv-cp-n *::before, .wcv-cp-n *::after { box-sizing: border-box; }
.wcv-cp-n img { max-width: 100%; height: auto; }
.wcv-cp-n a { color: var(--wcv-link); }
.wcv-cp-n .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wcv-cp-n-band { width: 100%; }
.wcv-cp-n-wrap { max-width: var(--wcv-n-max); margin: 0 auto; padding: 0 var(--wcv-n-gutter); }
.wcv-cp-n h1, .wcv-cp-n h2, .wcv-cp-n h3 { font-family: var(--wcv-font-secondary); color: var(--wcv-navy-deep); margin: 0; text-wrap: balance; }
.wcv-cp-n p { margin: 0 0 1em; }
/* SeedProd centres every heading on phones with !important; these pages set their own alignment. */
.wcv-cp-n h1, .wcv-cp-n h2, .wcv-cp-n h3 { text-align: left !important; }
.wcv-cp-n .wcv-cp-n-cta__title { text-align: center !important; }

/* ------------------------------------------------------------- buttons -- */
.wcv-cp-n .wcv-cp-n-button {
    display: inline-block;
    padding: 13px 24px;
    border-radius: 8px;
    background: var(--wcv-action);
    color: var(--wcv-white);
    font-family: var(--wcv-font-secondary);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    transition: filter 0.2s ease-in-out;
}
.wcv-cp-n .wcv-cp-n-button:hover { filter: brightness(0.92); color: var(--wcv-white); }
.wcv-cp-n .wcv-cp-n-button:focus-visible, .wcv-cp-n a:focus-visible { outline: 2px solid var(--wcv-link); outline-offset: 2px; }
.wcv-cp-n .wcv-cp-n-button--light { background: var(--wcv-white); color: var(--wcv-navy); }
.wcv-cp-n .wcv-cp-n-button--light:hover { color: var(--wcv-navy); }

/* --------------------------------------------------------------- pills -- */
.wcv-cp-n-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.wcv-cp-n-pill {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--wcv-desat-blue);
    color: var(--wcv-navy);
    font-size: 13px;
    font-weight: 700;
    line-height: 18px;
}

/* ========================================================== entry hero == */
.wcv-cp-n-hero { background: var(--wcv-brand-gradient); padding: 56px 0; border-bottom: 1px solid var(--wcv-border-light); }
.wcv-cp-n-hero__grid { display: grid; grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); gap: 48px; align-items: start; }
.wcv-cp-n-crumbs { font-size: 14px; color: var(--wcv-muted); margin-bottom: 22px; }
.wcv-cp-n-crumbs a { color: inherit; text-decoration: none; }
.wcv-cp-n-crumbs a:hover { color: var(--wcv-link); }
.wcv-cp-n-eyebrows { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.wcv-cp-n-eyebrow {
    padding: 4px 12px;
    border: 1px solid var(--wcv-border);
    border-radius: 999px;
    background: var(--wcv-white);
    color: var(--wcv-navy);
    font-family: var(--wcv-font-secondary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 18px;
    text-transform: uppercase;
}
.wcv-cp-n-eyebrow--brand { background: var(--wcv-navy); border-color: var(--wcv-navy); color: var(--wcv-white); }
.wcv-cp-n .wcv-cp-n-title { font-size: clamp(30px, 4vw, 44px); line-height: 1.15; font-weight: 700; margin-bottom: 18px; }
.wcv-cp-n-summary { font-size: 18px; line-height: 1.6; max-width: 38em; }
.wcv-cp-n-dev {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    padding: 10px 18px 10px 12px;
    border: 1px solid var(--wcv-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.7);
}
.wcv-cp-n-dev__avatar {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--wcv-desat-blue);
    color: var(--wcv-navy);
    font-family: var(--wcv-font-secondary);
    font-size: 18px;
    font-weight: 700;
}
.wcv-cp-n-dev__text { display: grid; }
.wcv-cp-n-dev__name { font-weight: 700; font-size: 17px; color: var(--wcv-navy-deep); }
.wcv-cp-n-dev__name a { color: inherit; text-decoration: none; }
.wcv-cp-n-dev__name a:hover { color: var(--wcv-link); }
.wcv-cp-n-dev__sub { font-size: 14px; color: var(--wcv-muted); }

.wcv-cp-n-glance { padding: 26px; border-radius: var(--wcv-n-radius); background: var(--wcv-white); box-shadow: var(--wcv-card-shadow); }
.wcv-cp-n-glance__title { font-family: var(--wcv-font-secondary); font-size: 18px; font-weight: 700; color: var(--wcv-navy-deep); margin-bottom: 10px; }
.wcv-cp-n-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--wcv-border-light); }
.wcv-cp-n-row__label { flex: none; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wcv-muted); }
.wcv-cp-n-row__value { min-width: 0; font-weight: 700; text-align: right; }
.wcv-cp-n-row__value a { text-decoration: none; }
.wcv-cp-n-row .wcv-cp-n-pills { justify-content: flex-end; }
.wcv-cp-n-glance .wcv-cp-n-button { display: block; margin-top: 18px; background: var(--wcv-navy); }
.wcv-cp-n-disclosure { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--wcv-muted); }

/* ========================================================== entry body == */
.wcv-cp-n-body { padding: 48px 0 24px; }
.wcv-cp-n-body__grid { display: grid; grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); gap: 48px; align-items: start; }
.wcv-cp-n-gallery { margin-bottom: 28px; border: 1px solid var(--wcv-border-light); border-radius: var(--wcv-n-radius); background: var(--wcv-surface-muted); overflow: hidden; }
.wcv-cp-n .wcv-cp-shot { padding: var(--wcv-card-logo-pad, 0); }
.wcv-cp-n .wcv-cp-shot a { display: block; }
.wcv-cp-n .wcv-cp-shot img { display: block; width: 100%; height: auto; border-radius: 0; }
.wcv-cp-n-caption { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; background: var(--wcv-white); border-top: 1px solid var(--wcv-border-light); font-size: 13px; color: var(--wcv-muted); }
.wcv-cp-n-caption a { margin-left: auto; font-weight: 700; color: var(--wcv-muted); text-decoration: none; }
.wcv-cp-n-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 10px 16px 14px; list-style: none; background: var(--wcv-white); }
.wcv-cp-n-thumbs li { width: 64px; height: 64px; border: 2px solid transparent; border-radius: 8px; overflow: hidden; }
.wcv-cp-n-thumbs li.is-active { border-color: var(--wcv-link); }
.wcv-cp-n-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wcv-cp-n .wcv-cp-n-h2 { font-size: 26px; line-height: 1.3; font-weight: 700; margin: 0 0 18px; }
.wcv-cp-n-content { margin-bottom: 36px; font-size: 17px; line-height: 1.7; }
.wcv-cp-n-content h2, .wcv-cp-n-content h3 { margin: 1.6em 0 0.6em; font-size: 20px; line-height: 1.35; font-weight: 700; }
.wcv-cp-n-content ul, .wcv-cp-n-content ol { margin: 0 0 1em; padding-left: 1.4em; }
.wcv-cp-n-content li { margin-bottom: 0.4em; }
.wcv-cp-n-content figure { margin: 1.2em 0; }
.wcv-cp-n-content figure img { display: block; border: 1px solid var(--wcv-border-light); border-radius: 8px; }
.wcv-cp-n-support { display: flex; gap: 14px; padding: 20px 22px; border: 1px solid var(--wcv-border-light); border-radius: var(--wcv-n-radius); }
.wcv-cp-n-support__icon { flex: none; display: grid; place-items: center; width: 28px; height: 28px; color: var(--wcv-navy); }
.wcv-cp-n-support__icon svg { display: block; width: 28px; height: 28px; }
.wcv-cp-n .wcv-cp-n-support__title { font-size: 17px; margin-bottom: 4px; }
.wcv-cp-n-support p { margin: 0; font-size: 15px; color: var(--wcv-muted); }

.wcv-cp-n-side { display: grid; gap: 16px; position: sticky; top: 24px; }
.wcv-cp-n-side__card { display: grid; gap: 16px; padding: 22px; border-radius: var(--wcv-n-radius); background: var(--wcv-white); box-shadow: var(--wcv-card-shadow); }
.wcv-cp-n-side__label { font-family: var(--wcv-font-secondary); font-weight: 700; color: var(--wcv-navy-deep); margin-bottom: 10px; }
.wcv-cp-n-premium { display: grid; gap: 8px; padding: 22px; border: 1px solid var(--wcv-border); border-radius: var(--wcv-n-radius); background: var(--wcv-desat-blue); }
.wcv-cp-n-premium__title { font-family: var(--wcv-font-secondary); font-size: 17px; line-height: 1.35; color: var(--wcv-navy-deep); }
.wcv-cp-n .wcv-cp-n-premium__desc { margin: 0; font-size: 15px; }
.wcv-cp-n .wcv-cp-n-premium__button { justify-self: start; margin-top: 4px; padding: 6px 14px; border: 1.5px solid var(--wcv-navy); border-radius: 8px; background: var(--wcv-white); color: var(--wcv-navy); font-size: 14px; font-weight: 700; text-decoration: none; }
.wcv-cp-n .wcv-cp-n-premium__button:hover { background: var(--wcv-navy); color: var(--wcv-white); }
.wcv-cp-n-problem { padding: 20px 22px; border: 1px solid var(--wcv-border-light); border-radius: var(--wcv-n-radius); font-size: 15px; }
.wcv-cp-n .wcv-cp-n-problem a { display: block; margin-top: 4px; font-weight: 700; color: var(--wcv-navy-deep); text-decoration: none; }

/* ======================================================= cards and grid == */
.wcv-cp-n-grid { display: grid; grid-template-columns: repeat(var(--wcv-n-columns, 4), minmax(0, 1fr)); gap: 24px; }
.wcv-cp-n-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--wcv-border); border-radius: 10px; background: var(--wcv-white); transition: box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out; }
.wcv-cp-n-card:hover { box-shadow: var(--wcv-card-shadow); transform: translateY(-2px); }
.wcv-cp-n-card.is-hidden { display: none !important; }
.wcv-cp-n-card__image { display: block; margin-bottom: 10px; border-radius: 6px; overflow: hidden; background: var(--wcv-surface-muted); aspect-ratio: 2 / 1; }
.wcv-cp-n-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wcv-cp-n-card__placeholder { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--wcv-font-secondary); font-size: 34px; font-weight: 700; color: var(--wcv-navy); }
.wcv-cp-n .wcv-cp-n-card__title { font-size: 17px; line-height: 1.3; font-weight: 600; }
.wcv-cp-n .wcv-cp-n-card__title a { color: var(--wcv-navy-deep); text-decoration: none; }
.wcv-cp-n .wcv-cp-n-card__title a:hover { color: var(--wcv-link); }
.wcv-cp-n-card__dev { font-size: 13px; color: var(--wcv-muted); }
.wcv-cp-n .wcv-cp-n-card__get { margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 700; text-decoration: none; }
.wcv-cp-n .wcv-cp-n-card__get:hover { text-decoration: underline; }

.wcv-cp-n-related { padding: 40px 0 48px; }
.wcv-cp-n-related__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.wcv-cp-n-related__head .wcv-cp-n-h2 { margin: 0; }
.wcv-cp-n .wcv-cp-n-related__all { font-weight: 700; text-decoration: none; white-space: nowrap; }

/* ========================================================= submit band == */
.wcv-cp-n-submit { background: var(--wcv-primary-blue); color: var(--wcv-white); padding: 40px 0; }
.wcv-cp-n-submit__grid { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.wcv-cp-n .wcv-cp-n-submit__title { color: var(--wcv-white); font-size: 24px; line-height: 1.3; margin-bottom: 8px; }
.wcv-cp-n-submit p { margin: 0; color: var(--wcv-white); opacity: 0.9; }
.wcv-cp-n-submit .wcv-cp-n-button { flex: none; }

/* ========================================================== index hero == */
.wcv-cp-n-ihero { background: var(--wcv-ihero-ground); padding: 56px 0 34px; font-family: var(--wcv-ihero-font); }
.wcv-cp-n-ihero__main { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.wcv-cp-n-ihero__eyebrow { display: inline-block; margin-bottom: 16px; padding: 4px 12px; border-radius: 999px; background: var(--wcv-ihero-pill); color: var(--wcv-ihero-accent); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; line-height: 18px; text-transform: uppercase; }
.wcv-cp-n .wcv-cp-n-ihero__title { font-family: var(--wcv-ihero-font); color: var(--wcv-ihero-ink); font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; font-weight: var(--wcv-ihero-title-weight); margin-bottom: 16px; }
.wcv-cp-n-ihero__intro { max-width: 44em; font-size: 17px; line-height: 1.6; color: var(--wcv-ihero-ink); }
.wcv-cp-n .wcv-cp-n-ihero__button { margin-top: 8px; padding: 14px 28px; border: 1px solid var(--wcv-ihero-button-edge); background: var(--wcv-ihero-button); color: var(--wcv-ihero-button-ink); font-family: var(--wcv-ihero-font); }
.wcv-cp-n .wcv-cp-n-ihero__button:hover { filter: none; background: var(--wcv-ihero-button-hover); border-color: var(--wcv-ihero-button-hover-edge); color: var(--wcv-ihero-button-ink); }
.wcv-cp-n-ihero__art { display: flex; justify-content: center; }
.wcv-cp-n-ihero__picture img { display: block; width: 100%; max-width: 300px; height: auto; }
.wcv-cp-n-ihero__checks { display: flex; flex-wrap: wrap; justify-content: var(--wcv-ihero-checks-align); gap: 10px 26px; margin: 34px 0 0; padding: 22px 0 0; border-top: 1px solid var(--wcv-ihero-rule); list-style: none; font-weight: 700; font-size: 15px; color: var(--wcv-ihero-ink); }
.wcv-cp-n-ihero__checks li { display: flex; align-items: center; gap: 8px; }
.wcv-cp-n-ihero__checks li::before { content: ""; width: 14px; height: 8px; margin-top: -4px; border-left: 2.5px solid var(--wcv-ihero-accent); border-bottom: 2.5px solid var(--wcv-ihero-accent); transform: rotate(-45deg); }

/* The hub drawn as tiles, until a profile has its hub image. */
.wcv-cp-n-hub { display: flex; align-items: center; justify-content: center; gap: 16px; width: 100%; max-width: 400px; }
.wcv-cp-n-hub__column { display: grid; gap: 10px; flex: 1 1 0; min-width: 0; }
.wcv-cp-n-hub__tile { padding: 9px 10px; border: 1px solid var(--wcv-ihero-rule); border-radius: 10px; background: var(--wcv-white); box-shadow: 0 2px 8px rgba(20, 20, 43, 0.06); color: var(--wcv-ihero-ink); font-size: 13px; font-weight: 700; line-height: 1.25; text-align: center; }
.wcv-cp-n-hub__center { flex: none; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: var(--wcv-ihero-accent); color: var(--wcv-white); font-size: 14px; font-weight: 700; text-align: center; box-shadow: 0 0 0 8px var(--wcv-ihero-pill); }

/* ====================================================== directory list == */
.wcv-cp-n-list { padding: 28px 0 56px; }
.wcv-cp-n-notes { max-width: 60em; margin: 32px auto 0; font-size: 15px; color: var(--wcv-muted); text-align: center; }
.wcv-cp-n-notes p { margin: 0 0 0.5em; }
.wcv-cp-n-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.wcv-cp-n .wcv-cp-n-chip { padding: 7px 14px; border-radius: 999px; background: var(--wcv-desat-blue); color: var(--wcv-navy); font-family: var(--wcv-font-secondary); font-size: 14px; font-weight: 600; line-height: 20px; text-decoration: none; transition: background 0.2s ease-in-out, color 0.2s ease-in-out; }
.wcv-cp-n .wcv-cp-n-chip:hover { background: var(--wcv-pill-hover); }
.wcv-cp-n .wcv-cp-n-chip.is-active, .wcv-cp-n .wcv-cp-n-chip.is-active:hover { background: var(--wcv-navy); color: var(--wcv-white); }

/* ============================================================ cta band == */
.wcv-cp-n-cta { padding: 0 0 56px; }
.wcv-cp-n-cta__card { display: flex; align-items: center; justify-content: center; gap: 48px; padding: 28px 40px; border-radius: 24px; background: var(--wcv-desat-blue); }
.wcv-cp-n-cta__image { flex: none; width: 200px; }
.wcv-cp-n-cta__copy { text-align: center; }
.wcv-cp-n .wcv-cp-n-cta__title { font-size: 28px; line-height: 1.3; color: var(--wcv-navy); margin-bottom: 10px; }

/* ========================================================== responsive == */
@media (max-width: 1024px) {
    .wcv-cp-n-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 880px) {
    .wcv-cp-n-hero__grid, .wcv-cp-n-body__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .wcv-cp-n-side { position: static; }
    .wcv-cp-n-submit__grid { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) {
    .wcv-cp-n { --wcv-n-gutter: 16px; }
    .wcv-cp-n-hero, .wcv-cp-n-ihero { padding: 36px 0 28px; }
    .wcv-cp-n-ihero__main { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .wcv-cp-n .wcv-cp-n-ihero__button { display: block; }
    .wcv-cp-n-ihero__checks { flex-direction: var(--wcv-ihero-checks-mobile-direction); align-items: flex-start; }
    .wcv-cp-n-cta__card { flex-direction: column; gap: 16px; padding: 24px; }
    .wcv-cp-n-cta__image { width: 150px; }
    .wcv-cp-n-related__head { flex-wrap: wrap; }
}
@media (max-width: 560px) {
    .wcv-cp-n-grid { grid-template-columns: minmax(0, 1fr); }
    .wcv-cp-n-row { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
    .wcv-cp-n * { transition: none !important; }
}
