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

:root {
  --font-main: 'Cinzel', 'Gidugu', Georgia, serif;
  --font-hero: 'Playfair Display', 'Gidugu', Georgia, serif;
  --font-section: 'Cormorant Garamond', 'Gidugu', Georgia, serif;
  --font-body: 'Inter', 'Gidugu', system-ui, -apple-system, sans-serif;
  --font-nav: 'Montserrat', 'Gidugu', system-ui, -apple-system, sans-serif;
  --font-btn: 'Poppins', 'Gidugu', system-ui, -apple-system, sans-serif;
  --font-telugu: 'Gidugu', 'Inter', sans-serif;
  --bs-body-font-family: var(--font-body);
}

body {
  font-family: var(--font-body);
  color: #0b2559;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p {
  font-family: var(--font-body);
}

.trinity-main-heading,
.trinity-brand-title,
.trinity-footer-brand {
  font-family: var(--font-main);
}

.trinity-section-title,
.trinity-ministries-title,
.trinity-ministry-name,
.trinity-about-badge-num,
.trinity-event-day {
  font-family: var(--font-section);
}

.trinity-top-header,
.trinity-nav-link,
.trinity-brand-subtitle,
.trinity-footer-link,
.trinity-footer-heading,
.trinity-eyebrow-text,
.trinity-ministries-eyebrow-text,
.hero-eyebrow {
  font-family: var(--font-nav);
}

button,
.btn,
.hero-btn,
.trinity-donate-btn,
.trinity-primary-cta,
.trinity-events-cta,
.trinity-lang-btn {
  font-family: var(--font-btn);
}

.hero-title {
  font-family: var(--font-hero);
}

html:lang(te) {
  font-synthesis: none;
}

html:lang(te) body,
html:lang(te) p,
html:lang(te) h1,
html:lang(te) h2,
html:lang(te) h3,
html:lang(te) h4,
html:lang(te) strong,
html:lang(te) button,
html:lang(te) .btn,
html:lang(te) .trinity-top-header,
html:lang(te) .trinity-nav-link,
html:lang(te) .trinity-brand-subtitle,
html:lang(te) .trinity-eyebrow-text,
html:lang(te) .trinity-ministries-eyebrow-text,
html:lang(te) .hero-eyebrow,
html:lang(te) .hero-title,
html:lang(te) .hero-subtitle,
html:lang(te) .trinity-section-title,
html:lang(te) .trinity-ministries-title,
html:lang(te) .trinity-ministry-name,
html:lang(te) .trinity-pillar-title,
html:lang(te) .trinity-event-title,
html:lang(te) .trinity-schedule-title,
html:lang(te) .trinity-gallery-title,
html:lang(te) .trinity-author-name,
html:lang(te) .trinity-footer-heading,
html:lang(te) .trinity-footer-link,
html:lang(te) .trinity-footer-sub,
html:lang(te) .trinity-footer-brand,
html:lang(te) .trinity-main-heading,
html:lang(te) .trinity-form-label,
html:lang(te) .trinity-inline-link,
html:lang(te) .trinity-filter-btn,
html:lang(te) .trinity-pastor-quote {
  font-family: var(--font-telugu);
  font-weight: 400 !important;
  font-synthesis: none;
}

.trinity-lang-btn[lang='te'],
[lang='te'].trinity-footer-quote-text,
[lang='te'].trinity-footer-quote-ref,
[lang='te'].trinity-footer-quote-lang {
  font-family: var(--font-telugu);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0;
}

.trinity-lang-btn[lang='te'] {
  font-size: 0.92rem;
}

html:lang(te) .trinity-nav-link,
html:lang(te) .trinity-brand-subtitle,
html:lang(te) .trinity-eyebrow-text,
html:lang(te) .trinity-ministries-eyebrow-text,
html:lang(te) .hero-eyebrow,
html:lang(te) .trinity-footer-sub,
html:lang(te) .trinity-footer-heading,
html:lang(te) .trinity-donate-btn,
html:lang(te) .hero-btn,
html:lang(te) .trinity-events-pill,
html:lang(te) .trinity-filter-btn,
html:lang(te) .trinity-schedule-loc,
html:lang(te) .trinity-coming-soon-pill {
  letter-spacing: 0;
}

html:lang(te) .trinity-nav-link {
  font-size: 1.16rem;
}

html:lang(te) .hero-subtitle,
html:lang(te) .trinity-about-lead,
html:lang(te) .trinity-about-body,
html:lang(te) .trinity-testimonial-quote,
html:lang(te) .trinity-section-subtitle {
  font-size: 1.14rem;
  line-height: 1.68;
}

/* ==========================================================================
   Top Gold Header Bar
   ========================================================================== */

.trinity-top-header {
  background: linear-gradient(90deg, #b37b14 0%, #cb9324 50%, #b37b14 100%);
  color: #ffffff;
  border-bottom: 1px solid rgba(7, 22, 56, 0.14);
  font-size: 0.85rem;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(7, 22, 56, 0.18);
}

.trinity-top-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.trinity-top-link:hover {
  color: #fff5d6;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.trinity-top-divider {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
}

.trinity-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background-color: rgba(7, 22, 56, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0.16rem 0.22rem 0.16rem 0.48rem;
}

.trinity-lang-globe {
  color: #ffffff;
  flex-shrink: 0;
  margin-right: 0.12rem;
}

.trinity-lang-btn {
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.62rem;
  border-radius: 999px;
  line-height: 1.25;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.trinity-lang-btn:hover {
  background-color: rgba(255, 255, 255, 0.16);
}

.trinity-lang-btn.active {
  background-color: #071638;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(7, 22, 56, 0.28);
}

@media (max-width: 767.98px) {
  .trinity-top-header {
    font-size: 0.78rem;
  }

  .trinity-top-contacts,
  .trinity-top-right {
    width: 100%;
    justify-content: space-between;
  }
}

/* ==========================================================================
   Navbar Styles
   ========================================================================== */

.trinity-navbar {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(11, 37, 89, 0.1);
  box-shadow: 0 2px 14px rgba(11, 37, 89, 0.06);
  --bs-navbar-color: #0b2559;
  --bs-navbar-hover-color: #06183d;
  --bs-navbar-active-color: #0b2559;
  --bs-navbar-brand-color: #0b2559;
  --bs-navbar-brand-hover-color: #0b2559;
  --bs-navbar-toggler-border-color: rgba(11, 37, 89, 0.25);
  z-index: 1030;
}

.trinity-brand {
  text-decoration: none;
  padding-top: 0.15rem;
  padding-bottom: 0.15rem;
}

.trinity-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.trinity-brand:hover .trinity-logo {
  transform: scale(1.04);
}

.trinity-brand-title {
  color: #0b2559;
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.trinity-brand-subtitle {
  color: #1d3f7a;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 0.18rem;
}

.trinity-nav-link {
  position: relative;
  color: #0b2559 !important;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.52rem 0.72rem !important;
  border-radius: 0.45rem;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.trinity-nav-link::after {
  content: '';
  position: absolute;
  left: 0.72rem;
  right: 0.72rem;
  bottom: 0.3rem;
  height: 2px;
  background-color: #0b2559;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.trinity-nav-link:hover,
.trinity-nav-link:focus-visible {
  color: #071940 !important;
  background-color: rgba(11, 37, 89, 0.05);
}

.trinity-nav-link:hover::after,
.trinity-nav-link.active::after {
  transform: scaleX(1);
}

.trinity-nav-link.active {
  color: #071940 !important;
  font-weight: 700;
}

.trinity-donate-btn {
  background-color: #0b2559;
  color: #ffffff;
  border: 2px solid #0b2559;
  border-radius: 0.55rem;
  padding: 0.45rem 1.15rem;
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(11, 37, 89, 0.18);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.trinity-donate-btn:hover,
.trinity-donate-btn:focus-visible {
  background-color: #071940;
  border-color: #c89b3c;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(11, 37, 89, 0.26);
}

.trinity-donate-btn:active {
  background-color: #061433;
  color: #ffffff;
  transform: translateY(0);
}

.trinity-toggler {
  color: #0b2559;
  border: 1.5px solid rgba(11, 37, 89, 0.28);
  padding: 0.4rem 0.6rem;
  border-radius: 0.45rem;
}

.trinity-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(11, 37, 89, 0.18);
}

@media (max-width: 991.98px) {
  .trinity-logo {
    width: 46px;
    height: 46px;
  }

  .trinity-brand-title {
    font-size: 1.05rem;
  }

  .trinity-brand-subtitle {
    font-size: 0.63rem;
    letter-spacing: 0.14em;
  }

  .trinity-nav-list {
    padding-top: 0.75rem;
    padding-bottom: 0.5rem;
    border-top: 1px solid rgba(11, 37, 89, 0.08);
    margin-top: 0.6rem;
  }

  .trinity-nav-link {
    padding: 0.65rem 0.85rem !important;
  }

  .trinity-nav-link::after {
    display: none;
  }

  .trinity-nav-link.active {
    background-color: rgba(11, 37, 89, 0.07);
  }

  .trinity-donate-btn {
    width: 100%;
    padding: 0.6rem 1.25rem;
  }
}

/* ==========================================================================
   Hero Banner Carousel Styles
   ========================================================================== */

.hero-banner-section {
  position: relative;
  overflow: hidden;
  background-color: #0b2559;
}

.hero-carousel .carousel-inner {
  position: relative;
  overflow: hidden;
}

.hero-carousel.carousel-fade .carousel-item {
  display: block;
  float: none;
  margin-right: 0;
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.85s ease-in-out, visibility 0.85s ease-in-out;
}

.hero-carousel.carousel-fade .carousel-item.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.hero-slide {
  position: relative;
  min-height: 410px;
  display: flex;
  align-items: center;
  padding: 2.75rem 0 3.75rem;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  transform: scale(1.03);
  transition: transform 6s ease-out;
}

.hero-carousel .carousel-item.active .hero-slide {
  transform: scale(1);
}

/* Left-side rich navy tint over background image; right side remains clear */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    95deg,
    rgba(11, 37, 89, 0.92) 0%,
    rgba(11, 37, 89, 0.82) 42%,
    rgba(11, 37, 89, 0.35) 60%,
    rgba(11, 37, 89, 0) 76%
  );
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease 0.15s, transform 0.6s ease 0.15s;
}

.hero-carousel .carousel-item.active .hero-slide-content {
  opacity: 1;
  transform: translateY(0);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  color: #f4cd74;
  background-color: rgba(7, 22, 56, 0.5);
  border: 1px solid rgba(244, 205, 116, 0.48);
  border-radius: 999px;
  padding: 0.32rem 0.9rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.hero-title {
  color: #ffffff;
  font-size: clamp(1.8rem, 3.35vw, 2.85rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
  text-shadow: 0 2px 18px rgba(4, 14, 38, 0.5);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(0.92rem, 1.3vw, 1.04rem);
  font-weight: 400;
  line-height: 1.65;
  max-width: 510px;
  text-shadow: 0 1px 10px rgba(4, 14, 38, 0.45);
}

/* Redesigned Hero Buttons with Icons */
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  padding: 0.68rem 1.35rem;
  border-radius: 0.6rem;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.hero-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 0.4rem;
  flex-shrink: 0;
  transition: background-color 0.22s ease, transform 0.22s ease;
}

.hero-btn-arrow {
  transition: transform 0.22s ease;
}

.hero-btn-primary {
  background: linear-gradient(135deg, #e5b74d 0%, #c99224 100%);
  border: 1.5px solid #f0ca6d;
  color: #071638;
  box-shadow: 0 8px 22px rgba(4, 14, 38, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.hero-btn-primary .hero-btn-icon {
  background-color: rgba(7, 22, 56, 0.14);
  color: #071638;
}

.hero-btn-primary:hover,
.hero-btn-primary:focus-visible {
  background: linear-gradient(135deg, #ecc25e 0%, #d49c2b 100%);
  border-color: #f6d887;
  color: #071638;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(4, 14, 38, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.hero-btn-primary:hover .hero-btn-arrow {
  transform: translateX(4px);
}

.hero-btn-outline {
  background-color: rgba(7, 22, 56, 0.45);
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  color: #ffffff;
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(4, 14, 38, 0.24);
}

.hero-btn-outline .hero-btn-icon {
  background-color: rgba(255, 255, 255, 0.16);
  color: #f4cd74;
}

.hero-btn-outline:hover,
.hero-btn-outline:focus-visible {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #071638;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(4, 14, 38, 0.34);
}

.hero-btn-outline:hover .hero-btn-icon {
  background-color: rgba(11, 37, 89, 0.1);
  color: #0b2559;
}

/* Circular Dot Indicators (No arrows) */
.hero-carousel .carousel-indicators {
  margin-bottom: 1rem;
  gap: 0.65rem;
  z-index: 3;
}

.hero-carousel .carousel-indicators button {
  width: 11px;
  height: 11px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.88);
  background-color: transparent;
  opacity: 0.85;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease;
}

.hero-carousel .carousel-indicators .active {
  background-color: #e0ad42;
  border-color: #e0ad42;
  opacity: 1;
  transform: scale(1.18);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.28);
}

@media (max-width: 991.98px) {
  .hero-slide {
    min-height: 365px;
    padding: 2.35rem 0 3.4rem;
    background-position: 70% center;
  }

  .hero-slide-overlay {
    background: linear-gradient(
      95deg,
      rgba(11, 37, 89, 0.88) 0%,
      rgba(11, 37, 89, 0.68) 58%,
      rgba(11, 37, 89, 0.22) 100%
    );
  }
}

@media (max-width: 575.98px) {
  .hero-slide {
    min-height: 330px;
    padding: 2rem 0 3.25rem;
    background-position: 72% center;
  }

  .hero-slide-overlay {
    background: linear-gradient(
      180deg,
      rgba(11, 37, 89, 0.65) 0%,
      rgba(11, 37, 89, 0.8) 100%
    );
  }

  .hero-eyebrow {
    font-size: 0.68rem;
    padding: 0.26rem 0.7rem;
    letter-spacing: 0.05em;
  }

  .hero-btn {
    font-size: 0.86rem;
    padding: 0.54rem 1.05rem;
    gap: 0.48rem;
  }

  .hero-btn-icon {
    width: 24px;
    height: 24px;
  }

  .hero-carousel .carousel-indicators {
    margin-bottom: 0.85rem;
    gap: 0.55rem;
  }

  .hero-carousel .carousel-indicators button {
    width: 10px;
    height: 10px;
  }
}


/* ==========================================================================
   Shared Section Typography & Controls
   ========================================================================== */

.trinity-section-header {
  max-width: 680px;
}

.trinity-eyebrow-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trinity-eyebrow-text {
  color: #b78118;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.trinity-line {
  height: 2px;
  width: 48px;
  background: linear-gradient(90deg, #d4a238 0%, rgba(212, 162, 56, 0.2) 100%);
  border-radius: 2px;
}

.trinity-section-title {
  color: #0b2559;
  font-size: clamp(2rem, 3.3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.18;
}

.trinity-section-subtitle {
  color: #465878;
  font-size: 1rem;
  line-height: 1.65;
}

.trinity-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: #0b2559;
  color: #ffffff;
  border: 2px solid #0b2559;
  border-radius: 0.6rem;
  padding: 0.68rem 1.45rem;
  font-size: 0.94rem;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(11, 37, 89, 0.18);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.trinity-primary-cta:hover,
.trinity-primary-cta:focus-visible {
  background-color: #071638;
  border-color: #d4a238;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(11, 37, 89, 0.26);
}

/* ==========================================================================
   About Section
   ========================================================================== */

.trinity-about-section {
  background-color: #ffffff;
}

.trinity-about-media {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  padding: 0.75rem 0.75rem 1.25rem 0;
}

.trinity-about-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 72%;
  height: 76%;
  border: 3px solid rgba(212, 162, 56, 0.45);
  border-radius: 1rem;
  z-index: 0;
}

.trinity-about-img-wrap {
  position: relative;
  z-index: 1;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(11, 37, 89, 0.14);
}

.trinity-about-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.trinity-about-badge {
  position: absolute;
  bottom: 0;
  left: 1.25rem;
  z-index: 2;
  background: linear-gradient(135deg, #0b2559 0%, #071638 100%);
  color: #ffffff;
  border: 2px solid #d4a238;
  border-radius: 0.85rem;
  padding: 0.8rem 1.15rem;
  box-shadow: 0 12px 26px rgba(7, 22, 56, 0.28);
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.trinity-about-badge-num {
  color: #f4cd74;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
}

.trinity-about-badge-label {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
  margin-top: 0.2rem;
}

.trinity-about-lead {
  color: #163166;
  font-size: 1.06rem;
  font-weight: 500;
  line-height: 1.65;
}

.trinity-about-body {
  color: #4f607d;
  font-size: 0.96rem;
  line-height: 1.7;
}

.trinity-pillar-card {
  background-color: #f7f9fc;
  border: 1px solid rgba(11, 37, 89, 0.09);
  border-radius: 0.75rem;
  padding: 0.9rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.trinity-pillar-card:hover {
  border-color: rgba(212, 162, 56, 0.65);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 37, 89, 0.08);
}

.trinity-pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 0.5rem;
  background-color: rgba(11, 37, 89, 0.08);
  color: #0b2559;
  margin-bottom: 0.55rem;
}

.trinity-pillar-title {
  font-family: var(--font-nav);
  color: #0b2559;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.trinity-pillar-desc {
  color: #546582;
  font-size: 0.8rem;
  line-height: 1.45;
}

/* ==========================================================================
   Our Services & Ministries Section (Reference Image Design)
   ========================================================================== */

.trinity-ministries-section {
  background: radial-gradient(ellipse at top center, #113275 0%, #07183d 55%, #05102b 100%);
  color: #ffffff;
  position: relative;
}

.trinity-ministries-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.trinity-gold-line {
  width: min(140px, 16vw);
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(226, 178, 70, 0.85) 50%, transparent 100%);
}

.trinity-gold-crown {
  color: #e2b246;
  display: inline-flex;
  align-items: center;
}

.trinity-ministries-eyebrow-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.trinity-ministries-title {
  color: #ffffff;
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  font-weight: 700;
}

.trinity-ministry-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 255px;
  border-radius: 0.9rem;
  overflow: hidden;
  text-decoration: none;
  border: 1.5px solid rgba(212, 162, 56, 0.55);
  background-color: #071638;
  box-shadow: 0 12px 26px rgba(2, 8, 24, 0.4);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.trinity-ministry-card:hover,
.trinity-ministry-card:focus-visible {
  transform: translateY(-5px);
  border-color: #f4cd74;
  box-shadow: 0 16px 32px rgba(2, 8, 24, 0.55), 0 0 18px rgba(212, 162, 56, 0.22);
}

.trinity-ministry-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 0.45s ease;
}

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

.trinity-ministry-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 20, 51, 0) 18%,
    rgba(6, 20, 51, 0.62) 55%,
    rgba(6, 20, 51, 0.95) 100%
  );
}

.trinity-ministry-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0.9rem 0.65rem 1rem;
  width: 100%;
}

.trinity-ministry-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e5b74d;
  margin-bottom: 0.2rem;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

.trinity-ministry-name {
  font-family: var(--font-section);
  color: #ffffff;
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}

.trinity-ministry-sub {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-top: 0.15rem;
}

.trinity-timings-bar {
  border-top: 1px solid rgba(212, 162, 56, 0.24);
}

.trinity-timing-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: #f4cd74;
  font-size: 0.88rem;
}

.trinity-timing-label {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.trinity-timing-value {
  color: #f4cd74;
  font-weight: 700;
}

/* ==========================================================================
   Events Section (Left Image + Right Auto-Scrolling Upward Events)
   ========================================================================== */

.trinity-events-section {
  background-color: #ffffff;
}

.trinity-events-photo-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  min-height: 390px;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 18px 40px rgba(11, 37, 89, 0.15);
  border: 1px solid rgba(11, 37, 89, 0.1);
}

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

.trinity-events-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 22, 56, 0.12) 0%,
    rgba(7, 22, 56, 0.62) 55%,
    rgba(7, 22, 56, 0.94) 100%
  );
}

.trinity-events-photo-caption {
  position: relative;
  z-index: 2;
  padding: 1.75rem;
  width: 100%;
}

.trinity-events-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #071638;
  background-color: #e5b74d;
  border-radius: 999px;
  padding: 0.28rem 0.8rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.trinity-events-caption-text {
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.98rem;
  line-height: 1.55;
}

.trinity-events-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  color: #ffffff;
  border-radius: 0.55rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.trinity-events-cta:hover,
.trinity-events-cta:focus-visible {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #071638;
}

.trinity-events-scroll-window {
  height: 335px;
  overflow: hidden;
  position: relative;
  padding: 0.25rem;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.trinity-events-track {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-bottom: 0.85rem;
  animation: trinityEventsScrollUp 22s linear infinite;
}

.trinity-events-scroll-window:hover .trinity-events-track,
.trinity-events-scroll-window:focus-within .trinity-events-track {
  animation-play-state: paused;
}

@keyframes trinityEventsScrollUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

.trinity-event-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: #f7f9fc;
  border: 1px solid rgba(11, 37, 89, 0.1);
  border-left: 4px solid #d4a238;
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.trinity-event-row:hover {
  background-color: #ffffff;
  border-color: rgba(11, 37, 89, 0.22);
  border-left-color: #0b2559;
  box-shadow: 0 8px 20px rgba(11, 37, 89, 0.08);
}

.trinity-event-date {
  width: 58px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 0.6rem;
  background: linear-gradient(135deg, #0b2559 0%, #071638 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.05;
  border: 1px solid rgba(212, 162, 56, 0.55);
}

.trinity-event-month {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f4cd74;
  text-transform: uppercase;
}

.trinity-event-day {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.trinity-event-title {
  font-family: var(--font-nav);
  color: #0b2559;
  font-size: 0.98rem;
  font-weight: 700;
}

.trinity-event-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #b57e14;
  font-size: 0.8rem;
  font-weight: 600;
}

.trinity-event-desc {
  color: #4f607d;
  font-size: 0.86rem;
  line-height: 1.45;
}

@media (prefers-reduced-motion: reduce) {
  .trinity-events-scroll-window {
    overflow-y: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .trinity-events-track {
    animation: none;
  }
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */

.trinity-testimonials-section {
  background-color: #f5f7fb;
  border-top: 1px solid rgba(11, 37, 89, 0.06);
}

.trinity-testimonial-card {
  background-color: #ffffff;
  border: 1px solid rgba(11, 37, 89, 0.09);
  border-radius: 1rem;
  padding: 1.6rem;
  box-shadow: 0 10px 28px rgba(11, 37, 89, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.trinity-testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 162, 56, 0.65);
  box-shadow: 0 16px 34px rgba(11, 37, 89, 0.11);
}

.trinity-quote-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 0.65rem;
  background-color: rgba(212, 162, 56, 0.16);
  color: #b78118;
}

.trinity-stars {
  display: inline-flex;
  gap: 0.18rem;
  color: #e0ad42;
}

.trinity-testimonial-quote {
  color: #25385c;
  font-size: 0.96rem;
  line-height: 1.7;
}

.trinity-testimonial-author {
  border-top: 1px solid rgba(11, 37, 89, 0.08);
}

.trinity-avatar-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0b2559 0%, #183d86 100%);
  color: #f4cd74;
  font-size: 0.88rem;
  font-weight: 700;
  border: 2px solid #d4a238;
  flex-shrink: 0;
}

.trinity-author-name {
  font-family: var(--font-nav);
  color: #0b2559;
  font-size: 0.95rem;
  font-weight: 700;
}

.trinity-author-role {
  color: #5a6b88;
  font-size: 0.82rem;
  font-weight: 500;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */

.trinity-footer {
  background-color: #071638;
  color: rgba(255, 255, 255, 0.85);
  border-top: 3px solid #d4a238;
}

.trinity-footer-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.trinity-footer-brand {
  font-family: var(--font-main);
  color: #ffffff;
  font-size: 1.24rem;
  font-weight: 700;
}

.trinity-footer-sub {
  color: #f4cd74;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 0.18rem;
}

.trinity-footer-mission {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 340px;
}

.trinity-footer-heading {
  font-family: var(--font-nav);
  color: #f4cd74;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trinity-footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.trinity-footer-link {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.18s ease, padding-left 0.18s ease;
}

.trinity-footer-link:hover {
  color: #f4cd74;
}

.trinity-footer-timings,
.trinity-footer-contact {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
}

.trinity-timing-day {
  font-weight: 600;
  color: #ffffff;
}

.trinity-timing-hour {
  font-size: 0.84rem;
  color: #f4cd74;
}

.trinity-footer-icon {
  color: #e5b74d;
}

.trinity-footer-quote-card {
  background: linear-gradient(145deg, rgba(17, 50, 117, 0.48) 0%, rgba(11, 37, 89, 0.72) 100%);
  border: 1px solid rgba(212, 162, 56, 0.45);
  border-left: 4px solid #e5b74d;
  border-radius: 0.85rem;
  padding: 1.15rem 1.25rem;
  min-height: 145px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 26px rgba(2, 8, 24, 0.28);
}

.trinity-footer-quote-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 0.45rem;
  background-color: rgba(212, 162, 56, 0.2);
  color: #f4cd74;
}

.trinity-footer-quote-lang {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(212, 162, 56, 0.45);
  color: #f4cd74;
  font-family: var(--font-nav);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.16rem 0.6rem;
  border-radius: 999px;
}

.trinity-footer-quote-body {
  animation: trinityQuoteFade 0.55s ease;
}

.trinity-footer-quote-text {
  font-family: var(--font-hero);
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.55;
}

[lang='te'].trinity-footer-quote-text {
  font-size: 1.18rem;
  line-height: 1.55;
}

.trinity-footer-quote-ref {
  display: inline-block;
  color: #f4cd74;
  font-family: var(--font-nav);
  font-size: 0.82rem;
  font-weight: 600;
}

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

.trinity-footer-bottom {
  background-color: #040d24;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}

/* ==========================================================================
   Mobile Adjustments for Sections
   ========================================================================== */

@media (max-width: 991.98px) {
  .trinity-about-media {
    max-width: 360px;
  }

  .trinity-events-photo-card {
    min-height: 290px;
  }

  .trinity-events-scroll-window {
    height: 300px;
  }
}

@media (max-width: 575.98px) {
  .trinity-about-media {
    max-width: 320px;
  }

  .trinity-ministry-card {
    height: 215px;
  }

  .trinity-ministry-name {
    font-size: 1.02rem;
  }

  .trinity-events-photo-card {
    min-height: 250px;
  }

  .trinity-events-scroll-window {
    height: 290px;
  }

  .trinity-event-row {
    padding: 0.75rem 0.85rem;
    gap: 0.75rem;
  }

  .trinity-event-date {
    width: 50px;
    height: 54px;
  }
}


/* ==========================================================================
   Inner Pages Banner & Shared Elements
   ========================================================================== */

.trinity-page-banner {
  background: radial-gradient(ellipse at top center, #113275 0%, #07183d 60%, #05102b 100%);
  color: #ffffff;
  border-bottom: 3px solid #d4a238;
}

.trinity-page-banner-title {
  color: #ffffff;
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 700;
}

.trinity-page-banner-sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  max-width: 640px;
  line-height: 1.6;
}

.trinity-breadcrumb {
  font-family: var(--font-nav);
  font-size: 0.84rem;
}

.trinity-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(244, 205, 116, 0.75);
}

.trinity-breadcrumb .breadcrumb-item.active {
  color: #f4cd74;
  font-weight: 600;
}

.trinity-breadcrumb-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.trinity-breadcrumb-link:hover {
  color: #f4cd74;
}

.trinity-soft-bg {
  background-color: #f5f7fb;
  border-top: 1px solid rgba(11, 37, 89, 0.06);
  border-bottom: 1px solid rgba(11, 37, 89, 0.06);
}

.trinity-inline-link {
  color: #0b2559;
  font-family: var(--font-nav);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.18s ease;
}

.trinity-inline-link:hover {
  color: #b78118;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   About Inner Page & Dark Bands
   ========================================================================== */

.trinity-stat-tile {
  background-color: #f7f9fc;
  border: 1px solid rgba(11, 37, 89, 0.1);
  border-top: 3px solid #d4a238;
  border-radius: 0.75rem;
  padding: 0.85rem 0.5rem;
}

.trinity-stat-value {
  font-family: var(--font-section);
  color: #0b2559;
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.1;
}

.trinity-stat-label {
  color: #4f607d;
  font-family: var(--font-nav);
  font-size: 0.74rem;
  font-weight: 600;
}

.trinity-navy-band {
  background: radial-gradient(ellipse at top center, #113275 0%, #07183d 60%, #05102b 100%);
  color: #ffffff;
}

.trinity-vision-dark-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 162, 56, 0.38);
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(4px);
}

.trinity-vision-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 0.7rem;
  background-color: rgba(212, 162, 56, 0.18);
  border: 1px solid rgba(212, 162, 56, 0.45);
  color: #f4cd74;
}

.trinity-secondary-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background-color: #ffffff;
  color: #0b2559;
  border: 2px solid #0b2559;
  border-radius: 0.6rem;
  padding: 0.68rem 1.4rem;
  font-size: 0.94rem;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.trinity-secondary-cta:hover,
.trinity-secondary-cta:focus-visible {
  background-color: #0b2559;
  color: #ffffff;
  transform: translateY(-2px);
}

.trinity-gold-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, #e5b74d 0%, #c99224 100%);
  color: #071638;
  border: 1.5px solid #f0ca6d;
  border-radius: 0.6rem;
  padding: 0.62rem 1.3rem;
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trinity-gold-cta:hover,
.trinity-gold-cta:focus-visible {
  color: #071638;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.trinity-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e5b74d 0%, #c99224 100%);
  color: #071638;
  font-family: var(--font-nav);
  font-size: 0.92rem;
  font-weight: 700;
}

.trinity-pastor-quote {
  border-left: 4px solid #d4a238;
  background-color: #f7f9fc;
  padding: 1rem 1.25rem;
  border-radius: 0 0.75rem 0.75rem 0;
  color: #0b2559;
  font-family: var(--font-section);
  font-size: 1.28rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1.5;
}

.trinity-inner-feature-img {
  height: 360px;
  object-fit: cover;
  border-radius: 1rem;
  display: block;
}

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

.trinity-schedule-card {
  background-color: #f7f9fc;
  border: 1px solid rgba(11, 37, 89, 0.1);
  border-top: 4px solid #0b2559;
  border-radius: 1rem;
  padding: 1.6rem;
  transition: transform 0.22s ease, border-top-color 0.22s ease, box-shadow 0.22s ease;
}

.trinity-schedule-card:hover {
  transform: translateY(-4px);
  border-top-color: #d4a238;
  box-shadow: 0 14px 30px rgba(11, 37, 89, 0.1);
}

.trinity-schedule-time {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #071638;
  background-color: rgba(212, 162, 56, 0.24);
  border: 1px solid rgba(212, 162, 56, 0.55);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-family: var(--font-nav);
  font-size: 0.8rem;
  font-weight: 700;
  width: fit-content;
}

.trinity-schedule-title {
  font-family: var(--font-section);
  color: #0b2559;
  font-size: 1.55rem;
  font-weight: 700;
}

.trinity-schedule-loc {
  color: #b57e14;
  font-family: var(--font-nav);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.trinity-service-detail-card {
  background-color: #ffffff;
  border: 1px solid rgba(11, 37, 89, 0.1);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(11, 37, 89, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.trinity-service-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(11, 37, 89, 0.12);
}

.trinity-service-detail-media {
  height: 210px;
  overflow: hidden;
}

.trinity-service-detail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 0.4s ease;
}

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

/* ==========================================================================
   Gallery & Events Filters + Lightbox
   ========================================================================== */

.trinity-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background-color: #f5f7fb;
  color: #0b2559;
  border: 1.5px solid rgba(11, 37, 89, 0.18);
  border-radius: 999px;
  padding: 0.45rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.trinity-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background-color: rgba(11, 37, 89, 0.1);
  color: #0b2559;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0 0.35rem;
}

.trinity-filter-btn:hover {
  border-color: #0b2559;
  color: #071638;
}

.trinity-filter-btn.active {
  background-color: #0b2559;
  border-color: #0b2559;
  color: #ffffff;
}

.trinity-filter-btn.active .trinity-filter-count {
  background-color: rgba(244, 205, 116, 0.22);
  color: #f4cd74;
}

.trinity-gallery-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.trinity-gallery-card {
  position: relative;
  display: block;
  height: 255px;
  border-radius: 0.9rem;
  overflow: hidden;
  background-color: #071638;
  border: 1.5px solid rgba(212, 162, 56, 0.35) !important;
  box-shadow: 0 12px 26px rgba(11, 37, 89, 0.14);
  cursor: pointer;
}

.trinity-gallery-card.is-hero-tile {
  grid-column: span 2;
  grid-row: span 2;
  height: 100%;
  min-height: 528px;
}

.trinity-gallery-zoom {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(7, 22, 56, 0.72);
  border: 1px solid rgba(244, 205, 116, 0.6);
  color: #f4cd74;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.trinity-gallery-card:hover .trinity-gallery-zoom {
  opacity: 1;
  transform: scale(1);
}

.trinity-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 0.45s ease;
}

.trinity-gallery-card:hover .trinity-gallery-img {
  transform: scale(1.07);
}

.trinity-gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.15rem;
  background: linear-gradient(
    180deg,
    rgba(7, 22, 56, 0) 35%,
    rgba(7, 22, 56, 0.88) 100%
  );
}

.trinity-gallery-title {
  font-family: var(--font-section);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
}

.trinity-gallery-caption {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  line-height: 1.4;
}

.trinity-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1060;
  background-color: rgba(4, 12, 32, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.trinity-lightbox-dialog {
  position: relative;
  max-width: 820px;
  width: 100%;
  background-color: #071638;
  border: 1.5px solid rgba(212, 162, 56, 0.6);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.trinity-lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background-color: rgba(7, 22, 56, 0.8);
  color: #ffffff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.trinity-lightbox-img {
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  background-color: #040d24;
  display: block;
}

.trinity-lightbox-footer {
  padding: 1rem 1.25rem;
}

/* ==========================================================================
   Events Inner Page (Coming Soon Centerpiece)
   ========================================================================== */

.trinity-coming-soon-card {
  max-width: 780px;
  background-color: #f7f9fc;
  border: 1.5px solid rgba(212, 162, 56, 0.45);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(11, 37, 89, 0.12);
}

.trinity-coming-soon-media {
  position: relative;
  height: 360px;
  overflow: hidden;
}

.trinity-coming-soon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trinity-coming-soon-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(7, 22, 56, 0.52) 0%,
    rgba(7, 22, 56, 0.78) 100%
  );
}

.trinity-coming-soon-center {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.trinity-coming-soon-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(7, 22, 56, 0.72);
  border: 2px solid #e5b74d;
  color: #f4cd74;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.trinity-coming-soon-pill {
  background: linear-gradient(135deg, #e5b74d 0%, #c99224 100%);
  color: #071638;
  border: 2px solid #f6d887;
  border-radius: 999px;
  padding: 0.45rem 1.75rem;
  font-family: var(--font-main);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 10px 26px rgba(4, 14, 38, 0.45);
}

/* ==========================================================================
   Contact Inner Page
   ========================================================================== */

.trinity-contact-highlight {
  background-color: #f7f9fc;
  border: 1px solid rgba(11, 37, 89, 0.1);
  border-top: 4px solid #d4a238;
  border-radius: 1rem;
  padding: 1.75rem 1.25rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.trinity-contact-highlight:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(11, 37, 89, 0.1);
}

.trinity-contact-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0b2559 0%, #071638 100%);
  border: 2px solid #d4a238;
  color: #f4cd74;
}

.trinity-hours-row {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trinity-hours-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.trinity-contact-form-card {
  background-color: #f7f9fc;
  border: 1px solid rgba(11, 37, 89, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 12px 30px rgba(11, 37, 89, 0.07);
}

.trinity-form-label {
  color: #0b2559;
  font-family: var(--font-nav);
  font-size: 0.86rem;
  font-weight: 700;
}

.trinity-form-input {
  border: 1.5px solid rgba(11, 37, 89, 0.18);
  border-radius: 0.55rem;
  padding: 0.62rem 0.85rem;
  font-family: var(--font-body);
  color: #0b2559;
}

.trinity-form-input:focus {
  border-color: #0b2559;
  box-shadow: 0 0 0 0.2rem rgba(11, 37, 89, 0.15);
}

@media (max-width: 991.98px) {
  .trinity-gallery-bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .trinity-gallery-card.is-hero-tile {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 300px;
  }
}

@media (max-width: 575.98px) {
  .trinity-gallery-bento {
    grid-template-columns: 1fr;
  }

  .trinity-gallery-card.is-hero-tile {
    grid-column: span 1;
    min-height: 255px;
  }

  .trinity-coming-soon-media {
    height: 260px;
  }

  .trinity-coming-soon-pill {
    font-size: 1rem;
    padding: 0.38rem 1.3rem;
  }

  .trinity-contact-form-card {
    padding: 1.35rem;
  }
}


/* ==========================================================================
   Hidden Background Audio & Contact Map Styles
   ========================================================================== */

.trinity-bg-audio {
  display: none !important;
  width: 0;
  height: 0;
  position: absolute;
  pointer-events: none;
  visibility: hidden;
}

.trinity-contact-hours-card {
  background: radial-gradient(ellipse at top center, #113275 0%, #07183d 65%, #05102b 100%);
  border: 1.5px solid rgba(212, 162, 56, 0.45);
  border-radius: 1rem;
  padding: 2rem;
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(7, 22, 56, 0.22);
}

.trinity-map-card {
  background-color: #f7f9fc;
  border: 1px solid rgba(11, 37, 89, 0.1);
  border-top: 4px solid #d4a238;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(11, 37, 89, 0.08);
}

.trinity-map-header {
  padding: 1.4rem 1.75rem;
  border-bottom: 1px solid rgba(11, 37, 89, 0.08);
}

.trinity-map-frame-wrap {
  width: 100%;
  background-color: #e6ecf5;
}

.trinity-map-frame {
  width: 100%;
  height: 390px;
  border: 0;
  display: block;
}

@media (max-width: 575.98px) {
  .trinity-map-header {
    padding: 1.15rem;
  }

  .trinity-map-frame {
    height: 290px;
  }
}
