.before-after{
display:none;
}
/* REMOVE PICKET FENCE + HELPER BOX ON QUOTE PAGE */

.quote-picket-shadow,
.moving-picket-shadow,
.quote-helper-card,
.quote-sidebar-card::before,
.quote-sidebar-card::after,
.quote-page-card::before,
.quote-page-card::after,
.quote-card-with-fence::before,
.quote-card-with-fence::after,
.request-quote-hero::before,
.request-quote-hero::after {
    display: none !important;
    content: none !important;
    background: none !important;
}

/* clean quote page cards */
.request-a-quote-page .card,
.page-template-page-request-a-quote .card {
    overflow: hidden;
}

/* remove extra spacing from removed sections */
.page-template-page-request-a-quote .section-muted {
    padding-top: 40px;
}
/* REMOVE PICKET FENCE GRAPHIC */
.hero::after,
.hero::before,
.quote-clean-hero::after,
.quote-clean-hero::before {
display:none !important;
background:none !important;
}

/* REMOVE "HELPFUL DETAILS FOR YOUR QUOTE" BOX */
.quote-form-card + div,
.hero-side .card,
.hero-side .quote-helper-card {
display:none !important;
}

/* remove fence graphic specifically */
.hero,
.quote-clean-hero {
background-image:none !important;
}

/* tighten layout after removal */
.hero-grid{
align-items:center;
}
/* Request Quote page: force form/text left, image right */
.quote-page-clean .quote-page-columns {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 32px !important;
}

.quote-page-clean .quote-page-columns > .wp-block-column:first-child {
  order: 1 !important;
  flex: 1 1 58% !important;
}

.quote-page-clean .quote-page-columns > .wp-block-column:last-child {
  order: 2 !important;
  flex: 1 1 42% !important;
}

.quote-page-clean .wp-block-image img {
  border-radius: 20px;
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .quote-page-clean .quote-page-columns {
    flex-wrap: wrap !important;
  }

  .quote-page-clean .quote-page-columns > .wp-block-column:first-child,
  .quote-page-clean .quote-page-columns > .wp-block-column:last-child {
    flex: 1 1 100% !important;
  }
}
.gallery-grid{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(250px,1fr));
gap:15px;
}

.gallery-grid img{
width:100%;
height:250px;
object-fit:cover;
border-radius:6px;
display:block;
}
.wp-block-gallery{
display:grid !important;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;
margin-top:40px;
}

.wp-block-gallery img{
width:100%;
height:250px;
object-fit:cover;
border-radius:8px;
display:block;
}

.wp-block-gallery figure{
margin:0;
}
.wp-block-gallery.has-nested-images{
	display:grid !important;
	grid-template-columns:repeat(3,minmax(0,1fr)) !important;
	gap:16px !important;
}

.wp-block-gallery.has-nested-images .wp-block-image{
	margin:0 !important;
	width:100% !important;
}

.wp-block-gallery.has-nested-images .wp-block-image img{
	display:block !important;
	width:100% !important;
	height:260px !important;
	object-fit:cover !important;
	border-radius:8px !important;
}
.portfolio-page .wp-block-gallery.has-nested-images{
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:18px;
}

.portfolio-page .wp-block-gallery.has-nested-images .wp-block-image{
	margin:0;
}

.portfolio-page .wp-block-gallery.has-nested-images img{
	width:100%;
	height:260px;
	object-fit:cover;
	display:block;
	border-radius:10px;
}