/*
 Theme Name: VloraBoatTrips4 Child (Fixed)
 Theme URI: https://www.vloraboattrips.al/
 Description: Child theme for vloraboattrips4 with cleaned tour header (no blue bar), hidden meta/date, and small layout fixes.
 Author: ChatGPT
 Version: 1.0.0
 Template: vloraboattrips4
 Text Domain: vloraboattrips4-child-fixed
*/

:root{ --header-h: 64px; }

/* -------- Tour header cleanup -------- */
body.single.single-tour .entry-header{
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  position: static !important;
  top: auto !important;
  margin-bottom: 0 !important;
}
body.single.single-tour .entry-header::before,
body.single.single-tour .entry-header::after{ display:none !important; content:none !important; }
body.single.single-tour .entry-header .entry-meta{ display:none !important; }
body.single.single-tour .meta-bar,
body.single.single-tour .sticky-title,
body.single.single-tour .post-top-bar{ display:none !important; box-shadow:none !important; background:transparent !important; }

/* New minimal title class (use it in content if needed) */
.tour-header{ margin:0 0 18px 0; padding:0; }
.tour-title{ margin:0; line-height:1.2; font-size:clamp(28px,4vw,40px); font-weight:700; }
.tour-date{ display:block; margin-top:6px; opacity:.75; font-size:.95rem; }

/* -------- Gallery tiny fixes -------- */
/* Hide stray <br> tags inside anchors that were breaking the grid */
.vbt-gallery a>br { display:none; }
/* Ensure images fill their grid cell nicely */
.vbt-gallery img{ display:block; width:100%; height:auto; object-fit:cover; border-radius:12px; }
/* On desktop, prefer 3 columns */
@media (min-width: 900px){
  .vbt-gallery{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
}

/* -------- Margin / spacing sanity around main content -------- */
#primary.site-main, .site-main, main#primary{
  max-width: 920px;
  margin: 40px auto;
  padding: 0 16px;
}

/* Ensure no extra shadow line under the site header */
.site-header, header.site-header, header{
  box-shadow: none !important;
}

/* Optional: if theme adds a sticky spacer, collapse it */
.sticky-spacer, .header-spacer{ height: 0 !important; }