:root {
  /* VVD-blauw dominant, oranje als accent */
  --vvd-blue: #003399;
  --vvd-orange: #f36f21;
}

body {
  background-color: #f7f7f9;
}

.navbar {
  background-color: var(--vvd-blue);
}

.navbar .nav-link,
.navbar .navbar-brand {
  color: #ffffff !important;
  font-weight: 500;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: var(--vvd-orange) !important;
}

.navbar-logo { max-height: 75px; width: auto; }

.hero {
  position: relative;
  width: 100%;
  --hero-end-height: 320px;
  height: calc(var(--hero-end-height) * 2); 
  overflow: hidden;
  animation: hero-intro 2s ease-out forwards;
}

.hero .carousel,
.hero .carousel-inner,
.hero .carousel-item {
  height: 100%;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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


@media (min-width: 992px) {
  .hero {
    --hero-end-height: 520px;
  }
}

@keyframes hero-intro {
  from {
    height: calc(var(--hero-end-height) * 2);  
  }
  to {
    height: var(--hero-end-height);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero {
    animation: none;
    height: var(--hero-end-height);
  }
}

/* Puntjes rechtsonder in de hero */
.hero .carousel-indicators {
  position: absolute;
  right: 1.5rem;
  left: auto;
  bottom: 1.2rem;
  margin: 0;
  justify-content: flex-end;
  z-index: 4;
}

.hero .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.7);
  border: none;
}

.hero .carousel-indicators .active {
  background-color: var(--vvd-orange);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(
    to bottom,
    rgba(0, 25, 80, 0),
    rgba(0, 25, 80, 0)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 2rem 1rem;

  opacity: 0;
  animation: hero-overlay-fade 2s ease forwards;
  /*animation-delay: 1s;*/
}

@keyframes hero-overlay-fade {
  from {
    opacity: 0;
    background: linear-gradient(
      to bottom,
      rgba(0, 25, 80, 0),
      rgba(0, 25, 80, 0)
    );
  }
  to {
    opacity: 1;
    background: linear-gradient(
      to bottom,
      rgba(0, 25, 80, 0.4),
      rgba(0, 25, 80, 0.7)
    );
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-overlay {
    animation: none;
    opacity: 1;
    background: linear-gradient(
      to bottom,
      rgba(0, 25, 80, 0.4),
      rgba(0, 25, 80, 0.7)
    );
  }
}

.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-shadow:  3px 3px 0 var(--vvd-blue);
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  font-weight: 400;
  margin-top: .5rem;
}

.hero-slogan {
  margin-top: 1.2rem;
  padding: .4rem 1.2rem;
  display: inline-block;
  border-radius: 999px;
  background-color: var(--vvd-orange);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
}

.hero.hero--static {
  animation: none !important;
  height: var(--hero-end-height) !important;
}

/* Overlay meteen “aan”, zonder animatie */
.hero.hero--static .hero-overlay {
  animation: none !important;
  opacity: 1 !important;
  background: linear-gradient(
    to bottom,
    rgba(0, 25, 80, 0.4),
    rgba(0, 25, 80, 0.7)
  ) !important;

  /* geen flex-center nodig als er toch geen tekst in zit */
  display: block;
}

/* Geen puntjes nodig op static variant */
.hero.hero--static .carousel-indicators {
  display: none !important;
}

.breadcrumb {
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.breadcrumb li + li::before {
  content: "›";
  opacity: .6;
  margin: 0 .4rem;
  color: var(--vvd-orange);
}

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  font-weight: 600;
}

.section-title {
  position: relative;
  padding-left: 2.6rem;          
  margin-bottom: 1.5rem;
  color: var(--vvd-blue);
  font-weight: 700;
  font-size: 1.6rem;
}

.section-title--large {
  font-size: 2.2rem;
  padding-left: 3.2rem;
}

.section-title--small {
  font-size: 1.2rem;
  padding-left: 2.2rem;
}


.section-title::before,
.section-title::after {
  content: "";
  position: absolute;
  width: 1.2rem;
  height: 1.2rem;
}


.section-title::before {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.2rem;
  height: 1.2rem;
  background: var(--vvd-orange);
  clip-path: polygon(
    0 0,
    22% 0,
    22% 0,
    100% 50%,
    22% 100%,
    22% 100%,
    0 100%,
    0 0
  );
  z-index: 2;
}

.section-title::after {
  left: 0;
  top: calc(50% + 2px);
  transform: translateY(-50%);
  width: 1.35rem;     
  height: 1.35rem;    
  background: var(--vvd-blue);
  clip-path: polygon(
    0 0,
    22% 0,
    22% 0,
    100% 50%,
    22% 100%,
    22% 100%,
    0 100%,
    0 0
  );
  opacity: 0.95;
  z-index: 1;
}

.news-card {
  transition: 
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.news-card .stretched-link { color: var(--vvd-blue); }

.news-card:hover {
  transform: translateY(-4px);
}

.news-card:hover .card-title { color: var(--vvd-orange); }
.news-card:hover .stretched-link { color: var(--vvd-orange); }

.news-card img {
  object-fit: cover;
}

.news-card .card-img-top {
	object-fit: cover;
    object-position: center top;

}

.ratio-1200x630 {
  --bs-aspect-ratio: 52.5%;
  aspect-ratio: 1200 / 630;
}



.news-card .card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
}

.news-card .card-text {
  font-size: .9rem;
  color: #555;
}

.news-date {
  font-size: .8rem;
  color: #777;
}

.profile-meta {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 0.4rem;
}

.profile-meta-row {
  display: grid;
  grid-template-columns: 14rem 1fr;
  column-gap: 1rem;
  align-items: start;
}

.profile-meta dt {
  font-weight: 600;
  color: var(--vvd-blue);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.profile-meta dd {
  margin: 0;
  color: #333;
}

/* Iconen subtiel accent */
.profile-meta i {
  color: var(--vvd-orange);
  width: 1.1rem;
}

/* Responsive: labels boven waarden op mobiel */
@media (max-width: 576px) {
  .profile-meta-row {
    grid-template-columns: 1fr;
  }

  .profile-meta dt {
    font-size: 0.85rem;
    opacity: 0.75;
  }
}

.kandidaat-header{
  /* jouw afbeelding */
  background: url("kieslijst-bg-vvddrimmelen.png") no-repeat;
  background-size: cover;

  /* hiermee “anker” je het interessante deel (potlood/cirkeltje) */
  background-position: left top; /* evt: 10% 0% of left 20% top */

  /* responsieve hoogte met nette grenzen */
  min-height: 140px;
  height: clamp(140px, 18vw, 260px);

  /* ruimte zodat tekst niet tegen rand plakt */
  padding: clamp(14px, 2vw, 28px);

  /* tekst positioneren */
  display: flex;
  align-items: flex-end;      /* onderin */
  justify-content: flex-start;/* links */

  /* optioneel: iets donkerder/leesbaarder */
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

/* optioneel: subtiele gradient voor leesbaarheid van tekst */
.kandidaat-header::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(90deg,
    rgba(0,0,0,.35) 0%,
    rgba(0,0,0,.10) 45%,
    rgba(0,0,0,0) 70%
  );
  pointer-events:none;
}

.kandidaat-naam{
  position: relative; /* zodat hij boven de gradient ligt */
  color: #fff;
  font-weight: 700;
  line-height: 1.1;

  /* schaalbaar lettertype */
  font-size: clamp(18px, 3vw, 38px);

  /* optioneel */
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
  max-width: min(90%, 28ch); /* voorkomt te lange regels */
}

footer {
  background-color: var(--vvd-blue);
  color: #d1d5db;
  margin-top: 3rem;
  padding-top: 2.5rem;
}

footer h5 {
  font-size: 1rem;
  margin-bottom: .75rem;
  color: #f9fafb;
}

footer a {
  color: #d1d5db;
  text-decoration: none;
  font-size: .9rem;
}

footer a:hover {
  color: var(--vvd-orange);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--vvd-orange); 
  margin-top: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 2rem;
  font-size: .8rem;
  color: #9ca3af;
}
.footer-bottom a { font-size: .8rem; color: #9ca3af; }

.footer-social a {

}

.footer-social a i {
	font-size: 1.5em;
	color: var(--vvd-orange);
	background-color: var(--vvd-blue);
}

.footer-social a:hover {
  background-color: var(--vvd-orange);
  color: #111827;
}


.quote-box {
  position: relative;
  background-color: var(--vvd-blue);
  color: #fff;
  padding: 3.2rem 2rem 3.2rem; /* extra ruimte onderin voor puntjes */
  height: 100%;
  display: flex;
  align-items: center;
  border-radius: 0.5rem;
  overflow: hidden;
}

.quote-box .carousel,
.quote-box .carousel-inner,
.quote-box .carousel-item {
  width: 100% !important;
}

.quote-content {
  text-align: center;
  width: 100%;
  min-height: 180px;
  margin-left: auto;
  margin-right: auto;
}

.quote-text {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1rem;
}


.quote-author {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 0;
}

.quote-box .carousel-indicators {
  position: absolute !important;
  left: 50% !important;
  bottom: 0.1rem !important;
  top: auto !important;
  transform: translateX(-50%) !important;
  margin: 0;
  justify-content: center;
  z-index: 5;
}

.quote-box .carousel-indicators [data-bs-target] {
  background-color: rgba(255, 255, 255, 0.6);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  margin: 3px;
}

.quote-box .carousel-indicators .active {
  background-color: var(--vvd-orange);
}

.quote-diagonal-bg {
  background:
    linear-gradient(
      135deg,
      var(--vvd-blue) 0%,
      var(--vvd-blue) 50%,
      var(--vvd-orange) 50%,
      var(--vvd-orange) 100%
    );
}

.quote-person {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.quote-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}

.quote-person-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.quote-author-name {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
}

.tekstblok {
	
	
}
.tekstblok p {   
	font-size: .9rem;
	color: #555;
}
.tekstblok a {
	color: var(--vvd-blue);
	text-decoration: none;
}
.tekstblok a:hover {
	color: var(--vvd-orange);
}
.tekstblok ul li {
	font-size: .9rem;
	color: #555;
}


:root {
  --bs-primary: #003399;
  --bs-primary-rgb: 0, 51, 153;
  --bs-secondary: #f36f21;
  --bs-secondary-rgb: 243, 111, 33;
}
.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #003399;
  --bs-btn-border-color: #003399;
  --bs-btn-hover-bg: #00267a;
  --bs-btn-hover-border-color: #002267;
  --bs-btn-focus-shadow-rgb: 0, 51, 153;
  --bs-btn-active-bg: #001d5c;
  --bs-btn-active-border-color: #00194d;
}
.btn-outline-primary {
  --bs-btn-color: #003399;
  --bs-btn-border-color: #003399;
  --bs-btn-hover-bg: #003399;
  --bs-btn-hover-border-color: #003399;
  --bs-btn-active-bg: #003399;
  --bs-btn-active-border-color: #003399;
  --bs-btn-disabled-color: #003399;
  --bs-btn-disabled-border-color: #003399;
}
.btn-secondary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #f36f21;
  --bs-btn-border-color: #f36f21;
  --bs-btn-hover-bg: #d85f1c;
  --bs-btn-hover-border-color: #c95619;
  --bs-btn-focus-shadow-rgb: 243, 111, 33;
  --bs-btn-active-bg: #b84f15;
  --bs-btn-active-border-color: #a84713;
}
.btn-outline-secondary {
  --bs-btn-color: #f36f21;
  --bs-btn-border-color: #f36f21;
  --bs-btn-hover-bg: #f36f21;
  --bs-btn-hover-border-color: #f36f21;
  --bs-btn-active-bg: #f36f21;
  --bs-btn-active-border-color: #f36f21;
  --bs-btn-disabled-color: #f36f21;
  --bs-btn-disabled-border-color: #f36f21;
}