/* ===== CSS Variables & Reset ===== */
:root {
  --primary: #00a3e1;
  --primary-dark: #0090c7;
  --primary-light: #33b5e8;
  --primary-bg: #e8f7fc;
  --accent: #00a3e1;
  --accent-light: #e8f7fc;
  --bg: #FFFFFF;
  --bg-alt: #f4f4f4;
  --bg-dark: #282828;
  --bg-dark-card: #333333;
  --bg-card: #FFFFFF;
  --bg-card-hover: #f9f9f9;
  --text: #282828;
  --text-muted: #737373;
  --text-body: #5e5e5e;
  --border: #e8e8e8;
  --border-light: #f0f0f0;
  --gradient-primary: linear-gradient(135deg, #00a3e1, #33b5e8);
  --gradient-hero: linear-gradient(135deg, rgba(40, 40, 40, 0.7), rgba(40, 40, 40, 0.5));
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow: 0 8px 8px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
  --transition: 0.48s cubic-bezier(0.509, -0.005, 0.111, 1.007);
  --font-zh: 'Inter', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-en: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 18px;
}

body {
  font-family: var(--font-zh);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.lang-en {
  font-family: var(--font-en);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Language Toggle ===== */
.lang-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-en);
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
}

.lang-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.lang-icon {
  display: flex;
  align-items: center;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(5px);
  padding: 10px 0;
  border-bottom: none;
  box-shadow: none;
}

.navbar.scrolled .nav-logo .logo-text,
.navbar.scrolled .nav-menu a {
  color: var(--text);
}

.navbar.scrolled .nav-menu a:hover,
.navbar.scrolled .nav-menu a.active {
  color: var(--primary);
  background: none;
}

.navbar.scrolled .nav-toggle span {
  background: var(--text);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #fff;
}

.logo-img {
  height: 36px;
  width: auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

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

.nav-menu a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
  background: none;
}

/* ===== Nav Dropdown ===== */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-toggle svg {
  transition: var(--transition);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 160px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 8px 0;
  z-index: 1000;
  list-style: none;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu li {
  margin: 0;
}

.nav-dropdown-menu a {
  display: block;
  padding: 8px 16px;
  font-size: 0.85rem;
  color: var(--text) !important;
  background: none !important;
  white-space: nowrap;
  text-decoration: none;
  transition: var(--transition);
}

.nav-dropdown-menu a:hover {
  background: var(--primary-bg) !important;
  color: var(--primary) !important;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out;
}

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

.hero-tag {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
  color: #fff;
}

.title-line {
  display: block;
}

.title-line.accent {
  color: rgba(255, 255, 255, 0.7);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.7);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  letter-spacing: 1px;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

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

.btn-primary:hover {
  background: var(--primary);
  transform: none;
  box-shadow: none;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  transform: none;
}

/* ===== Hero Scroll Indicator ===== */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  letter-spacing: 2px;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  color: rgba(255, 255, 255, 0.6);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== Section Styles ===== */
.section {
  padding: 100px 0;
}

/* ===== Dark Section Theme ===== */
.section-dark {
  background: var(--bg-dark);
  color: #fff;
}

.section-dark .section-title {
  color: #fff;
}

.section-dark .section-tag {
  color: var(--primary);
}

.section-dark .about-card,
.section-dark .service-card,
.section-dark .ministry-card,
.section-dark .event-card,
.section-dark .explore-card,
.section-dark .contact-item,
.section-dark .testimony-card,
.section-dark .fellowship-item,
.section-dark .cellgroup-item {
  background: var(--bg-dark-card);
  border-color: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.section-dark .about-card:hover,
.section-dark .service-card:hover,
.section-dark .ministry-card:hover,
.section-dark .event-card:hover,
.section-dark .explore-card:hover,
.section-dark .contact-item:hover,
.section-dark .fellowship-item:hover,
.section-dark .cellgroup-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.section-dark .about-card h3,
.section-dark .service-card h3,
.section-dark .ministry-card h3,
.section-dark .event-card h3,
.section-dark .explore-card h3,
.section-dark .fellowship-item h4,
.section-dark .cellgroup-item h4 {
  color: #fff;
}

.section-dark .about-card p,
.section-dark .service-card p,
.section-dark .ministry-card p,
.section-dark .event-card p,
.section-dark .explore-card p,
.section-dark .fellowship-item p,
.section-dark .cellgroup-item p,
.section-dark .contact-item p {
  color: #b4bdca;
}

.section-dark .about-icon,
.section-dark .explore-card .explore-icon {
  background: rgba(0, 163, 225, 0.15);
}

.section-dark .service-time,
.section-dark .event-date {
  color: rgba(255, 255, 255, 0.5);
}

.section-dark .contact-item h4 {
  color: #fff;
}

.section-dark .contact-icon {
  background: rgba(0, 163, 225, 0.15);
  color: var(--primary);
}

.section-dark .contact-map {
  border-color: rgba(255, 255, 255, 0.08);
}

.section-dark .core-values {
  background: var(--bg-dark-card);
  border-color: rgba(255, 255, 255, 0.06);
}

.section-dark .value-item h4,
.section-dark .core-values h3 {
  color: #fff;
}

.section-dark .value-item p {
  color: #b4bdca;
}

.section-dark .annual-theme {
  background: rgba(0, 163, 225, 0.1);
  border-color: rgba(0, 163, 225, 0.2);
}

.section-dark .annual-theme h3 {
  color: var(--primary);
}

.section-dark .annual-theme p {
  color: #b4bdca;
}

.section-dark .faith-item {
  background: var(--bg-dark-card);
  color: #b4bdca;
}

.section-dark .faith-item::before {
  color: var(--primary);
}

.section-dark .fellowship-section-title {
  color: #fff;
}

.section-dark .event-tag {
  background: rgba(0, 163, 225, 0.15);
  color: var(--primary);
}

.section-dark .giving-card {
  background: var(--bg-dark-card);
  border-color: rgba(255, 255, 255, 0.06);
}

.section-dark .giving-content h2 {
  color: #fff;
}

.section-dark .giving-content > p {
  color: #b4bdca;
}

.section-dark .giving-method {
  background: rgba(255, 255, 255, 0.06);
}

.section-dark .giving-method h4 {
  color: #fff;
}

.section-dark .giving-method p {
  color: #b4bdca;
}

.section-dark .btn-primary {
  background: #fff;
  color: var(--bg-dark);
}

.section-dark .btn-primary:hover {
  background: var(--primary);
  color: #fff;
}

.section-about {
  background: var(--bg);
}

.section-services {
  background: var(--bg-alt);
}

.section-ministries {
  background: var(--bg);
}

.section-events {
  background: var(--bg-alt);
}

.section-contact {
  background: var(--bg-alt);
}

.section-header {
  text-align: left;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  padding: 0;
  background: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.15;
  color: var(--text);
  text-transform: uppercase;
}

.section-about .section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

/* ===== About Section ===== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.about-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
  overflow: hidden;
}

.about-card:hover {
  border-color: var(--border);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.about-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-card:hover .about-img {
  transform: scale(1.05);
}

.about-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 24px 28px 10px;
  color: var(--text);
}

.about-card p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
  padding: 0 28px 28px;
}

/* ===== Faith Statement Toggle ===== */
.faith-statement-toggle {
  margin-top: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faith-statement-toggle summary {
  padding: 20px 32px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.faith-statement-toggle summary:hover {
  background: var(--primary-bg);
}

.faith-statement-content {
  padding: 0 32px 32px;
}

.faith-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  counter-reset: faith;
}

.faith-list li {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-body);
  padding: 16px 20px 16px 48px;
  position: relative;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  counter-increment: faith;
}

.faith-list li::before {
  content: counter(faith);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 24px;
  height: 24px;
  background: var(--text);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Services Section ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
  overflow: hidden;
}

.service-card:hover {
  border-color: var(--border);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.service-img-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img {
  transform: scale(1.05);
}

.service-body {
  padding: 24px 28px 28px;
}

.service-badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--bg-alt);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}

.service-time {
  margin-bottom: 12px;
}

.time-day {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.time-hour {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
}

.service-desc {
  color: var(--text-body);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.detail-item svg {
  flex-shrink: 0;
  color: var(--primary-light);
}

/* ===== Ministries Section ===== */
.ministries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ministry-card {
  background: var(--bg-card);
  padding: 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
  overflow: hidden;
  text-align: center;
}

.ministry-card:hover {
  border-color: var(--border);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.ministry-img {
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.ministry-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ministry-card:hover .ministry-img img {
  transform: scale(1.05);
}

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

.ministry-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.ministry-card p {
  color: var(--text-body);
  font-size: 0.9rem;
  line-height: 1.7;
}

.ministry-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.ministry-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ===== Sermons Section ===== */
.section-sermons {
  background: var(--bg-alt);
}

.sermons-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sermon-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.sermon-item:hover {
  border-color: var(--primary-light);
}

.sermon-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font-en);
  white-space: nowrap;
  min-width: 80px;
}

.sermon-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.sermon-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.sermon-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.sermon-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.sermon-play {
  background: var(--primary);
  color: #fff;
}

.sermon-play:hover {
  background: var(--primary-dark);
}

.sermon-download {
  background: var(--bg-alt);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.sermon-download:hover {
  border-color: var(--primary-light);
  color: var(--primary);
}

/* ===== Bulletin Section ===== */
.bulletin-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}

.bulletin-verse {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-body);
  font-style: italic;
  margin-bottom: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.bulletin-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ===== Testimonies Section ===== */
.section-testimonies {
  background: var(--bg-alt);
}

.testimonies-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.testimony-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  transition: var(--transition);
}

.testimony-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.testimony-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.5;
}

.testimony-author {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimony-link {
  text-decoration: none;
  display: block;
  cursor: pointer;
}

.testimony-read {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary);
  transition: var(--transition);
}

.testimony-link:hover .testimony-read {
  transform: translateX(4px);
}

/* ===== Testimony Articles (full content) ===== */
.testimony-article {
  margin-bottom: 16px;
}

.testimony-details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.testimony-details[open] {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.testimony-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  cursor: pointer;
  list-style: none;
  gap: 16px;
}

.testimony-summary::-webkit-details-marker {
  display: none;
}

.testimony-summary:hover {
  background: var(--primary-bg);
}

.testimony-summary-text h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.5;
}

.testimony-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.testimony-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: var(--transition);
}

.testimony-details[open] .testimony-chevron {
  transform: rotate(180deg);
}

.testimony-content {
  padding: 0 28px 28px;
  border-top: 1px solid var(--border);
}

.testimony-content p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-light);
  margin-top: 20px;
}

.testimony-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 28px;
  margin-bottom: -8px;
}

/* ===== Special Events Heading ===== */
.special-events-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 48px 0 24px;
  text-align: center;
}

/* ===== Photo Banner ===== */
.photo-banner {
  overflow: hidden;
  background: var(--bg-dark);
}

.photo-banner-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 4px;
}

.photo-banner-inner img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: brightness(0.92);
}

.photo-banner-inner img:hover {
  transform: scale(1.05);
  filter: brightness(1);
  z-index: 1;
  position: relative;
}

/* ===== Events Section ===== */
.events-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.event-card {
  display: flex;
  gap: 24px;
  padding: 24px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
  align-items: center;
}

.event-card:hover {
  border-color: var(--border);
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  height: 80px;
  background: var(--bg-dark);
  border-radius: 14px;
  flex-shrink: 0;
  color: #fff;
}

.event-month {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

.event-day {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.event-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.event-info p {
  color: var(--text-body);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== Contact Section ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.contact-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border-radius: 14px;
  flex-shrink: 0;
  color: var(--text);
}

.contact-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}

.contact-item p {
  color: var(--text-body);
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-map {
  height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* ===== Core Values ===== */
.core-values {
  margin-top: 64px;
  padding: 40px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.values-title {
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 28px;
  color: var(--text);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-body);
}

.value-item svg {
  flex-shrink: 0;
  color: var(--primary);
}

/* ===== Annual Theme ===== */
.annual-theme {
  margin-top: 48px;
  text-align: center;
  padding: 100px 32px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: var(--radius);
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.annual-theme-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.annual-theme-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.theme-year {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.annual-theme h3 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.theme-quote {
  font-size: 1.05rem;
  line-height: 1.9;
  opacity: 0.9;
  font-style: italic;
  margin-bottom: 12px;
}

.theme-quote-en {
  font-size: 0.9rem;
  opacity: 0.75;
  margin-top: 8px;
}

.theme-verse {
  font-size: 0.85rem;
  opacity: 0.7;
  font-weight: 500;
}

/* ===== Paused Ministry Badge ===== */
.paused-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--accent-light);
  color: #92400E;
  padding: 2px 10px;
  border-radius: 50px;
  vertical-align: middle;
  margin-left: 6px;
}

.ministry-paused {
  opacity: 0.75;
}

/* ===== Building Project ===== */
.section-building {
  background: var(--bg-alt);
}

.building-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

.building-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.building-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.building-photo:first-child {
  grid-column: 1 / -1;
  height: 240px;
}

.building-timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.timeline-item {
  position: relative;
  padding-left: 24px;
  border-left: 3px solid var(--text);
}

.timeline-date {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  font-family: var(--font-en);
}

.timeline-item p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ===== Leadership Section ===== */
.section-leadership {
  background: var(--bg-alt);
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.leadership-grid-all {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.leader-card {
  background: none;
  border-radius: 0;
  border: none;
  padding: 0;
  text-align: center;
  transition: var(--transition);
}

.leader-card:hover {
  border-color: transparent;
  box-shadow: none;
  transform: translateY(-2px);
}

.leader-avatar {
  width: 100%;
  padding-bottom: 100%;
  height: 0;
  position: relative;
  display: block;
  border-radius: 1000px;
  margin: 0 auto 12px;
  overflow: hidden;
  border: none;
  background: var(--bg-alt);
}

.leader-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.leader-title-en {
  display: none;
}

.leader-role {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
}

.ministry-directors-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.ministry-directors-toggle summary {
  padding: 16px 24px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
}

.ministry-directors-toggle summary:hover {
  background: var(--bg-alt);
}

.directors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 24px 24px;
}

.director-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
}

.director-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border);
}

.director-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.director-item strong {
  font-size: 0.85rem;
  color: var(--text);
}

.director-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== Service Links ===== */
.service-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.service-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary);
  transition: var(--transition);
}

.service-link:hover {
  background: var(--primary-bg);
  border-color: var(--primary-light);
}

/* ===== Explore More Section ===== */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.explore-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: var(--transition);
}

.explore-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.explore-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border-radius: 50%;
  margin-bottom: 16px;
  color: var(--text);
}

.explore-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.explore-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== Subpage Hero ===== */
.subpage-hero {
  padding-top: 120px;
}

.subpage-hero .section-header {
  text-align: center;
}

/* ===== Bulletin Page ===== */
.bulletin-year-group {
  margin-bottom: 48px;
}

.bulletin-year-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 1px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

.bulletin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.bulletin-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
}

.bulletin-item:hover {
  border-color: var(--text-muted);
  box-shadow: var(--shadow);
}

.bulletin-date {
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-en);
  color: var(--text);
  min-width: 40px;
}

.bulletin-label {
  flex: 1;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.bulletin-icon {
  color: var(--text-muted);
  flex-shrink: 0;
}

.bulletin-special {
  border-color: var(--text-muted);
}

.bulletin-special .bulletin-label {
  color: var(--text);
  font-weight: 500;
}

/* ===== Directors Heading (leadership page) ===== */
.directors-heading {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin: 0 0 32px;
  padding-bottom: 0;
  border-bottom: none;
}

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

/* ===== Fellowship Section ===== */
.section-fellowship {
  background: var(--bg-alt);
}

.fellowship-full {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

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

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

.fellowship-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

/* fellowship-grid and cellgroup-grid styles defined above */

.fellowship-item {
  padding: 16px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.fellowship-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.fellowship-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.fellowship-item h4 a {
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
}

.fellowship-item h4 a:hover {
  color: var(--primary);
}

.fellowship-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.fellowship-contact {
  font-size: 0.75rem !important;
  color: var(--text-muted) !important;
  margin-top: 4px;
}

/* cellgroup-grid styles defined above */

.cellgroup-item {
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.cellgroup-item:hover {
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.cellgroup-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.cellgroup-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cellgroup-contact {
  font-size: 0.75rem !important;
  color: var(--text-muted) !important;
  margin-top: 4px;
}

.cellgroup-tag {
  display: inline-block;
  padding: 8px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}

.cellgroup-tag:hover {
  border-color: var(--text);
  color: var(--text);
  background: var(--bg-alt);
}

.cellgroup-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== Events CTA ===== */
.events-cta {
  text-align: center;
  margin-top: 36px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-bg);
  border: 1px solid var(--primary-light);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.btn-secondary:hover {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}

/* ===== Giving Section ===== */
.section-giving {
  background: var(--bg);
}

.giving-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}

.giving-content {
  padding: 48px;
}

.giving-content h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 16px 0 12px;
  color: var(--text);
}

.giving-content > p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 640px;
}

.giving-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.giving-method {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.giving-method svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 2px;
}

.giving-method strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 2px;
}

.giving-method span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-dark);
  padding: 60px 0 0;
  color: #fff;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.footer-logo-img {
  height: 28px;
  width: auto;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

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

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  transition: var(--transition);
}

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

.footer-contact li {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}

.footer-bottom {
  text-align: center;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

/* ===== Scroll Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .about-grid,
  .services-grid,
  .ministries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-banner-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .directors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonies-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .building-content {
    grid-template-columns: 1fr;
  }

  .faith-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 4px;
    transition: var(--transition);
    border-left: 1px solid var(--border);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-menu a {
    font-size: 1.1rem;
    padding: 12px 16px;
    color: var(--text) !important;
  }

  .nav-menu a:hover {
    color: var(--primary) !important;
    background: var(--primary-bg) !important;
  }

  .nav-dropdown-menu {
    position: static;
    border: none;
    box-shadow: none;
    padding: 0 0 0 16px;
    background: transparent;
    min-width: auto;
  }

  .nav-dropdown-menu a {
    font-size: 1rem !important;
    padding: 10px 16px !important;
  }

  .lang-toggle {
    right: 16px;
    bottom: 16px;
  }

  .about-grid,
  .services-grid,
  .ministries-grid,
  .testimonies-grid {
    grid-template-columns: 1fr;
  }

  .testimony-summary {
    padding: 16px 20px;
  }

  .testimony-content {
    padding: 0 20px 20px;
  }

  .testimony-summary-text h3 {
    font-size: 1rem;
  }

  .sermon-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .sermon-date {
    min-width: auto;
  }

  .sermon-actions {
    margin-left: 0;
  }

  .leadership-grid {
    grid-template-columns: 1fr 1fr;
  }

  .directors-grid {
    grid-template-columns: 1fr;
  }

  .fellowship-grid,
  .cellgroup-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .giving-content {
    padding: 32px 24px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-map {
    height: 250px;
  }

  .hero-title {
    letter-spacing: -1px;
  }

  .section {
    padding: 72px 0;
  }

  .event-card {
    flex-direction: column;
    text-align: center;
  }

  .event-date {
    min-width: auto;
    width: 100%;
    height: 60px;
    flex-direction: row;
    gap: 8px;
  }

  .photo-banner-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-banner-inner img {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
    max-width: 280px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .photo-banner-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-banner-inner img {
    height: 140px;
  }

  .leadership-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Document Pages (Constitution, Eldership FAQ, etc.) ===== */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.doc-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: box-shadow var(--transition), transform var(--transition);
}

.doc-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  border-color: var(--primary-light);
}

.doc-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: var(--primary-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.doc-info {
  flex: 1;
  min-width: 0;
}

.doc-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--text);
}

.doc-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.doc-action {
  flex-shrink: 0;
  color: var(--primary);
  opacity: 0.7;
  transition: opacity 0.2s;
}

.doc-card:hover .doc-action {
  opacity: 1;
}

.docs-note {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
}

.docs-note a {
  color: var(--primary);
  text-decoration: none;
}

.docs-note a:hover {
  text-decoration: underline;
}

/* ===== PDF Inline Viewer ===== */
.pdf-viewer-wrap {
  margin: 8px 0 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.pdf-viewer {
  display: block;
  width: 100%;
  height: 780px;
  border: none;
}

.pdf-tabs {
  display: flex;
  gap: 8px;
  margin: 24px 0 0;
}

.pdf-tab {
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s;
}

.pdf-tab.active,
.pdf-tab:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

@media (max-width: 768px) {
  .pdf-viewer {
    height: 500px;
  }
}
