:root{
	--red:#c91f1f;
	--dark-red:#b21616;
	--banner-red:#b71c1c;
	--banner-blue:#0f4fa8;

    --navy:      #0a1628;
    --navy-mid:  #132040;
    --primary:   #1a4fad;
    --primary-lt:#2563eb;
    --accent:    #f59e0b;
    --accent-lt: #fbbf24;
    --danger:    #dc2626;
    --success:   #16a34a;
    --bg:        #f1f5f9;
    --surface:   #ffffff;
    --surface-2: #f8fafc;
    --text:      #0f172a;
    --muted:     #64748b;
    --border:    #e2e8f0;
    --radius-sm: 8px;
    --radius:    0.50rem;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow:    0 4px 24px rgba(0,0,0,.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

p{
    font-size: 12px;
}
body { 
	font-family: 'Plus Jakarta Sans', sans-serif; 
	background:#f6f6f6; 
}
a {
    text-decoration: none;
}
.navbar-custom {
  background-color: #fff; /* atau warna sesuai tema kamu */
  transition: all 0.3s ease-in-out;
  z-index: 1030; /* Pastikan selalu di atas */
}

/* Efek hover pada link */
.navbar-custom .nav-link {
  font-weight: 500;
  color: #333;
  position: relative;
}

.navbar-custom .nav-link:hover {
  color: #007bff;
}

.navbar-custom .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: 0;
  background-color: #007bff;
  transition: 0.3s;
}

.navbar-custom .nav-link:hover::after {
  width: 100%;
}

.navbar {
	background-color: #007bff; 
}

.navbar-nav .nav-link {
	color: white !important;
	font-weight: 500;
	position: relative;
	padding-bottom: 5px;
}

/* garis bawah animasi saat hover */
.navbar-nav .nav-link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 2px;
	background-color: #11d4f1; 
	transition: width 0.3s ease-in-out;
}

.navbar-custom .nav-item.active .nav-link,
.navbar-custom .nav-link.active {
  color: #f3da00 !important; /* Ubah warna jadi biru */
  font-weight: 600; /* Tebalkan tulisan */
}

.navbar-nav .nav-link:hover {
	color: #11d4f1 !important;
}

.dropdown-toggle::after {
	display: none; 
}

.nav-item i {
	margin-left: 5px;
	font-size: 14px;
}

.nav-item a {
	margin-left: 5px;
	font-size: 14px;
}

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, .7);
    z-index: 9000;
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.berita-modal {
  z-index: 2000 !important;
}

.modal-backdrop {
  z-index: 1999 !important;
  background: rgba(0, 0, 0, 0.7);
}

/* ==== ANIMASI & STYLE UMUM UNTUK SEMUA MODAL ==== */
.modal-content {
    border-radius: calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px);
    border: none;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    animation: zoomIn 0.3s ease-in-out;
    position: relative;
}

@keyframes zoomIn {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Judul Modal */
.title_model_hd_page {
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
    color: #fff;
    padding: 12px 15px;
    /* border-radius: calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px); */
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
    margin: -1px -1px 15px -1px;
    background: linear-gradient(135deg, #0d6efd, #17a2b8);
    box-shadow: inset 0 -1px 3px rgba(255, 255, 255, 0.3);
}

.title_model_hd_page i {
    margin-right: 8px;
}

/* Body Modal */
.modal-body {
    padding: 20px 25px;
    max-height: 70vh;
    overflow-y: auto;
    color: #333;
}

.modal-body h5 {
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 8px;
    color: #333;
    border-left: 4px solid #0d6efd;
    padding-left: 8px;
    font-size: 1.1rem;
}

/* List Style */
.modal-body ol {
    /* margin-left: 25px; */
    margin-bottom: 15px;
}

.modal-body ol li {
    padding: 4px 0;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.4;
    position: relative;
    list-style: none;
    padding-left: 25px;
}

.modal-body ol li::before {
    content: "\f00c"; /* Font Awesome check icon */
    font-weight: 900;
    color: #0d6efd;
    position: absolute;
    left: 0;
    top: 2px;
}

/* Footer */
.modal-footer {
    border-top: none;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
}

.modal-footer .btn {
    border-radius: calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px);
    font-weight: bold;
    padding: 8px 20px;
    transition: all 0.3s ease-in-out;
}

/* Button Styles */
.modal-footer .btn-primary {
    background: linear-gradient(135deg, #0d6efd, #007bff);
    border: none;
}
.modal-footer .btn-primary:hover {
    background: linear-gradient(135deg, #007bff, #0056b3);
    transform: scale(1.05);
}

.modal-footer .btn-danger {
    background-color: #dc3545;
    border: none;
}
.modal-footer .btn-danger:hover {
    background-color: #c82333;
    transform: scale(1.05);
}

.modal-footer .btn-success {
    background: linear-gradient(135deg, #198754, #28a745);
    border: none;
}
.modal-footer .btn-success:hover {
    background: linear-gradient(135deg, #157347, #1e7e34);
    transform: scale(1.05);
}

/* Input Field Styling */
.nisn-input {
    width: 100%;
    padding: 10px 15px;
    border-radius: calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px);
    border: 1px solid #ced4da;
    outline: none;
    font-size: 1rem;
    transition: all 0.3s ease-in-out;
}

.nisn-input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 6px rgba(13, 110, 253, 0.3);
}

.tag_title {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

/* Alert Style */
.modal-body .alert {
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    background: #e8f6f9;
}

/* Scrollbar Custom */
.modal-body::-webkit-scrollbar {
    width: 6px;
}
.modal-body::-webkit-scrollbar-thumb {
    background: #0d6efd;
    border-radius: calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px);
}
.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Ikon Animasi (Opsional untuk Modal Input) */
.warning-icon {
    position: absolute;
    top: 8px;
  	right: 1%;
    transform: translateX(-50%);
    background: #dc3545;
    color: #fff;
    font-size: 28px;
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-4px); }
}
/* end modal */

/* Tombol utama */
.card-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 25px 15px;
    border-radius: calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px);
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Ikon */
.card-button .icon {
    font-size: 2rem;
    transition: transform 0.3s ease-in-out;
}

/* Efek hover: membesar sedikit + bayangan + ikon bergerak */
.card-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.card-button:hover .icon {
    transform: translateY(-3px) scale(1.1);
}

/* Efek klik */
.card-button:active {
    transform: scale(0.97);
}

/* Efek "glow" */
.bg-primary.card-button:hover {
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.7);
}

.bg-danger.card-button:hover {
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.7);
}

.bg-warning.card-button:hover {
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.7);
}

/* Animasi masuk */
.fade-in {
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.6s forwards ease-in-out;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
  max-width: 1320px !important;
}

.bg-content {
	/* background-color: #fff; */
	/* padding-top: 15px; */
	/* padding-bottom: 15px; */
	margin-bottom: 30px;
	/* box-shadow: 0 7.5px 15px 0 rgba(0,0,0,0.2); */
    /* border-radius: 0.50rem 0.50rem .50rem .50rem !important; */
}
.btn-head {
	background-color: #ffffff00;
	color: #fff;
	border: 1px solid #fff;
}
.text-white {
  color: #fff;
}
.fa-shopping-cart{
	font-size: 20px;
}
.texh-cart{
	position: relative;
	font-size: 12px;
	top: -37px;
	left: 11px;
	color: #c91f1f;
	background-color: #fff;
	padding: 0 2px;
  	border-radius: calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px);
	border: 2px solid #c91f1f;
}

/* Banner area */
.promo-title {
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    text-shadow: 
        3px 3px 8px rgba(0, 0, 0, 0.8),
        0px 0px 12px rgba(0, 123, 255, 0.7);
}

.promo-subtitle {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-shadow: 
        2px 2px 6px rgba(0, 0, 0, 0.7),
        0px 0px 8px rgba(255, 193, 7, 0.8);
}

.promo-desc {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-shadow: 
        1px 1px 5px rgba(0, 0, 0, 0.6),
        0px 0px 6px rgba(40, 167, 69, 0.7);
}

/* ========================== */
/* ANIMASI GLOW BERDENYUT */
/* ========================== */
@keyframes glowPulseBlue {
    0% { text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8), 0px 0px 6px rgba(0, 123, 255, 0.4); }
    50% { text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8), 0px 0px 20px rgba(0, 123, 255, 1); }
    100% { text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8), 0px 0px 6px rgba(0, 123, 255, 0.4); }
}

@keyframes glowPulseYellow {
    0% { text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7), 0px 0px 4px rgba(255, 193, 7, 0.5); }
    50% { text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7), 0px 0px 15px rgba(255, 193, 7, 1); }
    100% { text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7), 0px 0px 4px rgba(255, 193, 7, 0.5); }
}

@keyframes glowPulseGreen {
    0% { text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6), 0px 0px 4px rgba(40, 167, 69, 0.5); }
    50% { text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6), 0px 0px 14px rgba(40, 167, 69, 1); }
    100% { text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6), 0px 0px 4px rgba(40, 167, 69, 0.5); }
}

/* Terapkan animasi */
.glow-pulse {
    animation: glowPulseBlue 2s infinite ease-in-out;
}
.glow-pulse-yellow {
    animation: glowPulseYellow 2s infinite ease-in-out;
}
.glow-pulse-green {
    animation: glowPulseGreen 2s infinite ease-in-out;
}


.no_pad{
	padding-left: 0;
	padding-right: 0;
}
.full_no_pad{
	padding: 0;
}

/* Animasi kedip cursor */
@keyframes blink {
	0% { border-color: transparent; }
	50% { border-color: black; }
	100% { border-color: transparent; }
}
.typing {
	border-right: 2px solid black;
	animation: blink 0.7s infinite;
	padding-left: 10px;
}

/* circular badge */
.badge-disc {
	position: absolute;
	left: 22px;
	top: 28px;
	width: 90px;
	height: 90px;
	background: linear-gradient(135deg,#003268,#007bff);
	border-radius: 50%;
	color: #fff;
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
	text-align:center;
	box-shadow: 0 6px 12px rgba(0,0,0,0.18);
	font-weight:700;
}
.badge-disc img {
	width: 55px;
  	margin-top: 10px;}
.badge-disc small { display:block; font-size:12px; opacity:.9; }
.badge-disc .big { font-size:28px; line-height:1; }

/* slider arrows */
.slide-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width:42px;
	height:42px;
	border-radius:50%;
	background:rgba(0,0,0,0.35);
	color:#fff;
	display:flex;
	align-items:center;
	justify-content:center;
	cursor:pointer;
}
.slide-arrow.left { left:8px; }
.slide-arrow.right { right:8px; }

/* Right promo panel */
.promo-panel {
	width: 32%;
	min-height: 420px;
	padding: 18px;
	display:flex;
	align-items:center;
	justify-content:center;
	/* background: linear-gradient(135deg, #578642 0%, #375827 100%); */
	background-image: url('/image/bg_biru.jpg');
	color:#fff;
	text-align:center;
	position:relative;
  border-radius: 0 .50rem .50rem 0 !important;
}
.promo-panel h3 {
	font-size:28px;
	margin-bottom:6px;
	font-weight:800;
	letter-spacing: .4px;
}
.promo-panel p { margin:0; font-size:18px; opacity:.95; }

/* Animasi fade-in */
	.fade-in {
		opacity: 0;
		transform: translateY(20px);
		animation: fadeIn 0.8s ease-out forwards;
	}
	@keyframes fadeIn {
		to {
			opacity: 1;
			transform: translateY(0);
		}
	}

/* STATISTIK CARD */
    .stats-card {
      	display: flex;
		align-items: center;
		background: #fff;
		border-radius: .50rem !important;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
		padding: 15px;
		/* margin-bottom: 15px; */
		transition: transform 0.3s ease;
    }
    .stats-card:hover {
      	transform: scale(1.05);
    }
    .stats-card i {
      font-size: 2rem;
      /* margin-bottom: 15px; */
    }

/* bottom contact strip inside banner */
.banner-contacts {
	background: rgba(0,0,0,0.06);
	padding: 10px 14px;
	display:flex;
	align-items:center;
	justify-content:space-between;
	flex-wrap:wrap;
	font-size:14px;
}
.contact-left { display:flex; gap:18px; align-items:center; }
.contact-item { display:flex; align-items:center; gap:8px; color:#fff; }
.contact-item i { font-size:18px; }

.input-group-append {
	background-color: #fff;
	border-top-right-radius: 5px;
  	border-bottom-right-radius: 5px;
	height: 35px;
  	margin-top: 2px;
}

.container_body.footer{
    border-top: 1px solid #E6E7E8;
    background-color: #E6E7E8;
    padding: 0px;
}

.footer .bg_footer_cop{
    background-color: #0a1628;
    padding: 10px;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
}

/* berita */
.news-container {
	box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
	background: white;
	overflow: hidden;
	border-radius: 0.50rem;
    /* border: 1px solid rgba(0, 0, 0, 0.19); */
}
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0ba000;
    font-size: 14px;
    color: white;
    padding: 10px 15px;
    font-weight: 600;
    /* margin-bottom: 15px; */
    border-radius: .50rem .50rem 0 0 !important;
}

.news-header i {
    margin-right: 5px;
}

.news-header .news-link {
    color: white;
    text-decoration: none;
    /* font-weight: 600; */
}

.news-header .news-link:hover {
    text-decoration: underline;
}
.news-card {
	display: flex;
	margin-bottom: 15px;
	border: 1px solid #eee;
	border-radius: calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px);
	overflow: hidden;
	background: white;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-card:hover {
	transform: scale(1.02);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.news-card img {
	width: 150px;
	object-fit: cover;
}
.news-card .news-content {
	padding: 10px;
}
.news-main{
	padding: 10px 10px 10px 25px;
	background-color: #fff;
	box-shadow: 0 7.5px 15px 0 rgba(0,0,0,0.2);
	/* border: 1px solid rgba(0,0,0,0.2); */
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
}
.news-main a {
	text-decoration: none;
	color: #212529;
}
.news-main img {
	width: 100%;
	height: 167px;
	border-radius: calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px);
	object-fit: cover;
}
.news-title {
	font-weight: bold;
	font-size: 14px;
	margin-top: 10px;
	margin-bottom: 10px;
}
.news-meta {
	font-size: 12px;
	color: #666;
	margin-bottom: 8px;
}
.news-content-left{
	/* background-color: #f3f3f3; */
	/* box-shadow: 0 7.5px 15px 0 rgba(0,0,0,0.2); */
	/* border: 1px solid rgba(0,0,0,0.2); */
	padding: 0 10px 0 0;
	border-radius: 0.50rem;
}
.news-content-right{
	/* background-color: #f3f3f3; */
	/* box-shadow: 0 7.5px 15px 0 rgba(0,0,0,0.2); */
	/* border: 1px solid rgba(0,0,0,0.2); */
	padding : 0 0 0 10px;
	border-radius: 0.50rem;
}
.fade-in {
  opacity: 0;
  transform: translateY(15px);
  animation: fadeInUp 0.6s ease forwards;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Efek hover item */
.hover-item {
  transition: all 0.3s ease;
  cursor: pointer;
}
.hover-item:hover {
  background-color: #f6fff6;
  transform: scale(1.02);
  box-shadow: 0 2px 8px rgba(0, 128, 0, 0.15);
  border-left: 4px solid #28a745;
}

/* Card header agar lebih menonjol */
.card {
    border-radius: 0.50rem !important;
}
.card-header {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: .50rem .50rem 0 0 !important;
}

.card-header a {
    font-size: 14px;
    font-weight: 600;
}

/* Gambar agar rapi */
.list-group-item img {
  object-fit: cover;
  width: 100px;
  height: 66px;
  border-radius: 6px;
}

.galeri-container {
  box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
  background: white;
  overflow: hidden;
  border-radius: 0.50rem;
}

.galeri-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  background: #0ba000;
  color: #000;
  padding: 10px 15px;
  font-weight: 600;
  border-radius: .50rem .50rem 0 0 !important;
}

.galeri-header a {
  color: #000;
  text-decoration: none;
  /* font-weight: bold; */
}

.galeri-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 170px;
  background: #fff;
  padding-top: 10px;
}

.galeri-track {
  display: flex;
  gap: 15px;
  animation: scroll-left 25s linear infinite;
}

.galeri-slider:hover .galeri-track {
  animation-play-state: paused; /* ✅ berhenti saat hover */
}

.galeri-track img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.galeri-track img:hover {
  transform: scale(1.05); /* ✅ efek zoom kecil saat gambar dihover */
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}
.list-group-item {
  position: relative;
  display: block;
  padding: 10px;
  background-color: #fff;
  border: 1px solid rgba(0,0,0,.125);
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: rgba(0, 0, 0, 0.125);
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
}
.news-sidebar{
	padding: 0;
	background-color: #f3f3f3;
	/* box-shadow: 0 7.5px 15px 0 rgba(0,0,0,0.2); */
	border-left: 1px solid rgba(0,0,0,0.2);
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}
.news-sidebar img {
	width: 100px;
	height: 70px;
	object-fit: cover;
	border-radius: calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px);
	margin-right: 10px;
}
.news-item {
	display: flex;
	/* margin-bottom: 15px; */
}
.news-item h6 {
	font-size: 14px;
	font-weight: 600;
	margin: 0;
}
.news-item .news-meta {
	font-size: 0.75rem;
	margin-top: 3px;
}
.news-section h3 {
	border-bottom: 3px solid #ddd;
	padding-bottom: 5px;
	margin-bottom: 20px;
	font-weight: bold;
}
.rounded {
  border-radius: .50rem !important;
}
.list-group-items {
    position: relative;
    display: block;
    padding: .75rem 1.25rem;
    background-color: #fff;
    border-top: 1px solid rgba(0,0,0,.125) !important;
}

.sidebar-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}

.sidebar-hd {
  padding: 14px 18px;
  font-weight: 800; font-size: 12px;
  display: flex; align-items: center; gap: 9px;
  letter-spacing: .3px;
  border-bottom: 1px solid var(--border);
}

.sidebar-hd-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sidebar-body { padding: 16px 18px; }

/* PROFILE CARD */
.profile-center {
  text-align: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}

.profile-avatar {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, var(--primary-lt), var(--navy));
  border-radius: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 30px; color: #fff; font-weight: 900;
  box-shadow: 0 8px 24px rgba(37,99,235,.25);
  margin-bottom: 10px;
}

.profile-name { font-size: 13px; font-weight: 800; }
.profile-npsn { font-size: 11px; color: var(--muted); }

.sidebar-link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px; color: var(--text); font-weight: 500;
  transition: all .2s;
}
.sidebar-link:last-child { border-bottom: none; }
.sidebar-link:hover { color: var(--primary-lt); padding-left: 5px; }

.sidebar-link-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(37,99,235,.08);
  color: var(--primary-lt);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; flex-shrink: 0;
}

/* MINI CALENDAR */
.mini-cal { padding: 16px 18px; }
.cal-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cal-nav-title { font-size: 14px; font-weight: 800; }
.cal-nav-btn {
  width: 28px; height: 28px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 8px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--muted); transition: all .2s;
}
.cal-nav-btn:hover { background: var(--primary-lt); color: #fff; border-color: var(--primary-lt); }

.cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; text-align: center; }
.cal-day-name { font-size: 10px; color: var(--muted); font-weight: 700; padding: 4px 0; }
.cal-day {
  font-size: 12px; padding: 6px 2px;
  border-radius: 8px; cursor: pointer;
  transition: all .2s; font-weight: 500;
}
.cal-day:hover { background: var(--surface-2); }
.cal-day.today { background: var(--primary-lt); color: #fff; font-weight: 800; }
.cal-day.has-event { position: relative; }
.cal-day.has-event::after { content:''; position:absolute; bottom:2px; left:50%; transform:translateX(-50%); width:4px; height:4px; background:var(--accent); border-radius:50%; }
.cal-day.empty { color: transparent; pointer-events: none; }

/* ─── TOPBAR ─────────────────────────────────── */
.topbar {
  background: var(--navy);
  /* background: #007bff; */
  color: #fff;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar-logo-img {
    width: 48px;       /* Sesuaikan ukuran */
    height: 48px;
    object-fit: contain;
    border-radius: 4px; /* Opsional, hapus jika tidak perlu */
}

.topbar-text-main { font-weight: 800; font-size: 15px; letter-spacing: -.2px; }
.topbar-text-sub  { font-size: 11px; color: rgba(255,255,255,.5); font-weight: 400; }

.topbar-nav { display: flex; align-items: center; gap: 2px; }

.topbar-nav a {
  color: rgba(255,255,255,.7);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600;
  transition: all .2s;
  position: relative;
  text-decoration: none;
}

.topbar-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.topbar-nav a.active { color: var(--accent); }

.topbar-action {
  background: linear-gradient(135deg, var(--primary-lt), var(--primary));
  color: #fff;
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all .2s;
  margin-left: 8px;
  display: flex; align-items: center; gap: 7px;
  box-shadow: 0 4px 12px rgba(37,99,235,.35);
}
.topbar-action:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,.45); }

.hamburger {
  display: none; background: none; border: none;
  color: #fff; font-size: 22px; cursor: pointer; padding: 6px;
}

/* SLIDER */
.slider-wrapper {
    width: 100%;
}

.slider-root {
    width: 100%;
    background: #0a1628;
    overflow: hidden;
    position: relative;
}

/* ── Track ── */
.slider-track {
    display: flex;
    transition: transform 0.75s cubic-bezier(0.77, 0, 0.175, 1);
}

/* ── Slide base ── */
.slide {
    min-width: 100%;
    position: relative;
    height: 86vh;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.slide-bg {
    position: absolute;
    inset: 0;
}

.slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* gradient overlays per slide */
.slide-overlay {
    position: absolute;
    inset: 0;
}

/* ── Slide content ── */
.slide-content {
    position: relative;
    z-index: 2;
    /* padding: 2.5rem 3rem; */
    width: 100%;
    animation: fadeUp 0.6s ease both;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.65) 0%, 
        rgba(0, 0, 0, 0.35) 100%
    );
    padding: 40px 50px;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.slide-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #FFD700;
    border: 1px solid rgba(240,192,96,0.6);
    border-radius: 4px;
    padding: 4px 12px;
    margin-bottom: 14px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.slide-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px;
    line-height: 1.2;
    text-shadow: 2px 2px 12px rgba(0,0,0,0.9),
                 0 0 30px rgba(0,0,0,0.5);
}

.slide-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    margin: 0;
    max-width: 520px;
    line-height: 1.65;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.8);
}

/* ── Controls bar ── */
.controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.75rem;
    background: #0d1e38;
}

/* dots */
.dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: rgba(255,255,255,0.22);
    cursor: pointer;
    transition: all 0.35s ease;
    border: none;
    padding: 0;
}

.dot.active {
    background: #f0c060;
    width: 26px;
}

.dot:hover:not(.active) {
    background: rgba(255,255,255,0.45);
}

/* counter */
.slide-counter {
    font-size: 13px;
    color: rgba(255,255,255,0.38);
    min-width: 44px;
    text-align: center;
    letter-spacing: 1px;
}

/* nav buttons */
.nav-btns { display: flex; gap: 8px; }

.nav-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.75);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.nav-btn:hover {
    background: rgba(240,192,96,0.15);
    border-color: rgba(240,192,96,0.5);
    color: #f0c060;
}

/* ── Progress bar ── */
.progress-bar {
    height: 3px;
    background: rgba(255,255,255,0.08);
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #f0c060;
    width: 0%;
    transition: width 0.1s linear;
}

/* ─── BREAKING NEWS ──────────────────────────── */
.breaking {
  background: #ffff;
  display: flex; align-items: stretch;
  overflow: hidden;
  box-shadow: 0 7.5px 15px 0 rgba(0,0,0,0.2);
}

.breaking-label {
  background: var(--danger);
  color: #fff;
  padding: 10px 18px;
  font-size: 11px; font-weight: 800;
  letter-spacing: 1px;
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0; white-space: nowrap;
}

.breaking-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.4)} }

.breaking-text {
  padding: 10px 18px;
  font-size: 13px; font-weight: 500;
  color: #666;
  display: flex; align-items: center;
  border-left: 1px solid rgba(255,255,255,.08);
}
.breaking-cursor { display: inline-block; width: 2px; height: 13px; background: var(--accent); margin-left: 2px; animation: blink .7s infinite; vertical-align: middle; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ================================================
   MOBILE MENU OVERLAY
   ================================================ */
.mobile-menu {
    position: fixed;
    top: 0; left: -100%;
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    transition: left .3s ease;
    box-shadow: 4px 0 24px rgba(0,0,0,0.15);
    overflow: hidden;
}
.mobile-menu.open {
    left: 0;
}

/* Backdrop */
.mobile-menu-backdrop {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
}
.mobile-menu-backdrop.show {
    display: block;
}

/* ================================================
   HEADER MOBILE MENU
   ================================================ */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: var(--navy);
    flex-shrink: 0;
    /* border-bottom: 4px solid #f0c060; */
}
.mobile-menu-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.mobile-menu-brand img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}
.mobile-brand-name {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}
.mobile-brand-sub {
    font-size: 10px;
    color: rgba(255,255,255,0.75);
}
.mobile-menu-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    flex-shrink: 0;
}
.mobile-menu-close:hover {
    background: rgba(255,255,255,0.3);
}

/* ================================================
   TOMBOL CEK KELULUSAN
   ================================================ */
.mobile-menu-kelulusan {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}
.mobile-btn-kelulusan {
    width: 100%;
    background: linear-gradient(135deg, #2196f3, #1976d2);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.mobile-btn-kelulusan:hover {
    opacity: 0.9;
}

/* ================================================
   NAV LINKS
   ================================================ */
.mobile-nav-links {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

/* Item navigasi utama */
.mobile-nav-item {
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    gap: 12px;
    padding: 13px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid #f5f5f5;
    transition: background .2s;
    width: 100%;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    cursor: pointer;
    text-align: left;
}
.mobile-nav-item:hover {
    background: #f0f7ff;
    color: #1976d2;
}
.mobile-nav-item i:first-child {
    color: #2196f3;
    width: 18px;
    text-align: center;
    font-size: 15px;
}

/* ================================================
   ACCORDION SUBMENU
   ================================================ */
.mobile-nav-accordion {
    border-bottom: 1px solid #f5f5f5;
}
.mobile-accordion-toggle {
    border-bottom: none !important;
}
.mobile-accordion-toggle.open {
    background: #f0f7ff;
    color: #1976d2;
}
.mobile-caret {
    font-size: 12px;
    color: #aaa;
    transition: transform .3s ease;
    flex-shrink: 0;
}
.mobile-accordion-toggle.open .mobile-caret {
    transform: rotate(180deg);
    color: #1976d2;
}

/* Body accordion */
.mobile-accordion-body {
    display: none;
    background: #f8faff;
    border-top: 1px solid #e3f2fd;
}
.mobile-accordion-body.open {
    display: block;
}

/* Sub item */
.mobile-sub-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 20px 11px 28px;
    text-decoration: none;
    color: #444;
    font-size: 13px;
    border-bottom: 1px solid #eef4ff;
    transition: background .2s;
}
.mobile-sub-item:last-child {
    border-bottom: none;
}
.mobile-sub-item:hover {
    background: #e3f2fd;
    color: #1976d2;
}
.mobile-sub-item .dd-icon {
    width: 30px;
    height: 30px;
    background: #e3f2fd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #2196f3;
    font-size: 13px;
}
.mobile-sub-item .dd-info {
    flex: 1;
}
.mobile-sub-item .dd-label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}
.mobile-sub-item .dd-desc {
    font-size: 11px;
    color: #888;
    margin-top: 1px;
}

/* Divider */
.mobile-divider {
    height: 1px;
    background: #dce8ff;
    margin: 4px 0;
}

/* ─── SCROLL TOP ──────────────────────────────── */
.scroll-top {
  position: fixed; bottom: 28px; right: 24px;
  width: 44px; height: 44px;
  background: var(--navy);
  color: #fff; border: 2px solid rgba(255,255,255,.1);
  border-radius: 12px; font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  display: none; align-items: center; justify-content: center;
  transition: all .25s; z-index: 800;
}
.scroll-top.show { display: flex; }
.scroll-top:hover { background: var(--primary-lt); border-color: var(--primary-lt); transform: translateY(-3px); }

/* ─── LIGHTBOX ───────────────────────────────── */
.lightbox {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.93);
  z-index: 9999;
  justify-content: center; align-items: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 88vw; max-height: 84vh; border-radius: 12px; }
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #fff; width: 40px; height: 40px; border-radius: 10px;
  font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.lightbox-close:hover { background: var(--danger); border-color: var(--danger); }

/* ─── ANIMATIONS ──────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s, transform .6s;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── DROPDOWN SUBMENU ─── */
.nav-item { position: relative; }
.nav-item > a { display: flex; align-items: center; gap: 5px; }
.nav-item > a .caret {
  font-size: 10px; transition: transform .25s;
  color: rgba(255,255,255,.5); display: inline-block;
}
.nav-item:hover > a .caret { transform: rotate(180deg); color: var(--accent-lt); }
.nav-item:hover > a { color: #fff; background: rgba(255,255,255,.08); }

.dropdown {
  position: absolute; top: calc(100% + 4px);
  left: 50%; transform: translateX(-50%) translateY(-6px);
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; min-width: 240px; padding: 6px;
  opacity: 0; visibility: hidden;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
  pointer-events: none;
  z-index: 9;
}
/* Bridge transparan: menutup gap antara navbar dan dropdown */
.dropdown::after {
  content: '';
  position: absolute;
  top: -14px;       /* tinggi bridge = menutup gap */
  left: 0; right: 0;
  height: 14px;
  background: transparent;
}
.dropdown::before {
  content: ''; position: absolute;
  top: -7px; left: 50%; transform: translateX(-50%);
  width: 14px; height: 7px;
  background: var(--navy-mid);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}
.nav-item:hover .dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}
.dropdown-item {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px; border-radius: 10px;
  color: rgba(255,255,255,.75); font-size: 12px; font-weight: 600;
  transition: all .18s; cursor: pointer;
}
.dropdown-item:hover { background: rgba(255,255,255,.08); color: #fff; }
.dropdown-item:hover .dd-icon { background: var(--primary-lt); color: #fff; }
.dropdown-item:hover .dd-arrow { opacity: 1; transform: translateX(0); }
.dd-icon {
  width: 32px; height: 32px; border-radius: 9px;
  background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0; transition: all .18s; color: var(--accent-lt);
}
.dd-info { flex: 1; }
.dd-label { font-size: 12px; font-weight: 700; line-height: 1.3; }
.dd-desc { font-size: 10.5px; color: rgba(255,255,255,.4); margin-top: 1px; font-weight: 400; }
.dd-arrow { font-size: 10px; color: rgba(255,255,255,.3); opacity: 0; transform: translateX(-4px); transition: all .18s; }
.dropdown-divider { height: 1px; background: rgba(255,255,255,.07); margin: 4px 6px; }

.bt-slide {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 999;
}

/* ── FAB GROUP ─────────────────────────────────────────── */
.hero-fab-group {
  position: absolute;
  bottom: 20px;          /* naik sedikit dari breaking news */
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 30;
}

.hero-fab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.hero-fab i {
  font-size: 16px;
  flex-shrink: 0;
}

/* Warna masing-masing tombol */
.fab-kelulusan {
  background: rgba(34, 197, 94, 0.85);   /* hijau */
  color: #fff;
}

.fab-alumni {
  background: rgba(59, 130, 246, 0.85);  /* biru */
  color: #fff;
}

.hero-fab:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  filter: brightness(1.1);
}

.hero-fab:active {
  transform: translateY(0) scale(0.97);
}

.toggle-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    margin: 0;
}
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    border-radius: 24px;
    transition: .3s;
}
.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: .3s;
}
.toggle-switch input:checked + .toggle-slider {
    background-color: #28a745;
}
.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(20px);
}
.toggle-switch input:disabled + .toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}
.toggle-label {
    font-size: 12px;
    font-weight: 500;
    min-width: 70px;
    text-align: left;
    color: #555;
}

    /* Overlay */
#popupKelulusan {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

/* Box utama */
#popupKelulusan .popup-box {
    background: #fff;
    border-radius: 12px;
    max-width: 440px;
    width: 100%;
    position: relative;
    overflow: visible;
    margin: auto;
    max-height: 90vh;
    overflow-y: auto;
}

/* Header */
#popupKelulusan .popup-header {
    background: linear-gradient(90deg, #2196f3, #1976d2);
    border-radius: 12px 12px 0 0;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: sticky;
    top: 0;
    z-index: 2;
}

/* Icon warning */
#popupKelulusan .popup-warning-icon {
    position: absolute;
    top: -18px;
    right: -14px;
    width: 48px;
    height: 48px;
    background: #e53935;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    z-index: 3;
}

/* Body */
#popupKelulusan .popup-body {
    padding: 20px 20px 8px;
}

/* Info box */
#popupKelulusan .popup-info-box {
    background: #e3f2fd;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

/* Countdown */
#popupKelulusan .countdown-wrap {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
#popupKelulusan .cd-item {
    background: #1565c0;
    color: #fff;
    border-radius: 8px;
    padding: 8px 12px;
    min-width: 58px;
    text-align: center;
    flex: 1;
    max-width: 80px;
}

/* List himbauan */
#popupKelulusan .popup-list-box {
    background: #e3f2fd;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 16px;
}
#popupKelulusan .popup-list-box ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
#popupKelulusan .popup-list-box li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.5;
}
#popupKelulusan .popup-list-box li:last-child {
    margin-bottom: 0;
}

/* Footer tombol */
#popupKelulusan .popup-footer {
    padding: 0 20px 20px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    position: sticky;
    bottom: 0;
    background: #fff;
    border-radius: 0 0 12px 12px;
}
#popupKelulusan .popup-footer button {
    flex: 1;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
#popupKelulusan .btn-tutup   { background: #e53935; color: #fff; }
#popupKelulusan .btn-mengerti { background: #388e3c; color: #fff; }

#inputnis {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

/* Box utama */
#inputnis .popup-box {
    background: #fff;
    border-radius: 12px;
    max-width: 440px;
    width: 100%;
    position: relative;
    overflow: visible;
    margin: auto;
    max-height: 90vh;
    overflow-y: auto;
}

/* Header */
#inputnis .popup-header {
    background: linear-gradient(90deg, #2196f3, #1976d2);
    border-radius: 12px 12px 0 0;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: sticky;
    top: 0;
    z-index: 2;
}

/* Icon warning */
#inputnis .popup-warning-icon {
    position: absolute;
    top: -18px;
    right: -14px;
    width: 48px;
    height: 48px;
    background: #e53935;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    z-index: 3;
}

/* Body */
#inputnis .popup-body {
    padding: 20px 20px 8px;
}

/* Info box */
#inputnis .popup-info-box {
    background: #e3f2fd;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

/* Countdown */
#inputnis .countdown-wrap {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
#inputnis .cd-item {
    background: #1565c0;
    color: #fff;
    border-radius: 8px;
    padding: 8px 12px;
    min-width: 58px;
    text-align: center;
    flex: 1;
    max-width: 80px;
}

/* List himbauan */
#inputnis .popup-list-box {
    background: #e3f2fd;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 16px;
}
#inputnis .popup-list-box ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
#inputnis .popup-list-box li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.5;
}
#inputnis .popup-list-box li:last-child {
    margin-bottom: 0;
}

/* Footer tombol */
#inputnis .popup-footer {
    padding: 0 20px 20px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    position: sticky;
    bottom: 0;
    background: #fff;
    border-radius: 0 0 12px 12px;
}
#inputnis .popup-footer button {
    flex: 1;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
#inputnis .btn-tutup   { background: #e53935; color: #fff; }
#inputnis .btn-mengerti { background: #388e3c; color: #fff; }

#warning {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

/* Box utama */
#warning .popup-box {
    background: #fff;
    border-radius: 12px;
    max-width: 440px;
    width: 100%;
    position: relative;
    overflow: visible;
    margin: auto;
    max-height: 90vh;
    overflow-y: auto;
}

/* Header */
#warning .popup-header {
    background: linear-gradient(90deg, #2196f3, #1976d2);
    border-radius: 12px 12px 0 0;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: sticky;
    top: 0;
    z-index: 2;
}

/* Icon warning */
#warning .popup-warning-icon {
    position: absolute;
    top: -18px;
    right: -14px;
    width: 48px;
    height: 48px;
    background: #e53935;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    z-index: 3;
}

/* Body */
#warning .popup-body {
    padding: 20px 20px 8px;
}

/* Info box */
#warning .popup-info-box {
    background: #e3f2fd;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

/* Countdown */
#warning .countdown-wrap {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
#warning .cd-item {
    background: #1565c0;
    color: #fff;
    border-radius: 8px;
    padding: 8px 12px;
    min-width: 58px;
    text-align: center;
    flex: 1;
    max-width: 80px;
}

/* List himbauan */
#warning .popup-list-box {
    background: #e3f2fd;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 16px;
}
#warning .popup-list-box ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
#warning .popup-list-box li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.5;
}
#warning .popup-list-box li:last-child {
    margin-bottom: 0;
}

/* Footer tombol */
#warning .popup-footer {
    padding: 0 20px 20px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    position: sticky;
    bottom: 0;
    background: #fff;
    border-radius: 0 0 12px 12px;
}
#warning .popup-footer button {
    flex: 1;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
#warning .btn-tutup   { background: #e53935; color: #fff; }
#warning .btn-mengerti { background: #388e3c; color: #fff; }

/* ================================================
   CONTAINER UTAMA
   ================================================ */
.container_home.singel {
    max-width: 800px;
    margin: 30px auto;
    padding: 0 16px;
}

.bg_left_home,
.bg_list_home,
.list_home,
.view_singel {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* ================================================
   KARTU SURAT
   ================================================ */
.bg_det_ormas {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 40px 48px;
    position: relative;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);

    /* Garis dekoratif atas biru */
    border-top: 6px solid #232323;
}

/* ================================================
   KOP SURAT
   ================================================ */
.kop-surat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 3px double #232323;
    margin-bottom: 20px;
}
.kop-surat img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}
.kop-surat-text {
    text-align: center;
}
.kop-surat-text .nama-sekolah {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.kop-surat-text .alamat-sekolah {
    font-size: 12px;
    color: #555;
    margin-top: 3px;
}

/* ================================================
   JUDUL SURAT
   ================================================ */
.title_list {
    color: #1a1a2e;
}

/* Judul utama */
.bg_det_ormas > .title_list:first-of-type {
    font-size: 20px !important;
    font-weight: 700 !important;
    text-decoration: underline;
    text-underline-offset: 4px;
    letter-spacing: 1px;
    margin-top: 10px;
    text-transform: uppercase;
}

/* Sub judul tahun */
.bg_det_ormas > .title_list:nth-of-type(2) {
    font-size: 16px !important;
    font-weight: 600 !important;
    margin-bottom: 20px;
}

/* ================================================
   ISI SURAT
   ================================================ */
.det_text {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

.view_text {
    display: flex;
    align-items: flex-start;
    padding: 6px 0 !important;
    border-bottom: 0.5px dashed #ddd !important;
    width: 100% !important;
    margin: 0 !important;
}
.view_text:last-child {
    border-bottom: none !important;
}

.text_left {
    font-size: 14px;
    color: #333;
    line-height: 1.7;
    width: 100% !important;
    padding: 0 !important;
}

/* Kolom label (Nama, NISN, dll) */
.col-sm-2.text_left {
    min-width: 170px;
    max-width: 170px;
    color: #555;
    font-style: italic;
}

/* Kolom nilai */
.col-sm-10.text_left {
    flex: 1;
    color: #1a1a2e;
    font-weight: 600;
}

/* ================================================
   STATUS KELULUSAN
   ================================================ */
[line="ket_lulusan"] {
    font-size: 28px !important;
    font-weight: 700 !important;
    text-align: center;
    color: #1a1a2e;
    margin: 20px 0;
    padding: 16px;
    border: 2px solid #232323;
    border-radius: 4px;
    background: #e4e4e4;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ================================================
   TANDA TANGAN
   ================================================ */
.ttd-section {
    display: flex;
    justify-content: flex-end;
    margin-top: 32px;
    padding-top: 16px;
}
.ttd-box {
    text-align: center;
    min-width: 200px;
}
.ttd-box .ttd-kota {
    font-size: 13px;
    color: #333;
    margin-bottom: 60px;
}
.ttd-box .ttd-nama {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    border-top: 1px solid #333;
    padding-top: 6px;
}
.ttd-box .ttd-jabatan {
    font-size: 12px;
    color: #555;
}

/* ================================================
   TOMBOL KEMBALI
   ================================================ */
.btn-kembali-wrap {
    text-align: center;
    margin: 20px 0 8px;
}
.btn-kembali-wrap .btn {
    font-size: 13px;
    padding: 8px 24px;
    border-radius: 4px;
}

/* ================================================
   ALERT NISN TIDAK DITEMUKAN
   ================================================ */
.alert.alert-warning {
    border-radius: 4px;
    font-size: 14px;
}

/* ================================================
   NOMOR SURAT (opsional)
   ================================================ */
.no-surat {
    font-size: 13px;
    color: #555;
    text-align: center;
    margin-bottom: 16px;
}

.vp-wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 14px 12px;
    font-size: 13px;
}
.vp-breadcrumb { font-size: 12px; color: #555; margin-bottom: 10px; }
.vp-breadcrumb a { color: #1a7fa8; text-decoration: none; }
.vp-breadcrumb a:hover { text-decoration: underline; }
.vp-breadcrumb span { color: #999; margin: 0 4px; }
.vp-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 14px;
    align-items: start;
}
.vp-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: .50rem;
    overflow: hidden;
    margin-bottom: 12px;
}
.vp-card:last-child { margin-bottom: 0; }
.vp-card-header {
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}
.vp-hero { width: 100%; height: 500px; object-fit: cover; display: block; }
.vp-body { padding: 14px; }
.vp-badge {
    display: inline-block;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.vp-kategori {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fff8e1;
    border: 1px solid #f0a500;
    color: #b7720a;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 2px;
    margin-bottom: 10px;
    margin-left: 6px;
}
.vp-title { font-size: 17px; font-weight: 700; color: #1a1a1a; line-height: 1.4; margin-bottom: 10px; }
.vp-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 11px;
    color: #888;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}
.vp-meta span { display: flex; align-items: center; gap: 4px; }
.vp-content { color: #333; line-height: 1.8; font-size: 13px; }
.vp-content p { margin-bottom: 10px; }
.vp-content img { max-width: 100%; height: auto; border-radius: 3px; }
.vp-share {
    background: #f8f8f8;
    border-top: 1px solid #eee;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #555;
    flex-wrap: wrap;
}
.vp-share a {
    padding: 4px 12px;
    border-radius: 2px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
}
.vp-share .fb { background: #3b5998; }
.vp-share .tw { background: #1da1f2; }
.vp-share .wa { background: #25d366; }
.vp-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 14px;
    border-top: 1px solid #eee;
}
.vp-nav a {
    display: block;
    padding: 8px 10px;
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
    text-decoration: none;
    transition: background 0.15s;
}
.vp-nav a:hover { background: #f0f0f0; }
.vp-nav .nav-label { font-size: 10px; color: #aaa; margin-bottom: 3px; }
.vp-nav .nav-title { font-size: 11px; color: #1a7fa8; font-weight: 600; line-height: 1.4; }
.vp-nav .nav-next { text-align: right; }
.sb-body { padding: 10px 12px; }
.sb-empty { font-size: 12px; color: #aaa; text-align: center; padding: 10px 0; margin: 0; }
.sb-item {
    display: flex;
    gap: 8px;
    padding: 7px 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
}
.sb-item:last-child { border-bottom: none; }
.sb-item:hover .sb-judul { text-decoration: underline; }
.sb-thumb {
    width: 56px;
    height: 46px;
    border-radius: 2px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    overflow: hidden;
}
.sb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sb-judul { font-size: 11px; color: #1a7fa8; font-weight: 600; line-height: 1.4; margin-bottom: 3px; }
.sb-date { font-size: 10px; color: #aaa; }
.sb-info-item { padding: 7px 0; border-bottom: 1px solid #f0f0f0; }
.sb-info-item:last-child { border-bottom: none; }
.sb-info-title { font-size: 11px; color: #1a7fa8; font-weight: 600; line-height: 1.4; margin-bottom: 2px; }
.sb-info-date { font-size: 10px; color: #aaa; }
.sb-agenda-item {
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 11px;
    color: #333;
    display: flex;
    align-items: flex-start;
    gap: 7px;
}
.sb-agenda-item:last-child { border-bottom: none; }
.sb-agenda-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2ecc71;
    flex-shrink: 0;
    margin-top: 2px;
}

.lp-wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 14px 12px;
    font-size: 13px;
}
.lp-breadcrumb { font-size: 12px; color: #555; margin-bottom: 10px; }
.lp-breadcrumb a { color: #1a7fa8; text-decoration: none; }
.lp-breadcrumb a:hover { text-decoration: underline; }
.lp-breadcrumb span { color: #999; margin: 0 4px; }
.lp-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 14px;
    align-items: start;
}
.lp-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: .50rem;
    overflow: hidden;
    margin-bottom: 12px;
}
.lp-card:last-child { margin-bottom: 0; }
.lp-card-header {
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.lp-card-header span { display: flex; align-items: center; gap: 6px; }
.lp-card-header .total {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.85;
}

/* Grid konten */
.lp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    padding: 12px;
}
.lp-item {
    border: 1px solid #eee;
    border-radius: 3px;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.15s;
}
.lp-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.lp-item:hover .lp-item-title { text-decoration: underline; }
.lp-item-thumb {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
    background: #e8f4f8;
}
.lp-item-thumb-ph {
    width: 100%;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}
.lp-item-body { padding: 8px 10px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.lp-item-kategori {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 2px;
    color: #fff;
    text-transform: uppercase;
    align-self: flex-start;
}
.lp-item-title {
    font-size: 12px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
    flex: 1;
}
.lp-item-meta {
    font-size: 10px;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.lp-item-excerpt {
    font-size: 11px;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lp-empty {
    padding: 40px;
    text-align: center;
    color: #aaa;
    font-size: 13px;
}
.lp-empty i { font-size: 36px; display: block; margin-bottom: 8px; opacity: 0.4; }

/* Pagination */
.lp-pagination {
    padding: 12px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}
.lp-pagination a, .lp-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 12px;
    text-decoration: none;
    color: #333;
    background: #fff;
    transition: background 0.15s;
}
.lp-pagination a:hover { background: #f0f0f0; }
.lp-pagination .active {
    color: #fff;
    border-color: transparent;
    font-weight: 700;
}
.lp-pagination .disabled { color: #ccc; pointer-events: none; }

/* Sidebar */
.sb-body { padding: 10px 12px; }
.sb-empty { font-size: 12px; color: #aaa; text-align: center; padding: 10px 0; margin: 0; }

.section-card {
  background: #ffffff;
  border: 1px solid #dde0e6;
  border-radius: .50rem;
  overflow: hidden;
  margin-bottom: 16px;
}
 
.section-header {
  background: #00ACC1;
  color: #ffffff;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 4px 4px 0 0;
}
 
.section-header a {
  color: #ffffff;
  font-size: 12px;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s;
}
 
.section-header a:hover {
  opacity: 1;
  text-decoration: underline;
}
 
.section-footer {
  text-align: center;
  padding: 10px;
  border-top: 1px solid #eeeeee;
}
 
.btn-more {
  display: inline-block;
  background: #ffffff;
  border: 1px solid #00ACC1;
  color: #00ACC1;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 20px;
  border-radius: 20px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
 
.btn-more:hover {
  background: #00ACC1;
  color: #ffffff;
}
 
/* ──────────────────────────────────────────
   GALERI FOTO - MASONRY GRID
────────────────────────────────────────── */
.foto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 10px;
}
 
/* Foto item dasar */
.foto-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  background: #222222;
  aspect-ratio: 1 / 1;
}
 
/* Foto unggulan: 2 kolom x 2 baris */
.foto-item.featured {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
  min-height: 180px;
}
 
/* Background / thumbnail foto */
.foto-bg {
  width: 100%;
  height: 100%;
  min-height: 80px;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease;
}
 
/* Jika menggunakan <img> sebagai thumbnail */
.foto-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
 
.foto-item:hover .foto-bg,
.foto-item:hover img {
  transform: scale(1.07);
}
 
/* Overlay gelap saat hover */
.foto-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 8px 10px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
 
.foto-item:hover .foto-overlay {
  opacity: 1;
}
 
.foto-overlay span {
  color: #ffffff;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
}
 
/* Badge jumlah foto di pojok kanan atas foto unggulan */
.foto-count-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 172, 193, 0.92);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  pointer-events: none;
}
 
 
/* ──────────────────────────────────────────
   GALERI VIDEO - GRID
────────────────────────────────────────── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 10px;
}
 
/* Card video biasa */
.video-item {
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: #111111;
  border: 1px solid #e5e7eb;
  transition: box-shadow 0.2s ease;
}
 
.video-item:hover {
  box-shadow: 0 4px 16px rgba(0, 172, 193, 0.18);
}
 
/* Thumbnail video */
.video-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
}
 
/* Jika menggunakan <img> untuk thumbnail */
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
 
.video-thumb-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  text-align: center;
  padding: 8px;
  transition: transform 0.3s ease;
}
 
.video-item:hover .video-thumb img,
.video-item:hover .video-thumb-bg {
  transform: scale(1.04);
}
 
/* Tombol Play */
.play-btn {
  position: absolute;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.93);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 2;
}
 
.play-btn svg {
  width: 16px;
  height: 16px;
  fill: #00ACC1;
  margin-left: 3px; /* optical center untuk ikon play */
}
 
.video-item:hover .play-btn {
  background: #00ACC1;
  transform: scale(1.12);
}
 
.video-item:hover .play-btn svg {
  fill: #ffffff;
}
 
/* Badge durasi video */
.video-duration {
  position: absolute;
  bottom: 6px;
  right: 7px;
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  pointer-events: none;
}
 
/* Info di bawah thumbnail */
.video-info {
  padding: 8px 10px;
  background: #ffffff;
}
 
.video-title {
  font-size: 12px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
 
.video-meta {
  font-size: 10px;
  color: #888888;
  display: flex;
  gap: 10px;
  align-items: center;
}
 
 
/* ──────────────────────────────────────────
   VIDEO UNGGULAN (FEATURED) - Full Width
────────────────────────────────────────── */
.video-featured {
  grid-column: span 2;
  display: flex;
  flex-direction: row;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
  cursor: pointer;
  transition: box-shadow 0.2s ease;
}
 
.video-featured:hover {
  box-shadow: 0 4px 18px rgba(0, 172, 193, 0.22);
}
 
.video-featured .video-thumb {
  width: 200px;
  min-width: 200px;
  aspect-ratio: auto;
  height: 115px;
}
 
.video-featured .video-info {
  flex: 1;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
}
 
.video-featured .video-title {
  font-size: 13px;
  -webkit-line-clamp: 2;
}
 
/* Badge "Unggulan" */
.video-badge {
  display: inline-block;
  background: #e8f9fb;
  color: #00838F;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 20px;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Galeri Foto */
.foto-wrap { padding: 10px; }
.foto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 6px; }
.foto-featured { position: relative; border-radius: 6px; overflow: hidden; height: 230px; display: block; }
.foto-featured img { width: 100%; height: 100%; object-fit: cover; }
.foto-sub-grid { display: grid; grid-template-rows: 1fr 1fr; gap: 6px; }
.foto-item { position: relative; border-radius: 6px; overflow: hidden; width: 100%; height: 110px; display: block; }
.foto-item img { width: 100%; height: 100%; object-fit: cover; }
.foto-row2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 8px; }
.foto-row2-item { position: relative; border-radius: 6px; overflow: hidden; height: 90px; display: block; }
.foto-row2-item img { width: 100%; height: 100%; object-fit: cover; }
.foto-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.05) 60%); display: flex; align-items: flex-end; padding: 8px; }
.foto-overlay span { color: #fff; font-size: 11px; font-weight: 600; text-shadow: 0 1px 3px rgba(0,0,0,0.5); }
.foto-count-badge { position: absolute; top: 8px; right: 8px; background: rgba(255,255,255,0.92); color: #333; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 99px; }
.foto-btn, .video-btn { text-align: center; padding: 6px 0 2px; }
.foto-btn a, .video-btn a { display: inline-block; border: 1px solid #1a7fa8; color: #1a7fa8; font-size: 12px; padding: 5px 20px; border-radius: 99px; text-decoration: none; }
.foto-btn a:hover, .video-btn a:hover { background: #1a7fa8; color: #fff; }

/* Galeri Video */
.video-wrap { padding: 10px; }
.video-featured { display: flex; gap: 10px; background: #f8f8f8; border: 1px solid #eee; border-radius: 6px; overflow: hidden; margin-bottom: 10px; text-decoration: none; color: inherit; }
.video-featured-thumb { position: relative; width: 250px; flex-shrink: 0; height: 200px; }
.video-featured-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-featured-info { padding: 10px; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.video-unggulan-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; color: #f0a500; background: #fff8e1; border: 1px solid #f0a500; padding: 2px 8px; border-radius: 2px; align-self: flex-start; }
.video-featured-title { font-size: 13px; font-weight: 700; color: #1a1a1a; line-height: 1.4; }
.video-featured-meta { font-size: 10px; color: #aaa; display: flex; gap: 10px; }
.video-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.video-card { border: 1px solid #eee; border-radius: 5px; overflow: hidden; text-decoration: none; color: inherit; display: block; }
.video-thumb { position: relative; padding-top: 56.25%; background: #ddd; }
.video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-info { padding: 6px 8px; }
.video-title { font-size: 11px; font-weight: 700; color: #1a1a1a; line-height: 1.4; margin-bottom: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-date { font-size: 10px; color: #aaa; }
.video-duration { position: absolute; bottom: 5px; right: 5px; background: rgba(0,0,0,0.75); color: #fff; font-size: 10px; padding: 1px 5px; border-radius: 2px; }
.play-circle { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.play-btn { width: 36px; height: 36px; background: rgba(255,255,255,0.88); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.play-btn::after { content: ''; width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 14px; border-color: transparent transparent transparent #c0392b; margin-left: 3px; }

.peg-section { margin-bottom: 20px; }
.peg-header {
    background: #00ACC1;
    color: #fff;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px 4px 0 0;
}
.peg-header a { color: #fff; font-size: 12px; text-decoration: none; opacity: 0.85; transition: opacity 0.2s; }
.peg-header a:hover { opacity: 1; }
.peg-body { background: #fff; border: 1px solid #dde0e6; border-top: none; border-radius: 0 0 4px 4px; padding: 14px 12px 10px; }

/* ── TAB ── */
.peg-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.peg-tab {
    padding: 5px 16px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    border: 1.5px solid #00ACC1;
    color: #00ACC1;
    background: #fff;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
}
.peg-tab.active { background: #00ACC1; color: #fff; }

/* ── GRID ── */
.peg-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

/* ── CARD ── */
.peg-card {
    background: #fff;
    border: 0.5px solid #dde0e6;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
    cursor: default;
}
.peg-card:hover {
    box-shadow: 0 6px 20px rgba(0,172,193,0.14);
    transform: translateY(-3px);
}

/* foto area */
.peg-photo-wrap {
    width: 100%;
    aspect-ratio: 1;
    position: relative;
    overflow: hidden;
    background: #eef8fb;
}
.peg-photo-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.35s ease;
}
.peg-card:hover .peg-photo-wrap img { transform: scale(1.05); }

/* avatar fallback */
.peg-avatar {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; font-weight: 700; color: #0097A7;
    letter-spacing: -1px;
}

/* badge jabatan di atas foto */
.peg-badge {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.52) 0%, transparent 100%);
    padding: 18px 6px 5px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

/* info */
.peg-info { padding: 8px 8px 10px; width: 100%; }
.peg-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text-primary, #111);
    line-height: 1.3;
    margin-bottom: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.peg-mapel {
    font-size: 10.5px;
    color: #00838F;
    font-weight: 600;
    background: #e8f9fb;
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.peg-mapel-empty {
    font-size: 10.5px;
    color: #aaa;
    font-style: italic;
}

/* footer */
.peg-footer { text-align: center; padding: 8px; border-top: 1px solid #eee; margin-top: 4px; }
.peg-btn {
    display: inline-block;
    background: #fff;
    border: 1px solid #00ACC1;
    color: #00ACC1;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 20px;
    border-radius: 20px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.peg-btn:hover { background: #00ACC1; color: #fff; }

/* Kosentrasi keahlian */
/* ── HEADER ── */
  .site-header {
    background: var(--primary-dk);
    padding: .6rem 1.5rem;
    display: flex; align-items: center; gap: .75rem;
  }
  .site-header .logo {
    width: 36px; height: 36px; border-radius: 50%;
    background: white; display: flex; align-items: center; justify-content: center;
    font-size: 18px;
  }
  .site-header .brand { color: white; font-weight: 700; font-size: 14px; line-height: 1.2; }
  .site-header .brand small { font-weight: 400; font-size: 11px; opacity: .75; display: block; }
 
  /* ── HERO BANNER ── */
  .hero {
    background: #1a7fa8;
    padding: 3rem 1.5rem 5rem;
    position: relative; overflow: hidden;
    text-align: center;
  }
  .hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
      radial-gradient(circle at 80% 20%, rgba(255,171,0,.18) 0%, transparent 50%),
      radial-gradient(circle at 10% 80%, rgba(255,255,255,.07) 0%, transparent 40%);
  }
  .hero-dots {
    position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  }
  .hero-dots span {
    position: absolute; border-radius: 50%;
    background: rgba(255,255,255,.06);
    animation: float 8s ease-in-out infinite;
  }
  .hero-dots span:nth-child(1){width:160px;height:160px;top:-40px;right:-30px;animation-delay:0s}
  .hero-dots span:nth-child(2){width:80px;height:80px;bottom:30px;left:5%;animation-delay:2s}
  .hero-dots span:nth-child(3){width:50px;height:50px;top:40%;right:8%;animation-delay:4s}
  @keyframes float {
    0%,100%{transform:translateY(0)}
    50%{transform:translateY(-14px)}
  }
 
  .hero-content { position: relative; z-index: 1; }
  .hero-tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,.15); color: white;
    font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
    padding: 5px 14px; border-radius: 20px;
    border: 1px solid rgba(255,255,255,.25);
    margin-bottom: 1rem; text-transform: uppercase;
  }
  .hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800; color: white;
    line-height: 1.15; margin-bottom: .75rem;
  }
  .hero h1 em {
    font-style: normal;
    color: var(--accent);
  }
  .hero p {
    color: rgba(255,255,255,.82);
    font-size: 14px; max-width: 480px; margin: 0 auto 1.5rem;
    line-height: 1.7;
  }
  .hero-stats {
    display: inline-flex; gap: 1.5rem;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--radius-md);
    padding: .75rem 1.5rem;
  }
  .hero-stats .s { text-align: center; }
  .hero-stats .s-num { font-size: 20px; font-weight: 800; color: white; }
  .hero-stats .s-lbl { font-size: 10px; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .8px; }
 
  /* ── BREADCRUMB ── */
  .breadcrumb-bar {
    background: white; border-bottom: 1px solid var(--border);
    padding: .65rem 1.5rem;
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; color: var(--muted);
  }
  .breadcrumb-bar a { color: #1a7fa8; text-decoration: none; }
  .breadcrumb-bar a:hover { text-decoration: underline; }
  .breadcrumb-bar svg { width: 12px; height: 12px; flex-shrink: 0; }
 
  /* ── MAIN CONTENT ── */
  .main { max-width: 1320px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }
 
  /* ── FILTER BAR ── */
  .filter-row {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: .5rem; margin-bottom: 1.75rem;
  }
  .filter-label { font-size: 12px; font-weight: 700; color: var(--muted); margin-right: 4px; text-transform: uppercase; letter-spacing: .8px; }
  .fbtn {
    padding: 6px 16px; border-radius: 20px;
    font-size: 12px; font-weight: 700;
    cursor: pointer; border: 1.5px solid var(--border);
    background: white; color: var(--muted);
    transition: all .2s;
  }
  .fbtn:hover { border-color: var(--primary); color: var(--primary); }
  .fbtn.on { background: var(--primary); color: white; border-color: var(--primary); }
 
  /* ── GRID ── */
  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 1.5rem;
  }
 
  /* ── CARD ── */
  .card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .3s, box-shadow .3s;
    display: flex; flex-direction: column;
    animation: fadeUp .5s ease both;
  }
  .card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
  }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
 
  /* stagger */
  .card:nth-child(1){animation-delay:.05s}
  .card:nth-child(2){animation-delay:.1s}
  .card:nth-child(3){animation-delay:.15s}
  .card:nth-child(4){animation-delay:.2s}
  .card:nth-child(5){animation-delay:.25s}
  .card:nth-child(6){animation-delay:.3s}
  .card:nth-child(7){animation-delay:.35s}
 
  /* PHOTO AREA */
  .card-photo {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* biar tidak gepeng */
}
  .card:hover .card-photo img { transform: scale(1.07); }
 
  .card-photo .photo-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
      to bottom,
      transparent 30%,
      rgba(0,0,0,.55) 100%
    );
  }
 
  /* placeholder jika foto belum ada */
  .card-photo .photo-placeholder {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: .5rem; color: white; font-size: 48px;
  }
 
  /* badge kode di sudut kiri atas foto */
  .badge-code {
    position: absolute; top: 12px; left: 12px;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(6px);
    color: white; font-size: 10px; font-weight: 800;
    letter-spacing: 1.5px; text-transform: uppercase;
    padding: 4px 10px; border-radius: 6px;
    border: 1px solid rgba(255,255,255,.2);
  }
 
  /* badge akreditasi di sudut kanan atas foto */
  .badge-ak {
    position: absolute; top: 12px; right: 12px;
    font-size: 11px; font-weight: 800;
    padding: 4px 12px; border-radius: 20px;
    backdrop-filter: blur(6px);
  }
  .badge-ak.A { background: rgba(46,125,50,.85); color: #c8e6c9; }
  .badge-ak.B { background: rgba(230,81,0,.85); color: #ffe0b2; }
 
  /* nama jurusan di atas foto (bottom overlay) */
  .photo-title {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 1rem 1rem .75rem;
  }
  .photo-title h3 {
    font-size: 15px; font-weight: 800; color: white;
    line-height: 1.25; text-shadow: 0 1px 4px rgba(0,0,0,.4);
  }
 
  /* COLOR STRIP */
  .color-strip {
    height: 4px;
  }
 
  /* BODY */
  .card-body {
    /* padding: 1rem 1.25rem; */
    flex: 1; display: flex; flex-direction: column; gap: .6rem;
  }
 
  .meta-row {
    display: flex; align-items: center; gap: 6px;
    font-size: 11.5px; color: var(--muted);
  }
  .meta-row svg { width: 13px; height: 13px; flex-shrink: 0; color: var(--primary); }
 
  .desc {
    font-size: 12px; color: #4a5568; line-height: 1.65;
    display: -webkit-box; -webkit-line-clamp: 3;
    -webkit-box-orient: vertical; overflow: hidden;
    flex: 1;
  }
 
  /* CARD FOOTER */
  .card-foot {
    padding: .75rem 1.25rem 1.1rem;
    display: flex; align-items: center; justify-content: space-between;
    border-top: 1px solid var(--border);
  }
  .card-foot a{
    text-decoration: none;
  }
  .ak-pill {
    font-size: 11px; font-weight: 700;
    padding: 4px 12px; border-radius: 20px;
  }
  .ak-pill.A { background: #e8f5e9; color: #2e7d32; }
  .ak-pill.B { background: #fff3e0; color: #e65100; }
 
  .btn-detail {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 12px; font-weight: 700;
    color: #efda6c; background: var(--primary-lt);
    border: none; border-radius: var(--radius-sm);
    padding: 6px 14px; cursor: pointer;
    transition: background .2s, color .2s;
    text-decoration: none;
  }
  .btn-detail:hover { background: var(--primary); color: white; }
  .btn-detail svg { width: 13px; height: 13px; }
 
  /* ── EMPTY STATE ── */
  
  .empty svg { width: 48px; height: 48px; opacity: .3; margin-bottom: 1rem; }

/* ── Tablet (max 576px) ── */
@media (max-width: 576px) {
    #popupKelulusan {
        padding: 12px;
    }
    #popupKelulusan .popup-warning-icon {
        width: 40px;
        height: 40px;
        top: -14px;
        right: -10px;
    }
    #popupKelulusan .popup-header span:last-child {
        font-size: 14px;
    }
    #popupKelulusan .popup-body {
        padding: 16px 14px 8px;
    }
    #popupKelulusan .cd-item {
        min-width: 48px;
        padding: 6px 8px;
    }
    #popupKelulusan .cd-item span:first-child {
        font-size: 18px !important;
    }
    #popupKelulusan .popup-footer {
        padding: 0 14px 16px;
    }
    #popupKelulusan .popup-footer button {
        font-size: 13px;
        padding: 9px 12px;
    }
    .peg-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .slide { height: 340px; }
    .slide-content { padding: 1.5rem 1.5rem; }
    .slide-title { font-size: 1.6rem; }
    .slide-desc { font-size: 13px; }
    /* Foto: 2 kolom di mobile, featured 2 kolom */
    .foto-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .foto-item.featured {
        grid-column: span 2;
        min-height: 140px;
    }
    
    /* Video: 1 kolom di mobile */
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    /* Featured video jadi vertikal di mobile */
    .video-featured {
        grid-column: span 1;
        flex-direction: column;
    }
    
    .video-featured .video-thumb {
        width: 100%;
        min-width: unset;
        height: auto;
        aspect-ratio: 16 / 9;
    }
}

/* ================================================
   RESPONSIVE — max 768px
   ================================================ */
@media (max-width: 768px) {
    .bg_det_ormas {
        padding: 28px 24px;
    }
    .kop-surat {
        flex-direction: column;
        gap: 10px;
    }
    .kop-surat img {
        width: 56px;
        height: 56px;
    }
    .kop-surat-text .nama-sekolah {
        font-size: 15px;
    }
    .col-sm-2.text_left {
        min-width: 130px;
        max-width: 130px;
    }
    [line="ket_lulusan"] {
        font-size: 22px !important;
        padding: 12px;
        letter-spacing: 1px;
    }
    .ttd-section {
        justify-content: center;
    }
    .vp-layout { grid-template-columns: 1fr; }
    .vp-hero { height: 200px; }
    .vp-title { font-size: 15px; }
    .vp-nav { grid-template-columns: 1fr; }
    .lp-layout { grid-template-columns: 1fr; }
    .lp-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================
   RESPONSIVE — max 480px
   ================================================ */
@media (max-width: 480px) {
    .bg_det_ormas {
        padding: 20px 16px;
        border-top-width: 4px;
    }
    .view_text {
        flex-direction: column;
        gap: 2px;
        padding: 8px 0 !important;
    }
    .col-sm-2.text_left {
        min-width: 100%;
        max-width: 100%;
        font-style: normal;
        color: #777;
        font-size: 12px;
    }
    .col-sm-10.text_left {
        font-size: 14px;
    }
    [line="ket_lulusan"] {
        font-size: 18px !important;
        letter-spacing: 0.5px;
    }
    .kop-surat-text .nama-sekolah {
        font-size: 14px;
    }
    .ttd-box .ttd-kota {
        margin-bottom: 50px;
    }
    .lp-grid { grid-template-columns: 1fr; }
    .foto-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
        padding: 6px;
    }
    
    .play-btn {
        width: 34px;
        height: 34px;
    }
    
    .play-btn svg {
        width: 13px;
        height: 13px;
    }
}

/* ── Mobile kecil (max 360px) ── */
@media (max-width: 360px) {
    #popupKelulusan .popup-header {
        padding: 12px 14px;
    }
    #popupKelulusan .popup-list-box li {
        font-size: 12px;
    }
    #popupKelulusan .cd-item {
        min-width: 40px;
    }
    #popupKelulusan .cd-item span:first-child {
        font-size: 16px !important;
    }
}

@media (max-width: 640px) {
  .topbar { height: 60px; padding: 0 16px; }
  .topbar-text-main { font-size: 13px; }
  .topbar-nav, .topbar-action { display: none; }
  .hamburger { display: block; }

  .hero { height: 300px; }
  .hero-slide { padding: 0 24px; }
  .hero-content h1 { font-size: 26px; }
  .hero-btns { gap: 8px; }
  .hero-dots { left: 24px; }

  .stats-strip { grid-template-columns: 1fr; gap: 10px; }
  .action-strip { gap: 8px; }
  .action-btn-inner { padding: 14px 12px; gap: 10px; }
  .action-btn-text { font-size: 12px; }
  .action-btn-sub { display: none; }

  .news-featured-wrap { grid-template-columns: 1fr; }
  .news-featured { border-right: none; border-bottom: 1px solid var(--border); }

  .two-col { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
  .wrapper { padding: 20px 14px; }
  .news-content-left {padding-right: 0;}
  .news-content-right {padding-left: 0;}
  .mb-news {margin-bottom: 1.5rem !important;}

  .hero-fab-group {
    bottom: 10px;
    right: 16px;
    flex-direction: column;
    gap: 10px;
  }

  .hero-fab {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 12px;       /* kotak membulat */
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  }

  .hero-fab i {
    font-size: 20px;
  }

  /* Sembunyikan teks label di mobile */
  .fab-label {
    display: none;
  }
  .hero { padding: 2rem 1rem 4rem; }
.hero-stats { gap: 1rem; flex-wrap: wrap; justify-content: center; }
.grid { grid-template-columns: 1fr; }
.main { padding: 1.5rem 1rem 3rem; }
}
@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { display: none; }
  .hero-slide { padding: 0 40px; }
}
@media (max-width: 991px) {
	.slider-area { width: 100%; }
	.promo-panel { width: 100%; margin-top:12px; }
	.promo-inner { flex-direction: column; padding: 12px; }
	.badge-disc { left:12px; top:16px; transform: none; }
	.promo-card { padding:8px; }
}

/* Agar dropdown terbuka saat hover */
@media (min-width: 992px) {
	.navbar .nav-item.dropdown:hover .dropdown-menu {
		display: block;
	}
}