.archive .row .col.post-item .box-image img { border-radius: 8px; }
.archive .row .col.post-item .box-text { padding-top: .5rem; }
/* VDP gallery spacing & polish */
.boat-gallery-swiper{ margin:14px 0 22px; }

.boat-gallery-swiper .gallery-top{
  margin-bottom:14px;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 2px 12px rgba(0,0,0,.06);
  border:1px solid #e5e7eb; /* light border around hero */
}

/* Thumb strip container */
.boat-gallery-swiper .gallery-thumbs{
  position:relative;
  padding:10px 40px;            /* room for arrows + vertical breathing */
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:10px;
  box-shadow:0 1px 6px rgba(0,0,0,.04);
}

/* Each thumb gets inner padding so borders don't touch */
.boat-gallery-swiper .gallery-thumbs .swiper-slide{
  padding:4px;
  cursor:pointer;
}

/* Thumb images */
.boat-gallery-swiper .gallery-thumbs .swiper-slide img{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  border-radius:8px;
  border:1px solid #e5e7eb;
  box-shadow:0 1px 3px rgba(0,0,0,.04);
  transition:box-shadow .15s ease, border-color .15s ease, transform .15s ease;
}

.boat-gallery-swiper .gallery-thumbs .swiper-slide:hover img{
  box-shadow:0 2px 10px rgba(0,0,0,.10);
  transform:translateY(-1px);
}

/* Active thumb highlight (Swiper adds this class) */
.boat-gallery-swiper .gallery-thumbs .swiper-slide-thumb-active img{
  border-color:#0F4D92;                 /* brand blue */
  box-shadow:0 0 0 2px rgba(15,77,146,.18);
}

/* Arrow buttons */
.boat-gallery-swiper .thumbs-prev,
.boat-gallery-swiper .thumbs-next{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:28px;height:28px;line-height:26px;
  text-align:center; border-radius:50%;
  background:#fff; color:#333;
  border:1px solid #e5e7eb;
  box-shadow:0 1px 4px rgba(0,0,0,.08);
  cursor:pointer; user-select:none;
}
.boat-gallery-swiper .thumbs-prev{ left:8px; }
.boat-gallery-swiper .thumbs-next{ right:8px; }

/* === GLightbox Overrides === */
.glightbox-container .gslide-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important; /* use cover if you want full fill */
  background: #000; /* ensures no white gaps if image smaller */
}
/* Force our buttons to be visible even if Flatsome's .secondary tries to reset them */
.inv-cta .inv-btn,
.inv-cta .inv-btn.secondary,
.inv-cta .inv-btn.primary,
.inv-sidebar .btn,
.inv-sidebar .btn.secondary,
.inv-sidebar .btn.primary {
  background-color:#3399ff !important;
  color:#fff !important;
  border-color:#3399ff !important;
  opacity:1 !important;
  visibility:visible !important;
  text-decoration:none !important;
  display:inline-block !important;
  line-height:1.2 !important;
}
.inv-cta .inv-btn:hover,
.inv-sidebar .btn:hover {
  background-color:#0F4D92 !important;
  color:#fff !important;
}
/* Breadcrumb look */
.mwm-breadcrumbs{max-width:1500px;margin:0 auto 10px;padding:0 16px;font-size:14px;color:#6b7280}
.mwm-breadcrumbs a{color:#111827;text-decoration:none}
.mwm-breadcrumbs a:hover{text-decoration:underline}

/* === VDP two-column layout fix === */

/* Container + shared gutters */
.single-boat-container{
  --page-w: 1500px;
  --page-gutter: clamp(16px, 2.6vw, 28px);
  --col-gap: 24px;               /* space between columns */
  --right-col: 260px;            /* width of price/contact column */
  max-width: var(--page-w);
  margin: 0 auto;
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
}

/* Breadcrumb bar uses same gutters */
.vdp-header-top-row{
  margin: 14px 0 18px;
  padding-left: 0;
  padding-right: 0;
}

/* Two-column grid (left grows, right fixed) */
.single-boat-container .row.row-large.single-boat-details{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) var(--right-col);
  gap: var(--col-gap);
  padding: 0 !important;
  margin: 0 !important;
}

/* Remove theme paddings that narrow columns */
.single-boat-details .left-column,
.single-boat-details .right-column,
/* 0) Container + shared gutters so it lines up with the breadcrumb bar */
.single-boat-container{
  --page-w: 1500px;
  --page-gutter: clamp(16px, 2.6vw, 28px);
  --col-gap: 24px;
  --right-col: 320px;            /* ← adjust 380–480 to taste */
  max-width: var(--page-w);
  margin: 0 auto;
  padding-inline: var(--page-gutter);
}

/* 1) Make the row a 2-col grid (left flexible, right fixed) */
.single-boat-container .row.row-large.single-boat-details{
  display: grid !important;
  grid-template-columns: minmax(0,1fr) var(--right-col);
  gap: var(--col-gap);
  padding: 0 !important;
  margin: 0 !important;
}

/* 2) Neutralise all leftover flex/grid limits on the two columns */
.single-boat-details .left-column,
.single-boat-details .right-column{
  flex: initial !important;
  max-width: none !important;
  width: auto !important;
  margin: 0 !important;
}

/* 3) Kill Flatsome’s default column padding inside this row */
.single-boat-details > .col{
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* 4) Right column behaviour */
.right-column .col-inner{ position: sticky; top: 20px; width: 100%; }

/* 5) Mobile: stack */
@media (max-width: 1024px){
  .single-boat-container .row.row-large.single-boat-details{
    grid-template-columns: 1fr;
  }
  .right-column .col-inner{ position: static; }
}
/* Top bar wrapper */
.vdp-header-top-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  background:#f5f6f8;
  padding:10px 14px;
  border-radius:8px;
  margin:14px 0 18px;
}

/* Breadcrumb block (left side) */
.mwm-breadcrumbs{
  flex:1 1 auto;                    /* occupy the left side */
  margin-right:auto;
  text-align:left;
  font-size:17px;
  line-height:1.5;
  color:#1d4ed8;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.mwm-breadcrumbs a{
  color:#1d4ed8;
  font-weight:600;
  text-decoration:none;
}
.mwm-breadcrumbs a:hover{ text-decoration:underline; }

.mwm-breadcrumbs .separator,
.mwm-breadcrumbs .bcn-separator{ display:none; }

/* SHARE / PRINT with icons */
.vdp-share-print { display:flex; align-items:center; gap:14px; }
.vdp-share-print .share-button,
.vdp-share-print .print-button{
  display:inline-flex; align-items:center; gap:8px;
  background:transparent; border:0; color:#1f2937;
  font-weight:700; cursor:pointer; padding:6px 8px;
}
.vdp-share-print .icon{ width:18px; height:18px; display:block; }

/* Dropdown */
.vdp-share-print .share-dropdown{ position:relative; }
.vdp-share-print .share-content{
  display:none; position:absolute; right:0; top:100%;
  background:#fff; border:1px solid #e5e7eb; border-radius:8px;
  padding:8px; min-width:170px; z-index:20;
  box-shadow:0 6px 20px rgba(0,0,0,.08);
}
.vdp-share-print .share-dropdown:hover .share-content{ display:block; }

/* Share rows with icons */
.share-row{
  display:flex; align-items:center; gap:10px;
  padding:8px 10px; color:#111827; text-decoration:none;
}
.share-row:hover{ background:#f3f4f6; }
.share-row .icon{ width:18px; height:18px; }

/* ============================================================
   BRAND LANDING – BACKGROUND + LAYOUT
   ============================================================ */

/* Main brand landing wrapper */
.brand-landing {
  --maxw: 1200px;
  --gap: 24px;
  padding-top: 28px;

  /* Background image for this page content */
  background-image: url("https://midwestmarineboats.com/wp-content/uploads/2025/11/mwm-srp-bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
	background-attachment: fixed;
}

@media (max-width: 768px){
  .brand-landing {
    background-image: url("https://midwestmarineboats.com/wp-content/uploads/2025/11/mwm_contact_mobile.png");
  }
}

/* Center inner content */
.brand-landing .container,
.brand-landing .row {
  max-width: var(--maxw);
  margin: 0 auto;
  background: transparent;
}

/* ============================================================
   HERO (VIDEO + H1 + SUMMARY + BUTTONS)
   ============================================================ */

.brand-hero {
  text-align: center;
  color: #ffffff;
  padding-top: 20px;
  padding-bottom: 20px;
}

/* H1 – first two sentences */
.brand-heading-title {
  color: #ffffff !important;
  font-weight: 800;
  font-size: clamp(30px, 5vw, 48px);
  text-align: center;
  margin-top: 16px;
  margin-bottom: 12px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.45);
}
/* Smaller hero title if using H2 */
.brand-heading-title.brand-heading-h2 {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
}

/* Remaining brand summary text */
.brand-summary-text {
  max-width: 1000px;
  margin: 0 auto 20px;
  text-align: center;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.55;
  text-shadow: 0 3px 8px rgba(0,0,0,0.40);
}

/* Hero buttons row */
.brand-hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
  margin-bottom: 20px; /* small breathing room before polaroids/footer */
}

/* Generic button */
.brand-btn {
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s ease;
  font-size: 16px;
  display: inline-block;
}

/* Filled blue button */
.brand-btn-primary {
  background: rgb(0, 163, 255);
  color: #ffffff;
  border: 2px solid rgb(0, 163, 255);
  box-shadow: 0 6px 16px rgba(0,163,255,0.40);
}

.brand-btn-primary:hover {
  background: #008fe0;
  border-color: #008fe0;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,163,255,0.50);
}

/* Outline variant */
.brand-btn-outline {
  background: transparent;
  color: #ffffff;
}

.brand-btn-outline:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

/* ============================================================
   POLAROID CARD GRID
   ============================================================ */

.polaroid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 26px;
  align-items: start;
  padding-bottom: 20px;
}

.polaroid-card {
  background: #fff;
  border-radius: 12px;
  padding: 10px 10px 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,.10),
              0 2px 6px rgba(0,0,0,.05);
  border: 1px solid #eef2f7;
  transition: transform .18s ease, box-shadow .18s ease;
  position: relative;
}

.polaroid-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0,0,0,.12),
              0 3px 10px rgba(0,0,0,.06);
}

.polaroid-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.polaroid-photo {
  aspect-ratio: 4 / 3;
  background: #f3f4f6;
  border-radius: 8px;
  overflow: hidden;
}

.polaroid-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
	background: #000;
}

.polaroid-caption {
  text-align: center;
  padding-top: 12px;
}

.polaroid-title {
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  margin-bottom: 6px;
}

.polaroid-price {
  font-weight: 800;
  font-size: 19px;
  color: #0F4D92;
}

/* Decorative tape */
.polaroid-card::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 14px;
  width: 42px;
  height: 14px;
  background: rgba(254, 240, 138, .9);
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
  transform: rotate(-6deg);
  border-radius: 2px;
}
/* Finance & discount text under price */
.polaroid-meta {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.4;
}

.polaroid-finance {
  color: #0f172a;
  font-weight: 600;
}

.polaroid-discount {
  color: #b91c1c; /* red-ish for savings */
  font-weight: 600;
}

/* VDP button under the card */
.polaroid-cta-wrap {
  text-align: center;
  margin-top: 10px;
}

.polaroid-cta-btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  background: rgb(0, 163, 255);
  color: #ffffff;
  border: 2px solid rgb(0, 163, 255);
  transition: 0.18s ease;
}

.polaroid-cta-btn:hover {
  background: #008fe0;
  border-color: #008fe0;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,163,255,0.45);
}

@media (prefers-reduced-motion: reduce){
  .polaroid-card,
  .polaroid-card:hover {
    transition: none;
    transform: none;
  }
}
.brand-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.brand-logo {
  max-width: 240px;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.45));
}
/* Make all polaroid cards equal height */
.polaroid-grid {
  align-items: stretch; /* let grid items stretch to same height */
}

.polaroid-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Let the link take all available vertical space above the button */
.polaroid-link {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

/* Caption gets a little minimum height so cards with fewer lines don't shrink too much */
.polaroid-caption {
  padding-top: 12px;
  padding-bottom: 8px;
  min-height: 70px; /* adjust if you want more/less */
}

/* Push the CTA button area to the bottom of the card */
.polaroid-cta-wrap {
  margin-top: auto;
}
/* Price meta block */
.polaroid-meta {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.45;
}

.polaroid-meta strong {
  font-weight: 700;
  color: #0f172a;
}

/* Finance price */
.polaroid-finance {
  color: #0f172a;
}

/* Savings in red */
.polaroid-discount {
  color: #b91c1c;
  font-weight: 700;
}
.polaroid-price strong {
  color: #0f172a;
  font-weight: 700;
}

.polaroid-price {
  margin-bottom: 6px;
}