/* Site-wide tweaks for every screen size (phone/tablet-only layout lives in mobile.css). Loaded on every page. */

/* "View Our Clinic": the Care Hospital / DIA Clinics tab buttons were pulled 35-40px down onto the card's top edge.
   User 31 Oct 2026: keep a gap between the buttons and the card. */
.choose-tab { margin-bottom: 22px !important; }
@media (min-width: 1025px) { .why-tab-content { padding-top: 56px !important; } }
@media (max-width: 1024px) { .why-tab-content { padding-top: 22px !important; } }

/* ---------- "Open now" badges next to clinic names (site.js) ---------- */
.apx-open { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; vertical-align: middle; padding: 3px 10px; border-radius: 999px;
  font: 600 12px/1.4 var(--body-font, sans-serif); letter-spacing: 0; text-transform: none; background: #eef2f8; color: #4a5a78; white-space: nowrap; }
.apx-open::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #9aa6bb; }
.apx-open.is-open { background: #e7f8ee; color: #137a3d; }
.apx-open.is-open::before { background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .18); }
.elementor-icon-box-title .apx-open { display: flex; width: max-content; margin: 6px auto 0; }

/* ---------- appointment request (contact page, site.js) ---------- */
#apx-booking { text-align: left; }
#apx-booking .bk-title { font-size: 34px; margin-bottom: 6px; }
#apx-booking .bk-sub { color: #5b6880; margin-bottom: 18px; }
#apx-booking .bk-steps { display: flex; gap: 18px; list-style: none; padding: 0; margin: 0 0 18px; font-size: 13.5px; color: #8a96ab; }
#apx-booking .bk-steps li { display: flex; align-items: center; gap: 7px; }
#apx-booking .bk-steps li::before { content: attr(data-n); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid #c9d3e3; font-weight: 700; font-size: 12px; }
#apx-booking .bk-steps li.on { color: #1f3967; font-weight: 600; }
#apx-booking .bk-steps li.on::before { border-color: #1f3967; background: #1f3967; color: #fff; }
#apx-booking .bk-steps li.done::before { content: "✓"; border-color: #22a35a; background: #22a35a; color: #fff; }
#apx-booking fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
#apx-booking legend { font-weight: 700; color: #0d1b3e; margin-bottom: 10px; font-size: 15.5px; }
#apx-booking .bk-row { display: grid; gap: 10px; }
#apx-booking .bk-clinics { grid-template-columns: 1fr 1fr; }
#apx-booking button { font: inherit; cursor: pointer; border: 1.5px solid #d8e0ec; background: #fff; color: #0d1b3e; border-radius: 14px; transition: .15s; }
#apx-booking button:hover:not(:disabled) { border-color: #1f3967; }
#apx-booking button[aria-pressed="true"] { background: #1f3967; border-color: #1f3967; color: #fff; }
#apx-booking button:disabled { opacity: .45; cursor: not-allowed; }
#apx-booking .bk-clinic { text-align: left; padding: 12px 14px; min-height: 64px; }
#apx-booking .bk-clinic b { display: block; font-size: 15px; }
#apx-booking .bk-clinic small { display: block; font-size: 12.5px; opacity: .8; margin-top: 2px; line-height: 1.35; }
#apx-booking .bk-days { grid-template-columns: repeat(7, 1fr); }
#apx-booking .bk-days button { padding: 8px 0; min-height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; }
#apx-booking .bk-days small { font-size: 11px; opacity: .8; }
#apx-booking .bk-days b { font-size: 18px; }
#apx-booking .bk-times { grid-template-columns: repeat(4, 1fr); max-height: 196px; overflow-y: auto; padding-right: 2px; }
#apx-booking .bk-times button { min-height: 44px; font-size: 14px; }
#apx-booking .bk-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#apx-booking .bk-fields label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; color: #33415c; }
#apx-booking .bk-fields label.wide { grid-column: 1 / -1; }
#apx-booking input { height: 48px; border-radius: 12px; border: 1.5px solid #d8e0ec; padding: 0 14px; font-size: 15px; background: #f7f9fd; color: #0d1b3e !important; font-weight: 500; }
#apx-booking input::placeholder { color: #98a3b8; font-weight: 400; }
#apx-booking input:focus { outline: none; border-color: #1f3967; background: #fff; }
#apx-booking .bk-note { font-size: 14px; color: #5b6880; margin: 4px 0 12px; min-height: 20px; }
#apx-booking .bk-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#apx-booking .bk-wa, #apx-booking .bk-mail { min-height: 52px; border-radius: 999px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; }
#apx-booking .bk-wa { background: #25d366; border-color: #25d366; color: #fff; }
#apx-booking .bk-mail { background: #1f3967; border-color: #1f3967; color: #fff; }
#apx-booking .bk-wa svg { width: 20px; height: 20px; fill: currentColor; }
#apx-booking .bk-urgent { margin-top: 14px; font-size: 14px; color: #5b6880; }
#apx-booking .bk-urgent a { color: #f37021; font-weight: 700; }
#apx-booking .bk-msg { margin-top: 10px; font-weight: 600; font-size: 14px; }
#apx-booking .bk-msg.ok { color: #137a3d; } #apx-booking .bk-msg.err { color: #b42318; }
#apx-booking .bk-msg a { color: #137a3d; text-decoration: underline; font-weight: 700; }
@media (max-width: 767px) {
  #apx-booking .bk-title { font-size: 27px; }
  #apx-booking .bk-steps { gap: 12px; font-size: 12.5px; }
  #apx-booking .bk-clinics, #apx-booking .bk-fields, #apx-booking .bk-actions { grid-template-columns: 1fr; }
  #apx-booking .bk-days { grid-template-columns: repeat(7, minmax(42px, 1fr)); overflow-x: auto; }
  #apx-booking .bk-times { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- subtle scroll line beside the text (site.js; home page, desktop/tablet only) ---------- */
.apx-spine { position: fixed; top: 0; left: 8px; width: 24px; z-index: 40; pointer-events: none; opacity: 0; transition: opacity .7s ease .1s; will-change: transform, opacity; }
.apx-spine.show { transition: opacity .25s ease; }
.apx-spine.show { opacity: 1; }
.apx-spine svg { width: 100%; height: 100%; display: block; overflow: visible; }
/* ahead of you: a dotted guide; behind you: the solid orange line (.fill) */
.apx-spine .track { fill: none; stroke: #1f3967; stroke-opacity: .4; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 0.01 5.2; }
.apx-spine .fill { fill: none; stroke: #f37021; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .15s linear; }
/* vertebrae ahead are small and faint; each one pops to full size and turns orange as the line reaches it */
.apx-spine .tk { transform-box: fill-box; transform-origin: center; transform: scale(.72); opacity: .45; transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), opacity .35s; }
.apx-spine .tk > * { fill: none; stroke: #1f3967; stroke-opacity: .5; stroke-width: 1.2; stroke-linecap: round; transition: stroke .35s, stroke-opacity .35s, fill .35s; }
.apx-spine .tk.on { transform: scale(1); opacity: 1; }
.apx-spine .tk.on > rect { fill: rgba(243, 112, 33, .14); }
.apx-spine .tk.cur { transform: scale(1.3); }
.apx-spine .tk.cur > rect { fill: rgba(243, 112, 33, .35); }
.apx-spine .tk.on > * { stroke: #f37021; stroke-opacity: .95; }
/* small laptops (1025-1439px): the theme runs content almost to the screen edge; leave a margin for the line */
@media (min-width: 1025px) and (max-width: 1439px) {
  html.has-apx-spine .e-con-boxed > .e-con-inner { max-width: calc(100% - 130px) !important; }
  html.has-apx-spine .th-blog-wrapper > .container { max-width: calc(100% - 130px) !important; }
}
@media (max-width: 767px) { .apx-spine { display: none; } }

/* current section in the menu (classes added by _tools/nav_current.py) */
.main-menu .mediax-menu > li.apx-current > a { color: #f37021 !important; font-weight: 700; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 9px; text-decoration-color: #f37021; }
.th-mobile-menu li.apx-current > a, .elementskit-navbar-nav > li.apx-current > a { color: #f37021 !important; font-weight: 700 !important; box-shadow: inset 4px 0 0 #f37021; }

/* Google reviews slider (filled by site.js from /_static/reviews/google-reviews.json) */
.apx-gr { width: 100%; text-align: left; }
.apx-gr-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-bottom: 22px; }
.apx-gr-score { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.apx-gr-score b { font-size: 34px; line-height: 1; color: #0d1b3e; }
.apx-gr-score .apx-gr-stars { color: #f5a623; font-size: 20px; letter-spacing: 2px; margin: 0; }
.apx-gr-count { color: #33415c; font-size: 15.5px; font-weight: 600; }
.apx-gr-links { display: flex; flex-wrap: wrap; gap: 10px; }
.apx-gr-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1.5px solid #d7e2f0; color: #1f3967 !important; font-weight: 600; font-size: 14px; text-decoration: none; }
.apx-gr-link:hover { border-color: #1f3967; }
.apx-gr-g { width: 18px; height: 18px; flex: none; }
.apx-gr-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -6px; padding: 6px 6px 14px; }
.apx-gr-viewport::-webkit-scrollbar { display: none; }
.apx-gr-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 3); gap: 18px; min-height: 280px; }
.apx-gr-card { scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid #e3eaf4; border-radius: 18px; padding: 22px; box-shadow: 0 8px 24px rgba(13, 27, 62, .06); }
.apx-gr-card header { display: flex; align-items: center; gap: 12px; }
.apx-gr-card header img, .apx-gr-ph { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.apx-gr-ph { display: grid; place-items: center; background: #1f3967; color: #fff; font-weight: 700; }
.apx-gr-card header b { display: block; color: #0d1b3e; font-size: 15.5px; line-height: 1.3; }
.apx-gr-card header small { color: #8a96ab; font-size: 13px; }
.apx-gr-card .apx-gr-stars { margin: 0; color: #f5a623; letter-spacing: 2px; font-size: 16px; line-height: 1; }
.apx-gr-off { color: #d7e2f0; }
.apx-gr-text { margin: 0 !important; color: #33415c !important; font-size: 15px !important; line-height: 1.6 !important; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.apx-gr-card.open .apx-gr-text { -webkit-line-clamp: unset; display: block; }
.apx-gr-more { align-self: flex-start; border: 0; background: none; padding: 0; color: #1f3967; font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.apx-gr-card footer { margin-top: auto; padding-top: 12px; border-top: 1px solid #edf1f7; }
.apx-gr-card footer a { color: #5b6880 !important; font-size: 13px; text-decoration: none; }
.apx-gr-card footer a:hover { color: #1f3967 !important; text-decoration: underline; }
.apx-gr-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 8px; }
.apx-gr-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid #c9d6e8; background: #fff; color: #1f3967; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 0 3px; }
.apx-gr-nav button:hover { background: #1f3967; border-color: #1f3967; color: #fff; }
.apx-gr-pos { min-width: 110px; text-align: center; color: #5b6880; font-size: 14px; font-weight: 600; }
.apx-gr-note { margin: 12px 0 0 !important; text-align: center; color: #8a96ab !important; font-size: 13px !important; }
@media (max-width: 1024px) { .apx-gr-track { grid-auto-columns: calc((100% - 18px) / 2); } }
@media (max-width: 767px) {
  .apx-gr-track { grid-auto-columns: 86%; gap: 14px; }
  .apx-gr-score b { font-size: 28px; }
  .apx-gr-links { width: 100%; }
  .apx-gr-link { flex: 1 1 100%; justify-content: center; }
  .apx-gr-card { padding: 18px; }
}

/* /reviews/ page (built by _tools/google_reviews.py; filters + "show more" in site.js) */
.apx-rv { padding: 64px 0 80px; }
.apx-rv-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.apx-rv-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; align-items: center; margin-bottom: 34px; }
.apx-rv-score b { display: inline-block; font-size: 64px; line-height: 1; color: #0d1b3e; margin-right: 12px; vertical-align: middle; }
.apx-rv-stars { color: #f5a623; letter-spacing: 2px; }
.apx-rv-score > .apx-rv-stars { font-size: 26px; vertical-align: middle; }
.apx-rv-score p { margin: 14px 0 0; color: #33415c; font-size: 16.5px; line-height: 1.7; }
.apx-rv-score strong { color: #0d1b3e; }
.apx-rv-listings { display: grid; gap: 12px; }
.apx-rv-listing { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid #e3eaf4; box-shadow: 0 8px 22px rgba(13, 27, 62, .06); text-decoration: none; transition: border-color .15s; }
.apx-rv-listing:hover { border-color: #1f3967; }
.apx-rv-listing .apx-gr-g { width: 30px; height: 30px; }
.apx-rv-listing > span { flex: 1; min-width: 0; }
.apx-rv-listing b { display: block; color: #0d1b3e; font-size: 16px; }
.apx-rv-listing small { color: #5b6880; font-size: 14px; }
.apx-rv-listing em { font-style: normal; font-weight: 700; color: #1f3967; font-size: 14px; white-space: nowrap; }
.apx-rv-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.apx-rv-chip { font: inherit; font-weight: 600; font-size: 14.5px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid #c9d6e8; background: #fff; color: #1f3967; cursor: pointer; }
.apx-rv-chip[aria-pressed="true"] { background: #1f3967; border-color: #1f3967; color: #fff; }
.apx-rv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.apx-rv-grid .apx-gr-card[hidden] { display: none; }
.apx-rv-more { display: block; margin: 28px auto 0; font: inherit; font-weight: 700; min-height: 50px; padding: 0 28px; border-radius: 999px; border: 0; background: #1f3967; color: #fff; cursor: pointer; }
.apx-rv-more[hidden] { display: none; }
.apx-rv-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; margin-top: 46px; padding: 34px 40px; border-radius: 24px; background: linear-gradient(135deg, #1f3967, #0d1b3e); }
.apx-rv-cta h2 { margin: 0 0 6px; color: #fff; font-size: 28px; }
.apx-rv-cta p { margin: 0; color: #c9d6e8; }
.apx-rv-btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; border-radius: 999px; background: #f37021; color: #fff !important; font-weight: 700; text-decoration: none; }
.apx-gr-link.apx-gr-all { background: #1f3967; border-color: #1f3967; color: #fff !important; }
@media (max-width: 1024px) {
  .apx-rv-top { grid-template-columns: minmax(0, 1fr); }
  .apx-rv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .apx-rv { padding: 32px 0 48px; }
  .apx-rv-wrap { padding: 0 16px; }
  .apx-rv-score b { font-size: 48px; }
  .apx-rv-score p { font-size: 15px; }
  .apx-rv-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .apx-rv-cta { padding: 26px 22px; }
  .apx-rv-cta h2 { font-size: 23px; }
  .apx-rv-btn { width: 100%; justify-content: center; }
}
@media (max-width: 767px) {
  .apx-rv-listing { padding: 14px 16px; }
  .apx-rv-listing em { display: none; }          /* the whole box is the link on phones */
  .apx-rv-listing b::after { content: " ↗"; color: #1f3967; }
}
@media (max-width: 767px) { .elementor-element-8042c96 .apx-gr { padding: 0 12px; } }   /* home reviews: same side margin as the heading */

/* page-title banner: vector redraw (banner.svg) instead of the theme's blocky JPEG, so it's sharp on every screen */
.breadcumb-wrapper { background-image: url(/_static/banner.svg) !important; background-size: cover !important; background-position: center !important; }

/* Instagram section (home + about; built by _tools/instagram_section.py) */
.apx-ig { width: 100%; padding: 70px 0; background: linear-gradient(180deg, #fff 0, #f3f7fc 100%); text-align: left; }
.apx-ig-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.apx-ig-kicker { margin: 0 0 8px !important; text-align: center; font-size: 13px !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #f37021 !important; }
.apx-ig-title { margin: 0 0 30px; text-align: center; font-size: 34px; line-height: 1.2; color: #0d1b3e; }
.apx-ig-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 26px; align-items: stretch; }
.apx-ig-profile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 28px 22px; background: #fff; border: 1px solid #e3eaf4; border-radius: 22px; box-shadow: 0 12px 34px rgba(13, 27, 62, .07); }
.apx-ig-avatar { display: block; padding: 4px; border-radius: 50%; background: conic-gradient(from 200deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); margin-bottom: 10px; }
.apx-ig-avatar img { display: block; width: 88px; height: 88px; border-radius: 50%; border: 3px solid #fff; object-fit: cover; }
.apx-ig-profile p { margin: 0 !important; }
.apx-ig-handle { font-weight: 700; font-size: 17px; color: #0d1b3e !important; }
.apx-ig-name { font-size: 14px !important; color: #33415c !important; line-height: 1.4 !important; }
.apx-ig-followers { margin: 6px 0 8px !important; font-size: 14.5px !important; color: #5b6880 !important; }
.apx-ig-followers b { color: #0d1b3e; }
.apx-ig-bio { font-size: 14px !important; color: #33415c !important; line-height: 1.5 !important; }
.apx-ig-follow { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; margin-top: 18px; border-radius: 999px; font-weight: 700; color: #fff !important; text-decoration: none; background: linear-gradient(90deg, #f58529, #dd2a7b 50%, #8134af); }
.apx-ig-follow svg { width: 18px; height: 18px; fill: currentColor; }
.apx-ig-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.apx-ig-post { position: relative; display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; background: #e9eef5; box-shadow: 0 10px 28px rgba(13, 27, 62, .1); }
.apx-ig-post img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.apx-ig-post:hover img { transform: scale(1.04); }
.apx-ig-type { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; background: rgba(13, 27, 62, .55); display: grid; place-items: center; }
.apx-ig-type svg { width: 16px; height: 16px; fill: #fff; }
.apx-ig-hover { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; background: rgba(13, 27, 62, .55); color: #fff; font-weight: 700; opacity: 0; transition: opacity .2s; }
.apx-ig-hover svg { width: 20px; height: 20px; fill: #fff; }
.apx-ig-post:hover .apx-ig-hover, .apx-ig-post:focus-visible .apx-ig-hover { opacity: 1; }
.apx-ig-date { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 14px 10px; font-size: 13px; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); }
@media (max-width: 1024px) { .apx-ig-grid { grid-template-columns: minmax(0, 1fr); } .apx-ig-profile { flex-direction: column; } }
@media (max-width: 767px) {
  .apx-ig { padding: 44px 0; }
  .apx-ig-wrap { padding: 0 16px; }
  .apx-ig-title { font-size: 25px; margin-bottom: 20px; }
  .apx-ig-posts { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .apx-ig-post { scroll-snap-align: start; }
}
.apx-ig-grid { align-items: center; }
.apx-ig-title { margin-bottom: 10px !important; }
.apx-ig-sub { max-width: 640px; margin: 0 auto 30px !important; text-align: center !important; color: #33415c !important; font-size: 16.5px !important; line-height: 1.65 !important; }
@media (max-width: 767px) { .apx-ig-sub { font-size: 15px !important; margin-bottom: 20px !important; } }

/* slim Instagram strip above the footer (pages without the full section) */
.apx-igs { background: #f3f7fc; border-top: 1px solid #e3eaf4; padding: 18px 0; }
.apx-igs-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 18px 26px; flex-wrap: wrap; }
.apx-igs-me { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: 1 1 260px; min-width: 0; }
.apx-igs-me .apx-ig-avatar { margin: 0; padding: 3px; }
.apx-igs-me .apx-ig-avatar img { width: 52px; height: 52px; border-width: 2px; }
.apx-igs-me b { display: block; color: #0d1b3e; font-size: 16px; }
.apx-igs-me small { display: block; color: #5b6880; font-size: 13.5px; }
.apx-igs-thumbs { display: flex; gap: 10px; }
.apx-igs-thumbs a { display: block; width: 64px; height: 80px; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 12px rgba(13, 27, 62, .12); }
.apx-igs-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.apx-igs-thumbs a:hover img { transform: scale(1.06); }
.apx-igs-follow { width: auto !important; margin: 0 !important; padding: 0 22px; min-height: 44px !important; }
@media (max-width: 767px) {
  .apx-igs { padding: 16px 0; }
  .apx-igs-wrap { padding: 0 16px; gap: 12px; }
  .apx-igs-me { flex: 1 1 100%; }
  .apx-igs-thumbs { flex: 1; }
  .apx-igs-thumbs a { width: 54px; height: 68px; }
}

/* gallery photo viewer (site.js lightbox) */
.apx-lb { position: fixed; inset: 0; z-index: 100000; background: rgba(8, 14, 32, .92); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.apx-lb[hidden] { display: none; }
.apx-lb figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.apx-lb img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); background: #fff; }
.apx-lb figcaption { color: #fff; font-size: 15px; text-align: center; }
.apx-lb button { position: absolute; border: 0; background: rgba(255, 255, 255, .14); color: #fff; width: 50px; height: 50px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 3px; }
.apx-lb button:hover { background: rgba(255, 255, 255, .28); }
.apx-lb button[hidden] { display: none; }
.apx-lb-close { top: 16px; right: 16px; }
.apx-lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.apx-lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.apx-lb-count { position: absolute; top: 26px; left: 0; right: 0; text-align: center; color: #c9d6e8; font-size: 14px; margin: 0; }
@media (max-width: 767px) { .apx-lb { padding: 64px 12px 40px; } .apx-lb-prev, .apx-lb-next { top: auto; bottom: 14px; transform: none; } }
/* the phone tap-size rule for plain links (mobile.css) was flattening these buttons on the home page */
.apx-gr .apx-gr-link { display: inline-flex !important; align-items: center; justify-content: center; padding: 0 16px !important; min-height: 44px; }
.apx-ig a.apx-ig-follow, .apx-igs a.apx-igs-follow { display: inline-flex !important; }

/* heading-to-text spacing (overlap/gap audit 31 Oct 2026): headings sat only 2-6 px above their text */
#apx-booking .bk-title { margin-bottom: 12px !important; }
.apx-rv-cta h2 { margin-bottom: 10px !important; }
.apx-ig-title { margin-bottom: 12px !important; }
