/* ==========================================================================
   DIANELLA CHURCH — GLOBAL STYLESHEET
   For Divi 4
   --------------------------------------------------------------------------
   How to install:
   1. Paste this entire file into Divi → Theme Options → General → Custom CSS
      (OR upload as /wp-content/themes/divi-child/style.css if using a child theme)
   2. Each page section in the Divi shortcodes uses module_class="..." that
      maps to the classes below. Do NOT add inline colours in Divi — let this
      file do all the styling so the design stays consistent.
   3. Per-page theme: the first section on each page uses one of:
        .theme-dianella   (default — black primary)
        .theme-living-grace (olive primary)
        .theme-gather       (terracotta primary)
   ========================================================================== */


/* ---------- 1. FONT LOADING --------------------------------------------- */

/* Aftika Soft — load if you've uploaded the font files to your child theme.
   If you don't have Aftika Soft, the Mulish fallback below will be used. */
@font-face {
  font-family: 'Aftika Soft';
  src: url('/wp-content/uploads/fonts/Aftika-Soft-Light.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aftika Soft';
  src: url('/wp-content/uploads/fonts/Aftika-Soft-Regular.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aftika Soft';
  src: url('/wp-content/uploads/fonts/Aftika-Soft-SemiBold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aftika Soft';
  src: url('/wp-content/uploads/fonts/Aftika-Soft-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aftika Soft';
  src: url('/wp-content/uploads/fonts/Aftika-Soft-Black.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}

/* Mulish — Google Font fallback (soft, humanist, modern). Add this URL to
   Divi → Theme Options → Integration → Head, or via a child theme enqueue:
   <link href="https://fonts.googleapis.com/css2?family=Mulish:wght@400;500;600;700;800;900&display=swap" rel="stylesheet">
*/
@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@400;500;600;700;800;900&display=swap');


/* ---------- 2. DESIGN TOKENS -------------------------------------------- */

:root {
  /* Brand colours — exact values from your palette */
  --dc-olive:       #6A7356;
  --dc-terracotta:  #A8593B;
  --dc-warm-grey:   #ABA29C;
  --dc-black:       #161413;
  --dc-cream:       #F9F5F1;
  --dc-warm-cream:  #EFE7DC;
  --dc-dark-brown:  #2F2B28;

  /* Functional colours */
  --dc-text:        #2F2B28;
  --dc-text-soft:   #6B6660;
  --dc-text-muted:  #8A857F;
  --dc-border:      rgba(22, 20, 19, 0.08);
  --dc-overlay:     rgba(22, 20, 19, 0.45);

  /* Default theme = Dianella main (dark primary) */
  --dc-primary:        #161413;
  --dc-primary-hover:  #2F2B28;
  --dc-on-primary:     #F9F5F1;
  --dc-accent:         #A8593B;
  --dc-bg-page:        #F9F5F1;
  --dc-bg-section:     #EFE7DC;
  --dc-bg-card:        #FFFFFF;
  --dc-cross-promo:    #6A7356; /* sister-congregation banner */

  /* Type */
  --dc-font-heading: 'Aftika Soft', 'Mulish', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --dc-font-body:    'Aftika Soft', 'Mulish', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing scale */
  --dc-space-xs: 0.5rem;
  --dc-space-sm: 1rem;
  --dc-space-md: 1.5rem;
  --dc-space-lg: 2.5rem;
  --dc-space-xl: 4rem;
  --dc-space-2xl: 6rem;
  --dc-space-3xl: 8rem;

  /* Radius */
  --dc-radius-sm: 10px;
  --dc-radius-md: 16px;
  --dc-radius-lg: 24px;
  --dc-radius-xl: 32px;
  --dc-radius-pill: 999px;

  /* Shadows */
  --dc-shadow-sm: 0 2px 6px rgba(22, 20, 19, 0.05), 0 1px 2px rgba(22, 20, 19, 0.04);
  --dc-shadow-md: 0 8px 20px rgba(22, 20, 19, 0.08), 0 2px 6px rgba(22, 20, 19, 0.04);
  --dc-shadow-lg: 0 18px 40px rgba(22, 20, 19, 0.12), 0 6px 12px rgba(22, 20, 19, 0.06);
  --dc-shadow-hero: 0 30px 80px rgba(22, 20, 19, 0.18);

  /* Motion */
  --dc-ease: cubic-bezier(0.22, 1, 0.36, 1);          /* ease-out-quart */
  --dc-ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dc-t-fast: 220ms;
  --dc-t-med:  380ms;
  --dc-t-slow: 600ms;

  /* Container */
  --dc-container: 1180px;
}

/* Theme overrides — applied via the section module_class on each page */
.theme-dianella {
  --dc-primary:       #161413;
  --dc-primary-hover: #2F2B28;
  --dc-on-primary:    #F9F5F1;
  --dc-accent:        #A8593B;
  --dc-cross-promo:   #6A7356;
}
.theme-living-grace {
  --dc-primary:       #6A7356;
  --dc-primary-hover: #57604A;
  --dc-on-primary:    #F9F5F1;
  --dc-accent:        #6A7356;
  --dc-cross-promo:   #A8593B; /* invites cross-promo to Gather */
}
.theme-gather {
  --dc-primary:       #A8593B;
  --dc-primary-hover: #8E4A30;
  --dc-on-primary:    #F9F5F1;
  --dc-accent:        #A8593B;
  --dc-cross-promo:   #6A7356; /* invites cross-promo to Living Grace */
}

/* Reduced motion — respect user OS preference */
@media (prefers-reduced-motion: reduce) {
  :root { --dc-t-fast: 0ms; --dc-t-med: 0ms; --dc-t-slow: 0ms; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ---------- 3. BASE TYPOGRAPHY ------------------------------------------ */

body, .et_pb_text {
  font-family: var(--dc-font-body);
  color: var(--dc-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.dc-h1, h1.dc-h1,
.dc-hero h1 {
  font-family: var(--dc-font-heading);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--dc-text);
  margin: 0 0 0.6em;
}
.dc-h2, h2.dc-h2 {
  font-family: var(--dc-font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--dc-text);
  margin: 0 0 0.5em;
}
.dc-h3, h3.dc-h3 {
  font-family: var(--dc-font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--dc-text);
  margin: 0 0 0.5em;
}
.dc-eyebrow {
  font-family: var(--dc-font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dc-accent);
  margin: 0 0 0.9em;
}
.dc-lede {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--dc-text-soft);
  max-width: 56ch;
  margin: 0 auto 1.4em;
}
.dc-body, .dc-card-body p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--dc-text-soft);
}
.dc-meta {
  font-family: var(--dc-font-body);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--dc-text-soft);
  letter-spacing: 0.01em;
}
.dc-text-on-image,
.dc-text-on-image h1,
.dc-text-on-image h2,
.dc-text-on-image p {
  color: var(--dc-cream);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}


/* ---------- 4. LAYOUT HELPERS ------------------------------------------- */

.dc-section {
  padding: var(--dc-space-2xl) 0;
}
.dc-section-bg-cream    { background: var(--dc-bg-page); }
.dc-section-bg-warm     { background: var(--dc-bg-section); }
.dc-section-bg-olive    { background: var(--dc-olive); color: var(--dc-cream); }
.dc-section-bg-terra    { background: var(--dc-terracotta); color: var(--dc-cream); }
.dc-section-bg-dark     { background: var(--dc-black); color: var(--dc-cream); }

.dc-section-bg-olive .dc-h2,
.dc-section-bg-terra .dc-h2,
.dc-section-bg-dark  .dc-h2,
.dc-section-bg-olive .dc-h3,
.dc-section-bg-terra .dc-h3,
.dc-section-bg-dark  .dc-h3 { color: var(--dc-cream); }

.dc-section-bg-olive .dc-lede,
.dc-section-bg-terra .dc-lede,
.dc-section-bg-dark  .dc-lede { color: rgba(249, 245, 241, 0.85); }

.dc-container {
  max-width: var(--dc-container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.dc-center { text-align: center; }


/* ---------- 5. BUTTONS -------------------------------------------------- */

/* Base — apply .dc-btn plus a variant */
.dc-btn,
.dc-btn .et_pb_button,        /* Divi button module wrapper */
a.dc-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 16px 32px !important;
  border-radius: var(--dc-radius-pill) !important;
  font-family: var(--dc-font-body) !important;
  font-weight: 600 !important;
  font-size: 0.98rem !important;
  letter-spacing: 0.01em !important;
  line-height: 1 !important;
  text-decoration: none !important;
  border: 2px solid transparent !important;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    background-color var(--dc-t-fast) var(--dc-ease-soft),
    color var(--dc-t-fast) var(--dc-ease-soft),
    border-color var(--dc-t-fast) var(--dc-ease-soft),
    transform var(--dc-t-fast) var(--dc-ease),
    box-shadow var(--dc-t-med) var(--dc-ease) !important;
  will-change: transform, box-shadow;
}

/* Liquid fill — a soft pseudo-element wash that grows on hover */
.dc-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--dc-primary-hover);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dc-t-med) var(--dc-ease);
  z-index: -1;
  border-radius: inherit;
}
.dc-btn:hover::before { transform: scaleX(1); }

/* Variants */
.dc-btn-primary {
  background: var(--dc-primary) !important;
  color: var(--dc-on-primary) !important;
}
.dc-btn-primary:hover {
  color: var(--dc-on-primary) !important;
  transform: translateY(-2px);
  box-shadow: var(--dc-shadow-md);
}

.dc-btn-outline {
  background: transparent !important;
  color: var(--dc-primary) !important;
  border-color: var(--dc-primary) !important;
}
.dc-btn-outline::before { background: var(--dc-primary); }
.dc-btn-outline:hover {
  color: var(--dc-on-primary) !important;
  transform: translateY(-2px);
  box-shadow: var(--dc-shadow-md);
}

.dc-btn-light {
  background: var(--dc-cream) !important;
  color: var(--dc-black) !important;
}
.dc-btn-light::before { background: #ffffff; }
.dc-btn-light:hover {
  color: var(--dc-black) !important;
  transform: translateY(-2px);
  box-shadow: var(--dc-shadow-md);
}

.dc-btn-dark {
  background: var(--dc-black) !important;
  color: var(--dc-cream) !important;
}
.dc-btn-dark::before { background: var(--dc-dark-brown); }
.dc-btn-dark:hover {
  color: var(--dc-cream) !important;
  transform: translateY(-2px);
  box-shadow: var(--dc-shadow-md);
}

/* Override Divi's own button styles when our class is present */
.dc-btn .et_pb_button:after,
a.dc-btn:after { display: none !important; content: none !important; }


/* ---------- 6. NAVIGATION (HEADER) -------------------------------------- */

.dc-header {
  background: var(--dc-bg-page);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dc-t-med) var(--dc-ease),
              background-color var(--dc-t-med) var(--dc-ease);
}
.dc-header.is-scrolled {
  background: rgba(249, 245, 241, 0.95);
  backdrop-filter: saturate(140%) blur(8px);
  box-shadow: var(--dc-shadow-sm);
}

.dc-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--dc-container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.dc-header-logo {
  flex: 0 0 auto;
}
.dc-header-logo a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--dc-text);
  font-family: var(--dc-font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.005em;
  line-height: 1;
}
.dc-header-logo img,
.dc-header-logo svg {
  height: 34px;
  width: auto;
  display: block;
}
.dc-header-logo-mark {
  width: 28px; height: 28px;
}

.dc-header-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}
.dc-nav-list,
.dc-header-nav ul.menu,
.dc-header-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.dc-nav-list li,
.dc-header-nav ul li {
  position: relative;
}
.dc-nav-link,
.dc-header-nav a,
.dc-header .et_pb_menu .et-menu li a {
  font-family: var(--dc-font-body) !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  color: var(--dc-text) !important;
  letter-spacing: 0.01em !important;
  text-decoration: none !important;
  position: relative;
  display: inline-block;
  padding: 4px 0;
  transition: color var(--dc-t-fast) var(--dc-ease-soft) !important;
}
.dc-nav-link::after,
.dc-header-nav a::after,
.dc-header .et_pb_menu .et-menu li a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -4px;
  height: 2px;
  background: var(--dc-accent);
  border-radius: 2px;
  transition: right var(--dc-t-med) var(--dc-ease);
}
.dc-nav-link:hover::after,
.dc-header-nav a:hover::after,
.dc-header-nav .current-menu-item a::after,
.dc-header .et_pb_menu .et-menu li a:hover::after {
  right: 0;
}

.dc-header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Hamburger (visible on mobile, optional on desktop for sub-congregation
   off-canvas drawer) */
.dc-hamburger {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 10px 8px;
  border-radius: var(--dc-radius-sm);
  transition: background-color var(--dc-t-fast) var(--dc-ease-soft);
}
.dc-hamburger:hover { background: rgba(22, 20, 19, 0.06); }
.dc-hamburger-bar {
  display: block;
  width: 100%; height: 2px;
  background: var(--dc-text);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform var(--dc-t-med) var(--dc-ease),
              opacity var(--dc-t-fast) var(--dc-ease);
  transform-origin: center;
}
.dc-hamburger[aria-expanded="true"] .dc-hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.dc-hamburger[aria-expanded="true"] .dc-hamburger-bar:nth-child(2) {
  opacity: 0;
}
.dc-hamburger[aria-expanded="true"] .dc-hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer — full-page centered menu */
.dc-drawer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh; /* dynamic viewport for iOS Safari */
  background: var(--dc-bg-page);
  padding: 96px 2rem 4rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--dc-t-med) var(--dc-ease),
              transform var(--dc-t-slow) var(--dc-ease),
              visibility 0s linear var(--dc-t-med);
  z-index: 90;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.dc-drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s, 0s, 0s;
}
.dc-drawer ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  width: 100%;
  max-width: 520px;
  text-align: center;
}
.dc-drawer li { width: 100%; }
.dc-drawer a {
  display: block;
  width: 100%;
  padding: 16px 4px;
  font-family: var(--dc-font-heading);
  font-weight: 700;
  font-size: 1.65rem;
  line-height: 1.2;
  color: var(--dc-text);
  text-decoration: none;
  text-align: center;
  letter-spacing: -0.005em;
  transition: color var(--dc-t-fast) var(--dc-ease-soft),
              letter-spacing var(--dc-t-med) var(--dc-ease);
}
.dc-drawer a:hover,
.dc-drawer a:focus-visible {
  color: var(--dc-accent);
  letter-spacing: 0.02em;
  outline: none;
}

/* Staggered cascade as the menu opens */
.dc-drawer.is-open li {
  animation: dc-drawer-item-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.dc-drawer.is-open li:nth-child(1) { animation-delay: 0.08s; }
.dc-drawer.is-open li:nth-child(2) { animation-delay: 0.14s; }
.dc-drawer.is-open li:nth-child(3) { animation-delay: 0.20s; }
.dc-drawer.is-open li:nth-child(4) { animation-delay: 0.26s; }
.dc-drawer.is-open li:nth-child(5) { animation-delay: 0.32s; }
.dc-drawer.is-open li:nth-child(6) { animation-delay: 0.38s; }
.dc-drawer.is-open li:nth-child(7) { animation-delay: 0.44s; }
.dc-drawer.is-open li:nth-child(8) { animation-delay: 0.50s; }
.dc-drawer.is-open li:nth-child(9) { animation-delay: 0.56s; }
@keyframes dc-drawer-item-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .dc-drawer a { font-size: 1.35rem; padding: 13px 4px; }
}

/* Overlay no longer needed in full-page mode — hide it entirely. The
   element can remain in the DOM for backwards compatibility. */
.dc-drawer-overlay { display: none !important; }

/* Drawer with sectioned content (used by Gather + Living Grace).
   - On-page items render in the first <ul>, always visible.
   - "More" toggle reveals the second <ul> with global links. */
.dc-drawer-inner {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.dc-drawer-more-toggle {
  margin: 1.4rem 0 0.4rem;
  padding: 12px 22px;
  background: transparent;
  border: 1.5px solid var(--dc-border);
  border-radius: var(--dc-radius-pill);
  cursor: pointer;
  font-family: var(--dc-font-heading);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dc-text-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  transition: color var(--dc-t-fast) var(--dc-ease-soft),
              border-color var(--dc-t-fast) var(--dc-ease-soft),
              background-color var(--dc-t-fast) var(--dc-ease-soft);
}
.dc-drawer-more-toggle:hover,
.dc-drawer-more-toggle:focus-visible {
  color: var(--dc-text);
  border-color: var(--dc-text);
  background: rgba(22, 20, 19, 0.03);
  outline: none;
}
.dc-drawer-more-chevron {
  display: inline-block;
  font-size: 0.95em;
  line-height: 1;
  transition: transform var(--dc-t-med) var(--dc-ease);
}
.dc-drawer-more-toggle[aria-expanded="true"] .dc-drawer-more-chevron {
  transform: rotate(180deg);
}

.dc-drawer-more {
  width: 100%;
  max-width: 520px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height var(--dc-t-slow) var(--dc-ease),
              opacity var(--dc-t-med) var(--dc-ease-soft);
}
.dc-drawer-more.is-open {
  max-height: 640px;
  opacity: 1;
}
.dc-drawer-more a {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  color: var(--dc-text-soft) !important;
}
.dc-drawer-more a:hover,
.dc-drawer-more a:focus-visible {
  color: var(--dc-accent) !important;
}
@media (max-width: 480px) {
  .dc-drawer-more a { font-size: 1.1rem !important; }
}

/* DESKTOP — when the drawer is opened from the desktop header (Gather /
   Living Grace), it shows ONLY the global items because the on-page <ul>
   and the More toggle are tagged with .dc-hide-desktop. The global <ul>
   needs to render expanded and at the primary size, not the muted
   secondary treatment. */
@media (min-width: 981px) {
  .dc-drawer-more {
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible;
    transition: none;
  }
  .dc-drawer-more a {
    font-size: 1.65rem !important;
    font-weight: 700 !important;
    color: var(--dc-text) !important;
    letter-spacing: -0.005em !important;
  }
}

/* Nested item inside the drawer — a tappable parent that reveals a
   submenu (e.g. "Visit" → Living Grace + Gather in the Dianella drawer).
   Markup contract:
     <li class="dc-drawer-has-children">
       <button class="dc-drawer-parent" aria-expanded="false" aria-controls="...">
         Visit <span class="dc-drawer-chevron" aria-hidden="true">▾</span>
       </button>
       <ul class="dc-drawer-submenu" id="...">
         <li><a href="...">Living Grace</a></li>
         <li><a href="...">Gather</a></li>
       </ul>
     </li>
*/
.dc-drawer-has-children { width: 100%; }

.dc-drawer-parent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  width: 100%;
  padding: 16px 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--dc-font-heading);
  font-weight: 700;
  font-size: 1.65rem;
  line-height: 1.2;
  color: var(--dc-text);
  text-align: center;
  letter-spacing: -0.005em;
  transition: color var(--dc-t-fast) var(--dc-ease-soft),
              letter-spacing var(--dc-t-med) var(--dc-ease);
}
.dc-drawer-parent:hover,
.dc-drawer-parent:focus-visible {
  color: var(--dc-accent);
  letter-spacing: 0.02em;
  outline: none;
}
.dc-drawer-chevron {
  display: inline-block;
  font-size: 0.55em;
  line-height: 1;
  transition: transform var(--dc-t-med) var(--dc-ease);
}
.dc-drawer-has-children.is-open .dc-drawer-chevron {
  transform: rotate(180deg);
}

.dc-drawer-submenu {
  list-style: none;
  margin: 0; padding: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  align-items: stretch !important;
  transition: max-height var(--dc-t-slow) var(--dc-ease),
              opacity var(--dc-t-med) var(--dc-ease-soft),
              margin-bottom var(--dc-t-slow) var(--dc-ease);
}
.dc-drawer-has-children.is-open .dc-drawer-submenu {
  max-height: 400px;
  opacity: 1;
  margin-bottom: 0.6rem;
}
.dc-drawer-submenu a {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  color: var(--dc-text-soft) !important;
  padding: 12px 4px !important;
}
.dc-drawer-submenu a:hover,
.dc-drawer-submenu a:focus-visible {
  color: var(--dc-accent) !important;
}
@media (max-width: 480px) {
  .dc-drawer-parent      { font-size: 1.35rem; }
  .dc-drawer-submenu a   { font-size: 1.05rem !important; }
}

/* Responsive — hide inline nav, show hamburger */
@media (max-width: 980px) {
  .dc-header-nav { display: none; }
  .dc-hamburger { display: block; }
}

/* On sub-congregation pages, hamburger is ALSO visible on desktop next
   to the inline nav (opens an off-canvas drawer with cross-site links).
   Add class .dc-header-hamburger-always to enable. */
.dc-header-hamburger-always .dc-hamburger { display: block; }

/* Visibility utilities — apply to anything in the header (or anywhere).
   The duplicated/element-prefixed selectors are intentional: they raise
   specificity above `a.dc-btn { display: inline-flex !important }` so the
   hide rule actually wins on buttons & links. */
@media (max-width: 980px) {
  .dc-hide-mobile,
  a.dc-hide-mobile,
  button.dc-hide-mobile,
  .dc-hide-mobile.dc-hide-mobile,
  .dc-btn.dc-hide-mobile { display: none !important; }
}
@media (min-width: 981px) {
  .dc-hide-desktop,
  a.dc-hide-desktop,
  button.dc-hide-desktop,
  .dc-hide-desktop.dc-hide-desktop,
  .dc-btn.dc-hide-desktop { display: none !important; }
}

/* ---------- 6b. NAV DROPDOWN -------------------------------------------- */

.dc-nav-list .menu-item-has-children,
.dc-nav-list .has-dropdown {
  position: relative;
  padding-top:6px;
}
.dc-nav-list .menu-item-has-children > a,
.dc-nav-list .has-dropdown > a {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35em;
  padding-bottom: 10px; /* hover bridge between parent & dropdown */
}
.dc-dropdown-chevron {
  display: inline-block;
  font-size: 0.65em;
  line-height: 1;
  transition: transform var(--dc-t-fast) var(--dc-ease);
}
.dc-nav-list li:hover > a .dc-dropdown-chevron,
.dc-nav-list li:focus-within > a .dc-dropdown-chevron {
  transform: translateY(2px);
}

.dc-nav-list .sub-menu,
.dc-nav-list .dc-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  margin: 0;
  padding: 0.5rem 0;
  min-width: 200px;
  list-style: none;
  background: var(--dc-bg-page);
  border-radius: var(--dc-radius-md);
  box-shadow: var(--dc-shadow-md);
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  align-items: stretch !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(6px);
  transition: opacity var(--dc-t-fast) var(--dc-ease-soft),
              transform var(--dc-t-med) var(--dc-ease),
              visibility 0s linear var(--dc-t-fast);
  z-index: 50;
}
.dc-nav-list .menu-item-has-children:hover > .sub-menu,
.dc-nav-list .menu-item-has-children:focus-within > .sub-menu,
.dc-nav-list .has-dropdown:hover > .sub-menu,
.dc-nav-list .has-dropdown:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}
.dc-nav-list .sub-menu li { width: 100%; }
.dc-nav-list .sub-menu a {
  display: block !important;
  padding: 10px 20px !important;
  white-space: nowrap;
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  color: var(--dc-text) !important;
  transition: color var(--dc-t-fast) var(--dc-ease-soft),
              background-color var(--dc-t-fast) var(--dc-ease-soft),
              padding-left var(--dc-t-fast) var(--dc-ease) !important;
}
.dc-nav-list .sub-menu a::after {
  display: none !important;
}
.dc-nav-list .sub-menu a:hover {
  color: var(--dc-accent) !important;
  background: rgba(22, 20, 19, 0.04);
  padding-left: 24px !important;
}


/* ---------- 7. HERO ------------------------------------------------------ */

.dc-hero {
  min-height: 340px;
  position: relative;
  overflow: hidden;
}
.dc-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(22, 20, 19, 0.15) 0%,
    rgba(22, 20, 19, 0.55) 100%);
  z-index: 1;
}
.dc-hero > .et_pb_row { position: relative; z-index: 2; }

.dc-hero-content {
  max-width: 620px;
  padding: 0 1rem;
}
.dc-hero-content h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--dc-cream);
  margin-bottom: 0.6em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}
.dc-hero-content p {
  color: rgba(249, 245, 241, 0.92);
  font-size: 1.1rem;
  line-height: 1.55;
  margin-bottom: 1.4em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.dc-hero-meta {
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(249, 245, 241, 0.85);
  margin-bottom: 1.6em !important;
}

.dc-hero-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1rem;
}
.dc-hero-center h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }

.dc-hero-eyebrow {
  display: inline-block;
  font-family: var(--dc-font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: rgba(249, 245, 241, 0.85);
  margin-bottom: 1.2em;
}
.dc-hero-logo-mark {
  width: 110px;
  height: auto;
  margin-bottom: 1.4em;
  display: block;
}


/* ---------- 8. CARDS ----------------------------------------------------- */

.dc-card {
  background: var(--dc-bg-card);
  border-radius: var(--dc-radius-md);
  overflow: hidden;
  box-shadow: var(--dc-shadow-sm);
  transition:
    transform var(--dc-t-med) var(--dc-ease),
    box-shadow var(--dc-t-med) var(--dc-ease);
  height: 100%;
  display: flex;
  flex-direction: column;
  will-change: transform;
}
.dc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--dc-shadow-lg);
}

.dc-card .et_pb_image_wrap,
.dc-card .dc-card-image {
  overflow: hidden;
  display: block;
}
.dc-card .et_pb_image_wrap img,
.dc-card .dc-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dc-t-slow) var(--dc-ease);
}
.dc-card:hover .et_pb_image_wrap img,
.dc-card:hover .dc-card-image img {
  transform: scale(1.04);
}

.dc-card-body {
  padding: 1.5rem 1.6rem 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.dc-card-body h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.dc-card-time {
  font-weight: 600;
  color: var(--dc-accent);
  font-size: 0.95rem;
}
.dc-card-meta {
  font-size: 0.85rem;
  color: var(--dc-text-muted);
  letter-spacing: 0.02em;
}
.dc-card-link {
  margin-top: auto;
  padding-top: 0.8rem;
  font-weight: 600;
  color: var(--dc-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  transition: gap var(--dc-t-fast) var(--dc-ease),
              color var(--dc-t-fast) var(--dc-ease-soft);
}
.dc-card-link::after {
  content: '→';
  display: inline-block;
  transition: transform var(--dc-t-fast) var(--dc-ease);
}
.dc-card:hover .dc-card-link { gap: 0.7em; }
.dc-card:hover .dc-card-link::after { transform: translateX(4px); }

/* Eyebrow tag inside cards (LIVING GRACE / GATHER / ALL CHURCH) */
.dc-card-tag {
  display: inline-block;
  font-family: var(--dc-font-heading);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dc-accent);
  margin-bottom: 0.4em;
}
.dc-card-tag-olive { color: var(--dc-olive); }
.dc-card-tag-terra { color: var(--dc-terracotta); }
.dc-card-tag-dark  { color: var(--dc-black); }

/* "What to expect" cards — no image */
.dc-info-card {
  background: var(--dc-bg-card);
  border-radius: var(--dc-radius-md);
  padding: 1.8rem 1.5rem;
  box-shadow: var(--dc-shadow-sm);
  height: 100%;
  transition:
    transform var(--dc-t-med) var(--dc-ease),
    box-shadow var(--dc-t-med) var(--dc-ease);
}
.dc-info-card:hover {
  transform: translateY(-4px) rotate(-0.4deg);
  box-shadow: var(--dc-shadow-md);
}
.dc-info-card h3 {
  font-size: 1.15rem;
  margin: 0 0 0.6em;
  font-weight: 700;
}
.dc-info-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--dc-text-soft);
  margin: 0;
}
.dc-info-card-icon {
  font-size: 1.8rem;
  margin-bottom: 0.6em;
  display: block;
}

/* Numbered "Next steps" cards */
.dc-step-card {
  background: var(--dc-bg-card);
  border-radius: var(--dc-radius-md);
  padding: 1.6rem 1.4rem 1.8rem;
  box-shadow: var(--dc-shadow-sm);
  height: 100%;
  transition:
    transform var(--dc-t-med) var(--dc-ease),
    box-shadow var(--dc-t-med) var(--dc-ease);
}
.dc-step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--dc-shadow-md);
}
.dc-step-number {
  font-family: var(--dc-font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--dc-text-muted);
  display: block;
  margin-bottom: 0.4em;
}
.dc-step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5em;
}
.dc-step-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--dc-text-soft);
  margin: 0;
}


/* ---------- 9. FORMS ----------------------------------------------------- */

.dc-form-card {
  background: var(--dc-bg-card);
  border-radius: var(--dc-radius-md);
  padding: 2rem 2rem 1.6rem;
  box-shadow: var(--dc-shadow-md);
  max-width: 580px;
  margin: 0 auto;
}
.dc-form-card .et_pb_contact_field_label,
.dc-form-card label {
  display: block;
  font-family: var(--dc-font-body);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--dc-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.4em;
}
.dc-form-card input[type="text"],
.dc-form-card input[type="email"],
.dc-form-card input[type="tel"],
.dc-form-card textarea,
.dc-form-card .input {
  width: 100% !important;
  padding: 12px 14px !important;
  font-family: var(--dc-font-body) !important;
  font-size: 0.98rem !important;
  color: var(--dc-text) !important;
  background: var(--dc-bg-page) !important;
  border: 1.5px solid var(--dc-border) !important;
  border-radius: var(--dc-radius-sm) !important;
  transition: border-color var(--dc-t-fast) var(--dc-ease-soft),
              background-color var(--dc-t-fast) var(--dc-ease-soft),
              box-shadow var(--dc-t-fast) var(--dc-ease-soft) !important;
}
.dc-form-card input:focus,
.dc-form-card textarea:focus {
  outline: none !important;
  border-color: var(--dc-primary) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--dc-primary) 12%, transparent) !important;
}
.dc-form-card .et_pb_button,
.dc-form-card button[type="submit"] {
  width: 100% !important;
  background: var(--dc-primary) !important;
  color: var(--dc-on-primary) !important;
  border: none !important;
  border-radius: var(--dc-radius-pill) !important;
  padding: 14px 24px !important;
  font-weight: 600 !important;
  font-family: var(--dc-font-body) !important;
  font-size: 0.98rem !important;
  letter-spacing: 0.01em !important;
  cursor: pointer;
  transition: background var(--dc-t-fast) var(--dc-ease-soft),
              transform var(--dc-t-fast) var(--dc-ease),
              box-shadow var(--dc-t-fast) var(--dc-ease) !important;
}
.dc-form-card .et_pb_button:hover,
.dc-form-card button[type="submit"]:hover {
  background: var(--dc-primary-hover) !important;
  transform: translateY(-2px);
  box-shadow: var(--dc-shadow-md);
}


/* ---------- 10. SISTER-CONGREGATION CROSS PROMO ------------------------- */

.dc-cross-promo {
  /* IMPORTANT: tag the cross-promo section with the theme it's PROMOTING,
     not the page's own theme. The bg uses --dc-primary so it inherits the
     destination brand colour. e.g. on Living Grace page, the cross-promo
     to Gather has class "dc-cross-promo theme-gather" → terracotta bg. */
  background: var(--dc-primary);
  color: var(--dc-cream);
  padding: var(--dc-space-lg) 0;
}
.dc-cross-promo .dc-eyebrow {
  color: rgba(249, 245, 241, 0.7);
}
.dc-cross-promo h2 {
  color: var(--dc-cream);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin: 0 0 0.3em;
}
.dc-cross-promo .dc-meta { color: rgba(249, 245, 241, 0.85); }
.dc-cross-promo p { color: rgba(249, 245, 241, 0.85); margin: 0.4em 0 0; }


/* ---------- 11. FOOTER --------------------------------------------------- */

.dc-footer {
  background: var(--dc-dark-brown);
  color: rgba(249, 245, 241, 0.78);
  padding: var(--dc-space-xl) 0 var(--dc-space-md);
}
.dc-footer-inner {
  max-width: var(--dc-container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.dc-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: var(--dc-space-2xl);
}
@media (max-width: 980px) {
  .dc-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }
}
@media (max-width: 560px) {
  .dc-footer-grid { grid-template-columns: 1fr; }
}
.dc-footer h4, .dc-footer .dc-h4 {
  font-family: var(--dc-font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dc-cream);
  margin: 0 0 1em;
}
.dc-footer ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.dc-footer a {
  color: rgba(249, 245, 241, 0.78);
  text-decoration: none;
  display: inline-block;
  padding: 3px 0;
  transition: color var(--dc-t-fast) var(--dc-ease-soft),
              transform var(--dc-t-fast) var(--dc-ease);
}
.dc-footer a:hover {
  color: var(--dc-cream);
  transform: translateX(3px);
}
.dc-footer-brand-col p {
  margin: 0 0 0.4em;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(249, 245, 241, 0.78);
}
.dc-footer-brand-col .dc-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--dc-cream);
  font-family: var(--dc-font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
  margin-bottom: 1rem;
}
.dc-footer-brand-col .dc-footer-brand img,
.dc-footer-brand-col .dc-footer-brand svg {
  height: 28px;
  width: auto;
}
.dc-footer-social-group {
  margin-bottom: 1.25rem;
}
.dc-footer-social-group:last-child { margin-bottom: 0; }
.dc-footer-social-group h4 { margin-bottom: 0.5em; }

.dc-footer-bar {
  border-top: 1px solid rgba(249, 245, 241, 0.12);
  margin-top: var(--dc-space-lg);
  padding-top: var(--dc-space-md);
  font-size: 0.82rem;
  color: rgba(249, 245, 241, 0.55);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  justify-content: space-between;
}
.dc-footer-bar a { color: rgba(249, 245, 241, 0.55); }
.dc-footer-bar a:hover { color: var(--dc-cream); transform: none; }
.dc-footer-bar-left,
.dc-footer-bar-center,
.dc-footer-bar-right {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
}
.dc-footer-bar-center { flex: 1; justify-content: center; }
.dc-footer-bar-right { justify-content: flex-end; }

.dc-social-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.4rem;
}
.dc-social-row a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: rgba(249, 245, 241, 0.08);
  color: var(--dc-cream);
  transition:
    background-color var(--dc-t-fast) var(--dc-ease-soft),
    transform var(--dc-t-fast) var(--dc-ease);
}

.dc-social-row a:hover {
  transform: translateY(-3px) scale(1.04);
}
.dc-social-row.livinggrace-sc a:hover {
  background: var(--dc-olive) !important;
}
.dc-social-row.gather-sc a:hover {
  background: var(--dc-terracotta);
}
.dc-social-body.dc-social-row a{
  background:var(--dc-black);
}
.dc-footer-partner img{
max-height:32px;
width:100%;
opacity:0.8;
}


/* ---------- 12. SCROLL REVEAL (paired with GSAP JS) -------------------- */

/* Initial state — applied immediately so there's no flash of un-animated
   content. GSAP unsets these once it boots. */
.dc-reveal {
  opacity: 0;
  transform: translateY(24px);
  will-change: opacity, transform;
}
.dc-reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  will-change: opacity, transform;
}
/* No-JS fallback — show everything if GSAP never loads */
.no-js .dc-reveal,
.no-js .dc-reveal-stagger > * {
  opacity: 1; transform: none;
}


/* ---------- 13. UTILITIES ----------------------------------------------- */

.dc-radius-image .et_pb_image_wrap,
.dc-radius-image img {
  border-radius: var(--dc-radius-md);
  overflow: hidden;
}
.dc-radius-image-lg .et_pb_image_wrap,
.dc-radius-image-lg img {
  border-radius: var(--dc-radius-lg);
  overflow: hidden;
}
.dc-shadow      { box-shadow: var(--dc-shadow-md); }
.dc-shadow-lg   { box-shadow: var(--dc-shadow-lg); }

.dc-divider-thin {
  height: 1px;
  background: var(--dc-border);
  border: none;
  margin: var(--dc-space-md) 0;
}

.dc-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}
.dc-button-row.start { justify-content: flex-start; }

/* Layout helpers used inside cross-promo / split rows */
.dc-flex-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}
.dc-flex-end-mobile-start {
  display: flex; align-items: center; justify-content: flex-end; height: 100%;
}
@media (max-width: 768px) {
  .dc-flex-end, .dc-flex-end-mobile-start {
    justify-content: flex-start; padding-top: 1rem;
  }
}

/* Cream / on-image text helpers for cross-promo + dark sections */
.dc-text-cream-soft  { color: rgba(249, 245, 241, 0.7) !important; }
.dc-text-cream       { color: rgba(249, 245, 241, 0.95) !important; }
.dc-text-cream-full  { color: var(--dc-cream) !important; }

/* Inline brand-colour utilities — apply to a button or text node to
   override the inherited theme colour without using inline styles.
   Useful on the home page where one card promotes Living Grace and
   the next promotes Gather. */
.dc-color-olive { color: var(--dc-olive) !important; }
.dc-color-terra { color: var(--dc-terracotta) !important; }
.dc-color-black { color: var(--dc-black) !important; }

.dc-btn-outline.dc-btn-olive {
  color: var(--dc-olive) !important;
  border-color: var(--dc-olive) !important;
}
.dc-btn-outline.dc-btn-olive::before { background: var(--dc-olive); }
.dc-btn-outline.dc-btn-olive:hover { color: var(--dc-cream) !important; }

.dc-btn-outline.dc-btn-terra {
  color: var(--dc-terracotta) !important;
  border-color: var(--dc-terracotta) !important;
}
.dc-btn-outline.dc-btn-terra::before { background: var(--dc-terracotta); }
.dc-btn-outline.dc-btn-terra:hover { color: var(--dc-cream) !important; }

.dc-congregation-logo {
  display: flex;
  justify-content: flex-start; /* Aligns child to the left */
  align-items: center;       /* Vertically centers */
  width: 100%;
  padding-bottom:14px;
}
.dc-congregation-logo img{
  max-height:80px;
  height:100%;
}

/* ---------- 14. RESPONSIVE TWEAKS --------------------------------------- */

@media (max-width: 980px) {
  .dc-section { padding: var(--dc-space-xl) 0; }
  .dc-hero { min-height: 340px; }
  .dc-hero-content h1 { font-size: clamp(2rem, 7vw, 2.8rem); }
}
@media (max-width: 640px) {
  .dc-section { padding: var(--dc-space-lg) 0; }
  .dc-hero { min-height: 380px; }
  .dc-hero-content { padding: 0 1.25rem; }
  .dc-form-card { padding: 1.4rem 1.2rem; }
  .dc-card-body { padding: 1.2rem 1.2rem 1.4rem; }
  .dc-button-row { justify-content: center; }
}


/* ---------- 15. DIVI OVERRIDES ------------------------------------------ */

/* Kill Divi's default heavy section padding when we use .dc-section */
.dc-section.et_pb_section { padding-top: var(--dc-space-2xl); padding-bottom: var(--dc-space-2xl); }

/* Make sure Divi text modules inherit our font */
.et_pb_text_inner, .et_pb_blurb_description, .et_pb_module {
  font-family: var(--dc-font-body);
}

/* Image wraps inside cards keep card radius */
.dc-card .et_pb_image, .dc-card .et_pb_module { margin-bottom: 0 !important; }

/* ==========================================================================
   DIANELLA CHURCH — Cultures cards component
   Append to global stylesheet or paste into Divi → Theme Options → Custom CSS
   Requires Tabler Icons — add to Divi → Theme Options → Integration → Head:
   <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tabler/icons-webfont@3.31.0/dist/tabler-icons.min.css">
   ========================================================================== */

.dc-cultures__intro {
  font-size: 0.92rem;
  color: var(--dc-text-soft);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.dc-cultures__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

/* Card base */
.dc-cultures__card {
  background: var(--dc-bg-card);
  border-radius: var(--dc-radius-md);
  box-shadow: var(--dc-shadow-sm);
  border: 1px solid var(--dc-border);
  padding: 1.35rem 1.25rem 1.25rem;
  transition:
    box-shadow var(--dc-t-med) var(--dc-ease),
    transform  var(--dc-t-med) var(--dc-ease);
}

.dc-cultures__card:hover {
  box-shadow: var(--dc-shadow-md);
  transform: translateY(-3px);
}

/* Accent bar */
.dc-cultures__card::before {
  content: '';
  display: block;
  height: 3px;
  margin: -1.35rem -1.25rem 1.25rem;
  border-radius: var(--dc-radius-md) var(--dc-radius-md) 0 0;
}

.dc-cultures__card--hospitality::before  { background: var(--dc-olive); }
.dc-cultures__card--worship::before      { background: var(--dc-terracotta); }
.dc-cultures__card--discipleship::before { background: var(--dc-warm-grey); }
.dc-cultures__card--mission::before      { background: var(--dc-terracotta); }
.dc-cultures__card--generosity::before   { background: var(--dc-olive); }

/* Icon wrap */
.dc-cultures__icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--dc-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 0.85rem;
}

.dc-cultures__card--hospitality  .dc-cultures__icon-wrap { background: rgba(106,115,86,0.12); color: var(--dc-olive); }
.dc-cultures__card--worship      .dc-cultures__icon-wrap { background: rgba(168,89,59,0.10);  color: var(--dc-terracotta); }
.dc-cultures__card--discipleship .dc-cultures__icon-wrap { background: rgba(22,20,19,0.07);   color: var(--dc-text); }
.dc-cultures__card--mission      .dc-cultures__icon-wrap { background: rgba(168,89,59,0.10);  color: var(--dc-terracotta); }
.dc-cultures__card--generosity   .dc-cultures__icon-wrap { background: rgba(106,115,86,0.12); color: var(--dc-olive); }

/* Title */
.dc-cultures__title {
  font-family: var(--dc-font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--dc-text);
  margin: 0;
}

/* Responsive */
@media (max-width: 640px) {
  .dc-cultures__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .dc-cultures__grid { grid-template-columns: 1fr; }
}