/* =========================================================
   VIC Indian Club — Main Stylesheet
   Official/institutional design system (UN blue, white) with
   Indian cultural accents (marigold, maroon motifs)
   ========================================================= */

/* ---------- 1. Custom Properties ---------- */
:root {
	--vic-primary: #418FDE;       /* UN Blue */
	--vic-primary-dark: #2C6CB0;
	--vic-secondary: #14274E;     /* Deep Official Navy */
	--vic-secondary-dark: #0B1830;
	--vic-accent: #E28A1F;        /* Marigold / Saffron — Indian accent */
	--vic-bg: #FFFFFF;            /* White */
	--vic-bg-alt: #F2F6FB;        /* Cool grey-blue tint */
	--vic-ink: #1C2B39;           /* Near-black navy text */
	--vic-ink-soft: #4A5B6B;
	--vic-border: #DCE3EA;
	--vic-white: #FFFFFF;
	--vic-success: #2E7D45;
	--vic-error: #B3261E;

	--vic-font-heading: 'Poppins', 'Segoe UI', sans-serif;
	--vic-font-body: 'Karla', 'Segoe UI', sans-serif;

	--vic-radius: 14px;
	--vic-radius-sm: 8px;
	--vic-shadow: 0 6px 24px rgba(20, 39, 78, 0.08);
	--vic-shadow-lg: 0 16px 48px rgba(20, 39, 78, 0.14);
	--vic-container: 1200px;
	--vic-gutter: 24px;
}

/* ---------- 2. Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--vic-bg);
	color: var(--vic-ink);
	font-family: var(--vic-font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--vic-secondary); text-decoration: none; transition: color .18s ease; }
a:hover, a:focus { color: var(--vic-primary); }
ul, ol { padding-left: 1.2em; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--vic-font-heading);
	color: var(--vic-secondary);
	line-height: 1.2;
	margin: 0 0 .5em;
	font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.2em; }
hr { border: none; border-top: 1px solid var(--vic-border); margin: 2em 0; }
blockquote {
	margin: 1.5em 0;
	padding: 1em 1.5em;
	border-left: 4px solid var(--vic-primary);
	background: var(--vic-bg-alt);
	border-radius: 0 var(--vic-radius-sm) var(--vic-radius-sm) 0;
	font-style: italic;
	color: var(--vic-ink-soft);
}
table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
table th, table td { padding: .6em .8em; border: 1px solid var(--vic-border); text-align: left; }
table th { background: var(--vic-bg-alt); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px,1px,1px,1px);
	white-space: nowrap;
}
.screen-reader-text:focus {
	position: fixed; top: 8px; left: 8px;
	width: auto; height: auto; z-index: 100000;
	background: var(--vic-white); color: var(--vic-secondary);
	padding: 12px 18px; border-radius: var(--vic-radius-sm);
	box-shadow: var(--vic-shadow-lg); clip: auto;
}

/* ---------- 3. Layout Helpers ---------- */
.vic-container {
	max-width: var(--vic-container);
	margin: 0 auto;
	padding: 0 var(--vic-gutter);
}
.vic-section { padding: 64px 0; }
.vic-section-alt { background: var(--vic-bg-alt); }
.vic-section-dark {
	background: var(--vic-accent);
	color: #EDE7DA;
}
.vic-section-dark h2, .vic-section-dark h3 { color: var(--vic-white); }
.vic-section-header { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.vic-eyebrow {
	display: inline-block;
	font-family: var(--vic-font-heading);
	font-weight: 600;
	font-size: .8rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--vic-primary);
	margin-bottom: 10px;
}
.vic-grid { display: grid; gap: 28px; }
.vic-grid-2 { grid-template-columns: repeat(2, 1fr); }
.vic-grid-3 { grid-template-columns: repeat(3, 1fr); }
.vic-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
	.vic-grid-3, .vic-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.vic-grid-2, .vic-grid-3, .vic-grid-4 { grid-template-columns: 1fr; }
}

/* Decorative motif divider (subtle scalloped/mandala-inspired) */
.vic-motif-divider {
	height: 14px;
	background-image: radial-gradient(circle, var(--vic-primary) 0 4px, transparent 5px);
	background-size: 24px 24px;
	background-position: center;
	opacity: .5;
	margin: 0 auto;
	max-width: 240px;
}

/* ---------- 4. Buttons & Forms ---------- */
.vic-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--vic-font-heading);
	font-weight: 600;
	font-size: .95rem;
	padding: 13px 28px;
	border-radius: 100px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.vic-btn-primary { background: var(--vic-primary); color: var(--vic-white); }
.vic-btn-primary:hover, .vic-btn-primary:focus { background: var(--vic-primary-dark); color: var(--vic-white); transform: translateY(-2px); box-shadow: var(--vic-shadow); }
.vic-btn-secondary { background: transparent; border-color: var(--vic-white); color: var(--vic-white); }
.vic-btn-secondary:hover { background: var(--vic-white); color: var(--vic-secondary); }
.vic-btn-outline { background: transparent; border-color: var(--vic-secondary); color: var(--vic-secondary); }
.vic-btn-outline:hover { background: var(--vic-secondary); color: var(--vic-white); }
.vic-btn-sm { padding: 8px 18px; font-size: .85rem; }

.vic-form-row { margin-bottom: 18px; }
.vic-form-row label { display: block; font-weight: 600; margin-bottom: 6px; font-family: var(--vic-font-heading); font-size: .92rem; color: var(--vic-secondary); }
.vic-form-row .req { color: var(--vic-error); }
.vic-contact-form input[type="text"],
.vic-contact-form input[type="email"],
.vic-contact-form input[type="url"],
.vic-contact-form textarea,
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="date"], textarea, select {
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid var(--vic-border);
	border-radius: var(--vic-radius-sm);
	font-family: var(--vic-font-body);
	font-size: 1rem;
	background: var(--vic-white);
	color: var(--vic-ink);
}
.vic-contact-form input:focus, .vic-contact-form textarea:focus {
	outline: none;
	border-color: var(--vic-primary);
	box-shadow: 0 0 0 3px rgba(226, 138, 31, .18);
}
.vic-form-honeypot { position: absolute; left: -9999px; top: -9999px; }

.vic-notice { padding: 14px 18px; border-radius: var(--vic-radius-sm); margin-bottom: 24px; font-weight: 600; }
.vic-notice-success { background: #E4F3E8; color: var(--vic-success); border: 1px solid #BFE3C8; }
.vic-notice-error { background: #FBE7E5; color: var(--vic-error); border: 1px solid #F3C3BE; }

/* ---------- 5. Site Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 500;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--vic-border);
}
.site-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px var(--vic-gutter);
	max-width: var(--vic-container);
	margin: 0 auto;
	gap: 24px;
}
.site-branding { display: flex; align-items: center; gap: 12px; }
.site-branding img { max-height: 56px; width: auto; }
.site-logo-link { display: inline-flex; }

.main-navigation { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-menu li { position: relative; }
.nav-menu a.nav-link {
	display: flex; align-items: center;
	padding: 10px 16px;
	font-family: var(--vic-font-heading);
	font-weight: 600;
	font-size: .96rem;
	color: var(--vic-ink);
	border-radius: 100px;
}
.nav-menu a.nav-link:hover, .nav-menu li.current-menu-item > a.nav-link {
	background: var(--vic-primary);
	color: var(--vic-white);
}
.nav-menu .sub-menu {
	display: none;
	position: absolute; top: 100%; left: 0;
	background: var(--vic-white);
	min-width: 220px;
	border-radius: var(--vic-radius-sm);
	box-shadow: var(--vic-shadow-lg);
	padding: 8px;
	list-style: none;
	z-index: 10;
}
.nav-menu li:hover > .sub-menu, .nav-menu li.vic-submenu-open > .sub-menu { display: block; }
.nav-menu .sub-menu a { border-radius: 6px; color: var(--vic-ink); }
.nav-menu .sub-menu a:hover { background: var(--vic-bg-alt); color: var(--vic-secondary); }

.header-cta { margin-left: 8px; }

/* --- Mobile menu toggle: animated hamburger, no colour block --- */
.menu-toggle {
	display: none;
	align-items: center; justify-content: center;
	background: transparent;
	border: none;
	border-radius: 50%;
	width: 44px; height: 44px;
	padding: 0;
	cursor: pointer;
	transition: background .15s ease;
}
.menu-toggle:hover, .menu-toggle:focus-visible { background: var(--vic-bg-alt); outline: none; }
.menu-toggle-icon { position: relative; width: 22px; height: 16px; display: block; }
.menu-toggle-icon span {
	position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px;
	background: var(--vic-secondary);
	transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.menu-toggle-icon span:nth-child(1) { top: 0; }
.menu-toggle-icon span:nth-child(2) { top: 7px; }
.menu-toggle-icon span:nth-child(3) { top: 14px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

@media (max-width: 960px) {
	.menu-toggle { display: inline-flex; }

	/* Drops down below the header, full width — not a side drawer. */
	.main-navigation {
		position: absolute; top: 100%; left: 0; right: 0;
		display: flex; flex-direction: column;
		background: var(--vic-white); box-shadow: var(--vic-shadow-lg);
		max-height: 0; overflow: hidden;
		transition: max-height .3s ease;
		z-index: 600;
	}
	.main-navigation.is-open { max-height: 80vh; overflow-y: auto; }

	.nav-menu { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 12px 0; }
	.nav-menu li { border-bottom: 1px solid var(--vic-border); }
	.nav-menu li:last-child { border-bottom: none; }
	.nav-menu a.nav-link {
		justify-content: space-between;
		padding: 15px 8px;
		border-radius: 0;
		font-size: 1.02rem;
	}
	.nav-menu a.nav-link:hover, .nav-menu li.current-menu-item > a.nav-link {
		background: transparent;
		color: var(--vic-primary);
	}
	.nav-menu li.menu-item-has-children > a.nav-link::after {
		content: "";
		width: 8px; height: 8px; flex: none; margin-left: 12px;
		border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
		transform: rotate(45deg);
		transition: transform .2s ease;
		opacity: .6;
	}
	.nav-menu li.vic-submenu-open > a.nav-link::after { transform: rotate(-135deg); }

	.nav-menu .sub-menu {
		position: static; box-shadow: none; display: block;
		max-height: 0; overflow: hidden; padding: 0 0 0 16px;
		transition: max-height .25s ease;
	}
	.nav-menu li.vic-submenu-open > .sub-menu { max-height: 400px; }
	.nav-menu .sub-menu a { padding: 12px 8px; font-weight: 500; font-size: .94rem; color: var(--vic-ink-soft); }
	.nav-menu .sub-menu a:hover { background: transparent; color: var(--vic-primary); }

	.header-cta { margin: 12px 12px 16px; padding-top: 16px; border-top: 1px solid var(--vic-border); }
	.header-cta .vic-btn { width: 100%; justify-content: center; }
}

/* ---------- 6. Hero Slideshow ---------- */
.vic-hero-slideshow {
	position: relative;
	color: var(--vic-white);
	overflow: hidden;
	min-height: 620px;
}
.vic-hero-slide {
	position: absolute; inset: 0;
	display: flex; align-items: center;
	background-size: cover; background-position: center;
	opacity: 0;
	transition: opacity 1.4s ease;
	will-change: opacity;
	z-index: 0;
}
.vic-hero-slide.is-active { opacity: 1; z-index: 1; }
.vic-hero-slide-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(135deg, rgba(20,39,78,.88) 0%, rgba(20,39,78,.55) 45%, rgba(226,138,31,.55) 100%);
}
.vic-hero-slide .vic-container { position: relative; z-index: 2; width: 100%; padding-top: 72px; padding-bottom: 72px; }
.vic-hero-inner { position: relative; z-index: 2; max-width: 680px; }
.vic-hero-slide h1 { color: var(--vic-white); margin-bottom: 18px; }
.vic-hero-slide p { font-size: 1.15rem; color: rgba(255,255,255,.9); max-width: 560px; }
.vic-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.vic-hero-badge {
	display: inline-flex; align-items: center; gap: 8px;
	background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
	padding: 6px 16px; border-radius: 100px; font-size: .85rem; margin-bottom: 20px;
	font-family: var(--vic-font-heading); font-weight: 600;
	letter-spacing: .04em; text-transform: uppercase;
}
.vic-hero-slide.is-active .vic-btn-primary { animation: vic-glow-pulse-btn 2.6s ease-out infinite; }

.vic-hero-dots {
	position: absolute; left: 0; right: 0; bottom: 76px; z-index: 4;
	display: flex; justify-content: center; gap: 10px;
}
.vic-hero-dot {
	width: 10px; height: 10px; border-radius: 50%;
	background: rgba(255,255,255,.45); border: none; padding: 0; cursor: pointer;
	transition: background .2s ease, transform .2s ease;
}
.vic-hero-dot:hover { background: rgba(255,255,255,.7); }
.vic-hero-dot.is-active { background: var(--vic-white); transform: scale(1.25); }

.vic-hero-slideshow .vic-diya-decor { z-index: 2; }

@media (max-width: 760px) {
	.vic-hero-slideshow { min-height: 520px; }
	.vic-hero-dots { bottom: 60px; }
}

/* Page header (non-front pages) */
.vic-page-header {
	background: linear-gradient(135deg, var(--vic-secondary), var(--vic-accent));
	color: var(--vic-white);
	padding: 56px 0 46px;
}
.vic-page-header h1 { color: var(--vic-white); margin-bottom: 6px; }
.vic-breadcrumbs { font-size: .85rem; margin-bottom: 12px; }
.vic-breadcrumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; gap: 6px; }
.vic-breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .6; }
.vic-breadcrumbs a { color: rgba(255,255,255,.85); }
.vic-page-header .vic-breadcrumbs a { color: rgba(255,255,255,.8); }
body:not(.is-front-page) .vic-breadcrumbs { color: var(--vic-ink-soft); }
body:not(.is-front-page) .vic-breadcrumbs a { color: var(--vic-ink-soft); }

/* ---------- 7. Cards ---------- */
.vic-card {
	background: var(--vic-white);
	border-radius: var(--vic-radius);
	overflow: hidden;
	box-shadow: var(--vic-shadow);
	transition: transform .2s ease, box-shadow .2s ease;
	display: flex; flex-direction: column;
	height: 100%;
}
.vic-card:hover { transform: translateY(-4px); box-shadow: var(--vic-shadow-lg); }
.vic-card-media { position: relative; aspect-ratio: 4/3; background: var(--vic-bg-alt); overflow: hidden; }
.vic-card-media img { width: 100%; height: 100%; object-fit: cover; }
.vic-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.vic-card-body h3 { margin-bottom: 8px; font-size: 1.15rem; }
.vic-card-body h3 a { color: var(--vic-secondary); }
.vic-card-meta { font-size: .85rem; color: var(--vic-ink-soft); margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 12px; }
.vic-card-excerpt { color: var(--vic-ink-soft); flex: 1; }
.vic-card-footer { margin-top: 14px; }

/* Event badge (day/month) */
.vic-event-badge {
	position: absolute; top: 14px; left: 14px;
	background: var(--vic-primary); color: var(--vic-white);
	border-radius: var(--vic-radius-sm);
	padding: 8px 12px; text-align: center;
	font-family: var(--vic-font-heading);
	box-shadow: var(--vic-shadow);
	line-height: 1.1;
}
.vic-event-badge-day { display: block; font-size: 1.3rem; font-weight: 800; }
.vic-event-badge-month { display: block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.vic-badge-past { background: var(--vic-ink-soft); }
.vic-tag {
	display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .04em;
	text-transform: uppercase; background: var(--vic-bg-alt); color: var(--vic-secondary);
	padding: 4px 10px; border-radius: 100px;
}

/* Committee cards */
.vic-committee-card { text-align: center; padding: 28px 20px; }
.vic-committee-photo {
	width: 140px; height: 140px; border-radius: 50%;
	overflow: hidden; margin: 0 auto 16px;
	border: 4px solid var(--vic-bg-alt);
}
.vic-committee-photo img { width: 100%; height: 100%; object-fit: cover; }
.vic-committee-role { color: var(--vic-primary); font-weight: 700; font-size: .9rem; margin-bottom: 10px; }

/* ---------- 8. Homepage Sections ---------- */
.vic-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 48px; text-align: center; }
.vic-stat-number { font-family: var(--vic-font-heading); font-size: 2.4rem; font-weight: 800; color: var(--vic-primary); }
.vic-stat-label { font-size: .9rem; color: var(--vic-ink-soft); text-transform: uppercase; letter-spacing: .06em; }

.vic-about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.vic-about-split img { border-radius: var(--vic-radius); box-shadow: var(--vic-shadow-lg); }
@media (max-width: 800px) { .vic-about-split { grid-template-columns: 1fr; } }

.vic-cta-band {
	background: var(--vic-primary);
	color: var(--vic-white);
	border-radius: var(--vic-radius);
	padding: 48px;
	text-align: center;
}
.vic-cta-band h2 { color: var(--vic-white); }
.vic-cta-band p { color: rgba(255,255,255,.92); max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- 9. Content / Single / Archive ---------- */
.vic-content-layout { display: grid; grid-template-columns: 1fr; gap: 48px; }
.vic-content-layout.has-sidebar { grid-template-columns: 2.2fr 1fr; }
@media (max-width: 860px) { .vic-content-layout.has-sidebar { grid-template-columns: 1fr; } }

.entry-header { margin-bottom: 24px; }
.entry-meta { font-size: .88rem; color: var(--vic-ink-soft); margin-bottom: 10px; }
.entry-meta span:not(:last-child)::after { content: "•"; margin: 0 8px; }
.entry-content h2, .entry-content h3 { margin-top: 1.4em; }
.entry-content ul, .entry-content ol { margin-bottom: 1.2em; }
.entry-content img { border-radius: var(--vic-radius-sm); }
.entry-thumbnail { margin-bottom: 28px; border-radius: var(--vic-radius); overflow: hidden; }
.entry-footer { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--vic-border); font-size: .9rem; }

.vic-event-meta-box {
	background: var(--vic-bg-alt);
	border-radius: var(--vic-radius);
	padding: 24px;
	margin-bottom: 28px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
@media (max-width: 700px) { .vic-event-meta-box { grid-template-columns: 1fr; } }
.vic-event-meta-item .label { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--vic-primary); font-weight: 700; display: block; margin-bottom: 4px; }
.vic-event-meta-item .value { font-weight: 600; color: var(--vic-secondary); }

.widget { margin-bottom: 40px; }
.widget-title { font-size: 1.05rem; border-bottom: 2px solid var(--vic-primary); padding-bottom: 8px; margin-bottom: 16px; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { padding: 8px 0; border-bottom: 1px solid var(--vic-border); }

.pagination, .vic-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span, .vic-pagination a, .vic-pagination span {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 40px; height: 40px; padding: 0 10px;
	border-radius: var(--vic-radius-sm); background: var(--vic-white);
	border: 1px solid var(--vic-border); font-weight: 600; color: var(--vic-ink);
}
.pagination .current, .vic-pagination .current { background: var(--vic-primary); color: var(--vic-white); border-color: var(--vic-primary); }

/* Comments */
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 32px; }
.comment-body { background: var(--vic-white); border-radius: var(--vic-radius-sm); padding: 18px; margin-bottom: 18px; box-shadow: var(--vic-shadow); }
.comment-author { font-weight: 700; color: var(--vic-secondary); }
.comment-metadata { font-size: .8rem; color: var(--vic-ink-soft); margin-bottom: 8px; }

/* ---------- 10. Downloads ---------- */
.vic-downloads-list { list-style: none; margin: 0; padding: 0; }
.vic-download-item {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	background: var(--vic-white); border-radius: var(--vic-radius-sm);
	padding: 16px 20px; margin-bottom: 12px; box-shadow: var(--vic-shadow);
	border-left: 4px solid var(--vic-primary);
}
.vic-download-item h4 { margin: 0 0 4px; font-size: 1rem; }
.vic-download-item .vic-download-cat { font-size: .78rem; color: var(--vic-ink-soft); }

/* ---------- 11. Footer ---------- */
.site-footer { background: var(--vic-secondary); color: #EFE3DD; padding-top: 56px; }
.site-footer a { color: #F6D9A8; }
.site-footer a:hover { color: var(--vic-white); }
.footer-widgets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.15); }
@media (max-width: 760px) { .footer-widgets { grid-template-columns: 1fr; } }
.footer-widgets .widget-title { color: var(--vic-white); border-bottom-color: rgba(255,255,255,.3); }
.footer-widgets .widget ul li { border-bottom-color: rgba(255,255,255,.12); }

.site-footer-bottom {
	display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
	padding: 24px 0; font-size: .85rem; color: rgba(239,227,221,.75);
}
.vic-social-links { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.vic-social-links a {
	display: flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; border-radius: 50%;
	background: rgba(255,255,255,.12); color: var(--vic-white);
}
.vic-social-links a:hover { background: var(--vic-primary); }
.vic-icon { width: 16px; height: 16px; display: inline-block; }

/* ---------- 12. 404 & Search ---------- */
.vic-404 { text-align: center; padding: 80px 0; }
.vic-404 .vic-404-code { font-family: var(--vic-font-heading); font-size: 6rem; font-weight: 800; color: var(--vic-primary); line-height: 1; }
.search-form { display: flex; gap: 10px; margin-top: 20px; }
.search-form input[type="search"] { flex: 1; }

/* ---------- 13. Utilities ---------- */
.vic-text-center { text-align: center; }
.vic-mt-0 { margin-top: 0; }
.vic-mb-0 { margin-bottom: 0; }
.alignwide { max-width: 1300px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }

/* =========================================================
   14. Indian Cultural Motifs & Animation
   Marigold garland, diya lamps, rangoli/mandala medallions,
   paisley accents, and gentle scroll-reveal motion.
   All motifs are self-animating SVGs (see assets/images/motif-*.svg)
   so they keep moving even when loaded as <img> or background-image.
   ========================================================= */

/* --- Marigold garland / toran strip (under the header, like a bunting) --- */
.vic-garland-strip {
	height: 34px;
	background-image: url('../images/motif-garland.svg');
	background-repeat: repeat-x;
	background-position: center top;
	background-size: 120px 60px;
	opacity: .95;
}

/* --- Diya (lamp) decorative accents --- */
.vic-diya-decor {
	position: absolute;
	width: 76px;
	height: auto;
	pointer-events: none;
	filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .25));
	z-index: 1;
}
.vic-diya-decor.is-left { left: 4%; bottom: 8%; }
.vic-diya-decor.is-right { right: 4%; bottom: 6%; width: 60px; }
@media (max-width: 760px) {
	.vic-diya-decor { display: none; }
}

/* --- Mandala / rangoli watermark (behind hero text) --- */
.vic-mandala-watermark {
	position: absolute;
	top: 50%; right: -80px;
	transform: translateY(-50%);
	width: 480px; height: 480px;
	opacity: .16;
	pointer-events: none;
	z-index: 0;
}
@media (max-width: 960px) {
	.vic-mandala-watermark { width: 320px; height: 320px; right: -100px; }
}

/* --- Rangoli medallion divider between sections --- */
.vic-rangoli-divider {
	position: relative;
	display: flex;
	justify-content: center;
	height: 0;
}
.vic-rangoli-divider img {
	width: 72px; height: 72px;
	margin-top: -36px;
	background: var(--vic-bg);
	border-radius: 50%;
	padding: 6px;
	box-shadow: var(--vic-shadow);
	position: relative;
	z-index: 5;
}
.vic-rangoli-divider.on-alt img { background: var(--vic-bg-alt); }

/* --- Paisley corner accent on cards (reveals on hover) --- */
.vic-card { position: relative; }
.vic-paisley-corner {
	position: absolute;
	bottom: 10px; right: 10px;
	width: 40px; height: 40px;
	opacity: 0;
	transform: scale(.6) rotate(-15deg);
	transition: opacity .3s ease, transform .3s ease;
	pointer-events: none;
	z-index: 2;
}
.vic-card:hover .vic-paisley-corner {
	opacity: .55;
	transform: scale(1) rotate(0deg);
}

/* --- Marigold ring around committee portraits (pure CSS, no image) --- */
.vic-committee-photo {
	position: relative;
	border: none;
	padding: 5px;
	background: conic-gradient(
		var(--vic-primary) 0deg 70deg, var(--vic-secondary) 70deg 90deg,
		var(--vic-primary) 90deg 160deg, var(--vic-secondary) 160deg 180deg,
		var(--vic-primary) 180deg 250deg, var(--vic-secondary) 250deg 270deg,
		var(--vic-primary) 270deg 340deg, var(--vic-secondary) 340deg 360deg
	);
}
.vic-committee-photo img { border-radius: 50%; border: 3px solid var(--vic-bg); }

/* --- Gentle glow-pulse on the primary hero CTA (like a lit lamp) --- */
@keyframes vic-glow-pulse-btn {
	0%, 100% { box-shadow: 0 0 0 0 rgba(226, 138, 31, .45); }
	50% { box-shadow: 0 0 0 10px rgba(226, 138, 31, 0); }
}
/* --- Scroll-reveal animation --- */
.vic-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .7s ease, transform .7s ease;
}
.vic-reveal.is-visible { opacity: 1; transform: translateY(0); }
.vic-reveal-stagger > * {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .6s ease, transform .6s ease;
}
.vic-reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.vic-reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .12s; }
.vic-reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .24s; }
.vic-reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .36s; }

/* --- Respect reduced-motion preference: turn off decorative motion --- */
@media (prefers-reduced-motion: reduce) {
	.vic-hero-slide .vic-btn-primary { animation: none; }
	.vic-hero-slide { transition: none; }
	.vic-reveal, .vic-reveal-stagger > * {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
	.vic-paisley-corner { transition: none; }
}

/* --- Hide all motifs when disabled from the Customizer --- */
body.vic-motifs-off .vic-garland-strip,
body.vic-motifs-off .vic-diya-decor,
body.vic-motifs-off .vic-mandala-watermark,
body.vic-motifs-off .vic-rangoli-divider,
body.vic-motifs-off .vic-paisley-corner {
	display: none !important;
}
body.vic-motifs-off .vic-committee-photo { background: var(--vic-bg-alt); padding: 4px; }
body.vic-motifs-off .vic-hero-slide .vic-btn-primary { animation: none; }

/* =========================================================
   15. Gallery, Membership Forms, Past-Committee Table,
   Updates (X) Cards & GDPR Cookie Banner
   ========================================================= */

/* -- Join Us / membership form helpers -- */
.vic-form-row-group { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.vic-form-row-group-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .vic-form-row-group, .vic-form-row-group-3 { grid-template-columns: 1fr; } }
.vic-form-note { font-size: .88rem; color: var(--vic-ink-soft); margin: -6px 0 18px; }

/* -- Gallery filters -- */
.vic-gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.vic-gallery-filter {
	background: var(--vic-white); border: 1.5px solid var(--vic-border); color: var(--vic-ink);
	border-radius: 100px; padding: 8px 18px; font-family: var(--vic-font-heading); font-weight: 600;
	font-size: .85rem; cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.vic-gallery-filter:hover { border-color: var(--vic-primary); }
.vic-gallery-filter.is-active { background: var(--vic-primary); border-color: var(--vic-primary); color: var(--vic-white); }
@media (max-width: 700px) {
	/* A wall of wrapped chips reads badly with this many events — scroll horizontally instead. */
	.vic-gallery-filters {
		flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
		margin: 0 calc(-1 * var(--vic-gutter)) 28px; padding: 0 var(--vic-gutter) 10px;
		scrollbar-width: thin;
	}
	.vic-gallery-filter { flex: none; white-space: nowrap; }
}

/* -- Gallery groups & grid -- */
.vic-gallery-group { margin-bottom: 56px; }
.vic-gallery-group-header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.vic-gallery-group-header h2 { margin: 0; }
.vic-gallery-group-date { color: var(--vic-ink-soft); font-size: .9rem; }
.vic-gallery-group-link { margin-left: auto; font-weight: 600; color: var(--vic-primary); }
.vic-gallery-grid {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
@media (max-width: 900px) { .vic-gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .vic-gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.vic-gallery-item {
	display: block; aspect-ratio: 1/1; border-radius: var(--vic-radius-sm); overflow: hidden;
	box-shadow: var(--vic-shadow); position: relative;
}
.vic-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.vic-gallery-item:hover img { transform: scale(1.06); }

/* -- Lightbox -- */
.vic-lightbox {
	position: fixed; inset: 0; z-index: 9999; background: rgba(20, 14, 8, .92);
	align-items: center; justify-content: center; padding: 40px 20px;
	display: none; /* default: hidden even without the [hidden] attribute */
}
.vic-lightbox:not([hidden]) { display: flex; }
.vic-lightbox[hidden] { display: none; }
.vic-lightbox figure { margin: 0; max-width: 90vw; max-height: 85vh; text-align: center; }
.vic-lightbox img { max-width: 100%; max-height: 78vh; border-radius: var(--vic-radius-sm); box-shadow: var(--vic-shadow-lg); }
.vic-lightbox figcaption { color: var(--vic-white); margin-top: 14px; font-family: var(--vic-font-heading); }
.vic-lightbox-close {
	position: absolute; top: 20px; right: 26px; background: transparent; border: none;
	color: var(--vic-white); font-size: 2.2rem; line-height: 1; cursor: pointer;
}
.vic-lightbox-nav {
	position: absolute !important; top: 50% !important; bottom: auto !important;
	transform: translateY(-50%); z-index: 10;
	width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35);
	background: rgba(20,14,8,.55); color: var(--vic-white);
	cursor: pointer; padding: 0;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 4px 16px rgba(0,0,0,.25);
	transition: background .15s ease, transform .15s ease, border-color .15s ease;
}
.vic-lightbox-nav svg { width: 24px; height: 24px; }
.vic-lightbox-nav:hover, .vic-lightbox-nav:focus-visible {
	background: var(--vic-primary); border-color: var(--vic-primary);
	transform: translateY(-50%) scale(1.08);
	outline: none;
}
.vic-lightbox-prev { left: 24px !important; right: auto !important; }
.vic-lightbox-next { right: 24px !important; left: auto !important; }
.vic-lightbox-count {
	color: rgba(255,255,255,.75); font-size: .85rem; font-family: var(--vic-font-heading);
	margin-top: 6px; letter-spacing: .04em;
}
@media (max-width: 760px) {
	.vic-lightbox-nav { width: 42px; height: 42px; }
	.vic-lightbox-nav svg { width: 19px; height: 19px; }
	.vic-lightbox-prev { left: 8px !important; }
	.vic-lightbox-next { right: 8px !important; }
}
body.vic-lightbox-open { overflow: hidden; }

/* -- Past Committee table -- */
.vic-past-committee-year { margin-bottom: 36px; }
.vic-past-committee-year h3 { color: var(--vic-secondary); margin-bottom: 12px; }
.vic-table-wrap { overflow-x: auto; border-radius: var(--vic-radius-sm); box-shadow: var(--vic-shadow); }
.vic-table { width: 100%; border-collapse: collapse; background: var(--vic-white); }
.vic-table th, .vic-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--vic-border); font-size: .92rem; }
.vic-table th { background: var(--vic-secondary); color: var(--vic-white); font-family: var(--vic-font-heading); font-weight: 600; }
.vic-table tbody tr:last-child td { border-bottom: none; }
.vic-table tbody tr:nth-child(even) { background: var(--vic-bg-alt); }

/* -- Updates: X (Twitter) link cards -- */
.vic-x-card { text-decoration: none; color: inherit; }
.vic-x-card-header {
	display: flex; align-items: center; gap: 10px; padding: 18px 22px 0;
	font-family: var(--vic-font-heading); font-weight: 700;
}
.vic-x-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; border-radius: 50%; background: var(--vic-ink); color: var(--vic-white);
	font-size: 1rem;
}
.vic-x-handle { color: var(--vic-ink-soft); font-weight: 600; }
.vic-x-card-cta { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--vic-primary); }
.vic-x-card:hover .vic-x-card-cta { text-decoration: underline; }

/* -- GDPR cookie consent banner -- */
.vic-cookie-banner {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 9998;
	background: var(--vic-ink); color: var(--vic-white); padding: 18px 24px;
	box-shadow: 0 -6px 24px rgba(0,0,0,.18);
}
.vic-cookie-banner-inner {
	max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap;
	align-items: center; justify-content: space-between; gap: 18px;
}
.vic-cookie-banner p { margin: 0; max-width: 720px; font-size: .92rem; }
.vic-cookie-banner a { color: var(--vic-bg-alt); text-decoration: underline; }
.vic-cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.vic-cookie-banner .vic-btn-outline { border-color: var(--vic-white); color: var(--vic-white); }
.vic-cookie-banner .vic-btn-outline:hover { background: var(--vic-white); color: var(--vic-ink); }
@media (max-width: 640px) { .vic-cookie-banner-inner { flex-direction: column; align-items: stretch; text-align: center; } }
