/* ============================================
   EVENTS & ANNOUNCEMENTS — Bridge Calvary Chapel
   ============================================ */

:root {
    --navy-deep: #06152F;
    --royal-blue: #0B5ED7;
    --electric-blue: #087BFF;
    --cyan: #18C8FF;
    --white: #FFFFFF;
    --pale-blue: #EAF4FF;
    --maroon: #800E24;
    --gold: #F4B942;
    --teal: #14B8A6;
    --border-blue: #B9E4FF;
    --text-navy: #06152F;
    --text-blue-gray: #49658A;
    --font: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--white); color: var(--text-navy); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* NAVBAR */
.navbar { position: sticky; top: 0; z-index: 1000; background: var(--navy-deep); border-bottom: 1px solid rgba(24,200,255,0.15); height: 78px; }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 20px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 44px; width: auto; background: var(--white); padding: 3px; border-radius: 5px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; color: var(--white); }
.logo-the { font-size: 8px; letter-spacing: 2.5px; opacity: 0.7; font-weight: 500; }
.logo-bridge { font-size: 15px; font-weight: 900; letter-spacing: 0.8px; }
.logo-calvary { font-size: 7px; font-weight: 600; letter-spacing: 2px; color: var(--cyan); margin-top: 2px; }
.nav-menu { display: flex; gap: 4px; flex: 1; justify-content: center; align-items: center; }
.nav-link { font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,0.75); padding: 8px 14px; position: relative; transition: color 0.2s; white-space: nowrap; }
.nav-link:hover { color: var(--white); }
.nav-link.active { color: var(--cyan); font-weight: 600; }
.nav-link.active::after { content: ''; position: absolute; bottom: 0; left: 14px; right: 14px; height: 2px; background: var(--cyan); border-radius: 2px; box-shadow: 0 0 12px var(--cyan); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-search-icon { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.75); font-size: 15px; border-radius: 50%; transition: all 0.2s; }
.nav-search-icon:hover { background: rgba(24,200,255,0.12); color: var(--cyan); }
.btn-give { display: inline-flex; align-items: center; gap: 7px; padding: 10px 24px; background: linear-gradient(120deg, var(--royal-blue), var(--electric-blue)); color: var(--white); font-size: 14px; font-weight: 600; border-radius: 50px; box-shadow: 0 4px 18px rgba(11,94,215,0.5); transition: all 0.3s; white-space: nowrap; }
.btn-give:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(24,200,255,0.6); }
.btn-give i { color: #FF6B9D; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--white); font-size: 18px; border-radius: 6px; }

/* HERO */
.events-hero { position: relative; min-height: 280px; background: var(--navy-deep); overflow: hidden; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,21,47,0.96) 0%, rgba(6,21,47,0.85) 45%, rgba(6,21,47,0.4) 75%, rgba(6,21,47,0.15) 100%); z-index: 2; }
.events-hero .container { position: relative; z-index: 3; width: 100%; }
.hero-content { max-width: 680px; padding: 30px 0; }
.hero-eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: 2.5px; color: var(--cyan); text-transform: uppercase; margin-bottom: 8px; }
.hero-title { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; line-height: 1.1; margin-bottom: 12px; letter-spacing: -0.02em; color: var(--white); }
.hero-title .accent { color: var(--cyan); }
.hero-desc { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.85); margin-bottom: 20px; max-width: 560px; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-hero { display: inline-flex; align-items: center; gap: 9px; padding: 12px 26px; font-size: 14px; font-weight: 600; border-radius: 50px; cursor: pointer; transition: all 0.3s; white-space: nowrap; min-height: 44px; }
.btn-hero-primary { background: linear-gradient(120deg, var(--royal-blue), var(--electric-blue)); color: var(--white); box-shadow: 0 6px 22px rgba(11,94,215,0.5); }
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(24,200,255,0.7); }
.btn-hero-outline { background: rgba(255,255,255,0.08); border: 1.5px solid rgba(255,255,255,0.4); color: var(--white); }
.btn-hero-outline:hover { border-color: var(--cyan); background: rgba(24,200,255,0.12); transform: translateY(-2px); }
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; z-index: 4; line-height: 0; }
.hero-wave svg { width: 100%; height: 40px; display: block; }

/* SECTION HEADERS */
.section-wrap { padding: 50px 0; }
.section-wrap.white { background: var(--white); }
.section-wrap.pale { background: var(--pale-blue); }
.section-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }
.section-header-left { display: flex; align-items: center; gap: 14px; }
.section-icon { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--royal-blue), var(--electric-blue)); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 18px; flex-shrink: 0; box-shadow: 0 4px 16px rgba(11,94,215,0.45); }
.section-label { font-size: 11px; font-weight: 700; letter-spacing: 1.8px; color: var(--royal-blue); text-transform: uppercase; display: block; }
.section-title { font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 800; color: var(--text-navy); letter-spacing: -0.02em; }
.section-desc { font-size: 13.5px; color: var(--text-blue-gray); margin-top: 4px; }
.section-link { font-size: 13px; font-weight: 700; color: var(--royal-blue); display: inline-flex; align-items: center; gap: 6px; transition: all 0.2s; }
.section-link:hover { color: var(--electric-blue); transform: translateX(3px); }

/* EMPTY STATE */
.empty-state { text-align: center; padding: 40px 20px; color: var(--text-blue-gray); width: 100%; }
.empty-state i { font-size: 34px; color: var(--border-blue); margin-bottom: 12px; }
.empty-state h3 { font-size: 16px; font-weight: 700; color: var(--text-navy); margin-bottom: 6px; }
.empty-state p { font-size: 13px; }

/* CARD SHELL */
@keyframes glowCyan   { 0%,100%{box-shadow:0 0 8px rgba(24,200,255,0.20);border-color:var(--cyan);}   50%{box-shadow:0 0 22px rgba(24,200,255,0.45);border-color:var(--cyan);} }
@keyframes glowMaroon { 0%,100%{box-shadow:0 0 8px rgba(128,14,36,0.20);border-color:var(--maroon);}  50%{box-shadow:0 0 22px rgba(128,14,36,0.45);border-color:var(--maroon);} }
@keyframes glowGold   { 0%,100%{box-shadow:0 0 8px rgba(244,185,66,0.20);border-color:var(--gold);}   50%{box-shadow:0 0 22px rgba(244,185,66,0.45);border-color:var(--gold);} }

.program-card,
.event-card,
.devotion-card,
.announcement-card {
    background: var(--white);
    border: 2px solid var(--border-blue);
    border-radius: 14px;
    padding: 18px 16px;
    transition: all 0.35s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    text-align: center;
    box-shadow: 0 4px 12px rgba(6,21,47,0.04);
    position: relative;
    min-height: 340px;
    overflow: hidden;
    height: 100%;
}
.program-card:hover,
.event-card:hover,
.devotion-card:hover,
.announcement-card:hover { transform: translateY(-4px); }

.program-card:nth-child(3n+1),
.event-card:nth-child(3n+1),
.devotion-card:nth-child(3n+1),
.announcement-card:nth-child(3n+1) { animation: glowCyan   3.5s infinite; }
.program-card:nth-child(3n+2),
.event-card:nth-child(3n+2),
.devotion-card:nth-child(3n+2),
.announcement-card:nth-child(3n+2) { animation: glowMaroon 3.5s infinite; }
.program-card:nth-child(3n),
.event-card:nth-child(3n),
.devotion-card:nth-child(3n),
.announcement-card:nth-child(3n)   { animation: glowGold   3.5s infinite; }

/* ---------- IMPROVED PROGRAM CARD ---------- */
.program-card { padding: 20px 18px 18px; text-align: left; }
.program-status {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--royal-blue);
    color: var(--white);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 50px;
    z-index: 2;
}
.program-status.upcoming { background: var(--gold); color: var(--text-navy); }
.program-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--royal-blue), var(--electric-blue));
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    margin-bottom: 14px;
    box-shadow: 0 6px 18px rgba(11,94,215,0.35);
}
.program-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-navy);
    margin-bottom: 10px;
    line-height: 1.3;
    text-align: left;
}
.program-divider {
    height: 2px;
    background: linear-gradient(90deg, var(--royal-blue), transparent);
    margin-bottom: 12px;
    border-radius: 2px;
}
.program-sched {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}
.program-sched .sched-line {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: var(--text-navy);
    font-weight: 600;
    line-height: 1.4;
}
.program-sched .sched-line i {
    color: var(--royal-blue);
    font-size: 11px;
    margin-top: 2px;
    flex-shrink: 0;
}
.program-loc {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: var(--maroon);
    font-weight: 700;
    margin-bottom: 12px;
    padding: 5px 10px;
    background: #FFF2F4;
    border-radius: 50px;
    align-self: flex-start;
}
.program-loc i { font-size: 10px; }
.program-desc {
    font-size: 12.5px;
    color: var(--text-blue-gray);
    line-height: 1.55;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
}
.btn-join {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    background: var(--royal-blue);
    color: var(--white);
    font-size: 12.5px;
    font-weight: 800;
    border-radius: 8px;
    width: 100%;
    transition: all 0.25s;
    margin-top: auto;
}
.btn-join:hover { background: var(--electric-blue); }

/* EVENT / DEVOTION / ANNOUNCEMENT card styles */
.event-image,
.devotion-image {
    width: calc(100% + 32px);
    margin: -18px -16px 10px -16px;
    height: 140px;
    overflow: hidden;
    background: var(--navy-deep);
    position: relative;
}
.event-image img,
.devotion-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s; display: block;
}
.event-card:hover .event-image img,
.devotion-card:hover .devotion-image img { transform: scale(1.05); }

.event-date-badge { position: absolute; top: 8px; left: 8px; background: var(--royal-blue); color: var(--white); padding: 4px 7px; border-radius: 6px; text-align: center; min-width: 34px; z-index: 2; }
.event-badge-month { display: block; font-size: 7px; font-weight: 700; letter-spacing: 0.5px; }
.event-badge-day   { display: block; font-size: 13px; font-weight: 800; line-height: 1; }
.event-cat-badge   { position: absolute; bottom: 8px; left: 8px; background: rgba(6,21,47,0.85); color: var(--cyan); padding: 2px 7px; border-radius: 50px; font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; z-index: 2; border: 1px solid rgba(24,200,255,0.4); }

.announcement-icon {
    width: 42px; height: 42px; margin: 0 auto 10px;
    border-radius: 50%; background: var(--pale-blue); color: var(--royal-blue);
    display: flex; align-items: center; justify-content: center; font-size: 17px;
}

.event-title,
.devotion-title,
.announcement-title {
    font-size: 14px; font-weight: 800; color: var(--text-navy);
    margin-bottom: 6px; line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    min-height: 36px;
}

.event-meta-block,
.devotion-meta,
.announcement-meta {
    font-size: 11px; color: var(--text-blue-gray);
    margin-bottom: 8px;
    display: flex; flex-direction: column; gap: 4px;
    align-items: center;
}
.event-loc,
.devotion-ref,
.announcement-date {
    display: inline-flex; align-items: center; justify-content: center; gap: 5px;
    color: var(--maroon); font-weight: 700; font-size: 11px;
}

.event-desc,
.devotion-intro,
.announcement-desc {
    font-size: 12px; color: var(--text-blue-gray); line-height: 1.5;
    margin-bottom: 12px; flex: 1;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.btn-event,
.btn-read-more,
.announcement-link {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 9px; background: var(--pale-blue); color: var(--royal-blue);
    font-size: 12px; font-weight: 700; border-radius: 8px;
    border: 1px solid var(--border-blue);
    width: 100%; transition: all 0.25s; margin-top: auto;
}
.event-card:hover .btn-event,
.devotion-card:hover .btn-read-more,
.announcement-card:hover .announcement-link {
    background: var(--royal-blue); color: var(--white);
}

.ann-cat-badge {
    display: inline-block; padding: 3px 8px; border-radius: 50px;
    font-size: 9px; font-weight: 700; color: var(--white);
    text-transform: uppercase; letter-spacing: 0.4px;
    background: var(--royal-blue); margin-left: 4px;
}

/* PROGRAMS — GRID (max 4) */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: stretch;
}

/* SCROLL ROW — natural horizontal scroll, NO arrows, NO visible scrollbar */
.scroll-row {
    position: relative;
    width: 100%;
}
.scroll-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 4px 18px;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}
.scroll-track:active { cursor: grabbing; }
.scroll-track::-webkit-scrollbar { display: none; height: 0; }
.scroll-track > .event-card,
.scroll-track > .devotion-card,
.scroll-track > .announcement-card {
    flex: 0 0 260px;
    width: 260px;
    scroll-snap-align: start;
}
.scroll-track > .empty-state {
    flex: 0 0 100%;
    width: 100%;
    padding: 40px 20px;
    text-align: center;
    border: none;
    min-height: auto;
    box-shadow: none;
    background: transparent;
    animation: none !important;
}

/* THIS WEEK — horizontal scroll row */
.week-track { display: flex; gap: 10px; }
.week-track > .week-card {
    flex: 0 0 130px;
    width: 130px;
    scroll-snap-align: start;
}

/* WEEKLY CARD */
.weekly-section { padding: 40px 0; background: var(--white); }
.week-card {
    background: var(--pale-blue);
    border: 1px solid var(--border-blue);
    border-radius: 10px;
    padding: 14px 12px;
    text-align: center;
    transition: all 0.25s;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.week-card:hover { transform: translateY(-2px); border-color: var(--electric-blue); box-shadow: 0 4px 12px rgba(11,94,215,0.1); }
.week-card.today { border-color: var(--electric-blue); background: #DCEBFF; box-shadow: 0 0 0 2px rgba(8,123,255,0.15); }
.week-day { font-size: 10px; font-weight: 800; color: var(--royal-blue); text-transform: uppercase; letter-spacing: 0.6px; }
.week-date { font-size: 22px; font-weight: 800; color: var(--gold); line-height: 1; margin: 4px 0 8px; }
.week-event { font-size: 10.5px; font-weight: 700; color: var(--text-navy); margin-bottom: 4px; line-height: 1.3; }
.week-time { font-size: 10px; color: var(--text-blue-gray); line-height: 1.2; }

/* MODAL */
.modal-overlay { position: fixed; inset: 0; background: rgba(6,21,47,0.85); backdrop-filter: blur(10px); z-index: 9998; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-panel { position: fixed; top: 50%; left: 50%; transform: translate(-50%,-45%) scale(0.94); width: calc(100% - 32px); max-width: 550px; max-height: 90vh; background: var(--white); border-radius: 20px; box-shadow: 0 30px 80px rgba(6,21,47,0.5); z-index: 9999; opacity: 0; visibility: hidden; overflow: hidden; transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1); border: 1px solid rgba(24,200,255,0.3); }
.modal-panel.active { opacity: 1; visibility: visible; transform: translate(-50%,-50%) scale(1); }
.modal-panel-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--royal-blue), var(--electric-blue)); color: var(--white); font-size: 15px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.25s; z-index: 5; border: none; box-shadow: 0 4px 14px rgba(11,94,215,0.5); }
.modal-panel-close:hover { transform: rotate(90deg) scale(1.1); }
.modal-panel-body { max-height: 90vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.modal-hero-image { width: 100%; height: 220px; object-fit: cover; display: block; }
.modal-content { padding: 28px 24px 24px; }
.modal-content h2 { font-size: 22px; font-weight: 800; color: var(--text-navy); margin-bottom: 10px; line-height: 1.25; text-align: center; }
.modal-content p { font-size: 14px; line-height: 1.7; color: var(--text-blue-gray); margin-bottom: 12px; }
.modal-icon-wrapper { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--royal-blue), var(--electric-blue)); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 26px; margin: 0 auto 16px; box-shadow: 0 8px 24px rgba(11,94,215,0.35); }
.modal-welcome { font-size: 14px; font-weight: 600; color: var(--royal-blue); text-align: center; margin-bottom: 16px; }
.modal-section-label { font-size: 11px; font-weight: 800; letter-spacing: 1.2px; color: var(--royal-blue); text-transform: uppercase; margin: 16px 0 8px; display: flex; align-items: center; gap: 6px; }
.detail-line { display: flex; align-items: center; gap: 8px; }
.detail-line i { color: var(--royal-blue); font-size: 12px; }
.verse-block { border-left: 3px solid var(--gold); background: #FFF8E6; padding: 12px 14px; margin: 8px 0 14px; border-radius: 6px; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 15px; line-height: 1.6; color: var(--text-navy); font-style: italic; }
.event-tag { display: inline-block; background: var(--pale-blue); color: var(--royal-blue); padding: 4px 10px; border-radius: 50px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.modal-actions { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.modal-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 16px; font-size: 12.5px; font-weight: 800; border-radius: 50px; cursor: pointer; transition: all 0.25s; border: none; flex: 1; min-width: 110px; }
.modal-btn-primary { background: var(--royal-blue); color: var(--white); }
.modal-btn-primary:hover { background: var(--electric-blue); }
.modal-btn-secondary { background: var(--pale-blue); color: var(--royal-blue); border: 1px solid var(--border-blue); }
.modal-btn-secondary:hover { background: var(--border-blue); }
.modal-btn-whatsapp { background: #25D366; color: var(--white); }
.modal-btn-facebook { background: #1877F2; color: var(--white); }

/* FOOTER */
.footer { background: var(--navy-deep); color: rgba(255,255,255,0.7); padding: 40px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 32px; margin-bottom: 26px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-logo-link { display: flex; align-items: center; gap: 10px; }
.footer-logo { height: 42px; width: auto; background: var(--white); border-radius: 5px; padding: 3px; }
.footer-logo-text { display: flex; flex-direction: column; line-height: 1; }
.footer-the { font-size: 8px; letter-spacing: 2.5px; opacity: 0.7; color: var(--white); font-weight: 500; }
.footer-bridge { font-size: 15px; font-weight: 900; letter-spacing: 0.8px; color: var(--white); }
.footer-calvary { font-size: 7px; font-weight: 600; letter-spacing: 2px; color: var(--cyan); margin-top: 2px; }
.footer-brand p { font-size: 11.5px; line-height: 1.55; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,0.06); border: 1px solid rgba(24,200,255,0.2); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); font-size: 12px; transition: all 0.25s; }
.footer-social a:hover { background: var(--cyan); border-color: var(--cyan); color: var(--navy-deep); transform: translateY(-2px); }
.footer-col h4 { color: var(--white); font-size: 12px; font-weight: 700; margin-bottom: 12px; }
.footer-col ul { display: flex; flex-direction: column; gap: 6px; }
.footer-col a { font-size: 11.5px; color: rgba(255,255,255,0.65); transition: all 0.2s; }
.footer-col a:hover { color: var(--cyan); padding-left: 3px; }
.footer-contact-item { display: flex; align-items: center; gap: 9px; font-size: 11.5px; padding: 4px 0; color: rgba(255,255,255,0.75); }
.footer-contact-item i { color: var(--cyan); font-size: 12px; width: 14px; }
.footer-newsletter-form { display: flex; gap: 4px; background: rgba(255,255,255,0.06); border: 1px solid rgba(24,200,255,0.2); border-radius: 50px; padding: 3px 3px 3px 12px; margin-top: 6px; }
.footer-newsletter-form input { flex: 1; background: transparent; border: none; color: var(--white); font-size: 11.5px; outline: none; min-width: 0; }
.footer-newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.footer-newsletter-form button { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--royal-blue), var(--electric-blue)); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 11px; flex-shrink: 0; transition: all 0.2s; }
.footer-newsletter-form button:hover { background: var(--cyan); color: var(--navy-deep); }
.footer-bottom { padding-top: 18px; border-top: 1px solid rgba(24,200,255,0.15); display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: rgba(255,255,255,0.5); flex-wrap: wrap; gap: 12px; }
.footer-bottom-links { display: flex; gap: 12px; align-items: center; }
.footer-bottom-links a:hover { color: var(--cyan); }

/* RESPONSIVE */
@media (max-width: 1200px) {
    .programs-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
    .container { padding: 0 20px; }
    .nav-menu { display: none; position: absolute; top: 78px; left: 0; right: 0; background: var(--navy-deep); flex-direction: column; padding: 20px; gap: 4px; border-top: 1px solid rgba(24,200,255,0.15); }
    .nav-menu.active { display: flex; }
    .nav-link { width: 100%; padding: 12px 14px; text-align: left; }
    .nav-link.active::after { display: none; }
    .nav-link.active { background: rgba(24,200,255,0.12); border-radius: 8px; }
    .nav-toggle { display: flex; }
    .programs-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .scroll-track > .event-card,
    .scroll-track > .devotion-card,
    .scroll-track > .announcement-card { flex: 0 0 240px; width: 240px; }
}
@media (max-width: 640px) {
    .programs-grid { grid-template-columns: 1fr; gap: 14px; }
    .hero-content { padding: 30px 0; }
    .hero-title { font-size: 1.8rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn-hero { width: 100%; justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 22px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .modal-content { padding: 20px 16px 18px; }
    .modal-content h2 { font-size: 19px; }
    .modal-hero-image { height: 180px; }
    .modal-panel { max-height: 92vh; }
    .modal-panel-body { max-height: 92vh; }
    .scroll-track > .event-card,
    .scroll-track > .devotion-card,
    .scroll-track > .announcement-card { flex: 0 0 220px; width: 220px; }
    .week-track > .week-card { flex: 0 0 120px; width: 120px; }
}
@media (max-width: 420px) {
    .modal-actions { flex-direction: column; }
    .modal-btn { width: 100%; }
    .scroll-track > .event-card,
    .scroll-track > .devotion-card,
    .scroll-track > .announcement-card { flex: 0 0 200px; width: 200px; }
    .week-track > .week-card { flex: 0 0 110px; width: 110px; }
}
/* ============================================
   ANNOUNCEMENT CARDS — PERFECT SQUARE
   ============================================ */
.announcement-card {
    aspect-ratio: 1 / 1;         /* Forces a perfect square */
    min-height: 0;               /* Overrides any old fixed height */
    display: flex;
    flex-direction: column;
    padding: 14px;
    text-align: left;
    border-radius: 12px;
}

/* Smaller text so it fits inside the square */
.announcement-icon {
    width: 34px;
    height: 34px;
    font-size: 14px;
    margin-bottom: 8px;
}

.announcement-title {
    font-size: 13px;
    line-height: 1.3;
    margin-bottom: 4px;
    min-height: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.announcement-meta {
    font-size: 10px;
    margin-bottom: 6px;
    flex-direction: row;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}

.announcement-desc {
    font-size: 11px;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.announcement-link {
    padding: 8px;
    font-size: 11px;
}

/* Responsive sizing for square cards */
@media (max-width: 768px) {
    .scroll-track > .announcement-card {
        flex: 0 0 200px;
        width: 200px;
        height: 200px;
        aspect-ratio: 1 / 1;
    }
}
@media (max-width: 480px) {
    .scroll-track > .announcement-card {
        flex: 0 0 180px;
        width: 180px;
        height: 180px;
        aspect-ratio: 1 / 1;
    }
}