.cda-carousel {
position: relative;
overflow: hidden;
width: 100%;
background: #000;
--cda-height-desktop: 90vh;
--cda-height-tablet: 65vh;
--cda-height-mobile: 52vh;
--cda-image-fit: cover;
}
.cda-carousel__track {
position: relative;
display: grid;
}
.cda-carousel,
.cda-carousel__track,
.cda-carousel__slide,
.cda-carousel__image-wrap {
min-height: var(--cda-height-desktop);
}
.cda-carousel__image-wrap {
height: var(--cda-height-desktop);
}
.cda-carousel__image {
display: block;
width: 100%;
height: 100%;
object-fit: var(--cda-image-fit);
object-position: center center;
}
.cda-carousel__slide {
grid-area: 1 / 1;
position: relative;
display: block;
opacity: 0;
visibility: hidden;
pointer-events: none;
transition: opacity .7s ease, visibility .7s ease;
background: #000;
}
.cda-carousel__slide.is-active {
opacity: 1;
visibility: visible;
pointer-events: auto;
z-index: 1;
}
.cda-carousel__slide-link {
position: absolute;
inset: 0;
z-index: 1;
}
.cda-carousel__image-wrap {
position: relative;
width: 100%;
background: #000;
}
.cda-carousel__overlay {
position: absolute;
inset: 0;
z-index: 2;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
padding: clamp(1.25rem, 3vw, 3.5rem);
color: #fff;
background: linear-gradient(90deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.20) 34%, rgba(0,0,0,0) 64%);
pointer-events: none;
}
.cda-carousel__heading {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: .15rem;
width: min(100%, 70rem);
}
.cda-carousel__title {
margin: 0;
font-size: clamp(2.4rem, 7vw, 5rem);
line-height: .95;
font-weight: 700;
}
.cda-carousel__subtitle {
margin-top: .35rem;
font-size: clamp(1rem, 2.2vw, 1.7rem);
line-height: 1.1;
}
.cda-carousel__text {
margin-top: 1rem;
max-width: min(42rem, 48%);
font-size: 1rem;
line-height: 1.5;
}
.cda-carousel__text p {
margin: 0 0 .5rem;
}
.cda-carousel__button {
margin-top: 1.25rem;
display: inline-flex;
align-items: center;
justify-content: center;
padding: .85rem 1.1rem;
border-radius: 999px;
text-decoration: none;
background: rgba(255,255,255,.16);
border: 1px solid rgba(255,255,255,.35);
backdrop-filter: blur(6px);
pointer-events: auto;
}
.cda-carousel__slide--agenda_active .cda-carousel__title,
.cda-carousel__slide--agenda_specific .cda-carousel__title {
font-family: "Roboto", Sans-serif;
font-size: 90px;
font-weight: 700;
text-transform: lowercase;
background: Transparent;
-webkit-text-stroke-color: #000;
stroke: #000;
text-shadow: 0px 0px 17px rgba(0, 0, 0, 0.69);
color: #FFFFFF;
line-height: 1;
}
.cda-carousel__slide--agenda_active .cda-carousel__subtitle,
.cda-carousel__slide--agenda_specific .cda-carousel__subtitle {
font-family: "Roboto", Sans-serif;
font-size: 26px;
font-weight: 400;
text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.92);
color: #FFFFFF;
line-height: 1.15;
margin-top: 0;
}
.cda-carousel__slide--irs_active .cda-carousel__title,
.cda-carousel__slide--irs_specific .cda-carousel__title {
font-family: "Roboto", Sans-serif;
font-size: 90px;
font-weight: 700;
line-height: 1;
text-shadow: 0px 0px 17px rgba(0, 0, 0, 0.69);
color: #FFFFFF;
}
.cda-carousel__slide--irs_active .cda-carousel__subtitle,
.cda-carousel__slide--irs_specific .cda-carousel__subtitle {
font-family: "Roboto", Sans-serif;
font-size: 26px;
font-weight: 400;
text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.92);
color: #FFFFFF;
line-height: 1.15;
margin-top: 0;
}
.cda-carousel__arrow {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: transparent;
z-index: 3;
width: 46px;
height: 46px;
border: 0;
border-radius: 50%;
color: #fff;
font-size: 28px;
cursor: pointer;
transition: background .25s ease, opacity .25s ease;
}
.cda-carousel__arrow:hover {
background: rgba(0,0,0,.7);
}
.cda-carousel__arrow--prev { left: 14px; }
.cda-carousel__arrow--next { right: 14px; }
.cda-carousel__dots {
position: absolute;
left: 50%;
bottom: 18px;
transform: translateX(-50%);
z-index: 3;
display: flex;
gap: 8px;
}
.cda-carousel__dot {
width: 11px;
height: 11px;
border-radius: 50%;
border: 0;
background: rgba(255,255,255,.45);
cursor: pointer;
transition: background .25s ease, transform .25s ease;
}
.cda-carousel__dot.is-active {
background: rgba(255,255,255,1);
transform: scale(1.08);
}
.cda-carousel__empty {
padding: 1rem;
border: 1px dashed #ccc;
}
@media (max-width: 1024px) {
.cda-carousel,
.cda-carousel__track,
.cda-carousel__slide,
.cda-carousel__image-wrap {
min-height: var(--cda-height-tablet);
height: var(--cda-height-tablet);
}
.cda-carousel__overlay {
padding: 2rem;
}
.cda-carousel__heading,
.cda-carousel__text {
max-width: 56%;
width: 56%;
}
.cda-carousel__slide--agenda_active .cda-carousel__title,
.cda-carousel__slide--agenda_specific .cda-carousel__title,
.cda-carousel__slide--irs_active .cda-carousel__title,
.cda-carousel__slide--irs_specific .cda-carousel__title {
font-size: 72px;
}
.cda-carousel__slide--agenda_active .cda-carousel__subtitle,
.cda-carousel__slide--agenda_specific .cda-carousel__subtitle,
.cda-carousel__slide--irs_active .cda-carousel__subtitle,
.cda-carousel__slide--irs_specific .cda-carousel__subtitle {
font-size: 22px;
}
}
@media (max-width: 767px) {
.cda-carousel,
.cda-carousel__track,
.cda-carousel__slide,
.cda-carousel__image-wrap {
min-height: var(--cda-height-mobile);
height: var(--cda-height-mobile);
}
.cda-carousel__overlay {
padding: 1rem 1rem 4.5rem;
justify-content: flex-end;
background: linear-gradient(
180deg,
rgba(0,0,0,.10) 0%,
rgba(0,0,0,.18) 30%,
rgba(0,0,0,.62) 72%,
rgba(0,0,0,.82) 100%
);
}
.cda-carousel__heading,
.cda-carousel__text {
width: 88%;
max-width: 88%;
}
.cda-carousel__heading {
gap: .2rem;
}
.cda-carousel__text {
display: block;
margin-top: .55rem;
font-size: .86rem;
line-height: 1.3;
} .cda-carousel__slide--agenda_active .cda-carousel__overlay,
.cda-carousel__slide--agenda_specific .cda-carousel__overlay {
justify-content: flex-start;
align-items: flex-start;
padding: 1rem 1rem 3.5rem;
background: linear-gradient(
180deg,
rgba(0,0,0,.28) 0%,
rgba(0,0,0,.18) 18%,
rgba(0,0,0,.10) 38%,
rgba(0,0,0,.42) 100%
);
}
.cda-carousel__slide--agenda_active .cda-carousel__heading,
.cda-carousel__slide--agenda_specific .cda-carousel__heading {
align-items: flex-start;
width: 72%;
max-width: 72%;
gap: .15rem;
margin-top: .4rem;
}
.cda-carousel__slide--agenda_active .cda-carousel__title,
.cda-carousel__slide--agenda_specific .cda-carousel__title {
font-size: 34px;
line-height: .95;
}
.cda-carousel__slide--agenda_active .cda-carousel__subtitle,
.cda-carousel__slide--agenda_specific .cda-carousel__subtitle {
font-size: 16px;
line-height: 1.1;
}
.cda-carousel__slide--agenda_active .cda-carousel__text,
.cda-carousel__slide--agenda_specific .cda-carousel__text {
display: block !important;
width: 78%;
max-width: 78%;
margin-top: .55rem;
font-size: .82rem;
line-height: 1.28;
}
.cda-carousel__arrow {
width: 38px;
height: 38px;
font-size: 22px;
}
.cda-carousel__arrow--prev { left: 8px; }
.cda-carousel__arrow--next { right: 8px; }
.cda-carousel__dots {
bottom: 12px;
}
.cda-carousel__text {
display: block !important;
width: 78%;
max-width: 78%;
margin-top: .55rem;
font-size: .82rem;
line-height: 1.28;
}
.cda-carousel__heading {
align-items: flex-start;
width: 72%;
max-width: 72%;
}
.cda-carousel__overlay {
padding: 1rem 1rem 4.5rem;
justify-content: flex-end;
}
}