/* =========================================================
   REDESIGN — Header, Hero Slider (2 cards) & Quick Access
   SMPN 1 Lemahabang  |  file terpisah agar tidak mengubah
   vendor style.css. Di-load setelah style.css di header.php
   ========================================================= */

:root {
	--rd-primary: #1a4fd6;
	--rd-primary-dark: #14307c;
	--rd-primary-soft: #eef3ff;
	--rd-ink: #14213d;
	--rd-muted: #667085;
	--rd-radius: 14px;
	--rd-shadow: 0 10px 35px rgba(20, 48, 124, .10);
	--rd-shadow-hover: 0 18px 50px rgba(20, 48, 124, .18);
}

/* Override vendor: overflow-x:hidden pada html/body mematikan position:sticky.
   'clip' tetap mencegah scroll horizontal tapi tidak membuat scroll-container. */
html, body { overflow-x: clip; }

/* ---------- 0. PRELOADER MODERN (logo + ring + bar) ---------- */
.preloader {
	background:
		radial-gradient(900px 500px at 50% 0%, var(--rd-primary-soft), transparent 70%),
		#ffffff;
	display: flex; align-items: center; justify-content: center;
}
.rd-loader { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.rd-loader-ring {
	position: relative; width: 104px; height: 104px; border-radius: 50%;
	display: grid; place-items: center;
}
.rd-loader-ring::before {
	content: ""; position: absolute; inset: 0; border-radius: 50%;
	background: conic-gradient(from 0deg, var(--rd-primary), var(--rd-primary-dark), var(--rd-primary-soft), var(--rd-primary));
	-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
	        mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
	animation: rdSpin .85s linear infinite;
}
.rd-loader-ring::after {
	content: ""; position: absolute; inset: 8px; border-radius: 50%;
	background: #fff; box-shadow: 0 8px 22px -10px rgba(20, 48, 124, .45);
}
.rd-loader-logo {
	position: relative; z-index: 2; width: 58px; height: 58px; object-fit: contain;
	animation: rdPulse 1.6s ease-in-out infinite;
}
.rd-loader-name {
	position: relative; font-size: 15px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
	background: linear-gradient(90deg, var(--rd-primary), var(--rd-primary-dark));
	-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--rd-primary);
}
.rd-loader-bar {
	position: relative; width: 150px; height: 4px; border-radius: 4px;
	background: var(--rd-primary-soft); overflow: hidden;
}
.rd-loader-bar span {
	position: absolute; left: 0; top: 0; height: 100%; width: 40%; border-radius: 4px;
	background: linear-gradient(90deg, var(--rd-primary), var(--rd-primary-dark));
	animation: rdBar 1.15s ease-in-out infinite;
}
@keyframes rdSpin { to { transform: rotate(360deg); } }
@keyframes rdPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.9); opacity: .82; } }
@keyframes rdBar {
	0%   { left: -40%; width: 40%; }
	50%  { width: 55%; }
	100% { left: 100%; width: 40%; }
}
@media (prefers-reduced-motion: reduce) {
	.rd-loader-ring::before, .rd-loader-logo, .rd-loader-bar span { animation-duration: 2.4s; }
}

/* ---------- 1. HEADER (minimalis + sticky) ---------- */
.rd-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 18px rgba(20, 48, 124, .06);
	transition: box-shadow .25s ease;
}
.rd-header.rd-scrolled { box-shadow: 0 8px 26px rgba(20, 48, 124, .14); }

/* top bar tipis */
.rd-topbar {
	background: var(--rd-primary-dark);
	color: #cdd7f0;
	font-size: 14px;
}
.rd-topbar-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 44px;
	padding: 6px 0;
	flex-wrap: wrap;
}
.rd-topbar-mail {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	text-decoration: none;
}
.rd-topbar-mail i { color: #8db1ff; transition: color .2s; }
.rd-topbar-mail:hover { color: #fff; }
.rd-topbar-mail:hover i { color: #fff; }

/* ikon medsos bulat */
.rd-social { display: flex; align-items: center; gap: 8px; }
.rd-social span { margin-right: 4px; color: #aab8de; font-size: 13px; }
.rd-social a {
	width: 30px; height: 30px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	color: #fff; font-size: 14px;
	transition: transform .2s ease, background .2s ease;
}
.rd-social a:hover { transform: translateY(-2px); }
.rd-social a.fb:hover      { background: #1877f2; }
.rd-social a.ig:hover      { background: #e1306c; }
.rd-social a.yt:hover      { background: #ff0000; }
.rd-social a.tg:hover      { background: #229ed9; }
.rd-social a.wa:hover      { background: #25d366; }
.rd-social a.tt:hover      { background: #000; }
.rd-social a.tw:hover      { background: #1da1f2; }

/* nav utama */
.rd-nav { background: #fff; }
.rd-nav .navbar { padding: 10px 0; }
.rd-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: 28px; }
.rd-brand img { width: 52px; height: 52px; object-fit: contain; }
.rd-brand .rd-brand-text { line-height: 1.15; }
.rd-brand .rd-brand-name { font-weight: 800; color: var(--rd-ink); font-size: 18px; }
.rd-brand .rd-brand-sub { display: block; font-size: 12px; color: var(--rd-muted); font-weight: 500; }

.rd-nav .navbar-nav .nav-link {
	font-weight: 600;
	color: var(--rd-ink);
	padding: 10px 14px !important;
	border-radius: 10px;
	transition: color .2s, background .2s;
}
.rd-nav .navbar-nav .nav-link:hover,
.rd-nav .navbar-nav .nav-link.active { color: var(--rd-primary); }
.rd-nav .dropdown-menu {
	border: none;
	border-radius: 14px;
	box-shadow: var(--rd-shadow);
	padding: 8px;
	margin-top: 8px;
}
.rd-nav .dropdown-item {
	border-radius: 8px;
	padding: 8px 12px;
	font-weight: 500;
	color: var(--rd-ink);
}
.rd-nav .dropdown-item:hover { background: var(--rd-primary-soft); color: var(--rd-primary); }

.rd-nav-right { display: flex; align-items: center; gap: 10px; }
.rd-search-btn {
	width: 42px; height: 42px; border-radius: 50%;
	border: 1px solid #e3e8f5; background: #fff; color: var(--rd-ink);
	display: inline-flex; align-items: center; justify-content: center;
	transition: all .2s;
}
.rd-search-btn:hover { background: var(--rd-primary); color: #fff; border-color: var(--rd-primary); }
.rd-cta {
	background: var(--rd-primary);
	color: #fff !important;
	font-weight: 600;
	font-size: 13.5px;
	white-space: nowrap;
	height: 42px;
	padding: 0 16px;
	border-radius: 10px;
	text-decoration: none;
	display: inline-flex; align-items: center; gap: 7px;
	transition: all .25s;
	box-shadow: 0 6px 16px rgba(26, 79, 214, .26);
}
.rd-cta i { font-size: 12px; }
.rd-cta:hover { background: var(--rd-primary-dark); transform: translateY(-1px); }

/* Slot penampung (reserve ruang 42px); lingkaran visual = panel absolut */
.rd-search-slot { flex: 0 0 auto; width: 42px; height: 42px; }

/* Search morph: lingkaran (42px) -> bar. Satu elemen, lebar diatur JS. */
.rd-search-panel {
	position: absolute; top: 50%; right: 12px; transform: translateY(-50%);
	height: 42px; width: 42px; max-width: calc(100% - 24px);
	background: #fff; border: 1px solid #e3e8f5; border-radius: 50%;
	overflow: hidden; z-index: 60;
	display: flex; align-items: center;
	box-shadow: none;
	transition: width .4s cubic-bezier(.4, 0, .2, 1), border-radius .35s ease, box-shadow .3s ease;
}
.rd-search-panel.open { border-radius: 12px; box-shadow: 0 12px 30px -12px rgba(20, 48, 124, .28); }
/* Ikon = tombol pembuka (saat lingkaran); jadi ikon kiri saat terbuka */
.rd-search-icon {
	flex: 0 0 42px; width: 42px; height: 42px; border: 0; background: transparent;
	color: var(--rd-ink); cursor: pointer; font-size: 15px;
	display: flex; align-items: center; justify-content: center; transition: color .2s;
}
.rd-search-icon:hover { color: var(--rd-primary); }
.rd-search-panel.open .rd-search-icon { color: var(--rd-muted); cursor: default; }
/* Form muncul saat terbuka */
.rd-search-panel form {
	display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; height: 100%; padding-right: 6px;
	opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .25s;
}
.rd-search-panel.open form { opacity: 1; visibility: visible; }
.rd-search-panel input {
	flex: 1; min-width: 0; height: 100%; border: none; outline: none;
	font-size: 14px; background: transparent; color: var(--rd-ink);
}
.rd-search-go {
	flex: 0 0 auto; height: 32px; padding: 0 15px; border: none; border-radius: 8px;
	background: var(--rd-primary); color: #fff; font-weight: 600; font-size: 13px; cursor: pointer;
	transition: background .2s;
}
.rd-search-go:hover { background: var(--rd-primary-dark); }
.rd-search-close {
	flex: 0 0 auto; width: 32px; height: 32px; border: none; background: transparent;
	font-size: 22px; line-height: 1; color: var(--rd-muted); cursor: pointer;
	display: flex; align-items: center; justify-content: center; border-radius: 8px;
	transition: background .2s, color .2s;
}
.rd-search-close:hover { background: #f1f4fb; color: var(--rd-ink); }
/* Saat search aktif: menu menghilang (fade), tombol Daftar tetap ada */
.rd-nav.rd-search-active .navbar-nav {
	opacity: 0; visibility: hidden; pointer-events: none;
	transition: opacity .2s ease, visibility .25s;
}

.rd-nav .navbar-toggler { border: 1px solid #e3e8f5; border-radius: 10px; padding: 6px 10px; }
.rd-nav .navbar-toggler:focus { box-shadow: none; }

/* Layout nav (desktop): brand kiri — menu + CTA di kanan, dengan jarak */
@media (min-width: 992px) {
	.rd-nav .navbar-collapse { display: flex !important; align-items: center; justify-content: flex-end !important; }
	.rd-nav .navbar-nav { align-items: center; }
	.rd-nav .navbar-nav .nav-item .nav-link {
		font-size: 14.5px !important;
		margin-right: 2px !important;
		padding: 10px 9px !important;
	}
	.rd-nav .navbar-nav .nav-item:last-child .nav-link { margin-right: 0 !important; }
	.rd-nav-right { margin-left: 16px; }
	.rd-cta { padding: 0 14px; font-size: 13px; }
}
@media (min-width: 992px) and (max-width: 1199px) {
	.rd-nav .navbar-nav .nav-item .nav-link { font-size: 13.5px !important; padding: 9px 7px !important; }
	.rd-brand { margin-right: 14px; }
	.rd-brand .rd-brand-sub { display: none; }
}

/* ---------- 2. HERO SLIDER (2 cards) — innovatif ---------- */
.rd-hero {
	position: relative;
	padding: 56px 0 72px;
	background:
		radial-gradient(1100px 520px at 88% -6%, #5b93ff 0%, transparent 55%),
		radial-gradient(900px 480px at 4% 4%, #3a76f7 0%, transparent 52%),
		linear-gradient(150deg, #3061e6 0%, #2a57d8 48%, #234ac6 100%);
	overflow: hidden;
	isolation: isolate;
}
/* Lengkung dasar biar transisi ke konten putih mulus (bukan kotak) */
.rd-hero::after {
	content: '';
	position: absolute; left: -6%; right: -6%; bottom: -1px;
	height: 70px;
	background: #fff;
	border-radius: 50% 50% 0 0 / 100% 100% 0 0;
	z-index: 1;
}
/* Ring/lingkaran outline mengambang */
.rd-hero-rings { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.rd-hero-rings::before,
.rd-hero-rings::after {
	content: ''; position: absolute; border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, .18);
}
.rd-hero-rings::before {
	width: 96px; height: 96px; left: 2.5%; bottom: 26%;
	animation: rdFloat 8s ease-in-out infinite;
}
.rd-hero-rings::after {
	width: 168px; height: 168px; right: 1.5%; bottom: 8%;
	border-color: rgba(255, 255, 255, .12);
	animation: rdFloat 12s ease-in-out infinite reverse;
}
/* Blob cahaya beranimasi + pola titik */
.rd-hero-decor { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.rd-hero-decor::before,
.rd-hero-decor::after {
	content: '';
	position: absolute;
	border-radius: 50%;
	filter: blur(8px);
	opacity: .55;
}
.rd-hero-decor::before {
	width: 320px; height: 320px; top: -90px; left: -70px;
	background: radial-gradient(circle at 30% 30%, rgba(120, 160, 255, .55), transparent 65%);
	animation: rdFloat 9s ease-in-out infinite;
}
.rd-hero-decor::after {
	width: 260px; height: 260px; bottom: -40px; right: 6%;
	background: radial-gradient(circle at 50% 50%, rgba(88, 214, 255, .35), transparent 65%);
	animation: rdFloat 11s ease-in-out infinite reverse;
}
.rd-hero-dots {
	position: absolute; top: 26px; right: 24px; width: 220px; height: 200px;
	background-image: radial-gradient(rgba(255, 255, 255, .28) 2px, transparent 2.5px);
	background-size: 22px 22px; opacity: .5; z-index: 0; pointer-events: none;
}
@keyframes rdFloat {
	0%, 100% { transform: translate(0, 0); }
	50% { transform: translate(24px, 26px); }
}

.rd-hero .container { position: relative; z-index: 2; }
.rd-hero .owl-stage { display: flex; padding: 6px 0 4px; }
.rd-hero .owl-item { display: flex; height: auto; }

.rd-hero-card {
	position: relative;
	width: 100%;
	border-radius: 14px;
	overflow: hidden;
	background: #0b1a3a;
	aspect-ratio: 16 / 10;
	transition: transform .4s cubic-bezier(.22,.61,.36,1);
}
.rd-hero-card:hover { transform: translateY(-5px); }
.rd-hero-card img {
	width: 100%; height: 100%;
	object-fit: cover; display: block;
	transform: scale(1.02);
	transition: transform 1.2s ease;
}
.rd-hero-card:hover img { transform: scale(1.09); }
.rd-hero-overlay {
	position: absolute; inset: 0; z-index: 2;
	display: flex; flex-direction: column; justify-content: flex-end;
	padding: 22px 22px;
	background: linear-gradient(to top,
		rgba(4, 10, 28, .88) 0%,
		rgba(4, 10, 28, .58) 42%,
		rgba(4, 10, 28, .22) 72%,
		rgba(4, 10, 28, 0) 100%);
	color: #fff;
}
/* Eyebrow jadi pill glass kecil */
.rd-hero-tag {
	align-self: flex-start;
	font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
	text-transform: uppercase; color: #eaf1ff; margin-bottom: 10px;
	display: inline-flex; align-items: center; gap: 6px;
	padding: 4px 11px; border-radius: 30px;
	background: rgba(255, 255, 255, .14);
	border: 1px solid rgba(255, 255, 255, .22);
	backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.rd-hero-tag i { color: #8fb4ff; }
.rd-hero-title {
	color: #fff !important;
	font-size: clamp(17px, 1.35vw, 21px);
	font-weight: 700; line-height: 1.34; margin-bottom: 16px;
	max-width: 88%;
	text-shadow: 0 2px 14px rgba(0, 0, 0, .6);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rd-hero-btn {
	align-self: flex-start;
	background: #fff;
	color: var(--rd-primary); font-weight: 600; font-size: 11.5px;
	padding: 7px 13px; border-radius: 9px; text-decoration: none;
	letter-spacing: .2px;
	display: inline-flex; align-items: center; gap: 6px;
	box-shadow: 0 4px 12px -4px rgba(4, 10, 28, .4);
	transition: all .25s;
}
.rd-hero-btn i { font-size: 10.5px; color: var(--rd-primary); transition: transform .25s, color .25s; }
.rd-hero-btn:hover { background: var(--rd-primary); color: #fff; }
.rd-hero-btn:hover i { transform: translateX(3px); color: #fff; }

/* Control bar bawah: dots di tengah, panah berpasangan di kanan */
.rd-hero-slider { position: relative; padding-bottom: 56px; }
.rd-hero .owl-nav {
	position: absolute; right: 2px; bottom: 4px; margin: 0;
	display: flex; align-items: center; gap: 10px; z-index: 4;
}
.rd-hero .owl-nav button {
	position: static; margin: 0 !important;
	width: 42px; height: 42px; border-radius: 50% !important;
	background: rgba(255, 255, 255, .16) !important; color: #fff !important;
	border: 1px solid rgba(255, 255, 255, .35) !important;
	backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
	font-size: 16px !important;
	display: flex; align-items: center; justify-content: center;
	transition: all .2s;
}
.rd-hero .owl-nav button:hover { background: #fff !important; color: var(--rd-primary) !important; transform: translateY(-2px); }
.rd-hero .owl-dots {
	position: absolute; left: 0; right: 0; bottom: 14px; margin: 0;
	text-align: center; z-index: 3;
}
.rd-hero .owl-dots .owl-dot span {
	width: 9px; height: 9px; margin: 0 4px; background: rgba(255, 255, 255, .45);
	display: inline-block; border-radius: 50%; transition: all .25s;
}
.rd-hero .owl-dots .owl-dot.active span { background: #fff; width: 28px; border-radius: 6px; }

/* ---------- 3. QUICK ACCESS (icon grid) ---------- */
.rd-quick { padding: 50px 0 30px; }
.rd-quick-heading {
	font-size: clamp(22px, 3vw, 32px);
	font-weight: 800; color: var(--rd-ink);
	margin-bottom: 30px; line-height: 1.3;
}
.rd-quick-heading span { color: var(--rd-primary); }
.rd-quick-grid {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	gap: 16px;
}
.rd-quick-card {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 12px; text-align: center;
	padding: 22px 10px;
	border: 1.5px solid #e6ecfb;
	border-radius: var(--rd-radius);
	background: #fff;
	text-decoration: none;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.rd-quick-card:hover {
	transform: translateY(-5px);
	border-color: var(--rd-primary);
	box-shadow: var(--rd-shadow-hover);
}
.rd-quick-icon {
	width: 58px; height: 58px; border-radius: 16px;
	display: flex; align-items: center; justify-content: center;
	background: var(--rd-primary-soft);
	color: var(--rd-primary);
	font-size: 24px;
	transition: all .25s;
}
.rd-quick-card:hover .rd-quick-icon { background: var(--rd-primary); color: #fff; transform: scale(1.05); }
.rd-quick-label { font-weight: 700; color: var(--rd-ink); font-size: 14px; }

/* ---------- 4. FOOTER ---------- */
.rd-footer {
	position: relative;
	overflow: hidden;
	margin-top: 0;
	color: #c3d0ee;
	background:
		radial-gradient(900px 380px at 88% 0%, rgba(58, 118, 247, .30), transparent 60%),
		linear-gradient(180deg, #14357e 0%, #0f2a63 55%, #0c2050 100%);
}
.rd-footer-glow {
	position: absolute; top: -120px; left: -80px;
	width: 340px; height: 340px; border-radius: 50%;
	background: radial-gradient(circle, rgba(90, 140, 255, .35), transparent 65%);
	filter: blur(10px); pointer-events: none; z-index: 0;
}
.rd-footer .container { position: relative; z-index: 1; }
.rd-footer-grid {
	display: grid;
	grid-template-columns: 1.7fr 1fr 1fr 1.3fr;
	gap: 40px;
	padding: 64px 0 44px;
}
/* Kolom Tentang */
.rd-footer-brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; margin-bottom: 18px; }
.rd-footer-brand img { width: 58px; height: 58px; object-fit: contain; }
.rd-footer-brand strong { display: block; color: #fff; font-size: 18px; font-weight: 800; line-height: 1.2; }
.rd-footer-brand small { color: #93a9dd; font-size: 12.5px; letter-spacing: .5px; }
.rd-footer-desc { font-size: 14px; line-height: 1.75; color: #b3c2e6; margin-bottom: 22px; max-width: 340px; }
.rd-footer-contact { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.rd-footer-contact li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5; }
.rd-footer-contact a { color: #cdd9f3; text-decoration: none; transition: color .2s; }
.rd-footer-contact a:hover { color: #fff; }
.rd-footer-ico {
	flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px;
	display: inline-flex; align-items: center; justify-content: center;
	background: rgba(255, 255, 255, .09); color: #86aaff; font-size: 13px;
	border: 1px solid rgba(255, 255, 255, .12);
}
/* Judul kolom */
.rd-footer-title {
	color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 22px;
	position: relative; padding-bottom: 12px;
}
.rd-footer-title::after {
	content: ''; position: absolute; left: 0; bottom: 0;
	width: 38px; height: 3px; border-radius: 3px;
	background: linear-gradient(90deg, #4f8bff, #2a6bff);
}
/* Link list */
.rd-footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.rd-footer-links a {
	color: #b3c2e6; text-decoration: none; font-size: 14px;
	display: inline-flex; align-items: center; gap: 9px; transition: color .2s, transform .2s;
}
.rd-footer-links a::before {
	content: '\203A'; /* chevron › */
	color: #4f8bff; font-size: 17px; font-weight: 700; line-height: 1;
	transition: transform .2s;
}
.rd-footer-links a:hover { color: #fff; transform: translateX(3px); }
.rd-footer-links a:hover::before { transform: translateX(2px); }
/* Sosmed */
.rd-footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.rd-footer-social a {
	width: 40px; height: 40px; border-radius: 11px;
	display: inline-flex; align-items: center; justify-content: center;
	background: rgba(255, 255, 255, .08); color: #cdd9f3; font-size: 15px;
	border: 1px solid rgba(255, 255, 255, .14);
	transition: all .22s;
}
.rd-footer-social a:hover { background: #2a6bff; color: #fff; border-color: #2a6bff; transform: translateY(-3px); }
.rd-footer-cta {
	display: inline-flex; align-items: center; gap: 8px;
	background: linear-gradient(135deg, var(--rd-primary), var(--rd-primary-dark)); color: #fff;
	font-weight: 600; font-size: 13.5px; text-decoration: none;
	padding: 11px 20px; border-radius: 10px;
	box-shadow: 0 10px 24px -8px rgba(42, 107, 255, .7); transition: all .25s;
}
.rd-footer-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(42, 107, 255, .8); color: #fff; }
/* Bottom bar */
.rd-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, .12);
	padding: 22px 0 26px;
	display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.rd-footer-bottom p { margin: 0; font-size: 13.5px; color: #9fb2dc; }
.rd-footer-bottom a { color: #7ea6ff; text-decoration: none; font-weight: 600; }
.rd-footer-bottom a:hover { color: #fff; }
.rd-footer-credit { color: #7d92c2 !important; }

/* ---------- 5. MITRA / PARTNER (marquee) ---------- */
.rd-partner {
	padding: 46px 0 50px;
	background: linear-gradient(180deg, #f7f9fe 0%, #eef3fc 100%);
	border-top: 1px solid #e8eefb;
	overflow: hidden;
}
.rd-partner-head { text-align: center; margin-bottom: 32px; }
.rd-partner-eyebrow {
	display: inline-block; margin-bottom: 12px;
	font-size: 11.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
	color: var(--rd-primary); background: #e6ecfb;
	padding: 5px 15px; border-radius: 30px;
}
.rd-partner-title { font-size: clamp(20px, 2.4vw, 28px); font-weight: 800; color: var(--rd-ink); margin: 0; }
.rd-partner-title span { color: var(--rd-primary); }

.rd-partner-marquee {
	position: relative;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.rd-partner-track {
	display: flex; align-items: center; width: max-content;
	animation: rdMarquee 32s linear infinite;
}
.rd-partner:hover .rd-partner-track { animation-play-state: paused; }
.rd-partner-item {
	flex: 0 0 auto;
	width: 190px; height: 96px; margin-right: 26px;
	display: flex; align-items: center; justify-content: center;
	background: #fff; border: 1px solid #e9eefb; border-radius: 14px;
	padding: 16px 26px;
	box-shadow: 0 8px 22px -14px rgba(20, 48, 124, .35);
	transition: transform .3s ease, box-shadow .3s ease;
}
.rd-partner-item img {
	max-width: 100%; max-height: 100%; object-fit: contain;
	filter: grayscale(100%); opacity: .68;
	transition: filter .3s ease, opacity .3s ease;
}
.rd-partner-item:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -16px rgba(20, 48, 124, .45); }
.rd-partner-item:hover img { filter: grayscale(0); opacity: 1; }
@keyframes rdMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .rd-partner-track { animation: none; } }

/* ---------- Heading section generik ---------- */
.rd-sec-head { text-align: center; max-width: 660px; margin: 0 auto 44px; }
.rd-eyebrow {
	display: inline-block; margin-bottom: 13px;
	font-size: 11.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
	color: var(--rd-primary); background: #e6ecfb; padding: 5px 15px; border-radius: 30px;
}
.rd-sec-title { font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: var(--rd-ink); margin: 0; line-height: 1.25; }
.rd-sec-title span { color: var(--rd-primary); }
.rd-eyebrow--light { background: rgba(255, 255, 255, .14); color: #dbe6ff; border: 1px solid rgba(255, 255, 255, .22); }
.rd-sec-title--light { color: #fff; }
.rd-sec-title--light span { color: #8fb4ff; }

/* ---------- 6. TESTIMONI ---------- */
.rd-testi {
	position: relative; overflow: hidden; padding: 78px 0 88px;
	background:
		radial-gradient(900px 420px at 85% -6%, rgba(58, 118, 247, .38), transparent 55%),
		linear-gradient(160deg, var(--rd-primary) 0%, var(--rd-primary-dark) 60%, var(--rd-primary-dark) 100%);
}
.rd-testi-decor {
	position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background-image: radial-gradient(rgba(255, 255, 255, .10) 2px, transparent 2.5px);
	background-size: 26px 26px; opacity: .5;
}
.rd-testi .container { position: relative; z-index: 1; }
.rd-testi .owl-stage { display: flex; padding: 6px 0; }
.rd-testi .owl-item { display: flex; height: auto; }
.rd-testi-card {
	width: 100%; background: #fff; border-radius: 14px;
	padding: 32px 28px 26px; position: relative;
	box-shadow: 0 22px 46px -24px rgba(2, 8, 26, .6);
}
.rd-testi-mark {
	position: absolute; top: 24px; right: 26px;
	width: 44px; height: 44px; border-radius: 12px;
	display: flex; align-items: center; justify-content: center;
	background: var(--rd-primary-soft); color: var(--rd-primary); font-size: 17px;
}
.rd-testi-stars { color: #ffb400; font-size: 13px; letter-spacing: 3px; margin-bottom: 15px; }
.rd-testi-text {
	color: #48546b; font-size: 15px; line-height: 1.75; margin-bottom: 22px;
	display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.rd-testi-author { display: flex; align-items: center; gap: 13px; border-top: 1px solid #eef2fb; padding-top: 18px; }
.rd-testi-author img { width: 52px !important; height: 52px !important; border-radius: 50%; object-fit: cover; border: 2px solid var(--rd-primary-soft); flex: 0 0 auto; }
.rd-testi-author h5 { margin: 0; font-size: 15.5px; font-weight: 700; color: var(--rd-ink); }
.rd-testi-author span { font-size: 13px; color: var(--rd-muted); }
.rd-testi .owl-dots { text-align: center; margin-top: 32px; }
.rd-testi .owl-dots .owl-dot span {
	width: 9px; height: 9px; margin: 0 4px; background: rgba(255, 255, 255, .45);
	display: inline-block; border-radius: 50%; transition: all .25s;
}
.rd-testi .owl-dots .owl-dot.active span { background: #fff; width: 28px; border-radius: 6px; }

/* ---------- 7. BERITA / BLOG ---------- */
.rd-blog { padding: 78px 0 82px; background: #fff; }
.rd-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.rd-blog-card {
	background: #fff; border: 1px solid #eaefFb; border-radius: 14px; overflow: hidden;
	display: flex; flex-direction: column;
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.rd-blog-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(20, 48, 124, .40); border-color: #dbe6ff; }
.rd-blog-thumb { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0b1a3a; }
.rd-blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.rd-blog-card:hover .rd-blog-thumb img { transform: scale(1.08); }
.rd-blog-date {
	position: absolute; left: 15px; bottom: 15px;
	background: var(--rd-primary); color: #fff; border-radius: 12px;
	padding: 7px 12px; text-align: center; line-height: 1.1;
	font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px;
	box-shadow: 0 8px 18px -6px rgba(26, 79, 214, .6);
}
.rd-blog-date b { display: block; font-size: 18px; font-weight: 800; letter-spacing: 0; }
.rd-blog-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.rd-blog-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--rd-muted); margin-bottom: 12px; }
.rd-blog-meta i { color: var(--rd-primary); margin-right: 5px; }
.rd-blog-title { font-size: 18px; font-weight: 700; line-height: 1.4; margin: 0 0 11px; }
.rd-blog-title a {
	color: var(--rd-ink); text-decoration: none; transition: color .2s;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rd-blog-title a:hover { color: var(--rd-primary); }
.rd-blog-excerpt {
	font-size: 14px; color: #5b6577; line-height: 1.7; margin: 0 0 18px;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rd-blog-more { margin-top: auto; align-self: flex-start; color: var(--rd-primary); font-weight: 600; font-size: 13.5px; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.rd-blog-more i { transition: transform .2s; }
.rd-blog-more:hover i { transform: translateX(4px); }
.rd-blog-cta { text-align: center; margin-top: 44px; }
.rd-btn-outline {
	display: inline-flex; align-items: center; gap: 9px;
	border: 1.5px solid var(--rd-primary); color: var(--rd-primary);
	font-weight: 600; font-size: 14px; padding: 11px 24px; border-radius: 10px;
	text-decoration: none; transition: all .25s;
}
.rd-btn-outline i { transition: transform .2s; }
.rd-btn-outline:hover { background: var(--rd-primary); color: #fff; }
.rd-btn-outline:hover i { transform: translateX(4px); }
.rd-btn-solid {
	display: inline-flex; align-items: center; gap: 9px;
	background: var(--rd-primary); color: #fff;
	font-weight: 600; font-size: 14px; padding: 12px 24px; border-radius: 10px;
	text-decoration: none; box-shadow: 0 12px 26px -10px rgba(26, 79, 214, .7); transition: all .25s;
}
.rd-btn-solid i { transition: transform .2s; }
.rd-btn-solid:hover { background: var(--rd-primary-dark); color: #fff; transform: translateY(-2px); }
.rd-btn-solid:hover i { transform: translateX(4px); }

/* ---------- 8. SAMBUTAN KEPSEK ---------- */
.rd-sambutan { padding: 84px 0; background: #fff; }
.rd-sambutan-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.rd-sambutan-media { position: relative; max-width: 420px; justify-self: center; width: 100%; }
.rd-sambutan-media::after {
	content: ''; position: absolute; right: -18px; bottom: -18px;
	width: 62%; height: 62%; border-radius: 14px; z-index: 0;
	background: linear-gradient(135deg, var(--rd-primary), var(--rd-primary-dark));
}
.rd-sambutan-photo {
	position: relative; z-index: 1;
	border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5;
	box-shadow: 0 30px 60px -30px rgba(20, 48, 124, .55);
	border: 5px solid #fff;
}
.rd-sambutan-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.rd-sambutan-badge {
	position: absolute; left: 16px; bottom: 16px; z-index: 2;
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--rd-primary); color: #fff; font-weight: 600; font-size: 13px;
	padding: 9px 16px; border-radius: 30px; box-shadow: 0 10px 22px -8px rgba(26, 79, 214, .7);
}
.rd-sambutan-body .rd-eyebrow { margin-bottom: 16px; }
.rd-sambutan-body .rd-sec-title { text-align: left; margin-bottom: 18px; }
.rd-sambutan-text { color: #5b6577; font-size: 15.5px; line-height: 1.85; margin-bottom: 26px; }

/* ---------- Pagination bertema ---------- */
.rd-pagination { margin-top: 44px; display: flex; justify-content: center; }
.rd-pagination .pagination { display: inline-flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; align-items: center; }
.rd-pagination .pagination > * { list-style: none; }
.rd-pagination .page-item, .rd-pagination li { display: inline-flex; }
.rd-pagination a, .rd-pagination strong, .rd-pagination .page-link {
	display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px;
	border-radius: 11px; background: #fff; border: 1.5px solid #e5eaf6; color: var(--rd-ink);
	font-weight: 600; font-size: 14px; text-decoration: none; transition: all .2s;
}
.rd-pagination a:hover, .rd-pagination .page-link:hover { border-color: var(--rd-primary); color: var(--rd-primary); transform: translateY(-2px); }
.rd-pagination .active a, .rd-pagination .active .page-link, .rd-pagination strong {
	background: linear-gradient(135deg, var(--rd-primary), var(--rd-primary-dark)); border-color: transparent; color: #fff;
	box-shadow: 0 10px 22px -10px rgba(20, 48, 124, .7);
}

/* ---------- 8a. HALAMAN KONTEN GENERIK (Profil, Visi-Misi, dll) ---------- */
/* Hero header halaman (gantikan site-breadcrumb vendor) */
.rd-phead {
	position: relative; overflow: hidden; padding: 74px 0 84px; color: #fff; text-align: center;
	background-color: var(--rd-primary-dark);
	background-size: cover; background-position: center;
}
/* overlay gradasi tema di atas gambar (sama persis dgn .site-breadcrumb) */
.rd-phead::before {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: linear-gradient(150deg, rgba(0,0,0,.30), rgba(0,0,0,.20)),
		linear-gradient(150deg, var(--rd-primary) 0%, var(--rd-primary-dark) 100%);
	opacity: .9;
}
.rd-phead::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 46px; z-index: 2;
	background: #f6f9ff;
	border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.rd-phead-inner { position: relative; z-index: 3; }
.rd-phead-eyebrow {
	display: inline-flex; align-items: center; gap: 7px; margin-bottom: 12px;
	background: rgba(255,255,255,.16); padding: 6px 15px; border-radius: 30px;
	font-size: 12.5px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase;
}
.rd-phead-title { font-size: 38px; font-weight: 800; line-height: 1.15; margin: 0; color: #fff !important; }
.rd-phead-crumb { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,.85); }
.rd-phead-crumb a { color: #fff; text-decoration: none; opacity: .9; }
.rd-phead-crumb a:hover { opacity: 1; text-decoration: underline; }
.rd-phead-crumb i { font-size: 9px; margin: 0 8px; opacity: .7; }

/* Section pembungkus + kartu konten */
.rd-page { padding: 56px 0 84px; background: linear-gradient(180deg, #f6f9ff 0%, #fff 40%); }
.rd-page-card {
	background: #fff; border: 1px solid #eaeffb; border-radius: 18px;
	box-shadow: 0 22px 55px -30px rgba(20, 48, 124, .5);
	padding: 46px 50px; max-width: 950px; margin: 0 auto;
}
.rd-page-ico {
	width: 60px; height: 60px; border-radius: 16px; margin: 0 auto 18px;
	display: flex; align-items: center; justify-content: center; color: #fff; font-size: 26px;
	background: linear-gradient(135deg, var(--rd-primary), var(--rd-primary-dark));
	box-shadow: 0 12px 26px -12px rgba(20, 48, 124, .6);
}
.rd-page-card > .rd-sec-title { text-align: center; margin-bottom: 8px; }
.rd-page-lead { text-align: center; color: var(--rd-muted); font-size: 15px; max-width: 620px; margin: 0 auto 30px; }
.rd-page-sep { width: 64px; height: 4px; border-radius: 4px; margin: 0 auto 30px; background: linear-gradient(90deg, var(--rd-primary), var(--rd-primary-dark)); }

/* Intro PPDB (di bawah header, sebelum konten) */
.rd-ppdb-intro { padding: 30px 0 0; text-align: center; }
.rd-ppdb-intro .rd-ppdb-sub { color: var(--rd-muted); font-size: 16px; max-width: 640px; margin: 0 auto 18px; }
.rd-ppdb-intro .rd-ppdb-cta {
	display: inline-flex; align-items: center; gap: 9px;
	background: linear-gradient(135deg, var(--rd-primary), var(--rd-primary-dark)); color: #fff;
	font-weight: 600; font-size: 15px; padding: 13px 28px; border-radius: 11px; text-decoration: none;
	box-shadow: 0 12px 26px -12px rgba(20, 48, 124, .7); transition: transform .2s;
}
.rd-ppdb-intro .rd-ppdb-cta:hover { transform: translateY(-2px); }

/* Prose: rapikan konten HTML editable (dari Summernote) */
.rd-prose { color: #4d5769; font-size: 15.5px; line-height: 1.9; }
.rd-prose > *:first-child { margin-top: 0; }
.rd-prose p { margin: 0 0 16px; }
.rd-prose h1, .rd-prose h2, .rd-prose h3, .rd-prose h4 { color: var(--rd-ink); font-weight: 800; margin: 28px 0 12px; line-height: 1.3; }
.rd-prose h1 { font-size: 26px; } .rd-prose h2 { font-size: 22px; } .rd-prose h3 { font-size: 19px; }
.rd-prose img { max-width: 100%; height: auto; border-radius: 12px; margin: 8px 0; }
.rd-prose a { color: var(--rd-primary); text-decoration: underline; }
.rd-prose ul, .rd-prose ol { padding-left: 2px !important; margin: 0 0 18px !important; list-style: none !important; }
.rd-prose ul li, .rd-prose ol li { position: relative; padding: 1px 0 1px 36px !important; margin-bottom: 12px !important; list-style: none !important; }
.rd-prose ul li::before {
	content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
	position: absolute; left: 0; top: 1px; color: var(--rd-primary); font-size: 13px;
	width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center;
	background: var(--rd-primary-soft); border-radius: 6px;
}
.rd-prose ol { counter-reset: rdp; }
.rd-prose ol li::before {
	counter-increment: rdp; content: counter(rdp);
	position: absolute; left: 0; top: 1px; color: #fff; font-size: 12px; font-weight: 700;
	width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--rd-primary), var(--rd-primary-dark)); border-radius: 7px;
	box-shadow: 0 4px 10px -4px rgba(20,48,124,.6);
}
/* Netralkan highlight <mark> bawaan (kuning) dari paste Google Docs → jadi teks biasa */
.rd-prose mark { background: transparent; color: inherit; padding: 0; }
.rd-prose blockquote {
	margin: 0 0 18px; padding: 14px 20px; border-left: 4px solid var(--rd-primary);
	background: var(--rd-primary-soft); border-radius: 0 10px 10px 0; color: var(--rd-ink);
}
.rd-prose table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 14.5px; }
.rd-prose table td, .rd-prose table th { border: 1px solid #e6ebf6; padding: 9px 12px; }

/* ---------- 8c. HALAMAN KONTAK ---------- */
.rd-contact-grid { display: grid; grid-template-columns: 0.95fr 1.15fr; gap: 34px; align-items: start; margin-top: 6px; }
/* kolom kiri: kartu-kartu info */
.rd-cinfo { display: flex; flex-direction: column; gap: 16px; }
.rd-cinfo-card {
	display: flex; gap: 16px; align-items: flex-start;
	background: #fff; border: 1px solid #eaeffb; border-radius: 14px; padding: 18px 20px;
	box-shadow: 0 14px 34px -24px rgba(20, 48, 124, .5); transition: transform .25s, box-shadow .25s;
}
.rd-cinfo-card:hover { transform: translateY(-3px); box-shadow: 0 20px 42px -24px rgba(20, 48, 124, .55); }
.rd-cinfo-ico {
	flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px;
	display: flex; align-items: center; justify-content: center; color: #fff; font-size: 19px;
	background: linear-gradient(135deg, var(--rd-primary), var(--rd-primary-dark));
}
.rd-cinfo-body h5 { margin: 0 0 4px; font-size: 15.5px; font-weight: 700; color: var(--rd-ink); }
.rd-cinfo-body p, .rd-cinfo-body a { margin: 0; font-size: 14px; color: var(--rd-muted); line-height: 1.6; text-decoration: none; word-break: break-word; }
.rd-cinfo-body a:hover { color: var(--rd-primary); }
.rd-cinfo-social { display: flex; gap: 10px; margin-top: 4px; }
.rd-cinfo-social a {
	width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
	background: var(--rd-primary-soft); color: var(--rd-primary); font-size: 15px; transition: all .2s;
}
.rd-cinfo-social a:hover { background: var(--rd-primary); color: #fff; transform: translateY(-2px); }
/* kolom kanan: form */
.rd-cform {
	background: #fff; border: 1px solid #eaeffb; border-radius: 18px; padding: 34px 34px 30px;
	box-shadow: 0 22px 55px -30px rgba(20, 48, 124, .5);
}
.rd-cform-head { margin-bottom: 22px; }
.rd-cform-head .rd-eyebrow { margin-bottom: 10px; }
.rd-cform-head h2 { font-size: 24px; font-weight: 800; color: var(--rd-ink); margin: 0; }
.rd-cform-head p { margin: 8px 0 0; color: var(--rd-muted); font-size: 14px; }
.rd-cform .rd-frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rd-cform .form-control {
	width: 100%; border: 1.5px solid #e5eaf6; border-radius: 11px; padding: 12px 15px;
	font-size: 14.5px; background: #fbfcff; color: var(--rd-ink); margin-bottom: 14px; transition: border-color .2s, box-shadow .2s;
}
.rd-cform .form-control:focus { outline: none; border-color: var(--rd-primary); box-shadow: 0 0 0 3px var(--rd-primary-soft); background: #fff; }
.rd-cform textarea.form-control { resize: vertical; min-height: 130px; }
.rd-cform-btn {
	display: inline-flex; align-items: center; gap: 9px; border: 0; cursor: pointer;
	background: linear-gradient(135deg, var(--rd-primary), var(--rd-primary-dark)); color: #fff;
	font-weight: 600; font-size: 15px; padding: 13px 28px; border-radius: 11px;
	box-shadow: 0 12px 26px -12px rgba(20, 48, 124, .7); transition: transform .2s, box-shadow .2s;
}
.rd-cform-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(20, 48, 124, .8); }
/* peta */
.rd-cmap { margin-top: 40px; border-radius: 18px; overflow: hidden; border: 1px solid #eaeffb; box-shadow: 0 22px 55px -34px rgba(20, 48, 124, .5); line-height: 0; }
.rd-cmap iframe { width: 100%; height: 380px; border: 0; display: block; filter: grayscale(.15); }

@media (max-width: 991px) {
	.rd-contact-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 575px) {
	.rd-cform { padding: 24px 20px; }
	.rd-cform .rd-frow { grid-template-columns: 1fr; gap: 0; }
	.rd-cmap iframe { height: 300px; }
}

@media (max-width: 767px) {
	.rd-phead { padding: 48px 0 58px; }
	.rd-phead-title { font-size: 27px; }
	.rd-page { padding: 36px 0 60px; }
	.rd-page-card { padding: 30px 22px; border-radius: 14px; }
}

/* Override breadcrumb vendor (halaman yg masih pakai gambar): overlay gradasi tema + lengkung */
.site-breadcrumb {
	position: relative; overflow: hidden;
	padding: 74px 0 84px !important; text-align: center;
	background-size: cover !important; background-position: center !important;
}
.site-breadcrumb::before {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(150deg, rgba(0,0,0,.28), rgba(0,0,0,.20)),
		linear-gradient(150deg, var(--rd-primary) 0%, var(--rd-primary-dark) 100%);
	opacity: .92;
}
.site-breadcrumb::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 46px; z-index: 2;
	background: #fff;
	border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.site-breadcrumb .container { position: relative; z-index: 3; }
.site-breadcrumb .breadcrumb-title {
	color: #fff !important; font-size: 38px !important; font-weight: 800 !important; margin: 0 0 12px !important;
}
.site-breadcrumb .breadcrumb-menu { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; padding: 0; margin: 0; }
.site-breadcrumb .breadcrumb-menu li { color: rgba(255,255,255,.9); font-size: 14px; }
.site-breadcrumb .breadcrumb-menu li::before { color: rgba(255,255,255,.7) !important; }
.site-breadcrumb .breadcrumb-menu li a { color: #fff; text-decoration: none; opacity: .9; }
.site-breadcrumb .breadcrumb-menu li a:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 767px) {
	.site-breadcrumb { padding: 52px 0 60px !important; }
	.site-breadcrumb .breadcrumb-title { font-size: 27px !important; }
}

/* ---------- 8d. ARTIKEL DETAIL (ekskul, jurusan, dll) ---------- */
.rd-article-wrap { padding: 54px 0 84px; background: linear-gradient(180deg, #f6f9ff 0%, #fff 45%); }
.rd-article-grid { display: grid; grid-template-columns: 1fr 340px; gap: 38px; align-items: start; }
.rd-article-main {
	background: #fff; border: 1px solid #eaeffb; border-radius: 18px; overflow: hidden;
	box-shadow: 0 22px 55px -32px rgba(20, 48, 124, .5);
}
.rd-article-img { width: 100%; max-height: 420px; object-fit: cover; display: block; background: var(--rd-primary-soft); }
.rd-article-inner { padding: 30px 34px 36px; }
.rd-article-title { font-size: 26px; font-weight: 800; color: var(--rd-ink); margin: 0 0 8px; }
.rd-article-tag {
	display: inline-flex; align-items: center; gap: 6px; margin-bottom: 16px;
	font-size: 12px; font-weight: 600; color: var(--rd-primary); background: var(--rd-primary-soft);
	padding: 5px 13px; border-radius: 20px; text-transform: uppercase; letter-spacing: .4px;
}
/* meta + share pada artikel */
.rd-article-meta {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin: 0 0 18px;
	padding-bottom: 18px; border-bottom: 1px solid #eef2fb;
}
.rd-article-meta .mi { display: inline-flex; align-items: center; gap: 7px; color: var(--rd-muted); font-size: 13.5px; }
.rd-article-meta .mi i { color: var(--rd-primary); }
.rd-article-share {
	margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
	background: #25d366; color: #fff; text-decoration: none; font-weight: 600; font-size: 13px;
	padding: 8px 15px; border-radius: 10px; transition: transform .2s, box-shadow .2s;
}
.rd-article-share:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(37, 211, 102, .8); }
/* komentar */
.rd-article-comments { margin-top: 30px; padding-top: 26px; border-top: 1px solid #eef2fb; }
.rd-article-comments h3 { font-size: 19px; font-weight: 800; color: var(--rd-ink); margin: 0 0 18px; display: flex; align-items: center; gap: 9px; }
.rd-article-comments h3 i { color: var(--rd-primary); }
/* daftar komentar */
.rd-cmt-count { color: var(--rd-muted); font-weight: 600; font-size: 14px; }
.rd-cmt-list { margin: 0 0 28px; display: flex; flex-direction: column; gap: 16px; }
.rd-cmt {
	display: flex; gap: 14px; padding: 16px 18px; border: 1px solid #eef2fb; border-radius: 14px;
	background: #fbfcff;
}
.rd-cmt-ava {
	flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	font-weight: 800; color: #fff; font-size: 17px; text-transform: uppercase;
	background: linear-gradient(135deg, var(--rd-primary), var(--rd-primary-dark));
}
.rd-cmt-body { flex: 1; min-width: 0; }
.rd-cmt-top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 5px; }
.rd-cmt-name { font-weight: 700; color: var(--rd-ink); font-size: 14.5px; }
.rd-cmt-time { font-size: 12px; color: var(--rd-muted); }
.rd-cmt-text { color: #4d5769; font-size: 14.5px; line-height: 1.7; word-wrap: break-word; }
.rd-cmt-empty { color: var(--rd-muted); font-size: 14px; padding: 14px 0 22px; }
/* form komentar */
.rd-cmt-form { background: #fff; border: 1px solid #eef2fb; border-radius: 16px; padding: 22px 22px 20px; }
.rd-cmt-form h4 { font-size: 16px; font-weight: 800; color: var(--rd-ink); margin: 0 0 4px; }
.rd-cmt-form .rd-cmt-note { color: var(--rd-muted); font-size: 12.5px; margin: 0 0 16px; }
.rd-cmt-form .rd-frow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rd-cmt-form input, .rd-cmt-form textarea {
	width: 100%; border: 1.5px solid #e5eaf6; border-radius: 10px; padding: 11px 14px; font-size: 14px;
	background: #fbfcff; color: var(--rd-ink); margin-bottom: 12px; transition: border-color .2s, box-shadow .2s;
}
.rd-cmt-form input:focus, .rd-cmt-form textarea:focus { outline: none; border-color: var(--rd-primary); box-shadow: 0 0 0 3px var(--rd-primary-soft); background: #fff; }
.rd-cmt-form textarea { resize: vertical; min-height: 110px; }
.rd-cmt-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.rd-cmt-cap { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.rd-cmt-cap label { font-size: 14px; color: var(--rd-ink); font-weight: 600; }
.rd-cmt-cap input { width: 90px; margin: 0; }
.rd-cmt-btn {
	display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer;
	background: linear-gradient(135deg, var(--rd-primary), var(--rd-primary-dark)); color: #fff;
	font-weight: 600; font-size: 14.5px; padding: 12px 26px; border-radius: 11px;
	box-shadow: 0 12px 26px -12px rgba(20, 48, 124, .7); transition: transform .2s;
}
.rd-cmt-btn:hover { transform: translateY(-2px); }
.rd-cmt-alert { border-radius: 11px; padding: 12px 16px; font-size: 14px; margin-bottom: 16px; }
.rd-cmt-alert.ok { background: #e4f8ef; color: #0f7a4f; border: 1px solid #b7ecd2; }
.rd-cmt-alert.err { background: #fdeaea; color: #b3261e; border: 1px solid #f6c9c6; }
@media (max-width: 575px) { .rd-cmt-form .rd-frow { grid-template-columns: 1fr; gap: 0; } }
/* Sidebar */
.rd-side { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 96px; }
.rd-side-card { background: #fff; border: 1px solid #eaeffb; border-radius: 16px; padding: 22px 22px 24px; box-shadow: 0 16px 40px -28px rgba(20, 48, 124, .5); }
.rd-side-title { font-size: 15.5px; font-weight: 800; color: var(--rd-ink); margin: 0 0 16px; padding-bottom: 12px; border-bottom: 2px solid var(--rd-primary-soft); position: relative; }
.rd-side-title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 44px; height: 2px; background: var(--rd-primary); }
.rd-side-search { position: relative; }
.rd-side-search input { width: 100%; border: 1.5px solid #e5eaf6; border-radius: 10px; padding: 11px 44px 11px 14px; font-size: 14px; color: var(--rd-ink); }
.rd-side-search input:focus { outline: none; border-color: var(--rd-primary); box-shadow: 0 0 0 3px var(--rd-primary-soft); }
.rd-side-search button { position: absolute; right: 5px; top: 5px; bottom: 5px; width: 36px; border: 0; border-radius: 8px; background: var(--rd-primary); color: #fff; cursor: pointer; }
.rd-side-list { display: flex; flex-direction: column; gap: 4px; }
.rd-side-list a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--rd-ink); font-size: 14px; font-weight: 500; text-decoration: none; transition: background .2s, color .2s; }
.rd-side-list a i { color: var(--rd-primary); font-size: 11px; transition: transform .2s; }
.rd-side-list a:hover { background: var(--rd-primary-soft); color: var(--rd-primary); }
.rd-side-list a:hover i { transform: translateX(3px); }
.rd-side-post { display: flex; gap: 12px; align-items: center; padding: 8px 0; }
.rd-side-post + .rd-side-post { border-top: 1px solid #eef2fb; }
.rd-side-post img { width: 62px; height: 62px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; }
.rd-side-post h6 { margin: 0 0 4px; font-size: 13.5px; line-height: 1.4; }
.rd-side-post h6 a { color: var(--rd-ink); text-decoration: none; }
.rd-side-post h6 a:hover { color: var(--rd-primary); }
.rd-side-post span { font-size: 12px; color: var(--rd-muted); }
.rd-side-social { display: flex; gap: 10px; }
.rd-side-social a { width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--rd-primary-soft); color: var(--rd-primary); font-size: 15px; transition: all .2s; }
.rd-side-social a:hover { background: var(--rd-primary); color: #fff; transform: translateY(-2px); }
@media (max-width: 991px) {
	.rd-article-grid { grid-template-columns: 1fr; gap: 26px; }
	.rd-side { position: static; }
}
@media (max-width: 575px) {
	.rd-article-inner { padding: 22px 18px 26px; }
	.rd-article-title { font-size: 21px; }
}

/* ---------- 8b. HALAMAN SAMBUTAN (detail) ---------- */
.rd-spage { padding: 76px 0 90px; background: linear-gradient(180deg, #fff 0%, #f6f9ff 100%); }
.rd-spage-grid {
	display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: start;
	margin-top: 10px;
}
/* Kartu foto (sticky) */
.rd-spage-aside { position: sticky; top: 96px; }
.rd-spage-photo {
	position: relative; border-radius: 20px; overflow: hidden;
	box-shadow: 0 26px 60px -28px rgba(20, 48, 124, .5);
	background: var(--rd-primary-soft);
}
.rd-spage-photo::before {
	content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
	background: linear-gradient(180deg, transparent 55%, rgba(10, 22, 55, .78) 100%);
}
.rd-spage-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top center; display: block; }
.rd-spage-plate {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 22px 22px 20px; color: #fff;
}
.rd-spage-plate .rd-spage-name { font-size: 20px; font-weight: 800; line-height: 1.2; }
.rd-spage-plate .rd-spage-role {
	display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
	font-size: 12.5px; font-weight: 600; letter-spacing: .3px;
	background: rgba(255, 255, 255, .16); backdrop-filter: blur(4px);
	padding: 5px 12px; border-radius: 30px;
}
.rd-spage-accent {
	position: absolute; z-index: 0; width: 78%; height: 78%; right: -22px; bottom: -22px;
	border-radius: 26px; background: linear-gradient(135deg, var(--rd-primary), var(--rd-primary-dark));
	opacity: .16;
}
/* Isi teks */
.rd-spage-body .rd-eyebrow { margin-bottom: 14px; }
.rd-spage-body .rd-sec-title { text-align: left; margin-bottom: 22px; }
.rd-spage-quote {
	position: relative; background: #fff; border: 1px solid #e9eefb;
	border-left: 5px solid var(--rd-primary); border-radius: 14px;
	padding: 22px 26px 22px 30px; margin-bottom: 26px;
	box-shadow: 0 14px 34px -22px rgba(20, 48, 124, .35);
}
.rd-spage-quote i { color: var(--rd-primary); font-size: 20px; opacity: .35; }
.rd-spage-quote p { margin: 8px 0 0; color: var(--rd-ink); font-size: 16px; font-weight: 600; line-height: 1.7; }
/* prose */
.rd-spage-text { color: #4d5769; font-size: 15.5px; line-height: 1.9; }
.rd-spage-text p { margin: 0 0 16px; }
.rd-spage-text h1, .rd-spage-text h2, .rd-spage-text h3 { color: var(--rd-ink); margin: 26px 0 12px; font-weight: 800; }
.rd-spage-text img { max-width: 100%; height: auto; border-radius: 12px; }
.rd-spage-text a { color: var(--rd-primary); text-decoration: underline; }
.rd-spage-text ul, .rd-spage-text ol { padding-left: 22px; margin: 0 0 16px; }
.rd-spage-text li { margin-bottom: 6px; }
/* Tanda tangan */
.rd-spage-sign { margin-top: 34px; padding-top: 22px; border-top: 1px dashed #d8e0f2; }
.rd-spage-sign .rd-spage-sign-role { font-size: 13.5px; color: var(--rd-muted); }
.rd-spage-sign .rd-spage-sign-name { font-size: 18px; font-weight: 800; color: var(--rd-primary); margin-top: 2px; }

@media (max-width: 991px) {
	.rd-spage-grid { grid-template-columns: 1fr; gap: 40px; }
	.rd-spage-aside { position: static; max-width: 360px; margin: 0 auto; }
	.rd-spage-body .rd-sec-title, .rd-spage-body .rd-eyebrow { text-align: left; }
}
@media (max-width: 575px) {
	.rd-spage { padding: 48px 0 64px; }
	.rd-spage-quote { padding: 18px 18px 18px 22px; }
	.rd-spage-quote p { font-size: 15px; }
}

/* ---------- 9. GURU ---------- */
.rd-guru { padding: 78px 0 84px; background: linear-gradient(180deg, #f7f9fe, #eef3fc); }
.rd-guru-card {
	background: #fff; border-radius: 14px; overflow: hidden;
	border: 1px solid #eaeffb; box-shadow: 0 14px 32px -20px rgba(20, 48, 124, .4);
	transition: transform .3s ease, box-shadow .3s ease;
}
.rd-guru-card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -22px rgba(20, 48, 124, .5); }
.rd-guru-photo { aspect-ratio: 3 / 4; overflow: hidden; background: #dfe6f5; }
.rd-guru-photo img { width: 100% !important; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s ease; }
.rd-guru-card:hover .rd-guru-photo img { transform: scale(1.06); }
.rd-guru-info { padding: 16px 14px 18px; text-align: center; }
.rd-guru-name {
	margin: 0 0 5px; font-size: 15.5px; font-weight: 700; color: var(--rd-ink);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rd-guru-role { font-size: 12px; color: var(--rd-primary); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }

/* ---- Halaman Guru (grid penuh) ---- */
.rd-guru-page { padding: 54px 0 84px; background: linear-gradient(180deg, #f6f9ff 0%, #fff 45%); }
.rd-guru-tools { display: flex; justify-content: center; margin-bottom: 30px; }
.rd-guru-search { position: relative; width: 100%; max-width: 440px; }
.rd-guru-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--rd-muted); font-size: 14px; }
.rd-guru-search input {
	width: 100%; border: 1.5px solid #e5eaf6; border-radius: 30px; padding: 12px 18px 12px 42px;
	font-size: 14.5px; background: #fff; color: var(--rd-ink); transition: border-color .2s, box-shadow .2s;
}
.rd-guru-search input:focus { outline: none; border-color: var(--rd-primary); box-shadow: 0 0 0 3px var(--rd-primary-soft); }
.rd-guru-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.rd-guru-grid .rd-guru-card { display: flex; flex-direction: column; }
.rd-guru-grid .rd-guru-photo { aspect-ratio: 1 / 1; }
.rd-guru-grid .rd-guru-info { padding: 16px 14px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.rd-guru-grid .rd-guru-name { font-size: 15px; white-space: normal; }
.rd-guru-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: auto; }
.rd-guru-badge {
	display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600;
	color: var(--rd-primary); background: var(--rd-primary-soft); padding: 4px 10px; border-radius: 20px;
}
.rd-guru-empty { text-align: center; color: var(--rd-muted); padding: 40px 0; grid-column: 1 / -1; }
@media (max-width: 991px) { .rd-guru-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (max-width: 767px) { .rd-guru-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; } .rd-guru-grid .rd-guru-name { font-size: 13.5px; } }
/* Nav & dots guru */
.rd-guru .owl-nav button {
	position: absolute; top: 38%; transform: translateY(-50%);
	width: 44px; height: 44px; border-radius: 50% !important;
	background: #fff !important; color: var(--rd-primary) !important;
	box-shadow: 0 10px 24px -8px rgba(20, 48, 124, .4); font-size: 16px !important;
	display: flex; align-items: center; justify-content: center; transition: all .2s;
}
.rd-guru .owl-nav button:hover { background: var(--rd-primary) !important; color: #fff !important; }
.rd-guru .owl-nav .owl-prev { left: -10px; }
.rd-guru .owl-nav .owl-next { right: -10px; }
.rd-guru .owl-dots { text-align: center; margin-top: 26px; }
.rd-guru .owl-dots .owl-dot span {
	width: 9px; height: 9px; margin: 0 4px; background: #c9d5f2;
	display: inline-block; border-radius: 50%; transition: all .25s;
}
.rd-guru .owl-dots .owl-dot.active span { background: var(--rd-primary); width: 26px; border-radius: 6px; }

/* ---------- 10. STATISTIK SISWA ---------- */
.rd-stat {
	position: relative; overflow: hidden; padding: 58px 0;
	background:
		radial-gradient(800px 320px at 85% -10%, rgba(58, 118, 247, .42), transparent 55%),
		linear-gradient(150deg, var(--rd-primary) 0%, var(--rd-primary-dark) 60%, var(--rd-primary-dark) 100%);
}
.rd-stat-decor {
	position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background-image: radial-gradient(rgba(255, 255, 255, .10) 2px, transparent 2.5px);
	background-size: 26px 26px; opacity: .45;
}
.rd-stat .container { position: relative; z-index: 1; }
.rd-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rd-stat-item {
	display: flex; flex-direction: column; align-items: center; text-align: center;
	padding: 26px 16px; border-radius: 14px;
	background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
	backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
	transition: transform .3s ease, background .3s ease;
}
.rd-stat-item:hover { transform: translateY(-5px); background: rgba(255, 255, 255, .12); }
.rd-stat-ico {
	width: 60px; height: 60px; border-radius: 16px;
	display: flex; align-items: center; justify-content: center;
	background: rgba(255, 255, 255, .15); color: #fff; font-size: 24px; margin-bottom: 16px;
}
.rd-stat-item--total .rd-stat-ico { background: #fff; color: var(--rd-primary); }
.rd-stat-num { font-size: clamp(30px, 4vw, 44px); font-weight: 800; color: #fff; line-height: 1; }
.rd-stat-label { margin-top: 9px; font-size: 13.5px; color: #c9d6f5; font-weight: 500; }

/* ---------- 11. GALERI FOTO ---------- */
.rd-gallery { padding: 78px 0 84px; background: #fff; }
.rd-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rd-gallery-item {
	position: relative; display: block; aspect-ratio: 1 / 1;
	border-radius: 12px; overflow: hidden; background: #e9eefb;
}
.rd-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.rd-gallery-item:hover img { transform: scale(1.08); }
.rd-gallery-ov {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	background: linear-gradient(to top, rgba(16, 42, 102, .78), rgba(16, 42, 102, .12));
	color: #fff; opacity: 0; transition: opacity .3s ease;
}
.rd-gallery-item:hover .rd-gallery-ov { opacity: 1; }
.rd-gallery-ov i {
	width: 52px; height: 52px; border-radius: 50%;
	background: rgba(255, 255, 255, .2); border: 1.5px solid rgba(255, 255, 255, .6);
	display: flex; align-items: center; justify-content: center; font-size: 18px;
	transform: scale(.8); transition: transform .3s ease;
}
.rd-gallery-item:hover .rd-gallery-ov i { transform: scale(1); }

/* ---------- 12. HASIL PENCARIAN ---------- */
.rd-sr { padding: 54px 0 80px; background: #fff; min-height: 60vh; }
.rd-sr-head { text-align: center; max-width: 720px; margin: 0 auto 42px; }
.rd-sr-heading { font-size: clamp(23px, 3.2vw, 34px); font-weight: 800; color: var(--rd-ink); margin: 12px 0 8px; line-height: 1.25; }
.rd-sr-heading span { color: var(--rd-primary); }
.rd-sr-count { color: var(--rd-muted); font-size: 14px; margin: 0 0 24px; }
.rd-sr-form {
	display: flex; align-items: center; gap: 8px; position: relative;
	max-width: 520px; margin: 0 auto;
	background: #f8faff; border: 1px solid #e3e8f5; border-radius: 12px; padding: 6px 6px 6px 42px;
}
.rd-sr-form .fa-search { position: absolute; left: 16px; color: var(--rd-muted); }
.rd-sr-form input { flex: 1; border: none; background: transparent; outline: none; height: 40px; font-size: 14px; min-width: 0; color: var(--rd-ink); }
.rd-sr-form button { flex: 0 0 auto; height: 40px; padding: 0 20px; border: none; border-radius: 9px; background: var(--rd-primary); color: #fff; font-weight: 600; font-size: 13.5px; cursor: pointer; transition: background .2s; }
.rd-sr-form button:hover { background: var(--rd-primary-dark); }

.rd-sr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rd-sr-card {
	display: flex; flex-direction: column; background: #fff;
	border: 1px solid #eaeffb; border-radius: 14px; overflow: hidden; text-decoration: none;
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.rd-sr-card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -22px rgba(20, 48, 124, .4); border-color: #dbe6ff; }
.rd-sr-thumb {
	position: relative; aspect-ratio: 16 / 10; overflow: hidden;
	background: linear-gradient(135deg, var(--rd-primary-soft), #dbe6ff);
	display: flex; align-items: center; justify-content: center;
}
.rd-sr-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rd-sr-thumb-ico { color: var(--rd-primary); font-size: 44px; opacity: .5; }
.rd-sr-type {
	position: absolute; left: 12px; top: 12px;
	display: inline-flex; align-items: center; gap: 6px;
	background: rgba(9, 18, 43, .72); color: #fff; font-size: 11px; font-weight: 600;
	padding: 5px 11px; border-radius: 30px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.rd-sr-type i { font-size: 10px; }
.rd-sr-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.rd-sr-title {
	font-size: 17px; font-weight: 700; color: var(--rd-ink); margin: 0 0 8px; line-height: 1.4;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rd-sr-snippet {
	font-size: 13.5px; color: #5b6577; line-height: 1.65; margin: 0 0 16px;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rd-sr-more { margin-top: auto; color: var(--rd-primary); font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 7px; }
.rd-sr-more i { transition: transform .2s; }
.rd-sr-card:hover .rd-sr-more i { transform: translateX(4px); }

.rd-sr-empty { text-align: center; max-width: 480px; margin: 20px auto 0; padding: 40px 20px; }
.rd-sr-empty-ico { width: 90px; height: 90px; border-radius: 50%; background: var(--rd-primary-soft); color: var(--rd-primary); font-size: 38px; display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }
.rd-sr-empty h3 { font-size: 22px; font-weight: 800; color: var(--rd-ink); margin: 0 0 10px; }
.rd-sr-empty p { color: var(--rd-muted); font-size: 14.5px; line-height: 1.7; margin: 0 0 24px; }

/* ---------- 13. DOKUMEN SEKOLAH ---------- */
.rd-doc { padding: 54px 0 84px; background: #fff; min-height: 60vh; }
.rd-doc-sub { color: var(--rd-muted); font-size: 15px; line-height: 1.7; margin: 12px 0 0; }
.rd-doc-group { margin-top: 44px; }
.rd-doc-group:first-of-type { margin-top: 8px; }
.rd-doc-group-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 2px solid #eef2fb; }
.rd-doc-group-ico {
	flex: 0 0 auto; width: 56px; height: 56px; border-radius: 16px;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--rd-primary), var(--rd-primary-dark));
	color: #fff; font-size: 22px; box-shadow: 0 10px 24px -10px rgba(26, 79, 214, .7);
}
.rd-doc-group-title { font-size: clamp(18px, 2.2vw, 24px); font-weight: 800; color: var(--rd-ink); margin: 0; }
.rd-doc-group-desc { margin: 3px 0 0; color: var(--rd-muted); font-size: 13.5px; line-height: 1.6; }

.rd-doc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.rd-doc-card {
	display: flex; flex-direction: column; background: #fff; text-decoration: none;
	border: 1px solid #eaeffb; border-radius: 14px; overflow: hidden;
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.rd-doc-card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -22px rgba(20, 48, 124, .4); border-color: #dbe6ff; }
.rd-doc-thumb { position: relative; aspect-ratio: 16 / 11; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.rd-doc-card.is-pdf .rd-doc-thumb { background: linear-gradient(135deg, #fff1f1, #ffe3e3); }
.rd-doc-card.is-img .rd-doc-thumb { background: #eef2fb; }
.rd-doc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.rd-doc-card:hover .rd-doc-thumb img { transform: scale(1.07); }
.rd-doc-fileicon { color: #e23b3b; font-size: 52px; }
.rd-doc-type {
	position: absolute; left: 12px; top: 12px;
	background: rgba(9, 18, 43, .72); color: #fff; font-size: 10.5px; font-weight: 700;
	letter-spacing: .5px; text-transform: uppercase; padding: 4px 10px; border-radius: 30px;
	backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.rd-doc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.rd-doc-title {
	font-size: 15.5px; font-weight: 700; color: var(--rd-ink); margin: 0 0 7px; line-height: 1.4;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rd-doc-desc {
	font-size: 13px; color: #5b6577; line-height: 1.6; margin: 0 0 14px;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rd-doc-action { margin-top: auto; color: var(--rd-primary); font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 7px; }
.rd-doc-card:hover .rd-doc-action { gap: 10px; }

.rd-doc-empty { text-align: center; max-width: 460px; margin: 30px auto 0; padding: 40px 20px; }
.rd-doc-empty-ico { width: 90px; height: 90px; border-radius: 50%; background: var(--rd-primary-soft); color: var(--rd-primary); font-size: 38px; display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }
.rd-doc-empty h3 { font-size: 22px; font-weight: 800; color: var(--rd-ink); margin: 0 0 10px; }
.rd-doc-empty p { color: var(--rd-muted); font-size: 14.5px; margin: 0; }

/* ---------- 14. DOKUMEN — HALAMAN DETAIL ---------- */
.rd-docd { padding: 40px 0 80px; background: #fff; }
.rd-docd-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--rd-muted); margin-bottom: 26px; }
.rd-docd-crumb a { color: var(--rd-primary); text-decoration: none; }
.rd-docd-crumb a:hover { text-decoration: underline; }
.rd-docd-crumb i { font-size: 10px; color: #c0cae0; }
.rd-docd-crumb span { color: var(--rd-ink); font-weight: 600; }
.rd-docd-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; align-items: start; }
.rd-docd-pdf { border: 1px solid #eaeffb; border-radius: 14px; overflow: hidden; box-shadow: var(--rd-shadow); background: #f4f6fc; }
.rd-docd-pdf iframe { width: 100%; height: 640px; border: 0; display: block; }
.rd-docd-img { display: block; position: relative; border-radius: 14px; overflow: hidden; box-shadow: var(--rd-shadow); }
.rd-docd-img img { width: 100%; display: block; }
.rd-docd-img-hint { position: absolute; right: 14px; bottom: 14px; background: rgba(9, 18, 43, .75); color: #fff; font-size: 12px; padding: 7px 13px; border-radius: 30px; display: inline-flex; align-items: center; gap: 7px; }
.rd-docd-info { position: sticky; top: 96px; background: #fff; border: 1px solid #eaeffb; border-radius: 14px; padding: 26px; box-shadow: var(--rd-shadow); }
.rd-docd-type { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 30px; margin-bottom: 14px; }
.rd-docd-type.is-pdf { background: #ffe3e3; color: #d33; }
.rd-docd-type.is-img { background: var(--rd-primary-soft); color: var(--rd-primary); }
.rd-docd-title { font-size: 22px; font-weight: 800; color: var(--rd-ink); line-height: 1.35; margin: 0 0 12px; }
.rd-docd-cat { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--rd-muted); margin-bottom: 4px; }
.rd-docd-cat i { color: var(--rd-primary); }
.rd-docd-desc { font-size: 14.5px; color: #5b6577; line-height: 1.75; margin: 16px 0 22px; padding-top: 16px; border-top: 1px solid #eef2fb; }
.rd-docd-actions { display: flex; gap: 10px; }
.rd-docd-actions .rd-btn-solid,
.rd-docd-actions .rd-btn-outline {
	flex: 1 1 0; min-width: 0; justify-content: center;
	padding: 11px 12px; font-size: 13px; white-space: nowrap;
}
.rd-docd-meta { margin: 18px 0 0; font-size: 12.5px; color: var(--rd-muted); }
.rd-docd-related { margin-top: 52px; }
.rd-docd-related-title { font-size: 20px; font-weight: 800; color: var(--rd-ink); margin: 0 0 22px; padding-bottom: 14px; border-bottom: 2px solid #eef2fb; }

/* ---------- 15. PRESTASI / FASILITAS placeholder + PPDB ---------- */
.rd-blog-thumb.rd-ph { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--rd-primary-soft), #dbe6ff); }
.rd-ph-ico { color: var(--rd-primary); font-size: 40px; opacity: .55; }

.rd-ppdb-hero {
	position: relative; overflow: hidden; padding: 58px 0 66px; text-align: center; color: #fff;
	background:
		radial-gradient(800px 340px at 85% -10%, rgba(58, 118, 247, .42), transparent 55%),
		linear-gradient(150deg, var(--rd-primary) 0%, var(--rd-primary-dark) 60%, var(--rd-primary-dark) 100%);
}
.rd-ppdb-hero .container { position: relative; z-index: 1; }
.rd-ppdb-title { font-size: clamp(26px, 4vw, 40px); font-weight: 800; color: #fff; margin: 14px 0 10px; line-height: 1.2; }
.rd-ppdb-sub { color: #c9d6f5; font-size: 16px; margin: 0 0 26px; }
.rd-ppdb-cta {
	display: inline-flex; align-items: center; gap: 9px; background: #fff; color: var(--rd-primary);
	font-weight: 700; font-size: 15px; padding: 13px 26px; border-radius: 12px; text-decoration: none;
	box-shadow: 0 14px 32px -10px rgba(0, 0, 0, .4); transition: transform .25s, color .25s;
}
.rd-ppdb-cta:hover { transform: translateY(-2px); color: var(--rd-primary-dark); }
.rd-ppdb-body { padding: 50px 0 80px; background: #fff; }
.rd-ppdb-banner { width: 100%; max-height: 420px; object-fit: cover; border-radius: 16px; margin-bottom: 32px; box-shadow: var(--rd-shadow); }
.rd-ppdb-content { max-width: 820px; margin: 0 auto; color: #3f4a5f; font-size: 15.5px; line-height: 1.85; }
.rd-ppdb-content h1, .rd-ppdb-content h2, .rd-ppdb-content h3, .rd-ppdb-content h4 { color: var(--rd-ink); font-weight: 700; margin: 1.2em 0 .5em; }
.rd-ppdb-content ul, .rd-ppdb-content ol { padding-left: 1.3em; margin-bottom: 1em; }
.rd-ppdb-content img { max-width: 100%; border-radius: 12px; }
.rd-ppdb-content a { color: var(--rd-primary); }
.rd-ppdb-foot { max-width: 820px; margin: 40px auto 0; text-align: center; padding: 30px; background: var(--rd-primary-soft); border-radius: 16px; }
.rd-ppdb-foot p { margin: 0 0 16px; color: var(--rd-ink); font-weight: 500; }
.rd-ppdb-foot--soon p { margin: 0; color: var(--rd-muted); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1199px) {
	.rd-quick-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 991px) {
	/* Batalkan navbar fixed dari vendor style.css agar top-bar tidak tertutup */
	.rd-nav .navbar { position: static !important; }
	/* Baris 1: logo (boleh menyusut) + tombol aksi; menu turun full-width di baris 2 */
	.rd-nav .navbar > .container { flex-wrap: wrap; row-gap: 0; }
	.rd-brand { flex: 1 1 auto; min-width: 0; margin-right: 12px; }
	.mobile-menu-right { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
	.rd-nav .navbar-collapse {
		flex-basis: 100%; width: 100%; order: 3;
		background: #fff; margin-top: 14px; padding: 8px;
		border-radius: 16px; box-shadow: var(--rd-shadow);
	}
	.rd-nav .navbar-nav .nav-link { padding: 11px 14px !important; }
	.rd-nav-right { margin-top: 6px; padding: 4px 8px 8px; justify-content: flex-start; }
	.rd-hero-card { aspect-ratio: 16 / 10; }
	.rd-hero .owl-nav { display: none; }
	/* Tampilkan kembali top-bar di mobile (vendor menyembunyikan .header-top) */
	.rd-topbar { display: block; }
	/* Footer 2 kolom */
	.rd-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 28px; padding: 48px 0 36px; }
	.rd-footer-about { grid-column: 1 / -1; }
	/* Blog 2 kolom di tablet */
	.rd-blog-grid { grid-template-columns: 1fr 1fr; }
	/* Statistik & galeri di tablet */
	.rd-stat-grid { grid-template-columns: repeat(2, 1fr); }
	.rd-gallery-grid { grid-template-columns: repeat(3, 1fr); }
	/* Hasil pencarian 2 kolom */
	.rd-sr-grid { grid-template-columns: repeat(2, 1fr); }
	/* Dokumen 3 kolom di tablet */
	.rd-doc-grid { grid-template-columns: repeat(3, 1fr); }
	/* Detail dokumen: 1 kolom */
	.rd-docd-grid { grid-template-columns: 1fr; gap: 24px; }
	.rd-docd-info { position: static; }
	.rd-docd-pdf iframe { height: 520px; }
	/* Sambutan 1 kolom */
	.rd-sambutan-grid { grid-template-columns: 1fr; gap: 40px; }
	.rd-sambutan-body .rd-sec-title { text-align: center; }
	.rd-sambutan-body .rd-eyebrow { display: block; width: fit-content; margin-left: auto; margin-right: auto; }
	.rd-sambutan-body { text-align: center; }
	.rd-sambutan-text { text-align: left; }
}
@media (max-width: 767px) {
	.rd-topbar-wrap {
		justify-content: center; text-align: center;
		flex-direction: row; gap: 12px; padding: 9px 0;
	}
	.rd-social { justify-content: center; }
	.rd-social span { display: none; }
	/* Email jadi ikon bulat saja di mobile (klik -> mailto) */
	.rd-topbar-mailtext { display: none; }
	.rd-topbar-mail {
		width: 32px; height: 32px; justify-content: center;
		border-radius: 50%; background: rgba(255, 255, 255, .12);
	}
	.rd-topbar-mail i { color: #fff; font-size: 14px; }
	.rd-quick-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
	.rd-quick-icon { width: 50px; height: 50px; font-size: 20px; }
	.rd-hero-overlay { padding: 18px; }
	/* Footer: About & Terhubung full, Tautan + Ekstrakurikuler sejajar 2 kolom */
	.rd-footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
	.rd-footer-about,
	.rd-footer-news { grid-column: 1 / -1; }
	.rd-footer-bottom { justify-content: center; text-align: center; }
	/* Mitra: logo lebih kecil */
	.rd-partner { padding: 34px 0 38px; }
	.rd-partner-head { margin-bottom: 22px; }
	.rd-partner-item { width: 148px; height: 78px; margin-right: 18px; padding: 12px 18px; }
	/* Testimoni & Blog: padding + grid */
	.rd-testi { padding: 54px 0 60px; }
	.rd-blog { padding: 54px 0 58px; }
	.rd-blog-grid { grid-template-columns: 1fr; gap: 22px; }
	.rd-sec-head { margin-bottom: 32px; }
	/* Sambutan & Guru mobile */
	.rd-sambutan { padding: 52px 0; }
	.rd-guru { padding: 54px 0 58px; }
	.rd-guru .owl-nav { display: none; }
	.rd-guru-info { padding: 12px 10px 14px; }
	.rd-guru-name { font-size: 13px; }
	.rd-guru-role { font-size: 10.5px; }
	.rd-sambutan-badge { font-size: 12px; padding: 7px 13px; }
	/* Statistik 2 kolom + galeri 2 kolom di mobile */
	.rd-stat { padding: 44px 0; }
	.rd-stat-grid { gap: 14px; }
	.rd-stat-item { padding: 20px 12px; }
	.rd-stat-ico { width: 50px; height: 50px; font-size: 20px; margin-bottom: 12px; }
	.rd-gallery { padding: 54px 0 58px; }
	.rd-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	/* Hasil pencarian 1 kolom */
	.rd-sr-grid { grid-template-columns: 1fr; }
	/* Dokumen 2 kolom di mobile */
	.rd-doc-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.rd-doc { padding: 44px 0 60px; }
	.rd-doc-group-ico { width: 46px; height: 46px; font-size: 18px; border-radius: 13px; }
	.rd-docd-pdf iframe { height: 440px; }
	.rd-docd-title { font-size: 19px; }
	/* Tombol detail dokumen: sejajar & ringkas di mobile */
	.rd-hide-sm { display: none; }
	.rd-docd-actions { gap: 8px; }
	.rd-docd-actions .rd-btn-solid,
	.rd-docd-actions .rd-btn-outline { padding: 10px 8px; font-size: 12.5px; gap: 6px; }
}
@media (max-width: 479px) {
	.rd-quick-grid { grid-template-columns: repeat(2, 1fr); }
	.rd-brand .rd-brand-name { font-size: 15px; }
	.rd-brand img { width: 44px; height: 44px; }
}
