/**
 * Jaycess Theme main stylesheet.
 * Built with CSS Custom Properties, Flexbox, Grid, and Modern CSS layouts.
 */

/* ==========================================================================
   1. Root Variables & Color Schemes
   ========================================================================== */
:root {
	/* Brand palette — Primary #130d34 | Secondary #0a95d3 | Tertiary #57bcbc */
	--brand-primary: #130d34;
	--brand-primary-dark: #0a071f;
	--brand-primary-light: #1e1550;
	--brand-secondary: #0a95d3;
	--brand-secondary-hover: #087cad;
	--brand-tertiary: #3ebcbb;
	--brand-tertiary-soft: #d9efef;
	--brand-tertiary-hover: #35a8a7;

	--brand-primary-rgb: 19, 13, 52;
	--brand-primary-light-rgb: 30, 21, 80;
	--brand-secondary-rgb: 10, 149, 211;
	--brand-tertiary-rgb: 62, 188, 187;

	/* Colors - Dark sections & surfaces */
	--bg-primary: var(--brand-primary);
	--bg-secondary: #160f3d;
	--bg-surface: var(--brand-primary-light);
	--bg-surface-hover: #2a2068;

	--border-color: rgba(255, 255, 255, 0.08);
	--border-color-hover: rgba(255, 255, 255, 0.16);

	--color-text-primary: #f3f4f6;
	--color-text-secondary: #9ca3af;
	--color-text-muted: #6b7280;

	--primary: var(--brand-secondary);
	--primary-hover: var(--brand-secondary-hover);
	--primary-gradient: linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-tertiary) 100%);
	--accent: var(--brand-tertiary);
	--accent-gradient: linear-gradient(135deg, var(--brand-tertiary) 0%, var(--brand-secondary) 100%);

	--glass-bg: rgba(var(--brand-primary-rgb), 0.88);
	--glass-border: rgba(255, 255, 255, 0.05);
	--glass-blur: blur(12px);

	/* Typography — single family sitewide */
	--font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--font-body: var(--font-family);
	--font-headings: var(--font-family);

	/* Layout & Spacing */
	--max-width-wide: 1200px;
	--max-width-content: 800px;
	--header-max-width: min(98vw, 1680px);
	--board-card-gap: 1rem;
	--board-cards-visible: 4;
	--board-card-width: 252px;
	--board-carousel-max-width: calc(var(--board-card-width) * 4 + var(--board-card-gap) * 3 + 5.5rem);
	--board-card-image-ratio: 4 / 4.25;
	--news-card-gap: 1.125rem;
	--news-cards-visible: 4;
	--news-card-image-height: 168px;
	--hero-slider-min-height: 500px;
	--hero-slider-height: clamp(var(--hero-slider-min-height), 72vh, 720px);
	--header-height: auto;
	--header-top-bg: #ffffff;
	--header-nav-teal: var(--brand-primary);
	--header-nav-teal-dark: var(--brand-primary-dark);
	--header-accent-orange: var(--brand-tertiary);
	--header-text-dark: #1a1a1a;
	--header-text-muted: #6b7280;
	--radius-sm: 8px;
	--radius-md: 16px;
	--radius-lg: 24px;
	
	/* Shadows & Animations */
	--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	--shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.25), 0 10px 10px -5px rgba(0, 0, 0, 0.15);
	--shadow-glow: 0 0 20px rgba(var(--brand-secondary-rgb), 0.22);
	--transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}



/* ==========================================================================
   2. Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	background-color: var(--bg-primary);
	color: var(--color-text-primary);
	font-family: var(--font-family);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	transition: background-color 0.3s ease, color 0.3s ease;
}

a {
	color: var(--primary);
	text-decoration: none;
	transition: var(--transition-smooth);
}

a:hover, a:focus {
	color: var(--accent);
}

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

/* ==========================================================================
   3. Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-family);
	font-weight: 700;
	line-height: 1.25;
	color: var(--color-text-primary);
	margin-top: 1.5em;
	margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; margin-top: 0; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

button,
input,
textarea,
select {
	font-family: inherit;
}

/* Orange label above section titles (homepage + About page) */
.jci-page-hero__eyebrow,
.pres-letter-section-subtitle,
.board-section-subtitle,
.news-section-subtitle {
	font-family: var(--font-family);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

p {
	margin-top: 0;
	margin-bottom: 1.5em;
}

/* ==========================================================================
   4. Layout Structure
   ========================================================================== */
.site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.site-content {
	flex: 1 0 auto;
	padding: 3rem 0;
}

.content-container {
	width: 90%;
	max-width: var(--max-width-wide);
	margin: 0 auto;
}

/* ==========================================================================
   5. Site Header (Donat-style two-tier)
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 200;
	display: flex;
	flex-direction: column;
	gap: 0;
	background: var(--header-top-bg);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
	transition: box-shadow 0.3s ease;
}

.admin-bar .site-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

.site-header.is-scrolled {
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14);
}

.header-inner {
	width: 98%;
	max-width: var(--header-max-width);
	margin: 0 auto;
}

/* Top bar: logo, contact, social */
.header-top-bar {
	position: relative;
	z-index: 1;
	overflow: hidden;
	padding: 0.65rem 0 0.35rem;
	border-bottom: 0;
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition:
		transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
		opacity 0.28s ease,
		visibility 0.28s ease;
}

.site-header.is-scrolled .header-top-bar {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 0;
	padding: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(calc(-100% - 0.5rem));
	pointer-events: none;
}

.header-top-bar .header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.site-branding {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.header-logo-link,
.site-branding .custom-logo-link {
	display: inline-flex;
	align-items: center;
	padding: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.header-logo-link:hover,
.site-branding .custom-logo-link:hover {
	transform: none;
}

.site-branding .custom-logo,
.header-logo-link .custom-logo {
	max-height: 72px;
	width: auto;
	display: block;
	object-fit: contain;
}

.header-contact-info {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1;
	gap: 0;
}

.header-contact-item {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding: 0 2.25rem;
	border-right: 1px solid rgba(0, 0, 0, 0.12);
}

.header-contact-item:last-child {
	border-right: 0;
}

.header-contact-label {
	font-size: 0.8rem;
	color: var(--header-text-muted);
	line-height: 1.3;
}

.header-contact-value {
	font-family: var(--font-headings);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--header-text-dark);
	line-height: 1.3;
	text-decoration: none;
}

a.header-contact-value:hover {
	color: var(--header-nav-teal);
}

.header-social {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-shrink: 0;
}

.header-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 50%;
	color: var(--header-text-dark);
	font-size: 0.9rem;
	transition: var(--transition-smooth);
}

.header-social-link:hover {
	background: var(--header-nav-teal);
	border-color: var(--header-nav-teal);
	color: #ffffff;
}

/* Bottom bar: pill navigation */
.header-nav-bar {
	position: relative;
	z-index: 2;
	padding: 0.15rem 0 0.65rem;
	background: var(--header-top-bg);
	transition: padding 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-nav-bar .header-inner {
	margin-top: -0.15rem;
	transition: margin-top 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.is-scrolled .header-nav-bar {
	padding: 0.35rem 0 0.55rem;
}

.site-header.is-scrolled .header-nav-bar .header-inner {
	margin-top: 0;
}

.header-nav-pill {
	position: relative;
	display: flex;
	align-items: center;
	gap: 1.5rem;
	background: var(--header-nav-teal);
	border-radius: 999px;
	padding: 0.45rem 0.45rem 0.45rem 1.75rem;
	min-height: 60px;
	box-shadow: 0 8px 24px rgba(var(--brand-primary-rgb), 0.25);
}

.header-volunteer-cta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0;
	padding: 0 0.75rem;
	font-size: 0.88rem;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.92);
	white-space: nowrap;
	flex-shrink: 1;
	min-width: 0;
}

.header-volunteer-cta i {
	color: var(--header-accent-orange);
	font-size: 1.35rem;
	flex-shrink: 0;
}

.header-volunteer-cta span {
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 28rem;
}

.header-nav-actions {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	flex-shrink: 0;
	margin-left: auto;
}

.header-search-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border: 0;
	border-radius: 50%;
	background: var(--header-accent-orange);
	color: #ffffff;
	font-size: 1rem;
	cursor: pointer;
	transition: var(--transition-smooth);
}

.header-search-toggle:hover,
.header-search-toggle[aria-expanded="true"] {
	background: var(--brand-tertiary-hover);
	transform: scale(1.04);
}

.header-donate-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.95rem 1.85rem;
	border-radius: 999px;
	background: var(--header-accent-orange);
	color: #ffffff;
	font-family: var(--font-headings);
	font-weight: 700;
	font-size: 0.95rem;
	text-transform: capitalize;
	white-space: nowrap;
	box-shadow: 0 4px 14px rgba(var(--brand-tertiary-rgb), 0.35);
}

.header-donate-btn:hover {
	background: var(--brand-tertiary-hover);
	color: #ffffff;
	transform: translateY(-1px);
}

.header-search-panel {
	background: #ffffff;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	padding: 1rem 0;
}

.header-search-panel .search-form {
	display: flex;
	gap: 0.75rem;
	max-width: 520px;
	margin: 0 auto;
}

.header-search-panel .search-field {
	flex: 1;
	padding: 0.65rem 1rem;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 999px;
	font-size: 0.95rem;
	color: var(--header-text-dark);
}

.header-search-panel .search-submit {
	padding: 0.65rem 1.25rem;
	border: 0;
	border-radius: 999px;
	background: var(--header-nav-teal);
	color: #ffffff;
	font-weight: 600;
	cursor: pointer;
}

/* ==========================================================================
   6. Navigation Menu
   ========================================================================== */
.main-navigation .menu-primary-container {
	flex: 1;
	min-width: 0;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 1.65rem;
	flex-wrap: wrap;
}

.main-navigation li {
	position: relative;
}

.main-navigation > .menu-primary-container > ul > li > a,
.header-nav-pill > .menu-primary-container > ul > li > a {
	color: rgba(255, 255, 255, 0.9);
	font-family: var(--font-headings);
	font-weight: 600;
	font-size: 0.95rem;
	padding: 0.4rem 0;
	border-bottom: 2px solid transparent;
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
}

.main-navigation a:hover,
.main-navigation li.current-menu-item > a,
.main-navigation li.current-menu-ancestor > a {
	color: #ffffff;
	border-color: var(--header-accent-orange);
}

.main-navigation .menu-item-has-children > a::after {
	content: '\f107';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	font-size: 0.65rem;
	opacity: 0.85;
}

/* Dropdown menus */
.main-navigation ul ul {
	display: none;
	position: absolute;
	top: calc(100% + 12px);
	left: 0;
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: var(--radius-sm);
	padding: 0.5rem 0;
	min-width: 210px;
	box-shadow: var(--shadow-lg);
	flex-direction: column;
	gap: 0;
	z-index: 50;
}

.main-navigation ul ul a {
	padding: 0.55rem 1.25rem;
	display: block;
	border: 0;
	color: var(--header-text-dark);
	font-weight: 500;
}

.main-navigation ul ul a:hover {
	background: rgba(var(--brand-primary-rgb), 0.08);
	color: var(--header-nav-teal);
}

.main-navigation li:hover > ul,
.main-navigation li.focus > ul {
	display: flex;
}

.menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
	flex-shrink: 0;
}

.menu-toggle-icon,
.menu-toggle-icon::before,
.menu-toggle-icon::after {
	content: '';
	display: block;
	background: #ffffff;
	height: 2px;
	width: 24px;
	transition: var(--transition-smooth);
}

.menu-toggle-icon::before { transform: translateY(-6px); }
.menu-toggle-icon::after { transform: translateY(4px); }

/* Mobile */
@media (max-width: 1280px) {
	.header-volunteer-cta span {
		max-width: 18rem;
	}
}

@media (max-width: 1100px) {
	.header-volunteer-cta {
		display: none;
	}
}

@media (max-width: 992px) {
	.header-contact-info {
		display: none;
	}
}

@media (max-width: 768px) {
	.header-top-bar {
		padding: 0.5rem 0 0.2rem;
	}

	.header-social {
		display: none;
	}

	.header-nav-bar {
		padding: 0.1rem 0 0.55rem;
	}

	.header-nav-bar .header-inner {
		margin-top: 0;
	}

	.header-nav-pill {
		flex-wrap: wrap;
		border-radius: var(--radius-md);
		padding: 0.75rem 1rem;
	}

	.menu-toggle {
		display: block;
		order: -1;
	}

	.main-navigation .menu-primary-container {
		display: none;
		order: 10;
		flex: 1 1 100%;
		width: 100%;
		background: var(--header-nav-teal-dark);
		border-radius: var(--radius-sm);
		padding: 0.75rem 1rem;
		margin-top: 0.5rem;
	}

	.main-navigation.toggled .menu-primary-container {
		display: block;
		animation: slideIn 0.25s ease-out;
	}

	.main-navigation.toggled .menu-toggle-icon {
		background: transparent;
	}

	.main-navigation.toggled .menu-toggle-icon::before {
		transform: rotate(45deg);
	}

	.main-navigation.toggled .menu-toggle-icon::after {
		transform: rotate(-45deg) translateY(-2px);
	}

	.main-navigation ul {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}

	.main-navigation ul ul {
		position: static;
		box-shadow: none;
		border: 0;
		padding-left: 0.75rem;
		background: rgba(0, 0, 0, 0.12);
		margin-top: 0.35rem;
	}

	.header-nav-actions {
		margin-left: auto;
	}

	.header-donate-btn {
		padding: 0.65rem 1.1rem;
		font-size: 0.82rem;
	}
}

@keyframes slideIn {
	from { opacity: 0; transform: translateY(-10px); }
	to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   7. Posts Grid Loop (index.php, archive.php)
   ========================================================================== */
.posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 2rem;
	margin-bottom: 3rem;
}

@media (max-width: 480px) {
	.posts-grid {
		grid-template-columns: 1fr;
	}
}

.card-post {
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: var(--shadow-md);
	transition: var(--transition-smooth);
}

.card-post:hover {
	transform: translateY(-5px);
	border-color: var(--border-color-hover);
	box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.card-post .post-thumbnail img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	transition: var(--transition-smooth);
}

.card-post:hover .post-thumbnail img {
	transform: scale(1.05);
}

.card-content {
	padding: 1.75rem;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.card-post .entry-title {
	font-size: 1.35rem;
	margin-top: 0;
	margin-bottom: 0.75rem;
	line-height: 1.3;
}

.card-post .entry-title a {
	color: var(--color-text-primary);
}

.card-post .entry-title a:hover {
	color: var(--primary);
}

.entry-meta {
	font-size: 0.85rem;
	color: var(--color-text-secondary);
	margin-bottom: 1rem;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.entry-meta a {
	color: var(--color-text-secondary);
}

.entry-meta a:hover {
	color: var(--primary);
}

.card-post .entry-summary {
	font-size: 0.95rem;
	color: var(--color-text-secondary);
	margin-bottom: 1.5rem;
	flex-grow: 1;
}

.entry-footer {
	font-size: 0.8rem;
	color: var(--color-text-muted);
	border-top: 1px solid var(--border-color);
	padding-top: 1rem;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.entry-footer a {
	color: var(--color-text-secondary);
}

.entry-footer a:hover {
	color: var(--primary);
}

/* ==========================================================================
   8. Single Post / Page Detail Templates
   ========================================================================== */
.single-post-layout,
.single-page-layout {
	max-width: var(--max-width-content);
	margin: 0 auto;
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	padding: 3rem;
	box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
	.single-post-layout,
	.single-page-layout {
		padding: 1.5rem;
		border-radius: var(--radius-md);
	}
}

.single-post-layout .entry-header,
.single-page-layout .entry-header {
	margin-bottom: 2rem;
	text-align: center;
}

.single-post-layout .entry-title,
.single-page-layout .entry-title {
	font-size: 2.75rem;
	line-height: 1.2;
	letter-spacing: -0.03em;
	margin-bottom: 1rem;
}

@media (max-width: 768px) {
	.single-post-layout .entry-title,
	.single-page-layout .entry-title {
		font-size: 2rem;
	}
}

.single-post-layout .post-thumbnail,
.single-page-layout .post-thumbnail {
	margin: 0 -3rem 2.5rem -3rem;
	overflow: hidden;
}

@media (max-width: 768px) {
	.single-post-layout .post-thumbnail,
	.single-page-layout .post-thumbnail {
		margin: 0 -1.5rem 1.5rem -1.5rem;
	}
}

.single-post-layout .post-thumbnail img,
.single-page-layout .post-thumbnail img {
	width: 100%;
	max-height: 480px;
	object-fit: cover;
	border-radius: 0;
}

.entry-content {
	font-size: 1.1rem;
	line-height: 1.8;
	color: var(--color-text-secondary);
}

.entry-content p {
	margin-bottom: 1.75em;
}

.entry-content h2,
.entry-content h3 {
	margin-top: 2rem;
	color: var(--color-text-primary);
}

/* Post navigation */
.post-navigation {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	margin: 3rem 0;
	border-top: 1px solid var(--border-color);
	border-bottom: 1px solid var(--border-color);
	padding: 1.5rem 0;
}

@media (max-width: 600px) {
	.post-navigation {
		grid-template-columns: 1fr;
	}
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
	display: flex;
	flex-direction: column;
}

.post-navigation .nav-next {
	text-align: right;
}

.post-navigation .nav-subtitle {
	font-size: 0.8rem;
	color: var(--color-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.post-navigation .nav-title {
	font-family: var(--font-headings);
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--color-text-primary);
	margin-top: 0.25rem;
}

/* ==========================================================================
   9. Comments Section
   ========================================================================== */
.comments-area {
	margin: 4rem auto 0 auto;
	max-width: var(--max-width-content);
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	padding: 3rem;
}

@media (max-width: 768px) {
	.comments-area {
		padding: 1.5rem;
		border-radius: var(--radius-md);
	}
}

.comments-title,
.comment-reply-title {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 2rem;
	margin-top: 0;
}

.comment-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.comment-body {
	position: relative;
	padding: 1.5rem;
	background: var(--bg-primary);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	margin-bottom: 1.5rem;
}

.comment-meta {
	display: flex;
	align-items: center;
	margin-bottom: 1rem;
	gap: 1rem;
}

.comment-meta .avatar {
	border-radius: 50%;
}

.comment-author {
	font-weight: 600;
	font-family: var(--font-headings);
}

.comment-metadata {
	font-size: 0.8rem;
	color: var(--color-text-muted);
}

.comment-content {
	color: var(--color-text-secondary);
}

.comment-reply-link {
	display: inline-block;
	font-size: 0.85rem;
	font-weight: 600;
	padding: 0.4rem 1rem;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm);
	color: var(--color-text-primary);
	margin-top: 0.5rem;
}

.comment-reply-link:hover {
	background: var(--primary);
	border-color: var(--primary);
	color: white;
}

.children {
	list-style: none;
	padding-left: 2rem;
}

@media (max-width: 600px) {
	.children {
		padding-left: 1rem;
	}
}

/* ==========================================================================
   10. Forms, Search & Buttons
   ========================================================================== */
input[type="text"],
input[type="email"],
input[type="search"],
textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	background: var(--bg-primary);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm);
	color: var(--color-text-primary);
	font-family: var(--font-body);
	transition: var(--transition-smooth);
}

input:focus,
textarea:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2);
}

input[type="submit"],
button[type="submit"],
.button {
	display: inline-block;
	background: var(--primary-gradient);
	color: white;
	border: none;
	padding: 0.75rem 1.75rem;
	font-family: var(--font-headings);
	font-weight: 600;
	border-radius: 30px;
	cursor: pointer;
	box-shadow: var(--shadow-md);
	transition: var(--transition-smooth);
}

input[type="submit"]:hover,
button[type="submit"]:hover,
.button:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* Search form widget styling */
.search-form {
	display: flex;
	gap: 0.5rem;
	width: 100%;
	max-width: 500px;
}

.search-form label {
	flex-grow: 1;
}

.search-form .search-submit {
	flex-shrink: 0;
}

/* ==========================================================================
   11. Gutenberg Core Block Support & Layouts
   ========================================================================== */
.alignwide {
	margin-left: calc(50% - 50vw + 8px);
	margin-right: calc(50% - 50vw + 8px);
	max-width: var(--max-width-wide);
	width: auto;
}

.alignfull {
	margin-left: calc(50% - 50vw + 8px);
	margin-right: calc(50% - 50vw + 8px);
	max-width: 100vw;
	width: 100vw;
	border-radius: 0;
}

@media (min-width: 1200px) {
	.alignwide {
		margin-left: calc((var(--max-width-wide) - var(--max-width-content)) / -2);
		margin-right: calc((var(--max-width-wide) - var(--max-width-content)) / -2);
		max-width: var(--max-width-wide);
	}
	
	.alignfull {
		margin-left: calc((100vw - var(--max-width-content) - 16px) / -2);
		margin-right: calc((100vw - var(--max-width-content) - 16px) / -2);
	}
}

.wp-block-columns {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	margin-bottom: 1.75em;
}

.wp-block-column {
	flex: 1 1 300px;
}

.wp-block-image {
	margin-bottom: 1.75em;
}

.wp-block-image figcaption {
	text-align: center;
	font-size: 0.85rem;
	color: var(--color-text-muted);
	margin-top: 0.5rem;
}

/* Blockquotes */
blockquote {
	margin: 2rem 0;
	padding: 1.5rem 2rem;
	border-left: 4px solid var(--primary);
	background: var(--bg-secondary);
	border-radius: 0 var(--radius-md) var(--radius-md) 0;
	font-style: italic;
}

blockquote p {
	margin: 0;
	font-size: 1.25rem;
	color: var(--color-text-primary);
}

blockquote cite {
	display: block;
	margin-top: 0.75rem;
	font-size: 0.85rem;
	color: var(--color-text-muted);
	font-style: normal;
	font-weight: 600;
}

/* Page Navigation Pagination */
.pagination {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin: 3rem 0;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm);
	color: var(--color-text-secondary);
	font-weight: 600;
	transition: var(--transition-smooth);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
	background: var(--primary-gradient);
	color: white;
	border-color: transparent;
	box-shadow: var(--shadow-glow);
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
	width: auto;
	padding: 0 1rem;
}

/* ==========================================================================
   12. Utility Classes & Accessibility
   ========================================================================== */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--bg-surface);
	border-radius: var(--radius-sm);
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
	color: var(--primary);
	display: block;
	font-size: 0.9rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px;
	position: absolute;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Skip link logic */
.skip-link:focus {
	outline: none;
}

/* 404 styling */
.error-404-page {
	text-align: center;
	padding: 4rem 0;
}

.error-404-page .error-code {
	font-size: 8rem;
	font-family: var(--font-headings);
	font-weight: 800;
	line-height: 1;
	background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	margin-bottom: 1.5rem;
}

.error-search-form {
	display: flex;
	justify-content: center;
	margin: 2rem 0;
}

.error-suggested-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	margin-top: 3rem;
	text-align: left;
	max-width: var(--max-width-content);
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 600px) {
	.error-suggested-links {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
}

.error-suggested-links ul {
	padding-left: 1.25rem;
	color: var(--color-text-secondary);
}

.error-suggested-links li {
	margin-bottom: 0.5rem;
}

/* ==========================================================================
   13. JCI Theme Homepage Layouts & Styling
   ========================================================================== */

/* Helpers */
.section-padding {
	padding: 5rem 0;
}

/* About Us page */
.jci-about-page {
	background: #ffffff;
}

.jci-page-hero {
	padding: calc(var(--header-height, 120px) + 2.5rem) 0 3rem;
	background: linear-gradient(160deg, rgba(var(--brand-secondary-rgb), 0.12) 0%, rgba(var(--brand-primary-rgb), 0.06) 55%, #ffffff 100%);
	text-align: center;
}

.jci-page-hero__eyebrow {
	margin: 0 0 0.5rem;
	color: var(--header-accent-orange);
}

.jci-page-hero__title {
	margin: 0 0 1rem;
	font-family: var(--font-headings);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	color: #1f2937;
	letter-spacing: -0.03em;
}

.jci-page-hero__lead {
	max-width: 42rem;
	margin: 0 auto;
	font-size: 1.125rem;
	line-height: 1.7;
	color: #4b5563;
}

.jci-about-intro {
	padding-top: 0;
}

.jci-about-intro__content {
	max-width: 760px;
	margin: 0 auto;
	font-size: 1.0625rem;
	line-height: 1.85;
	color: #374151;
}

.jci-about-intro__content p:first-child {
	margin-top: 0;
}

.section-padding--after-transition {
	padding-top: 2.75rem;
}

.text-center {
	text-align: center;
}

/* Homepage section titles — President, Pride, Direction, Events, Board */
.jci-home-section-title {
	margin: 0;
	font-family: var(--font-headings);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: #1f2937;
}

.section-badge {
	display: inline-block;
	font-family: var(--font-headings);
	font-size: 2rem;
	font-weight: 800;
	color: var(--color-text-primary);
	margin-bottom: 2.5rem;
	letter-spacing: -0.02em;
	position: relative;
}

.jci-pride-section .section-badge.jci-home-section-title,
.jci-direction-section .section-badge.jci-home-section-title {
	margin-bottom: 2.5rem;
}

.section-badge::before,
.section-badge::after {
	content: '•••';
	color: var(--primary);
	font-size: 0.8rem;
	letter-spacing: 0.3em;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.section-badge::before {
	right: 105%;
}

.section-badge::after {
	left: 105%;
	padding-left: 0.3em;
}

.section-header-flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 2rem;
	border-bottom: 1px solid var(--border-color);
	padding-bottom: 1rem;
}

.section-header-flex .section-badge {
	margin-bottom: 0;
}

.section-header-flex .section-badge::before,
.section-header-flex .section-badge::after {
	display: none;
}

.no-records-text {
	grid-column: 1 / -1;
	text-align: center;
	color: var(--color-text-muted);
	font-style: italic;
	padding: 2rem 0;
}

/* Custom Buttons overrides */
.btn-primary {
	background: var(--primary-gradient);
	border: 0;
	color: white;
}

.btn-outline {
	background: transparent;
	border: 2px solid var(--border-color);
	color: var(--color-text-primary);
}

.btn-outline:hover {
	border-color: var(--primary);
	background: rgba(124, 58, 237, 0.05);
}

.btn-small-outline {
	background: transparent;
	border: 1px solid var(--brand-secondary);
	color: var(--brand-primary);
	padding: 0.5rem 1.25rem;
	font-size: 0.8rem;
	font-weight: 600;
	border-radius: 50px;
	box-shadow: none;
}

.btn-small-outline:hover {
	background: var(--brand-secondary);
	border-color: var(--brand-secondary);
	color: #ffffff;
}

/* 13.1 HERO SLIDER SECTION */
.jci-hero-slider {
	position: relative;
	height: var(--hero-slider-height);
	min-height: var(--hero-slider-min-height);
	overflow: hidden;
	margin-top: calc(-1 * var(--header-height));
	background: #060913;
}

.slider-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
}

.slide-item {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	opacity: 0;
	visibility: hidden;
	z-index: 1;
	transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.slide-item.active {
	opacity: 1;
	visibility: visible;
	z-index: 2;
}

/* Image-only slides: no dark overlay; subtle bottom shade for slider dots */
.slide-item--image-only::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(
		180deg,
		transparent 0%,
		transparent 72%,
		rgba(11, 15, 25, 0.28) 100%
	);
}

.slide-item--image-only .content-container {
	position: relative;
	z-index: 2;
}

.slide-item--overlay-light::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(
		180deg,
		transparent 0%,
		rgba(11, 15, 25, 0.12) 100%
	);
}

.slide-item--overlay-light .content-container {
	position: relative;
	z-index: 2;
}

.slide-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	align-items: center;
	max-width: 820px;
	width: 100%;
	padding-top: var(--header-height);
}

@media (max-width: 768px) {
	.slide-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		text-align: center;
	}
	
	.slide-logo-container {
		display: none;
	}
	
	.jci-hero-slider {
		--hero-slider-min-height: 400px;
		--hero-slider-height: clamp(400px, 58vh, 540px);
		height: var(--hero-slider-height);
		min-height: var(--hero-slider-min-height);
		padding: 0;
	}

	.slide-grid {
		padding-top: calc(var(--header-height, 100px) + 1.25rem);
		padding-bottom: 2.5rem;
	}
}

.slide-title {
	font-size: clamp(1.85rem, 2.5vw + 1rem, 3.5rem);
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -0.03em;
	margin-bottom: 1.5rem;
	background: linear-gradient(135deg, #ffffff 0%, #d1d5db 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.slide-desc {
	font-size: 1.2rem;
	color: var(--color-text-secondary);
	margin-bottom: 2rem;
	max-width: 600px;
}

.slide-buttons {
	display: flex;
	gap: 1rem;
}

@media (max-width: 768px) {
	.slide-buttons {
		justify-content: center;
	}
}

/* JCI Emblem Glow Graphic */
.jci-logo-shield {
	font-size: 5rem;
	line-height: 1;
	color: var(--accent);
	filter: drop-shadow(0 0 15px rgba(6, 182, 212, 0.4));
	margin-bottom: 1rem;
}

.jci-emblem-glow {
	background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: var(--radius-lg);
	padding: 3rem;
	text-align: center;
	box-shadow: var(--shadow-lg);
	backdrop-filter: blur(4px);
	animation: floatEmblem 6s ease-in-out infinite;
}

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

.jci-emblem-glow h2 {
	font-size: 4rem;
	font-weight: 800;
	margin: 0;
	line-height: 1;
	letter-spacing: 0.1em;
	color: var(--color-text-primary);
}

.jci-emblem-glow h3 {
	font-size: 1.5rem;
	font-weight: 600;
	margin: 0.5rem 0 0 0;
	letter-spacing: 0.25em;
	color: var(--color-text-secondary);
}

/* Slider Controls */
.slider-arrow {
	position: absolute;
	top: 55%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--border-color);
	color: var(--color-text-primary);
	width: 50px;
	height: 50px;
	border-radius: 50%;
	cursor: pointer;
	z-index: 10;
	font-size: 2rem;
	line-height: 44px;
	text-align: center;
	transition: var(--transition-smooth);
}

.slider-arrow:hover {
	background: var(--primary);
	border-color: var(--primary);
}

.slider-arrow.prev { left: 30px; }
.slider-arrow.next { right: 30px; }

@media (max-width: 992px) {
	.slider-arrow { display: none; }
}

.slider-dots {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	display: flex;
	gap: 0.75rem;
}

.slider-dots .dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	cursor: pointer;
	transition: var(--transition-smooth);
}

.slider-dots .dot.active {
	background: var(--primary);
	width: 24px;
	border-radius: 10px;
}


/* 13.2 OUR PRIDE SECTION */
.jci-pride-section {
	background: linear-gradient(180deg, #f8fafc 0%, #eef6f6 55%, #ffffff 100%);
}

.jci-pride-section .section-badge {
	color: var(--brand-primary);
}

.pride-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(1.5rem, 3vw, 2.25rem);
}

@media (max-width: 768px) {
	.pride-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
}

.pride-card {
	position: relative;
	overflow: hidden;
	padding: clamp(1.75rem, 3vw, 2.75rem);
	border-radius: 20px;
	border: 1px solid rgba(var(--brand-primary-rgb), 0.08);
	background: #ffffff;
	box-shadow:
		0 4px 6px rgba(var(--brand-primary-rgb), 0.04),
		0 18px 40px rgba(var(--brand-primary-rgb), 0.07);
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pride-card::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 140px;
	height: 140px;
	border-radius: 0 20px 0 100%;
	opacity: 0.45;
	pointer-events: none;
}

.pride-card:hover {
	transform: translateY(-5px);
	border-color: rgba(var(--brand-secondary-rgb), 0.22);
	box-shadow:
		0 8px 16px rgba(var(--brand-primary-rgb), 0.06),
		0 24px 52px rgba(var(--brand-secondary-rgb), 0.14);
}

.pride-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 5px;
	height: 100%;
	border-radius: 20px 0 0 20px;
}

.creed-card {
	background: linear-gradient(
		145deg,
		#ffffff 0%,
		rgba(var(--brand-tertiary-rgb), 0.08) 100%
	);
}

.creed-card::before {
	background: linear-gradient(180deg, var(--brand-tertiary) 0%, var(--brand-secondary) 100%);
}

.creed-card::after {
	background: radial-gradient(circle at top right, rgba(var(--brand-tertiary-rgb), 0.22), transparent 70%);
}

.anthem-card {
	background: linear-gradient(
		145deg,
		#ffffff 0%,
		rgba(var(--brand-secondary-rgb), 0.07) 100%
	);
}

.anthem-card::before {
	background: linear-gradient(180deg, var(--brand-secondary) 0%, var(--brand-primary) 100%);
}

.anthem-card::after {
	background: radial-gradient(circle at top right, rgba(var(--brand-secondary-rgb), 0.18), transparent 70%);
}

.card-icon {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 1.35rem;
	border-radius: 16px;
	font-size: 1.35rem;
}

.creed-card .card-icon {
	color: #ffffff;
	background: linear-gradient(135deg, var(--brand-tertiary) 0%, var(--brand-secondary) 100%);
	box-shadow: 0 8px 20px rgba(var(--brand-tertiary-rgb), 0.35);
}

.anthem-card .card-icon {
	color: #ffffff;
	background: linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-primary-light) 100%);
	box-shadow: 0 8px 20px rgba(var(--brand-secondary-rgb), 0.3);
}

.pride-card .card-title {
	position: relative;
	z-index: 1;
	margin: 0 0 1.15rem;
	font-size: clamp(1.25rem, 2.2vw, 1.55rem);
	font-weight: 800;
	color: var(--brand-primary);
	letter-spacing: -0.02em;
}

.pride-card .card-text {
	position: relative;
	z-index: 1;
	margin: 0;
	font-size: 1rem;
	line-height: 1.85;
	color: #475569;
}

.pride-card__decor {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 0;
	width: auto;
	height: 32px;
	opacity: 0.14;
	pointer-events: none;
	filter: saturate(1.2);
}

/* 13.3 PRESIDENT MESSAGE (formal letter layout) */
.jci-president-section {
	background: linear-gradient(180deg, #f8faf9 0%, #ffffff 48%);
	overflow: visible;
}

.jci-president-section .content-container {
	width: 98%;
	max-width: var(--header-max-width);
}

.pres-letter-section-header {
	margin-bottom: 3rem;
}

.pres-letter-section-subtitle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin: 0 0 0.75rem;
	color: var(--header-accent-orange);
}

.pres-letter-subtitle-line {
	display: inline-block;
	width: 48px;
	height: 2px;
	background: var(--header-accent-orange);
	border-radius: 2px;
}

.pres-letter-section-title {
	color: #1f2937;
}

.pres-letter-single {
	position: relative;
}

.pres-letter-single .pres-letter-slide {
	display: block;
	animation: presLetterReveal 0.45s ease;
}

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

@media (prefers-reduced-motion: reduce) {
	.pres-letter-single .pres-letter-slide {
		animation: none;
	}
}

.pres-letter {
	display: grid;
	grid-template-columns: minmax(300px, 400px) 1fr;
	align-items: stretch;
	border-radius: 20px;
	overflow: hidden;
	box-shadow:
		0 4px 0 var(--header-accent-orange),
		0 28px 60px rgba(8, 61, 54, 0.14);
	border: 1px solid rgba(var(--brand-primary-rgb), 0.12);
}

.pres-letter__photo-panel {
	position: relative;
	display: flex;
	min-height: 100%;
	padding: 0;
	margin: 0;
	background: var(--brand-primary-dark);
	overflow: hidden;
}

.pres-letter__portrait {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 100%;
	margin: 0;
	padding: 0;
	flex: 1 1 auto;
}

.pres-letter__portrait img,
.pres-letter__portrait-fallback {
	width: 100%;
	height: 100%;
	min-height: 480px;
	border: none;
	border-radius: 0;
	object-fit: cover;
	object-position: top center;
	display: block;
	background: var(--brand-primary-dark);
}

.pres-letter__portrait-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 5rem;
	color: rgba(255, 255, 255, 0.35);
	background: linear-gradient(165deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
}

/* Portrait frame: full bleed (default) */
.pres-letter__photo-panel--frame-full .pres-letter__portrait img,
.pres-letter__photo-panel--frame-full .pres-letter__portrait-fallback {
	border: none;
	border-radius: 0;
	object-fit: cover;
}

/* Portrait frame: gold border */
.pres-letter__photo-panel--frame-gold {
	padding: 1.25rem;
	align-items: center;
	justify-content: center;
}

.pres-letter__photo-panel--frame-gold .pres-letter__portrait {
	width: 100%;
	height: auto;
	min-height: 0;
	flex: 1 1 auto;
	display: flex;
	align-items: stretch;
}

.pres-letter__photo-panel--frame-gold .pres-letter__portrait img,
.pres-letter__photo-panel--frame-gold .pres-letter__portrait-fallback {
	min-height: 420px;
	border: 4px solid var(--header-accent-orange);
	border-radius: 12px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
	object-fit: cover;
}

/* Portrait frame: rounded */
.pres-letter__photo-panel--frame-rounded {
	padding: 1.25rem;
}

.pres-letter__photo-panel--frame-rounded .pres-letter__portrait img,
.pres-letter__photo-panel--frame-rounded .pres-letter__portrait-fallback {
	min-height: 420px;
	border-radius: 20px;
	object-fit: cover;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* Portrait frame: circle */
.pres-letter__photo-panel--frame-circle {
	padding: 2rem 1.25rem;
	align-items: center;
	justify-content: center;
}

.pres-letter__photo-panel--frame-circle .pres-letter__portrait {
	width: min(100%, 300px);
	height: auto;
	aspect-ratio: 1 / 1;
	min-height: 0;
	margin: auto;
	flex: 0 0 auto;
	border-radius: 50%;
	overflow: hidden;
	border: 4px solid var(--header-accent-orange);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.pres-letter__photo-panel--frame-circle .pres-letter__portrait img,
.pres-letter__photo-panel--frame-circle .pres-letter__portrait-fallback {
	min-height: 0;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
}

/* Portrait frame: arch */
.pres-letter__photo-panel--frame-arch {
	padding: 1.25rem 1.25rem 1.5rem;
	align-items: center;
}

.pres-letter__photo-panel--frame-arch .pres-letter__portrait {
	width: 100%;
	max-width: 100%;
	height: auto;
	min-height: 0;
	flex: 1 1 auto;
	overflow: hidden;
	border-radius: 50% 50% 18px 18px / 42% 42% 18px 18px;
	border: 4px solid var(--header-accent-orange);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.pres-letter__photo-panel--frame-arch .pres-letter__portrait img,
.pres-letter__photo-panel--frame-arch .pres-letter__portrait-fallback {
	min-height: 440px;
	border-radius: inherit;
	object-fit: cover;
	object-position: top center;
}

/* Portrait frame: polaroid */
.pres-letter__photo-panel--frame-polaroid {
	padding: 1.5rem 1.5rem 2rem;
	align-items: center;
	justify-content: center;
	background: linear-gradient(165deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
}

.pres-letter__photo-panel--frame-polaroid .pres-letter__portrait {
	width: 88%;
	max-width: 320px;
	height: auto;
	min-height: 0;
	flex: 0 1 auto;
	background: #ffffff;
	padding: 0.75rem 0.75rem 2.75rem;
	box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
}

.pres-letter__photo-panel--frame-polaroid .pres-letter__portrait img,
.pres-letter__photo-panel--frame-polaroid .pres-letter__portrait-fallback {
	min-height: 320px;
	border-radius: 4px;
	object-fit: cover;
	background: #e5e7eb;
}

.pres-letter__photo-panel--frame-polaroid .pres-letter__portrait-fallback {
	color: #9ca3af;
	background: #e5e7eb;
}

/* Portrait frame: teal glow */
.pres-letter__photo-panel--frame-teal-glow {
	padding: 1.35rem;
	align-items: center;
	justify-content: center;
}

.pres-letter__photo-panel--frame-teal-glow .pres-letter__portrait {
	width: 100%;
	min-height: 0;
	flex: 1 1 auto;
	border-radius: 16px;
	padding: 4px;
	background: linear-gradient(145deg, var(--brand-tertiary) 0%, var(--brand-primary) 50%, var(--brand-primary-dark) 100%);
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.15),
		0 0 32px rgba(var(--brand-tertiary-rgb), 0.35),
		0 16px 40px rgba(0, 0, 0, 0.25);
}

.pres-letter__photo-panel--frame-teal-glow .pres-letter__portrait img,
.pres-letter__photo-panel--frame-teal-glow .pres-letter__portrait-fallback {
	min-height: 420px;
	border-radius: 12px;
	object-fit: cover;
}

.pres-letter__body {
	position: relative;
	background: #faf8f4;
	padding: 0;
}

.pres-letter__body::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 6px;
	height: 100%;
	background: linear-gradient(180deg, var(--header-accent-orange) 0%, rgba(var(--brand-primary-rgb), 0.2) 100%);
}

.pres-letter__paper {
	position: relative;
	height: 100%;
	padding: clamp(2rem, 3.5vw, 2.75rem) clamp(1.75rem, 3vw, 3rem) clamp(2rem, 3vw, 2.5rem) clamp(2rem, 3.5vw, 2.85rem);
	background:
		linear-gradient(135deg, rgba(var(--brand-primary-rgb), 0.03) 0%, transparent 42%),
		#faf8f4;
}

.pres-letter__paper::after {
	content: '';
	position: absolute;
	right: 1.5rem;
	bottom: 1.25rem;
	width: 64px;
	height: 64px;
	background: radial-gradient(circle, rgba(var(--brand-primary-rgb), 0.06) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}

.pres-letter__greeting {
	margin: 0 0 1rem;
	font-family: var(--font-family);
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--header-nav-teal);
	line-height: 1.3;
}

.pres-letter__headline {
	margin: 0 0 1.15rem;
	font-family: var(--font-headings);
	font-size: clamp(1.25rem, 2vw, 1.55rem);
	font-weight: 800;
	color: #1f2937;
	line-height: 1.3;
}

.pres-letter__message {
	margin-bottom: 2rem;
	font-size: 1.02rem;
	line-height: 1.9;
	color: #4b5563;
}

.pres-letter__message p {
	margin: 0 0 1rem;
}

.pres-letter__message p:last-child {
	margin-bottom: 0;
}

.pres-letter__signoff {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.35rem;
	max-width: 280px;
}

.pres-letter__signature {
	max-height: 56px;
	width: auto;
	margin-bottom: 0.15rem;
	filter: none;
}

.pres-letter__sign-line {
	display: block;
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg, var(--header-nav-teal) 0%, rgba(var(--brand-primary-rgb), 0.15) 100%);
	margin-bottom: 0.5rem;
}

.pres-letter__sign-name {
	font-style: normal;
	font-family: var(--font-headings);
	font-size: 1.15rem;
	font-weight: 800;
	color: #1f2937;
	line-height: 1.25;
}

.pres-letter__sign-role {
	font-size: 0.9rem;
	color: #6b7280;
}

/* President section — message / video tabs (letter layout unchanged) */
.pres-president-content {
	max-width: 100%;
}

.pres-section-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin: 0 0 2rem;
}

.pres-section-tab {
	margin: 0;
	padding: 0.65rem 1.35rem;
	border: 2px solid rgba(var(--brand-primary-rgb), 0.2);
	border-radius: 999px;
	background: #ffffff;
	color: #4b5563;
	font-family: var(--font-family);
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.pres-section-tab:hover,
.pres-section-tab:focus-visible {
	border-color: var(--header-nav-teal);
	color: var(--header-nav-teal);
	outline: none;
}

.pres-section-tab.is-active {
	border-color: var(--header-nav-teal);
	background: var(--header-nav-teal);
	color: #ffffff;
}

.pres-section-pane {
	display: none;
}

.pres-section-pane.is-active {
	display: block;
}

.pres-video-section {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0.5rem 0 1rem;
}

.pres-video-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.35rem 0.5rem;
	margin: 0 0 1rem;
	max-width: 300px;
}

.pres-video-tab {
	margin: 0;
	padding: 0.4rem 0.65rem;
	border: none;
	border-radius: 6px;
	background: transparent;
	color: #6b7280;
	font-family: var(--font-family);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: color 0.2s ease, background 0.2s ease;
}

.pres-video-tab:hover,
.pres-video-tab:focus-visible {
	color: var(--header-accent-orange);
	outline: none;
}

.pres-video-tab.is-active {
	color: var(--header-accent-orange);
	background: rgba(245, 166, 35, 0.12);
}

.pres-video-phone {
	position: relative;
	width: min(100%, 280px);
	aspect-ratio: 9 / 16;
	padding: 10px;
	border-radius: 32px;
	background: linear-gradient(165deg, #3a3a3a 0%, #1a1a1a 55%, #0d0d0d 100%);
	box-shadow:
		0 0 0 2px #4a4a4a,
		0 24px 48px rgba(15, 23, 42, 0.22);
}

.pres-video-pane {
	position: absolute;
	inset: 10px;
	display: none;
	border-radius: 24px;
	overflow: hidden;
	background: #000000;
}

.pres-video-pane.is-active {
	display: block;
}

.pres-video-embed {
	width: 100%;
	height: 100%;
}

.pres-video-embed iframe,
.pres-video-embed__iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: 20px;
}

.pres-video-pane--instagram .pres-video-embed,
.pres-video-pane--facebook .pres-video-embed {
	display: flex;
	align-items: center;
	justify-content: center;
}

.pres-video-pane--instagram .pres-video-embed iframe,
.pres-video-pane--instagram .pres-video-embed blockquote {
	max-width: 100%;
	margin: 0 auto;
}

.pres-video-active-label {
	margin: 1rem 0 0;
	font-family: var(--font-family);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-align: center;
	color: var(--header-accent-orange);
}

.pres-video-empty {
	max-width: 28rem;
	margin: 0 auto;
	padding: 2rem 1.5rem;
	text-align: center;
	color: #6b7280;
	font-size: 0.95rem;
	line-height: 1.6;
}

.pres-video-fallback {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	height: 100%;
	padding: 1.5rem;
	text-align: center;
	color: #e5e7eb;
}

.pres-video-fallback__icon {
	font-size: 2.5rem;
	color: #ffffff;
	opacity: 0.85;
}

.pres-video-fallback p {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.5;
}

.pres-video-fallback__link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.55rem 1.1rem;
	border-radius: 999px;
	background: var(--header-accent-orange);
	color: #1f2937;
	font-size: 0.85rem;
	font-weight: 700;
	text-decoration: none;
}

.pres-video-fallback__link:hover {
	filter: brightness(1.05);
	color: #1f2937;
}

.pres-letter-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.25rem;
	margin-top: 2rem;
}

.pres-letter-controls__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(var(--brand-primary-rgb), 0.25);
	border-radius: 50%;
	background: #ffffff;
	color: var(--header-nav-teal);
	font-size: 0.85rem;
	cursor: pointer;
	transition: var(--transition-smooth);
}

.pres-letter-controls__btn:hover {
	background: var(--header-nav-teal);
	border-color: var(--header-nav-teal);
	color: #ffffff;
}

.pres-letter-controls__btn:focus-visible {
	outline: 2px solid var(--header-accent-orange);
	outline-offset: 2px;
}

.pres-letter-dots {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.pres-letter-dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: #d1d5db;
	cursor: pointer;
	transition: var(--transition-smooth);
}

.pres-letter-dot.is-active {
	width: 28px;
	border-radius: 999px;
	background: var(--header-nav-teal);
}

@media (max-width: 992px) {
	.pres-letter {
		grid-template-columns: 1fr;
	}

	.pres-letter__photo-panel {
		min-height: 320px;
	}

	.pres-letter__photo-panel--frame-full .pres-letter__portrait img,
	.pres-letter__photo-panel--frame-full .pres-letter__portrait-fallback,
	.pres-letter__photo-panel--frame-gold .pres-letter__portrait img,
	.pres-letter__photo-panel--frame-gold .pres-letter__portrait-fallback,
	.pres-letter__photo-panel--frame-rounded .pres-letter__portrait img,
	.pres-letter__photo-panel--frame-rounded .pres-letter__portrait-fallback,
	.pres-letter__photo-panel--frame-arch .pres-letter__portrait img,
	.pres-letter__photo-panel--frame-arch .pres-letter__portrait-fallback,
	.pres-letter__photo-panel--frame-teal-glow .pres-letter__portrait img,
	.pres-letter__photo-panel--frame-teal-glow .pres-letter__portrait-fallback {
		min-height: 320px;
	}

	.pres-letter__photo-panel--frame-circle .pres-letter__portrait {
		width: min(72vw, 280px);
	}

	.pres-letter__photo-panel--frame-polaroid .pres-letter__portrait img,
	.pres-letter__photo-panel--frame-polaroid .pres-letter__portrait-fallback {
		min-height: 280px;
	}

	.pres-letter__body::before {
		width: 100%;
		height: 4px;
	}

	.pres-letter-track {
		min-height: auto;
	}
}

@media (max-width: 576px) {
	.pres-letter-section-subtitle {
		font-size: 0.875rem;
	}

	.pres-letter-subtitle-line {
		width: 32px;
	}

	.pres-letter__paper {
		padding: 1.75rem 1.35rem 1.75rem 1.5rem;
	}
}


/* 13.4 OUR DIRECTION SECTION */
.jci-direction-section {
	background: linear-gradient(
		165deg,
		var(--brand-primary-dark) 0%,
		var(--brand-primary) 50%,
		#1a1250 100%
	);
}

.jci-direction-section .section-badge {
	color: #ffffff;
}

.jci-direction-section .section-badge::before,
.jci-direction-section .section-badge::after {
	color: var(--brand-secondary);
}

.direction-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

@media (max-width: 992px) {
	.direction-grid {
		grid-template-columns: 1fr;
	}
}

.direction-card {
	border-radius: var(--radius-md);
	padding: 2.5rem;
	text-align: center;
	transition: var(--transition-smooth);
	border: 1px solid transparent;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.mission-card {
	border-top: 4px solid var(--brand-tertiary);
	background: linear-gradient(
		165deg,
		rgba(var(--brand-tertiary-rgb), 0.28) 0%,
		rgba(12, 28, 68, 0.96) 55%,
		rgba(var(--brand-primary-rgb), 0.98) 100%
	);
	border-color: rgba(var(--brand-tertiary-rgb), 0.38);
}

.vision-card {
	border-top: 4px solid var(--brand-tertiary);
	background: linear-gradient(
		165deg,
		rgba(var(--brand-tertiary-rgb), 0.22) 0%,
		rgba(18, 32, 72, 0.96) 55%,
		rgba(var(--brand-primary-rgb), 0.98) 100%
	);
	border-color: rgba(var(--brand-tertiary-rgb), 0.32);
}

.goal-card {
	border-top: 4px solid var(--brand-tertiary);
	background: linear-gradient(
		165deg,
		rgba(var(--brand-tertiary-rgb), 0.18) 0%,
		rgba(28, 22, 58, 0.96) 55%,
		rgba(var(--brand-primary-rgb), 0.98) 100%
	);
	border-color: rgba(var(--brand-tertiary-rgb), 0.28);
}

.direction-card:hover {
	transform: translateY(-6px);
}

.mission-card:hover {
	border-color: rgba(var(--brand-tertiary-rgb), 0.65);
	box-shadow: 0 22px 48px rgba(var(--brand-tertiary-rgb), 0.28);
}

.vision-card:hover {
	border-color: rgba(var(--brand-tertiary-rgb), 0.55);
	box-shadow: 0 22px 48px rgba(var(--brand-tertiary-rgb), 0.24);
}

.goal-card:hover {
	border-color: rgba(var(--brand-tertiary-rgb), 0.5);
	box-shadow: 0 22px 48px rgba(var(--brand-tertiary-rgb), 0.2);
}

.dir-icon-wrapper {
	width: 70px;
	height: 70px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	margin: 0 auto 1.5rem auto;
}

.blue-glow {
	background: rgba(var(--brand-tertiary-rgb), 0.2);
	color: var(--brand-tertiary);
	box-shadow: 0 0 0 1px rgba(var(--brand-tertiary-rgb), 0.35);
}

.green-glow {
	background: rgba(var(--brand-tertiary-rgb), 0.16);
	color: var(--brand-tertiary);
	box-shadow: 0 0 0 1px rgba(var(--brand-tertiary-rgb), 0.28);
}

.orange-glow {
	background: rgba(var(--brand-tertiary-rgb), 0.14);
	color: var(--brand-tertiary);
	box-shadow: 0 0 0 1px rgba(var(--brand-tertiary-rgb), 0.25);
}

.direction-card:hover .blue-glow,
.direction-card:hover .green-glow,
.direction-card:hover .orange-glow {
	box-shadow: 0 0 24px rgba(var(--brand-tertiary-rgb), 0.38);
}

.dir-title {
	font-size: 1.35rem;
	margin-top: 0;
	margin-bottom: 1rem;
	color: #ffffff;
}

.jci-direction-section .dir-desc {
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.78);
	margin: 0;
	line-height: 1.6;
}


/* 13.5 UPCOMING EVENTS SECTION */
.events-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

@media (max-width: 992px) {
	.events-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.events-grid {
		grid-template-columns: 1fr;
	}
}

.event-card {
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: var(--transition-smooth);
}

.event-card:hover {
	transform: translateY(-3px);
	border-color: var(--border-color-hover);
	box-shadow: var(--shadow-md);
}

.event-date-box {
	height: 120px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: white;
	text-align: center;
}

.color-violet { background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%); }
.color-green { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.color-orange { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.color-pink { background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); }

.event-month {
	font-size: 0.85rem;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 0.1em;
}

.event-day {
	font-size: 2.25rem;
	font-weight: 800;
	line-height: 1;
	margin: 0.25rem 0;
}

.event-year {
	font-size: 0.75rem;
	opacity: 0.8;
}

.event-info {
	padding: 1.25rem;
}

.event-title {
	font-size: 1.1rem;
	margin-top: 0;
	margin-bottom: 1rem;
	line-height: 1.35;
	height: 2.7em;
	overflow: hidden;
}

.event-title a {
	color: var(--color-text-primary);
}

.event-title a:hover {
	color: var(--primary);
}

.event-meta-info {
	border-top: 1px solid var(--border-color);
	padding-top: 0.75rem;
	font-size: 0.8rem;
	color: var(--color-text-secondary);
}

.event-meta-info p {
	margin-bottom: 0.4rem;
}

.event-meta-info p:last-child {
	margin-bottom: 0;
}


/* 13.6 GALLERY (dynamic) */
.jci-gallery-section {
	background: linear-gradient(
		180deg,
		var(--brand-primary-dark) 0%,
		var(--brand-primary) 40%,
		#1a1250 100%
	);
	overflow: hidden;
}

.jci-gallery-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
	margin-bottom: 1.75rem;
}

.jci-gallery-eyebrow {
	margin: 0 0 0.35rem;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--brand-tertiary);
}

.jci-gallery-title {
	margin: 0;
	font-size: clamp(1.75rem, 3vw, 2.35rem);
	font-weight: 800;
	color: #ffffff;
	letter-spacing: -0.02em;
}

.jci-gallery-view-btn {
	border-color: rgba(var(--brand-tertiary-rgb), 0.45) !important;
	color: #ffffff !important;
}

.jci-gallery-view-btn:hover {
	background: var(--brand-secondary) !important;
	border-color: var(--brand-secondary) !important;
	color: #ffffff !important;
}

.jci-gallery-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 2rem;
}

.jci-gallery-filter {
	margin: 0;
	padding: 0.5rem 1.1rem;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 999px;
	background: transparent;
	color: rgba(255, 255, 255, 0.75);
	font-family: var(--font-family);
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.jci-gallery-filter:hover,
.jci-gallery-filter.is-active {
	border-color: var(--brand-secondary);
	background: var(--brand-secondary);
	color: #ffffff;
}

.jci-gallery-empty {
	padding: 3rem 1.5rem;
	text-align: center;
	color: rgba(255, 255, 255, 0.7);
	border: 1px dashed rgba(255, 255, 255, 0.2);
	border-radius: var(--radius-md);
}

/* Shared missing-content notices */
.jci-empty-state {
	text-align: center;
	padding: 2rem 1.25rem;
	border-radius: var(--radius-md, 12px);
	border: 1px dashed rgba(15, 23, 42, 0.12);
	background: rgba(248, 250, 252, 0.9);
}

.jci-empty-state p {
	margin: 0;
	color: #64748b;
	font-size: 0.95rem;
	line-height: 1.6;
}

.jci-empty-state a {
	color: var(--brand-secondary, #57bcbc);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.jci-empty-state a:hover {
	color: var(--brand-primary, #1e3a5f);
}

.jci-empty-state--footer {
	padding: 0.75rem 0;
	border: none;
	background: transparent;
	text-align: left;
}

.jci-empty-state--footer p {
	color: rgba(255, 255, 255, 0.65);
	font-size: 0.875rem;
}

.jci-empty-state--footer a {
	color: #7ee0e0;
}

.jci-empty-state--inline {
	padding: 1.5rem 1rem;
	grid-column: 1 / -1;
}

.jci-empty-state--events p {
	margin-bottom: 0;
}

.jci-contact-map-empty {
	margin-top: 0.75rem;
	text-align: left;
}

.jci-gallery-stage {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.jci-gallery-stage--empty {
	min-height: 120px;
}

.jci-gallery-item {
	position: relative;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: var(--radius-md);
	overflow: hidden;
	cursor: pointer;
	background: rgba(0, 0, 0, 0.2);
	opacity: 0;
	transform: translateY(24px) scale(0.97);
	transition:
		opacity 0.55s ease calc(var(--gallery-i, 0) * 0.07s),
		transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--gallery-i, 0) * 0.07s),
		box-shadow 0.3s ease;
}

.jci-gallery-item.is-revealed {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.jci-gallery-item.is-filtered-out {
	display: none !important;
}

.jci-gallery-item__media,
.jci-gallery-item__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.jci-gallery-item--spotlight,
.jci-gallery-item--zone-spotlight {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	min-height: 0;
	max-height: min(420px, 52vh);
	aspect-ratio: 16 / 9;
	padding: 0;
	border: none;
	font: inherit;
	text-align: inherit;
}

.jci-gallery-item--spotlight .jci-gallery-item__media,
.jci-gallery-item--zone-spotlight .jci-gallery-item__media {
	position: absolute;
	inset: 0;
}

.jci-gallery-item--spotlight .jci-gallery-item__media img,
.jci-gallery-item--zone-spotlight .jci-gallery-item__media img {
	width: 100%;
	height: 100%;
	min-height: 0;
	object-fit: cover;
}

.jci-gallery-stage--single .jci-gallery-item--spotlight,
.jci-gallery-stage--single .jci-gallery-item--zone-spotlight {
	max-height: min(380px, 48vh);
	aspect-ratio: 16 / 9;
}

.jci-gallery-stage--single .jci-gallery-mosaic {
	display: none;
}

.jci-gallery-mosaic {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	grid-auto-rows: 110px;
	gap: 1rem;
}

.jci-gallery-item--standard {
	grid-column: span 4;
	grid-row: span 2;
}

.jci-gallery-item--wide {
	grid-column: span 8;
	grid-row: span 2;
}

.jci-gallery-item--tall {
	grid-column: span 4;
	grid-row: span 3;
}

.jci-gallery-item--hero:not(.jci-gallery-item--zone-spotlight) {
	grid-column: span 6;
	grid-row: span 3;
}

.jci-gallery-item__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: 0.5rem;
	padding: 1.25rem;
	background: linear-gradient(180deg, transparent 35%, rgba(var(--brand-primary-rgb), 0.88) 100%);
	color: #ffffff;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.jci-gallery-item:hover .jci-gallery-item__overlay,
.jci-gallery-item:focus-visible .jci-gallery-item__overlay {
	opacity: 1;
}

.jci-gallery-item:hover {
	box-shadow: 0 20px 40px rgba(var(--brand-secondary-rgb), 0.25);
	transform: translateY(-4px) scale(1.01);
}

.jci-gallery-item.is-revealed:hover {
	transform: translateY(-4px) scale(1.01);
}

.jci-gallery-item__title {
	font-size: 0.95rem;
	font-weight: 700;
	text-align: center;
}

.jci-gallery-strip {
	margin-top: 2.5rem;
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.jci-gallery-strip__track {
	display: flex;
	gap: 1rem;
	width: max-content;
	animation: jciGalleryMarquee 45s linear infinite;
}

.jci-gallery-item--zone-strip {
	flex: 0 0 220px;
	width: 220px;
	height: 140px;
	cursor: default;
	opacity: 1;
	transform: none;
}

@keyframes jciGalleryMarquee {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

.jci-gallery-lightbox {
	max-width: min(92vw, 960px);
	width: 100%;
	padding: 0;
	border: none;
	border-radius: var(--radius-md);
	background: var(--brand-primary);
	color: #ffffff;
}

.jci-gallery-lightbox::backdrop {
	background: rgba(0, 0, 0, 0.82);
}

.jci-gallery-lightbox__close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 2;
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	color: #ffffff;
	cursor: pointer;
}

.jci-gallery-lightbox__figure {
	margin: 0;
}

.jci-gallery-lightbox__figure img {
	display: block;
	width: 100%;
	max-height: 80vh;
	object-fit: contain;
}

.jci-gallery-lightbox__figure figcaption {
	padding: 1rem 1.25rem;
	font-size: 0.95rem;
	text-align: center;
}

@media (max-width: 992px) {
	.jci-gallery-mosaic {
		grid-template-columns: repeat(6, 1fr);
		grid-auto-rows: 100px;
	}

	.jci-gallery-item--standard,
	.jci-gallery-item--tall {
		grid-column: span 3;
		grid-row: span 2;
	}

	.jci-gallery-item--wide,
	.jci-gallery-item--hero {
		grid-column: span 6;
		grid-row: span 2;
	}
}

@media (max-width: 600px) {
	.jci-gallery-mosaic {
		grid-template-columns: repeat(2, 1fr);
		grid-auto-rows: 120px;
	}

	.jci-gallery-item--standard,
	.jci-gallery-item--wide,
	.jci-gallery-item--tall,
	.jci-gallery-item--hero {
		grid-column: span 2;
		grid-row: span 1;
		min-height: 160px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jci-gallery-item {
		opacity: 1;
		transform: none;
		transition: box-shadow 0.2s ease;
	}

	.jci-gallery-strip__track {
		animation: none;
	}
}

/* Blog rows (legacy) */
.gallery-blog-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
}

/* Blog Rows */
.blog-list-rows {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.blog-row-item {
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	padding: 1.25rem;
	display: flex;
	gap: 1.25rem;
	align-items: center;
	transition: var(--transition-smooth);
}

.blog-row-item:hover {
	transform: translateX(5px);
	border-color: var(--border-color-hover);
	box-shadow: var(--shadow-glow);
}

.blog-row-thumb {
	width: 90px;
	height: 90px;
	border-radius: var(--radius-sm);
	overflow: hidden;
	flex-shrink: 0;
	border: 1px solid var(--border-color);
}

.blog-row-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.thumb-placeholder {
	width: 100%;
	height: 100%;
	background: var(--bg-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.75rem;
}

.blog-row-content {
	flex-grow: 1;
}

.blog-row-title {
	font-size: 1.1rem;
	margin-top: 0;
	margin-bottom: 0.5rem;
}

.blog-row-title a {
	color: var(--color-text-primary);
}

.blog-row-title a:hover {
	color: var(--primary);
}

.blog-row-excerpt {
	font-size: 0.85rem;
	color: var(--color-text-secondary);
	margin-top: 0;
	margin-bottom: 0.5rem;
}

.blog-row-date {
	font-size: 0.75rem;
	color: var(--color-text-muted);
}


/* 13.7 BOARD OF DIRECTORS (Donat volunteer-style) */
.jci-board-section {
	position: relative;
	isolation: isolate;
	background: linear-gradient(180deg, #f4f8fb 0%, #ffffff 140px);
	overflow: visible;
}

.jci-board-section .content-container,
.jci-board-section .board-carousel-wrap {
	position: relative;
	z-index: 2;
}

/* Decorative hand + heart (footer-bg-shape artwork) */
.jci-board-decor {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.jci-board-decor__glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(48px);
	opacity: 0;
	transition: opacity 1.2s ease 0.2s;
}

.jci-board-decor__glow--left {
	top: 8%;
	left: -4%;
	width: 280px;
	height: 280px;
	background: rgba(var(--brand-tertiary-rgb), 0.35);
}

.jci-board-decor__glow--right {
	right: -6%;
	bottom: 6%;
	width: 320px;
	height: 320px;
	background: rgba(255, 193, 7, 0.28);
}

.jci-board-decor__shape {
	position: absolute;
	display: block;
	height: auto;
	object-fit: contain;
	opacity: 0;
	will-change: transform, opacity;
}

/* Black-backed PNG: screen removes dark, keeps yellow/teal on light bg */
.jci-board-decor__shape--back {
	right: -3%;
	bottom: 0;
	width: min(380px, 42vw);
	max-width: 420px;
	transform: translate3d(24px, 32px, 0) scale(0.92) rotate(-6deg);
	filter: drop-shadow(0 18px 40px rgba(var(--brand-primary-rgb), 0.08));
	mix-blend-mode: screen;
	animation: boardDecorDriftBack 11s ease-in-out infinite;
}

.jci-board-decor__shape--front {
	right: 1%;
	bottom: 8%;
	width: min(320px, 36vw);
	max-width: 360px;
	transform: translate3d(0, 0, 0);
	mix-blend-mode: screen;
	animation: boardDecorDriftFront 7s ease-in-out infinite;
}

.jci-board-decor__spark {
	position: absolute;
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--brand-tertiary);
	opacity: 0;
	box-shadow: 0 0 12px rgba(var(--brand-tertiary-rgb), 0.55);
}

.jci-board-decor__spark--1 {
	top: 22%;
	right: 28%;
	animation: boardDecorSpark 4s ease-in-out infinite;
}

.jci-board-decor__spark--2 {
	top: 38%;
	right: 18%;
	width: 6px;
	height: 6px;
	animation: boardDecorSpark 5.5s ease-in-out infinite 0.8s;
}

.jci-board-decor__spark--3 {
	bottom: 28%;
	right: 34%;
	width: 5px;
	height: 5px;
	background: #f5b800;
	box-shadow: 0 0 10px rgba(245, 184, 0, 0.5);
	animation: boardDecorSpark 6s ease-in-out infinite 1.6s;
}

.jci-board-section.is-decor-visible .jci-board-decor__glow {
	opacity: 1;
}

.jci-board-section.is-decor-visible .jci-board-decor__shape--back {
	animation:
		boardDecorReveal 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards,
		boardDecorDriftBack 11s ease-in-out 1.1s infinite;
}

.jci-board-section.is-decor-visible .jci-board-decor__shape--front {
	animation:
		boardDecorReveal 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards,
		boardDecorDriftFront 7s ease-in-out 1.25s infinite;
}

.jci-board-section.is-decor-visible .jci-board-decor__spark {
	animation: boardDecorSpark 4s ease-in-out infinite;
}

@keyframes boardDecorReveal {
	from {
		opacity: 0;
		transform: translate3d(40px, 48px, 0) scale(0.88) rotate(-4deg);
	}
	to {
		opacity: 0.95;
		transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
	}
}

@keyframes boardDecorDriftFront {
	0%,
	100% {
		transform: translate3d(0, 0, 0) rotate(0deg);
	}
	50% {
		transform: translate3d(-10px, -16px, 0) rotate(2deg);
	}
}

@keyframes boardDecorDriftBack {
	0%,
	100% {
		transform: translate3d(24px, 32px, 0) scale(0.92) rotate(-6deg);
	}
	50% {
		transform: translate3d(12px, 18px, 0) scale(0.94) rotate(-3deg);
	}
}

@keyframes boardDecorSpark {
	0%,
	100% {
		opacity: 0;
		transform: translateY(0) scale(0.6);
	}
	40% {
		opacity: 0.85;
		transform: translateY(-8px) scale(1);
	}
	70% {
		opacity: 0.2;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jci-board-decor__shape--back,
	.jci-board-decor__shape--front,
	.jci-board-decor__spark {
		animation: none !important;
	}

	.jci-board-section.is-decor-visible .jci-board-decor__shape {
		opacity: 0.9;
	}
}

@media (max-width: 900px) {
	.jci-board-decor__shape--back {
		width: min(280px, 55vw);
		right: -18%;
		opacity: 0.75;
	}

	.jci-board-decor__shape--front {
		width: min(240px, 48vw);
		right: -12%;
		bottom: 4%;
	}

	.jci-board-decor__spark {
		display: none;
	}
}

.jci-board-section .content-container {
	width: 98%;
	max-width: var(--header-max-width);
}

.board-section-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 3rem;
}

.board-section-header h2,
.news-section-header h2 {
	margin-top: 0;
	margin-bottom: 0;
}

.board-carousel-wrap {
	width: min(98%, var(--board-carousel-max-width));
	max-width: var(--board-carousel-max-width);
	margin: 0 auto;
	padding: 0 0.25rem;
	overflow: visible;
}

.jci-board-view-all {
	margin: 1.75rem 0 0;
}

.jci-board-section .btn-small-outline {
	color: var(--brand-primary) !important;
	background: #ffffff !important;
	border: 1px solid rgba(var(--brand-tertiary-rgb), 0.45) !important;
	box-shadow: none !important;
}

.jci-board-section .btn-small-outline:hover {
	background: var(--brand-tertiary) !important;
	border-color: var(--brand-tertiary) !important;
	color: #ffffff !important;
}

.board-section-subtitle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin: 0;
	color: var(--header-accent-orange);
}

.board-subtitle-line {
	display: inline-block;
	width: 48px;
	height: 2px;
	background: var(--header-accent-orange);
	border-radius: 2px;
}

.board-section-title {
	position: relative;
	display: inline-block;
	color: #1f2937;
}

.board-title-hearts {
	position: absolute;
	top: -15px;
	right: -45px;
	height: 28px;
	width: auto;
	opacity: 0.7;
	pointer-events: none;
}

.board-slider {
	position: relative;
	display: flex;
	align-items: stretch;
	gap: 0.75rem;
	margin: 0 -0.5rem;
}

.board-scroll {
	flex: 1;
	min-width: 0;
	min-height: fit-content;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding: 0.75rem 0 1.5rem;
	container-type: inline-size;
	container-name: board-viewport;
	scroll-snap-type: x mandatory;
}

.board-scroll-btn {
	flex-shrink: 0;
	align-self: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(var(--brand-primary-rgb), 0.2);
	border-radius: 50%;
	background: #ffffff;
	color: var(--header-nav-teal);
	font-size: 0.95rem;
	cursor: pointer;
	transition: var(--transition-smooth);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.board-scroll-btn:hover {
	background: var(--header-nav-teal);
	color: #ffffff;
	border-color: var(--header-nav-teal);
}

.board-scroll-btn:focus-visible {
	outline: 2px solid var(--header-accent-orange);
	outline-offset: 2px;
}

.board-scroll::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

.board-track {
	display: flex;
	align-items: stretch;
	gap: var(--board-card-gap);
	width: max-content;
	padding: 1rem 0.25rem 1rem;
}

.board-card {
	position: relative;
	flex: 0 0 calc((100cqw - (var(--board-cards-visible) - 1) * var(--board-card-gap)) / var(--board-cards-visible));
	width: calc((100cqw - (var(--board-cards-visible) - 1) * var(--board-card-gap)) / var(--board-cards-visible));
	min-width: 0;
	flex-shrink: 0;
	scroll-snap-align: start;
	text-align: center;
	transition: transform 0.3s ease;
}

/* Desktop: always 4 smaller cards — do not drop to 3 when arrows narrow the scroll area */
@media (min-width: 993px) {
	.board-card {
		flex: 0 0 var(--board-card-width);
		width: var(--board-card-width);
	}
}

@supports not (width: 1cqw) {
	.board-card {
		flex: 0 0 var(--board-card-width);
		width: var(--board-card-width);
	}
}

.board-card:hover {
	transform: translateY(-4px);
}

.board-card-top {
	position: relative;
	overflow: visible;
	background: #ececec;
	border-radius: 18px 18px 0 0;
	padding: 1.15rem 1rem 2.65rem;
	z-index: 1;
}

.board-card-top::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: -1px;
	transform: translateX(-50%);
	width: 64px;
	height: 32px;
	background: #ececec;
	border-radius: 0 0 64px 64px;
}

.board-card-image {
	position: relative;
	width: 100%;
	max-width: none;
	margin: 0 auto;
	aspect-ratio: var(--board-card-image-ratio);
	overflow: hidden;
	border-radius: 16px 16px 48% 48%;
	background: #d9d9d9;
}

.board-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
}

.board-avatar-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 3rem;
	color: #9ca3af;
	background: linear-gradient(180deg, #e5e5e5 0%, #d1d1d1 100%);
}

.board-card-action {
	position: absolute;
	left: 50%;
	bottom: -18px;
	transform: translateX(-50%);
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--header-nav-teal);
	color: #ffffff;
	font-size: 0.85rem;
	border: 2px solid #ffffff;
	box-shadow: 0 4px 12px rgba(var(--brand-primary-rgb), 0.3);
	transition: var(--transition-smooth);
}

/* Social fan (reference: upward arc + orange toggle when open) */
.board-card-social-wrap {
	position: absolute;
	left: 50%;
	bottom: -20px;
	transform: translateX(-50%);
	z-index: 6;
	width: 40px;
	height: 40px;
}

.board-card-toggle {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 2px solid #ffffff;
	border-radius: 50%;
	background: var(--header-nav-teal);
	color: #ffffff;
	font-size: 0.85rem;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(var(--brand-primary-rgb), 0.3);
	transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.board-card-toggle-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.board-card-toggle-icon--close {
	display: none;
}

.board-card-socials {
	--social-arc: 140;
	--social-radius: 68px;

	position: absolute;
	left: 50%;
	bottom: 50%;
	width: 0;
	height: 0;
	pointer-events: none;
}

.board-social-link {
	position: absolute;
	left: 0;
	top: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin: -17px 0 0 -17px;
	border-radius: 50%;
	background: #ffffff;
	color: var(--header-nav-teal);
	font-size: 0.95rem;
	text-decoration: none;
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
	opacity: 0;
	pointer-events: none;
	transform:
		rotate(calc(-90deg - (var(--social-arc) * 1deg / 2) + (var(--social-arc) * 1deg / max(var(--social-count) - 1, 1)) * var(--social-i)))
		translateY(calc(-1 * var(--social-radius)))
		rotate(calc(90deg + (var(--social-arc) * 1deg / 2) - (var(--social-arc) * 1deg / max(var(--social-count) - 1, 1)) * var(--social-i)))
		scale(0.35);
	transition:
		opacity 0.28s ease var(--social-delay, 0s),
		transform 0.4s cubic-bezier(0.34, 1.25, 0.64, 1) var(--social-delay, 0s),
		background 0.2s ease,
		color 0.2s ease;
}

.board-social-link i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1em;
}

.board-social-link--facebook { color: #1877f2; }
.board-social-link--instagram { color: #e4405f; }
.board-social-link--linkedin { color: #0a66c2; }
.board-social-link--youtube { color: #ff0000; }
.board-social-link--twitter { color: #14171a; }
.board-social-link--tiktok { color: #000000; }

.board-social-link:hover {
	background: var(--header-accent-orange);
	color: #ffffff;
}

/* Reveal socials + active card styling (hover or tap) */
.board-card--has-social:hover .board-card-socials,
.board-card--has-social.is-social-open .board-card-socials {
	pointer-events: auto;
}

.board-card--has-social:hover .board-social-link,
.board-card--has-social.is-social-open .board-social-link {
	opacity: 1;
	pointer-events: auto;
	transform:
		rotate(calc(-90deg - (var(--social-arc) * 1deg / 2) + (var(--social-arc) * 1deg / max(var(--social-count) - 1, 1)) * var(--social-i)))
		translateY(calc(-1 * var(--social-radius)))
		rotate(calc(90deg + (var(--social-arc) * 1deg / 2) - (var(--social-arc) * 1deg / max(var(--social-count) - 1, 1)) * var(--social-i)))
		scale(1);
}

.board-card--has-social:hover .board-card-toggle,
.board-card--has-social.is-social-open .board-card-toggle {
	background: var(--header-accent-orange);
	transform: scale(1.06);
	box-shadow: 0 8px 20px rgba(245, 166, 35, 0.45);
}

.board-card--has-social:hover .board-card-toggle-icon--plus,
.board-card--has-social.is-social-open .board-card-toggle-icon--plus {
	display: none;
}

.board-card--has-social:hover .board-card-toggle-icon--close,
.board-card--has-social.is-social-open .board-card-toggle-icon--close {
	display: inline-flex;
}

.board-card--has-social:hover .board-card-bottom,
.board-card--has-social.is-social-open .board-card-bottom {
	background: var(--header-nav-teal);
}

.board-card--has-social:hover .board-card-bottom::before,
.board-card--has-social.is-social-open .board-card-bottom::before {
	background: var(--header-nav-teal);
}

.board-card--has-social:hover .board-name,
.board-card--has-social.is-social-open .board-name {
	color: #ffffff;
}

.board-card--has-social:hover .board-title-post,
.board-card--has-social.is-social-open .board-title-post {
	color: var(--header-accent-orange);
}

.board-card--has-social:hover .board-blood-meta,
.board-card--has-social.is-social-open .board-blood-meta {
	color: rgba(255, 255, 255, 0.85);
}

@media (prefers-reduced-motion: reduce) {
	.board-social-link {
		transition: opacity 0.15s ease, background 0.2s ease, color 0.2s ease;
	}
}

.board-card-bottom {
	position: relative;
	background: var(--brand-tertiary-soft);
	border-radius: 18px;
	padding: 2.15rem 1rem 1.25rem;
	margin-top: -16px;
	z-index: 0;
}

.board-card-bottom::before {
	content: '';
	position: absolute;
	top: -16px;
	left: 50%;
	transform: translateX(-50%);
	width: 64px;
	height: 32px;
	background: var(--brand-tertiary-soft);
	border-radius: 64px 64px 0 0;
}

.board-name {
	position: relative;
	z-index: 1;
	font-family: var(--font-headings);
	font-size: 1.02rem;
	font-weight: 700;
	color: #1f2937;
	margin: 0 0 0.3rem;
	line-height: 1.3;
}

.board-title-post {
	position: relative;
	z-index: 1;
	font-size: 0.82rem;
	color: #6b7280;
	margin: 0;
	line-height: 1.35;
}

.board-blood-meta {
	position: relative;
	z-index: 1;
	display: inline-block;
	margin-top: 0.4rem;
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--header-nav-teal);
	letter-spacing: 0.04em;
}

@container board-viewport (max-width: 820px) {
	.board-card {
		flex: 0 0 calc((100cqw - 2 * var(--board-card-gap)) / 3);
		width: calc((100cqw - 2 * var(--board-card-gap)) / 3);
	}
}

@container board-viewport (max-width: 540px) {
	.board-card {
		flex: 0 0 calc((100cqw - var(--board-card-gap)) / 2);
		width: calc((100cqw - var(--board-card-gap)) / 2);
	}
}

@container board-viewport (max-width: 420px) {
	.board-card {
		flex: 0 0 100cqw;
		width: 100cqw;
	}
}

@media (max-width: 768px) {
	.board-section-subtitle {
		font-size: 0.875rem;
	}

	.board-subtitle-line {
		width: 32px;
	}

	.board-scroll-btn {
		width: 40px;
		height: 40px;
		font-size: 0.85rem;
	}
}

@media (max-width: 480px) {
	.board-slider {
		gap: 0.4rem;
		margin: 0 -0.25rem;
	}

	.board-scroll-btn {
		width: 36px;
		height: 36px;
	}
}


/* Section transition (News → Board, etc.) */
.jci-section-transition {
	position: relative;
	margin-top: 2rem;
	line-height: 0;
	color: #f0f4f8;
	pointer-events: none;
	user-select: none;
}

.jci-section-transition--news-board {
	margin-top: 1.5rem;
	margin-bottom: -1px;
}

.jci-section-transition__wave svg {
	display: block;
	width: 100%;
	height: clamp(48px, 6vw, 72px);
}

.jci-section-transition__ornament {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.85rem;
	padding: 0.35rem 1rem;
	background: rgba(255, 255, 255, 0.92);
	border-radius: 999px;
	box-shadow: 0 4px 18px rgba(var(--brand-primary-rgb), 0.08);
	border: 1px solid rgba(var(--brand-primary-rgb), 0.08);
}

.jci-section-transition__line {
	display: block;
	width: clamp(40px, 8vw, 72px);
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, transparent, var(--header-accent-orange) 45%, transparent);
}

.jci-section-transition__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	font-size: 0.7rem;
	color: #ffffff;
	background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
	box-shadow: 0 2px 8px rgba(var(--brand-primary-rgb), 0.25);
}

/* 13.7b NEWS & ARTICLES (Donat-style carousel) */
.jci-news-section {
	background: #ffffff;
	overflow: visible;
	padding-bottom: 0;
}

.jci-news-section .content-container {
	width: 98%;
	max-width: var(--header-max-width);
}

.news-section-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 2rem;
}

.news-section-header--with-action {
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	text-align: left;
}

.news-section-header--with-action.text-center .news-section-header__text {
	text-align: center;
	flex: 1 1 100%;
}

@media (min-width: 768px) {
	.news-section-header--with-action {
		align-items: flex-end;
	}

	.news-section-header--with-action .news-section-header__text {
		flex: 1 1 auto;
		text-align: left;
	}

	.news-section-header--with-action.text-center .news-section-header__text {
		text-align: left;
	}
}

.jci-news-view-all {
	flex-shrink: 0;
	white-space: nowrap;
}

.jci-news-section .btn-small-outline,
.jci-news-section .jci-news-view-all {
	color: var(--brand-primary) !important;
	background: #ffffff !important;
	border: 1px solid rgba(var(--brand-secondary-rgb), 0.5) !important;
	box-shadow: none !important;
}

.jci-news-section .btn-small-outline:hover,
.jci-news-section .jci-news-view-all:hover {
	background: var(--brand-secondary) !important;
	border-color: var(--brand-secondary) !important;
	color: #ffffff !important;
}

.news-section-subtitle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin: 0;
	color: var(--header-accent-orange);
}

.news-subtitle-line {
	display: inline-block;
	width: 48px;
	height: 2px;
	background: var(--header-accent-orange);
	border-radius: 2px;
}

.news-section-title {
	margin: 0;
	font-family: var(--font-headings);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 800;
	color: #1f2937;
	letter-spacing: -0.02em;
}

.news-carousel-wrap {
	width: 98%;
	max-width: var(--header-max-width);
	margin: 0 auto;
	padding: 0 0.25rem;
	overflow: visible;
}

.news-slider {
	position: relative;
	display: flex;
	align-items: stretch;
	gap: 0.75rem;
	margin: 0 -0.5rem;
}

.news-scroll {
	flex: 1;
	min-width: 0;
	min-height: fit-content;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding: 1rem 0 0.5rem;
	container-type: inline-size;
	container-name: news-viewport;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: 0.25rem;
}

.news-scroll-btn {
	flex-shrink: 0;
	align-self: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 50%;
	background: var(--header-nav-teal);
	color: #ffffff;
	font-size: 0.85rem;
	cursor: pointer;
	transition: var(--transition-smooth);
	box-shadow: 0 4px 12px rgba(var(--brand-primary-rgb), 0.22);
}

.news-scroll-btn:hover {
	background: var(--header-nav-teal-dark);
	transform: scale(1.04);
}

.news-scroll-btn:focus-visible {
	outline: 2px solid var(--header-accent-orange);
	outline-offset: 2px;
}

.news-scroll::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

.news-track {
	display: flex;
	align-items: stretch;
	gap: var(--news-card-gap);
	width: max-content;
	padding: 0.5rem 0.25rem 1.25rem;
}

.news-card {
	display: flex;
	flex-direction: column;
	flex: 0 0 calc((100cqw - (var(--news-cards-visible) - 1) * var(--news-card-gap)) / var(--news-cards-visible));
	width: calc((100cqw - (var(--news-cards-visible) - 1) * var(--news-card-gap)) / var(--news-cards-visible));
	min-width: 0;
	flex-shrink: 0;
	scroll-snap-align: start;
	background: #ffffff;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid rgba(19, 13, 52, 0.06);
	box-shadow: 0 4px 18px rgba(19, 13, 52, 0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

@supports not (width: 1cqw) {
	.news-card {
		flex: 0 0 calc(25% - 0.85rem);
		width: calc(25% - 0.85rem);
	}
}

.news-card:hover {
	transform: translateY(-4px);
	border-color: rgba(var(--brand-secondary-rgb), 0.2);
	box-shadow: 0 12px 28px rgba(19, 13, 52, 0.1);
}

.news-card-image-link {
	display: block;
	text-decoration: none;
}

.news-card-image {
	position: relative;
	height: var(--news-card-image-height);
	max-height: var(--news-card-image-height);
	overflow: hidden;
	background: linear-gradient(145deg, #eef2f7 0%, #e2e8f0 100%);
}

.news-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

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

.news-card-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.75rem;
	color: #94a3b8;
	background: linear-gradient(145deg, #f1f5f9 0%, #e2e8f0 100%);
}

.news-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 0.35rem;
	padding: 0.95rem 1.05rem 1.05rem;
}

.news-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 0.85rem;
	margin-bottom: 0.35rem;
}

.news-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-size: 0.72rem;
	font-weight: 500;
	color: #6b7280;
	line-height: 1.3;
}

.news-meta-item i {
	color: var(--brand-secondary);
	font-size: 0.7rem;
}

.news-card-title {
	margin: 0 0 0.25rem;
	font-family: var(--font-headings);
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-card-excerpt {
	margin: 0 0 0.5rem;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: #6b7280;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-card-title a {
	color: #1f2937;
	text-decoration: none;
	transition: color 0.2s ease;
}

.news-card-title a:hover {
	color: var(--header-nav-teal);
}

.news-read-more-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: auto;
	padding: 0.45rem 0.85rem;
	border-radius: 8px;
	background: transparent;
	color: var(--brand-primary);
	font-size: 0.78rem;
	font-weight: 600;
	text-decoration: none;
	transition: var(--transition-smooth);
	align-self: flex-start;
	border: 1px solid rgba(var(--brand-primary-rgb), 0.12);
}

.news-read-more-btn:hover {
	background: var(--brand-secondary);
	border-color: var(--brand-secondary);
	color: #ffffff;
	transform: translateY(-1px);
}

.news-read-more-btn i {
	font-size: 0.75rem;
}

@container news-viewport (max-width: 820px) {
	.news-card {
		flex: 0 0 calc((100cqw - 2 * var(--news-card-gap)) / 3);
		width: calc((100cqw - 2 * var(--news-card-gap)) / 3);
		max-width: none;
	}
}

@media (min-width: 993px) {
	.news-card {
		flex: 0 0 calc((100cqw - 3 * var(--news-card-gap)) / 4);
		width: calc((100cqw - 3 * var(--news-card-gap)) / 4);
	}
}

@container news-viewport (max-width: 900px) {
	.news-card {
		flex: 0 0 calc((100cqw - var(--news-card-gap)) / 2);
		width: calc((100cqw - var(--news-card-gap)) / 2);
		max-width: none;
	}
}

@container news-viewport (max-width: 560px) {
	.news-card {
		flex: 0 0 100cqw;
		width: 100cqw;
	}
}

@media (max-width: 768px) {
	.news-section-subtitle {
		font-size: 0.875rem;
	}

	.news-subtitle-line {
		width: 32px;
	}

	.news-scroll-btn {
		width: 40px;
		height: 40px;
		font-size: 0.85rem;
	}
}

@media (max-width: 480px) {
	.news-slider {
		gap: 0.4rem;
		margin: 0 -0.25rem;
	}

	.news-scroll-btn {
		width: 36px;
		height: 36px;
	}
}


/* 13.8 Donat-style Footer */
.site-footer {
	position: relative;
	background: var(--brand-primary);
	color: rgba(255, 255, 255, 0.78);
	margin-top: auto;
	padding: 0;
	border-top: 0;
	overflow: hidden;
}

.footer-wave-top {
	position: relative;
	width: 100%;
	height: 56px;
	margin-top: -1px;
	line-height: 0;
}

.footer-wave-top svg {
	display: block;
	width: 100%;
	height: 56px;
}

.site-footer .site-footer-container {
	width: 92%;
	max-width: var(--header-max-width);
	margin: 0 auto;
	padding: 2.5rem 0 3rem;
}

.site-footer--no-newsletter .site-footer-container {
	padding-top: 3rem;
}

.footer-newsletter {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
	padding-bottom: 2.25rem;
}

.footer-newsletter-title {
	margin: 0 0 0.5rem;
	font-family: var(--font-headings);
	font-size: clamp(1.35rem, 2.5vw, 1.85rem);
	font-weight: 700;
	color: #ffffff;
}

.footer-newsletter-text {
	margin: 0;
	max-width: 420px;
	font-size: 0.92rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.62);
}

.footer-newsletter-form {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex: 1;
	min-width: 0;
	max-width: min(520px, 100%);
	width: 100%;
}

.footer-newsletter-input {
	flex: 1;
	min-width: 0;
	padding: 0.95rem 1.35rem;
	border: 0;
	border-radius: 999px;
	background: #ffffff;
	color: #1f2937;
	font-size: 0.92rem;
}

.footer-newsletter-input::placeholder {
	color: #9ca3af;
}

.footer-newsletter-input:focus {
	outline: 2px solid var(--brand-secondary);
	outline-offset: 2px;
}

.footer-newsletter-submit {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border: 0;
	border-radius: 12px;
	background: var(--brand-secondary);
	color: #ffffff;
	font-size: 1rem;
	cursor: pointer;
	transition: var(--transition-smooth);
}

.footer-newsletter-submit:hover {
	background: var(--brand-secondary-hover);
	transform: translateY(-2px);
}

.footer-newsletter-feedback {
	flex: 1 1 100%;
	margin: 0.5rem 0 0;
	font-size: 0.88rem;
	color: var(--brand-tertiary);
}

.footer-main-divider {
	height: 1px;
	background: rgba(255, 255, 255, 0.08);
	margin-bottom: 2.5rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.35fr 0.9fr 0.95fr 1.2fr;
	gap: 2.5rem;
}

.footer-logo-link {
	display: inline-flex;
	margin-bottom: 1.25rem;
	padding: 0.35rem 0.75rem;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.footer-logo {
	max-height: 46px;
	width: auto;
	display: block;
	object-fit: contain;
}

.footer-desc {
	margin: 0 0 1.35rem;
	font-size: 0.9rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.62);
}

.footer-donate-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.85rem 1.5rem;
	border-radius: 999px;
	background: var(--brand-secondary);
	color: #ffffff;
	font-family: var(--font-headings);
	font-weight: 700;
	font-size: 0.9rem;
	text-decoration: none;
	transition: var(--transition-smooth);
}

.footer-donate-btn:hover {
	background: var(--brand-secondary-hover);
	color: #ffffff;
	transform: translateY(-2px);
}

.footer-col-title {
	margin: 0 0 1.35rem;
	font-family: var(--font-headings);
	font-size: 1.1rem;
	font-weight: 700;
	color: #ffffff;
}

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

.footer-links-list li {
	margin-bottom: 0.7rem;
}

.footer-links-list a {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.9rem;
	text-decoration: none;
	transition: var(--transition-smooth);
}

.footer-links-list a::before {
	content: '\f35b';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	font-size: 0.72rem;
	color: var(--brand-tertiary);
	transition: transform 0.2s ease;
}

.footer-links-list a:hover {
	color: #ffffff;
}

.footer-links-list a:hover::before {
	transform: translate(2px, -2px);
}

.footer-contact-wrap {
	display: flex;
	align-items: flex-start;
	gap: 1.25rem;
}

.footer-contact-details {
	flex: 1;
	min-width: 0;
}

.footer-contact-details .footer-col-title {
	margin-bottom: 1.15rem;
}

.footer-contact-item {
	display: flex;
	gap: 0.85rem;
	margin-bottom: 1.1rem;
}

.footer-contact-item:last-child {
	margin-bottom: 0;
}

.footer-contact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	flex-shrink: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
	font-size: 0.9rem;
}

.footer-contact-label {
	display: block;
	margin-bottom: 0.2rem;
	font-size: 0.78rem;
	color: rgba(255, 255, 255, 0.72);
}

.footer-contact-value {
	display: block;
	font-family: var(--font-headings);
	font-size: 0.95rem;
	font-weight: 700;
	color: #ffffff;
	text-decoration: none;
	line-height: 1.35;
	word-break: break-word;
}

.footer-contact-value:hover {
	color: var(--brand-tertiary);
}

.footer-social-stack {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.55rem;
}

.footer-social-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #ffffff;
	color: #1f2937;
	font-size: 0.9rem;
	text-decoration: none;
	transition: var(--transition-smooth);
}

.footer-social-btn:hover {
	background: var(--brand-secondary);
	color: #ffffff;
	transform: scale(1.06);
}

.footer-bar {
	position: relative;
	background: var(--brand-primary-dark);
	padding: 1.15rem 0;
}

.footer-bar-inner {
	width: 92%;
	max-width: var(--header-max-width);
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
}

.footer-copyright {
	margin: 0;
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.88);
	text-align: center;
}

.footer-copyright-brand {
	color: var(--header-accent-orange);
	font-weight: 700;
}

.footer-copyright-sep {
	opacity: 0.5;
}

.footer-credit-link {
	color: var(--brand-tertiary);
	font-weight: 600;
	text-decoration: none;
}

.footer-credit-link:hover {
	color: #ffffff;
	text-decoration: underline;
}

@media (max-width: 1100px) {
	.footer-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 2rem;
	}

	.footer-contact-col {
		grid-column: 1 / -1;
	}
}

@media (max-width: 768px) {
	.site-footer .site-footer-container {
		padding: 2rem 0 2.5rem;
	}

	.footer-newsletter {
		flex-direction: column;
		align-items: flex-start;
	}

	.footer-newsletter-form {
		width: 100%;
		max-width: none;
	}

	.footer-grid {
		grid-template-columns: 1fr;
	}

	.footer-contact-wrap {
		flex-direction: column;
	}

	.footer-social-stack {
		flex-direction: row;
		flex-wrap: wrap;
	}

}

/* ==========================================================================
   13.9 Site Preloader
   ========================================================================== */
body.jaycess-preloader-active {
	overflow: hidden;
}

.jaycess-preloader {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.5s ease, visibility 0.5s ease;
}

.jaycess-preloader.is-hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.jaycess-preloader__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.25rem;
}

.jaycess-preloader__logo {
	max-width: min(240px, 62vw);
	max-height: 130px;
	width: auto;
	height: auto;
	object-fit: contain;
	animation: jaycessPreloaderPulse 1.6s ease-in-out infinite;
}

.jaycess-preloader__spinner {
	display: block;
	width: 38px;
	height: 38px;
	border: 3px solid rgba(var(--brand-primary-rgb), 0.16);
	border-top-color: var(--header-nav-teal);
	border-radius: 50%;
	animation: jaycessPreloaderSpin 0.85s linear infinite;
}

.jaycess-preloader--spinner .jaycess-preloader__spinner {
	width: 52px;
	height: 52px;
	border-width: 4px;
}

@keyframes jaycessPreloaderSpin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes jaycessPreloaderPulse {
	0%, 100% {
		transform: scale(1);
		opacity: 1;
	}
	50% {
		transform: scale(1.05);
		opacity: 0.9;
	}
}

/* ==========================================================================
   13.10 Scroll to Top (progress ring)
   ========================================================================== */
.scroll-to-top {
	position: fixed;
	right: 1.5rem;
	bottom: 1.5rem;
	z-index: 250;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.scroll-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.scroll-to-top__svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}

.scroll-to-top__track,
.scroll-to-top__progress {
	fill: none;
	stroke-width: 2.5;
}

.scroll-to-top__track {
	stroke: rgba(var(--brand-primary-rgb), 0.18);
}

.scroll-to-top__progress {
	stroke: var(--header-nav-teal);
	stroke-linecap: round;
	transition: stroke-dashoffset 0.12s linear;
}

.scroll-to-top__icon {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	color: var(--header-nav-teal);
	font-size: 0.95rem;
	transition: color 0.2s ease, transform 0.2s ease;
}

.scroll-to-top:hover .scroll-to-top__icon {
	color: var(--header-accent-orange);
	transform: translateY(-2px);
}

.scroll-to-top:hover .scroll-to-top__progress {
	stroke: var(--header-accent-orange);
}

.scroll-to-top:focus-visible {
	outline: 2px solid var(--header-accent-orange);
	outline-offset: 4px;
	border-radius: 50%;
}

@media (max-width: 768px) {
	.scroll-to-top {
		right: 1rem;
		bottom: 1rem;
		width: 46px;
		height: 46px;
	}

	.scroll-to-top__icon {
		width: 30px;
		height: 30px;
		font-size: 0.85rem;
	}
}

/* ==========================================================================
   14. JCI Theme Brand Contrast & Color Scoping
   ========================================================================== */

/* Force dark layout on the homepage background and header */
.jci-homepage {
	background-color: #060913 !important;
}

/* Header uses its own light two-tier layout on all pages */

/* 14.1 Scoped Dark Sections (MVG, Gallery) */
.jci-gallery-section {
	color: rgba(255, 255, 255, 0.78) !important;
}

.jci-direction-section {
	color: rgba(255, 255, 255, 0.78) !important;
}

/* Board & News & President sections: light layout */
.jci-news-section {
	background-color: #ffffff !important;
	color: #4b5563 !important;
	overflow: visible !important;
}

.jci-board-section {
	background: linear-gradient(180deg, #f4f8fb 0%, #ffffff 140px) !important;
	color: #4b5563 !important;
	overflow: visible !important;
}

.jci-president-section {
	background: linear-gradient(180deg, #f8faf9 0%, #ffffff 48%) !important;
	color: #4b5563 !important;
	overflow: visible !important;
}

.jci-board-section .board-section-title,
.jci-board-section .board-name,
.jci-news-section .news-section-title,
.jci-news-section .news-card-title a,
.jci-president-section .pres-letter-section-title,
.jci-president-section .pres-letter__headline,
.jci-president-section .pres-letter__sign-name {
	color: #1f2937 !important;
}

.jci-board-section .board-title-post {
	color: #6b7280 !important;
}

.jci-pride-section {
	background-color: #f8fafc !important;
	background-image:
		linear-gradient(180deg, rgba(248, 250, 252, 0.92) 0%, rgba(238, 246, 246, 0.95) 55%, rgba(255, 255, 255, 0.98) 100%),
		url('../images/paper-texture.png') !important;
	background-repeat: no-repeat, repeat !important;
	background-size: 100% 100%, auto !important;
}

.jci-pride-section .section-badge {
	color: var(--brand-primary) !important;
}

/* Scoped Light Events Section mimicking Donat Causes Grid */
.jci-events-section {
	background-color: #f7f5f0 !important;
	background-image: url('../images/paper-texture.png') !important;
	background-repeat: repeat !important;
}

.jci-events-section .section-badge {
	color: var(--brand-primary) !important;
}

.jci-events-section .event-card {
	background-color: #ffffff !important;
	border: 1px solid rgba(0,0,0,0.06) !important;
	box-shadow: 0 10px 30px rgba(0,0,0,0.04) !important;
}

.jci-events-section .event-card:hover {
	border-color: var(--primary) !important;
	box-shadow: 0 15px 40px rgba(0, 150, 214, 0.15) !important;
}

.jci-events-section .event-title a {
	color: var(--brand-primary) !important;
}

.jci-events-section .event-title a:hover {
	color: var(--primary) !important;
}

.jci-events-section .event-meta-info p {
	color: #666666 !important;
}

.jci-events-section .btn-small-outline {
	color: var(--brand-primary) !important;
	border-color: rgba(10, 9, 32, 0.2) !important;
}

.jci-events-section .btn-small-outline:hover {
	background: var(--primary) !important;
	color: #ffffff !important;
	border-color: var(--primary) !important;
}

.jci-direction-section {
	background: linear-gradient(
		165deg,
		var(--brand-primary-dark) 0%,
		var(--brand-primary) 50%,
		#1a1250 100%
	) !important;
}

/* Headings in Sections (dark-background blocks) */
.jci-direction-section h2, .jci-direction-section h3,
.jci-board-section h2, .jci-board-section h3, .jci-board-section h4,
.jci-news-section h2, .jci-news-section h3, .jci-news-section h4,
.section-badge {
	color: var(--color-text-primary) !important;
}

.jci-pride-section .card-title {
	color: var(--brand-primary) !important;
}

.jci-pride-section .card-text {
	color: #475569 !important;
}

/* Events homepage — light section, dark headings */
.jci-events-section--featured .jci-events-header__title,
.jci-events-section--featured .jci-event-featured-card__title,
.jci-events-section--featured .jci-event-featured-card__title a {
	color: #111827 !important;
}

.jci-board-section .board-section-title,
.jci-board-section .board-name,
.jci-news-section .news-section-title,
.jci-news-section .news-card-title,
.jci-news-section .news-card-title a,
.jci-president-section .pres-letter-section-title,
.jci-president-section .pres-letter__headline,
.jci-president-section .pres-letter__sign-name {
	color: #1f2937 !important;
}

.jci-president-section .pres-letter__message,
.jci-president-section .pres-letter__message p {
	color: #4b5563 !important;
}

/* Cards inside Sections */
.event-card,
.blog-row-item {
	background-color: var(--bg-surface) !important;
	border: 1px solid var(--border-color) !important;
	box-shadow: var(--shadow-md) !important;
	color: var(--color-text-secondary) !important;
}

.jci-pride-section .pride-card {
	background: #ffffff !important;
	border: 1px solid rgba(var(--brand-primary-rgb), 0.08) !important;
	box-shadow:
		0 4px 6px rgba(var(--brand-primary-rgb), 0.04),
		0 18px 40px rgba(var(--brand-primary-rgb), 0.07) !important;
	color: #475569 !important;
}

.jci-pride-section .creed-card {
	background: linear-gradient(145deg, #ffffff 0%, rgba(var(--brand-tertiary-rgb), 0.08) 100%) !important;
}

.jci-pride-section .anthem-card {
	background: linear-gradient(145deg, #ffffff 0%, rgba(var(--brand-secondary-rgb), 0.07) 100%) !important;
}

.jci-direction-section .mission-card {
	background: linear-gradient(
		165deg,
		rgba(var(--brand-tertiary-rgb), 0.28) 0%,
		rgba(12, 28, 68, 0.96) 55%,
		rgba(var(--brand-primary-rgb), 0.98) 100%
	) !important;
	border-color: rgba(var(--brand-tertiary-rgb), 0.38) !important;
}

.jci-direction-section .vision-card {
	background: linear-gradient(
		165deg,
		rgba(var(--brand-tertiary-rgb), 0.22) 0%,
		rgba(18, 32, 72, 0.96) 55%,
		rgba(var(--brand-primary-rgb), 0.98) 100%
	) !important;
	border-color: rgba(var(--brand-tertiary-rgb), 0.32) !important;
}

.jci-direction-section .goal-card {
	background: linear-gradient(
		165deg,
		rgba(var(--brand-tertiary-rgb), 0.18) 0%,
		rgba(28, 22, 58, 0.96) 55%,
		rgba(var(--brand-primary-rgb), 0.98) 100%
	) !important;
	border-color: rgba(var(--brand-tertiary-rgb), 0.28) !important;
}

.jci-direction-section .direction-card .dir-title {
	color: #ffffff !important;
}

.jci-direction-section .direction-card .dir-desc {
	color: rgba(255, 255, 255, 0.78) !important;
}

.event-card:hover,
.blog-row-item:hover {
	border-color: var(--primary) !important;
	background-color: var(--bg-surface-hover) !important;
	box-shadow: var(--shadow-lg), var(--shadow-glow) !important;
}

.jci-pride-section .pride-card:hover {
	background: #ffffff !important;
	border-color: rgba(var(--brand-secondary-rgb), 0.22) !important;
	box-shadow:
		0 8px 16px rgba(var(--brand-primary-rgb), 0.06),
		0 24px 52px rgba(var(--brand-secondary-rgb), 0.14) !important;
}

.jci-direction-section .mission-card:hover,
.jci-direction-section .vision-card:hover,
.jci-direction-section .goal-card:hover {
	border-color: rgba(var(--brand-tertiary-rgb), 0.65) !important;
	box-shadow: 0 22px 48px rgba(var(--brand-tertiary-rgb), 0.28) !important;
}

/* Link overrides inside sections */
.event-title a,
.blog-row-title a {
	color: var(--color-text-primary) !important;
}

.event-title a:hover,
.blog-row-title a:hover {
	color: var(--primary) !important;
}

/* 14.2 Nested Dark Sections (Hero Banner, Footer) */
.jci-hero-slider,
.site-footer {
	color: #f3f4f6 !important;
}

/* Headings in Dark Sections */
.jci-hero-slider h1,
.jci-hero-slider h2,
.jci-hero-slider h3,
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.footer-col-title {
	color: #ffffff !important;
}

/* Hero elements contrast */
.slide-desc {
	color: #9ca3af !important;
}

.jci-emblem-glow h2 {
	color: #ffffff !important;
}

.jci-emblem-glow h3 {
	color: #9ca3af !important;
}

/* Footer element contrast */
.site-footer {
	background: var(--brand-primary) !important;
}

.footer-desc {
	color: rgba(255, 255, 255, 0.62) !important;
}

.footer-links-list a {
	color: rgba(255, 255, 255, 0.72) !important;
}

.footer-links-list a:hover {
	color: #ffffff !important;
}

.footer-newsletter-title,
.footer-col-title {
	color: #ffffff !important;
}

/* ==========================================================================
   15. Contact Page
   ========================================================================== */
.jci-contact-page {
	background: #f4f7fa;
}

.jci-contact-hero {
	position: relative;
	min-height: 320px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--brand-primary);
	background-size: cover;
	background-position: center;
}

.jci-contact-hero__overlay {
	width: 100%;
	min-height: 320px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(
		135deg,
		rgba(var(--brand-primary-rgb), 0.88) 0%,
		rgba(var(--brand-secondary-rgb), 0.72) 100%
	);
}

.jci-contact-hero__inner {
	text-align: center;
	padding: calc(var(--header-height, 120px) + 2rem) 1rem 3.5rem;
}

.jci-contact-hero__title {
	margin: 0 0 0.75rem;
	font-family: var(--font-family);
	font-size: clamp(2.25rem, 5vw, 3.25rem);
	font-weight: 800;
	color: #ffffff;
	letter-spacing: -0.02em;
}

.jci-contact-hero__breadcrumb {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.35rem 0.5rem;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.88);
}

.jci-contact-hero__breadcrumb a {
	color: #ffffff;
	text-decoration: none;
}

.jci-contact-hero__breadcrumb a:hover {
	text-decoration: underline;
}

.jci-contact-hero__breadcrumb-sep {
	opacity: 0.75;
}

.jci-contact-body {
	padding-bottom: 4rem;
}

.jci-contact-card-wrap {
	margin-top: -4.5rem;
	position: relative;
	z-index: 2;
	padding-bottom: 2rem;
}

.jci-contact-card {
	background: #ffffff;
	border-radius: 20px;
	box-shadow: 0 24px 60px rgba(var(--brand-primary-rgb), 0.12);
	padding: clamp(1.75rem, 3vw, 2.5rem);
}

.jci-contact-card__grid {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: clamp(1.5rem, 3vw, 2.5rem);
	align-items: stretch;
}

.jci-contact-details {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
}

.jci-contact-detail {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

.jci-contact-detail__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	border-radius: 12px;
	font-size: 1.1rem;
	color: #ffffff;
}

.jci-contact-detail--address .jci-contact-detail__icon {
	background: var(--brand-tertiary);
}

.jci-contact-detail--phone .jci-contact-detail__icon {
	background: var(--brand-secondary);
}

.jci-contact-detail--email .jci-contact-detail__icon {
	background: var(--brand-primary);
}

.jci-contact-detail--questions .jci-contact-detail__icon {
	background: #e85d4c;
}

.jci-contact-detail__title {
	margin: 0 0 0.35rem;
	font-family: var(--font-family);
	font-size: 1.05rem;
	font-weight: 700;
	color: #1f2937;
}

.jci-contact-detail__line {
	margin: 0 0 0.2rem;
	font-size: 0.92rem;
	line-height: 1.55;
	color: #6b7280;
}

a.jci-contact-detail__line {
	color: #4b5563;
	text-decoration: none;
}

a.jci-contact-detail__line:hover {
	color: var(--brand-secondary);
}

.jci-contact-map {
	min-height: 320px;
	border-radius: 14px;
	overflow: hidden;
	background: #e8eef2;
	border: 1px solid rgba(var(--brand-primary-rgb), 0.08);
}

.jci-contact-map__embed,
.jci-contact-map__embed iframe {
	width: 100%;
	height: 100%;
	min-height: 320px;
	border: 0;
	display: block;
}

.jci-contact-map__fallback {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	min-height: 320px;
	padding: 2rem;
	text-align: center;
	color: #6b7280;
	font-size: 0.9rem;
}

.jci-contact-map__open {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.65rem 1.15rem;
	border-radius: 999px;
	background: var(--brand-secondary);
	color: #ffffff;
	font-weight: 600;
	text-decoration: none;
}

.jci-contact-map__open:hover {
	background: var(--brand-secondary-hover);
	color: #ffffff;
}

.jci-contact-form-section {
	background: #ffffff;
	padding-top: 1rem;
}

.jci-contact-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: center;
}

.jci-contact-form-visual {
	position: relative;
	min-height: 380px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.jci-contact-form-visual img {
	width: 100%;
	max-width: 440px;
	height: auto;
	border-radius: 16px;
	object-fit: cover;
}

.jci-contact-form-visual__placeholder {
	position: relative;
	width: min(100%, 360px);
	aspect-ratio: 4 / 5;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(160deg, rgba(var(--brand-tertiary-rgb), 0.15) 0%, rgba(var(--brand-secondary-rgb), 0.08) 100%);
	border-radius: 20px;
	font-size: 4rem;
	color: var(--brand-secondary);
}

.jci-contact-form-visual__splash {
	position: absolute;
	border-radius: 50%;
	opacity: 0.45;
}

.jci-contact-form-visual__splash--teal {
	width: 120px;
	height: 120px;
	top: 8%;
	left: 5%;
	background: var(--brand-tertiary);
}

.jci-contact-form-visual__splash--blue {
	width: 90px;
	height: 90px;
	bottom: 12%;
	right: 8%;
	background: var(--brand-secondary);
}

.jci-contact-form-panel {
	padding: clamp(1.5rem, 2.5vw, 2rem);
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 8px 30px rgba(var(--brand-primary-rgb), 0.06);
}

.jci-contact-form-panel__title {
	margin: 0 0 1.25rem;
	font-family: var(--font-family);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--brand-primary);
}

.jci-contact-form-notice {
	margin: 0 0 1rem;
	padding: 0.75rem 1rem;
	border-radius: 10px;
	font-size: 0.9rem;
}

.jci-contact-form-notice--success {
	background: rgba(var(--brand-tertiary-rgb), 0.2);
	color: var(--brand-primary);
}

.jci-contact-form-notice--error {
	background: #fef2f2;
	color: #b91c1c;
}

.jci-contact-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.jci-contact-form__field {
	display: block;
}

.jci-contact-form__field input,
.jci-contact-form__field textarea {
	width: 100%;
	padding: 0.9rem 1.1rem;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	font-family: var(--font-family);
	font-size: 0.95rem;
	color: #1f2937;
	background: #ffffff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.jci-contact-form__field input::placeholder,
.jci-contact-form__field textarea::placeholder {
	color: #9ca3af;
}

.jci-contact-form__field input:focus,
.jci-contact-form__field textarea:focus {
	outline: none;
	border-color: var(--brand-secondary);
	box-shadow: 0 0 0 3px rgba(var(--brand-secondary-rgb), 0.15);
}

.jci-contact-form__field textarea {
	resize: vertical;
	min-height: 140px;
}

.jci-contact-form__submit {
	align-self: flex-start;
	margin-top: 0.25rem;
	padding: 0.85rem 1.75rem;
	border: 0;
	border-radius: 12px;
	background: var(--brand-secondary);
	color: #ffffff;
	font-family: var(--font-family);
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.jci-contact-form__submit:hover {
	background: var(--brand-secondary-hover);
	transform: translateY(-1px);
}

@media (max-width: 992px) {
	.jci-contact-card__grid {
		grid-template-columns: 1fr;
	}

	.jci-contact-form-grid {
		grid-template-columns: 1fr;
	}

	.jci-contact-form-visual {
		min-height: 260px;
		order: 2;
	}

	.jci-contact-form-panel {
		order: 1;
	}
}

@media (max-width: 576px) {
	.jci-contact-hero {
		min-height: 260px;
	}

	.jci-contact-hero__overlay {
		min-height: 260px;
	}

	.jci-contact-card-wrap {
		margin-top: -3rem;
	}
}

/* ==========================================================================
   GALLERY PAGE (full page — hero, bento & alternate layouts)
   ========================================================================== */
.jci-gallery-page {
	background: #f4f7fa;
}

.jci-gallery-page-hero,
.jci-gallery-page-hero__overlay {
	position: relative;
	min-height: 340px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.jci-gallery-page-hero {
	background-color: var(--brand-primary);
	background-size: cover;
	background-position: center;
}

.jci-gallery-page-hero__overlay {
	width: 100%;
	min-height: 340px;
	background: linear-gradient(
		135deg,
		rgba(var(--brand-primary-rgb), 0.9) 0%,
		rgba(5, 80, 55, 0.82) 45%,
		rgba(var(--brand-primary-rgb), 0.88) 100%
	);
}

.jci-gallery-page-hero__inner {
	text-align: center;
	padding: calc(var(--header-height, 120px) + 2rem) 1rem 3.5rem;
}

.jci-gallery-page-hero__title {
	margin: 0 0 0.75rem;
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	font-weight: 800;
	color: #ffffff;
	letter-spacing: -0.02em;
}

.jci-gallery-page-hero__breadcrumb {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.35rem 0.5rem;
	font-size: 0.95rem;
}

.jci-gallery-page-hero__breadcrumb a {
	color: var(--brand-yellow, #efc40f);
	font-weight: 600;
	text-decoration: none;
}

.jci-gallery-page-hero__breadcrumb a:hover {
	text-decoration: underline;
}

.jci-gallery-page-hero__breadcrumb-sep {
	color: rgba(255, 255, 255, 0.65);
}

.jci-gallery-page-hero__breadcrumb [aria-current="page"] {
	color: #ffffff;
	font-weight: 500;
}

.jci-gallery-page-body {
	background: #ffffff;
	padding-top: 2.5rem;
	padding-bottom: 4rem;
}

.jci-gallery-page-intro {
	max-width: 52ch;
	margin: 0 0 1.75rem;
	font-size: 1.05rem;
	line-height: 1.65;
	color: #4b5563;
}

.jci-gallery-page-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.25rem;
	margin-bottom: 2rem;
}

.jci-gallery-filters--page .jci-gallery-filter {
	border-color: rgba(var(--brand-primary-rgb), 0.15);
	color: var(--brand-primary);
	background: #f8fafc;
}

.jci-gallery-filters--page .jci-gallery-filter:hover,
.jci-gallery-filters--page .jci-gallery-filter.is-active {
	border-color: var(--brand-secondary);
	background: var(--brand-secondary);
	color: #ffffff;
}

.jci-gallery-page-layout-switch {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.jci-gallery-page-layout-switch__label {
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--brand-primary);
	margin-right: 0.35rem;
}

.jci-gallery-page-layout-btn {
	margin: 0;
	padding: 0.45rem 0.95rem;
	border: 1px solid rgba(var(--brand-primary-rgb), 0.12);
	border-radius: 999px;
	background: #ffffff;
	color: #4b5563;
	font-family: var(--font-family);
	font-size: 0.8rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.jci-gallery-page-layout-btn:hover,
.jci-gallery-page-layout-btn.is-active {
	border-color: var(--brand-secondary);
	background: var(--brand-secondary);
	color: #ffffff;
	box-shadow: 0 4px 14px rgba(var(--brand-secondary-rgb), 0.25);
}

.jci-gallery-page-empty {
	padding: 3rem 1.5rem;
	text-align: center;
	color: #6b7280;
	border: 2px dashed #e5e7eb;
	border-radius: 16px;
}

.jci-gallery-page-stage {
	min-height: 200px;
}

.jci-gallery-page-stage--empty {
	min-height: 120px;
}

.jci-gallery-page__grid {
	display: grid;
	gap: 1.125rem;
}

.jci-gallery-page__cell {
	width: 100%;
	min-height: 0;
	border-radius: 20px;
	aspect-ratio: auto;
}

.jci-gallery-page__cell .jci-gallery-item__media,
.jci-gallery-page__cell .jci-gallery-item__media img {
	height: 100%;
	min-height: 100%;
}

.jci-gallery-page__cell .jci-gallery-item__media img {
	object-fit: cover;
}

.jci-gallery-page__cell .jci-gallery-item__overlay {
	background: linear-gradient(180deg, transparent 35%, rgba(19, 13, 52, 0.82) 100%);
}

.jci-gallery-page__cell:hover {
	box-shadow: 0 16px 40px rgba(19, 13, 52, 0.18);
}

/* Bento — reference-style asymmetric mosaic (12-col) */
.jci-gallery-page--bento .jci-gallery-page__grid {
	grid-template-columns: repeat(12, 1fr);
	grid-auto-rows: 88px;
	grid-auto-flow: dense;
}

.jci-gallery-page--bento .jci-gallery-page__cell:nth-child(10n + 1) {
	grid-column: 1 / span 3;
	grid-row: span 4;
}

.jci-gallery-page--bento .jci-gallery-page__cell:nth-child(10n + 2) {
	grid-column: 1 / span 3;
	grid-row: span 3;
}

.jci-gallery-page--bento .jci-gallery-page__cell:nth-child(10n + 3) {
	grid-column: 1 / span 3;
	grid-row: span 3;
}

.jci-gallery-page--bento .jci-gallery-page__cell:nth-child(10n + 4) {
	grid-column: 4 / span 2;
	grid-row: span 3;
}

.jci-gallery-page--bento .jci-gallery-page__cell:nth-child(10n + 5) {
	grid-column: 6 / span 2;
	grid-row: span 3;
}

.jci-gallery-page--bento .jci-gallery-page__cell:nth-child(10n + 6) {
	grid-column: 8 / span 2;
	grid-row: span 3;
}

.jci-gallery-page--bento .jci-gallery-page__cell:nth-child(10n + 7) {
	grid-column: 4 / span 6;
	grid-row: span 3;
}

.jci-gallery-page--bento .jci-gallery-page__cell:nth-child(10n + 8) {
	grid-column: 4 / span 6;
	grid-row: span 3;
}

.jci-gallery-page--bento .jci-gallery-page__cell:nth-child(10n + 9) {
	grid-column: 10 / span 3;
	grid-row: span 5;
}

.jci-gallery-page--bento .jci-gallery-page__cell:nth-child(10n + 10) {
	grid-column: 10 / span 3;
	grid-row: span 4;
}

/* Uniform grid */
.jci-gallery-page--grid .jci-gallery-page__grid {
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	grid-auto-rows: 220px;
}

.jci-gallery-page--grid .jci-gallery-page__cell {
	grid-column: auto !important;
	grid-row: auto !important;
}

/* Masonry columns */
.jci-gallery-page--masonry .jci-gallery-page__grid {
	display: block;
	columns: 4;
	column-gap: 1.125rem;
}

.jci-gallery-page--masonry .jci-gallery-page__cell {
	display: block;
	break-inside: avoid;
	margin-bottom: 1.125rem;
}

/* Featured + grid */
.jci-gallery-page--showcase .jci-gallery-page__grid {
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 200px;
}

.jci-gallery-page--showcase .jci-gallery-page__cell:first-child {
	grid-column: 1 / -1;
	grid-row: span 2;
	min-height: 320px;
}

.jci-gallery-page--showcase .jci-gallery-page__cell:not(:first-child) {
	grid-column: auto !important;
	grid-row: auto !important;
}

/* Clean rows — 3 equal columns */
.jci-gallery-page--rows .jci-gallery-page__grid {
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: 260px;
}

.jci-gallery-page--rows .jci-gallery-page__cell {
	grid-column: auto !important;
	grid-row: auto !important;
}

@media (max-width: 1024px) {
	.jci-gallery-page--bento .jci-gallery-page__grid {
		grid-template-columns: repeat(6, 1fr);
		grid-auto-rows: 80px;
	}

	.jci-gallery-page--bento .jci-gallery-page__cell:nth-child(n) {
		grid-column: span 3 !important;
		grid-row: span 3 !important;
	}

	.jci-gallery-page--bento .jci-gallery-page__cell:nth-child(10n + 7),
	.jci-gallery-page--bento .jci-gallery-page__cell:nth-child(10n + 8) {
		grid-column: 1 / -1 !important;
		grid-row: span 3 !important;
	}

	.jci-gallery-page--masonry .jci-gallery-page__grid {
		columns: 3;
	}

	.jci-gallery-page--rows .jci-gallery-page__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.jci-gallery-page-hero,
	.jci-gallery-page-hero__overlay {
		min-height: 260px;
	}

	.jci-gallery-page-toolbar {
		flex-direction: column;
	}

	.jci-gallery-page-layout-switch {
		width: 100%;
	}

	.jci-gallery-page--bento .jci-gallery-page__grid,
	.jci-gallery-page--grid .jci-gallery-page__grid,
	.jci-gallery-page--showcase .jci-gallery-page__grid,
	.jci-gallery-page--rows .jci-gallery-page__grid {
		grid-template-columns: repeat(2, 1fr);
		grid-auto-rows: 160px;
	}

	.jci-gallery-page--bento .jci-gallery-page__cell:nth-child(n) {
		grid-column: span 1 !important;
		grid-row: span 2 !important;
	}

	.jci-gallery-page--masonry .jci-gallery-page__grid {
		columns: 2;
	}

	.jci-gallery-page--showcase .jci-gallery-page__cell:first-child {
		grid-column: 1 / -1;
		grid-row: span 1;
		min-height: 200px;
	}
}

/* ==========================================================================
   BLOG PAGE
   ========================================================================== */
.jci-blog-page {
	background: #f4f7fa;
}

.jci-blog-page-hero,
.jci-blog-page-hero__overlay {
	position: relative;
	min-height: 320px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.jci-blog-page-hero {
	background-color: var(--brand-primary);
	background-size: cover;
	background-position: center;
}

.jci-blog-page-hero__overlay {
	width: 100%;
	min-height: 320px;
	background: linear-gradient(
		135deg,
		rgba(var(--brand-primary-rgb), 0.92) 0%,
		rgba(var(--brand-secondary-rgb), 0.78) 100%
	);
}

.jci-blog-page-hero__inner {
	text-align: center;
	padding: calc(var(--header-height, 120px) + 2rem) 1rem 3.5rem;
}

.jci-blog-page-hero__eyebrow {
	margin: 0 0 0.5rem;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--brand-tertiary);
}

.jci-blog-page-hero__title {
	margin: 0 0 0.75rem;
	font-size: clamp(2.25rem, 5vw, 3.25rem);
	font-weight: 800;
	color: #ffffff;
	letter-spacing: -0.02em;
}

.jci-blog-page-hero__breadcrumb {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.35rem 0.5rem;
	font-size: 0.95rem;
}

.jci-blog-page-hero__breadcrumb a {
	color: var(--brand-yellow, #efc40f);
	font-weight: 600;
	text-decoration: none;
}

.jci-blog-page-hero__breadcrumb a:hover {
	text-decoration: underline;
}

.jci-blog-page-hero__breadcrumb-sep {
	color: rgba(255, 255, 255, 0.65);
}

.jci-blog-page-hero__breadcrumb [aria-current="page"] {
	color: #ffffff;
}

.jci-blog-page-body {
	background: #ffffff;
	padding-top: 2.5rem;
	padding-bottom: 4rem;
}

.jci-blog-page-intro {
	max-width: 52ch;
	margin: 0 0 1.75rem;
	font-size: 1.05rem;
	line-height: 1.65;
	color: #4b5563;
}

.jci-blog-page-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.25rem;
	margin-bottom: 2rem;
}

.jci-blog-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.jci-blog-filter {
	display: inline-flex;
	padding: 0.5rem 1.1rem;
	border: 1px solid rgba(var(--brand-primary-rgb), 0.12);
	border-radius: 999px;
	background: #f8fafc;
	color: var(--brand-primary);
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.jci-blog-filter:hover,
.jci-blog-filter.is-active {
	border-color: var(--brand-secondary);
	background: var(--brand-secondary);
	color: #ffffff;
}

.jci-blog-page-layout-switch {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.jci-blog-page-layout-switch__label {
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--brand-primary);
	margin-right: 0.35rem;
}

.jci-blog-page-layout-btn {
	margin: 0;
	padding: 0.45rem 0.95rem;
	border: 1px solid rgba(var(--brand-primary-rgb), 0.12);
	border-radius: 999px;
	background: #ffffff;
	color: #4b5563;
	font-family: var(--font-family);
	font-size: 0.8rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.jci-blog-page-layout-btn:hover,
.jci-blog-page-layout-btn.is-active {
	border-color: var(--brand-secondary);
	background: var(--brand-secondary);
	color: #ffffff;
}

.jci-blog-page .jci-blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.125rem;
}

.jci-blog-page .news-card {
	flex: none;
	width: 100%;
	max-width: none;
	display: flex;
	flex-direction: column;
	opacity: 1;
	transform: none;
}

.jci-blog-page--list .jci-blog-grid {
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

.jci-blog-page--list .news-card {
	flex-direction: row;
	align-items: stretch;
}

.jci-blog-page--list .news-card-image-link {
	flex: 0 0 200px;
	max-width: 36%;
}

.jci-blog-page--list .news-card-image {
	height: auto;
	min-height: 140px;
	max-height: none;
}

.jci-blog-page--list .news-card-image img {
	height: 100%;
	min-height: 140px;
}

.jci-blog-page--list .news-card-body {
	flex: 1;
	justify-content: center;
}

.jci-blog-page--featured .jci-blog-grid {
	grid-template-columns: repeat(2, 1fr);
}

.jci-blog-page--featured .news-card--featured {
	grid-column: 1 / -1;
	flex-direction: row;
}

.jci-blog-page--featured .news-card--featured .news-card-image-link {
	flex: 0 0 50%;
	max-width: 50%;
}

.jci-blog-page--featured .news-card--featured .news-card-image {
	height: auto;
	min-height: 220px;
	max-height: 280px;
}

.jci-blog-page--featured .news-card--featured .news-card-image img {
	min-height: 220px;
}

.jci-blog-page-empty {
	padding: 3rem;
	text-align: center;
	color: #6b7280;
	border: 2px dashed #e5e7eb;
	border-radius: 16px;
}

.jci-blog-pagination {
	margin-top: 2.5rem;
}

.jci-blog-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	margin: 0.15rem;
	padding: 0 0.75rem;
	border-radius: 8px;
	font-weight: 600;
	text-decoration: none;
	color: var(--brand-primary);
	background: #f3f4f6;
}

.jci-blog-pagination .page-numbers.current {
	background: var(--brand-secondary);
	color: #ffffff;
}

.jci-blog-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 1024px) {
	.jci-blog-page .jci-blog-grid {
		grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	}

	.jci-blog-page--featured .jci-blog-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.jci-blog-page--list .news-card-image-link {
		flex: 0 0 220px;
	}
}

@media (max-width: 640px) {
	.jci-blog-page-hero,
	.jci-blog-page-hero__overlay {
		min-height: 260px;
	}

	.jci-blog-page-toolbar {
		flex-direction: column;
	}

	.jci-blog-page .jci-blog-grid,
	.jci-blog-page--featured .jci-blog-grid {
		grid-template-columns: 1fr;
	}

	.jci-blog-page--list .news-card,
	.jci-blog-page--featured .news-card--featured {
		flex-direction: column;
	}

	.jci-blog-page--list .news-card-image-link,
	.jci-blog-page--featured .news-card--featured .news-card-image-link {
		flex: none;
		max-width: none;
	}
}

/* ==========================================================================
   SINGLE BLOG POST
   ========================================================================== */
.jci-single-post {
	background: #f4f7fa;
}

.jci-single-post-hero__inner {
	max-width: 900px;
	margin: 0 auto;
}

.jci-single-post-hero__category {
	margin: 0 0 0.75rem;
}

.jci-single-post-hero__category a {
	display: inline-block;
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.15);
	color: var(--brand-tertiary);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
}

.jci-single-post-hero__category a:hover {
	background: rgba(255, 255, 255, 0.25);
	color: #ffffff;
}

.jci-single-post-hero__title {
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	line-height: 1.15;
}

.jci-single-post-hero__meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem 1.5rem;
	margin-bottom: 1rem;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.88);
}

.jci-single-post-hero__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.jci-single-post-hero__meta-item i {
	opacity: 0.85;
}

.jci-single-post-article {
	margin-top: -3rem;
	position: relative;
	z-index: 2;
	padding-bottom: 2rem;
}

.jci-single-post-article__card {
	max-width: var(--max-width-content, 820px);
	margin: 0 auto;
	padding: 2rem 2.5rem 2.5rem;
	background: #ffffff;
	border-radius: 20px;
	box-shadow: 0 20px 50px rgba(19, 13, 52, 0.1);
	border: 1px solid rgba(var(--brand-primary-rgb), 0.06);
}

.jci-single-post-article__figure {
	margin: -2rem -2.5rem 2rem;
	border-radius: 20px 20px 0 0;
	overflow: hidden;
}

.jci-single-post-article__image {
	display: block;
	width: 100%;
	height: auto;
	max-height: 480px;
	object-fit: cover;
}

.jci-single-post-article__content {
	font-size: 1.1rem;
	line-height: 1.8;
	color: #374151;
}

.jci-single-post-article__content p {
	margin-bottom: 1.5em;
}

.jci-single-post-article__content h2,
.jci-single-post-article__content h3,
.jci-single-post-article__content h4 {
	margin-top: 2rem;
	margin-bottom: 0.75rem;
	color: var(--brand-primary);
}

.jci-single-post-article__content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

.jci-single-post-article__content blockquote {
	margin: 1.5rem 0;
	padding: 1rem 1.5rem;
	border-left: 4px solid var(--brand-secondary);
	background: rgba(var(--brand-secondary-rgb), 0.06);
	border-radius: 0 12px 12px 0;
	font-style: italic;
}

.jci-single-post-tags {
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid #e5e7eb;
	font-size: 0.9rem;
	color: #6b7280;
}

.jci-single-post-tags a {
	color: var(--brand-secondary);
	text-decoration: none;
}

.jci-single-post-tags a:hover {
	text-decoration: underline;
}

.jci-single-post-article__actions {
	margin-top: 2rem;
}

.jci-single-post-nav-wrap {
	max-width: var(--max-width-content, 820px);
	margin: 2rem auto 0;
}

.jci-single-post-nav-wrap .post-navigation {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin: 0;
	padding: 0;
	border: none;
}

.jci-single-post-nav-wrap .nav-links {
	display: contents;
}

.jci-single-post-nav-wrap .nav-previous,
.jci-single-post-nav-wrap .nav-next {
	margin: 0;
}

.jci-single-post-nav-wrap .nav-previous a,
.jci-single-post-nav-wrap .nav-next a {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 1rem 1.25rem;
	background: #ffffff;
	border: 1px solid rgba(var(--brand-primary-rgb), 0.08);
	border-radius: 12px;
	text-decoration: none;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.jci-single-post-nav-wrap .nav-previous a:hover,
.jci-single-post-nav-wrap .nav-next a:hover {
	border-color: var(--brand-secondary);
	box-shadow: 0 8px 24px rgba(var(--brand-secondary-rgb), 0.12);
}

.jci-single-post-nav-wrap .nav-next {
	text-align: right;
}

.jci-post-nav__label {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--brand-secondary);
}

.jci-post-nav__title {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--brand-primary);
	line-height: 1.35;
}

.jci-single-post-related {
	background: #ffffff;
	padding-top: 3rem;
}

.jci-single-post-related__title {
	margin: 0 0 1.75rem;
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--brand-primary);
	text-align: center;
}

.jci-single-post-related__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.125rem;
}

.jci-single-post-related .news-card {
	flex: none;
	width: 100%;
	opacity: 1;
	transform: none;
}

@media (max-width: 768px) {
	.jci-single-post-article {
		margin-top: -2rem;
	}

	.jci-single-post-article__card {
		padding: 1.25rem 1.25rem 1.75rem;
		border-radius: 16px;
	}

	.jci-single-post-article__figure {
		margin: -1.25rem -1.25rem 1.25rem;
		border-radius: 16px 16px 0 0;
	}

	.jci-single-post-nav-wrap .post-navigation {
		grid-template-columns: 1fr;
	}

	.jci-single-post-related__grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   16. Section decor, events pages, footer extras
   ========================================================================== */
.section-divider-brush {
	width: 150px;
	height: 15px;
	margin-top: -1rem;
	margin-bottom: 2rem;
	background-repeat: no-repeat;
	background-size: contain;
	opacity: 0.15;
	pointer-events: none;
}

.section-divider-brush--left {
	background-position: left center;
	margin-left: 0;
	margin-right: auto;
}

.section-divider-brush--center {
	background-position: center;
	margin-left: auto;
	margin-right: auto;
}

.hero-brush-overlay {
	position: absolute;
	bottom: -2px;
	left: -15px;
	width: 280px;
	height: 140px;
	background-repeat: no-repeat;
	background-position: bottom left;
	background-size: contain;
	z-index: 11;
	opacity: 0.98;
	pointer-events: none;
	filter: brightness(0) invert(1);
}

.jci-events-section {
	position: relative;
	overflow: hidden;
}

.jci-events-section__inner {
	position: relative;
	z-index: 2;
}

.events-watermark-hands {
	position: absolute;
	bottom: 0;
	right: 2%;
	width: min(350px, 45vw);
	height: 230px;
	background-repeat: no-repeat;
	background-position: bottom right;
	background-size: contain;
	opacity: 0.12;
	pointer-events: none;
	z-index: 1;
}

/* Featured events carousel (homepage) */
.jci-events-section--featured {
	background: #ffffff !important;
	background-image: none !important;
}

.jci-events-decor {
	position: absolute;
	pointer-events: none;
	z-index: 1;
}

.jci-events-decor--loop {
	top: 12%;
	left: 3%;
	width: 120px;
	height: 120px;
	border: 2px dashed rgba(245, 158, 11, 0.35);
	border-radius: 50% 50% 40% 60% / 60% 40% 50% 50%;
	transform: rotate(-12deg);
	opacity: 0.7;
}

.jci-events-decor--leaves {
	top: 8%;
	right: 4%;
	width: 80px;
	height: 80px;
	background: radial-gradient(circle at 30% 30%, #86efac 0%, transparent 55%),
		radial-gradient(circle at 70% 40%, #4ade80 0%, transparent 50%),
		radial-gradient(circle at 50% 70%, #22c55e 0%, transparent 45%);
	opacity: 0.45;
	border-radius: 50%;
}

.jci-events-header {
	max-width: 640px;
	margin: 0 auto 2.5rem;
}

.jci-events-header__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	margin: 0 0 0.75rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #f59e0b;
}

.jci-events-header__eyebrow-arrow {
	font-size: 0.85rem;
	opacity: 0.85;
}

.jci-events-header__title {
	margin: 0 0 0.85rem;
	color: #111827;
}

.jci-events-header__line {
	display: block;
	width: 56px;
	height: 3px;
	margin: 0 auto 1rem;
	background: linear-gradient(90deg, #f59e0b, #fb923c);
	border-radius: 999px;
}

.jci-events-header__intro {
	margin: 0;
	font-size: 1rem;
	line-height: 1.65;
	color: #6b7280;
}

.jci-events-carousel-wrap {
	position: relative;
	margin: 0 -0.5rem;
}

.jci-events-slider {
	display: flex;
	align-items: stretch;
	gap: 0.75rem;
}

.jci-events-scroll {
	flex: 1;
	min-width: 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding: 0.5rem 0 1rem;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: 0.5rem;
}

.jci-events-scroll::-webkit-scrollbar {
	display: none;
}

.jci-events-scroll-btn {
	flex-shrink: 0;
	align-self: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: none;
	border-radius: 50%;
	background: var(--header-nav-teal, #57bcbc);
	color: #ffffff;
	font-size: 0.85rem;
	cursor: pointer;
	transition: var(--transition-smooth);
	box-shadow: 0 4px 14px rgba(87, 188, 188, 0.35);
}

.jci-events-scroll-btn:hover {
	transform: scale(1.05);
	background: var(--header-nav-teal-dark, #3da8a8);
}

.jci-events-track {
	display: flex;
	align-items: stretch;
	gap: 1.25rem;
	width: max-content;
	padding: 0.25rem 0.5rem 0.75rem;
}

.jci-event-slide {
	flex: 0 0 min(820px, 78vw);
	width: min(820px, 78vw);
	scroll-snap-align: start;
}

.jci-event-featured-card {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	min-height: 320px;
	background: #f3f4f6;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.jci-event-slide:hover .jci-event-featured-card {
	transform: translateY(-3px);
	box-shadow: 0 22px 55px rgba(15, 23, 42, 0.12);
}

.jci-event-featured-card__media {
	position: relative;
	min-height: 220px;
	background: #e5e7eb;
}

.jci-event-featured-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	min-height: 220px;
}

.jci-event-featured-card__image--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 3rem;
	color: rgba(17, 24, 39, 0.2);
	background: linear-gradient(135deg, #fde68a 0%, #f97316 100%);
}

.jci-event-featured-card__days-badge {
	position: absolute;
	left: 1rem;
	bottom: 1rem;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: #f97316;
	color: #ffffff;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
}

.jci-event-featured-card__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(1.25rem, 3vw, 2rem);
	gap: 1rem;
}

.jci-event-featured-card__title {
	margin: 0;
	font-size: clamp(1.35rem, 2.5vw, 1.85rem);
	font-weight: 800;
	line-height: 1.25;
}

.jci-event-featured-card__title a {
	color: #111827 !important;
	text-decoration: none;
}

.jci-event-featured-card__title a:hover {
	color: var(--brand-secondary, #57bcbc) !important;
}

.jci-event-countdown {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
}

.jci-event-countdown__unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
}

.jci-event-countdown__digits {
	display: flex;
	gap: 0.35rem;
}

.jci-event-countdown__digit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.1rem;
	height: 2.5rem;
	padding: 0 0.35rem;
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
	font-size: 1.35rem;
	font-weight: 800;
	line-height: 1;
	color: #111827;
}

.jci-event-countdown__label {
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6b7280;
}

.jci-event-featured-card__meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.75rem 1rem;
	font-size: 0.88rem;
	color: #4b5563;
}

.jci-event-featured-card__location,
.jci-event-featured-card__date {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.jci-event-featured-card__meta .fa-solid,
.jci-event-featured-card__meta .fa-regular {
	color: var(--brand-secondary, #57bcbc);
}

.jci-event-featured-card__time {
	margin-left: 0.35rem;
	opacity: 0.85;
}

.jci-event-featured-card__actions {
	margin-top: 0.25rem;
}

.jci-event-featured-card__register {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1.5rem;
	border-radius: 999px;
	background: #ffffff;
	color: #111827;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.jci-event-featured-card__register:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
	color: #111827;
}

.jci-events-view-all {
	margin: 1.5rem 0 0;
}

.jci-events-empty-wrap {
	max-width: 560px;
	margin: 0 auto;
}

@media (max-width: 768px) {
	.jci-events-scroll-btn {
		display: none;
	}

	.jci-event-slide {
		flex: 0 0 min(92vw, 520px);
		width: min(92vw, 520px);
	}

	.jci-event-featured-card {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.jci-event-featured-card__body {
		padding: 1.25rem;
	}

	.jci-events-decor {
		display: none;
	}
}

.event-registration-action {
	margin-top: 1rem;
}

.event-card__register {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.85rem;
	padding: 0.6rem 1.25rem;
	border-radius: 30px;
	font-weight: 600;
	width: auto;
}

.event-meta-info .fa-solid {
	color: var(--brand-secondary);
	margin-right: 6px;
	width: 14px;
}

.footer-programs-hint {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.55);
	font-style: italic;
}

/* Events archive & single (SaaS-style inner pages) */
.jci-events-page {
	background: #f4f7fa;
}

.jci-events-page-hero,
.jci-events-page-hero__overlay {
	position: relative;
	min-height: 320px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.jci-events-page-hero__overlay {
	width: 100%;
	min-height: 320px;
	background: linear-gradient(
		135deg,
		rgba(var(--brand-primary-rgb), 0.92) 0%,
		rgba(var(--brand-secondary-rgb), 0.78) 100%
	);
}

.jci-events-page-hero--compact .jci-events-page-hero__overlay,
.jci-events-page-hero--compact {
	min-height: 260px;
}

.jci-events-page-hero__inner {
	text-align: center;
	padding: calc(var(--header-height, 100px) + 2rem) 1rem 3rem;
}

.jci-events-page-hero__eyebrow {
	margin: 0 0 0.5rem;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--brand-tertiary);
}

.jci-events-page-hero__title {
	margin: 0 0 0.75rem;
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 800;
	color: #ffffff;
	letter-spacing: -0.02em;
}

.jci-events-page-hero__intro {
	max-width: 42ch;
	margin: 0 auto 1rem;
	font-size: 1.05rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.88);
}

.jci-events-page-hero__breadcrumb {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.35rem 0.5rem;
	font-size: 0.9rem;
}

.jci-events-page-hero__breadcrumb a {
	color: var(--brand-tertiary);
	font-weight: 600;
	text-decoration: none;
}

.jci-events-page-hero__breadcrumb a:hover {
	text-decoration: underline;
}

.jci-events-page-hero__breadcrumb-sep {
	color: rgba(255, 255, 255, 0.65);
}

.jci-events-page-hero__breadcrumb [aria-current="page"] {
	color: #ffffff;
}

.jci-events-page-body {
	background: #ffffff;
}

.jci-events-page-grid {
	margin-bottom: 2rem;
}

.jci-events-page-empty {
	text-align: center;
	padding: 3rem 1.5rem;
	border-radius: 16px;
	background: #f9fafb;
	border: 1px dashed rgba(var(--brand-primary-rgb), 0.12);
}

.jci-events-page-empty p {
	margin: 0 0 1.25rem;
	color: #6b7280;
}

.jci-events-page-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.35rem;
}

.jci-events-page-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.75rem;
	border-radius: 8px;
	font-weight: 600;
	text-decoration: none;
	color: var(--brand-primary);
	background: #f3f4f6;
}

.jci-events-page-pagination .page-numbers.current {
	background: var(--brand-secondary);
	color: #ffffff;
}

.jci-event-single-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem 1.25rem;
	margin-top: 0.5rem;
	font-size: 0.92rem;
	color: rgba(255, 255, 255, 0.9);
}

.jci-event-single-meta__item {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.jci-event-single-card {
	max-width: 820px;
	margin: 0 auto;
	padding: 2rem 2.5rem;
	background: #ffffff;
	border-radius: 20px;
	box-shadow: 0 20px 50px rgba(var(--brand-primary-rgb), 0.1);
	border: 1px solid rgba(var(--brand-primary-rgb), 0.06);
}

.jci-event-single-card__figure {
	margin: -2rem -2.5rem 1.75rem;
	border-radius: 20px 20px 0 0;
	overflow: hidden;
}

.jci-event-single-card__image {
	display: block;
	width: 100%;
	height: auto;
	max-height: 420px;
	object-fit: cover;
}

.jci-event-single-card__content {
	color: #374151;
	line-height: 1.75;
}

.jci-event-single-card__actions {
	margin-top: 1.75rem;
}

.jci-event-single-card__actions .button {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.jci-event-single-back {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-weight: 600;
	color: var(--brand-secondary);
	text-decoration: none;
}

.jci-event-single-back:hover {
	color: var(--brand-primary);
}

@media (max-width: 768px) {
	.jci-event-single-card {
		padding: 1.25rem 1.25rem 1.75rem;
	}

	.jci-event-single-card__figure {
		margin: -1.25rem -1.25rem 1.25rem;
		border-radius: 16px 16px 0 0;
	}
}

/* ==========================================
   Board page — org chart (/board/)
   Homepage carousel unchanged
   ========================================== */
.jci-board-page {
	background: #f8fafc;
}

.jci-board-page-hero,
.jci-board-page-hero__overlay {
	position: relative;
	min-height: 280px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.jci-board-page-hero {
	background: linear-gradient(
		135deg,
		rgba(var(--brand-primary-rgb), 0.92) 0%,
		rgba(var(--brand-secondary-rgb), 0.78) 100%
	);
	background-size: cover;
	background-position: center;
}

.jci-board-page-hero__overlay {
	width: 100%;
	min-height: 280px;
	background: linear-gradient(
		135deg,
		rgba(15, 23, 42, 0.55) 0%,
		rgba(15, 23, 42, 0.35) 100%
	);
}

.jci-board-page-hero__inner {
	text-align: center;
	padding: calc(var(--header-height, 100px) + 2rem) 1rem 2.5rem;
}

.jci-board-page-hero__title {
	margin: 0;
	font-size: clamp(1.85rem, 4vw, 2.75rem);
	font-weight: 800;
	color: #ffffff;
}

.jci-board-page-hero__breadcrumb {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	margin-top: 0.75rem;
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.85);
}

.jci-board-page-hero__breadcrumb a {
	color: #ffffff;
	text-decoration: none;
}

.jci-board-page-hero__breadcrumb a:hover {
	text-decoration: underline;
}

.jci-board-page-hero__breadcrumb-sep {
	opacity: 0.7;
}

.jci-board-page-body {
	position: relative;
	overflow: hidden;
	padding-bottom: clamp(3rem, 6vw, 5rem);
}

.jci-board-page-pattern {
	position: absolute;
	inset: 0;
	opacity: 0.45;
	background-color: #f8fafc;
	background-image:
		linear-gradient(135deg, transparent 46%, rgba(148, 163, 184, 0.1) 46%, rgba(148, 163, 184, 0.1) 54%, transparent 54%),
		linear-gradient(45deg, transparent 46%, rgba(148, 163, 184, 0.08) 46%, rgba(148, 163, 184, 0.08) 54%, transparent 54%);
	background-size: 52px 52px;
	pointer-events: none;
}

.jci-board-page-body__inner {
	position: relative;
	z-index: 1;
}

.jci-board-page-intro-wrap {
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.jci-board-page-intro {
	max-width: 560px;
	margin: 0 auto 0.85rem;
	font-size: 1.05rem;
	line-height: 1.65;
	color: #64748b;
}

.jci-board-page-intro__line {
	display: block;
	width: 48px;
	height: 3px;
	margin: 0 auto;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--brand-primary, #1a2744), var(--brand-secondary, #15803d));
}

/* Org chart levels */
.jci-board-org {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
}

.jci-board-org__level + .jci-board-org__level {
	margin-top: 0.5rem;
}

.jci-board-org__level {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.jci-board-org__connector {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	height: 1.75rem;
	margin-bottom: 0.15rem;
}

.jci-board-org__connector-line {
	display: block;
	width: 2px;
	height: 100%;
	background: linear-gradient(180deg, rgba(26, 39, 68, 0.35), rgba(21, 128, 61, 0.35));
	border-radius: 2px;
}

.jci-board-org__connector-node {
	position: absolute;
	bottom: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--brand-secondary, #15803d);
	box-shadow: 0 0 0 4px rgba(21, 128, 61, 0.15);
}

.jci-board-org__level-label {
	margin: 0 0 1rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #94a3b8;
}

.jci-board-org__row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	gap: 1rem;
	width: 100%;
}

.jci-board-org__row--single,
.jci-board-org__row--flex {
	max-width: none;
}

.jci-board-org__row--grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
	justify-items: center;
	gap: 1rem;
	max-width: 920px;
}

.jci-board-org__level--members .jci-board-org__row--grid {
	max-width: 960px;
}

/* Cards — compact vertical profile cards */
.jci-board-org-card {
	flex: 0 0 auto;
	width: 168px;
	max-width: 100%;
}

.jci-board-org-card--president {
	width: 196px;
}

.jci-board-org-card--evp {
	width: 180px;
}

.jci-board-org-card--officer {
	width: 168px;
}

.jci-board-org-card__shell {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #ffffff;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.jci-board-org-card__shell:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(15, 23, 42, 0.1);
}

.jci-board-org-card--president .jci-board-org-card__shell {
	border: 2px solid #1a2744;
	box-shadow: 0 4px 16px rgba(26, 39, 68, 0.1);
}

.jci-board-org-card--evp .jci-board-org-card__shell {
	border-color: rgba(26, 39, 68, 0.18);
}

.jci-board-org-card--officer .jci-board-org-card__shell {
	border-color: rgba(21, 128, 61, 0.2);
}

.jci-board-org-card__photo {
	position: relative;
	width: 100%;
	aspect-ratio: 1;
	overflow: hidden;
	background: #f1f5f9;
}

.jci-board-org-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.jci-board-org-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(145deg, #1a2744 0%, #2d4a7c 55%, #15803d 100%);
}

.jci-board-org-card__initials {
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	color: rgba(255, 255, 255, 0.95);
}

.jci-board-org-card--president .jci-board-org-card__initials {
	font-size: 1.5rem;
}

.jci-board-org-card__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 0.65rem 0.6rem 0.75rem;
}

.jci-board-org-card__role {
	margin: 0 0 0.2rem;
	font-size: 0.58rem;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #15803d;
}

.jci-board-org-card--president .jci-board-org-card__role,
.jci-board-org-card--evp .jci-board-org-card__role {
	color: #1a2744;
}

.jci-board-org-card__name {
	margin: 0 0 0.35rem;
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1.35;
	color: #1e293b !important;
}

.jci-board-org-card--president .jci-board-org-card__name {
	font-size: 0.88rem;
}

.jci-board-org-card__bio {
	margin: 0 0 0.4rem;
	font-size: 0.68rem;
	line-height: 1.45;
	color: #64748b;
}

.jci-board-org-card__badge {
	display: inline-flex;
	margin: 0 0 0.35rem;
	padding: 0.15rem 0.45rem;
	font-size: 0.62rem;
	font-weight: 600;
	line-height: 1.35;
	color: #64748b;
	background: #f1f5f9;
	border-radius: 999px;
}

.jci-board-org-card__contacts {
	margin: 0;
	padding: 0;
	list-style: none;
	width: 100%;
	font-size: 0.65rem;
	line-height: 1.4;
	color: #64748b;
}

.jci-board-org-card__contacts li {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 0.3rem;
}

.jci-board-org-card__contacts li + li {
	margin-top: 0.2rem;
}

.jci-board-org-card__contacts i {
	flex-shrink: 0;
	margin-top: 0.1rem;
	font-size: 0.58rem;
	opacity: 0.75;
}

.jci-board-org-card__contacts a {
	color: #475569;
	text-decoration: none;
	word-break: break-word;
}

.jci-board-org-card__contacts a:hover {
	color: #1a2744;
	text-decoration: underline;
}

.jci-board-org-card__socials {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.3rem;
	margin-top: 0.45rem;
}

.jci-board-org-card__social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #f1f5f9;
	color: #1a2744;
	font-size: 0.65rem;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.jci-board-org-card__social:hover {
	background: #1a2744;
	color: #ffffff;
}

.jci-board-page-empty {
	max-width: 560px;
	margin: 0 auto;
}

@media (max-width: 992px) {
	.jci-board-org__row--grid {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	}
}

@media (max-width: 768px) {
	.jci-board-org__connector {
		height: 1.5rem;
	}

	.jci-board-org-card,
	.jci-board-org-card--president,
	.jci-board-org-card--evp,
	.jci-board-org-card--officer {
		width: min(168px, 46vw);
	}

	.jci-board-org-card--president {
		width: min(180px, 52vw);
	}

	.jci-board-org__row--grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Board page — dynamic layouts & card styles */
.jci-board-grid {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
}

.jci-board-grid--grouped {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.jci-board-grid__section {
	width: 100%;
}

.jci-board-grid__heading {
	margin: 0 0 1rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-align: center;
	color: #94a3b8;
}

.jci-board-grid__items {
	display: grid;
	gap: 1rem;
	justify-items: center;
}

.jci-board-page--cols-auto .jci-board-grid__items,
.jci-board-page--cols-auto .jci-board-org__row--grid {
	grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
}

.jci-board-page--cols-2 .jci-board-grid__items,
.jci-board-page--cols-2 .jci-board-org__row--grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jci-board-page--cols-3 .jci-board-grid__items,
.jci-board-page--cols-3 .jci-board-org__row--grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jci-board-page--cols-4 .jci-board-grid__items,
.jci-board-page--cols-4 .jci-board-org__row--grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jci-board-page--layout-grid .jci-board-org-card,
.jci-board-page--layout-grid-flat .jci-board-org-card {
	width: 100%;
	max-width: 196px;
}

.jci-board-page--layout-grid-flat .jci-board-org-card--president,
.jci-board-page--layout-grid .jci-board-org-card--president {
	max-width: 210px;
}

.jci-board-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	width: 100%;
	max-width: 680px;
	margin: 0 auto;
}

.jci-board-page--layout-list .jci-board-org-card {
	width: 100%;
	max-width: 100%;
}

.jci-board-page--no-connectors .jci-board-org__connector {
	display: none;
}

.jci-board-page--no-sections .jci-board-org__level-label,
.jci-board-page--no-sections .jci-board-grid__heading {
	display: none;
}

/* Card style: horizontal */
.jci-board-page--cards-horizontal .jci-board-org-card__shell {
	flex-direction: row;
	align-items: stretch;
}

.jci-board-page--cards-horizontal .jci-board-org-card__photo {
	width: 88px;
	min-height: 88px;
	flex-shrink: 0;
	aspect-ratio: 1;
}

.jci-board-page--cards-horizontal .jci-board-org-card__body {
	align-items: flex-start;
	text-align: left;
	padding: 0.75rem 0.85rem 0.75rem 0;
	flex: 1;
}

.jci-board-page--cards-horizontal .jci-board-org-card__contacts li {
	justify-content: flex-start;
}

.jci-board-page--cards-horizontal .jci-board-org-card__socials {
	justify-content: flex-start;
}

.jci-board-page--layout-list.jci-board-page--cards-horizontal .jci-board-org-card,
.jci-board-page--layout-list.jci-board-page--cards-horizontal .jci-board-org-card--president,
.jci-board-page--layout-list.jci-board-page--cards-horizontal .jci-board-org-card--evp,
.jci-board-page--layout-list.jci-board-page--cards-horizontal .jci-board-org-card--officer {
	width: 100%;
	max-width: 100%;
}

.jci-board-page--layout-list.jci-board-page--cards-horizontal .jci-board-org-card__photo {
	width: 72px;
	min-height: 72px;
}

.jci-board-page--layout-grid.jci-board-page--cards-horizontal .jci-board-org-card,
.jci-board-page--layout-grid-flat.jci-board-page--cards-horizontal .jci-board-org-card {
	max-width: 320px;
}

.jci-board-page--layout-org-chart.jci-board-page--cards-horizontal .jci-board-org-card {
	width: min(100%, 340px);
	max-width: 340px;
}

.jci-board-page--layout-org-chart.jci-board-page--cards-horizontal .jci-board-org-card--president {
	width: min(100%, 380px);
	max-width: 380px;
}

/* Card style: minimal */
.jci-board-page--cards-minimal .jci-board-org-card__body {
	padding-bottom: 0.65rem;
}

.jci-board-page--cards-minimal .jci-board-org-card__initials {
	font-size: 1.1rem;
}

@media (max-width: 768px) {
	.jci-board-page--cols-3 .jci-board-grid__items,
	.jci-board-page--cols-3 .jci-board-org__row--grid,
	.jci-board-page--cols-4 .jci-board-grid__items,
	.jci-board-page--cols-4 .jci-board-org__row--grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.jci-board-page--layout-grid .jci-board-org-card,
	.jci-board-page--layout-grid-flat .jci-board-org-card {
		max-width: none;
	}

	.jci-board-page--layout-list .jci-board-org-card,
	.jci-board-page--layout-list .jci-board-org-card--president,
	.jci-board-page--layout-list .jci-board-org-card--evp,
	.jci-board-page--layout-list .jci-board-org-card--officer {
		width: 100%;
		max-width: 100%;
	}
}

/* ==========================================
   Projects page — SaaS-style (/projects/)
   ========================================== */
.jci-projects-page {
	background: #f8fafc;
}

.jci-projects-page-hero,
.jci-projects-page-hero__overlay {
	position: relative;
	min-height: 280px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.jci-projects-page-hero {
	background: linear-gradient(
		135deg,
		rgba(var(--brand-primary-rgb), 0.94) 0%,
		rgba(21, 128, 61, 0.75) 100%
	);
	background-size: cover;
	background-position: center;
}

.jci-projects-page-hero__overlay {
	width: 100%;
	min-height: 280px;
	background: linear-gradient(135deg, rgba(15, 23, 42, 0.5) 0%, rgba(15, 23, 42, 0.35) 100%);
}

.jci-projects-page-hero__inner {
	text-align: center;
	padding: calc(var(--header-height, 100px) + 2rem) 1rem 2.5rem;
}

.jci-projects-page-hero__eyebrow {
	margin: 0 0 0.5rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.85);
}

.jci-projects-page-hero__title {
	margin: 0;
	font-size: clamp(1.85rem, 4vw, 2.75rem);
	font-weight: 800;
	color: #ffffff;
}

.jci-projects-page-hero__breadcrumb {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	margin-top: 0.75rem;
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.85);
}

.jci-projects-page-hero__breadcrumb a {
	color: #ffffff;
	text-decoration: none;
}

.jci-projects-page-hero__breadcrumb a:hover {
	text-decoration: underline;
}

.jci-projects-page-body {
	position: relative;
	overflow: hidden;
}

.jci-projects-page-body__glow {
	position: absolute;
	top: -120px;
	right: -80px;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(21, 128, 61, 0.12) 0%, transparent 70%);
	pointer-events: none;
}

.jci-projects-page-body__inner {
	position: relative;
	z-index: 1;
}

.jci-projects-page-intro {
	max-width: 640px;
	margin: 0 auto 2rem;
	font-size: 1.05rem;
	line-height: 1.65;
	text-align: center;
	color: #64748b;
}

.jci-projects-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	max-width: 720px;
	margin: 0 auto 2rem;
	padding: 1rem 1.25rem;
	background: #ffffff;
	border: 1px solid rgba(15, 23, 42, 0.06);
	border-radius: 16px;
	box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.jci-projects-stats__item {
	text-align: center;
}

.jci-projects-stats__value {
	display: block;
	font-size: 1.5rem;
	font-weight: 800;
	color: #1a2744;
	line-height: 1.2;
}

.jci-projects-stats__label {
	display: block;
	margin-top: 0.15rem;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #94a3b8;
}

.jci-projects-toolbar {
	display: flex;
	justify-content: center;
	margin-bottom: 2rem;
}

.jci-projects-filters {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	padding: 0.35rem;
	background: #ffffff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 999px;
	box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
}

.jci-projects-filter {
	padding: 0.45rem 1rem;
	font-size: 0.8rem;
	font-weight: 600;
	color: #64748b;
	background: transparent;
	border: none;
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.jci-projects-filter:hover {
	color: #1a2744;
}

.jci-projects-filter.is-active {
	color: #ffffff;
	background: linear-gradient(135deg, #1a2744, #243b6b);
}

.jci-projects-featured {
	max-width: 900px;
	margin: 0 auto 2.5rem;
}

.jci-projects-featured.is-hidden {
	display: none;
}

.jci-projects-featured__label {
	margin: 0 0 0.75rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #15803d;
	text-align: center;
}

.jci-projects-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.25rem;
	max-width: 1100px;
	margin: 0 auto;
}

.jci-project-card.is-hidden {
	display: none;
}

.jci-projects-empty-filter {
	text-align: center;
	color: #64748b;
	font-size: 0.95rem;
	margin-top: 1.5rem;
}

.jci-projects-empty-filter.is-hidden {
	display: none;
}

/* Project cards */
.jci-project-card__shell {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #ffffff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.jci-project-card__shell:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
	border-color: rgba(26, 39, 68, 0.15);
}

.jci-project-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: linear-gradient(145deg, #e2e8f0, #f1f5f9);
}

.jci-project-card--featured .jci-project-card__media {
	aspect-ratio: 21 / 9;
}

.jci-project-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.jci-project-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 2rem;
	color: #94a3b8;
	background: linear-gradient(145deg, #1a2744 0%, #2d4a7c 50%, #15803d 100%);
}

.jci-project-card__placeholder i {
	color: rgba(255, 255, 255, 0.7);
}

.jci-project-card__status {
	position: absolute;
	top: 0.65rem;
	right: 0.65rem;
	padding: 0.2rem 0.55rem;
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #ffffff;
	background: rgba(15, 23, 42, 0.65);
	backdrop-filter: blur(6px);
	border-radius: 999px;
}

.jci-project-card--status-active .jci-project-card__status {
	background: rgba(21, 128, 61, 0.9);
}

.jci-project-card--status-upcoming .jci-project-card__status {
	background: rgba(37, 99, 235, 0.9);
}

.jci-project-card--status-completed .jci-project-card__status {
	background: rgba(100, 116, 139, 0.9);
}

.jci-project-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1rem 1.1rem 1.15rem;
}

.jci-project-card__meta-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.45rem;
}

.jci-project-card__category {
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #15803d;
}

.jci-project-card__year {
	font-size: 0.72rem;
	font-weight: 600;
	color: #94a3b8;
}

.jci-project-card__title {
	margin: 0 0 0.35rem;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
	color: #1e293b !important;
}

.jci-project-card--featured .jci-project-card__title {
	font-size: clamp(1.15rem, 2.5vw, 1.45rem);
}

.jci-project-card__tagline {
	margin: 0 0 0.65rem;
	font-size: 0.85rem;
	line-height: 1.5;
	color: #64748b;
	flex: 1;
}

.jci-project-card__impact {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0 0 0.75rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: #1a2744;
}

.jci-project-card__impact i {
	font-size: 0.72rem;
	color: #15803d;
}

.jci-project-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: auto;
	font-size: 0.82rem;
	font-weight: 700;
	color: #1a2744;
	text-decoration: none;
	transition: gap 0.2s ease, color 0.2s ease;
}

.jci-project-card__cta:hover {
	color: #15803d;
	gap: 0.55rem;
}

.jci-project-card--featured .jci-project-card__shell {
	border: 2px solid rgba(26, 39, 68, 0.12);
	box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}

.jci-project-card--featured .jci-project-card__body {
	padding: 1.25rem 1.35rem 1.35rem;
}

.jci-projects-page-empty {
	max-width: 520px;
	margin: 0 auto;
}

@media (max-width: 768px) {
	.jci-projects-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.jci-projects-grid {
		grid-template-columns: 1fr;
	}

	.jci-projects-filters {
		width: 100%;
		justify-content: center;
		border-radius: 14px;
	}
}

/* ==========================================================================
   Sponsors & Partners
   ========================================================================== */
.jci-sponsors-section {
	background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
	overflow: hidden;
}

.jci-sponsors-section__eyebrow {
	margin: 0 0 0.5rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--brand-tertiary);
}

.jci-sponsors-section__header {
	margin-bottom: 1.5rem;
}

.jci-sponsors-block {
	margin-top: 0;
}

.jci-sponsors-block__header {
	text-align: center;
	margin-bottom: 0.75rem;
}

.jci-sponsors-block__title {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 800;
	color: #1f2937;
}

.jci-sponsors-block__intro {
	max-width: 720px;
	margin: 0 auto 1.25rem;
	padding: 0 1.5rem;
	text-align: center;
	font-size: 0.98rem;
	line-height: 1.65;
	color: #4b5563;
}

.jci-sponsors-block__intro p:last-child {
	margin-bottom: 0;
}

.jci-sponsors-block__track-wrap {
	overflow: hidden;
	width: 100%;
	padding: 0.5rem 0 1rem;
}

.jci-sponsors-block--slider .jci-sponsors-block__track-wrap {
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.jci-sponsors-block__track {
	display: flex;
	align-items: stretch;
	gap: 1.25rem;
	width: max-content;
}

.jci-sponsors-block--static .jci-sponsors-block__track {
	flex-wrap: wrap;
	justify-content: center;
	width: 100%;
	max-width: var(--header-max-width);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.jci-sponsors-block--slider .jci-sponsors-block__track.is-animating {
	animation: jciSponsorsMarquee 42s linear infinite;
}

.jci-sponsors-block--slider .jci-sponsors-block__track.is-static-motion {
	animation: none;
	flex-wrap: wrap;
	justify-content: center;
	width: 100%;
	max-width: var(--header-max-width);
	margin: 0 auto;
	padding: 0 1.5rem;
}

@keyframes jciSponsorsMarquee {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

.jci-sponsor-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-width: 160px;
	max-width: 200px;
	padding: 1rem 1.1rem;
	background: #ffffff;
	border: 1px solid rgba(19, 13, 52, 0.08);
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
	text-decoration: none;
	color: inherit;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

a.jci-sponsor-item:hover {
	transform: translateY(-4px);
	border-color: rgba(var(--brand-tertiary-rgb), 0.45);
	box-shadow: 0 14px 32px rgba(var(--brand-tertiary-rgb), 0.15);
}

.jci-sponsor-item--platinum {
	border-top: 3px solid #b8c5d6;
}

.jci-sponsor-item--gold {
	border-top: 3px solid #d4af37;
}

.jci-sponsor-item--silver {
	border-top: 3px solid #9ca3af;
}

.jci-sponsor-item__badge {
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6b7280;
}

.jci-sponsor-item--platinum .jci-sponsor-item__badge {
	color: #5b6b82;
}

.jci-sponsor-item--gold .jci-sponsor-item__badge {
	color: #a67c00;
}

.jci-sponsor-item__logo-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 72px;
}

.jci-sponsor-item__logo {
	max-width: 100%;
	max-height: 72px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.jci-sponsor-item__name {
	font-size: 0.82rem;
	font-weight: 700;
	text-align: center;
	line-height: 1.3;
	color: #374151;
}

.jci-single-post-article .jci-sponsors-block {
	margin: 2rem 0 0;
	padding-top: 1.75rem;
	border-top: 1px solid rgba(19, 13, 52, 0.08);
}

.jci-single-post-article .jci-sponsors-block__track-wrap {
	mask-image: none;
}

@media (max-width: 768px) {
	.jci-sponsor-item {
		min-width: 140px;
		max-width: 170px;
		padding: 0.85rem;
	}

	.jci-sponsor-item__logo-wrap {
		height: 60px;
	}

	.jci-sponsor-item__logo {
		max-height: 60px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jci-sponsors-block--slider .jci-sponsors-block__track.is-animating {
		animation: none;
	}
}

