/*
Theme Name: Palapa Indonesia
Theme URI: https://palapaindonesia.org/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Themes for Palapa Indonesia only
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 7.2
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: palapaindonesia
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Open Sans", sans-serif;
  color: #222;
  overflow-x: hidden;
}

.font-oswald {
  font-family: "Oswald", sans-serif;
}

/* Kontainer Standar Header & Section */
.container-wwf {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;
}

/* ====================================================
   FIXED FLOATING BANNER CARDS & FOOTER STOPPER
   ==================================================== */
.fixed-floating-bottom-cards {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: 100%;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.fixed-floating-bottom-cards .banner-card {
  pointer-events: auto;
}

/* Kelas saat mencapai footer (card disembunyikan agar tidak menutupi footer) */
.fixed-floating-bottom-cards.footer-reached {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ====================================================
   2. HEADER STYLES
   ==================================================== */

.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 9990;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06); /* Efek bayangan tipis agar elegan saat menempel */
  transition: all 0.3s ease-in-out;
}

.main-bar {
  height: 100px;
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

.site-logo img {
  height: 80px;
  width: auto;
  display: block;
}

.main-navigation ul.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  height: 65px;
}

.main-navigation ul.nav-menu > li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.main-navigation ul.nav-menu > li > a {
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #000000;
  text-decoration: none;
  padding: 0 16px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.main-navigation ul.nav-menu > li > a:hover {
  color: #6a0d0d;
}

.main-navigation ul.nav-menu > li.menu-item-has-children > a::after {
  content: " \25BE";
  font-size: 11px;
  margin-left: 5px;
}

.main-navigation ul.nav-menu > li.menu-item-has-children > .sub-menu {
  position: absolute;
  top: 63px;
  left: 0;
  background: #ffffff;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15);
  display: none;
  min-width: 680px;
  padding: 25px 30px;
  list-style: none;
  border-top: 3px solid #000000;
  z-index: 10000;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
}

.main-navigation ul.nav-menu > li.menu-item-has-children:hover > .sub-menu {
  display: grid;
}

.sub-menu li a {
  font-size: 13px;
  color: #333;
  text-decoration: none;
  padding: 4px 0;
  display: block;
}

/* Header Right Menu */
.header-right-navigation {
  height: 65px;
}

.header-right-menu-list {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  height: 100px;
}

.header-right-menu-list > li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.header-right-menu-list > li > a {
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 0 22px;
  height: 65px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.header-right-menu-list > li:nth-child(1) > a {
  background-color: #000000;
  color: #ffffff;
}

.header-right-menu-list > li:nth-child(2) > a {
  background-color: #000000;
  color: #ffffff;
}

.header-right-menu-list > li.menu-item-has-children > a::after {
  content: " \203A";
  margin-left: 8px;
  font-size: 18px;
}

.header-right-menu-list > li .sub-menu {
  position: absolute;
  top: 83px;
  right: 0;
  min-width: 340px;
  background: #ffffff;
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
  box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 10001;
}

.header-right-menu-list > li:hover .sub-menu {
  display: block;
}

.header-right-menu-list > li .sub-menu > li > a {
  font-family: "Oswald", sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  display: block;
  padding: 14px 24px;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.header-right-menu-list > li .sub-menu > li:nth-child(1) > a {
  background-color: #6a0d0d;
  color: #ffffff;
}

.header-right-menu-list > li .sub-menu > li:nth-child(2) > a {
  background-color: #ffffff;
  color: #000000;
}

.header-right-menu-list > li .sub-menu > li:nth-child(3) > a {
  background-color: #000000;
  color: #ffffff;
}

.header-right-menu-list > li .sub-menu > li > a:hover {
  opacity: 0.85;
}

.search-trigger-btn {
  background: transparent;
  border: none;
  padding: 0 15px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #000;
  transition: color 0.2s;
}
.search-trigger-btn:hover {
  color: #6a0d0d;
}

/* ====================================================
   RESPONSIVE HEADER & MOBILE OFFCANVAS MENU (WWF STYLE)
   ==================================================== */
@media (max-width: 991.98px) {
  .main-bar {
    height: 70px !important;
  }

  .site-logo img {
    height: 50px !important;
  }

  /* Penyesuaian Hero Content di Mobile */
  .hero-content h1 {
    font-size: 32px !important;
  }
  .hero-content p {
    font-size: 14px !important;
  }
}

/* Offcanvas Menu Styling */
.mobile-nav-list > li {
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}

.mobile-nav-list > li > a {
  font-family: "Oswald", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #000000;
  text-decoration: none;
  display: block;
  padding: 16px 20px;
  text-transform: uppercase;
  transition: background 0.2s ease;
}

.mobile-nav-list > li > a:hover {
  background-color: #f8f9fa;
  color: #6a0d0d;
}

/* Submenu / Accordion Plus Indicator */
.mobile-nav-list > li.menu-item-has-children > a::after {
  content: "+";
  float: right;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  color: #333;
}

.mobile-nav-list > li.menu-item-has-children.open > a::after {
  content: "−";
}

.mobile-nav-list .sub-menu {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: #f9f9f9;
}

.mobile-nav-list .sub-menu li a {
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #444;
  text-decoration: none;
  display: block;
  padding: 12px 20px 12px 35px;
  border-top: 1px solid #eee;
}

/* ====================================================
   3. SEARCH OVERLAY FULLSCREEN
   ==================================================== */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-close-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 50px;
  cursor: pointer;
  line-height: 1;
}
.search-close-btn:hover {
  color: #6a0d0d;
}

.search-overlay-content {
  width: 80%;
  max-width: 800px;
}

.search-overlay-form {
  display: flex;
  border-bottom: 3px solid #ffffff;
  padding-bottom: 10px;
}

.search-overlay-form input[type="search"] {
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: "Oswald", sans-serif;
  font-size: 32px;
  width: 100%;
  outline: none;
}

.search-overlay-submit {
  background: #6a0d0d;
  color: #ffffff;
  border: none;
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  font-weight: 700;
  padding: 0 30px;
  cursor: pointer;
}

/* ====================================================
   4. HERO SECTION
   ==================================================== */
.hero-section {
  position: relative;
  width: 100%;
  height: calc(100vh - 65px);
  min-height: 600px;
  background: #000000;
  overflow: hidden;
}

.hero-slider-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 1; /* Tidak ada efek pudar / transparan */
  visibility: hidden;
  transform: translateX(
    100%
  ); /* Posisi awal bergeser ke sebelah kanan luar layar */
  transition:
    transform 0.6s ease-in-out,
    visibility 0.6s;
}

.hero-slide.active {
  visibility: visible;
  transform: translateX(0); /* Bergeser mulus ke posisi tengah */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  max-width: 850px;
  padding: 0 20px;
  margin-top: -80px;
}

.hero-content h1 {
  font-family: "Oswald", sans-serif;
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 16px;
  margin-bottom: 25px;
  line-height: 1.5;
}

.btn-hero {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 1.5px;
  font-weight: 500;
  background: #ffffff;
  color: #000000;
  padding: 10px 24px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

.btn-hero:hover {
  background: #6a0d0d;
  color: #ffffff;
}

@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-slide.active .animate-right-to-left {
  animation: slideInFromRight 0.8s ease-out forwards;
}
.hero-slide.active .delay-1 {
  animation-delay: 0.2s;
}
.hero-slide.active .delay-2 {
  animation-delay: 0.4s;
}

.banner-card {
  min-height: 115px; /* Sebelumnya menggunakan height: 115px */
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.ad-banner-card {
  background: #ffffff;
  padding: 15px;
  display: flex;
  align-items: center;
}

.btn-close-banner {
  position: absolute;
  top: 6px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 16px;
  color: #888;
  cursor: pointer;
}

.ad-logo {
  width: 150px;
  height: auto;
}
.ad-title {
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #000000;
  margin: 0;
  line-height: 1.2;
}
.ad-hashtag {
  font-size: 10px;
  font-weight: bold;
  color: #555;
}

.action-banner-card {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.card-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  transition: background 0.3s;
}

.action-banner-card:hover .card-gradient {
  background: rgba(0, 0, 0, 0.15);
}

.card-text {
  position: relative;
  z-index: 2;
  text-align: left;
  color: #ffffff;
}

.card-text .sub {
  display: block;
  font-size: 12px;
}
.card-text .main {
  font-family: "Oswald", sans-serif;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 1px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  font-size: 24px;
  padding: 14px 12px;
  cursor: pointer;
  z-index: 30;
  transition: background 0.3s;
}
.slider-arrow:hover {
  background: #ffffff;
  color: #6a0d0d;
}
.slider-arrow.prev {
  left: 15px;
}
.slider-arrow.next {
  right: 15px;
}

/* ====================================================
   5. WELCOME & DISCOVER PILLAR CARDS
   ==================================================== */
.discover-card {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.discover-card:hover {
  transform: translateY(-5px);
}
.discover-img-box img {
  height: 180px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.discover-card:hover .discover-img-box img {
  transform: scale(1.05);
}

/* Back To Top Floating Button (Default Hidden) */
.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 42px;
  height: 42px;
  background: #ffffff;
  border: 1px solid #ccc;
  border-radius: 4px;
  color: #333;
  cursor: pointer;
  z-index: 9998;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  background: #6a0d0d;
  color: #ffffff;
  border-color: #6a0d0d;
}

.anchor-card {
  display: flex;
  align-items: flex-end;
  padding: 20px;
  height: 160px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.anchor-card span {
  position: relative;
  z-index: 2;
  font-family: "Oswald", sans-serif;
  font-size: 18px;
  font-weight: 700;
}

/* ====================================================
   GALERI KEGIATAN (ASYMMETRIC BENTO GRID)
   ==================================================== */
.gallery-asymmetric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 15px;
}

.gallery-card-item {
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  background: #000000;
}

/* Pengaturan Ukuran Asimetris Bento */
.gallery-item-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item-wide {
  grid-column: span 2;
  grid-row: span 1;
}

.gallery-item-tall {
  grid-column: span 1;
  grid-row: span 2;
}

.gallery-item-normal {
  grid-column: span 1;
  grid-row: span 1;
}

.object-fit-cover {
  object-fit: cover;
}

.transition-zoom {
  transition: transform 0.5s ease;
}

.gallery-card-item:hover .transition-zoom,
.news-card:hover .transition-zoom {
  transform: scale(1.05);
}

.gallery-overlay-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  z-index: 2;
}

.btn-all-link {
  transition: color 0.2s ease;
  color: #6a0d0d !important;
}
.btn-all-link:hover {
  color: #333 !important;
}

/* Responsif untuk Tablet & Mobile */
@media (max-width: 992px) {
  .gallery-asymmetric-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
  .gallery-item-large,
  .gallery-item-wide,
  .gallery-item-tall {
    grid-column: span 2;
    grid-row: span 1;
  }
}

/* ====================================================
   CUSTOM LIGHTBOX MODAL STYLING
   ==================================================== */
.wwf-lightbox-modal {
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.wwf-lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.wwf-lightbox-content-wrapper {
  max-width: 90%;
  max-height: 90vh;
  text-align: center;
  position: relative;
}

.wwf-lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.wwf-lightbox-caption {
  font-family: "Oswald", sans-serif;
  color: #ffffff;
  font-size: 1.25rem;
  text-transform: uppercase;
  margin-top: 15px;
  letter-spacing: 1px;
}

.wwf-lightbox-close {
  position: absolute;
  top: 25px;
  right: 35px;
  color: #ffffff;
  font-size: 45px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.2s ease;
  line-height: 1;
}

.wwf-lightbox-close:hover {
  color: #6a0d0d;
}

/* ====================================================
   LIGHTBOX NAVIGATION ARROWS (BOOTSTRAP SVG ICON STYLING)
   ==================================================== */
.wwf-lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.7);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100000;
  transition: all 0.25s ease;
  user-select: none;
  padding: 0;
}

.wwf-lightbox-arrow svg {
  width: 20px;
  height: 20px;
  stroke-width: 0.5px;
}

.wwf-lightbox-arrow:hover {
  background: #6a0d0d;
  color: #ffffff;
  border-color: #6a0d0d;
  transform: translateY(-50%) scale(1.1);
}

.wwf-lightbox-arrow.prev {
  left: 30px;
}

.wwf-lightbox-arrow.next {
  right: 30px;
}

@media (max-width: 768px) {
  .wwf-lightbox-arrow {
    width: 40px;
    height: 40px;
  }
  .wwf-lightbox-arrow svg {
    width: 16px;
    height: 16px;
  }
  .wwf-lightbox-arrow.prev {
    left: 12px;
  }
  .wwf-lightbox-arrow.next {
    right: 12px;
  }
}

figure.wp-block-image img {
  border-radius: var(--bs-border-radius) !important;
}

/* FOOTER */

.footer-widget ul {
  list-style: none;
  padding-left: 0;
}

.footer-widget ul li a {
  color: #6c757d;
  text-decoration: none;
  transition: 0.2s ease;
}

.footer-widget ul li a:hover {
  color: #ffffff;
}

/* Efek Hover Ikon Sosial Media Footer */
.footer-social-icons a {
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}
.footer-social-icons a:hover {
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* ====================================================
   CTA JOIN SECTION STYLING
   ==================================================== */
.cta-join-section {
  background: linear-gradient(135deg, #6a0d0d 0%, #4a0808 100%);
  border-top: 4px solid #000000;
  border-bottom: 4px solid #000000;
}

.cta-action-btn {
  letter-spacing: 1.5px;
  transition: all 0.3s ease-in-out;
}

.cta-action-btn:hover,
.wwf-shortcode-button-wrapper a:hover {
  background-color: #000000 !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* ====================================================
   BUTTERY SMOOTH SCROLL REVEAL ANIMATIONS
   ==================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 1.1s cubic-bezier(0.25, 1, 0.5, 1),
    transform 1.1s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Variasi Dari Kiri */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 1.1s cubic-bezier(0.25, 1, 0.5, 1),
    transform 1.1s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

/* Variasi Dari Kanan */
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 1.1s cubic-bezier(0.25, 1, 0.5, 1),
    transform 1.1s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Delay Beruntun yang Lebih Lembut (Stagger Effect) */
.delay-100 {
  transition-delay: 0.15s;
}
.delay-200 {
  transition-delay: 0.3s;
}
.delay-300 {
  transition-delay: 0.45s;
}

/* ====================================================
   DYNAMIC INNER PAGE BANNER STYLING
   ==================================================== */
.inner-page-banner {
  position: relative;
  width: 100%;
  min-height: 380px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 4px solid #6a0d0d;
}

.inner-page-banner .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(
    0,
    0,
    0,
    0.55
  ); /* Overlay gelap agar teks putih terbaca jelas dan kontras */
}

/* Styling Penyelaras Breadcrumb Yoast SEO di Banner */
#breadcrumbs {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

#breadcrumbs a {
  color: #ffffff !important;
  text-decoration: none !important;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

#breadcrumbs a:hover {
  opacity: 1;
  text-decoration: underline !important;
}

#breadcrumbs .breadcrumb_last {
  color: #ffffff !important;
  font-weight: bold;
  opacity: 1;
}

#breadcrumbs .separator {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.5);
}

/* ====================================================
   CLEAN INNER PAGE BANNER & TITLE SECTION
   ==================================================== */
.inner-page-image-banner {
  width: 100%;
  height: 380px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 4px solid #6a0d0d;
}

@media (max-width: 991.98px) {
  .inner-page-image-banner {
    height: 240px; /* Menyesuaikan tinggi di perangkat mobile/tablet */
  }
}

/* Styling Breadcrumb pada Background Terang (Dark Text) */
#breadcrumbs-dark {
  font-size: 0.8rem;
  color: #6c757d;
}

#breadcrumbs-dark a {
  color: #333333 !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

#breadcrumbs-dark a:hover {
  color: #6a0d0d !important;
  text-decoration: underline !important;
}

#breadcrumbs-dark .breadcrumb_last {
  color: #6a0d0d !important;
}

#breadcrumbs-dark .separator {
  margin: 0 8px;
  color: #adb5bd;
}

/* Contact Form */
.page-template-page-kontak .wpcf7-list-item label {
  font-size: 12px;
}

.page-template-page-kontak span.text-secondary a {
  color: rgba(var(--bs-secondary-rgb), var(--bs-text-opacity)) !important;
}

/* Efek Hover Elegan untuk Kartu Kontak */
.contact-info-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.contact-info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
}

/* ====================================================
   RESPONSIF IFRAME & GOOGLE MAPS DI EDITOR
   ==================================================== */
.entry-content iframe {
  width: 100% !important;
  max-width: 100% !important;
  height: 450px !important; /* Tinggi default untuk layar besar / desktop */
  border: 0 !important;
  border-radius: 4px;
}
.entry-content .size-full {
  width: 100%;
  height: auto;
}

.entry-content a,
.post-categories a,
.comments-area a,
.post-navigation a,
nav.pagination-wrapper a {
  color: #6a0d0d;
  transition: 0.3s all;
}

.entry-content a:hover,
.post-categories a:hover,
.comments-area a:hover,
.post-navigation a:hover,
nav.pagination-wrapper a:hover {
  color: #444;
}

.entry-content img.aligncenter,
.wp-caption.aligncenter {
  display: block;
  margin: 25px auto;
}

.entry-content img.alignleft,
.wp-caption.alignleft {
  margin: 25px 25px 25px 0;
  float: left;
}

.entry-content img.alignright,
.wp-caption.alignright {
  margin: 25px 0 25px 25px 25px;
  float: right;
}

.entry-content img.alignnone,
.wp-caption.alignnone {
  display: inline-block;
  margin: 25px 25px 25px 0;
}

.wp-caption-text {
  font-size: 13px;
  font-style: italic;
}

/* Menyesuaikan tinggi peta secara otomatis pada layar mobile/tablet */
@media (max-width: 768px) {
  .entry-content iframe {
    height: 300px !important; /* Tinggi lebih ringkas di HP */
  }
}

/* Support Gutenberg & Classic Editor Alignment untuk Button Wrapper */
.wwf-shortcode-button-wrapper {
  letter-spacing: 2px;
  font-size: 18px;
}
.wwf-shortcode-button-wrapper.text-center,
.has-text-align-center .wwf-shortcode-button-wrapper,
.aligncenter .wwf-shortcode-button-wrapper {
  text-align: center !important;
}

.wwf-shortcode-button-wrapper.text-end,
.has-text-align-right .wwf-shortcode-button-wrapper,
.alignright .wwf-shortcode-button-wrapper {
  text-align: right !important;
}

.wwf-shortcode-button-wrapper.text-start,
.has-text-align-left .wwf-shortcode-button-wrapper,
.alignleft .wwf-shortcode-button-wrapper {
  text-align: left !important;
}

/* Styling Tombol Floating WhatsApp */
.whatsapp-float-btn {
  position: fixed;
  bottom: 85px; /* Posisinya tepat berada di atas Back to Top */
  right: 25px;
  z-index: 99;
  width: 45px;
  height: 45px;
  background-color: #25d366; /* Warna hijau khas WhatsApp */
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
}

.whatsapp-float-btn:hover {
  background-color: #20ba5a;
  color: #fff;
  transform: translateY(-3px);
}

/* Kelas aktif saat di-scroll ke bawah (mengikuti logika Back to Top) */
.whatsapp-float-btn.show {
  opacity: 1;
  visibility: visible;
}

.whatsapp-float-btn.visible {
  opacity: 1;
  visibility: visible;
}