.module-events .paragraphs .img-responsive { 
object-fit: contain !important; object-position: center left; 
} 
.heading-image { 
padding-bottom: 25%; 
}
.module-news .paragraphs .img-responsive { 
object-fit: contain !important; object-position: center left; 
} 

/* Footer andere kleur, toegevoegd door Folmer van Congressus op 11-12-2024 */
:root {
  --secondary: #fff;
  --main: #0054a6;
}

footer{
    background-color: var(--main);
    color: #fff;
}
footer .headline {
    border-bottom: 1px solid rgba(255,255,255,.1);
}
footer .headline h2, footer .headline h3, footer .headline h4, footer .headline h5, footer .headline h6 {
    border-bottom: 2px solid var(--secondary);
}
.social-icons li a {
	background-color: rgba(255,255,255,.2);
  background-color:var(--secondary);
  color:var(--main);
  border-radius: 5px;
}
dl.headlines.headlines-footer dd .text-muted {
	color: rgba(255,255,255,.5);
}
footer a,
dl.headlines.headlines-footer dd a {
	color: #ddd;
    color: #ffffff;
}
footer a:focus,
footer a:hover,
dl.headlines.headlines-footer dd a:focus,
dl.headlines.headlines-footer dd a:hover {
	color: #fff;
}

/* Make it look more like a title */
.home-1-roulerende.isw-typing {
  font-size: 3rem;          /* bigger = more title-like */
  font-weight: 700;         /* bold */
  line-height: 1.2;
  font-family: inherit;     /* or set a specific title font if you want */
}

/* Rotating words container:
   inline, aligned with baseline so it sits nicely on the line */
.home-1-roulerende .isw-rotate-wrapper {
  display: inline;
  position: relative;
  overflow:visible;
  height: 3em;              /* match current line height */
  vertical-align: bottom; /* align with surrounding text */
}

/* Each rotating word */
.home-1-roulerende .isw-rotate-wrapper span {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  animation: isw-word-rotate 12s infinite;
}

/* Timings for each word (4 words = 12s cycle → 3s each) */
.home-1-roulerende .isw-rotate-wrapper span:nth-child(1) { animation-delay: 0s; }
.home-1-roulerende .isw-rotate-wrapper span:nth-child(2) { animation-delay: 3s; }
.home-1-roulerende .isw-rotate-wrapper span:nth-child(3) { animation-delay: 6s; }
.home-1-roulerende .isw-rotate-wrapper span:nth-child(4) { animation-delay: 9s; }

/* Keyframes: fade in/out without sliding up/down
   so the words stay aligned with the sentence */
@keyframes isw-word-rotate {
  0%   { opacity: 0; transform: translateY(100%); }
  8%   { opacity: 1; transform: translateY(0); }
  25%  { opacity: 1; transform: translateY(0); }
  33%  { opacity: 0; transform: translateY(-100%); }
  100% { opacity: 0; transform: translateY(-100%); }
}

