/* Editorial demonstration video. Playback enhancements live in microinteraction. */
.wps-video-feature { display:grid; grid-template-columns:minmax(0,1fr) var(--wps-video-track,minmax(0,1fr)); align-items:center; gap:64px; padding:64px 0; color:#1d1d1f; font-family:var(--wptream_dura_font_body, 'Manrope', sans-serif); }
.wps-video-feature > * { min-width:0; }
.wps-video-feature .wps-video-feature__label { margin:0 0 24px; }
.wps-video-feature .wps-video-feature__title { color:inherit; font:650 clamp(32px,3.4vw,48px)/1.12 var(--wptream_dura_font_display,'Manrope',sans-serif); letter-spacing:-.035em; margin:0 0 32px; overflow-wrap:anywhere; }
/* Description type and colour come from .wptream_dura_body_text (in the markup). */
.wps-video-feature .wps-video-feature__description { overflow-wrap:anywhere; }
.wps-video-feature__description > :first-child { margin-top:0; }
.wps-video-feature__description > :last-child { margin-bottom:0; }
.wps-video-feature__description p + p { margin-top:1em; }
.wps-video-feature__media { position:relative; aspect-ratio:16 / 9; border-radius:24px; overflow:hidden; background:#f5f5f7; }
.wps-video-feature .wps-video-feature__video { display:block; width:100%; height:100%; object-fit:contain; }
.wps-video-feature .wps-video-feature__video[hidden] { display:none; }
.wps-video-feature__toggle { position:absolute; bottom:16px; right:16px; display:grid; place-items:center; width:44px; height:44px; padding:0; border:1px solid rgb(255 255 255 / 60%); border-radius:50%; background:rgb(0 0 0 / 72%); color:#fff; cursor:pointer; font-size:18px; line-height:1; }
.wps-video-feature__toggle[hidden], .wps-video-feature__error[hidden] { display:none; }
.wps-video-feature__toggle:focus-visible { outline:3px solid #fff; outline-offset:-6px; }
.wps-video-feature__error { position:absolute; bottom:12px; left:12px; right:12px; padding:12px; margin:0; color:#fff; background:#292929; font-size:14px; }
.wps-video-side-left .wps-video-feature { grid-template-columns:var(--wps-video-track,minmax(0,1fr)) minmax(0,1fr); }
.wps-video-side-left .wps-video-feature__media { grid-column:1; grid-row:1; }
.wps-video-side-left .wps-video-feature__copy { grid-column:2; grid-row:1; }
@media(max-width:767px) {
 .wps-video-feature, .wps-video-side-left .wps-video-feature { grid-template-columns:minmax(0,1fr); gap:32px; padding:40px 0; }
 .wps-video-feature .wps-video-feature__title { margin-bottom:24px; }
 .wps-video-side-left .wps-video-feature__copy, .wps-video-side-left .wps-video-feature__media { grid-column:1; grid-row:auto; }
}
@media print { .wps-video-feature__toggle { display:none; } }

/* Widget-owned micro-interactions. The shared observer only supplies runtime
   .mi-reveal states; this stylesheet owns the custom widgets' visual motion. */
body.wptream_dura_site .wps-video-feature__toggle { transition: background-color var(--mi-fast,160ms), scale var(--mi-fast,160ms); }
/* Own every control state so Elementor's generic pink button styles cannot leak in. */
body.wptream_dura_site .wps-video-feature button.wps-video-feature__toggle {
  background: rgb(0 0 0 / 72%) !important;
  color: #fff !important;
  border-color: rgb(255 255 255 / 60%) !important;
  padding: 0 !important;
}
body.wptream_dura_site .wps-video-feature button.wps-video-feature__toggle:is(:hover, :focus, :active) {
  background: rgb(0 0 0 / 95%) !important;
  color: #fff !important;
  border-color: #fff !important;
}
/* Fixed SVG geometry keeps the pause icon centered inside the circular control. */
.wps-video-feature__toggle > span {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.wps-video-feature__toggle > span > svg {
  display: block;
  width: 24px;
  height: 24px;
}
body.wptream_dura_site .wps-video-feature__toggle:active { scale:.96; }
body.wptream_dura_site :is(.wps-video-feature__copy,.wps-video-feature__media,.wps-split-text__title,.mi-editorial-entrance .wps-split-text__eyebrow,.mi-editorial-entrance .wps-split-text__description).mi-reveal {
  animation: mi-reveal var(--mi-reveal,700ms) var(--mi-ease,ease) both;
  animation-delay:var(--mi-delay,0ms);
}
@media (prefers-reduced-motion:reduce) {
  body.wptream_dura_site .wps-video-feature__toggle { transition:none; }
  body.wptream_dura_site :is(.wps-video-feature__copy,.wps-video-feature__media,.wps-split-text__title,.mi-editorial-entrance .wps-split-text__eyebrow,.mi-editorial-entrance .wps-split-text__description).mi-reveal { animation:none; }
}

/* Text-only editorial block. Elementor Advanced owns the widget padding. */
.wps-split-text {
  display: grid;
  grid-template-columns: minmax(0, var(--wps-split-heading-width, 36%)) minmax(0, 1fr);
  column-gap: var(--wps-split-column-gap, clamp(32px, 5vw, 80px));
  row-gap: var(--wps-split-row-gap, 20px);
  width: 100%;
  padding: 0;
  background: #fff;
  color: #1d1d1f;
  font-family: var(--wptream_dura_font_body, 'Manrope', sans-serif);
  box-sizing: border-box;
}
.wps-split-text > * { min-width: 0; overflow-wrap: anywhere; }
.wps-split-text .wps-split-text__eyebrow { grid-column: 1 / -1; margin: 0; }
.wps-split-text .wps-split-text__title { grid-column: 1; margin: 0; font-family: var(--wptream_dura_font_display, 'Manrope', sans-serif); font-size: clamp(34px, 3.4vw, 48px); font-weight: 650; line-height: 1.12; letter-spacing: -.035em; color: inherit; }
/* Description type and colour come from .wptream_dura_body_text (in the markup). */
.wps-split-text .wps-split-text__description { grid-column: 2; margin: 0; }
.wps-split-text__description > :first-child { margin-top: 0; }
.wps-split-text__description > :last-child { margin-bottom: 0; }
.wps-split-text__description p + p { margin-top: 1em; }
.wps-split-text__description :is(ul, ol) { padding-inline-start: 1.25em; }
.wps-split-text__description a { text-underline-offset: 3px; }
@media (max-width: 767px) {
  .wps-split-text { grid-template-columns: minmax(0, 1fr); }
  .wps-split-text .wps-split-text__description { grid-column: 1; }
}

/* Image accordion: shared layout; motion is owned by microinteraction.css. */
.wps-image-accordion { color: #1d1d1f; font-family: var(--wptream_dura_font_body, inherit); width: 100%; }
.wps-image-accordion *, .wps-image-accordion *::before { box-sizing: border-box; }
.wps-image-accordion .wps-image-accordion__heading { margin: 0 0 40px; font-size: clamp(32px, 4vw, 48px); line-height: 1.12; letter-spacing: -.035em; font-weight: 650; color: inherit; }
.wps-image-accordion__panel { --wia-divider: #d2d2d7; position: relative; display: flex; align-items: center; min-height: 580px; padding: 64px; border-radius: 32px; background: #f5f5f7; }
.wps-image-accordion__list { width: 50%; min-width: 0; }
.wps-image-accordion__item { border: 0; border-bottom: 1px solid var(--wia-divider); margin: 0; padding: 0; scroll-margin-top: 112px; }
.wps-image-accordion__item:last-child { border-bottom: 0; }
/* Item title typography comes from .wptream_dura_title on the title span. */
.wps-image-accordion .wps-image-accordion__trigger { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 25px 0; min-height: 72px; margin: 0; color: inherit; cursor: pointer; list-style: none; overflow-wrap: anywhere; }
.wps-image-accordion__trigger::-webkit-details-marker { display: none; }
.wps-image-accordion__chevron { flex: 0 0 10px; width: 10px; height: 10px; margin-right: 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.wps-image-accordion__item[open] > summary .wps-image-accordion__chevron { transform: rotate(225deg); }
/* Copy type and colour come from .wptream_dura_body_text (in the markup). */
.wps-image-accordion .wps-image-accordion__copy { padding: 0 0 26px; overflow-wrap: anywhere; }
.wps-image-accordion__copy > :first-child { margin-top: 0; }
.wps-image-accordion__copy > :last-child { margin-bottom: 0; }
.wps-image-accordion__copy.wptream_dura_body_text p { margin-bottom: 10px; }
.wps-image-accordion__media { position: absolute; inset: 48px 32px 48px 50%; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.wps-image-accordion__image-frame { flex: 0 0 auto; width: 279px; height: 339px; max-width: 100%; overflow: hidden; border-radius: 24px; }
  .wps-image-accordion .wps-image-accordion__image { display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; border-radius: inherit; }
.wps-image-accordion__trigger:focus-visible { outline: 3px solid #6b42ed; outline-offset: 5px; border-radius: 4px; }

/* Accordion state changes are owned by the accordion widget, not a page rule. */
.wps-image-accordion__chevron { transition:transform var(--mi-medium,280ms) var(--mi-ease,ease); }
.wps-image-accordion__trigger { transition:color var(--mi-fast,160ms) ease; }
.wps-image-accordion__item[open] .wps-image-accordion__media { z-index:1; }
.wps-image-accordion__item:not([open]) .wps-image-accordion__media { opacity:0; }
body.wptream_dura_site .wps-image-accordion__heading.mi-reveal { animation:mi-reveal var(--mi-reveal,700ms) var(--mi-ease,ease) both; }
@media (prefers-reduced-motion:no-preference) {
  @supports (interpolate-size:allow-keywords) {
    .wps-image-accordion__item { interpolate-size:allow-keywords; }
    .wps-image-accordion__item::details-content { block-size:0; overflow:hidden; transition:block-size 420ms var(--mi-ease,ease),content-visibility 420ms allow-discrete; }
    .wps-image-accordion__item[open]::details-content { block-size:auto; }
  }
  .wps-image-accordion__item[open] .wps-image-accordion__copy { animation:mi-accordion-copy 320ms var(--mi-ease,ease) both; }
  .wps-image-accordion__item[open] .wps-image-accordion__image { animation:mi-accordion-image 420ms var(--mi-ease,ease) both; }
}
@keyframes mi-accordion-copy { from { opacity:0; translate:0 -5px; } to { opacity:1; translate:0 0; } }
@keyframes mi-accordion-image { from { opacity:0; translate:0 var(--wia-image-from-y,28px); } to { opacity:1; translate:0 0; } }
@media (prefers-reduced-motion:reduce) {
  .wps-image-accordion__chevron,.wps-image-accordion__trigger { transition:none; }
}
body.elementor-editor-active .wps-image-accordion__copy,
body.elementor-editor-active .wps-image-accordion__image { animation:none !important; }
body.elementor-editor-active .wps-image-accordion__item::details-content { transition:none !important; }
@media print {
  .wps-image-accordion__item::details-content { block-size:auto !important; overflow:visible !important; transition:none !important; }
}
@media (max-width: 1024px) {
  .wps-image-accordion__panel { padding: 40px; min-height: 520px; }
  .wps-image-accordion__list { width: 50%; }
  .wps-image-accordion__media { inset: 40px 20px 40px 51%; }
}
@media (max-width: 767px) {
  .wps-image-accordion .wps-image-accordion__heading { margin-bottom: 28px; }
  .wps-image-accordion__panel { display: block; min-height: 0; padding: 16px 24px; border-radius: 24px; }
  .wps-image-accordion__list { width: 100%; }
  .wps-image-accordion__media { position: static; width: 100%; aspect-ratio: 279 / 339; margin: 0 0 26px; }
  .wps-image-accordion__image-frame { width: min(279px, 100%); height: 339px; }
}
@media print {
  .wps-image-accordion__panel { display: block; min-height: 0; }
  .wps-image-accordion__list { width: 100%; }
  .wps-image-accordion__item::details-content { content-visibility: visible; }
  .wps-image-accordion__content { display: block !important; }
  .wps-image-accordion__media { position: static; height: 220px; }
}

/* Self-contained widget defaults. Elementor instance controls override these. */
.wps-card {
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  background: #fff;
  color: #1d1d1f;
  font-family: var(--wptream_dura_font_body, inherit);
  --wps-image-x: 50%;
  --wps-image-y: 40%;
  --wps-glow: rgba(126, 89, 255, .18);
}
.wps-card *, .wps-card *::before { box-sizing: border-box; }
.wps-card .wps-card-copy { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 2; min-width: 0; }
.wps-card .wps-card-label { margin: 0; color: inherit; font-family: var(--e-global-typography-primary-font-family, "Roboto"), sans-serif; font-size: 20px; font-weight: 700; line-height: 1.25; letter-spacing: -.015em; }
.wps-card .wps-card-title { margin: 0; text-wrap: balance; }
/* Built-in title typography. A title given .wptream_dura_title through
 * the widget's "Title CSS classes" control takes the Dura title style instead. */
.wps-card .wps-card-title:not(.wptream_dura_title) { color: inherit; font-family: var(--e-global-typography-primary-font-family, "Roboto"), sans-serif; font-size: clamp(36px, 3.15vw, 46px); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; }
/* Description type and colour come from .wptream_dura_body_text (in the markup). */
.wps-card .wps-card-description { margin: 0; }
.wps-card-description p { margin: 0; }
.wps-card-description p + p { margin-top: .75em; }
.wps-card .wps-card-media { position: relative; min-width: 0; overflow: hidden; }
.wps-card .wps-card-image { display: block; max-width: 100%; width: 100%; height: 100%; object-fit: cover; object-position: var(--wps-image-x) var(--wps-image-y); }
body.wptream_dura_site .wps-card { transition:box-shadow var(--mi-medium,280ms) var(--mi-ease,ease),border-color var(--mi-fast,160ms) ease,transform var(--mi-medium,280ms) var(--mi-ease,ease); }
body.wptream_dura_site .wps-card.mi-reveal { animation:mi-reveal var(--mi-reveal,700ms) var(--mi-ease,ease) both; animation-delay:var(--mi-delay,0ms); }
body.wptream_dura_site .wps-card:focus-within { box-shadow:var(--mi-shadow,0 10px 28px rgb(29 29 40 / 9%)); }
body.wptream_dura_site :is(.wps-card--image .wps-card-image,.wps-card--step .wps-card-image) { transition:transform var(--mi-reveal,700ms) var(--mi-ease,ease); }
body.wptream_dura_site .wps-card--feature .wps-card-media { transition:transform var(--mi-reveal,700ms) var(--mi-ease,ease); }
@media (hover:hover) and (pointer:fine) {
  body.wptream_dura_site .wps-card:hover { box-shadow:var(--mi-shadow,0 10px 28px rgb(29 29 40 / 9%)); }
  body.wptream_dura_site :is(.wps-card--image:hover .wps-card-image,.wps-card--step:hover .wps-card-image) { transform:scale(1.025); }
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  body.wptream_dura_site .wps-card--feature:hover .wps-card-media { transform:scale(1.025); }
}
@media (prefers-reduced-motion:reduce) {
  body.wptream_dura_site :is(.wps-card,.wps-card-image,.wps-card-media) { transition:none !important; transform:none !important; }
}
.wps-card--feature { flex-direction: row; min-height: 600px; text-align: left; }
.wps-card--feature .wps-card-copy { width: 52%; flex: 0 0 auto; justify-content: center; padding: 72px 42px 72px clamp(72px, 13.9vw, 200px); gap: 20px; }
.wps-card--feature .wps-card-title { font-size: clamp(38px, 3.2vw, 46px); font-weight: 600; line-height: 1.08; }
.wps-card--feature .wps-card-media { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; padding: 54px 44px 54px 0; isolation: isolate; }
.wps-card--feature .wps-card-media::before { content: ''; position: absolute; z-index: -1; top: 50%; left: 48%; width: min(38vw, 470px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--wps-glow), transparent 72%); transform: translate(-50%, -50%); }
.wps-card--feature .wps-card-image { height: auto; object-fit: contain; }
.wps-card .wps-card-logo { position: absolute; z-index: 2; top: 47%; left: 63%; width: clamp(92px, 8vw, 122px); height: auto; transform: translate(-50%, -50%) rotate(2deg) skewY(-2deg); }
/* Image card padding + corner come from .wptream_dura_card_box (printed by the widget). */
.wps-card--image { min-height: 625px; text-align: center; }
.wps-card--image .wps-card-title { max-width: 520px; margin-inline: auto; }
.wps-card--image .wps-card-description { max-width: 500px; margin-inline: auto; }
.wps-card--image .wps-card-media { height: 285px; flex: 0 0 auto; margin-top: auto; }
.wps-card--image .wps-card-copy { padding-bottom: 36px; }
/* Step cards are dark: the Dura foreground tokens switch to their dark-context
 * values so a .wptream_dura_title title stays white and .wptream_dura_body_text
 * uses the light secondary colour here. */
.wps-card--step { --wptream_dura_fg: var(--wptream_dura_text_on_dark); --wptream_dura_fg_2: var(--wptream_dura_text_on_dark_2); min-height: 550px !important; padding: 32px; border-radius: 28px; background: #102044; color: #fff; text-align: left; }
.wps-card--step .wps-card-media { position: absolute; inset: 0; height: 100%; min-height: 550px !important; }
.wps-card--step .wps-card-image { min-height: 550px !important; }
.wps-card--step .wps-card-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(5,12,30,.88), rgba(5,12,30,.45) 32%, rgba(5,12,30,.2) 54%, rgba(5,12,30,.9) 100%); }
.wps-card--step .wps-card-copy { gap: 10px; }
/* Links inside step cards are never blue: keep them white in every state (underline allowed). */
.wps-card--step a, .wps-card--step a:link, .wps-card--step a:visited, .wps-card--step a:hover, .wps-card--step a:focus, .wps-card--step a:active { color: #fff !important; text-decoration: underline; }
.wps-card--step .wps-card-label { font-size: 16px; line-height: 1.3; font-weight: 600; }
.wps-card--step .wps-card-title { text-wrap: initial; }
.wps-card--step .wps-card-title:not(.wptream_dura_title) { font-size: 28px; line-height: 1.15; font-weight: 700; letter-spacing: -.035em; }
.wps-card--step .wps-card-description { position: relative; z-index: 2; padding-top: 40px; margin-top: auto; color: #fff !important; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
/* Live-event setup cards use the same gradient as the homepage steps. */
/* Drop the 40px description gap so the copy fits and the card stays 400px
   (margin-top:auto still pins the description to the bottom). */
.elementor-widget-wpstream_step_card:is(.elementor-element-137cb62, .elementor-element-f540ee1, .elementor-element-f55dacf, .elementor-element-aed9467) .wps-card--step .wps-card-description {
  padding-top: 0;
}
.elementor-widget-wpstream_step_card:is(.elementor-element-137cb62, .elementor-element-f540ee1, .elementor-element-f55dacf, .elementor-element-aed9467) .wps-card--step .wps-card-overlay {
  background-image: linear-gradient(180deg, rgba(5, 12, 30, .55) 0%, rgba(5, 12, 30, .12) 35%, rgba(5, 12, 30, .4) 60%, rgba(5, 12, 30, .88) 82%, rgba(5, 12, 30, .97) 100%) !important;
  opacity: 1;
}
/* Native Elementor review containers still on the other church pages (391900, 391941, 391942, 391943); Home and the churches page use the wpstream_reviews widget (wptream_dura_blocks.css B18). */
.wps-church-reviews .wpstream_home_reviews_grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:30px; }
.wps-church-reviews .wpstream_home_review_card { background:#fff; border:1px solid #e7e7e7; box-shadow:0 5px 70px rgba(38,42,76,.1); min-width:0; }
.wps-church-reviews .wpstream_home_review_stars.elementor-widget-text-editor { color:#eddd31; font-size:19px; letter-spacing:3px; line-height:1; }
.wps-church-reviews .wpstream_home_review_excerpt.elementor-widget-text-editor { flex:1; color:var(--wptream_dura_text_on_light_2); font:400 17px/1.6 var(--wptream_dura_font_body); margin-top:8px !important; }
.wps-church-reviews .wpstream_home_review_author.elementor-widget-text-editor { font:400 13px/1.6 var(--wptream_dura_font_body); color:#62626a; }
.wps-church-reviews .wpstream_home_review_link a.elementor-button { font-size:14px; font-weight:500; }
@media(max-width:1024px) { .wps-church-reviews .wpstream_home_reviews_grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; } }
@media(max-width:767px) { .wps-church-reviews .wpstream_home_reviews_grid { grid-template-columns:minmax(0,1fr); } }
/* The surrounding homepage containers own the row widths and carousel. */
.wpstream_home_solution_cards > .elementor-widget-wpstream_image_card { flex: 1 1 0; min-width: 0; width: 50%; align-self: stretch; }
.wpstream_home_steps_track > .elementor-widget-wpstream_step_card { width: clamp(300px, 30vw, 400px); flex: 0 0 clamp(300px, 30vw, 400px); scroll-snap-align: start; align-self: stretch; }
.elementor-widget-wpstream_feature_card > .elementor-widget-container,
.elementor-widget-wpstream_image_card > .elementor-widget-container,
.elementor-widget-wpstream_step_card > .elementor-widget-container { height: 100%; }
@media (max-width: 767px) {
  .wps-card { border-radius: 24px; }
  .wps-card--feature { flex-direction: column; min-height: 0; text-align: center; }
  .wps-card--feature .wps-card-copy { width: 100%; padding: 42px 24px 34px; }
  .wps-card--feature .wps-card-title { font-size: 38px; }
  .wps-card--feature .wps-card-media { min-height: 340px; padding: 0 14px 28px; }
  .wps-card--feature .wps-card-media::before { width: 86vw; }
  .wps-card--feature .wps-card-logo { top: 45%; left: 62%; width: 82px; }
  .wps-card--image { min-height: 570px; }
  .wps-card--image .wps-card-title:not(.wptream_dura_title) { font-size: 34px; }
  .wps-card--image .wps-card-media { height: 290px; }
  .wps-card--step { padding: 28px 24px; }
  .wps-card--step .wps-card-title:not(.wptream_dura_title) { font-size: 26px; }
  .wpstream_home_solution_cards > .elementor-widget-wpstream_image_card { width: 100%; flex: 1 1 auto; }
  .wpstream_home_steps_track > .elementor-widget-wpstream_step_card { width: 82vw; flex-basis: 82vw; }
}
