/* eCompareMo site styles. Colors, type and components follow the previous WordPress theme ("cms"). */

:root {
    --blue: #377ef9;
    --blue-dark: #1266f8;
    --blue-darker: #0f5fd6;
    --cyan: #00acee;
    --cyan-dark: #2085c8;
    --link: #0079b8;
    --orange: #ff9800;
    --orange-dark: #f08c00;
    --navy: #182940;
    --nav-ink: #003366;
    --ink: #42516b;
    --slate: #53657f;
    --slate-dark: #3e4c63;
    --muted: #64748b;
    --faint: #adb9cb;
    --line: #dae1ec;
    --surface: #ffffff;
    --surface-muted: #f7f9fc;
    --surface-hover: #f0f3f9;
    --footer: #212529;
    --radius: 3px;
    --radius-card: 5px;
    --shadow-card: 0 5px 5px -2px rgb(0 0 0 / 8%);
    --shadow-menu: 0 12px 32px -8px rgb(24 41 64 / 22%);
    --container: 1210px;
    --gutter: 20px;
    --header-height: 76px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* Base */

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 1rem;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 .5rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--navy);
}

h1 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem); }
h2 { font-size: clamp(1.5rem, 1.3rem + .8vw, 1.875rem); }
h3 { font-size: 1.375rem; }

p { margin: 0 0 1rem; }

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg, video, iframe { max-width: 100%; }
img { height: auto; vertical-align: middle; }

:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 2px;
}

.container {
    width: 100%;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.lead {
    font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem);
    font-weight: 300;
    line-height: 1.5;
    color: var(--slate);
}

.eyebrow {
    margin-bottom: .5rem;
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--link);
}

.text-muted { color: var(--muted); }

.skip-link {
    position: absolute;
    left: 1rem;
    top: -3rem;
    z-index: 100;
    padding: .5rem 1rem;
    background: var(--navy);
    color: #fff;
    border-radius: var(--radius);
}

.skip-link:focus { top: 1rem; }

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .7rem 1.6rem;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font: inherit;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    cursor: pointer;
    transition: background-color .15s ease-in-out, color .15s ease-in-out, border-color .15s ease-in-out;
}

.btn:hover { text-decoration: none; }
.btn-sm { padding: .55rem .9rem; font-size: .9375rem; }

.btn-primary { background: var(--blue-dark); color: #fff; }
.btn-primary:hover { background: var(--blue-darker); color: #fff; }
.btn-secondary { background: var(--cyan); color: #fff; }
.btn-secondary:hover { background: var(--cyan-dark); color: #fff; }
.btn-cta { background: var(--orange); color: var(--navy); }
.btn-cta:hover { background: var(--orange-dark); color: var(--navy); }
.btn-outline { border-color: var(--line); background: #fff; color: var(--navy); }
.btn-outline:hover { border-color: var(--faint); }

.wizard {
    max-width: 640px;
    margin: 2.5rem auto 4rem;
    padding: 0 var(--gutter);
}
.wizard-head h1 { margin: 0 0 .25rem; color: var(--navy); font-size: 2rem; }
.wizard-step { margin: 0; color: var(--muted); }
.wizard-progress { height: 4px; margin: 1.25rem 0 1.5rem; background: var(--line); }
.wizard-progress span { display: block; height: 100%; background: var(--blue-dark); }
.wizard-form { display: grid; gap: 1.25rem; }
.wizard-page.is-hidden { display: none; }
.wizard-field, .wizard-choice { display: grid; gap: .4rem; margin: 0; border: 0; padding: 0; }
.wizard-field span, .wizard-choice legend { color: var(--navy); font-weight: 600; }
.wizard-field select {
    width: 100%;
    padding: .7rem .8rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--navy);
    font: inherit;
}
.wizard-choice label { display: flex; gap: .5rem; align-items: center; }
.wizard-help { margin: 0; color: var(--muted); font-size: .9375rem; }
.wizard-error { margin: 0; color: #9b2c2c; font-weight: 600; }
.wizard-actions { display: flex; gap: .75rem; }
.wizard-summary { display: grid; gap: .75rem; margin: 1.5rem 0; }
.wizard-summary div { display: grid; gap: .15rem; }
.wizard-summary dt { color: var(--muted); font-size: .875rem; }
.wizard-summary dd { margin: 0; color: var(--navy); font-weight: 600; }
.wizard-field input {
    width: 100%;
    padding: .7rem .8rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--navy);
    font: inherit;
}
.wizard-offer { margin: .75rem 0 0; color: var(--navy); }
.wizard-agree { display: flex; gap: .6rem; align-items: flex-start; }
.wizard-times { display: grid; gap: 1.25rem; }
.wizard-decline { margin-top: 2.5rem; }
.wizard-decline summary { color: var(--muted); cursor: pointer; }

/* Car-insurance comparison, insurance summary and payment (Pages/Wizards/CompareAuto*, Pages/ApplyVehicle*, Pages/ThankYou*) */

.compare { margin: 2rem 0 4rem; }
.compare-head h1 { margin: 0 0 .5rem; color: var(--navy); font-size: 2rem; }
.compare-car { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin: 0; color: var(--muted); }
.compare-car strong { color: var(--navy); }
.compare-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
    margin-top: 1.5rem;
}
.compare-controls {
    position: sticky;
    top: 1rem;
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--surface-muted);
}
.compare-controls h2 { margin: 0; font-size: 1.25rem; }
.compare-field { display: grid; gap: .35rem; margin: 0; border: 0; padding: 0; }
.compare-field > span, .compare-field legend { color: var(--navy); font-weight: 600; }
.compare-field label { display: flex; gap: .5rem; align-items: flex-start; }
.compare-field small { color: var(--muted); font-size: .8125rem; }
.compare-field :is(select, input[type="number"]) {
    width: 100%;
    padding: .6rem .7rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--navy);
    font: inherit;
}
.compare-field.is-needed select { outline: 2px solid var(--orange); outline-offset: 1px; }
.compare-offers { display: grid; gap: 1rem; }
.compare-count { margin: 0; color: var(--muted); }

.offer-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .75rem 1.5rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--surface);
    box-shadow: var(--shadow-card);
}
.offer-card.is-chosen { grid-template-columns: minmax(0, 1fr); }
.offer-head { display: flex; gap: 1rem; align-items: center; }
.offer-logo { width: 120px; height: 60px; object-fit: contain; }
.offer-name { margin: 0; font-size: 1.125rem; }
.offer-price { display: grid; justify-items: end; align-content: center; }
.offer-card.is-chosen .offer-price { justify-items: start; }
.offer-total { color: var(--navy); font-size: 1.75rem; font-weight: 600; line-height: 1.2; }
.offer-note { margin: 0; color: var(--muted); font-size: .875rem; }
.offer-benefits { grid-column: 1 / -1; margin: 0; padding-left: 1.1rem; font-size: .9375rem; }
.offer-details { grid-column: 1 / -1; }
.offer-details summary { color: var(--link); cursor: pointer; }
.offer-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .75rem; }

/* Personal-loan, credit-card and travel comparisons (Pages/Wizards/ComparePersonalLoans, CompareCreditCards, CompareTravel) */
.offer-sub { margin: .15rem 0 .35rem; color: var(--muted); font-size: .875rem; }
.offer-image { width: 150px; height: 95px; object-fit: contain; }
.offer-badge { display: inline-block; padding: .15rem .55rem; border-radius: 999px; font-size: .75rem; font-weight: 600; }
.offer-badge.is-high { background: #e3f5ea; color: #1d6b3d; }
.offer-badge.is-medium { background: #fdf2dc; color: #7a4f00; }
.offer-badge.is-low { background: #fbe4e4; color: #8a1f1f; }
.offer-facts {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: .5rem 1.25rem;
    margin: 0;
}
.offer-facts dt { color: var(--muted); font-size: .8125rem; }
.offer-facts dd { margin: 0; color: var(--navy); font-weight: 600; }

/* Prepaid-card and property catalogs (Pages/Wizards/ComparePrepaidHealthCards, CompareProperty) */
.offer-details-heading { margin: 1rem 0 0; color: var(--navy); font-size: 1rem; }
.compare-controls details.compare-field summary { color: var(--navy); font-weight: 600; cursor: pointer; }
.compare-controls details.compare-field[open] { max-height: 22rem; overflow-y: auto; }
.compare-more { margin: 0; text-align: center; }

.cover-table { width: 100%; margin: .75rem 0; border-collapse: collapse; font-size: .9375rem; }
.cover-table caption { padding-bottom: .5rem; color: var(--navy); font-weight: 600; text-align: left; }
.cover-table th, .cover-table td { padding: .5rem .25rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cover-table td:last-child { text-align: right; white-space: nowrap; }
/* Text instead of an amount (fee and feature remarks): wraps and reads left to right. After the rule above, which it overrides. */
.cover-table td.cover-text { white-space: normal; text-align: left; overflow-wrap: anywhere; }
.cover-table thead th { color: var(--muted); font-size: .8125rem; font-weight: 500; }
.cover-table tbody th { color: var(--navy); font-weight: 500; }
.cover-totals th { font-weight: 400; }
.cover-total :is(th, td) { color: var(--navy); font-weight: 600; }
.cover-note { display: block; color: var(--muted); font-size: .8125rem; }

.notice { padding: 1.25rem 1.5rem; border-left: 4px solid var(--cyan); background: var(--surface-muted); }
.notice p { margin: 0 0 .75rem; }
.notice p:last-child { margin-bottom: 0; }

.pay-box {
    margin: 1.5rem 0;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--surface-muted);
}
.pay-box h2 { margin-top: 0; font-size: 1.25rem; }
.pay-amount strong { color: var(--navy); font-size: 1.75rem; }
.next-steps { padding-left: 1.25rem; }

/* Side by side: the "Compare" ticks, the bar that sends them and the comparison (Pages/Shared/_CompareTick, _CompareBar, _SideBySide) */
.offer-compare { display: inline-flex; gap: .4rem; align-items: center; margin-left: auto; color: var(--navy); font-size: .9375rem; cursor: pointer; }
.offer-compare input { width: 1.05rem; height: 1.05rem; margin: 0; }
.offer-compare:has(input:disabled) { color: var(--faint); cursor: default; }
.compare-bar {
    position: sticky;
    bottom: 0;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.25rem;
    align-items: center;
    justify-content: space-between;
    padding: .9rem 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--surface);
    box-shadow: 0 -4px 12px -6px rgb(24 41 64 / 18%);
}
.compare-bar[hidden], .compare-bar [hidden] { display: none; }
.compare-bar-text { margin: 0; font-size: .9375rem; }
.compare-bar-actions { display: flex; gap: .5rem; }
.compare-bar .btn:disabled { opacity: .55; cursor: not-allowed; }

.side-by-side { display: grid; gap: 1rem; scroll-margin-top: 1rem; }
.side-by-side-head { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: baseline; justify-content: space-between; }
.side-by-side-head h2 { margin: 0; font-size: 1.5rem; }
.side-by-side-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); }
.side-by-side-table { width: 100%; border-collapse: collapse; font-size: .9375rem; table-layout: fixed; }
.side-by-side-table:has(thead th:nth-child(4)) { min-width: 600px; }
.side-by-side-table :is(th, td) { padding: .6rem .75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.side-by-side-table thead :is(th, td) { color: var(--navy); font-weight: 600; }
.side-by-side-table thead img { display: block; max-width: 100%; height: auto; max-height: 60px; margin-bottom: .5rem; object-fit: contain; }
.side-by-side-table tbody th[scope="row"] { width: 30%; color: var(--muted); font-weight: 500; }
.side-by-side-name { display: block; }
.side-by-side-sub { display: block; color: var(--muted); font-size: .8125rem; font-weight: 400; }
.side-by-side-section th { background: var(--surface-muted); color: var(--navy); font-weight: 600; }
.side-by-side-na { color: var(--faint); }
.side-by-side-table tfoot td { border-bottom: 0; }
.side-by-side-table tfoot .btn { margin: 0 .5rem .5rem 0; }

/* Application forms converted from the legacy QTool forms (Pages/Shared/_ApplicationForm, wwwroot/js/application-form.js) */
.application-form [hidden] { display: none !important; }
.form-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.form-grid > * { grid-column: 1 / -1; }
.form-grid > .form-half { grid-column: span 3; }
.form-grid > :is(.form-third, .form-auto) { grid-column: span 2; }
.form-field { display: grid; gap: .35rem; align-content: start; }
.form-field > label { color: var(--navy); font-weight: 600; }
.form-field :is(input:not([type="radio"]):not([type="checkbox"]), select, textarea) {
    width: 100%;
    padding: .7rem .8rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--navy);
    font: inherit;
}
.form-field input[readonly] { background: var(--surface-muted); }
.form-field.has-error :is(input, select, textarea) { border-color: #9b2c2c; }
.form-choice, .form-consent { display: grid; gap: .4rem; margin: 0; padding: 0; border: 0; }
.form-choice legend, .form-consent legend { margin-bottom: .35rem; padding: 0; color: var(--navy); font-weight: 600; }
.form-choice label, .form-consent label { display: flex; gap: .5rem; align-items: flex-start; }
.form-consent p { margin: 0 0 .5rem; font-size: .9375rem; }
.form-heading { margin: .75rem 0 0; font-size: 1.125rem; }
.form-note { margin: -.5rem 0 0; color: var(--muted); font-size: .875rem; }
.form-alert { margin: 0; padding: .75rem 1rem; border-left: 4px solid var(--orange); background: #fff7e6; color: var(--navy); }
.form-help { color: var(--muted); font-size: .8125rem; }
.form-error { margin: 0; color: #9b2c2c; font-size: .875rem; font-weight: 600; }
@media (max-width: 575.98px) {
    .form-grid > :is(.form-half, .form-third, .form-auto) { grid-column: 1 / -1; }
}

/* A product page's link (Pages/Wizards/ProductLink) */
.product-link-product {
    display: grid;
    justify-items: start;
    gap: .35rem;
    margin-bottom: 1.5rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--surface-muted);
}
.product-link-label { color: var(--muted); font-size: .8125rem; text-transform: uppercase; letter-spacing: .04em; }
.product-link-lead { margin: 1rem 0 1.5rem; font-size: 1.0625rem; }
.product-link-note { margin-top: 1.5rem; }
.product-link .wizard-actions { flex-wrap: wrap; }
.product-link-offers { display: grid; gap: 1rem; margin-top: 1.5rem; }
.product-link-or { display: flex; gap: 1rem; align-items: center; margin: 0; color: var(--muted); font-size: .8125rem; text-transform: uppercase; }
.product-link-or::before, .product-link-or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.offer-badge.is-info { background: #e6f0fe; color: var(--nav-ink); }

@media (max-width: 991.98px) {
    .compare-layout { grid-template-columns: minmax(0, 1fr); }
    .compare-controls { position: static; }
}

@media (max-width: 575.98px) {
    .offer-card { grid-template-columns: minmax(0, 1fr); }
    .offer-price { justify-items: start; }
}

/* Header */

.site-header {
    position: relative;
    z-index: 30;
    background: var(--surface);
    box-shadow: 0 1px 0 0 rgb(0 0 0 / 14%);
}

.header-bar {
    display: flex;
    align-items: center;
    height: var(--header-height);
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.header-logo {
    display: flex;
    flex-shrink: 0;
}

.header-logo img {
    width: auto;
    height: 40px;
}

.header-nav {
    height: 100%;
    margin-left: 2rem;
}

.header-nav > ul {
    display: flex;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-nav > ul > li { height: 100%; }

.header-nav-link {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 .875rem;
    border: 0;
    background: none;
    font: inherit;
    font-size: 1rem;
    font-weight: 500;
    color: var(--nav-ink);
    cursor: pointer;
    transition: background-color .2s ease-in-out, box-shadow .2s ease-in-out;
}

.header-nav-link::after {
    content: "";
    width: .45rem;
    height: .45rem;
    margin: -.2rem 0 0 .55rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    opacity: .55;
    transition: transform .2s ease-in-out;
}

.header-nav-link:hover,
.header-nav-link[aria-expanded="true"] {
    background: var(--surface-muted);
    box-shadow: inset 0 -3px 0 var(--cyan);
    color: var(--navy);
}

.header-nav-link[aria-expanded="true"]::after {
    margin-top: .25rem;
    transform: rotate(-135deg);
}

.header-toggle {
    display: none;
    margin-left: auto;
    padding: .5rem;
    border: 0;
    background: none;
    color: var(--nav-ink);
    cursor: pointer;
}

/* Mega menu: each panel sits after its button in the nav and spans the header's full width. */

.mega-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    border-top: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow-menu);
    animation: mega-in .16s ease-out;
}

@keyframes mega-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}

.mega-groups {
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin: 0 auto;
    padding: 2rem var(--gutter) 2.25rem;
    columns: 4 220px;
    column-gap: 30px;
}

.mega-group {
    break-inside: avoid;
    padding-bottom: 1.5rem;
}

.mega-title {
    margin: 0 0 .5rem;
    padding: 0 .625rem .75rem;
    border-bottom: 1px solid var(--line);
    font-size: .9375rem;
    font-weight: 600;
    color: var(--nav-ink);
}

.mega-title a { color: inherit; }

.mega-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mega-links a {
    display: flex;
    align-items: center;
    gap: .875rem;
    padding: 7px .625rem;
    font-size: .9375rem;
    line-height: 1.3;
    color: var(--ink);
    transition: background-color .15s ease-in-out;
}

.mega-links a:hover {
    background: var(--surface-muted);
    box-shadow: inset 2px 0 0 var(--cyan);
    color: var(--navy);
    text-decoration: none;
}

.mega-links .icon { color: var(--cyan); }

/* Mobile drawer */

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: flex;
    flex-direction: column;
    width: min(420px, 100%);
    background: var(--surface-muted);
    box-shadow: -8px 0 32px rgb(24 41 64 / 18%);
    animation: drawer-in .2s ease-out;
}

@keyframes drawer-in {
    from { transform: translateX(24px); opacity: 0; }
    to { transform: none; opacity: 1; }
}

.drawer[hidden], .drawer-backdrop[hidden] { display: none; }

.drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgb(24 41 64 / 45%);
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    height: 64px;
    padding: 0 .75rem 0 1.5rem;
    background: var(--surface);
    box-shadow: 0 1px 0 0 rgb(0 0 0 / 14%);
}

.drawer-close {
    padding: .5rem;
    border: 0;
    background: none;
    color: var(--nav-ink);
    cursor: pointer;
}

.drawer-nav {
    flex: 1;
    overflow-y: auto;
    padding: .5rem 0 1rem;
}

.drawer-section summary,
.drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .875rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--navy);
    cursor: pointer;
    list-style: none;
}

.drawer-section summary::-webkit-details-marker { display: none; }

.drawer-section summary::after {
    content: "";
    width: .5rem;
    height: .5rem;
    margin-right: .25rem;
    border-right: 1.5px solid var(--slate);
    border-bottom: 1.5px solid var(--slate);
    transform: rotate(45deg);
    transition: transform .2s ease-in-out;
}

.drawer-section[open] summary { background: var(--surface); }
.drawer-section[open] summary::after { transform: rotate(-135deg); }

.drawer-section ul {
    margin: 0;
    padding: .25rem 0 .75rem;
    list-style: none;
    background: var(--surface);
}

.drawer-section a {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .55rem 1.5rem .55rem 2rem;
    font-size: .9375rem;
    color: var(--ink);
}

.drawer-section .icon { color: var(--cyan); }

.drawer-heading {
    margin: 0;
    padding: 1rem 1.5rem .35rem 2rem;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
}

p.drawer-heading { padding-left: 1.5rem; }

body.drawer-open { overflow: hidden; }

/* Breadcrumb */

.breadcrumb {
    padding: 1.1rem 0;
    background: var(--surface-muted);
    font-size: .9375rem;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    margin-top: 0;
    margin-bottom: 0;
    list-style: none;
}

.breadcrumb li + li::before {
    content: "/";
    padding: 0 8px 0 6px;
    color: var(--faint);
}

.breadcrumb a { color: var(--ink); }

.breadcrumb [aria-current] {
    color: var(--muted);
}

/* Article */

.article {
    max-width: calc(740px + 2 * var(--gutter));
    margin: 0 auto;
    padding: 2.5rem var(--gutter) 1rem;
}

.article-header h1 {
    margin-bottom: 1rem;
    line-height: 1.25;
}

.article-meta {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    margin-bottom: 2rem;
    font-size: .9375rem;
    color: var(--slate);
}

.article-read {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.article-read .icon { color: var(--faint); }

.article-byline strong { font-weight: 600; color: var(--navy); }

.prose {
    font-size: 1.125rem;
    line-height: 1.75;
    overflow-wrap: break-word;
}

.prose > :first-child { margin-top: 0; }

.prose p,
.prose ul,
.prose ol {
    margin: 0 0 1.35rem;
}

.prose h2 { margin: 2.75rem 0 1rem; font-size: clamp(1.4rem, 1.25rem + .6vw, 1.75rem); }
.prose h3 { margin: 2.25rem 0 .75rem; font-size: 1.375rem; }
.prose h4 { margin: 2rem 0 .75rem; font-size: 1.1875rem; font-weight: 600; }
.prose h5, .prose h6 { margin: 1.75rem 0 .5rem; font-size: 1.0625rem; font-weight: 600; }

.prose a:not(.btn) {
    color: var(--link);
    text-decoration: underline;
    text-decoration-color: rgb(0 121 184 / 35%);
    text-underline-offset: 3px;
}

.prose a:not(.btn):hover { text-decoration-color: currentColor; }

.prose strong, .prose b { font-weight: 600; color: var(--navy); }

.prose ul, .prose ol { padding-left: 1.5rem; }
.prose li { margin-bottom: .5rem; }
.prose li::marker { color: var(--cyan); }

.prose blockquote {
    margin: 2rem 0;
    padding: .25rem 0 .25rem 1.5rem;
    border-left: 4px solid var(--cyan);
    font-size: 1.25rem;
    line-height: 1.55;
    color: var(--navy);
}

.prose blockquote p:last-child { margin-bottom: 0; }

.prose blockquote cite {
    display: block;
    margin-top: .75rem;
    font-size: .9375rem;
    font-style: normal;
    color: var(--slate);
}

.prose hr {
    height: 1px;
    margin: 2.5rem 0;
    border: 0;
    background: var(--line);
}

.prose figure,
.prose .wp-block-image {
    margin: 2rem 0;
    text-align: center;
}

.prose figure img,
.prose p > img:only-child,
.prose p > a:only-child > img {
    display: block;
    margin: 0 auto;
    border-radius: var(--radius);
}

.prose figcaption,
.prose .wp-caption-text {
    margin-top: .6rem;
    font-size: .875rem;
    line-height: 1.5;
    color: var(--muted);
}

.prose .is-left, .prose .alignleft { float: left; max-width: 50%; margin: .4rem 1.5rem 1rem 0; }
.prose .is-right, .prose .alignright { float: right; max-width: 50%; margin: .4rem 0 1rem 1.5rem; }
.prose .is-center, .prose .aligncenter { margin-left: auto; margin-right: auto; }
.prose img.aligncenter { display: block; }

.prose::after { content: ""; display: table; clear: both; }

.prose .table-scroll,
.prose .wp-block-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9375rem;
    line-height: 1.5;
}

.prose th,
.prose td {
    padding: .65rem .8rem;
    border: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.prose th,
.prose thead td {
    background: var(--surface-muted);
    font-weight: 600;
    color: var(--navy);
}

.prose .embed-video {
    position: relative;
    margin: 2rem 0;
}

.prose .embed-video iframe {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: var(--radius);
}

.prose iframe { border: 0; }

.prose .wp-block-gallery,
.prose .blocks-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 0;
    list-style: none;
}

.article-topics,
.article-author {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
    text-align: center;
}

.article-topics h2,
.article-author h2 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tag-list a {
    display: inline-block;
    padding: .45rem .875rem;
    border-radius: var(--radius);
    background: var(--surface-muted);
    font-size: .875rem;
    color: var(--slate-dark);
}

.tag-list a:hover {
    background: var(--surface-hover);
    text-decoration: none;
}

.article-author { padding-bottom: 1rem; }

.article-author-name {
    margin: .75rem 0 .35rem;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--navy);
}

.article-author p:last-child {
    max-width: 560px;
    margin: 0 auto;
    color: var(--slate);
}

.avatar {
    border-radius: 50%;
    background: var(--surface-muted);
    object-fit: cover;
}

.avatar-lg { width: 96px; height: 96px; }

/* Snippets: call-to-action boxes inside articles */

.snippet {
    position: relative;
    margin: 2.25rem 0;
    padding: 1.75rem;
    overflow: hidden;
    border-radius: var(--radius-card);
    background: var(--surface-muted);
    font-size: 1.0625rem;
    line-height: 1.5;
}

.snippet p { margin: 0 0 .5rem; }

.snippet-title {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--navy);
}

.snippet .btn { position: relative; z-index: 1; margin-top: 1rem; }

.snippet-block { text-align: center; }

.snippet-block hr {
    width: 100%;
    margin: .9rem auto;
    border: 0;
    border-top: 1px solid rgb(255 255 255 / 15%);
}

.snippet-highlight strong { display: block; font-size: 1.625rem; font-weight: 600; }

/* Bubble decoration of the gradient boxes, as in the old theme. */
.snippet-block::before,
.snippet-block::after {
    content: "";
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    background-image: linear-gradient(130deg, rgb(255 255 255 / 14%) 0%, rgb(255 255 255 / 0%) 50%);
    pointer-events: none;
}

.snippet-block::before { width: 340px; height: 340px; right: -120px; bottom: -140px; }
.snippet-block::after { width: 210px; height: 210px; left: -60px; top: -110px; }

.snippet-block > * { position: relative; z-index: 1; }

.snippet-block.is-blue { background-image: linear-gradient(-110deg, #0063c7 20%, #001e46 100%); }
.snippet-block.is-red { background-image: linear-gradient(-45deg, #f05f57 20%, #360940 100%); }
.snippet-block.is-green { background-image: linear-gradient(-45deg, #5cab45 20%, #06521c 100%); }
.snippet-block.is-purple { background-image: linear-gradient(-45deg, #f97794 20%, #623aa2 100%); }
.snippet-block.is-yellow { background-image: linear-gradient(-25deg, #f4c830 40%, #f07906 100%); }
.snippet-block.is-peach { background-image: linear-gradient(-45deg, #fea274 20%, #e42728 100%); }
.snippet-block.is-brown { background-image: linear-gradient(-110deg, #9f794e 20%, #17120c 100%); }
.snippet-block.is-black { background-image: linear-gradient(110deg, #3f454b 20%, #0c0d0e 100%); }

.snippet-block:is(.is-blue, .is-red, .is-green, .is-purple, .is-brown, .is-black) {
    color: rgb(255 255 255 / 88%);
}

.snippet-block:is(.is-blue, .is-red, .is-green, .is-purple, .is-brown, .is-black) .snippet-title,
.snippet-block:is(.is-blue, .is-red, .is-green, .is-purple, .is-brown, .is-black) strong {
    color: #fff;
}

/* White text is unreadable on the light yellow and peach gradients; navy keeps their look and reads well. */
.snippet-block:is(.is-yellow, .is-peach) { color: var(--navy); }
.snippet-block:is(.is-yellow, .is-peach) hr { border-top-color: rgb(24 41 64 / 20%); }
.snippet-block:is(.is-yellow, .is-peach) .btn-cta { background: var(--navy); color: #fff; }
.snippet-block:is(.is-yellow, .is-peach) .btn-cta:hover { background: #0f1c2e; }

.snippet-block.is-white { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.snippet-block.is-white hr, .snippet-block.is-grey hr, .snippet-block.is-gray hr { border-top-color: var(--line); }
.snippet-block.is-white::before, .snippet-block.is-white::after,
.snippet-block.is-grey::before, .snippet-block.is-grey::after,
.snippet-block.is-gray::before, .snippet-block.is-gray::after { display: none; }

.snippet-card {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow-card);
}

.snippet-card .snippet-image { flex: 0 0 200px; }
.snippet-card .snippet-image img { width: 200px; border-radius: var(--radius); }
.snippet-card .snippet-title { font-size: 1.25rem; }

.snippet-features {
    margin: .5rem 0 0;
    padding-left: 1.25rem;
    font-size: 1rem;
}

.snippet-features li { margin-bottom: .35rem; }

.snippet-promo {
    padding: 0;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
}

.snippet-promo .snippet-image img { display: block; width: 100%; max-height: 280px; object-fit: cover; }
.snippet-promo .snippet-body { padding: 1.5rem 1.75rem 1.75rem; }
.snippet-caption { display: block; margin-top: 1rem; font-size: .8125rem; color: var(--muted); }

.snippet-banner { padding: 0; background: none; text-align: center; }
.snippet-banner img { border-radius: var(--radius-card); }
.snippet-banner figcaption { margin-top: .5rem; font-size: .875rem; color: var(--muted); }

.snippet-products ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.snippet-products li a { display: block; color: var(--navy); }
.snippet-products img { max-height: 80px; margin-bottom: .5rem; }
.snippet-products { text-align: center; }

/* Snippets from the old Post Snippets plugin keep their own markup (blog-snippet-*). */
.snippet-legacy { padding: 0; background: none; overflow: visible; }

.blog-snippet {
    display: block;
    position: relative;
    padding: 1.75rem;
    overflow: hidden;
    border-radius: var(--radius-card);
    background: var(--surface-muted);
    text-align: center;
}

.blog-snippet h4 { margin-bottom: .5rem; font-size: 1.5rem; }
.blog-snippet span { display: block; }
.blog-snippet hr { width: 100%; margin: .9rem auto; border: 0; border-top: 1px solid rgb(255 255 255 / 15%); }
.blog-snippet .btn { margin-top: 1rem; background: var(--orange); color: var(--navy); }
.blog-snippet .btn:hover { background: var(--orange-dark); }
.blog-snippet figure { margin: 0; }
.blog-snippet-promo { padding: 0; background: none; }
.blog-snippet-block:is(.is-blue, .is-red, .is-green, .is-orange, .is-purple) { color: rgb(255 255 255 / 85%); }
.blog-snippet-block:is(.is-blue, .is-red, .is-green, .is-orange, .is-purple) :is(h4, strong) { color: #fff; }
.blog-snippet-block.is-blue { background-image: linear-gradient(-110deg, #0063c7 20%, #001e46 100%); }
.blog-snippet-block.is-red { background-image: linear-gradient(-45deg, #f05f57 20%, #360940 100%); }
.blog-snippet-block.is-green { background-image: linear-gradient(-45deg, #5cab45 20%, #06521c 100%); }
.blog-snippet-block.is-purple { background-image: linear-gradient(-45deg, #f97794 20%, #623aa2 100%); }
.blog-snippet-block.is-orange { background-image: linear-gradient(-25deg, #ffb13b 20%, #e2501c 100%); }
.blog-snippet-block.is-orange .btn { background: #fff; }

/* Sections and article cards */

.section { padding: 3.5rem 0 4rem; }
/* Two sections in a row with the same background share one gap. */
.section:not(.section-muted) + .section:not(.section-muted),
.section-muted + .section-muted { padding-top: 0; }
.section-muted { background: var(--surface-muted); }

.section-title {
    margin-bottom: 1.75rem;
    text-align: center;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.25rem 30px;
}

.post-grid-featured {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.post-grid-featured > * { grid-column: span 2; }
.post-grid-featured > :nth-child(-n+2) { grid-column: span 3; }
.post-grid-featured > :nth-child(-n+2) .post-card-image { height: 280px; }

.post-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.post-card-image {
    display: block;
    height: 200px;
    margin-bottom: .9rem;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--surface-muted) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23adb9cb' stroke-width='1.5'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='9' cy='10' r='2'/%3E%3Cpath d='m21 16-5-5-9 9'/%3E%3C/svg%3E") center / 28px no-repeat;
}

.section-muted .post-card-image { background-color: var(--surface-hover); }

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.post-card:hover .post-card-image img { transform: scale(1.03); }

.post-card-title {
    margin-bottom: .75rem;
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: 1.4;
}

.post-card-title a { color: var(--navy); }
.post-card-title a:hover { color: var(--link); text-decoration: none; }

.post-card-meta {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: auto 0 0;
    font-size: .8125rem;
    line-height: 1.4;
    color: var(--muted);
}

.post-card-meta .avatar { width: 36px; height: 36px; flex-shrink: 0; }
.post-card-meta strong { display: block; font-weight: 600; color: var(--ink); }

/* Lists: blog index, category and tag pages */

.listing { padding-top: 2.75rem; padding-bottom: 4rem; }

.listing-header { margin-bottom: 2.25rem; }
.listing-header h1 { margin-bottom: .6rem; }
.listing-header .lead { max-width: 760px; margin-bottom: .75rem; }

.listing-count {
    margin: 0;
    font-size: .875rem;
    color: var(--muted);
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}

.pagination-count {
    margin: 0;
    font-size: .9375rem;
    color: var(--muted);
}

.pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pagination a,
.pagination-current,
.pagination-gap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 .75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: .9375rem;
    color: var(--blue-dark);
    background: var(--surface);
}

.pagination a:hover {
    border-color: var(--blue-dark);
    text-decoration: none;
}

.pagination-current {
    border-color: var(--blue-dark);
    background: var(--blue-dark);
    color: #fff;
    font-weight: 600;
}

.pagination-gap { border-color: transparent; color: var(--muted); background: none; min-width: 1.5rem; padding: 0; }

.listing-topics {
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
    text-align: center;
}

.listing-topics h2 {
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}

.tag-list a.is-current {
    background: var(--navy);
    color: #fff;
}

/* Pages */

.page-intro { padding-top: 3rem; padding-bottom: 4rem; }
.page-intro-more { margin-top: 2.5rem; text-align: center; }
.page-intro h1 { margin-bottom: .75rem; }
.page-intro .lead { max-width: 760px; margin-bottom: 2.5rem; }

.not-found { padding-top: 4rem; padding-bottom: 4.5rem; }
.not-found-text { max-width: 640px; margin-bottom: 3rem; }
.not-found-text img { max-width: 320px; }
.not-found .section-title { text-align: left; }

.page-pending { padding-top: 4rem; padding-bottom: 5rem; max-width: 760px; }

/* Footer */

.site-footer {
    padding-top: 3rem;
    background: var(--footer);
    font-size: .875rem;
    color: rgb(255 255 255 / 55%);
}

.site-footer a { color: inherit; }
.site-footer a:hover { color: rgb(255 255 255 / 92%); text-decoration: none; }

.footer-menus {
    columns: 5 170px;
    column-gap: 30px;
}

.footer-group {
    break-inside: avoid;
    padding-bottom: 1.75rem;
}

.footer-title {
    margin: 0 0 .6rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.footer-title a { color: #fff; }

.footer-group ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-group li { margin-bottom: .35rem; }

.footer-brand {
    padding: 1.75rem 0;
    border-top: 1px solid rgb(255 255 255 / 9%);
}

.footer-brand img { width: auto; height: 38px; }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0 2rem;
    border-top: 1px solid rgb(255 255 255 / 9%);
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem 1.75rem;
}

.footer-copyright { margin: 0; }

.footer-legal ul {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-social {
    display: flex;
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff !important;
    transition: transform .15s ease, filter .15s ease;
}

.social:hover { transform: translateY(-2px); filter: brightness(1.1); }
.social.is-facebook { background: #3b5998; }
.social.is-instagram { background: #e4405f; }
.social.is-twitter { background: #1d1d1f; }
.social.is-youtube { background: #dd4b39; }
.social.is-linkedin { background: #007bb6; }
.social.is-tiktok { background: #010101; }

/* Responsive */

@media (max-width: 1100px) {
    .header-nav { margin-left: 1rem; }
    .header-nav-link { padding: 0 .6rem; }
}

@media (max-width: 991.98px) {
    :root { --header-height: 64px; }

    .header-nav { display: none; }

    .header-toggle { display: flex; }
    .header-logo img { height: 34px; }

    .post-grid,
    .post-grid-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .post-grid-featured > *,
    .post-grid-featured > :nth-child(-n+2) { grid-column: auto; }

    .post-grid-featured > :nth-child(-n+2) .post-card-image { height: 200px; }
}

@media (max-width: 767.98px) {
    .snippet-card { flex-direction: column; text-align: center; }
    .snippet-card .snippet-image { flex-basis: auto; }
    .snippet-card .snippet-image img { width: 160px; }
    .footer-bottom,
    .footer-legal,
    .footer-legal ul { justify-content: center; text-align: center; }
}

@media (max-width: 575.98px) {
    :root { --gutter: 16px; }

    .post-grid,
    .post-grid-featured { grid-template-columns: minmax(0, 1fr); gap: 2rem; }

    .article { padding-top: 1.75rem; }
    .prose { font-size: 1.0625rem; }
    .prose .is-left, .prose .alignleft, .prose .is-right, .prose .alignright { float: none; max-width: 100%; margin: 1.5rem 0; }
    .snippet { padding: 1.5rem 1.25rem; }
    .breadcrumb { font-size: .875rem; }
    .pagination { justify-content: center; }
    .pagination-count { width: 100%; text-align: center; }
    .pagination a, .pagination-current { min-width: 2.25rem; height: 2.25rem; padding: 0 .55rem; }
    /* Long trails keep Home and the parent; a two-step trail (Home / Insurance) stays whole. */
    .breadcrumb ol:has(> li:nth-child(3)) > li:not(:first-child):not(:nth-last-child(2)) { display: none; }
}

/* Page sections: homepage and product pages, after the old theme's section styles. */

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.section-center { text-align: center; }
.section-center .lead { max-width: 780px; margin: 0 auto 1rem; }
.section-header { max-width: 780px; margin: 0 auto; text-align: center; }

.section-action {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
    margin: 2.5rem 0 0;
}

.section-more { margin: 2rem 0 0; text-align: center; }

.btn-lg { padding: .9rem 2rem; font-size: 1.0625rem; }
.btn-outline-light { border-color: rgb(255 255 255 / 70%); color: #fff; }
.btn-outline-light:hover { background: rgb(255 255 255 / 12%); color: #fff; }

/* Gradients the theme used for heroes, bands and snippet boxes. */
.hero.is-blue, .band.is-blue { background-image: linear-gradient(-110deg, #0063c7 20%, #001e46 100%); }
.hero.is-purple, .band.is-purple { background-image: linear-gradient(-45deg, #f97794 20%, #623aa2 100%); }
.hero.is-red, .band.is-red { background-image: linear-gradient(-45deg, #f05f57 20%, #360940 100%); }
.hero.is-green, .band.is-green { background-image: linear-gradient(-45deg, #5cab45 20%, #06521c 100%); }

/* Hero */

.hero {
    position: relative;
    overflow: hidden;
    color: rgb(255 255 255 / 88%);
    background-color: var(--navy);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: center;
    gap: 2rem;
    min-height: 420px;
    padding-top: 3rem;
}

.hero-content { padding-bottom: 3rem; }

.hero :is(h1, h2) {
    margin-bottom: 1rem;
    font-size: clamp(1.9rem, 1.45rem + 1.7vw, 2.6rem);
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
}

.hero-lead {
    max-width: 560px;
    margin-bottom: 1.75rem;
    font-size: clamp(1.0625rem, 1rem + .35vw, 1.3125rem);
    font-weight: 300;
    line-height: 1.5;
}

.hero-graphic {
    align-self: end;
    display: flex;
    justify-content: center;
}

.hero-graphic img { width: 100%; max-width: 540px; height: auto; }

.hero.has-links .hero-inner { padding-bottom: 3.5rem; }
.hero.has-links .hero-graphic { align-self: center; }

/* The old theme's translucent circles behind gradient areas. */
.hero-bubbles::before,
.hero-bubbles::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background-image: linear-gradient(130deg, rgb(255 255 255 / 16%) 0%, rgb(255 255 255 / 0%) 55%);
    pointer-events: none;
}

.hero-bubbles::before { width: 480px; height: 480px; right: -140px; top: -180px; }
.hero-bubbles::after { width: 300px; height: 300px; left: 18%; bottom: -170px; }

/* Heroes without a graphic (some rebuilt legacy pages) use one column. */
.hero-inner:not(:has(.hero-graphic)) { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-bottom: 1rem; }
.hero-inner:not(:has(.hero-graphic)) .hero-content { max-width: 760px; }
.hero-inner:not(:has(.hero-graphic)) .hero-lead { max-width: 640px; }

/* A short comparison form in the hero (/time-deposit). */
.hero-form {
    max-width: 560px;
    padding: 1.25rem;
    border-radius: var(--radius-card);
    background: var(--surface);
    box-shadow: 0 10px 30px rgb(0 0 0 / 18%);
    color: var(--ink);
}

.hero-form-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.hero-form-field label {
    display: block;
    margin-bottom: .35rem;
    font-size: .875rem;
    font-weight: 500;
    color: var(--navy);
}

.hero-form .input-group { display: flex; }

.hero-form .input-prefix {
    display: flex;
    align-items: center;
    padding: 0 .75rem;
    border: 1px solid var(--line);
    border-right: 0;
    border-radius: var(--radius) 0 0 var(--radius);
    background: var(--surface-muted);
    font-size: .875rem;
    color: var(--slate);
}

.hero-form :is(input[type="text"], select) {
    width: 100%;
    min-width: 0;
    height: 2.75rem;
    padding: 0 .75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    font: inherit;
    color: var(--navy);
}

.hero-form .input-group input[type="text"] { border-radius: 0 var(--radius) var(--radius) 0; }
.hero-form :is(input, select):focus-visible { outline: 2px solid var(--cyan); outline-offset: 1px; }
.hero-form .btn { width: 100%; }

/* The start of a car quote: year, brand and model (Pages/Shared/_CarQuote, _CarInsurers, _CarQuoteBox). */
.car-quote { max-width: 640px; }
.car-quote .hero-form-fields { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.car-quote select:disabled { background: var(--surface-muted); color: var(--muted); }

.car-insurers { padding: 1.75rem 0; border-bottom: 1px solid var(--line); background: var(--surface-muted); }
.car-insurers-title { margin: 0 0 1rem; font-size: 1rem; font-weight: 600; text-align: center; color: var(--navy); }

.car-insurers-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.car-insurer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 76px;
    padding: .5rem .75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--surface);
    font-size: .8125rem;
    text-align: center;
    color: var(--navy);
}

.car-insurer:hover { border-color: var(--cyan); text-decoration: none; }
.car-insurer img { width: auto; max-width: 100%; height: auto; max-height: 100%; object-fit: contain; }

/* A brand article's quote box, inside the article text. */
.car-quote-box {
    margin: 2rem 0;
    padding: 1.5rem;
    border-radius: var(--radius-card);
    background-image: linear-gradient(-45deg, #f97794 20%, #623aa2 100%);
    color: #fff;
}

.prose .car-quote-box-title { margin: 0 0 .35rem; font-size: 1.375rem; font-weight: 600; line-height: 1.3; color: #fff; }
.prose .car-quote-box-lead { margin: 0 0 1rem; color: rgb(255 255 255 / 90%); }
.car-quote-box .hero-form { max-width: none; }
.prose .car-quote-box label { margin: 0 0 .35rem; }

.hero-links { position: relative; z-index: 2; margin-top: -2.75rem; }
.hero-links .icon-cards { margin-top: 0; }

/* Icon cards: quick links and category navigation */

.icon-cards {
    display: grid;
    grid-template-columns: repeat(var(--columns, 6), minmax(0, 1fr));
    gap: 1rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

.icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    height: 100%;
    min-height: 116px;
    padding: 1.25rem .75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--surface);
    box-shadow: var(--shadow-card);
    font-size: .9375rem;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    color: var(--navy);
    transition: border-color .15s ease, transform .15s ease;
}

.icon-card .icon { color: var(--cyan); }

.icon-card:hover {
    border-color: var(--cyan);
    transform: translateY(-2px);
    text-decoration: none;
}

/* Carousel (homepage) */

.carousel {
    position: relative;
    background: var(--surface-muted);
}

.carousel-track {
    display: flex;
    max-width: 1140px;
    margin: 0 auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar { display: none; }

.carousel-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
}

.carousel-slide img { display: block; width: 100%; height: auto; }

.carousel-nav {
    position: absolute;
    top: calc(50% - 15px);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgb(255 255 255 / 88%);
    color: var(--navy);
    box-shadow: 0 2px 8px rgb(0 0 0 / 18%);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color .15s ease;
}

.carousel-nav:hover { background: #fff; }
.carousel-nav.is-prev { left: max(1rem, calc(50% - 570px + 1.5rem)); }
.carousel-nav.is-next { right: max(1rem, calc(50% - 570px + 1.5rem)); }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: .5rem;
    padding: 1rem 0 .25rem;
    background: var(--surface);
}

.carousel-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--line);
    cursor: pointer;
}

.carousel-dots button[aria-current="true"] { background: var(--navy); }

/* Banner card (homepage credit score, product page notices) */

.banner-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-card);
    background: linear-gradient(120deg, #0063c7 0%, #001e46 100%);
    color: rgb(255 255 255 / 82%);
}

.banner-card.is-dark { background: linear-gradient(120deg, #233552 0%, #0c1626 100%); }
.banner-image img { width: 96px; height: auto; }
.banner-body { flex: 1; }
.banner-card :is(h1, h2).banner-title { margin-bottom: .35rem; font-size: 1.375rem; color: #fff; }
.banner-card p { margin: 0; }
.banner-text p + p { margin-top: .5rem; }

/* Life goals (homepage "#WiserWealthier") */

.goal-cards {
    margin-top: 2.5rem;
    columns: 3 300px;
    column-gap: 1.5rem;
    text-align: left;
}

.goal-card {
    display: inline-block;
    width: 100%;
    margin-bottom: 1.5rem;
    overflow: hidden;
    break-inside: avoid;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--surface);
    box-shadow: var(--shadow-card);
}

.goal-card-image img { display: block; width: 100%; height: auto; }
.goal-card-body { padding: 1.25rem 1.5rem 1rem; }
.goal-card h3 { margin-bottom: .5rem; font-size: 1.125rem; font-weight: 600; }
.goal-card p { font-size: .9375rem; color: var(--slate); }

.goal-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.goal-links a {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .65rem 0;
    border-top: 1px solid var(--line);
    font-size: .9375rem;
    color: var(--ink);
}

.goal-links a:hover { color: var(--link); text-decoration: none; }
.goal-links .icon { color: var(--cyan); }

/* Teasers: three or four reasons with a graphic */

.teasers {
    display: grid;
    grid-template-columns: repeat(var(--columns, 3), minmax(0, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.teaser-image img { width: 120px; height: 120px; margin: 0 auto 1rem; object-fit: contain; }
.teaser h3 { margin-bottom: .5rem; font-size: 1.125rem; font-weight: 600; }
.teaser p { margin: 0; font-size: .9375rem; color: var(--slate); }

/* Teasers without a graphic (rebuilt legacy pages) read better as left-aligned cards. */
.teaser:not(:has(.teaser-image)) {
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--surface);
    box-shadow: var(--shadow-card);
    text-align: left;
}

/* Content rows: text beside a graphic, alternating sides */

.content-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 3rem;
    margin-top: 3rem;
    text-align: left;
}

.content-row.is-image-left .content-row-image { order: -1; }
.content-row-image img { display: block; width: 100%; max-width: 490px; height: auto; margin: 0 auto; }
.content-row-text.prose { font-size: 1.0625rem; }
.content-row-text.prose h3 { margin-top: 1.5rem; }
.content-row-text.prose > h3:first-child { margin-top: 0; }

/* FAQ: native details/summary, no script needed */

.faq {
    max-width: 860px;
    margin: 2rem auto 0;
    border-top: 1px solid var(--line);
    text-align: left;
}

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item summary {
    position: relative;
    padding: 1.15rem 2.75rem 1.15rem .25rem;
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--navy);
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "";
    position: absolute;
    right: .75rem;
    top: calc(50% - .4rem);
    width: .55rem;
    height: .55rem;
    border-right: 1.5px solid var(--slate);
    border-bottom: 1.5px solid var(--slate);
    transform: rotate(45deg);
    transition: transform .2s ease;
}

.faq-item[open] summary::after { top: calc(50% - .1rem); transform: rotate(-135deg); }
.faq-item summary:hover { color: var(--link); }
.faq-answer { padding: 0 .25rem 1.25rem; font-size: 1rem; }

/* Reviews */

.reviews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 310px));
    justify-content: center;
    gap: 1.5rem;
    max-width: 980px;
    margin: 2rem auto 0;
    padding: 0;
    list-style: none;
}

.review {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.75rem 1.5rem;
    border-radius: var(--radius-card);
    background: var(--surface);
    box-shadow: var(--shadow-card);
}

.review-mark { color: var(--navy); }
.review blockquote { margin: .75rem 0 1rem; font-size: .9375rem; line-height: 1.6; }
.review blockquote p { margin: 0; }

.review-stars { margin: auto 0 .5rem; font-size: 1.125rem; letter-spacing: 2px; }

.review-stars-bar {
    color: transparent;
    background: linear-gradient(90deg, #f5a623 calc(var(--stars) / 5 * 100%), var(--line) 0);
    -webkit-background-clip: text;
    background-clip: text;
}

.review-source { margin: 0; font-size: .875rem; color: var(--slate); }
.review-source span { display: block; }
.review-source strong { font-weight: 500; color: var(--muted); }

/* Guide cards (links to silo pages) */

.guide-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.guide-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--surface);
    box-shadow: var(--shadow-card);
    transition: border-color .15s ease;
}

.guide-card:hover { border-color: var(--cyan); }
.guide-card-image { flex-shrink: 0; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.guide-card h3 { margin-bottom: .35rem; font-size: 1rem; font-weight: 600; line-height: 1.35; }
.guide-card h3 a { color: var(--navy); }
.guide-card h3 a::after { content: ""; position: absolute; inset: 0; }
.guide-card h3 a:hover { text-decoration: none; }
.guide-card p { margin: 0; font-size: .875rem; color: var(--slate); }

/* Centered text column */

.text-column { max-width: calc(860px + 2 * var(--gutter)); }
.text-column .prose { margin-top: 1.5rem; font-size: 1.0625rem; text-align: left; }
.text-column .prose ol > li > strong:first-child { display: block; margin-bottom: .35rem; font-size: 1.125rem; }
.text-column .prose li > p { margin-bottom: .75rem; }

/* Check lists kept from the old pages (ul.check-list, ul.tick-list), with the theme's tick icon. */
.prose ul.check-list,
.prose ul.tick-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem 2rem;
    padding: 0;
    list-style: none;
}

.prose :is(ul.check-list, ul.tick-list) li {
    position: relative;
    margin: 0;
    padding-left: 2rem;
}

.prose :is(ul.check-list, ul.tick-list) li::before {
    content: "\eA1F";
    position: absolute;
    left: 0;
    top: .2em;
    font-family: "c88-website-icons";
    font-size: 1.25rem;
    line-height: 1;
    color: var(--cyan);
}

/* Partner logos */

.logo-tiles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

.logo-tiles > li { display: flex; flex: 0 1 160px; }

.logo-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: .6rem;
    min-height: 130px;
    padding: 1rem;
    border-radius: var(--radius-card);
    background: var(--surface-muted);
    font-size: .8125rem;
    line-height: 1.3;
    color: var(--slate);
}

.section-muted .logo-tile { background: var(--surface); }
a.logo-tile:hover { color: var(--navy); text-decoration: none; box-shadow: var(--shadow-card); }
.logo-tile img { width: auto; max-width: 120px; height: auto; max-height: 52px; object-fit: contain; }

/* Colored band with a graphic */

.band { position: relative; overflow: hidden; color: rgb(255 255 255 / 88%); }

.band-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 2.5rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.band :is(h1, h2) { color: #fff; }
.band .btn { margin-top: .75rem; }
.band-graphic img { display: block; width: 100%; max-width: 520px; height: auto; margin: 0 auto; }

/* Comparison table */

.compare-table {
    max-width: 900px;
    margin: 2rem auto 0;
    overflow-x: auto;
    text-align: left;
}

.compare-table table {
    width: 100%;
    border: 1px solid var(--line);
    border-collapse: collapse;
    background: var(--surface);
}

.compare-table th,
.compare-table td {
    padding: 1rem 1.15rem;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.compare-table th { width: 30%; background: var(--surface-muted); font-weight: 600; color: var(--navy); }
.compare-table ul { margin: 0; padding-left: 1.1rem; }
.compare-table li + li { margin-top: .35rem; }
.compare-table .btn { margin-top: .75rem; }

/* Features with a round graphic */

.features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 3rem;
    max-width: 1000px;
    margin: 2.5rem auto 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.feature { display: flex; align-items: flex-start; gap: 1.25rem; }
.features:has(> .feature:only-child) { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
.feature-image { flex-shrink: 0; }
.feature-image img { width: 96px; height: 96px; }
.feature h3 { margin-bottom: .5rem; font-size: 1.125rem; font-weight: 600; }
.feature p { margin-bottom: .5rem; font-size: .9375rem; color: var(--slate); }
.feature-link { font-weight: 500; }

.tag-list-large { margin-top: 2rem; }
.tag-list-large a { padding: .6rem 1.1rem; font-size: .9375rem; }

/* Company cards (/banks, /insurance-companies) */

.company-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0 0;
    padding: 0;
    list-style: none;
}

.company-card {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--surface);
    box-shadow: var(--shadow-card);
}

.company-card-head { display: flex; align-items: center; gap: 1rem; }

.company-card-logo {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 104px;
    height: 60px;
    padding: .5rem;
    border-radius: var(--radius);
    background: var(--surface-muted);
}

.company-card-logo img { width: auto; max-width: 100%; height: auto; max-height: 100%; object-fit: contain; }
.company-card-title { margin: 0; font-size: 1.125rem; font-weight: 600; }
.company-card-title a { color: var(--navy); }
.company-card p { flex: 1; margin: 0; font-size: .9375rem; color: var(--slate); }

.company-card-links { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }

.company-card-links a {
    display: inline-block;
    padding: .35rem .8rem;
    border: 1px solid var(--line);
    border-radius: 100px;
    font-size: .875rem;
}

.company-card-links a:hover { border-color: var(--link); text-decoration: none; }

/* Company pages (banks and insurers) */

.partner-hero {
    padding: 3rem 0;
    border-bottom: 1px solid var(--line);
    background: var(--surface-muted);
}

.partner-hero-inner {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: center;
    gap: 2.5rem;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--surface);
    box-shadow: var(--shadow-card);
}

.partner-logo img { width: 100%; max-width: 200px; height: auto; }
.partner-hero :is(h1, h2) { margin-bottom: .75rem; }
.partner-hero .lead { margin-bottom: 1.5rem; font-size: 1.125rem; }

.partner-products {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.partner-product {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 500;
    color: var(--navy);
}

.partner-product .icon { color: var(--cyan); }

/* Only real links look like buttons; product names without a page yet stay plain labels. */
a.partner-product {
    padding: .55rem 1.1rem .55rem .8rem;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: var(--surface);
}

a.partner-product:hover { border-color: var(--cyan); text-decoration: none; }

.partner-profile {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 3rem;
}

.partner-about .prose { font-size: 1.0625rem; }

.partner-address {
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--surface-muted);
}

.partner-address :is(h1, h2).partner-address-title { margin-bottom: .75rem; font-size: 1.0625rem; font-weight: 600; }
.partner-address-text p { margin: 0; line-height: 1.65; }
.partner-address-phone { margin: .75rem 0 0; }

/* A company's product lists and the credit-card lists (Sections/_CompanyProducts, _CreditCardList, _CardFinder; _ProductTiles) */

.company-products-head { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.5rem; }
.company-products-head :is(h1, h2) { margin: 0; }

.company-products-logo {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 75px;
    padding: .5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--surface);
}

.company-products-logo img { width: auto; max-width: 100%; height: auto; max-height: 100%; object-fit: contain; }
.product-group + .product-group { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.product-group-title { margin-bottom: 1rem; }
.product-group-text { max-width: 860px; }
.product-group-subtitle { margin: 2.5rem 0 0; }
.product-group-compare { margin: 1.5rem 0 0; }
.product-unavailable { margin-top: 1.5rem; }
.product-unavailable p { margin: 0 0 .5rem; color: var(--muted); font-size: .9375rem; }
.product-group-text + .product-group-text,
.product-group-faq + .product-group-text { margin-top: 2.5rem; }
.product-related { margin-top: 3rem; }
.product-related .product-group-subtitle { margin: 0 0 1rem; }

.product-tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.product-tile {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--surface);
    box-shadow: var(--shadow-card);
}

.product-tile-head { display: flex; align-items: center; gap: 1rem; }
.product-tile-image { flex-shrink: 0; width: 96px; height: 61px; object-fit: contain; }
.product-tile-name { margin: 0; font-size: 1.0625rem; font-weight: 600; line-height: 1.35; }
.product-tile-name a { color: var(--navy); }
.product-tile-company { margin: .15rem 0 0; color: var(--muted); font-size: .875rem; }
.product-tile-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: .5rem 1rem; margin: 0; }
.product-tile-facts dt { color: var(--muted); font-size: .8125rem; }
.product-tile-facts dd { margin: 0; color: var(--navy); font-weight: 600; }
.product-tile-lines { margin: 0; padding-left: 1.1rem; font-size: .9375rem; color: var(--slate); }
.product-tile-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: auto; padding-top: .25rem; }
.product-tile-more { font-size: .9375rem; }

.card-finder-section { padding-bottom: 2.5rem; }
.card-finder { display: grid; gap: 1rem; }
.card-finder-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1rem; }
.card-finder-label { flex: 0 0 7rem; margin: 0; color: var(--navy); font-weight: 600; }
.card-finder-row .company-card-links { flex: 1; }

/* A bank's or insurer's product (Pages/Shared/_ProductPage) */

.product-hero {
    padding: 3rem 0;
    border-bottom: 1px solid var(--line);
    background: var(--surface-muted);
}

.product-hero-inner {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: center;
    gap: 2.5rem;
}

.product-hero-inner:not(:has(.product-hero-image)) { grid-template-columns: minmax(0, 1fr); }

.product-hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--surface);
    box-shadow: var(--shadow-card);
}

.product-hero-image img { width: 100%; max-width: 200px; height: auto; }
.product-hero .eyebrow { margin-bottom: .5rem; }
.product-hero h1 { margin-bottom: .75rem; }
.product-hero-notice { margin: 0 0 1rem; padding: .6rem .9rem; border-left: 4px solid var(--orange); background: #fff7e6; color: var(--navy); }
.product-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.product-body { max-width: calc(900px + 2 * var(--gutter)); padding-top: 2.5rem; padding-bottom: 3.5rem; }
.product-block { margin-top: 2.5rem; }
.product-block h2 { margin-bottom: .75rem; font-size: 1.5rem; }
.product-block .faq { margin-top: 1rem; }
.product-facts { margin-top: 0; }
.product-facts tbody th { width: 40%; }
.product-bullets { margin: 0; padding-left: 1.2rem; }
.product-bullets li + li { margin-top: .35rem; }
.product-outro { margin-top: 2.5rem; }
.product-back { margin: 3rem 0 0; }

/* Quote banner */

.quote-banner { max-width: 760px; margin: 0 auto; }
.quote-photo { width: 96px; height: 96px; margin: 0 auto 1rem; border-radius: 50%; }
.quote-banner blockquote { margin: 0; }
.quote-banner blockquote p { margin: 0; font-size: 1.375rem; line-height: 1.5; color: var(--navy); }
.quote-banner figcaption { margin-top: 1rem; color: var(--slate); }

/* Campaign pages: a customer's quote, and promos with a photo or graphic beside the text */

.testimonial blockquote p::before { content: "\201C"; }
.testimonial blockquote p::after { content: "\201D"; }
.testimonial figcaption strong { display: block; font-weight: 600; color: var(--navy); }
.testimonial figcaption span { font-size: .9375rem; color: var(--muted); }

.promo .content-row { margin-top: 0; }
.promo-lead { font-size: 1.0625rem; }
.promo .btn { margin-top: .5rem; }
.promo-terms { margin: 1rem 0 0; font-size: .875rem; color: var(--muted); }
.promo.is-photo .promo-image img { border-radius: var(--radius-card); box-shadow: var(--shadow-card); }

/* Promotions: banner, details, products, terms; and the list on /promotions */

.hero-banner { background: var(--surface-muted); }
.hero-banner img { display: block; width: 100%; height: auto; max-height: 480px; object-fit: cover; }

.promotion-details .container,
.promotion-content .container { max-width: calc(800px + 2 * var(--gutter)); }
.promotion-details .lead { margin-bottom: 1.25rem; }
.promotion-details + .post-snippet { margin-top: -1.5rem; margin-bottom: 1rem; }
.post-snippet .snippet { max-width: 800px; margin: 0 auto; }
.promotion-content { padding-top: 1rem; }
.promotion-content .prose { font-size: 1rem; }
.promotion-content .prose h3 { font-size: 1.1875rem; }

.promotion-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
    justify-content: center;
    gap: 30px;
    margin: 2.5rem 0 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.promotion-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--surface);
    box-shadow: var(--shadow-card);
}

.promotion-card:hover { border-color: var(--cyan); }
.promotion-card-image { display: block; width: 100%; height: auto; }
.promotion-card-body { padding: 1.25rem 1.25rem 1.5rem; }
.promotion-card-labels { margin: 0 0 .4rem; font-size: .8125rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--link); }
.promotion-card h3 { margin-bottom: .5rem; font-size: 1.125rem; line-height: 1.4; }
.promotion-card h3 a { color: var(--navy); }
.promotion-card h3 a::after { content: ""; position: absolute; inset: 0; }
.promotion-card h3 a:hover { text-decoration: none; }
.promotion-card p:last-child { margin: 0; font-size: .9375rem; color: var(--slate); }
.promotion-none { margin-top: 2rem; color: var(--muted); }

/* Guides (silo pages) */

.guide-lead { margin-bottom: 1.5rem; }
.guide-intro { margin-bottom: 2rem; }
.guide-photo { margin: 0 0 1rem; }
.guide-photo img { display: block; width: 100%; height: auto; border-radius: var(--radius-card); }
.guide-intro .article-meta { margin-bottom: 0; }

.guide-callout {
    margin: 2rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--cyan);
    background: var(--surface-muted);
}

.guide-callout p:last-child { margin-bottom: 0; }

/* Section tabs: the pages of one footer group ("Our company") under the breadcrumb */

.section-nav {
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}

.section-nav ul {
    display: flex;
    gap: 1.75rem;
    margin-top: 0;
    margin-bottom: 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}

.section-nav ul::-webkit-scrollbar { display: none; }

.section-nav a {
    display: block;
    padding: .95rem 0 .8rem;
    border-bottom: 2px solid transparent;
    font-size: .9375rem;
    font-weight: 500;
    color: var(--slate);
    white-space: nowrap;
}

.section-nav a:hover { color: var(--navy); text-decoration: none; }
.section-nav a[aria-current] { border-bottom-color: var(--cyan); color: var(--navy); }

/* Pages: about us, careers, FAQ, contact, privacy and terms */

.text-page .prose .faq { max-width: none; margin: 1rem 0 2.5rem; }
.text-page .prose .faq-answer p:last-child { margin-bottom: 0; }

/* Newsroom and press releases */

.news-listing { max-width: calc(860px + 2 * var(--gutter)); }

.external-icon { flex-shrink: 0; vertical-align: -2px; }

.news-list {
    max-width: 860px;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.news-more .news-list { margin: 0 auto; }

.news-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.35rem 0;
    border-bottom: 1px solid var(--line);
}

.news-card-body { flex: 1; min-width: 0; }

.news-card-outlet {
    margin: 0 0 .3rem;
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--link);
}

.news-card-title {
    margin: 0 0 .4rem;
    font-size: 1.1875rem;
    font-weight: 500;
    line-height: 1.4;
}

.news-card-title a { color: var(--navy); }
.news-card-title a:hover { color: var(--link); text-decoration: none; }

.news-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem 1rem;
    margin: 0;
    font-size: .875rem;
    color: var(--muted);
}

.news-card-external { display: inline-flex; align-items: center; gap: .35rem; }

.news-card-image {
    flex-shrink: 0;
    width: 160px;
    height: 107px;
    border-radius: var(--radius-card);
    object-fit: cover;
    object-position: top;
}

.news-article .eyebrow { margin-bottom: .75rem; }
.news-read-online { margin: 2rem 0 1rem; }

@media (max-width: 1100px) {
    .icon-cards { grid-template-columns: repeat(min(var(--columns, 6), 4), minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
    .hero-inner,
    .band-inner { grid-template-columns: minmax(0, 1fr); }
    .hero-inner { min-height: 0; padding-top: 2.5rem; }
    .hero-content { padding-bottom: 1rem; }
    .hero-graphic img { max-width: 380px; }
    .icon-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .teasers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .guide-cards,
    .company-cards,
    .product-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .content-row { gap: 2rem; }
    .features { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767.98px) {
    .content-row,
    .partner-hero-inner,
    .product-hero-inner,
    .partner-profile { grid-template-columns: minmax(0, 1fr); }
    .partner-logo,
    .product-hero-image { max-width: 260px; min-height: 120px; }
    .content-row.is-image-left .content-row-image { order: 0; }
    .content-row-image img { max-width: 320px; }
    .banner-card { flex-direction: column; text-align: center; }
    .carousel-nav { display: none; }
}

@media (max-width: 575.98px) {
    .icon-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
    .icon-card { min-height: 104px; font-size: .875rem; }
    .teasers,
    .guide-cards,
    .company-cards,
    .product-tiles,
    .prose ul.check-list,
    .prose ul.tick-list { grid-template-columns: minmax(0, 1fr); }
    .company-products-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .card-finder-label { flex-basis: 100%; }
    .news-card { gap: 1rem; }
    .news-card-image { width: 96px; height: 72px; }
    .news-card-title { font-size: 1.0625rem; }
    .hero-links { margin-top: -1.5rem; }
    .hero-form-fields { grid-template-columns: minmax(0, 1fr); }
    .feature { flex-direction: column; align-items: center; text-align: center; }
    .banner-card { padding: 1.5rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
