:root {
  --md-navy: #1C46C5;
  --md-ink: #29334C;
  --md-muted: #6B7394;
  --md-line: #E4E9F4;
  --md-bg: #F7FAFF;
  --md-surface: #FFFFFF;
  --md-teal: #2563EB;
  --md-teal-bright: #3B82F6;
  --md-gold: #E67605;
  --md-coral: #F43F7C;
  --md-white: #FFFFFF;
  --md-shadow: 0 8px 24px rgba(28, 70, 197, .08);
  --md-shadow-lg: 0 18px 40px rgba(28, 70, 197, .14);
  --md-radius: 6px;
  --md-font: "Roboto", system-ui, sans-serif;
  --md-display: "Poppins", "Roboto", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--md-font);
  color: var(--md-ink);
  background: var(--md-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
}
a { color: var(--md-navy); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--md-coral); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--md-display);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--md-ink);
  line-height: 1.25;
}
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 9999;
  background: var(--md-navy); color: #fff; padding: .75rem 1rem;
}
.skip-link:focus { left: 0; }

.btn-primary {
  --bs-btn-bg: var(--md-navy);
  --bs-btn-border-color: var(--md-navy);
  --bs-btn-hover-bg: #1638A0;
  --bs-btn-hover-border-color: #1638A0;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: .01em;
  padding: .65rem 1.35rem;
}
.btn-outline-primary {
  --bs-btn-color: var(--md-navy);
  --bs-btn-border-color: var(--md-line);
  --bs-btn-hover-bg: var(--md-navy);
  --bs-btn-hover-border-color: var(--md-navy);
  --bs-btn-hover-color: #fff;
  border-radius: 4px;
  font-weight: 600;
}
.btn-coral {
  background: var(--md-coral);
  border: 0; color: #fff;
  border-radius: 4px; font-weight: 700;
  padding: .55rem 1.15rem;
  font-size: .85rem;
  box-shadow: 0 8px 18px rgba(244, 63, 124, .28);
}
.btn-coral:hover { color: #fff; filter: brightness(1.05); }

.md-topbar {
  background: #EEF3FF; border-bottom: 1px solid var(--md-line);
  font-size: .8rem; font-weight: 500;
}
.md-topbar__row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; min-height: 36px;
}
.md-topbar a { color: var(--md-muted); }
.md-topbar a:hover { color: var(--md-navy); }
.md-topbar__links, .md-topbar__account { display: flex; gap: .9rem; flex-wrap: wrap; }

/* ——— Shell ——— */
.md-shell-header {
  position: sticky; top: 0; z-index: 1030;
  background: #fff;
  border-bottom: 1px solid var(--md-line);
}
.md-shell-header__brandrow {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .85rem 0 .35rem;
}
.md-header-contact { display: flex; gap: 1.5rem; align-items: center; }
.md-header-contact__item {
  display: flex; align-items: center; gap: .65rem; color: inherit !important;
}
.md-header-contact__icon {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: #EEF3FF; color: var(--md-navy); font-size: 1rem;
}
.md-header-contact__item strong { display: block; font-size: .92rem; line-height: 1.2; color: var(--md-ink); }
.md-header-contact__item em { display: block; font-style: normal; font-size: .75rem; color: var(--md-muted); }
.md-shell-header__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem 1.25rem; padding: .35rem 0 .75rem; flex-wrap: wrap;
}
.md-logo {
  display: inline-flex; align-items: center; gap: .15rem;
  text-decoration: none !important; color: var(--md-navy) !important;
  line-height: 0;
}
.md-logo__img {
  display: block;
  width: auto;
  height: 48px;
  max-width: min(210px, 58vw);
  object-fit: contain;
}
.md-logo--footer .md-logo__img { height: 52px; }
.md-logo__word {
  font-family: var(--md-display);
  font-size: clamp(1.65rem, 2.4vw, 2rem);
  font-weight: 600; letter-spacing: -.03em; line-height: 1;
}
.md-logo__word em {
  font-style: italic; color: var(--md-teal); font-weight: 500;
}
.md-nav {
  display: none; align-items: center; gap: .05rem; flex-wrap: wrap;
}
@media (min-width: 992px) { .md-nav { display: flex; } }
.md-nav a {
  color: var(--md-ink); font-weight: 600; font-size: .88rem;
  padding: .55rem .75rem; border-radius: 4px;
}
.md-nav a:hover, .md-nav a.active {
  color: var(--md-navy); background: #EEF3FF;
}
.md-header-actions { display: flex; align-items: center; gap: .65rem; }
.md-header-actions .md-link-quiet {
  color: var(--md-muted); font-weight: 600; font-size: .875rem;
}
.md-mobile-toggle {
  border: 1px solid var(--md-line); background: #fff;
  width: 42px; height: 42px; border-radius: 12px;
}
@media (min-width: 992px) { .md-mobile-toggle { display: none; } }
.md-mobile-nav {
  display: none; border-top: 1px solid var(--md-line); padding: .75rem 0 1rem;
}
.md-mobile-nav.is-open { display: block; }
.md-mobile-nav a {
  display: block; padding: .65rem 0; color: var(--md-ink); font-weight: 600;
  border-bottom: 1px solid var(--md-line);
}

/* ——— Hero (premium full-bleed slider) ——— */
.md-hero {
  position: relative; isolation: isolate;
  min-height: 0;
  display: flex; align-items: flex-end;
  padding: 3.25rem 0 1.75rem;
  color: #fff; overflow: hidden;
}
.md-hero--slider {
  min-height: clamp(380px, 48vh, 520px);
  align-items: center;
  text-align: center;
  padding: 4.5rem 0 3.25rem;
}
@media (max-width: 767.98px) {
  .md-hero--slider { min-height: 0; padding: 2.5rem 0 1.35rem; }
}
.md-hero--compact {
  min-height: 0; padding: 2.75rem 0 2rem; align-items: center;
}
.md-hero__slides {
  position: absolute; inset: 0; z-index: -3;
}
.md-hero__slide {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(180deg, rgba(28,70,197,.78) 0%, rgba(37,99,235,.72) 55%, rgba(28,70,197,.82) 100%),
    var(--md-slide-image);
  background-size: cover;
  background-position: center 30%;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s ease, transform 7s ease-out;
  will-change: opacity, transform;
}
.md-hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
.md-hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(28,70,197,.78) 0%, rgba(37,99,235,.7) 100%),
    url("https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=2000&q=80") center/cover no-repeat;
  transform: scale(1.03);
  animation: mdKen 18s ease-in-out infinite alternate;
}
.md-hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(28,70,197,.15) 0%, rgba(15,31,90,.25) 100%);
  pointer-events: none;
}
.md-hero__glow {
  position: absolute; inset: auto -10% -20% 40%; z-index: -1; height: 55%;
  background: radial-gradient(ellipse at center, rgba(230,118,5,.18), transparent 65%);
  pointer-events: none; filter: blur(8px);
}
.md-hero__content {
  position: relative; z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
}
.md-hero__brand {
  font-family: var(--md-display);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 700; letter-spacing: -.02em; line-height: 1.15;
  color: #fff; margin: 0 0 .55rem;
  text-shadow: 0 8px 28px rgba(0,0,0,.2);
  animation: mdRise .75s ease both;
}
.md-hero__brand em {
  font-style: normal; color: #fff;
}
.md-hero__title {
  font-family: var(--md-font);
  font-size: .98rem;
  font-weight: 400; color: rgba(255,255,255,.92);
  max-width: 36rem; margin: 0 auto 1.4rem; line-height: 1.5;
  min-height: 1.4em;
  animation: mdRise .75s ease .06s both;
}
.md-hero__title-line {
  display: inline-block;
  animation: mdTitleSwap .55s ease;
}
.md-hero--compact .md-hero__brand { font-size: clamp(2rem, 4vw, 3rem); }
.md-hero--compact .md-hero__title { margin-bottom: 1.25rem; }

.md-search-stack { animation: mdRise .75s ease .1s both; }
.md-search-tabs {
  display: flex; flex-wrap: wrap; gap: 0; margin: 0;
  justify-content: flex-start;
}
.md-search-tab {
  border: 0;
  background: rgba(15, 31, 90, .45);
  color: #fff;
  padding: .55rem 1.05rem; border-radius: 4px 4px 0 0;
  font-weight: 600; font-size: .8rem; cursor: pointer;
  transition: background .2s ease;
}
.md-search-tab.active, .md-search-tab:hover {
  background: #0F1F5A; color: #fff;
}

.md-searchbox {
  background: #0F1F5A;
  border-radius: 0 4px 4px 4px;
  padding: .55rem;
  box-shadow: 0 18px 40px rgba(15, 31, 90, .35);
  animation: none;
  border: 0;
}
.md-searchbox .form-control,
.md-searchbox .form-select {
  border: 0;
  border-radius: 3px;
  min-height: 48px;
  box-shadow: none;
  font-weight: 500;
  background: #fff;
  color: var(--md-ink);
}
.md-searchbox .form-control:focus,
.md-searchbox .form-select:focus {
  border-color: transparent;
  box-shadow: 0 0 0 2px rgba(230,118,5,.35);
  background: #fff;
}
.md-searchbox .btn-search {
  min-height: 48px; width: 100%;
  background: var(--md-gold);
  border: 0; color: #fff;
  font-weight: 700; border-radius: 3px;
  letter-spacing: .02em;
  box-shadow: none;
  transition: filter .2s ease;
}
.md-searchbox .btn-search:hover {
  color: #fff; filter: brightness(1.08);
  transform: none;
  box-shadow: none;
}
.md-searchbox__extra .form-check-label { color: rgba(255,255,255,.9) !important; }
.md-searchbox__extra .form-select { min-height: 38px; }

.md-hero__controls {
  display: flex; align-items: center; gap: 1rem;
  margin-top: .85rem;
  animation: mdRise .75s ease .2s both;
}
.md-hero__dots {
  display: flex; align-items: center; gap: .45rem;
}
.md-hero__dot {
  width: 9px; height: 9px; border-radius: 999px;
  border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.35);
  transition: width .35s ease, background .25s ease;
}
.md-hero__dot.is-active {
  width: 28px;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,.18);
}
.md-hero__progress {
  flex: 1; max-width: 160px; height: 2px;
  background: rgba(255,255,255,.22);
  border-radius: 999px; overflow: hidden;
}
.md-hero__progress-bar {
  display: block; height: 100%; width: 0;
  background: var(--md-gold);
  border-radius: inherit;
  transition: width .05s linear;
}

@keyframes mdRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes mdKen {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}
@keyframes mdTitleSwap {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

[x-cloak] { display: none !important; }

/* ——— Sections ——— */
.md-section { padding: 4.25rem 0; background: var(--md-surface); position: relative; }
.md-section.alt {
  background: var(--md-bg);
}
.md-section__head { margin-bottom: 2rem; }
.md-section__head.text-center { text-align: center; }
.md-section__eyebrow {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--md-navy); margin-bottom: .65rem;
}
.md-section__head h2 {
  font-size: clamp(1.55rem, 3vw, 2rem);
  margin: 0 0 .5rem;
}
.md-section__head p {
  color: var(--md-muted); margin: 0; max-width: 34rem;
  font-size: 1.05rem;
}
.md-section__head.text-center p { margin-inline: auto; }

.md-page-head {
  background: var(--md-navy); color: #fff; padding: 2.5rem 0 2rem;
  position: relative; overflow: hidden;
}
.md-page-head::after {
  content: ""; position: absolute; right: -10%; top: -40%;
  width: 40%; height: 180%;
  background: radial-gradient(circle, rgba(20,184,166,.25), transparent 65%);
  pointer-events: none;
}
.md-page-head h1 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 0 0 .35rem; }
.md-page-head .text-muted { color: rgba(255,255,255,.65) !important; }
.md-page-head .breadcrumb-item a { color: rgba(255,255,255,.8); }
.md-page-head .breadcrumb-item.active { color: rgba(255,255,255,.55); }
.md-page-head .form-select, .md-page-head .form-label { color: var(--md-ink); }
.md-page-head .form-label { color: rgba(255,255,255,.75) !important; }
.md-page-head .form-check-label { color: rgba(255,255,255,.85); }

.md-filter-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.md-chip {
  display: inline-flex; align-items: center;
  padding: .4rem .85rem; border-radius: 999px; font-size: .8rem; font-weight: 600;
  background: #EEF3FF; color: var(--md-navy);
}
.md-chip:hover { background: var(--md-teal); color: #fff; }
.md-results-meta { color: var(--md-muted); font-size: .9rem; font-weight: 500; }

/* Categories — Medz-style icon tiles */
.md-cat-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem;
}
@media (min-width: 768px) { .md-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .md-cat-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.1rem; } }
.md-cat-card {
  position: relative; overflow: hidden;
  color: var(--md-ink); background: #fff;
  border: 1px solid var(--md-line);
  border-radius: 6px; padding: 1.45rem 1rem 1.2rem;
  text-decoration: none !important; min-height: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  box-shadow: var(--md-shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.md-cat-card__icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: #EEF3FF; color: var(--md-navy);
  display: grid; place-items: center; margin-bottom: .85rem;
}
.md-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--md-shadow-lg);
  color: var(--md-navy);
  border-color: rgba(28, 70, 197, .25);
}
.md-cat-card strong {
  display: block;
  font-family: var(--md-display); font-size: .98rem; font-weight: 600;
  letter-spacing: 0; line-height: 1.25; color: inherit;
}
.md-cat-card__count {
  display: block; margin-top: .2rem; font-size: .8rem; font-weight: 500; color: var(--md-muted);
}
.md-dept-strip__label {
  text-align: center; font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--md-muted);
  margin-bottom: .75rem;
}
.md-chip--accent {
  background: var(--md-navy) !important; color: #fff !important; border-color: var(--md-navy) !important;
}

/* Listing cards */
.listing-card {
  background: var(--md-surface);
  border: 1px solid var(--md-line);
  border-radius: 6px;
  overflow: hidden; height: 100%;
  display: flex; flex-direction: column;
  box-shadow: var(--md-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--md-shadow-lg);
}
.listing-card__media {
  position: relative; aspect-ratio: 16/11;
  background: linear-gradient(135deg, #1C46C5, #2563EB);
  overflow: hidden;
}
.listing-card__placeholder {
  width: 100%; height: 100%; min-height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .55rem; color: rgba(255,255,255,.92); font-weight: 600; font-size: .92rem;
  background: linear-gradient(145deg, #1C46C5, #1638A0);
}
.listing-card__placeholder-icon { color: rgba(255,255,255,.55); line-height: 0; }
.listing-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.listing-card:hover .listing-card__media img { transform: scale(1.05); }
.listing-card__body { padding: 1rem 1.05rem 1rem; display: flex; flex-direction: column; flex: 1; }
.listing-card__cat {
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--md-navy); margin-bottom: .3rem;
}
.listing-card__meta { color: var(--md-muted); font-size: .84rem; margin: 0; font-weight: 500; }
.listing-card__title {
  font-family: var(--md-display); font-size: 1.05rem; font-weight: 600; margin: 0 0 .35rem;
  display: flex; align-items: center; gap: .35rem; flex-wrap: wrap;
}
.listing-card__title a { color: var(--md-ink); }
.listing-card__title a:hover { color: var(--md-navy); }
.listing-card__verified {
  display: inline-grid; place-items: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: #22c55e; color: #fff; font-size: .7rem; font-weight: 800; line-height: 1;
}
.listing-card__actions {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--md-line); margin-top: auto;
}
.listing-card__actions a {
  text-align: center; padding: .7rem .5rem;
  font-weight: 600; font-size: .85rem; color: var(--md-navy);
}
.listing-card__actions a + a { border-left: 1px solid var(--md-line); }
.listing-card__actions a:hover { background: #EEF3FF; color: var(--md-navy); }
.listing-card__actions a:only-child { grid-column: 1 / -1; }
.listing-card--row { flex-direction: row; align-items: stretch; }
.listing-card--row .listing-card__media {
  width: 132px; flex-shrink: 0; aspect-ratio: auto; min-height: 118px;
}
.listing-card--row .listing-card__actions {
  width: 108px; flex-shrink: 0; grid-template-columns: 1fr;
  border-top: 0; border-left: 1px solid var(--md-line);
  align-content: stretch;
}
.listing-card--row .listing-card__actions a { display: flex; align-items: center; justify-content: center; }
.listing-card--row .listing-card__actions a + a { border-left: 0; border-top: 1px solid var(--md-line); }
.badge-demo { background: #FEF3C7; color: #92400E; font-weight: 700; }
.badge-featured {
  background: var(--md-gold);
  color: #fff; font-weight: 700;
}
.badge-sponsored { background: var(--md-coral); color: #fff; font-weight: 700; }
.badge-verified { background: var(--md-navy); color: #fff; font-weight: 700; }

.doctor-card {
  background: var(--md-surface);
  border: 1px solid var(--md-line);
  border-radius: 6px; overflow: hidden; height: 100%;
  box-shadow: var(--md-shadow);
  text-decoration: none !important; color: inherit;
  display: block; transition: transform .25s ease, box-shadow .25s ease;
}
.doctor-card:hover {
  transform: translateY(-4px); box-shadow: var(--md-shadow-lg); color: inherit;
}
.doctor-card__img {
  position: relative;
  aspect-ratio: 1; background: linear-gradient(145deg, #1C46C5, #1638A0);
  display: grid; place-items: center;
  font-family: var(--md-display); font-size: 2.5rem; font-weight: 600; color: #fff;
  overflow: hidden;
}
.doctor-card__img img { width: 100%; height: 100%; object-fit: cover; }
.doctor-card__tag {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(28, 70, 197, .92); color: #fff;
  font-size: .72rem; font-weight: 600; padding: .4rem .6rem; text-align: center;
}
.doctor-card__body { padding: 1rem 1.05rem 1.15rem; }
.doctor-card__body h3 {
  font-family: var(--md-display); font-size: 1.05rem; margin: 0 0 .3rem;
}
.doctor-card__body p { margin: 0; color: var(--md-muted); font-size: .86rem; }

.city-pill {
  display: inline-flex; align-items: center;
  padding: .7rem 1.2rem; border-radius: 999px;
  background: var(--md-surface); border: 1px solid var(--md-line);
  color: var(--md-ink); font-weight: 600;
  box-shadow: var(--md-shadow);
  transition: all .25s ease;
}
.city-pill:hover {
  background: var(--md-navy); color: #fff; border-color: var(--md-navy);
  transform: translateY(-2px);
}

.testimonial {
  background: var(--md-surface);
  border: 1px solid var(--md-line);
  border-radius: 22px; padding: 1.75rem; height: 100%;
  box-shadow: var(--md-shadow);
  position: relative;
}
.testimonial::before {
  content: "“";
  font-family: var(--md-display); font-size: 4rem; line-height: 1;
  color: rgba(15,118,110,.2); position: absolute; top: .5rem; left: 1rem;
}
.testimonial .stars { color: var(--md-gold); letter-spacing: .08em; }

.membership-card {
  background: var(--md-surface); border: 1px solid var(--md-line);
  border-radius: 22px; padding: 1.75rem; height: 100%;
  box-shadow: var(--md-shadow); position: relative;
}
.membership-card.is-featured {
  border-color: var(--md-navy);
  background: linear-gradient(180deg, #fff 0%, #F0F7F6 100%);
  box-shadow: var(--md-shadow-lg);
}
.membership-card .price {
  font-family: var(--md-display); font-size: 2.4rem; font-weight: 600; color: var(--md-navy);
}
.membership-card .plan-tag {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--md-navy); color: #fff; font-size: .7rem; font-weight: 700;
  padding: .3rem .65rem; border-radius: 999px;
}

.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-grid a {
  display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 1;
  background: var(--md-bg);
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }

.md-listing-gallery {
  background: #fff; border: 1px solid var(--md-line); border-radius: 22px;
  padding: .85rem; box-shadow: var(--md-shadow);
}
.md-listing-gallery__main {
  display: block; border-radius: 16px; overflow: hidden;
  aspect-ratio: 16 / 9; background: var(--md-bg);
}
.md-listing-gallery__main img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.md-listing-gallery__thumbs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; margin-top: .7rem;
}
@media (min-width: 768px) {
  .md-listing-gallery__thumbs { grid-template-columns: repeat(5, 1fr); }
}
.md-listing-gallery__thumbs a {
  display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 1;
  background: var(--md-bg); border: 1px solid var(--md-line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.md-listing-gallery__thumbs a:hover {
  transform: translateY(-2px); box-shadow: var(--md-shadow);
}
.md-listing-gallery__thumbs img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.md-medicine-banners {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .md-medicine-banners { grid-template-columns: repeat(3, 1fr); }
}
.md-medicine-banner {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 200px; padding: 1.5rem; border-radius: 6px; overflow: hidden;
  text-decoration: none !important; color: #fff !important;
  box-shadow: var(--md-shadow); transition: transform .25s ease, box-shadow .25s ease;
}
.md-medicine-banner:hover {
  transform: translateY(-4px); box-shadow: var(--md-shadow-lg); color: #fff !important;
}
.md-medicine-banner::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(7,19,31,.15), rgba(7,19,31,.72));
}
.md-medicine-banner > * { position: relative; z-index: 1; }
.md-medicine-banner strong {
  font-family: var(--md-display); font-size: 2rem; font-weight: 600; line-height: 1.1;
  margin: .25rem 0 .5rem;
}
.md-medicine-banner__label {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  opacity: .85;
}
.md-medicine-banner__cta { font-size: .88rem; font-weight: 600; opacity: .9; }
.md-medicine-banner--allo {
  background:
    radial-gradient(circle at 85% 20%, rgba(59,130,246,.45), transparent 45%),
    linear-gradient(145deg, #1C46C5 0%, #1638A0 100%);
}
.md-medicine-banner--ayur {
  background:
    radial-gradient(circle at 15% 80%, rgba(196,163,90,.4), transparent 50%),
    linear-gradient(145deg, #1B4332 0%, #0B1F14 100%);
}
.md-medicine-banner--homeo {
  background:
    radial-gradient(circle at 70% 70%, rgba(196,92,74,.35), transparent 45%),
    linear-gradient(145deg, #3D2C4A 0%, #1A1224 100%);
}

.md-page-hero {
  background: linear-gradient(135deg, var(--md-navy) 0%, #1638A0 100%);
  color: #fff;
}
.md-page-hero--compact { min-height: auto; }
.md-form-block {
  padding-bottom: 1.75rem; margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--md-line);
}
.md-form-block:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.form-wizard--premium .form-control-lg,
.form-wizard--premium .form-select-lg { border-radius: 12px; }
.md-benefit {
  background: #fff; border: 1px solid var(--md-line); border-radius: 6px;
  padding: 1.15rem; height: 100%; box-shadow: var(--md-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.md-benefit:hover { transform: translateY(-3px); box-shadow: var(--md-shadow-lg); }
.md-benefit__icon {
  width: 52px; height: 52px; margin: 0 auto .85rem;
  border-radius: 16px; display: grid; place-items: center;
  background: #EEF3FF;
  color: var(--md-navy);
}
.md-benefit strong {
  display: block; font-family: var(--md-display); font-size: 1.35rem;
  color: var(--md-navy); margin-bottom: .35rem;
}

.md-quick-tools { padding: .35rem 0 0; order: 25; }
.md-quick-tools__rail {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem;
}
@media (min-width: 768px) {
  .md-quick-tools__rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .md-quick-tools__rail { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .85rem; }
}
.md-tool {
  display: flex; align-items: center; gap: .7rem;
  padding: .85rem .9rem; border-radius: 6px;
  background: #fff; border: 1px solid var(--md-line);
  text-decoration: none !important; color: inherit !important;
  box-shadow: var(--md-shadow);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  min-height: 74px;
}
a.md-tool:hover {
  transform: translateY(-2px);
  border-color: rgba(28,70,197,.3);
  box-shadow: var(--md-shadow);
}
.md-tool--static { cursor: default; background: #FFF8F1; border-color: #F3D8B8; }
.md-tool__icon {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: #EEF3FF; color: var(--md-navy);
}
.md-tool__icon--alert { background: rgba(196,92,74,.12); color: var(--md-coral); }
.md-tool__icon--cta { background: rgba(7,19,31,.08); color: var(--md-navy); }
.md-tool__icon--warn { background: rgba(196,163,90,.18); color: #8A6A20; }
.md-tool__text { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.md-tool__text strong {
  font-size: .9rem; font-weight: 700; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.md-tool__text em {
  font-style: normal; font-size: .72rem; color: var(--md-muted); font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.md-stats-row { margin-top: .5rem; }
.md-stats-band {
  background: var(--md-navy); color: #fff; padding: 2.4rem 0;
}
.md-stat {
  background: #fff; border: 1px solid var(--md-line); border-radius: 6px;
  padding: 1.25rem 1rem; box-shadow: var(--md-shadow); height: 100%;
}
.md-stat strong {
  display: block; font-family: var(--md-display); font-size: 2rem;
  color: var(--md-navy); line-height: 1.1;
}
.md-stat span { font-size: .85rem; color: var(--md-muted); font-weight: 600; }
.md-stats-band .md-stat {
  background: transparent; border: 0; box-shadow: none; padding: .5rem;
}
.md-stats-band .md-stat strong { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.md-stats-band .md-stat span {
  display: block; color: rgba(255,255,255,.78); margin-bottom: .25rem; font-weight: 500;
}

.ad-slot {
  border-radius: 16px; overflow: hidden; background: #E8EEF5;
  border: 1px dashed #B8C4D4; text-align: center;
}
.ad-slot .ad-label {
  font-size: .65rem; color: #789; letter-spacing: .1em; text-transform: uppercase; padding: .3rem;
}

.cta-band {
  background: var(--md-navy);
  color: #fff; border-radius: 8px; padding: 2.5rem;
  position: relative; overflow: hidden;
  box-shadow: var(--md-shadow-lg);
}
.cta-band::after {
  content: ""; position: absolute; right: -20%; bottom: -40%;
  width: 55%; height: 140%;
  background: radial-gradient(circle, rgba(59,130,246,.35), transparent 65%);
}
.cta-band h3 {
  font-family: var(--md-display); font-size: 2rem; color: #fff; position: relative; z-index: 1;
}
.cta-band p, .cta-band .btn { position: relative; z-index: 1; }

.md-profile-hero {
  position: relative; min-height: 320px; color: #fff; overflow: hidden;
  background: var(--md-navy);
}
.md-profile-hero__media {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: .4;
}
.md-profile-hero__inner { position: relative; padding: 3rem 0 2.75rem; }
.md-profile-hero .breadcrumb-item a { color: #fff; }
.md-profile-hero .breadcrumb-item.active { color: rgba(255,255,255,.65); }
.md-profile-panel {
  background: #fff; border: 1px solid var(--md-line); border-radius: 6px;
  padding: 1.5rem; box-shadow: var(--md-shadow); margin-bottom: 1.15rem;
}
.md-profile-panel h2 {
  font-family: var(--md-display); font-size: 1.45rem; margin-bottom: .85rem;
}
.md-hours-list { list-style: none; padding: 0; margin: 0; }
.md-hours-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .45rem 0; border-bottom: 1px solid var(--md-line); font-size: .92rem;
}
.md-hours-list li:last-child { border-bottom: 0; }
.md-open-now {
  display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(255,255,255,.18); color: #fff; font-size: .78rem; font-weight: 700;
  padding: .35rem .75rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.25);
}
.md-stars {
  display: inline-flex; align-items: center; gap: .12rem;
  color: #C4A35A; font-size: .9rem; line-height: 1;
}
.md-stars--lg { font-size: 1.15rem; }
.md-star { color: rgba(255,255,255,.35); }
.md-profile-hero .md-star { color: rgba(255,255,255,.35); }
.md-profile-hero .md-star.is-on,
.md-profile-hero .md-star.is-half,
.md-stars .md-star.is-on,
.md-stars .md-star.is-half { color: #C4A35A; }
.listing-card .md-star { color: #D8E0EA; }
.listing-card .md-star.is-on,
.listing-card .md-star.is-half,
.md-profile-panel .md-star { color: #D8E0EA; }
.md-profile-panel .md-star.is-on,
.md-profile-panel .md-star.is-half { color: #C4A35A; }
.md-stars__count {
  margin-left: .4rem; font-size: .8rem; font-weight: 600;
  color: inherit; opacity: .85;
}
.listing-card .md-stars__count { color: var(--md-muted); }

.md-map-embed {
  position: relative; width: 100%; aspect-ratio: 4/3; background: #E2E8F0;
}
.md-map-embed iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}

.md-sticky-actions {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040;
  display: none; gap: .5rem; padding: .7rem .9rem;
  background: rgba(255,255,255,.94); border-top: 1px solid var(--md-line);
  backdrop-filter: blur(12px);
}
@media (max-width: 991.98px) {
  .md-sticky-actions { display: flex; }
  body.has-sticky-actions { padding-bottom: 76px; }
}

.form-wizard {
  background: #fff; border: 1px solid var(--md-line); border-radius: 22px;
  box-shadow: var(--md-shadow); overflow: hidden;
}
.form-wizard__steps {
  display: flex; border-bottom: 1px solid var(--md-line); background: #F8FAFC;
}
.form-wizard__step {
  flex: 1; text-align: center; padding: .95rem .5rem; font-size: .8rem; font-weight: 700;
  color: var(--md-muted); border-bottom: 2px solid transparent;
}
.form-wizard__step.is-active {
  color: var(--md-navy); border-bottom-color: var(--md-teal); background: #fff;
}
.form-wizard__body { padding: 1.75rem; }

.empty-state {
  text-align: center; padding: 3.5rem 1.5rem;
  background: #fff; border: 1px dashed var(--md-line); border-radius: 22px;
}
.empty-state h2 { font-size: 1.6rem; }

.disclaimer-bar {
  background: #F7F1E4; border-top: 1px solid #E8DCC0; font-size: .875rem; color: #5C5240;
}

/* ——— Breaking ticker ——— */
.md-ticker { background: #1638A0; color: #fff; }
.md-ticker .container { display: flex; align-items: stretch; gap: 0; padding-left: 0; }
.md-ticker__label {
  flex-shrink: 0; display: flex; align-items: center; gap: 8px;
  background: var(--md-gold); color: #fff;
  font-weight: 800; font-size: 13.5px; letter-spacing: .04em; text-transform: uppercase;
  padding: 10px 22px 10px 16px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}
.md-ticker__pulse {
  width: 9px; height: 9px; border-radius: 50%; background: var(--md-navy);
  box-shadow: 0 0 0 0 rgba(7,19,31,.45); animation: mdTickerPulse 1.6s infinite;
}
@keyframes mdTickerPulse {
  70% { box-shadow: 0 0 0 9px rgba(7,19,31,0); }
  100% { box-shadow: 0 0 0 0 rgba(7,19,31,0); }
}
.md-ticker__viewport {
  overflow: hidden; flex: 1; display: flex; align-items: center;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.md-ticker__track {
  display: inline-flex; white-space: nowrap;
  animation: mdTicker var(--ticker-duration, 40s) linear infinite;
  padding-left: 20px;
}
.md-ticker:hover .md-ticker__track { animation-play-state: paused; }
.md-ticker__item {
  display: inline-flex; align-items: center; color: #fff;
  font-size: 15px; font-weight: 500; padding: 0 28px 0 0;
}
.md-ticker__item::before { content: '✦'; color: var(--md-gold); margin-right: 14px; font-size: 12px; }
a.md-ticker__item:hover { color: var(--md-gold); }
@keyframes mdTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.md-footer {
  background: var(--md-navy); color: rgba(255,253,248,.78); margin-top: 0; padding: 0;
  position: relative;
}
.md-footer::before {
  content: ''; display: block; height: 4px;
  background: linear-gradient(90deg, var(--md-navy), var(--md-gold), var(--md-coral), var(--md-navy));
}
.md-footer__main {
  padding: 3.6rem 0 2.2rem;
  background:
    radial-gradient(circle at 90% 10%, rgba(37,99,235,.28), transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(230,118,5,.12), transparent 35%);
}
.md-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 2.1rem;
}
.md-footer__brand { margin-bottom: 1rem; }
.md-footer__brand img { width: auto; height: auto; max-width: 220px; max-height: 56px; }
.md-footer__col p { margin: 0; line-height: 1.7; }
.md-footer__col h3 {
  font-family: var(--md-display); color: #fff; font-size: 1.05rem;
  margin: 0 0 1.05rem; padding-bottom: .55rem; position: relative;
}
.md-footer__col h3::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--md-gold);
}
.md-footer__col ul { list-style: none; margin: 0; padding: 0; }
.md-footer__col li { margin-bottom: .55rem; }
.md-footer__col a {
  color: rgba(255,253,248,.78); font-size: .95rem;
  display: inline-flex; align-items: center; gap: .45rem; transition: color .2s, transform .2s;
}
.md-footer__col a::before { content: '›'; color: var(--md-gold); font-weight: 700; }
.md-footer__col a:hover { color: #fff; transform: translateX(3px); }
.md-footer__contact li { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }
.md-footer__contact a::before { content: none; }
.md-footer__contact span[aria-hidden="true"] { color: var(--md-gold); }
.md-socials { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.1rem; }
.md-socials a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff;
  border: 1px solid rgba(255,255,255,.18); transition: all .25s ease;
}
.md-socials a::before { content: none; }
.md-socials a:hover { background: var(--md-gold); color: var(--md-navy); transform: translateY(-3px); }
.md-footer__legal {
  border-top: 1px solid rgba(196,163,90,.16); padding: .85rem 0;
}
.md-footer__legal ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0;
}
.md-footer__legal li + li::before { content: '•'; color: var(--md-gold); margin: 0 .75rem; }
.md-footer__legal a { color: rgba(255,253,248,.78); font-size: .9rem; }
.md-footer__legal a:hover { color: #fff; }
.md-footer__bottom {
  border-top: 1px solid rgba(196,163,90,.16); padding: 1.15rem 0; font-size: .9rem;
}
.md-footer__bottom .container {
  display: flex; justify-content: space-between; gap: .9rem; flex-wrap: wrap; align-items: center;
}
.md-footer__credit a {
  color: inherit; text-decoration: none; border-bottom: 1px dashed rgba(196,163,90,.45);
}
.md-footer__credit a:hover { color: #fff; }
@media (max-width: 1180px) {
  .md-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .md-footer__col--about { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .md-footer__grid { grid-template-columns: 1fr 1fr; }
  .md-footer__col--about { grid-column: 1 / -1; }
}

.md-chat {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 1080;
  width: min(360px, calc(100vw - 1.5rem));
}
@media (max-width: 991.98px) { .md-chat { bottom: 4.75rem; } }
.md-chat__toggle {
  position: absolute; right: 0; bottom: 0; width: 60px; height: 60px; border: 0; border-radius: 50%;
  background: var(--md-navy); color: #fff; box-shadow: var(--md-shadow-lg); font-size: 1.3rem;
}
.md-chat__panel {
  display: none; margin-bottom: 4.5rem; background: #fff; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--md-line); box-shadow: var(--md-shadow-lg); height: 420px; flex-direction: column;
}
.md-chat.is-open .md-chat__panel { display: flex; }
.md-chat__head { background: var(--md-navy); color: #fff; padding: .95rem 1.1rem; font-weight: 700; }
.md-chat__body { flex: 1; overflow: auto; padding: 1rem; background: #F3F6FA; }
.md-chat__msg {
  max-width: 90%; padding: .7rem .85rem; border-radius: 14px; margin-bottom: .65rem; font-size: .92rem;
}
.md-chat__msg.bot { background: #fff; border: 1px solid var(--md-line); }
.md-chat__msg.user { background: var(--md-navy); color: #fff; margin-left: auto; }
.md-chat__suggestions a {
  display: block; font-size: .82rem; padding: .45rem .65rem; border-radius: .7rem;
  background: #fff; border: 1px solid var(--md-line); margin-top: .35rem; color: var(--md-ink);
}
.md-chat__form { display: flex; gap: .4rem; padding: .7rem; border-top: 1px solid var(--md-line); }
.md-chat__form input {
  flex: 1; border-radius: 999px; border: 1px solid var(--md-line); padding: .55rem .9rem;
}

.push-toast {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 1070;
  background: #fff; border: 1px solid var(--md-line); border-radius: 16px;
  padding: .9rem 1rem; box-shadow: var(--md-shadow); max-width: 320px;
}
@media (max-width: 991.98px) { .push-toast { bottom: 4.75rem; } }

.md-popup {
  position: fixed; inset: 0; z-index: 1090; display: grid; place-items: center; padding: 1rem;
}
.md-popup[hidden] { display: none !important; }
.md-popup__backdrop { position: absolute; inset: 0; background: rgba(7, 19, 31, .65); }
.md-popup__dialog {
  position: relative; z-index: 1; width: min(480px, 100%); background: #fff;
  border-radius: 22px; overflow: hidden; box-shadow: 0 30px 80px rgba(7,19,31,.35);
  animation: mdPopupIn .3s ease;
}
.md-popup__close {
  position: absolute; top: .55rem; right: .65rem; z-index: 2;
  border: 0; background: rgba(255,255,255,.95); width: 36px; height: 36px;
  border-radius: 50%; font-size: 1.35rem; line-height: 1; cursor: pointer;
  box-shadow: 0 4px 14px rgba(7,19,31,.16);
}
.md-popup__image { width: 100%; max-height: 180px; object-fit: cover; display: block; }
.md-popup__body { padding: 1.25rem 1.4rem 1.5rem; }
.md-popup--image .md-popup__dialog {
  width: min(560px, 94vw); background: transparent; box-shadow: none; overflow: visible;
}
.md-popup--image .md-popup__dialog:not(.md-popup__dialog--poster) {
  background: #fff; overflow: hidden; box-shadow: 0 30px 80px rgba(7,19,31,.35);
}
.md-popup__poster, .md-popup__poster img {
  display: block; width: 100%; height: auto;
  max-height: calc(100dvh - 48px); object-fit: contain; border-radius: 18px;
}
.md-popup--image .md-popup__dialog:not(.md-popup__dialog--poster) .md-popup__poster,
.md-popup--image .md-popup__dialog:not(.md-popup__dialog--poster) .md-popup__poster img {
  border-radius: 18px 18px 0 0; max-height: min(70vh, 520px);
}
.md-popup__caption { padding: 1.1rem 1.3rem 1.35rem; background: #fff; }
@keyframes mdPopupIn {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to { opacity: 1; transform: none; }
}

/* ——— Back to top ——— */
.md-back-top {
  position: fixed;
  right: 1.15rem;
  bottom: 5.4rem;
  z-index: 1070;
  width: 46px; height: 46px;
  border: 0; border-radius: 50%;
  background: var(--md-navy);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(7, 19, 31, .28);
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background .2s ease;
  cursor: pointer;
}
.md-back-top.is-visible {
  opacity: 1; visibility: visible; transform: none;
}
.md-back-top:hover { background: var(--md-teal); color: #fff; }
.md-back-top svg { width: 20px; height: 20px; display: block; }
@media (max-width: 991.98px) {
  .md-back-top { bottom: 9.1rem; right: 1rem; }
}

/* Anti-spam honeypot — visually hidden, still in tab order off */
.md-hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Homepage section stack (admin reorder via CSS order) */
.md-home-stack { display: flex; flex-direction: column; }

/* Medicine banner art overlays */
.md-medicine-banner__art {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .55;
  background-size: cover; background-position: center;
  mix-blend-mode: soft-light;
}
.md-medicine-banner--allo .md-medicine-banner__art {
  background-image: url("https://images.unsplash.com/photo-1579684385127-1ef15d508118?auto=format&fit=crop&w=900&q=70");
}
.md-medicine-banner--ayur .md-medicine-banner__art {
  background-image: url("https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?auto=format&fit=crop&w=900&q=70");
}
.md-medicine-banner--homeo .md-medicine-banner__art {
  background-image: url("https://images.unsplash.com/photo-1584308666744-24d5c474f2ae?auto=format&fit=crop&w=900&q=70");
}
.md-medicine-banner {
  min-height: 230px;
  border: 1px solid rgba(255,255,255,.08);
}
.md-medicine-banner::after {
  content: ""; position: absolute; right: -10%; top: -20%; width: 55%; height: 70%;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%);
  pointer-events: none;
}

/* Event cards */
.md-event-card {
  border-radius: 18px; overflow: hidden; background: #fff;
  border: 1px solid var(--md-line); box-shadow: var(--md-shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.md-event-card:hover { transform: translateY(-3px); box-shadow: var(--md-shadow-lg); }
.md-event-card__media {
  aspect-ratio: 16/9; background: linear-gradient(135deg, #0A4D68, #07131F);
  display: grid; place-items: center; overflow: hidden;
}
.md-event-card__media img { width: 100%; height: 100%; object-fit: cover; }
.md-event-card__placeholder {
  color: rgba(255,255,255,.85); font-family: var(--md-display); font-size: 1.25rem;
}

.city-pill--accent {
  background: var(--md-navy); color: #fff !important; border-color: var(--md-navy);
}

/* Social share */
.md-social-share { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .75rem; }
.md-social-share__label {
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--md-muted);
}
.md-social-share__links { display: flex; flex-wrap: wrap; gap: .4rem; }
.md-social-share__links a,
.md-social-share__copy {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.1rem; height: 2.1rem; padding: 0 .55rem;
  border-radius: 999px; border: 1px solid var(--md-line);
  background: #fff; color: var(--md-ink); font-size: .75rem; font-weight: 700;
  text-decoration: none !important; cursor: pointer;
}
.md-social-share__links a:hover,
.md-social-share__copy:hover { border-color: var(--md-teal); color: var(--md-teal); }
.md-social-share--on-dark .md-social-share__label { color: rgba(255,255,255,.7); }
.md-social-share--on-dark .md-social-share__links a,
.md-social-share--on-dark .md-social-share__copy {
  background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #fff;
}

/* Category listing hero */
.md-category-hero {
  position: relative; color: #fff; padding: 2.75rem 0 2rem; overflow: hidden;
  background:
    linear-gradient(115deg, rgba(7,19,31,.92) 0%, rgba(10,61,61,.78) 55%, rgba(15,118,110,.55) 100%),
    url("https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?auto=format&fit=crop&w=1800&q=80") center/cover;
}
.md-category-hero__veil {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 90% 20%, rgba(94,234,212,.18), transparent 60%);
  pointer-events: none;
}
.md-category-hero h1 {
  font-family: var(--md-display); font-weight: 600; letter-spacing: -.03em;
  font-size: clamp(1.75rem, 3.5vw, 2.6rem); margin-bottom: .35rem;
}
.md-category-hero .breadcrumb-item a { color: #fff; }
.md-category-hero .breadcrumb-item.active { color: rgba(255,255,255,.65); }
.md-category-hero__sub { color: rgba(255,255,255,.78); margin-bottom: 1.25rem; }
.md-category-filters { position: relative; z-index: 1; }

/* Listing profile polish */
.md-profile-panel {
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(7,19,31,.06);
}
.md-video-embed { background: #07131F; margin-top: .5rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
