.sadr-agenda-article {
  max-width: 760px;
  margin: 0 auto;
}

body.com-content.view-article #sp-header,
body.com-content.view-article #sp-header.header-sticky {
  background-color: #005ea7 !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

body.com-content.view-article #sp-main-body {
  padding-top: 150px;
}

#sp-header.header-sticky {
  background-color: #005ea7;
}

.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span {
  display: inline-block;
  padding: 15px 15px;
  line-height: 120px;
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.sp-megamenu-parent > li::before {
  transition: 400ms;
  opacity: 0;
  position: absolute;
  content: "[";
  left: 10px;
  top: 62px;
  font-size: 20px;
  color: #fff;
}

.sp-megamenu-parent > li::after {
  transition: 400ms;
  opacity: 0;
  position: absolute;
  content: "]";
  right: 10px;
  top: 62px;
  font-size: 20px;
  color: #fff;
}

#sp-bottom {
  font-size: 16px;
  line-height: 1.6;
}

.sp-page-title {
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;
  background-attachment: scroll !important;
}

body.itemid-101 #sppb-sp-slider-547f7602-9d45-407d-a0df-4d169f035ad6 .sp-item {
  position: relative;
}

body.itemid-101 #sppb-sp-slider-547f7602-9d45-407d-a0df-4d169f035ad6 .sp-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.34);
  z-index: 1;
  pointer-events: none;
}

body.itemid-101 #sppb-sp-slider-547f7602-9d45-407d-a0df-4d169f035ad6 .sp-slider-content-wrap {
  position: relative;
  z-index: 2;
}

.sadr-agenda-hero {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 8px;
  background-color: #1b2935;
  background-position: center;
  background-size: cover;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.sadr-agenda-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.44));
}

.sadr-agenda-overlay {
  position: relative;
  z-index: 1;
  padding: 120px 48px 120px;
  color: #fff;
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.55);
}

.sadr-agenda-overlay h3,
.sadr-agenda-overlay h4 {
  color: #fff;
  letter-spacing: 0;
}

.sadr-agenda-overlay h3 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
}

.sadr-agenda-overlay h4 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 500;
}

.sadr-agenda-actions {
  position: absolute;
  z-index: 2;
  left: 32px;
  right: 32px;
  bottom: 32px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.sadr-agenda-actions form {
  margin: 0;
}

.sadr-agenda-actions-detail {
  position: static;
  margin-top: 24px;
}

.sadr-agenda-description {
  margin-top: 24px;
  color: #252525;
  font-size: 18px;
  line-height: 1.6;
}

.sadr-agenda-description > :last-child {
  margin-bottom: 0;
}

.sadr-offcanvas-auth {
  margin: 20px 20px 0;
  padding-top: 20px;
  border-top: 1px solid rgba(37, 37, 37, 0.14);
}

.sadr-offcanvas-auth-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 6px;
  background-color: #005ea7;
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.sadr-offcanvas-auth-link:hover,
.sadr-offcanvas-auth-link:focus {
  background-color: #ffffff;
  color: #005ea7 !important;
}

.sadr-agenda-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 48px;
  padding: 12px 26px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.sadr-agenda-button:hover,
.sadr-agenda-button:focus {
  color: #fff;
  transform: translateY(-1px);
}

.sadr-agenda-button-interest {
  background-color: #00aee8;
}

.sadr-agenda-button-interest:hover,
.sadr-agenda-button-interest:focus {
  background-color: #008fc4;
}

body.itemid-388 .addon-root-button .sppb-btn {
  border-color: #00aee8 !important;
  background-color: #00aee8 !important;
  color: #fff !important;
}

body.itemid-388 .addon-root-button .sppb-btn:hover,
body.itemid-388 .addon-root-button .sppb-btn:focus {
  border-color: #008fc4 !important;
  background-color: #008fc4 !important;
  color: #fff !important;
}

body.itemid-388 .addon-root-button .sppb-btn i,
body.itemid-388 .addon-root-button .sppb-svg-icon {
  display: none !important;
}

#sp-menu .jmodedit,
#sp-menu .jmenuedit,
#sp-menu [class*="jmodedit"],
#sp-menu [aria-describedby^="tip-"],
#sp-menu [role="tooltip"] {
  display: none !important;
}

.sadr-agenda-button-going {
  background-color: #005ea7;
}

.sadr-agenda-button-going:hover,
.sadr-agenda-button-going:focus {
  background-color: #004d8a;
}

.sadr-agenda-button.is-active {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.55), 0 0 0 5px rgba(0, 94, 167, 0.22);
}

.sadr-agenda-button-cancel {
  background-color: #eef3f6;
  color: #243746;
}

.sadr-agenda-button-cancel:hover,
.sadr-agenda-button-cancel:focus {
  background-color: #dce7ee;
  color: #243746;
}

.sadr-registration-intro {
  max-width: 760px;
  margin: 0 auto 28px;
  padding: 22px 24px;
  border: 1px solid rgba(0, 94, 167, 0.18);
  border-radius: 8px;
  background: #f7fbff;
}

.sadr-registration-intro h2 {
  margin: 0 0 8px;
  color: #005ea7;
  font-size: 28px;
  line-height: 1.25;
}

.sadr-registration-intro p {
  margin: 0;
  color: #243746;
  font-size: 17px;
  line-height: 1.5;
}

.sadr-agenda-hero-link {
  display: block;
}

.sadr-agenda-hero-link:hover,
.sadr-agenda-hero-link:focus {
  color: inherit;
}

.sadr-agenda-article-list .sadr-agenda-actions-list {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  margin-top: -80px;
  padding: 0 32px 32px;
}

.sadr-agenda-article-list .sadr-agenda-response-list {
  margin-top: 0;
}

.sadr-agenda-sppb-card .sadr-agenda-article {
  max-width: none;
}

.sppb-addon-articles .sadr-agenda-sppb-wrapper {
  margin-bottom: 40px;
}

.sadr-agenda-sppb-card .sadr-agenda-hero {
  min-height: 330px;
}

.sadr-agenda-sppb-card .sadr-agenda-overlay {
  padding: 82px 22px 118px;
}

.sadr-agenda-sppb-card .sadr-agenda-overlay h3 {
  font-size: 32px;
}

.sadr-agenda-sppb-card .sadr-agenda-overlay h4 {
  font-size: 16px;
}

.sadr-agenda-sppb-card .sadr-agenda-actions-list {
  margin-top: -104px;
  padding: 0 18px 18px;
  flex-direction: row;
  gap: 10px;
}

.sadr-agenda-sppb-card .sadr-agenda-actions form,
.sadr-agenda-sppb-card .sadr-agenda-button {
  width: 100%;
}

.sadr-agenda-sppb-card .sadr-agenda-button {
  min-width: 0;
  min-height: 42px;
  padding: 10px 14px;
}

.sadr-agenda-message,
.sadr-agenda-login-note,
.sadr-agenda-response-list {
  margin-top: 24px;
}

.sadr-agenda-message {
  padding: 12px 16px;
  border-radius: 8px;
  background: #e8f6ff;
  color: #005ea7;
  font-weight: 600;
}

.sadr-agenda-login-note {
  padding: 18px 20px;
  border: 1px solid rgba(0, 94, 167, 0.22);
  border-radius: 8px;
  background: #f7fbff;
}

.sadr-agenda-login-note p {
  margin: 0 0 8px;
  color: #252525;
  font-weight: 600;
}

.sadr-agenda-login-note a {
  color: #005ea7;
  font-weight: 700;
}

.sadr-agenda-login-note span {
  margin: 0 8px;
  color: #5d6973;
}

.sadr-agenda-response-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.sadr-agenda-response-list div {
  padding: 18px 20px;
  border-radius: 8px;
  background: #f4f8fb;
}

.sadr-agenda-response-list h4 {
  margin: 0 0 8px;
  color: #005ea7;
  font-size: 18px;
  line-height: 1.3;
}

.sadr-agenda-response-list p {
  margin: 0;
}

@media (max-width: 767px) {
  body.com-content.view-article #sp-main-body {
    padding-top: 110px;
  }

  .sp-megamenu-parent > li > a,
  .sp-megamenu-parent > li > span {
    line-height: 80px;
  }

  .sp-megamenu-parent > li::before,
  .sp-megamenu-parent > li::after {
    top: 42px;
  }

  .sadr-agenda-hero {
    min-height: 360px;
  }

  .sadr-agenda-overlay {
    padding: 90px 24px 128px;
  }

  .sadr-agenda-overlay h3 {
    font-size: 24px;
  }

  .sadr-agenda-overlay h4 {
    font-size: 17px;
  }

  .sadr-agenda-actions {
    left: 18px;
    right: 18px;
    bottom: 18px;
    flex-direction: column;
  }

  .sadr-agenda-article-list .sadr-agenda-actions-list {
    margin-top: -122px;
    padding: 0 18px 18px;
  }

  .sadr-agenda-actions form,
  .sadr-agenda-button {
    width: 100%;
  }

  .sadr-agenda-response-list {
    grid-template-columns: 1fr;
  }
}

.sp-megamenu-parent > li > span {
  color: #fff;
}

.sp-megamenu-parent > li:hover > span,
.sp-megamenu-parent > li.active > span {
  color: #00aeef;
}

/* Fixed Travelkit overlay header. */
body.sticky-header #sp-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent !important;
}

body.sticky-header #sp-header.header-sticky {
  background-color: #005ea7 !important;
}

body.sticky-header .sticky-header-placeholder {
  height: 0 !important;
}

body.sticky-header.com-sppagebuilder #sp-main-body {
  padding-top: 0 !important;
}

.inner-wrapper.margin-top {
  margin-top: 0 !important;
}

body .sppb-btn,
body .btn {
  text-transform: none !important;
}

html body a.sppb-btn,
html body button.sppb-btn,
html body input.sppb-btn,
html body a.btn,
html body button.btn,
html body input.btn {
  text-transform: none !important;
}

body.itemid-388 .addon-root-accordion .sppb-panel.sppb-panel-custom {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.itemid-388 .addon-root-accordion .sppb-panel-custom .sppb-panel-body {
  border-top: 0 !important;
}

body.itemid-388 .addon-root-accordion .sppb-panel-heading {
  background-color: #00aeef !important;
  border: 0 !important;
  border-radius: 4px !important;
  color: #fff !important;
  transition: background-color 180ms ease;
}

body.itemid-388 .addon-root-accordion .sppb-panel-heading:hover,
body.itemid-388 .addon-root-accordion .sppb-panel-heading:focus,
body.itemid-388 .addon-root-accordion .sppb-panel-heading.active {
  background-color: #005ea7 !important;
}

body.itemid-388 .addon-root-accordion .sppb-panel-title,
body.itemid-388 .addon-root-accordion .sppb-panel-title .text-theme-colored {
  color: #fff !important;
  font-size: 1.2rem !important;
}

body.itemid-388 .addon-root-accordion .sppb-panel-body .sppb-section {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

.sadr-bingo-cover-card {
    margin: 0 0 30px;
}

.sadr-bingo-cover-link {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 20px;
    background: #e8edf0;
}

.sadr-bingo-cover-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.sadr-bingo-cover-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 12px;
    text-align: center;
    color: #243746;
    font-weight: 700;
}

.sadr-bingo-join {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 24px 0 30px;
  padding: 20px 22px;
  border: 1px solid rgba(0, 94, 167, 0.18);
  border-radius: 8px;
  background: #f7fbff;
}

.sadr-bingo-join p {
  margin: 0;
  color: #243746;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 600;
}

.sadr-bingo-join-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 24px;
  border: 0;
  border-radius: 8px;
  background-color: #00aee8;
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.sadr-bingo-join-button:hover,
.sadr-bingo-join-button:focus {
  background-color: #005ea7;
  color: #fff !important;
  transform: translateY(-1px);
}

.sadr-bingo-join.is-joined .sadr-bingo-join-button {
  background-color: #005ea7;
}

@media (max-width: 767px) {
  .sadr-bingo-join {
    align-items: stretch;
    flex-direction: column;
  }

  .sadr-bingo-join-button {
    width: 100%;
    white-space: normal;
  }
}

/* Compact hoofdmenu, zodat extra menu-items netjes passen. */
.sp-megamenu-parent {
  margin-left: -8px !important;
  margin-right: -8px !important;
}

.sp-megamenu-parent > li::before,
.sp-megamenu-parent > li::after {
  content: none !important;
  display: none !important;
}

.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span {
  padding-left: 8px !important;
  padding-right: 8px !important;
}

/* Gebruik de beschikbare breedte in de header al net onder 1400px. */
@media (min-width: 1200px) {
  #sp-header > .container {
    max-width: min(1320px, calc(100% - 48px)) !important;
  }

  #sp-header .header-modules {
    margin-left: 12px !important;
  }

  #sp-header .header-modules .sp-module {
    margin-left: 12px !important;
  }
}

#sp-header #btn-4673195b-5205-4ccb-9582-904b238cb940:hover,
#sp-header #btn-4673195b-5205-4ccb-9582-904b238cb940:focus,
#sp-header #btn-4673195b-5205-4ccb-9582-904b238cb940:active {
  background-color: #fff !important;
  border-color: #fff !important;
  color: #005ea7 !important;
}

/* Gebruik op tablet landscape al het hamburgermenu. */
@media (max-width: 1199px) {
  #sp-header nav.sp-megamenu-wrapper .sp-megamenu-parent,
  #sp-header nav.sp-megamenu-wrapper .d-lg-block {
    display: none !important;
  }

  #sp-header .offcanvas-toggler-left,
  #sp-header nav.sp-megamenu-wrapper #offcanvas-toggler,
  #sp-header nav.sp-megamenu-wrapper #offcanvas-toggler.offcanvas-toggler-right,
  #sp-header nav.sp-megamenu-wrapper #offcanvas-toggler.mega {
    display: none !important;
  }

  #sp-header #sp-menu > .sp-column > #offcanvas-toggler.offcanvas-toggler-right {
    display: flex !important;
    align-items: center;
  }
}

/* Voorpagina: headerbeelden vullen op mobiel de beschikbare hoogte. */
@media (max-width: 991.98px) {
  body.itemid-101 #sp-header,
  body.itemid-101 #sp-header.header-sticky {
    height: 92px !important;
  }

  body.itemid-101 #sp-header .logo,
  body.itemid-101 #sp-header .logo a,
  body.itemid-101 #sp-header #offcanvas-toggler,
  body.itemid-101 #sp-header #sp-menu > .sp-column {
    min-height: 92px !important;
  }

  body.itemid-101 #sp-header .container-inner > .row {
    min-height: 92px !important;
    align-items: center !important;
  }

  body.itemid-101 #sppb-sp-slider-547f7602-9d45-407d-a0df-4d169f035ad6 .sp-nav-control {
    display: none !important;
  }

  body.itemid-101 .sppb-addon-articles .sadr-agenda-sppb-wrapper:nth-of-type(n + 4) {
    display: none !important;
  }

  body.itemid-101 .sadr-mobile-home-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 16px 0;
  }

  body.itemid-101 .sadr-mobile-home-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid #005ea7;
    border-radius: 6px;
    background-color: #005ea7;
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
  }

  body.itemid-101 .sadr-mobile-home-action:last-child {
    border-color: #00aee8;
    background-color: #00aee8;
    color: #fff !important;
  }

  .sadr-mobile-page-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 16px 0;
  }

  .sadr-mobile-page-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid #005ea7;
    border-radius: 6px;
    background-color: #005ea7;
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
  }

  .sadr-mobile-page-action-faq {
    border-color: #00aee8;
    background-color: #00aee8;
    color: #fff !important;
  }
}

@media (min-width: 992px) {
  .sadr-mobile-page-actions {
    display: none !important;
  }
}

/* BGG Afspraken detailpagina's hebben geen eigen menu-item-afbeelding; toon direct de leesbare sticky header. */
body.com-bggplanner.view-game #sp-header,
body.com-bggplanner.view-game #sp-header.header-sticky,
body.com-bggplanner.view-session #sp-header,
body.com-bggplanner.view-session #sp-header.header-sticky {
  background-color: #005ea7 !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

body.com-bggplanner.view-game .sticky-header-placeholder,
body.com-bggplanner.view-session .sticky-header-placeholder {
  height: 120px !important;
}

body.com-bggplanner.view-game #sp-main-body,
body.com-bggplanner.view-session #sp-main-body {
  padding-top: 30px !important;
}

/* BGG Afspraken overzicht: laat de planner links aansluiten op de tekstkolom. */
body.com-bggplanner.view-schedule .bggplanner,
body.com_bggplanner.view-schedule .bggplanner {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

@media (min-width: 1200px) {
  body.com-bggplanner.view-schedule #sp-main-body > .container,
  body.com-bggplanner.view-schedule #sp-main-body .container {
    width: 100% !important;
    max-width: min(1320px, calc(100% - 48px)) !important;
  }
}
