/*
Theme Name: Win Specialty Care
Theme URI: https://winspecialtycare.com/
Author: Win Specialty Care
Description: A calm, mobile-first theme for a multi-specialty clinic. Templates for specialties, care team, clinician profiles, appointment requests, and contact.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: win-specialty-care
Tags: healthcare, clinic, medical, accessibility-ready, custom-menu, featured-images
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
  /* Quiet palette: deep slate for text, soft warm white ground, one deep
     teal that carries every action. Nothing else competes. */
  --ink:       #16232e;
  --slate:     #55636e;
  --bg:        #fbfaf8;
  --surface:   #ffffff;
  --line:      #e5e4de;
  --line-soft: #f0efe9;
  --accent:    #2e6f6a;

  /* Brand green — carries the header, the mobile sheet, the footer and
     every button on the site. */
  --brand:     #03672a;
  --brand-d:   #024f20;
  --brand-w:   #eaf3ec;
  --accent-d:  #22544f;
  --accent-w:  #eef4f2;

  /* Soft terracotta — the day labels in the footer hours table. */
  --terracotta: #f3c6b0;

  /* Two faces only. Newsreader carries voice; Karla carries everything else. */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* One fluid ramp from 360px to 1440px, so nothing needs a breakpoint
     just to stay readable. */
  --t-xs:  0.78rem;
  --t-sm:  clamp(0.86rem, 0.84rem + 0.1vw, 0.92rem);
  --t-md:  clamp(1rem, 0.97rem + 0.16vw, 1.09rem);
  --t-lg:  clamp(1.13rem, 1.06rem + 0.34vw, 1.31rem);
  --t-xl:  clamp(1.45rem, 1.28rem + 0.82vw, 2.05rem);
  --t-2xl: clamp(1.85rem, 1.5rem + 1.7vw, 3rem);
  --t-3xl: clamp(2.3rem, 1.7rem + 2.9vw, 4.1rem);

  --gutter: clamp(1.25rem, 5vw, 2.75rem);
  --wrap:   1140px;
  --narrow: 660px;
  --gap-y:  clamp(3.5rem, 9vw, 7rem);
  --radius: 3px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-md);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 0 0.55em;
  text-wrap: balance;
}

h1 { font-size: var(--t-3xl); }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-lg); line-height: 1.25; }

h1 em, h2 em { font-style: italic; color: var(--accent); }

p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-d); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: var(--narrow); }
.section { padding-block: var(--gap-y); }
.section--tint { background: var(--surface); border-block: 1px solid var(--line); }
.section--accent { background: var(--accent-w); }

.lede { font-size: var(--t-lg); color: var(--slate); line-height: 1.55; }

/* Small letterspaced label — replaces a third typeface, one device fewer. */
.label {
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.skip-link { position: absolute; left: -9999px; z-index: 999; background: var(--ink); color: #fff; padding: 0.85rem 1.25rem; }
.skip-link:focus { left: 0; top: 0; }

/* ==========================================================================
   3. Buttons — 48px minimum tap target
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  font-family: var(--sans);
  font-size: var(--t-sm);
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* Every button carries brand green. */
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-d); color: #fff; }

.btn--quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--quiet:hover { border-color: var(--brand); color: var(--brand-d); }

.btn--light { background: #fff; color: var(--brand-d); }
.btn--light:hover { background: var(--brand-w); color: var(--brand-d); }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--accent-d);
  text-decoration: none;
}
.link-more:hover { text-decoration: underline; }

/* ==========================================================================
   4. Header
   ========================================================================== */

.bar { background: var(--brand-d); color: rgba(255,255,255,0.85); font-size: var(--t-xs); }
.bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.3rem 1.25rem;
  padding-block: 0.6rem;
  text-align: center;
}
.bar a { color: #fff; text-decoration: none; }
.bar a:hover { text-decoration: underline; }
.bar__sep { opacity: 0.4; }

.masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--brand);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 88px;
  padding-block: 0.5rem;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand__logo {
  display: block;
  width: auto;
  height: clamp(41px, 7.2vw, 55px);
  max-width: min(74vw, 384px);
  object-fit: contain;
}

.nav { display: none; }
.nav ul { list-style: none; display: flex; align-items: center; gap: clamp(0.8rem, 1.7vw, 1.6rem); margin: 0; padding: 0; }
.nav a {
  font-size: var(--t-sm);
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  padding-block: 0.4rem;
  border-bottom: 1px solid transparent;
}
.nav a:hover, .nav .current-menu-item > a { border-bottom-color: rgba(255, 255, 255, 0.85); }

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  margin-right: -0.5rem;
  background: none;
  border: 0;
  cursor: pointer;
  color: #fff;
}
.menu-btn__bars { display: block; width: 22px; height: 1px; background: currentColor; position: relative; }
.menu-btn__bars::before, .menu-btn__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px; height: 1px;
  background: currentColor;
  transition: transform 0.22s ease, top 0.22s ease;
}
.menu-btn__bars::before { top: -7px; }
.menu-btn__bars::after { top: 7px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { top: 0; transform: rotate(-45deg); }

.sheet {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--brand);
  padding: 5.5rem var(--gutter) 2rem;
  overflow-y: auto;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.28s ease, visibility 0.28s;
}
.sheet.is-open { transform: translateY(0); visibility: visible; }
.sheet ul { list-style: none; margin: 0 0 2rem; padding: 0; }
.sheet li { border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.sheet a {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 0;
}
.sheet__contact { margin-top: 1.75rem; font-size: var(--t-sm); color: rgba(255, 255, 255, 0.75); }
.sheet__contact a { color: #fff; }

@media (min-width: 1100px) {
  .nav { display: block; }
  .menu-btn { display: none; }
  .sheet { display: none; }
}

/* ==========================================================================
   5. Hero
   ========================================================================== */

.hero { padding-block: clamp(3rem, 8vw, 6rem) clamp(2.5rem, 6vw, 4.5rem); }
.hero__title { margin-bottom: 0.5em; }
.hero__lede { max-width: 34rem; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__actions .btn { flex: 1 1 auto; min-width: 44%; }

.assurance {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.assurance dt { font-family: var(--serif); font-size: var(--t-xl); line-height: 1; margin-bottom: 0.35rem; }
.assurance dd { margin: 0; font-size: var(--t-sm); color: var(--slate); }

@media (min-width: 620px) {
  .hero__actions .btn { flex: 0 0 auto; min-width: 0; }
  .assurance { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

/* ==========================================================================
   6. Signature: the care index
   A specialty practice is, in the end, a list of specialties. So the list
   itself is the centrepiece — set in the serif, separated by hairlines, and
   used as navigation rather than decorated into a grid of cards.
   ========================================================================== */

.index-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }

.index-row a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 0.35rem 1.5rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.22s ease, border-color 0.22s ease;
}
.index-row a:hover, .index-row a:focus-visible { border-bottom-color: var(--accent); }

@media (hover: hover) {
  .index-row a:hover { padding-left: 0.6rem; }
}

.index-row__name { grid-column: 1; font-family: var(--serif); font-size: var(--t-xl); line-height: 1.2; }
.index-row a:hover .index-row__name { color: var(--accent-d); }

.index-row__note { grid-column: 1; grid-row: 2; font-size: var(--t-sm); color: var(--slate); max-width: 52ch; }

.index-row__cue {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-size: var(--t-sm);
  color: var(--accent);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.index-row a:hover .index-row__cue, .index-row a:focus-visible .index-row__cue { opacity: 1; transform: translateX(0); }

@media (min-width: 800px) {
  .index-row a { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr) auto; align-items: center; padding: 1.4rem 0; }
  .index-row__note { grid-column: 2; grid-row: 1; }
  .index-row__cue { grid-column: 3; grid-row: 1; }
}

/* Touch devices have no hover to reveal the arrow. */
@media (hover: none) {
  .index-row__cue { opacity: 0.5; transform: none; }
}

/* ==========================================================================
   7. Section headings
   ========================================================================== */

.head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.head h2 { margin-bottom: 0.4em; }
.head p { color: var(--slate); max-width: 46ch; margin: 0; }

@media (min-width: 860px) {
  .head--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); gap: 3rem; align-items: end; }
  .head--split h2 { margin-bottom: 0; }
}

/* ==========================================================================
   8. Clinicians
   ========================================================================== */

.team {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: clamp(1.75rem, 4vw, 2.75rem);
}

.person { display: flex; flex-direction: column; }

.person__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--accent-w);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  transition: opacity 0.25s ease;
}
.person a:hover .person__photo { opacity: 0.88; }

/* Initials stand-in until a portrait is uploaded. */
.person__photo--blank {
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.9rem;
  color: var(--accent);
}

.person__name { font-size: var(--t-lg); margin: 0 0 0.15rem; }
.person__name a { color: inherit; text-decoration: none; }
.person__name a:hover { color: var(--accent-d); }

.person__spec {
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.7rem;
}

.person__bio { font-size: var(--t-sm); color: var(--slate); margin: 0 0 0.9rem; }
.person__foot { margin-top: auto; }

.pills { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; margin: 0 0 0.9rem; padding: 0; }
.pills li { font-size: var(--t-xs); color: var(--slate); border: 1px solid var(--line); border-radius: 999px; padding: 0.2rem 0.65rem; }
.pills li.is-open { border-color: var(--accent); color: var(--accent-d); }

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: clamp(1.75rem, 4vw, 2.5rem); }
.filters a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 0.95rem;
  font-size: var(--t-sm);
  color: var(--slate);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.filters a:hover { border-color: var(--accent); color: var(--accent-d); }
.filters a.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ==========================================================================
   9. Clinician profile
   ========================================================================== */

.profile__head { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
.profile__photo {
  width: 100%;
  max-width: 18rem;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--accent-w);
  border-radius: var(--radius);
}
.profile__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

@media (min-width: 780px) {
  .profile__head { grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); align-items: start; }
}

.facts { display: grid; gap: 2rem; }
.facts h3 { font-family: var(--sans); font-size: var(--t-md); font-weight: 600; margin-bottom: 0.75rem; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; font-size: var(--t-sm); color: var(--slate); }
.facts li { padding-left: 1.1rem; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 7px; height: 1px; background: var(--accent); }

@media (min-width: 700px) { .facts { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }

/* ==========================================================================
   10. Cards, hours, forms
   ========================================================================== */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.card {
  background: var(--surface);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
a.card:hover { background: var(--accent-w); }
.card h3 { margin-bottom: 0.4rem; }
.card p { font-size: var(--t-sm); color: var(--slate); margin: 0; }
.card .link-more { margin-top: auto; padding-top: 1.25rem; }

.hours { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.hours th, .hours td { text-align: left; padding: 0.8rem 0; border-bottom: 1px solid var(--line-soft); }
.hours th { font-weight: 500; color: var(--slate); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr[data-now="1"] th { color: var(--ink); font-weight: 700; }
.hours tr[data-now="1"] td { color: var(--accent-d); font-weight: 600; }

.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2rem); }

.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: 0.4rem; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: var(--t-sm); font-weight: 600; }
.field .hint { font-weight: 400; font-size: var(--t-xs); color: var(--slate); }

.field input, .field select, .field textarea {
  font-family: var(--sans);
  font-size: 16px; /* keeps iOS from zooming the page on focus */
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem 0.85rem;
  min-height: 48px;
  width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-w);
}

.notice { font-size: var(--t-sm); color: var(--slate); background: var(--accent-w); border-radius: var(--radius); padding: 0.9rem 1.1rem; }

@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   11. Editorial
   ========================================================================== */

.entry__content > * { max-width: var(--narrow); }
.entry__content h2 { font-size: var(--t-xl); margin-top: 1.8em; }
.entry__content h3 { margin-top: 1.6em; }
.entry__content ul, .entry__content ol { padding-left: 1.15rem; color: var(--slate); }
.entry__content li { margin-bottom: 0.45rem; }
.entry__content blockquote {
  margin: 2rem 0;
  padding-left: 1.25rem;
  border-left: 2px solid var(--accent);
  font-family: var(--serif);
  font-size: var(--t-lg);
  font-style: italic;
}
.entry__content img { border-radius: var(--radius); margin-block: 1.5rem; }

.posts { border-top: 1px solid var(--line); }
.post-item { border-bottom: 1px solid var(--line); padding: 1.5rem 0; }
.post-item h2 { font-size: var(--t-lg); margin-bottom: 0.3rem; }
.post-item h2 a { color: inherit; text-decoration: none; }
.post-item h2 a:hover { color: var(--accent-d); }
.post-item p { font-size: var(--t-sm); color: var(--slate); margin: 0; }
.post-item time { font-size: var(--t-xs); color: var(--slate); letter-spacing: 0.08em; text-transform: uppercase; }

.pager { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 2rem; }
.pager .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px; min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: var(--t-sm);
  text-decoration: none;
  color: var(--ink);
}
.pager .current { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ==========================================================================
   12. Footer
   ========================================================================== */

.footer { background: var(--brand); color: rgba(255,255,255,0.82); padding-block: clamp(3rem, 7vw, 4.5rem) 1.75rem; font-size: var(--t-sm); }
.footer h2 {
  font-family: var(--sans);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.footer a { color: rgba(255,255,255,0.9); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.footer p { color: rgba(255,255,255,0.82); }

/* Footer hours: day labels in soft terracotta, times in muted white. */
.footer .hours th,
.footer .hours tr[data-now="1"] th { color: var(--terracotta); }
.footer .hours td { color: rgba(255,255,255,0.82); }
.footer .hours tr[data-now="1"] td { color: #fff; }
.footer .hours th, .footer .hours td { border-bottom-color: rgba(255,255,255,0.14); }
.footer .hours__tz { margin-top: 0.75rem; font-size: var(--t-xs); color: rgba(255,255,255,0.65); }

.footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 3rem; } }

.footer__base {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.14);
  display: grid;
  gap: 0.6rem;
  justify-items: center;
  text-align: center;
  font-size: var(--t-xs);
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
}
.footer__base p { color: inherit; margin: 0; }
.footer__copy { color: rgba(255,255,255,0.9); }
.footer__legal { margin-top: 0.25rem; }
.footer__base a { color: rgba(255,255,255,0.75); }

/* Sticky call/book dock — phones only, where tapping beats scrolling back up. */
.dock {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 55;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}
.dock a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  background: var(--surface);
  font-size: var(--t-sm);
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}
.dock a.dock--go { background: var(--brand); color: #fff; }
.dock a.dock--go:hover { background: var(--brand-d); color: #fff; }

@media (min-width: 700px) { .dock { display: none; } }
@media (max-width: 699px) { body { padding-bottom: 55px; } }

/* ==========================================================================
   13. Prose blocks, service list, social
   ========================================================================== */

.prose { max-width: var(--narrow); }
.prose--wide { max-width: 46rem; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { margin-bottom: 0.6em; }
.prose p { color: var(--slate); }
.prose__action { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

.bio__creds { font-family: var(--serif); font-size: var(--t-lg); color: var(--ink) !important; }
.bio__role {
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-d) !important;
  margin-top: 0.35rem !important;
}

.svc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem 2.5rem; }
@media (min-width: 720px) { .svc-list { grid-template-columns: repeat(2, 1fr); } }
.svc-list li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.9rem;
  border-bottom: 1px solid var(--line);
  font-size: var(--t-md);
}
.svc-list li::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 1.15rem;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

.action-set { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.5rem; }
.action-set .btn { flex: 0 1 auto; }

.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--brand);
  background: var(--surface);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.social__link svg { width: 22px; height: 22px; }
a.social__link:hover, a.social__link:focus-visible { background: var(--brand); border-color: var(--brand); color: #fff; }
.social__link.is-placeholder { opacity: 0.45; cursor: default; }

.portal__note { font-size: var(--t-sm); color: var(--slate); margin-top: 1.5rem !important; }

/* WordPress core classes */
.alignwide { max-width: 100%; }
.aligncenter { margin-inline: auto; }
.wp-caption-text { font-size: var(--t-xs); color: var(--slate); }
