.bet-builder-editorial-page {
    background: #ffffff;
}

.bet-builder-editorial {
    --bbm-text: #282d33;
    --bbm-muted: #5e6266;
    --bbm-soft: #f7fafc;
    --bbm-border: #e3e9ef;
    --bbm-primary: #266c82;
    --bbm-primary-dark: #0d2a3a;
    --bbm-navy: #101c2e;
    --bbm-green: #00b073;
    --bbm-mint: #7be8b2;
    color: var(--bbm-text);
    background: #ffffff;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    overflow-x: clip;
}

.bet-builder-editorial,
.bet-builder-editorial * {
    box-sizing: border-box;
}

.bet-builder-editorial a {
    text-decoration: none;
}

.bet-builder-editorial__container {
    width: min(1080px, calc(100% - 2rem));
    margin-inline: auto;
}

.bet-builder-editorial__hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(105deg, rgba(13, 42, 58, 0.98) 0%, rgba(21, 68, 90, 0.96) 46%, rgba(38, 108, 130, 0.94) 100%),
        url("../images/bet-builder-matcher/hero-logo-background.svg") right center / cover no-repeat;
}

.bet-builder-editorial__hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
    gap: clamp(2rem, 6vw, 4.5rem);
    align-items: center;
    padding-block: clamp(3rem, 7vw, 5.75rem);
}

.bet-builder-editorial__hero-copy {
    max-width: 41rem;
}

.bet-builder-editorial__badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 0 0 1.25rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: var(--bbm-mint);
    color: #062b1f;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.bet-builder-editorial__hero-title {
    max-width: 10.5ch;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.8rem, 7vw, 4.9rem);
    font-weight: 800;
    line-height: 1;
}

.bet-builder-editorial__hero-title span,
.bet-builder-editorial__final-cta h2 span {
    background: linear-gradient(transparent 84%, rgba(123, 232, 178, 0.62) 84%);
}

.bet-builder-editorial__hero-text {
    max-width: 40rem;
    margin: 1.4rem 0 0;
    color: #c2d0da;
    font-size: clamp(1.05rem, 1.5vw, 1.22rem);
    font-weight: 300;
    line-height: 1.65;
}

.bet-builder-editorial__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.35rem;
    align-items: center;
    margin-top: 2rem;
}

.bet-builder-editorial__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.8rem 1.55rem;
    border-radius: 999px;
    font-weight: 800;
    line-height: 1.2;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.bet-builder-editorial__button:hover,
.bet-builder-editorial__button:focus-visible {
    transform: translateY(-1px);
}

.bet-builder-editorial__button--light {
    border: 2px solid #ffffff;
    background: #ffffff;
    color: var(--bbm-primary);
}

.bet-builder-editorial__button--light:hover,
.bet-builder-editorial__button--light:focus-visible {
    color: #18556a;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.bet-builder-editorial__button--primary {
    background: var(--bbm-primary);
    color: #ffffff;
}

.bet-builder-editorial__button--primary:hover,
.bet-builder-editorial__button--primary:focus-visible {
    color: #ffffff;
    background: #18556a;
    box-shadow: 0 12px 24px rgba(38, 108, 130, 0.25);
}

.bet-builder-editorial__text-link {
    color: var(--bbm-mint);
    font-weight: 800;
}

.bet-builder-editorial__text-link:hover,
.bet-builder-editorial__text-link:focus-visible {
    color: #a5f5ca;
}

.bet-builder-editorial__inline-link {
    color: var(--bbm-primary);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

.bet-builder-editorial__inline-link:hover,
.bet-builder-editorial__inline-link:focus-visible {
    color: #18556a;
}

.bet-builder-editorial__hero-media {
    justify-self: center;
    width: min(100%, 23rem);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 36px 80px rgba(0, 0, 0, 0.48);
}

.bet-builder-editorial__hero-media img,
.bet-builder-editorial__mobile-shot img {
    display: block;
    width: 100%;
    height: auto;
}

.bet-builder-editorial__workflow {
    background: linear-gradient(180deg, #eef4f6 0%, #f8fbfb 100%);
    padding-block: clamp(3rem, 7vw, 5.5rem);
    scroll-margin-top: 6rem;
}

.bet-builder-editorial__eyebrow {
    margin: 0 0 0.8rem;
    color: var(--bbm-primary);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bet-builder-editorial__section-title {
    max-width: 21ch;
    margin: 0 0 2.25rem;
    color: var(--bbm-text);
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
    font-weight: 800;
    line-height: 1.12;
}

.bet-builder-editorial__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2.4vw, 1.75rem);
}

.bet-builder-editorial__step,
.bet-builder-editorial__slip-demo,
.bet-builder-editorial__results-demo,
.bet-builder-editorial__offer-demo,
.bet-builder-editorial__boost-demo {
    border: 1px solid var(--bbm-border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(16, 28, 46, 0.1);
}

.bet-builder-editorial__step {
    padding: 1.65rem;
}

.bet-builder-editorial__step-icon {
    display: flex;
    gap: 0.7rem;
    align-items: center;
    margin-bottom: 1.15rem;
    color: var(--bbm-primary);
}

.bet-builder-editorial__step-icon span {
    display: inline-grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    background: var(--bbm-primary);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
}

.bet-builder-editorial__step-icon i {
    font-size: 1.35rem;
}

.bet-builder-editorial__step-icon--green,
.bet-builder-editorial__step-icon--green span {
    color: var(--bbm-green);
}

.bet-builder-editorial__step-icon--green span {
    background: var(--bbm-green);
    color: #ffffff;
}

.bet-builder-editorial__step-icon--dark,
.bet-builder-editorial__step-icon--dark span {
    color: var(--bbm-navy);
}

.bet-builder-editorial__step-icon--dark span {
    background: var(--bbm-navy);
    color: #ffffff;
}

.bet-builder-editorial__step h3 {
    margin: 0 0 0.55rem;
    color: var(--bbm-text);
    font-size: 1.1rem;
    font-weight: 800;
}

.bet-builder-editorial__step p {
    margin: 0;
    color: var(--bbm-muted);
    line-height: 1.6;
}

.bet-builder-editorial__mobile-shot {
    display: none;
}

.bet-builder-editorial__features {
    padding-block: clamp(3rem, 7vw, 5rem);
}

.bet-builder-editorial__feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.95fr);
    gap: clamp(2rem, 6vw, 4.5rem);
    align-items: center;
    min-width: 0;
}

.bet-builder-editorial__feature + .bet-builder-editorial__feature {
    margin-top: clamp(3.5rem, 8vw, 6.5rem);
}

.bet-builder-editorial__feature--reverse {
    grid-template-columns: minmax(18rem, 0.95fr) minmax(0, 1fr);
}

.bet-builder-editorial__feature--reverse .bet-builder-editorial__feature-copy {
    grid-column: 2;
}

.bet-builder-editorial__feature--reverse > :last-child {
    grid-column: 1;
    grid-row: 1;
}

.bet-builder-editorial__feature-copy h2 {
    max-width: 15ch;
    margin: 0 0 1rem;
    color: var(--bbm-text);
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.08;
}

.bet-builder-editorial__feature-copy p:not(.bet-builder-editorial__eyebrow) {
    max-width: 42rem;
    margin: 0;
    color: var(--bbm-muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.bet-builder-editorial__save-note {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    margin-top: 1rem !important;
    color: #0f7a52 !important;
    font-weight: 800;
}

.bet-builder-editorial__slip-demo,
.bet-builder-editorial__results-demo,
.bet-builder-editorial__offer-demo,
.bet-builder-editorial__boost-demo {
    width: min(100%, 28rem);
    min-width: 0;
    justify-self: center;
    padding: 1.4rem;
    background: var(--bbm-soft);
}

.bet-builder-editorial__copy-button {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    min-height: 2.8rem;
    border-radius: 8px;
    background: var(--bbm-navy);
    color: #ffffff;
    font-weight: 800;
}

.bet-builder-editorial__slip-demo > p {
    margin: 0.8rem 0;
    color: #7e8791;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
}

.bet-builder-editorial__mock-slip {
    overflow: hidden;
    border: 1px solid #dce2e8;
    border-radius: 8px;
    background: #ffffff;
}

.bet-builder-editorial__mock-slip-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0.9rem;
    background: #15202b;
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 800;
}

.bet-builder-editorial__mock-slip-header strong {
    color: var(--bbm-mint);
    font-size: 0.72rem;
    text-transform: uppercase;
}

.bet-builder-editorial__mock-slip ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bet-builder-editorial__mock-slip li {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid #eef2f6;
    color: var(--bbm-text);
    font-size: 0.84rem;
}

.bet-builder-editorial__mock-slip li i,
.bet-builder-editorial__offer-demo p i,
.bet-builder-editorial__boost-demo p i {
    color: var(--bbm-green);
}

.bet-builder-editorial__mock-slip-cta {
    margin: 0.85rem;
    padding: 0.7rem;
    border-radius: 8px;
    background: var(--bbm-green);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 800;
    text-align: center;
}

.bet-builder-editorial__results-head {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.bet-builder-editorial__results-head strong {
    color: var(--bbm-text);
    font-size: 0.88rem;
}

.bet-builder-editorial__segment {
    display: inline-flex;
    gap: 0.2rem;
    padding: 0.25rem;
    border-radius: 999px;
    background: #f1f4f7;
}

.bet-builder-editorial__segment button {
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--bbm-muted);
    font: inherit;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.45rem 0.9rem;
    cursor: pointer;
}

.bet-builder-editorial__segment button[aria-pressed="true"] {
    background: var(--bbm-primary);
    color: #ffffff;
}

.bet-builder-editorial__results-table {
    overflow: hidden;
    border: 1px solid var(--bbm-border);
    border-radius: 8px;
    background: #ffffff;
}

.bet-builder-editorial__results-table[hidden] {
    display: none;
}

.bet-builder-editorial__result-row {
    display: grid;
    grid-template-columns: minmax(7rem, 1.5fr) repeat(3, minmax(4.5rem, 1fr));
    border-top: 1px solid #eef2f6;
    color: var(--bbm-text);
    font-size: 0.8rem;
}

.bet-builder-editorial__result-row:first-child {
    border-top: 0;
}

.bet-builder-editorial__result-row span,
.bet-builder-editorial__result-row strong {
    padding: 0.7rem 0.75rem;
}

.bet-builder-editorial__result-row strong {
    font-weight: 800;
}

.bet-builder-editorial__result-row--header {
    background: #f7fafc;
    color: var(--bbm-muted);
    font-size: 0.72rem;
    font-weight: 800;
}

.bet-builder-editorial__result-row--profit span:first-child,
.bet-builder-editorial__result-row--profit strong:last-child {
    background: #eaf7f1;
}

.bet-builder-editorial__results-demo > p {
    margin: 0.85rem 0 0;
    color: var(--bbm-muted);
    font-size: 0.8rem;
    line-height: 1.5;
}

.bet-builder-editorial__offer-demo > span {
    display: inline-flex;
    margin-bottom: 1rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: #afdcc6;
    color: #0f3e28;
    font-size: 0.76rem;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.bet-builder-editorial__offer-demo label {
    display: block;
    margin: 0;
}

.bet-builder-editorial__offer-demo strong {
    display: block;
    margin-bottom: 0.4rem;
    color: #6b7280;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.bet-builder-editorial__offer-demo em {
    display: block;
    padding: 0.72rem 0.8rem;
    border: 1px solid var(--bbm-border);
    border-radius: 8px;
    background: #ffffff;
    color: var(--bbm-text);
    font-style: normal;
    font-weight: 700;
}

.bet-builder-editorial__offer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 0.9rem;
}

.bet-builder-editorial__offer-demo p,
.bet-builder-editorial__boost-demo p {
    display: flex;
    gap: 0.45rem;
    align-items: center;
    margin: 1rem 0 0;
    color: #0f7a52;
    font-size: 0.82rem;
    font-weight: 800;
}

.bet-builder-editorial__boost-demo {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    align-items: center;
}

.bet-builder-editorial__boost-demo strong {
    display: inline-flex;
    gap: 0.35rem;
    align-items: center;
    color: #a87800;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.bet-builder-editorial__boost-demo strong i {
    color: #e0a100;
}

.bet-builder-editorial__boost-demo span {
    padding: 0.55rem 1rem;
    border: 1px solid var(--bbm-border);
    border-radius: 8px;
    background: #ffffff;
    color: var(--bbm-primary);
    font-weight: 800;
}

.bet-builder-editorial__boost-demo .bet-builder-editorial__boost-demo-active {
    border-color: #60ba8d;
    background: #eaf7f1;
    color: #0f7a52;
}

.bet-builder-editorial__boost-demo p {
    flex-basis: 100%;
}

.bet-builder-editorial__internal-links {
    background: #f8fbfb;
    border-top: 1px solid #eceff2;
    padding-block: clamp(3rem, 7vw, 5rem);
}

.bet-builder-editorial__internal-links h2 {
    max-width: 18ch;
    margin: 0 0 1.5rem;
    color: var(--bbm-text);
    font-size: clamp(1.8rem, 3.2vw, 2.35rem);
    font-weight: 800;
    line-height: 1.12;
}

.bet-builder-editorial__link-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.bet-builder-editorial__link-card {
    display: block;
    min-height: 100%;
    padding: 1.15rem;
    border: 1px solid var(--bbm-border);
    border-radius: 8px;
    background: #ffffff;
    color: var(--bbm-text);
    box-shadow: 0 12px 28px rgba(16, 28, 46, 0.07);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.bet-builder-editorial__link-card:hover,
.bet-builder-editorial__link-card:focus-visible {
    color: var(--bbm-text);
    border-color: rgba(38, 108, 130, 0.35);
    box-shadow: 0 18px 34px rgba(16, 28, 46, 0.12);
    transform: translateY(-1px);
}

.bet-builder-editorial__link-card span {
    display: inline-flex;
    margin-bottom: 0.7rem;
    padding: 0.28rem 0.58rem;
    border-radius: 999px;
    background: #eef4f6;
    color: var(--bbm-primary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.bet-builder-editorial__link-card strong {
    display: block;
    color: var(--bbm-text);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
}

.bet-builder-editorial__link-card p {
    margin: 0.55rem 0 0;
    color: var(--bbm-muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

.bet-builder-editorial__final-cta {
    border-top: 1px solid #eceff2;
    padding-block: clamp(3.5rem, 8vw, 6rem);
    text-align: center;
    scroll-margin-top: 6rem;
}

.bet-builder-editorial__final-cta h2 {
    max-width: 20ch;
    margin: 0 auto 1rem;
    color: var(--bbm-text);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.05;
}

.bet-builder-editorial__final-cta p {
    max-width: 38rem;
    margin: 0 auto 1.8rem;
    color: var(--bbm-muted);
    font-size: 1.08rem;
    font-weight: 300;
    line-height: 1.6;
}

.bet-builder-editorial__final-cta .bet-builder-editorial__small-print {
    margin: 1rem 0 0;
    color: #949699;
    font-size: 0.88rem;
    font-weight: 500;
}

@media (max-width: 860px) {
    .bet-builder-editorial__hero-grid,
    .bet-builder-editorial__feature,
    .bet-builder-editorial__feature--reverse {
        grid-template-columns: 1fr;
    }

    .bet-builder-editorial__feature--reverse .bet-builder-editorial__feature-copy,
    .bet-builder-editorial__feature--reverse > :last-child {
        grid-column: auto;
        grid-row: auto;
    }

    .bet-builder-editorial__hero-media {
        display: none;
    }

    .bet-builder-editorial__steps {
        grid-template-columns: 1fr;
    }

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

    .bet-builder-editorial__mobile-shot {
        display: block;
        width: min(100%, 19rem);
        margin: 2rem auto 0;
        border: 1px solid var(--bbm-border);
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 24px 50px rgba(16, 28, 46, 0.18);
    }
}

@media (max-width: 620px) {
    .bet-builder-editorial__container {
        width: min(100% - 1.25rem, 1080px);
    }

    .bet-builder-editorial__hero-grid {
        padding-block: 2.4rem;
    }

    .bet-builder-editorial__hero-title {
        font-size: clamp(2.4rem, 13vw, 3.25rem);
    }

    .bet-builder-editorial__actions,
    .bet-builder-editorial__button {
        width: 100%;
    }

    .bet-builder-editorial__text-link {
        display: inline-flex;
        justify-content: center;
        width: 100%;
    }

    .bet-builder-editorial__step,
    .bet-builder-editorial__slip-demo,
    .bet-builder-editorial__results-demo,
    .bet-builder-editorial__offer-demo,
    .bet-builder-editorial__boost-demo {
        padding: 1rem;
    }

    .bet-builder-editorial__results-table {
        overflow: hidden;
    }

    .bet-builder-editorial__result-row {
        grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 0.72fr));
        min-width: 0;
        font-size: 0.68rem;
    }

    .bet-builder-editorial__result-row--header {
        font-size: 0.62rem;
    }

    .bet-builder-editorial__result-row span,
    .bet-builder-editorial__result-row strong {
        min-width: 0;
        overflow-wrap: anywhere;
        padding: 0.55rem 0.42rem;
    }

    .bet-builder-editorial__link-grid {
        grid-template-columns: 1fr;
    }

    .bet-builder-editorial__mock-slip-header,
    .bet-builder-editorial__mock-slip li {
        font-size: 0.78rem;
    }
}
