/* ============================================================
   INDEX PAGE STYLES
   Extracted from inline <style> blocks in index.ejs
   For: Ambassadors Assembly — Homepage
   ============================================================ */

/* ─── Lenis Smooth Scroll ──────────────────────────────────── */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

/* ─── Hero Section Migration ───────────────────────────────── */
#1716942098 {
  background-color: rgb(226, 226, 204) !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* ─── Text Gradient ("Join us Sunday" heading) ─────────────── */
.text-gradient {
  background: linear-gradient(135deg, #25D366 0%, rgba(19, 78, 94, 1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Articulat CF Demi Bold', sans-serif;
  padding-right: 10px;
}

/* ─── Ministry Cards (Desktop) ─────────────────────────────── */
.ministry-container {
  display: flex;
  gap: 25px;
}

.ministry-container:nth-of-type(2) {
  margin-top: 25px;
}

.ministry-card {
  padding: 25px;
  width: 50%;
}

.ministry-container:nth-of-type(2) .ministry-card {
  width: 33.333%;
}

.ministry-img {
  width: 100%;
  height: 300px;
  background: var(--img);
  background-size: cover;
  border-radius: 20px;
  z-index: 10;
  position: relative;
}

.ministry-card-content {
  width: 100%;
  padding: 30px 30px 20px 30px;
  transition: ease .5s;
}

.ministry-container:nth-of-type(2) .ministry-card-content {
  bottom: -140px;
}

.ministry-card:hover .ministry-card-content {
  bottom: 0;
}

#dm .dmContent .ministry-card-content h3 {
  font-size: 30px;
  margin: 0 0 20px 0;
}

#dm .dmContent .ministry-card-content p {
  margin: 0 0 20px 0;
  font-size: 16px;
}

/* ─── Ministry Cards (Mobile) ──────────────────────────────── */
@media (max-width: 767px) {
  .ministry-container {
    flex-direction: column;
  }

  .ministry-card {
    width: 100%;
  }

  .ministry-container:nth-of-type(2) .ministry-card {
    width: 100%;
  }

  .ministry-card-content {
    padding: 30px 15px 20px 15px;
  }

  #dm .dmContent .ministry-card-content h3 {
    font-size: 28px;
  }
}

/* ─── Ministry Mobile Swiper ───────────────────────────────── */
.min-swiper {
  border-radius: 20px;
}

@media (max-width: 767px) {
  .min-swiper {
    padding: 0 20px !important;
    overflow: visible !important;
  }
}

.min-swiper .ministry-img {
  background-position: 40% 50%;
}

/* ─── Swiper Global Overrides ──────────────────────────────── */
:root {
  --swiper-navigation-size: 20px;
  --swiper-navigation-color: var(--color_3);
  --swiper-navigation-sides-offset: 30px;
  --swiper-pagination-color: var(--color_3);
  --swiper-pagination-bullet-border-radius: 4px;
  --swiper-pagination-bullet-inactive-color: var(--color_3);
}

.swiper-button-next:before,
.swiper-button-prev:before {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(55, 53, 53, .5);
  border-radius: 100%;
  z-index: -1;
  transition: ease .3s;
}

.swiper-button-next:hover:before,
.swiper-button-prev:hover:before {
  background: rgba(55, 53, 53, 1);
}

.swiper-pagination-bullet {
  transition: color ease .2s, width ease .2s;
}

.swiper-pagination-bullet-active {
  width: 15px;
}

/* ============================================================
   HEADER LOGO — Constrain to fit nav bar
   ============================================================ */

#dm .dmInner .u_1582896589 {
  width: auto !important;
}

#dm .dmInner .u_1582896589 img,
#dm .dmInner .imageWidget.u_1582896589 img {
  width: 180px !important;
  height: auto !important;
  object-fit: contain !important;
  mix-blend-mode: multiply !important;
}

/* ============================================================
   CUSTOM MINIMAL NAV — Join Us + Sign In
   ============================================================ */

.aa-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.aa-nav__link {
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #1a1a1a;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.aa-nav__link:hover {
  opacity: 0.7;
}

.aa-nav__signin {
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #f5f0e8;
  background: #1a1a1a;
  text-decoration: none;
  border-radius: 50px;
  padding: 10px 24px;
  transition: all 0.3s ease;
}

.aa-nav__signin:hover {
  background: #333333;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26, 26, 26, 0.2);
}

/* ============================================================
   STICKY BOTTOM BAR — Service Times & Scroll Indicator
   ============================================================ */

/* Sticky bar moved to navbar.ejs with aa-sticky-bar prefix for Duda compatibility */

/* ============================================================
   PAGE TRANSITION OVERLAY — Cinematic 5-Stage
   1. Heavy Impact: Giant text on beige
   2. Shrink & Hold: Scale down, pause
   3. Invisible Edge Swap: Brand slides left out, tagline slides in
   4. Center Collapse: Background splits to center, reveals site
   5. Staggered UI Entry: Content animates in
   ============================================================ */

/* Body scroll lock during transition */
.no-scroll-transition {
  overflow: hidden;
  position: relative;
  height: 100vh;
}

/* Overlay container — covers everything */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 30000; /* Highest priority: Cover everything including menu */
  pointer-events: all;
}

/* Background — uses clip-path circle for collapse reveal */
.page-transition__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f5f0e8 0%, #ede8df 40%, #25D366 100%);
  clip-path: circle(150% at 50% 50%);
  will-change: clip-path;
}

/* Text mask — overflow hidden creates the "invisible edge" */
.page-transition__text-mask {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  overflow: visible; /* starts visible for giant text, JS switches to hidden before swap */
  white-space: nowrap;
  width: 95vw;
  max-width: 1100px;
  text-align: center;
}

/* Shared text styles */
.page-transition__text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  white-space: nowrap;
}

/* Brand name — starts huge */
.page-transition__text--brand {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.8rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: 0.08em;
}

/* Tagline — hidden initially to prevent flash before JS runs */
.page-transition__text--tagline {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.4rem, 3.5vw, 2.5rem);
  font-weight: 300;
  color: #1a1a1a;
  letter-spacing: 0.12em;
  visibility: hidden;
}

/* ─── Preloader Responsive ─────────────────────────────────── */
@media (max-width: 768px) {
  .page-transition__text-mask {
    width: 95vw;
    max-width: 100vw;
    padding: 0 1rem;
    box-sizing: border-box;
    white-space: normal;
  }

  .page-transition__text {
    white-space: normal;
  }

  .page-transition__text--brand {
    font-size: clamp(1.1rem, 6vw, 1.8rem);
    letter-spacing: 0.04em;
  }

  .page-transition__text--tagline {
    font-size: clamp(0.9rem, 4.5vw, 1.4rem);
    letter-spacing: 0.06em;
  }
}

@media (max-width: 400px) {
  .page-transition__text--brand {
    font-size: 1rem;
    letter-spacing: 0.02em;
  }

  .page-transition__text--tagline {
    font-size: 0.85rem;
    letter-spacing: 0.04em;
  }
}

/* ============================================================
   LOVE IN ACTION — Scroll-Scrubbed Parallax Section
   Pinned 100vh section with ScrollTrigger scroll distance
   ============================================================ */

.love-section {
  position: relative;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #f9f9f7 0%, #ede8df 50%, #25D366 100%);
  overflow: hidden;
  z-index: 1;
}

/* ─── Giant Background Words ──────────────────────────────── */
.love-giant {
  position: absolute;
  font-family: 'Manrope', sans-serif;
  font-weight: 900;
  line-height: 0.85;
  color: #1a1a1a;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
}

.love-giant--love {
  top: 5%;
  left: 4%;
  font-size: clamp(6rem, 15vw, 16rem);
}

.love-giant--in {
  top: 35%;
  right: 8%;
  font-size: clamp(5rem, 12vw, 14rem);
}

.love-giant--action {
  bottom: 8%;
  right: 10%;
  font-size: clamp(5rem, 14vw, 15rem);
  z-index: 2;
}

/* Depth shadow duplicate (slightly offset, lighter) */
.love-giant--action-shadow {
  bottom: 9%;
  right: 11%;
  font-size: clamp(5rem, 14vw, 15rem);
  color: rgba(26, 26, 26, 0.15);
  z-index: 0;
}

/* ─── Pinned Center Text ──────────────────────────────────── */
.love-center {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  pointer-events: none;
}

.love-center__text {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(0.65rem, 1.2vw, 0.95rem);
  font-weight: 900;
  color: #1a1a1a;
  text-align: center;
  letter-spacing: 0.25em;
  line-height: 1.8;
}

/* ─── Collapsing Circle ───────────────────────────────────── */
.love-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250vmax;
  height: 250vmax;
  transform: translate(-50%, -50%);
  pointer-events: none;
  will-change: transform;
}

/* ─── Love Section Responsive ─────────────────────────────── */
@media (max-width: 768px) {
  .love-giant--love {
    font-size: 5rem;
    top: 5%;
    left: 3%;
  }

  .love-giant--in {
    font-size: 4rem;
    top: 32%;
    right: 5%;
  }

  .love-giant--action,
  .love-giant--action-shadow {
    font-size: 4.5rem;
    bottom: 8%;
    right: 5%;
  }

  .love-center__text {
    font-size: 0.6rem;
    letter-spacing: 0.18em;
  }
}

@media (max-width: 400px) {
  .love-giant--love { font-size: 3.5rem; }
  .love-giant--in { font-size: 3rem; }
  .love-giant--action,
  .love-giant--action-shadow { font-size: 3.2rem; }
  .love-center__text { font-size: 0.55rem; }
}

/* ============================================================
   RECENT SERMONS — Horizontal Scroll Section
   ============================================================ */

.sermons-section {
  position: relative;
  background: var(--color_1);
  padding: 100px 0 120px;
  overflow: hidden;
}

.sermons-section__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 50px;
}

.sermons-section .section-header {
  border-top: 1.5px solid #1a1a1a;
  padding-top: 40px;
}

.section-header__left {
  flex: 1;
}

.section-label {
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.45);
  margin-bottom: 8px;
}

.section-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1;
  letter-spacing: -0.02em;
}

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

.section-link {
  font-family: 'Manrope', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a1a1a;
  background: var(--color_2);
  text-decoration: none;
  border: 1.5px solid var(--color_2);
  border-radius: 50px;
  padding: 10px 22px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.section-link:hover {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: var(--color_1);
}

.scroll-nav {
  display: flex;
  gap: 6px;
}

.scroll-nav__btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(26, 26, 26, 0.3);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: #1a1a1a;
}

.scroll-nav__btn:hover {
  background: #1a1a1a;
  color: var(--color_1);
}

.scroll-nav__btn svg {
  width: 14px;
  height: 14px;
}

/* Sermon cards row */
.sermons-row {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 30px;
}

.sermons-row::-webkit-scrollbar { display: none; }

.sermon-card {
  flex: 0 0 280px;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
}

.sermon-card:hover {
  transform: translateY(-6px);
}

.sermon-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  background: transparent;
}

.sermon-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sermon-card:hover .sermon-card__img img {
  transform: scale(1.06);
}

.sermon-card__title {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
  line-height: 1.3;
}

.sermon-card__link {
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.6);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
}

.sermon-card__link:hover {
  gap: 10px;
}

.sermon-card__link svg {
  width: 16px;
  height: 16px;
}

/* ============================================================
   UPCOMING EVENTS — Large Card Grid
   ============================================================ */

.events-section {
  position: relative;
  background: var(--color_1);
  padding: 100px 0 120px;
  overflow: hidden;
}

.events-section__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

.events-section .section-header {
  border-top: 1.5px solid #1a1a1a;
  padding-top: 40px;
}

.events-row {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 30px;
}

.events-row::-webkit-scrollbar { display: none; }

.events-row .event-card-new {
  flex: 0 0 280px;
}

.event-card-new {
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.event-card-new:hover {
  transform: translateY(-4px);
}

.event-card-new__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 18px;
  background: transparent;
  position: relative;
}

.event-card-new__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.event-card-new:hover .event-card-new__img img {
  transform: scale(1.04);
}

.event-card-new__tag {
  font-family: 'Manrope', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.4);
  margin-bottom: 6px;
}

.event-card-new__title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.25;
}

.event-card-new__link {
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.6);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
}

.event-card-new__link:hover { gap: 10px; }

.event-card-new__link svg {
  width: 16px;
  height: 16px;
}

/* ============================================================
   ABOUT / LEADERSHIP — Two-Column Split
   ============================================================ */

.about-section {
  position: relative;
  background: var(--color_1);
  padding: 120px 0;
  overflow: hidden;
}

.about-section__inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Left — Image card */
.about-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #2a2a2a;
}

.about-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.85;
}

.about-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 30px;
  background: linear-gradient(to top, rgba(20, 20, 20, 0.95) 0%, transparent 100%);
}

.about-card__badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(26, 26, 26, 0.12);
  border: 1px solid rgba(26, 26, 26, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.about-card__badge svg {
  width: 24px;
  height: 24px;
  color: #1a1a1a;
}

.about-card__name {
  font-family: 'Manrope', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

/* Decorative script behind photo */
.about-card::before {
  content: 'faith';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: 10rem;
  color: rgba(26, 26, 26, 0.04);
  pointer-events: none;
  white-space: nowrap;
  z-index: 1;
}

/* Right — Text content */
.about-content {
  padding: 20px 0;
}

.about-content__title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1.1;
  margin-bottom: 24px;
}

.about-content__subtitle {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(26, 26, 26, 0.65);
  margin-bottom: 20px;
  line-height: 1.6;
}

.about-content__desc {
  font-family: 'Manrope', sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  color: rgba(26, 26, 26, 0.5);
  line-height: 1.75;
  margin-bottom: 36px;
}

.about-btn {
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1a1a1a;
  text-decoration: none;
  border: 1.5px solid rgba(26, 26, 26, 0.3);
  border-radius: 50px;
  padding: 14px 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.about-btn:hover {
  background: #1a1a1a;
  color: var(--color_1);
}

.about-btn svg {
  width: 18px;
  height: 18px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  padding: 2px;
}

/* ============================================================
   NEWSLETTER — Dark Gradient Section
   ============================================================ */

.newsletter-section {
  position: relative;
  background: var(--color_1);
  padding: 100px 0;
  overflow: hidden;
}

/* Animated gradient mesh background */
.newsletter-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.newsletter-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
}

.newsletter-blob--1 {
  width: 500px;
  height: 500px;
  background: #b89f7a;
  top: -20%;
  left: -10%;
  animation: blobFloat1 12s ease-in-out infinite;
}

.newsletter-blob--2 {
  width: 400px;
  height: 400px;
  background: #8b7355;
  bottom: -15%;
  right: -8%;
  animation: blobFloat2 15s ease-in-out infinite;
}

.newsletter-blob--3 {
  width: 300px;
  height: 300px;
  background: #d4c4a8;
  top: 30%;
  right: 25%;
  animation: blobFloat3 10s ease-in-out infinite;
}

@keyframes blobFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(80px, 40px) scale(1.15); }
  66% { transform: translate(-30px, 60px) scale(0.9); }
}

@keyframes blobFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-60px, -30px) scale(1.1); }
  66% { transform: translate(40px, -50px) scale(0.85); }
}

@keyframes blobFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -40px) scale(1.2); }
}

.newsletter-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.newsletter-text {
  flex: 1;
  max-width: 500px;
}

.newsletter-text__title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1.15;
  margin-bottom: 14px;
}

.newsletter-text__sub {
  font-family: 'Manrope', sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  color: rgba(26, 26, 26, 0.6);
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  max-width: 500px;
}

.newsletter-form__input {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(26, 26, 26, 0.25);
  color: #1a1a1a;
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  padding: 14px 4px;
  outline: none;
  transition: border-color 0.3s ease;
}

.newsletter-form__input::placeholder {
  color: rgba(26, 26, 26, 0.4);
}

.newsletter-form__input:focus {
  border-color: #25D366;
}

.newsletter-form__btn {
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color_1);
  background: #1a1a1a;
  border: none;
  border-radius: 50px;
  padding: 14px 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.newsletter-form__btn:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 26, 26, 0.15);
}

/* ============================================================
   AI CHAT ICON — Floating Bottom-Right
   ============================================================ */

.chat-fab {
  position: fixed;
  bottom: 80px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1a1a1a;
  border: none;
  cursor: pointer;
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease;
}

.chat-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

.chat-fab::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(184, 159, 122, 0.4);
  animation: chatPulse 2.5s ease-in-out infinite;
}

@keyframes chatPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0; }
}

.chat-fab svg {
  width: 24px;
  height: 24px;
  color: #f5f0e8;
}

/* Chat tooltip */
.chat-tooltip {
  position: fixed;
  bottom: 148px;
  right: 28px;
  background: #1a1a1a;
  color: #f5f0e8;
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 14px 20px;
  border-radius: 14px;
  z-index: 8000;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  max-width: 220px;
}

.chat-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.chat-tooltip::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 22px;
  width: 12px;
  height: 12px;
  background: #1a1a1a;
  transform: rotate(45deg);
  border-radius: 2px;
}

/* ============================================================
   RESPONSIVE — All New Sections
   ============================================================ */

@media (max-width: 768px) {
  /* Sermons */
  .sermons-section { padding: 70px 0 80px; }
  .sermons-section__inner,
  .events-section__inner { padding: 0 24px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .sermon-card { flex: 0 0 220px; }

  /* Events */
  .events-section { padding: 70px 0 80px; }
  .events-grid { grid-template-columns: 1fr; gap: 24px; }

  /* About */
  .about-section { padding: 80px 0; }
  .about-section__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 24px;
  }
  .about-card { max-width: 100%; aspect-ratio: 4 / 4; }

  /* Newsletter */
  .newsletter-section { padding: 70px 0; }
  .newsletter-inner {
    flex-direction: column;
    padding: 0 24px;
    text-align: center;
    gap: 40px;
  }
  .newsletter-form { flex-direction: column; width: 100%; max-width: 100%; }
  .newsletter-form__input { width: 100%; text-align: center; }

  /* Chat */
  .chat-fab { width: 48px; height: 48px; bottom: 70px; right: 20px; }
  .chat-fab svg { width: 20px; height: 20px; }
  .chat-tooltip { bottom: 80px; right: 20px; }
}

@media (max-width: 480px) {
  .section-title { font-size: 1.8rem; }
  .sermon-card { flex: 0 0 200px; }
  .about-card__name { font-size: 1.2rem; }
  .about-card::before { font-size: 6rem; }
  .newsletter-text__title { font-size: 1.5rem; }
}

/* ============================================================
   HIDE OLD DUDA MOBILE ICON BAR + OLD HAMBURGER DRAWER
   ============================================================ */

.mobile-menu,
#hamburger-drawer {
  display: none !important;
}

/* ============================================================
   FIX SERMON CARD TITLE OVERFLOW
   ============================================================ */

.sermon-card__title {
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  word-wrap: break-word;
}

/* ============================================================
   ACCOUNT FAB — Left side, opposite chat
   ============================================================ */

.account-fab {
  position: fixed;
  bottom: 80px;
  left: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1a1a1a;
  border: 1px solid rgba(245, 240, 232, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 8000;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.account-fab:hover {
  transform: scale(1.08);
  background: #2a2a2a;
}

.account-fab svg {
  width: 24px;
  height: 24px;
  color: #f5f0e8;
}

@media (max-width: 480px) {
  .account-fab {
    width: 48px;
    height: 48px;
    bottom: 70px;
    left: 20px;
  }
  .account-fab svg { width: 20px; height: 20px; }
}

/* ============================================================
   FULLSCREEN MENU OVERLAY — Morphing Takeover
   ============================================================ */

.fs-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 20000; /* Above all floating bars but below preloader */
  pointer-events: none;
  visibility: hidden;
}

.fs-menu.is-open {
  pointer-events: all;
  visibility: visible;
}

/* Background — expands via clip-path circle from button origin */
.fs-menu__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--aa-conic-grad, conic-gradient(from 180deg at 48.6% 41%, rgba(19, 78, 94, 1) 0%, #25D366 100%));
  background-size: 200% 200%;
  animation: gradientFlow 20s ease infinite;
  z-index: 1;
  clip-path: circle(0% at calc(100% - 80px) 50px);
  transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Animated gradient blobs on dark background */
.fs-menu__gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.4s ease 0.3s;
}

.fs-menu.is-open .fs-menu__gradient {
  opacity: 1;
}

.fs-menu__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}

.fs-menu__blob--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #1a1a1a, #2a2a2a);
  top: -10%;
  right: -5%;
  animation: fsBlob1 14s ease-in-out infinite;
}

.fs-menu__blob--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #222, #333);
  bottom: 10%;
  left: 20%;
  animation: fsBlob2 18s ease-in-out infinite reverse;
}

.fs-menu__blob--3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #1e1e1e, #2d2d2d);
  top: 40%;
  right: 30%;
  animation: fsBlob3 16s ease-in-out infinite;
}

@keyframes fsBlob1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, 80px) scale(1.15); }
}
@keyframes fsBlob2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(70px, -50px) scale(1.2); }
}
@keyframes fsBlob3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 60px) scale(1.1); }
}

/* Content — two-column layout with divider */
.fs-menu__content {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 100px 80px 60px;
  z-index: 2;
}

.fs-menu__content::before {
  content: '';
  position: absolute;
  top: 80px;
  bottom: 60px;
  left: 50%;
  width: 1px;
  background: rgba(245, 240, 232, 0.1);
}

/* Close button — top right */
.fs-menu__close {
  position: absolute;
  top: 24px;
  right: 40px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1.5px solid rgba(245, 240, 232, 0.3);
  border-radius: 50px;
  padding: 10px 20px;
  cursor: pointer;
  color: #f5f0e8;
  transition: all 0.3s ease;
  opacity: 0;
}

.fs-menu.is-open .fs-menu__close {
  opacity: 1;
  transition: opacity 0.3s ease 0.5s;
}

.fs-menu__close:hover {
  background: rgba(245, 240, 232, 0.1);
}

.fs-menu__close-text {
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fs-menu__close svg {
  width: 16px;
  height: 16px;
}

/* Left — Main nav links */
.fs-menu__nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding-left: 40px;
}

.fs-menu__link-mask {
  overflow: hidden;
  padding: 4px 0;
}

.fs-menu__link {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: #f5f0e8;
  text-decoration: none;
  line-height: 1.2;
  transform: translateY(110%);
  transition: color 0.3s ease;
  letter-spacing: -0.02em;
}

.fs-menu__link:hover {
  color: rgba(245, 240, 232, 0.5);
}

/* Right — Details column */
.fs-menu__details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 40px 20px 80px;
  opacity: 0;
  transform: translateY(20px);
}

.fs-menu__detail-group {
  margin-bottom: 20px;
}

.fs-menu__detail-label {
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.4);
  margin-bottom: 4px;
}

.fs-menu__detail-text {
  font-family: 'Manrope', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: #f5f0e8;
  line-height: 1.5;
}

.fs-menu__socials {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}

.fs-menu__social {
  font-family: 'Manrope', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: #f5f0e8;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.fs-menu__social:hover {
  opacity: 0.5;
}

/* ============================================================
   FULLSCREEN MENU — Responsive
   ============================================================ */

@media (max-width: 768px) {
  .fs-menu__content {
    grid-template-columns: 1fr;
    padding: 90px 30px 40px;
    overflow-y: auto;
  }

  .fs-menu__content::before { display: none; }

  .fs-menu__nav {
    padding-left: 0;
    gap: 0;
  }

  .fs-menu__link {
    font-size: 2.2rem;
  }

  .fs-menu__details {
    padding: 40px 0 0;
    border-top: 1px solid rgba(245, 240, 232, 0.1);
    margin-top: 40px;
  }

  .fs-menu__close {
    right: 20px;
    top: 20px;
  }

  .fs-menu__bg {
    clip-path: circle(0% at calc(100% - 50px) 30px);
  }
}

@media (max-width: 480px) {
  .fs-menu__link { font-size: 1.8rem; }
  .fs-menu__content { padding: 80px 20px 30px; }
}

/* ============================================================
   FIX: Hero Section Full Width on Mobile
   Uses .panel class (our own) and .widget-bb326d (stable widget class)
   to avoid touching Duda runtime IDs.
   ============================================================ */

@media (max-width: 767px) {
  /* Remove section padding from the hero panel wrapper */
  .panel .flex-element.group {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Hero swiper fills full device width */
  .widget-bb326d {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-1 * var(--section-padding-left, 0%));
  }

  .widget-bb326d .hero-swiper-wrap,
  .widget-bb326d .heroSwiper {
    width: 100% !important;
    max-width: 100vw;
  }
}

/* ============================================================
   FIX: Footer — Cleaner Mobile Layout
   Targets by our .footer-nav class and structural selectors
   rather than Duda runtime IDs.
   ============================================================ */

@media (max-width: 767px) {
  /* Hide the right-side CTA column ("Come To Church / Message Notes / etc") */
  .footer-cta-column {
    display: none !important;
  }

  /* Stack footer nav links vertically and center them */
  .footer-nav {
    text-align: center !important;
  }

  .footer-nav .dmNewParagraph p {
    font-size: 20px !important;
  }
}

/* ============================================================
   Active Navigation Link Styling
   ============================================================ */

.fs-menu__link.active-link {
  color: #25D366; /* Active Brand Green */
  font-family: 'Articulat CF Demi Bold', sans-serif;
}
