/* Local Trusted Providers page — measured 1:1 from the reference. */

.walsh-ltp-page { width: 100%; max-width: 100%; overflow-x: hidden; overflow-x: clip; background: #ffffff; }

/* ---------------- Hero ---------------- */
.walsh-ltp-hero {
  position: relative;
  height: 414px;
  overflow: hidden;
}
.walsh-ltp-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.walsh-ltp-hero h1 {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  padding: 0 20px;
  color: #ffffff;
  font-family: var(--walsh-font-heading, 'Playfair Display', serif);
  font-size: 60px;
  font-weight: 700;
  line-height: 84px;
  text-align: center;
}

/* ---------------- Category group ---------------- */
.walsh-ltp-group {
  padding: 56px 0 69px;
  background: #fdfdfd;
}
.walsh-ltp-group:nth-of-type(even) { background: #f4f4f4; }
.walsh-ltp-group h2 {
  margin: 0 auto 27px;
  max-width: 1178px;
  color: #000000;
  font-family: var(--walsh-font-heading, 'Playfair Display', serif);
  font-size: 40px;
  font-weight: 700;
  line-height: 56px;
  text-align: center;
}
.walsh-ltp-rule {
  width: 1178px;
  max-width: calc(100% - 40px);
  height: 1px;
  margin: 0 auto 41px;
  background: #d8d8d8;
}
.walsh-ltp-grid {
  display: grid;
  grid-template-columns: repeat(3, 357px);
  justify-content: center;
  gap: 54px;
}
.walsh-ltp-grid--single { grid-template-columns: 357px; }

/* ---------------- Card ---------------- */
.walsh-ltp-card {
  position: relative;
  width: 357px;
  height: 292px;
  border-radius: 20px;
  overflow: hidden;
  background: #000000;
}
.walsh-ltp-card img {
  width: 100%;
  height: 292px;
  object-fit: cover;
  display: block;
  opacity: 1;
  transition: transform .5s ease;
}
.walsh-ltp-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0,0,0,.18) 0%, rgba(0,0,0,.12) 35%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}
.walsh-ltp-card:hover img { transform: scale(1.04); }
.walsh-ltp-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0 28px 31px;
  text-align: center;
}
.walsh-ltp-card__body h4 {
  margin: 0 0 30px;
  color: #ffffff;
  font-family: var(--walsh-font-heading, 'Playfair Display', serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 30.8px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .45);
}
.walsh-ltp-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 301px;
  max-width: 100%;
  height: 45px;
  margin: 0 auto;
  padding: 0;
  border: 2px solid #fdfdfd;
  border-radius: 5px;
  background: #ffffff;
  color: #000000;
  font-family: var(--walsh-font-body, 'Poppins', sans-serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-align: center;
  text-decoration: none;
  letter-spacing: normal;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.walsh-ltp-card__btn:hover,
.walsh-ltp-card__btn:focus {
  background: rgba(255, 255, 255, 0);
  border-color: #ffffff;
  color: #ffffff;
}


/* ---------------- Mission View block ---------------- */
.walsh-ltp-mission {
  position: relative;
  margin-top: 88px;
  padding: 120px 0 92px;
  background-color: #1c1613;
  background-image: linear-gradient(135deg, rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(45deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 46px 46px, 46px 46px;
  text-align: center;
}
.walsh-ltp-mission__house {
  position: absolute;
  top: -95px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: auto;
}
.walsh-ltp-mission h2 {
  margin: 0 0 45px;
  color: #ffffff;
  font-family: var(--walsh-font-heading, 'Playfair Display', serif);
  font-size: 40px;
  font-weight: 700;
  line-height: 53px;
}
.walsh-ltp-mission__cards {
  display: grid;
  grid-template-columns: repeat(2, 467px);
  justify-content: center;
  gap: 46px;
}
.walsh-ltp-info {
  padding: 34px 30px 40px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 12px;
  background: rgba(255, 255, 255, .35);
  backdrop-filter: blur(2px);
}
.walsh-ltp-info__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #d9d9d9;
}
.walsh-ltp-info h4 {
  margin: 0 0 14px;
  color: #ffffff;
  font-family: var(--walsh-font-heading, 'Playfair Display', serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 30px;
}
.walsh-ltp-info p {
  margin: 0;
  color: #ffffff;
  font-family: var(--walsh-font-body, 'Poppins', sans-serif);
  font-size: 16px;
  font-weight: 300;
  line-height: 23px;
}

/* ---------------- Tablet — fluid two-column layout ---------------- */
@media (min-width: 768px) and (max-width: 1023px) {
  .walsh-ltp-page { width: 100%; min-width: 0; }
  .walsh-ltp-hero { height: 300px; }
  .walsh-ltp-hero h1 { font-size: 46px; line-height: 1.3; }
  .walsh-ltp-group { padding: 44px 24px 54px; }
  .walsh-ltp-group h2 { max-width: 100%; margin-bottom: 22px; font-size: 34px; line-height: 1.35; }
  .walsh-ltp-rule { width: 100%; max-width: 100%; margin-bottom: 30px; }
  .walsh-ltp-grid,
  .walsh-ltp-grid--single {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    width: 100%;
  }
  .walsh-ltp-grid--single { grid-template-columns: minmax(0, 357px); }
  .walsh-ltp-card { width: 100%; height: auto; aspect-ratio: 357 / 292; }
  .walsh-ltp-card img { height: 100%; }
  .walsh-ltp-card__body { padding: 0 20px 24px; }
  .walsh-ltp-card__body h4 { margin-bottom: 20px; }
  .walsh-ltp-card__btn { width: 100%; }
  .walsh-ltp-mission { margin-top: 70px; padding: 105px 24px 70px; }
  .walsh-ltp-mission__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}

/* ---------------- Phone (<=767px) — 320px reference layout ---------------- */
@media (max-width: 767px) {
  .walsh-ltp-hero { height: calc(100vw / 320 * 136); }
  .walsh-ltp-hero h1 {
    font-size: calc(100vw / 320 * 26);
    line-height: 1.35;
  }

  .walsh-ltp-group { padding: calc(100vw / 320 * 30) 0 0; }
  .walsh-ltp-group h2 {
    margin-bottom: calc(100vw / 320 * 18);
    padding: 0 calc(100vw / 320 * 20);
    font-size: calc(100vw / 320 * 22);
    line-height: 1.35;
  }
  .walsh-ltp-rule {
    width: calc(100% - calc(100vw / 320 * 40));
    margin-bottom: calc(100vw / 320 * 22);
  }
  .walsh-ltp-grid,
  .walsh-ltp-grid--single {
    grid-template-columns: calc(100vw / 320 * 278);
    gap: calc(100vw / 320 * 28);
  }
  .walsh-ltp-card {
    width: calc(100vw / 320 * 278);
    height: calc(100vw / 320 * 195);
    border-radius: 10px;
  }
  .walsh-ltp-card img { height: calc(100vw / 320 * 195); }
  .walsh-ltp-card__body { padding: 0 calc(100vw / 320 * 14) calc(100vw / 320 * 22); }
  .walsh-ltp-card__body h4 {
    margin-bottom: calc(100vw / 320 * 18);
    font-size: calc(100vw / 320 * 22);
    line-height: 1.35;
  }
  .walsh-ltp-card__btn {
    width: 100%;
    height: calc(100vw / 320 * 40);
    font-size: calc(100vw / 320 * 15);
  }

  .walsh-ltp-mission {
    margin-top: calc(100vw / 320 * 60);
    padding: calc(100vw / 320 * 80) calc(100vw / 320 * 20) calc(100vw / 320 * 50);
  }
  .walsh-ltp-mission__house {
    top: calc(100vw / 320 * -62);
    width: calc(100vw / 320 * 200);
  }
  .walsh-ltp-mission h2 {
    margin-bottom: calc(100vw / 320 * 26);
    font-size: calc(100vw / 320 * 24);
    line-height: 1.35;
  }
  .walsh-ltp-mission__cards {
    grid-template-columns: 1fr;
    gap: calc(100vw / 320 * 18);
  }
  .walsh-ltp-info { padding: calc(100vw / 320 * 22) calc(100vw / 320 * 16); }
  .walsh-ltp-info__icon { width: calc(100vw / 320 * 56); height: calc(100vw / 320 * 56); }
  .walsh-ltp-info h4 { font-size: calc(100vw / 320 * 20); }
  .walsh-ltp-info p { font-size: calc(100vw / 320 * 14); line-height: 1.5; }
}
