/* ==========================================================================
   About page — Model 2 (M2) design system overrides.
   Scoped to body.afkh-about ONLY. Never affects the homepage (body.m2-home),
   Post 198, or any other page using the generic afkh/hero and afkh/intro blocks.
   ========================================================================== */

body.afkh-about{
  --m2-bg:#0E1114; --m2-bg-elev:#171B20; --m2-bg-elev-2:#1E232A;
   --m2-teal:#2F6FED; --m2-teal-dark:#2457C5; --m2-teal-light:#64A3FF; --m2-teal-pale:rgba(47,111,237,.14);
  --m2-ink:#EDF1F3; --m2-ink-soft:#9AA6AD; --m2-ink-dark:#16201E;
  --m2-paper:#F4F7F7;
  --m2-line:rgba(255,255,255,.08); --m2-line-soft:rgba(255,255,255,.14);
  --m2-shadow:0 24px 60px rgba(0,0,0,.5); --m2-shadow-sm:0 10px 28px rgba(0,0,0,.35);
  --m2-radius-pill:999px; --m2-radius-lg:28px; --m2-radius-md:18px; --m2-radius-sm:12px;
  --m2-container:1220px;
  background:var(--m2-bg); color:var(--m2-ink);
}

/* The page title band is replaced by the hero on About. */
body.afkh-about .page-header-band{display:none;}

/* The generic blocks are rendered inside .entry-content (max-width:760px).
   On About we let the section blocks span the full container width. */
body.afkh-about .entry-content{max-width:none;margin:0;font-size:inherit;color:inherit;}
body.afkh-about .entry-content > .wp-block-afkh-hero,
body.afkh-about .entry-content > .wp-block-afkh-intro,
body.afkh-about .entry-content > .wp-block-afkh-about-doctor,
body.afkh-about .entry-content > .wp-block-afkh-about-journey,
body.afkh-about .entry-content > .wp-block-afkh-about-values,
body.afkh-about .entry-content > .wp-block-afkh-about-cta{max-width:none;}

/* --------------------------------------------------------------------------
   Generic afkh/hero — M2 override (scoped)
   -------------------------------------------------------------------------- */
body.afkh-about .wp-block-afkh-hero{padding:150px 0 90px;background:radial-gradient(120% 100% at 75% 0%, #122B4A 0%, var(--m2-bg) 55%);color:var(--m2-ink);}
body.afkh-about .wp-block-afkh-hero__inner{display:grid;grid-template-columns:1.05fr .95fr;gap:60px;align-items:center;max-width:var(--m2-container);margin:0 auto;padding:0 28px;}
body.afkh-about .wp-block-afkh-hero__content{min-width:0;}
body.afkh-about .wp-block-afkh-hero__eyebrow{display:inline-flex;align-items:center;gap:8px;margin:0 0 16px;padding:7px 16px;border-radius:var(--m2-radius-pill);background:var(--m2-teal-pale);color:var(--m2-teal-light);font-size:13px;font-weight:700;letter-spacing:.03em;}
body.afkh-about .wp-block-afkh-hero__title{margin:0 0 20px;color:#fff;font-size:clamp(30px,4.2vw,50px);font-weight:800;line-height:1.35;}
body.afkh-about .wp-block-afkh-hero__description{max-width:540px;margin:0 0 34px;color:rgba(237,241,243,.75);font-size:17px;}
body.afkh-about .wp-block-afkh-hero__button{display:inline-flex;align-items:center;justify-content:center;gap:9px;max-width:100%;padding:15px 30px;border:1.5px solid transparent;border-radius:var(--m2-radius-pill);background:var(--m2-teal);color:#071A33;font-size:15px;font-weight:700;text-decoration:none;transition:all .25s ease;}
body.afkh-about .wp-block-afkh-hero__button:hover{background:var(--m2-teal-light);transform:translateY(-2px);}
body.afkh-about .wp-block-afkh-hero__button:focus-visible{outline:3px solid var(--m2-teal-light);outline-offset:3px;}
body.afkh-about .wp-block-afkh-hero__media{aspect-ratio:4/3;overflow:hidden;border-radius:var(--m2-radius-lg);background:var(--m2-bg-elev);border:1px solid var(--m2-line);box-shadow:var(--m2-shadow-sm);}
body.afkh-about .wp-block-afkh-hero__media img{display:block;width:100%;height:100%;object-fit:cover;}

/* --------------------------------------------------------------------------
   Generic afkh/intro — M2 override (scoped)
   -------------------------------------------------------------------------- */
body.afkh-about .wp-block-afkh-intro{padding:90px 0;background:var(--m2-bg);color:var(--m2-ink);}
body.afkh-about .wp-block-afkh-intro__inner{max-width:760px;margin:0 auto;padding:0 28px;text-align:center;}
body.afkh-about .wp-block-afkh-intro__eyebrow{display:inline-flex;align-items:center;gap:8px;margin:0 0 16px;padding:7px 16px;border-radius:var(--m2-radius-pill);background:var(--m2-teal-pale);color:var(--m2-teal-light);font-size:13px;font-weight:700;letter-spacing:.03em;}
body.afkh-about .wp-block-afkh-intro__title{margin:0 0 20px;color:var(--m2-ink);font-size:32px;font-weight:800;line-height:1.35;}
body.afkh-about .wp-block-afkh-intro__content{margin:0;color:var(--m2-ink-soft);font-size:15.5px;white-space:normal;}
body.afkh-about .wp-block-afkh-intro__content p{margin:0;color:inherit;font-size:inherit;line-height:1.9;}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media(max-width:900px){
  body.afkh-about .wp-block-afkh-hero__inner{grid-template-columns:1fr;gap:32px;}
}
@media(max-width:640px){
  body.afkh-about .wp-block-afkh-hero{padding:120px 0 56px;}
  body.afkh-about .wp-block-afkh-hero__inner{padding:0 18px;}
  body.afkh-about .wp-block-afkh-hero__title{font-size:28px;}
  body.afkh-about .wp-block-afkh-intro{padding:56px 0;}
  body.afkh-about .wp-block-afkh-intro__inner{padding:0 18px;}
  body.afkh-about .wp-block-afkh-intro__title{font-size:26px;}
}

/* --------------------------------------------------------------------------
   CTA inheritance fix: the global `.entry-content a:not(.wp-block-button__link)
   :not(.btn)` rule in main.css (specificity 0,3,1) was beating these buttons'
   own color/text-decoration, and its `:hover` variant (0,4,1) was beating the
   color on hover too. Raised specificity to match (0,3,1 / 0,4,1 for hover) so
   about.css (loaded last) wins the tie-break without !important. Background,
   border, radius, padding, and the existing hover background/transform rules
   are untouched — only `color`/`text-decoration` are set here.
   -------------------------------------------------------------------------- */
body.afkh-about .wp-block-afkh-hero .wp-block-afkh-hero__button{color:#071A33;text-decoration:none;}
body.afkh-about .wp-block-afkh-hero .wp-block-afkh-hero__button:hover{color:#071A33;}
/* Focus ring: the global `.entry-content a:not():not():focus-visible` rule (0,4,1)
   beats the About Hero focus rule (0,3,1), leaving a legacy gold outline. Match
   its specificity (0,4,1) so about.css (loaded last) wins without !important. */
body.afkh-about .wp-block-afkh-hero .wp-block-afkh-hero__button:focus-visible{outline-color:var(--m2-teal-light);}
body.afkh-about .wp-block-afkh-about-cta .wp-block-afkh-about-cta__button{color:#071A33;text-decoration:none;}
body.afkh-about .wp-block-afkh-about-cta .wp-block-afkh-about-cta__button:hover{color:#071A33;}

body.afkh-about .afkh-about-contact{padding:0 28px 90px;background:var(--m2-bg);color:var(--m2-ink);}
body.afkh-about .afkh-about-contact__inner{display:grid;grid-template-columns:minmax(240px,.72fr) minmax(0,1.28fr);gap:34px;align-items:stretch;max-width:var(--m2-container);margin:0 auto;padding:34px;border:1px solid var(--m2-line);border-radius:var(--m2-radius-lg);background:linear-gradient(135deg,rgba(47,111,237,.13),var(--m2-bg-elev) 42%);box-shadow:var(--m2-shadow-sm);}
body.afkh-about .afkh-about-contact__intro{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0;padding:10px 4px;}
body.afkh-about .afkh-about-contact__eyebrow{display:inline-flex;align-items:center;margin:0 0 14px;padding:6px 13px;border:1px solid rgba(100,163,255,.3);border-radius:var(--m2-radius-pill);background:var(--m2-teal-pale);color:var(--m2-teal-light);font-size:12px;font-weight:700;}
body.afkh-about .afkh-about-contact__intro h2{max-width:330px;margin:0 0 12px;color:var(--m2-ink);font-size:clamp(24px,3vw,34px);line-height:1.45;}
body.afkh-about .afkh-about-contact__intro>p:not(.afkh-about-contact__eyebrow){max-width:340px;margin:0 0 22px;color:var(--m2-ink-soft);font-size:14px;line-height:1.9;}
body.afkh-about .afkh-about-contact__link{display:inline-flex;align-items:center;gap:8px;color:var(--m2-teal-light);font-size:14px;font-weight:700;text-decoration:none;transition:gap .2s ease,color .2s ease;}
body.afkh-about .afkh-about-contact__link:hover{gap:12px;color:var(--m2-ink);}
body.afkh-about .afkh-about-contact__cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-content:center;min-width:0;}
body.afkh-about .afkh-about-contact__card{display:flex;align-items:flex-start;gap:14px;min-width:0;min-height:150px;padding:22px 20px;border:1px solid var(--m2-line);border-radius:var(--m2-radius-md);background:rgba(255,255,255,.035);transition:transform .22s ease,border-color .22s ease,background-color .22s ease;}
body.afkh-about .afkh-about-contact__card:hover{transform:translateY(-3px);border-color:rgba(100,163,255,.55);background:rgba(47,111,237,.08);}
body.afkh-about .afkh-about-contact__card--hours{grid-column:1 / -1;min-height:126px;}
body.afkh-about .afkh-about-contact__icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border:1px solid rgba(100,163,255,.28);border-radius:13px;background:var(--m2-teal-pale);color:var(--m2-teal-light);font-size:21px;line-height:1;}
body.afkh-about .afkh-about-contact__card h3{margin:0 0 8px;color:var(--m2-ink);font-size:15px;font-weight:800;line-height:1.5;}
body.afkh-about .afkh-about-contact__card p,body.afkh-about .afkh-about-contact__card a{display:block;margin:0;color:var(--m2-ink-soft);font-size:13px;line-height:1.9;overflow-wrap:anywhere;}
body.afkh-about .afkh-about-contact__card a{color:var(--m2-teal-light);font-size:17px;font-weight:800;letter-spacing:.02em;text-decoration:none;}
body.afkh-about .afkh-about-contact__card a:hover{color:var(--m2-ink);}
body.afkh-about .afkh-about-contact__card--hours>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 20px;flex:1;}
body.afkh-about .afkh-about-contact__card--hours h3{grid-column:1 / -1;margin-bottom:0;}
@media(max-width:900px){body.afkh-about .afkh-about-contact__inner{grid-template-columns:1fr;}.afkh-about-contact__intro h2{max-width:520px!important;}.afkh-about-contact__intro>p:not(.afkh-about-contact__eyebrow){max-width:560px!important;}}
@media(max-width:640px){body.afkh-about .afkh-about-contact{padding:0 16px 70px;}body.afkh-about .afkh-about-contact__inner{gap:24px;padding:24px 18px;border-radius:22px;}body.afkh-about .afkh-about-contact__cards{grid-template-columns:1fr;}body.afkh-about .afkh-about-contact__card--hours{grid-column:auto;}body.afkh-about .afkh-about-contact__card--hours>div{display:block;}body.afkh-about .afkh-about-contact__card--hours h3{margin-bottom:8px;}body.afkh-about .afkh-about-contact__card--hours p{margin-bottom:3px;}}
