/* Western Hospitals — site-wide overrides & fixes */

/* ---------------------------------------------------------------------------
 * 0. WordPress `sizes="auto"` layout bug
 *    Modern Chrome ships a UA fallback of `contain-intrinsic-size: 3000px 1500px`
 *    for lazy images with `sizes="auto"`. Before the image loads, the browser
 *    reserves that huge placeholder, which stretches the footer logo (and any
 *    other below-the-fold image) vertically. Force the intrinsic size to come
 *    from the width/height HTML attributes instead.
 * ------------------------------------------------------------------------- */
img[sizes^="auto"],
img[sizes*=", auto"] {
  contain-intrinsic-size: none !important;
}


/* ---------------------------------------------------------------------------
 * 1. WhatsApp icon (Perfmatters "used-CSS" strips the .fa-whatsapp::before rule
 *    from the shipped Font Awesome bundle. Restore it explicitly.)
 * ------------------------------------------------------------------------- */
.fab.fa-whatsapp::before,
.elementor-social-icon-whatsapp .fab::before {
  content: "\f232";
  font-family: "Font Awesome 5 Brands", "Font Awesome 6 Brands", "FontAwesome";
  font-weight: 400;
}
.elementor-social-icon-whatsapp {
  background: transparent;
}

/* ---------------------------------------------------------------------------
 * 2. Post tag links — separate the pills that render as one blob
 * ------------------------------------------------------------------------- */
.post-tags .tag-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}
.post-tags .tag-links a {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--e-global-color-accent, #F7A582);
  border-radius: 999px;
  color: var(--e-global-color-primary, #06342A);
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
  transition: background-color .18s ease, color .18s ease;
}
.post-tags .tag-links a:hover {
  background: var(--e-global-color-accent, #F7A582);
  color: #fff;
}

/* ---------------------------------------------------------------------------
 * 3. Home "News" section — 2-column card grid.
 *    Selectors are doubled up (`.wh-news-section.wh-news-section`) to win over
 *    the Elementor kit-1652 body/h2 rules without resorting to !important.
 * ------------------------------------------------------------------------- */
.wh-news-section.wh-news-section {
  padding: 90px 20px 100px;
  background: var(--e-global-color-f1d17a8, #FFF7F4);
  width: 100%;
  flex: 1 0 100%;
  align-self: stretch;
  box-sizing: border-box;
}
.wh-news-section .wh-news-inner {
  max-width: 1300px;
  margin: 0 auto;
}
.wh-news-section h2.wh-news-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "Figtree", sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--e-global-color-primary, #06342A);
  margin: 0 0 40px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.wh-news-section h2.wh-news-heading::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 38px;
  background: var(--e-global-color-accent, #F7A582);
  transform: skewX(-14deg);
}
.wh-news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.wh-news-card {
  display: block;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(6, 52, 42, 0.06);
  transition: transform .28s ease, box-shadow .28s ease;
  position: relative;
}
.wh-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(6, 52, 42, 0.12);
}
.wh-news-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #eee;
  overflow: hidden;
}
.wh-news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.wh-news-card:hover .wh-news-card__media img {
  transform: scale(1.04);
}
.wh-news-card__badges {
  position: absolute;
  top: 18px;
  left: 18px;
  display: flex;
  gap: 8px;
}
.wh-news-card__badge {
  background: #fff;
  color: var(--e-global-color-primary, #06342A);
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.wh-news-card__body {
  padding: 26px 28px 30px;
}
.wh-news-card__title {
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.25;
  color: var(--e-global-color-primary, #06342A);
  margin: 0 0 14px;
}
.wh-news-card__date {
  font-family: "Figtree", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6a7f78;
  margin: 0;
}

/* News pagination */
.wh-news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.wh-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1.5px solid rgba(6, 52, 42, 0.18);
  border-radius: 10px;
  background: #fff;
  color: var(--e-global-color-primary, #06342A);
  font-family: "Figtree", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease,
              border-color .18s ease, transform .18s ease;
}
.wh-page-btn:hover:not(:disabled):not(.wh-page-btn--active) {
  background: var(--e-global-color-primary, #06342A);
  color: #fff;
  border-color: var(--e-global-color-primary, #06342A);
  transform: translateY(-1px);
}
.wh-page-btn--active {
  background: var(--e-global-color-primary, #06342A);
  color: #fff;
  border-color: var(--e-global-color-primary, #06342A);
  cursor: default;
}
.wh-page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.wh-page-btn svg {
  display: block;
  flex-shrink: 0;
}
.wh-page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 40px;
  color: #6a7f78;
  font-family: "Figtree", sans-serif;
  font-size: 14px;
  font-weight: 600;
  user-select: none;
}

/* News article page — hero + gallery */
.wh-news-article {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  background: var(--e-global-color-f1d17a8, #FFF7F4);
}
.wh-news-article__eyebrow {
  font-family: "Figtree", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--e-global-color-accent, #F7A582);
  margin: 0 0 12px;
}
.wh-news-article__title {
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.15;
  color: var(--e-global-color-primary, #06342A);
  margin: 0 0 12px;
}
.wh-news-article__date {
  font-family: "Figtree", sans-serif;
  font-size: 14px;
  color: #6a7f78;
  margin: 0 0 32px;
}
.wh-news-article__lede {
  font-family: "Figtree", sans-serif;
  font-size: 20px;
  line-height: 1.55;
  color: var(--e-global-color-primary, #06342A);
  margin: 0 0 32px;
}
.wh-news-article__hero {
  width: 100%;
  border-radius: 20px;
  margin: 0 0 32px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.wh-news-article__body p {
  font-family: "Figtree", sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #1a2d27;
  margin: 0 0 20px;
}
.wh-news-article__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 36px 0;
}
.wh-news-article__gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

/* ---------------------------------------------------------------------------
 * 4. Blog / news single-post layout
 *    Perfmatters strips a lot of Bootstrap-container rules from the article
 *    template — restore the container, header, meta strip, and featured image
 *    so single-post pages look properly designed instead of full-bleed.
 * ------------------------------------------------------------------------- */
/* Article body container — this one really is wrapped in .container */
.page-single-post > .container {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

/* Article header (h1 + meta bar). The template puts h1 and .post-single-meta
   as DIRECT children of .page-header-box (no inner .container), so style the
   header box itself as the layout wrapper. */
.page-header-box {
  max-width: 1160px;
  margin: 0 auto;
  padding: 60px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-sizing: border-box;
}
.page-header-box h1.text-anime {
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1.15;
  color: var(--e-global-color-primary, #06342A);
  margin: 0;
  letter-spacing: -0.01em;
}

/* Meta row (date + category chips) — kill the ugly bullet list */
.post-single-meta ul {
  list-style: none !important;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.post-single-meta ul li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(6, 52, 42, 0.08);
  color: var(--e-global-color-primary, #06342A);
  font-family: "Figtree", sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  list-style: none;
}
.post-single-meta ul li::before,
.post-single-meta ul li::marker {
  content: none !important;
}
.post-single-meta ul li i {
  color: var(--e-global-color-accent, #F7A582);
  font-size: 13px;
}
.post-single-meta ul li a {
  color: inherit;
  text-decoration: none;
}
.post-single-meta ul li a:hover {
  color: var(--e-global-color-accent, #F7A582);
}

/* Featured image band */
.page-single-post {
  padding: 20px 0 40px;
}
.page-single-post .container {
  max-width: 1160px;
}
.post-single-image {
  margin: 0 0 40px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(6, 52, 42, 0.08);
}
.post-single-image img,
.post-single-image figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
}
.post-single-image figure {
  margin: 0;
}

/* Body content wrapper */
.post-content {
  max-width: 820px;
  margin: 0 auto;
}
.post-entry.medipro-block-style {
  font-family: "Figtree", sans-serif;
  color: #1a2d27;
  font-size: 18px;
  line-height: 1.75;
}
.post-entry.medipro-block-style h2.wp-block-heading {
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.25;
  color: var(--e-global-color-primary, #06342A);
  margin: 34px 0 16px;
}
.post-entry.medipro-block-style h3.wp-block-heading {
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--e-global-color-primary, #06342A);
  margin: 28px 0 12px;
}
.post-entry.medipro-block-style p,
.post-entry.medipro-block-style p.wp-block-paragraph {
  margin: 0 0 18px;
}
.post-entry.medipro-block-style ul,
.post-entry.medipro-block-style ol {
  padding-left: 22px;
  margin: 0 0 22px;
}
.post-entry.medipro-block-style li {
  margin-bottom: 8px;
}
.post-entry.medipro-block-style strong {
  color: var(--e-global-color-primary, #06342A);
}

/* News article body (our custom layout inside post-entry) */
.post-entry .wh-news-article__eyebrow {
  font-family: "Figtree", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--e-global-color-accent, #F7A582);
  margin: 0 0 14px;
}
.post-entry .wh-news-article__lede {
  font-family: "Figtree", sans-serif;
  font-size: 20px;
  line-height: 1.55;
  color: var(--e-global-color-primary, #06342A);
  margin: 0 0 26px;
  font-weight: 600;
}
.post-entry .wh-news-article__body p.wh-news-article__body-p {
  font-family: "Figtree", sans-serif;
  font-size: 18px;
  line-height: 1.75;
  color: #1a2d27;
  margin: 0 0 18px;
}
.post-entry .wh-news-article__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 30px 0 10px;
}
.post-entry .wh-news-article__gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

/* Tag + share row — scoped so this ONLY hits the row inside a single-post,
   not Elementor/footer rows that happen to share the class name. */
.page-single-post .row.align-items-center:has(.post-tags) {
  max-width: 820px;
  margin: 20px auto 40px;
  padding: 24px 0;
  border-top: 1px solid rgba(6, 52, 42, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.page-single-post .row.align-items-center:has(.post-tags) > [class*="col-"] {
  padding: 0;
  flex: 0 1 auto;
}
.page-single-post .post-tags {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.page-single-post .post-tags::before {
  content: "Tags";
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--e-global-color-primary, #06342A);
  margin-right: 4px;
}

/* Social share row — was rendering as a vertical bulleted list of black icons.
   Turn it into horizontal circular icon buttons matching the site theme. */
.page-single-post .post-social-sharing ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}
.page-single-post .post-social-sharing ul li {
  list-style: none !important;
  margin: 0;
  padding: 0;
}
.page-single-post .post-social-sharing ul li::before,
.page-single-post .post-social-sharing ul li::marker {
  content: none !important;
  display: none !important;
}
.page-single-post .post-social-sharing ul li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--e-global-color-accent, #F7A582);
  color: var(--e-global-color-primary, #06342A);
  background: #fff;
  font-size: 15px;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease,
              border-color .18s ease, transform .18s ease;
}
.page-single-post .post-social-sharing ul li a:hover {
  background: var(--e-global-color-accent, #F7A582);
  color: #fff;
  border-color: var(--e-global-color-accent, #F7A582);
  transform: translateY(-2px);
}
.page-single-post .post-social-sharing ul li a i {
  font-size: 15px;
  line-height: 1;
}

/* Add a small "SHARE" label before the icon row for visual balance with TAGS */
.page-single-post .col-lg-4:has(.post-social-sharing)::before {
  content: "Share";
  display: inline-block;
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--e-global-color-primary, #06342A);
  margin-right: 8px;
  vertical-align: middle;
}
.page-single-post .col-lg-4:has(.post-social-sharing) {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}

/* ---------------------------------------------------------------------------
 * 3a. Honeycomb services grid — replaces the carousel that was rendering
 *     empty. 7 hexagonal tiles in a 4/3 offset pattern with icons + labels.
 *     Each tile links to its service detail page.
 *
 *     Perfmatters "used-CSS" purges FA glyph rules for icons that don't
 *     appear elsewhere on the page. Restore each glyph explicitly so it
 *     paints reliably.
 * ------------------------------------------------------------------------- */
/* Icons are inline SVG (no font dependency, no Perfmatters interference). */
.wh-hex__icon .wh-hex__svg {
  width: 36px;
  height: 36px;
  display: block;
  color: var(--e-global-color-accent, #F7A582);
  transition: color .25s ease, transform .25s ease;
}
.wh-hex:hover .wh-hex__icon .wh-hex__svg {
  color: #fff;
  transform: scale(1.1);
}

.wh-services-honeycomb.wh-services-honeycomb {
  padding: 90px 20px 100px;
  background: linear-gradient(180deg, var(--e-global-color-f1d17a8, #FFF7F4) 0%, var(--e-global-color-8a48f94, #FEEFE9) 100%);
  width: 100%;
  flex: 1 0 100%;
  align-self: stretch;
  box-sizing: border-box;
}
.wh-services-honeycomb__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.wh-services-honeycomb__eyebrow {
  font-family: "Figtree", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--e-global-color-accent, #F7A582);
  margin: 0 0 10px;
}
.wh-services-honeycomb h2.wh-services-honeycomb__title {
  font-family: "Figtree", sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--e-global-color-primary, #06342A);
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.wh-services-honeycomb__lede {
  font-family: "Figtree", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: #3a4a44;
  max-width: 620px;
  margin: 0 auto 48px;
}
.wh-honeycomb {
  --hex-w: 200px;
  --hex-h: 220px;
  --hex-gap-x: 18px;
  --hex-gap-y: 16px;              /* small positive gap — tiles don't overlap */
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wh-honeycomb__row {
  display: flex;
  gap: var(--hex-gap-x);
}
.wh-honeycomb__row + .wh-honeycomb__row {
  margin-top: var(--hex-gap-y);
}
.wh-honeycomb__row--offset {
  margin-left: calc((var(--hex-w) + var(--hex-gap-x)) / 2);
}
.wh-hex {
  width: var(--hex-w);
  height: var(--hex-h);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--e-global-color-primary, #06342A);
  transition: transform .25s ease;
}
.wh-hex:hover { transform: translateY(-4px); }
.wh-hex__bg {
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: #fff;
  box-shadow: 0 8px 22px rgba(6, 52, 42, 0.10);
  transition: background-color .25s ease;
}
.wh-hex:hover .wh-hex__bg { background: var(--e-global-color-primary, #06342A); }
.wh-hex__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  text-align: center;
}
.wh-hex__icon {
  font-size: 32px;
  color: var(--e-global-color-accent, #F7A582);
  transition: color .25s ease, transform .25s ease;
}
.wh-hex:hover .wh-hex__icon { color: #fff; transform: scale(1.1); }
.wh-hex__label {
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--e-global-color-primary, #06342A);
  transition: color .25s ease;
}
.wh-hex:hover .wh-hex__label { color: #fff; }
.wh-hex__cta {
  margin-top: 4px;
  font-family: "Figtree", sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--e-global-color-accent, #F7A582);
  opacity: 0;
  transition: opacity .25s ease;
}
.wh-hex:hover .wh-hex__cta { opacity: 1; color: #fff; }

.wh-services-honeycomb__actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
.wh-services-honeycomb__all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  border: 2px solid var(--e-global-color-primary, #06342A);
  background: transparent;
  color: var(--e-global-color-primary, #06342A);
  font-family: "Figtree", sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.wh-services-honeycomb__all:hover {
  background: var(--e-global-color-primary, #06342A);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------------------------------------------------------------------------
 * 3b. Home "Gallery" section
 *    5-tile grid — left column stacks two square tiles, centre spans a large
 *    hero, right column stacks two square tiles. Each tile carries a time
 *    caption (top-left) and a title (bottom) over a bottom-fading gradient.
 * ------------------------------------------------------------------------- */
.wh-gallery-section.wh-gallery-section {
  padding: 80px 20px 90px;
  background: var(--e-global-color-primary, #06342A);
  width: 100%;
  flex: 1 0 100%;
  align-self: stretch;
  box-sizing: border-box;
}
.wh-gallery-section .wh-gallery-inner {
  max-width: 1300px;
  margin: 0 auto;
}
.wh-gallery-section h2.wh-gallery-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-family: "Figtree", sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 36px;
}
.wh-gallery-section h2.wh-gallery-heading::before,
.wh-gallery-section h2.wh-gallery-heading::after {
  content: "";
  flex: 0 1 220px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}
.wh-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  grid-template-rows: repeat(2, 240px);
  grid-template-areas:
    "left  hero  right"
    "left2 hero  right2";
  gap: 18px;
}
.wh-gallery-grid > .wh-gallery-tile:nth-child(1) { grid-area: left;   }
.wh-gallery-grid > .wh-gallery-tile:nth-child(2) { grid-area: left2;  }
.wh-gallery-grid > .wh-gallery-tile:nth-child(3) { grid-area: hero;   }
.wh-gallery-grid > .wh-gallery-tile:nth-child(4) { grid-area: right;  }
.wh-gallery-grid > .wh-gallery-tile:nth-child(5) { grid-area: right2; }
.wh-gallery-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: #223;
  color: inherit;
  text-decoration: none;
  isolation: isolate;
}
.wh-gallery-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
  filter: saturate(0.95);
}
.wh-gallery-tile:hover img {
  transform: scale(1.06);
}
.wh-gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.05) 45%,
    rgba(0, 0, 0, 0.75) 100%);
  z-index: 1;
}
.wh-gallery-tile__time {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-family: "Figtree", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.06em;
  background: rgba(0, 0, 0, 0.55);
  padding: 5px 12px;
  border-radius: 999px;
}
.wh-gallery-tile__title {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  font-family: "Figtree", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
/* Big centre tile gets the "hero" grid area (see grid-template-areas above) */
.wh-gallery-tile--hero .wh-gallery-tile__title {
  font-size: 26px;
}

/* ---------------------------------------------------------------------------
 * 4b. Static appointment form + form banners
 * ------------------------------------------------------------------------- */
.wh-appointment-form,
.wh-contact-form {
  display: grid;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}
.wh-contact-form.wh-contact-form,
.wh-appointment-form.wh-appointment-form {
  /* extra specificity so it wins over Elementor form widget rules */
  padding: 32px 28px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(6, 52, 42, 0.08);
}
.wh-form-row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.wh-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wh-form-field label {
  font-family: "Figtree", sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--e-global-color-primary, #06342A);
  letter-spacing: 0.02em;
}
.wh-form-field input,
.wh-form-field textarea,
.wh-form-field select {
  font-family: "Figtree", sans-serif;
  font-size: 16px;
  color: var(--e-global-color-primary, #06342A);
  background: #FFF7F4;
  border: 1px solid rgba(6, 52, 42, 0.14);
  border-radius: 12px;
  padding: 12px 16px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
  min-height: 46px;
  width: 100%;
  box-sizing: border-box;
}
.wh-form-field textarea {
  min-height: 120px;
  resize: vertical;
}
.wh-form-field input:focus,
.wh-form-field textarea:focus,
.wh-form-field select:focus {
  border-color: var(--e-global-color-accent, #F7A582);
  box-shadow: 0 0 0 3px rgba(247, 165, 130, 0.20);
}
.wh-form-actions {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}
button.wh-submit,
input.wh-submit {
  font-family: "Figtree", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  background: var(--e-global-color-primary, #06342A);
  border: 2px solid var(--e-global-color-primary, #06342A);
  border-radius: 999px;
  padding: 12px 34px;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease,
              border-color .18s ease, transform .18s ease;
}
button.wh-submit:hover,
input.wh-submit:hover {
  background: var(--e-global-color-accent, #F7A582);
  border-color: var(--e-global-color-accent, #F7A582);
  color: #fff;
  transform: translateY(-1px);
}
button.wh-submit[disabled],
input.wh-submit[disabled] {
  opacity: .7;
  cursor: wait;
  transform: none;
}
.wh-form-banner {
  padding: 14px 18px;
  border-radius: 12px;
  font-family: "Figtree", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 8px;
}
.wh-form-banner--success {
  background: #E8F5EF;
  color: #0F5A44;
  border: 1px solid #B7DFCB;
}
.wh-form-banner--error {
  background: #FDECEC;
  color: #8A2A2A;
  border: 1px solid #F1B7B7;
}

/* ---------------------------------------------------------------------------
 * 5. Mobile / tablet responsive
 * ------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .wh-news-section h2.wh-news-heading {
    font-size: 30px;
  }
  .wh-news-section h2.wh-news-heading::before {
    height: 30px;
  }
  .wh-news-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .wh-news-card__title {
    font-size: 20px;
  }
  .page-header-box {
    padding: 40px 18px 20px;
  }
  .page-header-box h1.text-anime {
    font-size: 32px;
  }
  .post-entry .wh-news-article__lede {
    font-size: 18px;
  }
  .post-entry .wh-news-article__gallery {
    grid-template-columns: 1fr;
  }
  .page-header-box > .container,
  .page-single-post > .container {
    padding-left: 18px;
    padding-right: 18px;
  }
  .post-content {
    padding: 0 4px;
  }
}
/* Honeycomb — tighten for tablet / mobile */
@media (max-width: 1000px) {
  .wh-honeycomb {
    --hex-w: 170px;
    --hex-h: 188px;
    --hex-gap-x: 14px;
    --hex-gap-y: 14px;
  }
}
@media (max-width: 700px) {
  .wh-services-honeycomb.wh-services-honeycomb {
    padding: 60px 16px 70px;
  }
  .wh-services-honeycomb h2.wh-services-honeycomb__title { font-size: 30px; }
  .wh-honeycomb {
    --hex-w: 140px;
    --hex-h: 154px;
    --hex-gap-x: 10px;
    --hex-gap-y: 12px;
  }
  .wh-hex__icon .wh-hex__svg { width: 28px; height: 28px; }
  .wh-hex__label { font-size: 13px; }
}
@media (max-width: 500px) {
  .wh-honeycomb {
    --hex-w: 108px;
    --hex-h: 120px;
    --hex-gap-x: 6px;
    --hex-gap-y: 8px;
  }
  .wh-hex__icon .wh-hex__svg { width: 22px; height: 22px; }
  .wh-hex__label { font-size: 11px; letter-spacing: 0; }
  .wh-hex__cta { display: none; }
}
@media (max-width: 700px) {
  .wh-contact-form.wh-contact-form,
  .wh-appointment-form.wh-appointment-form {
    padding: 24px 20px;
    border-radius: 16px;
  }
  .wh-form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .wh-gallery-section h2.wh-gallery-heading {
    font-size: 22px;
    gap: 14px;
  }
  .wh-gallery-section h2.wh-gallery-heading::before,
  .wh-gallery-section h2.wh-gallery-heading::after {
    flex-basis: 60px;
  }
  .wh-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    grid-template-areas: none;
    min-height: 0;
  }
  .wh-gallery-grid > .wh-gallery-tile,
  .wh-gallery-grid > .wh-gallery-tile:nth-child(1),
  .wh-gallery-grid > .wh-gallery-tile:nth-child(2),
  .wh-gallery-grid > .wh-gallery-tile:nth-child(3),
  .wh-gallery-grid > .wh-gallery-tile:nth-child(4),
  .wh-gallery-grid > .wh-gallery-tile:nth-child(5) {
    grid-area: auto;
    aspect-ratio: 4 / 3;
  }
  .wh-gallery-grid > .wh-gallery-tile.wh-gallery-tile--hero {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    aspect-ratio: 16 / 9 !important;
  }
  .wh-gallery-tile__title { font-size: 15px; }
  .wh-gallery-tile--hero .wh-gallery-tile__title { font-size: 20px; }
}
@media (max-width: 500px) {
  .wh-news-section.wh-news-section {
    padding: 60px 14px 70px;
  }
  .wh-news-card__body {
    padding: 20px 20px 24px;
  }
  .page-header-box h1.text-anime {
    font-size: 26px;
  }
  .post-single-image {
    border-radius: 14px;
  }
}
