/* Matched betting uses the arbitrage page's actual hero, explainer and process
   components. Tool grids, the racing section and screenshot sizing are page-specific. */
.matched-landing { display: block; }
.matched-landing .hero-top { align-self: start; }
.matched-landing section[id], .matched-landing article[id] { scroll-margin-top: 88px; }
.matched-tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; }
.matched-tool-grid .arb-price-step__title { padding-left: 8px; }
.matched-tool-grid .arb-price-step__title > span { font-size: 1.15rem; }
.matched-tool-visual { display: grid; width: 100%; min-width: 0; min-height: 260px; align-items: center; justify-items: center; margin: 0; }
.matched-tool-visual img { display: block; width: 100%; height: auto; max-height: 280px; object-fit: contain; }
.matched-card-copy p, .matched-deposit-card p { margin: 0 0 16px; color: var(--ww-muted); font-size: 1rem; line-height: 1.6; }
.matched-card-copy p a { color: var(--ww-green-strong); text-decoration: underline; text-underline-offset: 3px; }
.matched-guide-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin-top: 28px; }
.matched-deposit .arb-price-step__card { display: block; min-height: 210px; }
.matched-deposit-card > strong { display: block; margin-bottom: 16px; color: var(--ww-text); font-size: 1.2rem; line-height: 1.4; }
.matched-landing .matched-faq .faq-holder { display: block; }
.matched-landing .matched-faq summary { min-height: 44px; list-style: none; cursor: pointer; }
.matched-landing .matched-faq summary::-webkit-details-marker { display: none; }
.matched-landing .matched-faq details[open] .answer { display: block; margin-top: 16px; }
.matched-landing .matched-faq details[open] summary i { transform: rotate(180deg); }
.matched-landing a:focus-visible, .matched-landing summary:focus-visible { outline: 2px solid var(--ww-green-strong); outline-offset: 4px; }
@media (max-width: 760px) {
    .matched-tool-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .matched-tool-grid .arb-price-step__card { min-height: 0; }
    .matched-tool-visual { min-height: 200px; }
    .matched-tool-visual img { max-height: 240px; }
    .matched-deposit .arb-price-step__card { min-height: 0; }
    .matched-guide-links { display: grid; gap: 4px; justify-items: center; }
}

.matched-software .matched-tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.matched-racing { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 64px; }
.matched-racing .arb-price-process__intro { justify-items: start; margin: 0 0 24px; text-align: left; }
.matched-racing .arb-price-process__intro h2 { font-size: clamp(3rem, 5.5vw, 5.5rem); }
.matched-racing-copy { min-width: 0; max-width: 600px; }
.matched-racing-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.matched-racing-phone { width: min(100%, 360px); margin: 0; justify-self: center; }
.matched-racing-phone img { display: block; width: 100%; height: auto; }
@media (max-width: 1000px) {
    .matched-software .matched-tool-grid { grid-template-columns: minmax(0, 1fr); }
    .matched-racing { gap: 32px; }
}
@media (max-width: 760px) {
    .matched-racing { grid-template-columns: minmax(0, 1fr); }
    .matched-racing-phone { width: min(100%, 320px); }
}

.matched-tool-example { align-content: center; justify-items: stretch; gap: 12px; }
.matched-tool-example figcaption { color: var(--ww-text); font-size: 1rem; font-weight: 700; }
.matched-example-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ww-line); color: var(--ww-text); font-size: 1rem; }
.matched-example-row small { color: var(--ww-muted); font-size: .875rem; }
.matched-example-row > strong { flex-shrink: 0; font-size: 1.25rem; }
.matched-example-result { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 8px; color: var(--ww-muted); font-size: .875rem; }
.matched-example-result strong { color: var(--ww-green-strong); font-size: 1.5rem; white-space: nowrap; }
.matched-example-offer { margin: 0; color: var(--ww-muted); font-size: 1rem; }
.matched-example-flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; padding: 20px 0; }
.matched-example-flow > div { display: grid; gap: 8px; }
.matched-example-flow span { color: var(--ww-muted); font-size: .875rem; }
.matched-example-flow strong { color: var(--ww-text); font-size: 2rem; line-height: 1.1; }
.matched-example-flow > i { color: var(--ww-green-strong); }
.matched-example-conditions { margin: 0; padding-top: 12px; border-top: 1px solid var(--ww-line); color: var(--ww-muted); font-size: .875rem; line-height: 1.5; }

.matched-landing .matched-section-actions { justify-content: center; gap: 16px; margin-top: 32px; }
.matched-section-actions .hero-button-stack { justify-items: center; }
.matched-racing-links { align-items: center; margin-top: 24px; }
.matched-racing-links > .hero-button-item { margin: 0; }
.matched-landing .matched-closing { padding-top: 48px; }
.matched-closing .arb-price-process__intro { margin-bottom: 0; }
.matched-landing .software-review-summary__count { font-size: .875rem; }
