/* ============================================================
   PMCK — specialty template
   Ported from the approved specialty-dental.html mockup: the same
   rules, scoped under .pmck-spec, with the mockup's hardcoded
   greens swapped for the theme's context variables so a
   subsidiary recolours this page too.
   ============================================================ */

.pmck-spec{--wrap:1240px;}
/* The hero sits outside .wrap, so it needs the same width or it looks indented
   against every section below it. */
.pmck-spec .pmck-wrap{max-width:1240px;padding:0 40px;}
@media (max-width:767px){.pmck-spec .pmck-wrap{padding:0 20px;}}
.pmck-spec a{color:inherit;}
.pmck-spec h1, .pmck-spec h2, .pmck-spec h3, .pmck-spec h4{color:var(--brand-ink);margin:0;}
.pmck-spec .wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 40px;}
.pmck-spec .kicker{
  display:inline-block;font-size:16px;font-weight:700;letter-spacing:.04em;
  text-transform:uppercase;color:var(--brand);margin-bottom:12px;
}
.pmck-spec .sec{padding:66px 0;}
.pmck-spec .sec.on-sage{background:var(--brand-soft);}
.pmck-spec .sec.on-sage-2{background:var(--brand-soft);}
.pmck-spec .sec-head{max-width:64ch;margin-bottom:36px;}
.pmck-spec .sec-head.center{margin-left:auto;margin-right:auto;text-align:center;}
.pmck-spec .sec-head h2{font-size:clamp(24px,2.6vw,32px);line-height:1.25;font-weight:700;margin-bottom:12px;}
.pmck-spec .sec-head p{margin:0;font-size:17px;}
.pmck-spec .overview .grid{display:grid;grid-template-columns:1.4fr 1fr;gap:44px;align-items:start;}
.pmck-spec .overview p{margin:0 0 18px;font-size:18px;}
.pmck-spec .overview p:last-child{margin-bottom:0;}
.pmck-spec .aside{
  background:var(--brand-soft);border-radius:var(--radius);padding:28px 30px;
}
.pmck-spec .aside h3{font-size:18px;font-weight:700;margin-bottom:14px;}
.pmck-spec .aside ul{list-style:none;margin:0;padding:0;}
.pmck-spec .aside li{
  position:relative;padding-left:26px;margin-bottom:11px;font-size:16px;line-height:1.55;
}
.pmck-spec .aside li:last-child{margin-bottom:0;}
.pmck-spec .aside li::before{
  content:"";position:absolute;left:0;top:9px;width:9px;height:9px;border-radius:50%;
  background:var(--accent);
}
.pmck-spec .help-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;}
.pmck-spec .help{
  display:block;text-decoration:none;background:var(--white);
  border:1px solid var(--line);border-radius:var(--radius);padding:24px 22px;
  transition:box-shadow .22s,transform .22s,border-color .22s;
}
.pmck-spec .help:hover{box-shadow:0 12px 28px rgba(2,48,32,.09);transform:translateY(-2px);border-color:var(--brand-pale);}
.pmck-spec .help .ico{
  width:44px;height:44px;border-radius:9px;background:var(--brand-soft);
  display:grid;place-items:center;margin-bottom:16px;color:var(--brand);
}
.pmck-spec .help .ico svg{width:24px;height:24px;stroke:currentColor;stroke-width:1.7;fill:none;}
.pmck-spec .help h3{font-size:17px;font-weight:700;margin-bottom:6px;}
.pmck-spec .help p{margin:0;font-size:16px;line-height:1.5;}
.pmck-spec .help .go{
  display:inline-block;margin-top:12px;font-size:16px;font-weight:600;color:var(--brand);
}
.pmck-spec .tabs{margin-top:8px;}
.pmck-spec .tablist{
  display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px;
}
.pmck-spec .tab{
  font-family:inherit;font-size:16px;font-weight:600;cursor:pointer;
  background:var(--white);border:1px solid var(--line);color:var(--brand-ink);
  padding:11px 18px;border-radius:999px;transition:.2s;
}
.pmck-spec .tab:hover{border-color:var(--brand);}
.pmck-spec .tab[aria-selected="true"]{background:var(--brand);border-color:var(--brand);color:#fff;}
.pmck-spec .panelwrap{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);}
.pmck-spec .panel{padding:34px 36px;}
.pmck-spec .tabs.js-tabs .panel{display:none;}
.pmck-spec .tabs.js-tabs .panel.is-active{display:block;animation:fade .35s ease;}
@keyframes fade{
  .pmck-spec from{opacity:0;transform:translateY(6px);}
  .pmck-spec to{opacity:1;transform:none;}
}
.pmck-spec .panel .lead{font-size:19px;color:var(--brand-ink);font-weight:600;margin:0 0 20px;max-width:60ch;}
.pmck-spec .panel .cols{display:grid;grid-template-columns:1.3fr 1fr;gap:36px;}
.pmck-spec .panel h4{font-size:16px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:var(--brand);margin-bottom:14px;}
.pmck-spec .tlist{list-style:none;margin:0;padding:0;}
.pmck-spec .tlist li{position:relative;padding-left:28px;margin-bottom:12px;font-size:17px;line-height:1.5;}
.pmck-spec .tlist li::before{
  content:"";position:absolute;left:0;top:3px;width:18px;height:18px;border-radius:50%;
  background:var(--brand-soft);
}
.pmck-spec .tlist li::after{
  content:"";position:absolute;left:6px;top:8px;width:6px;height:3px;
  border-left:2px solid var(--brand);border-bottom:2px solid var(--brand);
  transform:rotate(-45deg);
}
.pmck-spec .benefit{background:var(--brand-pale);border-radius:var(--radius);padding:22px 24px;align-self:start;}
.pmck-spec .benefit .l{font-size:16px;font-weight:700;color:var(--brand);margin-bottom:6px;}
.pmck-spec .benefit p{margin:0;font-size:16px;line-height:1.55;color:var(--brand-ink);}
.pmck-spec .steps{display:grid;grid-template-columns:repeat(5,1fr);gap:0;counter-reset:step;}
.pmck-spec .step{padding:0 22px;position:relative;}
.pmck-spec .step:not(:first-child)::before{
  content:"";position:absolute;left:0;top:19px;width:1px;height:calc(100% - 19px);background:var(--line);
}
.pmck-spec .step .num{
  width:38px;height:38px;border-radius:50%;background:var(--brand);color:#fff;
  display:grid;place-items:center;font-weight:700;font-size:17px;margin-bottom:16px;
}
.pmck-spec .step h3{font-size:17px;font-weight:700;margin-bottom:8px;}
.pmck-spec .step p{margin:0;font-size:16px;line-height:1.55;}
.pmck-spec .note-inline{
  margin-top:30px;background:var(--brand-soft);border-radius:var(--radius);padding:18px 22px;
  font-size:16px;color:var(--brand-ink);
}
.pmck-spec .note-inline strong{color:var(--brand);}
.pmck-spec .team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.pmck-spec .doc{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;}
.pmck-spec .doc .photo{
  aspect-ratio:4/3;background:var(--brand-soft);display:grid;place-items:center;
  color:#9fb08f;font-size:16px;border-bottom:1px solid var(--line);
}
.pmck-spec .doc .body{padding:22px 24px;}
.pmck-spec .doc h3{font-size:19px;font-weight:700;margin-bottom:4px;}
.pmck-spec .doc .role{font-size:16px;color:var(--brand);font-weight:600;margin-bottom:10px;}
.pmck-spec .doc p{margin:0;font-size:16px;line-height:1.55;}
.pmck-spec .why-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px 40px;}
.pmck-spec .why{display:flex;gap:16px;align-items:flex-start;}
.pmck-spec .why .ico{
  flex-shrink:0;width:44px;height:44px;border-radius:9px;background:#fff;
  border:1px solid var(--line);display:grid;place-items:center;color:var(--brand);
}
.pmck-spec .why .ico svg{width:24px;height:24px;stroke:currentColor;stroke-width:1.7;fill:none;}
.pmck-spec .why h3{font-size:17px;font-weight:700;margin-bottom:5px;}
.pmck-spec .why p{margin:0;font-size:16px;line-height:1.55;}
.pmck-spec .why.feature{
  grid-column:1/-1;background:var(--brand);border-radius:var(--radius);
  padding:26px 28px;align-items:center;
}
.pmck-spec .why.feature .ico{background:rgba(255,255,255,.12);border-color:transparent;color:#fff;}
.pmck-spec .why.feature h3{color:#fff;font-size:19px;}
.pmck-spec .why.feature p{color:rgba(255,255,255,.82);}
.pmck-spec .book{background:var(--brand);}
.pmck-spec .book .wrap{padding:60px 40px;}
.pmck-spec .book-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:44px;align-items:center;}
.pmck-spec .book h2{color:#fff;font-size:clamp(24px,2.6vw,32px);line-height:1.2;font-weight:700;margin-bottom:14px;}
.pmck-spec .book p{color:rgba(255,255,255,.82);font-size:17px;margin:0 0 8px;}
.pmck-spec .book .addr{color:#fff;font-weight:600;font-size:17px;margin-top:16px;line-height:1.5;}
.pmck-spec .book .btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px;}
.pmck-spec .btn{
  display:inline-flex;align-items:center;gap:12px;text-decoration:none;
  font-size:16px;font-weight:600;padding:13px 13px 13px 22px;border-radius:6px;transition:.2s;
}
.pmck-spec .btn-primary{background:#fff;color:var(--brand);}
.pmck-spec .btn-primary:hover{background:var(--brand-soft);}
.pmck-spec .btn-ghost{background:rgba(255,255,255,.1);color:#fff;}
.pmck-spec .btn-ghost:hover{background:rgba(255,255,255,.2);}
.pmck-spec .btn .sq{width:26px;height:26px;border-radius:4px;background:rgba(var(--brand-rgb),.14);display:grid;place-items:center;font-size:14px;}
.pmck-spec .btn-ghost .sq{background:rgba(255,255,255,.16);}
.pmck-spec .book-card{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);border-radius:var(--radius);padding:26px 28px;}
.pmck-spec .book-card h3{color:#fff;font-size:17px;font-weight:700;margin-bottom:14px;}
.pmck-spec .book-card .row{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.12);font-size:16px;color:rgba(255,255,255,.82);}
.pmck-spec .book-card .row:last-child{border-bottom:0;}
.pmck-spec .book-card .row b{color:#fff;font-weight:600;}
.pmck-spec .pkg{
  display:flex;align-items:center;gap:14px;margin-top:18px;padding:16px 18px;
  background:linear-gradient(150deg,var(--accent),var(--accent));border-radius:var(--radius);
  text-decoration:none;
}
.pmck-spec .pkg .t{flex:1;}
.pmck-spec .pkg .t b{display:block;color:#fff;font-size:16px;font-weight:700;}
.pmck-spec .pkg .t span{color:rgba(255,255,255,.9);font-size:16px;}
.pmck-spec .pkg .sq{width:30px;height:30px;border-radius:6px;background:rgba(255,255,255,.22);display:grid;place-items:center;color:#fff;}
.pmck-spec .other-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.pmck-spec .spec{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:28px;transition:box-shadow .22s,transform .22s;}
.pmck-spec .spec:hover{box-shadow:0 12px 28px rgba(2,48,32,.09);transform:translateY(-2px);}
.pmck-spec .spec h3{font-size:19px;font-weight:700;margin-bottom:10px;}
.pmck-spec .spec p{margin:0 0 18px;font-size:16px;line-height:1.6;}
.pmck-spec .spec .more{display:inline-flex;align-items:center;gap:10px;font-size:16px;font-weight:600;color:var(--brand);text-decoration:none;}
.pmck-spec .spec .more .sq{width:24px;height:24px;border-radius:4px;background:var(--brand);color:#fff;display:grid;place-items:center;font-size:13px;}
.pmck-spec .other-foot{margin-top:30px;text-align:center;}
.pmck-spec .viewall{display:inline-flex;align-items:center;gap:10px;background:var(--brand);color:#fff;text-decoration:none;font-size:16px;font-weight:600;padding:12px 12px 12px 22px;border-radius:6px;transition:.2s;}
.pmck-spec .viewall:hover{background:var(--brand-dark);}
.pmck-spec .viewall .sq{width:26px;height:26px;border-radius:4px;background:rgba(255,255,255,.16);display:grid;place-items:center;}
.pmck-spec :focus-visible{outline:2px solid var(--brand);outline-offset:3px;}
.pmck-spec .book :focus-visible{outline-color:#fff;}
@media (max-width:1100px){
  .pmck-spec .help-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:767px){
  .pmck-spec .wrap{padding:0 28px;}
  .pmck-spec .book .wrap{padding-left:28px;padding-right:28px;}
  .pmck-spec .overview .grid{grid-template-columns:1fr;gap:28px;}
  .pmck-spec .panel .cols{grid-template-columns:1fr;gap:24px;}
  .pmck-spec .steps{grid-template-columns:1fr 1fr;gap:28px 0;}
  .pmck-spec .step{padding:0 18px;}
  .pmck-spec .step::before{display:none;}
  .pmck-spec .team-grid, .pmck-spec .other-grid{grid-template-columns:1fr 1fr;}
  .pmck-spec .why-grid{grid-template-columns:1fr;gap:16px;}
  .pmck-spec .book-grid{grid-template-columns:1fr;gap:28px;}
  .pmck-spec .sec{padding:52px 0;}
}
@media (max-width:599px){
  .pmck-spec .wrap{padding:0 20px;}
  .pmck-spec .book .wrap{padding-left:20px;padding-right:20px;}
  .pmck-spec .help-grid, .pmck-spec .steps, .pmck-spec .team-grid, .pmck-spec .other-grid{grid-template-columns:1fr;}
  .pmck-spec .step{padding:0;}
  .pmck-spec .panel{padding:26px 22px;}
  .pmck-spec .tablist{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px;-webkit-overflow-scrolling:touch;}
  .pmck-spec .tab{flex-shrink:0;}
  .pmck-spec .book .btns .btn{flex:1;justify-content:center;}
}


/* ------------------------------------------------------------
   Sections the dental mockup had no example of. Built from the
   same vocabulary rather than a new visual language: divisions,
   approaches, callout bands and info blocks. Worth a look before
   they go live on O&G, Paediatrics, Radiology, General Surgery,
   Orthodontics and Urology.
   ------------------------------------------------------------ */

/* Divisions: a specialty with two sides (O&G, Paediatrics, Radiology) gets one
   named block each, with its own tab group. The lime rail and the rule between
   blocks are what stop twelve tabs reading as one undifferentiated run. */
.pmck-spec .division + .division{
  margin-top:56px;padding-top:52px;border-top:1px solid var(--line);
}
.pmck-spec .division-head{
  display:flex;gap:16px;align-items:flex-start;margin-bottom:26px;max-width:70ch;
}
.pmck-spec .division-bar{
  flex-shrink:0;width:6px;align-self:stretch;min-height:52px;border-radius:3px;
  background:var(--accent);
}
.pmck-spec .division-name{
  display:flex;align-items:center;gap:12px;flex-wrap:wrap;
  font-size:clamp(21px,2.2vw,26px);line-height:1.2;margin:0 0 6px;
}
.pmck-spec .division-intro{margin:0;font-size:17px;line-height:1.6;}
.pmck-spec .division-flag{
  font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;
  background:var(--brand-pale);color:var(--brand-ink);border-radius:999px;padding:4px 12px;
}

/* Approaches: comparison cards. Equal height so the footnotes line up across
   the row, because the whole point is reading them against each other. */
.pmck-spec .appr-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:20px;align-items:stretch;
}
.pmck-spec .appr{
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  padding:28px 26px;display:flex;flex-direction:column;
}
.pmck-spec .appr h3{font-size:20px;margin-bottom:6px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.pmck-spec .appr-when{
  margin:0 0 18px;padding-bottom:16px;border-bottom:1px solid var(--line);
  font-size:16px;font-weight:600;color:var(--brand);line-height:1.5;
}
.pmck-spec .appr .tlist{flex:1;margin-bottom:18px;}
.pmck-spec .appr-foot{
  margin:0;padding-top:16px;border-top:1px solid var(--line);
  font-size:15px;line-height:1.5;color:var(--muted);font-style:italic;
}
/* The caveat that decides between the cards. Sits under the grid, full width,
   because it applies to all of them rather than to any one. */
.pmck-spec .appr-note{
  margin-top:26px;padding:18px 22px;font-size:16px;line-height:1.6;
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  color:var(--brand-ink);
}

/* Callout band: a full-width strip, not a card, so it reads as a change of
   voice rather than another box in the flow. */
.pmck-spec .callout{padding:54px 0;background:var(--brand);}
.pmck-spec .callout-in{
  display:flex;gap:26px;align-items:flex-start;max-width:78ch;
}
.pmck-spec .callout-in h2,.pmck-spec .callout-in .kicker{color:#fff;}
.pmck-spec .callout-in .kicker{color:var(--accent);margin-bottom:10px;}
.pmck-spec .callout-in h2{font-size:clamp(23px,2.4vw,30px);line-height:1.25;margin-bottom:12px;}
.pmck-spec .callout-in p{margin:0;color:rgba(255,255,255,.86);font-size:17px;line-height:1.7;}
.pmck-spec .callout-ico{
  flex-shrink:0;width:64px;height:64px;border-radius:12px;
  background:rgba(255,255,255,.13);display:grid;place-items:center;color:#fff;
}
.pmck-spec .callout-ico svg{width:32px;height:32px;fill:currentColor;}
.pmck-spec .callout-in .btn{margin-left:auto;flex-shrink:0;}
.pmck-spec .callout.is-lime{background:var(--accent);}
.pmck-spec .callout.is-lime .callout-in h2,
.pmck-spec .callout.is-lime .callout-in p,
.pmck-spec .callout.is-lime .callout-in .kicker{color:var(--brand-ink);}
.pmck-spec .callout.is-lime .callout-ico{color:var(--brand-ink);background:rgba(2,48,32,.12);}
.pmck-spec .callout.is-red{background:var(--red);}
.pmck-spec .callout.is-red .callout-in .kicker{color:rgba(255,255,255,.85);}

.pmck-spec .info-block{max-width:74ch;margin-bottom:30px;}
.pmck-spec .info-block h3{font-size:20px;margin-bottom:8px;}

.pmck-spec .doc .photo img{width:100%;height:100%;object-fit:cover;}
.pmck-spec .help .ico svg{fill:currentColor;}
.pmck-spec .why .ico svg{fill:currentColor;}

@media (max-width:767px){
  .pmck-spec .callout{padding:44px 0;}
  .pmck-spec .callout-in{flex-direction:column;gap:18px;}
  .pmck-spec .callout-in .btn{margin-left:0;}
  .pmck-spec .division + .division{margin-top:40px;padding-top:36px;}
}


/* Emergency row inside the booking card: the label reads as any other label,
   and the value becomes the red button that opens the popup. */
.pmck-spec .book-card .row--emergency{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
}
.pmck-spec .book-card .row span{display:inline-flex;align-items:center;}
.pmck-btn--sm{
  padding:8px 14px;font-size:16px;border-radius:8px;line-height:1.2;
}