/* ============================================================
   STAMFORD LIONS CLUB — Design System
   Lions International V4.0 Brand Compliance
   ============================================================ */

/* ---- CSS Custom Properties ---- */
:root {
    /* Lions International Brand Palette */
    --lions-blue: #00338D;
    --lions-blue-rgb: 0, 51, 141;
    --lions-blue-dark: #002266;
    --lions-blue-light: #1a4da0;
    --lions-gold: #EBB700;
    --lions-gold-rgb: 235, 183, 0;
    --lions-gold-hover: #D4A500;
    --lions-gold-light: #FFC933;
    --lions-purple: #7A2582;
    --lions-purple-rgb: 122, 37, 130;

    /* Neutral tones */
    --lions-dark: #0A0E27;
    --lions-dark-rgb: 10, 14, 39;
    --lions-gray-900: #1a1d2e;
    --lions-gray-700: #3d4055;
    --lions-gray-500: #6c6f82;
    --lions-gray-300: #b0b3c5;
    --lions-gray-100: #e8eaf0;
    --lions-light: #F4F6FB;
    --lions-white: #FFFFFF;

    /* Typography */
    --font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(var(--lions-dark-rgb), 0.06);
    --shadow-md: 0 4px 16px rgba(var(--lions-blue-rgb), 0.08);
    --shadow-lg: 0 8px 32px rgba(var(--lions-blue-rgb), 0.12);
    --shadow-xl: 0 16px 48px rgba(var(--lions-blue-rgb), 0.16);
    --shadow-glow-gold: 0 0 20px rgba(var(--lions-gold-rgb), 0.3);
    --shadow-glow-blue: 0 0 20px rgba(var(--lions-blue-rgb), 0.3);

    /* Spacing & Shape */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Global ---- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    color: var(--lions-gray-700);
    background: var(--lions-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--lions-dark);
    line-height: 1.3;
}

a {
    color: var(--lions-blue);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--lions-blue-dark);
}

img {
    max-width: 100%;
    height: auto;
}

.text-gold { color: var(--lions-gold) !important; }
.bg-light-custom { background: var(--lions-light) !important; }

/* ============================================================
   NAVBAR
   ============================================================ */
#mainNav {
    padding: 12px 0;
    transition: var(--transition);
    background: transparent;
    backdrop-filter: none;
    z-index: 1050;
}

#mainNav.scrolled {
    background: rgba(var(--lions-blue-rgb), 0.97);
    backdrop-filter: blur(12px);
    padding: 8px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

/* On non-home pages, solid background from start */
body:not(.page-home) #mainNav {
    background: rgba(var(--lions-blue-rgb), 0.97);
    backdrop-filter: blur(12px);
}

.navbar-logo {
    transition: var(--transition);
    background: #fff;
    border-radius: 50%;
    padding: 2px;
}

.brand-text {
    color: var(--lions-white);
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    position: relative;
    letter-spacing: 0.3px;
    transition: var(--transition);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--lions-gold);
    transform: translateX(-50%);
    transition: var(--transition);
    border-radius: 2px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--lions-white);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

.btn-donate {
    background: var(--lions-gold);
    color: var(--lions-dark) !important;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 50px;
    border: none;
    transition: var(--transition);
    letter-spacing: 0.3px;
    font-size: 0.9rem;
}

.btn-donate:hover,
.navbar-nav .nav-link.active.btn-donate,
.btn-donate.active {
    background: var(--lions-gold-hover) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow-gold);
    color: var(--lions-dark) !important;
}

/* Dropdown nav (About menu) */
.navbar-nav .dropdown-toggle::after {
    display: none;
}

@media (min-width: 992px) {
    .navbar-nav .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

.navbar-nav .dropdown-menu {
    background: var(--lions-blue-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 6px 0;
    min-width: 180px;
    box-shadow: var(--shadow-md);
}

.navbar-nav .dropdown-item {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    padding: 8px 18px;
    transition: var(--transition);
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.1);
    color: var(--lions-white);
}

.navbar-toggler {
    border: 2px solid rgba(255,255,255,0.5);
    padding: 4px 10px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================================
   HERO SECTION — Video Background
   ============================================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(var(--lions-dark-rgb), 0.6) 0%,
        rgba(var(--lions-blue-rgb), 0.7) 50%,
        rgba(var(--lions-dark-rgb), 0.8) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 0 60px;
}

.hero-emblem {
    margin-bottom: 24px;
    animation: heroFadeIn 1s ease 0.2s both;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.hero-title {
    color: var(--lions-white);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 16px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
    animation: heroFadeIn 1s ease 0.4s both;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto 32px;
    line-height: 1.6;
    animation: heroFadeIn 1s ease 0.6s both;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: heroFadeIn 1s ease 0.8s both;
}

.btn-hero-primary {
    background: var(--lions-gold);
    color: var(--lions-dark);
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    font-size: 1.05rem;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.btn-hero-primary:hover {
    background: var(--lions-gold-hover);
    color: var(--lions-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-gold);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--lions-white);
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.5);
    font-size: 1.05rem;
    transition: var(--transition);
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--lions-white);
    color: var(--lions-white);
    transform: translateY(-2px);
}

/* Stats Bar */
.stats-bar {
    position: relative;
    z-index: 2;
    background: rgba(var(--lions-blue-rgb), 0.9);
    backdrop-filter: blur(10px);
    border-top: 3px solid var(--lions-gold);
    padding: 0;
    margin-top: auto;
    width: 100%;
}

.stat-item {
    text-align: center;
    padding: 24px 16px;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-item:last-child { border-right: none; }

.stat-prefix,
.stat-suffix {
    color: var(--lions-gold);
    font-size: 1.6rem;
    font-weight: 700;
}

.stat-number {
    color: var(--lions-gold);
    font-size: 2.2rem;
    font-weight: 900;
    display: inline-block;
    text-shadow: 0 0 15px rgba(var(--lions-gold-rgb), 0.3);
}

.stat-label {
    display: block;
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
    font-weight: 400;
    margin-top: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255,255,255,0.6);
    font-size: 1.5rem;
    animation: bounceDown 2s infinite;
    transition: var(--transition);
}

.hero-scroll-indicator:hover {
    color: var(--lions-gold);
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ============================================================
   SECTIONS — Common
   ============================================================ */
.section-header {
    margin-bottom: 48px;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    letter-spacing: -0.3px;
}

.section-header .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--lions-gold);
    border-radius: 4px;
    margin: 16px auto 0;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--lions-gray-500);
    max-width: 600px;
    margin: 0 auto;
}

.section-causes,
.section-news {
    padding: 80px 0;
}

/* ============================================================
   CAUSE CARDS
   ============================================================ */
.cause-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--lions-white);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
}

.cause-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.cause-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.cause-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.cause-card:hover .cause-image {
    transform: scale(1.08);
}

.cause-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(var(--lions-blue-rgb), 0.7), transparent);
}

.cause-icon {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 2;
    filter: brightness(10);
    opacity: 0.9;
    transition: var(--transition);
}

.cause-card:hover .cause-icon {
    transform: scale(1.1);
    opacity: 1;
}

.cause-body {
    padding: 20px 24px 24px;
}

.cause-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--lions-blue);
    margin-bottom: 8px;
}

.cause-desc {
    font-size: 0.92rem;
    color: var(--lions-gray-500);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ============================================================
   WHY JOIN SECTION
   ============================================================ */
.section-why-join {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--lions-blue) 0%, var(--lions-blue-dark) 100%);
    position: relative;
}

.section-why-join::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.why-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.why-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-4px);
    border-color: rgba(var(--lions-gold-rgb), 0.3);
}

.why-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(var(--lions-gold-rgb), 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--lions-gold);
    transition: var(--transition);
}

.why-card:hover .why-icon-wrapper {
    background: var(--lions-gold);
    color: var(--lions-dark);
    box-shadow: var(--shadow-glow-gold);
}

.why-title {
    color: var(--lions-white);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.why-text {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.btn-join-cta {
    background: var(--lions-gold);
    color: var(--lions-dark);
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 50px;
    border: none;
    font-size: 1.05rem;
    transition: var(--transition);
}

.btn-join-cta:hover {
    background: var(--lions-gold-hover);
    color: var(--lions-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-gold);
}

/* ============================================================
   NEWS CARDS
   ============================================================ */
.news-card {
    background: var(--lions-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.news-image-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-no-image {
    background: linear-gradient(135deg, var(--lions-blue), var(--lions-blue-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-size: 3rem;
}

.news-body {
    padding: 20px 24px 70px;
}

.news-date {
    display: block;
    font-size: 0.82rem;
    color: var(--lions-gray-500);
    margin-bottom: 8px;
    font-weight: 500;
}

.news-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--lions-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-excerpt {
    font-size: 0.92rem;
    color: var(--lions-gray-500);
    line-height: 1.6;
    margin-bottom: 0;
}

.btn-outline-primary-custom {
    color: var(--lions-blue);
    border: 2px solid var(--lions-blue);
    border-radius: 50px;
    padding: 10px 28px;
    font-weight: 600;
    background: transparent;
    transition: var(--transition);
}

.btn-outline-primary-custom:hover {
    background: var(--lions-blue);
    color: var(--lions-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-blue);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.section-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--lions-gold) 0%, #E0A800 50%, var(--lions-gold) 100%);
    position: relative;
}

.cta-title {
    color: var(--lions-dark);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-subtitle {
    color: rgba(var(--lions-dark-rgb), 0.7);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: var(--lions-blue);
    color: var(--lions-white);
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    font-size: 1.05rem;
    transition: var(--transition);
}

.btn-cta-primary:hover {
    background: var(--lions-blue-dark);
    color: var(--lions-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-blue);
}

.btn-cta-secondary {
    background: var(--lions-dark);
    color: var(--lions-white);
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    font-size: 1.05rem;
    transition: var(--transition);
}

.btn-cta-secondary:hover {
    background: var(--lions-gray-900);
    color: var(--lions-white);
    transform: translateY(-2px);
}

/* ============================================================
   PAGE HEADERS (non-home pages)
   ============================================================ */
.page-header {
    background: linear-gradient(135deg, var(--lions-blue) 0%, var(--lions-blue-dark) 100%);
    padding: 120px 0 60px;
    text-align: center;
}

.page-header-title {
    color: var(--lions-white);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 8px;
}

.page-header-subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */
.content-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.content-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--lions-gold);
    border-radius: 3px;
}

.content-title.text-center::after,
.content-title.text-white::after {
    left: 50%;
    transform: translateX(-50%);
}

.content-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--lions-gray-700);
}

/* Meeting Info Card */
.meeting-info-card {
    background: var(--lions-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 2px solid var(--lions-gold);
}

.meeting-card-header {
    background: linear-gradient(135deg, var(--lions-blue), var(--lions-blue-dark));
    padding: 20px 24px;
    text-align: center;
    color: var(--lions-white);
}

.meeting-card-header i {
    font-size: 1.8rem;
    color: var(--lions-gold);
    display: block;
    margin-bottom: 8px;
}

.meeting-card-header h3 {
    color: var(--lions-white);
    font-size: 1.2rem;
    margin: 0;
}

.meeting-card-body {
    padding: 24px;
}

.meeting-detail {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--lions-gray-100);
}

.meeting-detail:last-child { border-bottom: none; }

.meeting-detail > i {
    color: var(--lions-blue);
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.meeting-detail strong {
    display: block;
    color: var(--lions-dark);
    font-size: 0.95rem;
}

.meeting-detail p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--lions-gray-500);
}

.meeting-card-footer {
    padding: 0 24px 24px;
}

/* About Image */
.about-image-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

/* Global Stats Section */
.section-global-stats {
    background: linear-gradient(135deg, var(--lions-blue) 0%, var(--lions-blue-dark) 100%);
}

.global-stat {
    padding: 20px;
}

.global-stat-number {
    display: inline-block;
    color: var(--lions-gold);
    font-size: 2.5rem;
    font-weight: 900;
}

.global-stat-suffix {
    color: var(--lions-gold);
    font-size: 1.5rem;
    font-weight: 700;
}

.global-stat-label {
    display: block;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    font-weight: 400;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================================
   CALENDAR
   ============================================================ */
.calendar-wrapper {
    background: var(--lions-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--lions-blue), var(--lions-blue-dark));
}

.calendar-month-title {
    color: var(--lions-white);
    font-size: 1.3rem;
    margin: 0;
}

.btn-cal-nav {
    background: rgba(255,255,255,0.15);
    color: var(--lions-white);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-cal-nav:hover {
    background: rgba(255,255,255,0.25);
    color: var(--lions-white);
}

.calendar-grid {
    padding: 16px;
}

.calendar-grid table {
    width: 100%;
    border-collapse: collapse;
}

.calendar-grid th {
    text-align: center;
    padding: 10px 4px;
    font-size: 0.8rem;
    color: var(--lions-gray-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calendar-grid td {
    text-align: center;
    padding: 6px 4px;
    vertical-align: top;
    cursor: pointer;
    transition: var(--transition-fast);
}

.calendar-grid td:hover {
    background: var(--lions-light);
    border-radius: var(--radius-sm);
}

.cal-day {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    min-width: 36px;
    min-height: 36px;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 4px;
}

.cal-day.today {
    background: var(--lions-blue);
    color: var(--lions-white);
    font-weight: 700;
}

.cal-day.has-events {
    position: relative;
    font-weight: 600;
}

.cal-day.has-events.type-meeting {
    background: rgba(var(--lions-blue-rgb), 0.15);
    box-shadow: inset 0 -3px 0 var(--lions-blue);
}

.cal-day.has-events.type-fundraiser {
    background: rgba(var(--lions-gold-rgb), 0.15);
    box-shadow: inset 0 -3px 0 var(--lions-gold);
}

.cal-day.has-events.type-community {
    background: rgba(var(--lions-purple-rgb), 0.15);
    box-shadow: inset 0 -3px 0 var(--lions-purple);
}

.cal-day.has-events.type-social {
    background: rgba(40, 167, 69, 0.15);
    box-shadow: inset 0 -3px 0 #28a745;
}

.cal-day.has-events.type-other {
    background: rgba(108, 111, 130, 0.15);
    box-shadow: inset 0 -3px 0 var(--lions-gray-500);
}

.cal-day.has-events.type-multi {
    background: rgba(var(--lions-blue-rgb), 0.1);
    box-shadow: inset 0 -3px 0 var(--lions-gold);
}

.cal-day.today.has-events {
    box-shadow: inset 0 -3px 0 var(--lions-gold);
}

.cal-day .event-dots {
    display: flex;
    gap: 3px;
    justify-content: center;
    margin-top: 2px;
}

.cal-day .event-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.event-dot.meeting { background: var(--lions-blue); }
.event-dot.fundraiser { background: var(--lions-gold); }
.event-dot.community { background: var(--lions-purple); }
.event-dot.social { background: #28a745; }
.event-dot.other { background: var(--lions-gray-500); }

.cal-day.other-month {
    color: var(--lions-gray-300);
}

.calendar-legend {
    display: flex;
    gap: 16px;
    justify-content: center;
    padding: 12px 16px;
    border-top: 1px solid var(--lions-gray-100);
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--lions-gray-500);
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.legend-dot.meeting { background: var(--lions-blue); }
.legend-dot.fundraiser { background: var(--lions-gold); }
.legend-dot.community { background: var(--lions-purple); }
.legend-dot.social { background: #28a745; }

/* Event Detail Panel */
.event-detail-panel {
    background: var(--lions-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    margin-top: 20px;
}

.event-detail-panel h4 {
    font-size: 1.1rem;
    color: var(--lions-blue);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--lions-gold);
}

.event-detail-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--lions-gray-100);
}

.event-detail-item:last-child { border-bottom: none; }

.event-detail-item h5 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.event-detail-item .event-meta {
    font-size: 0.85rem;
    color: var(--lions-gray-500);
}

/* Upcoming Events Sidebar */
.sidebar-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--lions-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--lions-gold);
}

.upcoming-events-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--lions-gold) var(--lions-gray-100);
}

.upcoming-events-list::-webkit-scrollbar {
    width: 6px;
}

.upcoming-events-list::-webkit-scrollbar-track {
    background: var(--lions-gray-100);
    border-radius: 3px;
}

.upcoming-events-list::-webkit-scrollbar-thumb {
    background: var(--lions-gold);
    border-radius: 3px;
}

.upcoming-events-list::-webkit-scrollbar-thumb:hover {
    background: var(--lions-gold-hover);
}

.upcoming-event-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px;
    border-radius: var(--radius);
    background: var(--lions-white);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--lions-gray-300);
    transition: var(--transition);
}

.upcoming-event-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.event-type-meeting { border-left-color: var(--lions-blue); }
.event-type-fundraiser { border-left-color: var(--lions-gold); }
.event-type-community { border-left-color: var(--lions-purple); }
.event-type-social { border-left-color: #28a745; }

.upcoming-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 48px;
    background: var(--lions-light);
    border-radius: var(--radius-sm);
    padding: 6px 8px;
}

.upcoming-month {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--lions-blue);
    letter-spacing: 0.5px;
}

.upcoming-day {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--lions-dark);
    line-height: 1;
}

.upcoming-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--lions-dark);
}

.upcoming-time,
.upcoming-location {
    font-size: 0.82rem;
    color: var(--lions-gray-500);
    margin-bottom: 0;
}

.upcoming-type-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.upcoming-ticket-link {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--lions-white);
    background: var(--lions-blue);
    padding: 2px 10px;
    border-radius: 50px;
    margin-top: 6px;
    margin-right: 6px;
    text-decoration: none;
    font-weight: 600;
}

.upcoming-ticket-link:hover {
    background: var(--lions-dark);
    color: var(--lions-white);
}

.upcoming-fb-link {
    display: inline-block;
    font-size: 0.75rem;
    color: #1877f2;
    margin-top: 6px;
    text-decoration: none;
    font-weight: 600;
}

.upcoming-fb-link:hover {
    color: #1565d8;
    text-decoration: underline;
}

.badge-meeting { background: rgba(var(--lions-blue-rgb),0.1); color: var(--lions-blue); }
.badge-fundraiser { background: rgba(var(--lions-gold-rgb),0.15); color: #b38f00; }
.badge-community { background: rgba(var(--lions-purple-rgb),0.1); color: var(--lions-purple); }
.badge-social { background: rgba(40,167,69,0.1); color: #28a745; }
.badge-other { background: var(--lions-gray-100); color: var(--lions-gray-500); }

.no-events-message {
    text-align: center;
    padding: 40px 20px;
    color: var(--lions-gray-500);
}

.no-events-message i { font-size: 2.5rem; margin-bottom: 12px; display: block; }

/* ============================================================
   FORMS
   ============================================================ */
.form-card {
    background: var(--lions-white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.form-subtitle {
    color: var(--lions-gray-500);
    margin-bottom: 28px;
    font-size: 1rem;
}

.form-control-custom {
    border: 2px solid var(--lions-gray-100);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control-custom:focus {
    border-color: var(--lions-blue);
    box-shadow: 0 0 0 3px rgba(var(--lions-blue-rgb), 0.1);
}

.form-label {
    font-weight: 500;
    color: var(--lions-dark);
    margin-bottom: 6px;
}

.required { color: #dc3545; }

.alert-danger-custom {
    background: #fef2f2;
    border: 1px solid #fee2e2;
    color: #dc3545;
    border-radius: var(--radius);
    padding: 14px 18px;
    margin-bottom: 20px;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 60px 40px;
    background: var(--lions-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 16px;
}

.success-message h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

/* ============================================================
   JOIN / CONTACT SIDEBAR CARDS
   ============================================================ */
.join-sidebar-card,
.contact-info-card,
.donate-info-card {
    background: var(--lions-white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-lg);
}

.join-sidebar-card h3,
.contact-info-card h3,
.donate-info-card h3 {
    font-size: 1.2rem;
    color: var(--lions-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--lions-gold);
}

/* "What to Expect" Steps */
.expect-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.expect-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--lions-blue);
    color: var(--lions-white);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.expect-step strong {
    display: block;
    color: var(--lions-dark);
    margin-bottom: 2px;
}

.expect-step p {
    font-size: 0.9rem;
    color: var(--lions-gray-500);
    margin: 0;
}

/* Contact Methods */
.contact-method {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid var(--lions-gray-100);
}

.contact-method:last-child { border-bottom: none; }

.contact-method-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(var(--lions-blue-rgb), 0.1);
    color: var(--lions-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.contact-method strong {
    display: block;
    color: var(--lions-dark);
    font-size: 0.95rem;
}

.contact-method p {
    font-size: 0.9rem;
    color: var(--lions-gray-500);
    margin: 0;
}

/* Quick Links Grid */
.quick-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.quick-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 12px;
    border-radius: var(--radius);
    background: var(--lions-light);
    color: var(--lions-blue);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
}

.quick-link-item i { font-size: 1.3rem; }

.quick-link-item:hover {
    background: var(--lions-blue);
    color: var(--lions-white);
    transform: translateY(-2px);
}

/* Donate Benefits */
.donate-benefits {
    list-style: none;
    padding: 0;
}

.donate-benefits li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--lions-gray-700);
    border-bottom: 1px solid var(--lions-gray-100);
}

.donate-benefits li:last-child { border-bottom: none; }

.donate-benefits li i {
    color: var(--lions-blue);
    font-size: 1rem;
    flex-shrink: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: linear-gradient(180deg, var(--lions-dark) 0%, #060919 100%);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

.footer-title {
    color: var(--lions-white);
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.footer-motto {
    color: var(--lions-gold);
    font-size: 1.3rem;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 12px;
}

.footer-text {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-heading {
    color: var(--lions-white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--lions-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li { margin-bottom: 8px; }

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--lions-gold);
    padding-left: 4px;
}

.footer-meeting-card {
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.08);
}

.footer-meeting-card p {
    margin-bottom: 6px;
    font-size: 0.88rem;
}

.footer-meeting-card i {
    color: var(--lions-gold);
}

.btn-facebook {
    background: #1877f2;
    color: var(--lions-white);
    border: none;
    border-radius: var(--radius);
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-block;
}

.btn-facebook:hover {
    background: #1565d8;
    color: var(--lions-white);
    transform: translateY(-1px);
}

.fb-page-widget {
    border-radius: var(--radius);
    overflow: hidden;
}

.footer-partners {
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-partners img {
    vertical-align: middle;
    opacity: 0.85;
    transition: var(--transition-fast);
}

.footer-partners img:hover {
    opacity: 1;
}

.footer-partner-text {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    font-style: italic;
    vertical-align: middle;
}

.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.85rem;
}

.footer-lions-link {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

.footer-lions-link:hover {
    color: var(--lions-gold);
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-block {
    padding: 40px 20px;
}

.error-code {
    font-size: 6rem;
    font-weight: 900;
    color: var(--lions-blue);
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.3;
}

.error-text {
    font-size: 1.1rem;
    color: var(--lions-gray-500);
    max-width: 400px;
    margin: 0 auto;
}

/* ============================================================
   ANIMATIONS — Scroll Reveal
   ============================================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(var(--lions-blue-rgb), 0.98);
        backdrop-filter: blur(12px);
        border-radius: var(--radius);
        padding: 16px;
        margin-top: 12px;
    }

    .navbar-nav .nav-link {
        padding: 12px 16px !important;
        margin-bottom: 4px;
    }

    .navbar-nav .nav-link::after {
        display: none; /* Hide underline on mobile */
    }

    .navbar-nav .nav-link.active {
        background: rgba(255, 255, 255, 0.1);
        border-radius: var(--radius-sm);
        color: var(--lions-gold);
    }

    .navbar-nav .dropdown-menu {
        display: block;
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 0 0 16px;
        float: none;
    }

    .navbar-nav .dropdown-item {
        padding: 10px 16px;
        border-radius: var(--radius-sm);
    }

    .btn-donate {
        margin-top: 10px;
        display: block;
        text-align: center;
    }

    .stat-number { font-size: 1.6rem; }
    .stat-label { font-size: 0.75rem; }

    .hero-video {
        /* On mobile, use poster image fallback */
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 85vh; /* Fix for mobile vertical cropping */
    }

    .hero-content {
        padding: 100px 0 40px;
    }

    .hero-emblem { width: 60px; height: 60px; }

    .stat-item {
        padding: 16px 8px;
    }

    .section-causes,
    .section-why-join,
    .section-news,
    .section-cta {
        padding: 50px 0;
    }

    .form-card {
        padding: 24px 20px;
    }

    .hero-scroll-indicator {
        bottom: 80px;
    }

    .calendar-legend {
        gap: 10px;
    }
}

@media (max-width: 575.98px) {
    .stat-number { font-size: 1.3rem; }
    .stat-prefix, .stat-suffix { font-size: 1.1rem; }
}

/* ============================================================
   COMMUNITY IMPACT PAGE
   ============================================================ */
.impact-stats-section {
    background: var(--lions-dark);
    padding: 48px 0;
    margin-top: -1px;
}

.impact-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
}

.impact-stat-card i {
    font-size: 2rem;
    color: var(--lions-gold);
    margin-bottom: 8px;
}

.impact-stat-number {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--lions-white);
    line-height: 1.1;
}

.impact-stat-prefix {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: var(--lions-gold);
}

.impact-stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.impact-stats-note {
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 24px;
    margin-bottom: 0;
}

.impact-filter-bar {
    background: var(--lions-white);
    padding: 20px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.impact-card {
    background: var(--lions-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-top: 3px solid var(--lions-gold);
}

.impact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.impact-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.impact-card-date {
    font-size: 0.82rem;
    color: var(--lions-gray-500);
}

.impact-cause-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(var(--lions-blue-rgb), 0.1);
    color: var(--lions-blue);
}

.impact-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--lions-dark);
    margin-bottom: 8px;
}

.impact-card-desc {
    font-size: 0.88rem;
    color: var(--lions-gray-500);
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 12px;
}

.impact-card-stats {
    display: flex;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--lions-gray-100);
    margin-top: auto;
}

.impact-card-stat {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--lions-blue-dark);
}

.impact-card-stat i {
    color: var(--lions-gold);
}

/* ============================================================
   MEMBERS ROSTER PAGE
   ============================================================ */
.member-card {
    background: var(--lions-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 28px 20px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.member-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.member-card-officer {
    border-top: 3px solid var(--lions-gold);
}

.member-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lions-blue), var(--lions-blue-dark));
    color: var(--lions-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 14px;
    flex-shrink: 0;
}

.member-card-officer .member-avatar {
    background: linear-gradient(135deg, var(--lions-gold), var(--lions-gold-hover));
    color: var(--lions-dark);
}

.member-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--lions-dark);
    margin-bottom: 4px;
}

.member-title {
    font-size: 0.82rem;
    color: var(--lions-blue);
    font-weight: 600;
    margin-bottom: 8px;
}

.member-years {
    font-size: 0.78rem;
    color: var(--lions-gray-500);
    display: flex;
    align-items: center;
    margin-top: 4px;
}

.member-years i {
    color: var(--lions-gold);
}

.member-years-new {
    color: var(--lions-blue);
    font-weight: 600;
}

.member-years-new i {
    color: var(--lions-blue);
}

.member-life-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 10px;
    border-radius: 20px;
    background: rgba(var(--lions-gold-rgb), 0.15);
    color: var(--lions-gold-hover);
    margin-top: 8px;
}

/* ============================================================
   PAST PRESIDENTS TIMELINE
   ============================================================ */
.presidents-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.presidents-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--lions-gray-100);
    transform: translateX(-50%);
}

.president-entry {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.president-entry.entry-left {
    justify-content: flex-start;
    padding-right: calc(50% + 32px);
}

.president-entry.entry-right {
    justify-content: flex-end;
    padding-left: calc(50% + 32px);
}

.president-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--lions-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 16px 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.president-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.entry-right .president-card {
    flex-direction: row-reverse;
    text-align: right;
}

.president-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.president-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.president-photo-placeholder {
    background: var(--lions-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.president-photo-placeholder i {
    font-size: 1.6rem;
    color: var(--lions-gray-300);
}

.president-info {
    flex: 1;
    min-width: 0;
}

.president-term {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--lions-gold-hover);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.president-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--lions-dark);
    margin: 2px 0 0;
}

.president-deceased {
    color: var(--lions-gray-300);
    font-weight: 400;
    margin-left: 2px;
}

.president-year-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--lions-gold);
    border: 3px solid var(--lions-white);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--lions-gold);
    z-index: 1;
}

.president-year-marker span {
    display: none;
}

/* Mobile: stack vertically */
@media (max-width: 767.98px) {
    .presidents-timeline::before {
        left: 16px;
    }

    .president-entry.entry-left,
    .president-entry.entry-right {
        padding-left: 48px;
        padding-right: 0;
        justify-content: flex-start;
    }

    .entry-right .president-card {
        flex-direction: row;
        text-align: left;
    }

    .president-year-marker {
        left: 16px;
    }

    .president-card {
        padding: 12px 14px;
    }

    .president-photo {
        width: 44px;
        height: 44px;
    }
}

/* ============================================================
   LIONESS PRESIDENTS TIMELINE
   ============================================================ */
.lioness-presidents-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.lioness-presidents-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--lions-gray-100);
    transform: translateX(-50%);
}

.lioness-entry {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.lioness-entry.entry-left {
    justify-content: flex-start;
    padding-right: calc(50% + 32px);
}

.lioness-entry.entry-right {
    justify-content: flex-end;
    padding-left: calc(50% + 32px);
}

.lioness-card {
    display: flex;
    align-items: center;
    background: var(--lions-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 14px 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.lioness-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.entry-right .lioness-card {
    text-align: right;
}

.lioness-info {
    flex: 1;
    min-width: 0;
}

.lioness-term {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--lions-gold-hover);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lioness-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--lions-dark);
    margin: 2px 0 0;
}

.lioness-year-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--lions-gold);
    border: 3px solid var(--lions-white);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--lions-gold);
    z-index: 1;
}

.lioness-year-marker span {
    display: none;
}

@media (max-width: 767.98px) {
    .lioness-presidents-timeline::before {
        left: 16px;
    }

    .lioness-entry.entry-left,
    .lioness-entry.entry-right {
        padding-left: 48px;
        padding-right: 0;
        justify-content: flex-start;
    }

    .entry-right .lioness-card {
        text-align: left;
    }

    .lioness-year-marker {
        left: 16px;
    }

    .lioness-card {
        padding: 12px 14px;
    }
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-section-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: var(--lions-white);
}

.gallery-section-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    color: inherit;
}

.gallery-section-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--lions-gray-100);
}

.gallery-section-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-section-card:hover .gallery-section-image img {
    transform: scale(1.05);
}

.gallery-section-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--lions-gray-300);
}

.gallery-photo-count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 0.78rem;
    padding: 3px 10px;
    border-radius: 50px;
}

.gallery-section-info {
    padding: 16px;
}

.gallery-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--lions-dark);
}

.gallery-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.gallery-tags-sm {
    margin-top: 4px;
}

.gallery-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 50px;
    background: rgba(var(--lions-blue-rgb), 0.1);
    color: var(--lions-blue);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Gallery Photo Grid (Section View) */
.gallery-photo-grid {
    columns: 3;
    column-gap: 16px;
}

.gallery-photo-item {
    break-inside: avoid;
    margin-bottom: 16px;
}

.gallery-photo-item a {
    display: block;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.gallery-photo-item img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-photo-item a:hover img {
    transform: scale(1.03);
}

.gallery-photo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.gallery-photo-overlay i {
    font-size: 2rem;
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.gallery-photo-item a:hover .gallery-photo-overlay {
    background: rgba(0,0,0,0.3);
}

.gallery-photo-item a:hover .gallery-photo-overlay i {
    opacity: 1;
}

.gallery-photo-caption {
    font-size: 0.85rem;
    color: var(--lions-gray-500, #6c6f82);
    margin: 6px 0 2px;
    line-height: 1.4;
}

@media (max-width: 991.98px) {
    .gallery-photo-grid { columns: 2; }
}

@media (max-width: 575.98px) {
    .gallery-photo-grid { columns: 1; }
    .gallery-section-image { height: 180px; }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-caption {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    margin-top: 12px;
    text-align: center;
    max-width: 600px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 2;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0.7;
    transition: opacity 0.2s, background 0.2s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 1;
    background: rgba(255,255,255,0.2);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

@media (max-width: 575.98px) {
    .lightbox-prev,
    .lightbox-next {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}

/* ============================================================
   ADMIN GALLERY
   ============================================================ */
.admin-photo-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 8px;
    text-align: center;
}

.admin-photo-thumb {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 8px;
}

.admin-photo-caption {
    font-size: 0.78rem;
    color: #6c757d;
    margin: 0 0 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    background: rgba(6, 9, 25, 0.97);
    backdrop-filter: blur(8px);
    padding: 20px;
    border-top: 2px solid var(--lions-gold);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}

.cookie-consent-inner {
    max-width: 900px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-consent-inner p {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    margin: 0;
    flex: 1;
    min-width: 280px;
}

.cookie-consent-inner a {
    color: var(--lions-gold);
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-cookie-accept {
    background: var(--lions-gold);
    color: var(--lions-dark);
    font-weight: 700;
    border: none;
    padding: 8px 20px;
    border-radius: var(--radius);
    font-size: 0.88rem;
    transition: var(--transition-fast);
}

.btn-cookie-accept:hover {
    background: var(--lions-gold-hover);
    color: var(--lions-dark);
}

.btn-cookie-essential {
    background: transparent;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.25);
    padding: 8px 20px;
    border-radius: var(--radius);
    font-size: 0.88rem;
    transition: var(--transition-fast);
}

.btn-cookie-essential:hover {
    border-color: rgba(255,255,255,0.5);
    color: var(--lions-white);
}

.fb-consent-placeholder {
    padding: 16px;
    text-align: center;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
}

.fb-consent-placeholder a {
    color: var(--lions-gold);
}

@media (max-width: 575.98px) {
    .cookie-consent-inner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-consent-actions {
        width: 100%;
        justify-content: center;
    }
}
