/* ============================================================
   La Maison du Notaire: design systeem
   ============================================================ */

/* ---------- Algemene uitstraling ---------- */
.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5 {
  font-family: Georgia, 'Times New Roman', serif;
  color: #5c4528;
}
.entry-content h2 {
  border-bottom: 2px solid #e5ddd0;
  padding-bottom: 8px;
  margin-top: 44px;
}
.entry-content a { color: #8a5a2b; }

/* ---------- Hero (home) ---------- */
.lmdn-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -30px;
  margin-bottom: 40px;
  overflow: hidden;
}
.lmdn-hero img { width: 100%; height: 620px; object-fit: cover; display: block; }
@media (max-width: 921px) { .lmdn-hero img { height: 420px; } }
.lmdn-hero .lmdn-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,20,8,.15) 0%, rgba(30,20,8,.55) 100%);
  display: flex; flex-direction: column;
  justify-content: flex-end; align-items: center;
  text-align: center; padding: 40px 20px;
  color: #fff;
}
.lmdn-hero h1 {
  font-family: Georgia, serif;
  font-size: 3.6rem; font-weight: 400;
  color: #fff; margin: 0 0 6px;
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
  letter-spacing: .02em;
}
.lmdn-hero .lmdn-hero-sub {
  font-size: 1.15rem; color: #f3ead9;
  margin: 0 0 22px; letter-spacing: .06em;
}
.lmdn-btn, .lmdn-hero .lmdn-btn {
  display: inline-block;
  background: #6b4f2f; color: #fff !important;
  padding: 12px 26px; border-radius: 40px;
  text-decoration: none; font-weight: 600;
  font-size: .95rem;
  transition: background .2s, transform .15s;
  border: 2px solid rgba(255,255,255,.35);
}
.lmdn-btn:hover { background: #4f3a22; transform: translateY(-1px); }
.lmdn-hero .lmdn-btn { background: rgba(255,255,255,.15); backdrop-filter: blur(4px); }
.lmdn-hero .lmdn-btn:hover { background: #6b4f2f; }
@media (max-width: 700px) {
  .lmdn-hero img { height: 340px; }
  .lmdn-hero h1 { font-size: 2rem; }
}

/* Astra blocks-layout kapt directe kinderen af op content-breedte
   (max-width + margin auto). Herstel full-width voor hero/banner,
   ook als de pagina in de blok-editor is bewerkt. */
.entry-content[data-ast-blocks-layout] > .lmdn-hero,
.entry-content[data-ast-blocks-layout] > .lmdn-page-banner {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

/* ---------- Feature-iconen ---------- */
.lmdn-features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px; margin: 26px 0;
}
.lmdn-feature {
  background: #f6f1e7; border: 1px solid #e8dfcf;
  border-radius: 10px; padding: 22px;
  text-align: center;
}
.lmdn-feature .lmdn-feature-icon { font-size: 2rem; margin-bottom: 8px; }
.lmdn-feature h4 { margin: 0 0 6px; font-family: Georgia, serif; color: #5c4528; }
.lmdn-feature p { margin: 0; font-size: .9rem; }

/* ---------- Kamerkaarten ---------- */
.lmdn-room-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 26px; margin: 26px 0;
}
.lmdn-room-card {
  background: #fff; border: 1px solid #e8dfcf;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(60,40,20,.08);
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.lmdn-room-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(60,40,20,.16); }
.lmdn-room-card img { width: 100%; height: 200px; object-fit: cover; }
.lmdn-room-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.lmdn-room-card h3 { margin: 0 0 8px; font-size: 1.15rem; color: #5c4528; }
.lmdn-room-card p { margin: 0 0 12px; font-size: .9rem; line-height: 1.55; }
.lmdn-price { color: #8a5a2b; font-size: 1.02rem; }
.lmdn-room-card .lmdn-btn { margin-top: auto; align-self: flex-start; }

/* ---------- Pagina-hero (kamerpagina's) ---------- */
.lmdn-page-hero {
  width: 100%; max-height: 440px; object-fit: cover;
  border-radius: 12px; margin-bottom: 26px;
  box-shadow: 0 6px 22px rgba(60,40,20,.14);
}

/* ---------- Gallerij (core gallery) ---------- */
.entry-content .gallery {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  gap: 14px !important; margin: 24px 0 !important;
}
.entry-content .gallery-item {
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  float: none !important;
  display: block !important;
  border-radius: 0 !important;
}
.entry-content .gallery-item:last-child { margin-bottom: 0 !important; }
.entry-content .gallery-item .gallery-icon { display: block !important; width: 100% !important; }
.entry-content .gallery-item .gallery-icon a { display: block !important; width: 100% !important; }
.entry-content .gallery-item img {
  width: 100% !important;
  max-width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 8px;
  transition: transform .2s;
}
.entry-content .gallery-item img:hover { transform: scale(1.03); }

/* ---------- Reviews / testimonials ---------- */
.rtt-testimonial-content p { font-style: italic; }
.sp-testimonial-client-name { color: #5c4528 !important; font-family: Georgia, serif; }

/* ---------- CTA-sectie ---------- */
.lmdn-cta {
  background: #6b4f2f; color: #fff;
  border-radius: 14px; padding: 40px 30px;
  text-align: center; margin: 40px 0;
}
.lmdn-cta h2 { color: #fff !important; border: 0; margin: 0 0 10px; }
.lmdn-cta p { color: #eee2cd; margin: 0 0 18px; }
.lmdn-cta .lmdn-btn { background: #fff; color: #6b4f2f !important; border: 0; }
.lmdn-cta .lmdn-btn:hover { background: #f0e6d2; }

/* ---------- Footer (één blok) ---------- */
.lmdn-footer {
  width: 100%;
  background: #efe8dc;
  border-top: 1px solid #d9cfbd;
  padding: 30px 20px 22px;
}
.lmdn-footer-main {
  display: flex; flex-wrap: wrap;
  justify-content: center; align-items: flex-start;
  gap: 24px 60px; max-width: 1000px; margin: 0 auto;
  font-size: .85rem;
}
.lmdn-footer-contact h4 {
  margin: 0 0 10px; font-size: .9rem; color: var(--ast-global-color-2);
}
.lmdn-footer-contact p { margin: 0 0 6px; line-height: 1.5; }
.lmdn-footer-contact a { color: var(--ast-global-color-3); text-decoration: none; }
.lmdn-footer-contact a:hover { text-decoration: underline; }
.lmdn-footer-widgets { display: flex; align-items: center; gap: 24px; }
.lmdn-footer-widgets img { height: 90px; width: auto; }
@media (max-width: 700px) {
  .lmdn-footer-main { flex-direction: column; text-align: center; align-items: center; }
}

/* Featured-afbeelding banner niet tonen (dubbele afbeelding boven content) */
.ast-single-post-featured-section { display: none !important; }

/* ---------- Google Maps ---------- */
.lmdn-map {
  position: relative; width: 100%;
  padding-bottom: 55%;
  border-radius: 12px; overflow: hidden;
  margin: 24px 0;
  box-shadow: 0 4px 18px rgba(60,40,20,.12);
  background: #e8dfcf;
}
.lmdn-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Transparent header (home): witte tekst over hero ---------- */
.ast-theme-transparent-header .site-header {
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(4px);
}
.ast-theme-transparent-header .site-title a,
.ast-theme-transparent-header .main-header-menu .menu-link {
  color: #3f3222 !important;
}
.ast-theme-transparent-header .main-header-menu .menu-link:hover {
  color: #8a5a2b !important;
}

/* Logo-formaat */
.site-branding .custom-logo, .site-logo-img img { width: 150px !important; height: auto !important; }

/* ---------- Hosts (contact) ---------- */
.lmdn-cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px; margin: 28px 0;
  align-items: stretch;
}
.lmdn-host, .lmdn-cards-row .lmdn-feature {
  height: 100%;
}
.lmdn-host {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center;
  background: #f6f1e7; border: 1px solid #e8dfcf;
  border-radius: 14px; padding: 24px 20px 20px;
}
.lmdn-host img {
  width: 140px; height: 140px; object-fit: cover;
  border-radius: 50%; border: 4px solid #fff;
  box-shadow: 0 4px 14px rgba(60,40,20,.2);
  margin-bottom: 12px;
}
.lmdn-host h4 { margin: 0 0 4px; font-family: Georgia, serif; color: #5c4528; }
.lmdn-host p { margin: 0; font-size: .9rem; }

/* ---------- Split (foto + tekst) ---------- */
.lmdn-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 30px; align-items: center; margin: 28px 0;
}
.lmdn-split img { width: 100%; height: 340px; object-fit: cover; border-radius: 12px; box-shadow: 0 6px 22px rgba(60,40,20,.15); }
.lmdn-split.reverse .lmdn-split-img { order: 2; }
@media (max-width: 760px) { .lmdn-split { grid-template-columns: 1fr; } }

/* ---------- Tijdlijn ---------- */
.lmdn-timeline { display: flex; flex-wrap: wrap; gap: 14px; margin: 20px 0; }
.lmdn-tl-item {
  background: #f6f1e7; border: 1px solid #e8dfcf;
  border-radius: 10px; padding: 16px 14px; flex: 1 1 150px;
  text-align: center;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  min-height: 92px;
}
.lmdn-tl-item .lmdn-tl-time {
  font-size: 1.15rem; font-weight: 700; color: #8a5a2b;
  margin-bottom: 4px; line-height: 1.2;
}
.lmdn-tl-item .lmdn-tl-label { font-size: .82rem; color: #6b5a45; line-height: 1.35; }

/* ---------- Quote met achtergrond ---------- */
.lmdn-quote {
  position: relative; border-radius: 14px; overflow: hidden;
  margin: 32px 0; padding: 60px 30px; text-align: center;
  background-size: cover; background-position: center;
}
.lmdn-quote::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,20,8,.55), rgba(30,20,8,.75));
}
.lmdn-quote blockquote { position: relative; margin: 0 auto; max-width: 720px; color: #fff; }
.lmdn-quote blockquote p { font-size: 1.35rem; font-style: italic; line-height: 1.5; color: #fff; margin: 0; }
.lmdn-quote blockquote footer { margin-top: 16px; color: #e8dcc6; font-style: normal; }

/* ---------- Genummerde highlights ---------- */
.lmdn-highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin: 26px 0; }
.lmdn-highlight {
  background: #fff; border: 1px solid #e8dfcf; border-radius: 12px;
  padding: 26px 22px; box-shadow: 0 4px 14px rgba(60,40,20,.07);
}
.lmdn-highlight .lmdn-hl-nr { font-family: Georgia, serif; font-size: 1.6rem; color: #c9b796; }
.lmdn-highlight h4 { margin: 8px 0 6px; font-family: Georgia, serif; color: #5c4528; }
.lmdn-highlight p { margin: 0; font-size: .9rem; }

/* ---------- Regio-kaarten ---------- */
.lmdn-region { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin: 26px 0; }
.lmdn-region-card {
  border-radius: 12px; overflow: hidden; position: relative;
  min-height: 240px; display: flex; align-items: flex-end;
  background-size: cover; background-position: center;
  box-shadow: 0 6px 20px rgba(60,40,20,.16);
  transition: transform .2s;
}
.lmdn-region-card:hover { transform: translateY(-3px); }
.lmdn-region-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(20,12,4,.78));
}
.lmdn-region-body { position: relative; padding: 20px; color: #fff; width: 100%; }
.lmdn-region-body h4 { margin: 0 0 6px; color: #fff; font-family: Georgia, serif; font-size: 1.15rem; }
.lmdn-region-body p { margin: 0 0 10px; font-size: .85rem; color: #eee; }
.lmdn-badge {
  display: inline-block; background: rgba(255,255,255,.9); color: #5c4528;
  font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 20px;
  margin-bottom: 8px;
}
.lmdn-region-body a { color: #f0d9a8 !important; text-decoration: underline; font-size: .85rem; }

/* ---------- Regio: locatielijsten ---------- */
.lmdn-loc-list { list-style: none; margin: 4px 0 8px; padding: 0; }
.lmdn-loc-list li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 3px 0; border-bottom: 1px dashed rgba(255,255,255,.25);
  color: #f3ead9; font-size: .88rem;
}
.lmdn-loc-list li:last-child { border-bottom: 0; }
.lmdn-loc-list a { color: #fff !important; text-decoration: none; }
.lmdn-loc-list a:hover { text-decoration: underline; }
.lmdn-dist { color: #f0d9a8; font-size: .78rem; white-space: nowrap; }
.lmdn-region-card { min-height: 280px; }
.lmdn-region-body p { line-height: 1.5; }

/* Standaard ruimte tussen content en footer */
.entry-content { padding-bottom: 64px; }

/* ---------- Kolommen in doosjes ---------- */
.lmdn-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px; margin: 26px 0;
}
.lmdn-box {
  background: #f6f1e7; border: 1px solid #e8dfcf;
  border-radius: 12px; padding: 22px 24px;
}
.lmdn-box h3 { margin: 0 0 12px; font-family: Georgia, serif; color: #5c4528; font-size: 1.1rem; }
.lmdn-box ul { margin: 0; padding-left: 18px; }
.lmdn-box li { margin-bottom: 6px; line-height: 1.5; }

/* ---------- Compacte pagina-banner achter het menu ---------- */
.lmdn-page-banner {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -80px;
  height: 300px;
  background-size: cover;
  background-position: center;
}
@media (max-width: 921px) { .lmdn-page-banner { height: 210px; margin-top: -70px; } }
