:root {
    --blue: #1155e4;
    --blue-dark: #0c46c4;
    --ink: #0b0f19;
    --text: #1f2532;
    --muted: #596273;
    --border: #e4e8ef;
    --soft: #f2f6fe;
    --card: #fff;
    --success: #168a43;
    --danger: #a61b32;
    --radius: 12px;
    --shadow: 0 1px 3px rgb(15 23 42 / 6%);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    color: var(--text);
    background: #fff;
    font-family: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--ink);
    line-height: 1.2;
}

.site-shell {
    width: min(1080px, calc(100% - 48px));
    margin-inline: auto;
}

.page-main {
    flex: 1 0 auto;
}

body:not(.home-template) .page-main {
    width: min(1080px, calc(100% - 48px));
    margin: 0 auto;
    padding: 54px 0 72px;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 100;
    padding: 10px 14px;
    color: #fff;
    background: var(--blue);
    border-radius: 6px;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgb(255 255 255 / 96%);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.header-inner {
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.logo {
    flex: 0 0 auto;
    color: var(--blue);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.4px;
    white-space: nowrap;
}

.logo-tld {
    color: #8a8f98;
    font-weight: 500;
}

.header-search {
    width: min(340px, 34vw);
    height: 40px;
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
}

.header-search:focus-within {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgb(17 85 228 / 10%);
}

.header-search input {
    min-width: 0;
    flex: 1;
    padding: 0 0 0 13px;
    border: 0;
    outline: 0;
    color: var(--text);
    background: transparent;
    font-size: 13.5px;
}

.header-search input::placeholder {
    color: #8c97a8;
}

.header-search button {
    width: 40px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0;
    color: #64748b;
    background: none;
    border: 0;
    cursor: pointer;
}

.header-search svg {
    width: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.main-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 23px;
}

.main-nav a {
    padding: 21px 0 19px;
    color: var(--ink);
    border-bottom: 2px solid transparent;
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active {
    color: var(--blue);
    border-color: var(--blue);
}

/* Buttons and shared form controls */
.button,
.button-link,
.deal-search button,
.newsletter-form button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    color: #fff;
    background: var(--blue);
    border: 0;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgb(17 85 228 / 26%);
    font-weight: 700;
    cursor: pointer;
}

.button:hover,
.button-link:hover,
.deal-search button:hover,
.newsletter-form button:hover {
    color: #fff;
    background: var(--blue-dark);
}

.text-link,
.back a {
    color: var(--blue);
    font-weight: 650;
}

.text-link:hover,
.back a:hover {
    text-decoration: underline;
}

/* Homepage hero */
.hero {
    padding: 64px 0 56px;
    background: radial-gradient(circle at 78% 55%, #deefff 0, #f1f8ff 34%, #fff 69%);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-copy h1 {
    max-width: 590px;
    margin-bottom: 20px;
    font-size: clamp(2.3rem, 4vw, 2.7rem);
    font-weight: 800;
    letter-spacing: -.7px;
}

.hero-copy > p {
    max-width: 480px;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 16px;
}

.hero-copy .button {
    margin-top: 2px;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-visual img {
    width: 100%;
    max-width: 500px;
}

.hero-badges {
    margin: 22px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    list-style: none;
    color: var(--text);
    font-size: 13.5px;
}

.hero-badges li {
    display: flex;
    align-items: center;
    gap: 7px;
}

.hero-badges .separator {
    color: #94a3b8;
}

.check-dot {
    width: 17px;
    height: 17px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    color: #fff;
    background: var(--success);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
}

/* Feature strip */
.features {
    padding: 44px 0;
    border-bottom: 1px solid var(--border);
}

.features-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.feature {
    display: flex;
    gap: 17px;
    padding: 0 28px;
}

.feature:first-child {
    padding-left: 0;
}

.feature:last-child {
    padding-right: 0;
}

.feature + .feature {
    border-left: 1px solid var(--border);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: #fff;
    background: var(--blue);
    border-radius: 50%;
    font-size: 22px;
    font-weight: 800;
}

.feature h2 {
    margin: 0 0 7px;
    font-size: 15.5px;
}

.feature p {
    margin: 0;
    color: var(--muted);
    font-size: 13.5px;
}

/* Homepage sections */
.home-section {
    padding: 56px 0;
}

.home-section.soft {
    background: #f8faff;
    border-block: 1px solid var(--border);
}

.home-section.soft + .home-section.soft {
    border-top: 0;
}

.section-heading {
    margin-bottom: 27px;
}

.section-heading.center {
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 8px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.3px;
}

.section-heading p {
    margin-bottom: 0;
    color: var(--muted);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    min-width: 0;
    padding: 18px;
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform .15s ease, box-shadow .15s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgb(15 23 42 / 10%);
}

.category-image {
    height: 120px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f1f2f3;
    border-radius: 8px;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card h3 {
    margin-bottom: 8px;
    font-size: 15.5px;
}

.category-card p {
    flex: 1;
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 13px;
}

.category-card .text-link {
    font-size: 13.5px;
}

.category-card .text-link span {
    display: inline-block;
    transition: transform .15s ease;
}

.category-card:hover .text-link span {
    transform: translateX(3px);
}

.deal-grid,
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.deal-card,
.post-card,
.coupon-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.deal-card,
.post-card {
    display: flex;
    flex-direction: column;
}

.deal-card > img,
.post-card .thumb {
    width: 100%;
    height: 190px;
    display: block;
    object-fit: cover;
    background: var(--soft);
}

.deal-card-body,
.post-card-body,
.coupon-card {
    padding: 20px;
}

.deal-card-body,
.post-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.deal-card h2,
.deal-card h3,
.post-card h2,
.post-card h3,
.coupon-card h2 {
    margin-bottom: 9px;
    font-size: 18px;
}

.deal-card h2 a:hover,
.deal-card h3 a:hover,
.post-card h2 a:hover,
.post-card h3 a:hover {
    color: var(--blue);
}

.deal-card .description,
.post-card .excerpt,
.coupon-card .description {
    color: var(--muted);
    font-size: 14px;
}

.deal-card .description,
.post-card .excerpt {
    flex: 1;
}

.meta {
    margin-bottom: 12px;
    color: #737d8d;
    font-size: 12.5px;
}

.tag,
.discount-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    color: var(--blue);
    background: var(--soft);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.discount-badge {
    margin-bottom: 10px;
    color: #fff;
    background: var(--success);
}

.price {
    margin: 15px 0;
    color: var(--ink);
    font-size: 20px;
    font-weight: 800;
}

.price del {
    margin-right: 7px;
    color: #87909d;
    font-size: 14px;
    font-weight: 500;
}

.deal-card .button-link {
    width: 100%;
}

.section-footer {
    margin: 28px 0 0;
    text-align: center;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.testimonial-card {
    margin: 0;
    padding: 22px 24px;
    background: #f4f6fe;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.quote-mark {
    display: block;
    height: 28px;
    color: var(--blue);
    font: 800 34px/1 Georgia, serif;
    letter-spacing: -6px;
}

.testimonial-card blockquote {
    margin: 8px 0 16px;
    font-size: 13.5px;
}

.testimonial-card figcaption {
    color: var(--muted);
    font-size: 13px;
}

/* Newsletter and alert */
.signup-stack {
    display: grid;
    gap: 24px;
}

.signup-panel {
    padding: 28px 30px;
    display: grid;
    grid-template-columns: minmax(260px, .9fr) minmax(360px, 1.1fr);
    gap: 30px;
    align-items: center;
    background: var(--soft);
    border: 1px solid #e1e8f8;
    border-radius: 14px;
}

.signup-panel.alert-panel {
    background: #eaf2ff;
}

.signup-copy {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 18px;
    align-items: center;
}

.signup-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--blue);
    border-radius: 50%;
    font-size: 23px;
}

.signup-copy h2 {
    margin-bottom: 5px;
    font-size: 18px;
}

.signup-copy p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 13.5px;
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.newsletter-form input,
.newsletter-form select,
.deal-search input {
    min-width: 0;
    min-height: 44px;
    padding: 9px 13px;
    color: var(--text);
    background: #fff;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    outline: 0;
}

.newsletter-form input:focus,
.newsletter-form select:focus,
.deal-search input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgb(17 85 228 / 10%);
}

.newsletter-form .grow {
    flex: 1 1 190px;
}

.newsletter-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-notices {
    margin-bottom: 22px;
}

.notice,
.empty-state {
    padding: 18px 20px;
    border-radius: 9px;
}

.notice {
    margin: 0 0 10px;
}

.notice.error {
    color: #7b1327;
    background: #fff0f2;
    border: 1px solid #ffd4dc;
}

.notice.success {
    color: #12652f;
    background: #eaf8ef;
    border: 1px solid #c9ecd5;
}

.empty-state {
    color: var(--muted);
    background: var(--soft);
    border: 1px solid var(--border);
}

/* Listing pages */
.page-header {
    max-width: 720px;
    margin-bottom: 30px;
}

.page-header h1 {
    margin-bottom: 10px;
    font-size: clamp(2rem, 5vw, 2.65rem);
    letter-spacing: -.5px;
}

.page-header p {
    color: var(--muted);
}

.deal-search {
    max-width: 720px;
    margin-bottom: 22px;
}

.deal-search label {
    display: block;
    margin-bottom: 7px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}

.deal-search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
}

.deal-search input {
    flex: 1 1 260px;
}

.deal-search .clear-link {
    padding: 9px 4px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 650;
}

.category-list {
    margin: 0 0 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-list a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    color: #354052;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 650;
}

.category-list a:hover,
.category-list a.active {
    color: #fff;
    background: var(--blue);
    border-color: var(--blue);
}

.category-list span {
    opacity: .75;
    font-size: 11.5px;
}

.listing-heading {
    margin-bottom: 22px;
}

.listing-heading h2 {
    margin-bottom: 7px;
    font-size: 24px;
}

.listing-heading .back,
.listing-heading .meta {
    margin-bottom: 6px;
}

/* Deals overview */
.deals-page {
    --deal-blue-soft: #edf4ff;
}

.eyebrow {
    margin-bottom: 7px;
    color: var(--blue);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.deals-page-header {
    max-width: 700px;
    margin-bottom: 42px;
}

.deals-page-header h1 {
    margin-bottom: 12px;
    font-size: clamp(2.25rem, 4.5vw, 3.15rem);
    letter-spacing: -.8px;
}

.deals-page-header > p:last-child {
    max-width: 610px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 16px;
}

.deals-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 36px;
    align-items: start;
}

.deals-filter-inner {
    position: sticky;
    top: 88px;
    padding: 22px;
    background: #f6f9fe;
    border: 1px solid #dfe7f4;
    border-radius: 12px;
}

.deals-filter-heading {
    margin-bottom: 20px;
    padding-bottom: 15px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid #dfe7f4;
}

.deals-filter-heading h2 {
    margin: 0;
    font-size: 16px;
}

.deals-filter-heading a {
    color: var(--blue);
    font-size: 11.5px;
    font-weight: 700;
}

.filter-field {
    margin-bottom: 17px;
}

.filter-field label {
    margin-bottom: 6px;
    display: block;
    color: var(--ink);
    font-size: 12.5px;
    font-weight: 700;
}

.filter-field input,
.filter-field select {
    width: 100%;
    min-width: 0;
    min-height: 43px;
    padding: 9px 11px;
    color: var(--text);
    background: #fff;
    border: 1px solid #d5deeb;
    border-radius: 8px;
    outline: 0;
    font-size: 13px;
}

.filter-field input:focus,
.filter-field select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgb(17 85 228 / 10%);
}

.filter-search-input {
    position: relative;
}

.filter-search-input svg {
    width: 17px;
    position: absolute;
    top: 50%;
    left: 11px;
    color: #748197;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    transform: translateY(-50%);
    pointer-events: none;
}

.filter-search-input input {
    padding-left: 36px;
}

.deals-filter form > button {
    width: 100%;
    min-height: 43px;
    padding: 9px 12px;
    color: #fff;
    background: var(--blue);
    border: 0;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgb(17 85 228 / 22%);
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
}

.deals-filter form > button:hover {
    background: var(--blue-dark);
}

.filter-assurances {
    margin-top: 20px;
    padding-top: 17px;
    border-top: 1px solid #dfe7f4;
}

.filter-assurances p {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 11.5px;
}

.filter-assurances p:last-child {
    margin-bottom: 0;
}

.filter-assurances span {
    margin-right: 6px;
    color: var(--success);
    font-weight: 800;
}

.deals-results-header {
    min-height: 75px;
    margin-bottom: 20px;
    padding-bottom: 17px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid var(--border);
}

.deals-results-header h2 {
    margin-bottom: 0;
    font-size: 27px;
}

.results-context {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.result-count {
    margin-bottom: 3px;
    color: var(--muted);
    font-size: 12.5px;
    white-space: nowrap;
}

.result-count strong {
    color: var(--ink);
    font-size: 15px;
}

.deal-list {
    display: grid;
    gap: 14px;
}

.deal-list-item {
    min-width: 0;
    min-height: 190px;
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr) 165px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e0e6ee;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgb(18 38 70 / 4%);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.deal-list-item:hover {
    border-color: #bfd0ed;
    box-shadow: 0 7px 20px rgb(18 38 70 / 8%);
}

.deal-list-image {
    min-height: 190px;
    position: relative;
    overflow: hidden;
    background: #f2f5f9;
}

.deal-list-image img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    display: block;
    object-fit: cover;
    transition: transform .3s ease;
}

.deal-list-item:hover .deal-list-image img {
    transform: scale(1.025);
}

.deal-saving {
    position: absolute;
    top: 13px;
    left: 13px;
    padding: 5px 9px;
    color: #fff;
    background: var(--success);
    border-radius: 999px;
    box-shadow: 0 3px 9px rgb(16 100 53 / 20%);
    font-size: 11.5px;
    font-weight: 800;
}

.deal-list-copy {
    min-width: 0;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
}

.deal-category-name {
    margin-bottom: 6px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
}

.deal-list-copy h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

.deal-list-copy .description {
    margin-bottom: 15px;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.5;
}

.deal-date {
    margin: auto 0 0;
    color: #7d8795;
    font-size: 10.5px;
}

.deal-list-offer {
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fbfcfe;
    border-left: 1px solid var(--border);
}

.deal-price-label {
    margin-bottom: 2px;
    color: var(--muted);
    font-size: 10.5px;
}

.deal-list-offer .price {
    margin: 0 0 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    font-size: 22px;
}

.deal-list-offer .price del {
    order: 2;
    margin: 0;
    font-size: 11.5px;
}

.deal-list-offer .button-link {
    width: 100%;
    min-height: 39px;
    padding: 8px 10px;
    box-shadow: none;
    font-size: 12px;
    white-space: nowrap;
}

.deal-list-offer .button-link span {
    margin-left: 5px;
    font-size: 15px;
}

.external-note {
    margin: 7px 0 0;
    color: #8a93a1;
    font-size: 9.5px;
    text-align: center;
}

.deals-empty {
    padding: 54px 30px;
    background: #f8faff;
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
}

.deals-empty h3 {
    margin-bottom: 8px;
    font-size: 20px;
}

.deals-empty p {
    margin: 0 auto 20px;
    color: var(--muted);
    font-size: 13.5px;
}

.coupon-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.coupon-card {
    display: flex;
    flex-direction: column;
}

.coupon-code {
    margin: auto 0 16px;
    padding: 12px 14px;
    color: var(--blue);
    background: var(--soft);
    border: 1px dashed #8eacef;
    border-radius: 8px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .04em;
    text-align: center;
    overflow-wrap: anywhere;
}

.pagination {
    margin: 38px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    list-style: none;
}

.pagination a {
    min-width: 40px;
    min-height: 40px;
    padding: 8px 11px;
    display: grid;
    place-items: center;
    color: var(--blue);
    border: 1px solid var(--border);
    border-radius: 7px;
    font-size: 13px;
    font-weight: 650;
}

.pagination a:hover,
.pagination .active a {
    color: #fff;
    background: var(--blue);
    border-color: var(--blue);
}

/* Blog and content pages */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.guide-header {
    margin-bottom: 42px;
    display: grid;
    grid-template-columns: minmax(340px, .95fr) minmax(320px, 1.05fr);
    gap: 70px;
    align-items: end;
}

.guide-header h1 {
    margin-bottom: 0;
    font-size: clamp(2.5rem, 5vw, 3.4rem);
    letter-spacing: -1px;
}

.guide-header > p {
    max-width: 500px;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 16px;
}

.featured-guide {
    min-height: 380px;
    display: grid;
    grid-template-columns: minmax(320px, .95fr) minmax(380px, 1.05fr);
    overflow: hidden;
    background: #fff;
    border: 1px solid #dfe6f0;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgb(18 38 70 / 7%);
}

.featured-guide-media {
    min-height: 380px;
    display: block;
    overflow: hidden;
    background: var(--deal-blue-soft);
}

.featured-guide-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}

.featured-guide:hover .featured-guide-media img {
    transform: scale(1.025);
}

.featured-guide-placeholder {
    width: 100%;
    height: 100%;
    min-height: 380px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: var(--blue);
    background:
        radial-gradient(circle at 22% 25%, rgb(255 255 255 / 90%) 0 7%, transparent 7.2%),
        radial-gradient(circle at 78% 72%, rgb(255 255 255 / 70%) 0 11%, transparent 11.2%),
        linear-gradient(135deg, #f4f8ff 0%, #dce9ff 100%);
}

.featured-guide-placeholder::before,
.featured-guide-placeholder::after {
    position: absolute;
    content: "";
    border: 1px solid rgb(17 85 228 / 12%);
    border-radius: 50%;
}

.featured-guide-placeholder::before {
    width: 220px;
    height: 220px;
}

.featured-guide-placeholder::after {
    width: 290px;
    height: 290px;
}

.guide-placeholder-icon {
    width: 66px;
    height: 66px;
    z-index: 1;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--blue);
    border-radius: 50%;
    box-shadow: 0 8px 22px rgb(17 85 228 / 22%);
    font: 800 34px/1 Georgia, serif;
}

.featured-guide-placeholder small {
    z-index: 1;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.featured-guide-copy {
    padding: clamp(32px, 5vw, 58px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-label {
    margin-bottom: 22px;
    color: var(--blue);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.guide-category {
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.featured-guide-copy h2 {
    max-width: 520px;
    margin-bottom: 14px;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    letter-spacing: -.5px;
}

.featured-guide-copy h2 a:hover,
.guide-card h3 a:hover {
    color: var(--blue);
}

.featured-excerpt {
    max-width: 520px;
    margin-bottom: 26px;
    color: var(--muted);
    font-size: 14.5px;
}

.featured-guide-footer {
    padding-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--border);
}

.featured-guide-footer time {
    color: #7b8493;
    font-size: 11.5px;
}

.guide-read-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 750;
}

.guide-read-link span {
    font-size: 17px;
    transition: transform .15s ease;
}

.guide-read-link:hover span {
    transform: translateX(3px);
}

.guide-archive {
    margin-top: 64px;
}

.guide-section-heading {
    margin-bottom: 23px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.guide-section-heading h2 {
    margin-bottom: 0;
    font-size: 27px;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.guide-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.guide-card-media {
    height: 180px;
    display: block;
    overflow: hidden;
    background: var(--deal-blue-soft);
}

.guide-card-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .3s ease;
}

.guide-card:hover .guide-card-media img {
    transform: scale(1.025);
}

.guide-card-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--blue);
    background: linear-gradient(145deg, #f6f9ff, #e2edff);
}

.guide-card-placeholder span {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--blue);
    border-radius: 50%;
    font: 800 25px/1 Georgia, serif;
}

.guide-card-body {
    padding: 20px;
}

.guide-card-meta {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #7b8493;
    font-size: 10.5px;
}

.guide-card-meta span {
    color: var(--blue);
    font-weight: 750;
}

.guide-card h3 {
    margin-bottom: 9px;
    font-size: 18px;
}

.guide-card-body > p:not(.guide-card-meta) {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 13px;
}

.guide-empty {
    padding: 64px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f5f8fe;
    border: 1px solid #dfe7f4;
    border-radius: 15px;
    text-align: center;
}

.guide-empty h2 {
    margin: 22px 0 8px;
    font-size: 23px;
}

.guide-empty p {
    margin-bottom: 0;
    color: var(--muted);
}

/* CMS landing documents */
.landing-page {
    max-width: 980px;
    margin-inline: auto;
}

.landing-page-header {
    max-width: 860px;
    margin: 0 auto 26px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.landing-page-header h1 {
    margin-bottom: 0;
    font-size: clamp(2.35rem, 5vw, 3.1rem);
    letter-spacing: -.75px;
}

.landing-document {
    max-width: 860px;
    margin-inline: auto;
    padding: clamp(32px, 6vw, 56px);
    background: #fff;
    border: 1px solid #dfe6f0;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgb(18 38 70 / 5%);
}

.landing-body {
    max-width: 720px;
    color: #303849;
    font-size: 15px;
    line-height: 1.7;
}

.landing-body > :first-child {
    margin-top: 0;
}

.landing-body > :last-child {
    margin-bottom: 0;
}

.landing-body h2,
.landing-body h3,
.landing-body h4 {
    margin: 1.8em 0 .65em;
}

.landing-body h2:first-child,
.landing-body h3:first-child,
.landing-body h4:first-child {
    margin-top: 0;
}

.landing-body h2 {
    font-size: 24px;
}

.landing-body h3 {
    font-size: 18px;
}

.landing-body h4 {
    font-size: 15px;
}

.landing-body p,
.landing-body ul,
.landing-body ol {
    margin-bottom: 14px;
}

.landing-body ul,
.landing-body ol {
    padding-left: 1.25rem;
}

.landing-body a {
    color: var(--blue);
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.landing-body blockquote {
    margin: 22px 0;
    padding: 16px 20px;
    color: var(--muted);
    background: #f7f9fd;
    border-left: 3px solid var(--blue);
}

.landing-body table {
    width: 100%;
    margin: 22px 0;
    border-collapse: collapse;
    font-size: 13.5px;
}

.landing-body th,
.landing-body td {
    padding: 10px 12px;
    border: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.landing-body th {
    color: var(--ink);
    background: #f6f8fb;
}

.landing-extras {
    margin-top: 54px;
}

.landing-extras > * + * {
    margin-top: 46px;
}

.article-shell,
.content-page {
    padding: clamp(26px, 5vw, 54px);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.article-shell {
    max-width: 860px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 24px;
}

.article-header h1,
.content-page > h1,
.page-body > h1 {
    margin-bottom: 12px;
    font-size: clamp(2rem, 5vw, 2.7rem);
}

.cover {
    width: 100%;
    max-height: 480px;
    margin: 0 0 30px;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

.content,
.page-body,
.landing-body {
    color: #303849;
}

.content > :last-child,
.page-body > :last-child,
.landing-body > :last-child {
    margin-bottom: 0;
}

.content a,
.page-body a,
.landing-body a {
    color: var(--blue);
    text-decoration: underline;
}

.content img,
.page-body img,
.landing-body img {
    height: auto;
    border-radius: 8px;
}

.content-page > .landing-body,
.content-page > .page-body {
    max-width: 860px;
}

.content-page .highlights,
.content-page .highlighted-deals {
    margin-top: 46px;
}

.highlights > h2,
.highlighted-deals > h2 {
    margin-bottom: 22px;
}

.highlights .post-grid,
.highlighted-deals .deal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.newsletter-thanks {
    max-width: 660px;
    margin: 40px auto;
    padding: 48px;
    text-align: center;
    background: var(--soft);
    border: 1px solid var(--border);
    border-radius: 14px;
}

/* Footer */
.site-footer {
    padding-top: 52px;
    background: #fafbfd;
    border-top: 1px solid var(--border);
}

.footer-grid {
    padding-bottom: 46px;
    display: grid;
    grid-template-columns: 1.35fr .8fr .8fr 1.3fr;
    gap: 36px;
}

.footer-brand p,
.footer-note p {
    color: var(--muted);
    font-size: 13px;
}

.footer-brand p {
    max-width: 280px;
    margin: 14px 0 0;
}

.footer-column h2 {
    margin-bottom: 14px;
    font-size: 14px;
}

.footer-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-column li {
    margin-bottom: 8px;
}

.footer-column li a {
    color: var(--muted);
    font-size: 13px;
}

.footer-column li a:hover {
    color: var(--blue);
}

.footer-bottom {
    color: #cbd5e1;
    background: #39475d;
    font-size: 12.5px;
}

.footer-bottom-inner {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

@media (max-width: 960px) {
    .header-inner {
        gap: 18px;
    }

    .header-search {
        display: none;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        order: -1;
    }

    .hero-visual img {
        max-height: 250px;
    }

    .features-inner,
    .deal-grid,
    .post-grid,
    .testimonial-grid,
    .highlights .post-grid,
    .highlighted-deals .deal-grid {
        grid-template-columns: 1fr;
    }

    .features-inner {
        gap: 26px;
    }

    .feature {
        padding: 0;
        border-left: 0 !important;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .deal-grid,
    .post-grid,
    .testimonial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .signup-panel {
        grid-template-columns: 1fr;
    }

    .deals-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .deals-filter-inner {
        position: static;
    }

    .deals-filter form {
        display: grid;
        grid-template-columns: minmax(220px, 1fr) minmax(200px, .8fr) 170px;
        gap: 14px;
        align-items: end;
    }

    .deals-filter .filter-field {
        margin-bottom: 0;
    }

    .filter-assurances {
        display: flex;
        flex-wrap: wrap;
        gap: 10px 24px;
    }

    .filter-assurances p {
        margin: 0;
    }

    .guide-header {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .featured-guide {
        grid-template-columns: minmax(280px, .8fr) minmax(360px, 1.2fr);
    }

    .guide-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .site-shell,
    body:not(.home-template) .page-main {
        width: min(100% - 32px, 1080px);
    }

    .header-inner {
        min-height: 0;
        padding-top: 13px;
        display: block;
    }

    .main-nav {
        width: 100%;
        margin-top: 7px;
        gap: 17px;
        overflow-x: auto;
    }

    .main-nav a {
        padding: 10px 0 12px;
        font-size: 13px;
    }

    body:not(.home-template) .page-main {
        padding: 38px 0 52px;
    }

    .deals-page-header {
        margin-bottom: 30px;
    }

    .deals-page-header h1 {
        font-size: 32px;
    }

    .deals-filter-inner {
        padding: 19px;
    }

    .deals-filter form {
        grid-template-columns: 1fr;
    }

    .deals-filter .filter-field {
        margin-bottom: 2px;
    }

    .filter-assurances {
        display: grid;
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .deals-results-header h2 {
        font-size: 24px;
    }

    .deal-list-item {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .deal-list-image {
        min-height: 170px;
    }

    .deal-list-copy {
        padding: 18px 16px;
    }

    .deal-list-copy h3 {
        font-size: 16px;
    }

    .deal-list-copy .description {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        font-size: 12.5px;
    }

    .deal-date {
        line-height: 1.4;
    }

    .deal-list-offer {
        padding: 15px 16px;
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(100px, 1fr) minmax(140px, 170px);
        align-items: center;
        gap: 2px 14px;
        border-top: 1px solid var(--border);
        border-left: 0;
    }

    .deal-price-label,
    .deal-list-offer .price {
        grid-column: 1;
    }

    .deal-list-offer .price {
        margin-bottom: 0;
    }

    .deal-list-offer .button-link {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .external-note {
        display: none;
    }

    .guide-header {
        margin-bottom: 30px;
    }

    .guide-header h1 {
        font-size: 34px;
    }

    .guide-header > p {
        font-size: 14.5px;
    }

    .featured-guide {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .featured-guide-media,
    .featured-guide-placeholder {
        min-height: 220px;
    }

    .featured-guide-media {
        height: 220px;
    }

    .featured-guide-copy {
        padding: 26px 22px;
    }

    .featured-label {
        margin-bottom: 16px;
    }

    .featured-guide-copy h2 {
        font-size: 25px;
    }

    .featured-guide-footer {
        align-items: flex-end;
    }

    .guide-archive {
        margin-top: 46px;
    }

    .guide-grid {
        grid-template-columns: 1fr;
    }

    .landing-page-header {
        margin-bottom: 20px;
        padding-bottom: 16px;
    }

    .landing-page-header h1 {
        font-size: 34px;
    }

    .landing-document {
        padding: 28px 22px;
    }

    .landing-body {
        font-size: 14px;
    }

    .hero {
        padding: 38px 0 44px;
    }

    .hero-inner {
        gap: 24px;
    }

    .hero-copy h1 {
        font-size: 30px;
    }

    .hero-visual img {
        max-height: 190px;
    }

    .hero-badges .separator {
        display: none;
    }

    .features,
    .home-section {
        padding: 42px 0;
    }

    .category-grid,
    .deal-grid,
    .post-grid,
    .testimonial-grid,
    .coupon-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .signup-panel {
        padding: 22px 20px;
    }

    .signup-copy {
        grid-template-columns: 42px 1fr;
        gap: 13px;
    }

    .signup-icon {
        width: 42px;
        height: 42px;
        font-size: 19px;
    }

    .newsletter-form {
        display: grid;
        grid-template-columns: 1fr;
    }

    .newsletter-form button {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom-inner {
        min-height: 0;
        padding: 13px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }

    .newsletter-thanks {
        margin: 0;
        padding: 32px 22px;
    }
}
