/* Change testimonials section background */
.sp-position-12,         /* or whatever the module position is */
.testimonials-module,
#sp-testimonials {
  background-color: #f5f0e8 !important; /* e.g. a warm cream/tan */
}



/* Add this to your Custom CSS or template settings */
.sp-megamenu-parent .sp-dropdown {
    pointer-events: auto; /* Allows mouse interaction */
}

/* Ensure there is an invisible overlapping overlay to bridge the gap */
.sp-megamenu-parent > li > .sp-dropdown::before {
    content: "";
    position: absolute;
    top: -20px; /* Adjust this value to bridge the gap */
    left: 0;
    width: 100%;
    height: 20px;
}


.ep-section {
      font-family: Georgia, 'Times New Roman', serif;
      background: #EFE8E2;
      color: #1a2840;
      padding: 64px 48px;
      box-sizing: border-box;
      border-top: 3px solid #A17955;
    }
    .ep-eyebrow {
      font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
      font-size: 18px;
      font-weight: 600;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: #A17955;
      margin: 0 0 14px;
    }
    .ep-heading {
      font-size: 40px;
      font-weight: 400;
      color: #186282;
      margin: 0 0 10px;
      line-height: 1.25;
    }
    .ep-subheading {
      font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
      font-size: 1.04rem;
      color: #232f37;
      font-weight: 400;
      margin: 0 0 40px;
      line-height: 1.6;
    }
    .ep-divider {
      width: 48px;
      height: 2px;
      background: #A17955;
      margin: 0 0 36px;
    }
    .ep-columns {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 0;
      position: relative;
    }
    .ep-col {
      position: relative;
      padding-right: 20px;
    }
    .ep-col:last-child {
      padding-right: 0;
    }
    .ep-col-inner {
      background: #ffffff;
      border: 1px solid #d4c9be;
      border-radius: 4px;
      padding: 22px 18px;
      height: 100%;
      box-sizing: border-box;
      border-top: 3px solid #186282;
    }
    .ep-col:last-child .ep-col-inner {
      border-top-color: #A17955;
      border-color: #A17955;
    }
    .ep-arrow {
      position: absolute;
      right: -1px;
      top: 48%;
      transform: translateY(-50%);
      z-index: 10;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 22px;
      height: 22px;
    }
    .ep-arrow svg {
      width: 40px;
      height: 40px;
    }
    .ep-col-number {
      font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.14em;
      color: #A17955;
      margin: 0 0 10px;
      text-transform: uppercase;
    }
    .ep-col-title {
      font-size: 22px;
  line-height: 1.2em;
  font-weight: 400;
  font-style: normal;
  font-family: "Lato",sans-serif;
  color: #186282;
  letter-spacing: -.01px;
padding-bottom: 10px;
    }
    .ep-col-body {
      font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
      font-size: 14px;
      color: #232f37;
      line-height: 1.15rem;
      margin: 0 0 14px;
    }
    .ep-col-link {
      font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
      font-size: 12px;
      font-weight: 600;
      color: #1a2840;
      text-decoration: none;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      border-bottom: 1.5px solid #A17955;
      padding-bottom: 1px;
    }
    .ep-col-checks {
      font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
      font-size: 12.5px;
      color: #232f37;
   line-height: 1.2;
      margin: 0;
      padding: 0;
      list-style: none;
    }
    .ep-col-checks li::before {
      content: '✓ ';
      color: #A17955;
      font-weight: 700;
    }
    .ep-footer {
      border-top: 1px solid #d4c9be;
        font-size: 25px;
  line-height: 1.3em;
  font-weight: 400;
  font-style: italic;
  font-family: "Lato",sans-serif;
  color: #186282;
  margin-bottom: 30px;
  margin-top: 42px;
  padding-top: 30px;
    }

    /* Mobile: single column, downward arrows */
    @media (max-width: 1000px) {
      .ep-section {
        padding: 40px 24px;
      }
      .ep-heading {
        font-size: 24px;
      }
      .ep-columns {
        grid-template-columns: 1fr;
        gap: 0;
      }
      .ep-col {
        padding-right: 0;
        padding-bottom: 20px;
      }
      .ep-col:last-child {
        padding-bottom: 0;
      }
      .ep-col-inner {
        height: auto;
      }
      .ep-arrow {
        right: auto;
        top: auto;
        bottom: -1px;
        left: 50%;
        transform: translateX(-50%);
        width: 22px;
        height: 22px;
      }
      .ep-arrow svg {
        transform: rotate(90deg);
      }
    }


.gift-banner {
  width: 100%;
  background: #EDF3F2;
  border-radius: 0px;
  padding: 2.5rem 2rem;
  box-sizing: border-box;
}

.gift-banner-header {
  text-align: center;
  margin-bottom: 0.4rem;
}

.gift-banner-eyebrow {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888780;
  margin: 0 0 0.5rem;
}

.gift-banner-title {
  font-size: 22px;
  font-weight: 500;
  color: #1a1a18;
  margin: 0 0 0.35rem;
}

.gift-banner-sub {
  font-size: 14px;
  color: #888780;
  margin: 0 0 2rem;
}

/* 4-column grid, wraps to 2 columns on smaller screens */
.gift-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 700px) {
  .gift-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.gift-card {
  background: #ffffff;
  border: 0.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  padding: 2rem 1rem 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  transition: border-color 0.15s;
}

.gift-card:hover {
  border-color: rgba(0, 0, 0, 0.25);
}

.gift-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.gift-card-label {
  line-height: 1.5;
  color: #232f37;
  font-size: 1.04rem;
  font-weight: 400;
  font-style: normal;
  font-family: "Lato",sans-serif;
  letter-spacing: .03em;
  margin: 0;
}

.gift-card-desc {
  font-size: 12px;
  color: #888780;
  margin: 0;
  line-height: 1.4;
}

.gift-footer {
  text-align: center;
  margin-top: 1.75rem;
  line-height: 1.5;
  color: #232f37;
  font-size: 1.04rem;
  font-weight: 400;
  font-style: normal;
  font-family: "Lato",sans-serif;
  letter-spacing: .03em;
}

/* Icon background & color variants */
.ic-blue   { background: #186282; }


.ic-blue   i { color: #185FA5; }
.ic-teal   i { color: #0F6E56; }
.ic-amber  i { color: #854F0B; }
.ic-purple i { color: #534AB7; }
.ic-coral  i { color: #993C1D; }
.ic-pink   i { color: #993556; }
.ic-green  i { color: #3B6D11; }
.ic-gray   i { color: #5F5E5A; }


  :root {
    --navy: #186282;
    --navy-mid: #1a3347;
    --gold: #a9825d;
    --gold-light: #d4b07a;
    --cream: #f7f4ef;
    --cream-dark: #ede8df;
    --text: #1a1a1a;
    --text-mid: #4a4a4a;
    --text-muted: #7a7a7a;
    --border: rgba(0,0,0,0.08);
    --border-gold: rgba(184,151,90,0.3);
    --white: #ffffff;
  }

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



  /* EDIT MODE TOOLBAR */
  #edit-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--navy);
    color: white;
    z-index: 1000;
    padding: 10px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
  }
  #edit-bar .bar-left { display: flex; align-items: center; gap: 16px; }
  #edit-bar .bar-right { display: flex; gap: 10px; }
  .edit-mode-badge {
    background: var(--gold);
    color: var(--navy);
    font-size: 11px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.04em;
  }
  .bar-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
    color: white;
    padding: 6px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    transition: all 0.15s;
  }
  .bar-btn:hover { background: rgba(255,255,255,0.1); }
  .bar-btn.primary { background: var(--gold); border-color: var(--gold); color: var(--navy); font-weight: 500; }
  .bar-btn.primary:hover { background: var(--gold-light); }
  #edit-hint { color: rgba(255,255,255,0.5); font-size: 12px; }

  /* MAIN PAGE */
  #page-wrapper { padding-top: 52px; }

 

  /* HERO */
  .hero {
padding: 72px 48px 64px;
text-align: center;
position: relative;
overflow: hidden;
background-image: linear-gradient(to bottom, #186282, #155573);
margin-top:-50px;
padding-left: 48px;
padding-right: 48px;
  }

@media (max-width: 1200px) {
    .hero {
margin-top: -50px;
    }
  }
  .hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 40px;
    background: var(--border-gold);
  }
  .hero-eyebrow {
    font-size: 15px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    font-family: 'DM Sans', sans-serif;
  }
  .hero h1 {
    font-family: 'resagokr',sans-serif;
    font-size: 54px;
    font-weight: 300;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
  }
  .hero h1 em { font-style: italic; color: var(--gold-light); }
  .hero p {
    color: rgba(255,255,255,0.60);
    font-size: 17px;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.3;
  }

/* Break hero and filters out of the page wrapper to full viewport width */
.hero,
.filters {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  box-sizing: border-box;
}

  /* FILTER TABS */
  .filters {
    background: var(--navy-mid);
    padding: 0 48px;
    display: flex;
    gap: 0;
    overflow-x: auto;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    justify-content: center; /* Centers horizontally (Main Axis) */
  align-items: center; 
        padding-left: 48px;
  padding-right: 48px;
  }
  .filter-tab {
    padding: 25px 10px 25px 10px;
    font-size: 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: all 0.15s;
    user-select: none;
  }

@media (max-width: 1200px) {
    .filter-tab {
    padding: 16px 6px;
    font-size: 13px;
    letter-spacing: 0.02em;
    }
  }

@media (max-width: 768px) {
    .filter-tab {
    padding: 16px 6px;
    font-size: 10px;
    letter-spacing: 0.02em;
    }
  }

  .filter-tab:hover { color: #fff; }
  .filter-tab.active { color: var(--gold); border-bottom-color: var(--gold); }

  /* CONTENT */
  .content { max-width: 1600px; margin: 0 auto; padding: 64px 10px; }

  /* SECTION */
  .team-section { margin-bottom: 72px; }
  .section-header { display: flex; align-items: baseline; gap: 16px; margin-bottom: 32px; }
  .section-title {
font-size: 40px;
  line-height: 1.2em;
  font-weight: 400;
  font-style: normal;
  font-family: 'resagokr',sans-serif;
  color: #186282;
  word-spacing: -.1rem;
  letter-spacing: -.2px;
  }
  .section-line { flex: 1; height: 1px; background: var(--border-gold); }
  .section-count { font-size: 12px; color: var(--text-muted); letter-spacing: 0.04em; }

  /* SUPPORT DIVIDER */
  .support-divider {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 16px 0 48px;
  }
  .support-divider-label {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    white-space: nowrap;
  }
  .support-divider-line { flex: 1; height: 0px; background: var(--border-gold); }

  /* GRID VARIANTS */
  .grid-leaders { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px; }
  .grid-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
  .grid-support { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }

  /* LEADER CARD */
  .leader-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 2px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
      min-height: 435px;
  }
  .leader-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.09); transform: translateY(-2px); }
  .leader-photo {
    width: 100%;
    /* SQUARE: 1:1 ratio instead of 3:4 portrait */
    aspect-ratio: 1 / 1.05;
    background: var(--cream-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }
  .leader-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
  .leader-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    color: var(--text-muted);
    font-size: 13px;
    cursor: pointer;
  }
  .leader-photo-placeholder span { font-size: 28px; opacity: 0.3; }
  .leader-info { padding: 16px 16px 18px; }
  .leader-name {
    font-family: 'resagokr',sans-serif;
    font-size: 23px;
    font-weight: 500;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 4px;
  }
  .leader-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gold);
    margin-bottom: 6px;
    line-height: 1.4;
      
  }
  .leader-creds {
color: #232f37;
  font-size: 0.8rem;
  font-weight: 400;
  font-style: normal;
  font-family: "Lato",sans-serif;
  letter-spacing: .03em;
  font-style: italic;
  line-height: 1rem;
  padding-top: 3px;
  }

  /* TEAM CARD (horizontal) — now with square photo */
  .team-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 2px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    transition: box-shadow 0.15s;
  }
  .team-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.07); }
  .team-avatar {
    width: 56px;
    height: 56px;
    /* Square, not circle */
    border-radius: 2px;
    background: var(--cream-dark);
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'resagokr',sans-serif;
    font-size: 18px;
    color: var(--navy);
    font-weight: 500;
  }
  .team-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
  .team-info { flex: 1; min-width: 0; }
  .team-name {
    font-family: 'resagokr',sans-serif;
    font-size: 17px;
    font-weight: 500;
    color: var(--navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .team-role {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    line-height: 1.4;
  }

  /* SUPPORT CARD — now with square photo */
  .support-card {
    background: var(--cream-dark);
    border: 1px solid var(--border-gold);
    border-radius: 2px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
  }
  .support-avatar {
    width: 48px;
    height: 48px;
    /* Square */
    border-radius: 2px;
    background: rgba(184,151,90,0.15);
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'resagokr',sans-serif;
    font-size: 16px;
    color: var(--gold);
  }
  .support-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
  .support-info { flex: 1; }
  .support-name {
    font-family: 'resagokr',sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--navy);
  }
  .support-role {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
  }

  /* EDITABLE FIELDS */
  body.edit-mode [contenteditable] {
    outline: none;
    border-radius: 3px;
    transition: background 0.15s, box-shadow 0.15s;
    cursor: text;
  }
  body.edit-mode [contenteditable]:hover {
    background: rgba(184,151,90,0.08);
    box-shadow: 0 0 0 2px rgba(184,151,90,0.25);
  }
  body.edit-mode [contenteditable]:focus {
    background: rgba(184,151,90,0.12);
    box-shadow: 0 0 0 2px rgba(184,151,90,0.5);
  }

  /* CARD ACTIONS in edit mode */
  body.edit-mode .card-actions { display: flex !important; }
  .card-actions {
    display: none;
    position: absolute;
    top: 8px; right: 8px;
    gap: 4px;
  }
  .card-action-btn {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: background 0.15s;
  }
  .card-action-btn:hover { background: white; }
  .card-action-btn.danger:hover { background: #fee; }

  /* ADD MEMBER BUTTON */
  .add-member-btn {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px dashed var(--border-gold);
    border-radius: 2px;
    padding: 20px;
    cursor: pointer;
    color: var(--gold);
    font-size: 13px;
    letter-spacing: 0.04em;
    background: transparent;
    transition: background 0.15s;
    width: 100%;
  }
  .add-member-btn:hover { background: rgba(184,151,90,0.06); }
  body.edit-mode .add-member-btn { display: flex; }

  /* PHOTO UPLOAD OVERLAY */
  body.edit-mode .leader-photo { cursor: pointer; }
  body.edit-mode .leader-photo:hover .photo-overlay { opacity: 1; }
  .photo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13,31,45,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
  }
  body.edit-mode .photo-overlay { pointer-events: none; }

  /* MODAL */
  .modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13,31,45,0.75);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 24px;
  }
  .modal-overlay.open { display: flex; }
  .modal {
    background: var(--white);
    border-radius: 4px;
    padding: 32px;
    width: 100%;
    max-width: 480px;
    position: relative;
  }
  .modal h3 {
    font-family: 'resagokr',sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 24px;
  }
  .modal-field { margin-bottom: 16px; }
  .modal-field label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 6px; }
  .modal-field input, .modal-field select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--text);
    background: var(--cream);
    outline: none;
    transition: border-color 0.15s;
  }
  .modal-field input:focus, .modal-field select:focus { border-color: var(--gold); }
  .modal-actions { display: flex; gap: 10px; margin-top: 24px; justify-content: flex-end; }
  .modal-btn {
    padding: 10px 20px;
    border-radius: 4px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    cursor: pointer;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    transition: background 0.15s;
  }
  .modal-btn:hover { background: var(--cream); }
  .modal-btn.primary { background: var(--navy); border-color: var(--navy); color: white; }
  .modal-btn.primary:hover { background: var(--navy-mid); }
  .modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 20px; cursor: pointer; color: var(--text-muted); }

  /* CTA */
  .cta-section {
 background-image: linear-gradient(to bottom, #186282, #155573);
    padding: 64px 48px;
    text-align: center;
  }
  .cta-section h2 {
    font-family: 'resagokr',sans-serif;
    font-size: 36px;
    font-weight: 300;
    color: var(--white);
    margin-bottom: 12px;
  }
  .cta-section p { color: rgba(255,255,255,0.5); font-size: 14px; margin-bottom: 28px; }
  .cta-btn {
    display: inline-block;
    padding: 13px 36px;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.2s;
  }
  .cta-btn:hover { background: var(--gold); color: var(--navy); }

  /* TOAST */
  #toast {
    position: fixed;
    bottom: 32px; left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: var(--navy);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 13px;
    z-index: 3000;
    transition: transform 0.3s;
    border-left: 3px solid var(--gold);
  }
  #toast.show { transform: translateX(-50%) translateY(0); }

  /* HIDE SECTIONS */
  .team-section.hidden { display: none; }

  @media (max-width: 768px) {
    .grid-leaders { grid-template-columns: repeat(2, 1fr); }
    .content { padding: 40px 24px; }
    nav { padding: 0 24px; }
    .hero { padding: 48px 24px; }
    .hero h1 { font-size: 38px; }
    .filters { padding: 0 24px; }
  }
