/* Greyhound-specific treatment layered on the shared bookmaker landing system. */
.greyhound-code-section {
    padding-top: 24px;
}

.greyhound-code-section .code-panel-home pre {
    height: 560px;
}

.greyhound-bookmaker-cluster {
    padding: clamp(56px, 7vw, 80px) 0;
    border-top: 1px solid var(--glass-border-muted);
    border-bottom: 1px solid var(--glass-border-muted);
    background: var(--glass-bg-soft);
}

.greyhound-bookmaker-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(48px, 7vw, 88px);
    align-items: center;
}

.greyhound-bookmaker-copy {
    display: grid;
    gap: 12px;
}

.greyhound-bookmaker-copy h2 {
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1.08;
}

.greyhound-bookmaker-copy p {
    max-width: 48ch;
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.greyhound-bookmaker-copy a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 8px;
    justify-self: start;
    color: var(--accent);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--glass-border);
    text-underline-offset: 5px;
}

.greyhound-bookmaker-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px 20px;
    margin: 0;
    padding: 28px 0;
    border-top: 1px solid var(--glass-border-muted);
    border-bottom: 1px solid var(--glass-border-muted);
    list-style: none;
}

.greyhound-bookmaker-item {
    display: flex;
    min-width: 0;
    gap: 10px;
    align-items: center;
}

.greyhound-bookmaker-logo,
.greyhound-bookmaker-logo img {
    width: 48px;
    height: 48px;
}

.greyhound-bookmaker-logo {
    display: grid;
    flex: 0 0 48px;
    place-items: center;
}

.greyhound-bookmaker-logo img {
    display: block;
    border-radius: 8px;
    object-fit: contain;
}

.greyhound-bookmaker-item strong {
    min-width: 0;
    overflow: hidden;
    font-size: 0.9rem;
    text-overflow: ellipsis;
}

.greyhound-bookmaker-item.is-missing-logo .greyhound-bookmaker-logo {
    display: none;
}

.greyhound-coverage {
    display: grid;
    grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(32px, 6vw, 72px);
    align-items: start;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border-muted);
}

.greyhound-coverage-head {
    display: grid;
    gap: 8px;
}

.greyhound-coverage-head h3,
.greyhound-coverage-head p {
    margin: 0;
}

.greyhound-coverage-head h3 {
    font-size: 1.3rem;
}

.greyhound-coverage-head p {
    max-width: 48ch;
    color: var(--muted);
    line-height: 1.65;
}

.greyhound-coverage-head code,
.greyhound-coverage-table code {
    color: var(--accent);
}

.greyhound-coverage-table-wrap {
    min-width: 0;
    overflow-x: auto;
}

.greyhound-coverage-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.greyhound-coverage-table th,
.greyhound-coverage-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--glass-border-muted);
}

.greyhound-coverage-table thead th {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.greyhound-coverage-table tbody th {
    color: var(--text);
    font-size: 0.92rem;
}

.greyhound-coverage-table tbody td {
    color: var(--muted);
    font-size: 0.9rem;
}

.greyhound-lifecycle-section {
    border-top: 1px solid var(--glass-border-muted);
    border-bottom: 1px solid var(--glass-border-muted);
    background: var(--glass-bg-soft);
}

.greyhound-lifecycle-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(48px, 7vw, 88px);
    align-items: start;
}

.greyhound-lifecycle-intro {
    display: grid;
    gap: 14px;
}

.greyhound-lifecycle-intro h2,
.greyhound-lifecycle-intro p {
    margin: 0;
}

.greyhound-lifecycle-intro h2 {
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1.08;
}

.greyhound-lifecycle-intro p {
    max-width: 48ch;
    color: var(--muted);
    line-height: 1.65;
}

.greyhound-lifecycle-intro a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 8px;
    justify-self: start;
    color: var(--accent);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--glass-border);
    text-underline-offset: 5px;
}

.greyhound-lifecycle-list {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--glass-border-muted);
    list-style: none;
}

.greyhound-lifecycle-list li {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
    padding: 22px 0;
    border-bottom: 1px solid var(--glass-border-muted);
}

.greyhound-lifecycle-number {
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.greyhound-lifecycle-list h3,
.greyhound-lifecycle-list p {
    margin: 0;
}

.greyhound-lifecycle-list h3 {
    font-size: 1.02rem;
}

.greyhound-lifecycle-list p {
    margin-top: 6px;
    color: var(--muted);
    line-height: 1.6;
}

.greyhound-lifecycle-list > li > code {
    color: var(--accent);
    font-size: 0.78rem;
}

.sportsbet-market-note code,
.sportsbet-quickstart-list code {
    color: var(--accent);
    font-size: 0.84em;
}

.sportsbet-quickstart-list code {
    overflow-wrap: anywhere;
}

/* Keep the final signup in the page flow instead of presenting it as another
   bordered bookmaker card. */
.sportsbet-final-section .sportsbet-final-grid {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

/* The shared mobile hero rule otherwise adds hero-only margin and padding
   back onto this instance. */
.sportsbet-final-section .hero-email-cta--final {
    width: min(100%, 520px);
    margin: 0;
    padding-top: 0;
    border-top: 0;
}

.sportsbet-final-section .hero-email-input,
.sportsbet-final-section .hero-email-submit {
    min-height: 52px;
}

@media (max-width: 900px) {
    .greyhound-bookmaker-layout,
    .greyhound-coverage,
    .greyhound-lifecycle-layout {
        grid-template-columns: 1fr;
    }

    .greyhound-coverage {
        gap: 24px;
    }
}

@media (max-width: 680px) {
    .sportsbet-hero-copy {
        width: 100%;
        min-width: 0;
        justify-items: stretch;
    }

    .sportsbet-hero-copy h1,
    .sportsbet-hero-intro,
    .sportsbet-hero-links,
    .sportsbet-hero-copy .hero-email-cta {
        width: 100%;
        max-width: 100%;
    }

    .greyhound-code-section .code-panel-home pre {
        height: 460px;
    }

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

    .greyhound-lifecycle-list li {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 12px;
    }

    .greyhound-lifecycle-list > li > code {
        grid-column: 2;
    }

    .sportsbet-final-section .sportsbet-final-grid {
        gap: 24px;
        padding: 26px 20px;
    }

    .sportsbet-final-section .hero-email-cta--final {
        width: 100%;
        margin: 0;
        padding-top: 0;
    }

    .sportsbet-final-section .hero-email-form {
        gap: 10px;
    }

    .sportsbet-final-section .hero-email-note {
        margin-top: 2px;
        line-height: 1.45;
    }
}
