.carousel-custom {
	max-height: calc(80vh - 68px);
	overflow: hidden;
}
/* Hero section */
.hero-title {
	font-size: 46px;
	margin-bottom: 1rem;
}

.hero-subtitle {
	font-size: 16px;
	margin-bottom: 0.5rem;
	margin-top: 0.5rem;
}

.logo {
	max-height: 120px;
}
.lay-lt {
	top: 20%;
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
}

.scroll-hide {
	overflow-x: auto;
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* IE 10+ */
}

.scroll-hide::-webkit-scrollbar {
	display: none; /* Chrome, Safari, Opera */
}

.bg-green {
	background-color: #16423c;
}

.color-green {
	color: #16423c;
}

.color-gold {
	color: rgb(236, 214, 153);
}

/* Navbar hover & active */
.navbar-nav .nav-link:hover {
	color: #fff !important;
	background-color: #16423c;
	border-radius: 0.5rem;
	transition: 0.2s;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:focus {
	color: #fff !important;
	background-color: #16423c;
	border-radius: 0.5rem;
}

/* Responsive adjustments */

/* Large desktop */
@media (max-width: 1300px) {
	.lay-lt {
		top: 20%;
	}
	.hero-title {
		font-size: 40px;
	}
	.hero-subtitle {
		font-size: 16px;
	}
}

/* Galeri & Berita: ukuran gambar seragam dan overlay hover */
.galeri-card-img,
.card-img-top {
	width: 100%;
	height: 180px; /* atur tinggi sesuai kebutuhan */
	object-fit: cover;
	border-radius: 0.5rem 0.5rem 0 0;
	transition: 0.3s;
	position: relative;
}

.galeri-card,
.card.berita-card {
	position: relative;
	overflow: hidden;
}

.galeri-overlay,
.berita-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(22, 66, 60, 0.7);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: 0.3s;
	font-size: 1.1rem;
	cursor: pointer;
}

.galeri-card:hover .galeri-overlay,
.card.berita-card:hover .berita-overlay {
	opacity: 1;
}
	.logo-bgn-fix, .logo-taniraya-fix {
        height: 100px !important;
        top: 6px !important;
    }

/* Tablet landscape */
@media (max-width: 985px) {
	.logo {
		max-height: 100px;
	}
	.lay-lt {
		top: 20%;
	}
	.hero-title {
		font-size: 35px;
	}
	.hero-subtitle {
		font-size: 14px;
	}
	.navbar-nav .nav-link {
		padding-left: 1.5rem !important;
		padding-right: 1rem !important;
		margin-left: 0.5rem;
		margin-right: 0.5rem;
	}

	.logo-bgn-fix, .logo-taniraya-fix {
        height: 80px !important;
        top: 6px !important;
    }

/* Tablet portrait */
@media (max-width: 850px) {
	.lay-lt {
		top: 15%;
	}
	.hero-title {
		font-size: 30px;
		margin-top: 5px;
	}
	.hero-subtitle {
		font-size: 12px;
	}

		.logo-bgn-fix, .logo-taniraya-fix {
        height: 70px !important;
        top: 6px !important;
    }
}

/* Tablet & small devices */
@media (max-width: 768px) {
	.lay-lt {
		top: 10%;
	}
	.logo {
		max-height: 80px;
	}
	.hero-title {
		font-size: 22px;
		margin-top: 20px;
	}
	.hero-subtitle {
		font-size: 11px;
	}
		.logo-bgn-fix, .logo-taniraya-fix {
        height: 60px !important;
        top: 6px !important;
    }
}

/* Small mobile */
@media (max-width: 511px) {
	.lay-lt {
		top: 20%;
		padding-top: 0.3rem !important;
		padding-bottom: 0.3rem !important;
	}
	.logo {
		max-height: 50px;
	}
	.hero-title {
		font-size: 16px;
		margin-bottom: 0.2rem !important;
	}
	.hero-subtitle {
		font-size: 8px;
		margin-bottom: 0.2rem !important;
		margin-top: 0.2rem !important;
	}
	.lay-lt .mb-3 {
		margin-bottom: 0.2rem !important;
	}
	.lay-lt .gap-4 {
		gap: 0.2rem !important;
	}
	.lay-lt small.hero-subtitle {
		margin-top: 0.1rem !important;
	}

	.logo-bgn-fix, .logo-taniraya-fix {
        height: 50px !important;
        top: 6px !important;
    }
	
}

/* Extra small mobile */
@media (max-width: 480px) {
	.lay-lt {
		top: 25% !important;
		padding-top: 0.2rem !important;
		padding-bottom: 0.2rem !important;
	}
	.logo {
		max-height: 36px;
	}
	.hero-title {
		font-size: 12px;
		margin-bottom: 0.1rem !important;
	}
	.hero-subtitle {
		font-size: 6px;
		margin-bottom: 0.1rem !important;
		margin-top: 0.1rem !important;
	}
	.lay-lt .mb-3 {
		margin-bottom: 0.1rem !important;
	}
	.lay-lt .gap-4 {
		gap: 0.1rem !important;
	}
	.lay-lt small.hero-subtitle {
		margin-top: 0.05rem !important;
	}
	.lay-lt * {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}

		.logo-bgn-fix, .logo-taniraya-fix {
        height: 45px !important;
        top: 6px !important;
    }
}

/* Super small device */
@media (max-width: 323px) {
	/* .logo {
		max-height: 24px;
	} */
	.lay-lt {
		top: 0%;
	}
	.hero-title {
		font-size: 10px;
		margin-top: -20px !important;
	}
	.hero-subtitle {
		font-size: 4px;
	}

		.logo-bgn-fix, .logo-taniraya-fix {
        height: 30px !important;
        top: 6px !important;
    }
}
}