/* Location page: question grid styling (two-column prompt links) */
#g1-content .entry-content > ul.g1-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 20px 0 30px;
}

#g1-content .entry-content > ul.g1-grid > li.g1-column {
  flex: 1;
  min-width: 260px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

#g1-content .entry-content > ul.g1-grid > li.g1-column h3 {
  padding: 5px 0px 5px 20px;
  font-size: 1.1rem;
  font-weight: 600 !important;
  margin: 0;
}

.entry-content h2 {
  font-size: 1.9rem;
}

.loc-directions a{
  font-size: 0;
}
.loc-directions a::after{
  content: "Open directions in Google Maps";
  font-size: 14px;
}

header.entry-header-maps h1.location-entry-title {
  font-size: 2.5rem !important;
}

#custom_html-8 {
  padding-top:30px;
}

.g1-grid > li.g1-column > p {
  display:none;
}

#g1-content .entry-content > ul.g1-grid > li.g1-column h3:first-child {
  margin-top: 0;
}

#g1-content .entry-content > ul.g1-grid > li.g1-column a {
  color: #0073aa;
  text-decoration: none;
}

#g1-content .entry-content > ul.g1-grid > li.g1-column a:hover {
  color: #005177;
  text-decoration: underline;
}

@media (max-width: 768px) {
  #g1-content .entry-content > ul.g1-grid {
    flex-direction: column;
  }

  #g1-content .entry-content > ul.g1-grid > li.g1-column {
    min-width: 100%;
  }
}

/* Location page: service lists grid (Phone/Drone/etc.) */
#g1-content .widget-shortcode .textwidget .g1-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

#g1-content .widget-shortcode .textwidget .g1-grid > li.g1-column {
  flex: 1;
  min-width: 260px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border-left: 2px solid rgba(0, 115, 170, 0.3);
}

  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 700;
}

#g1-content .widget-shortcode .textwidget .g1-grid > li.g1-column h2 a {
  color: #0073aa;
  text-decoration: none;
}

#g1-content .widget-shortcode .textwidget .g1-grid > li.g1-column h2 a:hover {
  color: #005177;
  text-decoration: underline;
}

#g1-content .widget-shortcode .textwidget .g1-grid > li.g1-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#g1-content .widget-shortcode .textwidget .g1-grid > li.g1-column ul li {
  position: relative;
  padding: 8px 0 8px 22px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  border-bottom: 1px solid #f0f0f0;
}

#g1-content .widget-shortcode .textwidget .g1-grid > li.g1-column ul li:last-child {
  border-bottom: none;
}

#g1-content .widget-shortcode .textwidget .g1-grid > li.g1-column ul li::before {
  content: '>';
  position: absolute;
  left: 0;
  top: 8px;
  color: #0073aa;
  font-weight: 700;
  font-size: 14px;
}

@media (max-width: 768px) {
  #g1-content .widget-shortcode .textwidget .g1-grid {
    flex-direction: column;
  }

  #g1-content .widget-shortcode .textwidget .g1-grid > li.g1-column {
    min-width: 100%;
  }
}

/* Location page: address + opening hours section */
#g1-content .g1-section.loc-section {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 24px;
  margin: 25px 0 35px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  max-width: 100%!important;
}

#g1-content .loc-section .g1-layout-inner {
  padding: 0;
}

#g1-content .loc-section .g1-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

#custom_html-34 li.g1-column{
  border:none !important;
  box-shadow:none !important;
  padding: 0 !important;
}

#g1-content .loc-section .g1-column.loc-block {
  flex: 1;
  min-width: 260px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

#g1-content .loc-block strong {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff;
  background: #0073aa;
  padding: 6px 14px;
  border-radius: 8px;
  margin: 0 0 12px;
}

#g1-content .location-address {
  font-size: 1rem;
  line-height: 1.7;
  color: #2c3e50;
  margin: 10px 0 12px;
}

#g1-content .location-address .intro {
  display: block;
  margin: 20px 0;
  padding: 12px 14px;
  background: #fffcf7;
  border-left: 2px solid rgba(243, 156, 18, 0.3);
  border-radius: 8px;
  color: #666;
}

#g1-content .street-address,
#g1-content .locality,
#g1-content .postal-code,
#g1-content .county-name,
#g1-content .country-name {
  display: block;
  margin: 4px 0;
  font-size: 0.95rem;
  color: #555;
}

#g1-content .postal-code {
  color: #0073aa;
  font-weight: 600;
}

#g1-content .wpseo-phone a.tel {
  color: #0073aa;
  font-weight: 600;
  text-decoration: none;
}

#g1-content .wpseo-phone a.tel:hover {
  color: #005177;
  text-decoration: underline;
}

#g1-content .wpseo-opening-hours {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
  overflow: hidden;
}

#g1-content .wpseo-opening-hours td {
  padding: 10px 12px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.9rem;
}

#g1-content .wpseo-opening-hours tr:nth-child(even) {
  background: #f9f9f9;
}

#g1-content .wpseo-opening-hours tr:last-child td {
  border-bottom: none;
}

#g1-content .wpseo-opening-hours td.day {
  font-weight: 600;
  color: #2c3e50;
}

#g1-content .wpseo-opening-hours td.time {
  color: #0073aa;
  font-weight: 500;
  text-align: right;
}

@media (max-width: 768px) {
  #g1-content .loc-section .g1-grid {
    flex-direction: column;
  }

  #g1-content .loc-section .g1-column.loc-block {
    min-width: 100%;
  }
}

/* Reduce extra spacing from <br> tags inside location content */
/* Tighten line breaks and paragraph spacing inside location blocks */
#g1-content .loc-section br {
  display: none;
}

#g1-content .loc-section p {
  margin: 0 0 6px;
}

#g1-content .loc-section p:empty {
  display: none;
}
