/* =============================================================
   CLUB SUB-PAGES — Shared CSS
   Used by: chess-club, scrabble-club, painting-creative-arts-club,
            robotics-engineering-club, inter-class-quiz-debate-club,
            ballet-choreography-club
   ============================================================= */

/* ── HERO ── */
.club-hero {
    padding-block: clamp(3rem, 6vw, 5.5rem) clamp(2rem, 3vw, 3rem);
    background: var(--color-surface-soft);
    border-bottom: 3px solid var(--color-secondary);
}
.club-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}
.club-hero__text .section-eyebrow { margin-bottom: 0.6rem; }

.club-hero__title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3.4rem);
    color: var(--color-primary);
    text-transform: uppercase;
    line-height: 1.05;
    margin: 0 0 0.7rem;
}
.club-hero__rule {
    display: block; width: 50px; height: 4px;
    background: var(--color-secondary);
    border-radius: 2px;
    margin-bottom: 1.1rem;
}
.club-hero__lead {
    font-size: clamp(0.88rem, 1.4vw, 1rem);
    line-height: 1.9;
    color: var(--color-muted);
    margin-bottom: 1.1rem;
}
.club-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    color: var(--color-muted);
    flex-wrap: wrap;
}
.club-hero__breadcrumb a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}
.club-hero__breadcrumb a:hover { text-decoration: underline; }
.club-hero__breadcrumb [aria-current="page"] { color: var(--color-muted); font-weight: 400; }

.club-hero__img-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.club-hero__img-circle {
    width: clamp(220px, 30vw, 380px);
    height: clamp(220px, 30vw, 380px);
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--color-surface);
    box-shadow: 0 12px 40px rgba(11,36,117,0.16);
    position: relative;
    z-index: 1;
}
.club-hero__img-circle img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
}
.club-hero__deco {
    position: absolute;
    width: clamp(100px, 15vw, 160px);
    height: clamp(100px, 15vw, 160px);
    border-radius: 50%;
    top: -1.5rem; right: -1.5rem;
    z-index: 0;
    opacity: 0.12;
}
.club-hero__deco--chess    { background: var(--color-primary); }
.club-hero__deco--scrabble { background: #7b2fa6; }
.club-hero__deco--debate   { background: #0d7aa8; }
.club-hero__deco--painting { background: #e61f2a; }
.club-hero__deco--robotics { background: #1a7a3c; }
.club-hero__deco--ballet   { background: #d4730a; }

/* ── BODY ── */
.club-body {
    padding-block: var(--space-section);
    background: var(--color-surface);
}
.club-body__grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
}

/* Goals column */
.club-body__goals-header {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    margin-bottom: 1.5rem;
}
.club-body__goals-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: #fff;
}
.club-body__goals-icon--chess    { background: var(--color-primary); }
.club-body__goals-icon--scrabble { background: #7b2fa6; }
.club-body__goals-icon--debate   { background: #0d7aa8; }
.club-body__goals-icon--painting { background: #e61f2a; }
.club-body__goals-icon--robotics { background: #1a7a3c; }
.club-body__goals-icon--ballet   { background: #d4730a; }

.club-body__goals-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--color-primary);
    margin: 0 0 0.4rem;
    line-height: 1.3;
}
.club-body__goals-rule {
    display: block; width: 36px; height: 3px;
    background: var(--color-secondary);
    border-radius: 2px;
}

.club-body__list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.club-body__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: clamp(0.87rem, 1.3vw, 0.95rem);
    line-height: 1.8;
    color: var(--color-muted);
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--color-border);
}
.club-body__list li:last-child { border-bottom: none; padding-bottom: 0; }
.club-body__list svg { flex-shrink: 0; margin-top: 0.3rem; }

/* Closing statement (used on Scrabble, Ballet etc.) */
.club-body__closing {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 1rem 1.15rem;
    background: rgba(11,36,117,0.04);
    border-left: 4px solid var(--color-secondary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.club-body__closing svg { flex-shrink: 0; margin-top: 0.2rem; color: var(--color-secondary); }
.club-body__closing p {
    font-size: clamp(0.87rem, 1.3vw, 0.95rem);
    line-height: 1.75;
    color: var(--color-muted);
    font-style: italic;
    margin: 0;
}

/* Aside column */
.club-body__photo-wrap {
    position: relative;
    margin-bottom: 1.25rem;
}
.club-body__photo {
    width: 100%;
    height: clamp(220px, 28vw, 320px);
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius-md);
    display: block;
    box-shadow: 0 8px 30px rgba(11,36,117,0.12);
}
.club-body__photo-badge {
    position: absolute;
    bottom: -16px; right: 16px;
    width: 48px; height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border: 2px solid #fff;
}
.club-body__photo-badge--chess    { background: var(--color-primary); }
.club-body__photo-badge--scrabble { background: #7b2fa6; }
.club-body__photo-badge--debate   { background: #0d7aa8; }
.club-body__photo-badge--painting { background: #e61f2a; }
.club-body__photo-badge--robotics { background: #1a7a3c; }
.club-body__photo-badge--ballet   { background: #d4730a; }

/* Enrol card */
.club-body__enrol {
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-top: 1.75rem;
}
.club-body__enrol-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    margin: 0 0 0.5rem;
    color: #fff;
}
.club-body__enrol-text {
    font-size: 0.87rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1rem;
}
.club-body__enrol-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    background: var(--color-secondary);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.87rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: background 0.22s ease, transform 0.22s ease;
}
.club-body__enrol-btn:hover { background: #c41523; transform: translateY(-2px); color: #fff; text-decoration: none; }

/* ── OTHER CLUBS NAV STRIP ── */
.club-nav-strip {
    padding-block: 1.25rem;
    background: var(--color-surface-soft);
    border-top: 1px solid var(--color-border);
}
.club-nav-strip .container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.club-nav-strip__label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--color-primary);
    flex-shrink: 0;
    white-space: nowrap;
    margin: 0;
    letter-spacing: 0.04em;
}
.club-nav-strip__list {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    list-style: none;
    padding: 0; margin: 0;
}
.club-nav-strip__list a {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    background: var(--color-surface);
    border: 1.5px solid var(--color-border);
    font-size: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease;
}
.club-nav-strip__list a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
    .club-hero__inner { grid-template-columns: 1fr; }
    .club-hero__img-wrap { justify-content: flex-start; }
    .club-body__grid { grid-template-columns: 1fr; }
    .club-body__aside { order: -1; }
    .club-body__photo { height: clamp(180px, 45vw, 260px); }
}
@media (prefers-reduced-motion: reduce) {
    .club-body__enrol-btn { transition: none !important; transform: none !important; }
}
