/* Remove title from notulen vorige vergadering on ALV page */
div.field.field--name-field-notulen-vorige-vergadering.field--type-entity-reference.field--label-above > div.field__item > article > h2 {display:none;}

/* Remove ugly block-hr */
.block-hr { display: none !important; }

/* Fix sponsors carousel */
#views-bootstrap-sponsors-block-1 .carousel-inner img {
    height: 100px;      /* Or any height you want */
    width: auto;        /* Maintains aspect ratio */
    object-fit: contain; /* Ensures images aren't stretched */
}

/* page--scherm.html.twig styling */
.fullscreen-carousel,
.fullscreen-carousel .carousel,
.fullscreen-carousel .carousel-inner,
.fullscreen-carousel .carousel-item,
.fullscreen-carousel .carousel-item img {
  height: 100vh;
  width: 100vw;
}

.fullscreen-carousel .carousel-item img {
  object-fit: contain; /* or 'cover' if you want edge-to-edge cropping */
}

#views-bootstrap-activiteiten-block-2 img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover; /* crop if image doesn't match ratio */
}

/* Target the form specifically for safety */
#views-form-todo-block-1-1 {
    #edit-actions--2 {
        display: none !important;
    }
}


#logo { max-height: 70px !important; }


/* Fix navbar */
@media (min-width: 992px) {

  /* Force the header itself into a 2-column layout */
  #navbar {
    display: flex !important;
    align-items: center;
  }

  /* Inner container must not stack */
  #navbar .navbar-container {
    display: flex !important;
    align-items: center;
    width: 100%;
  }

  /* Logo stays left */
  #navbar .navbar-header {
    flex: 0 0 auto !important;
  }

  /* Push nav to the far right */
  #navbar nav {
    margin-left: auto !important;
    display: block !important;
    width: auto !important;
  }

  /* Menu itself stays horizontal */
  #navbar nav .navbar-nav {
    display: flex !important;
    flex-direction: row !important;
  }

  /* Disable collapse mechanics on desktop */
  #navbar .collapse,
  #navbar .collapsing {
    display: block !important;
    height: auto !important;
    visibility: visible !important;
  }

  /* Hide hamburger */
  #dxpr-theme-menu-toggle {
    display: none !important;
  }
}
