/**
 * Robertstown Membership - Styles
 *
 * Robertstown GAA: Blue (#0033A0) and White
 */

:root {
    --rstown-blue: #0033A0;
    --rstown-blue-muted: #2551a2;
    --rstown-blue-light: #e8eef8;
    --rstown-blue-hover: #002a85;
}

/* Season heading */
.rstown-membership-season.rstown-membership-season {
    text-align: center !important;
    color: var(--rstown-blue) !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin: 0 0 1.5rem 0 !important;
    padding: 0 !important;
}

/* Grid layout */
.rstown-membership-grid.rstown-membership-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.25rem !important;
    max-width: 960px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Card */
.rstown-membership-card.rstown-membership-card {
    background: #ffffff !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #e5e7eb !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.rstown-membership-card.rstown-membership-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(0, 51, 160, 0.15) !important;
}

/* Card header */
.rstown-membership-card-header.rstown-membership-card-header {
    background: var(--rstown-blue-muted) !important;
    color: #ffffff !important;
    padding: 1rem 1.25rem !important;
    text-align: center !important;
    margin: 0 !important;
}

.rstown-membership-card-name.rstown-membership-card-name {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin: 0 0 0.5rem 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
}

.rstown-membership-card-price.rstown-membership-card-price {
    font-size: 2rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.1 !important;
}

/* Card body */
.rstown-membership-card-body.rstown-membership-card-body {
    padding: 1rem 1.25rem !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.rstown-membership-card-desc.rstown-membership-card-desc {
    font-size: 0.9rem !important;
    color: #4b5563 !important;
    margin: 0 0 0.75rem 0 !important;
    padding: 0 !important;
    line-height: 1.5 !important;
}

/* Meta badges */
.rstown-membership-card-meta.rstown-membership-card-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.4rem !important;
    margin-top: auto !important;
}

.rstown-membership-badge.rstown-membership-badge {
    display: inline-block !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    padding: 0.2rem 0.5rem !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    line-height: 1.3 !important;
}

.rstown-membership-badge--status.rstown-membership-badge--status {
    background: var(--rstown-blue-light) !important;
    color: var(--rstown-blue) !important;
}

.rstown-membership-badge--assoc.rstown-membership-badge--assoc {
    background: #f3f4f6 !important;
    color: #374151 !important;
}

/* Card footer */
.rstown-membership-card-footer.rstown-membership-card-footer {
    padding: 0 1.25rem 1.25rem !important;
    margin: 0 !important;
}

.rstown-membership-btn.rstown-membership-btn {
    display: block !important;
    width: 100% !important;
    padding: 0.65rem 1rem !important;
    background: var(--rstown-blue) !important;
    color: #ffffff !important;
    text-align: center !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    transition: background 0.2s ease !important;
    box-sizing: border-box !important;
    border: none !important;
}

.rstown-membership-btn.rstown-membership-btn:hover {
    background: var(--rstown-blue-hover) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Empty state */
.rstown-membership-empty.rstown-membership-empty {
    padding: 2rem !important;
    text-align: center !important;
    background: #f5f5f5 !important;
    border-radius: 8px !important;
    color: #666 !important;
}

/* Tablet: 2 columns */
@media (max-width: 768px) {
    .rstown-membership-grid.rstown-membership-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
}

/* Mobile: 1 column */
@media (max-width: 480px) {
    .rstown-membership-grid.rstown-membership-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .rstown-membership-card-price.rstown-membership-card-price {
        font-size: 1.75rem !important;
    }
}
