
/**/
/* Breakpoint index
   Minimum widths increase; maximum widths decrease.
   (min-width: 768px)
   (min-width: 961px)
   (min-width: 992px)
   (min-width: 992px) and (min-aspect-ratio: 39/20)
   (min-width: 1170px)
   (min-width: 768px) and (max-width: 1026px)
   (max-width: 991px)
   (max-width: 991px) and (orientation: landscape)
   (max-width: 768px)
   (max-width: 767px)
   (max-width: 439px)
   (max-width: 359px)
   (hover: hover)
   (forced-colors: active)
   (prefers-reduced-motion: reduce)
*/

/* Slide picker, captions, and action buttons */

#rev_slider_1_1_wrapper {
  isolation: isolate;
  --ccc-picker-target: 52px;
  --ccc-picker-inset: 14px;
  --ccc-hero-control-fill: rgba(18, 19, 20, .65);
  --ccc-hero-control-outline: rgba(255, 255, 255, .60);
}

/* This Revolution version creates hidden arrow elements even with navigationArrows:none. */
#rev_slider_1_1_wrapper .tparrows {
  display: none !important;
  pointer-events: none !important;
}

/* The three slide markers sit over the GIF; Revolution still owns the slides. */
#rev_slider_1_1_wrapper .ccc-slide-picker {
  position: absolute;
  z-index: 10000;
  left: 50%;
  bottom: var(--ccc-picker-inset);
  display: flex;
  align-items: center;
  transform: translateX(-50%);
  isolation: isolate;
}

#rev_slider_1_1_wrapper .ccc-slide-picker[hidden] {
  display: none;
}

.ccc-slide-picker::before {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 4px;
  right: 4px;
  height: 30px;
  transform: translateY(-50%);
  border: 1px solid var(--ccc-hero-control-outline);
  border-radius: 20px;
  background: var(--ccc-hero-control-fill);
  box-sizing: border-box;
}

#rev_slider_1_1_wrapper .ccc-slide-picker button {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--ccc-picker-target);
  height: var(--ccc-picker-target);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
  appearance: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  touch-action: manipulation;
}

.ccc-slide-picker button::before {
  content: "";
  width: 13px;
  height: 13px;
  box-sizing: border-box;
  border: 1.5px solid rgba(255,255,255,.90);
  border-radius: 50%;
  background-color: transparent;
  box-shadow: none;
  transition: background-color .14s ease, transform .14s ease;
}

.ccc-slide-picker button[aria-pressed='true']::before {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 0 4px rgba(255,255,255,.95), 0 0 11px 2px rgba(255,255,255,.55);
}

.ccc-slide-picker .ccc-slide-hint {
  position: absolute;
  z-index: 2;
  bottom: calc(100% - 4px);
  left: 50%;
  transform: translate(-50%, 3px);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 3px;
  padding: .45em .72em;
  background: #252628;
  color: #fff;
  white-space: nowrap;
  font: 500 12px/1.2 "Lato", Arial, sans-serif;
  letter-spacing: .02em;
  text-transform: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

/* The whole button responds to hover, focus or press. The marker is the
   only part that grows; glow continues to identify the current slide. */
#rev_slider_1_1_wrapper .ccc-slide-picker button[aria-pressed='false']:is(:hover, :focus-visible, :active)::before {
  background-color: rgba(255, 255, 255, .62);
  transform: scale(1.10);
}

#rev_slider_1_1_wrapper .ccc-slide-picker button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

.ccc-slide-picker button:focus-visible .ccc-slide-hint {
  transform: translate(-50%, 0);
  visibility: visible;
  opacity: 1;
}

@media (min-width: 992px) {
  /* Revolution sizes the GIF from its width. On a short or ultrawide desktop
     the image can extend below the first screen. Keep both controls inside
     the visible portion of the hero, with breathing room below the targets. */
  #rev_slider_1_1_wrapper {
    --ccc-desktop-control-inset: clamp(32px, 4vh, 48px);
    --ccc-picker-inset: calc(max(0px, 100% - 100vh) + var(--ccc-desktop-control-inset));
  }
}

@media (min-width: 992px) and (min-aspect-ratio: 39/20) {
  /* On shallow desktops, move captions only as far as needed to clear the
     controls. The lowest action ends 150px below the hero midpoint. Allow
     an extra 16px between its edge and the picker's tap area. */
  #rev_slider_1_1 .tp-caption:not(.ccc-cue-layer) {
    translate: 0 min(0px, calc(100vh - 100vw * 300 / 1170 - var(--ccc-desktop-control-inset) - var(--ccc-picker-target) - 150px - 16px));
  }
}

@media (max-width: 991px) {
  /* Reserve the picker row on narrow phones. Revolution animates transform
     inline, so translate positions captions independently of each slide fade. */
  #rev_slider_1_1 .tp-caption:not(.tp-scrollbelowslider):not(.medium_bg_orange) {
    translate: 0 min(0px, calc(14vw - 78px), var(--ccc-landscape-text-limit, 0px));
  }

  /* Keep the mobile action surface 28px tall and centered above the slide controls.
     Eight transparent pixels above and below keep its touch target 44px tall. */
  #rev_slider_1_1 .tp-caption.medium_bg_orange {
    top: auto !important;
    bottom: max(calc(var(--ccc-picker-inset) + var(--ccc-picker-target) + var(--ccc-cue-gap) + 10px),
                calc(50% - 11.111vw - 12px)) !important;
    left: 50% !important;
    translate: -50% 0;
    font-size: clamp(14px, 2.2vw, 18px) !important;
    line-height: 20px !important;
    padding: 4px 16px !important;
  }

  #rev_slider_1_1 .tp-caption.medium_bg_orange::after {
    content: "";
    position: absolute;
    inset: -8px 0;
  }
}

@media (max-width: 991px) and (orientation: landscape) {
  #rev_slider_1_1_wrapper {
    /* The last subtitle ends 58 design pixels below the hero midpoint.
             Keep it at least 8px above the action when the first screen is short. */
    --ccc-landscape-text-limit: calc(var(--ccc-compact-view) - max(112.5px, 25.642vw)
      - 4.958vw - var(--ccc-compact-edge) - var(--ccc-picker-target)
      - var(--ccc-cue-gap) - 44px - 8px);
  }
}

@media (max-width: 767px) {
  #rev_slider_1_1_wrapper {
    --ccc-picker-inset: 7px;
  }
}

@media (hover: hover) {
  .ccc-slide-picker button:hover .ccc-slide-hint {
    transform: translate(-50%, 0);
    visibility: visible;
    opacity: 1;
  }

  /* When keyboard focus and the resting mouse are on different controls,
     show a single readable label for the keyboard selection. */
  .ccc-slide-picker:has(button:focus-visible) button:not(:focus-visible) .ccc-slide-hint {
    opacity: 0;
    visibility: hidden;
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ccc-slide-picker button::before,
  .ccc-slide-picker .ccc-slide-hint {
    transition: none;
  }
}

/* Scroll cue and compact slider */

/* The original slider still owns the caption's fade and scroll-to-menu action.
   The circle is stationary; only its Font Awesome glyph flips. */
#rev_slider_1_1_wrapper {
  --ccc-cue-size: 44px;
  --ccc-cue-gap: 14px;
  --ccc-cue-disc: 42px;
  --ccc-cue-icon: 17px;
}

#rev_slider_1_1 .tp-caption.ccc-cue-layer {
  position: absolute;
  top: auto !important;
  bottom: calc(var(--ccc-picker-inset) + var(--ccc-picker-target) + var(--ccc-cue-gap)) !important;
  left: calc(50% - var(--ccc-cue-size) / 2) !important;
  width: var(--ccc-cue-size) !important;
  height: var(--ccc-cue-size) !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  z-index: 7;
}

#rev_slider_1_1 .ccc-scroll-cue {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  appearance: none;
  box-shadow: none;
  color: var(--ccc-hero-control-outline);
  transition: color .14s ease;
  background: transparent;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
}

#rev_slider_1_1 .ccc-cue-disc {
  display: grid;
  place-items: center;
  width: var(--ccc-cue-disc);
  height: var(--ccc-cue-disc);
  box-sizing: border-box;
  border: 1px solid currentColor;
  background: var(--ccc-hero-control-fill);
  border-radius: 50%;
}

#rev_slider_1_1 .ccc-scroll-cue:is(:hover, :focus-visible, :active) {
  color: #fff;
}

#rev_slider_1_1 .ccc-scroll-cue:is(:hover, :focus-visible, :active) .ccc-cue-disc {
  border-width: 2px;
}

#rev_slider_1_1 .ccc-cue-direction {
  display: grid;
  place-items: center;
  transform: rotate(180deg);
}

#rev_slider_1_1 .ccc-cue-direction > .fa {
  --fa-animation-duration: 3s;
  display: inline-block;
  font-size: var(--ccc-cue-icon);
  line-height: 1;
}

#rev_slider_1_1 .ccc-scroll-cue:focus-visible {
  outline: 2px solid white;
  outline-offset: 2px;
}

@media (max-width: 991px) {
  /* Keep the markers compact while preserving a separate tap target for each
     slide and for the scroll cue. The target row scales gently on tablets. */
  #rev_slider_1_1_wrapper {
    --ccc-picker-target: clamp(44px, 6vw, 48px);
    --ccc-compact-edge: 14px;
    --ccc-cue-gap: 4px;
  }

  .ccc-slide-picker::before {
    left: 6px;
    right: 6px;
    height: clamp(24px, 3vw, 27px);
  }

  .ccc-slide-picker button::before {
    width: clamp(10px, 1.25vw, 12px);
    height: clamp(10px, 1.25vw, 12px);
  }
}

@media (max-width: 991px) and (orientation: landscape) {
  /* A wide phone can show less than the slider's full GIF height. Position
     the controls above the visible edge even while browser chrome is open. */
  #rev_slider_1_1_wrapper {
    --ccc-compact-view: 100vh;
    --ccc-picker-inset: calc(max(0px, 100% - var(--ccc-compact-view)) + var(--ccc-compact-edge));
  }

  @supports (height: 100svh) {
    #rev_slider_1_1_wrapper {
      --ccc-compact-view: 100svh;
    }
  }
}

@media (max-width: 767px) {
  #rev_slider_1_1_wrapper {
    --ccc-cue-disc: clamp(26px, 6vw, 38px);
    --ccc-cue-icon: clamp(12px, 2.6vw, 16px);
    --ccc-cue-gap: 2px;
    --ccc-compact-edge: 7px;
  }

  #rev_slider_1_1 .ccc-scroll-cue {
    align-items: end;
    box-sizing: border-box;
    padding-bottom: 3px;
  }
}

@media (max-width: 439px) {
  #subheader-slider {
    min-height: 225px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #rev_slider_1_1 .ccc-scroll-cue {
    transition: none;
  }

  #rev_slider_1_1 .ccc-cue-direction > .fa {
    animation: none !important;
  }
}

/* Section typography, cards, and forms */

/* Keep the theme's typefaces, colors, and existing section ornament. */
#rev_slider_1_1 .tp-caption.medium_thin_grey_vivid {
  color: #ecebea;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .58);
}

#mission .title-subtitle-box > p,
#team .title-subtitle-box > p,
#our_skills .title-subtitle-box > p,
#achievements .title-subtitle-box > p,
#creativity .title-subtitle-box > p,
#updates .title-subtitle-box > p,
#doctrine .title-subtitle-box > p,
#register .title-subtitle-box > p {
  max-width: 62ch;
  margin-inline: auto;
  line-height: 1.55;
  text-wrap: pretty;
}

/* Leave the original marks in normal text flow. The extra ink grows away
   from the adjoining words, without changing the verse's line height. */
@supports (content: attr(data-mark) / "") {
  .title-subtitle-box .ccc-verse-mark {
    position: relative;
  }

  .title-subtitle-box .ccc-verse-mark > span {
    opacity: 0;
  }

  .title-subtitle-box .ccc-verse-mark-open::before,
  .title-subtitle-box .ccc-verse-mark-close::after {
    content: attr(data-mark) / "";
    position: absolute;
    pointer-events: none;
    user-select: none;
    transform: scale(1.6);
  }

  .title-subtitle-box .ccc-verse-mark-open::before {
    left: 0;
    transform-origin: right .4em;
  }

  .title-subtitle-box .ccc-verse-mark-close::after {
    right: 0;
    transform-origin: left .4em;
  }
}

#mission .media-body a:focus-visible,
#team .team-box a:focus-visible,
#doctrine .media-body a:focus-visible {
  outline: 2px solid #8a0707;
  outline-offset: 3px;
}

/* The Mission cards already have bottom padding and a margin. Use the
   remaining space on their outer row to match Global Reach and One Body. */
#mission > .container > .row {
  margin-bottom: 20px;
}

#mission .featured-icon-box .featured-desc,
#doctrine .featured-icon-box .featured-desc {
  line-height: 1.58;
}

/* Keep the long doctrine title intact, including at the tablet grid width. */
#doctrine .ccc-doctrine-nowrap {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

#team .ccc-verse-ending {
  white-space: nowrap;
}

#mission .media-body > .btn {
  padding: .53em 1.2em;
  border: 1px solid #504a4a;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

#mission .media-body > .btn:is(:hover, :focus-visible) {
  background-color: #8a0707;
  border-color: #8a0707 !important;
  color: #fff !important;
  box-shadow: none;
}

#team .hexagon_team img {
  transition: box-shadow .2s ease;
}

#team .hexagon_team a:is(:hover, :focus-visible) img {
  box-shadow: 0 0 0 4px #fff, 0 0 0 8px #8a0707, 0 6px 16px rgba(28, 20, 20, .16);
}

#team .hexagon_team a:focus-visible {
  outline: none;
  display: block;
  border-radius: 50%;
}

#register #contactForm :is(input[type="text"], input[type="email"], textarea):focus-visible {
  outline: 2px solid #8a0707 !important;
  outline-offset: 1px;
}

@media (min-width: 768px) {
  /* Give the three actions a common baseline, including when copy wraps. */
  #mission .in_row {
    display: flex;
  }

  #mission .in_row::before,
  #mission .in_row::after {
    display: none;
  }

  #mission .in_row > .col-sm-4,
  #mission .in_row > .col-sm-4 > .wpb_wrapper,
  #mission .featured-icon-box,
  #mission .featured-icon-box > .media,
  #mission .featured-icon-box .media-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  #mission .in_row > .col-sm-4 > .wpb_wrapper,
  #mission .featured-icon-box,
  #mission .featured-icon-box > .media,
  #mission .featured-icon-box .media-body {
    flex: 1;
  }

  #mission .featured-icon-box .media-body {
    width: 100%;
  }

  #mission .media-body > .featured-desc {
    flex: 1;
    margin-bottom: 0;
  }

  #mission .media-body > .btn {
    align-self: center;
    margin-top: 16px;
  }

  #team .team-grid > li {
    width: calc(100% / 3);
  }
}

@media (min-width: 768px) and (max-width: 1026px) {
  #doctrine .ccc-doctrine-nowrap {
    font-size: 22px;
  }

  /* The theme's desktop columns and full-size artwork start at 1027px. */
  #team .team-member-picture .team-col3-img,
  #team .team-member-picture .hexagon_team {
    width: 100%;
    max-width: 172px;
    height: auto;
  }

  #team .team-member-picture img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  #team.gg-scroll-section {
    padding-top: 0 !important;
  }
}

@media (max-width: 767px) {
  #mission .title-subtitle-box,
  #team .title-subtitle-box,
  #our_skills .title-subtitle-box,
  #doctrine .title-subtitle-box {
    padding-inline: 8px;
  }
}

@media (max-width: 359px) {
  #team .team-grid {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding-inline: 0;
  }

  #team .team-grid > li {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
  }

  #team .team-member-picture .team-col3-img,
  #team .team-member-picture .hexagon_team,
  #team .team-member-picture img {
    max-width: 100%;
    height: auto;
  }
}

@media (forced-colors: active) {
  #team .hexagon_team a:focus-visible {
    outline: 2px solid Highlight;
  }
}

@media (prefers-reduced-motion: reduce) {
  #mission .media-body > .btn,
  #team .hexagon_team img {
    transition: none;
  }
}

/* Section spacing and anchor targets */

#achievements {
  padding-top: 15px !important;
}

/* Match the 100px heading inset at Mission and Updates for fragment links. */
#doctrine {
  scroll-margin-top: var(--ccc-anchor-banner-height, 0px);
}

#register {
  /* The registration section supplies its first 70px as top padding. */
  scroll-margin-top: calc(30px + var(--ccc-anchor-banner-height, 0px));
}

@media (min-width: 1170px) {
  /* Above the slider's design width its preloader temporarily caps the hero at
     600px. Reserve Revolution's final auto-height before native fragment scrolling. */
  #subheader-slider {
    aspect-ratio: 1170 / 600;
  }
}

/* Ministries We Support */

/* Center the complete Ministries group over the original 630px city image.
   Equal padding also protects the content if a large text setting makes it taller. */
#creativity.parallax-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: auto !important;
  min-height: 630px;
  padding-block: 32px !important;
}

#creativity > .container > .row,
#creativity .title-subtitle-box,
#creativity .title-subtitle-box > p:last-child {
  margin-bottom: 0 !important;
}

/* White separates the heading and verse against the city photograph. */
#creativity .title-subtitle-box > h1 {
  margin-top: 0;
}

#creativity .title-subtitle-box > .has-underline {
  background-color: #fff !important;
}

#creativity .title-subtitle-box > p {
  color: #fafafa !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .65);
}

#creativity .single-icon-box {
  display: flex;
  justify-content: center;
}

#creativity .single-icon-box > a {
  display: inline-flex;
}

@media (max-width: 767px) {
  #creativity > .container {
    width: 100%;
  }
}

/* Updates */

/* One native link contains the photograph, the heading and the visual Read More cue. */
#updates .ccc-news-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

#updates .ccc-news-title {
  color: #fff;
  font-family: Lato, sans-serif;
  font-weight: 500;
}

#updates .ccc-news-link:is(:hover, :focus-visible) .capContent {
  opacity: 1;
  padding-top: 20%;
}

#updates .ccc-news-link:is(:hover, :focus-visible) .itemCaption::before,
#updates .ccc-news-link:is(:hover, :focus-visible) .capPreview {
  opacity: 1;
  transform: none;
}

#updates .ccc-news-link:is(:hover, :focus-visible) h3 {
  transform: none;
}

#updates .ccc-news-link:focus-visible img {
  filter: brightness(40%);
}

#updates .ccc-news-link:focus-visible {
  outline: 3px solid #8a0707;
  outline-offset: 2px;
}

#updates .ccc-news-text-only {
  position: relative;
  min-height: 275px;
  background: #363636;
}

#updates .ccc-news-text-only .itemCaption {
  inset-block-start: 0;
}

#updates .ccc-news-text-only .capContent {
  opacity: 1;
}

@media (min-width: 961px) {
  /* Center each row while keeping the original four-pixel gutter and wrapping. */
  #updates #da-thumbs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  #updates #da-thumbs > .worksItem {
    flex: none;
    margin-inline: 2px !important;
  }
}

/* Optical spacing for compact slides. Revolution still handles opacity, its
   caption entrance transforms, horizontal centering, and navigation. */
#rev_slider_1_1_wrapper {
  --ccc-safe-top: env(safe-area-inset-top, 0px);
  --ccc-safe-bottom: env(safe-area-inset-bottom, 0px);
}

#rev_slider_1_1_wrapper[data-ccc-balanced] #rev_slider_1_1 .tp-caption {
  top: var(--ccc-caption-top) !important;
  bottom: auto !important;
  translate: none;
}

#rev_slider_1_1_wrapper[data-ccc-balanced] #rev_slider_1_1 .tp-resizeme:not(.medium_bg_orange) {
  scale: var(--ccc-text-scale, 1);
  transform-origin: center top;
}

#rev_slider_1_1_wrapper[data-ccc-balanced] #rev_slider_1_1 .medium_bg_orange {
  left: 50% !important;
  translate: -50% 0;
}

#rev_slider_1_1_wrapper[data-ccc-balanced] .ccc-scroll-cue {
  align-items: center;
  padding: 0;
}

#rev_slider_1_1_wrapper[data-ccc-balanced] .ccc-slide-picker {
  top: var(--ccc-picker-top);
  bottom: auto;
}

@media (min-width: 992px) {
  #rev_slider_1_1_wrapper[data-ccc-balanced] #rev_slider_1_1 .medium_bg_orange::after {
    content: "";
    position: absolute;
    inset: -2px 0;
  }
}

@media (orientation: landscape) and (pointer: coarse) and (min-width: 992px) {
  #rev_slider_1_1_wrapper[data-ccc-balanced] #rev_slider_1_1 .medium_bg_orange {
    font-size: 18px !important;
    line-height: 20px !important;
    padding: 4px 16px !important;
  }
  #rev_slider_1_1_wrapper[data-ccc-balanced] #rev_slider_1_1 .medium_bg_orange::after {
    content: "";
    position: absolute;
    inset: -8px 0;
  }
}
/**/
