.mpi-poster-strip h3 {
	text-align: center;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	display: block;
}
.poster-strip-container {
	justify-content: center;
}
/* Beautified header navigation buttons */
.mpi-header .w3-button {
	background: linear-gradient(90deg, #1976d2 0%, #64b5f6 100%) !important;
	color: #fff !important;
	font-weight: 500;
	border-radius: 20px !important;
	padding: 0.38rem 0.95rem !important;
	box-shadow: 0 2px 8px rgba(25, 118, 210, 0.10);
	border: none !important;
	font-size: 0.9rem !important;
	letter-spacing: 0.5px;
	transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.mpi-header .w3-button:hover {
	background: linear-gradient(90deg, #1565c0 0%, #90caf9 100%) !important;
	color: #fff !important;
	box-shadow: 0 4px 16px rgba(25, 118, 210, 0.18);
	transform: translateY(-2px) scale(1.04);
}
.mpi-contact-top {
	width: 100%;
	background: #e0f7fa;
	color: #222;
	font-family: 'Inter', Arial, sans-serif;
	font-size: 1rem;
	text-align: center;
	padding: 0.5rem 0;
	border-bottom: 1px solid #b2ebf2;
}
.mpi-contact-phones {
	font-weight: 500;
	color: #00796b;
}

.mpi-contact-map {
	padding: 1.2rem 1rem;
	color: #d6006e;
	text-decoration: underline;
	font-weight: 500;
}
.mpi-description {
	display: flex;
	justify-content: center;
	align-items: center;
	height: auto;
}
.mpi-description {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0.75rem 0 1rem 0;
	width: 100%;
	text-align: center;
}
.mpi-description-inner {
	background: linear-gradient(90deg, #e0f7fa 0%, #ffe0f0 100%);
	color: #3a3a3a;
	border-radius: 16px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
	padding: 1.2rem 2rem;
	font-size: 1.08rem;
	font-family: 'Inter', Arial, sans-serif;
	text-align: center;
	max-width: 700px;
	line-height: 1.6;
}
@media (max-width: 700px) {
	.mpi-description-inner {
		padding: 1rem 0.5rem;
		font-size: 1rem;
	}
}
.mpi-courses-row {
	display: flex;
	gap: 2rem;
	justify-content: center;
	margin: 1rem 0;
	flex-wrap: wrap;
}
.mpi-course-card {
	background: #ffe0f0;
	border-radius: 18px;
	box-shadow: 0 2px 12px rgba(255, 0, 100, 0.08);
	padding: 2rem 1.5rem;
	width: 320px;
	text-align: center;
	text-decoration: none;
	transition: box-shadow 0.2s, transform 0.2s;
	border: 2px solid #ffb6d5;
	cursor: pointer;
}
.mpi-course-card:hover {
	box-shadow: 0 6px 24px rgba(255, 0, 100, 0.18);
	transform: translateY(-4px) scale(1.03);
	border-color: #ff69b4;
}
.mpi-course-title {
	font-size: 1.2rem;
	font-weight: 600;
	color: #1565c0;
	margin-bottom: 0.7rem;
	font-family: 'Inter', Arial, sans-serif;
}
.mpi-course-sub {
	font-size: 1rem;
	color: #1976d2;
	font-family: 'Inter', Arial, sans-serif;
}
@media (max-width: 900px) {
	.mpi-courses-row {
		gap: 1rem;
	}
	.mpi-course-card {
		width: 98vw;
		margin-bottom: 1rem;
	}
}

.poster-slider-container {
	position: relative;
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
	height: 480px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fffbe6;
	border-radius: 16px;
	box-shadow: 0 2px 16px rgba(0,0,0,0.08);
	overflow: hidden;
}
.poster-slider {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.poster-slide {
	display: none;
	width: 100%;
	height: 100%;
	border-radius: 14px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.10);
	object-fit: contain;
	background: #fff;
}
.poster-slide:hover {
	background: #ffe9b3;
	color: #111;
}
@media (max-width: 700px) {
	.poster-slider-container {
		max-width: 98vw;
		height: 300px;
	}
	.poster-slide {
		max-height: 280px;
	}
}
.mpi-results-slider {
	margin: 2rem 0;
	text-align: center;
}

.slider-container {
	position: relative;
	width: 100%;
	max-width: 400px;
	margin: 0 auto;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fffbe6;
	border-radius: 8px;
	box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.slide {
	display: none;
	font-size: 1.5rem;
	color: #222;
	text-decoration: none;
	font-family: 'Inter', Arial, sans-serif;
	font-weight: 500;
	padding: 0.5rem 2rem;
	border-radius: 6px;
	background: #f5c35f;
	box-shadow: 0 1px 4px rgba(0,0,0,0.04);
	transition: background 0.2s;
}
.slide:hover {
	background: #ffe9b3;
	color: #111;
}

body {
	margin: 0;
	font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
	background: #f8fafc;
	color: #222;
}

.mpi-header {
	background: #fffbe6;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
	position: sticky;
	top: 0;
	z-index: 100;
}

.mpi-header-content {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0.9rem 1.2rem;
	gap: 0.9rem;
	min-height: 96px;
}

.mpi-logo {
	width: 118px;
	height: auto;
	border-radius: 16px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.12);
	aspect-ratio: 1 / 1;
	object-fit: contain;
}
.w3-bar-item {
	color: #222 !important;
	font-size: 1rem !important;
	padding: 0.7rem 1rem !important;
	border-bottom: 1px solid #f5c35f !important;
}
.w3-bar-item:last-child {
	border-bottom: none !important;
}


.mpi-poster-strip {
	margin: 2rem 0 1rem 0;
	text-align: center;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.poster-strip-container {
	display: flex;
	gap: 2.5rem;
	overflow-x: auto;
	padding: 2rem 0.5rem;
	background: #fffbe6;
	border-radius: 24px;
	box-shadow: 0 2px 16px rgba(0,0,0,0.08);
	scrollbar-width: thin;
	scrollbar-color: #f5c35f #fffbe6;
	min-height: 420px;
	align-items: center;
}
.poster-strip-img {
	height: 380px;
	border-radius: 20px;
	box-shadow: 0 2px 20px rgba(0,0,0,0.14);
	object-fit: contain;
	background: #fff;
	transition: transform 0.2s;
	flex-shrink: 0;
}
.poster-strip-img:hover {
	transform: scale(1.08);
	box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}
@media (max-width: 700px) {
	.poster-strip-img {
		height: 160px;
	}
	.poster-strip-container {
		min-height: 180px;
		gap: 1rem;
	}
}

.mpi-main {
	max-width: 1200px;
	margin: 2rem auto;
	padding: 1rem;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 16px rgba(0,0,0,0.06);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

/* Header overlap fixes */
.mpi-nav {
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	gap: 0.4rem;
	width: calc(100% - 130px);
	overflow-x: auto;
	overflow-y: hidden;
}

.mpi-nav .w3-button,
.mpi-nav .w3-dropdown-hover > .w3-button {
	white-space: nowrap;
	margin: 0 !important;
}

.mpi-nav .w3-dropdown-hover {
	position: relative;
	display: inline-block;
	margin: 0 !important;
	flex: 0 0 auto;
}

.mpi-header-content {
	flex-wrap: nowrap;
	min-height: auto;
	padding-top: 0.8rem;
	padding-bottom: 0.8rem;
}

@media (max-width: 900px) {
	.mpi-header-content {
		flex-wrap: wrap;
	}
	.mpi-nav {
		width: 100%;
	}
}

/* Centered 7th course card */
.mpi-courses-row-single {
	justify-content: center;
}

.mpi-courses-row-single .mpi-course-card {
	max-width: 360px;
}
