@charset "UTF-8";
/* CSS Document */
*{
	margin: 0px;
	padding: 0px;
	box-sizing: border-box;
	}




#carouselExampleInterval  {
	background-color: #004d65;  
	color: #FFFFFF;
	color: white;
	height: 825px;

}
.underlineBlue {
	border-bottom: 2px solid #3F88C5;
	padding-bottom: 5px;
	margin: 15px 0px;
	transition: 1s;
		filter: drop-shadow(rgba(10, 20, 20, 0.15) 0.5px 0.5px 0.1px) drop-shadow(rgba(10, 20, 20, 0.15) 1px 2px 2px) drop-shadow(rgba(10, 20, 20, 0.15) 2px 4px 4px) drop-shadow(rgba(10, 20, 20, 0.15) 4px 8px 8px) drop-shadow(rgba(10, 20, 20, 0.15)  0.5px 0.5px 0.1px);
}
.underlineBlue:hover {
	border-bottom: 2px solid #F7DBA7;
	padding-bottom: 5px;
	margin: 15px 0px;
	transition: 1s;
	
}

.sidenav {
	height: 100%;
	width: 0;
	position: fixed;
	z-index: 12;
	top: 0;
	left: 0;
	opacity: 0.9;
	overflow-x: hidden;
	transition: 0.5s;
	padding-top: 60px;
	text-align: left;
	
}

.sidenav a {
	padding: 8px 8px 8px 32px;
	text-decoration: none;
	font-size: 25pt;
	color: white;
	display: block;
	transition: 0.3s;
	margin-left: 0%;
	
}
.sidenav a:first-child{
	margin-top: 100px;
}
.sidenav a:hover{
	color: #3C748F;
	text-decoration-color: #e20000;
	transition: 1s;
}

.sidenav .closebtn {
	position: absolute;
	top: 0;
	right: 25px;
	font-size: 36px;
	margin-left: 50px;
}
.containerPointer {
	display: inline-block;
	cursor: pointer;
	position: fixed;
	z-index: 12;
	margin: 10px;

}
.bar1, .bar2, .bar3 {
		  width: 40px;
		  height: 4px;
		  background-color: #DC5B5D;
		  margin: 8px 0px;
		  transition: 0.4s;
		}
	
.change .bar1 {
  -webkit-transform: rotate(-45deg) translate(-9px, 6px);
  transform: rotate(-45deg) translate(-9px, 6px);
}

.change .bar2 {opacity: 0;}

.change .bar3 {
  -webkit-transform: rotate(45deg) translate(-9px, -9px);
  transform: rotate(45deg) translate(-9px, -9px);
}
.card {
	border: none;
}

.card-title {
	padding: 3px
}
.card-text {
	list-style: none;
	margin-left: 4%;
	
}
.card-text li{
	margin-top: 15px;
}
.card-text li{
	
}
.underlineYellow {
	border-bottom: 4px solid #F7DBA7;
	padding-bottom: 5px;
	margin: 15px 0px;
}
footer {
	width: 100%;
	
	/*background-color: #2D7BB4; */
	padding-top: 50px;
	min-height: 400px;
}

a {
	color: inherit;
	text-decoration: none;
}
footer p a:hover{
	color: #9CD2E3;
	transition: 0.5s;
	text-decoration:overline;
}
footer a:hover{
	color: #9CD2E3;
	transition: 0.5s;
}
#logoHeader{
  position: fixed;
  right: 0;
  top: 0;
  z-index: 30;
  margin: 7px;
}
#topList {
	position: fixed;
	width: 100%;
	opacity: 0.95;
	z-index: 15;
	filter: drop-shadow(rgba(10, 20, 20, 0.15) 0.5px 1px 1px) drop-shadow(rgba(10, 20, 20, 0.15) 1px 2px 2px) drop-shadow(rgba(10, 20, 20, 0.15) 2px 4px 4px) drop-shadow(rgba(10, 20, 20, 0.15) 4px 8px 8px) drop-shadow(rgba(10, 20, 20, 0.15) 8px 16px 16px);
  background-color: #004d65;
}


#map {
	height: 70vh;
	width: 100%;
}


@media screen and (min-width: 769px){
	
#carouselExampleCaptions .carousel-inner {
	height: 80vh;
	
}
		
#carouselExampleFade2 .carousel-inner {
	
	
}
	.card-img-overlay{
		color: white; 
		height: 100%; 
		width: 330px; 
		margin-left: 8%;
		opacity: 0.85;
	}

	/*
	  HERO (Market/City/Event pages)
	  -------------------------------------------------
	  The hero panel uses .card-img-overlay with a fixed-ish width.
	  On some pages (especially DE) long single words (e.g. "Taxiwerbung")
	  were forced to break mid-word, resulting in ugly wraps like:
	  "Taxiwerbun" / "g ...".
	
	  Fix:
	  - remove Bootstrap container side padding inside the hero panel (gains space)
	  - use a responsive, slightly smaller headline size cap
	  - enable proper hyphenation (requires correct <html lang="..">)
	  - prevent arbitrary character breaks
	*/
	.card-img-overlay .container{
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	.card-img-overlay h1{
		/* Headline sizing: keep long words (e.g. "Taxiwerbung") on one line */
		font-size: clamp(1.75rem, calc(1.25rem + 1.1vw), 2.20rem);
		line-height: 1.06;
		letter-spacing: -0.01em;
		/* No hyphenation / no mid-word breaks */
		word-break: normal;
		overflow-wrap: normal;
		hyphens: none;
		text-wrap: normal;
	}
	.mobile{
		display: none;
	}
	.display{
		display: block;
	}
	.vp-img {
		filter: drop-shadow(rgba(10, 20, 20, 0.15) 0.5px 1px 1px) drop-shadow(rgba(10, 20, 20, 0.15) 1px 2px 2px) drop-shadow(rgba(10, 20, 20, 0.15) 2px 4px 4px) drop-shadow(rgba(10, 20, 20, 0.15) 4px 8px 8px) drop-shadow(rgba(10, 20, 20, 0.15)  0.5px 0.5px 0.1px);
	}
	.vp-img-2 {
		min-height: 700px;
		width: 100%;
		background-position: bottom;
		background-size: cover;
		filter: drop-shadow(rgba(10, 20, 20, 0.15) 0.5px 0.5px 0.1px) drop-shadow(rgba(10, 20, 20, 0.15) 1px 2px 2px) drop-shadow(rgba(10, 20, 20, 0.15) 2px 4px 4px) drop-shadow(rgba(10, 20, 20, 0.15) 4px 8px 8px) drop-shadow(rgba(10, 20, 20, 0.15)  0.5px 0.5px 0.1px);
	}

	.flex-container {
		display: flex;
	}
	
	.flex-container > div{
		width: 100%;
	}
	
	#logoHeader {
		position: fixed;
		z-index: 12;
		right: 0;
		margin: 2px;
	}
	
	/* Referenz Carousel */
	#carouselWithPreviewAndBlur{
			display: flex;
			justify-content: center;
			align-items: center;
			width: 100%;
			grid-gap: 55px;
			
		}
		#carousel{
			overflow: hidden;
			padding: 50px 0px;
			
		}
		.carousel-items {
		  display: inline-block;
		  width: 100%;
		  transition: transform 0.5s ease;
		}

		#carouselItemMiddle {
		  transform: translateX(0);
		}

		#carouselItemLeft {
		  transform: translateX(-100%);
		}

		#carouselItemRight {
		  transform: translateX(100%);
		}
	
		#blurLeft{
			width: 500px;
			flex-shrink: 1;
			z-index: 2;
		 	filter: blur(2px);
			
		}
		#blurRight{
			width: 500px;
			flex-shrink: 1;
			 filter: blur(2px);
		
		}
		#active{
			width: 700px;
			flex-shrink: 1;
			transition: 1s;			
		}
			.previ, .nexti {
			cursor: pointer;
			position: absolute;
			width: auto;
			padding: 16px;
			color: black;
			font-size: 42px;
			transition: 0.6s ease;
			border-radius: 0 3px 3px 0;
			user-select: none;
			
			-webkit-text-fill-color: transparent;
		  	-webkit-text-stroke: 0.5px;
		}

		/* Position the "next button" to the right */
		.nexti {
			right: 0;
			border-radius: 3px 0 0 3px;

			}
		.previ {
			left: 0;
			border-radius: 3px 0 0 3px;
		
			}
		/* On hover, add a black background color with a little bit see-through */
		.previ:hover, .nexti:hover {
			-webkit-text-fill-color: black;
			transition: 5s ease;
		  
			}
	
#calltoaction {
	width: 100%;
	left: 0;
	right: 0;
	height: 800px;
	background-image: url("img/bg-calltoaction.jpg");
	background-position: center;
	background-size: cover;
	background-attachment: fixed;
	
}
	/* Referenz Carousel Ende*/
	

}
@media only screen and (max-width: 992px){
	#first-overlayer-p{
		color: white;
	}
	 .overlayer-p{	
		font-weight: 900;
		font-size: 2em;
		 color: black;
	}
	.overlayer-p-div:last-child{
		color: black;

	}	
	.overlayer-p-div:first-child{
		margin-left: 10px;
		margin-top: -70px;
		color: white;
		}

	#second-overlayer-p {
		color: black;

	}
	#remember-overlayer{
		color: black;
	}
	
	#third-overlayer-p {
	color: black;

}
	.mobile-908{
		display: block;
	}
	.display-908{
		display: none;
	}
}
@media only screen and (min-width: 991px){
	#second-overlayer-p{
		margin-left: -90px;
	}
	.mobile-908{
		display: none;
	}
	.display-908{
		display: block;
	}
	.overlayer-p-div:first-child{
	margin-top: 65px;

}	
	.overlayer-p span{
		color: white;

	}
	.overlayer-p {
		margin-left: -142px; 
		font-size: 3em; 
		font-weight: 900;
	}
	#remember-overlayer {
	margin-left: -140px;
}

}
@media screen and (max-width: 768px){
	#logoHeader {
		position: fixed;
		z-index: 12;
		right: 0;
		margin: 1px;
	}
	.mobile{
		display: block;
	}
	.display{
		display: none;
	}

	/*
	  HOME HERO SLIDER (mobile)
	  -------------------------------------------------
	  On mobile, Bootstrap's .card-img-overlay spans the full slide.
	  Because the overlay has an inline background-color per slide,
	  the image can become heavily darkened (or even fully covered).

	  Fix:
	  - Make the full-slide overlay background transparent
	  - Put a smaller translucent panel behind the text only
	  - Keep text readable without washing out the full image
	*/
	#carouselExampleCaptions .card-img-overlay{
		background: transparent !important;
		background-color: transparent !important;
		opacity: 1 !important;
	}
	#carouselExampleCaptions .card-img-overlay > div{
		/* text panel */
		background: rgba(0,0,0,0.52);
		border-radius: 18px;
		padding: 16px 16px 14px;
		max-width: 92%;
		box-shadow: 0 12px 28px rgba(0,0,0,0.25);
	}
	#carouselExampleCaptions .card-img-overlay .card-title{
		/* keep headline readable on phones */
		font-size: clamp(1.55rem, 6.2vw, 2.15rem);
		line-height: 1.08;
		margin-bottom: 10px;
		word-break: normal;
		overflow-wrap: normal;
		hyphens: none;
		text-wrap: normal;
	}
	#carouselExampleCaptions .card-img-overlay .card-text{
		font-size: 1rem;
		line-height: 1.45;
	}
	#carouselExampleCaptions .card-img-overlay .btn{
		font-size: 1rem;
		padding: 10px 14px;
	}

	.vp-img-1 {
		min-height: 500px;
		width: 100%;
		background-image: url("img/slider/slider-02-shein-berlin.jpg");
		background-position: center;
		background-size: cover;
	}

	.flex-container {
		display: block;
	}
	.flex-container > div{
		width: 100%;
	}
	
	#active{
			width: 100%;
			height: auto;
		
			
		}
			
			#blurLeft, #blurRight{
				display: none;
			}
		.previ, .nexti {
			cursor: pointer;
			position: absolute;
			width: auto;
	
			color: white;
			font-size: 42px;
			transition: 0.6s ease;
			border-radius: 0 3px 3px 0;
			user-select: none;
			
			-webkit-text-fill-color: transparent;
		  	-webkit-text-stroke: 0.5px;
		}
			/* Position the "next button" to the right */
		.nexti {
			right: 0;
			border-radius: 3px 0 0 3px;
			transform: translateY(-280%)

			}
		.previ {
			left: 0;
			border-radius: 3px 0 0 3px;
			transform: translateY(250%)
			}
	
#calltoaction {
	width: 100%;
	left: 0;
	right: 0;
	height: 800px;
	background-image: url("img/bg-calltoaction.jpg");
	background-position: center;
	background-size: cover;
	
	
}

#numberOfLine {
    border: 1px solid beige;
    margin: 23px;
	height: 200px;
	margin-top: -23px;
}
	
}

.bgcarousel {

}





.row>div{
	margin-bottom: 7px;
}


#btncta {
	
	color: white;
	width: 300px;
	border-radius: 25px;
	box-shadow: 2px 2px 40px 10px black;
	text-align: center;
}




.dc-jumbo-img {
	height: 800px;
	width: 100%;
	
}

    .image-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
    }

    .image-container .image {
      display: none;
      width: 30%;
      padding: 5px;
      opacity: 0;
      transition: opacity 0.3s ease-in-out;
    }

    .image-container .image.visible {
      display: block;
      opacity: 1;
    }

    .button-container {
      display: flex;
      justify-content: center;
      margin-bottom: 20px;
    }

    .button-container button {
      margin: 0 10px;
      padding: 10px 20px;
      font-size: 16px;
      border: none;
      border-radius: 4px;
      background-color: #007bff;
      color: #fff;
      cursor: pointer;
      transition: background-color 0.3s ease-in-out;
    }

    .button-container button:hover {
      background-color: #0056b3;
    }

.vp-header-li {
	font-size: 1.5em; 
	font-weight: 600;
	text-decoration: underline;
}

.stat-section {
	width: 100%;
	left: 0;
	right: 0;
	padding: 30px;
	background-color: #282525;
	color: beige;

}


.vp-ul {
	padding-left: 5%;
}

.vp-ul li{
	font-size: 120%;
	list-style-type: none;
}

.stat-number {
	font-size: 36pt;
}
.carousel-section {
    display: flex;
    align-items: center;
}

.country-logo {
    flex: 0 0 auto;
    margin-left: 20px; /* Move the logo to the left */
    display: flex;
    align-items: center;
}

.country-font {

}

.country-carousel-container {
    flex: 1 1 auto;
	width: 1500px;
    overflow: hidden;
    position: relative;
}

.country-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.country-carousel-item {
 flex: 0 0 33.33%; /* Auf 33.33% Breite für drei Bilder einstellen */
    padding: 10px; /* Optional: Abstand zwischen den Bildern */
    transition: transform 0.5s ease; /* Add sliding animation */
}

.country-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.country-carousel-controls {
    text-align: center;
    margin-top: 10px;
}

.country-carousel-arrow {
 position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: black;
}

.country-carousel-arrow:hover {
    background-color: #0056b3;
}

/* Prevent pointer events on inactive carousels */
.country-carousel:not(.active) {
    pointer-events: none;
}


.icon-text {
	text-align: center;
}
.icon-text p, h3 {
	margin-top: 5px;
}

.country-font {
	font-size: 5em;
	font-weight: 900;
	left: 0; 
	transform: translateY(30%);
}

.country-icons {
	display: flex;
	justify-content: space-around;
	flex-basis: 1 1;
}

  
.vp1-carousel-container {
            position: relative;
            width: 100%; /* Vollbildbreite in der mobilen Ansicht */
            overflow: hidden;
            min-height: 700px; /* Mindesthöhe */
            background-position: center; /* Zentrierte Hintergrundposition */
            background-size: cover; /* Hintergrundbild skalieren */
        }

        .vp1-carousel {
            display: flex;
            transition: transform 0.5s;
            width: 100%; /* Vollbildbreite in der mobilen Ansicht */
        }

       

        img {
            max-width: 100%;
            height: auto;
        }

      /*  button {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            font-size: 24px;
            background: none;
            border: none;
            cursor: pointer;
        }
*/
#carouselExampleCaptions button {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            font-size: 24px;
            background: none;
            border: none;
            cursor: pointer;
			background-color: rgba(68,116,170,0.8);
	height: 50px;
	width: 50px;
	
        }

        .vp1-prev-button {
            left: 10px;
        }

        .vp1-next-button {
            right: 10px;
        }

        @media (min-width: 768px) {
            /* Desktop-Ansicht */
            .vp1-carousel-container {
                width: 50%; /* 50% der Bildschirmbreite in der Desktop-Ansicht */
            }
            .vp1-carousel {
                width: 100%;
            }
			.vp2-carousel-item{
			width: 100%;
			background-size: cover;
			background-position: bottom;
			min-height: 65vh;

		}
			#vp2-carousel button, #vp-carousel button{
			background-color: #1A1717;
			height: 40px;
			width: 40px;
			transform: translateY(1000%);
			color: white;
			padding: 5px;
			margin: 5px;
			
		}
        }

        @media (max-width: 767px) {
            .vp1-prev-button,
            .vp1-next-button {
                display: none;
            }
			
			.vp-ul{
				transform: translateY(0%)
			}
		  	.vp2-carousel-item{
				width: 100%;
				background-size: cover;
				background-position: bottom;
				min-height: 35vh;

		}
			#vp2-carousel button, #vp-carousel button{
				background-color: #131111;
				height: 25px;
				width: 25px;
				transform: translateY(500%);
				color: white;
				padding: 5px;
				margin: 5px;
				border-radius: 50%;
			
		}
        }
#vp2-carousel, #vp-carousel{
			left: 0;
			}

/* === additions.css merged for PageSpeed (was /css/additions.css) === */
/* === Cabvertising HTML-only additions (SEO pages / FAQ / Country cards) === */

:root{
  --cbv-primary: #004d65;
  --cbv-dark: #19222B;
  --cbv-accent: #3F88C5;
}

/* Avoid content hidden behind fixed top bar */
.cbv-top-spacer{
  height: 75px;
}

/* Country cards */
.cbv-country-grid a{
  text-decoration: none;
}
.cbv-country-card{
  background: var(--cbv-primary);
  color: #fff;
  border-radius: 10px;
  padding: 14px 14px;
  margin-bottom: 14px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.15);
  transition: transform .12s ease, filter .12s ease;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cbv-country-card:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
}
.cbv-country-card .cbv-country-name{
  font-weight: 600;
  font-size: 1.05rem;
}
.cbv-country-card .cbv-country-capital{
  font-size: .95rem;
  opacity: .9;
}
.cbv-country-card .cbv-country-arrow{
  font-weight: 700;
  opacity: .9;
}

/* Section headings */
.cbv-section-title{
  margin-top: 34px;
}
.cbv-kicker{
  opacity: .85;
}

/* Accordions: make them fit the Cabvertising look a bit */
.cbv-accordion .accordion-button{
  font-weight: 600;
}
.cbv-accordion .accordion-button:not(.collapsed){
  background: rgba(0,77,101,0.08);
  color: #111;
}

/* <details> block for “international” */
.cbv-details{
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 10px;
  background: rgba(25,34,43,0.04);
}
.cbv-details summary{
  cursor: pointer;
  font-weight: 700;
}

/* Menu band + breadcrumb (like cabvertising "menu") */
.cbv-menubar{
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.18);
  padding: 10px 0;
}
.cbv-breadcrumb{
  font-size: .98rem;
  opacity: .95;
}
.cbv-breadcrumb a{
  color: inherit;
  text-decoration: underline;
}

/* Cookie modal minor tweaks */
#cookieConsentModal .modal-header{
  background: var(--cbv-dark);
  color: #fff;
}
#cookieConsentModal .btn-primary{
  background: var(--cbv-primary);
  border-color: var(--cbv-primary);
}

/* === International mega accordion (wraps the full country list) === */
.cbv-intl-details{
  border: 1px solid rgba(0,0,0,0.16);
  border-radius: 12px;
  padding: 0;
  margin-top: 18px;
  background: rgba(25,34,43,0.03);
  overflow: hidden;
}
.cbv-intl-summary{
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 800;
  font-size: 1.15rem;
  list-style: none;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cbv-intl-summary::-webkit-details-marker{ display:none; }
.cbv-intl-summary::marker{ display:none; }
.cbv-intl-summary::after{
  content: "▾";
  font-weight: 900;
  opacity: .75;
}
.cbv-intl-details[open] > .cbv-intl-summary{
  border-bottom: 1px solid rgba(0,0,0,0.12);
}
.cbv-intl-details[open] > .cbv-intl-summary::after{
  content: "▴";
}
.cbv-intl-content{
  padding: 18px 18px 10px 18px;
}
.cbv-intl-cta{
  margin-top: 18px;
}


/* === 5‑Tile Benefit Grid (home page) === */
.cbv-tiles-grid{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 991px){
  .cbv-tiles-grid{ grid-template-columns: 1fr; }
}
.cbv-tile{
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  padding: 14px 14px;
  background: #fff;
  height: 100%;
}
.cbv-tile-title{
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 6px;
  text-decoration: underline;
  text-decoration-color: rgba(0,77,101,0.35);
  text-underline-offset: 3px;
}
.cbv-tile p{ margin: 0; opacity: .92; }
.cbv-tile--highlight{
  border-color: rgba(0,77,101,0.35);
  background: rgba(0,77,101,0.04);
}


/* === Format preview thumbnails (Verfügbare Werbeformate) === */
.cbv-format-preview{ margin-top: 12px; }
.cbv-thumb-btn{
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.cbv-thumb-img{
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
  transition: transform .12s ease, filter .12s ease;
}

/* Formats page: larger preview frames (show the artwork more fully) */
body[data-cbv-page="formats"] .cbv-thumb-img{
  height: 340px;
  object-fit: contain;
  background: #fff;
}
.cbv-thumb-btn:hover .cbv-thumb-img{
  transform: translateY(-1px);
  filter: brightness(1.02);
}
.cbv-thumb-btn:focus-visible{
  outline: 2px solid rgba(0,77,101,0.5);
  outline-offset: 3px;
  border-radius: 12px;
}

#cbvImageModal .modal-body{ background: #000; }
#cbvModalImg{
  max-height: 80vh;
  object-fit: contain;
  background: #000;
}

/* === Align format preview thumbnails across cards === */
.cbv-format-card{
  display: flex;
  flex-direction: column;
  height: 100%;
}
.cbv-format-card .cbv-format-preview{
  margin-top: auto;
  padding-top: 12px; /* keeps the same visual gap as before */
}


/* === Header top bar improvements (FAQ + slogan + setup button + flags) === */
.cbv-topbar-inner{
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-right: 240px; /* leave space for the fixed logo (#logoHeader) */
}
@media (max-width: 992px){
  .cbv-topbar-inner{ padding-right: 170px; }
}
@media (max-width: 576px){
  .cbv-topbar-inner{ padding-right: 120px; }
}

.cbv-header-left,
.cbv-header-center,
.cbv-header-right{
  display: flex;
  align-items: center;
  gap: 12px;
}

.cbv-header-left{
  flex: 1 1 auto;
  min-width: 0;
}

.cbv-header-center{
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

.cbv-header-right{
  flex: 0 0 auto;
  justify-content: flex-end;
  gap: 12px;
}

.cbv-header-btn{
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.70);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  white-space: nowrap;
  background: rgba(0,0,0,0.08);
}
.cbv-header-btn:hover{
  color: #ffffff;
  background: rgba(255,255,255,0.14);
}

.cbv-header-btn--solid{
  background: #ffffff;
  border-color: #ffffff;
  color: #004d65;
}
.cbv-header-btn--solid:hover{
  background: #ffffff;
  color: #004d65;
  filter: brightness(0.98);
}

.cbv-header-slogan{
  color: rgba(255,255,255,0.96);
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cbv-lang-switch{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
}

.cbv-flag{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 26px;
  border-radius: 7px;
  border: 1px solid rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 16px;
  line-height: 1;
  background: rgba(0,0,0,0.08);
}
.cbv-flag:hover{
  background: rgba(255,255,255,0.14);
}

.cbv-flag--active{
  background: rgba(255,255,255,0.22);
}



/* =========================================================
   Cabvertising Global — responsive utilities (bootstrap-ish)
   ========================================================= */
.d-none{display:none !important;}
@media (min-width: 992px){
  /* bootstrap-like helpers (kept local so utility classes work even when overridden) */
  .d-lg-inline{display:inline !important;}
  .d-lg-inline-flex{display:inline-flex !important;}
  .d-lg-flex{display:flex !important;}
  .d-lg-block{display:block !important;}
  .d-lg-none{display:none !important;}
}
@media (max-width: 991.98px){
  .d-lg-inline,.d-lg-inline-flex,.d-lg-block{display:none !important;}
}

/* =========================================================
   Cabvertising Global — Mega menu + Offcanvas
   ========================================================= */
.cbv-sr-only{
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.cbv-no-scroll{
  overflow: hidden;
}

/* Make header usable on small screens */
.cbv-nav-toggle{
  display: none; /* shown on mobile only */
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.70);
  background: rgba(0,0,0,0.08);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
}
.cbv-nav-toggle:hover{ background: rgba(255,255,255,0.14); }
.cbv-nav-toggle__text{ font-weight: 800; }

@media (max-width: 991.98px){
  #topList .cbv-header-center{ display:none; }
  #topList .cbv-header-right{ gap: 10px; }
  #topList .cbv-header-right .cbv-header-btn{ display:none; }
  #topList .cbv-header-right .cbv-header-btn--solid{ display:inline-flex; }
  .cbv-nav-toggle{ display:inline-flex; }
  /* shrink Inquiry on the left a touch */
  #topList .cbv-header-left .cbv-header-btn{ padding: 7px 10px; }
}

/* Mega menu */
.cbv-mega{
  position: fixed;
  inset: 70px 0 0 0; /* below fixed topbar */
  z-index: 10050;
}
.cbv-mega[hidden]{ display:none; }
.cbv-mega__overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.30);
}
.cbv-mega__panel{
  position: relative;
  margin: 14px auto;
  width: min(1120px, calc(100% - 24px));
  max-height: calc(100vh - 70px - 28px);
  overflow: auto;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(0,0,0,0.20);
  padding: 16px 16px 14px 16px;
}
.cbv-mega__top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.10);
}
.cbv-mega__brand{
  display:flex;
  align-items:center;
  gap: 10px;
}
.cbv-mega__brand img{
  background: #004d65;
  padding: 6px 10px;
  border-radius: 10px;
}
.cbv-mega__title{
  font-weight: 900;
  color: #004d65;
  letter-spacing: 0.2px;
}
.cbv-mega__actions{
  display:flex;
  align-items:center;
  gap: 10px;
}
.cbv-mega__all{
  text-decoration: none;
  color: #004d65;
  font-weight: 800;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(0,77,101,0.28);
}
.cbv-mega__all:hover{ background: rgba(0,77,101,0.06); }
.cbv-mega__close{
  border: none;
  background: rgba(0,0,0,0.06);
  color: #004d65;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display:grid;
  place-items:center;
  cursor:pointer;
}
.cbv-mega__close:hover{ background: rgba(0,77,101,0.10); }

.cbv-mega__search{
  padding: 14px 0 12px 0;
}
.cbv-mega__search input{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.14);
  font-weight: 700;
  outline: none;
}
.cbv-mega__search input:focus{
  border-color: rgba(0,77,101,0.55);
  box-shadow: 0 0 0 3px rgba(0,77,101,0.12);
}

.cbv-mega__grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: 12px;
}
@media (max-width: 1024px){
  .cbv-mega__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .cbv-mega__grid{ grid-template-columns: 1fr; }
  .cbv-mega__title{ display:none; }
}

.cbv-market-group{
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 12px;
  padding: 12px;
}
.cbv-mega-h{
  margin: 0 0 10px 0;
  font-size: 1rem;
  font-weight: 900;
  color: #004d65;
}
.cbv-mega-links{
  display:grid;
  gap: 8px;
}
.cbv-mega-link{
  display:flex;
  align-items:center;
  gap: 10px;
  text-decoration:none;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.08);
  color: #0b0b0b;
  font-weight: 800;
}
.cbv-mega-link:hover{ background: rgba(0,77,101,0.06); }
.cbv-mega-flag{ font-size: 1.1rem; width: 1.4em; }

.cbv-mega__footer{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,0.10);
}
.cbv-mega__cta{
  text-decoration:none;
  font-weight: 900;
  background: #004d65;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 12px;
}
.cbv-mega__cta:hover{ filter: brightness(1.05); }
.cbv-mega__hint{
  color: rgba(0,0,0,0.62);
  font-weight: 700;
  font-size: 0.95rem;
}

/* Offcanvas */
.cbv-offcanvas{
  position: fixed;
  inset: 0;
  z-index: 10060;
}
.cbv-offcanvas[hidden]{ display:none; }
.cbv-offcanvas__overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.40);
}
.cbv-offcanvas__panel{
  position:absolute;
  inset: 0 auto 0 0;
  width: min(420px, 86vw);
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(0,0,0,0.24);
  display:flex;
  flex-direction: column;
  overflow:auto;
}
.cbv-offcanvas__top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 14px 14px 10px 14px;
  border-bottom: 1px solid rgba(0,0,0,0.10);
}
.cbv-offcanvas__brand img{
  background: #004d65;
  padding: 6px 10px;
  border-radius: 10px;
}
.cbv-offcanvas__close{
  border:none;
  background: rgba(0,0,0,0.06);
  color: #004d65;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display:grid;
  place-items:center;
  cursor:pointer;
}
.cbv-offcanvas__close:hover{ background: rgba(0,77,101,0.10); }

.cbv-offcanvas__nav{
  padding: 10px 14px 6px 14px;
  display:grid;
  gap: 6px;
}
.cbv-offcanvas__nav a{
  text-decoration:none;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.10);
  font-weight: 900;
  color: #004d65;
}
.cbv-offcanvas__nav a:hover{ background: rgba(0,77,101,0.06); }

.cbv-offcanvas__search{
  padding: 10px 14px 8px 14px;
}
.cbv-offcanvas__search input{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.14);
  font-weight: 800;
  outline: none;
}
.cbv-offcanvas__search input:focus{
  border-color: rgba(0,77,101,0.55);
  box-shadow: 0 0 0 3px rgba(0,77,101,0.12);
}

.cbv-offcanvas__markets{
  padding: 0 14px 12px 14px;
}
.cbv-offcanvas__group{
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}
.cbv-offcanvas__group summary{
  list-style: none;
  cursor: pointer;
  padding: 12px 12px;
  font-weight: 900;
  color: #004d65;
  background: rgba(0,77,101,0.05);
}
.cbv-offcanvas__group summary::-webkit-details-marker{ display:none; }
.cbv-offcanvas__links{
  display:grid;
  gap: 6px;
  padding: 10px 10px 12px 10px;
  background: #ffffff;
}
.cbv-offcanvas__link{
  display:flex;
  align-items:center;
  gap: 10px;
  text-decoration:none;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  color: #0b0b0b;
  font-weight: 900;
}
.cbv-offcanvas__link:hover{ background: rgba(0,77,101,0.06); }

.cbv-offcanvas__cta{
  margin-top: auto;
  padding: 12px 14px 16px 14px;
  border-top: 1px solid rgba(0,0,0,0.10);
}
.cbv-offcanvas__ctaBtn{
  display:block;
  text-align:center;
  text-decoration:none;
  font-weight: 900;
  background: #004d65;
  color:#ffffff;
  padding: 12px 14px;
  border-radius: 14px;
}
.cbv-offcanvas__ctaBtn:hover{ filter: brightness(1.05); }
.cbv-offcanvas__note{
  margin: 10px 0 0 0;
  color: rgba(0,0,0,0.62);
  font-weight: 700;
  font-size: 0.95rem;
}


/* === Cabvertising Global — Language switcher (compact dropdown) === */
/*
  Requirement:
  - Only the current flag is visible in the header.
  - A small dropdown (with down arrow) contains all languages.
*/

.cbv-lang-dd{ position: relative; }

/* Header dropdown trigger */
.cbv-lang-dd > summary{
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  height: 28px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(0,0,0,0.06);
  color: #ffffff;
  user-select: none;
}
.cbv-lang-dd > summary:hover{
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.42);
}
.cbv-lang-dd > summary::-webkit-details-marker{ display:none; }

.cbv-lang-flag{ font-size: 18px; line-height: 1; }
.cbv-lang-caret{ font-size: 12px; line-height: 1; opacity: 0.9; margin-top: 1px; }

/* Dropdown menu */
.cbv-lang-dd-menu{
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 190px;

  background: #004d65;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
  z-index: 9999;

  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cbv-lang-dd:not([open]) .cbv-lang-dd-menu{ display:none; }

.cbv-lang-dd-link{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;

  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(0,0,0,0.08);

  text-decoration:none;
  line-height: 1.1;
  color: #ffffff;
}
.cbv-lang-dd-link:hover{ background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.40); }
.cbv-lang-dd-link.is-active{ background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.55); }

.cbv-lang-dd-label{ font-weight: 800; font-size: 0.92rem; }

/* Offcanvas language flags */
.cbv-off-lang-switch{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0 14px 12px 14px;
}
.cbv-off-lang-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 40px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(0,77,101,0.04);
  text-decoration:none;
}
.cbv-off-lang-link:hover{ background: rgba(0,77,101,0.08); }
.cbv-off-lang-link.is-active{ background: rgba(0,77,101,0.12); border-color: rgba(0,0,0,0.22); }

/* === Cabvertising Global — Quick Market Jump (markets page) === */
.cbv-qjump{
  position: sticky;
  top: 70px; /* fixed topbar height */
  z-index: 1;
  padding: 10px 0;
  margin-top: 14px;
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid rgba(0,0,0,0.10);
  backdrop-filter: saturate(1.2) blur(8px);
}
.cbv-qjump__inner{
  display:flex;
  align-items:center;
  flex-wrap: wrap;
  gap: 10px;
}
.cbv-qjump__title{
  font-weight: 900;
  color: #004d65;
  margin-right: 6px;
}
.cbv-qjump__search{
  display:flex;
  align-items:center;
  gap: 8px;
}
.cbv-qjump__search input{
  width: min(340px, 60vw);
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.14);
  font-weight: 800;
  outline: none;
}
.cbv-qjump__search input:focus{
  border-color: rgba(0,77,101,0.55);
  box-shadow: 0 0 0 3px rgba(0,77,101,0.12);
}
.cbv-qjump__clear{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.14);
  background: #ffffff;
  font-weight: 900;
  color: rgba(0,0,0,0.55);
  line-height: 1;
}
.cbv-qjump__clear:hover{
  background: rgba(0,77,101,0.05);
  color: rgba(0,0,0,0.75);
}
.cbv-qjump__regions{
  display:flex;
  align-items:center;
  gap: 8px;
  flex-wrap: wrap;
}
.cbv-qjump__pill{
  text-decoration:none;
  font-weight: 900;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,77,101,0.28);
  color: #004d65;
  background: rgba(0,77,101,0.04);
}
.cbv-qjump__pill:hover{
  background: rgba(0,77,101,0.08);
}
.cbv-qjump__cta{
  margin-left: auto;
}
.cbv-qjump__ctaBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-weight: 900;
  background: #004d65;
  color:#ffffff;
  padding: 10px 14px;
  border-radius: 999px;
  line-height: 1;
}
.cbv-qjump__ctaBtn:hover{ filter: brightness(1.05); }

.cbv-no-results{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(0,0,0,0.18);
  color: rgba(0,0,0,0.68);
  font-weight: 800;
}

/* Ensure anchor jumps are visible below fixed header + sticky jump bar */
.cbv-market-section h2{
  scroll-margin-top: 140px;
}


/* Use case card keypoints (homepage + use-cases overview) */
.cbv-card-keypoints{
  margin: 10px 0 14px 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  line-height: 1.35;
}
.cbv-card-keypoints li{
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 6px;
}
.cbv-card-keypoints li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #004d65;
  font-weight: 900;
}

/* Ensure anchors land below the fixed header */
section.cbv-section-title{ scroll-margin-top: 120px; }
.cbv-anchor-target{ scroll-margin-top: 120px; }


/* === Contact form (get-offer) === */
.cbv-checkbox-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  max-height: 220px;
  overflow: auto;
  padding: 12px 12px;
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: 12px;
  background: rgba(25,34,43,0.02);
}
.cbv-checkbox-grid--small{
  max-height: 150px;
}
@media (min-width: 992px){
  .cbv-checkbox-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .cbv-checkbox-grid--small{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: 120px;
  }
}


/* === City pages: scrollable event selector (list + detail panel) === */
.cbv-event-panel{
  border: 1px solid rgba(0,77,101,0.18);
  border-radius: 12px;
  background: #ffffff;
  padding: 16px;
  height: 100%;
}

.cbv-event-search{
  border-radius: 10px;
}

.cbv-event-list{
  margin-top: 12px;
  border: 1px solid rgba(0,77,101,0.18);
  border-radius: 10px;
  overflow: auto;
  max-height: 360px;
}

.cbv-event-item{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  text-decoration: none;
  color: inherit;
  font-weight: 800;
  line-height: 1.2;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  background: transparent;
}

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

.cbv-event-item:hover{
  background: rgba(0,77,101,0.06);
}

.cbv-event-item.is-active{
  background: rgba(0,77,101,0.12);
}

.cbv-event-item small{
  font-weight: 700;
  opacity: 0.75;
  font-size: 0.85rem;
}

.cbv-event-detail p{
  margin: 0 0 8px 0;
}

.cbv-event-detail__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* Make the two panels feel balanced on smaller screens */
@media (max-width: 991.98px){
  .cbv-event-list{
    max-height: 260px;
  }
}


/* --- City event selector (scrollable menu) --- */
.cbv-event-selector .cbv-event-list-card,
.cbv-event-selector .cbv-event-detail-card{
  border: 1px solid rgba(0,77,101,0.18);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.cbv-event-list-header{
  padding: 16px;
  border-bottom: 1px solid rgba(0,77,101,0.12);
}

.cbv-event-search{
  width: 100%;
  border-radius: 10px;
}

.cbv-event-list{
  max-height: 340px;
  overflow-y: auto;
  padding: 10px;
}

.cbv-event-item{
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  padding: 10px 12px;
  border-radius: 10px;
  margin: 2px 0;
  color: #004d65;
  cursor: pointer;
}

.cbv-event-item:hover{
  background: rgba(0,77,101,0.08);
}

.cbv-event-item.active{
  background: rgba(0,77,101,0.14);
}

.cbv-event-item-title{
  font-weight: 700;
}

.cbv-event-item-sub{
  display: block;
  font-weight: 400;
  opacity: 0.85;
  margin-top: 2px;
}

.cbv-event-detail-inner{
  padding: 18px 18px 12px;
}

.cbv-event-detail-actions{
  padding: 0 18px 18px;
}

.cbv-event-detail-btn{
  width: 100%;
}

.cbv-event-empty{
  padding: 14px 16px;
  opacity: 0.75;
}

@media (max-width: 767px){
  .cbv-event-list{ max-height: 260px; }
}


/* Proposal form honeypot (anti-spam) */
.cbv-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}


/* === Patch v40: Markets grid – show 3 columns on desktop === */
@media (min-width: 992px){
  .cbv-country-grid > *{
    flex: 0 0 auto;
    width: 33.333333%;
  }
}

/* =========================================================
   HOME HERO SLIDER – MOBILE: show image cleanly + move text below
   ---------------------------------------------------------
   Problem:
   - On mobile the home hero slider used a full-overlay caption which
     darkened/covered the image, and the slide height (80vh) caused
     heavy cropping.
   Solution:
   - Reduce slide image height on mobile (clamp)
   - Keep controls centered on the image area
   - Move caption block BELOW the image (no overlay on top of image)
   ========================================================= */
@media screen and (max-width: 768px){

  /* Make the slide image less tall on phones (prevents extreme cropping) */
  #carouselExampleCaptions [id^="carousel-image-"]{
    height: clamp(240px, 44vh, 420px) !important;
    background-position: center center;
    background-size: cover;
  }

  /* Put carousel controls over the image area only (not over the caption block) */
  #carouselExampleCaptions .carousel-control-prev,
  #carouselExampleCaptions .carousel-control-next{
    top: 0;
    bottom: auto;
    height: clamp(240px, 44vh, 420px);
    align-items: center;
  }

  /* Turn the overlay into a normal flow block (caption below the image) */
  #carouselExampleCaptions .card-img-overlay{
    position: static !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 18px 16px 22px !important;

    /* remove any per-slide inline backgrounds */
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #111 !important;
    opacity: 1 !important;
  }

  /* Remove the desktop vertical centering margin inside the caption wrapper */
  #carouselExampleCaptions .card-img-overlay > div{
    margin-top: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    max-width: 100% !important;
    border-radius: 0 !important;
  }

  /* Caption typography (mobile) */
  #carouselExampleCaptions .card-img-overlay .card-title{
    color: #111 !important;
    font-size: clamp(1.35rem, 6vw, 1.85rem) !important;
    line-height: 1.12 !important;
    margin: 0 0 10px !important;
    hyphens: none !important;
    word-break: normal;
    overflow-wrap: normal;
    text-wrap: normal;
  }

  #carouselExampleCaptions .card-img-overlay .card-text{
    color: #222 !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    margin: 0 0 14px !important;
  }

  /* CTA: make it look like a primary button under the image */
  #carouselExampleCaptions .card-img-overlay .btn{
    display: inline-block;
    background-color: #004d65 !important;
    color: #ffffff !important;
    border: 1px solid rgba(0,0,0,0.08);
    font-weight: 700 !important;
    font-size: 1rem !important;
    padding: 10px 14px !important;
  }
}

/* =====================================================================
   PATCH v67: Mobile Home Hero Slider – show FULL image (no cropping)
   - Keeps the whole slide image visible (background-size: contain)
   - Moves text block below the image on small screens
   - Uses !important to win against later injected CSS
   ===================================================================== */
@media (max-width: 820px) {
  /* Image area: show the full image */
  #carouselExampleCaptions [id^="carousel-image-"] {
    height: clamp(220px, 45vw, 60vh) !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: #000 !important;
  }

  /* Text area BELOW the image (no overlay on the image) */
  #carouselExampleCaptions .card-img-overlay {
    position: static !important;
    inset: auto !important;
    background: #fff !important;
    color: #000 !important;
    padding: 16px !important;
  }
  #carouselExampleCaptions .card-img-overlay > div {
    margin-top: 0 !important;
  }
  #carouselExampleCaptions .card-img-overlay h2,
  #carouselExampleCaptions .card-img-overlay .card-title,
  #carouselExampleCaptions .card-img-overlay .card-text,
  #carouselExampleCaptions .card-img-overlay .card-text p {
    color: #000 !important;
  }

  /* Keep the CTA button visible/consistent */
  #carouselExampleCaptions .card-img-overlay a.btn {
    background-color: #004d65 !important;
    color: #fff !important;
    font-weight: 700 !important;
  }

  /* Controls should only cover the image area (not the text block) */
  #carouselExampleCaptions .carousel-control-prev,
  #carouselExampleCaptions .carousel-control-next {
    height: clamp(220px, 45vw, 60vh) !important;
  }

  /* Make arrow icons readable on bright/dark images */
  #carouselExampleCaptions .carousel-control-prev-icon,
  #carouselExampleCaptions .carousel-control-next-icon {
    filter: drop-shadow(0 0 6px rgba(0,0,0,0.7)) !important;
  }
}
