/* AD Plays Sports — extends Master Class look */

/* Title row: copy left, logo right (saves vertical space) */
.aps-title-block {
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.aps-hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 3vw, 2rem);
    max-width: min(980px, 100%);
    margin: 0 auto;
}

.aps-hero-main {
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
}

.aps-brand {
    flex: 0 0 auto;
    align-self: center;
}

.aps-logo {
    display: block;
    width: 160px;
    height: 210px;
    object-fit: contain;
    object-position: center;
}

.aps-schedule-actions {
    margin: 0 0 0.25rem;
    text-align: center;
}

.aps-schedule-link {
    text-decoration: none !important;
}

.aps-page .aps-ddl {
    max-width: 220px;
    margin: 0 auto;
    text-align: left;
}

.aps-player-count-cell {
    vertical-align: middle;
}

.aps-registration-closed {
    display: inline-block;
    padding: 0.35rem 0.65rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #b71c1c;
    background: #ffebee;
    border: 1px solid rgba(183, 28, 28, 0.25);
    border-radius: 8px;
    line-height: 1.3;
}

.aps-page .js-aps-register.aps-register-disabled,
.aps-page .js-aps-register:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

.aps-dyn-row {
    margin-top: 0.5rem;
}

@media (max-width: 640px) {
    .aps-hero {
        flex-direction: column;
        gap: 0.75rem;
    }

    .aps-logo {
        width: 120px;
        height: 158px;
    }

    .aps-title-block {
        margin-bottom: 1rem;
    }
}
