/* Base theme styles, moved from an inline <style> block in header.php so browsers can cache them. */
#primary-content {
	background: #333;
}

.img-hover-zoom {
/* height: 110%; [1.1] Set it as per your need */
overflow: hidden; /* [1.2] Hide the overflowing of child elements */
/* shadow: 3px 3px 3px #000; */
cursor: pointer;
}

.img-hover-zoom img {
transition: transform .5s ease;
}

.img-hover-zoom:hover img {
transform: scale(1.04);
}

.out-text-shadow {
	text-shadow: 2px 2px 2px #000
}

.rounded-2 > img {
	border-radius:20px !important;
}
.footer-bar {
	background-color: #022043;
}

/* Slideshow Container */
#background-slideshow {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	z-index: -5;
	overflow: hidden;
	background-color: #333; /* Fallback color */
}

/* Individual Slide */
.bg-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 1.5s ease-in-out; /* Smooth Transition */
	filter: brightness(60%); /* Gelapkan gambar agar teks terbaca */
}

/* Active Slide */
.bg-slide.active {
	opacity: 1;
	transform: scale(1.05); /* Sedikit zoom effect (Ken Burns) */
	transition: opacity 1.5s ease-in-out, transform 6s linear;
}
        
        /* Reset zoom saat tidak aktif agar animasi ulang dari awal */
        .bg-slide:not(.active) {
            transform: scale(1);
            transition: opacity 1.5s ease-in-out, transform 0s;
        }

.modal-dialog {
	min-width: 60vw;
	margin: 1.75rem auto;
}

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  padding: 10px;
  border-radius: 35px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
  z-index: 9999;
}

.whatsapp-icon {
  width: 35px;
  height: 35px;
  transition: transform 0.3s ease-in-out;
}

.whatsapp-text {
  margin-left: 10px;
  display: none; /* Teks disembunyikan secara default */
  color: white;
  font-weight: 500;
  font-size: 14px;
  transition: transform 0.3s ease; /* Menambahkan transisi pada posisi teks */
}

.whatsapp-button:hover .whatsapp-icon {
  transform: scale(1.1); /* Sedikit memperbesar ikon saat hover */
}

.whatsapp-button:hover .whatsapp-text {
  display: block; /* Menampilkan teks saat hover pada ikon */
  transform: translateX(0); /* Menggerakkan teks kembali ke posisi semula */
}

.whatsapp-button:hover {
  background-color: #128c7e; /* Ganti warna tombol saat hover */
}

.whatsapp-button .whatsapp-text {
  transform: translateX(20px); /* Posisi teks agak terletak ke kanan secara default */
}

/* The widget icon is a green logo on a green button: render it white so it is visible. */
.whatsapp-button img {
  filter: brightness(0) invert(1);
}




.shop {
position: relative;
overflow: hidden;
margin: 15px 0px;
}

.shop:before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0.9000000000000001px;
	width: 60%;
	background: #d10000;
	opacity: 0.5;
	-webkit-transform: skewX(-45deg);
	-ms-transform: skewX(-45deg);
	transform: skewX(-45deg);
}

.shop:after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 1px;
	width: 100%;
	background: #d10000;
	opacity: 0.5;
	-webkit-transform: skewX(-45deg) translateX(-100%);
	-ms-transform: skewX(-45deg) translateX(-100%);
	transform: skewX(-45deg) translateX(-100%);
}

.shop .shop-img {
	position: relative;
}

.logobpu {
	position: absolute;
	bottom: 8px;
	right: 16px;
}

.shop .shop-img>img {
	filter: brightness(50%);
	width: 100%;
	-webkit-transition: 0.2s all;
	transition: 0.2s all;
}

.shop:hover .shop-img>img {
	-webkit-transform: scale(1.1);
	-ms-transform: scale(1.1);
	transform: scale(1.1);
}

.shop .shop-body {
	position: absolute;
	top: 0;
	width: 75%;
	padding: 30px;
	z-index: 10;
}

.shop .shop-body h3 {
	color: #fff;
	font-weight:900;
	-webkit-text-stroke: .1px #000;

}

.shop .shop-body .cta-btn {
	color: #fff;
	text-transform: uppercase;
}

.card-cover {
	backdrop-filter: brightness(50%);
}
.card {
	background-color: rgba(245, 245, 245, 0.5);
}
.card-text {
	opacity: 1;
}

.latestpost-title {
	font-size: 13px;
	text-decoration: none;
}
.latestpost-permalink {
	text-decoration: none;
}

.latestpost-img {
	width: 360px;
}

.latestpost-img img {
	width: 25vw;
	height: 21vw;
	aspect-ratio: 1.5 / 1;
	/* defining the aspect ratio of the image */
	object-fit: cover;
	/* making sure the image isn't distorted */
}

.image-ltnews {
	width: 260px;
}

.image-ltnews img {
	width: 10vw;
	height: 8w;
	aspect-ratio: 1.2 / 1;
	/* defining the aspect ratio of the image */
	object-fit: cover;
	/* making sure the image isn't distorted */
}

.wp-block-latest-posts ul {
	--icon-space: 1.3em;
	list-style: none;
	padding: 0;
}

.wp-block-latest-posts ul li {
	padding-left: var(--icon-space);
}
.wp-block-latest-posts ul li:before {
	content: "\f00c";
	/* FontAwesome Unicode */
	font-family: FontAwesome;
	display: inline-block;
	margin-left: calc(var(--icon-space) * -1);
	width: var(--icon-space);
}
.wp-block-latest-posts ul li a {
	text-decoration: none;

}

.wp-block-latest-posts__list img {
	width: 150px; /* Sesuaikan dengan ukuran yang diinginkan */
	height: 200px; /* Sesuaikan dengan ukuran yang diinginkan */
	object-fit: cover; /* Memastikan gambar terisi penuh tanpa distorsi */
	border-radius: 5px; /* Opsional: tambahkan border-radius jika diperlukan */
}

