/* Vakantiehuis Limburg - standalone stylesheet (replaces the SmallBiz Dynamic theme) */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #54aa2f;
  font: 13.6px/17px Arial, Helvetica, sans-serif;
  color: #333;
}
img { max-width: 100%; height: auto; border: 0; }
a { color: #27a3f5; }
.inner { max-width: 995px; margin: 0 auto; }

/* ---------- Header ---------- */
#header { background: #54aa2f; }
#header .inner {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 6px 20px;
  padding: 30px 15px 11px 10px;
}
#header h1 { margin: 0; font-size: 34px; line-height: 38px; letter-spacing: 1px; }
#header h1 a { color: #333; text-decoration: none; }
#header .tagline { margin: 0; padding-left: 4px; font-size: 18px; font-weight: bold; letter-spacing: 1px; line-height: 22px; }
#header .contact { text-align: right; letter-spacing: 1px; }
#header .contact p { margin: 0; }
#header .tel { font-size: 22px; font-weight: bold; line-height: 28px; }
#header .tel a { color: #333; text-decoration: none; }
#header .tel img { vertical-align: -2px; margin-left: 2px; }
#header .adr { font-size: 18px; line-height: 24px; }

/* ---------- Menu ---------- */
#menu { background: #333; }
#menu ul { list-style: none; margin: 0; padding: 0 0 0 7px; display: flex; flex-wrap: wrap; }
#menu li a {
  display: block; padding: 8px 11px 8px; color: #999;
  font: bold 15px/17px Arial, Helvetica, sans-serif; text-decoration: none;
}
#menu li a:hover, #menu li.current a { color: #fff; }
.menu-toggle { display: none; }

/* ---------- Content ---------- */
#contentwrap { background: #ccc; padding: 20px 0; }
#page {
  max-width: 995px; margin: 0 auto; background: #fff;
  border-radius: 5px; box-shadow: 0 1px 3px rgba(0,0,0,.3);
  padding: 25px 30px 40px;
  overflow: hidden;
}
#page p, #page li, #page td { font-size: 16px; line-height: 20.8px; color: #333; }
#page p { margin: 11.2px 0; }
#page td { font-size: 13.6px; line-height: 17px; vertical-align: top; padding: 0 4px 0 0; }
#page h2 { font-size: 22px; line-height: 26px; color: #333; margin: 0 0 18px; }
#page .entry h2 { font-size: 19px; margin: 22px 0 10px; }
#page h3 { font-size: 17px; line-height: 22px; }
#page h4 { font-size: 17px; }
.entry-title { padding-left: 0; }
.alignleft { float: left; margin: 4px 16px 8px 0; }
.alignright { float: right; margin: 4px 0 8px 16px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.has-text-align-center { text-align: center; }
.has-text-align-left { text-align: left; }
.wp-block-image { margin: 12px 0; }
table { border-collapse: collapse; }
iframe { max-width: 100%; }
.cta { text-align: center; }

/* ---------- Home ---------- */
.home-top { display: flex; gap: 34px; align-items: flex-start; }
.slider { flex: 0 0 322px; }
.slider-frame { position: relative; aspect-ratio: 320 / 225; box-shadow: 0 1px 5px rgba(0,0,0,.6); background: #000; }
.slider-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s; }
.slider-frame img.active { opacity: 1; }
.dots { text-align: center; padding: 26px 0 10px; }
.dots button { width: 10px; height: 10px; margin: 0 8px; padding: 0; border-radius: 50%; border: 0; background: #555; cursor: pointer; }
.dots button.active { background: #fff; box-shadow: 0 0 0 2px #555; }
.business { flex: 1; }
.business h2 { font-size: 21px !important; line-height: 23px; margin: 22px 0 8px !important; }
.business p:first-of-type { margin-top: 0; }
.divider { border: 0; border-top: 2px solid #ddd; margin: 60px 0 25px; }
.boxes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.boxes .box { border: 1px solid #ccc; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,.2); padding: 10px 15px 0; }
.boxes h2 { font-size: 22px !important; margin: 10px 0 0 !important; }
.boxes hr { border: 0; border-top: 1px solid #555; margin: 8px 0 16px; }
.boxes p { margin: 0 !important; }
.boxes img { display: block; width: 100%; height: 150px; object-fit: cover; border-radius: 6px 6px 0 0; }

/* ---------- Photo gallery ---------- */
.gallery { max-width: 550px; margin: 0 auto 20px; }
.gallery-bar { background: #eee; border: 1px solid #ccc; border-radius: 6px; padding: 5px; text-align: center; margin-bottom: 8px; }
.gallery-bar button { background: #fff; border: 1px solid #bbb; border-radius: 4px; padding: 3px 10px; margin: 0 3px; cursor: pointer; font-size: 13px; }
.gallery-bar .counter { margin-left: 8px; color: #666; }
.slides { position: relative; }
.slide { display: none; margin: 0; text-align: center; }
.slide.active { display: block; }
.slide img { max-height: 480px; width: auto; }
.slide figcaption { background: #eee; border: 1px solid #ccc; border-radius: 6px; padding: 10px; margin-top: 8px; font-size: 13.6px; color: #000; }

/* ---------- Location ---------- */
.location .map iframe { width: 600px; height: 350px; border: 1px solid #ccc; }
.location .map small { display: block; }
.location .callnow a { color: #333; text-decoration: none; }

/* ---------- Contact form (Mailchimp) ---------- */
.contact-form form { max-width: 600px; }
.contact-form h2 { font-size: 22px; }
.contact-form .mc-field-group { margin: 0 0 10px; }
.contact-form label { display: block; font-size: 15px; margin-bottom: 3px; }
.contact-form input[type=email], .contact-form input[type=text] { width: 100%; padding: 7px; font-size: 15px; border: 1px solid #aaa; border-radius: 3px; }
.contact-form input[type=submit] { background: #f26522; color: #fff; border: 0; border-radius: 3px; padding: 10px 18px; font-size: 15px; cursor: pointer; }
.contact-form .asterisk { color: #c00; }
.contact-form .indicates-required { text-align: right; font-size: 12px; }

/* ---------- Blog ---------- */
.blogpost { border-bottom: 1px solid #ddd; padding-bottom: 14px; margin-bottom: 26px; max-width: 690px; }
.blogpost .post-title h2, .single .post-title h2 { font-size: 20px !important; margin: 0 0 4px !important; }
.blogpost .post-title a { color: #333; }
.post-date small { font-size: 10px; }
.blogpost .entry, .single .entry { margin-top: 10px; }
.more-link { display: inline-block; margin: 6px 0 0 130px; padding: 3px 8px; border: 1px solid #555; border-radius: 4px; font-style: italic; font-size: 11px; color: #999; text-decoration: none; }
.single .back { margin-top: 30px; }
.navigation { overflow: hidden; }
.screen-reader-text { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
#featuredwrap { background: #f1f1f1; }
#featured {
  max-width: 995px; margin: 0 auto; padding: 25px 0 20px;
  background: url(../img/shadow.png) no-repeat center top;
  display: grid; grid-template-columns: repeat(3, 1fr); text-align: center;
}
#featured h2 { font-size: 20px; line-height: 20px; margin: 0 0 3px; color: #333; }
#featured p { margin: 0; font-size: 15px; line-height: 19.5px; }
#footer { background: #54aa2f; text-align: center; padding: 6px 20px; }
#footer p { margin: 0; font-size: 9px; color: #333; }

/* ---------- Small screens ---------- */
@media (max-width: 1040px) {
  #contentwrap { padding: 15px 10px; }
}
@media (max-width: 760px) {
  #header .inner { display: block; text-align: center; padding: 18px 10px 12px; }
  #header h1 { font-size: 28px; }
  #header .tagline { font-size: 15px; }
  #header .contact { text-align: center; margin-top: 8px; }
  .menu-toggle { display: block; width: 100%; background: #333; color: #fff; border: 0; padding: 10px; font: bold 16px Arial, sans-serif; cursor: pointer; }
  #menu ul { display: none; flex-direction: column; padding: 0; }
  #menu ul.open { display: flex; }
  #menu li a { padding: 10px 16px; border-top: 1px solid #444; }
  #page { padding: 18px 15px 30px; }
  .home-top { display: block; }
  .slider { max-width: 360px; margin: 0 auto; }
  .boxes { grid-template-columns: repeat(2, 1fr); }
  .alignleft, .alignright { float: none; display: block; margin: 0 auto 12px; }
  #page table, #page table tbody, #page table tr, #page table td { width: auto !important; }
  #featured { grid-template-columns: 1fr; gap: 14px; }
  .location .map iframe { width: 100%; }
}
@media (max-width: 420px) {
  .boxes { grid-template-columns: 1fr; }
}
