/* ===========================================================
   IKCC Website - Shared Styles
   Theme: warm cream background, deep teal + gold accents
   =========================================================== */

:root {
  /* Colors */
  --color-bg: #f7f3ea;
  --color-bg-alt: #efe8d8;
  --color-cream: #fdfbf6;
  --color-teal: #1b4249;
  --color-teal-dark: #102e33;
  --color-gold: #c9a24b;
  --color-gold-dark: #b08e3f;
  --color-slate: #8aa0a6;
  --color-text: #2c2c2c;
  --color-text-muted: #6b6b6b;
  --color-border: #e3dac8;
  --color-white: #ffffff;

  /* Typography */
  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Lato", "Segoe UI", Arial, sans-serif;

  /* Layout */
  --max-width: 1280px;
  --radius: 6px;
  --shadow-sm: 0 2px 8px rgba(27, 66, 73, 0.08);
  --shadow-md: 0 4px 16px rgba(27, 66, 73, 0.12);
  --transition: 0.2s ease-in-out;
}

/* ---------- Reset / Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--color-teal);
  margin: 0 0 0.5em;
  line-height: 1.25;
}

p {
  margin: 0 0 1em;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 36px 0;
}

.text-center {
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.btn-primary {
  background-color: var(--color-teal);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-teal-dark);
}

.btn-gold {
  background-color: var(--color-gold);
  color: var(--color-white);
}

.btn-gold:hover {
  background-color: var(--color-gold-dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-teal);
  border-color: var(--color-teal);
}

.btn-outline:hover {
  background-color: var(--color-teal);
  color: var(--color-white);
}

/* ---------- Header / Nav ---------- */
.site-header {
  background-color: var(--color-cream);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 56px;
  width: auto;
}

.logo .logo-text .name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-teal);
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.logo .logo-text .subname {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--color-gold-dark);
  font-weight: 700;
}

.logo .logo-text .city {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--color-text-muted);
}

.main-nav {
  flex: 1;
}

.main-nav ul {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.main-nav a {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-teal);
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-gold-dark);
  border-bottom-color: var(--color-gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--color-teal);
  cursor: pointer;
}

/* ---------- Hero Carousel ---------- */
.hero {
  position: relative;
  background-color: var(--color-teal-dark);
  height: clamp(480px, 60vw, 640px);
  overflow: hidden;
}

/* Slides */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  will-change: opacity;
}

.hero-slide.active {
  opacity: 1;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 30, 34, 0.82) 0%, rgba(16, 46, 51, 0.35) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  z-index: 2;
}

.hero-content {
  color: #fff;
  padding: 52px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e8c06a;
  margin: 0 0 14px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.hero-content h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.15;
  margin: 0 0 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.hero-divider {
  width: 52px;
  height: 3px;
  background: var(--color-gold);
  border-radius: 2px;
  margin-bottom: 20px;
}

.hero-sub {
  max-width: 520px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.88);
  margin: 0 0 32px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--color-gold);
  color: var(--color-teal-dark);
  padding: 13px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-hero-primary:hover {
  background: #b8912e;
  transform: translateY(-2px);
}

.btn-hero-ghost {
  background: transparent;
  color: #fff;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.6);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-hero-ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

@media (max-width: 720px) {
  .hero-content { padding: 28px 20px; }
  .hero-content h1 { font-size: 1.7rem; margin-bottom: 14px; }
  .hero-eyebrow { font-size: 0.7rem; margin-bottom: 10px; }
  .hero-sub { font-size: 0.95rem; margin-bottom: 22px; }
  .hero-divider { margin-bottom: 14px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .btn-hero-primary, .btn-hero-ghost { text-align: center; padding: 12px 24px; }
}

/* Prev / Next arrows */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(16, 46, 51, 0.45);
  color: var(--color-white);
  border: 2px solid rgba(201, 162, 75, 0.5);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.carousel-btn:hover,
.carousel-btn:focus-visible {
  background: rgba(201, 162, 75, 0.75);
  border-color: var(--color-gold);
  outline: none;
}

.carousel-btn--prev { left: 16px; }
.carousel-btn--next { right: 16px; }

/* Dot indicators */
.carousel-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.carousel-dot.active,
.carousel-dot:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Prayer Times Bar ---------- */
.prayer-bar {
  padding: 36px 0;
}

.prayer-panel {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.prayer-item {
  text-align: center;
  padding: 28px 16px;
  border-right: 1px solid var(--color-border);
}

.prayer-item:last-child {
  border-right: none;
}

.prayer-item .prayer-name {
  font-family: var(--font-heading);
  color: var(--color-teal);
  font-size: 1.1rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.prayer-item .prayer-icon {
  width: 22px;
  height: 22px;
  stroke: var(--color-gold-dark);
  flex-shrink: 0;
}

.prayer-item .prayer-time {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-teal-dark);
}

.prayer-item .prayer-time .meridiem {
  font-size: 1rem;
  color: var(--color-gold-dark);
  font-weight: 700;
  margin-left: 4px;
}

/* ---------- Feature Cards (About / Services / Donations) ---------- */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.feature-card {
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background-color: var(--color-cream);
}

.feature-icon {
  width: 84px;
  height: 92px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.5rem;
}

.feature-card p {
  color: var(--color-text-muted);
  min-height: 78px;
}

/* ---------- Generic Page Header (interior pages) ---------- */
.page-header {
  background-color: var(--color-teal);
  color: var(--color-white);
  padding: 56px 0;
  text-align: center;
}

.page-header h1 {
  color: var(--color-white);
  margin-bottom: 8px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* ---------- About Page ---------- */

/* Mission & Vision cards */
.about-mv-section { background: var(--color-bg-alt); }

.about-mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.about-mv-card {
  border-radius: var(--radius);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.about-mv-mission {
  background: linear-gradient(135deg, var(--color-teal-dark) 0%, var(--color-teal) 100%);
  color: #fff;
}

.about-mv-vision {
  background: var(--color-cream);
  border: 2px solid var(--color-border);
  color: var(--color-text);
}

.about-mv-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.about-mv-mission .about-mv-icon {
  background: rgba(255,255,255,0.15);
}

.about-mv-mission .about-mv-icon svg {
  width: 26px; height: 26px;
  stroke: #fff;
}

.about-mv-vision .about-mv-icon {
  background: var(--color-teal);
}

.about-mv-vision .about-mv-icon svg {
  width: 26px; height: 26px;
  stroke: #fff;
}

.about-mv-card h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.about-mv-mission h2 { color: #fff; }
.about-mv-vision h2  { color: var(--color-teal); }

.about-mv-divider {
  width: 40px;
  height: 3px;
  border-radius: 2px;
  margin-bottom: 18px;
}

.about-mv-mission .about-mv-divider { background: var(--color-gold); }
.about-mv-vision  .about-mv-divider { background: var(--color-teal); }

.about-mv-mission p { color: rgba(255,255,255,0.88); line-height: 1.8; margin: 0; }
.about-mv-vision  p { color: var(--color-text); line-height: 1.8; margin: 0; }

/* Our Story */
.about-story-section {
  background: var(--color-cream);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 72px 0;
}

.about-story-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.about-story-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 14px;
}

.about-story-heading {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-teal);
  margin-bottom: 28px;
}

.about-story-body {
  text-align: left;
  border-left: 4px solid var(--color-gold);
  padding-left: 28px;
}

.about-story-body p {
  color: var(--color-text);
  line-height: 1.9;
  margin-bottom: 16px;
}

.about-story-body p:last-child { margin-bottom: 0; }

/* Board of Directors */
.about-board-section { background: var(--color-bg-alt); }

.about-board-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 8px;
}

.about-board-card {
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.about-board-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

.about-board-photo-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-teal-dark), var(--color-teal));
}

.about-board-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-board-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-board-photo-placeholder svg {
  width: 52%;
  height: 52%;
  stroke: rgba(255,255,255,0.45);
}

.about-board-info {
  padding: 18px 16px 20px;
  border-top: 3px solid var(--color-gold);
}

.about-board-info h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-teal);
  margin: 0 0 6px;
  line-height: 1.3;
}

.about-board-designation {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  background: rgba(201,162,75,0.1);
  border: 1px solid rgba(201,162,75,0.3);
  border-radius: 20px;
  padding: 3px 12px;
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--color-teal-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-grid h4 {
  color: var(--color-gold);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-grid ul li {
  margin-bottom: 8px;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-ornament {
  text-align: center;
  font-size: 1.4rem;
  color: var(--color-gold);
  margin-bottom: 16px;
}

/* ---------- Forms ---------- */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-teal);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background-color: var(--color-white);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-status {
  margin-top: 12px;
  font-weight: 700;
}

.form-status.success { color: #2e7d32; }
.form-status.error { color: #c62828; }

.donation-result-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 28px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.donation-result-banner svg { flex-shrink: 0; margin-top: 2px; }
.donation-result-banner strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.donation-result-banner p { margin: 0; opacity: 0.85; }

.donation-result-success {
  background: #e6f4ea;
  border-bottom: 3px solid #2e7d32;
  color: #1b5e20;
}

.donation-result-cancelled {
  background: #fff8e1;
  border-bottom: 3px solid #f9a825;
  color: #5c3e00;
}

.square-trust-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 10px 14px;
  background: #f0f6ff;
  border: 1px solid #c8deff;
  border-radius: 6px;
  font-size: 12px;
  color: #444;
  font-weight: 600;
}

/* ---------- Cards / generic content ---------- */
.card {
  background-color: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* ---------- Gallery ---------- */
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.gallery-placeholder {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-align: center;
  padding: 16px;
}

/* ---------- Events Carousel ---------- */
.events-carousel-section {
  padding: 36px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 32px;
}

.section-heading h2 {
  font-size: 1.9rem;
  color: var(--color-teal);
  margin-bottom: 6px;
}

.section-heading h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--color-gold);
  margin: 8px auto 0;
  border-radius: 2px;
}

.section-heading p {
  color: var(--color-text-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* ── Card ── */
.events-carousel {
  position: relative;
  padding: 8px 12px;
  margin: 0 -12px;
}

.carousel-event-card {
  display: flex;
  background-color: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
  height: 320px;
}

.carousel-event-media {
  flex: 0 0 42%;
  position: relative;
  overflow: hidden;
  align-self: stretch;
}

.carousel-event-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.carousel-event-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: linear-gradient(160deg, var(--color-teal-dark) 0%, var(--color-teal) 60%, #2a6b76 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.carousel-event-placeholder svg {
  opacity: 0.4;
}

.carousel-event-placeholder .placeholder-label {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

/* Date block pinned on the media panel */
.carousel-date-block {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--color-gold);
  color: var(--color-white);
  border-radius: 8px;
  padding: 10px 14px;
  text-align: center;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.carousel-date-block .cdb-day {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
}

.carousel-date-block .cdb-month {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}

.carousel-date-block .cdb-year {
  display: block;
  font-size: 0.65rem;
  opacity: 0.85;
  margin-top: 2px;
  letter-spacing: 0.08em;
}

/* Content panel */
.carousel-event-body {
  flex: 1;
  min-width: 0;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.carousel-event-status {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.carousel-event-status.today     { background-color: var(--color-gold);  color: var(--color-white); }
.carousel-event-status.upcoming  { background-color: var(--color-teal);  color: var(--color-white); }
.carousel-event-status.past      { background-color: var(--color-bg-alt); color: var(--color-text-muted); border: 1px solid var(--color-border); }
.carousel-event-status.cancelled { background-color: #fde8e8; color: #c0392b; border: 1px solid #f5c6c6; }

/* Cancelled event card */
.carousel-event-card.is-cancelled .carousel-event-media { opacity: 0.6; filter: grayscale(40%); }
.carousel-event-card.is-cancelled h3 { color: var(--color-text-muted); text-decoration: line-through; text-decoration-color: #c0392b; }
.cancelled-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fde8e8;
  border: 1px solid #f5c6c6;
  border-left: 4px solid #c0392b;
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #c0392b;
  font-family: Lato, Arial, sans-serif;
}

/* Cancelled banner on event detail page */
.ed-cancelled-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #c0392b;
  color: #fff;
  padding: 14px 24px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: Lato, Arial, sans-serif;
  letter-spacing: 0.04em;
}

.carousel-event-card h3 {
  font-size: 1.55rem;
  color: var(--color-teal);
  margin-bottom: 14px;
  line-height: 1.25;
}

.carousel-event-time {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  color: var(--color-gold);
  font-weight: 600;
  font-family: Lato, Arial, sans-serif;
  margin: 4px 0 10px;
}
.event-card-time {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  color: var(--color-teal);
  font-weight: 600;
  font-family: Lato, Arial, sans-serif;
  margin: 2px 0 8px;
}
.carousel-event-divider {
  width: 40px;
  height: 3px;
  background-color: var(--color-gold);
  border-radius: 2px;
  margin-bottom: 14px;
}

.carousel-event-card p {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin: 0;
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Navigation bar ── */
.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
  position: relative;
  z-index: 1;
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-teal);
  background-color: var(--color-white);
  color: var(--color-teal);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition), opacity var(--transition);
  flex-shrink: 0;
}

.carousel-arrow:hover:not(:disabled) {
  background-color: var(--color-teal);
  color: var(--color-white);
}

.carousel-arrow:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition);
}

.carousel-dot.active {
  background-color: var(--color-gold);
  transform: scale(1.3);
}

.carousel-counter {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  min-width: 52px;
  text-align: center;
}

/* ── Slide animations ── */
@keyframes slideInRight {
  from { transform: translateX(50px); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
@keyframes slideInLeft {
  from { transform: translateX(-50px); opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}
.carousel-event-card.slide-in-right { animation: slideInRight 0.32s ease; }
.carousel-event-card.slide-in-left  { animation: slideInLeft  0.32s ease; }

/* ── Responsive ── */
@media (max-width: 720px) {
  .carousel-event-card { flex-direction: column; height: auto; }
  .carousel-event-media { flex: none; height: 200px; }
  .carousel-event-body  { padding: 24px 20px; }
  .carousel-event-card h3 { font-size: 1.2rem; }
  .carousel-event-card p { -webkit-line-clamp: 3; }
}

/* ---------- Events ---------- */
.event-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.event-date {
  flex-shrink: 0;
  width: 84px;
  text-align: center;
  background-color: var(--color-teal);
  color: var(--color-white);
  border-radius: var(--radius);
  padding: 12px 8px;
  font-family: var(--font-heading);
}

.event-date .month {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.event-date .day {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.1;
}

.event-card h3 {
  margin-bottom: 4px;
}

.event-meta {
  color: var(--color-gold-dark);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

/* ---------- Donation frequency toggle ---------- */
.frequency-toggle {
  display: flex;
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  padding: 4px;
  gap: 4px;
}

.frequency-toggle input[type="radio"] {
  display: none;
}

.frequency-toggle label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  cursor: pointer;
  border-radius: 50px;
  transition: background-color var(--transition), color var(--transition), box-shadow var(--transition);
  user-select: none;
}

.frequency-toggle label:hover {
  color: var(--color-teal);
}

.frequency-toggle input[type="radio"]:checked + label {
  background-color: var(--color-teal);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

/* ---------- Donation amount selector ---------- */
.amount-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.amount-option {
  padding: 14px;
  text-align: center;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  font-weight: 700;
  color: var(--color-teal);
  background-color: var(--color-white);
  cursor: pointer;
  transition: border-color var(--transition), background-color var(--transition);
}

.amount-option.selected,
.amount-option:hover {
  border-color: var(--color-gold);
  background-color: var(--color-bg-alt);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .feature-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .prayer-panel {
    grid-template-columns: repeat(3, 1fr);
  }
  .prayer-item:nth-child(3n) {
    border-right: none;
  }
  .prayer-item {
    border-bottom: 1px solid var(--color-border);
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .event-card {
    flex-direction: column;
  }

  .event-date {
    width: auto;
    display: inline-block;
  }

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

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

  .main-nav {
    display: none;
    width: 100%;
    order: 3;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--color-border);
    margin-top: 12px;
  }

  .main-nav a {
    display: block;
    padding: 12px 0;
  }

  .site-header .container {
    flex-wrap: wrap;
  }

  .header-actions {
    order: 2;
  }

  .prayer-panel {
    grid-template-columns: repeat(2, 1fr);
  }
  .prayer-item:nth-child(2n) {
    border-right: none;
  }
}

/* ===== Services Page ===== */
/* ===== Services Page ===== */

.svc-intro-strip {
  background: var(--color-cream);
  border-bottom: 1px solid var(--color-border);
  padding: 32px 0;
}

.svc-intro-inner p {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-text-muted);
}

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

.svc-card {
  background: var(--color-cream);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s, box-shadow 0.22s;
}

.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.13);
}

/* Coloured top bar per card variant */
.svc-card--teal  { border-top: 4px solid var(--color-teal); }
.svc-card--gold  { border-top: 4px solid var(--color-gold); }
.svc-card--slate { border-top: 4px solid #7a9ba3; }

.svc-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 0;
}

.svc-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.svc-card--teal  .svc-card-icon { background: var(--color-teal);       color: #fff; }
.svc-card--gold  .svc-card-icon { background: var(--color-gold);        color: #fff; }
.svc-card--slate .svc-card-icon { background: #7a9ba3;                  color: #fff; }

.svc-card-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.08;
  color: var(--color-teal-dark);
  user-select: none;
}

.svc-card h3 {
  font-size: 1.1rem;
  color: var(--color-teal-dark);
  margin: 18px 24px 10px;
}

.svc-card p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin: 0 24px 28px;
  flex: 1;
}

/* Legacy .service-card kept for safety */
.service-card { display: flex; flex-direction: column; gap: 0; }
.svc-icon { width: 72px; height: 72px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; flex-shrink: 0; }
.svc-icon--teal  { background: rgba(27,66,73,0.1);    color: var(--color-teal); }
.svc-icon--gold  { background: rgba(201,162,75,0.15); color: var(--color-gold-dark); }
.svc-icon--slate { background: rgba(138,160,166,0.15); color: var(--color-slate); }

@media (max-width: 900px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .svc-grid { grid-template-columns: 1fr; }
}

/* ===== Gallery Page ===== */
.gallery-group {
  margin-bottom: 52px;
}

.gallery-group-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-border);
}

.gallery-group-date {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  display: block;
  margin-bottom: 4px;
}

.gallery-group-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  color: var(--color-teal-dark);
  margin: 0;
}

.gallery-group-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-teal);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.gallery-group-link:hover { color: var(--color-gold-dark); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.gallery-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  border: none;
  padding: 0;
  cursor: pointer;
  background: var(--color-bg-alt);
  display: block;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-thumb:hover img {
  transform: scale(1.06);
}

.gallery-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 46, 51, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: all 0.25s ease;
}

.gallery-thumb:hover .gallery-thumb-overlay {
  background: rgba(16, 46, 51, 0.45);
  opacity: 1;
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lb-img-wrap {
  max-width: 88vw;
  max-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.6);
  display: block;
}

.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s;
  z-index: 1;
}

.lb-arrow:hover:not(:disabled) { background: rgba(255,255,255,0.25); }
.lb-arrow:disabled { opacity: 0.25; cursor: default; }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }

.lb-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.18s;
}
.lb-close:hover { color: #fff; }

.lb-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lb-event-title {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  font-weight: 700;
}

.lb-counter {
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 6px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-arrow { width: 38px; height: 38px; }
}

/* ===== Contact Map ===== */
.map-wrap {
  margin-top: 36px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.map-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-teal);
}

.map-iframe {
  width: 100%;
  height: 380px;
  border: none;
  display: block;
}

@media (max-width: 720px) {
  .map-iframe { height: 260px; }
}

/* ===== Events Page (events.html) ===== */
.events-page-card {
  padding: 0;
  overflow: hidden;
}
.events-page-media {
  display: block;
  position: relative;
  height: 200px;
  background: var(--color-teal-dark);
  overflow: hidden;
  text-decoration: none;
}
.events-page-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}
.events-page-media:hover .events-page-img {
  transform: scale(1.04);
}
.events-page-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  flex-direction: column;
  gap: 8px;
  font-size: 0.8rem;
}
.events-page-badge {
  position: absolute;
  top: 12px;
  left: 12px;
}
.events-page-body {
  padding: 20px 24px 24px;
}
.events-page-body .event-card {
  box-shadow: none;
  border: none;
  padding: 0;
  background: none;
}
.events-page-body h3 a {
  color: var(--color-teal-dark);
  text-decoration: none;
}
.events-page-body h3 a:hover {
  text-decoration: underline;
}

/* ===== Event Details Page (eventdetails.html) ===== */
.ed-header {
  background: linear-gradient(135deg, var(--color-teal-dark) 0%, var(--color-teal) 100%);
  padding: 32px 0 44px;
  position: relative;
  overflow: hidden;
}
.ed-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.ed-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.65);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
  transition: color 0.2s;
  position: relative;
}
.ed-back:hover {
  color: var(--color-gold);
}
.ed-back svg {
  transition: transform 0.2s;
}
.ed-back:hover svg {
  transform: translateX(-3px);
}
.ed-header-body {
  position: relative;
}
.ed-header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.ed-date {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  font-family: Lato, Arial, sans-serif;
}
.ed-time-row {
  display: none;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--color-gold);
  font-weight: 700;
  font-family: Lato, Arial, sans-serif;
  background: rgba(201,162,75,0.15);
  padding: 3px 10px 3px 8px;
  border-radius: 20px;
  border: 1px solid rgba(201,162,75,0.35);
}
#ed-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 20px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.ed-header-divider {
  width: 52px;
  height: 3px;
  background: var(--color-gold);
  border-radius: 2px;
}
@media (max-width: 720px) {
  #ed-title { font-size: 1.6rem; }
  .ed-header { padding: 24px 0 36px; }
}

/* Gallery */
.ed-gallery-section {
  margin-bottom: 40px;
}
.ed-img-placeholder {
  background: var(--color-bg-alt);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}
.ed-img-single {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.ed-gallery-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}
.ed-gallery-arrow {
  flex: 0 0 44px;
  height: 44px;
  background: var(--color-cream);
  border: 1.5px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--color-teal);
}
.ed-gallery-arrow:hover:not(:disabled) {
  background: var(--color-teal);
  border-color: var(--color-teal);
  color: #fff;
}
.ed-gallery-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}
.ed-gallery-img-wrap {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-bg-alt);
}
.ed-gallery-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}
.ed-gallery-counter {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 10px;
  font-weight: 700;
}
.ed-gallery-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.ed-thumb {
  width: 68px;
  height: 52px;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid var(--color-border);
  cursor: pointer;
  padding: 0;
  background: none;
  transition: border-color 0.2s;
}
.ed-thumb.active {
  border-color: var(--color-gold);
}
.ed-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Details & Conclusion */
.ed-section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 10px;
}
.ed-details-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
  white-space: pre-wrap;
}
.ed-conclusion-section {
  margin-top: 40px;
  padding: 28px 32px;
  background: linear-gradient(135deg, #f0f7f0 0%, #e8f0e4 100%);
  border-left: 4px solid var(--color-teal);
  border-radius: var(--radius);
}
.ed-conclusion-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 10px;
}
.ed-conclusion-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
  white-space: pre-wrap;
}

/* About page responsive */
@media (max-width: 900px) {
  .about-board-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .about-mv-grid {
    grid-template-columns: 1fr;
  }
  .about-board-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .about-story-section { padding: 48px 0; }
  .about-story-heading { font-size: 1.5rem; }
}

/* ===== Subscribe Popup ===== */
#subscribe-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(16, 46, 51, 0.65);
  backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
#subscribe-overlay.open { opacity: 1; visibility: visible; }

.subscribe-modal {
  position: relative;
  width: 100%; max-width: 440px;
  background: var(--color-cream);
  border-radius: 10px;
  border-top: 5px solid var(--color-gold);
  padding: 40px 36px 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  text-align: center;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  max-height: 92vh; overflow-y: auto;
}
#subscribe-overlay.open .subscribe-modal { transform: translateY(0) scale(1); }

.subscribe-close {
  position: absolute; top: 10px; right: 14px;
  background: none; border: none; font-size: 26px; line-height: 1;
  color: #999; cursor: pointer; padding: 4px;
}
.subscribe-close:hover { color: var(--color-teal-dark); }

.subscribe-ornament { color: var(--color-gold); font-size: 22px; margin-bottom: 6px; }
.subscribe-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--color-gold-dark);
  font-family: 'Lato', Arial, sans-serif; margin: 0 0 8px;
}
.subscribe-modal h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.9rem; color: var(--color-teal-dark); margin: 0 0 10px;
}
.subscribe-sub { font-size: 0.92rem; color: #666; line-height: 1.65; margin: 0 0 22px; }

.subscribe-hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

.subscribe-field { text-align: left; margin-bottom: 14px; }
.subscribe-field label {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--color-teal); margin-bottom: 5px;
  font-family: 'Lato', Arial, sans-serif;
}
.subscribe-field label span { color: #c0392b; }
.subscribe-field label small { color: #999; text-transform: none; letter-spacing: 0; }
.subscribe-field input {
  width: 100%; padding: 11px 14px;
  border: 1px solid #ddd3bd; border-radius: 6px;
  background: #fff; font-size: 14.5px; color: #222;
  font-family: inherit;
}
.subscribe-field input:focus { outline: 2px solid var(--color-teal); outline-offset: 1px; }

.subscribe-error { color: #b02020; font-size: 13px; min-height: 18px; margin: 2px 0 8px; }

.subscribe-btn {
  display: block; width: 100%;
  padding: 13px 20px; margin-top: 4px;
  background: var(--color-teal); color: #fff;
  border: none; border-radius: 6px;
  font-size: 15px; font-weight: 700; letter-spacing: 0.03em;
  cursor: pointer; transition: background 0.2s;
  font-family: 'Lato', Arial, sans-serif;
}
.subscribe-btn:hover:not(:disabled) { background: var(--color-teal-dark); }
.subscribe-btn:disabled { opacity: 0.55; cursor: default; }

.subscribe-later {
  display: block; width: 100%; margin-top: 10px;
  background: none; border: none; cursor: pointer;
  font-size: 13px; color: #999; text-decoration: underline;
  font-family: 'Lato', Arial, sans-serif;
}
.subscribe-later:hover { color: var(--color-teal); }

.subscribe-success-icon {
  width: 60px; height: 60px; margin: 6px auto 16px;
  border-radius: 50%; background: #e6f5ec; color: #1a6630;
  font-size: 30px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.subscribe-success h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--color-teal-dark); font-size: 1.4rem; margin: 0 0 8px;
}
.subscribe-success p { font-size: 0.92rem; color: #666; line-height: 1.6; margin: 0 0 20px; }

@media (max-width: 480px) {
  .subscribe-modal { padding: 32px 22px 24px; }
  .subscribe-modal h2 { font-size: 1.6rem; }
}
