/* AIMECS 2027 - header overrides */

.main-header .main-box {
	background-color: rgba(245, 246, 248, 0.88);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.main-header.fixed-header .main-box {
	background-color: #F5F6F8;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.main-header .main-box .auto-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.main-header .logo-box {
	float: none;
	display: flex;
	align-items: center;
}

.main-header .nav-outer {
	float: none;
	display: flex;
	align-items: center;
	margin-left: auto;
}

.main-header .nav-outer .main-menu {
	float: none;
	display: flex;
	align-items: center;
}

.main-menu .navigation {
	display: flex;
	align-items: center;
}

.main-menu .navigation > li {
	float: none;
	display: flex;
	align-items: center;
}

.main-header .main-menu .navigation > li > a {
	color: #2b2d42;
}

.main-header .main-menu .navigation > li:hover > a,
.main-header .main-menu .navigation > li.current > a {
	color: #ad0082;
}

.main-header .main-menu .navigation > li > a:before {
	background-color: #ad0082;
}

.main-header .outer-box {
	float: none;
	display: flex;
	align-items: center;
}

.main-header .search-box-outer {
	float: none;
	display: flex;
	align-items: center;
}

.main-header .search-box-btn {
	margin-top: 0;
	display: flex;
	align-items: center;
	color: #2b2d42;
}

.main-header .search-box-btn:hover {
	color: #ad0082;
}

.main-header .outer-box .btn-box {
	float: none;
	padding: 0;
	display: flex;
	align-items: center;
}

.main-header .outer-box .btn-box a {
	float: none;
}

/* Banner hero text */
.banner-carousel .slide-item:before {
	background-color: #0b1a2b;
	opacity: 0.28;
}

.banner-carousel .content-box .title {
	color: #ffd56a;
	font-weight: 600;
	letter-spacing: 0.04em;
	margin-bottom: 18px;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.banner-carousel .content-box h2 {
	margin-bottom: 16px;
	text-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.banner-carousel .content-box h3 {
	display: block;
	margin: 0 0 36px;
	padding: 0 12px;
	font-size: clamp(16px, 2.2vw, 24px);
	line-height: 1.45;
	font-weight: 500;
	color: #ffffff;
	letter-spacing: 0.02em;
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
	opacity: 0;
	transform: translateY(100px);
	transition: all 500ms ease;
}

.banner-carousel .active .content-box h3 {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 450ms;
}

.banner-carousel .content-box .info-list {
	margin-bottom: 52px;
}

.banner-carousel .content-box .info-list li {
	margin: 8px 22px;
	font-size: 16px;
	letter-spacing: 0.06em;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.banner-carousel .content-box .info-list li .icon {
	color: #ffd56a;
	text-shadow: none;
}

.banner-carousel .content-box .btn-box {
	margin-top: 8px;
}

@media only screen and (max-width: 1023px) {
	/* backdrop-filter must NOT be on .main-header - it traps .mobile-menu
	   (position:fixed) inside the short header and clips the panel. */
	.main-header {
		background-color: transparent;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}

	.main-header .main-box {
		background-color: rgba(245, 246, 248, 0.88);
		backdrop-filter: blur(8px);
		-webkit-backdrop-filter: blur(8px);
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
	}

	.main-header.fixed-header .main-box {
		background-color: #F5F6F8;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}

	.main-header .mobile-menu {
		height: 100vh;
		height: 100dvh;
		padding-right: 0;
	}

	.main-header .mobile-menu .menu-box {
		height: 100%;
		max-height: 100%;
	}

	.main-header .nav-outer {
		margin-left: 0;
	}

	.nav-outer .mobile-nav-toggler {
		float: none;
		margin: 0;
		display: flex;
		align-items: center;
		line-height: 1;
		color: #ad0082;
	}

	.banner-carousel .content-box h3 {
		margin-bottom: 28px;
	}

	.banner-carousel .content-box .info-list {
		margin-bottom: 40px;
	}

	.banner-carousel .content-box .info-list li {
		margin: 6px 14px;
	}
}

/* Program at a Glance */
.schedule-section .program-list {
	max-width: 960px;
	margin: 0 auto;
	display: grid;
	gap: 14px;
}

.schedule-section .program-row {
	display: grid;
	grid-template-columns: 110px 1fr;
	gap: 16px;
	align-items: stretch;
	background: #ffffff;
	border: 1px solid #e6e8ee;
	border-radius: 14px;
	padding: 14px 16px;
	box-shadow: 0 8px 24px rgba(26, 43, 36, 0.04);
}

.schedule-section .program-time {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 14px;
	line-height: 1.35;
	font-weight: 600;
	color: #2b2d42;
	background: #f5f6f8;
	border-radius: 10px;
	padding: 10px 8px;
}

.schedule-section .program-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	min-width: 0;
}

.schedule-section .program-body h4,
.schedule-section .track h4 {
	margin: 0;
	font-size: 18px;
	line-height: 1.35;
	color: #212639;
	font-weight: 600;
}

.schedule-section .venue {
	font-size: 13px;
	color: #6b7280;
}

.schedule-section .session-type {
	display: inline-flex;
	align-self: flex-start;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	background: #f3e8ef;
	color: #ad0082;
}

.schedule-section .session-type.type-plenary {
	background: #e8f4ff;
	color: #1d4f91;
}

.schedule-section .session-type.type-ceremony {
	background: #fde8f4;
	color: #ad0082;
}

.schedule-section .session-type.type-break {
	background: #f3f4f6;
	color: #6b7280;
}

.schedule-section .session-type.type-social,
.schedule-section .session-type.type-tour {
	background: #fff4df;
	color: #b45309;
}

.schedule-section .session-type.type-poster {
	background: #ecfdf3;
	color: #027a48;
}

.schedule-section .program-row.is-break {
	background: #fafafa;
	box-shadow: none;
}

.schedule-section .program-row.is-break .program-body h4 {
	font-weight: 500;
	color: #6b7280;
}

.schedule-section .program-row.is-parallel {
	align-items: start;
}

.schedule-section .program-tracks {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

.schedule-section .track {
	background: #f8fafc;
	border: 1px solid #e8ecf1;
	border-radius: 10px;
	padding: 12px;
	display: grid;
	gap: 6px;
}

.schedule-section .track .venue {
	font-weight: 600;
	color: #ad0082;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

@media only screen and (max-width: 767px) {
	.schedule-section .program-row {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.schedule-section .program-time {
		justify-content: flex-start;
		text-align: left;
		padding: 8px 12px;
	}

	.schedule-section .program-tracks {
		grid-template-columns: 1fr;
	}
}

/* Committees page */
.committees-section {
	padding: 90px 0 70px;
	background: #f8fafb;
}

.committees-section .committee-intro {
	max-width: 860px;
	margin: 0 auto 60px;
	text-align: center;
}

.committees-section .committee-intro p {
	margin: 0 0 1rem;
	color: #5f676f;
	font-size: 16px;
	line-height: 1.75;
}

.committees-section .committee-group {
	margin-bottom: 70px;
}

.committees-section .committee-card {
	margin-bottom: 24px;
}

.committees-section .committee-card .inner {
	height: 100%;
	background: #ffffff;
	border: 1px solid #e6e8ee;
	border-radius: 14px;
	padding: 24px 22px;
	box-shadow: 0 8px 24px rgba(26, 43, 36, 0.04);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.committees-section .committee-card .inner:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(26, 43, 36, 0.08);
}

.committees-section .committee-card .name {
	margin: 0 0 8px;
	font-size: 18px;
	line-height: 1.35;
	color: #212639;
	font-weight: 700;
}

.committees-section .committee-card .affiliation {
	display: block;
	font-size: 14px;
	line-height: 1.55;
	color: #6b7280;
}

.committees-section .committee-card .inner.is-pending {
	border-color: #f5c2c0;
	background: #fff9f9;
}

.committees-section .committee-card .inner.is-pending .name {
	color: #b42318;
}

.committees-section .committee-card .pending-note {
	display: inline-block;
	margin-top: 10px;
	font-size: 12px;
	font-weight: 600;
	color: #b42318;
	letter-spacing: 0.02em;
}

.committees-section .committee-footnote {
	margin: 0;
	text-align: center;
	font-size: 13px;
	color: #6b7280;
}

/* Inner-page title - match template 1920x530 banner proportions */
.page-title {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 530px;
	padding: 100px 0;
	background-position: center center;
	background-size: cover;
}

.page-title .auto-container {
	width: 100%;
}

.page-title h1 {
	line-height: 1.15;
	letter-spacing: normal;
	transform: none;
}

/* Keep spacer under fixed header on tablet/mobile (template hides it) */
@media only screen and (max-width: 1023px) {
	.header-span {
		display: block;
		height: 72px;
	}

	.page-title {
		min-height: 360px;
		padding: 80px 0;
	}
}

@media only screen and (max-width: 767px) {
	.header-span {
		height: 64px;
	}

	.page-title {
		min-height: 280px;
		padding: 70px 0;
	}

	.page-title h1 {
		font-size: 40px;
	}
}
