/*
 * Milda-Template — premium responsive layer.
 * Loaded after the parent Bizberg and legacy School of Education styles.
 */

:root {
	--milda-green-950: #072e24;
	--milda-green-900: #0b3d2e;
	--milda-green-800: #14543f;
	--milda-green-700: #1b6a50;
	--milda-green-600: #2a7d61;
	--milda-green: #1b6a50;
	--milda-green-dark: #14543f;
	--milda-gold: #c8a45c;
	--milda-gold-soft: #e3cb92;
	--milda-gold-dark: #a68435;
	--milda-ink: #16342a;
	--milda-muted: #60756c;
	--milda-soft: #f5f7f2;
	--milda-radius: 20px;
	--milda-shadow: 0 20px 60px rgba(11, 61, 46, 0.12);
}

/*
 * Parent Bizberg forces overflow-x:hidden on html/body, which silently turns
 * them into scroll containers and kills position:sticky. `clip` keeps the same
 * horizontal clipping without creating a scroll container, so the top navbar
 * really stays visible while scrolling.
 */
html,
body {
	overflow-x: hidden !important; /* fallback for browsers without `clip` */
	overflow-x: clip !important;
}

html {
	scroll-behavior: smooth;
}

body.milda-front-page {
	background: var(--milda-soft);
	color: var(--milda-ink);
}

.milda-front section[id] {
	scroll-margin-top: 92px;
}

/* -------------------------------------------------------------------------
 * Sticky quick navigation
 * ---------------------------------------------------------------------- */
.milda-quick {
	position: sticky;
	top: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: 66px;
	padding: 10px clamp(14px, 4vw, 52px);
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(11, 61, 46, 0.08);
	box-shadow: 0 8px 30px rgba(11, 61, 46, 0.07);
}

.milda-quick-list {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	flex: 1;
	list-style: none;
	margin: 0;
	padding: 0;
}

.milda-quick-list li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.milda-quick-list a {
	display: block;
	padding: 9px 14px;
	border-radius: 999px;
	color: #60756c;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.milda-quick-list a:hover,
.milda-quick-list a.is-active {
	color: #fff;
	background: var(--milda-green);
	box-shadow: 0 8px 18px rgba(27, 106, 80, 0.20);
}

.milda-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	padding: 11px 20px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--milda-gold), #a68435);
	color: #0b3d2e !important;
	font-size: 0.88rem;
	font-weight: 800;
	text-decoration: none;
	box-shadow: 0 10px 24px rgba(168, 132, 53, 0.20);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.milda-cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(168, 132, 53, 0.28);
}

/* -------------------------------------------------------------------------
 * Light/dark mode switch
 * ---------------------------------------------------------------------- */
.milda-theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex: 0 0 auto;
	min-height: 42px;
	padding: 0 13px;
	border: 1px solid rgba(11, 61, 46, 0.12);
	border-radius: 12px;
	background: #fff;
	color: var(--milda-green-900);
	font-family: inherit;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	line-height: 1;
	text-transform: uppercase;
	cursor: pointer;
	transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.milda-theme-toggle:hover {
	border-color: var(--milda-gold-dark);
	background: rgba(200, 164, 92, 0.12);
}

.milda-theme-icon {
	display: inline-grid;
	place-items: center;
	width: 16px;
	height: 16px;
}

.milda-theme-icon i {
	font-size: 0.95rem;
	line-height: 1;
}

.milda-theme-icon .fa-sun {
	display: none;
}

html.milda-dark .milda-theme-icon .fa-sun {
	display: block;
}

html.milda-dark .milda-theme-icon .fa-moon {
	display: none;
}

/* On desktop JS moves this button directly after the school logo. */
.bizberg_header_wrapper > .milda-theme-toggle {
	margin-left: 16px;
}

.milda-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 4px;
	min-width: 42px;
	height: 42px;
	padding: 0 11px;
	border: 1px solid rgba(11, 61, 46, 0.12);
	border-radius: 12px;
	background: #fff;
	color: var(--milda-green-900);
	cursor: pointer;
}

.milda-menu-toggle > span:not(.screen-reader-text):not(.milda-toggle-text) {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: var(--milda-green-800);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.milda-toggle-text {
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1;
	text-transform: uppercase;
}

.milda-menu-toggle.is-open > span:not(.screen-reader-text):not(.milda-toggle-text):nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.milda-menu-toggle.is-open > span:not(.screen-reader-text):not(.milda-toggle-text):nth-child(2) {
	opacity: 0;
}

.milda-menu-toggle.is-open > span:not(.screen-reader-text):not(.milda-toggle-text):nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

/* -------------------------------------------------------------------------
 * Single mobile menu panel — contains every navigation item
 * ---------------------------------------------------------------------- */
.milda-mobile-panel {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 9998;
	max-height: calc(100vh - 76px);
	overflow-y: auto;
	border-bottom: 1px solid rgba(11, 61, 46, 0.12);
	background: #fff;
	box-shadow: 0 24px 40px rgba(11, 61, 46, 0.16);
}

.milda-mobile-panel.is-open {
	display: block;
}

.milda-mobile-panel-inner {
	padding: 20px clamp(16px, 4vw, 52px) 26px;
}

.milda-panel-label {
	margin: 0 0 8px;
	color: var(--milda-gold-dark);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.milda-panel-links,
.milda-panel-main-list {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}

.milda-panel-links li,
.milda-panel-main-list li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.milda-panel-links a,
.milda-panel-main-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 46px;
	padding: 10px 14px;
	border-bottom: 1px solid rgba(11, 61, 46, 0.06);
	border-radius: 12px;
	color: var(--milda-green-900);
	font-size: 0.92rem;
	font-weight: 700;
	text-decoration: none;
}

.milda-panel-links a i {
	color: var(--milda-gold-dark);
	font-size: 0.78rem;
}

.milda-panel-links a:hover,
.milda-panel-links a.is-active {
	background: rgba(27, 106, 80, 0.08);
	color: var(--milda-green-800);
}

.milda-panel-main-list a:hover,
.milda-panel-main-list .current-menu-item > a {
	background: var(--milda-green-800);
	color: #fff;
}

.milda-panel-cta {
	display: flex;
	width: 100%;
	justify-content: center;
	margin-top: 4px;
	border-radius: 14px;
}

/* -------------------------------------------------------------------------
 * Shared section rhythm
 * ---------------------------------------------------------------------- */
.milda-front .container {
	max-width: 1240px;
}

.milda-front .school-section-title,
.milda-front .section-title {
	margin-bottom: 36px;
}

.milda-front .school-section-title h4,
.milda-front .section-title .subtitle {
	margin: 0 0 8px;
	color: var(--milda-green);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.milda-front .school-section-title h2,
.milda-front .school-section-title h3,
.milda-front .section-title h2 {
	margin: 0;
	color: var(--milda-ink);
	font-size: clamp(1.8rem, 3.4vw, 2.6rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

/* -------------------------------------------------------------------------
 * Hero / banner
 * ---------------------------------------------------------------------- */
.milda-front .school-banner {
	position: relative;
	padding: 100px 0 110px;
	background-size: cover;
	background-position: center;
}

.milda-front .school-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(115deg, rgba(7, 46, 36, 0.96) 0%, rgba(20, 84, 63, 0.90) 55%, rgba(11, 61, 46, 0.84) 100%);
}

.milda-front .school-banner .container {
	position: relative;
	z-index: 2;
}

.milda-front .school-banner h4.elementor-title1 {
	margin: 0 0 14px;
	color: var(--milda-gold);
	font-size: 0.9rem;
	font-weight: 800;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.milda-front .school-banner h1.title {
	margin: 0 0 18px;
	color: #fff;
	font-size: clamp(2.3rem, 5.2vw, 4.2rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.05;
}

.milda-front .school-banner h1.title a {
	color: #fff;
	text-decoration: none;
}

.milda-front .school-banner p {
	max-width: 560px;
	color: rgba(255, 255, 255, 0.85);
	font-size: 1.05rem;
	line-height: 1.75;
}

.milda-front .banner-content-image {
	overflow: hidden;
	border-radius: 28px;
	box-shadow: var(--milda-shadow);
	transform: perspective(1000px) rotateY(-4deg);
}

.milda-front .banner-btn {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 28px;
}

.milda-front .banner-btn .per-btn {
	position: relative;
	isolation: isolate;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	overflow: hidden;
	padding: 14px 26px !important;
	border-radius: 999px !important;
	font-weight: 700;
	text-decoration: none;
}

.milda-front .banner-btn .per-btn::before {
	inset: 0 !important;
	border-radius: 999px !important;
	background: linear-gradient(135deg, var(--milda-gold), #a68435) !important;
}

.milda-front .banner-btn .per-btn span,
.milda-front .banner-btn .per-btn i {
	position: relative;
	z-index: 2;
	color: #0b3d2e !important;
}

/* -------------------------------------------------------------------------
 * Services / featured cards
 * ---------------------------------------------------------------------- */
.milda-front .school-featured {
	padding: 90px 0;
	background: #fff;
}

/* The demo markup uses floated Bootstrap columns without a .row wrapper,
   which lets the cards collapse/overlap. A grid keeps all four cards aligned
   with equal heights and clean gutters. */
.milda-front .school-featured-main {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: stretch;
	gap: 24px;
}

.milda-front .school-featured-main > .sof_services_col {
	float: none;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 0;
}

.milda-front .school-featured-item {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 268px;
	overflow: hidden;
	padding: 30px 26px 28px;
	border: 1px solid rgba(11, 61, 46, 0.05);
	border-radius: var(--milda-radius);
	background: #fff !important;
	box-shadow: 0 14px 40px rgba(11, 61, 46, 0.09);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.milda-front .school-featured-item::after {
	content: "";
	position: absolute;
	z-index: 0;
	top: 0;
	left: 26px;
	right: 26px;
	height: 3px;
	border-radius: 0 0 3px 3px;
	background: linear-gradient(90deg, var(--milda-gold), var(--milda-gold-soft));
	opacity: 0.85;
	pointer-events: none;
}

.milda-front .school-featured-item > i {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	align-self: center;
	width: 54px;
	height: 54px;
	margin-bottom: auto;
	border: 1px solid rgba(200, 164, 92, 0.32);
	border-radius: 16px;
	background: rgba(200, 164, 92, 0.12);
	color: var(--milda-gold-dark);
	font-size: 1.45rem;
	line-height: 1;
	transition: transform 0.25s ease, background 0.25s ease;
}

.milda-front .school-featured-content {
	position: relative;
	z-index: 1;
}

.milda-front .school-featured-item h4 {
	margin: 0 0 8px;
	color: var(--milda-ink);
	font-size: 1.08rem;
	font-weight: 800;
	line-height: 1.35;
}

.milda-front .school-featured-item p {
	margin: 0;
	color: var(--milda-muted);
	font-size: 0.9rem;
	line-height: 1.7;
}

.milda-front .school-featured-item:hover {
	transform: translateY(-6px);
	border-color: var(--milda-gold) !important;
	box-shadow: var(--milda-shadow);
}

.milda-front .school-featured-item:hover > i {
	transform: translateY(-2px);
	background: rgba(200, 164, 92, 0.2);
}

@media (max-width: 1024px) {
	.milda-front .school-featured-main {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.milda-front .school-featured-main {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.milda-front .school-featured-item {
		min-height: 0;
		padding: 26px 22px 24px;
	}

	.milda-front .school-featured-item > i {
		width: 48px;
		height: 48px;
		margin-bottom: 20px;
		font-size: 1.3rem;
	}
}

/* -------------------------------------------------------------------------
 * Counters
 * ---------------------------------------------------------------------- */
.milda-front .school-counter {
	padding: 70px 0;
	background: linear-gradient(135deg, #072e24, #14543f);
}

.milda-front .counter-item {
	padding: 24px 12px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.06);
	text-align: center;
}

.milda-front .counter-item h3 {
	margin: 0;
	color: #fff !important;
	font-size: 2.6rem;
	font-weight: 800;
}

.milda-front .counter-item h3 .school-value {
	color: inherit !important;
}

.milda-front .counter-item p {
	margin: 6px 0 0;
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.82rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* -------------------------------------------------------------------------
 * Categories
 * ---------------------------------------------------------------------- */
.milda-front .school-category {
	padding: 90px 0;
	background: var(--milda-soft);
}

.milda-front .school-category-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 150px;
	border-radius: 18px !important;
	box-shadow: 0 12px 30px rgba(11, 61, 46, 0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.milda-front .school-category-item i {
	color: #fff;
	font-size: 2rem;
}

.milda-front .school-category-item .category-title {
	margin: 0;
	color: #fff;
	font-weight: 700;
}

.milda-front .school-category-item:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 38px rgba(11, 61, 46, 0.16);
}

/* -------------------------------------------------------------------------
 * Why choose us
 * ---------------------------------------------------------------------- */
.milda-front .school-choose {
	padding: 90px 0;
	background: #fff;
}

.milda-front .hover_animation_1_inner {
	padding: 28px;
	border-radius: 18px;
	background: #f7f9f4;
	box-shadow: 0 12px 32px rgba(11, 61, 46, 0.07);
}

.milda-front .hover_animation_1_inner h4.title {
	font-weight: 800;
}

.milda-front .hover_animation_1_inner p.text {
	color: var(--milda-muted);
}

/* -------------------------------------------------------------------------
 * Team
 * ---------------------------------------------------------------------- */
.milda-front .school-team {
	padding: 90px 0;
	background: var(--milda-soft);
}

.milda-front .team_member {
	overflow: hidden;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.milda-front .team_member figure img {
	width: 100%;
	height: 250px;
	object-fit: cover;
}

.milda-front .member_name {
	padding: 18px 20px 22px;
	text-align: center;
}

.milda-front .member_name h4 {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 800;
}

.milda-front .member_name span {
	color: var(--milda-green);
	font-size: 0.82rem;
	font-weight: 700;
}

.milda-front .team_member:hover {
	transform: translateY(-8px);
	box-shadow: var(--milda-shadow);
}

/* -------------------------------------------------------------------------
 * Latest blog
 * ---------------------------------------------------------------------- */
.milda-front .milda-blog {
	padding: 90px 0 100px;
	background: #fff;
}

.milda-front .homepage_blog_title {
	margin: 0;
	font-size: clamp(1.8rem, 3.4vw, 2.6rem);
	font-weight: 800;
}

.milda-front .milda-section-kicker {
	margin: 6px 0 0;
	color: var(--milda-muted);
	font-size: 0.92rem;
}

.milda-front .blog-listing {
	overflow: hidden;
	margin-bottom: 28px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 14px 38px rgba(11, 61, 46, 0.09);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.milda-front .blog-listing:hover {
	transform: translateY(-8px);
	box-shadow: var(--milda-shadow);
}

.milda-front .blog-listing img {
	width: 100%;
	height: 210px;
	object-fit: cover;
}

.milda-front .blog-listing .entry-title {
	font-size: 1.1rem;
	font-weight: 700;
}

.milda-front .blog-listing .entry-title a {
	color: var(--milda-ink);
	text-decoration: none;
}

.milda-front .blog-listing .entry-meta,
.milda-front .blog-listing .post-date {
	color: var(--milda-muted);
	font-size: 0.78rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.milda-front .pagination .current,
.milda-front .page-numbers.current {
	border-color: var(--milda-green) !important;
	border-radius: 10px;
	background: var(--milda-green) !important;
	color: #fff !important;
}

/* -------------------------------------------------------------------------
 * Contact / map
 * ---------------------------------------------------------------------- */
.milda-front .school-contact {
	padding: 90px 0;
	background: #fff;
}

.milda-front .contact-info {
	padding: 26px;
	border-radius: 28px;
	background: linear-gradient(135deg, #f7f9f4, #eaf1e8);
	box-shadow: var(--milda-shadow);
}

.milda-front .contact-info .map iframe {
	width: 100%;
	min-height: 320px;
	border-radius: 18px;
}

.milda-front .contact-info h4.title {
	font-size: 1.5rem;
	font-weight: 800;
}

.milda-front .info-item {
	display: flex;
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px solid rgba(11, 61, 46, 0.07);
}

.milda-front .info-item:last-child {
	border-bottom: 0;
}

.milda-front .info-icon {
	display: grid;
	place-items: center;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background: rgba(27, 106, 80, 0.12);
	color: var(--milda-green);
}

.milda-front .info-content h4 {
	margin: 0 0 2px;
	font-size: 1rem;
}

.milda-front .info-content p {
	margin: 0;
	color: var(--milda-muted);
	font-size: 0.88rem;
}

.milda-front #back-to-top {
	background: var(--milda-green) !important;
	border-radius: 50%;
	width: 46px;
	height: 46px;
}

/* -------------------------------------------------------------------------
 * Smartphone-only bottom navigation
 * ---------------------------------------------------------------------- */
.milda-bottom-nav {
	position: fixed;
	z-index: 9990;
	left: 0;
	right: 0;
	bottom: 0;
	display: none;
	padding: 7px 8px calc(7px + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid rgba(11, 61, 46, 0.12);
	background: rgba(255, 255, 255, 0.97);
	box-shadow: 0 -8px 24px rgba(11, 61, 46, 0.10);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.milda-bottom-nav-list {
	display: flex;
	align-items: stretch;
	justify-content: space-around;
	list-style: none;
	margin: 0;
	padding: 0;
}

.milda-bottom-nav-list li {
	flex: 1 1 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.milda-bottom-nav-list a {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-height: 52px;
	border-radius: 12px;
	color: var(--milda-muted);
	font-size: 0.68rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: color 0.2s ease, background 0.2s ease;
}

.milda-bottom-nav-list a i {
	font-size: 1.1rem;
	line-height: 1;
}

.milda-bottom-nav-list a.is-active {
	background: rgba(27, 106, 80, 0.10);
	color: var(--milda-green-800);
	box-shadow: inset 0 3px 0 var(--milda-gold);
}

.milda-bottom-nav-list a:active {
	background: rgba(27, 106, 80, 0.16);
}

/* -------------------------------------------------------------------------
 * Responsive
 * ---------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.milda-quick-list a {
		padding: 8px 10px;
		font-size: 0.84rem;
	}
}

@media (max-width: 768px) {
	.milda-quick {
		flex-wrap: wrap;
		min-height: 58px;
		gap: 10px;
		padding: 10px 14px;
	}

	/* One toggle only: the Milda button. The parent Slicknav hamburger and
	   its dropdown are hidden so the two never stack on top of each other. */
	.slicknav_menu,
	#slicknav-mobile,
	.mobile_menu_wrapper .slicknav_btn,
	.mobile_menu_wrapper .slicknav_nav {
		display: none !important;
	}

	.milda-theme-toggle {
		display: inline-flex !important;
		margin-left: auto;
	}

	.milda-menu-toggle {
		display: inline-flex !important;
		margin-left: 0;
	}

	/* Section links move into the panel, so the desktop strip is not needed. */
	.milda-quick-list {
		display: none;
	}

	/* Keep the top bar clean; the CTA is available inside the panel. */
	.milda-quick > .milda-cta {
		display: none;
	}

	/* Reveal the bottom icon bar only on smartphones. */
	.milda-bottom-nav {
		display: block;
	}

	/* Extra room belongs to the footer, otherwise a white strip appears below it. */
	footer#footer {
		padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important;
	}

	/* The bottom bar already has "Beranda", so drop the floating back-to-top. */
	#back-to-top {
		display: none !important;
	}

	.milda-front section[id] {
		scroll-margin-top: 120px;
	}

	.milda-cta {
		margin-left: auto;
		padding: 9px 15px;
		font-size: 0.8rem;
	}

	.milda-panel-cta {
		margin-left: 0;
	}

	.milda-front .school-banner {
		padding: 70px 0;
	}

	.milda-front .banner-content-image {
		transform: none;
		margin-bottom: 38px;
	}

	.milda-front .school-featured,
	.milda-front .school-category,
	.milda-front .school-choose,
	.milda-front .school-team,
	.milda-front .milda-blog,
	.milda-front .school-contact {
		padding: 64px 0;
	}

	.milda-front .school-counter {
		padding: 54px 0;
	}

	.milda-front .blog-listing {
		margin-bottom: 18px;
	}

	.milda-front .team_member figure img {
		height: 220px;
	}
}

@media (max-width: 480px) {
	.milda-cta {
		padding: 8px 12px;
		font-size: 0.74rem;
	}

	.milda-quick-list a {
		padding: 8px 11px;
		font-size: 0.8rem;
	}

	.milda-front .school-banner h1.title {
		font-size: 2.1rem;
	}

	.milda-front .contact-info {
		padding: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.milda-front *,
	.milda-front *::before,
	.milda-front *::after {
		transition: none !important;
	}
}

/* -------------------------------------------------------------------------
 * Relocated top bar — a compact contact/social strip above the footer
 * ---------------------------------------------------------------------- */
.milda-footer-top {
	border-top: 3px solid var(--milda-gold);
	background: var(--milda-green-950);
	color: #fff;
}

.milda-footer-top #top-bar {
	display: block !important;
	margin: 0;
	padding: 14px 0;
	border: 0;
	border-bottom: 0;
	background: transparent;
	color: #fff;
}

.milda-footer-top #top-bar .container {
	max-width: 1240px;
}

.milda-footer-top #top-bar .row {
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.milda-footer-top #top-bar .top_bar_wrapper,
.milda-footer-top #top-bar .col-sm-4,
.milda-footer-top #top-bar .col-sm-8 {
	width: auto;
	float: none;
	padding: 0;
}

.milda-footer-top #top-social-left {
	display: flex !important;
	align-items: center;
	gap: 7px;
	float: none;
	margin: 0;
	padding: 0;
	list-style: none;
}

.milda-footer-top #top-social-left li {
	display: block;
	width: auto;
	height: auto;
	float: none;
	margin: 0;
	padding: 0;
	list-style: none;
}

.milda-footer-top #top-social-left li a {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(227, 203, 146, 0.38);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	transition: background 0.2s ease, transform 0.2s ease;
}

.milda-footer-top #top-social-left li a:hover {
	transform: translateY(-2px);
	background: var(--milda-green-700);
}

.milda-footer-top #top-social-left li a .ts-icon {
	width: auto;
	height: auto;
	float: none;
	line-height: 1;
}

.milda-footer-top .top-bar-right {
	display: block !important;
	float: none;
	margin: 0;
	padding: 0;
	text-align: right;
}

.milda-footer-top .infobox_header_wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.milda-footer-top .top-bar-right li::after {
	display: none;
}

.milda-footer-top .infobox_header_wrapper li {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 0;
	color: rgba(255, 255, 255, 0.86);
	font-size: 0.82rem;
	line-height: 1.5;
}

.milda-footer-top .infobox_header_wrapper li + li {
	margin-left: 18px;
	padding-left: 18px;
	border-left: 1px solid rgba(227, 203, 146, 0.35);
}

.milda-footer-top .infobox_header_wrapper li a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #fff;
	text-decoration: none;
}

.milda-footer-top .infobox_header_wrapper li a:hover {
	color: var(--milda-gold-soft);
}

.milda-footer-top .infobox_header_wrapper i {
	color: var(--milda-gold);
}

@media (max-width: 768px) {
	.milda-footer-top #top-bar {
		padding: 16px 0;
	}

	.milda-footer-top #top-bar .row {
		flex-direction: column;
		gap: 14px;
	}

	.milda-footer-top #top-social-left {
		justify-content: center;
	}

	.milda-footer-top .top-bar-right,
	.milda-footer-top .infobox_header_wrapper {
		justify-content: center;
		text-align: center;
	}

	.milda-footer-top .infobox_header_wrapper li + li {
		margin-left: 0;
		padding-left: 0;
		border-left: 0;
	}

	.milda-footer-top .infobox_header_wrapper li {
		font-size: 0.8rem;
	}
}

/* -------------------------------------------------------------------------
 * Mobile school logo label
 * ---------------------------------------------------------------------- */
@media (max-width: 768px) {
	.bizberg_header_wrapper a.logo {
		display: inline-flex;
		align-items: center;
		gap: 10px;
		max-width: 100%;
	}

	.bizberg_header_wrapper a.logo .site_logo {
		flex: 0 0 auto;
		width: auto;
		max-height: 46px;
	}

	.bizberg_header_wrapper a.logo::after {
		content: "MI Al-Huda\A Kepuhbener";
		display: block;
		max-width: 220px;
		color: var(--milda-green-900);
		font-family: Poppins, sans-serif;
		font-size: clamp(1rem, 4.6vw, 1.15rem);
		font-weight: 800;
		letter-spacing: -0.01em;
		line-height: 1.15;
		white-space: pre-line;
		text-decoration: none;
	}
}

/* -------------------------------------------------------------------------
 * Smartphone: toggle sits on the same row as the school logo
 * ---------------------------------------------------------------------- */
@media (max-width: 768px) {
	header#masthead {
		position: sticky;
		top: 0;
		z-index: 9998;
	}

	.bizberg_header_wrapper > .milda-quick {
		position: static;
		top: auto;
		flex-wrap: nowrap;
		gap: 8px;
		min-height: 0;
		margin: 0 0 0 auto;
		padding: 0;
		border: 0;
		background: transparent;
		box-shadow: none;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}

	/* Keep the school name readable while both compact controls share the row. */
	.bizberg_header_wrapper a.logo::after {
		max-width: min(220px, 40vw);
	}

	.bizberg_header_wrapper > .milda-quick .milda-theme-toggle,
	.bizberg_header_wrapper > .milda-quick .milda-menu-toggle {
		flex: 0 0 auto;
		margin-left: 0;
	}

	.bizberg_header_wrapper > .milda-quick .milda-theme-toggle {
		min-width: 42px;
		padding: 0 10px;
	}

	.bizberg_header_wrapper > .milda-quick .milda-theme-label {
		display: none;
	}

	.bizberg_header_wrapper > .milda-quick .milda-mobile-panel {
		top: 100%;
		left: 0;
		right: 0;
		max-height: calc(100vh - 80px);
		border-bottom: 3px solid var(--milda-gold);
	}
}
