/* ========================================
   MODAL — NO INNER BODY SCROLL
   ======================================== */

#modalComments .modal-body {
    overflow-y: visible !important;
    max-height: none !important;
    -webkit-box-flex: unset !important;
        -ms-flex: unset !important;
            flex: unset !important;
}

/* ========================================
   DIAGONAL SECTION TRANSITIONS
   ======================================== */

/* ========================================
   GET INVOLVED — ministry rows
   ======================================== */

.dc-ministry__media {
    overflow: hidden;
    border-radius: var(--dc-radius, 1rem);
    box-shadow: var(--dc-shadow);
}

.dc-ministry__img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 28rem;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: 50% 30%;
    -webkit-filter: saturate(0.92) brightness(0.94);
            filter: saturate(0.92) brightness(0.94);
}

.dc-ministry--kids .dc-eyebrow {
    color: var(--dc-kids-blue);
}

.dc-ministry--kids .dc-divider {
    background: var(--dc-kids-blue);
}

.dc-more__kicker {
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    font-weight: 500;
    line-height: 1.4;
    max-width: 34rem;
    margin-bottom: 1.5rem;
    color: var(--dc-text);
}

.dc-more__body {
    max-width: 38rem;
}

.dc-more__intro {
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    font-weight: 500;
    line-height: 1.65;
    color: var(--dc-text);
}

#more .dc-divider {
    margin: 1rem 0 1.35rem;
}

/* ========================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ======================================== */

:root {
    /* Bootstrap Blue Color - Primary Blue */
    --bs-blue: #36a9e1;
    --bs-blue-rgb: 54, 169, 225;
    
    /* Blue Color Variations */
    --blue-50: #e6f0f7;
    --blue-100: #cce0ef;
    --blue-200: #99c2df;
    --blue-300: #66a3cf;
    --blue-400: #3385bf;
    --blue-500: #07487c;  /* Primary blue */
    --blue-600: #063d69;
    --blue-700: #053256;
    --blue-800: #042743;
    --blue-900: #031c30;
    
    /* Opacity variations */
    --blue-opacity-10: rgba(7, 72, 124, 0.1);
    --blue-opacity-20: rgba(7, 72, 124, 0.2);
    --blue-opacity-30: rgba(7, 72, 124, 0.3);
    --blue-opacity-50: rgba(7, 72, 124, 0.5);
    --blue-opacity-75: rgba(7, 72, 124, 0.75);
    --blue-opacity-85: rgba(7, 72, 124, 0.85);
}

/* ========================================
   BLUE COLOR UTILITY CLASSES
   ======================================== */

/* Text Colors */
.text-blue {
    color: var(--bs-blue) !important;
}

.text-blue-50 { color: var(--blue-50) !important; }
.text-blue-100 { color: var(--blue-100) !important; }
.text-blue-200 { color: var(--blue-200) !important; }
.text-blue-300 { color: var(--blue-300) !important; }
.text-blue-400 { color: var(--blue-400) !important; }
.text-blue-500 { color: var(--blue-500) !important; }
.text-blue-600 { color: var(--blue-600) !important; }
.text-blue-700 { color: var(--blue-700) !important; }
.text-blue-800 { color: var(--blue-800) !important; }
.text-blue-900 { color: var(--blue-900) !important; }

/* Background Colors */
.bg-blue {
    background-color: var(--bs-blue) !important;
}

.bg-blue-50 { background-color: var(--blue-50) !important; }
.bg-blue-100 { background-color: var(--blue-100) !important; }
.bg-blue-200 { background-color: var(--blue-200) !important; }
.bg-blue-300 { background-color: var(--blue-300) !important; }
.bg-blue-400 { background-color: var(--blue-400) !important; }
.bg-blue-500 { background-color: var(--blue-500) !important; }
.bg-blue-600 { background-color: var(--blue-600) !important; }
.bg-blue-700 { background-color: var(--blue-700) !important; }
.bg-blue-800 { background-color: var(--blue-800) !important; }
.bg-blue-900 { background-color: var(--blue-900) !important; }

/* Background with Opacity */
.bg-blue-opacity-10 { background-color: var(--blue-opacity-10) !important; }
.bg-blue-opacity-20 { background-color: var(--blue-opacity-20) !important; }
.bg-blue-opacity-30 { background-color: var(--blue-opacity-30) !important; }
.bg-blue-opacity-50 { background-color: var(--blue-opacity-50) !important; }
.bg-blue-opacity-75 { background-color: var(--blue-opacity-75) !important; }
.bg-blue-opacity-85 { background-color: var(--blue-opacity-85) !important; }

/* Border Colors */
.border-blue {
    border-color: var(--bs-blue) !important;
}

.border-blue-500 { border-color: var(--blue-500) !important; }
.border-blue-600 { border-color: var(--blue-600) !important; }
.border-blue-700 { border-color: var(--blue-700) !important; }

/* ========================================
   AVENIR FONT - SELF-HOSTED
   ======================================== */

@font-face {
    font-family: 'Avenir';
    src: url('/fonts/avenir-light.woff2') format('woff2'),
         url('/wp-content/fonts/avenir-light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir';
    src: url('/fonts/avenir-book.woff2') format('woff2'),
         url('/fonts/avenir-book.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir';
    src: url('/fonts/avenir-medium.woff2') format('woff2'),
         url('/fonts/avenir-medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir';
    src: url('/fonts/avenir-heavy.woff2') format('woff2'),
         url('/fonts/avenir-heavy.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir';
    src: url('/fonts/avenir-black.woff2') format('woff2'),
         url('/fonts/avenir-black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ========================================
   APPLY FONT TO ELEMENTS
   ======================================== */

/* Base body text - Medium */
body {
    font-family: 'Avenir', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 500;
    line-height: 1.6;
}

/* Headings - Black */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Avenir', sans-serif;
    font-weight: 900;
}

/* Light accents */
.subtitle, .tagline, .light-text {
    font-family: 'Avenir', sans-serif;
    font-weight: 300;
}

/* Navigation - Medium */
nav, .navigation {
    font-family: 'Avenir', sans-serif;
    font-weight: 500;
}

/* CTA Buttons - Black */
.btn, button, .cta {
    font-family: 'Avenir', sans-serif;
    font-weight: 900;
}

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

html, body {
	width: 100%;
	height: 100%;
}

body {
	overflow-x: hidden;
}

.pointer {
  cursor: pointer;
}

textarea {
	width: 100%;
	height: 100%;
	border: none;
	outline: none;
	resize: none;
	font-family: 'Open Sans', sans-serif;
	font-size: 1.2rem;
	color: #333;
	padding: 0.5rem !important;
}

.btn-action {
	width: 40px;
	height: 40px;
	padding: 0rem !important;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	margin-bottom: 0 !important;
}

.btn-action-auto {
	width: auto;
	height: 40px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	margin-bottom: 0 !important;
}

/* Remove navigation padding and ensure dropdown aligns properly */
.dropdown-hover {
    position: relative; /* Ensure the dropdown is positioned relative to the trigger */
}

/* Adjustment for the dropdown-menu */
.dropdown-menu-animation {
    position: absolute; /* Allow precise control over positioning */
    top: 100%; /* Set directly below the nav item */
    left: 0; /* Align left side */
    margin-top: 0; /* Remove margins if any exist */
    display: none; /* Hide by default */
    opacity: 0; /* Invisible by default */
    -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
    transition: opacity 0.3s ease, visibility 0.3s ease; /* Fade-in effect */
    border-radius: 8px; /* Rounded corners */
    z-index: 1000; /* Stay above other content */
    padding: 0.5rem 1rem; /* Add padding for a larger hover area */
    background-color: white; /* Ensure it's visible against background */
}

/* Ensure it shows up directly on hover */
.dropdown-hover:hover > .dropdown-menu-animation,
.dropdown-menu-animation.show {
  display: block;
  opacity: 1; /* Make visible */
  z-index: 1040;
}

/* Remove potential issues with hover misfires */
.navbar-nav-hover > .nav-item > .nav-link {
    padding-bottom: 5px; /* Space for hover-effect items */
    position: relative; /* Ensure underline animations work correctly */
	z-index: 1040;
}

.dropdown-menu {
    visibility: hidden; /* Remain invisible unless hovered */
	z-index: 1040;
}

.dropdown-menu.show,
.dropdown-hover:hover > .dropdown-menu {
    visibility: visible; /* Visible when hovered */
    top: 100%; /* Align directly below the triggering element */
	z-index: 1040;
}
.cursor-pointer {
	cursor: pointer;
}

.field {
    position:absolute;
    bottom: 18%;
    z-index: 10;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-ms-flex-pack: distribute;
	    justify-content: space-around;
	width: 300px;
}

@media (max-width: 1400px) {
    .field {
        bottom: 20%;
    }
}

@media (max-width: 1200px) {
    .field {
        bottom: 22%;
    }
}

@media (max-width: 991px) {
    .field {
        display: none !important;
    }
}

.scroll {
	width: 60px;
	height: 60px;
	border: 2px solid white;
	border-radius: 50%;
	position: relative;
	z-index: 1;
	animation: down 1.5s infinite;
	-webkit-animation: down 1.5s infinite;
	&::before {
		content: '';
		position: absolute;
		top: 15px;
		left: 18px;
		width: 18px;
		height: 18px;
		border-left: 2px solid white;
  	border-bottom: 2px solid white;
		-webkit-transform: rotate(-45deg);
		        transform: rotate(-45deg);
	}
}

@keyframes down {
	0% {
		-webkit-transform: translate(0);
		        transform: translate(0);
	}
	20% {
		-webkit-transform: translateY(15px);
		        transform: translateY(15px);
	}
	40% {
		-webkit-transform: translate(0);
		        transform: translate(0);
	}
}

@-webkit-keyframes down {
	0% {
		-webkit-transform: translate(0);
		        transform: translate(0);
	}
	20% {
		-webkit-transform: translateY(15px);
		        transform: translateY(15px);
	}
	40% {
		-webkit-transform: translate(0);
		        transform: translate(0);
	}
}

#navbar-container.position-fixed {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 1); /* Lighter filter */
    height: 4.5rem;
    -webkit-transition: background-color 0.3s ease-in-out;
    transition: background-color 0.3s ease-in-out; /* Fade transition */
    z-index: 1030; /* Below modals but above main content */
}


#navbar-container.position-fixed .navbar {
  	height: 100%;
  	display: -webkit-box;
  	display: -ms-flexbox;
  	display: flex;
  	-webkit-box-align: center;
  	    -ms-flex-align: center;
  	        align-items: center;
}

#navbar-container.position-fixed .navbar .navbar-brand img {
  	height: 40px;
  	width: auto;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
 .offcanvas {
	-webkit-transition: none !important;
	transition: none !important; /* Remove transition effect */
	-webkit-transition: -webkit-transform 0.3s ease-in-out !important;
	transition: -webkit-transform 0.3s ease-in-out !important;
	transition: transform 0.3s ease-in-out !important;
	transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out !important; /* Slide effect only */
}

.offcanvas .offcanvas-body {
	padding: 0.5rem 3rem 3rem 3rem; /* Adjusted padding */
}

#offcanvas-menu .nav .nav-item .nav-link {
	font-size: 1.9rem; /* Bigger font size */
	font-weight: 900;
	line-height: 1.5rem;
	color: #f38c38;
	padding-left: 0;
	padding-right: 0;
	letter-spacing: -1px;
  margin-top: 0.25rem;
}
#subnav {
	position: -webkit-sticky;
	position: sticky;
	top: var(--dc-nav-h, 4.5rem);
	padding: 0.5rem 1rem;
	z-index: 1025;
	background-color: var(--dc-grey, #f3f3f1);
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	-webkit-box-shadow: none;
	        box-shadow: none;
	-webkit-transition: background-color 280ms ease, border-color 280ms ease, -webkit-box-shadow 280ms ease;
	        transition: background-color 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
}

#subnav.dc-subnav--stuck {
	background-color: rgba(243, 243, 241, 0.96);
	-webkit-backdrop-filter: blur(12px);
	        backdrop-filter: blur(12px);
	border-bottom-color: rgba(0, 0, 0, 0.08);
	-webkit-box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
	        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

/* Modal z-index - ensure modals cover navigation */
.modal-backdrop {
	z-index: 1055 !important;
}

.modal {
	z-index: 1060 !important;
}

#subnav.dc-subnav--stuck .nav-item .nav-link,
#subnav.position-fixed .nav-item .nav-link,
#subnav .nav-item .nav-link {
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	color: #0b0b0b;
	padding: 0.5rem 1rem;
	position: relative;
	-webkit-transition: color 0.25s ease, opacity 0.25s ease;
	transition: color 0.25s ease, opacity 0.25s ease;
	opacity: 0.5;
}

#subnav .nav-item .nav-link:hover,
#subnav.dc-subnav--stuck .nav-item .nav-link:hover {
	color: #0b0b0b;
	opacity: 1;
}

#subnav .nav-item .nav-link.active,
#subnav.dc-subnav--stuck .nav-item .nav-link.active {
	color: var(--dc-orange) !important;
	opacity: 1;
}

#subnav .nav-item .nav-link.active::after,
#subnav.dc-subnav--stuck .nav-item .nav-link.active::after {
	content: '';
	position: absolute;
	bottom: 0.15rem;
	left: 1rem;
	right: 1rem;
	height: 2px;
	background: var(--dc-orange);
	border-radius: 1px;
}

.nav-link {
    position: relative;
    display: inline-block;
    padding-bottom: 5px; /* Space for the underline */
    text-decoration: none;
}

#offcanvas-menu .nav .nav-item .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px; /* Thickness of the underline */
    background-color: currentColor; /* Match the text color */
    -webkit-transform: scaleX(0);
            transform: scaleX(0);
    -webkit-transform-origin: bottom right;
            transform-origin: bottom right;
    -webkit-transition: -webkit-transform 0.3s ease-out;
    transition: -webkit-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
}

#offcanvas-menu .nav .nav-item .nav-link:hover::after,
#offcanvas-menu .nav .nav-item .nav-link.active::after {
    -webkit-transform: scaleX(1);
            transform: scaleX(1);
    -webkit-transform-origin: bottom left;
            transform-origin: bottom left;
}

 /* Animation keyframes including fade in */
@-webkit-keyframes slideInRightFade {
	from {
		-webkit-transform: translateX(100%);
				transform: translateX(100%);
		opacity: 0;
	}
	to {
		-webkit-transform: translateX(0);
				transform: translateX(0);
		opacity: 1;
	}
}
@keyframes slideInRightFade {
	from {
		-webkit-transform: translateX(100%);
				transform: translateX(100%);
		opacity: 0;
	}
	to {
		-webkit-transform: translateX(0);
				transform: translateX(0);
		opacity: 1;
	}
}

/* Initially hide the element */
.slide-target {
	opacity: 0;
}

/* Animation class with delay */
.slide-in {
	-webkit-animation: slideInRightFade 0.4s 0.1s forwards;
			animation: slideInRightFade 0.4s 0.1s forwards; /* 0.2s delay */
}

#offcanvas-social {
	padding-bottom: 1rem;
}

#offcanvas-social.slide-in {
            -webkit-animation: slideInRightFade 0.6s forwards, fadeInOpacity 2s forwards;
                    animation: slideInRightFade 0.6s forwards, fadeInOpacity 2s forwards;
            /* Slide animation with delay and fade-in opacity */
            -webkit-animation-delay: 0.15s;
                    animation-delay: 0.15s; /* Delay before starting animations */
        }

        @-webkit-keyframes fadeInOpacity {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        @keyframes fadeInOpacity {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

#offcanvas-social ul li.nav-item a.nav-link {
	color: #525252;
	padding-right: 0.75rem;
	padding-left: 0.75rem;
}

#offcanvas-social ul li.nav-item a.nav-link:hover {
	color: #f38c38;
}

.swiper-button-next::after, .swiper-button-prev::after {
	color: #f38c38;
}
.card-profile-rounded  {
	height: 56px;
	width: 56px;
}
.swiper-pagination-bullet.swiper-pagination-bullet-active {
	background: #f38c38;
}
.navbar ul li.nav-item a.nav-link {
	color: white;
	padding-left: 0.75rem;
	padding-right: 0.75rem;
}

.navbar ul li.nav-item a.nav-link.active {
	color: #f18924 !important;
}

.navbar ul li.nav-item a.nav-link.live-now-link,
.navbar ul li.nav-item a.nav-link.live-now-link.active {
	color: white !important;
}
img.arrow {
	color: white
}
.overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.9)), color-stop(30%, rgba(0, 0, 0, 0.3)), color-stop(70%, rgba(0, 0, 0, 0.3)), to(rgba(0, 0, 0, 0.6)));
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 30%, rgba(0, 0, 0, 0.3) 70%, rgba(0, 0, 0, 0.6) 100%);
	z-index: 1;
}

/* Home video hero: mid ~50% — borderline large-text AA without crushing the video */
.dc-home-hero .overlay {
	background:
		linear-gradient(to right, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.1) 45%, transparent 70%),
		linear-gradient(to bottom, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.5) 35%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0.75) 100%);
}

/* Home Header Text Readability */
.home-header-title {
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.home-header-text {
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

/* Hero section text — override inline styles across all pages */
.hero-title {
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.28) !important;
}

.hero-subtitle {
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22) !important;
}

.stat-number {
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28) !important;
}

footer {
	padding: 5rem 1rem;
	font-size: 0.875rem;
}

footer img {
	max-width: 100px;
}

footer .nav-link {
	color: #525252;
	padding: 0.25rem 0;
}

footer #social ul li.nav-item a.nav-link {
  color: #525252;
  padding: 1rem; /* Uniform padding, also affects hit area */
  width: 3rem; /* Fixed width to maintain circle shape */
  text-align: center;
  font-size: 1.5rem;
  position: relative;
  display: inline-block; /* To accommodate pseudo-element positioning */
  -webkit-transition: color 0.2s ease-in-out;
  transition: color 0.2s ease-in-out; /* Smooth color transition */
  text-align: center; /* Ensures icon and text are centered */
}

footer #social ul li.nav-item a.nav-link::before {
  content: "";
  position: absolute;
  top: 54%;
  left: 61%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%); /* Center the element */
  width: 0;
  height: 0;
  background-color: rgba(128, 128, 128, 0); /* Start fully transparent */
  border-radius: 50%; /* Make sure the shape is always circular */
  -webkit-transition: width 0.3s ease-in-out, height 0.3s ease-in-out, background-color 0.3s ease-in-out;
  transition: width 0.3s ease-in-out, height 0.3s ease-in-out, background-color 0.3s ease-in-out; /* Transition size and color */
  z-index: -1; /* Keep behind the icon */
}

footer #social ul li.nav-item a.nav-link:hover {
  color: #f68a22; /* Change color on hover */
}

footer #social ul li.nav-item a.nav-link:hover::before {
  width: 2.5rem; /* Define a specific diameter for the circle */
  height: 2.5rem; /* Same size to ensure it remains circular */
  background-color: rgba(128, 128, 128, 0.2); /* Transition to a semi-transparent grey */
}

footer #social ul li.nav-item a.nav-link i {
  position: relative; /* Position the icon above the circle */
  z-index: 1; /* Ensures it stays above the pseudo-element */
  vertical-align: middle; /* Center the icon vertically */
}



header .page-header.subheader {
	position: relative;
	overflow: hidden;
	background: #000;
	padding-top: 8rem;
	min-height: 400px;
	z-index: 1;
}

#hamburger-container {
	  z-index: 1050;
}
#hamburger-container button.hamburger {
  border: none;
  background: none;
  outline: none;
  cursor: pointer;
  width: 32px;
  margin: 0 1rem;
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}
#hamburger-container button.hamburger > span {
  width: 100%;
  height: 2px;
  display: block;
  margin: 0.5rem 0;
  background-color: #fff;
}

#hamburger-container .h-3 > span {
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
#hamburger-container .h-3 > span:nth-child(1) {
  width: 50%;
}
#hamburger-container.animate .h-3 > span:nth-child(1) {
  width: 100%;
  -webkit-transform: translateY(9px) rotate(45deg);
          transform: translateY(9px) rotate(45deg);
		  background-color: #f38c38;
}
#hamburger-container.animate .h-3 > span:nth-child(2) {
  opacity: 0;
  -webkit-transform: translateX(20px);
          transform: translateX(20px);
}
#hamburger-container.animate .h-3 > span:nth-child(3) {
  -webkit-transform: translateY(-9px) rotate(-45deg);
          transform: translateY(-9px) rotate(-45deg);
		  background-color: #f38c38;
}

/* Orange hamburger for agenda page */
#hamburger-container.agenda-page button.hamburger > span {
  background-color: #f38c38;
}

#backToTop {
  -webkit-box-shadow: 0 2px 10px var(--blue-opacity-20);
          box-shadow: 0 2px 10px var(--blue-opacity-20);
          width: 56px; 
          height: 56px; 
          -webkit-transition: all 0.3s ease; 
          transition: all 0.3s ease; 
          z-index: 1045;
          background-color: #f38c38;
          border-radius: 50%;
          display: none;
          border: 2px solid transparent;
          outline: none;
}

#backToTop:hover {
  background-color: #f38c38 !important;
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
  -webkit-box-shadow: 0 4px 15px var(--blue-opacity-30);
          box-shadow: 0 4px 15px var(--blue-opacity-30);
  border: 3px solid white;
}

#backToTop:active,
#backToTop:focus {
  -webkit-transform: translateY(-1px);
          transform: translateY(-1px);
  border: 3px solid white;
  outline: none;
}

footer img.footer-logo {
	height: 200px;
	width: auto;
}

/* Desktop sidebar positioning */
@media (min-width: 992px) {
    #verticalNav {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        -webkit-transform: none !important;
                transform: none !important;
        visibility: visible !important;
    }
    
    #content.nav-margin {
        margin-left: 16.5rem; /* Adjust based on sidebar width */
    }
}


/* Navigation link styling */
#dashboard .nav-link {
    border-radius: 0.5rem;
    
	padding: 0.5rem 0.875rem !important;
	margin-top: 0.2rem;
	width: 100%;
}

#dashboard .nav-link:hover {
    background-color: #e9ecef !important;
    
    /* -webkit-transform: translateX(4px);
            transform: translateX(4px); */
}

#dashboard .nav-link.active {
    background-color: #f68a22 !important;
    color: white !important;
}

/* Mobile hamburger styling */
#dashboard .navbar-toggler {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    -webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#dashboard .navbar-toggler:focus {
    -webkit-box-shadow: 0 0 0 0.25rem var(--blue-opacity-20);
            box-shadow: 0 0 0 0.25rem var(--blue-opacity-20);
}

.pulse-icon {
  display: inline-block;
  -webkit-animation: pulse-animation 1.5s infinite ease-in-out;
          animation: pulse-animation 1.5s infinite ease-in-out;
}

@-webkit-keyframes pulse-animation {
  0%, 100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.2);
            transform: scale(1.2);
  }
}

/* ========================================
   MAP ROUTE BUTTON STYLING
   ======================================== */

/* Map route button - initially orange background with white text */
#maps1 .btn-primary {
    background-color: var(--bs-blue) !important;
    border-color: var(--bs-blue) !important;
    color: white !important;
}

/* Map route button hover - white background with orange text and border */
#maps1 .btn-primary:hover {
    background-color: white !important;
    border-color: var(--bs-blue) !important;
    color: var(--bs-blue) !important;
}

#maps1 .btn-primary:focus {
    -webkit-box-shadow: 0 0 0 0.25rem rgba(241, 137, 36, 0.25) !important;
            box-shadow: 0 0 0 0.25rem rgba(241, 137, 36, 0.25) !important;
}

@keyframes pulse-animation {
  0%, 100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.2);
            transform: scale(1.2);
  }
}

.responsive-video {
  position: relative;
  padding-bottom: 56.25%; /* Aspect ratio: 16:9 */
  height: 0;
  overflow: hidden;
  max-width: 100%; /* Ensure the container never exceeds the width */
}

.responsive-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

section.mobile-app-links-section {
   background: #fafafa; color: #222; -webkit-filter: invert(1) hue-rotate(180deg) contrast(1.05) brightness(0.98); filter: invert(1) hue-rotate(180deg) contrast(1.05) brightness(0.98);
}

section.mobile-app-links-section a img {
  min-width:130px;max-width:180px;width:100%;-webkit-filter: invert(1) hue-rotate(180deg) contrast(1.05) brightness(0.98);filter: invert(1) hue-rotate(180deg) contrast(1.05) brightness(0.98);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 50vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding-top: 80px;
    padding-bottom: 40px;
}

.min-vh-70 {
    min-height: 70vh;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: white;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    font-weight: 300;
}

/* Buttons */
.btn-primary-custom {
    background-color: transparent;
    color: white;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 1px;
    border: 2px solid white;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}


/* ========================================
   COMMENT SECTION — MODAL LIST
   ======================================== */

.comments-section {
    max-height: 380px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #e9ecef transparent;
}

.comments-section::-webkit-scrollbar {
    width: 4px;
}
.comments-section::-webkit-scrollbar-track { background: transparent; }
.comments-section::-webkit-scrollbar-thumb {
    background-color: #dee2e6;
    border-radius: 4px;
}

/* Individual comment row */
.comment-item {
    padding: 0.65rem 0;
    border-bottom: 1px solid #f3f4f6;
    -webkit-animation: commentFadeIn 0.25s ease both;
            animation: commentFadeIn 0.25s ease both;
}

.comment-item:last-child {
    border-bottom: none;
}

@-webkit-keyframes commentFadeIn {
    from { opacity: 0; -webkit-transform: translateY(6px); transform: translateY(6px); }
    to   { opacity: 1; -webkit-transform: translateY(0);   transform: translateY(0); }
}
@keyframes commentFadeIn {
    from { opacity: 0; -webkit-transform: translateY(6px); transform: translateY(6px); }
    to   { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}

/* Avatar */
.comment-item-avatar {
    width: 36px;
    height: 36px;
    margin-top: 2px;
}

.comment-item-avatar-img {
    width: 36px;
    height: 36px;
    -o-object-fit: cover;
       object-fit: cover;
    border: 2px solid #e9ecef;
}

.comment-item-avatar-initials {
    width: 36px;
    height: 36px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    font-size: 0.75rem;
    background-color: #f38c38;
    border: 2px solid #e9ecef;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

/* Bubble */
.comment-item-bubble {
    background: #f8f9fa;
    border-radius: 0 12px 12px 12px;
    padding: 0.5rem 0.75rem;
    min-width: 0;
}

.comment-item-name {
    font-size: 0.82rem;
    color: #1a1a1a;
}

.comment-item-time {
    font-size: 0.72rem;
    white-space: nowrap;
    margin-left: 0.5rem;
}

.comment-item-text {
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.45;
    word-break: break-word;
}

/* Empty state */
.comments-empty-icon {
    font-size: 2rem;
    color: #ced4da;
    display: block;
    margin-bottom: 0.5rem;
}

.empty-state-wrapper {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    -webkit-animation: commentFadeIn 0.35s ease both;
            animation: commentFadeIn 0.35s ease both;
}

.empty-state-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 2.75rem 2rem;
    max-width: 460px;
    width: 100%;
    -webkit-box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.empty-state-icon-wrap {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(243, 140, 56, 0.12) 0%, rgba(241, 137, 36, 0.06) 100%);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
}

.empty-state-icon-wrap::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px dashed rgba(243, 140, 56, 0.25);
    -webkit-animation: pulseRing 2.4s ease-in-out infinite;
            animation: pulseRing 2.4s ease-in-out infinite;
}

@-webkit-keyframes pulseRing {
    0%, 100% { -webkit-transform: scale(1); transform: scale(1);   opacity: 0.55; }
    50%      { -webkit-transform: scale(1.08); transform: scale(1.08); opacity: 0.15; }
}

@keyframes pulseRing {
    0%, 100% { -webkit-transform: scale(1); transform: scale(1);   opacity: 0.55; }
    50%      { -webkit-transform: scale(1.08); transform: scale(1.08); opacity: 0.15; }
}

.empty-state-icon {
    font-size: 2.25rem;
    color: #f38c38;
    position: relative;
    z-index: 1;
}

.empty-state-title {
    font-family: 'Avenir', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.empty-state-text {
    font-size: 0.975rem;
    color: #6b7280;
    line-height: 1.55;
    margin-bottom: 1.5rem;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

.empty-state-refresh {
    border-radius: 50px;
    padding: 0.625rem 1.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    background-color: #f38c38;
    border: 2px solid #f38c38;
    color: #ffffff;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    -webkit-box-shadow: 0 4px 14px rgba(243, 140, 56, 0.3);
            box-shadow: 0 4px 14px rgba(243, 140, 56, 0.3);
}

.empty-state-refresh:hover {
    background-color: #f18924;
    border-color: #f18924;
    color: #ffffff;
    -webkit-transform: translateY(-2px);
            transform: translateY(-2px);
    -webkit-box-shadow: 0 8px 20px rgba(243, 140, 56, 0.4);
            box-shadow: 0 8px 20px rgba(243, 140, 56, 0.4);
}

.empty-state-refresh:active,
.empty-state-refresh:focus {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-box-shadow: 0 2px 8px rgba(243, 140, 56, 0.3);
            box-shadow: 0 2px 8px rgba(243, 140, 56, 0.3);
    outline: none;
}

@media (max-width: 575.98px) {
    .empty-state-card {
        padding: 2rem 1.25rem;
    }
    .empty-state-icon-wrap {
        width: 84px;
        height: 84px;
    }
    .empty-state-icon {
        font-size: 2rem;
    }
    .empty-state-title {
        font-size: 1.25rem;
    }
    .empty-state-text {
        font-size: 0.9rem;
    }
}

.comments-empty-text {
    font-size: 0.875rem;
    color: #adb5bd;
}
/* ========================================
   COMMENT AVATAR / INITIALS
   ======================================== */

/* Avatar wrapper — fixed square so the circle never distorts */
.comment-avatar-wrap {
    width: 38px;
    height: 38px;
    -ms-flex-negative: 0;
        flex-shrink: 0;
    /* align with top of the input field (padding-top = 0.875rem ≈ 14px) */
    -ms-flex-item-align: start;
        align-self: flex-start;
    margin-top: 0.875rem;
}

.comment-avatar-img {
    width: 38px;
    height: 38px;
    display: block;
    -o-object-fit: cover;
       object-fit: cover;
    border: 2px solid #e9ecef;
    -webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.10);
            box-shadow: 0 1px 4px rgba(0,0,0,0.10);
}

.comment-avatar-initials {
    width: 38px;
    height: 38px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    background-color: #f38c38;
    border: 2px solid #e9ecef;
    -webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.12);
            box-shadow: 0 1px 4px rgba(0,0,0,0.12);
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    cursor: default;
}

/* Row that holds the textarea + round button side by side */
.comment-input-row {
    min-width: 0;
    -webkit-box-flex: 1;
        -ms-flex: 1 1 0%;
            flex: 1 1 0%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    gap: 0.5rem;
}

/* Textarea matches contact page .form-control style exactly */
.comment-input-wrapper {
    min-width: 0;
    -webkit-box-flex: 1;
        -ms-flex: 1 1 0%;
            flex: 1 1 0%;
}

/* The textarea — contact page styling + auto-resize */
.comment-textarea {
    display: block;
    width: 100%;
    resize: none;
    overflow: hidden;
    /* single row to start */
    min-height: calc(1rem * 1.5 + 0.875rem * 2 + 4px);
    /* contact page exact styles */
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    line-height: 1.5;
    color: #333;
    background: #fff;
    -webkit-transition: border-color 0.2s ease, -webkit-box-shadow 0.2s ease;
    transition: border-color 0.2s ease, -webkit-box-shadow 0.2s ease;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, -webkit-box-shadow 0.2s ease;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
}

.comment-textarea:focus {
    outline: none;
    border-color: #06b6d4;
    -webkit-box-shadow: 0 0 0 0.2rem rgba(6, 182, 212, 0.25);
            box-shadow: 0 0 0 0.2rem rgba(6, 182, 212, 0.25);
}

/* Round submit button — no Bootstrap .btn padding interference */
.comment-submit-btn {
    /* enforce exact square so border-radius:50% gives a true circle */
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    padding: 0 !important;
    line-height: 1 !important;
    border-radius: 50% !important;
    background-color: #f38c38;
    border: 2px solid transparent;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -ms-flex-negative: 0;
        flex-shrink: 0;
    -webkit-transition: all 0.3s ease;
            transition: all 0.3s ease;
    -webkit-box-shadow: 0 2px 10px rgba(243,140,56,0.3);
            box-shadow: 0 2px 10px rgba(243,140,56,0.3);
    cursor: pointer;
}

.comment-submit-btn:hover {
    background-color: #f38c38 !important;
    -webkit-transform: translateY(-3px);
            transform: translateY(-3px);
    -webkit-box-shadow: 0 4px 15px rgba(243,140,56,0.4);
            box-shadow: 0 4px 15px rgba(243,140,56,0.4);
    border-color: white;
}

.comment-submit-btn:active,
.comment-submit-btn:focus {
    -webkit-transform: translateY(-1px);
            transform: translateY(-1px);
    border-color: white;
    outline: none;
    background-color: #f38c38 !important;
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
}

/* Validation message goes on its own line below the input row */
.comment-input-wrapper .invalid-feedback,
.comment-textarea ~ .invalid-feedback,
.comment-input-wrapper ~ .invalid-feedback,
.comment-input-row .invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    padding-left: 0.25rem;
    font-size: 0.8rem;
}
.btn-primary-custom:hover {
    background-color: white;
    color: #667eea;
    -webkit-transform: translateY(-2px);
            transform: translateY(-2px);
    -webkit-box-shadow: 0 10px 20px rgba(0,0,0,0.2);
            box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-outline-custom {
    background-color: transparent;
    color: white;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 1px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

/* ========================================
   DASHBOARD — CONSISTENT BUTTON SIZE
   Matches the reference: btn-sm + rounded-pill + px-3
   Applied to every .btn inside dashboard pages
   ======================================== */
body#dashboard .btn {
    padding-top:    0.25rem;
    padding-bottom: 0.25rem;
    padding-left:   1rem;
    padding-right:  1rem;
    font-size:      0.875rem;
    border-radius:  50rem;
    line-height:    1.5;
}

.btn-outline-custom:hover {
    background-color: white;
    color: #667eea;
    border-color: white;
    -webkit-transform: translateY(-2px);
            transform: translateY(-2px);
    -webkit-box-shadow: 0 10px 20px rgba(0,0,0,0.2);
            box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-outline-primary {
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: #fd7e14 !important;
    border-color: #fd7e14 !important;
    color: #fff !important;
    -webkit-transform: translateY(-2px);
            transform: translateY(-2px);
    -webkit-box-shadow: 0 10px 20px rgba(253, 126, 20, 0.3);
            box-shadow: 0 10px 20px rgba(253, 126, 20, 0.3);
}

/* Mobile Navigation Hamburger */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
    padding: 0.5rem 0.75rem;
}

.navbar-toggler:focus {
    -webkit-box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
            box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

/* Dark border and focus for light subnav */
#subnav.dc-subnav--stuck .navbar-toggler,
#subnav.position-fixed .navbar-toggler,
#subnav .navbar-toggler {
    border-color: rgba(33, 37, 41, 0.5);
    color: #212529;
}

#subnav.dc-subnav--stuck .navbar-toggler:focus,
#subnav.position-fixed .navbar-toggler:focus,
#subnav .navbar-toggler:focus {
    -webkit-box-shadow: 0 0 0 0.25rem rgba(33, 37, 41, 0.1);
            box-shadow: 0 0 0 0.25rem rgba(33, 37, 41, 0.1);
}

@media (max-width: 991px) {
    #subnav .navbar-toggler {
        color: #212529 !important;
        border-color: rgba(33, 37, 41, 0.5);
    }
    
    #subnav .navbar-toggler-icon,
    #subnav.dc-subnav--stuck .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

/* ========================================
   MOBILE — HERO SECTIONS (all pages)
   Center hero content when col-lg-6 goes
   full-width below the lg breakpoint
   ======================================== */
@media (max-width: 991.98px) {
    /* Center all hero column content */
    .hero-section .hero-content .col-lg-6 {
        text-align: center;
    }

    /* Center the badge pill */
    .hero-section .hero-badge {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Allow subtitle to use full width and stay centered */
    .hero-section .hero-subtitle {
        max-width: 100% !important;
        margin-left: auto;
        margin-right: auto;
    }

    /* Center stats row */
    .hero-section .hero-stats {
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
    }

    /* Center buttons row */
    .hero-section .hero-buttons {
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-section {
        min-height: 50vh;
        background-attachment: scroll;
    }
    
    .hero-content {
        padding-top: 100px;
        padding-bottom: 50px;
    }
    
    .btn-primary-custom,
    .btn-outline-custom {
        padding: 0.75rem 1.5rem;
        font-size: 0.8rem;
        display: block;
        margin: 0.5rem auto;
        text-align: center;
        width: 80%;
    }
    
    /* Also centre standalone outline-primary buttons that sit in text blocks */
    .text-center .btn-outline-primary,
    .text-center > .btn-outline-primary {
        display: block;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    
    .hero-buttons {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        gap: 1rem;
        width: 100%;
    }
    
    .hero-buttons .btn {
        margin: 0 !important;
        width: 80%;
    }
}

/* ========================================
   MOBILE — SECTION SPACING & TYPOGRAPHY
   Reduce excessive padding on small screens
   ======================================== */

/* Home header responsive font */
@media (max-width: 575.98px) {
    .home-header-title {
        font-size: clamp(1.75rem, 8vw, 2.5rem) !important;
    }

    .home-header-text {
        font-size: 1rem !important;
    }
}

/* Home page section content — center text on mobile */
@media (max-width: 991.98px) {
    /* Index page Sermons, Events, Giving text sections */
    .home-about-section .col-lg-6.text-center {
        text-align: center !important;
    }

    /* Ministries section title */
    .hero-title[style*="3.5rem"],
    .hero-title[style*="font-size"] {
        font-size: clamp(2rem, 6vw, 3.5rem);
    }

    /* Reduce the excessive gap between the Sermons & Events rows on mobile */
    .mb-6 {
        margin-bottom: 3rem !important;
    }
}

/* Index / content page section padding — soften the 6rem/8rem for small screens */
@media (max-width: 767.98px) {
    /* Override inline section paddings (without !important so CSS wins) */
    .home-about-section,
    .home-about-section .container {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    /* Stat items — wrap and center on small phones */
    .hero-stats {
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        gap: 1.5rem !important;
    }

    /* Reduce oversized section headings on mobile */
    section h2[style*="font-size: 3.5rem"],
    section h2[style*="font-size: 2.5rem"] {
        font-size: clamp(1.75rem, 6vw, 2.5rem) !important;
    }

    section p[style*="font-size: 1.4rem"] {
        font-size: 1.1rem !important;
    }

    section p[style*="font-size: 1.2rem"] {
        font-size: 1rem !important;
    }
}

/* Homepage-specific enhancements (previously inline on index.ejs) */
.card:hover {
    -webkit-transform: translateY(-5px);
            transform: translateY(-5px);
    -webkit-box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

.card,
.btn {
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.img-fluid.rounded-4 {
    -webkit-transition: -webkit-transform 0.5s ease;
    transition: -webkit-transform 0.5s ease;
    transition: transform 0.5s ease;
    transition: transform 0.5s ease, -webkit-transform 0.5s ease;
}

.img-fluid.rounded-4:hover {
    -webkit-transform: scale(1.03);
            transform: scale(1.03);
}

.home-about-section .overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.75) 60%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.home-about-section .container {
    z-index: 2;
}

.home-about-section h2,
.home-about-section p {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
}

/* Over page: hero and picker styles */
#over-hero {
    background-image: url('/assets/images/over.jpg');
    background-color: #212529;
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
    width: 100%;
    position: relative;
    background-repeat: no-repeat;
}

#over-hero .hero-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.6) 100%);
}

#over-hero .hero-title,
#over-hero .hero-subtitle,
#over-hero .hero-buttons {
    -webkit-animation: fadeInSubtle 1.5s ease-out 0.3s both;
            animation: fadeInSubtle 1.5s ease-out 0.3s both;
}

@-webkit-keyframes fadeInSubtle {
    from {
        opacity: 0;
        -webkit-transform: translateY(10px);
                transform: translateY(10px);
    }

    to {
        opacity: 1;
        -webkit-transform: translateY(0);
                transform: translateY(0);
    }
}

@keyframes fadeInSubtle {
    from {
        opacity: 0;
        -webkit-transform: translateY(10px);
                transform: translateY(10px);
    }

    to {
        opacity: 1;
        -webkit-transform: translateY(0);
                transform: translateY(0);
    }
}

/* Agenda: clickable date range (underline) opens calendar picker */
.dc-agenda-toolbar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 0.85rem 1.5rem;
}

.dc-agenda-range,
.dc-agenda-search {
    position: relative;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 0.55rem;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--dc-muted);
}

.dc-agenda-range {
    cursor: pointer;
}

.dc-agenda-search {
    min-width: min(100%, 16rem);
    -webkit-box-flex: 1;
        -ms-flex: 1 1 12rem;
            flex: 1 1 12rem;
    max-width: 22rem;
    cursor: text;
}

.dc-agenda-search__field {
    position: relative;
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
    min-width: 0;
}

.dc-agenda-range > i,
.dc-agenda-search > .fa-search {
    width: 1em;
    color: var(--dc-orange);
    font-size: 0.9rem;
    line-height: 1;
    text-align: center;
    -ms-flex-negative: 0;
        flex-shrink: 0;
}

.dc-agenda-range__text,
.dc-agenda-search__input {
    margin: 0;
    padding: 0 0 0.15rem;
    border: 0;
    border-bottom: 1px solid currentColor;
    border-radius: 0;
    background: transparent;
    font-size: inherit;
    line-height: inherit;
    -webkit-transition: color 0.2s ease, border-color 0.2s ease;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.dc-agenda-range__text {
    color: inherit;
}

.dc-agenda-search__input {
    width: 100%;
    padding-right: 1.35rem;
    color: var(--dc-text);
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
}

.dc-agenda-search__clear {
    position: absolute;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-55%);
            transform: translateY(-55%);
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 1.15rem;
    height: 1.15rem;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--dc-muted);
    font-size: 0.75rem;
    line-height: 1;
    cursor: pointer;
    -webkit-transition: color 0.15s ease, background-color 0.15s ease;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.dc-agenda-search__clear:hover,
.dc-agenda-search__clear:focus-visible {
    color: var(--dc-orange);
    background: rgba(241, 137, 36, 0.12);
    outline: none;
}

.dc-agenda-range:hover .dc-agenda-range__text,
.dc-agenda-range:focus-within .dc-agenda-range__text,
.dc-agenda-search__input:hover,
.dc-agenda-search:focus-within .dc-agenda-search__input,
.dc-agenda-search__input:focus {
    color: var(--dc-orange);
    border-bottom-color: var(--dc-orange);
    outline: none;
}

.dc-agenda-range__input,
.dc-agenda-range__input input {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    opacity: 0 !important;
    cursor: pointer !important;
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
    background: transparent !important;
    color: transparent !important;
    font-size: 1px !important;
}

.dc-agenda-search__input::-webkit-search-decoration,
.dc-agenda-search__input::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.dc-agenda-search__input::placeholder {
    color: var(--dc-muted);
    opacity: 0.85;
}

/* Sermons page: archive cards and modal */
#preken-archief {
    scroll-behavior: smooth;
}

#preken-archief .card {
    border: none !important;
    border-radius: 15px !important;
    overflow: hidden;
}

#preken-archief .card img {
    border-radius: 15px 15px 0 0 !important;
}

#preken-archief .card:hover {
    -webkit-transform: translateY(-5px);
            transform: translateY(-5px);
    -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

#modalVideo .modal-dialog {
    max-width: 1200px;
}

#modalVideo .modal-content {
    background: #000 !important;
    border: none;
    position: relative;
}

#modalVideo .modal-body {
    background: #000 !important;
    padding: 0 !important;
}

#modalVideo .ratio {
    background: #000;
}

#modalVideo .btn-close {
    opacity: 0.8;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

#modalVideo .btn-close:hover {
    opacity: 1;
}

/* Geven page: hero + form + bank card styles */
.hero-section .hero-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.hero-section {
    position: relative;
}

.hero-badge {
    -webkit-animation: fadeInSubtle 1.2s ease-out 0.1s both;
            animation: fadeInSubtle 1.2s ease-out 0.1s both;
}

.hero-title {
    -webkit-animation: fadeInSubtle 1.5s ease-out 0.3s both;
            animation: fadeInSubtle 1.5s ease-out 0.3s both;
}

.hero-subtitle {
    -webkit-animation: fadeInSubtle 1.5s ease-out 0.5s both;
            animation: fadeInSubtle 1.5s ease-out 0.5s both;
}

.hero-buttons {
    -webkit-animation: fadeInSubtle 1.5s ease-out 0.7s both;
            animation: fadeInSubtle 1.5s ease-out 0.7s both;
}

.hero-stats {
    -webkit-animation: fadeInSubtle 1.5s ease-out 0.9s both;
            animation: fadeInSubtle 1.5s ease-out 0.9s both;
}

.hero-image-geven {
    width: 100%;
    max-width: 500px;
    height: 350px;
    -o-object-fit: cover;
       object-fit: cover;
    border-radius: 15px;
    -webkit-box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin-left: auto;
    display: block;
    -webkit-transition: -webkit-transform 0.3s ease-out;
    transition: -webkit-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
    will-change: transform;
}

.btn-primary-custom:hover {
    -webkit-transform: translateY(-3px);
            transform: translateY(-3px);
    -webkit-box-shadow: 0 12px 35px rgba(241, 137, 36, 0.4) !important;
            box-shadow: 0 12px 35px rgba(241, 137, 36, 0.4) !important;
    color: #f18924 !important;
}

.btn-outline-custom:hover {
    -webkit-transform: translateY(-3px);
            transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    color: white !important;
}

.bank-info-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #fd7e14;
}

.bank-number {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: #fd7e14;
    font-size: 1.25rem;
}

.form-container {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-label {
    font-weight: 600;
    color: #212529;
}

.form-control,
.form-select {
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    padding: 0.75rem 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: #8b5cf6;
    -webkit-box-shadow: 0 0 0 0.2rem rgba(139, 92, 246, 0.25);
            box-shadow: 0 0 0 0.2rem rgba(139, 92, 246, 0.25);
}

.btn-primary {
    border: 2px solid #fd7e14;
    color: #fd7e14;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #fd7e14;
    border-color: #fd7e14;
    color: white;
    -webkit-transform: translateY(-2px);
            transform: translateY(-2px);
    -webkit-box-shadow: 0 10px 20px rgba(253, 126, 20, 0.3);
            box-shadow: 0 10px 20px rgba(253, 126, 20, 0.3);
}

.giving-type-radio-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

.giving-type-radio {
    position: relative;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    min-width: 120px;
}

.giving-type-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.giving-type-radio label {
    display: block;
    padding: 0.875rem 1.5rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    text-align: center;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    color: #212529;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    margin: 0;
    text-transform: uppercase;
}

.giving-type-radio label:hover {
    border-color: #f18924;
    color: #f18924;
}

.giving-type-radio input[type="radio"]:checked + label {
    background: #f18924;
    border-color: #f18924;
    color: white;
}

/* Over page: stream modal + agenda cards */
#agenda .card:hover {
    -webkit-transform: translateY(-5px);
            transform: translateY(-5px);
    -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

#agenda .btn-outline-primary:hover {
    background-color: #f18924;
    border-color: #f18924;
    color: white;
}

#agenda .event-item a:hover {
    color: #f18924 !important;
}

#agenda .event-item {
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#agenda .event-item:hover {
    background-color: rgba(241, 137, 36, 0.02);
    padding-left: 0.5rem;
    margin-left: -0.5rem;
    border-radius: 8px;
}
/* Contact page: hero/form/FAQ/map styling */
.hero-section .hero-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.hero-section {
    position: relative;
}

.hero-badge {
    -webkit-animation: fadeInSubtle 1.2s ease-out 0.1s both;
            animation: fadeInSubtle 1.2s ease-out 0.1s both;
}

.hero-title {
    -webkit-animation: fadeInSubtle 1.5s ease-out 0.3s both;
            animation: fadeInSubtle 1.5s ease-out 0.3s both;
}

.hero-subtitle {
    -webkit-animation: fadeInSubtle 1.5s ease-out 0.5s both;
            animation: fadeInSubtle 1.5s ease-out 0.5s both;
}

.hero-buttons {
    -webkit-animation: fadeInSubtle 1.5s ease-out 0.7s both;
            animation: fadeInSubtle 1.5s ease-out 0.7s both;
}

.hero-stats {
    -webkit-animation: fadeInSubtle 1.5s ease-out 0.9s both;
            animation: fadeInSubtle 1.5s ease-out 0.9s both;
}

.btn-primary-custom:hover {
    -webkit-transform: translateY(-3px);
            transform: translateY(-3px);
    -webkit-box-shadow: 0 12px 35px rgba(241, 137, 36, 0.4) !important;
            box-shadow: 0 12px 35px rgba(241, 137, 36, 0.4) !important;
    color: #f18924 !important;
}

.btn-outline-custom:hover {
    -webkit-transform: translateY(-3px);
            transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    color: white !important;
}

@keyframes fadeInSubtle {
    from {
        opacity: 0;
        -webkit-transform: translateY(10px);
                transform: translateY(10px);
    }

    to {
        opacity: 1;
        -webkit-transform: translateY(0);
                transform: translateY(0);
    }
}

.hero-image-geven {
    width: 100%;
    max-width: 500px;
    height: 350px;
    -o-object-fit: cover;
       object-fit: cover;
    border-radius: 15px;
    -webkit-box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin-left: auto;
    display: block;
    -webkit-transition: -webkit-transform 0.3s ease-out;
    transition: -webkit-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
    will-change: transform;
}

.hero-buttons {
    text-align: center;
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem !important;
    }

    .hero-subtitle {
        font-size: 1.1rem !important;
    }

    .hero-stats {
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        text-align: center;
    }
}

.form-control,
.form-select,
.form-textarea {
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    padding: 0.875rem 1rem;
    font-size: 1rem;
}

.form-control:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #06b6d4;
    -webkit-box-shadow: 0 0 0 0.2rem rgba(6, 182, 212, 0.25);
            box-shadow: 0 0 0 0.2rem rgba(6, 182, 212, 0.25);
}

.form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.card:hover {
    -webkit-transform: translateY(-5px);
            transform: translateY(-5px);
    -webkit-box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

.card,
.btn {
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#map {
    height: 500px;
}

.faq-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 0;
    background: transparent;
}

.faq-accordion .accordion-item:last-child {
    border-bottom: none;
}

.faq-accordion .accordion-button {
    background: transparent;
    border: none;
    padding: 1.5rem 0;
    font-weight: 600;
    font-size: 1.1rem;
    color: #212529;
    -webkit-box-shadow: none;
            box-shadow: none;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: transparent;
    color: #06b6d4;
    -webkit-box-shadow: none;
            box-shadow: none;
}

.faq-accordion .accordion-button:focus {
    border-color: transparent;
    -webkit-box-shadow: none;
            box-shadow: none;
    outline: none;
}

.faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2306b6d4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    width: 1.5rem;
    height: 1.5rem;
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2306b6d4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    -webkit-transform: rotate(180deg);
            transform: rotate(180deg);
}

.faq-accordion .accordion-body {
    padding: 0 0 1.5rem 0;
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.7;
}

.faq-accordion .accordion-button:hover {
    color: #06b6d4;
}
/* Nieuw bij Destiny page hero + layout styling */
.hero-section .hero-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.hero-section {
    position: relative;
}

.hero-badge {
    -webkit-animation: fadeInSubtle 1.2s ease-out 0.1s both;
            animation: fadeInSubtle 1.2s ease-out 0.1s both;
}

.hero-title {
    -webkit-animation: fadeInSubtle 1.5s ease-out 0.3s both;
            animation: fadeInSubtle 1.5s ease-out 0.3s both;
}

.hero-subtitle {
    -webkit-animation: fadeInSubtle 1.5s ease-out 0.5s both;
            animation: fadeInSubtle 1.5s ease-out 0.5s both;
}

.hero-buttons {
    -webkit-animation: fadeInSubtle 1.5s ease-out 0.7s both;
            animation: fadeInSubtle 1.5s ease-out 0.7s both;
}

.hero-stats {
    -webkit-animation: slideInFromBottom 1s ease-out 0.8s both;
            animation: slideInFromBottom 1s ease-out 0.8s both;
}

@-webkit-keyframes float {
    0%, 100% {
        -webkit-transform: translateY(0px) rotate(0deg);
                transform: translateY(0px) rotate(0deg);
    }
    25% {
        -webkit-transform: translateY(-8px) rotate(1deg);
                transform: translateY(-8px) rotate(1deg);
    }
    50% {
        -webkit-transform: translateY(-15px) rotate(0deg);
                transform: translateY(-15px) rotate(0deg);
    }
    75% {
        -webkit-transform: translateY(-8px) rotate(-1deg);
                transform: translateY(-8px) rotate(-1deg);
    }
}

@keyframes float {
    0%, 100% {
        -webkit-transform: translateY(0px) rotate(0deg);
                transform: translateY(0px) rotate(0deg);
    }
    25% {
        -webkit-transform: translateY(-8px) rotate(1deg);
                transform: translateY(-8px) rotate(1deg);
    }
    50% {
        -webkit-transform: translateY(-15px) rotate(0deg);
                transform: translateY(-15px) rotate(0deg);
    }
    75% {
        -webkit-transform: translateY(-8px) rotate(-1deg);
                transform: translateY(-8px) rotate(-1deg);
    }
}

.btn-primary-custom:hover {
    -webkit-transform: translateY(-3px);
            transform: translateY(-3px);
    -webkit-box-shadow: 0 12px 35px rgba(241, 137, 36, 0.4) !important;
            box-shadow: 0 12px 35px rgba(241, 137, 36, 0.4) !important;
    color: #f18924 !important;
}

.btn-outline-custom:hover {
    -webkit-transform: translateY(-3px);
            transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    color: white !important;
}

@keyframes fadeInSubtle {
    from {
        opacity: 0;
        -webkit-transform: translateY(10px);
                transform: translateY(10px);
    }

    to {
        opacity: 1;
        -webkit-transform: translateY(0);
                transform: translateY(0);
    }
}

@-webkit-keyframes slideInFromBottom {
    from { opacity: 0; -webkit-transform: translateY(30px); transform: translateY(30px); }
    to { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}

@keyframes slideInFromBottom {
    from { opacity: 0; -webkit-transform: translateY(30px); transform: translateY(30px); }
    to { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}

.hero-image-geven {
    width: 100%;
    max-width: 500px;
    height: 350px;
    -o-object-fit: cover;
       object-fit: cover;
    border-radius: 15px;
    -webkit-box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin-left: auto;
    display: block;
    -webkit-transition: -webkit-transform 0.3s ease-out;
    transition: -webkit-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
    will-change: transform;
}

.hero-buttons {
    text-align: center;
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem !important;
    }

    .hero-subtitle {
        font-size: 1.1rem !important;
    }

    .hero-stats {
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        text-align: center;
    }
}

.content-image {
    width: 100%;
    height: 400px;
    -o-object-fit: cover;
       object-fit: cover;
    border-radius: 15px;
    -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    font-size: 1.75rem;
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.bg-secondary-gradient {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.5rem;
    color: #212529;
    margin-bottom: 1rem;
    font-weight: 600;
}

.py-8 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

.text-white-85 {
    opacity: 0.95;
}

.btn-outline-primary:hover {
    background-color: #fd7e14;
    border-color: #fd7e14;
    color: white !important;
}

.mb-6 {
    margin-bottom: 6rem !important;
}

/* Berichten page style block 1 */

  /* Enhanced Hero Section Styles */
  .hero-section .hero-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.6) 100%);
  }

  .hero-section {
    position: relative;
  }

  .hero-badge {
    -webkit-animation: fadeInSubtle 1.2s ease-out 0.1s both;
            animation: fadeInSubtle 1.2s ease-out 0.1s both;
  }

  .hero-title {
    -webkit-animation: fadeInSubtle 1.5s ease-out 0.3s both;
            animation: fadeInSubtle 1.5s ease-out 0.3s both;
  }

  .hero-subtitle {
    -webkit-animation: fadeInSubtle 1.5s ease-out 0.5s both;
            animation: fadeInSubtle 1.5s ease-out 0.5s both;
  }

  .hero-buttons {
    -webkit-animation: fadeInSubtle 1.5s ease-out 0.7s both;
            animation: fadeInSubtle 1.5s ease-out 0.7s both;
  }

  .hero-stats {
    -webkit-animation: slideInFromBottom 1s ease-out 0.8s both;
            animation: slideInFromBottom 1s ease-out 0.8s both;
  }

  /* Button Hover Effects */
  .btn-primary-custom:hover {
    -webkit-transform: translateY(-3px);
            transform: translateY(-3px);
    -webkit-box-shadow: 0 12px 35px rgba(241, 137, 36, 0.4) !important;
            box-shadow: 0 12px 35px rgba(241, 137, 36, 0.4) !important;
    color: #f18924 !important;
  }

  .btn-outline-custom:hover {
    -webkit-transform: translateY(-3px);
            transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    color: white !important;
  }

  /* Subtle Fade In Animation */
  @keyframes fadeInSubtle {
    from {
      opacity: 0;
      -webkit-transform: translateY(10px);
              transform: translateY(10px);
    }

    to {
      opacity: 1;
      -webkit-transform: translateY(0);
              transform: translateY(0);
    }
  }

  @keyframes slideInFromBottom {
    from {
      opacity: 0;
      -webkit-transform: translateY(30px);
              transform: translateY(30px);
    }

    to {
      opacity: 1;
      -webkit-transform: translateY(0);
              transform: translateY(0);
    }
  }

  /* Hero Images Styling */
  .hero-images {
    position: relative;
    height: 400px;
    -webkit-animation: fadeInSubtle 1.5s ease-out 0.2s both;
            animation: fadeInSubtle 1.5s ease-out 0.2s both;
  }

  .hero-image-1 {
    position: absolute;
    right: 8%;
    top: 10%;
    width: 336px;
    height: 336px;
    -o-object-fit: cover;
       object-fit: cover;
    border-radius: 15px;
    -webkit-box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1;
    -webkit-transition: -webkit-transform 0.3s ease-out;
    transition: -webkit-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
    will-change: transform;
  }

  .hero-image-2 {
    position: absolute;
    right: 35%;
    top: 25%;
    width: 288px;
    height: 288px;
    -o-object-fit: cover;
       object-fit: cover;
    border-radius: 15px;
    -webkit-box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 2;
    -webkit-transition: -webkit-transform 0.3s ease-out;
    transition: -webkit-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
    will-change: transform;
  }

  .hero-image-3 {
    position: absolute;
    right: 8%;
    top: 58%;
    width: 240px;
    height: 240px;
    -o-object-fit: cover;
       object-fit: cover;
    border-radius: 15px;
    -webkit-box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 3;
    -webkit-transition: -webkit-transform 0.3s ease-out;
    transition: -webkit-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
    will-change: transform;
  }

  /* Responsive hero images for smaller screens (laptops < 1920px) */
  @media (max-width: 1399px) {
    .hero-images {
      height: 320px;
    }
    .hero-image-1 {
      width: 250px;
      height: 250px;
    }
    .hero-image-2 {
      width: 210px;
      height: 210px;
    }
    .hero-image-3 {
      width: 175px;
      height: 175px;
    }
  }

  @media (max-width: 1199px) {
    .hero-images {
      height: 280px;
    }
    .hero-image-1 {
      width: 210px;
      height: 210px;
    }
    .hero-image-2 {
      width: 180px;
      height: 180px;
    }
    .hero-image-3 {
      width: 150px;
      height: 150px;
    }
  }

  @media (max-width: 991px) {
    .hero-images {
      height: 240px;
    }
    .hero-image-1 {
      width: 180px;
      height: 180px;
    }
    .hero-image-2 {
      width: 155px;
      height: 155px;
    }
    .hero-image-3 {
      width: 130px;
      height: 130px;
    }
  }

  /* Mobile Responsiveness */
  .hero-buttons {
    text-align: center;
  }

  @media (max-width: 576px) {
    .hero-title {
      font-size: 2.5rem !important;
    }

    .hero-subtitle {
      font-size: 1.1rem !important;
    }

    .hero-stats {
      -webkit-box-pack: center;
          -ms-flex-pack: center;
              justify-content: center;
      text-align: center;
    }
  }


/* Berichten page style block 2 */

  .post-header-avatar {
    width: 56px;
    height: 56px;
    display: block;
    padding: 6px;
    -o-object-fit: cover;
       object-fit: contain;
    border: 1px solid #d9d9d9;
    border-radius: 50%;
    background-color: #fff;
  }

  .like-checkbox {
    display: none;
  }

  .like-label {
    cursor: pointer;
    font-size: 1.5rem;
    color: #bbb;
    -webkit-transition: color 0.3s ease;
    transition: color 0.3s ease;
  }

  .like-label .bi-heart-fill {
    display: none;
  }

  .like-checkbox:checked~.like-label {
    color: #ff4757;
    -webkit-animation: bounce 0.3s ease forwards;
            animation: bounce 0.3s ease forwards;
  }

  .like-checkbox:checked~.like-label .bi-heart {
    display: none;
  }

  .like-checkbox:checked~.like-label .bi-heart-fill {
    display: inline;
  }

  @-webkit-keyframes bounce {
    0% {
      -webkit-transform: scale(1);
              transform: scale(1);
    }

    30% {
      -webkit-transform: scale(1.3);
              transform: scale(1.3);
    }

    50% {
      -webkit-transform: scale(0.9);
              transform: scale(0.9);
    }

    100% {
      -webkit-transform: scale(1);
              transform: scale(1);
    }
  }

  @keyframes bounce {
    0% {
      -webkit-transform: scale(1);
              transform: scale(1);
    }

    30% {
      -webkit-transform: scale(1.3);
              transform: scale(1.3);
    }

    50% {
      -webkit-transform: scale(0.9);
              transform: scale(0.9);
    }

    100% {
      -webkit-transform: scale(1);
              transform: scale(1);
    }
  }


/* Berichten page style block 3 */

  textarea {
    width: 100%;
    min-height: 24px;
    max-width: 100%;
    overflow: hidden;
    /* Prevents scroll bar */
  }


/* Berichten page style block 4 */

  textarea {
    width: 100%;
    min-height: 24px;
    max-width: 100%;
    overflow: hidden;
    /* Prevents scroll bar */
  }


/* Berichten page style block 5 */

  .comment-submit-btn {
    width: 56px;
    height: 56px;
    background-color: #f38c38 !important;
    border-radius: 50%;
    border: 2px solid transparent !important;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    -webkit-box-shadow: 0 2px 10px var(--blue-opacity-20);
            box-shadow: 0 2px 10px var(--blue-opacity-20);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    padding: 0 !important;
    outline: none;
  }

  .comment-submit-btn i {
    color: white !important;
    font-size: 1.5rem;
    line-height: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }

  .comment-submit-btn:hover {
    background-color: #f38c38 !important;
    -webkit-transform: translateY(-3px);
            transform: translateY(-3px);
    -webkit-box-shadow: 0 4px 15px var(--blue-opacity-30);
            box-shadow: 0 4px 15px var(--blue-opacity-30);
    border: 3px solid white !important;
  }

  .comment-submit-btn:active,
  .comment-submit-btn:focus {
    -webkit-transform: translateY(-1px);
            transform: translateY(-1px);
    border: 3px solid white !important;
    outline: none;
    background-color: #f38c38 !important;
  }


/* ========================================
   LIKE BUTTON — ENHANCED HEART ANIMATION
   ======================================== */

/* Base like label */
.like-label {
  position: relative;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  cursor: pointer;
  font-size: 1.5rem;
  color: #bbb;
  -webkit-transition: color 0.25s ease;
  transition: color 0.25s ease;
  -webkit-user-select: none;
  -moz-user-select: none;
   -ms-user-select: none;
       user-select: none;
}

.like-label .bi-heart-fill {
  display: none;
}

/* Checked / liked state */
.like-checkbox:checked ~ .like-label {
  color: #e8385a;
}
.like-checkbox:checked ~ .like-label .bi-heart {
  display: none;
}
.like-checkbox:checked ~ .like-label .bi-heart-fill {
  display: inline;
}

/* Heart pop animation triggered by JS class */
.like-label.heart-pop {
  animation: heartPop 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) forwards;
  -webkit-animation: heartPop 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) forwards;
}

@keyframes heartPop {
  0%   { -webkit-transform: scale(1); transform: scale(1);   }
  20%  { -webkit-transform: scale(1.4); transform: scale(1.4); }
  40%  { -webkit-transform: scale(0.85); transform: scale(0.85); }
  60%  { -webkit-transform: scale(1.2); transform: scale(1.2); }
  80%  { -webkit-transform: scale(0.95); transform: scale(0.95); }
  100% { -webkit-transform: scale(1); transform: scale(1);   }
}
@-webkit-keyframes heartPop {
  0%   { -webkit-transform: scale(1);   }
  20%  { -webkit-transform: scale(1.4); }
  40%  { -webkit-transform: scale(0.85); }
  60%  { -webkit-transform: scale(1.2); }
  80%  { -webkit-transform: scale(0.95); }
  100% { -webkit-transform: scale(1);   }
}

/* Ripple burst on like */
.like-label::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  border-radius: 50%;
  background: rgba(232, 56, 90, 0.35);
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  pointer-events: none;
  -webkit-transition: none;
  transition: none;
}
.like-label.heart-pop::after {
  animation: likeRipple 0.5s ease-out forwards;
  -webkit-animation: likeRipple 0.5s ease-out forwards;
}
@keyframes likeRipple {
  0%   { width: 0;    height: 0;    opacity: 0.7; }
  100% { width: 48px; height: 48px; opacity: 0;   }
}
@-webkit-keyframes likeRipple {
  0%   { width: 0;    height: 0;    opacity: 0.7; }
  100% { width: 48px; height: 48px; opacity: 0;   }
}




































































/* ========================================
   DASHBOARD START PAGE — KPI & CHART STYLES
   ======================================== */

/* Stat cards */
.stat-card {
    border: none;
    border-radius: 1rem;
    -webkit-transition: -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
    transition: -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    transition: transform 0.2s ease, box-shadow 0.2s ease, -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
    overflow: hidden;
}

.stat-card:hover {
    -webkit-transform: translateY(-4px);
            transform: translateY(-4px);
    -webkit-box-shadow: 0 12px 32px rgba(0,0,0,0.12) !important;
            box-shadow: 0 12px 32px rgba(0,0,0,0.12) !important;
}

.stat-card .stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 0.75rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    font-size: 1.4rem;
    -ms-flex-negative: 0;
        flex-shrink: 0;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.stat-card .stat-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.65;
}

.stat-card .stat-trend {
    font-size: 0.75rem;
    font-weight: 600;
}

/* Chart card */
.chart-card {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
}

.chart-canvas-wrap {
    position: relative;
    height: 220px;
}

@media (min-width: 768px) {
    .chart-canvas-wrap {
        height: 260px;
    }
}

/* Recent posts table */
.recent-post-row {
    border-bottom: 1px solid var(--bs-border-color);
    -webkit-transition: background 0.15s ease;
    transition: background 0.15s ease;
}

.recent-post-row:last-child {
    border-bottom: none;
}

.recent-post-row:hover {
    background: var(--bs-tertiary-bg);
}

.recent-post-title {
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

@media (min-width: 992px) {
    .recent-post-title {
        max-width: 320px;
    }
}

/* Welcome banner */
.dashboard-welcome {
    background: linear-gradient(135deg, var(--blue-500) 0%, #1a6fad 100%);
    border-radius: 1rem;
    color: #fff;
    padding: 1.75rem 2rem;
    overflow: hidden;
    position: relative;
}

.dashboard-welcome::after {
    content: '';
    position: absolute;
    right: -60px;
    top: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    pointer-events: none;
}

.dashboard-welcome::before {
    content: '';
    position: absolute;
    right: 60px;
    bottom: -80px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}

/* Approval tab buttons inside dashboard-welcome */
.dashboard-welcome .nav-pills .nav-link.approval-tab {
    background-color: transparent;
    color: #fff;
    border: 1.5px solid #fff;
    border-radius: 50rem;
    font-weight: 600;
    font-size: 0.8125rem;
    padding: 0.375rem 0.875rem;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.dashboard-welcome .nav-pills .nav-link.approval-tab:hover {
    background-color: rgba(255,255,255,0.15);
    color: #fff;
    border-color: #fff;
}

.dashboard-welcome .nav-pills .nav-link.approval-tab.active {
    background-color: #fff;
    color: #f18924;
    border-color: #fff;
}

/* Skeleton loading pulse */
.stat-skeleton {
    height: 2rem;
    width: 5rem;
    border-radius: 0.5rem;
    background: -webkit-gradient(linear, left top, right top, color-stop(25%, #f0f0f0), color-stop(50%, #e0e0e0), color-stop(75%, #f0f0f0));
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    -webkit-animation: skeleton-pulse 1.4s ease infinite;
            animation: skeleton-pulse 1.4s ease infinite;
}

@-webkit-keyframes skeleton-pulse {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes skeleton-pulse {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ========================================
   MOBILE SECTION SPACING
   Reduce oversized paddings and add vertical
   gap between stacked columns on mobile.
   Desktop layout is completely unaffected.
   ======================================== */
@media (max-width: 991.98px) {

    /* ── Top padding reduction ────────────────
       Handles <section> and <div> blocks with
       large inline padding-top (6rem / 8rem)
       and the .py-8 utility class.
       Only overrides padding-TOP so small
       padding-bottom values (e.g. 2rem) are
       not accidentally inflated.             */
    section[style*="padding-top: 6rem"],
    section[style*="padding-top: 8rem"],
    div[style*="padding-top: 6rem"],
    div[style*="padding-top: 8rem"],
    .py-8 {
        padding-top: 2.5rem !important;
    }

    /* Medium 4rem top padding (over.ejs vision
       section sits between the intro text and
       the image — reduce so the gap is tighter) */
    div[style*="padding-top: 4rem"] {
        padding-top: 1.5rem !important;
    }

    /* ── Bottom padding reduction ─────────────
       Only reduce when the bottom padding is
       itself large (6rem / 8rem). Leaves small
       values like 2rem intentionally untouched. */
    section[style*="padding-bottom: 6rem"],
    section[style*="padding-bottom: 8rem"],
    div[style*="padding-bottom: 6rem"],
    div[style*="padding-bottom: 8rem"],
    .py-8 {
        padding-bottom: 2.5rem !important;
    }

    /* ── Hero → first-content gap ────────────
       Reduce the bottom padding inside the hero
       content box so the next section sits
       closer to the last hero text element.    */
    .hero-content {
        padding-bottom: 1.5rem !important;
    }

    /* ── Row gap between stacked columns ─────
       When col-lg-* cols stack on mobile they
       have zero vertical breathing room. Add
       row-gap to rows without an existing gap
       class.                                  */
    section .row.align-items-center:not(.g-3):not(.g-4):not(.g-5):not(.gy-3):not(.gy-4):not(.gy-5) {
        row-gap: 2rem;
    }

    /* ── Images in stacked cols go full-width */
    section .row.align-items-center > [class*="col-lg"] > img,
    section .row.align-items-center > [class*="col-lg"] > .img-fluid {
        display: block;
        width: 100%;
    }

    /* ── Sermons row oversized bottom margin  */
    section .row[style*="margin-bottom: 8rem"] {
        margin-bottom: 3rem !important;
    }
}

/* ========================================
   VINTAGE / ANTIQUE PHOTO FILTER
   For history / heritage images
   ======================================== */

.vintage-filter {
    -webkit-filter: sepia(40%) contrast(1.1) brightness(0.9) saturate(0.85);
            filter: sepia(40%) contrast(1.1) brightness(0.9) saturate(0.85);
    -webkit-transition: -webkit-filter 0.4s ease;
    transition: -webkit-filter 0.4s ease;
    transition: filter 0.4s ease;
    transition: filter 0.4s ease, -webkit-filter 0.4s ease;
}

.vintage-filter:hover {
    -webkit-filter: sepia(20%) contrast(1.05) brightness(0.95) saturate(0.9);
            filter: sepia(20%) contrast(1.05) brightness(0.95) saturate(0.9);
}

/* Vintage overlay — adds a subtle warm tint + vignette */
.vintage-overlay {
    position: relative;
}

.vintage-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            ellipse at center,
            transparent 50%,
            rgba(60, 40, 10, 0.25) 100%
        ),
        -webkit-gradient(
            linear,
            left top, left bottom,
            from(rgba(80, 55, 15, 0.08)),
            color-stop(15%, transparent),
            color-stop(85%, transparent),
            to(rgba(80, 55, 15, 0.12))
        );
    background:
        radial-gradient(
            ellipse at center,
            transparent 50%,
            rgba(60, 40, 10, 0.25) 100%
        ),
        linear-gradient(
            to bottom,
            rgba(80, 55, 15, 0.08) 0%,
            transparent 15%,
            transparent 85%,
            rgba(80, 55, 15, 0.12) 100%
        );
    pointer-events: none;
    border-radius: inherit;
}

/* Grain texture overlay for aged paper feel */
.vintage-grain::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
    border-radius: inherit;
}

/* Combined vintage style for swiper images */
.history-swiper .swiper-slide img {
    -webkit-filter: sepia(75%) contrast(1.15) brightness(0.85) saturate(0.7) grayscale(25%);
            filter: sepia(75%) contrast(1.15) brightness(0.85) saturate(0.7) grayscale(25%);
}

/* Deep vignette overlay for swiper container */
.history-swiper.vintage-overlay::after {
    background:
        radial-gradient(
            ellipse at center,
            transparent 15%,
            rgba(50, 30, 5, 0.75) 100%
        );
}

/* Vintage border for history swiper */
.history-swiper .swiper-slide {
    position: relative;
    padding: 10px;
    background: linear-gradient(
        135deg,
        rgba(139, 90, 43, 0.6) 0%,
        rgba(188, 155, 100, 0.4) 50%,
        rgba(139, 90, 43, 0.6) 100%
    );
    border-radius: 3px;
    -webkit-box-shadow:
        inset 0 0 15px rgba(100, 60, 20, 0.3),
        0 6px 20px rgba(0, 0, 0, 0.5);
            box-shadow:
        inset 0 0 15px rgba(100, 60, 20, 0.3),
        0 6px 20px rgba(0, 0, 0, 0.5);
}

/* ========================================
   COOKIE CONSENT BANNER
   ======================================== */

.cookie-consent {
    position: fixed;
    left: 1.25rem;
    bottom: 1.25rem;
    z-index: 1050;
    width: min(540px, calc(100vw - 2.5rem));
    font-family: 'Avenir', sans-serif;
    -webkit-animation: cookieConsentIn 0.35s ease both;
            animation: cookieConsentIn 0.35s ease both;
}

@-webkit-keyframes cookieConsentIn {
    from { opacity: 0; -webkit-transform: translateY(12px); transform: translateY(12px); }
    to   { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}
@keyframes cookieConsentIn {
    from { opacity: 0; -webkit-transform: translateY(12px); transform: translateY(12px); }
    to   { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}

.cookie-consent__inner {
    background: #ffffff;
    border: 1px solid rgba(7, 72, 124, 0.08);
    border-radius: 16px;
    padding: 1.25rem 1.35rem 1.15rem;
    -webkit-box-shadow: 0 12px 40px rgba(3, 28, 48, 0.14);
            box-shadow: 0 12px 40px rgba(3, 28, 48, 0.14);
}

.cookie-consent__header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.cookie-consent__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--blue-500);
    margin: 0;
    line-height: 1.3;
}

.cookie-consent__close {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #6c757d;
    border-radius: 50%;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    padding: 0;
    line-height: 1;
}

.cookie-consent__close:hover {
    background: var(--blue-50);
    color: var(--blue-500);
}

.cookie-consent__desc {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #494947;
    margin: 0 0 1rem;
    font-weight: 400;
}

.cookie-consent__link {
    color: #f18924;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
}

.cookie-consent__link:hover {
    color: var(--blue-500);
}

.cookie-consent__prefs {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 0.65rem;
    margin: 0 0 1rem;
    padding: 0.75rem 0 0.15rem;
    border-top: 1px solid rgba(7, 72, 124, 0.08);
}

.cookie-consent__row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 0.75rem;
}

.cookie-consent__row-text {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.cookie-consent__label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--blue-500);
}

.cookie-consent__hint {
    font-size: 0.75rem;
    line-height: 1.4;
    color: #6c757d;
    font-weight: 400;
}

.cookie-consent__switch .form-check-input {
    width: 2.4rem;
    height: 1.25rem;
    cursor: pointer;
    background-color: #ced4da;
    border-color: #ced4da;
}

.cookie-consent__switch .form-check-input:checked {
    background-color: #f18924;
    border-color: #f18924;
}

.cookie-consent__switch .form-check-input:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.cookie-consent__switch .form-check-input:focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(241, 137, 36, 0.25);
            box-shadow: 0 0 0 0.2rem rgba(241, 137, 36, 0.25);
}

.cookie-consent__actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    gap: 0.4rem;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.cookie-consent__btn {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 0;
            flex: 1 1 0;
    min-width: 0;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0;
    padding: 0.5rem 0.55rem;
    line-height: 1.2;
    white-space: nowrap;
    text-align: center;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

.cookie-consent__btn--primary {
    background: #f18924;
    border: 2px solid #f18924;
    color: #ffffff;
}

.cookie-consent__btn--primary:hover {
    background: #e07a18;
    border-color: #e07a18;
    color: #ffffff;
    -webkit-transform: translateY(-1px);
            transform: translateY(-1px);
}

.cookie-consent__btn--outline {
    background: transparent;
    border: 2px solid var(--blue-500);
    color: var(--blue-500);
}

.cookie-consent__btn--outline:hover {
    background: var(--blue-500);
    color: #ffffff;
}

.cookie-consent__btn--text {
    background: transparent;
    border: 2px solid rgba(7, 72, 124, 0.2);
    color: #6c757d;
}

.cookie-consent__btn--text:hover {
    color: var(--blue-500);
    background: var(--blue-50);
}

.cookie-consent-chip {
    position: fixed;
    left: 1.25rem;
    bottom: 1.25rem;
    z-index: 1040;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background: var(--blue-500);
    color: #ffffff;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-shadow: 0 4px 16px var(--blue-opacity-30);
            box-shadow: 0 4px 16px var(--blue-opacity-30);
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    padding: 0;
}

.cookie-consent-chip:hover {
    background: #f18924;
    -webkit-transform: translateY(-2px);
            transform: translateY(-2px);
    color: #ffffff;
}

.cookie-consent-chip i {
    font-size: 1.15rem;
}

@media (max-width: 575.98px) {
    .cookie-consent {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        width: auto;
    }

    .cookie-consent__actions {
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    }

    .cookie-consent__btn {
        -webkit-box-flex: 1;
            -ms-flex: 1 1 calc(50% - 0.2rem);
                flex: 1 1 calc(50% - 0.2rem);
        font-size: 0.75rem;
    }

    .cookie-consent__btn--primary {
        -webkit-box-flex: 1;
            -ms-flex: 1 1 100%;
                flex: 1 1 100%;
    }

    .cookie-consent-chip {
        left: 0.75rem;
        bottom: 0.75rem;
        width: 44px;
        height: 44px;
    }
}

/* ==========================================================================
   DESTINY CHURCH — DESIGN SYSTEM (september 2026 redesign)
   Huisstijl: zwart/wit hoofdkleuren, oranje spaarzaam als accent,
   Avenir (Black voor koppen), beeld met subtiel masker.
   Everything below intentionally wins over legacy rules above.
   ========================================================================== */

:root {
    --dc-black: #0b0b0b;
    --dc-anthracite: #1c1c1c;
    --dc-white: #ffffff;
    --dc-grey: #f3f3f1;          /* lichtgrijs */
    --dc-grey-line: #e4e4e0;
    --dc-text: #161616;
    --dc-muted: #5c5c58;
    --dc-orange: #f18924;
    --dc-orange-dark: #d9741a;
    --dc-kids-blue: #36a9e1;     /* alleen voor Destiny Kids */
    --dc-radius: 1rem;
    --dc-shadow: 0 12px 32px rgba(0, 0, 0, 0.10);
    --dc-nav-h: 4.5rem;
}

/* ---------- Typography ---------- */
.dc-eyebrow {
    display: inline-block;
    color: var(--dc-orange);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.dc-display {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.02;
    font-size: clamp(2.2rem, 5.2vw, 4.25rem);
    margin-bottom: 1.25rem;
}

.dc-display--sm {
    font-size: clamp(1.9rem, 3.6vw, 3rem);
}

.dc-h3 {
    font-weight: 900;
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.dc-h4 {
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.dc-lead {
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    line-height: 1.65;
    font-weight: 400;
    max-width: 44rem;
}

.dc-body {
    font-size: 1.05rem;
    line-height: 1.75;
    font-weight: 400;
}

.dc-body p:last-child { margin-bottom: 0; }

.dc-body strong {
    color: var(--dc-text);
    font-weight: 700;
}

.dc-quote {
    font-weight: 900;
    font-size: clamp(1.5rem, 2.6vw, 2.25rem);
    line-height: 1.25;
}

.text-orange { color: var(--dc-orange) !important; }
.text-dc-muted { color: var(--dc-muted) !important; }

/* ---------- Buttons (one system, both buttons identical) ---------- */
.btn-dc,
.btn-dc--dark,
.btn-dc--orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 2.1rem;
    border-radius: 50rem;
    border: 2px solid var(--dc-white);
    background: transparent;
    color: var(--dc-white);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.2;
    white-space: nowrap;
    -webkit-transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}

.btn-dc:hover,
.btn-dc:focus-visible {
    background: var(--dc-white);
    color: var(--dc-black);
    border-color: var(--dc-white);
    -webkit-transform: translateY(-2px);
            transform: translateY(-2px);
}

.btn-dc--dark {
    border-color: var(--dc-black);
    color: var(--dc-black);
}

.btn-dc--dark:hover,
.btn-dc--dark:focus-visible {
    background: var(--dc-black);
    color: var(--dc-white);
    border-color: var(--dc-black);
    -webkit-transform: translateY(-2px);
            transform: translateY(-2px);
}

.btn-dc--orange {
    background: var(--dc-orange);
    border-color: var(--dc-orange);
    color: var(--dc-white);
}

.btn-dc--orange:hover,
.btn-dc--orange:focus-visible {
    background: var(--dc-orange-dark);
    border-color: var(--dc-orange-dark);
    color: var(--dc-white);
    -webkit-transform: translateY(-2px);
            transform: translateY(-2px);
}

.btn-dc:disabled, .btn-dc--dark:disabled, .btn-dc--orange:disabled {
    opacity: .6;
    -webkit-transform: none;
            transform: none;
}

.btn-dc--sm {
    padding: 0.65rem 1.4rem;
    font-size: 0.72rem;
}

.dc-link {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid var(--dc-orange);
    padding-bottom: 0.1rem;
    -webkit-transition: color .2s ease;
    transition: color .2s ease;
}

.dc-link:hover { color: var(--dc-orange); }

.dc-btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Legacy button classes: neutralise the off-brand purple hover */
.btn-primary-custom:hover,
.btn-outline-custom:hover {
    color: var(--dc-black) !important;
}

/* ---------- Hero ---------- */
.dc-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 72vh;
    padding-top: calc(var(--dc-nav-h) + 3rem);
    padding-bottom: 3.5rem;
    color: var(--dc-white);
    background-color: var(--dc-black);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.dc-hero--tall { min-height: 100vh; }
.dc-hero--short { min-height: 58vh; }

.dc-hero__mask {
    position: absolute;
    inset: 0;
    /* Lightest stack that still ~3:1 white headline AA on brightest heroes (build3 / geven plate) */
    background:
        linear-gradient(to right, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.1) 38%, transparent 62%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 42%, rgba(0, 0, 0, 0.78) 100%);
    z-index: 1;
}

/* Light edge help only — mask carries the contrast */
.dc-hero .dc-display,
.dc-hero .dc-lead,
.dc-hero .dc-eyebrow,
.dc-home-hero .dc-display,
.dc-home-hero .dc-eyebrow {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.dc-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Optional photo layer: same cover/center as the section background, but transformable → slow cinematic settle on load */
.dc-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    -webkit-transform-origin: center;
            transform-origin: center;
}

.dc-hero--zoom .dc-hero__bg {
    -webkit-animation: dcHeroSettle 14s cubic-bezier(0.2, 0.7, 0.2, 1) both;
            animation: dcHeroSettle 14s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

/* Hero background carousel (fade between slides) */
.dc-hero__carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
    -webkit-transform-origin: center;
            transform-origin: center;
}

.dc-hero--zoom .dc-hero__carousel {
    -webkit-animation: dcHeroSettle 14s cubic-bezier(0.2, 0.7, 0.2, 1) both;
            animation: dcHeroSettle 14s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.dc-hero__carousel .dc-hero__bg {
    opacity: 0;
    -webkit-animation: none;
            animation: none;
    -webkit-transition: opacity 0.9s ease;
    transition: opacity 0.9s ease;
    pointer-events: none;
}

.dc-hero__carousel .dc-hero__bg.is-active {
    opacity: 1;
}

.dc-hero__dots {
    position: absolute;
    left: 50%;
    bottom: 1.35rem;
    z-index: 3;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 0.55rem;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
}

.dc-hero__dots button {
    width: 0.55rem;
    height: 0.55rem;
    padding: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.75);
    background: transparent;
    cursor: pointer;
    -webkit-transition: background-color 0.25s ease, border-color 0.25s ease, -webkit-transform 0.25s ease;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.dc-hero__dots button.is-active {
    background: var(--dc-orange);
    border-color: var(--dc-orange);
    -webkit-transform: scale(1.15);
            transform: scale(1.15);
}

.dc-hero__dots button:focus-visible {
    outline: 2px solid var(--dc-orange);
    outline-offset: 3px;
}

@-webkit-keyframes dcHeroSettle { from { -webkit-transform: scale(1.1); transform: scale(1.1); } to { -webkit-transform: scale(1); transform: scale(1); } }
@keyframes dcHeroSettle { from { -webkit-transform: scale(1.1); transform: scale(1.1); } to { -webkit-transform: scale(1); transform: scale(1); } }

.dc-hero .dc-lead {
    color: rgba(255,255,255,0.88);
}

.dc-hero__panel {
    background: rgba(12,12,12,0.78);
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--dc-radius);
    padding: 1.25rem;
}

@media (min-width: 992px) {
    .dc-hero__panel { padding: 1.75rem; }
}

/* Fact strip (service times / address) */
.dc-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 0;
    margin-top: 2.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.18);
}

.dc-fact {
    flex: 1 1 200px;
    padding-right: 1.5rem;
}

.dc-fact + .dc-fact {
    padding-left: 1.5rem;
    border-left: 1px solid rgba(255,255,255,0.18);
}

.dc-fact__label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--dc-orange);
    margin-bottom: 0.25rem;
}

.dc-fact__value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dc-white);
    line-height: 1.35;
}

.dc-fact__value a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.35);
}

.dc-fact__value a:hover { border-color: var(--dc-orange); color: var(--dc-orange); }

@media (max-width: 575.98px) {
    .dc-fact { flex: 1 1 100%; padding-right: 0; }
    .dc-fact + .dc-fact { padding-left: 0; border-left: 0; }
}

/* ---------- Sections ---------- */
.dc-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background: var(--dc-white);
    color: var(--dc-text);
}

.dc-section--grey { background: var(--dc-grey); }

.dc-section--dark {
    background: var(--dc-black);
    color: var(--dc-white);
}

.dc-section--anthracite {
    background: var(--dc-anthracite);
    color: var(--dc-white);
}

.dc-section[id] {
    scroll-margin-top: calc(var(--dc-nav-h, 4.5rem) + 3.75rem);
}

.dc-section--tight {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

@media (min-width: 992px) {
    .dc-section { padding-top: 6.5rem; padding-bottom: 6.5rem; }
    .dc-section--tight { padding-top: 3rem; padding-bottom: 3rem; }
}

.dc-section .dc-body { color: var(--dc-muted); }
.dc-section .dc-lead { color: var(--dc-muted); }
.dc-section--dark .dc-lead,
.dc-section--anthracite .dc-lead { color: rgba(255,255,255,0.86); }
.dc-section--dark .dc-body,
.dc-section--anthracite .dc-body { color: rgba(255,255,255,0.82); }

.dc-section-head {
    max-width: 46rem;
    margin-bottom: 3rem;
}

.dc-section-head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.dc-section-head--center .dc-lead { margin-left: auto; margin-right: auto; }

/* Alternating media rows */
.dc-row + .dc-row { margin-top: 4rem; }

@media (min-width: 992px) {
    .dc-row + .dc-row { margin-top: 5.5rem; }
}

.dc-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--dc-radius);
    -webkit-filter: saturate(0.92) brightness(0.94);
            filter: saturate(0.92) brightness(0.94);
    box-shadow: var(--dc-shadow);
}

.dc-img--portrait { aspect-ratio: 4 / 5; }
.dc-img--wide { aspect-ratio: 16 / 9; }

/* Icon bullet */
.dc-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(241,137,36,0.12);
    color: var(--dc-orange);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.dc-section--dark .dc-icon { background: rgba(255,255,255,0.08); }

.dc-check {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dc-check li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.dc-check li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 50%;
    background: var(--dc-orange);
    -webkit-mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%23000' d='M13.485 1.929a1 1 0 0 1 .03 1.414l-7.07 7.5a1 1 0 0 1-1.45 0L1.485 7.343a1 1 0 1 1 1.444-1.383l2.79 2.936 6.352-6.737a1 1 0 0 1 1.414-.03z'/%3e%3c/svg%3e") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%23000' d='M13.485 1.929a1 1 0 0 1 .03 1.414l-7.07 7.5a1 1 0 0 1-1.45 0L1.485 7.343a1 1 0 1 1 1.444-1.383l2.79 2.936 6.352-6.737a1 1 0 0 1 1.414-.03z'/%3e%3c/svg%3e") center / contain no-repeat;
}

/* ---------- Cards & tiles ---------- */
.dc-card {
    background: var(--dc-white);
    border: 1px solid var(--dc-grey-line);
    border-radius: var(--dc-radius);
    padding: 2rem;
    height: 100%;
    color: var(--dc-text);
    -webkit-transition: transform .25s ease, box-shadow .25s ease;
    transition: transform .25s ease, box-shadow .25s ease;
}

.dc-card:hover {
    -webkit-transform: translateY(-4px);
            transform: translateY(-4px);
    box-shadow: var(--dc-shadow);
}

/* Static card (forms): no hover lift, natural height */
.dc-card--static,
form.dc-card {
    height: auto;
}

.dc-card--static:hover,
form.dc-card:hover {
    -webkit-transform: none;
            transform: none;
    box-shadow: none;
}

.dc-card--dark {
    background: var(--dc-anthracite);
    border-color: rgba(255,255,255,0.08);
    color: var(--dc-white);
}

.dc-card--dark .dc-body { color: rgba(255,255,255,0.8); }

.dc-card__title {
    font-weight: 900;
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

/* Photo tile with label (serve rota, featured event) */
.dc-tile {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: var(--dc-radius);
    overflow: hidden;
    background: var(--dc-anthracite);
    color: var(--dc-white);
    text-decoration: none;
}

.dc-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-filter: saturate(0.9) brightness(0.85);
            filter: saturate(0.9) brightness(0.85);
    -webkit-transition: transform .5s ease;
    transition: transform .5s ease;
}

.dc-tile:hover img {
    -webkit-transform: scale(1.04);
            transform: scale(1.04);
}

.dc-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0) 100%);
}

.dc-tile__label {
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1;
    font-weight: 900;
    font-size: 1.25rem;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.dc-tile__label small {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    color: var(--dc-orange);
    margin-bottom: 0.35rem;
}

.dc-tile--wide { aspect-ratio: 16 / 9; }

/* ---------- Serve panels (home): hovered panel expands, others slim down ---------- */
.dc-paths {
    --dc-path-ease: cubic-bezier(0.76, 0, 0.24, 1);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.dc-path {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    min-width: 0;
    overflow: hidden;
    border-radius: var(--dc-radius);
    background: var(--dc-anthracite);
    color: var(--dc-white);
    text-decoration: none;
    isolation: isolate;
    -webkit-transition: flex .85s var(--dc-path-ease);
    transition: flex .85s var(--dc-path-ease);
}

.dc-path:hover, .dc-path:focus-visible { color: var(--dc-white); outline: none; }

.dc-path__media { position: absolute; inset: 0; overflow: hidden; }

.dc-path__media img {
    width: 112%;
    height: 112%;
    max-width: none;
    object-fit: cover;
    object-position: var(--dc-path-pos, center);
    -webkit-filter: saturate(0.85) brightness(0.9);
            filter: saturate(0.85) brightness(0.9);
    -webkit-transform: translate3d(var(--dc-path-x, 0), var(--dc-path-y, 0), 0) scale(1.08);
            transform: translate3d(var(--dc-path-x, 0), var(--dc-path-y, 0), 0) scale(1.08);
    -webkit-transition: transform .9s var(--dc-path-ease), filter .85s var(--dc-path-ease);
    transition: transform .9s var(--dc-path-ease), filter .85s var(--dc-path-ease);
    will-change: transform;
}

.dc-path__veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 10%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.88) 100%);
    -webkit-transition: background .7s var(--dc-path-ease);
    transition: background .7s var(--dc-path-ease);
}

.dc-path__index {
    position: absolute;
    top: 1.1rem;
    left: 1.25rem;
    z-index: 2;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.65);
    -webkit-transition: color .5s var(--dc-path-ease);
    transition: color .5s var(--dc-path-ease);
}

.dc-path__copy {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 2;
    padding: 1.5rem 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    overflow: hidden;
}

.dc-path__title {
    font-weight: 900;
    font-size: clamp(1.15rem, 1.7vw, 1.75rem);
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    max-width: 100%;
    -webkit-transition: opacity .45s var(--dc-path-ease), transform .55s var(--dc-path-ease);
    transition: opacity .45s var(--dc-path-ease), transform .55s var(--dc-path-ease);
}

.dc-path__rule {
    display: block;
    width: 2.5rem;
    height: 2px;
    background: var(--dc-orange);
    -webkit-transition: width .75s var(--dc-path-ease) .05s;
    transition: width .75s var(--dc-path-ease) .05s;
}

.dc-path__text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.86);
    max-width: 26ch;
}

.dc-path__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.25rem;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dc-white);
}

.dc-path__cta i {
    -webkit-transition: transform .55s var(--dc-path-ease);
    transition: transform .55s var(--dc-path-ease);
}

/* Video layer (injected by JS on first activation; the <img> stays as poster) */
.dc-path__media video {
    position: absolute;
    top: 0; left: 0;
    width: 112%;
    height: 112%;
    max-width: none;
    object-fit: cover;
    object-position: var(--dc-path-pos, center);
    opacity: 0;
    pointer-events: none;
    -webkit-filter: saturate(0.85) brightness(0.9);
            filter: saturate(0.85) brightness(0.9);
    -webkit-transform: translate3d(var(--dc-path-x, 0), var(--dc-path-y, 0), 0) scale(1.08);
            transform: translate3d(var(--dc-path-x, 0), var(--dc-path-y, 0), 0) scale(1.08);
    -webkit-transition: opacity .7s var(--dc-path-ease) .15s, transform .9s var(--dc-path-ease), filter .85s var(--dc-path-ease);
    transition: opacity .7s var(--dc-path-ease) .15s, transform .9s var(--dc-path-ease), filter .85s var(--dc-path-ease);
}

.dc-path.is-playing:is(:hover, :focus-visible, .is-active) .dc-path__media video { opacity: 1; }

/* Desktop: one flex row; hover, keyboard focus or the idle auto-cycle (.is-active) expands a panel */
@media (min-width: 992px) {
    .dc-paths {
        display: flex;
        gap: 0.65rem;
        height: min(64vh, 540px);
    }

    .dc-path {
        flex: 1 1 0;
        aspect-ratio: auto;
    }

    .dc-path__title { white-space: nowrap; overflow: hidden; }

    .dc-path__text,
    .dc-path__cta {
        opacity: 0;
        max-height: 0;            /* collapsed so all titles sit on the same baseline at rest */
        margin-top: 0;
        -webkit-transform: translateY(1rem);
                transform: translateY(1rem);
        -webkit-transition: opacity .55s var(--dc-path-ease) .08s, transform .7s var(--dc-path-ease) .08s, max-height .6s var(--dc-path-ease);
        transition: opacity .55s var(--dc-path-ease) .08s, transform .7s var(--dc-path-ease) .08s, max-height .6s var(--dc-path-ease);
    }

    .dc-path__copy { gap: 0; }
    .dc-path__rule { margin: 0.6rem 0; width: 0; }
    .dc-path__cta { -webkit-transition-delay: .14s; transition-delay: .14s; }

    /* Siblings of the expanded panel slim down and dim */
    .dc-paths:is(:hover, :focus-within, .has-active) .dc-path:not(:hover, :focus-visible, .is-active) { flex: 0.6 1 0; }

    .dc-paths:is(:hover, :focus-within, .has-active) .dc-path:not(:hover, :focus-visible, .is-active) .dc-path__media img {
        -webkit-filter: saturate(0.5) brightness(0.7);
                filter: saturate(0.5) brightness(0.7);
    }

    .dc-paths:is(:hover, :focus-within, .has-active) .dc-path:not(:hover, :focus-visible, .is-active) .dc-path__title {
        opacity: 0;
        -webkit-transform: translateY(0.35rem);
                transform: translateY(0.35rem);
    }

    /* Expanded panel */
    .dc-path:is(:hover, :focus-visible, .is-active) { flex: 2.2 1 0; }

    .dc-path:is(:hover, :focus-visible, .is-active) .dc-path__media img,
    .dc-path:is(:hover, :focus-visible, .is-active) .dc-path__media video {
        -webkit-filter: saturate(1) brightness(0.95);
                filter: saturate(1) brightness(0.95);
        -webkit-transform: translate3d(var(--dc-path-x, 0), var(--dc-path-y, 0), 0) scale(1.14);
                transform: translate3d(var(--dc-path-x, 0), var(--dc-path-y, 0), 0) scale(1.14);
    }

    .dc-path:is(:hover, :focus-visible, .is-active) .dc-path__index { color: var(--dc-orange); }
    .dc-path:is(:hover, :focus-visible, .is-active) .dc-path__rule { width: 3rem; }
    .dc-path:is(:hover, :focus-visible, .is-active) .dc-path__cta i { -webkit-transform: translateX(5px); transform: translateX(5px); }

    .dc-path:is(:hover, :focus-visible, .is-active) .dc-path__text,
    .dc-path:is(:hover, :focus-visible, .is-active) .dc-path__cta {
        opacity: 1;
        -webkit-transform: translateY(0);
                transform: translateY(0);
    }
    .dc-path:is(:hover, :focus-visible, .is-active) .dc-path__text { max-height: 6rem; }
    .dc-path:is(:hover, :focus-visible, .is-active) .dc-path__cta { max-height: 2rem; margin-top: 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
    .dc-path, .dc-path__media img, .dc-path__media video, .dc-path__title, .dc-path__text, .dc-path__cta, .dc-path__rule {
        -webkit-transition: none !important;
                transition: none !important;
    }
}

/* Video card (sermon tiles) */
.dc-video-card {
    display: block;
    color: inherit;
    text-decoration: none;
    border-radius: var(--dc-radius);
    overflow: hidden;
    background: var(--dc-white);
    border: 1px solid var(--dc-grey-line);
    height: 100%;
    -webkit-transition: transform .25s ease, box-shadow .25s ease;
    transition: transform .25s ease, box-shadow .25s ease;
}

.dc-video-card:hover {
    -webkit-transform: translateY(-4px);
            transform: translateY(-4px);
    box-shadow: var(--dc-shadow);
}

.dc-video-card__thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--dc-anthracite);
    overflow: hidden;
}

.dc-video-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dc-video-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dc-white);
    font-size: 2.5rem;
    background: rgba(0,0,0,0.25);
    opacity: 0;
    -webkit-transition: opacity .25s ease;
    transition: opacity .25s ease;
}

.dc-video-card:hover .dc-video-card__play { opacity: 1; }

.dc-video-card__body { padding: 1.1rem 1.25rem 1.25rem; }

.dc-video-card__title {
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.35;
    margin-bottom: 0.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dc-video-card__meta {
    font-size: 0.82rem;
    color: var(--dc-muted);
}

/* Embedded video frame */
.dc-frame {
    position: relative;
    border-radius: var(--dc-radius);
    overflow: hidden;
    background: #000;
    box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}

.dc-frame iframe,
.dc-frame video { display: block; width: 100%; height: 100%; border: 0; }

/* a poster button inside a .ratio frame must overlay the ratio spacer, not stack under it
   (.dc-video-card__thumb sets position: relative, which would otherwise beat Bootstrap's .ratio > *) */
.ratio > .dc-video-card__thumb {
    position: absolute;
    inset: 0;
    display: block;
    aspect-ratio: auto;
}

/* Live indicator */
.dc-live {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 900;
    color: var(--dc-white);
    background: #d9261c;
    border-radius: 50rem;
    padding: 0.35rem 0.85rem;
}

.dc-live::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--dc-white);
    -webkit-animation: dcPulse 1.4s ease-in-out infinite;
            animation: dcPulse 1.4s ease-in-out infinite;
}

@-webkit-keyframes dcPulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }
@keyframes dcPulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }

/* ---------- CTA band ---------- */
.dc-cta {
    position: relative;
    padding: 6rem 0;
    color: var(--dc-white);
    background-color: var(--dc-black);
    background-size: cover;
    background-position: center;
    text-align: center;
    overflow: hidden;
}

.dc-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.dc-cta > .container { position: relative; z-index: 1; }

.dc-cta .dc-lead {
    color: rgba(255,255,255,0.86);
    margin-left: auto;
    margin-right: auto;
}

.dc-cta .dc-btn-row { justify-content: center; }

/* ---------- Events list ---------- */
.dc-day {
    border-top: 1px solid var(--dc-grey-line);
    padding: 1.5rem 0;
}

.dc-day:last-child { border-bottom: 1px solid var(--dc-grey-line); }

.dc-day__date {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.dc-day__num {
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1;
}

.dc-day__label {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--dc-muted);
}

@media (min-width: 768px) {
    .dc-day { display: grid; grid-template-columns: 9rem 1fr; gap: 1.5rem; }
    .dc-day__date { display: block; margin-bottom: 0; }
    .dc-day__num { display: block; font-size: 2.6rem; }
}

.dc-event {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.25rem 1.5rem;
    align-items: start;
    padding: 0.9rem 0.75rem;
    margin: 0 -0.75rem;   /* never wider than the Bootstrap container gutter */
    border-radius: 0.75rem;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    -webkit-transition: background-color .2s ease;
    transition: background-color .2s ease;
}

.dc-event:hover { background: var(--dc-grey); }

.dc-event--img {
    grid-template-columns: 4.5rem 1fr auto;
}

.dc-event__img {
    display: none;
    width: 4.5rem;
    height: 4.5rem;
    object-fit: cover;
    border-radius: 0.6rem;
    background: var(--dc-grey);
}

.dc-event__img.is-loaded {
    display: block;
}

.dc-event-modal__img {
    display: none;
    aspect-ratio: 21 / 9;
    object-fit: cover;
}

.dc-event-modal__img.is-loaded {
    display: block;
}

.dc-event__title {
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.3;
    margin: 0;
}

.dc-event__meta {
    grid-column: 1 / -1;
    font-size: 0.9rem;
    color: var(--dc-muted);
}

.dc-event--img .dc-event__meta { grid-column: 2 / -1; }

.dc-event__time {
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
    color: var(--dc-text);
}

@media (min-width: 768px) {
    .dc-event__meta { grid-column: auto; }
    .dc-event { grid-template-columns: 1fr auto; }
    .dc-event--img { grid-template-columns: 4.5rem 1fr auto; }
    .dc-event--img .dc-event__meta { grid-column: 2; }
}

/* ---------- Pills (contact categories) ---------- */
.dc-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.dc-pills .dc-pill {
    border: 2px solid var(--dc-grey-line);
    background: var(--dc-white);
    color: var(--dc-text);
    border-radius: 50rem;
    padding: 0.6rem 1.15rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}

.dc-pills .dc-pill:hover { border-color: var(--dc-black); }

.dc-pills .dc-pill.active {
    background: var(--dc-black);
    border-color: var(--dc-black);
    color: var(--dc-white);
}

/* ---------- Forms (brand focus colour, override legacy purple) ---------- */
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: var(--dc-orange) !important;
    box-shadow: 0 0 0 0.2rem rgba(241,137,36,0.2) !important;
}

.form-check-input:checked {
    background-color: var(--dc-orange);
    border-color: var(--dc-orange);
}

.dc-form .form-label {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--dc-muted);
}

.dc-form .form-control,
.dc-form .form-select {
    border: 1px solid var(--dc-grey-line);
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
    background: var(--dc-white);
}

.dc-form textarea.form-control {
    font-family: inherit;
    font-size: 1rem;
    color: var(--dc-text);
    padding: 0.85rem 1rem !important;
    height: auto;          /* legacy global textarea { height:100% } breaks flow */
    min-height: 9rem;
    overflow: auto;
    resize: vertical;
}

.dc-hero__panel textarea.form-control { color: var(--dc-white); }

.dc-form .form-control::placeholder { color: #a3a39e; }

/* Compact hero form (giving) */
.dc-hero__panel .form-label { color: rgba(255,255,255,0.7); }

.dc-hero__panel .form-control,
.dc-hero__panel .form-select {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.18);
    color: var(--dc-white);
}

.dc-hero__panel .form-control::placeholder { color: rgba(255,255,255,0.45); }

.dc-hero__panel .form-select option { color: var(--dc-text); }

.dc-hero__panel .form-check-label { color: rgba(255,255,255,0.85); font-size: 0.9rem; }

.dc-hero__panel .form-check-label a { color: var(--dc-white); }

.dc-hero__panel .giving-type-radio label {
    background: transparent;
    border-color: rgba(255,255,255,0.25);
    color: var(--dc-white);
}

.dc-hero__panel .giving-type-radio input[type="radio"]:checked + label {
    background: var(--dc-white);
    border-color: var(--dc-white);
    color: var(--dc-black);
}

.dc-hero__panel .giving-type-radio-group { margin-bottom: 1.25rem; }

.dc-hero__panel .form-check-label img { -webkit-filter: none; filter: none; }

/* ---------- FAQ (brand colours) ---------- */
.faq-accordion .accordion-button:not(.collapsed),
.faq-accordion .accordion-button:hover { color: var(--dc-orange); }

.faq-accordion .accordion-button::after,
.faq-accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23161616'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-accordion .accordion-body { color: var(--dc-muted); }

.faq-accordion .accordion-body a {
    color: var(--dc-text);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid var(--dc-orange);
}

.faq-accordion .accordion-body a:hover { color: var(--dc-orange); }

/* ---------- Bank cards (brand) ---------- */
.dc-bank {
    background: var(--dc-white);
    border: 1px solid var(--dc-grey-line);
    border-left: 4px solid var(--dc-orange);
    border-radius: var(--dc-radius);
    padding: 1.5rem 1.75rem;
    height: 100%;
}

.dc-bank__label {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--dc-muted);
    margin-bottom: 0.5rem;
}

.dc-bank__value {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dc-text);
    word-break: break-all;
    margin: 0;
}

/* ---------- Trust points (giving hero) ---------- */
.dc-trust {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
}

.dc-trust i { color: var(--dc-orange); }

/* ---------- App section (dark, per huisstijl) ---------- */
.dc-app,
section.mobile-app-links-section.dc-app {
    background: var(--dc-black);
    color: var(--dc-white);
    padding: 4rem 0;
    -webkit-filter: none;   /* legacy rule faked dark via invert(); this is dark by design */
            filter: none;
}

.dc-app .dc-lead { color: rgba(255,255,255,0.88); }
.dc-app .dc-body,
.dc-app .text-dc-muted,
.dc-app .dc-muted-note { color: rgba(255,255,255,0.6) !important; }

.dc-app__badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0.6;
}

.dc-app__badges img {
    height: 48px;
    width: auto;
    -webkit-filter: none;   /* badges are already black-on-white artwork; no invert */
            filter: none;
}
/* ---------- Map card ---------- */
.dc-map {
    position: relative;
    border-radius: var(--dc-radius);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.45);
    min-height: 320px;
    background: var(--dc-anthracite);
}

.dc-map dmx-google-maps,
.dc-map .dmx-google-maps,
.dc-map > div[is="dmx-google-maps"] { min-height: 320px; }

.dc-map__card {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 2;
    background: var(--dc-white);
    color: var(--dc-text);
    border-radius: 0.75rem;
    padding: 1rem 1.15rem;
    box-shadow: var(--dc-shadow);
    max-width: 16rem;
}

/* ---------- News card ---------- */
.dc-news {
    display: grid;
    gap: 0;
    background: var(--dc-white);
    border: 1px solid var(--dc-grey-line);
    border-radius: var(--dc-radius);
    overflow: hidden;
    height: 100%;
    cursor: pointer;
    -webkit-transition: transform .25s ease, box-shadow .25s ease;
    transition: transform .25s ease, box-shadow .25s ease;
}

.dc-news:hover {
    -webkit-transform: translateY(-4px);
            transform: translateY(-4px);
    box-shadow: var(--dc-shadow);
}

.dc-news__img {
    aspect-ratio: 16 / 10;
    width: 100%;
    object-fit: cover;
    background: var(--dc-grey);
}

.dc-news__body { padding: 1.35rem 1.5rem 1.5rem; }

.dc-news__meta {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--dc-orange);
    margin-bottom: 0.5rem;
}

.dc-news__title {
    font-weight: 900;
    font-size: 1.2rem;
    line-height: 1.25;
    margin-bottom: 0.5rem;
}

.dc-news__text {
    color: var(--dc-muted);
    font-size: 0.98rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

/* ---------- Subnav (sticky in-page nav) brand colours ---------- */
#subnav .nav-link.active { color: var(--dc-orange) !important; }

/* ---------- Utilities ---------- */
.dc-divider {
    width: 3rem;
    height: 3px;
    background: var(--dc-orange);
    border-radius: 2px;
    margin: 1.25rem 0;
}

.dc-divider--center { margin-left: auto; margin-right: auto; }

.dc-muted-note { font-size: 0.9rem; color: var(--dc-muted); }

.object-cover { object-fit: cover; }

/* Long pages: let the browser skip layout of off-screen sections */
.dc-cv { content-visibility: auto; contain-intrinsic-size: 1px 800px; }

/* ---------- Visit page: numbered walk-through of a Sunday (same index styling as the home panels) ---------- */
.dc-steps {
    --dc-steps-tail: 0px;         /* extra space below the last step (desktop only, see media query) */
    position: relative;
    padding-left: 3.5rem;
    padding-bottom: var(--dc-steps-tail);
}

/* rail + orange progress that follows the active step */
.dc-steps::before,
.dc-steps__progress {
    content: "";
    position: absolute;
    left: 1.0625rem;              /* centre of the 2.25rem badge */
    top: 1.125rem;
    width: 2px;
    border-radius: 1px;
}

.dc-steps::before {
    bottom: calc(var(--dc-steps-tail) + 1.125rem);   /* stop at the last badge, not at the end of the tail */
    background: var(--dc-grey-line);
}

.dc-steps__progress {
    height: var(--dc-steps-progress, 0px);           /* set in px by the page script: centre of badge 01 → centre of the active badge */
    max-height: calc(100% - var(--dc-steps-tail) - 2.25rem);
    background: var(--dc-orange);
    -webkit-transition: height .5s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition: height .5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.dc-step {
    position: relative;
    padding-bottom: 3.25rem;
}

.dc-step:last-child { padding-bottom: 0; }

.dc-step__num {
    position: absolute;
    left: -3.5rem;
    top: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dc-white);
    border: 2px solid var(--dc-grey-line);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--dc-muted);
    -webkit-transition: background .35s ease, border-color .35s ease, color .35s ease;
    transition: background .35s ease, border-color .35s ease, color .35s ease;
}

.dc-step.is-active .dc-step__num {
    background: var(--dc-orange);
    border-color: var(--dc-orange);
    color: var(--dc-white);
}

.dc-step .dc-h4 { margin-bottom: 0.35rem; -webkit-transition: color .35s ease; transition: color .35s ease; }
.dc-step.is-active .dc-h4 { color: var(--dc-text); }
.dc-step__text { margin: 0; }

/* sticky image column: one image per step, crossfades with the active step (desktop) */
.dc-steps-media {
    position: relative;
    aspect-ratio: 4 / 3;          /* portrait only on desktop, where it sits sticky beside the list */
    border-radius: var(--dc-radius);
    overflow: hidden;
    background: var(--dc-anthracite);
    box-shadow: var(--dc-shadow);
}

.dc-steps-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--dc-pos, center);
    opacity: 0;
    -webkit-filter: saturate(0.92) brightness(0.94);
            filter: saturate(0.92) brightness(0.94);
    -webkit-transition: opacity .7s ease;
    transition: opacity .7s ease;
}

.dc-steps-media img.is-active { opacity: 1; }

.dc-steps-media__label {
    position: absolute;
    left: 1.25rem;
    bottom: 1.25rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(11,11,11,0.72);
    -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
    color: var(--dc-white);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.dc-steps-media__label b {
    color: var(--dc-orange);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
}

@media (min-width: 992px) {
    .dc-sticky {
        position: -webkit-sticky;
        position: sticky;
        top: calc(var(--dc-nav-h) + 1.5rem);
        /* the whole pinned block (title + intro + photo) must fit the viewport, or its bottom is never visible */
        display: flex;
        flex-direction: column;
        max-height: calc(100vh - var(--dc-nav-h) - 3rem);
    }
    .dc-steps-media {
        aspect-ratio: 4 / 5;
        flex: 0 1 auto;           /* shrinks on short screens instead of overflowing */
        min-height: 16rem;
    }
    /* the list must be taller than the pinned column for the pin to have any travel;
       the tail keeps the photo pinned while the reader is on the last step */
    .dc-step { min-height: 11rem; }
    .dc-steps { --dc-steps-tail: min(30vh, 22rem); }
}

/* larger gap between sub-sections inside one section */
.dc-row--xl { margin-top: 6.5rem; }

/* ---------- Media cards (dc-card with a photo): vertical by default, horizontal on desktop with --h ---------- */
.dc-mcard {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--dc-white);
    border: 1px solid var(--dc-grey-line);
    border-radius: var(--dc-radius);
    color: var(--dc-text);
    -webkit-transition: transform .25s ease, box-shadow .25s ease;
    transition: transform .25s ease, box-shadow .25s ease;
}

.dc-mcard:hover {
    -webkit-transform: translateY(-4px);
            transform: translateY(-4px);
    box-shadow: var(--dc-shadow);
}

.dc-mcard__media {
    position: relative;
    flex: 0 0 auto;
    aspect-ratio: 16 / 10;
    background: var(--dc-anthracite);
}

/* the photo is clipped here (not on __media) so the badge can straddle the edge */
.dc-mcard__img {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.dc-mcard__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--dc-pos, center);
    -webkit-filter: saturate(0.92) brightness(0.94);
            filter: saturate(0.92) brightness(0.94);
    -webkit-transition: transform .7s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition: transform .7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.dc-mcard:hover .dc-mcard__media img {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
}

/* icon badge straddling the photo edge */
.dc-mcard__badge {
    position: absolute;
    left: 2rem;
    bottom: 0;
    z-index: 1;
    -webkit-transform: translateY(50%);
            transform: translateY(50%);
    box-shadow: 0 0 0 4px var(--dc-white);
    background: var(--dc-white);
    -webkit-transition: background .3s ease, color .3s ease;
    transition: background .3s ease, color .3s ease;
}

.dc-mcard:hover .dc-mcard__badge {
    background: var(--dc-orange);
    color: var(--dc-white);
}

/* Kids: light blue is the huisstijl colour reserved for youth (rest = blue icon on white, hover = white icon on blue) */
.dc-mcard__badge--kids { color: var(--dc-kids-blue); }

.dc-mcard:hover .dc-mcard__badge.dc-mcard__badge--kids {
    background: var(--dc-kids-blue);
    color: var(--dc-white);
}

.dc-mcard__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 2.75rem 2rem 2rem;   /* room for the straddling badge */
}

.dc-mcard__body .dc-card__title { margin-bottom: 0.75rem; }
.dc-mcard__body .dc-body { color: var(--dc-muted); }

@media (min-width: 992px) {
    .dc-mcard--h { flex-direction: row; }
    .dc-mcard--h .dc-mcard__media { flex: 0 0 44%; aspect-ratio: auto; min-height: 18rem; }
    .dc-mcard--h .dc-mcard__badge { left: auto; right: 0; top: 2rem; bottom: auto; -webkit-transform: translateX(50%); transform: translateX(50%); }
    .dc-mcard--h .dc-mcard__body { padding: 2.25rem 2.25rem 2.25rem 3.25rem; }
    .dc-mcard--h.dc-mcard--flip { flex-direction: row-reverse; }
    .dc-mcard--h.dc-mcard--flip .dc-mcard__badge { right: auto; left: 0; -webkit-transform: translateX(-50%); transform: translateX(-50%); }
    .dc-mcard--h.dc-mcard--flip .dc-mcard__body { padding: 2.25rem 3.25rem 2.25rem 2.25rem; }
}

@media (prefers-reduced-motion: reduce) {
    .dc-mcard, .dc-mcard__media img, .dc-mcard__badge { -webkit-transition: none; transition: none; }
    .dc-mcard:hover .dc-mcard__media img { -webkit-transform: none; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .dc-steps__progress, .dc-step__num, .dc-steps-media img { -webkit-transition: none; transition: none; }
}

/* ---------- About story cards: same edge-to-edge media + round straddling icons as Bezoek ons,
   scaled for longer editorial chapters (lead + body + orange callout) ---------- */
.dc-stories {
    display: grid;
    gap: 1.5rem;
}

.dc-mcard--story {
    height: auto;
}

.dc-mcard--story .dc-h3 { margin-bottom: 0; }
.dc-mcard--story .dc-divider { margin: 0.9rem 0 1.25rem; }

.dc-mcard--story .dc-lead {
    font-size: clamp(1.08rem, 1.3vw, 1.2rem);
    line-height: 1.65;
    font-weight: 500;
    color: var(--dc-text);
    max-width: none;
}

.dc-mcard--story .dc-body p {
    margin-bottom: 0.85rem;
}

.dc-mcard--story .dc-body p:last-child { margin-bottom: 0; }

.dc-mcard--story__callout {
    font-size: 1.08rem !important;
    font-weight: 800 !important;
    color: var(--dc-text) !important;
    border-left: 3px solid var(--dc-orange);
    padding-left: 1rem;
    margin-top: 1.15rem !important;
}

@media (min-width: 992px) {
    .dc-stories { gap: 2.25rem; }

    .dc-mcard--story.dc-mcard--h .dc-mcard__media {
        flex: 0 0 42%;
        min-height: 24rem;
    }

    .dc-mcard--story.dc-mcard--h .dc-mcard__body {
        justify-content: center;
        padding: 3rem 3.25rem 3rem 3.75rem;
    }

    .dc-mcard--story.dc-mcard--h.dc-mcard--flip .dc-mcard__body {
        padding: 3rem 3.75rem 3rem 3.25rem;
    }

    .dc-mcard--story .dc-mcard__body .dc-body { max-width: 36rem; }
}

/* Vision: one dark statement panel. The pulpit photo bleeds in from the right; its own black left half does the blending. */
.dc-vision {
    position: relative;
    overflow: hidden;
    border-radius: var(--dc-radius);
    background: var(--dc-black);
    color: var(--dc-white);
    box-shadow: var(--dc-shadow);
}

.dc-vision__media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--dc-black);
}

.dc-vision__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 55% 40%;
    -webkit-filter: saturate(0.9) brightness(0.92);
            filter: saturate(0.9) brightness(0.92);
}

.dc-vision__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(11,11,11,0) 55%, var(--dc-black) 100%);
}

.dc-vision__body {
    position: relative;
    z-index: 1;
    padding: 0.5rem 1.5rem 2.5rem;
}

.dc-vision__body .dc-eyebrow { font-size: 0.78rem; }
.dc-vision__body .dc-divider { margin: 1rem 0 1.5rem; }

.dc-vision__lines {
    margin: 0;
    font-size: clamp(1.1rem, 1.45vw, 1.4rem);
    line-height: 1.5;
    font-weight: 500;
    color: rgba(255,255,255,0.86);
}

.dc-vision__lines strong {
    display: block;
    margin-top: 1.5rem;
    font-weight: 900;
    font-size: clamp(1.45rem, 2.4vw, 2.1rem);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--dc-white);
}

@media (min-width: 992px) {
    .dc-vision {
        display: flex;
        align-items: center;
        min-height: 36rem;
    }
    .dc-vision__media {
        position: absolute;
        top: 0; bottom: 0; right: 0;
        width: 62%;
        aspect-ratio: auto;
    }
    .dc-vision__media img { object-position: 50% 40%; }
    .dc-vision__media::after {
        background: linear-gradient(to right, var(--dc-black) 0%, rgba(11,11,11,0.6) 22%, rgba(11,11,11,0) 48%);
    }
    .dc-vision__body {
        width: 52%;
        padding: 4.5rem 3rem 4.5rem 4rem;
    }
}

/* History: wide archive slider (monochrome + grain, no sepia), story in two text columns */
.dc-history {
    position: relative;
    border-radius: var(--dc-radius);
    overflow: hidden;
    background: var(--dc-anthracite);
    box-shadow: var(--dc-shadow);
    margin-bottom: 3rem;
}

.dc-history__swiper { border-radius: inherit; }

.dc-history .swiper-slide {
    aspect-ratio: 16 / 10;
    background: var(--dc-anthracite);
}

.dc-history .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-filter: grayscale(1) contrast(1.05) brightness(0.9);
            filter: grayscale(1) contrast(1.05) brightness(0.9);
}

.dc-history::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.08;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.dc-history::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,0.45) 100%);
}

.dc-history { --swiper-navigation-color: #ffffff; --swiper-navigation-size: 2rem; }
.dc-history .swiper-button-next,
.dc-history .swiper-button-prev { z-index: 3; }
.dc-history .swiper-button-next::after,
.dc-history .swiper-button-prev::after { color: var(--dc-white); text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.dc-history .swiper-pagination { z-index: 3; }
.dc-history .swiper-pagination-bullet { background: var(--dc-white); opacity: 0.5; }
.dc-history .swiper-pagination-bullet-active { background: var(--dc-orange); opacity: 1; }

@media (min-width: 992px) {
    .dc-history .swiper-slide { aspect-ratio: 21 / 9; }
    .dc-history { margin-bottom: 3.5rem; }
}

.dc-columns p:last-child { margin-bottom: 0; }

@media (min-width: 768px) {
    .dc-columns {
        -webkit-column-count: 2;
           -moz-column-count: 2;
                column-count: 2;
        -webkit-column-gap: 3rem;
           -moz-column-gap: 3rem;
                column-gap: 3rem;
    }
    .dc-columns p {
        -webkit-column-break-inside: avoid;
                  page-break-inside: avoid;
                       break-inside: avoid;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dc-hero--zoom .dc-hero__bg,
    .dc-hero--zoom .dc-hero__carousel { -webkit-animation: none; animation: none; }
    .dc-hero__carousel .dc-hero__bg { -webkit-transition: none; transition: none; }
}

/* ---------- Page transitions (SPA navigation, see main.ejs) ---------- */
/* Old page fades out quickly; new page fades in with a slight lift. Fixed chrome is kept out of the crossfade. */
::view-transition-old(root) {
    animation: 180ms cubic-bezier(0.4, 0, 1, 1) both dcPageOut;
}

::view-transition-new(root) {
    animation: 360ms cubic-bezier(0.2, 0.7, 0.2, 1) both dcPageIn;
}

@keyframes dcPageOut { to { opacity: 0; } }
@keyframes dcPageIn  { from { opacity: 0; -webkit-transform: translateY(12px); transform: translateY(12px); } }

#navbar-container   { view-transition-name: dc-nav; -webkit-transition: background-color 300ms ease; transition: background-color 300ms ease; }
#hamburger-container { view-transition-name: dc-burger; }
#backToTop          { view-transition-name: dc-totop; }

::view-transition-old(dc-nav),  ::view-transition-new(dc-nav),
::view-transition-old(dc-burger), ::view-transition-new(dc-burger),
::view-transition-old(dc-totop), ::view-transition-new(dc-totop) {
    animation-duration: 200ms;
}

/* Fallback for browsers without the View Transitions API: fade page regions out, swap, fade in */
#content, #conditional2 {
    -webkit-transition: opacity 260ms cubic-bezier(0.2, 0.7, 0.2, 1);
    transition: opacity 260ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.dc-page-leaving #content,
.dc-page-leaving #conditional2 {
    opacity: 0;
    -webkit-transition-duration: 160ms;
            transition-duration: 160ms;
    pointer-events: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
    #content, #conditional2 { -webkit-transition: none; transition: none; }

    .btn-dc, .btn-dc--dark, .btn-dc--orange, .dc-card, .dc-tile img, .dc-video-card, .dc-news {
        -webkit-transition: none !important;
                transition: none !important;
    }
    .dc-live::before { -webkit-animation: none; animation: none; }

    #subnav {
        -webkit-transition: none;
                transition: none;
    }
}
