:root {
  --md-navy: #001f3b;
  --md-navy-2: #00385f;
  --md-gold: #16c7d4;
  --md-cream: #f3fbfd;
  --md-paper: #ffffff;
  --md-text: #06223a;
  --md-muted: #526b7b;
  --md-border: #d5edf2;
  --md-shadow: 0 24px 60px rgba(0, 31, 59, 0.12);
  --md-shell: min(1240px, calc(100vw - 48px));
}

*,
*::before,
*::after { box-sizing: border-box; }

body.md-body {
  margin: 0;
  background: var(--md-cream);
  color: var(--md-text);
  font-family: "SF Pro Text", "Segoe UI", Arial, sans-serif;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.md-shell { width: var(--md-shell); margin: 0 auto; }
.md-page { min-height: 100vh; background: var(--md-cream); }

.md-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--md-navy);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.md-button:hover { transform: translateY(-1px); background: var(--md-navy-2); color: #fff; }
.md-button--small { min-height: 42px; padding-inline: 18px; }
.md-button--light { background: var(--md-cream); color: var(--md-navy); }
.md-button--light:hover { background: #fff; color: var(--md-navy); }
.md-button--outline-light { background: transparent; color: #fff; border-color: rgba(22, 199, 212, .9); }
.md-button--outline-light:hover { background: rgba(22, 199, 212, .92); color: #001f3b; }

.md-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(247, 243, 233, .96);
  backdrop-filter: blur(12px);
}

.md-topbar {
  border-top: 1px solid var(--md-border);
  border-bottom: 1px solid var(--md-border);
}

.md-topbar__inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 28px;
  min-height: 72px;
}

.md-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--md-navy);
  text-decoration: none;
}

.md-brand__logo {
  display: block;
  width: min(190px, 48vw);
  height: auto;
  max-height: 82px;
  object-fit: contain;
}

.md-brand__logo--footer {
  width: min(320px, 72vw);
  filter: brightness(0) invert(1);
  opacity: .94;
}

.md-brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(13, 27, 42, .14);
  border-radius: 50%;
  background: var(--md-navy);
  color: var(--md-gold);
  font-size: 18px;
  font-weight: 850;
}

.md-brand__text { display: grid; gap: 2px; }
.md-brand__text strong { font-size: 20px; line-height: 1.1; }
.md-brand__text small { color: var(--md-muted); font-size: 13px; }

.md-topbar__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.md-topbar__item { display: grid; gap: 4px; }
.md-topbar__item span { color: var(--md-muted); font-size: 13px; }
.md-topbar__item a,
.md-topbar__item strong { color: var(--md-navy); font-size: 15px; font-weight: 700; text-decoration: none; }

.md-nav {
  border-bottom: 1px solid var(--md-border);
}

.md-nav__inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.md-nav__panel {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.md-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.md-menu a {
  color: var(--md-navy);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.md-menu > li {
  position: relative;
}

.md-menu-item-has-dropdown > a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.md-dropdown,
.md-mega {
  position: absolute;
  top: calc(100% + 24px);
  left: 0;
  z-index: 100;
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.md-menu-item-has-dropdown:hover > .md-dropdown,
.md-menu-item-has-dropdown:focus-within > .md-dropdown,
.md-menu-item-has-mega:hover > .md-mega,
.md-menu-item-has-mega:focus-within > .md-mega {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.md-dropdown {
  width: 220px;
  padding: 18px 20px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 31, 59, .14);
}

.md-dropdown a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid #cfe4ea;
  color: #6b7885;
}

.md-dropdown a:last-child {
  border-bottom: 0;
}

.md-mega {
  left: 50%;
  width: min(1170px, calc(100vw - 80px));
  padding: 28px 30px 30px;
  border-radius: 4px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.96) 72%, rgba(255,255,255,.74) 100%),
    url("../../../../uploads/2023/04/asirei-mesane.png") right center / auto 100% no-repeat;
  box-shadow: 0 28px 80px rgba(0, 31, 59, .15);
  transform: translate(-50%, 8px);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 34px 28px;
}

.md-menu-item-has-mega:hover > .md-mega,
.md-menu-item-has-mega:focus-within > .md-mega {
  transform: translate(-50%, 0);
}

.md-mega__column strong {
  display: block;
  margin-bottom: 9px;
  padding-bottom: 11px;
  border-bottom: 1px solid #cfe4ea;
  color: #1d2633;
  font-size: 16px;
}

.md-mega__column a {
  display: block;
  padding: 7px 0;
  color: #6f7b86;
  font-size: 15px;
  line-height: 1.35;
}

.md-mega__column a:hover,
.md-dropdown a:hover {
  color: #0796a5;
}

.md-menu a:hover,
.current-menu-item > a,
.current_page_item > a { color: #0796a5; }

.md-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--md-border);
  border-radius: 8px;
  background: var(--md-cream);
}

.md-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--md-navy);
}

.md-hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background: var(--md-navy);
}

.md-hero__slides,
.md-hero__slide,
.md-hero__slide img,
.md-hero__shade { position: absolute; inset: 0; }

.md-hero__slide {
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1000ms ease, transform 7000ms ease;
}

.md-hero__slide.is-active { opacity: 1; transform: scale(1); }
.md-hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.md-hero__shade {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 31, 59, .08) 0%, rgba(0, 31, 59, .22) 42%, rgba(0, 31, 59, .88) 100%),
    linear-gradient(90deg, rgba(0, 31, 59, .22), rgba(0, 31, 59, .04) 46%, rgba(0, 31, 59, .25));
}

.md-hero__inner {
  position: relative;
  z-index: 2;
  min-height: 760px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 56px;
}

.md-hero__panel {
  position: relative;
  width: min(760px, 100%);
  min-height: 212px;
  padding: 26px 30px 54px;
  border: 1px solid rgba(247, 243, 233, .18);
  border-radius: 8px;
  background: rgba(0, 31, 59, .60);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .30);
  backdrop-filter: blur(12px);
}

.md-hero__copy { display: none; opacity: 0; transform: translateY(12px); }
.md-hero__copy.is-active { display: block; animation: md-hero-in .75s ease both; }

.md-hero__copy span,
.md-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--md-gold);
  font-size: 14px;
  font-weight: 800;
}

.md-hero h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(36px, 4.4vw, 62px);
  line-height: 1;
}

.md-hero p {
  max-width: 660px;
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: 16px;
  line-height: 1.58;
}

.md-hero__actions { display: flex; gap: 12px; margin-top: 20px; }
.md-hero__dots { position: absolute; left: 30px; bottom: 24px; display: flex; gap: 8px; }
.md-hero__dots button {
  width: 34px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(247, 243, 233, .36);
  cursor: pointer;
}
.md-hero__dots button.is-active { width: 54px; background: var(--md-gold); }

@keyframes md-hero-in {
  to { opacity: 1; transform: translateY(0); }
}

.md-section { padding: 88px 0; }
.md-intro__grid {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 70px;
  align-items: center;
}

.md-intro__photo {
  padding: 16px;
  border: 1px solid rgba(13, 27, 42, .10);
  border-radius: 8px;
  background: rgba(255,255,255,.86);
  box-shadow: var(--md-shadow);
}

.md-intro__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 6px;
}

.md-intro h2,
.md-heading h2,
.md-media-band h2,
.md-footer-cta h2,
.md-page-hero h1 {
  margin: 0 0 18px;
  color: var(--md-navy);
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.06;
}

.md-intro p,
.md-media-band p,
.md-page-content p,
.md-page-content li {
  color: var(--md-muted);
  font-size: 17px;
  line-height: 1.75;
}

.md-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.md-feature-list span {
  padding: 14px 16px;
  border: 1px solid var(--md-border);
  border-radius: 8px;
  background: rgba(255,255,255,.72);
  color: var(--md-navy);
  font-weight: 750;
}

.md-stats {
  padding: 44px 0;
  background: linear-gradient(180deg, var(--md-navy), var(--md-navy-2));
}

.md-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

.md-stats__grid div { padding: 14px 24px; border-right: 1px solid rgba(255,255,255,.18); }
.md-stats__grid div:last-child { border-right: 0; }
.md-stats strong { display: block; color: var(--md-gold); font-size: clamp(46px, 5vw, 76px); line-height: 1; }
.md-stats span { display: block; margin-top: 12px; color: #fff; font-weight: 750; }

.md-heading { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.md-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.md-card {
  overflow: hidden;
  border: 1px solid var(--md-border);
  border-radius: 8px;
  background: rgba(255,255,255,.82);
  box-shadow: var(--md-shadow);
}

.md-card__media {
  display: block;
  height: 250px;
  background: linear-gradient(135deg, #7385a0, #d8dde4);
}

.md-card__media img { width: 100%; height: 100%; object-fit: cover; }
.md-card__body { padding: 24px; }
.md-card h3 { margin: 0 0 12px; color: var(--md-navy); font-size: 25px; line-height: 1.16; }
.md-card p { margin: 0 0 18px; color: var(--md-muted); line-height: 1.62; }
.md-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--md-navy);
  font-weight: 800;
  text-decoration: none;
}
.md-inline-link svg { width: 17px; height: 17px; }

.md-media-band {
  padding: 70px 0;
  background:
    linear-gradient(135deg, rgba(0, 31, 59, .95), rgba(0, 56, 95, .88)),
    url("../../../../uploads/2023/04/aksam-gazetesi-mutlu-deger-haberi.png") right center / 520px auto no-repeat;
}

.md-media-band__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.md-media-band h2,
.md-media-band p { color: #fff; }
.md-media-band p { max-width: 720px; }

.md-footer { background: var(--md-cream); }
.md-footer-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
  margin-top: 54px;
  padding: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--md-navy), var(--md-navy-2));
}
.md-footer-cta span { color: var(--md-gold); font-weight: 800; }
.md-footer-cta h2 { color: #fff; max-width: 780px; font-size: clamp(32px, 3vw, 48px); }
.md-footer-cta__actions { display: flex; gap: 12px; }

.md-footer-main {
  margin-top: 70px;
  padding: 58px 0 24px;
  background: var(--md-navy);
  color: rgba(255,255,255,.78);
}
.md-footer-main__grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 42px;
}
.md-brand--footer,
.md-brand--footer .md-brand__text small { color: #fff; }
.md-footer-main p { max-width: 420px; line-height: 1.7; }
.md-footer-main h3 { margin: 0 0 18px; color: #fff; }
.md-footer-links { margin: 0; padding: 0; list-style: none; }
.md-footer-links li + li { margin-top: 12px; }
.md-footer-links a,
.md-footer-links span { color: rgba(255,255,255,.78); text-decoration: none; }
.md-footer-copy { margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }

.md-site { background: linear-gradient(180deg, #fff 0, var(--md-cream) 260px); }
.md-page-hero { padding: 72px 0 26px; }
.md-page-content {
  margin-bottom: 82px;
  padding: 38px;
  border: 1px solid var(--md-border);
  border-radius: 8px;
  background: rgba(255,255,255,.88);
  box-shadow: var(--md-shadow);
}
.md-page-content h2,
.md-page-content h3 { color: var(--md-navy); }
.md-featured-image { margin: 0 0 28px; border-radius: 8px; overflow: hidden; }
.md-featured-image img { width: 100%; max-height: 560px; object-fit: cover; }

@media (max-width: 1024px) {
  .md-topbar__inner,
  .md-intro__grid,
  .md-media-band__grid,
  .md-footer-cta,
  .md-footer-main__grid { grid-template-columns: 1fr; }
  .md-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-topbar__items { display: none; }
}

@media (max-width: 760px) {
  :root { --md-shell: min(100vw - 28px, 1240px); }
  .md-header { position: static; }
  .md-topbar__inner { min-height: 68px; }
  .md-menu-toggle { display: block; margin-left: auto; }
  .md-nav__inner { position: relative; justify-content: flex-end; }
  .md-nav__panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    padding: 18px;
    border: 1px solid var(--md-border);
    border-radius: 8px;
    background: rgba(255,255,255,.98);
    box-shadow: var(--md-shadow);
  }
  .md-header.is-menu-open .md-nav__panel { display: flex; }
  .md-menu { display: grid; gap: 0; }
  .md-menu li { border-bottom: 1px solid var(--md-border); }
  .md-menu a { display: block; padding: 12px 0; }
  .md-dropdown,
  .md-mega {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none !important;
    width: 100%;
    box-shadow: none;
    margin: 0 0 12px;
    padding: 10px 14px;
    display: grid;
    grid-template-columns: 1fr;
    background: #fff;
  }
  .md-hero,
  .md-hero__inner { min-height: 630px; }
  .md-hero__inner { padding-bottom: 28px; }
  .md-hero__panel { padding: 20px 18px 50px; }
  .md-hero__actions,
  .md-footer-cta__actions { flex-wrap: wrap; }
  .md-section { padding: 56px 0; }
  .md-feature-list,
  .md-card-grid,
  .md-stats__grid { grid-template-columns: 1fr; }
  .md-stats__grid div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .md-stats__grid div:last-child { border-bottom: 0; }
  .md-page-content { padding: 24px; }
}


/* Blog listing and article templates. */
.md-blog-list { padding-bottom: 72px; }
.md-breadcrumb { display: inline-block; margin-bottom: 20px; color: var(--md-muted); text-underline-offset: 4px; }
.md-blog-date { display: block; color: var(--md-muted); font-size: 14px; margin-bottom: 14px; }
.md-blog-card-title { font-size: 25px; line-height: 1.25; margin: 0 0 14px; color: var(--md-navy); }
.md-blog-card-title a { text-decoration: none; }
.md-blog-card-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.md-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.md-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--md-border); border-radius: 8px; background: #fff; text-decoration: none; }
.md-pagination .current { background: var(--md-navy); color: #fff; }
.md-blog-article, .md-article-heading { width: min(880px, calc(100% - 48px)); }
.md-blog-article { line-height: 1.85; }
.md-blog-back { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--md-border); }
@media(max-width:760px) { .md-blog-article, .md-article-heading { width: calc(100% - 28px); } }

/* One consistent inner-page title band. */
.md-title-band { position: relative; padding: 36px 0 40px; margin-bottom: 36px; border-bottom: 1px solid var(--md-border); background: linear-gradient(110deg, #e6f5f8, #f5fbfd 65%, #e9f6fa); }
.md-title-band::after { content: ""; position: absolute; bottom: -1px; left: 0; width: 90px; height: 3px; background: #087f8c; }
.md-title-band h1 { max-width: 1000px; margin: 14px 0 0; color: var(--md-navy); font-size: clamp(30px, 3.5vw, 48px); line-height: 1.2; overflow-wrap: anywhere; }
.md-title-trail { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--md-muted); font-size: 14px; line-height: 1.6; }
.md-title-trail a { color: var(--md-navy-2); text-decoration: none; }
.md-title-trail a:hover { text-decoration: underline; text-underline-offset: 4px; }
.md-title-trail [aria-current] { overflow-wrap: anywhere; }
.md-title-date { margin: 16px 0 0; font-size: 14px; color: var(--md-muted); }
.md-page-content .custom-breadcrumb, .md-page-content .breadcrumb-default { display: none !important; }
@media(max-width:760px) { .md-title-band { padding: 26px 0 30px; margin-bottom: 24px; } .md-title-trail { font-size: 13px; gap: 8px; } }

/* Gallery photographs expanded for the homepage hero. */
.md-hero, .md-hero__inner { min-height: clamp(560px, 42vw, 780px); }
.md-hero__inner { align-items: center; padding-block: 56px; }
.md-hero__slide img { object-position: 68% center; }
.md-hero__shade { background: linear-gradient(90deg,rgba(0,25,46,.88),rgba(0,25,46,.54) 35%,rgba(0,25,46,.05) 70%); }
.md-hero__panel { width: min(540px, 48%); padding: 30px 0 70px; background: transparent; backdrop-filter: none; border: 0; box-shadow: none; }
.md-hero__copy h1, .md-hero__copy h2 { color: #fff; font-size: clamp(36px,4vw,62px); line-height: 1.12; margin: 0 0 18px; }
.md-hero__controls { display: flex; gap: 8px; margin-top: 30px; }
.md-hero__controls button { min-height: 44px; min-width: 44px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.45); border-radius: 8px; background: rgba(0,31,59,.5); color: #fff; cursor: pointer; }
.md-hero__controls button:hover { background: #00385f; }
.md-hero__dots { left: 0; bottom: 30px; }
.md-hero__dots button { height: 10px; min-width: 34px; border: 1px solid rgba(255,255,255,.5); }
.md-hero :focus-visible { outline: 3px solid #16c7d4; outline-offset: 5px; }
@media(max-width:760px) {
 .md-hero, .md-hero__inner { min-height: 660px; }
 .md-hero__inner { align-items: flex-end; padding-bottom: 20px; }
 .md-hero__panel { width: 100%; padding: 22px 0 60px; }
 .md-hero__shade { background: linear-gradient(0deg,rgba(0,25,46,.96),rgba(0,25,46,.72) 35%,rgba(0,25,46,.08) 75%); }
 .md-hero__slide img { object-position: 70% center; }
 .md-hero__copy h1, .md-hero__copy h2 { font-size: 36px; }
 .md-hero__controls { margin-top: 22px; }
}
@media(prefers-reduced-motion:reduce) { .md-hero__slide, .md-hero__copy.is-active { transition: none; animation: none; transform: none; opacity: 1; } .md-hero__slide:not(.is-active) { opacity: 0; } }

/* Portrait framing and Poppins hero typography. */
.md-hero__slide:first-child { transform: none; }
.md-hero__slide:first-child img { object-position: 68% top; }
.md-hero__panel { width: min(620px, 51%); }
.md-hero__copy, .md-hero__copy h1, .md-hero__copy h2, .md-hero__copy p, .md-hero__copy span, .md-hero__actions a {
 font-family: 'Poppins', 'Segoe UI', sans-serif !important;
}
.md-hero__copy h1, .md-hero__copy h2 { font-size: clamp(34px, 2.7vw, 52px); font-weight: 600; letter-spacing: -.025em; line-height: 1.22; text-wrap: balance; }
.md-hero__copy p { max-width: 530px; font-size: clamp(15px, 1.1vw, 18px); font-weight: 400; line-height: 1.75; }
.md-hero__copy span { font-weight: 500; letter-spacing: .02em; }
@media(max-width:760px) {
 .md-hero__panel { width: 100%; }
 .md-hero__slide:first-child img { object-position: 68% top; }
 .md-hero__copy h1, .md-hero__copy h2 { font-size: clamp(30px, 7vw, 38px); }
}

.md-hero__copy h3.md-hero__description {
 max-width: 530px;
 margin: 0;
 font-family: 'Poppins', 'Segoe UI', sans-serif !important;
 color: rgba(255,255,255,.92);
 font-size: clamp(15px,1.1vw,18px);
 font-weight: 400;
 line-height: 1.75;
 letter-spacing: 0;
 text-transform: none;
}

.md-appointments { background: #eaf6f9; border-block: 1px solid var(--md-border); }
.md-appointments__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; align-items: start; }
.md-integration-card { padding: clamp(20px,3vw,32px); border: 1px solid var(--md-border); border-radius: 16px; background: #fff; min-width: 0; }
.md-integration-card h3 { color: var(--md-navy); font-size: 21px; margin: 0 0 22px; }
.md-integration-card iframe { width: 100%; max-width: 100%; border: 0; }
.md-integration-card > a { color: var(--md-navy-2); text-underline-offset: 4px; }
.md-home-contact__grid { display: grid; grid-template-columns: minmax(230px,.8fr) minmax(0,1.4fr); gap: 64px; align-items: start; }
.md-home-contact__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-block: 22px; }
.md-home-contact__intro h2 { margin: 0 0 12px; font-size: clamp(32px,3vw,46px); color: var(--md-navy); }
.md-home-contact__intro a { color: var(--md-navy-2); text-decoration: none; overflow-wrap: anywhere; }
.md-home-contact__phone { font-size: clamp(21px,2vw,28px); font-weight: 600; }
.md-home-form.md-page-content { margin: 0; padding: clamp(22px,3vw,36px); width: 100%; }
.md-home-form__notice { margin: 0 0 24px; }
.md-home-form__preview { margin: 0; padding: 0; border: 0; }
.md-home-form__fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin-bottom: 24px; }
.md-home-form__fields label { display: grid; gap: 8px; font-size: 14px; font-weight: 500; color: var(--md-navy); }
.md-home-form__message { grid-column: 1/-1; }
.md-home-form__fields :is(input,textarea) { margin: 0; font-family: inherit; font-size: 15px; opacity: 1; -webkit-text-fill-color: var(--md-muted); resize: vertical; }
.md-home-form button:disabled { cursor: not-allowed; opacity: .55; }
@media(max-width:900px) { .md-appointments__grid,.md-home-contact__grid { grid-template-columns: minmax(0,1fr); gap: 28px; } }
@media(max-width:560px) { .md-home-form__fields { grid-template-columns: minmax(0,1fr); } }

.md-home-blog__heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; }
.md-home-blog__heading h2 { margin: 0; color: var(--md-navy); font-size: clamp(30px,3vw,42px); line-height: 1.2; }
.md-home-blog__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.md-home-blog__grid .md-card { display: flex; flex-direction: column; min-width: 0; }
.md-home-blog__grid .md-card__media { height: auto; aspect-ratio: 4/3; }
.md-home-blog__grid .md-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.md-home-blog__grid h3 { font-size: 21px; line-height: 1.4; overflow-wrap: anywhere; }
.md-home-blog__grid h3 a { text-decoration: none; }
.md-home-blog__grid h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.md-home-blog__grid .md-card__body > .md-inline-link { margin-top: auto; padding-top: 6px; font-size: 14px; }
.md-home-blog__grid .md-card p { font-size: 15px; }
@media(max-width:1024px) { .md-home-blog__grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .md-home-blog__grid { grid-template-columns: minmax(0,1fr); } .md-home-blog__heading { align-items: start; flex-direction: column; gap: 18px; } }

.md-footer-copy { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.md-design-credit { color: rgba(255,255,255,.78); font-size: 13px; }
.md-design-credit a { color: #fff; text-decoration: none; text-underline-offset: 4px; }
.md-design-credit strong { font-weight: 700; color: #fff; }
.md-design-credit a:hover { text-decoration: underline; }
.md-design-credit a:focus-visible { outline: 2px solid var(--md-gold); outline-offset: 5px; }

/* Mobile sticky header and collapsed navigation. */
.md-submenu-toggle { display: none; }
@media(max-width:760px) {
 .md-header { position: sticky; top: 0; z-index: 1000; background: #f3fbfd; box-shadow: 0 6px 24px rgba(0,31,59,.08); }
 .md-nav__inner { min-height: 56px; }
 .md-nav__panel { top: 100%; max-height: calc(100vh - var(--md-header-height, 150px) - 12px); max-height: calc(100dvh - var(--md-header-height, 150px) - 12px); overflow-y: auto; overscroll-behavior: contain; }
 .md-menu > .md-menu-item-has-dropdown > a, .md-mega__column > strong { display: none; }
 .md-submenu-toggle { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 48px; padding: 12px 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; color: var(--md-navy); font: inherit; font-size: 15px; font-weight: 600; text-align: left; cursor: pointer; }
 .md-submenu-toggle::after { content: '+'; font-size: 22px; font-weight: 400; color: #087f8c; }
 .md-submenu-toggle[aria-expanded='true']::after { content: '−'; }
 .md-menu .md-dropdown, .md-menu .md-mega { display: none !important; margin-bottom: 12px; }
 .md-menu .is-submenu-open > .md-dropdown, .md-menu .is-submenu-open > .md-mega { display: grid !important; }
 .md-mega__column > a { display: none; padding: 10px 12px; white-space: normal; }
 .md-mega__column.is-submenu-open > a { display: block; }
 .md-mega { gap: 0; }
 .md-mega__column + .md-mega__column { border-top: 1px solid var(--md-border); }
 .md-submenu-toggle:hover, .md-submenu-toggle:focus { background: transparent; color: #087f8c; }
 .md-submenu-toggle:focus-visible { outline: 2px solid #087f8c; outline-offset: 2px; }
}
@media(min-width:601px) and (max-width:760px) { .admin-bar .md-header { top: 46px; } .admin-bar .md-nav__panel { max-height: calc(100dvh - var(--md-header-height,150px) - 58px); } }

.md-review-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; align-items: start; }
.md-review-card { padding: 26px; background: #fff; border: 1px solid var(--md-border); border-radius: 14px; }
.md-review-quote { display: block; color: #087f8c; font-size: 54px; line-height: 1; height: 42px; }
.md-review-card blockquote { padding: 0; margin: 0; border: 0; font-size: 15px; line-height: 1.8; color: var(--md-muted); }
.md-review-card blockquote footer { margin: 18px 0; color: var(--md-navy); font-weight: 600; }
.md-review-card details { font-size: 14px; line-height: 1.8; }
.md-review-card summary { color: #087f8c; cursor: pointer; font-weight: 500; }
.md-review-card details p { margin: 14px 0 0; color: var(--md-muted); }
.md-location { padding-top: 40px; border-top: 1px solid var(--md-border); background: #edf8fa; }
.md-location__heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.md-location h2 { font-size: clamp(26px,3vw,36px); color: var(--md-navy); margin: 0; }
.md-location iframe { display: block; width: 100%; height: 360px; border: 0; }
.md-treatment-cover { margin: 0 0 32px; }
.md-treatment-cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 12px; }
.md-treatment-cover figcaption { padding-top: 8px; font-size: 12px; color: var(--md-muted); }
.md-treatment-lead { font-size: 18px !important; }
.md-treatment-toc { display: flex; flex-wrap: wrap; gap: 10px 18px; padding: 22px; margin: 28px 0 36px; border: 1px solid var(--md-border); border-radius: 12px; background: #f3fafc; font-size: 14px; }
.md-medical-note { padding: 18px; background: #f3fafc; border-left: 3px solid #087f8c; font-size: 14px !important; }
@media(max-width:1024px) { .md-review-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .md-review-grid { grid-template-columns: minmax(0,1fr); } .md-location__heading { align-items: start; flex-direction: column; } .md-location iframe { height: 280px; } }
.md-intro__title { margin: 0 0 18px; color: var(--md-navy); font-size: clamp(38px,4vw,58px); line-height: 1.06; }

/* Social shortcut and readable navigation */
.md-instagram-float{position:fixed;right:15px;bottom:80px;z-index:99999998;display:flex;align-items:center;justify-content:center;width:50px;height:50px;border-radius:12px;background:linear-gradient(135deg,#833ab4,#c13584 55%,#e6683c);color:#fff;box-shadow:0 4px 18px rgba(0,31,59,.2);text-decoration:none;transition:transform .2s}
.md-instagram-float svg{width:28px;height:28px}.md-instagram-float:hover,.md-instagram-float:focus-visible{color:#fff;transform:translateY(-3px);outline:3px solid #07334c;outline-offset:3px}
.md-header .md-mega__column{min-width:0}
.md-header .md-mega__column a,.md-header .md-dropdown a{white-space:normal;overflow-wrap:anywhere;line-height:1.55}
@media(min-width:1025px){
.md-header .md-nav__inner{position:relative}
.md-header .md-menu-item-has-mega{position:static}
.md-header .md-mega{left:50%;top:100%;width:min(1170px,calc(100vw - 48px));grid-template-columns:repeat(5,minmax(0,1fr));gap:24px 28px;padding:26px 28px;background:#fff;max-height:calc(100dvh - 220px);overflow-y:auto;overscroll-behavior:contain}
.md-header .md-mega__column a{padding:7px 0;font-size:14px;font-weight:500}
.md-header .md-menu{gap:clamp(16px,1.7vw,30px)}
}
@media(min-width:1025px) and (max-width:1200px){.md-header .md-mega{grid-template-columns:repeat(4,minmax(0,1fr))}.md-header .md-menu>li>a{font-size:13px}}
@media(max-width:1024px){.md-instagram-float{bottom:80px}.md-header .md-mega{background:#fff}.md-header .md-mega__column a{overflow-wrap:anywhere;white-space:normal}}
