/* =========================
   MEMBERS PAGE LAYOUT
========================= */

.members-page {
    padding: var(--section-padding) 24px;
}

.members-page .container {
    max-width: var(--max);
    margin: 0 auto;
}

/* Header */
.section-head {
    text-align: center;
    margin-bottom: 50px;
}

.section-head h1 {
    font-size: clamp(28px, 3.2vw, 44px);
    color: var(--navy);
    margin-bottom: 10px;
}

.section-head p {
    color: var(--muted);
    font-size: 15px;
}

/* =========================
   GRID
========================= */

.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 26px;
}

/* =========================
   MEMBER CARD
========================= */

.member-card {
    background: linear-gradient(135deg, #fffdf8, #f6efe2);
    border: 1px solid rgba(13, 23, 41, 0.08);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: 0 18px 50px rgba(13, 23, 41, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.event-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 12px;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.member-card h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #0d1729;
}

.event-info {
    padding-top: 12px;
}

.event-info h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
}

.event-description {
    margin-bottom: 12px;
    color: #555;
    line-height: 1.5;
}

.event-meta {
    margin: 4px 0;
    font-size: 0.95rem;
    color: #444;
}

.member-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 70px rgba(13, 23, 41, 0.12);
    border-color: rgba(200, 164, 93, 0.35);
}

/* subtle gold glow on hover */
.member-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(200,164,93,.18), transparent 60%);
    opacity: 0;
    transition: 0.3s ease;
}

.member-card:hover::after {
    opacity: 1;
}

/* =========================
   LOGO
========================= */

.member-logo {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(13, 23, 41, 0.08);
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    overflow: hidden;
}

.member-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================
   TEXT
========================= */

.member-info h3 {
    font-size: 16px;
    color: var(--navy);
    margin-bottom: 8px;
}

.member-info p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}

/* =========================
   EMPTY STATE
========================= */

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    border: 1px dashed rgba(13, 23, 41, 0.2);
    border-radius: var(--radius);
    color: var(--muted);
}