/*
 * Landing page (A6): home, blog, detail blog. Layout application/views/front/index.php (body.fc-depan).
 * Menggantikan assets/front/assets/css/style.css template (tidak dimuat lagi). Token warna/sudut/bayangan dari tema.css.
 * Semua aturan berawalan .fc-depan agar tidak bocor ke layout lain.
 *
 *  1. Dasar            5. Kepala (hero) & slider    9. Galeri
 *  2. Header & menu    6. Judul bagian              10. Blog & artikel
 *  3. Tombol           7. Kartu program             11. Footer
 *  4. Preloader, ke atas  8. Alumni & testimoni     12. Keadaan kosong
 */

/* 1. Dasar ------------------------------------------------------------------------------------------------------- */
.fc-depan {
	--fc-d-tinggi-header: 76px;
	font-family: var(--fc-font);
	color: var(--fc-body);
	background: #fff;
	font-size: 15.5px;
	line-height: 1.65;
	overflow-x: hidden;
}
.fc-depan a { color: var(--fc-mint-deep); text-decoration: none; transition: color .2s; }
.fc-depan a:hover { color: var(--fc-ink); }
.fc-depan :is(h1, h2, h3, h4, h5, h6) { color: var(--fc-ink); font-family: var(--fc-font); }
.fc-depan img { max-width: 100%; }
.fc-depan :focus-visible { outline: 3px solid var(--fc-mint); outline-offset: 2px; }
@media (max-width: 991.98px) { .fc-depan { --fc-d-tinggi-header: 64px; } }

/* 2. Header & menu ----------------------------------------------------------------------------------------------- */
.fc-depan #header {
	height: var(--fc-d-tinggi-header);
	background: rgba(255, 255, 255, .96);
	border-bottom: 1px solid transparent;
	transition: box-shadow .25s, border-color .25s;
	z-index: 997;
}
@supports (backdrop-filter: blur(8px)) {
	.fc-depan #header { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(12px); }
}
.fc-depan #header.header-scrolled { border-bottom-color: var(--fc-line); box-shadow: 0 6px 24px rgba(18, 41, 77, .08); }
.fc-depan #header > .container { height: 100%; }
.fc-depan #header .logo { margin: 0; line-height: 1; font-size: 0; }
.fc-depan .fc-d-header__logo { height: 46px; width: auto; }

.fc-depan .navbar { padding: 0; }
.fc-depan .navbar ul { margin: 0; padding: 0; display: flex; align-items: center; list-style: none; gap: 4px; }
.fc-depan .navbar li { position: relative; }
.fc-depan .navbar a.nav-link {
	position: relative;
	display: flex;
	align-items: center;
	padding: 10px 14px;
	font-size: 15px;
	font-weight: 600;
	color: var(--fc-muted);
	white-space: nowrap;
	border-radius: var(--fc-r-pill);
}
.fc-depan .navbar a.nav-link:hover { color: var(--fc-ink); background: var(--fc-field); }
.fc-depan .navbar a.nav-link.active { color: var(--fc-ink); }
.fc-depan .navbar a.nav-link.active::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 2px;
	width: 18px;
	height: 3px;
	margin-left: -9px;
	border-radius: 3px;
	background: var(--fc-mint);
}
.fc-depan .navbar .fc-d-nav-aksi:first-of-type,
.fc-depan .navbar li.fc-d-nav-aksi { margin-left: 6px; }
.fc-depan .navbar .fc-d-daftar,
.fc-depan .navbar .getstarted {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 42px;
	padding: 0 20px;
	border-radius: var(--fc-r-pill);
	font-size: 14.5px;
	font-weight: 700;
	white-space: nowrap;
	transition: background .2s, color .2s, border-color .2s;
}
.fc-depan .navbar .fc-d-daftar { color: var(--fc-ink); border: 1.5px solid var(--fc-line); background: #fff; }
.fc-depan .navbar .fc-d-daftar:hover { border-color: var(--fc-ink); color: var(--fc-ink); }
.fc-depan .navbar .getstarted { color: #fff; background: var(--fc-ink); border: 1.5px solid var(--fc-ink); box-shadow: 0 6px 16px rgba(18, 41, 77, .18); }
.fc-depan .navbar .getstarted:hover { color: #fff; background: var(--fc-ink-soft); border-color: var(--fc-ink-soft); }

.fc-depan .mobile-nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	font-size: 28px;
	line-height: 1;
	color: var(--fc-ink);
	background: var(--fc-field);
	cursor: pointer;
	transition: background .2s;
}

@media (max-width: 991.98px) {
	.fc-depan .fc-d-header__logo { height: 38px; }
	.fc-depan .mobile-nav-toggle { display: inline-flex; }
	.fc-depan .navbar ul { display: none; }

	/* Menu HP: main.js memberi #navbar kelas .navbar-mobile */
	.fc-depan .navbar-mobile {
		position: fixed;
		inset: 0;
		z-index: 999;
		background: rgba(10, 26, 53, .55);
		backdrop-filter: blur(2px);
	}
	.fc-depan .navbar-mobile .mobile-nav-toggle {
		position: absolute;
		top: 10px;
		right: 12px;
		color: var(--fc-ink);
		background: #fff;
	}
	.fc-depan .navbar-mobile ul {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		position: absolute;
		top: calc(var(--fc-d-tinggi-header) + 4px);
		left: 12px;
		right: 12px;
		padding: 12px;
		background: #fff;
		border-radius: var(--fc-r-dialog);
		box-shadow: 0 24px 48px rgba(10, 26, 53, .25);
		max-height: calc(100vh - var(--fc-d-tinggi-header) - 24px);
		overflow-y: auto;
	}
	.fc-depan .navbar-mobile a.nav-link { padding: 13px 16px; font-size: 16px; color: var(--fc-ink); border-radius: var(--fc-r-isian); }
	.fc-depan .navbar-mobile a.nav-link.active { background: var(--fc-mint-soft); color: var(--fc-mint-deep); }
	.fc-depan .navbar-mobile a.nav-link.active::after { display: none; }
	.fc-depan .navbar-mobile li.fc-d-nav-aksi { margin: 6px 0 0; }
	.fc-depan .navbar-mobile .fc-d-daftar,
	.fc-depan .navbar-mobile .getstarted { display: flex; width: 100%; height: 50px; font-size: 15.5px; border-radius: var(--fc-r-tombol); }
	.fc-depan .navbar-mobile li.fc-d-nav-aksi:first-of-type { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--fc-line); }
}

/* 3. Tombol ------------------------------------------------------------------------------------------------------ */
.fc-depan .fc-d-tombol {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 0 26px;
	border-radius: var(--fc-r-tombol);
	border: 1.5px solid transparent;
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1.2;
	transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.fc-depan .fc-d-tombol:hover { transform: translateY(-1px); }
.fc-depan .fc-d-tombol i { font-size: 1.1em; }
.fc-depan .fc-d-tombol--mint { color: #fff; background: var(--fc-mint-deep); box-shadow: 0 10px 22px rgba(27, 127, 105, .28); }
.fc-depan .fc-d-tombol--mint:hover { color: #fff; background: #156A57; }
.fc-depan .fc-d-tombol--kaca { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .35); }
.fc-depan .fc-d-tombol--kaca:hover { color: var(--fc-ink); background: #fff; border-color: #fff; }

/* 4. Preloader & tombol ke atas ---------------------------------------------------------------------------------- */
.fc-depan #preloader {
	position: fixed;
	inset: 0;
	z-index: 9999;
	overflow: hidden;
	background: #fff;
}
.fc-depan #preloader::before {
	content: "";
	position: fixed;
	top: calc(50% - 26px);
	left: calc(50% - 26px);
	width: 52px;
	height: 52px;
	border: 5px solid var(--fc-mint-soft);
	border-top-color: var(--fc-mint-deep);
	border-radius: 50%;
	animation: fc-d-putar 1s linear infinite;
}
@keyframes fc-d-putar { to { transform: rotate(360deg); } }

.fc-depan .back-to-top {
	position: fixed;
	visibility: hidden;
	opacity: 0;
	right: 16px;
	bottom: 16px;
	z-index: 996;
	width: 46px;
	height: 46px;
	border-radius: 16px;
	background: var(--fc-ink);
	box-shadow: 0 10px 24px rgba(18, 41, 77, .25);
	transition: all .3s;
}
.fc-depan .back-to-top i { font-size: 28px; color: #fff; line-height: 0; }
.fc-depan .back-to-top:hover { background: var(--fc-mint-deep); }
.fc-depan .back-to-top.active { visibility: visible; opacity: 1; }

/* 5. Kepala (hero) & slider -------------------------------------------------------------------------------------- */
.fc-depan .fc-d-hero {
	position: relative;
	padding: calc(var(--fc-d-tinggi-header) + 64px) 0 88px;
	border-radius: 0 0 40px 40px;
	background-position: right -150px top -120px, 0 0;
	background-size: 520px 520px, 100% 100%;
	text-align: center;
}
.fc-depan .fc-d-hero::before {
	/* motif kedua di kiri bawah, samar */
	content: "";
	position: absolute;
	left: -170px;
	bottom: -170px;
	width: 420px;
	height: 420px;
	background: var(--fc-motif) no-repeat center / contain;
	opacity: .55;
	pointer-events: none;
}
.fc-depan .fc-d-hero--slider { padding-bottom: clamp(150px, 16vw, 220px); }
.fc-depan .fc-d-hero__isi { position: relative; max-width: 800px; margin: 0 auto; }
.fc-depan .fc-d-hero__lencana {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	max-width: 100%;
	padding: 6px 16px 6px 6px;
	margin-bottom: 22px;
	border-radius: var(--fc-r-pill);
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .18);
	color: rgba(255, 255, 255, .9);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.35;
	text-align: left;
}
.fc-depan .fc-d-hero__lencana img { flex: none; width: 32px; height: 32px; border-radius: 50%; background: #fff; padding: 2px; }
.fc-depan .fc-d-hero__judul {
	margin: 0 0 18px;
	color: #fff;
	font-size: clamp(2.05rem, 5vw, 3.6rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -.03em;
}
.fc-depan .fc-d-hero__teks { margin: 0 auto 12px; max-width: 700px; color: rgba(255, 255, 255, .78); font-size: 1.06rem; }
.fc-depan .fc-d-hero__ajak { margin: 18px 0 0; color: #9FE0CC; font-weight: 700; }
.fc-depan .fc-d-hero__aksi { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

.fc-depan .fc-d-slider { position: relative; z-index: 2; margin-top: clamp(-190px, -13vw, -110px); }
.fc-depan .fc-d-slider__kartu {
	padding: 10px;
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 24px 60px rgba(10, 26, 53, .18);
}
.fc-depan .fc-d-slider .carousel-inner { border-radius: 20px; background: var(--fc-field); }
.fc-depan .fc-d-slider .carousel-item img { aspect-ratio: 2 / 1; object-fit: cover; }

/* Kontrol carousel (slider & alumni): bulatan putih, ikon navy */
.fc-depan .carousel-control-prev,
.fc-depan .carousel-control-next {
	top: 50%;
	bottom: auto;
	width: 44px;
	height: 44px;
	margin: -22px 14px 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	box-shadow: 0 6px 18px rgba(10, 26, 53, .2);
	opacity: 0;
	transition: opacity .2s, background .2s;
}
.fc-depan .carousel:hover :is(.carousel-control-prev, .carousel-control-next),
.fc-depan .carousel :is(.carousel-control-prev, .carousel-control-next):focus-visible { opacity: 1; }
.fc-depan .carousel-control-prev:hover,
.fc-depan .carousel-control-next:hover { background: #fff; }
.fc-depan .carousel-control-prev-icon,
.fc-depan .carousel-control-next-icon { width: 18px; height: 18px; filter: invert(13%) sepia(37%) saturate(1800%) hue-rotate(195deg) brightness(92%); }
@media (hover: none) {
	.fc-depan .carousel-control-prev,
	.fc-depan .carousel-control-next { opacity: .9; width: 36px; height: 36px; margin: -18px 8px 0; }
}

/* Titik slider di bawah gambar */
.fc-depan .fc-d-titik {
	position: static;
	margin: 12px 0 2px;
	gap: 6px;
}
.fc-depan .fc-d-titik [data-bs-target] {
	width: 8px;
	height: 8px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: var(--fc-r-pill);
	background: var(--fc-line);
	opacity: 1;
	transition: width .3s, background .3s;
}
.fc-depan .fc-d-titik .active { width: 26px; background: var(--fc-mint-deep); }

@media (max-width: 575.98px) {
	.fc-depan .fc-d-hero { padding-top: calc(var(--fc-d-tinggi-header) + 36px); border-radius: 0 0 var(--fc-r-kepala) var(--fc-r-kepala); background-size: 360px 360px, 100% 100%; background-position: right -150px top -110px, 0 0; }
	.fc-depan .fc-d-hero--slider { padding-bottom: 120px; }
	.fc-depan .fc-d-hero__lencana { font-size: 12px; }
	.fc-depan .fc-d-hero__teks { font-size: 1rem; }
	.fc-depan .fc-d-hero__aksi .fc-d-tombol { flex: 1 1 100%; }
	.fc-depan .fc-d-slider { margin-top: -88px; }
	.fc-depan .fc-d-slider__kartu { padding: 6px; border-radius: 20px; }
	.fc-depan .fc-d-slider .carousel-inner { border-radius: 15px; }
}

/* 6. Bagian & judul bagian --------------------------------------------------------------------------------------- */
.fc-depan .fc-d-bagian { padding: 88px 0; }
.fc-depan .fc-d-bagian--abu { background: var(--fc-bg); }
.fc-depan .fc-d-program .fc-d-bagian { padding-top: 72px; padding-bottom: 72px; }
.fc-depan .fc-d-program .fc-d-bagian + .fc-d-bagian { padding-top: 0; }
.fc-depan .fc-d-judul { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.fc-depan .fc-d-judul::before {
	content: "";
	display: block;
	width: 26px;
	height: 26px;
	margin: 0 auto 14px;
	background: linear-gradient(135deg, var(--fc-mint), var(--fc-mint-deep));
	clip-path: polygon(50% 0%, 97.55% 34.55%, 79.39% 90.45%, 20.61% 90.45%, 2.45% 34.55%);
}
.fc-depan .fc-d-judul h2 {
	margin: 0;
	font-size: clamp(1.45rem, 3vw, 2.15rem);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -.01em;
	text-transform: uppercase; /* seperti tampilan lama (template); judul kategori program dari CMS juga kapital */
}
.fc-depan .fc-d-judul p { margin: 12px 0 0; color: var(--fc-muted); font-size: 1.03rem; }
@media (max-width: 767.98px) {
	.fc-depan .fc-d-bagian { padding: 60px 0; }
	.fc-depan .fc-d-program .fc-d-bagian { padding-top: 56px; padding-bottom: 56px; }
	.fc-depan .fc-d-judul { margin-bottom: 32px; }
}

/* 7. Kartu program ----------------------------------------------------------------------------------------------- */
.fc-depan .fc-d-program-kartu {
	display: flex;
	flex-direction: column;
	width: 100%;
	overflow: hidden;
	border: 1px solid var(--fc-line);
	border-radius: var(--fc-r-kartu);
	background: #fff;
	box-shadow: var(--fc-bayang-kartu);
	transition: transform .25s, box-shadow .25s;
}
.fc-depan .fc-d-program-kartu:hover { transform: translateY(-4px); box-shadow: var(--fc-bayang-naik); }
.fc-depan .fc-d-program-kartu__gambar {
	aspect-ratio: 5 / 4;
	background: #fff;
	border-bottom: 1px solid var(--fc-line);
}
.fc-depan .fc-d-program-kartu__gambar img { width: 100%; height: 100%; object-fit: contain; }
.fc-depan .fc-d-program-kartu__isi { padding: 22px 24px 8px; }
.fc-depan .fc-d-program-kartu h4 { margin: 0 0 8px; font-size: 1.25rem; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.fc-depan .fc-d-program-kartu h4 a { color: var(--fc-ink); }
.fc-depan .fc-d-program-kartu h4 a:hover { color: var(--fc-mint-deep); }
.fc-depan .fc-d-program-kartu__ket { color: var(--fc-muted); font-size: 14.5px; }
.fc-depan .fc-d-program-kartu__ket p { margin: 0; }
.fc-depan .fc-d-program-kartu__label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 20px 0 12px;
	color: var(--fc-ink);
	font-size: 14px;
	font-weight: 800;
}
.fc-depan .fc-d-program-kartu__label::after { content: ""; flex: 1; height: 1px; background: var(--fc-line); }
.fc-depan .fasilitas { margin: 0; padding: 0; list-style: none; }
.fc-depan .fasilitas li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 9px;
	color: var(--fc-body);
	font-size: 14.5px;
	line-height: 1.5;
}
.fc-depan .fasilitas li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--fc-mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B7F69' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center / 12px 12px;
}
/* Baris kosong penyama tinggi dari controller tidak diperlukan lagi (tinggi disamakan dengan flex) */
.fc-depan .fasilitas li.not_fasilitas { display: none; }
.fc-depan .fc-d-program-kartu__aksi { margin-top: auto; padding: 16px 24px 24px; }

/* 8. Alumni & testimoni ------------------------------------------------------------------------------------------ */
.fc-depan .fc-d-alumni {
	overflow: hidden;
	padding: 8px;
	border-radius: 28px;
	background: #fff;
	box-shadow: var(--fc-bayang-naik);
}
.fc-depan .fc-d-alumni .carousel-inner { border-radius: 21px; }
@media (min-width: 992px) {
	.fc-depan .fc-d-alumni { position: sticky; top: calc(var(--fc-d-tinggi-header) + 24px); }
}
@media (max-width: 991.98px) {
	.fc-depan .fc-d-alumni { max-width: 440px; margin: 0 auto; }
}

.fc-depan .fc-d-testimoni { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fc-depan .col-12 > .fc-d-testimoni { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fc-depan .fc-d-testi {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 22px 22px 18px;
	border: 1px solid var(--fc-line);
	border-radius: var(--fc-r-kartu);
	background: #fff;
	box-shadow: var(--fc-bayang-kartu);
}
.fc-depan .fc-d-testi__kutip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin-bottom: 10px;
	border-radius: 12px;
	background: var(--fc-mint-soft);
	color: var(--fc-mint-deep);
	font-size: 22px;
	line-height: 1;
}
.fc-depan .fc-d-testi__teks { margin: 0 0 16px; }
.fc-depan .fc-d-testi__teks p { margin: 0; color: var(--fc-body); font-size: 14.5px; line-height: 1.7; }
.fc-depan .fc-d-testi__orang {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var(--fc-line);
}
.fc-depan .fc-d-testi__orang .pic {
	flex: none;
	width: 46px;
	height: 46px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--fc-field);
	box-shadow: 0 0 0 3px var(--fc-mint-soft);
}
.fc-depan .fc-d-testi__orang .pic img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.fc-depan .fc-d-testi__orang h4 { margin: 0; font-size: 14.5px; font-weight: 700; line-height: 1.35; }

@media (max-width: 991.98px) {
	.fc-depan .col-12 > .fc-d-testimoni { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* HP: kartu testimoni berderet, digeser ke samping seperti daftar di aplikasi mobile */
@media (max-width: 767.98px) {
	.fc-depan .fc-d-testimoni,
	.fc-depan .col-12 > .fc-d-testimoni {
		display: flex;
		gap: 14px;
		margin: 0 -12px;
		padding: 4px 12px 18px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding: 0 12px;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
	}
	.fc-depan .fc-d-testi { flex: 0 0 84%; scroll-snap-align: start; }
}

/* 9. Galeri ------------------------------------------------------------------------------------------------------ */
.fc-depan .fc-d-subjudul { display: flex; align-items: center; gap: 14px; margin: 8px 0 22px; }
.fc-depan .fc-d-subjudul + .row { margin-bottom: 24px; }
.fc-depan .row + .fc-d-subjudul { margin-top: 36px; }
.fc-depan .fc-d-subjudul__ikon {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: var(--fc-sky-soft);
	color: var(--fc-sky);
	font-size: 22px;
}
.fc-depan .fc-d-subjudul__ikon--coral { background: var(--fc-coral-soft); color: var(--fc-coral); }
.fc-depan .fc-d-subjudul h3 { margin: 0; font-size: 1.25rem; font-weight: 800; }
.fc-depan .fc-d-subjudul p { margin: 2px 0 0; color: var(--fc-muted); font-size: 14.5px; }

.fc-depan .gallery-card {
	position: relative;
	overflow: hidden;
	margin-bottom: 24px;
	border: 1px solid var(--fc-line);
	border-radius: var(--fc-r-kartu);
	background: #fff;
	box-shadow: var(--fc-bayang-kartu);
	transition: transform .25s, box-shadow .25s;
}
.fc-depan .row.g-4 .gallery-card { margin-bottom: 0; }
.fc-depan .gallery-card:hover { transform: translateY(-4px); box-shadow: var(--fc-bayang-naik); }
.fc-depan .gallery-video-box { position: relative; width: 100%; padding-top: 56.25%; overflow: hidden; background: var(--fc-ink-deep); }
.fc-depan .gallery-video-box :is(iframe, video, embed) {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	border: 0;
}
.fc-depan .gallery-img-box { position: relative; width: 100%; height: 250px; overflow: hidden; background: var(--fc-field); }
.fc-depan .gallery-img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.fc-depan .gallery-card:hover .gallery-img-box img { transform: scale(1.05); }
.fc-depan .gallery-img-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(10, 26, 53, .45);
	opacity: 0;
	transition: opacity .3s;
}
.fc-depan .gallery-card:hover .gallery-img-overlay,
.fc-depan .gallery-img-overlay:focus-within { opacity: 1; }
.fc-depan .gallery-preview-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: #fff;
	color: var(--fc-ink);
	font-size: 18px;
}
.fc-depan .gallery-preview-btn:hover { color: #fff; background: var(--fc-mint-deep); }
.fc-depan .gallery-info { padding: 14px 18px 16px; }
.fc-depan .gallery-info h4 { margin: 0; color: var(--fc-ink); font-size: 15.5px; font-weight: 700; line-height: 1.4; }
@media (hover: none) {
	/* HP: tidak ada hover, jadi tombol lihat selalu tampil kecil di pojok */
	.fc-depan .gallery-img-overlay { opacity: 1; align-items: flex-end; justify-content: flex-end; padding: 12px; background: none; }
	.fc-depan .gallery-preview-btn { width: 42px; height: 42px; box-shadow: 0 6px 16px rgba(10, 26, 53, .25); }
}
@media (max-width: 991.98px) {
	.fc-depan .gallery-img-box { height: 220px; }
}
/* HP: foto dua kolom seperti galeri aplikasi mobile */
@media (max-width: 575.98px) {
	.fc-depan .portfolio-container { --bs-gutter-x: 12px; }
	.fc-depan .portfolio-container .gallery-card { margin-bottom: 12px; border-radius: 16px; }
	.fc-depan .portfolio-container .gallery-img-box { height: 132px; }
	.fc-depan .portfolio-container .gallery-info { padding: 9px 11px 11px; }
	.fc-depan .portfolio-container .gallery-info h4 { font-size: 13px; min-height: 2.8em; } /* kartu sejajar walau keterangan 1 atau 2 baris */
	.fc-depan .portfolio-container .gallery-preview-btn { width: 36px; height: 36px; font-size: 14px; }
	.fc-depan .portfolio-container .gallery-img-overlay { padding: 8px; }
}

/* 10. Blog & artikel --------------------------------------------------------------------------------------------- */
.fc-depan .fc-d-kepala {
	position: relative;
	padding: calc(var(--fc-d-tinggi-header) + 48px) 0 110px;
	border-radius: 0 0 40px 40px;
	background-position: right -170px top -150px, 0 0;
	background-size: 460px 460px, 100% 100%;
}
.fc-depan .fc-d-kepala h2 {
	margin: 0;
	color: #fff;
	font-size: clamp(2rem, 4.5vw, 3rem);
	font-weight: 800;
	letter-spacing: -.03em;
}
.fc-depan .fc-d-kepala ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	margin: 0;
	padding: 0;
	list-style: none;
	color: rgba(255, 255, 255, .72);
	font-size: 14.5px;
	font-weight: 600;
}
.fc-depan .fc-d-kepala ol a { color: #9FE0CC; }
.fc-depan .fc-d-kepala ol a:hover { color: #fff; }
.fc-depan .fc-d-kepala ol li + li::before { content: "/"; padding: 0 10px; color: rgba(255, 255, 255, .4); }
.fc-depan .fc-d-kepala--artikel { padding-bottom: 120px; }
.fc-depan .fc-d-bagian--naik { position: relative; z-index: 2; margin-top: -72px; padding-top: 0; }
@media (max-width: 575.98px) {
	.fc-depan .fc-d-kepala { padding-top: calc(var(--fc-d-tinggi-header) + 32px); padding-bottom: 92px; border-radius: 0 0 var(--fc-r-kepala) var(--fc-r-kepala); background-size: 340px 340px, 100% 100%; }
	.fc-depan .fc-d-bagian--naik { margin-top: -60px; }
}

.fc-depan .fc-d-artikel {
	display: flex;
	flex-direction: column;
	width: 100%;
	overflow: hidden;
	border: 1px solid var(--fc-line);
	border-radius: var(--fc-r-kartu);
	background: #fff;
	box-shadow: var(--fc-bayang-kartu);
	transition: transform .25s, box-shadow .25s;
}
.fc-depan .fc-d-artikel:hover { transform: translateY(-4px); box-shadow: var(--fc-bayang-naik); }
.fc-depan .fc-d-artikel__gambar { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--fc-field); }
.fc-depan .fc-d-artikel__gambar img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.fc-depan .fc-d-artikel:hover .fc-d-artikel__gambar img { transform: scale(1.04); }
.fc-depan .fc-d-artikel__isi { display: flex; flex: 1; flex-direction: column; padding: 18px 22px 20px; }
.fc-depan .fc-d-artikel .entry-title { margin: 12px 0 8px; font-size: 1.15rem; font-weight: 800; line-height: 1.35; }
.fc-depan .fc-d-artikel .entry-title a { color: var(--fc-ink); }
.fc-depan .fc-d-artikel .entry-title a:hover { color: var(--fc-mint-deep); }
.fc-depan .fc-d-artikel .entry-content { display: flex; flex: 1; flex-direction: column; color: var(--fc-muted); font-size: 14.5px; }
.fc-depan .fc-d-artikel__ringkas { overflow-wrap: anywhere; }
.fc-depan .fc-d-artikel__ringkas :is(p, h1, h2, h3, h4, h5, h6, ul, ol) { margin: 0 0 6px; font-size: inherit; color: inherit; font-weight: inherit; }
.fc-depan .fc-d-artikel__ringkas :is(img, iframe, table) { display: block; max-width: 100%; height: auto; }
.fc-depan .fc-d-artikel .read-more { margin-top: auto; padding-top: 14px; }
.fc-depan .fc-d-artikel .read-more a { display: inline-flex; align-items: center; gap: 6px; color: var(--fc-mint-deep); font-weight: 700; }
.fc-depan .fc-d-artikel .read-more a:hover { gap: 10px; color: var(--fc-ink); }

/* Chip penulis & tanggal */
.fc-depan .fc-d-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.fc-depan .fc-d-meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 11px;
	border-radius: var(--fc-r-pill);
	background: var(--fc-field);
	color: var(--fc-muted);
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.4;
}
.fc-depan .fc-d-meta i { color: var(--fc-mint-deep); font-size: 11px; }

/* Paginasi pil */
.fc-depan .fc-d-halaman { margin-top: 40px; }
.fc-depan .fc-d-halaman .pagination { flex-wrap: wrap; gap: 6px; }
.fc-depan .fc-d-halaman .page-link {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--fc-line);
	border-radius: var(--fc-r-pill) !important;
	background: #fff;
	color: var(--fc-ink);
	font-weight: 700;
	font-size: 14.5px;
	box-shadow: none;
}
.fc-depan .fc-d-halaman .page-link:hover { background: var(--fc-field); color: var(--fc-ink); }
.fc-depan .fc-d-halaman .page-item.active .page-link { border-color: var(--fc-ink); background: var(--fc-ink); color: #fff; }
.fc-depan .fc-d-halaman .page-item.disabled .page-link { color: #A7B1C0; background: var(--fc-field); }
.fc-depan .fc-d-halaman .page-link i { font-size: 12px; }

/* Detail artikel */
.fc-depan .fc-d-baca {
	padding: clamp(14px, 3vw, 40px);
	border: 1px solid var(--fc-line);
	border-radius: var(--fc-r-dialog);
	background: #fff;
	box-shadow: var(--fc-bayang-naik);
}
.fc-depan .fc-d-baca__gambar { overflow: hidden; border-radius: 16px; background: var(--fc-field); text-align: center; }
.fc-depan .fc-d-baca__gambar img { display: block; width: 100%; height: auto; }
.fc-depan .fc-d-baca .entry-title { margin: 26px 0 12px; font-size: clamp(1.5rem, 3.2vw, 2.25rem); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.fc-depan .fc-d-baca .fc-d-meta { margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--fc-line); }
.fc-depan .fc-d-baca__isi { color: var(--fc-body); font-size: 16.5px; line-height: 1.8; overflow-wrap: anywhere; }
.fc-depan .fc-d-baca__isi :is(h1, h2, h3, h4, h5, h6) { margin: 1.4em 0 .5em; line-height: 1.3; }
.fc-depan .fc-d-baca__isi p { margin: 0 0 1.1em; }
.fc-depan .fc-d-baca__isi :is(img, video) { max-width: 100%; height: auto; border-radius: 12px; }
.fc-depan .fc-d-baca__isi iframe { max-width: 100%; border-radius: 12px; }
.fc-depan .fc-d-baca__isi table { display: block; max-width: 100%; overflow-x: auto; }
.fc-depan .fc-d-baca__isi blockquote { margin: 1.2em 0; padding: 12px 18px; border-left: 4px solid var(--fc-mint); border-radius: 0 12px 12px 0; background: var(--fc-mint-soft); color: var(--fc-ink); }
.fc-depan .fc-d-baca__isi a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 575.98px) {
	.fc-depan .fc-d-baca { border-radius: var(--fc-r-kartu); }
	.fc-depan .fc-d-baca__gambar { border-radius: 12px; }
	.fc-depan .fc-d-baca__isi { font-size: 16px; }
}

/* 11. Footer ----------------------------------------------------------------------------------------------------- */
.fc-depan .fc-d-footer {
	position: relative;
	overflow: hidden;
	color: rgba(255, 255, 255, .74);
	font-size: 14.5px;
	background-color: var(--fc-ink-deep);
	background-image: var(--fc-motif), linear-gradient(160deg, var(--fc-ink), var(--fc-ink-deep));
	background-repeat: no-repeat;
	background-position: right -180px bottom -220px, 0 0;
	background-size: 520px 520px, 100% 100%;
}
.fc-depan .fc-d-footer .footer-top { padding: 64px 0 40px; }
.fc-depan .fc-d-footer__logo {
	display: inline-flex;
	padding: 10px 16px;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
}
.fc-depan .fc-d-footer__logo img { height: 46px; width: auto; }
.fc-depan .fc-d-footer p { margin-bottom: 0; color: rgba(255, 255, 255, .74); line-height: 1.7; }
.fc-depan .fc-d-footer .footer-contact p { max-width: 320px; }
.fc-depan .fc-d-footer strong { color: #fff; font-weight: 700; }
.fc-depan .fc-d-footer h4 { margin: 4px 0 16px; color: #fff; font-size: 16px; font-weight: 800; }
.fc-depan .fc-d-footer .footer-links ul { margin: 0; padding: 0; list-style: none; }
.fc-depan .fc-d-footer .footer-links li { display: flex; align-items: center; gap: 6px; padding: 5px 0; }
.fc-depan .fc-d-footer .footer-links li i { color: var(--fc-mint); font-size: 18px; }
.fc-depan .fc-d-footer .footer-links a { color: rgba(255, 255, 255, .82); }
.fc-depan .fc-d-footer .footer-links a:hover { color: #fff; }
.fc-depan .fc-d-footer .social-links { display: flex; gap: 10px; }
.fc-depan .fc-d-footer .social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .14);
	color: #fff;
	font-size: 21px;
	transition: background .2s, transform .2s;
}
.fc-depan .fc-d-footer .social-links a:hover { background: var(--fc-mint-deep); border-color: var(--fc-mint-deep); transform: translateY(-2px); }
.fc-depan .fc-d-footer .footer-bottom {
	padding: 18px 0 calc(18px + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: 13.5px;
	color: rgba(255, 255, 255, .6);
}
@media (max-width: 767.98px) {
	.fc-depan .fc-d-footer .footer-top { padding: 48px 0 28px; }
	.fc-depan .fc-d-footer .footer-bottom { padding-right: 64px; } /* jangan tertutup tombol ke atas */
}

/* 12. Keadaan kosong --------------------------------------------------------------------------------------------- */
.fc-depan .fc-d-kosong { padding: 40px 0; text-align: center; color: var(--fc-muted); }
.fc-depan .fc-d-kosong__ikon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin-bottom: 12px;
	background: var(--fc-sky-soft);
	color: var(--fc-sky);
	font-size: 26px;
}
.fc-depan .fc-d-kosong p { margin: 0; }

/* SweetAlert v1 (galat AJAX): tombol & sudut mengikuti tema */
.fc-depan .sweet-alert { border-radius: var(--fc-r-dialog); font-family: var(--fc-font); }
.fc-depan .sweet-alert h2 { color: var(--fc-ink); font-family: var(--fc-font); }
.fc-depan .sweet-alert p { color: var(--fc-body); }
.fc-depan .sweet-alert button { border-radius: var(--fc-r-isian); font-family: var(--fc-font); font-weight: 700; background-color: var(--fc-ink) !important; box-shadow: none !important; }
