/*
Theme Name: Vascular Care
Theme URI: https://graphost.blogspot.com/
Author: Graphost
Author URI: https://graphost.blogspot.com/
Description: A clean, trustworthy homepage theme for a vascular / cardiovascular surgeon's practice. Deep teal & amber color scheme, hero section, doctor bio, treatment services grid, stats bar, video and blog sections, and a chamber/address block.
Version: 1.6.8
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vascular-care
*/

/* ===================== Base / Reset ===================== */
:root {
  --pc-teal: #0e5a6b;
  --pc-teal-dark: #093842;
  --pc-orange: #c9932b;
  --pc-orange-dark: #a97a1f;
  --pc-bg-light: #eef6f7;
  --pc-text: #202b2e;
  --pc-muted: #5c7278;
  --pc-white: #ffffff;
  --pc-tint: #d7ecef;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--pc-text);
  line-height: 1.6;
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 70px 0; }
.section-tight { padding: 50px 0; }
.center { text-align: center; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--pc-teal); color: #fff; padding: 12px 22px;
  border-radius: 6px; font-weight: 600; border: none; cursor: pointer;
}
.btn:hover { background: var(--pc-teal-dark); color: #fff; }
.btn-icon-phone { color: var(--pc-orange); flex-shrink: 0; }
.btn-orange { background: var(--pc-orange); }
.btn-orange:hover { background: var(--pc-orange-dark); }
.btn-outline { background: transparent; border: 1.5px solid var(--pc-teal); color: var(--pc-teal); }
.btn-outline:hover { background: var(--pc-teal); color: #fff; }
:focus-visible { outline: 3px solid var(--pc-orange); outline-offset: 2px; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  position: fixed; top: 12px; left: 12px; z-index: 99999;
  width: auto; height: auto; margin: 0; padding: 10px 16px;
  clip: auto; overflow: visible; background: #fff; color: var(--pc-teal-dark);
  border-radius: 4px; box-shadow: 0 4px 16px rgba(0,0,0,.2);
}

/* ===================== Header / Nav ===================== */
.site-header { padding: 18px 0; border-bottom: 1px solid #dfeef0; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-branding { display: flex; align-items: center; gap: 10px; }
.site-branding img.custom-logo { max-height: 50px; width: auto; }
.site-title { font-size: 1.3rem; color: var(--pc-teal); margin: 0; }
.site-title a { color: var(--pc-teal); }
.site-description { font-size: .75rem; color: var(--pc-muted); margin: 0; }
.main-navigation ul { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.main-navigation a { font-weight: 500; color: var(--pc-text); }
.main-navigation > ul > li > a { text-transform: uppercase; font-size: .92rem; letter-spacing: .03em; }
.main-navigation a:hover { color: var(--pc-orange); }
.main-navigation li { position: relative; }
.main-navigation .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	background: #fff;
	box-shadow: 0 10px 24px rgba(0,0,0,.12);
	border-radius: 6px;
	padding: 14px 0 8px;
	margin-top: 0;
	flex-direction: column;
	gap: 0;
	z-index: 20;
}
/* Invisible bridge above the dropdown so the mouse never leaves the
   hoverable area while moving from the parent link down into the
   sub-menu -- without this, the gap between them closes the menu
   before a click can register. */
.main-navigation .sub-menu::before {
	content: "";
	position: absolute;
	top: -12px;
	left: 0;
	right: 0;
	height: 12px;
}
.main-navigation .sub-menu li { width: 100%; }
.main-navigation .sub-menu a { display: block; padding: 8px 18px; white-space: nowrap; }
.main-navigation .menu-item-has-children:hover > .sub-menu,
.main-navigation .menu-item-has-children:focus-within > .sub-menu { display: flex; }
.menu-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--pc-teal); }

@media (min-width: 901px) {
  .main-navigation > ul > li.menu-item-has-children > a {
    position: relative;
    padding-right: 17px;
    color: var(--pc-orange);
  }
  .main-navigation > ul > li.menu-item-has-children > a::before {
    content: "";
    position: absolute;
    right: 1px;
    top: 44%;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
  }
  .home .main-navigation > ul > li.menu-item-has-children > a { color: #efbd55; }
}

/* Homepage navigation belongs to the hero canvas. It deliberately has no
   header panel, pill, wave or background shape. */
.home .site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 100;
  padding: 24px 0;
  border: 0;
  background: transparent;
}
.admin-bar.home .site-header { top: 32px; }
.home .site-header .container { max-width: 1280px; }
.home .site-title,
.home .site-title a,
.home .site-description,
.home .main-navigation a { color: #fff; }
.home .site-description { color: rgba(255,255,255,.68); }
.home .main-navigation > ul > li > a {
  position: relative;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
}
.home .main-navigation > ul > li:not(.nav-cta) > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--pc-orange);
  transition: right .25s ease;
}
.home .main-navigation > ul > li:not(.nav-cta) > a:hover::after,
.home .main-navigation > ul > li.current-menu-item:not(.nav-cta) > a::after { right: 0; }
.home .main-navigation .sub-menu a { color: var(--pc-text); }
.home .menu-toggle { color: #fff; }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 720px;
  overflow: hidden;
  padding: 142px 0 0;
  background:
    radial-gradient(circle at 70% 46%, rgba(35,173,170,.26) 0, rgba(35,173,170,.08) 25%, transparent 49%),
    radial-gradient(circle at 12% 88%, rgba(201,147,43,.11) 0, transparent 34%),
    linear-gradient(118deg, #062f3a 0%, #07485a 48%, #0b5870 100%);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 820px;
  height: 820px;
  right: -250px;
  top: -330px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 50%;
  box-shadow: 0 0 0 120px rgba(255,255,255,.018), 0 0 0 260px rgba(255,255,255,.014);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pc-orange), #f0c561 36%, transparent 78%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.03fr) minmax(420px,.97fr);
  align-items: center;
  gap: 56px;
  min-height: 578px;
}
.eyebrow { color: var(--pc-orange); font-weight: 700; letter-spacing: .055em; margin-bottom: 8px; text-transform: uppercase; font-size: .78rem; }
.hero h1 { font-size: 2.5rem; line-height: 1.15; color: #fff; margin-bottom: 6px; }
.hero h1.doctor-name {
  max-width: 100%;
  font-size: clamp(1.85rem, 2.15vw, 2.45rem); font-weight: 700; letter-spacing: -.03em;
  color: #fff; margin-bottom: 10px; white-space: nowrap;
}
.doctor-name-last { display: inline; }
.hero h2 { font-size: 1.5rem; color: var(--pc-teal); margin-bottom: 18px; font-weight: 600; }
.hero h2.hero-keyword { color: #efbd55; font-size: clamp(1.25rem, 2.1vw, 1.75rem); font-weight: 700; letter-spacing: -.02em; }
.hero p { color: rgba(255,255,255,.78); max-width: 560px; margin-bottom: 28px; font-size: 1.02rem; }
.hero .btn {
  background: var(--pc-orange);
  color: #082f39;
  border-radius: 999px;
  padding: 13px 24px;
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
}
.hero .btn:hover { background: #efbd55; color: #082f39; transform: translateY(-2px); }
.hero .btn-icon-phone { color: #082f39; }
.hero-img {
  position: relative;
  align-self: end;
  height: 570px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}
.hero-img::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 430px;
  height: 430px;
  left: 50%;
  top: 47%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,178,173,.30) 0, rgba(37,178,173,.09) 50%, transparent 70%);
  border: 1px solid rgba(239,189,85,.32);
  box-shadow: 0 0 70px rgba(19,160,163,.22);
}
.hero-img img {
  width: auto;
  max-width: 100%;
  height: 100%;
  margin: 0 auto;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 24px 25px rgba(0,0,0,.22));
}
@media (min-width: 901px) {
  .hero .eyebrow {
    font-size: .84rem;
    letter-spacing: .06em;
  }
  .hero h1.doctor-name {
    font-size: clamp(2.1rem, 2.3vw, 2.65rem);
  }
  .hero h2.hero-keyword {
    font-size: clamp(1.35rem, 1.75vw, 1.9rem);
  }
  .hero-img img {
    max-width: none;
    width: auto;
    height: 108%;
    transform: scale(1.06);
    transform-origin: center bottom;
  }
}

/* ===================== Doctor intro ===================== */
.intro-grid { display: grid; grid-template-columns: 340px 1fr; gap: 50px; align-items: center; }
.intro-grid img { border-radius: 10px; }
.intro-grid h3 { font-size: 1.9rem; color: var(--pc-teal); margin: 4px 0 6px; }
.cred { color: var(--pc-muted); margin: 0 0 4px; }
.specialty-tag { color: var(--pc-orange); font-weight: 600; margin: 8px 0 4px; }
.intro-grid p.desc { margin: 14px 0 20px; max-width: 640px; }

/* ===================== Stats ===================== */
.stats { background: var(--pc-teal); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(3,1fr); text-align: center; }
.stats-grid .num { font-size: 2.6rem; font-weight: 700; }
.stats-grid .label { color: var(--pc-tint); margin-top: 4px; }

/* ===================== Personalised care ===================== */
.care-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.care-grid h3 { color: var(--pc-teal); font-size: 1.9rem; margin-bottom: 14px; }
.care-grid ul { padding-left: 18px; list-style: disc; color: var(--pc-text); }
.care-grid li { margin-bottom: 6px; }
.care-grid img { border-radius: 10px; }

/* ===================== Treatment services ===================== */
.services { background: var(--pc-bg-light); }
.services h2 { text-align: center; color: var(--pc-teal); font-size: 2rem; margin-bottom: 10px; }
.services > .container > p.intro-text { text-align: center; color: var(--pc-muted); max-width: 680px; margin: 0 auto 40px; }
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.card img { width: 100%; height: 190px; object-fit: cover; }
.card-body { padding: 18px 20px 22px; text-align: center; }
.card-body h4 { color: var(--pc-teal); margin: 0 0 8px; font-size: 1.15rem; }
.card-body p { color: var(--pc-muted); font-size: .92rem; margin: 0; }

/* ===================== Premium About page ===================== */
.about-hero {
  padding: 54px 0 118px;
  background:
    radial-gradient(circle at 12% 20%, rgba(201,147,43,.11), transparent 28%),
    linear-gradient(135deg, #e8f4f5 0%, #f7fbfb 55%, #edf7f7 100%);
  border-bottom: 1px solid #dcebed;
}
.about-hero .eyebrow { margin-bottom: 5px; }
.about-hero h1 { color: var(--pc-teal-dark); font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.035em; }
.about-hero p:last-child { max-width: 760px; margin: 10px auto 0; color: var(--pc-muted); font-size: .96rem; }
.about-profile-section { padding: 0 0 80px; }
.about-profile-card {
  position: relative;
  display: grid;
  grid-template-columns: 300px minmax(0,1fr);
  gap: 34px;
  align-items: stretch;
  margin-top: -72px;
  padding: 24px;
  border: 1px solid rgba(14,90,107,.13);
  border-radius: 18px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 24px 60px rgba(9,56,66,.12);
}
.about-profile-card::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: -1px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--pc-orange), rgba(201,147,43,0));
}
.about-profile-photo {
  min-height: 350px;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,.18) 0 22%, transparent 23%),
    linear-gradient(145deg, #0f6577, #093842);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
}
.about-profile-photo.has-image { background: var(--pc-bg-light); }
.about-profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.about-profile-details { padding: 12px 6px 2px 0; }
.about-specialty-badge {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff5df;
  color: var(--pc-orange-dark);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.about-profile-details h2 { margin-top: 12px; color: var(--pc-teal-dark); font-size: clamp(1.65rem, 3vw, 2.35rem); letter-spacing: -.035em; }
.about-profile-role { margin: 2px 0 18px; color: var(--pc-muted); font-weight: 500; }
.about-profile-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.about-profile-actions .btn { border-radius: 8px; }
.about-fact-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid #deebed;
}
.about-fact-grid div { position: relative; padding-left: 14px; border-left: 2px solid rgba(201,147,43,.5); }
.about-fact-grid span { display: block; color: var(--pc-orange-dark); font-size: .67rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.about-fact-grid strong { display: block; margin-top: 4px; color: var(--pc-text); font-size: .78rem; line-height: 1.45; font-weight: 600; }
.about-body-grid { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 44px; align-items: start; padding-top: 56px; }
.about-main-copy { min-width: 0; }
.about-copy-section { margin-bottom: 34px; }
.about-copy-section h2,
.about-purpose-grid h2 { color: var(--pc-teal); font-size: 1.35rem; margin-bottom: 12px; }
.about-copy-section p { margin: 0 0 14px; color: #3f5358; }
.about-check-list { display: grid; gap: 9px; }
.about-check-list li,
.about-expertise-grid li { position: relative; padding-left: 24px; }
.about-check-list li::before,
.about-expertise-grid li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff2d7;
  color: var(--pc-orange-dark);
  font-size: .75rem;
  font-weight: 700;
}
.about-expertise-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px 26px; }
.about-expertise-grid a { color: var(--pc-text); }
.about-expertise-grid a:hover { color: var(--pc-orange-dark); }
.about-purpose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.about-purpose-grid section { padding: 22px; border: 1px solid #dcebed; border-radius: 12px; background: var(--pc-bg-light); }
.about-purpose-grid p { margin: 0; color: var(--pc-muted); font-size: .9rem; }
.about-editor-content { padding-top: 8px; border-top: 1px solid #dcebed; }
.about-consult-card {
  position: sticky;
  top: 28px;
  padding: 26px;
  border: 1px solid rgba(201,147,43,.22);
  border-radius: 15px;
  background: linear-gradient(145deg, #fff9ed, #f8f1df);
  box-shadow: 0 16px 40px rgba(9,56,66,.09);
}
.admin-bar .about-consult-card { top: 60px; }
.about-consult-card .eyebrow { margin-bottom: 8px; }
.about-consult-card h2 { color: var(--pc-teal-dark); font-size: 1.2rem; margin-bottom: 8px; }
.about-consult-card > p:not(.eyebrow) { color: var(--pc-muted); font-size: .88rem; margin: 0; }
.about-consult-meta { display: grid; gap: 2px; margin: 19px 0; padding: 16px 0; border-top: 1px solid rgba(14,90,107,.12); border-bottom: 1px solid rgba(14,90,107,.12); }
.about-consult-meta span,
.about-hotline span { color: var(--pc-muted); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.about-consult-meta strong { color: var(--pc-teal-dark); }
.about-consult-meta small { color: var(--pc-muted); }
.about-hotline { display: grid; margin-bottom: 16px; }
.about-hotline strong { color: var(--pc-orange-dark); font-size: 1.08rem; }
.about-consult-card .btn { width: 100%; justify-content: center; border-radius: 8px; }

/* ===================== CTA banner ===================== */
.cta { background: var(--pc-teal); color: #fff; }
.cta-grid { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.cta h3 { font-size: 1.8rem; margin-bottom: 6px; }
.cta p { margin: 0; color: var(--pc-tint); }

/* ===================== Why choose ===================== */
.why-grid { display: grid; grid-template-columns: 380px 1fr; gap: 50px; align-items: center; }
.why-grid img { border-radius: 10px; }
.why-grid h3 { color: var(--pc-teal); font-size: 1.8rem; margin-bottom: 4px; }
.why-grid h4 { color: var(--pc-muted); font-weight: 500; margin-bottom: 14px; }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; background: var(--pc-bg-light); border-radius: 8px; padding: 20px 24px; margin-top: 18px; }
.vm-grid h5 { color: var(--pc-teal); margin-bottom: 8px; }
.vm-grid ul { padding-left: 18px; list-style: disc; font-size: .93rem; }

/* ===================== Videos ===================== */
.video-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 26px; }
.video-thumb { position: relative; display: block; border-radius: 8px; overflow: hidden; }
.video-thumb img { display: block; width: 100%; height: 190px; object-fit: cover; transition: opacity .22s ease, transform .35s ease; }
.video-hover-preview { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; border: 0; opacity: 0; pointer-events: none; transition: opacity .22s ease; }
.video-thumb.is-previewing .video-hover-preview { opacity: 1; }
.video-thumb.is-previewing img { opacity: 0; transform: scale(1.015); }
.video-thumb.is-previewing .play-icon { opacity: 0; transform: translate(-50%,-50%) scale(.85); }
.play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 54px; height: 54px; background: rgba(220,50,40,.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: opacity .22s ease, transform .22s ease; }
.play-icon::after { content: ""; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; margin-left: 3px; }

/* ===================== Blog section / archive / single ===================== */
.blogs { background: var(--pc-bg-light); }
.blogs h2 { text-align: center; color: var(--pc-teal); margin-bottom: 30px; }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.blog-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.blog-card img { width: 100%; height: 180px; object-fit: cover; }
.blog-card .blog-body { padding: 16px 18px; }
.blog-card .blog-meta { color: var(--pc-muted); font-size: .82rem; margin: 6px 0 8px; }
.blog-card p { font-size: .9rem; margin: 0; }
.blog-card h3 { font-size: 1.05rem; color: var(--pc-teal); }

.single-post-content, .page-content-wrap { max-width: 780px; margin: 0 auto; }
.single-post-content h1, .page-content-wrap h1 { color: var(--pc-teal); font-size: 2rem; margin-bottom: 16px; }
.single-post-content .post-meta { color: var(--pc-muted); font-size: .9rem; margin-bottom: 24px; }
.single-post-content img, .page-content-wrap img { border-radius: 8px; margin: 20px 0; }

/* ---- Rich content typography (service pages, posts) ---- */
.page-content h2, .post-content h2 { color: var(--pc-teal); font-size: 1.4rem; margin: 34px 0 14px; }
.page-content h3, .post-content h3 { color: var(--pc-teal); font-size: 1.15rem; margin: 26px 0 10px; }
.page-content p, .post-content p { margin: 0 0 16px; color: var(--pc-text); }
.page-content ul, .post-content ul { list-style: disc; padding-left: 22px; margin: 0 0 18px; }
.page-content ol, .post-content ol { padding-left: 22px; margin: 0 0 18px; }
.page-content li, .post-content li { margin-bottom: 8px; }
.page-content strong, .post-content strong { color: var(--pc-teal); }
.page-content a, .post-content a { color: var(--pc-orange); text-decoration: underline; }
.medical-review-note {
  margin-top: 34px !important; padding: 16px 18px; border-left: 4px solid var(--pc-orange);
  background: var(--pc-bg-light); color: var(--pc-muted) !important; font-size: .9rem;
}

/* ---- Service overview page ---- */
.service-page-hero { background: var(--pc-bg-light); padding: 46px 0; text-align: center; }
.service-page-hero h1 { color: var(--pc-teal); font-size: 2.1rem; margin-bottom: 10px; }
.service-page-hero p { color: var(--pc-muted); max-width: 620px; margin: 0 auto; }
.service-grid .card { text-align: left; display: flex; flex-direction: column; }
.service-grid .card a.card-link { display: block; color: inherit; }
.card-body .btn-outline { margin-top: 14px; padding: 8px 16px; font-size: .85rem; }

/* ===================== Chamber ===================== */
.chamber-grid { display: grid; grid-template-columns: 380px 1fr; background: var(--pc-bg-light); border-radius: 10px; overflow: hidden; }
.chamber-grid img { height: 100%; object-fit: cover; }
.chamber-body { padding: 34px 40px; }
.chamber-body h3 { color: var(--pc-teal); margin-bottom: 16px; }
.chamber-body .hospital-name { color: var(--pc-teal); font-weight: 700; font-size: 1.1rem; margin-bottom: 10px; }
.chamber-body h6 { color: var(--pc-teal); margin: 14px 0 4px; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.chamber-body p { margin: 0; font-size: .95rem; }

/* ===================== Footer ===================== */
.site-footer { background: var(--pc-teal-dark); color: var(--pc-tint); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer-grid h5 { color: #fff; margin-bottom: 14px; }
.footer-grid li { margin-bottom: 8px; font-size: .92rem; }
.footer-grid a { color: var(--pc-tint); }
.footer-grid a:hover { color: #fff; }
.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 66px;
  padding: 8px 12px;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
}
.footer-logo img { width: auto; max-width: 170px; height: auto; max-height: 58px; display: block; }
.footer-brand-name { color: #fff; font-size: 1.05rem; font-weight: 700; letter-spacing: .3px; margin: 0 0 4px; }
.footer-brand-desc { color: var(--pc-tint); font-size: .85rem; margin: 0; }
.footer-bottom { text-align: center; padding-top: 30px; margin-top: 30px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }
.footer-credit a { color: var(--pc-orange); text-decoration: none; }
.footer-credit a:hover { text-decoration: underline; }

/* ===================== 404 ===================== */
.error-404 { text-align: center; padding: 100px 24px; }
.error-404 h1 { font-size: 5rem; color: var(--pc-teal); margin-bottom: 10px; }

/* ===================== Appointment Page ===================== */
.appointment-card {
  max-width: 780px; margin: 0 auto; background: #fff;
  border: 1px solid #dfeef0; border-top: 3px solid var(--pc-orange);
  border-radius: 14px; padding: 46px 50px; box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.appointment-card h1 { color: var(--pc-teal); font-size: 1.9rem; margin-bottom: 10px; }
.appointment-sub { color: var(--pc-muted); margin-bottom: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; color: var(--pc-text); }
.form-group .req { color: #d9534f; }
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #d7e8ea; border-radius: 8px;
  background: #f2f9fa; font-family: inherit; font-size: .95rem; color: var(--pc-text);
}
.form-group textarea { resize: vertical; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--pc-teal); background: #fff; }
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--pc-teal), var(--pc-teal-dark));
  color: #fff; border: none; padding: 14px 28px; border-radius: 40px;
  font-weight: 700; font-size: 1rem; cursor: pointer;
  box-shadow: 0 8px 18px rgba(14,90,107,.35);
}
.btn-whatsapp:hover { filter: brightness(1.1); }
.appointment-note { text-align: center; color: var(--pc-muted); font-size: .85rem; margin-top: 18px; margin-bottom: 0; }

/* ===================== Blinking "Appointment" nav button ===================== */
.main-navigation .nav-cta > a {
  background: var(--pc-orange); color: #fff; padding: 9px 18px; border-radius: 30px;
  box-shadow: 0 8px 22px rgba(201,147,43,.22);
}
.main-navigation .nav-cta > a:hover { background: var(--pc-orange-dark); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .main-navigation .nav-cta > a { animation: none; }
}

/* ===================== Responsive ===================== */
@media (max-width: 900px) {
  .hero-grid, .intro-grid, .care-grid, .why-grid, .chamber-grid { grid-template-columns: 1fr !important; }
  .about-profile-card { grid-template-columns: 240px minmax(0,1fr); gap: 24px; }
  .about-profile-photo { min-height: 310px; }
  .about-fact-grid { grid-template-columns: 1fr 1fr; }
  .about-body-grid { grid-template-columns: 1fr; }
  .about-consult-card { position: static; }
  .service-grid, .video-grid, .blog-grid { grid-template-columns: 1fr 1fr !important; }
  .stats-grid { grid-template-columns: 1fr !important; gap: 24px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 26px; }
  .main-navigation ul { display: none; }
  .menu-toggle { display: block; }
  .main-navigation.is-open > ul { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: #fff; padding: 20px 24px; box-shadow: 0 8px 16px rgba(0,0,0,.08); z-index: 50; }
  .home .main-navigation.is-open > ul { top: 82px; background: #073d4c; border-top: 1px solid rgba(255,255,255,.12); }
  .home .main-navigation.is-open a,
  .home .main-navigation.is-open .sub-menu a { color: #fff; }
  .main-navigation.is-open > ul > li { width: 100%; }
  .main-navigation .sub-menu {
    display: none;
    position: static;
    min-width: 0;
    width: 100%;
    box-shadow: none;
    background: transparent;
    border-radius: 0;
    padding: 4px 0 4px 16px;
    margin-top: 6px;
  }
  .main-navigation .sub-menu::before { display: none; }
  .main-navigation .sub-menu a { padding: 8px 0; text-transform: none; font-size: .88rem; color: var(--pc-muted); }
  .main-navigation .menu-item-has-children.submenu-open > .sub-menu { display: flex !important; }
  .main-navigation .menu-item-has-children > a { position: relative; display: block; padding-right: 26px; }
  .main-navigation .menu-item-has-children > a::after {
    content: "";
    position: absolute; right: 4px; top: 45%;
    width: 8px; height: 8px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
    transition: transform .2s ease;
  }
  .main-navigation .menu-item-has-children.submenu-open > a::after {
    transform: translateY(-25%) rotate(-135deg);
  }
  .hero { min-height: auto; padding-top: 126px; }
  .hero-grid { gap: 12px; min-height: 0; }
  .hero-grid > div:first-child { padding: 60px 0 24px; }
  .hero-img { height: 520px; }
}
@media (max-width: 560px) {
  .admin-bar.home .site-header { top: 46px; }
  .why-grid h3 { font-size: clamp(1.3rem, 6.5vw, 1.8rem); }
  .intro-grid h3 { font-size: clamp(1.3rem, 6.5vw, 1.9rem); }
  .service-grid, .video-grid, .footer-grid, .blog-grid { grid-template-columns: 1fr !important; }
  .hero h1 { font-size: clamp(1.3rem, 6.5vw, 1.9rem); }
  .hero h1.doctor-name { font-size: clamp(1.85rem, 8.5vw, 2.45rem); }
  .hero h2 { font-size: clamp(0.95rem, 4.5vw, 1.2rem); font-weight: 600; margin-bottom: 14px; }
  .chamber-body { padding: 26px; }
  .appointment-card { padding: 30px 22px; }
  .form-row { grid-template-columns: 1fr; }

  .about-hero { padding: 42px 0 92px; }
  .about-profile-section { padding-bottom: 58px; }
  .about-profile-card { grid-template-columns: 1fr; margin-top: -54px; padding: 16px; }
  .about-profile-photo { min-height: 360px; }
  .about-profile-details { padding: 8px 4px 4px; }
  .about-profile-actions .btn { width: 100%; justify-content: center; }
  .about-fact-grid,
  .about-expertise-grid,
  .about-purpose-grid { grid-template-columns: 1fr; }
  .about-body-grid { gap: 30px; padding-top: 40px; }

  /* ---- Hero: short headline + button reads best centred when stacked ---- */
  .hero-grid { text-align: center; }
	.hero h1.doctor-name { white-space: normal; }
	.hero h1.doctor-name .doctor-name-last { display: block; }
	.hero-grid > * { min-width: 0; }
	.hero-img {
		height: 500px;
		width: 100%;
		max-width: 100%;
		overflow: hidden;
	}
	.hero-img img {
		flex: 0 0 auto;
		width: 118%;
		max-width: 118%;
		height: auto;
		max-height: none;
		margin: 0 -9%;
		transform: none;
		object-position: center bottom;
	}
  .hero p { margin-left: auto; margin-right: auto; }
  .hero .btn { margin-left: auto; margin-right: auto; }

  /* ---- CTA banner: stack instead of squeezing text + button side by side ---- */
  .cta-grid { flex-direction: column; text-align: center; }

  /* ---- Body copy, lists, footer & address blocks: keep left-aligned so
         paragraphs, bullet lists and the chamber/hours info stay easy to
         scan instead of zig-zagging down the middle of a narrow screen ---- */
  .intro-grid, .care-grid, .why-grid, .vm-grid,
  .chamber-body, .about-content, .about-content-wrap,
  .page-content, .post-content, .single-post-content,
  .page-content-wrap, .footer-grid {
    text-align: left;
  }
  .intro-grid p.desc, .care-grid > div > p, .why-grid p,
  .page-content p, .post-content p, .about-content p,
  .chamber-body p {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }
  .page-content ul, .post-content ul, .about-content ul,
  .care-grid ul, .vm-grid ul {
    text-align: left;
    list-style-position: outside;
    padding-left: 20px;
    margin: 0 0 16px;
  }
  .intro-grid .btn { margin-left: 0; margin-right: 0; }
}
