/* Location content type — scoped to .location-page (library attached on location nodes only) */
:root {
  --container: 1200px;
  --primary: #004d48;
  --secondary: #8ac43f;
  --copy: #102f2d;
}

.location-page {
  color: var(--copy);
}

.location-page a {
  color: var(--primary);
  text-decoration: underline;
}

.location-page a:hover {
  color: var(--secondary);
}
@media screen and (min-width:769px) {
.location-page .hero-block {
        min-height: 350px;
 }  
 .hero-image-mobile {
     display:none;
 }
}
 
 @media screen and (max-width:768px) {
    .location-page .location-hero {
        padding: 0;
    }
    .hero-content.row.container {
        background: #ECECEC;
        padding: 2rem 1rem;
    }
    .hero-content.row.container * {
        text-shadow:none;
    }
     .hero-content.row.container h1, .hero-content.row.container .hero-subtitle {
         color: inherit;
     }
    
}

.location-page .location-hero {
  background-size: cover;
  background-position: right;
}

.location-page .hero-subtitle {
  font-size: 18px;
  color: #fff;
  line-height: 1.4;
  margin: 0.75rem 0 1rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.location-page .location-hero-ctas > div {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}
.location-page .location-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 0.5rem;
}

.location-page .location-hero-ctas a {
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: underline;
}


/* Message + testimonials row */
.location-page .location-cards-row {
  display: grid;
  gap: 2rem;
  padding-left: 1rem;
  padding-right: 1rem;
  max-width: var(--container, 1200px);
  margin-left: auto;
  margin-right: auto;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

@media screen and (min-width: 978px) {
  .location-page .location-cards-row--two {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 3rem;
      padding-top: 3rem;
  padding-bottom: 3rem;
  }
}

.location-page .location-cards-row__message,
.location-page .location-cards-row__testimonials {
  min-width: 0;
}

/* Message card */
.location-page .location-cards-row__message {
  padding-left: 0;
  padding-right: 0;
}

.location-page .location-message-card {
  max-width: 720px;
  margin: 0 auto;
  border-radius: 40px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.13);
  border: 1px solid rgba(0, 77, 72, 0.26);
}

.location-page .location-cards-row--two .location-message-card {
  max-width: none;
  margin: 0;
}

.location-page .location-message-card__image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.location-page .location-message-card .card-content {
  padding: 2rem;
}

.location-page .location-message-card__title {
  color: var(--primary);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.location-page .location-message-body {
  font-size: 16px;
  line-height: 1.5;
}

@media screen and (min-width: 978px) {
  .location-page .location-message-card__title {
    font-size: 30px;
  }
  .location-page .location-message-body {
    font-size: 18px;
  }
}

/* Contact strip */
.location-page .location-contact-strip {
  background: #e9e9e9;
  padding: 2.5rem 1rem;
  margin-top: 2rem;
}

.location-page .location-contact-strip__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 1.75rem;
}

@media screen and (min-width: 900px) {
  .location-page .location-contact-strip__inner {
    grid-template-columns: 1.1fr 1fr 1.2fr 1.2fr;
    align-items: start;
    gap: 2rem;
  }
}

.location-page .location-contact-strip__heading {
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.location-page .location-contact-strip__phone {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--copy);
}

.location-page .location-contact-strip__phone a {
  font-weight: 700;
}

.location-page .location-contact-address,
.location-page .location-hours {
  font-size: 1rem;
  line-height: 1.45;
  margin-bottom: 0.5rem;
}

.location-page .location-directions-link {
  margin-top: 0.35rem;
}

.location-page .location-directions-link a {
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Team section (Views markup inside .location-team-section)
   -------------------------------------------------------------------------- */
.location-team-section {
  --location-team-icon-size: 1.25rem;
  --location-team-icon-gap: 0.75rem;
  --location-icon-envelope: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23004d48'%3E%3Cpath d='M1.5 8.67v8.58a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3V8.67l-8.928 5.493a3 3 0 0 1-3.144 0L1.5 8.67Z'/%3E%3Cpath d='M22.5 6.908V6.75a3 3 0 0 0-3-3h-15a3 3 0 0 0-3 3v.158l9.714 5.978a1.5 1.5 0 0 0 1.572 0L22.5 6.908Z'/%3E%3C/svg%3E");
  --location-icon-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23004d48'%3E%3Cpath fill-rule='evenodd' d='M1.5 4.5a3 3 0 0 1 3-3h1.372c.86 0 1.61.586 1.819 1.42l1.105 4.423a1.875 1.875 0 0 1-.694 1.955l-1.293.97c-.135.101-.164.249-.126.352a11.285 11.285 0 0 0 6.697 6.697c.103.038.25.009.352-.126l.97-1.293a1.875 1.875 0 0 1 1.955-.694l4.423 1.105c.834.209 1.42.959 1.42 1.82V19.5a3 3 0 0 1-3 3h-2.25C8.552 22.5 1.5 15.448 1.5 6.75V4.5Z' clip-rule='evenodd'/%3E%3C/svg%3E");
  padding-top: 4rem;
}

.location-team-section h2,
.location-team-section .view-header h2,
.location-team-section .location-team-section__title {
  text-align: center;
  color: var(--primary, #004d48);
  font-weight: 700;
  margin: 0 0 2.25rem;
  line-height: 1.2;
}

/* Testimonials (Splide) — avoid business .testimonial-block .container 2-col grid without a heading column */
.location-page .location-testimonial-block.testimonial-block {
  background: #fff;
  padding: 0;
  border-radius: 40px;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 77, 72, 0.15);
  height: 100%;
}

  .location-page .location-testimonial-block.testimonial-block .location-testimonial-slide__content {
    padding: 1rem 1.75rem;
  }

  .location-page .location-testimonial-block.testimonial-block .location-testimonial-slide__content h3, .location-message-card h3, .location-team-section__title {
      color: var(--primary);
      font-size: 2.5rem;
      margin: 0;
      line-height: 1.3;
  }
  .location-message-card h3 span {
      color: var(--secondary);
  }
  .location-page .location-testimonial-block.testimonial-block .location-testimonial-slide__content h4 {
      color: var(--secondary);
      font-size: 1.65rem;
      margin: 0 0 1rem;
  }
.location-page .location-testimonial-block .location-testimonial-block__container {
  display: block;
  max-width: none;
  margin: 0;
  padding: 0;
}

.location-page .location-testimonial-block__heading {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary, #004d48);
  margin: 0 0 1rem;
  line-height: 1.15;
}

.location-page .location-testimonial-block__heading .location-testimonial-block__accent,
.location-page .location-testimonial-block__heading span.accent {
  color: var(--secondary, #8ac43f);
}

.location-page .location-testimonial-slide__inner {
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  border: none;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.location-page .location-testimonial-slide__media {
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.location-page .location-testimonial-slide__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.location-page .location-testimonial-slide__content {
  padding: 0;
  flex: 1 1 auto;
}

.location-page .location-testimonial-slide__content .testimonial-body {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--primary, #004d48);
  line-height: 1.45;
  margin-bottom: 1rem;
}

.location-page .location-testimonial-slide__content .testimonial-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--copy, #102f2d);
  line-height: 1.35;
}

.location-page .location-testimonial-slide__content .testimonial-title p {
  margin: 0;
}

.location-page .location-testimonial-block .splide__pagination {
  position: relative;
  justify-content: center;
  padding: 1rem 0 0;
}

.location-page .location-testimonial-block .splide__pagination__page {
  background: #fff;
  border: 2px solid var(--primary, #004d48);
  opacity: 1;
  height: 12px;
  width: 12px;
}

.location-page .location-testimonial-block .splide__pagination__page.is-active {
  background: var(--primary, #004d48);
}

.location-team-section .views-element-container > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem 1.5rem;
  max-width: var(--container, 1364px);
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 1100px) {
  .location-team-section .views-element-container > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 520px) {
  .location-team-section .views-element-container > div {
    grid-template-columns: 1fr;
  }
}

.location-team-section .team-member.views-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--location-team-icon-gap);
  row-gap: 0.35rem;
  justify-items: center;
  text-align: center;
  padding: 0 0.25rem;
}

.location-team-section .team-member .views-field-field-secondary-image {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
}

.location-team-section .team-member .views-field-field-secondary-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 48px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.location-team-section .team-member .views-field-title {
  grid-column: 1 / -1;
  margin-top: 0.75rem;
}

.location-team-section .team-member .views-field-title a {
  font-weight: 700;
  color: #000;
  text-decoration: none;
  font-size: 1.05rem;
  line-height: 1.25;
}

.location-team-section .team-member .views-field-title a:hover,
.location-team-section .team-member .views-field-title a:focus {
  color: var(--primary, #004d48);
  text-decoration: underline;
}

.location-team-section .team-member .views-field-field-person-title {
  grid-column: 1 / -1;
  font-size: 0.95rem;
  font-weight: 400;
  color: #4a4a4a;
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.location-team-section .team-member .views-field-field-person-title .field-content {
  display: block;
}

.location-team-section .team-member .views-field-field-phone {
  grid-column: 1;
  justify-self: end;
  align-self: center;
  margin: 0;
}

.location-team-section .team-member .views-field-field-email {
  grid-column: 2;
  justify-self: start;
  align-self: center;
  margin: 0;
}

/* Phone: icon + visible number */
.location-team-section .team-member .views-field-field-phone a[href^="tel:"] {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--primary, #004d48);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.2;
      padding-top: 7px;

}

/*.location-team-section .team-member .views-field-field-phone a[href^="tel:"]::before {*/
/*  content: "";*/
/*  display: block;*/
/*  width: var(--location-team-icon-size);*/
/*  height: var(--location-team-icon-size);*/
/*  flex-shrink: 0;*/
/*  background: var(--location-icon-phone) center / contain no-repeat;*/
/*}*/

/*.location-team-section .team-member .views-field-field-phone a[href^="tel:"]:hover,*/
/*.location-team-section .team-member .views-field-field-phone a[href^="tel:"]:focus {*/
/*  color: var(--secondary, #8ac43f);*/
/*}*/

/*.location-team-section .team-member .views-field-field-phone a[href^="tel:"]:hover::before,*/
/*.location-team-section .team-member .views-field-field-phone a[href^="tel:"]:focus::before {*/
/*  filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(500%) hue-rotate(52deg);*/
/*}*/

/* Email: plain text — icon + address (switch view to “Email” as link for mailto) */
/*.location-team-section .team-member .views-field-field-email .field-content {*/
/*  display: inline-flex;*/
/*  align-items: flex-start;*/
/*  gap: 0.4rem;*/
/*  max-width: 11rem;*/
/*  text-align: left;*/
/*  font-size: 0.78rem;*/
/*  line-height: 1.35;*/
/*  word-break: break-word;*/
/*  color: var(--primary, #004d48);*/
/*}*/

/*.location-team-section .team-member .views-field-field-email .field-content::before {*/
/*  content: "";*/
/*  display: block;*/
/*  width: var(--location-team-icon-size);*/
/*  height: var(--location-team-icon-size);*/
/*  flex-shrink: 0;*/
/*  margin-top: 0.1rem;*/
/*  background: var(--location-icon-envelope) center / contain no-repeat;*/
/*}*/

/* Email as mailto link */
/*.location-team-section .team-member .views-field-field-email a[href^="mailto:"] {*/
/*  display: inline-flex;*/
/*  align-items: flex-start;*/
/*  gap: 0.4rem;*/
/*  text-decoration: none;*/
/*  font-size: 0.78rem;*/
/*  line-height: 1.35;*/
/*  word-break: break-word;*/
/*  color: var(--primary, #004d48);*/
/*  font-weight: 600;*/
/*}*/

/*.location-team-section .team-member .views-field-field-email a[href^="mailto:"]::before {*/
/*  content: "";*/
/*  display: block;*/
/*  width: var(--location-team-icon-size);*/
/*  height: var(--location-team-icon-size);*/
/*  flex-shrink: 0;*/
/*  margin-top: 0.1rem;*/
/*  background: var(--location-icon-envelope) center / contain no-repeat;*/
/*}*/

/*.location-team-section .team-member .views-field-field-email .field-content:has(a)::before {*/
/*  display: none;*/
/*}*/

/*.location-team-section .team-member .views-field-field-email a[href^="mailto:"]:hover,*/
/*.location-team-section .team-member .views-field-field-email a[href^="mailto:"]:focus {*/
/*  color: var(--secondary, #8ac43f);*/
/*}*/

/*.location-team-section .team-member .views-field-field-email a[href^="mailto:"]:hover::before,*/
/*.location-team-section .team-member .views-field-field-email a[href^="mailto:"]:focus::before {*/
/*  filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(500%) hue-rotate(52deg);*/
/*}*/

.location-team-section .views-field {
  padding: 0;
}

.location-team-section .views-field .field-content {
  margin: 0;
}
