.hub {
    box-sizing: border-box;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.hub-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: min(920px, 100%);
}

.hub-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 520px;
    overflow: hidden;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(11, 31, 51, 0.14);
    text-decoration: none;
    color: inherit;
}

a.hub-card:hover {
    text-decoration: none;
}

.hub-card-photo {
    display: block;
    width: 100%;
    height: 38%;
    min-height: 180px;
    max-width: none;
    object-fit: cover;
    background: #e8edf1;
}

.hub-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 20px 20px;
}

.hub-card-body h2 {
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 3px solid #fae600;
    text-align: left;
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: #000;
}

.hub-card-body p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.72);
}

.hub-card-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 14px 18px;
    border-radius: 12px;
    background: #fae600;
    color: #0b1f33;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.hub-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    display: inline-block;
    margin: 0;
    padding: 0.25em 0.55em;
    border-radius: 6px;
    background: #e5e7eb;
    color: #374151;
    font-size: 12px;
    font-weight: 700;
}

.hub-card.is-disabled {
    opacity: 1;
    pointer-events: none;
    user-select: none;
}

.hub-card.is-disabled .hub-card-action {
    background: #e5e7eb;
    color: #6b7280;
}

.ride-shell {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 12px 12px 32px;
}

.ride-shell #customRideForm {
    margin-top: 0;
}

@media (min-width: 768px) {
    .hub {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 32px 24px;
    }

    .hub-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .hub-card {
        min-height: 620px;
    }

    .hub-card-photo {
        height: 240px;
        min-height: 240px;
    }

    .ride-shell {
        padding: 20px 20px 48px;
    }
}

@media (min-width: 1100px) {
    .hub {
        padding: 40px 24px;
    }

    .hub-card-body {
        padding: 28px 28px 24px;
    }

    .hub-card-body h2 {
        font-size: 34px;
    }

    .hub-card-body p {
        font-size: 17px;
        max-width: 36rem;
    }
}
