:root {
	--primary-color: #00AA9B;
	--dark-color: #172333;
	--light-bg: #f8f9fa;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Inter', sans-serif;
}

body {
	background: var(--light-bg);
	color: var(--dark-color);
	overflow-x: hidden;
}

/* ================= HEADER ================= */

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 15px 8%;
    background: linear-gradient(90deg,
            rgba(0, 162, 214, 0.95),
            rgba(52, 204, 103, 0.95));
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
}

/* ===== HAMBURGER BUTTON ===== */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    position: relative;
    z-index: 10001;  /* Lebih tinggi dari apapun */
    width: 30px;      /* Kasih lebar biar gampang diklik */
    height: 25px;     /* Kasih tinggi */
    justify-content: center;
    align-items: center;
    pointer-events: auto;  /* Pastikan bisa diklik */
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;  /* Pastikan span muncul */
}

/* animasi jadi X */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

html,
body {
	overflow-x: hidden;
}

img {
	max-width: 100%;
	height: auto;
}

.logo-container {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
}

.logo-container img {
	height: 45px;
	width: auto;
}

.logo-container span {
	color: #ffffff;
	font-weight: 800;
	text-shadow: 0 2px 6px rgba(255, 255, 255, 0.3);
}

/* ================= NAVBAR ================= */
.navbar {
	display: flex;
	list-style: none;
	gap: 20px;
	margin-bottom: 0;
	margin-left: auto; /* ⬅️ TAMBAHKAN INI */
}


.navbar li {
	position: relative;
}

.navbar a {
	text-decoration: none;
	color: #ffffff;
	font-weight: 600;
	font-size: 0.85rem;
	padding: 10px 0;
	display: block;
	transition: 0.3s;
}

.navbar a:hover {
	color: #f1f1f1;
	opacity: 0.85;
}

/* ================= SUBMENU ================= */
.submenu {
	position: absolute;
	top: 95%;
	left: 0;

	background: linear-gradient(135deg,
			rgba(0,142,214,0.85),
			rgba(52,204,103,0.9));
	backdrop-filter: blur(10px);
	min-width: 240px;
	list-style: none;
	padding: 15px 0;
	border-radius: 14px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.2);
	z-index: 1100;

	opacity: 0;
	visibility: hidden;
	transform: translateY(0);
	
	transition: all .25s ease;
}

/* HOVER HANYA UNTUK DESKTOP */
@media (min-width:1201px) {

    .submenu {
        position: absolute;
    }

    .navbar li:hover > .submenu,
.submenu:hover {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}


}

.submenu li a {
	padding: 10px 25px;
	font-size: 0.85rem;
	color: #fff;
}

.submenu li a:hover {
	background-color: rgba(255, 255, 255, 0.15);
	padding-left: 30px;
}

@keyframes fadeInMenu {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ================= HERO ================= */
.home {
	padding: 160px 8% 90px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 60px;
	min-height: 100vh;

	background: 
		linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7)),
		url('../../image/Bg.jpeg');
	background-size: cover;
	background-position: center;
}


.home-text {
	max-width: 600px;
	animation: fadeUp 0.8s ease;
	margin-top: 20px;
}


@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.home-text h1 {
	font-size: 3.5rem;
	line-height: 1.1;
	margin-bottom: 20px;
	font-weight: 800;
	color: #00AA9B;
	/* primary kamu */
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.home-text p {
	font-size: 1.1rem;
	line-height: 1.8;
	margin-bottom: 30px;
	color: #555;
}

.btn-main {
	display: inline-block;
	padding: 15px 35px;
	background: var(--primary-color);
	color: white;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 700;
	box-shadow: 0 4px 15px rgba(0, 170, 155, 0.3);
	transition: 0.3s;
}

.btn-main:hover {
	transform: translateY(-3px);
	background: #008c7f;
	box-shadow: 0 8px 25px rgba(0, 170, 155, 0.4);
}

.home-img img {
    width: 100%;
    max-width: 266px; /* ukuran ideal */
    height: auto;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-20px);
	}
}

/* ================= RESPONSIVE ================= */
/* ================= TABLET (≤992px) ================= */
/* ================= RESPONSIVE ================= */
/* ================= TABLET (≤992px) ================= */
@media (max-width: 1200px) {
    header {
        padding: 12px 20px;
        position: fixed;
        backdrop-filter: blur(8px);
        z-index: 9999;
    }

    .logo-container {
        position: relative;
        z-index: 10001;
    }

    .logo-container img {
        height: 38px;
    }

    /* HAMBURGER kanan - PERBAIKAN */
   .menu-toggle {
    display: flex !important;
    position: fixed;   /* penting */
    right: 20px;
    top: 18px;         /* posisikan di header */
    z-index: 10002;
    background: transparent;
    border: none;
    cursor: pointer;
}


    /* NAVBAR jadi dropdown */
    .navbar {
    display: flex;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    
    background: linear-gradient(135deg, #00a2d6, #34cc67);
    
    flex-direction: column;

    transform: translateY(-120%);
    transition: transform 0.35s ease;

    z-index: 9998;
}

.navbar.active {
    transform: translateY(0);
}


    .navbar li {
        width: 100%;
        text-align: center;
        position: relative;
        margin: 0;
        padding: 0;
    }

    .navbar a {
        padding: 15px 25px;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .navbar a i {
        font-size: 1.1rem !important;
        margin-left: 8px !important;
        transition: transform 0.3s ease !important;
    }

    .navbar li.active > a i {
        transform: rotate(180deg) !important;
    }
    
    .navbar > li {
        margin: 0 !important;
        padding: 0 !important;
        width: 100%;
    }
    
    .navbar > li > a {
        padding: 9px 20px !important;  /* Perkecil padding */
        margin: 0 !important;
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }
    
    .navbar > li:last-child > a {
        border-bottom: none !important;
    }

    /* SUBMENU styling untuk mobile */
    /* SUBMENU styling untuk mobile */
.submenu{
    position: static;
    width: 100%;
    background: rgba(0,0,0,0.25);
    box-shadow: none;
    border-radius: 0;
    padding: 0;

    /* Pastikan selalu visible secara CSS */
    opacity: 1;
    visibility: visible;

    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;

    pointer-events: none; /* cegah flicker */
}

/* Saat aktif (dibuka) */
.navbar li.active > .submenu{
    max-height: 800px;
    pointer-events: auto; /* bisa diklik */
}

/* Nonaktifkan sistem hover di mobile TANPA pakai display:none */
    @media (max-width:1200px){

    .navbar li:hover > .submenu{
        opacity: 1;
        visibility: visible;
    }

    .navbar li.active > .submenu{
        max-height: 800px;
    }

    .submenu li {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
    }

} /* ⬅️ Tutup SEKALI di sini */


    .submenu li a {
    display: block !important;
    padding: 10px 20px 10px 40px !important;
    margin: 0 !important;
    font-size: 0.85rem !important;
    font-weight: 400 !important;
    text-align: left !important;
    text-decoration: none !important;
    color: white !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.4 !important;
    overflow: visible !important;
    text-overflow: clip !important;
    height: auto !important;
    min-height: auto !important;
    position: relative !important;

    transition: background 0.2s ease !important; /* HANYA background */
}

    
    .submenu li a::before {
    
    font-size: 0.9rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    }
    
   
    }

    
    .submenu li:last-child a {
        border-bottom: none !important;
    }

    .submenu li a:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        padding-left: 45px;
        color: white;
    }

    
    
    .navbar li.active > a i {
        transform: rotate(180deg);
    }
    
    /* Hilangkan transisi yang mungkin mengganggu */
    .navbar, .navbar li {
        transition: none;
    }
    
  
    }
}



/* =========================
   LATEST NEWS SECTION
========================= */

.latest-news {
	padding: 180px 0 100px; /* ⬅️ hilangkan padding kiri kanan */
	background-color: #ffffff;
}

/* ⬅️ TAMBAHKAN INI */
.latest-news .container,
.latest-news .row {
	padding-left: 60px;
	padding-right: 60px;
}



/* HEADER */
.news-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 40px;
	flex-wrap: wrap;

	padding-left: 30px;  /* ⬅️ tambah jarak kiri */
	padding-top: 20px;   /* ⬅️ tambah jarak atas */
}

.news-header h6 {
	margin-bottom: 8px;
	letter-spacing: 2px;
	color: #6c757d;
}

.latest-news > .news-header {
	padding-right: 30px;
}

@media (min-width: 993px) {
	.latest-news > .news-header .btn {
		margin-right: 90px;
	}
}

.news-header h2 {
	margin-top: 0;
	line-height: 1.3;
}


/* Responsif: Jika layar mengecil (Tablet), jadi 2 kolom atau 1 kolom */
@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}


.news-header h2 {
	font-size: 2.3rem;
	font-weight: 800;
	color: var(--dark-color);
	margin-bottom: 0;
}

.news-header h2 span {
	color: var(--primary-color);
}

.news-header .btn {
	border-color: var(--primary-color);
	color: var(--primary-color);
}

.news-header .btn:hover {
	background: var(--primary-color);
	color: white;
}


/* CARD */
.news-card {
    margin-bottom: 0px;
	background-color: #fff;
	border-radius: 15px;
	overflow: hidden;
	height: 100%;
	border: 1px solid #eee;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
	transition: all 0.4s ease;
}

.news-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(0, 170, 155, 0.15);
}

/* IMAGE */
.news-img {
	height: 230px;
	width: 100%;
	overflow: hidden;
	position: relative;
}

.news-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.news-card:hover .news-img img {
	transform: scale(1.1);
}

/* BADGE */
.news-badge {
	position: absolute;
	top: 15px;
	left: 15px;
	background-color: var(--primary-color);
	color: #fff;
	padding: 5px 15px;
	border-radius: 50px;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.5px;
}

/* CONTENT */
.news-content {
	padding: 20px;
}

.news-date {
	display: block;
	font-size: 0.8rem;
	color: #888;
	margin-bottom: 10px;
}

.news-content h4 {
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.4;
	margin-bottom: 15px;
	color: var(--dark-color);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-content p {
	font-size: 0.9rem;
	color: #666;
	line-height: 1.6;
	margin-bottom: 20px;
}

/* LINK */
.news-link {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--primary-color);
	display: inline-flex;
	align-items: center;
	gap: 5px;
	transition: 0.3s;
}

.news-link i {
	font-size: 1.1rem;
	transition: transform 0.3s;
}

.news-card:hover .news-link i {
	transform: translateX(5px);
}


/* =========================
   FOOTER
========================= */

.footer {
	background: linear-gradient(135deg, #008ed6, #34cc67);
	color: #e5f5f0;
	padding: 70px 8% 40px;
	font-size: 0.9rem;
}

/* GRID */
.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 40px;
}

/* BOX */
.footer-box h2 {
	font-size: 1.2rem;
	font-weight: 800;
	margin-bottom: 20px;
	color: #ffffff;
	position: relative;
}

.footer-box h2::after {
	content: "";
	width: 50px;
	height: 3px;
	background: #2ecc71;
	display: block;
	margin-top: 10px;
	border-radius: 3px;
}

/* TEXT */
.footer-box p {
	line-height: 1.8;
	color: #d1eae2;
}

.footer-box strong {
	color: #ffffff;
	font-weight: 700;
}

/* SOCIAL */
.footer .social {
	display: flex;
	gap: 15px;
	margin-top: 20px;
}

.footer .social a {
	width: 42px;
	height: 42px;
	background-color: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	font-size: 1.2rem;
	transition: all 0.3s ease;
}

.footer .social a:hover {
	background-color: #2ecc71;
	color: #0a2e22;
	transform: translateY(-5px);
}

/* LINKS */
.footer a {
	color: #7fd8be;
	transition: 0.3s;
}

.footer a:hover {
	color: #2ecc71;
	text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {
	#cluster-berita .row {
		flex-direction: column;
	}

	.list-news-item {
		align-items: flex-start;
	}

	.list-news-img {
		width: 70px;
		height: 70px;
	}

	.cluster-title {
		font-size: 1.05rem;
	}
}

/* =========================
   FOOTER MAP
========================= */

.footer-map {
	width: 100%;
	height: 220px;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
	border: 2px solid rgba(255, 255, 255, 0.15);
	margin-bottom: 15px;
}

.footer-map iframe {
	width: 100%;
	height: 100%;
	border: 0;
	filter: grayscale(15%) contrast(1.1);
}

/* BUTTON MAP */
.map-btn {
	display: inline-block;
	padding: 8px 18px;
	border-radius: 50px;
	background: rgba(255, 255, 255, 0.15);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.4);
	font-size: 0.8rem;
	font-weight: 700;
	text-decoration: none;
	transition: 0.3s;
}

.map-btn:hover {
	background: #ffffff;
	color: #00AA9B;
	transform: translateY(-3px);
}

/* FOOTER LINK */
.footer-link {
	color: #7fd8be;
	font-weight: 700;
	text-decoration: none;
}

.footer-link:hover {
	color: #2ecc71;
	text-decoration: underline;
}

/* --- SOSIAL MEDIA (GAYA REFERENSI KEDUA / FORE COFFEE) --- */
.sosmed-section {
	padding: 0;
	text-align: center;
	background: #fff;
	width: 100%;
	overflow: hidden;
}

.sosmed-header-bg {
	background: linear-gradient(90deg, #00a2d6, #34cc67);
	padding: 80px 20px;
	text-align: center;
}

.follow-text {
	color: #00AA9B;
	font-weight: 600;
	font-size: 0.9rem;
	margin-bottom: 5px;
	display: block;
}

.sosmed-username {
	font-size: clamp(2.25rem, 6vw, 4.25rem);
	font-weight: 800;
	margin-bottom: 15px;
	letter-spacing: 0;
	word-wrap: break-word;
	color: #fff;
}

.btn-follow-ig {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 20px;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.78rem;
	margin-bottom: 40px;

	background: #fff;
	color: #00a2d6;
	/* teks biru (atau bebas) */
	border: none;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
	transition: 0.3s;
}


.insta-container {
	max-width: 100%;
	margin: 0 auto;
	padding: 4px;
	/* Space minimal luar */
}

.insta-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 4px;
	/* Gap tipis konsisten seperti Fore Coffee */
	width: 100%;
}

.insta-item {
	position: relative;
	aspect-ratio: 1/1;
	overflow: hidden;
	background: #eee;
	border-radius: 0px;
	/* Tanpa lengkungan agar rapat */
}

.insta-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: 0.5s ease;
}

.insta-item:hover img {
	transform: scale(1.08);
	filter: brightness(0.8);
}

.insta-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 18px;
	color: #ffffff;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.72));
	opacity: 0;
	transition: opacity .3s ease;
	text-align: center;
}

.insta-overlay i {
	font-size: 2.2rem;
}

.insta-overlay small {
	max-width: 90%;
	font-weight: 700;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.insta-item:hover .insta-overlay {
	opacity: 1;
}

.insta-empty {
	padding: 48px 18px;
	text-align: center;
	background: #f8fafc;
	color: var(--dark-color);
}

.insta-empty i {
	font-size: 3rem;
	color: var(--primary-color);
	margin-bottom: 12px;
}

.insta-empty h5 {
	font-weight: 800;
	margin-bottom: 8px;
}

.insta-empty p {
	color: var(--light-text);
	margin-bottom: 0;
}

@media (max-width: 992px) {
	.sosmed-username {
		font-size: clamp(2.1rem, 8vw, 3.6rem);
	}

	.btn-follow-ig {
		padding: 6px 16px;
		font-size: 0.72rem;
		margin-bottom: 30px;
	}

	.insta-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 3px;
	}
}

@media (max-width: 576px) {
	.sosmed-header-bg {
		padding: 58px 14px;
	}

	.sosmed-username {
		font-size: clamp(1.85rem, 9vw, 2.7rem);
		margin-bottom: 12px;
	}

	.btn-follow-ig {
		padding: 6px 14px;
		font-size: 0.68rem;
		margin-bottom: 24px;
	}

	.insta-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 3px;
	}

	.insta-overlay {
		padding: 8px;
	}

	.insta-overlay i {
		font-size: 1.35rem;
	}

	.insta-overlay small {
		font-size: 0.64rem;
		line-height: 1.25;
		-webkit-line-clamp: 2;
	}
}


/* --- CONTENT STYLE --- */
.page-header {
	padding: 60px 0;
	background: white;
	border-bottom: 1px solid #eee;
}

.cluster-title {
	font-weight: 800;
	font-size: 1.2rem;
	margin-bottom: 25px;
	padding-left: 15px;
	border-left: 5px solid var(--primary-color);
}

.list-news-item {
	background: white;
	border-radius: 15px;
	padding: 15px;
	border: 1px solid #f1f5f9;
	margin-bottom: 15px;
	transition: 0.3s;
	display: flex;
	gap: 15px;
	align-items: center;
	text-decoration: none;
}

.list-news-item:hover {
	transform: scale(1.02);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.list-news-img {
	width: 80px;
	height: 80px;
	border-radius: 10px;
	object-fit: cover;
}

.list-news-content h6 {
	font-weight: 700;
	margin-bottom: 5px;
	font-size: 0.95rem;
	color: var(--dark-navy);
}

.list-news-content span {
	font-size: 0.75rem;
	color: var(--light-text);
}

.list-news-item h6 {
	color: #212529;
	/* hitam Bootstrap */
	font-weight: 600;
}

.list-news-item:hover h6 {
	color: #198754;
	/* hijau halus (opsional saat hover) */
	transition: 0.2s ease-in-out;
}

.btn-back-inline {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 25px;
	padding: 0;
	border: 0;
	border-radius: 0;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
	color: var(--dark-color);
	background: transparent;
	transition: 0.25s;
}

.btn-back-inline:hover {
	background: transparent;
	color: var(--primary-color);
	transform: translateX(-3px);
}

.btn-search {
	background: #00AA9B;
	color: white;
	border: none;
	border-radius: 10px;
	font-weight: 700;
	transition: 0.3s;
}

.btn-search:hover {
	background: #008c7f;
}

.form-control,
.form-select {
	border-radius: 10px;
	border: 1px solid #e5e7eb;
	padding: 10px 14px;
}

.form-control:focus,
.form-select:focus {
	border-color: #00AA9B;
	box-shadow: 0 0 0 0.2rem rgba(0, 170, 155, 0.15);
}

/* =========================
   MEDIA INFORMASI PAGE
========================= */

.media-info-page {
	background: #ffffff;
	padding-top: 104px;
}

.media-info-section {
	padding: 36px 0 82px;
}

.media-info-page .container {
	max-width: 1180px;
}

.media-info-topbar {
	margin-bottom: 20px;
}

.media-info-page .btn-back-inline {
	justify-content: flex-start;
	min-height: auto;
	padding: 0;
	border: 0;
	border-radius: 0;
	color: var(--dark-color);
	background: transparent;
	font-weight: 700;
	box-shadow: none;
}

.media-info-page .btn-back-inline:hover {
	color: var(--primary-color);
	background: transparent;
	transform: translateX(-3px);
}

.media-info-filter {
	align-items: stretch;
	padding: 18px;
	margin-bottom: 34px;
	background: #f8fafc;
	border: 1px solid #eef2f6;
	border-radius: 18px;
}

.media-info-filter .form-control,
.media-info-filter .form-select,
.media-info-filter .btn-search {
	min-height: 46px;
}

.media-info-filter .form-control,
.media-info-filter .form-select {
	background-color: #ffffff;
	border-color: #dfe7ee;
	border-radius: 14px;
	font-size: 0.98rem;
}

.media-info-filter .btn-search {
	border-radius: 14px;
	font-size: 0.98rem;
}

.media-info-heading {
	padding: 0;
	margin-bottom: 28px;
}

.media-info-heading h6 {
	margin-bottom: 8px;
	letter-spacing: 2px;
	color: #6c757d;
}

.media-info-page .news-card {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.media-info-page .news-img {
	height: 224px;
}

.media-info-page .news-content {
	display: flex;
	flex: 1;
	flex-direction: column;
}

.media-info-page .news-content p {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.media-info-page .news-link {
	margin-top: auto;
}

.media-info-empty {
	padding: 54px 20px;
	text-align: center;
	background: #f8fafc;
	border: 1px dashed rgba(0, 170, 155, 0.25);
	border-radius: 20px;
}

.media-info-empty i {
	font-size: 3rem;
	color: var(--primary-color);
	margin-bottom: 12px;
}

.media-info-empty h5 {
	font-weight: 800;
	margin-bottom: 8px;
}

.media-info-empty p {
	margin-bottom: 0;
	color: #667085;
}

.media-info-pagination {
	margin-top: 44px;
	text-align: center;
}

.media-info-pagination .pagination {
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 0;
}

.media-info-pagination a,
.media-info-pagination strong {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 13px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 700;
}

.media-info-pagination a {
	color: var(--primary-color);
	background: #ffffff;
	border: 1px solid rgba(0, 170, 155, 0.22);
}

.media-info-pagination strong {
	color: #ffffff;
	background: var(--primary-color);
	border: 1px solid var(--primary-color);
}

@media (max-width: 992px) {
	.media-info-page {
		padding-top: 84px;
	}

	.media-info-section {
		padding: 28px 0 58px;
	}

	.media-info-page .container {
		padding-left: 22px;
		padding-right: 22px;
	}

	.media-info-filter {
		padding: 16px;
		margin-bottom: 28px;
		border-radius: 16px;
	}

	.media-info-heading {
		margin-bottom: 24px;
	}

	.media-info-heading h2 {
		font-size: 2rem;
	}

	.media-info-page .news-img {
		height: 210px;
	}
}

@media (max-width: 576px) {
	.media-info-page {
		padding-top: 74px;
	}

	.media-info-section {
		padding: 20px 0 42px;
	}

	.media-info-page .container {
		padding-left: 16px;
		padding-right: 16px;
	}

	.media-info-topbar {
		margin-bottom: 16px;
	}

	.media-info-page .btn-back-inline {
		width: auto;
		justify-content: flex-start;
		margin-bottom: 0;
		min-height: auto;
		font-size: 0.9rem;
	}

	.media-info-filter {
		gap: 14px;
		padding: 20px;
		margin-bottom: 24px;
		background: #f8fafc;
		border-radius: 18px;
	}

	.media-info-filter .form-control,
	.media-info-filter .form-select,
	.media-info-filter .btn-search {
		min-height: 56px;
		border-radius: 12px;
		font-size: 1rem;
	}

	.media-info-filter .btn-search {
		font-weight: 800;
	}

	.media-info-heading h6 {
		font-size: 0.76rem;
	}

	.media-info-heading h2 {
		font-size: 1.7rem;
	}

	.media-info-grid {
		--bs-gutter-y: .85rem;
	}

	.media-info-grid > [class*="col-"] {
		width: 100%;
	}

	.media-info-page .news-card {
		flex-direction: row;
		align-items: stretch;
		min-height: 118px;
		border-radius: 14px;
		box-shadow: none;
	}

	.media-info-page .news-img {
		order: 2;
		flex: 0 0 112px;
		width: 112px;
		height: auto;
		min-height: 118px;
		border-radius: 0 14px 14px 0;
	}

	.media-info-page .news-content {
		order: 1;
		min-width: 0;
		padding: 14px;
	}

	.media-info-page .news-date {
		margin-bottom: 6px;
		font-size: 0.72rem;
	}

	.media-info-page .news-content h4 {
		margin-bottom: 0;
		font-size: 0.92rem;
		line-height: 1.34;
		-webkit-line-clamp: 3;
	}

	.media-info-page .news-content p,
	.media-info-page .news-link,
	.media-info-page .news-badge {
		display: none;
	}

	.media-info-pagination {
		margin-top: 30px;
	}
}

@media (max-width: 992px) {
	.media-info-topbar {
		margin-bottom: 14px;
	}

	.media-info-page .btn-back-inline {
		width: auto;
		min-height: auto;
		justify-content: flex-start;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		color: #172333;
		font-size: 0.9rem;
		font-weight: 700;
	}

	.media-info-page .btn-back-inline:hover {
		color: var(--primary-color);
		background: transparent;
		transform: translateX(-3px);
	}

	.media-info-filter {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 42px;
		gap: 8px;
		padding: 0;
		margin-left: 0;
		margin-right: 0;
		margin-bottom: 22px;
		background: transparent;
		border: 0;
		border-radius: 0;
	}

	.media-info-filter > [class*="col-"] {
		width: auto;
		max-width: none;
		padding: 0;
	}

	.media-info-filter .form-control,
	.media-info-filter .form-select,
	.media-info-filter .btn-search {
		width: 100%;
		min-height: 40px;
		height: 40px;
		border-radius: 8px;
		font-size: 0.78rem;
	}

	.media-info-filter .form-control,
	.media-info-filter .form-select {
		padding: 7px 9px;
	}

	.media-info-filter .btn-search {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 0;
	}

	.media-info-filter .btn-search span {
		display: none;
	}

	.media-info-filter .btn-search i {
		display: block;
		font-size: 1.25rem;
	}

	.media-info-heading {
		display: none;
	}

	.media-info-grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px 12px;
		margin-left: 0;
		margin-right: 0;
	}

	.media-info-grid > [class*="col-"] {
		width: auto;
		max-width: none;
		padding: 0;
	}

	.media-info-page .news-card {
		flex-direction: column;
		min-height: 0;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		background: transparent;
	}

	.media-info-page .news-card:hover {
		transform: none;
		box-shadow: none;
	}

	.media-info-page .news-img {
		order: 1;
		flex: none;
		width: 100%;
		height: auto;
		min-height: 0;
		aspect-ratio: 1.35 / 1;
		border-radius: 10px;
	}

	.media-info-page .news-content {
		order: 2;
		padding: 9px 2px 0;
	}

	.media-info-page .news-date {
		margin-bottom: 5px;
		font-size: 0.68rem;
		color: #6c757d;
	}

	.media-info-page .news-content h4 {
		margin-bottom: 0;
		font-size: 0.8rem;
		line-height: 1.35;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.media-info-page .news-content p,
	.media-info-page .news-link,
	.media-info-page .news-badge {
		display: none;
	}
}



/* animasi jadi X */
.menu-toggle.active span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
	opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
	transform: rotate(-45deg) translate(6px, -6px);
}


/* ================= MOBILE HERO FIX ================= */

@media (max-width:768px){

.home{
    flex-direction: column;
    text-align: center;
    padding: 110px 20px 50px;
    gap: 25px;
    min-height: auto;
}

.home-text{
    max-width:100%;
    order: 1;
}

.home-text h1{
    font-size: clamp(1.8rem,6vw,2.2rem);
    line-height: 1.25;
    margin-bottom: 15px;
}

.home-text p{
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* tombol */
.btn-main{
    width: auto;
    max-width: 220px;
    padding: 10px 15px;
    font-size: 0.7rem;
}

/* logo hero */
.home-img{
    margin-top: 10px;
    order: 2;
}

.home-img img{
    width: 70%;
    max-width: 230px;
    opacity: 0.95;
    animation: none; /* hilangkan float di mobile */
}

.latest-news{
    padding:70px 20px;
    margin-top:10px;
}

/* header */
.news-header{
    flex-direction:column;
    align-items:flex-start;
    gap:15px;
    margin-left:0;
}

/* title kecil */
.news-header h6{
    font-size:0.8rem;
	letter-spacing:2px;
	color:#6c757d;
}

/* title utama */
.news-header h2{
    font-size:2.2rem;
    line-height:1.2;
}

.latest-news .row{
	margin-left: 10px;
	margin-right: 10px;
	row-gap: 40px;
}

/* tombol lihat semua */
.news-header .btn{
    width:100%;
	text-align:center;
	padding:10px 0;
	border-radius:30px;
}

/* card */
.news-card{
    border-radius:12px;
}

/* image */
.news-img{
    height:180px;
}

/* content */
.news-content{
    padding:18px;
}

/* judul berita */
.news-content h4{
    font-size:1rem;
}

/* ringkasan */
.news-content p{
    font-size:0.85rem;
    line-height:1.5;
}


}






