/*
Theme Name: Vorland Theme (Safe)
Theme URI: https://vorlandlandcompany.com/
Author: ChatGPT
Description: Compatibility-focused theme to match Vorland Land Company look (dark header with banner, parchment background, green accents). Built to avoid PHP version issues.
Version: 1.5.2
License: GPLv2 or later
Text Domain: vorland-safe
*/

:root{
  --vlc-parchment:#e6d6bd;
  --vlc-green:#3f8f72;
  --vlc-link:#2f77b3;
  --vlc-text:#2a2a2a;
  --vlc-dark:#1e1e1e;
}

html{box-sizing:border-box}
*,*:before,*:after{box-sizing:inherit}

body{
  margin:0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--vlc-text);
  background: var(--vlc-parchment);
  background-image:
    radial-gradient(1200px 600px at 10% 5%, rgba(255,255,255,.35), transparent 55%),
    radial-gradient(900px 500px at 80% 20%, rgba(255,255,255,.22), transparent 55%),
    radial-gradient(600px 380px at 30% 75%, rgba(0,0,0,.06), transparent 60%),
    linear-gradient(0deg, rgba(0,0,0,.04), rgba(255,255,255,.04));
}

a{color:var(--vlc-link); text-decoration:none}
a:hover{text-decoration:underline}

.vlc-wrap{max-width:1100px;margin:0 auto;padding:0 16px}

/* HEADER + BANNER */
.vlc-header{
  position: sticky;
  top: 0;
  z-index: 999;
  background: linear-gradient(#2a2a2a, #1e1e1e);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.vlc-banner{
  position: relative;
  min-height: 118px;
  background: var(--vlc-dark);
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(0,0,0,.18);
}
.vlc-banner::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(0,0,0,.35), rgba(0,0,0,.35));
}
.vlc-banner-inner{
  position:relative; z-index:2;
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 0;
  gap: 14px;
}
.vlc-branding{
  display:flex; align-items:center; gap: 12px;
  min-width: 0;
}
.vlc-logo{
  width: 70px; height: 70px;
  border-radius: 10px;
  overflow:hidden;
  background: rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center;
  flex: 0 0 auto;
}
.vlc-logo img{width:100%; height:100%; object-fit:contain; display:block}
.vlc-site-title{
  color:#fff;
  font-weight: 800;
  font-size: 28px;
  line-height:1.05;
  letter-spacing:.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vlc-site-sub{
  color:#d7d7d7;
  font-size: 12px;
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-top: 4px;
}
.vlc-phone{
  color:#fff;
  text-align:right;
  font-weight: 700;
  font-size: 16px;
  line-height:1.2;
}
.vlc-phone a{color:#fff; text-decoration:none}
.vlc-phone small{display:block; color:#d7d7d7; font-weight:600; margin-top:4px}

.vlc-header-inner{
  display:flex;align-items:center;justify-content:space-between;height:64px;
}
.vlc-brand-link{color:#ddd;font-size:18px;letter-spacing:.2px}

.vlc-burger{
  appearance:none;border:0;background: rgba(255,255,255,.08);
  color:#fff;width:52px;height:44px;border-radius:8px;
  display:flex;align-items:center;justify-content:center;cursor:pointer;
}
.vlc-burger:focus{outline:2px solid rgba(255,255,255,.25); outline-offset:2px}
.vlc-burger svg{width:22px;height:22px;opacity:.92}

.vlc-accent-bar{background: var(--vlc-green); height:18px; box-shadow: inset 0 -1px 0 rgba(0,0,0,.12)}

.vlc-drawer{
  position: fixed;inset:0 0 0 auto;width:min(88vw,360px);
  transform: translateX(105%);transition: transform .25s ease;
  background:#242424;color:#eee;z-index:1000;
  box-shadow:-10px 0 30px rgba(0,0,0,.35);
}
.vlc-drawer.is-open{transform: translateX(0)}
.vlc-drawer-head{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.08)}
.vlc-drawer-title{font-size:18px;color:#dcdcdc}
.vlc-drawer-close{appearance:none;border:0;background:transparent;color:#fff;font-size:28px;line-height:1;cursor:pointer}
.vlc-drawer-nav a{
  display:block;padding:18px 16px;text-transform:uppercase;letter-spacing:.6px;
  color:#ddd;border-bottom:1px solid rgba(255,255,255,.06);
}
.vlc-drawer-nav a:hover{background: rgba(255,255,255,.05); text-decoration:none}
.vlc-backdrop{
  position:fixed;inset:0;background: rgba(0,0,0,.45);
  opacity:0;pointer-events:none;transition: opacity .2s ease;z-index:999;
}
.vlc-backdrop.is-open{opacity:1;pointer-events:auto}

/* CONTENT */
.vlc-content{padding:28px 0 42px}
.vlc-card{
  background: rgba(255,255,255,.42);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  padding: 22px;
}
.vlc-title-xl{
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.03;
  color: var(--vlc-green);
  margin: 4px 0 18px;
  font-weight: 650;
}
.vlc-title-lg{
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  color: var(--vlc-green);
  margin: 4px 0 14px;
  font-weight: 650;
}
.vlc-body{font-size:18px;line-height:1.75;color:#3a3a3a}

.vlc-grid{display:grid;gap:18px}
@media (min-width: 760px){
  .vlc-grid.cols-2{grid-template-columns: repeat(2, 1fr);}
  .vlc-grid.cols-3{grid-template-columns: repeat(3, 1fr);}
}
.vlc-tile{
  background: rgba(255,255,255,.48);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  overflow:hidden;
}
.vlc-tile img{width:100%; height:auto; display:block}
.vlc-tile-body{padding: 14px 14px 16px}
.vlc-tile-title{font-size: 18px; margin: 0 0 6px; color:#2a2a2a}
.vlc-tile-meta{font-size: 14px; opacity:.78; line-height:1.35}
.vlc-price{font-weight:700}
.vlc-status{font-weight:700; text-transform:uppercase; letter-spacing:.6px; font-size:13px; opacity:.85}

.vlc-footer{
  background:#bfa98b;
  background-image:
    radial-gradient(800px 380px at 15% 20%, rgba(255,255,255,.28), transparent 60%),
    radial-gradient(600px 300px at 85% 10%, rgba(0,0,0,.10), transparent 65%);
  color:#fff;padding:28px 0 34px;border-top:6px solid var(--vlc-green);
}
.vlc-footer h3{margin:0 0 8px;font-size:34px}
.vlc-footer a{color:#eaf4ff}
.vlc-footer-grid{display:grid;gap:22px}
@media (min-width: 860px){
  .vlc-footer-grid{grid-template-columns: 1.2fr .8fr 1fr;}
}
.vlc-foot-small{opacity:.93;line-height:1.55}
.vlc-foot-sitemap a{margin-right:12px;white-space:nowrap}

@media (max-width: 520px){
  .vlc-site-title{font-size:22px}
  .vlc-logo{width:58px;height:58px}
  .vlc-phone{font-size:14px}
}


/* PHONE READABILITY + MODERN PHONE BAR */
.vlc-phone{
  background: rgba(0,0,0,.38);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
  text-shadow: 0 1px 2px rgba(0,0,0,.55);
}
.vlc-phone a{font-size:18px}
.vlc-phonebar{
  background: var(--vlc-green);
  color:#fff;
  padding: 10px 0;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.10);
}
.vlc-phonebar .vlc-wrap{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 12px;
}
.vlc-phonebar a{
  color:#fff;
  text-decoration:none;
  font-weight: 900;
  letter-spacing: 2px;
  font-size: 22px;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
}
.vlc-phonebar .vlc-call{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.18);
  padding: 8px 12px;
  border-radius: 999px;
}
.vlc-phonebar .vlc-call small{
  font-weight: 700;
  opacity:.92;
  letter-spacing:.6px;
}
.vlc-mini-phone{
  color:#ddd;
  font-weight:800;
  text-decoration:none;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  padding: 8px 10px;
  border-radius: 999px;
}
.vlc-mini-phone:hover{background: rgba(255,255,255,.10); text-decoration:none}
@media (max-width: 520px){
  .vlc-phone{padding: 8px 10px}
  .vlc-phone a{font-size:16px}
  .vlc-phonebar a{font-size:18px; letter-spacing:1.3px}
}


/* === Classic header mode (matches legacy layout) === */
.vlc-banner{ display:none !important; }
.vlc-phonebar{ display:none !important; }
.vlc-mini-phone{ display:none !important; }

/* Sticky top bar like legacy */
.vlc-header{
  position: sticky;
  top: 0;
  z-index: 999;
  background: linear-gradient(#2a2a2a, #1e1e1e);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.vlc-header-inner{height:72px}
.vlc-brand-link{
  color:#cfcfcf;
  font-size:30px;
  font-weight:500;
  letter-spacing:.2px;
}
@media (max-width: 520px){
  .vlc-brand-link{font-size:28px}
}

/* Header graphic (logo + company + phone image like original site) */
.vlc-header-graphic{
  width:100%;
  background: rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.10);
}
.vlc-header-graphic img{
  width:100%;
  height:auto;
  display:block;
}

/* Make burger match legacy look */
.vlc-burger{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  width:64px;
  height:56px;
}


/* === Professional header (logo + phone) === */
.vlc-topbar{
  position: sticky;
  top: 0;
  z-index: 999;
  background: linear-gradient(#2a2a2a, #1e1e1e);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.vlc-topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height: 78px;
  gap: 14px;
}
.vlc-brand{
  display:flex;
  align-items:center;
  gap: 14px;
  min-width: 0;
}
.vlc-brand img{
  height: 44px;
  width: auto;
  display:block;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.35));
}
.vlc-brand .vlc-brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.1;
  min-width:0;
}
.vlc-brand .vlc-brand-title{
  color:#f2f2f2;
  font-size: 20px;
  font-weight: 700;
  letter-spacing:.2px;
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
  margin:0;
}
.vlc-brand .vlc-brand-sub{
  color:#cfcfcf;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-top: 6px;
}

.vlc-actions{
  display:flex;
  align-items:center;
  gap: 10px;
  flex: 0 0 auto;
}
.vlc-call{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  justify-content:center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 10px 12px;
  min-width: 190px;
}
.vlc-call a{
  color:#fff;
  text-decoration:none;
  font-weight: 900;
  letter-spacing: 1.2px;
  font-size: 18px;
  text-shadow: 0 1px 2px rgba(0,0,0,.45);
}
.vlc-call small{
  color:#d7d7d7;
  font-weight: 700;
  margin-top: 6px;
}
.vlc-call:hover{background: rgba(255,255,255,.09)}
.vlc-call:hover a{text-decoration:none}

.vlc-burger{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  width: 62px;
  height: 54px;
}

@media (max-width: 720px){
  .vlc-call{min-width:auto}
  .vlc-call small{display:none}
}
@media (max-width: 520px){
  .vlc-topbar-inner{height:72px}
  .vlc-brand img{height:38px}
  .vlc-call a{font-size:16px; letter-spacing:.9px}
}

.custom-logo-link{display:block}
.custom-logo-link img{height:44px;width:auto;display:block}
@media(max-width:520px){.custom-logo-link img{height:38px}}


/* === Header layout fixes (no overlap, more professional) === */
.vlc-topbar-inner{height:auto; padding: 12px 0}
.vlc-row1{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}
.vlc-row2{
  margin-top: 10px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.vlc-brand{flex: 1 1 auto; min-width: 0;}
.vlc-brand .vlc-brand-text{display:none;} /* logo already contains company name */
.vlc-call{
  min-width: 260px;
  align-items:center;
  text-align:center;
  padding: 10px 14px;
}
.vlc-call span{display:block}
.vlc-call small{display:block}

@media (min-width: 861px){
  /* desktop/tablet: phone sits on same row right of logo */
  .vlc-topbar-inner{display:flex; align-items:center; justify-content:space-between; gap:16px; padding: 10px 0}
  .vlc-row1{flex: 1 1 auto;}
  .vlc-row2{margin-top:0; justify-content:flex-end; flex: 0 0 auto;}
  .vlc-call{min-width: 220px; align-items:flex-end; text-align:right;}
}

@media (max-width: 860px){
  /* phone becomes its own centered row; burger stays top-right */
  .vlc-topbar-inner{display:block}
  .vlc-row2{justify-content:center}
  .vlc-call{width: 100%; max-width: 520px}
}

@media (max-width: 420px){
  .vlc-call span{font-size:15px}
  .vlc-brand img, .custom-logo-link img{height:34px}
}


/* === Legacy header (matches live Vorland site look) === */
.vlc-topbar{display:none !important;} /* disable modern header */
.vlc-topnav{
  position: sticky;
  top:0;
  z-index: 999;
  background: linear-gradient(#2a2a2a, #1f1f1f);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.vlc-topnav-inner{
  height: 74px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.vlc-topnav-title{
  color:#cfcfcf;
  font-size: 34px;
  font-weight: 400;
  letter-spacing:.2px;
  text-decoration:none;
}
.vlc-topnav-title:hover{color:#fff;text-decoration:none}

.vlc-legacy-header{
  background: #efe7d3;
  border-bottom: 1px solid rgba(0,0,0,.10);
}
.vlc-legacy-header-bg{
  background-size: cover;
  background-position: center;
}
.vlc-legacy-inner{
  padding: 18px 0 0;
}
.vlc-legacy-brand{
  display:flex;
  align-items:center;
  gap: 14px;
}
.vlc-legacy-brand img{
  height: 56px;
  width:auto;
  display:block;
}
.vlc-legacy-text{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}
.vlc-legacy-text .name{
  color:#2b7f6a;
  font-weight: 700;
  font-size: 28px;
}
.vlc-legacy-text .sub{
  color:#2b7f6a;
  font-weight: 800;
  font-size: 18px;
  margin-top: 6px;
}

.vlc-legacy-phonebar{
  margin-top: 14px;
  background: #3f8a74;
  padding: 14px 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 -1px 0 rgba(0,0,0,.15);
}
.vlc-legacy-phonebar .phone{
  text-align:center;
  font-weight: 900;
  font-size: 30px;
  letter-spacing: 3px;
  color:#2c6ea7; /* blue digits like original */
  text-shadow: 0 1px 1px rgba(0,0,0,.25);
}
.vlc-legacy-phonebar a{color:inherit;text-decoration:none}
.vlc-legacy-phonebar a:hover{text-decoration:none;filter:brightness(1.05)}

@media (max-width: 520px){
  .vlc-topnav-title{font-size:30px}
  .vlc-legacy-brand img{height:48px}
  .vlc-legacy-text .name{font-size:22px}
  .vlc-legacy-text .sub{font-size:16px}
  .vlc-legacy-phonebar .phone{font-size:22px; letter-spacing:2px}
}

.vlc-legacy-brand .custom-logo-link img{height:56px;width:auto;display:block}
@media(max-width:520px){.vlc-legacy-brand .custom-logo-link img{height:48px}}


/* === Legacy header banner (exact like live header) === */
.vlc-legacy-inner{padding:0 !important;}
.vlc-legacy-brand, .vlc-legacy-text{display:none !important;} /* hide generated layout */

.vlc-legacy-banner{
  display:block;
  width:100%;
  height:auto;
  max-width: 100%;
}
.vlc-legacy-banner-wrap{
  padding: 0;
}

.vlc-legacy-header{
  background: #efe7d3;
}
.vlc-legacy-phonebar{
  margin-top: 0 !important;
  background: #3f8a74;
  padding: 16px 0;
}
.vlc-legacy-phonebar .phone{
  color:#ffffff; /* user requested white */
  font-size: 32px;
  letter-spacing: 4px;
  text-shadow: 0 1px 1px rgba(0,0,0,.25);
}
@media (max-width: 520px){
  .vlc-legacy-phonebar .phone{font-size: 24px; letter-spacing: 3px;}
}


/* === Sticky Tan Header (no black bar) === */
.vlc-topnav{display:none !important;} /* remove old black header */

.vlc-legacy-header{
  position: sticky;
  top: 0;
  z-index: 999;
  background: #efe7d3;
  border-bottom: 1px solid rgba(0,0,0,.12);
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

/* Banner + menu button row */
.vlc-legacy-headrow{
  position: relative;
}
.vlc-legacy-banner-wrap{
  padding: 0;
}
.vlc-legacy-banner{
  display:block;
  width:100%;
  height: auto;
  max-width: 100%;
}

/* Make header "half height" by constraining banner and trimming paddings */
.vlc-legacy-banner{
  max-height: 170px;
  object-fit: cover;
  object-position: center;
}

/* Menu button on tan area (professional) */
.vlc-legacy-menu{
  position:absolute;
  right: 14px;
  top: 14px;
  width: 64px;
  height: 56px;
  border-radius: 16px;
  background: rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45);
  display:flex;
  align-items:center;
  justify-content:center;
}
.vlc-legacy-menu svg{width: 28px; height: 28px; color: rgba(0,0,0,.65);}
.vlc-legacy-menu:hover{background: rgba(0,0,0,.11);}

.vlc-legacy-phonebar{
  margin-top: 0 !important;
  background: linear-gradient(90deg, #3f8a74, #3b826f);
  padding: 10px 0; /* shorter */
  border-top: 1px solid rgba(255,255,255,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), inset 0 -1px 0 rgba(0,0,0,.12);
}
.vlc-legacy-phonebar .phone{
  color:#ffffff;
  font-size: 28px;
  letter-spacing: 4px;
  text-shadow: 0 2px 0 rgba(0,0,0,.25);
}
@media (max-width: 520px){
  .vlc-legacy-banner{max-height: 150px;}
  .vlc-legacy-menu{right: 10px; top: 10px; width: 58px; height: 50px;}
  .vlc-legacy-phonebar .phone{font-size: 22px; letter-spacing: 3px;}
}


/* === Menu button tweak + clean glow under sticky header === */
.vlc-legacy-menu{
  right: 12px;
  top: 24px;          /* moved down */
  width: 56px;        /* smaller */
  height: 50px;
  border-radius: 14px;
  background: rgba(0,0,0,.07);
}
.vlc-legacy-menu svg{width:24px; height:24px;}
/* Professional glow/shadow edge under header */
.vlc-legacy-header{
  box-shadow:
    0 10px 22px rgba(0,0,0,.16),
    0 2px 0 rgba(63,138,116,.35); /* subtle green glow line */
}
/* Make the phonebar seam cleaner */
.vlc-legacy-phonebar{
  border-top: 1px solid rgba(255,255,255,.10);
}
@media (max-width: 520px){
  .vlc-legacy-menu{
    right: 10px;
    top: 18px;
    width: 52px;
    height: 46px;
    border-radius: 13px;
  }
  .vlc-legacy-menu svg{width:22px;height:22px;}
}


/* === Home page layout (match legacy Vorland) === */
body.home .site{
  background: #efe7d3;
}
.vlc-home-hero{
  width: 100%;
  overflow: hidden;
  background: #000;
}
.vlc-home-hero img{
  width: 100%;
  height: auto;
  display:block;
}
.vlc-paper{
  background-color: #efe7d3;
  background-image: url('assets/img/paper-texture.jpg');
  background-repeat: repeat;
}
.vlc-home-content{
  max-width: 920px;
  margin: 0 auto;
  padding: 26px 18px 14px;
  text-align: left;
}
.vlc-home-content p{
  font-size: 19px;
  line-height: 1.85;
  color: rgba(0,0,0,.78);
  margin: 0 0 22px;
}

/* Lead paragraph (matches the older, darker page style) */
.vlc-paper--intro p{
  font-size: 20px;
  line-height: 1.85;
  color: rgba(0,0,0,.82);
}
/* Slightly larger lead paragraph (matches the original site feel) */
.vlc-paper--intro p{font-size: 20px;}
.vlc-home-photo{
  max-width: 980px;
  margin: 6px auto 18px;
  padding: 0 18px;
}
.vlc-home-photo img{
  width: 100%;
  height: auto;
  display:block;
  border-radius: 2px;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}
@media (max-width: 520px){
  .vlc-home-content{padding: 22px 16px 10px;}
  .vlc-home-content p{font-size: 18px; line-height: 1.8;}
  .vlc-paper--intro p{font-size: 19px;}
}

/*
  Home page: hide any WordPress-generated image captions.
  On some sites, media items may have captions/description that can render under hero images
  and look like duplicated content. This forces them off on the homepage.
*/
body.home .wp-element-caption,
body.front-page .wp-element-caption,
body.home .wp-caption-text,
body.front-page .wp-caption-text,
body.home .wp-block-image figcaption,
body.front-page .wp-block-image figcaption,
body.home figure figcaption,
body.front-page figure figcaption,
body.home .wp-block-image .wp-element-caption,
body.front-page .wp-block-image .wp-element-caption {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  overflow: hidden !important;
}

/*
  Some installs/plugins can inject a stray paragraph/caption immediately after the hero image.
  Hide any direct sibling text node after our hero sections to avoid the “first line duplicated” look.
*/
body.home .vlc-home-hero + p,
body.front-page .vlc-home-hero + p,
body.home .vlc-home-hero + .wp-element-caption,
body.front-page .vlc-home-hero + .wp-element-caption,
body.home .vlc-home-hero + figcaption,
body.front-page .vlc-home-hero + figcaption,
body.home .vlc-home-hero + .wp-caption-text,
body.front-page .vlc-home-hero + .wp-caption-text {
  display: none !important;
}

/*
 * Extra safety: some setups/plugins output a standalone paragraph directly under
 * the image/container (often from legacy caption markup). Hide any direct child
 * paragraphs inside the home paper sections.
 */
body.home .vlc-home-paper .container > p,
body.front-page .vlc-home-paper .container > p {
  display: none !important;
}

/*
  Layout safety: some editor styles can float images (alignleft/alignright) and
  cause the first home section to collapse into a narrow left column with a big
  blank area to the right. Force home hero/photo blocks to be full-width and
  clear floats.
*/
body.home .vlc-home-legacy:after,
body.front-page .vlc-home-legacy:after {
  content: "";
  display: block;
  clear: both;
}
body.home .vlc-home-legacy .vlc-home-hero,
body.front-page .vlc-home-legacy .vlc-home-hero,
body.home .vlc-home-legacy .vlc-home-photo,
body.front-page .vlc-home-legacy .vlc-home-photo,
body.home .vlc-home-legacy .vlc-home-paper,
body.front-page .vlc-home-legacy .vlc-home-paper {
  display: block;
  width: 100%;
  max-width: 100%;
  clear: both;
}
body.home .vlc-home-legacy .alignleft,
body.front-page .vlc-home-legacy .alignleft,
body.home .vlc-home-legacy .alignright,
body.front-page .vlc-home-legacy .alignright {
  float: none !important;
}
body.home .vlc-home-legacy figure,
body.front-page .vlc-home-legacy figure,
body.home .vlc-home-legacy .wp-caption,
body.front-page .vlc-home-legacy .wp-caption {
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
body.home .vlc-home-legacy .wp-caption-text,
body.front-page .vlc-home-legacy .wp-caption-text,
body.home .vlc-home-legacy .wp-element-caption,
body.front-page .vlc-home-legacy .wp-element-caption,
body.home .vlc-home-legacy figcaption,
body.front-page .vlc-home-legacy figcaption {
  display: none !important;
}
