/* 360 Campaign News Slider
   Same design as the main news slider, scoped to the Capital Campaign page.
   Styled to match the Divi Plus blog slider used elsewhere on the site:
     - slide width: fluid, fills the row exactly like the blog slider,
       so both sliders show identically sized slides at every screen width
     - thumbnails: 16:9, height follows the slide width (no fixed height)
     - card titles: 20px / 24px, weight 600, black
     - arrows: Divi ETmodules chevrons, 45px, black, sitting outside the track
   Brand colors: teal #00b4cb | green #6cb33f | gold #ffcb05 */

.c360c-slider{width:100%;margin:0;position:relative;box-sizing:border-box;}
.c360c-slider *{box-sizing:border-box;}

/* ---- Section heading: matches the "Our Stories" heading above the blog slider ---- */
.c360c-heading{text-align:center;font-size:26px;font-weight:400;line-height:1.2;color:#00b4cb;margin:0;padding:0 0 10px;}

/* ---- Track: 3 slides with a 15px gutter, matching the blog slider ---- */
.c360c-viewport{overflow:hidden;margin-top:14px;}
.c360c-track{display:flex;transition:transform .45s ease;margin:0 -7.5px;}
.c360c-card{flex:0 0 33.3333%;padding:0 7.5px;}
.c360c-card a{display:block;text-decoration:none;background:none;border:0;border-radius:0;box-shadow:none;height:100%;}

/* ---- Thumbnail: height derived from the slide width, so it scales instead of
       being pinned to a fixed pixel height ---- */
.c360c-thumb{position:relative;width:100%;padding-top:56.25%;background:#00b4cb;overflow:hidden;border-radius:0;}
@supports (aspect-ratio:1/1){
	.c360c-thumb{padding-top:0;aspect-ratio:16/9;}
}
.c360c-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:0;}
.c360c-fallback{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#00b4cb 0%,#3cb489 55%,#6cb33f 100%);color:#fff;font-size:20px;font-weight:700;text-align:center;padding:16px;line-height:1.3;}
.c360c-fallback:after{content:"";position:absolute;left:0;right:0;bottom:0;height:6px;background:#ffcb05;}

/* ---- Card text: matches .dipl_blog_slider_content_wrapper / _post_title ---- */
.c360c-body{padding:10px 5px;}
.c360c-outlet{display:block;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#007c8f;margin-bottom:6px;}
.c360c-title{font-size:20px;line-height:24px;font-weight:600;color:#000;margin:0 0 5px;}
.c360c-date{font-size:14px;line-height:24px;color:#666;}

/* ---- Arrows: same ETmodules glyphs, size and placement as the blog slider ---- */
.c360c-arrow{position:absolute;top:50%;width:65px;height:55px;padding:0;border:0;background:none;border-radius:0;cursor:pointer;font-size:0;z-index:2;}
.c360c-arrow:after{font-family:'ETmodules';font-size:45px;line-height:55px;color:#000;display:block;}
.c360c-prev{left:-75px;transform:translateY(-50%);}
.c360c-next{right:-75px;transform:translateY(-50%);}
.c360c-prev:after{content:"4";}
.c360c-next:after{content:"5";}
.c360c-arrow:hover:after{opacity:.6;}

/* ---- Dots ---- */
.c360c-dots{text-align:center;margin-top:18px;}
.c360c-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:#c9d1dc;margin:0 4px;border:none;padding:0;cursor:pointer;}
.c360c-dot.is-active{background:#00b4cb;}

/* ---- Responsive: once the row runs out of margin, tuck the arrows inside ---- */
@media (max-width:980px){
	.c360c-slider{padding:0 48px;}
	.c360c-prev{left:0;}
	.c360c-next{right:0;}
}
@media (max-width:860px){.c360c-card{flex-basis:50%;}}
@media (max-width:560px){.c360c-card{flex-basis:100%;}.c360c-slider{padding:0 40px;}}
