.elementor-8 .elementor-element.elementor-element-809c217{--display:flex;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--gap:0px 0px;--row-gap:0px;--column-gap:0px;--flex-wrap:wrap;--align-content:center;--overflow:auto;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-widget-media-carousel .elementor-carousel-image-overlay{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-8 .elementor-element.elementor-element-323a0e2.elementor-skin-slideshow .elementor-main-swiper:not(.elementor-thumbnails-swiper){margin-bottom:10px;}.elementor-8 .elementor-element.elementor-element-323a0e2{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;}.elementor-8 .elementor-element.elementor-element-323a0e2.elementor-element{--align-self:center;}.elementor-8 .elementor-element.elementor-element-323a0e2 .elementor-main-swiper{height:70vh;}.elementor-8 .elementor-element.elementor-element-323a0e2 .elementor-swiper-button{font-size:20px;}.elementor-8 .elementor-element.elementor-element-a827b53{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--overlay-opacity:0.5;--padding-top:-10px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-8 .elementor-element.elementor-element-a827b53::before, .elementor-8 .elementor-element.elementor-element-a827b53 > .elementor-background-video-container::before, .elementor-8 .elementor-element.elementor-element-a827b53 > .e-con-inner > .elementor-background-video-container::before, .elementor-8 .elementor-element.elementor-element-a827b53 > .elementor-background-slideshow::before, .elementor-8 .elementor-element.elementor-element-a827b53 > .e-con-inner > .elementor-background-slideshow::before, .elementor-8 .elementor-element.elementor-element-a827b53 > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{--background-overlay:'';}.elementor-8 .elementor-element.elementor-element-a827b53.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-8 .elementor-element.elementor-element-7eec83b{--display:flex;}.elementor-widget-loop-grid .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-loop-grid .elementor-pagination{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-loop-grid .e-load-more-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-8 .elementor-element.elementor-element-3e9a333{--grid-columns:3;}.elementor-8 .elementor-element.elementor-element-3e9a333 .elementor-pagination{text-align:center;}body:not(.rtl) .elementor-8 .elementor-element.elementor-element-3e9a333 .elementor-pagination .page-numbers:not(:first-child){margin-left:calc( 10px/2 );}body:not(.rtl) .elementor-8 .elementor-element.elementor-element-3e9a333 .elementor-pagination .page-numbers:not(:last-child){margin-right:calc( 10px/2 );}body.rtl .elementor-8 .elementor-element.elementor-element-3e9a333 .elementor-pagination .page-numbers:not(:first-child){margin-right:calc( 10px/2 );}body.rtl .elementor-8 .elementor-element.elementor-element-3e9a333 .elementor-pagination .page-numbers:not(:last-child){margin-left:calc( 10px/2 );}.elementor-8 .elementor-element.elementor-element-c630b4d{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-8 .elementor-element.elementor-element-6731568{margin:-9px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}.elementor-8 .elementor-element.elementor-element-6731568.elementor-element{--align-self:stretch;}@media(min-width:768px){.elementor-8 .elementor-element.elementor-element-809c217{--content-width:100vw;}.elementor-8 .elementor-element.elementor-element-a827b53{--width:70.921%;}}@media(max-width:1024px){.elementor-8 .elementor-element.elementor-element-323a0e2.elementor-skin-slideshow .elementor-main-swiper:not(.elementor-thumbnails-swiper){margin-bottom:10px;}.elementor-8 .elementor-element.elementor-element-323a0e2 .elementor-main-swiper{height:40vh;}.elementor-8 .elementor-element.elementor-element-3e9a333{--grid-columns:2;}}@media(max-width:767px){.elementor-8 .elementor-element.elementor-element-323a0e2.elementor-skin-slideshow .elementor-main-swiper:not(.elementor-thumbnails-swiper){margin-bottom:10px;}.elementor-8 .elementor-element.elementor-element-323a0e2 .elementor-main-swiper{height:30vh;}.elementor-8 .elementor-element.elementor-element-3e9a333{--grid-columns:1;}}/* Start custom CSS for html, class: .elementor-element-e2d1f2d */@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

/* --- Color Palette & Font Variables --- */
:root {
  --bg-ivory: #fcf9f4;
  --navy-frame: #1e2a5e;
  --gold-frame: #d4a359;
  --gold-text: #c8963e;
  --text-dark: #2c2c2c;
  --font-serif: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', sans-serif;
  --font-script: 'Great Vibes', 'Alex Brush', 'Playfair Display', cursive;
}

/* --- 1. Breaking News Ticker Styles --- */
.breaking-news-bar {
  /* Safer full-width method to prevent horizontal scroll gaps */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: linear-gradient(to right, #ffe47a, #f5d150);
  color: #1a1b2f;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 2px solid #c8963e;
  font-family: var(--font-sans);
  height: 42px;
  box-sizing: border-box;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.news-badge {
  background-color: #d93838;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0 18px;
  height: 100%;
  display: flex;
  align-items: center;
  letter-spacing: 1px;
  z-index: 2;
  white-space: nowrap;
  text-transform: uppercase;
  box-shadow: 3px 0 6px rgba(0, 0, 0, 0.15);
}

.news-ticker-container {
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
  position: relative;
}

.news-ticker-track {
  display: inline-block;
  padding-left: 100%;
  animation: ticker 25s linear infinite;
  font-size: 0.9rem;
  font-weight: 700;
}

.news-ticker-track span {
  margin-right: 60px;
  color: #1a1b2f !important;
}

@keyframes ticker {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* --- 2. Section Container (Fixing the gaps) --- */
.parish-team-section {
  /* Safer full-width method */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  
  background-color: var(--bg-ivory);
  background-image: url("https://new.bendurchurch.com/wp-content/uploads/2026/07/Gemini_Generated_Image_tr9m0itr9m0itr9m.png");
  /* Added specific background rules to prevent visual gaps */
 background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll; /* Use 'fixed' for parallax if desired */
  background-color: #f7f3ed; /* Fallback cream color */
  
  padding: 50px 3%;
  font-family: var(--font-sans);
  text-align: center;
  box-sizing: border-box;
}

/* --- Headers & Dividers --- */
.team-header {
  margin-bottom: 30px;
}

.parishad-header {
  margin-top: 50px;
}

.script-title {
  font-family: var(--font-script);
  font-size: 3.5rem;
  color: var(--gold-text);
  margin: 0;
  font-weight: 400;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: -10px 0 15px 0;
}

.section-divider .line {
  width: 80px;
  height: 1px;
  background-color: var(--gold-text);
}

.section-divider .cross {
  color: var(--gold-text);
  font-size: 1.2rem;
}

.sub-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: 3px;
  color: var(--gold-text);
  margin: 0;
  font-weight: 700;
}

/* --- Card & Grid Layouts --- */
.spiritual-leaders-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 20px;
  width: 100%;
  /* Added a max-width to keep cards from spreading too far on desktop */
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.assistant-priests-group {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  flex-grow: 1;
  max-width: 900px;
}

.parishad-leaders-grid {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  margin-top: 20px;
  width: 100%;
  /* Added max-width here as well to match */
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 200px;
}

.vicar-card {
  max-width: 250px;
}

/* --- Avatar Formatting --- */
.avatar-wrapper {
  border-radius: 50%;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.avatar-wrapper:hover {
  transform: translateY(-5px);
}

.navy-frame img {
  border: 3px solid var(--navy-frame) !important;
}

.gold-frame img {
  border: 3px solid var(--gold-frame) !important;
}

.avatar-wrapper img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background-color: #ffffff;
  padding: 3px; 
}

.large-avatar img {
  width: 210px;
  height: 210px;
}

/* --- Typography --- */
.member-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-dark);
  margin: 0 0 5px 0;
  font-weight: 700;
}

.vicar-card .member-name {
  font-size: 1.2rem;
}

.member-role {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--gold-text);
  font-style: italic;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 900px) {
  .spiritual-leaders-grid,
  .assistant-priests-group,
  .parishad-leaders-grid {
    flex-direction: column;
    gap: 35px;
  }
  
  .script-title {
    font-size: 2.8rem;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-4d0c3cd *//* --- Variables --- */
:root {
  --maroon-title: #731728; /* Matches the dark red in the design */
  --text-dark: #1a1b2f;
  --font-sans: 'Montserrat', sans-serif;
  --font-script: 'Great Vibes', 'Alex Brush', cursive;
}

/* --- Section Container --- */
.associations-section {
  width: 100vw !important;
  background-image: url('https://new.bendurchurch.com/wp-content/uploads/2026/07/Gemini_Generated_Image_vwuj5uvwuj5uvwuj.png'); 
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll; /* Use 'fixed' for parallax if desired */
  background-color: #f7f3ed; /* Fallback cream color */
  max-width: 100vw !important;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  padding: 60px 5%;
  font-family: var(--font-sans);
  text-align: center;
  box-sizing: border-box;
  /* If you have a background watermark image like the mockup, add it here in Elementor instead */
  background-color: #ffffff; 
}

/* --- Header & Typography --- */
.associations-header {
  margin-bottom: 40px;
}

.associations-script-title {
  font-family: var(--font-script);
  font-size: 3.8rem;
  color: var(--maroon-title);
  margin: 0 0 10px 0;
  font-weight: 400;
}

.associations-desc {
  font-size: 1rem;
  color: #4a4a4a;
  line-height: 1.6;
  margin: 0;
  font-weight: 500;
}

/* --- Grid Layout --- */
.associations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

/* --- Card Styles --- */
.assoc-card {
  border-radius: 15px;
  padding: 30px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 180px;
}

.assoc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Pastel Gradient Backgrounds matching the mockup */
.card-peach { background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%); }
.card-blue { background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%); }
.card-cyan { background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%); }
.card-green { background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%); }
.card-light-blue { background: linear-gradient(135deg, #e1f5fe 0%, #b3e5fc 100%); }
.card-purple { background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%); }
.card-light-peach { background: linear-gradient(135deg, #fbe9e7 0%, #ffccbc 100%); }
.card-light-cyan { background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%); }

/* --- Logos & Text --- */
.assoc-logo {
  background-color: #ffffff;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  padding: 5px;
}

.assoc-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Ensures irregular logos don't stretch */
  border-radius: 50%;
}

.assoc-title {
  font-size: 0.85rem;
  color: var(--text-dark);
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
  text-transform: uppercase;
}

/* --- Responsive Layout --- */
@media (max-width: 992px) {
  .associations-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
  }
}

@media (max-width: 576px) {
  .associations-grid {
    grid-template-columns: 1fr; /* 1 column on mobile */
  }
  .associations-script-title {
    font-size: 3rem;
  }
  .associations-desc {
    font-size: 0.9rem;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-6731568 *//* Main Section Container - 100% Full Width with Ivory Background */
.bendur-obituary-section {
  width: 100%;
  background-color: #FFFFF0; /* Ivory background */
  padding: 50px 20px;
  font-family: "Georgia", serif;
  color: #1a2a3a;
  text-align: center;
  box-sizing: border-box;
}

/* Inner Container to keep content cleanly centered */
.obituary-inner-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Header Styling - REDUCED BOTTOM MARGIN */
.obituary-header {
  margin-bottom: 10px !important;
}
.church-subhead {
  display: block;
  font-family: sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #1a365d;
}
.witness-tag {
  display: inline-block;
  font-family: sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  color: #a17f4a;
  margin: 5px 0 15px;
  text-transform: uppercase;
}
.title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}
.section-title {
  font-size: 38px;
  font-weight: 700;
  color: #14284b;
  margin: 0;
  letter-spacing: 3px;
}
.cross-icon {
  color: #cda052;
  font-size: 24px;
}
.eternal-prayer {
  font-size: 16px;
  color: #5a6577;
  line-height: 1.6;
  margin: 5px 0 0 !important;
}

/* Responsive Cards Grid - REMOVED TOP MARGIN */
.obituary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 10px !important;
}

/* Simplified Card Container */
.obituary-card {
  background: #fffdf9;
  border: 1.5px solid #e4d3b5;
  border-radius: 18px;
  padding: 25px 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.obituary-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

/* Ribbon Badge at Top of Card */
.ribbon-badge {
  background-color: #12284c;
  color: #f7eedd;
  font-family: sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 6px 18px;
  border-radius: 20px;
  border: 1px solid #cda052;
  margin-bottom: 20px;
}

/* Featured Image Wrapper */
.image-wrapper {
  width: 100%;
  max-width: 220px;
  margin-bottom: 15px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.image-wrapper a {
  display: block;
}
.deceased-card-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}
.image-wrapper:hover .deceased-card-image {
  transform: scale(1.03);
}

/* Deceased Name Heading Below Image */
.deceased-name {
  font-size: 18px;
  font-weight: 700;
  margin: 10px 0 5px;
  letter-spacing: 0.5px;
}
.deceased-name a {
  color: #14284b;
  text-decoration: none;
  transition: color 0.2s ease;
}
.deceased-name a:hover {
  color: #cda052;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .section-title {
    font-size: 28px;
  }
  .obituary-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }
}/* End custom CSS */