@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #2b8df1;
  --primary-dark: #1671e1;
  --primary-gradient: linear-gradient(135deg, #4aa6fb 0%, #1773e3 100%);
  --secondary-color: #e5f1fc;
  --text-dark: #1e293b;
  --text-gray: #64748b;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --br: 16px;
  --br-pill: 50px;
  --shadow: 0 10px 25px -5px rgb(0 0 0 / 0.05), 0 8px 10px -6px rgb(0 0 0 / 0.01);
  --shadow-primary: 0 10px 20px -5px rgba(23, 115, 227, 0.4);
}

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

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 3.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 2rem;}
p { color: var(--text-gray); }

.text-gradient {
  background: var(--primary-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
}

/* Decorative Dotted Pattern */
.dots-pattern {
  position: absolute;
  width: 60px;
  height: 60px;
  background-image: radial-gradient(var(--primary-color) 2px, transparent 2px);
  background-size: 15px 15px;
  opacity: 0.3;
  z-index: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--br-pill);
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 25px -4px rgba(23, 115, 227, 0.5);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 1px solid #cbd5e1;
  color: var(--text-dark);
}
.btn-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.play-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 1.5px solid rgba(255,255,255,0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.1rem;
  margin-left: 15px;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
}
.play-btn:hover {
  background: rgba(255,255,255,0.32);
  border-color: #ffffff;
  color: #ffffff;
  transform: scale(1.08);
}

/* Header — default transparent (hero menyatu) */
.site-header {
  padding: 22px 0;
  background: transparent;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

/* Saat scroll atau bukan halaman front-page → white-gradient */
.site-header.scrolled {
  background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 60%, #f5f0ff 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
  box-shadow: 0 4px 24px rgba(23, 115, 227, 0.08);
  padding: 15px 0;
}

/* Nav link putih saat di atas hero biru, gelap saat scroll */
.site-header:not(.scrolled) .main-navigation a,
.site-header:not(.scrolled) .site-logo {
  color: rgba(255,255,255,0.92);
}
.site-header:not(.scrolled) .main-navigation a:hover {
  color: #ffffff;
}
.site-header.scrolled .main-navigation a { color: var(--text-dark); }
.site-header.scrolled .site-logo { color: var(--text-dark); }

/* Fix Admin Bar overlap */
.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo, .custom-logo-link {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 5px;
}
.site-logo span {
  color: var(--primary-color);
}
/* Custom Logo Image */
.custom-logo {
  height: clamp(45px, 16vw, 58px);
  width: auto;
  max-width: 250px;
  object-fit: contain;
  display: block;
}
.site-header:not(.scrolled) .custom-logo {
  
}
.site-header.scrolled .custom-logo {
  filter: none; /* Original colors when scrolled */
}

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.main-navigation a {
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.main-navigation a:hover {
  color: var(--primary-color);
}

/* WA button header — glass saat transparent, primary saat scroll */
.site-header:not(.scrolled) .btn-wa-header {
  background: rgba(255,255,255,0.18);
  color: #ffffff;
  border: 1.5px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(6px);
}
.site-header:not(.scrolled) .btn-wa-header:hover {
  background: rgba(255,255,255,0.3);
  color: #ffffff;
}
.site-header.scrolled .btn-wa-header {
  background: var(--primary-gradient);
  color: #ffffff;
  border: none;
  box-shadow: var(--shadow-primary);
}
.site-header.scrolled .btn-wa-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 25px -4px rgba(23, 115, 227, 0.5);
}

/* Hero inquiry box placeholder */
.hero-section .inquiry-box input::placeholder {
  color: rgba(255,255,255,0.6);
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.4rem;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.2s;
  color: var(--text-dark);
}
.site-header:not(.scrolled) .mobile-menu-toggle {
  color: #ffffff;
}
.mobile-menu-toggle:hover {
  background: rgba(0,0,0,0.06);
}

/* Header Actions Wrapper */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile WA link — hidden on desktop, shown in dropdown */
.mobile-wa-link {
  display: none;
}

/* Service & Why Choose Us Modules */
.why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.why-item-text h4 {
  margin-bottom: 5px;
}
.why-item-text p {
  margin: 0;
  color: #64748b;
  line-height: 1.5;
}

.icon-square-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(79, 172, 254, 0.1);
  color: #4facfe;
  border-radius: 12px;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: var(--br);
  align-items: center;
  background: #ffffff;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}
.service-card .icon-square-premium {
  margin: 0 auto 20px auto;
}
.service-card h4 {
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
  color: #64748b;
}

/* Sections */
section {
  padding: 80px 0;
  position: relative;
}

/* Hero Section — Full Background Slideshow with Overlay Fade */
.hero-section {
  padding-top: 140px;
  padding-bottom: 140px;
  background-color: #0b1121;
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 0;
}
.hero-bg-slide.active {
  opacity: 1;
}

.hero-overlay-fade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Dark solid on left 45% (thickened), then fade to 100% transparent towards the right */
  background: linear-gradient(to right, rgba(11, 17, 33, 1) 0%, rgba(11, 17, 33, 0.98) 45%, rgba(11, 17, 33, 0.5) 75%, rgba(11, 17, 33, 0) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: block; /* Removed grid to allow full image display on the right */
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-right: 40px;
  width: 60%;
  max-width: 800px; /* Constraints text nicely simulating a 60/40 split */
}

.hero-main-title {
  margin: 0 0 20px 0;
  line-height: 1.05;
  letter-spacing: -1px;
}

.text-white-bold {
  display: inline-block;
  font-size: 4.8rem;
  font-weight: 800;
  color: #ffffff;
}

.hero-desc {
  font-size: 1rem;
  color: #94a3b8;
  max-width: 90%;
  line-height: 1.6;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  margin-bottom: 50px;
}

.btn-pill-white {
  background: #ffffff;
  color: #000000;
  font-weight: 600;
  border-radius: 50px;
  padding: 8px 8px 8px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s;
}
.btn-pill-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,255,255,0.15);
}
.btn-arrow-circle {
  width: 36px;
  height: 36px;
  background: #111827;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* Slider Promo Block */
.hero-hl-slider-block {
  margin-top: 40px;
}
.hl-dots {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}
.hl-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #64748b;
  cursor: pointer;
  transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
}
.hl-dots .dot:hover {
  transform: scale(1.2);
}
.hl-dots .dot.active {
  background: #ffffff;
  box-shadow: 0 0 0 2px #0b1121, 0 0 0 4px #4facfe;
}

.hl-text-slider {
  position: relative;
  min-height: 80px; /* enough space for text to prevent layout jumps */
}
.hl-slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}
.hl-slide-item.active {
  position: relative;
  opacity: 1;
  visibility: visible;
}
.hl-title {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.hl-desc {
  color: #cbd5e1;
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 80%;
  margin: 0;
}/* Inquiry Box (Search form style) */
.inquiry-box {
  background: var(--bg-white);
  padding: 10px 10px 10px 20px;
  border-radius: var(--br-pill);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
  display: flex;
  gap: 15px;
  align-items: center;
  max-width: 500px;
  border: 1px solid #f1f5f9;
}
.inquiry-box input {
  border: none;
  outline: none;
  flex: 1;
  font-family: inherit;
  font-size: 0.9rem;
}
.inquiry-box .search-btn {
  background: var(--primary-gradient);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: var(--br-pill);
  cursor: pointer;
}

/* About Section */
.about-cards {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
  padding: 0 10px;
}

.about-card {
  padding: 12px 22px;
  background: var(--bg-white);
  border-radius: var(--br-pill);
  border: 1px solid #cbd5e1;
  text-align: center;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  /* No white-space:nowrap here so service-card can wrap text */
}
.about-card.active {
  background: var(--primary-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-primary);
}
.about-card i {
  color: var(--primary-color);
  font-size: 1.2rem;
}
.about-card.active i {
  color: #fff;
}

/* Why Choose Us */
.why-choose-us .hero-inner {
  gap: 60px;
}
.why-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.icon-square {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: var(--primary-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-primary);
}
.why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.why-item h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}
.why-item p {
  font-size: 0.95rem;
}

/* Products Section */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Services Section — separate grid for service cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--br);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  border: 1px solid #f1f5f9;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.product-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg-light);
}

.product-info {
  padding: 20px;
}

.product-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.wa-order-btn {
  width: 100%;
  margin-top: 10px;
}

/* Promo Badge */
.promo-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(225, 29, 72, 0.4);
  letter-spacing: 0.5px;
}

/* Setup CTA */
.cta-section {
  padding: 40px 20px;
}
.cta-banner {
  background: var(--primary-gradient);
  border-radius: 24px;
  padding: 80px 40px;
}

/* Gallery Home Grid */
.gallery-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

/* Blog Section */
.blog-section {
  background: var(--bg-white);
}
.blog-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}
.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}


/* Footer */
.site-footer {
  background-color: var(--bg-light);
  color: var(--text-gray);
  padding: 60px 0 20px;
  border-top: 1px solid #cbd5e1;
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-widget h4 {
  color: var(--text-dark);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

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

.footer-widget ul.footer-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
}

.footer-cards-grid li {
  margin-bottom: 0 !important;
}

.footer-cards-grid a, .footer-cards-grid .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 4px 0;
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 400;
  transition: all 0.2s ease;
  line-height: 1.5;
}

.footer-cards-grid a:hover {
  color: var(--primary-color);
}

.footer-cards-grid .icon-box {
  width: 24px;
  text-align: center;
  display: inline-block;
  font-size: 1.15rem;
  margin-top: 2px;
  transition: all 0.2s ease;
}

.footer-cards-grid .icon-box.instagram { color: #e1306c; }
.footer-cards-grid .icon-box.tiktok { color: #000000; }
.footer-cards-grid .icon-box.facebook { color: #1877f2; }
.footer-cards-grid .icon-box.youtube { color: #ff0000; }
.footer-cards-grid .icon-box.address { color: #f59e0b; }
.footer-cards-grid .icon-box.whatsapp { color: #25d366; }
.footer-cards-grid .icon-box.clock { color: #64748b; }

.footer-widget a {
  transition: color 0.3s;
}

.footer-widget:not(:has(.footer-cards-grid)) a:hover {
  color: var(--primary-color);
}

.site-info {
  text-align: center;
  border-top: 1px solid #cbd5e1;
  padding-top: 20px;
}

/* Custom Grids */
.why-choose-us-grid {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 60px;
  align-items: center;
  padding: 40px 0;
}
.why-choose-us-grid .hero-image {
  padding: 10px;
}


/* --- Page Templates Styling --- */
.page-hero-section {
  padding-top: 140px;
  padding-bottom: 80px;
  background-color: #0b1121;
  position: relative;
  overflow: hidden;
  min-height: 350px;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.page-hero-section .hero-overlay-fade {
  background: linear-gradient(to top, rgba(11, 17, 33, 1) 0%, rgba(11, 17, 33, 0.4) 100%);
}
.page-title {
  margin-bottom: 0 !important;
}

.page-content-wrapper {
  background: #fff;
  padding: 60px;
  border-radius: var(--br);
  max-width: 900px;
  margin: -60px auto 0;
  position: relative;
  z-index: 5;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-card {
  display: flex !important;
  flex-direction: row !important;
  text-align: left;
  border: 1px solid #e2e8f0;
}
.contact-card:hover {
  border-color: #4facfe;
}
.contact-card-text {
  flex: 1;
  margin-left: 20px;
}
.contact-card-text h4 {
  margin: 0 0 5px;
  color: var(--text-dark);
}
.contact-card-text p {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
}
.contact-map-block {
  background: #fff;
  padding: 40px;
  border-radius: var(--br);
}
.op-hours-list {
  list-style: none;
  padding: 0;
  color: #64748b;
  margin-top: 20px;
}
.op-hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #e2e8f0;
}
.maps-placeholder {
  margin-top: 40px;
  width: 100%;
  height: 250px;
  background: #f1f5f9;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  text-align: center;
}

/* ============================================================
   GALLERY PAGE — Tabbed Layout, Masonry, Lightbox, Pagination
   ============================================================ */

/* Hero Stats */
.gallery-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
}
.gallery-stat {
  text-align: center;
}
.gallery-stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.gallery-stat-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}
.gallery-stat-divider {
  width: 1.5px;
  height: 48px;
  background: rgba(255,255,255,0.25);
  border-radius: 2px;
}

/* Gallery Section */
.gallery-section {
  background: var(--bg-light);
  padding: 60px 0;
}

/* Tab Nav */
.gallery-tabs-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 0;
}
.gallery-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-gray);
  cursor: pointer;
  border-radius: 12px 12px 0 0;
  transition: all 0.25s;
}
.gallery-tab-btn:hover {
  background: #eff6ff;
  color: var(--primary-color);
}
.gallery-tab-btn.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  background: #eff6ff;
}
.gallery-tab-badge {
  background: var(--primary-color);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 20px;
  min-width: 24px;
  text-align: center;
  line-height: 1.4;
}

/* Tab Panes */
.gallery-tab-pane { display: none; }
.gallery-tab-pane.active { display: block; }

/* Masonry Grid Foto */
.gallery-masonry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: var(--br);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: #e2e8f0;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,17,33,0.82) 0%, rgba(11,17,33,0.3) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.32s ease;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-item-overlay-inner {
  width: 100%;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.gallery-zoom-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.95rem;
  flex-shrink: 0;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
}
.gallery-item-title {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item:hover .gallery-zoom-icon { background: rgba(255,255,255,0.25); }

.gallery-no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 2.5rem;
  background: #f1f5f9;
}

/* Video Grid */
.gallery-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery-video-card {
  background: #fff;
  border-radius: var(--br);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f1f5f9;
}
.gallery-video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.gallery-video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0b1121;
}
.gallery-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s;
}
.gallery-video-card:hover .gallery-video-thumb img {
  transform: scale(1.05);
  opacity: 0.8;
}
.gallery-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.2rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  transition: transform 0.25s ease, box-shadow 0.25s;
  padding-left: 4px;
}
.gallery-video-card:hover .gallery-play-btn {
  transform: scale(1.12);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.gallery-video-info {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gallery-video-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gallery-video-date,
.gallery-video-type {
  font-size: 0.78rem;
  color: var(--text-gray);
  display: flex;
  align-items: center;
  gap: 5px;
}
.gallery-video-type { color: #dc2626; }

/* Empty State */
.gallery-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-gray);
}
.gallery-empty i {
  font-size: 4rem;
  color: #cbd5e1;
  display: block;
  margin-bottom: 16px;
}
.gallery-empty h3 {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

/* ─── Pagination — ALL pages ─── */
.gallery-pagination-wrap,
.pagination-wrap {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* WordPress paginate_links outputs a <ul class="page-numbers"> */
.page-numbers {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.page-numbers li {
  margin: 0;
  list-style: none;
}
.page-numbers li > a,
.page-numbers li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.22s ease;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  color: var(--text-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  gap: 6px;
}
.page-numbers li > a:hover {
  background: var(--secondary-color);
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(23, 115, 227, 0.15);
}
.page-numbers li > span.current {
  background: var(--primary-gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-primary);
  cursor: default;
}
.page-numbers li > span.dots {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: var(--text-gray);
  cursor: default;
}
.page-numbers li > a.prev,
.page-numbers li > a.next {
  background: var(--primary-gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-primary);
  padding: 0 18px;
}
.page-numbers li > a.prev:hover,
.page-numbers li > a.next:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(23, 115, 227, 0.4);
  background: var(--primary-gradient);
  color: #fff;
}

/* Also cover the_posts_pagination default output */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
}
.nav-links .page-numbers {
  display: inline-flex;
}

/* ─── Lightbox ─── */
.mpca-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
}
.mpca-lightbox.active {
  display: flex;
}
.mpca-lb-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.22);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 10;
  line-height: 1;
}
.mpca-lb-close:hover { background: rgba(255,255,255,0.22); }
.mpca-lb-prev { left: 20px; }
.mpca-lb-next { right: 20px; }
.mpca-lb-prev:hover,
.mpca-lb-next:hover { background: rgba(255,255,255,0.22); }
.mpca-lb-media {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mpca-lb-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
  animation: lb-zoom-in 0.3s ease;
}
.mpca-lb-video {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 12px;
}
.mpca-lb-iframe-wrap {
  width: min(90vw, 900px);
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}
.mpca-lb-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.mpca-lb-caption {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  max-width: 80vw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mpca-lb-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  font-weight: 500;
}
@keyframes lb-zoom-in {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}

/* =============================================
   RESPONSIVE — MOBILE FIRST
   ============================================= */

@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid-home { grid-template-columns: repeat(3, 1fr); }
  .blog-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-single-container { grid-template-columns: 1fr; margin: -40px auto 0; }
  .sidebar-widget { border-radius: 12px; }
}

@media (max-width: 991px) {
  .hero-inner, .why-choose-us-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-image img { margin-left: 0; max-width: 100%; }
  .hero-shape { display:none; }
  .inquiry-box { margin: 0 auto; }
  .hero-buttons { justify-content: center; }
  .hl-dots { justify-content: center; }

  /* Why Choose Us — reset to single column */
  .why-choose-us-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 20px 0;
    text-align: left !important; /* Override parent text-align:center */
  }
  .why-choose-us .hero-image {
    width: 100%;
    padding: 0;
    order: 1; /* Image on top */
  }
  .why-choose-us .hero-image img {
    width: 100%;
    max-width: 100%;
    border-width: 5px;
    border-radius: 16px;
  }
  .why-content {
    order: 2; /* Content below image */
    width: 100%;
  }
  .why-content h2 {
    text-align: left !important;
  }
  /* Why list: full width, left-aligned, no offset */
  .why-list {
    width: 100%;
    max-width: 100%;
    margin-top: 24px;
    gap: 20px;
  }
  .why-item {
    text-align: left;
    width: 100%;
    align-items: flex-start;
  }
  .why-item-text {
    flex: 1;
    min-width: 0; /* Prevent text overflow */
  }

  /* Hero Overrides for Mobile */
  .hero-section {
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 60px;
  }
  .hero-content {
    width: 100%;
    max-width: 100%;
    padding-right: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .hero-overlay-fade {
    background: rgba(11, 17, 33, 0.85);
  }
  .text-white-bold {
    font-size: 2.8rem;
    line-height: 1.2;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-hl-slider-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hl-text-slider {
    width: 100%;
    text-align: center;
  }
  .hl-desc {
    margin-left: auto;
    margin-right: auto;
  }

  h1 { font-size: 2.5rem; }
  .footer-widgets { grid-template-columns: 1fr 1fr; }
  /* Services at 991px — 2 kolom */
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .products-grid { grid-template-columns: 1fr; }
  .product-detail-grid { grid-template-columns: 1fr !important; gap: 30px !important; }

  /* ── SECTION PADDING SERAGAM DI MOBILE ── */
  section {
    padding: 50px 0;
  }

  /* ── HAMBURGER MENU ── */
  .mobile-menu-toggle {
    display: inline-flex;
  }
  /* Hide desktop WA button */
  .header-cta {
    display: none;
  }
  /* Dropdown nav */
  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 16px 20px 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-top: 1px solid #e2e8f0;
    z-index: 999;
  }
  .main-navigation.active {
    display: block;
  }
  .main-navigation ul {
    flex-direction: column;
    gap: 0;
  }
  .main-navigation ul li a {
    display: block;
    padding: 12px 4px;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text-dark) !important;
    font-weight: 500;
  }
  .main-navigation ul li:last-child a {
    border-bottom: none;
  }
  /* Show WA button at bottom of mobile dropdown */
  .mobile-wa-link {
    display: block;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
  }
  .mobile-wa-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 13px 20px;
    font-size: 0.95rem;
    border-radius: 10px;
  }

  /* ── SERVICES — 1 KOLOM DI MOBILE ── */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  /* Service card mobile layout — horizontal bukan vertikal */
  .service-card {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 20px;
    gap: 16px;
  }
  .service-card .icon-square-premium {
    margin: 0;
    flex-shrink: 0;
  }
  .service-card h4 { margin-bottom: 6px; }
  .service-card p { font-size: 0.875rem; }

  /* ── ABOUT CARDS MOBILE ── */
  .about-cards {
    gap: 8px;
    justify-content: center;
  }
  .about-card {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  /* ── GALLERY HOMEPAGE — 2 KOLOM ── */
  .gallery-section .products-grid,
  .gallery-grid-home {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  /* ── BLOG CARDS — 1 KOLOM ── */
  .blog-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .blog-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
  }

  /* ── CTA SECTION ── */
  .cta-section {
    padding: 24px 16px;
  }
  .cta-banner {
    padding: 44px 24px;
    border-radius: 16px;
  }
  .cta-banner h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }
  .cta-banner .btn {
    padding: 13px 24px;
    font-size: 0.95rem;
    width: 100%;
    max-width: 320px;
  }

  /* ── LIGHTBOX ARROWS — SMALLER ON MOBILE ── */
  .mpca-lb-nav {
    width: 36px;
    height: 36px;
    font-size: 1.5rem;
    margin: 0 4px;
  }
  .mpca-lb-nav-container {
    height: auto;
    max-width: 100%;
    padding: 0 4px;
  }
  .mpca-lb-media-wrap {
    max-width: calc(100% - 90px);
    max-height: 70vh;
  }

  /* Page Templates */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-content-wrapper {
    padding: 30px;
    margin: -40px 15px 0;
  }
  .gallery-masonry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-widgets { grid-template-columns: 1fr; }

  /* Blog */
  .blog-hero-section {
    padding-top: 90px;
    padding-bottom: 40px;
  }
  .blog-article-card { padding: 25px 20px; border-radius: 12px; }
  .blog-single-container { margin: -30px auto 0; padding: 0 16px; }
  .blog-hero-thumb { aspect-ratio: 3/2; margin-bottom: 20px; }
  .blog-article-card h1.entry-title { font-size: 1.5rem !important; }
}

@media (max-width: 480px) {
  .products-grid          { grid-template-columns: repeat(1, 1fr); }
  .gallery-masonry-grid   { grid-template-columns: repeat(2, 1fr); }
  .gallery-video-grid     { grid-template-columns: 1fr; }
  .gallery-tabs-nav       { overflow-x: auto; }
  .gallery-tab-btn        { padding: 12px 16px; font-size: 0.88rem; }
  .page-numbers li > a,
  .page-numbers li > span { min-width: 36px; height: 36px; font-size: 0.82rem; }

  /* Hero tighter on small phones */
  .text-white-bold { font-size: 2.2rem; }
  .hero-section {
    padding-top: 100px;
    padding-bottom: 50px;
  }

  /* Lightbox even tighter */
  .mpca-lb-nav {
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
    margin: 0 2px;
  }
  .mpca-lb-media-wrap {
    max-width: calc(100% - 76px);
  }
}

/* ─── Global Gallery Cards ─── */
.mpca-gallery-card:hover .gallery-img {
  transform: scale(1.15);
}
.mpca-gallery-card:hover .gallery-overlay {
  opacity: 1 !important;
}
.mpca-gallery-card:hover .gallery-overlay > div {
  transform: translateY(0) !important;
}

/* ─── Lightbox Nav Tweaks ─── */
.mpca-lb-nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 80vh; /* Match media wrap max-height */
  position: relative;
  max-width: 1250px;
}
.mpca-lb-media-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90%;
  max-height: 80vh;
}
.mpca-lb-media-wrap img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.8);
  animation: lb-zoom-in 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mpca-lb-media-wrap iframe {
  width: min(90vw, 1000px);
  aspect-ratio: 16/9;
  border-radius: 16px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.9);
}
.mpca-lb-nav {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  width: 54px;
  height: 54px;
  font-size: 2.2rem;
  border-radius: 50%;
  margin: 0 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  /* Moved slightly up as requested */
  transform: translateY(-20px);
}
.mpca-lb-nav:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-20px) scale(1.1);
  border-color: #fff;
}
.mpca-lb-nav:active {
  transform: translateY(-20px) scale(0.95);
}

/* ── BLOG MINI HERO ── */
.blog-mini-hero {
  padding: 110px 0 24px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
.mpca-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.mpca-breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s;
}
.mpca-breadcrumb a:hover {
  color: var(--primary-dark);
}
.mpca-breadcrumb .sep {
  color: #cbd5e1;
  font-weight: 400;
}
.mpca-breadcrumb .current {
  color: #64748b;
  max-width: 300px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── WHY CHOOSE US IMAGE ENHANCEMENT ── */
.why-choose-us .hero-image img {
  border-radius: 24px;
  box-shadow: 0 30px 60px -12px rgba(0,0,0,0.12), 0 18px 36px -18px rgba(0,0,0,0.1);
  border: 10px solid #ffffff;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: block;
  width: 100%;
  object-fit: cover;
}
.why-choose-us .hero-image img:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 80px -12px rgba(0,0,0,0.18);
}

/* ── BLOG SINGLE STYLES ── */
.blog-single-wrap {
    padding-bottom: 80px;
    background: #f8fafc;
    min-height: 100vh;
}
.blog-single-container {
    max-width: 1200px;
    margin: -60px auto 0;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
    position: relative;
    z-index: 10;
}
.blog-hero-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
}
.blog-hero-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.blog-article-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    overflow: hidden; /* Prevent child overflow */
}
.blog-entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
}
/* Ensure everything inside stays contained */
.blog-entry-content * {
    max-width: 100%;
    overflow-wrap: break-word;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}
.blog-meta-item {
    font-size: 0.85rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}
.blog-category-badge {
    background: var(--primary-gradient);
    color: #fff;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}
.blog-entry-content {
    line-height: 1.8;
    color: #334155;
    font-size: 1.05rem;
}
.blog-entry-content h1,
.blog-entry-content h2,
.blog-entry-content h3,
.blog-entry-content h4,
.blog-entry-content h5,
.blog-entry-content h6 {
    color: #0f172a;
    text-align: left;
    word-break: break-word; /* Prevent overflow */
    margin: 1.5em 0 0.8em;
    line-height: 1.35;
}
.blog-entry-content h2 { font-size: 1.75rem; }
.blog-entry-content h3 { font-size: 1.45rem; }
.blog-entry-content h4 { font-size: 1.25rem; }
.blog-entry-content p { margin-bottom: 20px; }

/* Dark Breadcrumbs for Navy Hero */
.mpca-breadcrumb-dark {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;               /* Allow wrapping on narrow screens */
    gap: 8px;
    row-gap: 6px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    max-width: 100%;
    padding: 0 10px;
}
.mpca-breadcrumb-dark a {
    color: #ffffff;
    opacity: 0.85;
    white-space: nowrap;
}
.mpca-breadcrumb-dark a:hover {
    color: var(--primary-color);
    opacity: 1;
}
.mpca-breadcrumb-dark .sep {
    color: rgba(255,255,255,0.3);
    font-size: 0.7rem;
    flex-shrink: 0;
}
.mpca-breadcrumb-dark .current {
    color: rgba(255,255,255,0.5);
    font-weight: 400;
    white-space: normal;           /* Allow current (post title) to wrap */
    word-break: break-word;
    text-align: center;
    max-width: 100%;
}

/* Blog hero section — reduced padding vs full page hero */
.blog-hero-section {
    padding-top: 140px;
    padding-bottom: 70px;
    min-height: auto;
}

/* Sidebar & Widgets */
.blog-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.sidebar-widget {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
}
.sidebar-widget-header {
    padding: 15px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    font-weight: 700;
    font-size: 0.8rem;
    color: #1e293b;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}
.sidebar-widget-body { padding: 20px; }
.toc-list { list-style: none; padding: 0; }
.toc-list li { margin-bottom: 12px; }
.toc-list a { color: #64748b; font-size: 0.9rem; transition: all 0.2s; }
.toc-list a:hover { color: var(--primary-color); padding-left: 5px; }

@media (max-width: 1024px) {
    .blog-single-container { grid-template-columns: 1fr; margin: -40px auto 0; }
    .sidebar-widget { border-radius: 12px; }
}

@media (max-width: 768px) {
    .blog-article-card { padding: 25px 20px; border-radius: 12px; }
    .blog-single-container { margin: -30px auto 0; padding: 0 16px; }
    .blog-hero-thumb { aspect-ratio: 3/2; margin-bottom: 20px; }
    .blog-article-card h1.entry-title { font-size: 1.5rem !important; }
}

/* Hard constraint for all content children */
.blog-entry-content img, 
.blog-entry-content iframe, 
.blog-entry-content video,
.blog-entry-content table {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 20px auto;
}

/* Allow table scroll instead of overflow */
.blog-entry-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    width: auto !important;
    min-width: 100%;
    border: 1px solid #e2e8f0;
}
.blog-entry-content th, .blog-entry-content td {
    padding: 12px;
    border: 1px solid #e2e8f0;
}
/* Sidebar Components */
.sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.sidebar-tag {
    background: #f1f5f9;
    color: #475569;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    transition: all 0.2s;
    border: 1px solid transparent;
}
.sidebar-tag:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}
.share-btn i { font-size: 1.1rem; }
.share-btn-wa { background: #25d366; color: #fff; }
.share-btn-fb { background: #1877f2; color: #fff; }
.share-btn-copy { background: #f1f5f9; color: #475569; }
.share-btn:hover { opacity: 0.9; transform: translateY(-2px); }

.sidebar-related-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
}
.sidebar-related-date {
    font-size: 0.75rem;
    color: #94a3b8;
}
