:root {
  --text-xs: 1rem;
  --text-s: 1.4rem;
  --text-m: 2rem;
  --text-l: clamp(2rem, 1.6667rem + 1.0667vw, 3rem);
  --text-xl: clamp(2.5rem, 2rem + 1.6vw, 4rem);
  --text-xxl: clamp(3rem, 1.9437rem + 3.3803vw, 6rem);
  --grid-gap: 1rem;
  --space-xs: 1rem;
  --space-s: 2rem;
  --space-m: 4rem;
  --space-l: 6rem;
  --space-xl: 8rem;
  --space-xxl: 10rem;
}
html {
  font-size: 62.5%;
  box-sizing: border-box;
}
body {
  /* 16px */
  font-size: clamp(1.6rem, 1.4667rem + 0.4267vw, 2rem);
  margin:0px;
  width:100%;
}
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin:0;
}

*, *::before, *::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block; /* avoids small whitespace under images */
}
a {
  text-decoration: none;
}
.callout-header-top .widget-layout {
  margin-top: 0;
  margin-bottom: 0;
}
#main_footer .widget-layout {
  margin-top:1rem;
  margin-bottom:1rem;
}

/* Hero Section: desktop grid */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr; /* text | image */
  align-items: stretch;
  position: relative;
  overflow: hidden;
  max-height: 500px; /* adjust to taste */
}

/* Left column: your text block */
.hero-content {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 2rem;
  display: block;
  margin-top:auto;
  margin-bottom:auto;
  text-align:center;
  align-content: center;
  height:100%;
}

/* Right column: image wrapper */
.hero-image {
  grid-column: 2 / 3;
}

/* Make the <img> fill its cell and crop */
.hero-image .hero-img {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  display: block;
}

/* MOBILE: stack & move overlay to bottom of image */
@media (max-width: 768px) {
  .hero-section {
    display: block;      /* stack */
    position: relative;  /* container for absolute overlay */
  }

  .hero-image {
    width: 100%;
    height: auto;        /* let image size naturally */
  }
  .hero-image .hero-img {
    width: 100%;
    height: auto;
  }
  /* Overlay now sits at the bottom */
  .hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 1.5rem;
  }
}
#content {
  background-color: #444;
  color: #fff;
  border-bottom:3px solid #fff;
  border-top: 3px solid #fff;
}
#content a:link {color:#fff; font-weight:600;text-decoration: underline; }
#content h2 {
  color: var(--primary);
  max-width:80%;
}
.content-box {
  position: relative;
}
.content-box::before {
  content: "Free Estimates";
  position: absolute;
  top: -3rem;
  right: 0.5rem;
  background: var(--contrast);
  color: #fff;
  padding: 0.25rem 0.5rem;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 0.25rem;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.content-box ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1.5rem;
  padding: 0;
  margin: 0;
}

.content-box li {
  position: relative;
  padding-left: 1.5em;
}

.content-box li::before {
  content: '★';
  color: #ff6d6d;
  position: absolute;
  left: 0;
}

@media (max-width: 767px) {
  .content-box ul {
    grid-template-columns: 1fr;
  }
  .related-posts-grid {display:block !important; }
}
/* custom stuff */
.work-front-page .gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.work-front-page .ksm-gallery-grid {width:60% !important; margin-left-auto;margin-right:auto;}
@media (max-width: 767px) {
    .work-front-page .ksm-gallery-grid   {
        display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap:5px
}
.work-front-page .ksm-gallery-grid {width:100% !important;}
}
/* End Custom Stuff */

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.related-post-item {
  border-right: 10px solid #fff;
}
.section-heading {
  display: inline-block;
  font-weight: 900;
  border: 2px solid black;
  padding: 8px 16px;
  border-radius: 6px;
  background: var(--light);
}
.ksm-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
  gap: 10px;
  max-width: 100%;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  display: block;
  object-fit:cover;
}
@media (max-width: 1200px) {
  .ksm-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .project-grid {
    display:block !important;
  }
  .ksm-gallery-grid {display:block; }
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* exactly 4 columns */
  gap: 2rem;
}

.project-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom:1rem;
}

.project-image img {
    width: 100%;
    height: 250px;
    display: block;
    margin-bottom: 1rem;
    object-fit:cover;
}

.project-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.project-button {
    display: inline-block;
    background: var(--primary, #333);
    color: #fff;
    padding: 0.5em 1em;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.project-button:hover {
    background: var(--secondary, #555);
}

/* 1) Make the two columns flex items, stretching to the same height */
.contact-form-wrapper {
  display: flex;
  align-items: stretch;  /* ensures both children fill the wrapper’s height */
}

/* 2) Give each column a 50/50 split (or whatever ratio you want) */
.contact-form,
.google-maps {
  flex: 1;               /* each takes equal share */
  width: 50%;            /* fallback in case flex isn’t supported */
}

/* 3) Remove the old padding‐bottom aspect‐ratio hack on .google-maps */
.google-maps > div {
  position: relative;
  padding-bottom: 0;     /* kill the old hack */
  height: 100%;          /* fill the parent’s flex height */
}

/* 4) Absolutely fill that area with the iframe */
.google-maps iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}



.btn-viewmore {
  padding: 2rem;
  border: 1px solid var(--primary);
  margin-bottom: 2rem;
  display: flex;
  background-color: var(--secondary);
  color: #fff;
}
#gform_wrapper_2 {
  display: block !important;
}
.alignright img {
  border:
1px solid #fff;
}
.first-word {
    color: var(--primary); 
}
.other-words {
    color: #444; 
}
.similar-posts {
  margin-top: 2rem;
}

/* Visible state triggered by JavaScript */
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

img.hide-featured-image {
  margin: 0 0 0.5em 2em;
  width: 40%;
  border: 2px solid var(--light);
}
.hide-featured-image {
  display: none;
}
.hero-text {
  line-height: 1;
}
.hero-text span {
  font-size: 2rem;
  display: block;
  color: var(--secondary);
}
.hero-intro-title {
  font-size: 5rem !important;
  color: var(--accent);
}
.clickable-parent:not(a) {
  position: static;
}
.clickable {
  padding-left: 1rem;
  padding-top: 1rem;
}
.clickable-parent:not(a) a {
  position: static;
}
.clickable a {
    position: relative;
}

.clickable a::after {
    content: "";
    position: absolute;
    inset: 0;
    cursor: pointer;
    display: block;
}

.clickable-parent:not(a) > a::after {
  content: "";
  position: absolute;
  inset: 0;
  cursor: pointer !important;
  display: flex;
}

a.clickable-parent {
  position: static;
}

a.clickable-parent::after {
  content: "";
  position: absolute;
  inset: 0;
  cursor: pointer !important;
  display: flex;
}
.related_row_service {
  position: relative;
}
#service-page-callouts {
  width:100%;
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  padding: 0;
  margin: 0;
  align-items: stretch;
}
.related_row {
  flex: 1 1 calc(25% - 20px);
  max-width: calc(25% - 20px);
  box-sizing: border-box;
  margin-bottom: 20px;
  margin-right: 20px;
}
ul.breadcrumbs {
  padding-left: 0rem;
}
.breadcrumbs {
  flex-wrap: wrap;
  font-weight: 300;
  line-height: 1.2;
}
.breadcrumbs a {
    text-decoration:none !important;
}
.review-wrapper {
  margin-bottom: 2rem;
}
.slanted {
  display: flex;
  font-family: sans-serif;
  white-space: nowrap;
  text-align: center;
}
.slanted .first {
  background-color: var(--accent);
  width: 45%;
}
.slanted .second {
  margin-left: 1rem;
  background-color: var(--contrast);
  width: 45%;
}
.slanted div {
  position: relative;
  padding: .5em;
  border: 1px solid white;
}
*, ::after, ::before {
  box-sizing: inherit;
}
.slanted {
  font-family: sans-serif;
  white-space: nowrap;
  text-align: center;
}
.breadcrumbs li {
  list-style-type: none;
  display: inline;
}
.breadcrumbs li {
  list-style-type: none;
}
.breadcrumbs li:not(:last-child)::after {
  content: " ⏵ ";
  padding: 0 5px;
}
.pad--lr {
  padding-left: var(--space-xs);
  padding-right: var(--space-xs);
}
.quote-button {
  width: 100%;
  background-color: var(--secondary);
  color: #fff !important;
  padding: 2rem;
  display: block;
  text-transform: uppercase;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
ul.top-cta-list {
    list-style-type: " ★ ";
    column-width: auto;
    column-count: 2;
}
#main_content_block .wp-caption-text {display:none;}
.center-content { align-items:center; }
#menu-services-menu .current_page_item {
  background-color: transparent !important;
}


#gform_submit_button_1 {
  background-color: var(--secondary);
}
.style-title {
  width:100%;
  background-color: var(--primary);
  color: #fff;
  padding:1rem;
}


.h_button {
  width: 62px;
height: 64px;
background-color: #00aeef;
text-align: left;
position: relative;
z-index: 1;
cursor: pointer;
}
.h_button::after {
  position: absolute;
  right: -24px;
  border-top-color: #00aeef;
  border-top-width: 64px;
  border-top-style: solid;
  border-right-color: rgba(0,0,0,0);
  border-right-width: 24px;
  border-right-style: solid;
  content: "";
}
.service-main-posts {
  position: relative;
}

.service-main-wrapper {position:relative;}
.service-posts {
gap: 1rem;
display: grid;
}
.service-post-text {
  position: absolute;
  bottom: 0;
  text-align: left;
}
.service-image-overlay {
  background-image: linear-gradient(rgba(255,255,255,0),#00000080);
  position: absolute;
  width: 100%;
  height: 100%;
}
.service-image {
  position: relative;
  overflow: hidden;
  background-color: var(--secondary);
  max-height:300px;
}
.service-image::before {
  content: "Service";
  position: absolute;
  top: 0;
  right: 0;
  border-top: 50px solid white;
  border-left: 50px solid var(--secondary);
  width: 0;
  height: 0;
}
.border-round {border-radius:50px;}
.overflow-hidden {overflow:hidden;}
.fade-in {
  opacity: 0;
  animation: zoomer 1s 0.5s backwards;
}
.hero_title {
  overflow: hidden;
  font-size:3rem;
  color:var(--secondary);
}
.text-stroke-light {
  -webkit-text-stroke: 1px white;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.slide-in {
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 0.5s, transform 0.5s;
}

.slide-in:not(.slide-in-visible) {
  transition-duration: 0s;
}

.slide-in-visible {
  opacity: 1;
  transform: translateX(0);
}
.slide-in-right {
  opacity: 0;
  transform: translateX(100%); /* Change to translateX(100%) */
  transition: opacity 0.5s, transform 0.5s;
}

.slide-in-right:not(.slide-in-right-visible) {
  transition-duration: 0s;
}

.slide-in-right-visible {
  opacity: 1;
  transform: translateX(0);
}


.hero-left {
 background-color: rgba(0,0,0,0.68);
width:50%;
height:100%;
position:relative;
  z-index:2;
}
.hero-inner {
  width: 100%;
  position:relative;
overflow: hidden;
}

.hero-inner-left {padding-left:3rem;}
.intro {
  font-weight: 300;
  color: var(--secondary);
}
.button-main {
  background-color: var(--primary);
}

.alignright {
  border: 2px solid var(--primary);
}

.background-dark {
  background-color:var(--dark);
}
.background-light {
  background-color:var(--light);
}

.button-main { margin-top:1rem; margin-bottom:1rem;}
.star-list ul {
      list-style-type: ' ⏵ ';
	padding-left:2.5rem;
}

.star-list-secondary li::marker {
  color: var(--secondary);
}
.text-box-links a {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  font-weight: 500;
}
.gform_button {
  width: 100%;
  padding: 1rem;
  background-color: var(--primary);
  color: #fff;
}


.inline {display:inline;}
.title-underline {
  text-transform: uppercase;
  padding-bottom: .5rem;
  border-bottom-width: 2px;
  border-bottom-style: solid;
  border-bottom-color: var(--secondary);
  margin-bottom: 1rem;
  color: #21282e;
}
.hero-box {
margin-top: 4rem;
  background-color:var(--accent);
}
.hero-button {
   display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
max

.center-column--middle {margin-top:auto; margin-bottom:auto;}
.hero_service_bg {
  background-color: var(--secondary);
  padding-right: 0px;
border:1px solid var(--dark);
    display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
}

  
.hero-service-text {padding-left:1rem; width:100%; text-transform:uppercase; color:#fff;}
.flex-gallery-container {
  max-width: 100%;
  width: 1400px;
   display: flex;
  flex-wrap: wrap;
  margin-left: auto;
  margin-right: auto;
  gap:5px
}

.flex-gallery-item {
  width: calc(25% - 5px);
  position:relative;
  line-height:0;
  overflow:hidden;
  box-shadow: 0.3rem 0.4rem 0.4rem rgba(255, 255, 255, 0.4)
  
 
}
.flex-gallery-item img { width:100%; object-fit:cover; height:250px; transition: transform 400ms ease-out;}
.flex-gallery-item img:hover {transform: scale(1.05);}
.flex-gallery-item a {
  height: 100%;
  display: block;
}

.flex-gallery-caption {
  background-color: var(--primary);
  color: #fff;
  padding: 2rem;
  position: absolute;
  bottom: 20%;
  width: 80%;
  text-transform: uppercase;
  box-shadow: 0 5px 8px rgba(0,0,0,.6);
}
.fancybox-caption__body {
  max-height: 50vh;
  overflow: auto;
  pointer-events: all;
  text-transform: uppercase;
  background-color: var(--primary);
  padding: 1rem;
}

.fancybox-caption__body {
  max-height: 50vh;
  overflow: auto;
  pointer-events: all;
  text-transform: uppercase;
  background-color: var(--primary);
  padding: 1rem;
}

.breadcrumbs {flex-wrap: wrap; font-weight:300; line-height:1.2; }
.breadcrumb.breadcrumb--last {
  font-weight: 800;
  color: var(--secondary);
}

.job-details {display:grid;}
.related-posts {width:100%;}
.related-post {
	overflow: hidden;
	position: relative;

  border: 2px solid var(--primary);
}
.related-post-image {
  width: 100%;
  height: auto;
  display: block;
  overflow: hidden;
  max-height: 300px;
}
 .service-link-button {
flex-direction: row;
display: flex;
width: 100%;
align-items: center;
background-color: var(--secondary);
justify-content: space-between;
   position:absolute;
   bottom:0;
}
 .location-link-button {
flex-direction: row;
display: flex;
width: 100%;
align-items: center;
background-color: var(--secondary);
justify-content: space-between;
   bottom:0;
}
 .work-link-button {
flex-direction: row;
display: flex;
width: 100%;
align-items: center;
background-color: var(--secondary);
justify-content: space-between;
position:absolute;
   bottom:0;
}
.service-title-button {
  width: 80%;
  padding-left: 1rem;
  font-size:1.5rem;
  text-transform:uppercase;
  line-height:1;
}
.work-title-button {
  width: 80%;
  padding-left: 1rem;
  font-size:1.5rem;
  text-transform:uppercase;
  line-height:1;
}

.service-image-button {
  width: 40px;
  height: 50px;
  object-fit: contain;
  background-color: var(--primary);
}
.service-post-title-button {
  background-color: var(--secondary);
}
.work-image-button {
  width: 40px;
  height: 50px;
  object-fit: contain;
  background-color: var(--primary);
}
.related-works {
  width: 100%;
}

.work-image {max-height:250px;}
.related-work {width:100%;}
.related-work {
	overflow: hidden;
	position: relative;
  background-color: var(--accent);
color: var(--light);
}
.related-work-details {
  gap: 10px;
  display: grid;
}
.alignright {
margin-left: 1rem !important;
float: right !important;
margin-bottom: 1rem;
  margin-top:2rem;
}
img.alignright {
margin: 1em 0 0.5em 2em;
  border: 2px solid var(--light);
  border-radius: 30px;
  max-width:35%;
}
.pagination-wrap {
  justify-content: space-between;
  display: flex;
  width: 100%;
  background-color: var(--accent);
}
.page-numbers {
color:var(--light);
  padding:1rem;
}
.navigation.pagination {
  display: flex;
  width: 100%;
}
.page-numbers:hover {
  color: var(--secondary);
}
.nav-links {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
}
.page-numbers.current { color: var(--secondary);}
/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
.related-image {
  width: 100%;
 
}
.work-main-content {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
.work-text-content {
  flex: 1 1 60%;
}
.work-image-wrapper {
  flex: 1 1 35%;
  text-align: right;
}
.work-featured-image {
  max-width: 100%;
  height: auto;
}

#image-single {
  width: 100%;
}
.video-layout {
  display: flex;
        flex-wrap: wrap;
  width:100%;
}
video {
  width: 100% !important;
  height: auto !important;
}
.row-one-line {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.cta_choice {
  color: #ffffff;
  flex-direction: column;
  display: flex;
  text-align: left;
  width: 50%;
}
.contact_cta_right {
  width: 50%;
}
#call-popup .button-main {width:100%;}
.rt0 {
  fill: var(--light); !important;
}
.rt6 {
  fill: var(--accent);
}
.link-button {
  background-color: var(--accent);
  color: #fff;
  padding: 1rem;
}
.provenlocal-badge {
  max-width: 300px;
}
.gallery-columns-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 5px;
  margin-bottom: 3rem;
  margin-top: 3rem;
}
.gallery-columns-4 figure {
  margin: 0.5rem;
  border:1px solid #fff;
}
.gallery-columns-4 img {
  max-height: 250px;
  min-height:250px;
  object-fit: cover;
}

.quick-navigation {
  margin-left: auto;
  margin-right: auto;
}
.pill-width--100 {
  width: 100%;
  overflow-x: auto; /* Enable horizontal scrollbar on smaller screens */
}

.top-pill-container {
  display: flex;
  white-space: nowrap;
padding-left:0;
}

.top-pill-navigation {
  margin-right: 10px; /* Optional: Add some spacing between each pill */
}
	.top-pill-container ul {padding-left:0px;}
	.top-pill-container li {list-style-type:none;}

.pill-link {
  text-decoration: none;
  color: var(--light);
  display: block;
  padding: 0.5rem;
  background-color: var(--secondary);
  border-radius: 40px;
	font-size:12px;
}

.top-pill-container::-webkit-scrollbar {
  width: 8px;
}

.top-pill-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.top-pill-container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.top-pill-container::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.postTitle li {
  list-style-type: none;
  text-align: left;
}
    .roofersContent {
        display: none; /* Start with the content collapsed */
        grid-template-columns: repeat(4, 1fr); /* Create a 4-column grid */
        gap: 10px; /* Add some space between the grid items */
    }
.postTitleHeader {
  font-weight: 800;
}
    .roofersTitle {
        cursor: pointer;
    }
ul.linkedPosts {
  margin-left: 0px;
  padding-left: 0px;
}
@media (max-width: 1300px) {
.oxy-nav-menu .oxy-nav-menu-list li.menu-item {
  font-size: 1.4rem;
}
}
  @media (min-width: 480px) and (max-width: 1200px) {
  .related-posts {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    grid-column-gap: 1rem; /* add 1rem padding around each column */
  }
    .related-works {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    grid-column-gap: 1rem; /* add 1rem padding around each column */
  }
}
@media (min-width: 992px) {
  .related-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 4 columns */
    grid-column-gap: 1rem; /* add 1rem padding around each column */
  }
  .related-works {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 4 columns */
    grid-column-gap: 1rem; /* add 1rem padding around each column */
  }
 
.cta-box-2 {
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}
  .cta-box-1 {
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}
}

@media (min-width: 1200px) {
  .related-posts {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns */
    grid-column-gap: 1rem; /* add 1rem padding around each column */
  }
  .service-title-button {font-size:1.5rem;}
}
@media only screen and (max-width: 992px) {
  .visible-nav {
    opacity: 1 !important;
  transition: opacity 2s ease;
  display: block;
}
  .related_row {
    flex: 0 0 calc(33% - 20px);
    max-width: calc(33% - 20px);
  }
    .hide-featured-image {
    display: flex;
    float: right;
    margin-left: 1rem;
  }
.flex-gallery-item {
  width: calc(33.33% - 10px);
 }
  .text--hero {font-size: 3.5rem;   text-align: center;
  line-height: 1.1;
}
  .alignright {
  max-width: 50% !important;
  height: auto;
}
  .contact_cta_right {
  width: 100%;
}
  .hero-left { width:100%; background-color: #444;z-index: 1;}
  .inner-hero {flex-direction: column-reverse; }
  .hero-inner { border:none;border-bottom-right-radius: 0;
border-bottom-left-radius: 0;}
  .button-main {
  background-color: var(--primary);
  width: 100%;
  margin-bottom: 0px;
    display: block;
}
  .row-one-line {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(1,minmax(200px,1fr));
  grid-column-gap: 20px;
  grid-row-gap: 20px;
}
   .row-two-line {
  display: grid !important;
  align-items: stretch;
  grid-template-columns: repeat(2,minmax(200px,1fr));
  grid-column-gap: 20px;
  grid-row-gap: 20px;
}
  .responsive-50-width {
    width:100%;
  }

}

@media only screen and (max-width: 767px) {
   .contact-form-wrapper {
    display:block;  /* only one column now */
  }
.contact-form, .google-maps {width:100%; }
  /* Optional: give your map a fixed height on mobile */
  .google-maps > div {
    height: 300px;               /* or whatever makes sense */
  }
  
      .related_row {
    flex: 0 0 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
   .flex-gallery-item {
  width: calc(50% - 5px);
 margin-bottom: 1rem;
}
  .hero-service-text {
  padding-left: 0.2rem;
    max-width: 70%;
    font-size: 1.3rem;
color:#fff;
}
  .service-main-posts {
    align-items: stretch;
    grid-template-columns: repeat(1,minmax(200px,1fr));
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    display: grid;
  }
  
  .work-image {max-height:300px;}
   .width--80 {width:100%;}
     .row-two-line {
  display: grid !important;
  align-items: stretch;
  grid-template-columns: repeat(1,minmax(250px,1fr));
  grid-column-gap: 20px;
  grid-row-gap: 20px;
}
  .cta-image-100 { width:100%; }
  .cta-image-100 img { width:100%; }
  }
@media only screen and (max-width: 480px) {
  .text--hero {
  font-size: 2.5rem;
  }
    .related_row {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .slanted {
    display: block;
    font-size: 2rem;
  }
    .slanted .second {
    width: 100%;
    margin-left: 0px;
    margin-top: 1rem;
  }
   .slanted .first {
    width: 100%;
  }
  .flex-gallery-container {
  max-width: 100%;
  width: 100%;
   display: block;
  }
  .flex-gallery-item {
  width: 100%;
 margin-bottom: 1rem;
    max-height:250px;
}
  .flex-gallery-item img {
  
  }
   .related-post {
    width: 100%; /* 1 post per row */
  }
  .related-work {
    width: 100%; /* 1 post per row */
  }
  .hero-inner-left { padding-left:0.2rem; width:100%;}
  .hero_service_bg {max-width:100%;}
  .hero-box {
   border-top: 2px solid var(--secondary);
  }
  .hero_button::after {
  width: 40px;
  height: 40px;
  }
  .hero-service-text {
  padding-left: 0.2rem;
  max-width: 80%;
  font-size: 1.1rem;
}
  .grid-4-2-1 {
  grid-template-columns: repeat(1,1fr);
  gap: 1rem;
}