/*
Theme Name: sanfrades-website(1) (WPConvert)
Theme URI: https://wpconvert.ai
Author: WPConvert.ai
Author URI: https://wpconvert.ai
Description: This theme was automatically generated from your original site design using WPConvert.ai. It preserves your layout, colors, typography, header, footer, and page content, and makes it editable in WordPress.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.6
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wpconvert
Tags: landing page, responsive, custom header, custom footer
*/

/* External Stylesheets - @import statements MUST come before any CSS rules */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Lora:ital,wght@0,400;0,600;1,400&family=Open+Sans:wght@300;400;600&display=swap');

/* CSS Variables */
:root {
}

/* Inline Styles */

/* Extracted CSS from page */

:root {
  --gold: #c9a84c;
  --gold-light: #e8c878;
  --gold-dark: #9a7530;
  --navy: #1a2744;
  --navy-dark: #0d1629;
  --navy-light: #243358;
  --cream: #fbf7f0;
  --cream-dark: #f0e8d8;
  --white: #ffffff;
  --text-dark: #1a1a2e;
  --text-mid: #3d4a6b;
  --text-light: #7a8bad;
  --red-accent: #8b1a1a;
  --shadow: 0 8px 40px rgba(26, 39, 68, 0.15);
  --shadow-sm: 0 4px 20px rgba(26, 39, 68, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 22, 41, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
  transition: all 0.3s ease;
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-text .title {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  line-height: 1.2;
}

.nav-logo-text .subtitle {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a,
.nav-menu > li > span {
  display: block;
  padding: 8px 14px;
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li > span:hover,
.nav-menu > li.has-dropdown:hover > span {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-dark);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 10px;
  min-width: 220px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s ease;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.nav-menu > li.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: block;
  padding: 9px 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: all 0.15s;
  letter-spacing: 0.3px;
}

.dropdown a:hover {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  padding-left: 26px;
}

.dropdown .dd-section {
  padding: 6px 20px 3px;
  font-size: 10px;
  font-family: 'Cinzel', serif;
  color: var(--gold-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
  border-top: 1px solid rgba(201, 168, 76, 0.12);
  margin-top: 4px;
}

.dropdown .dd-section:first-child {
  border-top: none;
  margin-top: 0;
}

/* Wide dropdown for Wilayah */
.dropdown-wide {
  min-width: 480px;
  left: 0;
  transform: none;
}

.nav-menu > li.has-dropdown:hover .dropdown-wide {
  transform: none;
}

.dropdown-wide .dd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.dropdown-wide .dd-col {
  padding: 4px 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO / BANNER ===== */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 30% 50%,
      rgba(201, 168, 76, 0.12) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 70% 30%,
      rgba(26, 39, 68, 0.8) 0%,
      transparent 60%
    ),
    linear-gradient(160deg, #0d1629 0%, #1a2744 50%, #0d1629 100%);
}

/* Decorative cross */
.hero-cross {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.06;
  width: 300px;
  height: 300px;
}

/* Pattern dots */
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(201, 168, 76, 0.15) 1px,
    transparent 1px
  );
  background-size: 40px 40px;
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  max-width: 800px;
  animation: heroFadeIn 1.2s ease forwards;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 30px;
  font-size: 11px;
  font-family: 'Cinzel', serif;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(28px, 5vw, 58px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 12px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero-title span {
  color: var(--gold);
}

.hero-subtitle {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: clamp(14px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 16px;
}

.hero-tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
  margin-bottom: 40px;
}

.hero-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 20px auto;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 13px 32px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy-dark);
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 6px 24px rgba(201, 168, 76, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 168, 76, 0.5);
}

.btn-outline {
  padding: 12px 32px;
  background: transparent;
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  border: 1px solid rgba(201, 168, 76, 0.5);
  border-radius: 40px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: var(--gold);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(201, 168, 76, 0.5);
  border-bottom: 2px solid rgba(201, 168, 76, 0.5);
  transform: rotate(45deg);
  margin-top: -4px;
}

/* ===== SECTION BASE ===== */
section {
  padding: 80px 24px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-family: 'Lora', serif;
  font-size: 15px;
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 20px auto 0;
  border-radius: 3px;
}

/* ===== QUICK INFO STRIP ===== */
#info-strip {
  background: var(--navy);
  padding: 28px 24px;
}

.info-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 12px;
  transition: all 0.3s;
}

.info-card:hover {
  background: rgba(201, 168, 76, 0.08);
  border-color: rgba(201, 168, 76, 0.35);
}

.info-card .icon {
  font-size: 28px;
  flex-shrink: 0;
}

.info-card .text .label {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--gold);
  text-transform: uppercase;
  font-family: 'Cinzel', serif;
}

.info-card .text .value {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 2px;
  line-height: 1.4;
}

/* ===== HOME CONTENT ===== */
#home {
  background: var(--cream);
}

.home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.home-visi-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--gold);
  margin-bottom: 24px;
}

.home-visi-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.home-visi-card p {
  font-family: 'Lora', serif;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.8;
  font-style: italic;
}

.home-misi ul {
  list-style: none;
  margin-top: 10px;
}

.home-misi ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-mid);
  padding: 6px 0;
  line-height: 1.6;
}

.home-misi ul li::before {
  content: '✦';
  color: var(--gold);
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 4px;
}

/* Pastor card */
.pastor-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 16px;
  padding: 36px;
  color: white;
  margin-bottom: 24px;
}

.pastor-card .label {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.pastor-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.pastor-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.2);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.pastor-item .name {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  color: var(--white);
  font-weight: 600;
  line-height: 1.3;
}

.pastor-item .role {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.5px;
}

/* Jadwal Misa */
.jadwal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.jadwal-card {
  background: var(--white);
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold);
  display: flex;
  align-items: center;
  gap: 18px;
  transition: all 0.3s;
}

.jadwal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.jadwal-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.jadwal-info .day {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}

.jadwal-info .time {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 2px;
}

.jadwal-info .note {
  font-size: 11px;
  color: var(--text-light);
  line-height: 1.4;
}

/* ===== PROFIL SECTION ===== */
#profil {
  background: linear-gradient(180deg, var(--cream-dark) 0%, var(--cream) 100%);
}

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  border-bottom: 2px solid rgba(201, 168, 76, 0.2);
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 24px;
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-light);
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
  white-space: nowrap;
}

.tab-btn.active,
.tab-btn:hover {
  color: var(--gold-dark);
  border-bottom-color: var(--gold);
}

.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
  animation: fadeTab 0.4s ease;
}

@keyframes fadeTab {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sejarah-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

.sejarah-text h3 {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 16px;
}

.sejarah-text p {
  font-family: 'Lora', serif;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 16px;
}

.sejarah-points {
  list-style: none;
  margin-top: 20px;
}

.sejarah-points li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.sejarah-points li:last-child {
  border-bottom: none;
}

.sejarah-points .bullet {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: white;
  flex-shrink: 0;
  margin-top: 2px;
}

.sejarah-points .content strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.sejarah-points .content span {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
}

.sejarah-sidebar .stat-box {
  background: var(--navy);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  color: white;
  margin-bottom: 20px;
}

.sejarah-sidebar .stat-box .number {
  font-family: 'Cinzel', serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.sejarah-sidebar .stat-box .desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 1px;
}

/* Wilayah */
.wilayah-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.wilayah-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.wilayah-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.wilayah-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wilayah-icon {
  width: 38px;
  height: 38px;
  background: rgba(201, 168, 76, 0.2);
  border: 1px solid var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.wilayah-header h3 {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  color: var(--white);
  font-weight: 700;
}

.wilayah-body {
  padding: 20px 24px;
}

.wilayah-body ul {
  list-style: none;
}

.wilayah-body ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-mid);
  padding: 5px 0;
  border-bottom: 1px dashed rgba(201, 168, 76, 0.2);
}

.wilayah-body ul li:last-child {
  border-bottom: none;
}

.wilayah-body ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== ARTIKEL ===== */
#artikel {
  background: var(--cream);
}

.artikel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.artikel-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
}

.artikel-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.artikel-thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.artikel-thumb.warta {
  background: linear-gradient(135deg, #1a2744, #243358);
}
.artikel-thumb.nikah {
  background: linear-gradient(135deg, #8b1a1a, #c0392b);
}
.artikel-thumb.duka {
  background: linear-gradient(135deg, #2c2c2c, #4a4a4a);
}
.artikel-thumb.liturgi {
  background: linear-gradient(135deg, #7b4f1e, #c9a84c);
}

.artikel-body {
  padding: 22px;
}

.artikel-body .category {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.artikel-body h3 {
  font-family: 'Lora', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.4;
}

.artikel-body p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== PELAYANAN ===== */
#pelayanan {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: white;
}

#pelayanan .section-title {
  color: var(--white);
}
#pelayanan .section-desc {
  color: rgba(255, 255, 255, 0.6);
}

.pelayanan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.pelayanan-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  text-decoration: none;
  color: white;
  transition: all 0.3s;
  cursor: pointer;
}

.pelayanan-card:hover {
  background: rgba(201, 168, 76, 0.12);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.pelayanan-card .icon {
  font-size: 36px;
  margin-bottom: 14px;
  display: block;
}

.pelayanan-card .name {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.pelayanan-card .desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

/* ===== KOMUNITAS ===== */
#komunitas {
  background: var(--cream);
}

.komunitas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}

.komunitas-item {
  background: var(--white);
  border-radius: 12px;
  padding: 18px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid transparent;
  transition: all 0.3s;
  cursor: pointer;
}

.komunitas-item:hover {
  border-bottom-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.komunitas-item .icon {
  font-size: 28px;
  margin-bottom: 10px;
  display: block;
}

.komunitas-item .name {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

/* ===== GALERI ===== */
#galeri {
  background: var(--navy-dark);
  color: white;
}

#galeri .section-title {
  color: var(--white);
}
#galeri .section-desc {
  color: rgba(255, 255, 255, 0.6);
}

.galeri-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}

.galeri-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.1);
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.galeri-item:hover {
  transform: scale(1.02);
  border-color: var(--gold);
}

.galeri-item.large {
  grid-column: span 2;
  grid-row: span 2;
  font-size: 64px;
}

.galeri-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Lora', serif;
  font-style: italic;
}

/* ===== KONTAK ===== */
#kontak {
  background: var(--cream-dark);
}

.kontak-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.kontak-info {
}

.kontak-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold);
}

.kontak-item .icon {
  font-size: 24px;
  flex-shrink: 0;
}

.kontak-item .label {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  color: var(--gold-dark);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.kontak-item .value {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.5;
}

.kontak-map {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  border: 2px solid rgba(201, 168, 76, 0.2);
  flex-direction: column;
  gap: 12px;
  color: var(--text-mid);
}

.kontak-map p {
  font-family: 'Lora', serif;
  font-size: 14px;
  font-style: italic;
  text-align: center;
  padding: 0 20px;
}

.map-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 24px;
  background: var(--navy);
  color: white;
  border-radius: 30px;
  font-size: 12px;
  text-decoration: none;
  transition: all 0.2s;
}

.map-btn:hover {
  background: var(--navy-light);
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 24px 32px;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  color: var(--gold);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-col h4 {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}

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

.footer-col ul li {
  padding: 5px 0;
}

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom .copy {
  color: rgba(255, 255, 255, 0.35);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.social-btn:hover {
  background: rgba(201, 168, 76, 0.15);
  border-color: var(--gold);
}

/* ===== MOBILE NAV ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy-dark);
  z-index: 999;
  overflow-y: auto;
  padding: 20px;
}

.mobile-menu.open {
  display: block;
}

.mobile-nav-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav-link {
  display: block;
  padding: 14px 4px;
  font-family: 'Cinzel', serif;
  font-size: 13px;
  color: var(--white);
  text-decoration: none;
  cursor: pointer;
}

.mobile-sub-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-sub {
  display: none;
  padding: 0 12px 8px;
}

.mobile-sub.open {
  display: block;
}

.mobile-sub a {
  display: block;
  padding: 8px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.mobile-sub .sub-group {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 1px;
  padding: 10px 0 4px;
}

@media (max-width: 900px) {
  .nav-menu {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  .home-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .sejarah-content {
    grid-template-columns: 1fr;
  }
  .kontak-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .galeri-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .galeri-item.large {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  section {
    padding: 60px 16px;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .galeri-grid {
    grid-template-columns: 1fr;
  }
  .galeri-item.large {
    grid-column: span 1;
  }
  .hero-title {
    font-size: 26px;
  }
}

/* Utility */
.text-gold {
  color: var(--gold);
}
.mt-4 {
  margin-top: 16px;
}

:root {
  --gold: #c9a84c;
  --gold-light: #e8c878;
  --gold-dark: #9a7530;
  --navy: #1a2744;
  --navy-dark: #0d1629;
  --navy-light: #243358;
  --cream: #fbf7f0;
  --cream-dark: #f0e8d8;
  --white: #ffffff;
  --text-dark: #1a1a2e;
  --text-mid: #3d4a6b;
  --text-light: #7a8bad;
  --red-accent: #8b1a1a;
  --shadow: 0 8px 40px rgba(26, 39, 68, 0.15);
  --shadow-sm: 0 4px 20px rgba(26, 39, 68, 0.1);
}
* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}
#navbar {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  z-index: 1000;
  background: rgba(13, 22, 41, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
  transition: 0.3s;
}
.nav-inner {
  max-width: 1280px;
  margin: 0px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 24px;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
}
.nav-logo-text .title {
  font-family: Cinzel, serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  line-height: 1.2;
}
.nav-logo-text .subtitle {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.5px;
}
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
}
.nav-menu > li {
  position: relative;
}
.nav-menu > li > a,
.nav-menu > li > span {
  display: block;
  padding: 8px 14px;
  font-family: Cinzel, serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  cursor: pointer;
  border-radius: 6px;
  transition: 0.2s;
  white-space: nowrap;
}
.nav-menu > li > a:hover,
.nav-menu > li > span:hover,
.nav-menu > li.has-dropdown:hover > span {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
}
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-dark);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 10px;
  min-width: 220px;
  padding: 8px 0px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.2s;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 16px 40px;
}
.nav-menu > li.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0px);
}
.dropdown a {
  display: block;
  padding: 9px 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: 0.15s;
  letter-spacing: 0.3px;
}
.dropdown a:hover {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  padding-left: 26px;
}
.dropdown .dd-section {
  padding: 6px 20px 3px;
  font-size: 10px;
  font-family: Cinzel, serif;
  color: var(--gold-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
  border-top: 1px solid rgba(201, 168, 76, 0.12);
  margin-top: 4px;
}
.dropdown .dd-section:first-child {
  border-top-width: medium;
  border-top-style: none;
  border-top-color: currentcolor;
  margin-top: 0px;
}
.dropdown-wide {
  min-width: 480px;
  left: 0px;
  transform: none;
}
.nav-menu > li.has-dropdown:hover .dropdown-wide {
  transform: none;
}
.dropdown-wide .dd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0px;
}
.dropdown-wide .dd-col {
  padding: 4px 0px;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: 0.3s;
}
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-dark);
}
.hero-bg {
  position: absolute;
  inset: 0px;
  background:
    radial-gradient(at 30% 50%, rgba(201, 168, 76, 0.12) 0%, transparent 60%),
    radial-gradient(at 70% 30%, rgba(26, 39, 68, 0.8) 0%, transparent 60%),
    linear-gradient(
      160deg,
      rgb(13, 22, 41) 0%,
      rgb(26, 39, 68) 50%,
      rgb(13, 22, 41) 100%
    );
}
.hero-cross {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.06;
  width: 300px;
  height: 300px;
}
.hero-pattern {
  position: absolute;
  inset: 0px;
  background-image: radial-gradient(
    circle,
    rgba(201, 168, 76, 0.15) 1px,
    transparent 1px
  );
  background-size: 40px 40px;
  opacity: 0.4;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0px 20px;
  max-width: 800px;
  animation: 1.2s ease 0s 1 normal forwards running heroFadeIn;
}
@keyframes heroFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}
.hero-badge {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 30px;
  font-size: 11px;
  font-family: Cinzel, serif;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.hero-title {
  font-family: Cinzel, serif;
  font-size: clamp(28px, 5vw, 58px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 12px;
  text-shadow: rgba(0, 0, 0, 0.5) 0px 4px 30px;
}
.hero-title span {
  color: var(--gold);
}
.hero-subtitle {
  font-family: Lora, serif;
  font-style: italic;
  font-size: clamp(14px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 16px;
}
.hero-tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
  margin-bottom: 40px;
}
.hero-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 20px auto;
}
.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  padding: 13px 32px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy-dark);
  font-family: Cinzel, serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  border-width: medium;
  border-style: none;
  border-color: currentcolor;
  border-image: initial;
  border-radius: 40px;
  cursor: pointer;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: rgba(201, 168, 76, 0.35) 0px 6px 24px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: rgba(201, 168, 76, 0.5) 0px 10px 30px;
}
.btn-outline {
  padding: 12px 32px;
  background: transparent;
  color: var(--gold);
  font-family: Cinzel, serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  border: 1px solid rgba(201, 168, 76, 0.5);
  border-radius: 40px;
  cursor: pointer;
  text-decoration: none;
  transition: 0.3s;
}
.btn-outline:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: var(--gold);
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: 2s ease 0s infinite normal none running scrollBounce;
}
@keyframes scrollBounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0px);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}
.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(201, 168, 76, 0.5);
  border-bottom: 2px solid rgba(201, 168, 76, 0.5);
  transform: rotate(45deg);
  margin-top: -4px;
}
section {
  padding: 80px 24px;
}
.section-inner {
  max-width: 1100px;
  margin: 0px auto;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-label {
  display: inline-block;
  font-family: Cinzel, serif;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: Cinzel, serif;
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-desc {
  font-family: Lora, serif;
  font-size: 15px;
  color: var(--text-mid);
  max-width: 600px;
  margin: 0px auto;
  line-height: 1.7;
}
.section-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 20px auto 0px;
  border-radius: 3px;
}
#info-strip {
  background: var(--navy);
  padding: 28px 24px;
}
.info-strip-inner {
  max-width: 1100px;
  margin: 0px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 12px;
  transition: 0.3s;
}
.info-card:hover {
  background: rgba(201, 168, 76, 0.08);
  border-color: rgba(201, 168, 76, 0.35);
}
.info-card .icon {
  font-size: 28px;
  flex-shrink: 0;
}
.info-card .text .label {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--gold);
  text-transform: uppercase;
  font-family: Cinzel, serif;
}
.info-card .text .value {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 2px;
  line-height: 1.4;
}
#home {
  background: var(--cream);
}
.home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.home-visi-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--gold);
  margin-bottom: 24px;
}
.home-visi-card h3 {
  font-family: Cinzel, serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.home-visi-card p {
  font-family: Lora, serif;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.8;
  font-style: italic;
}
.home-misi ul {
  list-style: none;
  margin-top: 10px;
}
.home-misi ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-mid);
  padding: 6px 0px;
  line-height: 1.6;
}
.home-misi ul li::before {
  content: '✦';
  color: var(--gold);
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 4px;
}
.pastor-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 16px;
  padding: 36px;
  color: white;
  margin-bottom: 24px;
}
.pastor-card .label {
  font-family: Cinzel, serif;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.pastor-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.pastor-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.2);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.pastor-item .name {
  font-family: Cinzel, serif;
  font-size: 13px;
  color: var(--white);
  font-weight: 600;
  line-height: 1.3;
}
.pastor-item .role {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.5px;
}
.jadwal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.jadwal-card {
  background: var(--white);
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold);
  display: flex;
  align-items: center;
  gap: 18px;
  transition: 0.3s;
}
.jadwal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.jadwal-icon {
  font-size: 32px;
  flex-shrink: 0;
}
.jadwal-info .day {
  font-family: Cinzel, serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}
.jadwal-info .time {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 2px;
}
.jadwal-info .note {
  font-size: 11px;
  color: var(--text-light);
  line-height: 1.4;
}
#profil {
  background: linear-gradient(180deg, var(--cream-dark) 0%, var(--cream) 100%);
}
.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  border-bottom: 2px solid rgba(201, 168, 76, 0.2);
  flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 24px;
  font-family: Cinzel, serif;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-light);
  border-width: medium medium 3px;
  border-style: none none solid;
  border-color: currentcolor currentcolor transparent;
  border-image: initial;
  background: none;
  cursor: pointer;
  margin-bottom: -2px;
  transition: 0.2s;
  white-space: nowrap;
}
.tab-btn.active,
.tab-btn:hover {
  color: var(--gold-dark);
  border-bottom-color: var(--gold);
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
  animation: 0.4s ease 0s 1 normal none running fadeTab;
}
@keyframes fadeTab {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}
.sejarah-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}
.sejarah-text h3 {
  font-family: Cinzel, serif;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 16px;
}
.sejarah-text p {
  font-family: Lora, serif;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 16px;
}
.sejarah-points {
  list-style: none;
  margin-top: 20px;
}
.sejarah-points li {
  display: flex;
  gap: 14px;
  padding: 12px 0px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}
.sejarah-points li:last-child {
  border-bottom-width: medium;
  border-bottom-style: none;
  border-bottom-color: currentcolor;
}
.sejarah-points .bullet {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: white;
  flex-shrink: 0;
  margin-top: 2px;
}
.sejarah-points .content strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.sejarah-points .content span {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
}
.sejarah-sidebar .stat-box {
  background: var(--navy);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  color: white;
  margin-bottom: 20px;
}
.sejarah-sidebar .stat-box .number {
  font-family: Cinzel, serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.sejarah-sidebar .stat-box .desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 1px;
}
.wilayah-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.wilayah-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: 0.3s;
}
.wilayah-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.wilayah-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.wilayah-icon {
  width: 38px;
  height: 38px;
  background: rgba(201, 168, 76, 0.2);
  border: 1px solid var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.wilayah-header h3 {
  font-family: Cinzel, serif;
  font-size: 14px;
  color: var(--white);
  font-weight: 700;
}
.wilayah-body {
  padding: 20px 24px;
}
.wilayah-body ul {
  list-style: none;
}
.wilayah-body ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-mid);
  padding: 5px 0px;
  border-bottom: 1px dashed rgba(201, 168, 76, 0.2);
}
.wilayah-body ul li:last-child {
  border-bottom-width: medium;
  border-bottom-style: none;
  border-bottom-color: currentcolor;
}
.wilayah-body ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}
#artikel {
  background: var(--cream);
}
.artikel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.artikel-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: 0.3s;
  text-decoration: none;
  color: inherit;
}
.artikel-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.artikel-thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}
.artikel-thumb.warta {
  background: linear-gradient(135deg, rgb(26, 39, 68), rgb(36, 51, 88));
}
.artikel-thumb.nikah {
  background: linear-gradient(135deg, rgb(139, 26, 26), rgb(192, 57, 43));
}
.artikel-thumb.duka {
  background: linear-gradient(135deg, rgb(44, 44, 44), rgb(74, 74, 74));
}
.artikel-thumb.liturgi {
  background: linear-gradient(135deg, rgb(123, 79, 30), rgb(201, 168, 76));
}
.artikel-body {
  padding: 22px;
}
.artikel-body .category {
  font-family: Cinzel, serif;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.artikel-body h3 {
  font-family: Lora, serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.4;
}
.artikel-body p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}
#pelayanan {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: white;
}
#pelayanan .section-title {
  color: var(--white);
}
#pelayanan .section-desc {
  color: rgba(255, 255, 255, 0.6);
}
.pelayanan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.pelayanan-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  text-decoration: none;
  color: white;
  transition: 0.3s;
  cursor: pointer;
}
.pelayanan-card:hover {
  background: rgba(201, 168, 76, 0.12);
  border-color: var(--gold);
  transform: translateY(-4px);
}
.pelayanan-card .icon {
  font-size: 36px;
  margin-bottom: 14px;
  display: block;
}
.pelayanan-card .name {
  font-family: Cinzel, serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.pelayanan-card .desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}
#komunitas {
  background: var(--cream);
}
.komunitas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}
.komunitas-item {
  background: var(--white);
  border-radius: 12px;
  padding: 18px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid transparent;
  transition: 0.3s;
  cursor: pointer;
}
.komunitas-item:hover {
  border-bottom-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.komunitas-item .icon {
  font-size: 28px;
  margin-bottom: 10px;
  display: block;
}
.komunitas-item .name {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}
#galeri {
  background: var(--navy-dark);
  color: white;
}
#galeri .section-title {
  color: var(--white);
}
#galeri .section-desc {
  color: rgba(255, 255, 255, 0.6);
}
.galeri-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}
.galeri-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.1);
  cursor: pointer;
  transition: 0.3s;
  position: relative;
}
.galeri-item:hover {
  transform: scale(1.02);
  border-color: var(--gold);
}
.galeri-item.large {
  grid-area: span 2 / span 2;
  font-size: 64px;
}
.galeri-label {
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-family: Lora, serif;
  font-style: italic;
}
#kontak {
  background: var(--cream-dark);
}
.kontak-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.kontak-info {
}
.kontak-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold);
}
.kontak-item .icon {
  font-size: 24px;
  flex-shrink: 0;
}
.kontak-item .label {
  font-family: Cinzel, serif;
  font-size: 10px;
  color: var(--gold-dark);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.kontak-item .value {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.5;
}
.kontak-map {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  border: 2px solid rgba(201, 168, 76, 0.2);
  flex-direction: column;
  gap: 12px;
  color: var(--text-mid);
}
.kontak-map p {
  font-family: Lora, serif;
  font-size: 14px;
  font-style: italic;
  text-align: center;
  padding: 0px 20px;
}
.map-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 24px;
  background: var(--navy);
  color: white;
  border-radius: 30px;
  font-size: 12px;
  text-decoration: none;
  transition: 0.2s;
}
.map-btn:hover {
  background: var(--navy-light);
}
footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 24px 32px;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
}
.footer-inner {
  max-width: 1100px;
  margin: 0px auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .logo {
  font-family: Cinzel, serif;
  font-size: 16px;
  color: var(--gold);
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.5);
}
.footer-col h4 {
  font-family: Cinzel, serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  padding: 5px 0px;
}
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul li a:hover {
  color: var(--gold);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .copy {
  color: rgba(255, 255, 255, 0.35);
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.social-btn {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s;
  text-decoration: none;
}
.social-btn:hover {
  background: rgba(201, 168, 76, 0.15);
  border-color: var(--gold);
}
.mobile-menu {
  display: none;
  position: fixed;
  inset: 68px 0px 0px;
  background: var(--navy-dark);
  z-index: 999;
  overflow-y: auto;
  padding: 20px;
}
.mobile-menu.open {
  display: block;
}
.mobile-nav-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mobile-nav-link {
  display: block;
  padding: 14px 4px;
  font-family: Cinzel, serif;
  font-size: 13px;
  color: var(--white);
  text-decoration: none;
  cursor: pointer;
}
.mobile-sub-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-sub {
  display: none;
  padding: 0px 12px 8px;
}
.mobile-sub.open {
  display: block;
}
.mobile-sub a {
  display: block;
  padding: 8px 0px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}
.mobile-sub .sub-group {
  font-family: Cinzel, serif;
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 1px;
  padding: 10px 0px 4px;
}
@media (max-width: 900px) {
  .nav-menu {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .home-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .sejarah-content {
    grid-template-columns: 1fr;
  }
  .kontak-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .galeri-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .galeri-item.large {
    grid-column: span 2;
  }
}
@media (max-width: 600px) {
  section {
    padding: 60px 16px;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .galeri-grid {
    grid-template-columns: 1fr;
  }
  .galeri-item.large {
    grid-column: span 1;
  }
  .hero-title {
    font-size: 26px;
  }
}
.text-gold {
  color: var(--gold);
}
.mt-4 {
  margin-top: 16px;
}

/* WordPress-specific styles */
.wp-block-group {
  margin-bottom: 1rem;
}

.wp-block-image {
  margin-bottom: 1rem;
}

.wp-block-button {
  margin-bottom: 1rem;
}

/* CRITICAL: Reset WordPress default constraints that break layouts */
/* WordPress adds default max-width to containers which breaks original layouts */
.entry-content,
.site-content,
.content-area {
  max-width: none !important;
  width: 100% !important;
}

/* EC-CONTAIN-001: Only override .container / section max-width when the site's
   own CSS does NOT define them. Tailwind and Bootstrap sites intentionally set
   .container { max-width: … } — blasting it with !important breaks every section. */
section,
.section {
  max-width: none !important;
}

.container {
  max-width: none !important;
}

/* EC-ANIM-008 / EC-ANIM-009: Scroll-reveal utilities (.scroll-fade-up etc.) start at opacity:0
   and transition to visible when an IntersectionObserver adds .visible (injected in functions.php).
   Carousels inside scroll-reveal wrappers must be forced visible immediately so Embla can measure. */
.scroll-fade-up:has([aria-roledescription='carousel']),
.scroll-fade-up:has([data-wpconvert-blog-filter-bar]),
.scroll-fade-left:has([aria-roledescription='carousel']),
.scroll-fade-right:has([aria-roledescription='carousel']),
.scroll-scale-in:has([aria-roledescription='carousel']) {
  opacity: 1 !important;
  transform: none !important;
}

/* EC-SCROLL-001: Auto-scroll marquee CSS (always included - lightweight, no-op if no marquee elements) */

/* EC-SCROLL-001: Auto-scroll gallery marquee animation */
/* Replaces React requestAnimationFrame/scrollLeft with pure CSS animation */
.wpconvert-marquee-container {
  overflow: hidden !important;
}
.wpconvert-marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: wpconvert-marquee 30s linear infinite;
}
@keyframes wpconvert-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* Pause on hover for accessibility */
.wpconvert-marquee-container:hover .wpconvert-marquee-track {
  animation-play-state: paused;
}
/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .wpconvert-marquee-track {
    animation: none;
    overflow-x: auto;
  }
}

/* EC-ANIM-011: Frozen Framer Motion infinite float/pulse animations replaced with CSS keyframes.
   4 float variants with staggered durations and amplitudes, plus a pulse variant. */
@keyframes wpconvert-float-1 {
  0%,
  100% {
    transform: translateY(-8px);
  }
  50% {
    transform: translateY(8px);
  }
}
@keyframes wpconvert-float-2 {
  0%,
  100% {
    transform: translateY(6px);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes wpconvert-float-3 {
  0%,
  100% {
    transform: translateY(-5px);
  }
  50% {
    transform: translateY(12px);
  }
}
@keyframes wpconvert-float-4 {
  0%,
  100% {
    transform: translateY(10px);
  }
  50% {
    transform: translateY(-6px);
  }
}
@keyframes wpconvert-pulse {
  0%,
  100% {
    scale: 1;
  }
  50% {
    scale: 1.05;
  }
}
@keyframes wpconvert-float-tilt {
  0%,
  100% {
    transform: translateY(0%) rotate(0deg);
  }
  50% {
    transform: translateY(4%) rotate(-2deg);
  }
}
.wpconvert-float-1 {
  animation: wpconvert-float-1 5s ease-in-out infinite;
}
.wpconvert-float-2 {
  animation: wpconvert-float-2 6s ease-in-out infinite 0.5s;
}
.wpconvert-float-3 {
  animation: wpconvert-float-3 5.5s ease-in-out infinite 1s;
}
.wpconvert-float-4 {
  animation: wpconvert-float-4 6.5s ease-in-out infinite 1.5s;
}
.wpconvert-pulse {
  animation: wpconvert-pulse 4s ease-in-out infinite;
}
.wpconvert-float-tilt {
  animation: wpconvert-float-tilt 6s ease-in-out infinite;
}
/* EC-ANIM-011c: z-0 override for centered pulse cards whose z-10 was demoted */
.wpconvert-pulse.z-0 {
  z-index: 0;
}
@media (prefers-reduced-motion: reduce) {
  .wpconvert-float-1,
  .wpconvert-float-2,
  .wpconvert-float-3,
  .wpconvert-float-4,
  .wpconvert-pulse,
  .wpconvert-float-tilt {
    animation: none;
  }
}

/* WPConvert Tabs Component CSS */

/* WPConvert Tabs Component */
.wpconvert-tabs {
  max-width: 64rem;
  margin: 0 auto;
}

.wpconvert-tab-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .wpconvert-tab-nav {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .wpconvert-tab-nav {
    grid-template-columns: repeat(6, 1fr);
  }
}

.wpconvert-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  transition: all 0.3s ease;
}

.wpconvert-tab-btn:hover {
  border-color: hsl(var(--primary) / 0.5);
  color: hsl(var(--foreground));
}

.wpconvert-tab-btn.active {
  background: hsl(var(--primary) / 0.1);
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}

.wpconvert-tab-icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-bottom: 0.5rem;
}

.wpconvert-tab-icon svg {
  width: 100%;
  height: 100%;
}

.wpconvert-tab-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
}

.wpconvert-tab-viewport {
  position: relative;
  display: flex;
  align-items: center;
}

.wpconvert-tab-content {
  flex: 1;
  position: relative;
}

.wpconvert-tab-panel {
  display: none;
  padding: 2rem;
  border-radius: 0.75rem;
  background: linear-gradient(
    135deg,
    hsl(var(--card)) 0%,
    hsl(var(--muted) / 0.3) 100%
  );
  border: 1px solid hsl(var(--border));
  text-align: center;
  animation: wpconvert-tab-fade-in 0.3s ease;
}

.wpconvert-tab-panel.active {
  display: block;
}

@keyframes wpconvert-tab-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wpconvert-tab-icon-large {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 2rem;
  padding: 1rem;
  border-radius: 1rem;
  background: hsl(var(--primary) / 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wpconvert-tab-icon-large svg {
  width: 100%;
  height: 100%;
  color: hsl(var(--primary));
}

.wpconvert-tab-title {
  font-family: var(--font-display, inherit);
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .wpconvert-tab-title {
    font-size: 1.875rem;
  }
}

.wpconvert-tab-description {
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
  max-width: 42rem;
  margin: 0 auto 1.5rem;
}

.wpconvert-tab-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.wpconvert-tab-arrow:hover {
  color: hsl(var(--primary));
  border-color: hsl(var(--primary));
}

.wpconvert-tab-prev {
  left: -1rem;
}

@media (min-width: 640px) {
  .wpconvert-tab-prev {
    left: -1.5rem;
  }
}

.wpconvert-tab-next {
  right: -1rem;
}

@media (min-width: 640px) {
  .wpconvert-tab-next {
    right: -1.5rem;
  }
}

.wpconvert-tab-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.wpconvert-tab-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: hsl(var(--muted-foreground) / 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wpconvert-tab-dot:hover {
  background: hsl(var(--muted-foreground) / 0.5);
}

.wpconvert-tab-dot.active {
  background: hsl(var(--primary));
  width: 2rem;
  border-radius: 0.375rem;
}

/* EC-MSTEP-001: Multi-step form wizard CSS */

/* EC-MSTEP-001: Multi-step form wizard */
.wpconvert-multistep-form {
  width: 100%;
}
.wpconvert-step-panel {
  display: none;
}
.wpconvert-step-panel.active {
  display: block;
  animation: wpconvert-step-fade-in 0.25s ease;
}
@keyframes wpconvert-step-fade-in {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.wpconvert-step-progress-fill {
  transition: width 0.4s ease-out;
}
/* Signature canvas */
canvas[data-wpc-sig-init] {
  width: 100%;
  min-height: 150px;
  border: 2px solid var(--border, #e5e7eb);
  border-radius: 1rem;
  background: #fff;
  cursor: crosshair;
  touch-action: none;
}

/* EC-CALC-001: Interactive calculator CSS */

/* EC-CALC-001: Interactive calculator */
[data-wpc-calc] input[type='range'] {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
[data-wpc-calc] input[type='range']:focus {
  outline: none;
}
[data-wpc-calc] [data-wpc-calc-toggle].wpc-calc-toggle-active {
  opacity: 1;
}
[data-wpc-calc] [data-wpc-calc-toggle]:not(.wpc-calc-toggle-active) {
  opacity: 0.6;
}

/* CRITICAL FIX: Ensure gradient overlays respect their default hidden state */
/* NOTE: The main fix is in cleanHtmlContent() which corrects captured hover states */
/* These CSS rules are a FALLBACK to ensure overlays stay hidden if any slip through */

/* Keep gradient overlays hidden - they're decorative hover effects */
.group [class*='absolute'][class*='inset-0'][class*='bg-gradient'].opacity-0 {
  opacity: 0 !important;
}

/* Keep bottom accent bars hidden by default */
.group [class*='absolute'][class*='bottom-0'][class*='bg-gradient'].scale-x-0 {
  transform: scaleX(0) !important;
}

/* Reset WordPress default margins that break spacing */
.entry-content > *:first-child,
.site-content > *:first-child {
  margin-top: 0 !important;
}

/* EC-DARK-001: In dark-themed sites (html.dark), containers with explicit bg-white
   backgrounds need dark text. The .dark scope sets --foreground to a light color,
   making text invisible on white cards. Reset to :root-scope (light) variable values. */
.dark .bg-white,
.dark [class*='bg-white'] {
  --foreground: 222.2 84% 4.9%;
  --muted-foreground: 215.4 16.3% 46.9%;
  color: hsl(222.2 84% 4.9%);
}
.dark .bg-white .text-foreground,
.dark [class*='bg-white'] .text-foreground,
.dark .bg-white [class*='text-foreground'],
.dark [class*='bg-white'] [class*='text-foreground'] {
  color: hsl(222.2 84% 4.9%);
}

/* Navigation Menu Styling - Universal for all dropdown patterns */
/* Reset ALL menu items */
.menu-item,
li.menu-item,
li.menu-item-type-post_type,
li.menu-item-type-custom,
li.menu-item-object-page,
li.menu-item-has-children {
  position: relative;
  list-style: none !important;
  margin: 0;
}

/* CRITICAL: Top-level menu MUST be horizontal - Maximum specificity */
/* NOTE: nav ul#wpconvert-primary-ul is NOT included here to avoid conflicting with .main-nav styling */
/* EC-NAV-095: Do NOT set gap here. A fixed gap with !important (previously 0.25rem, briefly 2rem) overrides
   menus.json ulClasses / Tailwind (e.g. gap-8) and breaks diverse nav densities. Spacing comes from ulClasses. */
header ul#wpconvert-primary-ul,
#wpconvert-primary-ul,
#wpconvert-primary-ul.menu,
ul#wpconvert-primary-ul.menu,
ul.menu:not(.submenu):not(.sub-menu) {
  display: flex !important;
  flex-direction: row !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
}

/* CRITICAL: Preserve original .main-nav styling for static sites - MUST come AFTER generic rules */
/* MAXIMUM specificity with header prefix ensures this overrides ALL other rules */
header nav.main-nav ul#wpconvert-primary-ul,
header .main-nav ul#wpconvert-primary-ul,
nav.main-nav ul#wpconvert-primary-ul,
.main-nav #wpconvert-primary-ul,
.main-nav ul#wpconvert-primary-ul {
  /* Inherit the original .main-nav ul styles */
  display: flex !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
}

/* Preserve original .main-nav link styling */
header nav.main-nav ul#wpconvert-primary-ul a,
header .main-nav ul#wpconvert-primary-ul a,
nav.main-nav ul#wpconvert-primary-ul a,
.main-nav #wpconvert-primary-ul a,
.main-nav ul#wpconvert-primary-ul a {
  text-decoration: none;
  font-weight: 500;
}

/* CRITICAL: Top-level items MUST be inline - Maximum specificity for ALL WordPress classes */
/* NOTE: nav ul#wpconvert-primary-ul > li is NOT included to avoid conflicting with .main-nav */
header ul#wpconvert-primary-ul > li,
#wpconvert-primary-ul > li,
#wpconvert-primary-ul > li.menu-item,
#wpconvert-primary-ul > li.menu-item-type-post_type,
#wpconvert-primary-ul > li.menu-item-type-custom,
#wpconvert-primary-ul > li.menu-item-object-page,
#wpconvert-primary-ul > li.menu-item-object-custom,
#wpconvert-primary-ul > li.menu-item-has-children,
#wpconvert-primary-ul > li.current-menu-item,
#wpconvert-primary-ul > li.current_page_item,
#wpconvert-primary-ul > li.current-menu-ancestor,
#wpconvert-primary-ul.menu > li,
ul.menu:not(.submenu):not(.sub-menu) > li,
body #wpconvert-primary-ul > li {
  display: inline-block !important;
  position: relative !important;
  flex-shrink: 0 !important;
  list-style: none !important;
  margin: 0 !important;
  vertical-align: middle !important;
  float: none !important;
  width: auto !important;
  clear: none !important;
}

/* Top-level links maintain their button appearance */
#wpconvert-primary-ul > .menu-item > a {
  /* Keep original classes for styling */
}

/* Hide submenus by default with high z-index - CRITICAL for all sites */
.menu-item.menu-item-has-children > .submenu,
.menu-item.menu-item-has-children > .sub-menu,
.menu-item-has-children > ul,
li.menu-item-has-children > ul {
  display: none !important; /* Important to override inline-flex and other display classes */
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  background: white !important;
  min-width: 200px !important;
  max-width: 500px !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
  z-index: 9999 !important; /* Higher than content */
  padding: 0.5rem 0 !important;
  list-style: none !important;
  margin: 0 !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 0.375rem !important;
}

/* Show on hover/focus - Maximum specificity to override everything */
.menu-item.menu-item-has-children:hover > .submenu,
.menu-item.menu-item-has-children:hover > .sub-menu,
.menu-item.menu-item-has-children:hover > ul,
.menu-item.menu-item-has-children:focus-within > .submenu,
.menu-item.menu-item-has-children:focus-within > .sub-menu,
.menu-item.menu-item-has-children:focus-within > ul,
li.menu-item-has-children:hover > ul,
li.menu-item-has-children:focus-within > ul {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Force submenu items to display as block - Override ALL WordPress and utility classes */
.submenu li,
.submenu .menu-item,
.submenu .menu-item-type-post_type,
.submenu .menu-item-type-custom,
.submenu .menu-item-object-page,
.submenu .menu-item-object-custom,
.submenu .current-menu-item,
.submenu .current_page_item,
ul.sub-menu li,
ul.sub-menu .menu-item,
body .submenu li {
  display: block !important;
  width: 100% !important;
  position: relative !important;
  flex-direction: column !important;
  list-style: none !important;
  float: none !important;
  clear: both !important;
}

.submenu .menu-item a,
.submenu a,
ul.sub-menu a {
  display: block !important;
  width: 100% !important;
  padding: 0.5rem 1rem !important;
  white-space: nowrap !important;
  text-align: left !important;
}

/* Override ANY utility classes that could break submenu layout */
.submenu .menu-item.inline-flex,
.submenu .menu-item.flex,
.submenu .menu-item.grid,
.submenu li.inline-flex,
.submenu li.flex,
.submenu li.grid,
.submenu .inline-flex,
.submenu .flex,
.submenu .grid {
  display: block !important;
  flex-direction: column !important;
}

.submenu .menu-item a.inline-flex,
.submenu .menu-item a.flex,
.submenu .menu-item a.grid,
.submenu a.inline-flex,
.submenu a.flex,
.submenu a.grid {
  display: block !important;
}

/* Ensure submenu container is vertical */
.submenu,
ul.sub-menu {
  flex-direction: column !important;
  display: block !important;
}

/* FLAT NAV ACTIVE STATE - For React/Vite sites converted to wp_nav_menu() */
/* EC-NAV-010: Dynamic current page highlighting */
/* The .wpconvert-active-link class is added by WPConvert_Flat_Menu_Walker to current page links */
.wpconvert-active-link {
  /* Default active styling - will be enhanced by extracted classes if available */
  font-weight: 600;
}

/* EC-NAV-010: When active link has text-primary class, override any text-foreground from base */
/* This ensures the active item shows the highlighted color (text-primary = green/brand color) */
a.wpconvert-active-link.text-primary,
.current-menu-item > a.text-primary,
.current_page_item > a.text-primary {
  color: hsl(var(--primary)) !important;
}

/* EC-NAV-010: Ensure inactive items don't get active color */
/* Links WITHOUT wpconvert-active-link should use text-foreground */
nav a.text-foreground:not(.wpconvert-active-link):not(.text-primary) {
  color: hsl(var(--foreground)) !important;
}

/* Also style current-menu-item for flat navs */
.current-menu-item > a,
.current_page_item > a,
a.current-menu-item,
a.wpconvert-active-link {
  /* The actual active styling comes from extracted activeLinkClasses */
  /* These are fallback styles if extraction doesn't provide specific classes */
}

/* Flat nav submenu styling */
.wpconvert-flat-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 0.375rem;
  padding: 0.5rem 0;
  display: none;
  z-index: 9999;
}

.wpconvert-flat-submenu a {
  display: block;
  padding: 0.5rem 1rem;
  white-space: nowrap;
}

/* EC-NAV-140: Large flat dropdowns flow into two columns (mega-style) without extra walker markup */
.wpconvert-flat-submenu--mega-cols-2 {
  min-width: min(640px, 92vw);
  column-count: 2;
  column-gap: 2.5rem;
  padding: 0.75rem 1.25rem !important;
}
.wpconvert-flat-submenu--mega-cols-2 > a {
  white-space: normal !important;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}
/* Show flat submenu when parent <li> hovers (wp_nav_menu wraps items in li.menu-item-has-children) */
li.menu-item-has-children:hover > .wpconvert-flat-submenu,
li.menu-item-has-children:focus-within > .wpconvert-flat-submenu {
  display: block !important;
}

/* Hide Radix UI viewport containers and similar dropdown containers - Universal */
[data-radix-navigation-menu-viewport],
[class*='viewport'][data-state='open'],
[class*='popover'][data-state='open'],
.radix-navigation-menu-viewport,
nav > div[class*='absolute'][class*='top-full'] {
  display: none !important;
  visibility: hidden !important;
}

/* EC-DIALOG-001: Hide Radix Sheet/Dialog overlays and panels that survive into converted themes */
/* These are interactive React components captured in open state during snapshot */
[role='dialog'][class*='fixed'],
[data-radix-dialog-content][class*='fixed'],
div[data-state='open'][class*='fixed'][class*='inset-0'][class*='bg-black'],
div[data-state='open'][class*='fixed'][class*='inset-0'][class*='backdrop'] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .menu-item.menu-item-has-children > .submenu {
    position: static;
    box-shadow: none;
  }
}

/* CRITICAL: Ensure header and navigation are above hero/content sections */
/* Only apply relative positioning if nav is NOT sticky/fixed/absolute */
/* Exclude #wpconvert-mobile-nav — it must stay position:fixed as an overlay */
/* EC-NAV-190: Also exclude position:absolute overlay headers (Tailwind
   "absolute" utility class) — common in hero-overlay navbars (e.g.
   svg-to-site-magic-main: <header class="absolute inset-x-0 top-6 z-30 ...">).
   Without this exclusion, the !important rule below forces the absolute
   overlay header into normal flow, taking up its full height and pushing
   the hero section down by ~80px (visible as a white band above the navbar). */
header:not([class*='sticky']):not([class*='fixed']):not([class*='absolute']),
.site-header:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ),
nav:not([class*='sticky']):not([class*='fixed']):not([class*='absolute']):not(
    #wpconvert-mobile-nav
  ),
[role='banner']:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ),
[role='navigation']:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ):not(#wpconvert-mobile-nav) {
  position: relative !important;
  z-index: 1000 !important;
}

/* Preserve sticky/fixed positioning for navs that have it */
/* CRITICAL: Ensure sticky/fixed actually works - add explicit CSS for common patterns */
nav[class*='sticky'],
nav[class*='fixed'],
header nav[class*='sticky'],
header nav[class*='fixed'],
header[class*='sticky'],
header[class*='fixed'],
.site-header[class*='sticky'],
.site-header[class*='fixed'] {
  z-index: 1000 !important; /* Keep z-index for visibility */
}

/* Explicit sticky positioning support - ensures it works even without Tailwind CSS loaded */
/* Only apply if sticky class is present and no explicit position override */
nav.sticky,
nav[class*='sticky']:not([style*='position']),
header nav.sticky,
header nav[class*='sticky']:not([style*='position']),
header.sticky,
header[class*='sticky']:not([style*='position']) {
  position: sticky !important;
}

/* Explicit fixed positioning support - ensures it works even without Tailwind CSS loaded */
nav.fixed,
nav[class*='fixed']:not([style*='position']),
header nav.fixed,
header nav[class*='fixed']:not([style*='position']),
header.fixed,
header[class*='fixed']:not([style*='position']) {
  position: fixed !important;
}

/* Common Tailwind patterns: sticky top-0, fixed top-0 */
nav[class*='sticky'][class*='top-0'],
nav[class*='fixed'][class*='top-0'],
header nav[class*='sticky'][class*='top-0'],
header nav[class*='fixed'][class*='top-0'],
header[class*='sticky'][class*='top-0'],
header[class*='fixed'][class*='top-0'] {
  top: 0 !important;
}

/* Fixed navs typically need full width */
nav[class*='fixed'][class*='w-full'],
nav[class*='fixed'][class*='top-0'],
header nav[class*='fixed'][class*='w-full'],
header nav[class*='fixed'][class*='top-0'],
header[class*='fixed'][class*='w-full'],
header[class*='fixed'][class*='top-0'] {
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
}

/* Ensure hero and main content respect header z-index */
section[class*='hero'],
.hero,
main,
.site-main {
  position: relative;
  z-index: 1;
}

/* Theme-specific overrides */
/* Only apply relative if not sticky/fixed */
.site-header:not([class*='sticky']):not([class*='fixed']) {
  position: relative;
}

.site-main {
  margin-top: 0;
  padding-top: 0;
  min-height: 60vh;
}

/* Remove gap between fixed navbar and first content (white band under header).
 * Use :first-of-type (not :first-child): WP templates often have a whitespace text node
 * between <div id="primary"> and <section>, so section is never :first-child and rules
 * would silently fail (EC-NAV-086 follow-up). */
.site-main > section:first-of-type,
.site-main > div:first-of-type > section:first-of-type {
  margin-top: 0;
}

/* EC-NAV-086: Skipped hero overlap CSS — nav is not fixed/sticky */

.site-footer {
  margin-top: auto;
}

/* EC-TW4-001: WordPress default style overrides */

body {
  line-height: 1.6;
}
body.wp-admin {
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
}
/* EC-BTN-104: :where() = 0 specificity so Tailwind text-* utilities always win over these resets.
   Plain "a:hover { color: inherit }" can outrank .text-white on links (0,2,0 vs 0,1,0) and wash out hero CTAs. */
:where(a) {
  color: inherit;
  text-decoration: none;
}
:where(a:hover) {
  color: inherit;
}
/* EC-CSS-001: Long-hand padding-left/right (NOT shorthand 'padding: 0 20px') so
 * compound selectors like .container.hero-grid (which sets padding-top: 74px)
 * keep their vertical padding. The shorthand resets ALL four sides at the same
 * specificity, which on Dabster Labs caused the hero badge to slide under the
 * fixed 74px nav. Horizontal gutter (20px each side) unchanged; vertical
 * defaults to the browser's 0 — same effective behavior for sites that do not
 * set padding-top via another selector. */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}
:where(button, .btn) {
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}
input,
textarea,
select {
  font-family: inherit;
}
ul,
ol {
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
}

/* Grid Layout & Sidebar Preservation - Ensures Bootstrap and other grid systems work properly */
.grid-layout-container {
  width: 100%;
  max-width: 100%;
}

/* Preserve Bootstrap row structure */
.grid-layout-container .row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

/* Ensure Bootstrap columns work */
.grid-layout-container [class*='col-'] {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

/* Bootstrap column widths - responsive */
@media (min-width: 768px) {
  .grid-layout-container .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .grid-layout-container .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .grid-layout-container .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .grid-layout-container .col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .grid-layout-container .col-md-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .grid-layout-container .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Mobile stacking for sidebars */
@media (max-width: 767px) {
  .grid-layout-container [class*='col-'] {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Sidebar styling */
.grid-layout-container aside,
.grid-layout-container [class*='sidebar'] {
  padding: 20px;
}

/* CRITICAL: Disable popups marked by WPConvert - Universal for ALL popup libraries */
/* This targets ONLY popups we've marked, regardless of the library used */
/* Users can re-enable by overriding this CSS in Customizer → Additional CSS */
[data-wpconvert-popup-disabled='true'] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -9999 !important;
  position: absolute !important;
  left: -99999px !important;
  transform: scale(0) !important;
}

/* Also hide child elements of disabled popups (for nested structures) */
[data-wpconvert-popup-disabled='true'] * {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Disable popup overlay backgrounds (universal) */
[data-wpconvert-popup-disabled='true'].overlay,
[data-wpconvert-popup-disabled='true'][class*='overlay'],
[data-wpconvert-popup-disabled='true'][class*='backdrop'],
[data-wpconvert-popup-disabled='true'][class*='bg'] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* CRITICAL: Tailwind Font Override - ensure custom fonts take precedence over Tailwind CDN */
/* Tailwind CDN generates CSS dynamically that can override static CSS, so we use !important */
/* No custom font classes detected */

/* EC-ANIM-008b / EC-ANIM-009: carousel-only override — scroll-reveal elements animate via IO in functions.php */
.scroll-fade-up:has([aria-roledescription='carousel']),
.scroll-fade-up:has([data-wpconvert-blog-filter-bar]),
.scroll-fade-left:has([aria-roledescription='carousel']),
.scroll-fade-right:has([aria-roledescription='carousel']),
.scroll-scale-in:has([aria-roledescription='carousel']) {
  opacity: 1 !important;
  transform: none !important;
}
