/* ----------------------------------------------------
   ALGEMENE LAYOUT / HEADER / MENU
---------------------------------------------------- */

/* Logo mobile */
.offcanvas-menu .logo {
  display: none;
}

.article-full-image {
  width: 500px;
  height: 500px;
}

@media (max-width: 575px) {
  #sp-header {
    height: 60px;
  }
}

.logo-image-phone {
  height: 50px !important;
}

/* Top bar */
#sp-top-bar {
  font-size: 19px;
  font-weight: 600;
  padding: 8px 0 0;
  margin-bottom: -10px;
}

#sp-top-bar a {
  font-size: 19px;
  font-weight: 600;
  color: #acdedf;
}

#sp-top-bar a:hover {
  color: #fff;
}

/* Mega menu */
.sp-megamenu-parent .sp-mega-group > li > a {
  display: block;
  text-transform: none;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.sp-megamenu-parent > li.active > a {
  font-weight: 700;
}

.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner ul li > a:hover {
  color: #175471;
}

.sp-menu-heading {
  color: #175471;
}

/* Offcanvas menu */
.offcanvas-menu .offcanvas-inner ul.menu > li > a,
.offcanvas-menu .offcanvas-inner ul.menu > li > span {
  font-size: 22px;
  font-family: 'Rubik', sans-serif;
  line-height: 10px;
}

.offcanvas-menu .offcanvas-inner ul.menu > li a:hover,
.offcanvas-menu .offcanvas-inner ul.menu > li a:focus,
.offcanvas-menu .offcanvas-inner ul.menu > li span:hover,
.offcanvas-menu .offcanvas-inner ul.menu > li span:focus {
  color: #175471;
}

.offcanvas-menu .offcanvas-inner ul.menu > li > ul li a {
  font-size: 19px;
}

/* Readmore knoppen */
.article-list .article .readmore a {
  background-color: #175471;
  color: #acdedf !important;
  font-weight: 500;
  margin-top: 20px;
  border-radius: 3px;
  transition: background-color 0.3s ease;
  text-transform: uppercase;
  font-size: 20px;
}

/* Pagination */
.active > .page-link {
  border-color: #175471 !important;
  background-color: #175471 !important;
}

.pagination > li > span:hover,
.pagination > li > span:focus {
  color: #fff;
}

/* Menu rechts uitlijnen */
#sp-menu.menu-with-social .sp-megamenu-wrapper {
  justify-content: end;
}

/* Artikellijst styling */
.article-list .article {
  border: 1px solid #d6d6d6;
  box-shadow: 2px 2px 3px lightgray;
}

/* ----------------------------------------------------
   REVIEWKAARTEN (EASYBOOK)
---------------------------------------------------- */

/* Flex layout voor kaarten */
.easylast-entry {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.easylast-text {
  flex-grow: 1;
}

.easylast-small {
  margin-top: 10px;
  text-align: left!important;
}

.easylast-entry .easylast-small:has(img),
.easylast-entry .easylast-small:not(:has(img)) {
  margin-top: auto;
}

/* Kaart container */
#easybook .easy_frame {
  border: 1px solid #ededed;
  background-color: #FAFFFF;
  border-radius: 10px;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-sizing: border-box;
  box-shadow: none;
  margin-bottom: 10px;
}

#easybook .easy_frame:hover {
  box-shadow: none;
}

/* Header */
#easybook .easy_top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  cursor: pointer !important;
  padding: 0;
  margin: 0;
  background: none !important;
  height: auto !important;
}

/* Naam + datum */
#easybook .easy_top_left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#easybook .easy_big {
  font-size: 20px;
  font-weight: 600;
  color: #175471;
  margin: 0;
  padding: 0;
}

#easybook .easy_small {
  font-size: 15px;
  color: #175471;
  margin: 0;
  padding: 0;
}

/* Sterren */
#easybook .easy_top_right {
  display: flex;
  gap: 3px;
  float: right;
    padding-top: 5px 10px!important;
  }

#easybook .easy_top_right img {
  width: 18px;
  height: auto;
  display: block;
}

/* Titel */
#easybook .easy_title {
  font-size: 20px;
  font-weight: 600;
  color: #175471;
  margin-left: 10px;
  margin-top: -10px;
  padding: 0;
  background: none !important;
  border-right: 0px !important;
  border-left: 0px !important;
}

/* Content */
#easybook .easy_content {
  font-size: 19px !important;
  font-weight: 400;
  color: #175471;
  margin: 0;
  padding: 5px 0;
  background: none !important;
  line-height: 1.45;
    border-right: 0px !important;
  border-left: 0px !important;
  margin-top: -25px;
  margin-left:10px;
}

/* Clear fix verwijderen */
#easybook .clear {
  display: none !important;
}


/* Maak de top-sectie verticaal */
.easy_top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Zorg dat de naam + datum bovenaan blijven */
.easy_top_left {
    order: 1;
}

/* Verplaats de sterren onder de datum */
.easy_top_right {
    order: 2;
    margin-top: -5px; /* minder ruimte onder de datum */
    padding-left: 10px; /* netjes links uitlijnen */
}

/* Sterren kleiner en netjes inline */
.easy_top_right img {
    width: 18px;
    height: auto;
    display: inline-block;
}


/* Maak de naam, datum en sterren NIET klikbaar */
/* Maak de hele bovenbalk volledig niet-klikbaar */
.easy_top {
    pointer-events: none;
    cursor: default !important;
}

/* reviews */

/* Maak de container flex zodat we kunnen herordenen */
div#easybook {
    display: grid !important;
    grid-template-areas:
        "intro"
        "button"
        "entries";
}

div#easybook > .easy_intro {
    grid-area: intro;
}

div#easybook > .easy_entrylink {
    grid-area: button;
    margin-top: 20px;
}

div#easybook > .easy_entries {
    grid-area: entries;
}

/* gastenboek tekenen naar links */
#easybook a.sign, #easybook a.view {
  float: left;
  padding-left:10px;
  margin-bottom:15px;
  margin-top: -40px;
}

#easybook .easy_entrylink button.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 0px;
    background-color: #175471;
    border: none;
    color: #acdedf;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transition: all 0.2s ease;
    text-decoration: none;
  text-transform: uppercase;
}

#easybook .easy_entrylink button.btn:hover {
    background-color: #acdedf;
    transform: translateY(-2px);
    box-shadow: none;
  color: #175471;
}

.btn-success {
    padding: 14px 28px;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 0px;
    background-color: #175471;
    border: none;
    color: #acdedf;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transition: all 0.2s ease;
    text-decoration: none;
  text-transform: uppercase;
}

.btn:hover{
    background-color: #acdedf;
    transform: translateY(-2px);
    box-shadow: none;
  color: #175471;
}

/* Container met alle reviews */
.easylast {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Tablet */
@media (max-width: 1024px) {
  .easylast {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobiel */
@media (max-width: 768px) {
  .easylast {
    grid-template-columns: 1fr;
  }
}

/* Optioneel: elke review als kaart */
.easylast-entry {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}


/* Grid voor 3 kolommen */
.easylast {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Kaart styling */
.easylast-entry {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

/* Elementen herschikken */
/* Sterren bovenaan */
.easylast-entry > div:nth-child(4) {
  order: 1;
  margin-bottom: .3rem;
  display:inline-flex;
}

/* Datum direct onder de sterren */
.easylast-entry > div:nth-child(5) {
  order: 2;
  font-size: .9rem;
  color: #666;
  margin-bottom: .5rem;
}

/* Naam */
.easylast-name {
  order: 3;
  font-weight: 600;
  font-size: 1.1rem;
}

/* Titel */
.easylast-title {
  order: 4;
  font-weight: 600;
  margin-top: .3rem;
}

/* Tekst */
.easylast-text {
  order: 5;
}

/* Responsive */
@media (max-width: 1024px) {
  .easylast {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .easylast {
    grid-template-columns: 1fr;
  }
}

/* guestbook reviews */
#sp-main-body.class-reviews {margin-top:500px;}
