/* Styles for the Christmas gift blocks (acf/gift-*), built from the Figma frame
   Work_page → bookmakers_des → 1472:2 (1440px artboard, 1312px content width =
   64px side gutters). Kept in its own file and loaded only on pages that use
   these blocks, so no existing stylesheet is touched. */

@font-face {
    font-family: 'Brush Script MT';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/brush-script-mt-italic.woff2') format('woff2');
}

.cg-hero,
.cg-bundles,
.cg-horses,
.cg-voucher,
.cg-why,
.cg-faq {
    --cg-navy: #16486d;
    --cg-yellow: #ffe208;
    --cg-sky: #e2efff;
    font-family: 'Open Sans', sans-serif;
    color: var(--cg-navy);
    box-sizing: border-box;
}

.cg-hero *,
.cg-bundles *,
.cg-horses *,
.cg-voucher *,
.cg-why *,
.cg-faq * {
    box-sizing: border-box;
}

.cg-wrap {
    --cg-gutter: 64px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--cg-gutter);
}

/* The theme paints headings with a gradient text fill and uppercases some of
   them; every heading in these blocks resets that. */
.cg-hero h2,
.cg-bundles h2,
.cg-bundles h3,
.cg-horses h2,
.cg-horses h3,
.cg-voucher h2,
.cg-why h2,
.cg-why h3,
.cg-faq h2,
.cg-faq h3 {
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: currentColor !important;
    text-transform: none;
    letter-spacing: 0;
    margin: 0;
    padding: 0;
}

.cg-title {
    font-weight: 700;
    font-size: 48px;
    line-height: 1.2;
    color: var(--cg-navy) !important;
}

.cg-subtitle {
    margin: 0;
    font-size: 18px;
    line-height: 22px;
    color: var(--cg-navy);
}

/* ------------------------------------------------------ Top Title band ---- */
/* The site-wide acf/top-news block, compacted to the design's 157px band only
   where it sits right above the Christmas hero (other pages keep their look):
   48px title, 10px gap, 16px semibold subtitle, ~34px vertical padding. */
.block-top-news:has(+ .cg-hero) .container {
    padding-top: 34px;
    padding-bottom: 34px;
}

.block-top-news:has(+ .cg-hero) .text {
    margin-top: 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

/* ---------------------------------------------------------------- Hero ---- */
.cg-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #15486e;
    color: #fff;
}

.cg-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.cg-hero__inner {
    position: relative;
    width: 100%;
    padding-top: 64px;
    padding-bottom: 64px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.cg-hero__text {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 620px;
}

.cg-hero__heading {
    font-weight: 700;
    font-size: 48px;
    line-height: 1.2;
    color: #fff !important;
}

.cg-hero__accent {
    font-family: 'Brush Script MT', 'Segoe Script', 'Bradley Hand', 'Snell Roundhand', cursive;
    font-style: italic;
    font-weight: 400;
    font-size: 64px;
    line-height: 1;
    white-space: nowrap;
    color: var(--cg-yellow);
    -webkit-text-fill-color: var(--cg-yellow);
}

.cg-hero__description {
    margin: 0;
    max-width: 552px;
    font-size: 18px;
    line-height: 1.5;
    color: #fff;
}

.cg-hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.cg-hero__feature {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 366px;
    min-height: 134px;
    padding: 16px 24px;
    border: 1px solid var(--cg-yellow);
    border-radius: 50px;
    background: linear-gradient(117deg, #f1d27a 0%, #c9a23c 100%);
    color: #15486e;
}

.cg-hero__feature-icon {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cg-hero__feature-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.cg-hero__feature-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cg-hero__feature-title {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
}

.cg-hero__feature-sub {
    font-size: 16px;
    line-height: 1.4;
}

/* --------------------------------------------------- Section headings ---- */
.cg-section-head {
    display: flex;
    gap: 8px;
    margin-bottom: 50px;
}

.cg-section-head__icon {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
}

.cg-section-head__main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.cg-section-head__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cg-horses .cg-section-head {
    margin-bottom: 32px;
}

/* ------------------------------------------------- Sort + filter chips ---- */
.cg-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 50px;
}

.cg-sort {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto;
}

.cg-sort__label {
    font-weight: 700;
    font-size: 14px;
    line-height: 17px;
    color: var(--cg-navy);
}

.cg-sort__control {
    position: relative;
    display: block;
}

.cg-sort__control::after {
    content: '';
    position: absolute;
    right: 18px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-right: 1.4px solid #4a5878;
    border-bottom: 1.4px solid #4a5878;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

.cg-sort select {
    appearance: none;
    -webkit-appearance: none;
    width: 203px;
    height: 52px;
    margin: 0;
    padding: 0 40px 0 16px;
    border: 1px solid #ccd6e5;
    border-radius: 6px;
    background: #fff;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--cg-navy);
    cursor: pointer;
}

.cg-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.cg-chip {
    height: 50px;
    padding: 0 24px;
    border: 1px solid var(--cg-navy);
    border-radius: 100px;
    background: #fff;
    color: var(--cg-navy);
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 16px;
    cursor: pointer;
    transition: background-color .2s, color .2s;
}

.cg-chip:hover,
.cg-chip:focus {
    background: #f0f5fb;
    color: var(--cg-navy);
}

.cg-chip.is-active {
    background: var(--cg-navy);
    color: #fff;
}

.cg-chip:focus-visible,
.cg-sort select:focus-visible {
    outline: 2px solid var(--cg-navy);
    outline-offset: 2px;
}

/* ---------------------------------------------------------- Sections ---- */
.cg-bundles {
    padding: 100px 0;
    background-color: #fff;
    background-image: linear-gradient(to bottom, #fff 0%, rgba(255, 255, 255, 0) 30%), var(--cg-bundles-bg, none);
    background-repeat: no-repeat;
    background-position: right bottom, right bottom;
    background-size: 100% 100%, 636px auto;
}

.cg-horses {
    padding: 100px 0;
    background: var(--cg-sky);
}

.cg-grid {
    display: grid;
    gap: 50px 36px;
}

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

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

.cg-empty {
    margin: 0;
    font-size: 18px;
    color: var(--cg-navy);
}

/* -------------------------------------------------------------- Cards ---- */
.cg-card {
    --card-bg: var(--cg-navy);
    --card-fg: #fff;
    --card-accent: var(--cg-yellow);
    --card-tick-bg: #fff;
    --card-tick: var(--cg-navy);
    display: flex;
    flex-direction: column;
    border-radius: 32px;
    overflow: hidden;
    background: var(--card-bg);
}

.cg-card[hidden] {
    display: none;
}

.cg-card--yellow {
    --card-bg: var(--cg-yellow);
    --card-fg: var(--cg-navy);
    --card-accent: var(--cg-navy);
    --card-tick-bg: var(--cg-navy);
    --card-tick: var(--cg-yellow);
}

.cg-card__media {
    position: relative;
    height: 280px;
    background: #e8edf4;
}

.cg-card--horse .cg-card__media {
    height: 220px;
}

.cg-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cg-card__badge {
    position: absolute;
    padding: 6px 10px;
    border-radius: 4px;
    background: #fce407;
    color: #0b2352;
    font-weight: 700;
    line-height: 14px;
    text-transform: uppercase;
}

.cg-card__badge--top {
    top: 8px;
    left: 8px;
    font-size: 10px;
}

.cg-card__badge--bottom {
    right: 8px;
    bottom: 8px;
    font-size: 16px;
    background: var(--cg-yellow);
}

/* Navy/yellow body with the snow sparkle on top and the gift-wrap strip along
   the bottom edge, as in the design. */
.cg-card__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 24px;
    background-color: var(--card-bg);
    background-image:
        url('../images/christmas-gift/card-giftwrap.webp'),
        url('../images/christmas-gift/card-sparkle.webp');
    background-repeat: no-repeat, no-repeat;
    background-position: center bottom, center top;
    background-size: 100% auto, 100% 100%;
    color: var(--card-fg);
}

.cg-card__title {
    font-weight: 800;
    font-size: 24px;
    line-height: 1.2;
    text-transform: uppercase !important;
    color: var(--card-accent) !important;
}

.cg-card--horse .cg-card__title {
    font-size: 20px;
}

.cg-card__list {
    list-style: none;
    margin: -14px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cg-card__list li {
    position: relative;
    margin: 0;
    padding-left: 32px;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.2;
    color: var(--card-fg);
}

.cg-card--horse .cg-card__list li {
    font-size: 16px;
}

/* Bundle items: the design sets 18px text on a 16px line with 16px gaps
   (33px from one line to the next). A 1.2 line-height keeps wrapped items
   readable, so the gap shrinks to hold the same rhythm. */
.cg-card--bundle .cg-card__list {
    gap: 11px;
}

/* Tick badge: a 16px circle with the design's check path (Figma CheckIcon,
   1.3125px round-capped stroke) as a mask, so its colour follows the card.
   Centred on the first text line: 0.6em = half of the 1.2 line-height. */
.cg-card__list li::before,
.cg-card__list li::after {
    content: '';
    position: absolute;
    left: 0;
    top: calc(0.6em - 8px);
    width: 16px;
    height: 16px;
}

.cg-card__list li::before {
    border-radius: 50%;
    background: var(--card-tick-bg);
}

.cg-card__list li::after {
    background: var(--card-tick);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.875 8.125L6.75 10L11.125 6' fill='none' stroke='%23000' stroke-width='1.3125' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.875 8.125L6.75 10L11.125 6' fill='none' stroke='%23000' stroke-width='1.3125' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}

.cg-card__price-row {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 97px;
    padding-top: 16px;
    border-top: 1px solid var(--card-accent);
    color: var(--card-accent);
}

.cg-card--horse .cg-card__price-row {
    justify-content: flex-start;
    align-items: flex-end;
    min-height: 47px;
}

.cg-card__price {
    font-weight: 800;
    font-size: 32px;
    line-height: 1.15;
}

.cg-card--horse .cg-card__price {
    line-height: 30px;
}

.cg-card__price-unit {
    font-size: 14px;
    line-height: 1.2;
}

.cg-card__price-text {
    font-weight: 800;
    font-size: 20px;
    line-height: 1.2;
}

.cg-card__save {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--card-accent);
    color: var(--card-bg);
    font-weight: 800;
    font-size: 16px;
    line-height: 1.2;
}

.cg-card:not(.cg-card--yellow) .cg-card__save {
    background: #fce407;
    color: var(--cg-navy);
}

.cg-card__button,
.cg-card__button:visited {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: 16px 18px;
    border-radius: 10px;
    background: var(--card-accent);
    color: var(--card-bg);
    font-weight: 700;
    font-size: 20px;
    line-height: 32px;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s;
}

/* Hover: a darker shade of the button's own colour — deeper yellow on navy
   cards, deeper navy on yellow cards. */
.cg-card__button:hover,
.cg-card__button:focus-visible {
    background: #e0c400;
    color: var(--card-bg);
}

.cg-card--yellow .cg-card__button:hover,
.cg-card--yellow .cg-card__button:focus-visible {
    background: #0c2f4b;
}

/* ------------------------------------------------------- Voucher CTA ---- */
.cg-voucher {
    padding: 48px 0;
    background-color: var(--cg-navy);
    background-image: var(--cg-voucher-bg, none);
    background-size: cover;
    background-position: center;
    color: #fff;
}

.cg-voucher__inner {
    display: flex;
    align-items: center;
    gap: 80px;
}

.cg-voucher__image {
    flex: 0 0 385px;
    width: 385px;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
}

.cg-voucher__content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 690px;
}

.cg-voucher__eyebrow {
    margin: 0;
    font-weight: 700;
    font-size: 20px;
    line-height: 31px;
    color: #fff;
}

.cg-voucher__title {
    padding-top: 5px !important;
    font-weight: 800;
    font-size: 34px;
    line-height: 39px;
    color: #f7c600 !important;
}

.cg-voucher__description {
    margin: 13px 0 0;
    max-width: 650px;
    font-size: 18px;
    line-height: 1.4;
    color: #dce4f1;
}

.cg-voucher__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.cg-btn,
.cg-btn:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 51px;
    padding: 16px 64px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    text-decoration: none;
    transition: opacity .2s, background-color .2s;
}

.cg-btn--primary,
.cg-btn--primary:visited,
.cg-btn--primary:hover,
.cg-btn--primary:focus {
    background: var(--cg-yellow);
    color: var(--cg-navy);
}

.cg-btn--primary:hover {
    opacity: .9;
}

.cg-btn--secondary,
.cg-btn--secondary:visited {
    border: 1px solid #fff;
    color: #fff;
}

.cg-btn--secondary:hover,
.cg-btn--secondary:focus {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

/* ------------------------------------------------------------- Reasons ---- */
.cg-why {
    padding: 100px 0;
    background: var(--cg-sky);
}

.cg-why__title {
    margin-bottom: 50px !important;
}

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

.cg-why__item {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px;
    border-radius: 40px;
    background: #fff;
}

.cg-why__icon {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
}

/* Titles are held to three lines so the descriptions line up across cards. */
.cg-why__item-title {
    min-height: 3.6em;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2;
    color: var(--cg-navy) !important;
}

.cg-why__item-text {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
    color: var(--cg-navy);
}

/* ------------------------------------------------------------------ FAQ ---- */
.cg-faq {
    padding: 100px 0;
    background: #fff;
}

.cg-faq__title {
    text-align: center;
    margin-bottom: 50px !important;
}

.cg-faq__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 50px;
    align-items: start;
}

.cg-faq__layout--full {
    grid-template-columns: minmax(0, 1fr);
}

.cg-faq__item {
    border-bottom: 1px solid #e5e5e5;
}

.cg-faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 30px 24px;
    border: none;
    background: none;
    text-align: left;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 26px;
    color: var(--cg-navy);
    cursor: pointer;
}

/* No hover state by design — also blocks the theme's generic button hover. */
.cg-faq__question:hover,
.cg-faq__question:focus {
    background: none;
    color: var(--cg-navy);
}

.cg-faq__question:focus-visible {
    outline: 2px solid var(--cg-navy);
    outline-offset: -2px;
}

.cg-faq__toggle {
    position: relative;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
}

.cg-faq__toggle::before,
.cg-faq__toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--cg-navy);
    transform: translate(-50%, -50%);
    transition: transform .2s;
}

.cg-faq__toggle::before {
    width: 16px;
    height: 2px;
}

.cg-faq__toggle::after {
    width: 2px;
    height: 16px;
}

.cg-faq__item.is-open .cg-faq__toggle::after {
    transform: translate(-50%, -50%) scaleY(0);
}

.cg-faq__answer {
    padding: 0 24px 30px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--cg-navy);
}

.cg-faq__answer p {
    margin: 0 0 12px;
}

.cg-faq__answer p:last-child {
    margin-bottom: 0;
}

.cg-faq__aside {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    border-radius: 32px;
    background-color: var(--cg-yellow);
    background-image: var(--cg-aside-bg, none);
    background-size: cover;
    background-position: center;
    color: var(--cg-navy);
}

.cg-faq__aside-title {
    max-width: 286px;
    font-weight: 800;
    font-size: 24px;
    line-height: 29px;
    color: var(--cg-navy) !important;
}

.cg-faq__aside-text {
    max-width: 286px;
    margin: 12px 0 21px;
    font-size: 16px;
    line-height: 1.4;
}

.cg-faq__aside-button,
.cg-faq__aside-button:visited {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 240px;
    max-width: 100%;
    min-height: 64px;
    padding: 16px 18px;
    border-radius: 10px;
    background: var(--cg-navy);
    color: var(--cg-yellow);
    font-weight: 700;
    font-size: 20px;
    line-height: 32px;
    text-decoration: none;
}

.cg-faq__aside-button:hover,
.cg-faq__aside-button:focus {
    color: var(--cg-yellow);
    opacity: .9;
}

.cg-faq__aside-contacts {
    width: 286px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 25px;
    padding-top: 19px;
    border-top: 1px solid rgba(11, 35, 82, .18);
}

.cg-faq__aside-contacts a,
.cg-faq__aside-contacts a:visited {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
    font-size: 16px;
    line-height: 16px;
    color: var(--cg-navy);
    text-decoration: none;
}

.cg-faq__aside-contacts a:hover {
    color: var(--cg-navy);
    text-decoration: underline;
}

/* Target of the FAQ sidebar's "Contact Us" button; clears the sticky header. */
.cg-anchor {
    scroll-margin-top: 120px;
}

/* ---------------------------------------------------------- Responsive ---- */
@media (max-width: 1280px) {
    .cg-grid--4 {
        grid-template-columns: repeat(3, 1fr);
    }

    .cg-faq__layout {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 32px;
    }

    .cg-voucher__inner {
        gap: 48px;
    }
}

@media (max-width: 1024px) {
    .cg-wrap {
        --cg-gutter: 30px;
    }

    .cg-title,
    .cg-hero__heading {
        font-size: 34px;
    }

    .cg-hero__accent {
        font-size: 46px;
    }

    /* Photo sits behind the text on narrow screens; darken it for contrast. */
    .cg-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(90deg, rgba(21, 57, 110, .92) 0%, rgba(21, 57, 110, .6) 100%);
    }

    .cg-hero__inner {
        z-index: 2;
    }

    .cg-bundles,
    .cg-horses,
    .cg-why,
    .cg-faq {
        padding: 60px 0;
    }

    .cg-bundles {
        background-size: 100% 100%, 420px auto;
    }

    .cg-grid--3,
    .cg-grid--4,
    .cg-why__items {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .cg-toolbar,
    .cg-section-head__row {
        flex-direction: column;
        align-items: flex-start;
    }

    .cg-faq__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .cg-voucher__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .cg-wrap {
        --cg-gutter: 16px;
    }

    .cg-title,
    .cg-hero__heading {
        font-size: 28px;
    }

    .cg-hero__accent {
        font-size: 40px;
        white-space: normal;
    }

    .cg-hero__description,
    .cg-subtitle {
        font-size: 16px;
    }

    .cg-hero__feature {
        width: 100%;
        min-height: 0;
        border-radius: 32px;
    }

    .cg-section-head__icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
    }

    .cg-grid--3,
    .cg-grid--4,
    .cg-why__items {
        grid-template-columns: minmax(0, 1fr);
    }

    .cg-bundles {
        background-size: 100% 100%, 300px auto;
    }

    .cg-chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        width: 100%;
        gap: 10px;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .cg-chips::-webkit-scrollbar {
        display: none;
    }

    .cg-chip {
        flex: 0 0 auto;
        height: 44px;
        padding: 0 18px;
    }

    .cg-why__item-title {
        min-height: 0;
    }

    .cg-voucher__image {
        flex-basis: auto;
        width: 100%;
        height: auto;
        aspect-ratio: 385 / 250;
    }

    .cg-voucher__title {
        font-size: 26px;
        line-height: 1.2;
    }

    .cg-btn {
        width: 100%;
        padding: 16px 24px;
    }

    .cg-faq__question {
        padding: 22px 8px;
        font-size: 18px;
    }

    .cg-faq__answer {
        padding: 0 8px 22px;
    }

    .cg-faq__aside {
        padding: 24px;
        background-position: 70% center;
    }

    .cg-faq__aside-title,
    .cg-faq__aside-text {
        max-width: 60%;
    }
}

/* ------------------------------------------- Mobile card carousel ---- */
/* Bundles and horses: below 768px the card grid becomes a swipeable row
   (native scroll-snap, so the filters and sorting keep working as they are),
   bleeding to the screen edges with the next card peeking in. Dots are added
   by christmas-gift.js. */
.cg-dots {
    display: none;
}

@media (max-width: 767px) {
    /* Hero: anchored right, a phone only showed the rug — frame the horse's
       head instead and keep the overlay light enough for the horse to show. */
    .cg-hero__bg {
        object-position: 80% center;
    }

    .cg-hero::before {
        background: linear-gradient(180deg, rgba(21, 57, 110, .78) 0%, rgba(21, 57, 110, .5) 50%, rgba(21, 57, 110, .3) 100%);
    }

    .cg-grid[data-cg-grid] {
        display: flex;
        gap: 16px;
        margin: 0 calc(-1 * var(--cg-gutter));
        padding: 0 var(--cg-gutter) 4px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 var(--cg-gutter);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .cg-grid[data-cg-grid]::-webkit-scrollbar {
        display: none;
    }

    .cg-grid[data-cg-grid] > .cg-card {
        flex: 0 0 85%;
        max-width: 340px;
        scroll-snap-align: start;
    }

    .cg-dots {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
    }

    .cg-dots[hidden] {
        display: none;
    }

    .cg-dot {
        width: 10px;
        height: 10px;
        min-height: 0;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: rgba(22, 72, 109, .25);
        box-shadow: none;
        font-size: 0;
        line-height: 0;
        cursor: pointer;
        transition: background-color .2s, transform .2s;
    }

    .cg-dot:hover,
    .cg-dot:focus {
        background: rgba(22, 72, 109, .45);
    }

    .cg-dot.is-active {
        background: var(--cg-navy);
        transform: scale(1.2);
    }
}
