/* 이조은치과 · Clinical Salon secondary treatment guides · 2026-10-31
 * A shared LAST stylesheet for eight distinct clinical pages.
 * Keep original artwork, text, medical claims, search markup, appointment links,
 * patient safety instructions and mobile docks completely unchanged.
 * Design continuity with the home gallery: museum paper, restrained matting,
 * accessible typography and clear patient navigation. */
body.care-gallery.care-gallery-secondary {
  --salon-secondary-ink:#254838;
  --salon-secondary-gold:#a78d61;
  --salon-secondary-line:#dcd1bd;
  --salon-secondary-paper:#fffdf8;
}
body.care-gallery.care-gallery-secondary .care-secondary-breadcrumb {
  border:1px solid #ddd3c1;
  border-radius:5px 11px 5px 11px;
  background:#fcfaf4;
  box-shadow:none;
  color:#48634e;
}
body.care-gallery.care-gallery-secondary .care-secondary-breadcrumb a {
  text-underline-offset:4px;
}
body.care-gallery.care-gallery-secondary .care-gallery-article-shell>h1,
body.care-gallery.care-gallery-secondary.secondary-hero main>.hero h1 {
  color:var(--salon-secondary-ink);
  font-family:'Noto Serif KR','Apple SD Gothic Neo','Malgun Gothic',serif;
  font-weight:700;
  letter-spacing:-.055em;
  line-height:1.46;
  word-break:keep-all;
  overflow-wrap:anywhere;
  text-wrap:balance;
}
body.care-gallery.care-gallery-secondary .care-gallery-article-shell>.intro,
body.care-gallery.care-gallery-secondary .care-gallery-article-shell>h1+p:not(.intro) {
  border:1px solid #ded5c5;
  border-left:4px solid #9eaa91;
  border-radius:4px 12px 4px 12px;
  background:linear-gradient(128deg,#f8f9f1,#fffefa);
  box-shadow:0 7px 20px rgba(31,53,40,.037);
}
body.care-gallery.care-gallery-secondary :is(.clinician-byline,.gallery-secondary-clinician) {
  border-color:#ddd5c5;
  border-left-color:#a99164;
  border-radius:4px 12px 4px 12px;
  background:#fffcf7;
  box-shadow:0 7px 23px rgba(32,56,40,.045);
}
body.care-gallery.care-gallery-secondary .treatment-hero-actions>a,
body.care-gallery.care-gallery-secondary .treatment-hero-actions a {
  box-sizing:border-box;
  min-width:0;
  min-height:50px;
  border-radius:5px 11px 5px 11px;
  font-weight:750;
  text-align:center;
  line-height:1.55;
  overflow-wrap:anywhere;
}
body.care-gallery.care-gallery-secondary .treatment-hero-actions a:focus-visible {
  outline:3px solid #a17c40;
  outline-offset:3px;
}
/* Each page retains its own locally authored medical illustration. */
body.care-gallery.care-gallery-secondary .ejoeun-topic-art {
  border:1px solid #cfc0a5;
  border-top:3px solid #a99164;
  border-radius:4px 15px 4px 15px;
  background:linear-gradient(145deg,#f4eee2,#fffdf8 61%,#f2f5ee);
  box-shadow:0 15px 32px rgba(31,55,40,.072);
}
body.care-gallery.care-gallery-secondary .ejoeun-topic-art__visual {
  box-sizing:border-box;
  min-width:0;
  border:6px solid #fffaf0;
  outline:1px solid #d5c7b0;
  background:#f6f0e5;
  box-shadow:0 7px 20px rgba(31,55,39,.065);
}
body.care-gallery.care-gallery-secondary .ejoeun-topic-art__visual img {
  display:block;
  width:100%;
  height:auto;
  max-height:none;
  object-fit:contain;
  object-position:center;
}
body.care-gallery.care-gallery-secondary .ejoeun-topic-art__caption {
  min-width:0;
  padding:clamp(18px,2.4vw,32px);
}
body.care-gallery.care-gallery-secondary .ejoeun-topic-art__caption strong {
  color:#244936;
  font-family:'Noto Serif KR','Apple SD Gothic Neo','Malgun Gothic',serif;
  font-weight:700;
  line-height:1.55;
  letter-spacing:-.04em;
  text-wrap:balance;
}
body.care-gallery.care-gallery-secondary .ejoeun-topic-art__caption>span {
  color:#4c6353;
  line-height:1.87;
}
body.care-gallery.care-gallery-secondary .ejoeun-topic-art__caption>a {
  min-height:44px;
  font-weight:750;
  text-underline-offset:5px;
}
body.care-gallery.care-gallery-secondary .gallery-section-index {
  border:1px solid #d8cfbd;
  border-left:4px solid #aa946c;
  border-radius:5px 13px 5px 13px;
  background:linear-gradient(125deg,#f5f4eb,#fffdf8);
  box-shadow:0 7px 20px rgba(30,52,40,.043);
}
body.care-gallery.care-gallery-secondary .gallery-section-index>strong {
  color:#294d3a;
  font-family:'Noto Serif KR','Apple SD Gothic Neo','Malgun Gothic',serif;
  font-size:clamp(16px,1.6vw,20px);
  letter-spacing:-.035em;
  line-height:1.55;
}
body.care-gallery.care-gallery-secondary .gallery-section-index>a {
  box-sizing:border-box;
  min-width:0;
  min-height:48px;
  border:1px solid #d5dbcf;
  border-radius:5px 10px 5px 10px;
  background:#fffefa;
  color:#285740;
  font-weight:750;
  line-height:1.55;
  text-align:center;
  overflow-wrap:anywhere;
  word-break:keep-all;
}
body.care-gallery.care-gallery-secondary .gallery-section-index>a:hover {
  background:#eff4eb;
  border-color:#9eaf95;
}
body.care-gallery.care-gallery-secondary .gallery-section-index>a:focus-visible,
body.care-gallery.care-gallery-secondary .ejoeun-topic-art__caption>a:focus-visible {
  outline:3px solid #a17c40;
  outline-offset:3px;
}
body.care-gallery.care-gallery-secondary.secondary-hero main>.hero::before {
  content:none;
  display:none;
}
body.care-gallery.care-gallery-secondary.secondary-hero main>.hero {
  background:linear-gradient(135deg,#fffdf8,#f6f7ef);
  border-top:3px solid #aa946b;
  border-bottom:1px solid #ddd4c3;
}
body.care-gallery.care-gallery-secondary .care-gallery-article-shell>section {
  border-color:#ded8ca;
  border-radius:5px 13px 5px 13px;
  box-shadow:0 8px 24px rgba(30,55,40,.035);
}
@media(max-width:760px) {
  body.care-gallery.care-gallery-secondary .ejoeun-topic-art {
    grid-template-columns:minmax(0,1fr);
    gap:8px;
  }
  body.care-gallery.care-gallery-secondary .ejoeun-topic-art__caption {
    padding:19px 16px 21px;
  }
  body.care-gallery.care-gallery-secondary .ejoeun-topic-art__visual {
    border-width:5px;
  }
  body.care-gallery.care-gallery-secondary .gallery-section-index {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    padding:15px 12px;
  }
  body.care-gallery.care-gallery-secondary .gallery-section-index>a {
    min-height:50px;
    padding:10px 8px;
  }
}
@media(max-width:600px) {
  body.care-gallery.care-gallery-secondary .care-secondary-breadcrumb {
    margin-top:10px;
    padding:10px 13px;
  }
  body.care-gallery.care-gallery-secondary .care-gallery-article-shell>h1 {
    line-height:1.45;
  }
  body.care-gallery.care-gallery-secondary .ejoeun-topic-art__caption strong {
    font-size:clamp(20px,5.3vw,27px);
  }
  body.care-gallery.care-gallery-secondary .treatment-hero-actions a {
    min-height:50px;
  }
}
@media(max-width:350px) {
  body.care-gallery.care-gallery-secondary .gallery-section-index {
    grid-template-columns:minmax(0,1fr);
  }
}
@media(prefers-reduced-motion:reduce) {
  body.care-gallery.care-gallery-secondary .gallery-section-index>a {
    transition:none;
    transform:none;
  }
}
@media(forced-colors:active) {
  body.care-gallery.care-gallery-secondary :is(.care-secondary-breadcrumb,.clinician-byline,.gallery-secondary-clinician,.ejoeun-topic-art,.ejoeun-topic-art__visual,.gallery-section-index),
  body.care-gallery.care-gallery-secondary .gallery-section-index>a {
    background:Canvas;
    color:CanvasText;
    border-color:CanvasText;
    box-shadow:none;
  }
  body.care-gallery.care-gallery-secondary .ejoeun-topic-art__caption :is(strong,span,a) {
    color:CanvasText;
  }
}


/* 2026-10-31 | Conserving care galleries: cavities, dentures and implants.
   Readable letterpress-style patient choices. Images remain unique to each
   guide, without cropping, visual claims, extra scripts or booking changes. */
body.care-gallery.care-gallery-secondary:is(.secondary-cavity,.secondary-denture,.secondary-implant) {
  --conserving-ink:#234935;
  --conserving-paper:#fffefa;
  --conserving-edge:#d7cbb6;
  --conserving-accent:#ac9369;
  background:linear-gradient(180deg,#faf9f3 0,#fffefa 540px);
}
body.care-gallery.care-gallery-secondary.secondary-cavity { --conserving-accent:#799986; }
body.care-gallery.care-gallery-secondary.secondary-denture { --conserving-accent:#ae9674; }
body.care-gallery.care-gallery-secondary.secondary-implant { --conserving-accent:#87968d; }
body.care-gallery.care-gallery-secondary:is(.secondary-cavity,.secondary-denture,.secondary-implant) .care-gallery-article-shell {
  color:#304c3b;
  line-height:1.85;
  overflow-wrap:anywhere;
}
body.care-gallery.care-gallery-secondary:is(.secondary-cavity,.secondary-denture,.secondary-implant) .care-gallery-article-shell>h1 {
  max-width:31ch;
  color:var(--conserving-ink);
  font-family:"Noto Serif KR","Apple SD Gothic Neo","Malgun Gothic",serif;
  font-weight:700;
  line-height:1.47;
  letter-spacing:-.055em;
  text-wrap:balance;
  word-break:keep-all;
}
body.care-gallery.care-gallery-secondary:is(.secondary-cavity,.secondary-denture,.secondary-implant) .care-gallery-article-shell>h1 + p {
  max-width:77ch;
  color:#475e4e;
  line-height:1.88;
}
body.care-gallery.care-gallery-secondary:is(.secondary-cavity,.secondary-denture,.secondary-implant) .treatment-page-toc.gallery-section-index {
  box-sizing:border-box;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  align-items:stretch;
  gap:10px;
  padding:clamp(17px,2vw,26px);
  border:1px solid var(--conserving-edge);
  border-top:3px solid var(--conserving-accent);
  border-radius:4px 14px 4px 14px;
  background:linear-gradient(135deg,#fffdf8,#f5f8f0);
  box-shadow:0 8px 24px rgba(35,57,41,.045);
}
body.care-gallery.care-gallery-secondary:is(.secondary-cavity,.secondary-denture,.secondary-implant) .treatment-page-toc.gallery-section-index>strong {
  grid-column:1/-1;
  color:var(--conserving-ink);
  font-family:"Noto Serif KR","Apple SD Gothic Neo",serif;
  font-size:clamp(17px,1.6vw,20px);
  line-height:1.6;
  letter-spacing:-.04em;
}
body.care-gallery.care-gallery-secondary:is(.secondary-cavity,.secondary-denture,.secondary-implant) .treatment-page-toc.gallery-section-index>a {
  display:flex;
  box-sizing:border-box;
  align-items:center;
  min-width:0;
  min-height:55px;
  padding:11px clamp(11px,1.2vw,16px);
  border:1px solid #ded5c6;
  border-radius:4px 10px 4px 10px;
  background:var(--conserving-paper);
  color:#28553e;
  font-size:clamp(13px,1.12vw,15px);
  line-height:1.6;
  font-weight:760;
  word-break:keep-all;
  overflow-wrap:anywhere;
  text-decoration:none;
}
body.care-gallery.care-gallery-secondary:is(.secondary-cavity,.secondary-denture,.secondary-implant) .treatment-page-toc.gallery-section-index>a:last-child {
  border-left:3px solid var(--conserving-accent);
}
body.care-gallery.care-gallery-secondary:is(.secondary-cavity,.secondary-denture,.secondary-implant) .ejoeun-topic-art {
  border-top:3px solid var(--conserving-accent);
  border-color:#c7baa2;
  border-top-color:var(--conserving-accent);
  background:linear-gradient(140deg,#f5efdf,#fffefa 60%,#f2f5ef);
  box-shadow:0 14px 31px rgba(34,57,39,.07);
}
body.care-gallery.care-gallery-secondary:is(.secondary-cavity,.secondary-denture,.secondary-implant) .ejoeun-topic-art__visual {
  border:clamp(5px,.8vw,9px) solid #fffaf2;
  background:#f8f2e7;
}
body.care-gallery.care-gallery-secondary:is(.secondary-cavity,.secondary-denture,.secondary-implant) .ejoeun-topic-art__visual>img {
  display:block;
  width:100%;
  height:auto;
  max-height:none;
  object-fit:contain;
  object-position:center;
}
body.care-gallery.care-gallery-secondary:is(.secondary-cavity,.secondary-denture,.secondary-implant) .ejoeun-topic-art__caption {
  min-width:0;
}
body.care-gallery.care-gallery-secondary:is(.secondary-cavity,.secondary-denture,.secondary-implant) .ejoeun-topic-art__caption>small {
  color:#876f4c;
  font-weight:750;
  letter-spacing:.12em;
}
body.care-gallery.care-gallery-secondary:is(.secondary-cavity,.secondary-denture,.secondary-implant) .ejoeun-topic-art__caption>strong {
  color:var(--conserving-ink);
  letter-spacing:-.05em;
  line-height:1.55;
}
body.care-gallery.care-gallery-secondary:is(.secondary-cavity,.secondary-denture,.secondary-implant) .ejoeun-topic-art__caption>span {
  color:#4c6452;
  line-height:1.85;
  word-break:keep-all;
}
body.care-gallery.care-gallery-secondary:is(.secondary-cavity,.secondary-denture,.secondary-implant) .ejoeun-topic-art__caption>a {
  min-height:44px;
  color:#246247;
  text-underline-offset:4px;
}
body.care-gallery.care-gallery-secondary:is(.secondary-cavity,.secondary-denture,.secondary-implant) .care-gallery-article-shell>section {
  border:1px solid #e1d9c9;
  border-left:3px solid #ced9c5;
  border-radius:4px 13px 4px 13px;
  background:var(--conserving-paper);
  box-shadow:0 5px 17px rgba(30,55,40,.03);
}
body.care-gallery.care-gallery-secondary:is(.secondary-cavity,.secondary-denture,.secondary-implant) .care-gallery-article-shell>section>h2 {
  margin-top:0;
  color:var(--conserving-ink);
  font-family:"Noto Serif KR","Apple SD Gothic Neo",serif;
  line-height:1.52;
  letter-spacing:-.045em;
  word-break:keep-all;
  text-wrap:balance;
}
body.care-gallery.care-gallery-secondary:is(.secondary-cavity,.secondary-denture,.secondary-implant) .care-gallery-article-shell>section :is(p,li) {
  color:#465e4e;
  line-height:1.89;
  word-break:keep-all;
}
body.care-gallery.care-gallery-secondary.secondary-cavity .cavity-patient-links,
body.care-gallery.care-gallery-secondary.secondary-denture .denture-patient-questions,
body.care-gallery.care-gallery-secondary.secondary-implant .implant-patient-decisions {
  padding:clamp(19px,2.5vw,30px);
  border:1px solid var(--conserving-edge);
  border-top:3px solid var(--conserving-accent);
  border-radius:4px 15px 4px 15px;
  background:linear-gradient(135deg,#f4f7f0,#fffefa);
  box-shadow:0 8px 23px rgba(32,56,42,.04);
}
body.care-gallery.care-gallery-secondary:is(.secondary-cavity,.secondary-denture,.secondary-implant) :is(.cavity-patient-grid,.denture-question-grid,.implant-patient-grid) {
  display:grid;
  gap:clamp(10px,1.3vw,16px);
  grid-template-columns:repeat(2,minmax(0,1fr));
}
body.care-gallery.care-gallery-secondary.secondary-cavity .cavity-patient-grid>a,
body.care-gallery.care-gallery-secondary.secondary-denture .denture-question-grid>article,
body.care-gallery.care-gallery-secondary.secondary-implant .implant-patient-grid>article {
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:95px;
  padding:clamp(15px,1.6vw,20px);
  border:1px solid #ddd4c4;
  border-top:3px solid #b49a71;
  border-radius:4px 12px 4px 12px;
  background:#fffefa;
  box-shadow:0 5px 15px rgba(31,56,42,.025);
}
body.care-gallery.care-gallery-secondary.secondary-cavity .cavity-patient-grid>a:nth-child(even),
body.care-gallery.care-gallery-secondary.secondary-denture .denture-question-grid>article:nth-child(even),
body.care-gallery.care-gallery-secondary.secondary-implant .implant-patient-grid>article:nth-child(even) {
  border-top-color:#92ad94;
}
body.care-gallery.care-gallery-secondary:is(.secondary-cavity,.secondary-denture,.secondary-implant) :is(.cavity-patient-grid,.denture-question-grid,.implant-patient-grid) :is(h3,a>span,article>h3) {
  color:var(--conserving-ink);
  font-family:"Noto Serif KR","Apple SD Gothic Neo",serif;
  letter-spacing:-.03em;
  line-height:1.6;
  word-break:keep-all;
}
body.care-gallery.care-gallery-secondary:is(.secondary-cavity,.secondary-denture,.secondary-implant) :is(.denture-question-grid,.implant-patient-grid) article>p,
body.care-gallery.care-gallery-secondary.secondary-cavity .cavity-patient-grid small {
  color:#506655;
  font-size:14px;
  line-height:1.84;
  word-break:keep-all;
}
body.care-gallery.care-gallery-secondary:is(.secondary-denture,.secondary-implant) :is(.denture-question-grid,.implant-patient-grid) article>a {
  margin-top:auto;
  min-height:46px;
  color:#2a6447;
  font-weight:750;
  text-underline-offset:4px;
}
body.care-gallery.care-gallery-secondary:is(.secondary-cavity,.secondary-denture,.secondary-implant) .care-next-gallery__links>a:focus-visible,
body.care-gallery.care-gallery-secondary:is(.secondary-cavity,.secondary-denture,.secondary-implant) :is(.treatment-page-toc a,.cavity-patient-grid>a,.denture-question-grid a,.implant-patient-grid a):focus-visible {
  outline:3px solid #986f3c;
  outline-offset:3px;
}
@media(hover:hover) and (pointer:fine) {
  body.care-gallery.care-gallery-secondary:is(.secondary-cavity,.secondary-denture,.secondary-implant) .treatment-page-toc.gallery-section-index>a:hover,
  body.care-gallery.care-gallery-secondary.secondary-cavity .cavity-patient-grid>a:hover {
    border-color:#9fb49d;
    background:#f6f9f1;
  }
}
@media(max-width:900px) {
  body.care-gallery.care-gallery-secondary:is(.secondary-cavity,.secondary-denture,.secondary-implant) .treatment-page-toc.gallery-section-index {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:700px) {
  body.care-gallery.care-gallery-secondary:is(.secondary-cavity,.secondary-denture,.secondary-implant) .treatment-page-toc.gallery-section-index {
    padding:15px 12px;
    gap:8px;
    box-shadow:none;
  }
  body.care-gallery.care-gallery-secondary:is(.secondary-cavity,.secondary-denture,.secondary-implant) .treatment-page-toc.gallery-section-index>a {
    min-height:52px;
    padding:10px;
    font-size:13px;
  }
  body.care-gallery.care-gallery-secondary:is(.secondary-cavity,.secondary-denture,.secondary-implant) .ejoeun-topic-art {
    box-shadow:none;
  }
  body.care-gallery.care-gallery-secondary:is(.secondary-cavity,.secondary-denture,.secondary-implant) .care-gallery-article-shell>section {
    box-shadow:none;
  }
  body.care-gallery.care-gallery-secondary:is(.secondary-cavity,.secondary-denture,.secondary-implant) :is(.cavity-patient-grid,.denture-question-grid,.implant-patient-grid) {
    grid-template-columns:minmax(0,1fr);
    gap:9px;
  }
  body.care-gallery.care-gallery-secondary.secondary-cavity .cavity-patient-links,
  body.care-gallery.care-gallery-secondary.secondary-denture .denture-patient-questions,
  body.care-gallery.care-gallery-secondary.secondary-implant .implant-patient-decisions {
    padding:17px 14px;
    box-shadow:none;
  }
  body.care-gallery.care-gallery-secondary:is(.secondary-cavity,.secondary-denture,.secondary-implant) :is(.denture-question-grid,.implant-patient-grid) article>p,
  body.care-gallery.care-gallery-secondary.secondary-cavity .cavity-patient-grid small {
    font-size:14px;
  }
}
@media(max-width:370px) {
  body.care-gallery.care-gallery-secondary:is(.secondary-cavity,.secondary-denture,.secondary-implant) .treatment-page-toc.gallery-section-index {
    grid-template-columns:minmax(0,1fr);
  }
}
@media(prefers-reduced-motion:reduce) {
  body.care-gallery.care-gallery-secondary:is(.secondary-cavity,.secondary-denture,.secondary-implant) :is(.treatment-page-toc a,.cavity-patient-grid>a) { transition:none; }
}
@media(forced-colors:active) {
  body.care-gallery.care-gallery-secondary:is(.secondary-cavity,.secondary-denture,.secondary-implant) :is(.treatment-page-toc,.treatment-page-toc>a,.ejoeun-topic-art,.ejoeun-topic-art__visual,.care-gallery-article-shell>section,.cavity-patient-links,.denture-patient-questions,.implant-patient-decisions),
  body.care-gallery.care-gallery-secondary:is(.secondary-cavity,.secondary-denture,.secondary-implant) :is(.cavity-patient-grid>a,.denture-question-grid>article,.implant-patient-grid>article) {
    background:Canvas;
    color:CanvasText;
    border-color:CanvasText;
    box-shadow:none;
  }
}


/* 2026-10-31 | Child & wisdom consult reading-room refinement.
   Scope exclusively to three preexisting treatment pages.
   Retain all original paintings, medical decisions and booking targets. */
body.care-gallery.care-gallery-secondary:is(.secondary-wisdom,.pediatric-pathways-gallery,.pediatric-ortho-decisions){
  --consult-ink:#244a38;
  --consult-paper:#fffefa;
  --consult-border:#d9cebc;
  --consult-accent:#a58f67;
}
body.care-gallery.care-gallery-secondary.pediatric-pathways-gallery{
  --consult-accent:#8baa8d;
}
body.care-gallery.care-gallery-secondary.pediatric-ortho-decisions{
  --consult-accent:#829cac;
}
body.care-gallery.care-gallery-secondary:is(.secondary-wisdom,.pediatric-pathways-gallery,.pediatric-ortho-decisions)
  .treatment-page-toc.gallery-section-index{
  box-sizing:border-box;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  align-items:stretch;
  gap:clamp(8px,1.1vw,12px);
  margin-block:clamp(20px,2.6vw,31px);
  padding:clamp(17px,2vw,24px);
  border:1px solid var(--consult-border);
  border-top:3px solid var(--consult-accent);
  border-radius:4px 14px 4px 14px;
  background:linear-gradient(135deg,#fffefa,#f4f7ef);
  box-shadow:0 8px 20px rgba(30,51,38,.04);
}
body.care-gallery.care-gallery-secondary:is(.secondary-wisdom,.pediatric-pathways-gallery,.pediatric-ortho-decisions)
  .treatment-page-toc.gallery-section-index>strong{
  display:block;
  grid-column:1/-1;
  margin:0 0 2px;
  color:var(--consult-ink);
  font-family:"Noto Serif KR","Apple SD Gothic Neo",serif;
  font-size:clamp(17px,1.6vw,20px);
  font-weight:700;
  line-height:1.55;
  letter-spacing:-.04em;
}
body.care-gallery.care-gallery-secondary:is(.secondary-wisdom,.pediatric-pathways-gallery,.pediatric-ortho-decisions)
  .treatment-page-toc.gallery-section-index>a{
  box-sizing:border-box;
  display:flex;
  align-items:center;
  min-width:0;
  min-height:54px;
  padding:11px 14px;
  border:1px solid #ded5c4;
  border-radius:4px 10px 4px 10px;
  background:#fffefa;
  color:#28543d;
  font-size:clamp(13px,1.16vw,15px);
  font-weight:740;
  line-height:1.65;
  text-decoration:none;
  overflow-wrap:anywhere;
  word-break:keep-all;
}
body.care-gallery.care-gallery-secondary:is(.secondary-wisdom,.pediatric-pathways-gallery,.pediatric-ortho-decisions)
  .treatment-page-toc.gallery-section-index>a:last-child{
  border-left:3px solid var(--consult-accent);
}
body.care-gallery.care-gallery-secondary:is(.secondary-wisdom,.pediatric-pathways-gallery,.pediatric-ortho-decisions)
  .ejoeun-topic-art{
  border-top:3px solid var(--consult-accent);
  background:linear-gradient(138deg,#f5f0e6,#fffefa 60%,#f1f6ee);
  box-shadow:0 12px 26px rgba(31,52,38,.055);
}
body.care-gallery.care-gallery-secondary:is(.secondary-wisdom,.pediatric-pathways-gallery,.pediatric-ortho-decisions)
  .ejoeun-topic-art__visual>img{
  display:block;
  width:100%;
  height:auto;
  max-height:none;
  object-fit:contain;
  object-position:center;
}
body.care-gallery.care-gallery-secondary:is(.secondary-wisdom,.pediatric-pathways-gallery,.pediatric-ortho-decisions)
  .ejoeun-topic-art__caption>strong{
  color:var(--consult-ink);
  font-family:"Noto Serif KR","Apple SD Gothic Neo",serif;
  font-size:clamp(20px,2vw,26px);
  line-height:1.56;
  letter-spacing:-.045em;
  text-wrap:balance;
}
body.care-gallery.care-gallery-secondary:is(.secondary-wisdom,.pediatric-pathways-gallery,.pediatric-ortho-decisions)
  .ejoeun-topic-art__caption>span{
  color:#475f4d;
  line-height:1.87;
  word-break:keep-all;
}
/* Wisdom consultation: examination, medication and recovery remain distinct. */
body.care-gallery.care-gallery-secondary.secondary-wisdom .wisdom-patient-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(11px,1.45vw,18px);
}
body.care-gallery.care-gallery-secondary.secondary-wisdom .wisdom-patient-grid>article{
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:clamp(18px,1.9vw,24px);
  border:1px solid var(--consult-border);
  border-top:3px solid #aa976f;
  border-radius:4px 13px 4px 13px;
  background:var(--consult-paper);
  box-shadow:0 6px 17px rgba(29,51,39,.035);
}
body.care-gallery.care-gallery-secondary.secondary-wisdom .wisdom-patient-grid>article:nth-child(even){
  border-top-color:#95ac94;
}
body.care-gallery.care-gallery-secondary.secondary-wisdom .wisdom-patient-grid h3{
  color:var(--consult-ink);
  font-family:"Noto Serif KR","Apple SD Gothic Neo",serif;
  letter-spacing:-.035em;
  line-height:1.57;
  word-break:keep-all;
}
body.care-gallery.care-gallery-secondary.secondary-wisdom .wisdom-patient-grid :is(p,li){
  color:#4a6251;
  font-size:15px;
  line-height:1.83;
  word-break:keep-all;
}
body.care-gallery.care-gallery-secondary.secondary-wisdom .wisdom-patient-grid article>a{
  margin-top:auto;
  min-height:46px;
  display:inline-flex;
  align-items:center;
  color:#276143;
  font-size:14px;
  text-underline-offset:4px;
}
body.care-gallery.care-gallery-secondary.secondary-wisdom .wisdom-medication-note{
  border:1px solid #e2d3bc;
  border-left:4px solid #af9161;
  border-radius:4px 12px 4px 12px;
  background:#fff9ee;
  line-height:1.85;
}
/* Pediatric consultations: readable decisions, without adding new claims. */
body.care-gallery.care-gallery-secondary.pediatric-pathways-gallery .pediatric-care-decisions,
body.care-gallery.care-gallery-secondary.pediatric-ortho-decisions .child-ortho-scope{
  box-sizing:border-box;
  padding:clamp(18px,2vw,26px);
  border:1px solid var(--consult-border);
  border-left:4px solid var(--consult-accent);
  border-radius:4px 13px 4px 13px;
  background:linear-gradient(128deg,#f5f8f1,#fffefa);
  box-shadow:0 6px 16px rgba(30,55,43,.035);
}
body.care-gallery.care-gallery-secondary.pediatric-pathways-gallery .pediatric-care-decisions>h2,
body.care-gallery.care-gallery-secondary.pediatric-ortho-decisions .child-ortho-scope>h2{
  color:var(--consult-ink);
  font-family:"Noto Serif KR","Apple SD Gothic Neo",serif;
  font-size:clamp(20px,2vw,25px);
  line-height:1.5;
  letter-spacing:-.04em;
}
body.care-gallery.care-gallery-secondary:is(.pediatric-pathways-gallery,.pediatric-ortho-decisions)
  .care-gallery-article-shell > :is(section,aside){
  scroll-margin-top:105px;
}
body.care-gallery.care-gallery-secondary:is(.pediatric-pathways-gallery,.pediatric-ortho-decisions)
  .care-gallery-article-shell :is(.pediatric-steps-links>a,.ortho-choice-card>a){
  min-height:44px;
  text-underline-offset:4px;
}
body.care-gallery.care-gallery-secondary:is(.secondary-wisdom,.pediatric-pathways-gallery,.pediatric-ortho-decisions)
  .treatment-page-toc.gallery-section-index>a:focus-visible{
  outline:3px solid #937039;
  outline-offset:3px;
}
@media (hover:hover) and (pointer:fine){
  body.care-gallery.care-gallery-secondary:is(.secondary-wisdom,.pediatric-pathways-gallery,.pediatric-ortho-decisions)
    .treatment-page-toc.gallery-section-index>a:hover{
    border-color:#a6b6a2;
    background:#f1f7ee;
  }
}
@media(max-width:850px){
  body.care-gallery.care-gallery-secondary:is(.secondary-wisdom,.pediatric-pathways-gallery,.pediatric-ortho-decisions)
    .treatment-page-toc.gallery-section-index{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:650px){
  body.care-gallery.care-gallery-secondary:is(.secondary-wisdom,.pediatric-pathways-gallery,.pediatric-ortho-decisions)
    .treatment-page-toc.gallery-section-index{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    padding:15px 12px;
    box-shadow:none;
  }
  body.care-gallery.care-gallery-secondary:is(.secondary-wisdom,.pediatric-pathways-gallery,.pediatric-ortho-decisions)
    .treatment-page-toc.gallery-section-index>a{
    min-height:50px;
    padding:10px 9px;
    font-size:13px;
  }
  body.care-gallery.care-gallery-secondary:is(.secondary-wisdom,.pediatric-pathways-gallery,.pediatric-ortho-decisions)
    .ejoeun-topic-art{
    box-shadow:none;
  }
  body.care-gallery.care-gallery-secondary.secondary-wisdom .wisdom-patient-grid{
    grid-template-columns:minmax(0,1fr);
    gap:9px;
  }
  body.care-gallery.care-gallery-secondary.secondary-wisdom .wisdom-patient-grid>article{
    padding:17px 16px;
    box-shadow:none;
  }
  body.care-gallery.care-gallery-secondary:is(.pediatric-pathways-gallery,.pediatric-ortho-decisions)
    :is(.pediatric-care-decisions,.child-ortho-scope){
    box-shadow:none;
    padding:17px 15px;
  }
}
@media(max-width:365px){
  body.care-gallery.care-gallery-secondary:is(.secondary-wisdom,.pediatric-pathways-gallery,.pediatric-ortho-decisions)
    .treatment-page-toc.gallery-section-index{
    grid-template-columns:minmax(0,1fr);
  }
}
@media(prefers-reduced-motion:reduce){
  body.care-gallery.care-gallery-secondary:is(.secondary-wisdom,.pediatric-pathways-gallery,.pediatric-ortho-decisions)
    .treatment-page-toc.gallery-section-index>a{transition:none}
}
@media(forced-colors:active){
  body.care-gallery.care-gallery-secondary:is(.secondary-wisdom,.pediatric-pathways-gallery,.pediatric-ortho-decisions)
    :is(.treatment-page-toc,.treatment-page-toc>a,.ejoeun-topic-art,.wisdom-patient-grid>article,.wisdom-medication-note,.pediatric-care-decisions,.child-ortho-scope){
    border-color:CanvasText;
    background:Canvas;
    color:CanvasText;
    box-shadow:none;
  }
}


/* 2026-10-31 | Scaling and jaw comfort salon refinement.
   Artwork, authored patient guidance and all appointment targets stay intact. */
body.care-gallery.care-gallery-secondary:is(.secondary-scaling,.secondary-tmj){
  --salon-procedure-ink:#244a37;
  --salon-procedure-paper:#fffefa;
  --salon-procedure-rule:#dacfbf;
  --salon-procedure-accent:#91a48a;
}
body.care-gallery.care-gallery-secondary.secondary-tmj{
  --salon-procedure-accent:#ac9574;
}
body.care-gallery.care-gallery-secondary:is(.secondary-scaling,.secondary-tmj)
.treatment-page-toc.gallery-section-index {
  box-sizing:border-box;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  padding:clamp(17px,2vw,25px);
  border:1px solid var(--salon-procedure-rule);
  border-top:3px solid var(--salon-procedure-accent);
  border-radius:4px 14px 4px 14px;
  background:linear-gradient(130deg,#fffefa,#f3f7ef);
  box-shadow:0 8px 22px rgba(32,55,41,.045);
}
body.care-gallery.care-gallery-secondary:is(.secondary-scaling,.secondary-tmj)
.treatment-page-toc.gallery-section-index>strong {
  grid-column:1/-1;
  color:var(--salon-procedure-ink);
  font:700 clamp(17px,1.65vw,20px)/1.55 "Noto Serif KR","Apple SD Gothic Neo",serif;
  letter-spacing:-.04em;
}
body.care-gallery.care-gallery-secondary:is(.secondary-scaling,.secondary-tmj)
.treatment-page-toc.gallery-section-index>a {
  box-sizing:border-box;
  display:flex;
  align-items:center;
  min-width:0;
  min-height:55px;
  padding:12px 13px;
  border:1px solid #dfd5c6;
  border-radius:4px 10px 4px 10px;
  background:var(--salon-procedure-paper);
  color:#29543d;
  font-size:clamp(13px,1.12vw,15px);
  line-height:1.6;
  font-weight:740;
  text-decoration:none;
  word-break:keep-all;
  overflow-wrap:anywhere;
}
body.care-gallery.care-gallery-secondary:is(.secondary-scaling,.secondary-tmj)
.treatment-page-toc.gallery-section-index>a:last-child{
  border-left:3px solid var(--salon-procedure-accent);
}
body.care-gallery.care-gallery-secondary:is(.secondary-scaling,.secondary-tmj)
.ejoeun-topic-art{
  border-top:3px solid var(--salon-procedure-accent);
  background:linear-gradient(142deg,#f4eee3,#fffefa 57%,#f2f6ef);
  box-shadow:0 14px 29px rgba(32,54,41,.07);
}
body.care-gallery.care-gallery-secondary:is(.secondary-scaling,.secondary-tmj)
.ejoeun-topic-art__visual>img{
  display:block;
  width:100%;
  height:auto;
  max-height:none;
  object-fit:contain;
  object-position:center;
}
body.care-gallery.care-gallery-secondary:is(.secondary-scaling,.secondary-tmj)
.ejoeun-topic-art__caption>strong{
  color:var(--salon-procedure-ink);
  font-family:"Noto Serif KR","Apple SD Gothic Neo",serif;
  letter-spacing:-.045em;
  line-height:1.55;
  text-wrap:balance;
}
body.care-gallery.care-gallery-secondary:is(.secondary-scaling,.secondary-tmj)
.ejoeun-topic-art__caption>span{
  color:#47604d;
  line-height:1.88;
  word-break:keep-all;
}
body.care-gallery.care-gallery-secondary.secondary-scaling .scaling-patient-reading{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(10px,1.35vw,15px);
  margin-block:20px 25px;
  padding:0;
  list-style:none;
}
body.care-gallery.care-gallery-secondary.secondary-scaling .scaling-patient-reading>li{
  box-sizing:border-box;
  min-width:0;
  margin:0;
  padding:clamp(16px,1.6vw,20px);
  border:1px solid #dcd3c4;
  border-top:3px solid #b6a073;
  border-radius:4px 11px 4px 11px;
  background:#fffefa;
  box-shadow:0 5px 16px rgba(35,52,42,.035);
}
body.care-gallery.care-gallery-secondary.secondary-scaling .scaling-patient-reading>li:nth-child(even){
  border-top-color:#92ac90;
}
body.care-gallery.care-gallery-secondary.secondary-scaling .scaling-patient-reading>li>a{
  color:#245b40;
  font-weight:760;
  min-height:46px;
  line-height:1.7;
  text-underline-offset:4px;
  word-break:keep-all;
}
body.care-gallery.care-gallery-secondary.secondary-scaling .scaling-patient-reading>li>span{
  margin-top:7px;
  color:#526856;
  font-size:14px;
  line-height:1.8;
  word-break:keep-all;
}
body.care-gallery.care-gallery-secondary.secondary-tmj main>.section .wrap{
  border:1px solid #ded5c7;
  border-left:3px solid #ad9a7a;
  border-radius:4px 12px 4px 12px;
  background:#fffefa;
  box-shadow:0 6px 17px rgba(33,54,40,.035);
}
body.care-gallery.care-gallery-secondary.secondary-tmj main>.section:nth-of-type(even) .wrap{
  border-left-color:#8fa48e;
}
body.care-gallery.care-gallery-secondary.secondary-tmj main>.section .wrap>h2{
  color:#254a38;
  font-family:"Noto Serif KR","Apple SD Gothic Neo",serif;
  font-size:clamp(22px,2.15vw,29px);
  line-height:1.55;
  letter-spacing:-.045em;
  text-wrap:balance;
}
body.care-gallery.care-gallery-secondary.secondary-tmj main>.section .wrap>p{
  color:#465e4f;
  line-height:1.9;
  word-break:keep-all;
}
body.care-gallery.care-gallery-secondary.secondary-tmj main>.section .wrap>h3{
  color:#2a513c;
  line-height:1.6;
  font-size:clamp(17px,1.6vw,20px);
  word-break:keep-all;
}
body.care-gallery.care-gallery-secondary:is(.secondary-scaling,.secondary-tmj)
.treatment-page-toc.gallery-section-index>a:focus-visible,
body.care-gallery.care-gallery-secondary.secondary-scaling .scaling-patient-reading>li>a:focus-visible{
  outline:3px solid #966d38;
  outline-offset:3px;
}
@media(hover:hover) and (pointer:fine){
  body.care-gallery.care-gallery-secondary:is(.secondary-scaling,.secondary-tmj)
  .treatment-page-toc.gallery-section-index>a:hover{
    border-color:#9db398;
    background:#f1f7ef;
  }
}
@media(max-width:900px){
  body.care-gallery.care-gallery-secondary:is(.secondary-scaling,.secondary-tmj)
  .treatment-page-toc.gallery-section-index{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:650px){
  body.care-gallery.care-gallery-secondary:is(.secondary-scaling,.secondary-tmj)
  .treatment-page-toc.gallery-section-index{
    grid-template-columns:repeat(2,minmax(0,1fr));
    padding:15px 12px;
    gap:8px;
    box-shadow:none;
  }
  body.care-gallery.care-gallery-secondary:is(.secondary-scaling,.secondary-tmj)
  .treatment-page-toc.gallery-section-index>a{
    min-height:50px;
    padding:10px 9px;
    font-size:13px;
  }
  body.care-gallery.care-gallery-secondary:is(.secondary-scaling,.secondary-tmj)
  .ejoeun-topic-art{
    box-shadow:none;
  }
  body.care-gallery.care-gallery-secondary.secondary-scaling .scaling-patient-reading{
    grid-template-columns:minmax(0,1fr);
    gap:9px;
  }
  body.care-gallery.care-gallery-secondary.secondary-scaling .scaling-patient-reading>li{
    padding:15px 14px;
    box-shadow:none;
  }
  body.care-gallery.care-gallery-secondary.secondary-tmj main>.section .wrap{
    padding:20px 16px;
    box-shadow:none;
  }
}
@media(max-width:360px){
  body.care-gallery.care-gallery-secondary:is(.secondary-scaling,.secondary-tmj)
  .treatment-page-toc.gallery-section-index{
    grid-template-columns:minmax(0,1fr);
  }
}
@media(prefers-reduced-motion:reduce){
  body.care-gallery.care-gallery-secondary:is(.secondary-scaling,.secondary-tmj)
  .treatment-page-toc.gallery-section-index>a{transition:none}
}
@media(forced-colors:active){
  body.care-gallery.care-gallery-secondary:is(.secondary-scaling,.secondary-tmj)
  :is(.treatment-page-toc,.treatment-page-toc>a,.ejoeun-topic-art,.scaling-patient-reading>li,.section .wrap){
    border-color:CanvasText;
    background:Canvas;
    color:CanvasText;
    box-shadow:none;
  }
}

/* 2026-11-02 | Cavity care stages and denture choice comparison
   Clinical body copy and watercolors are unchanged. Cavity's existing three
   decisions receive a quiet numbered frame, while the two denture types are
   readable side-by-side and naturally stack on mobile. */
body.care-gallery.care-gallery-secondary.secondary-cavity .care-gallery-article-shell > section.cavity-decision-stage{
  position:relative;
  box-sizing:border-box;
  min-width:0;
  margin:clamp(14px,2.1vw,22px) 0;
  padding:clamp(20px,3vw,35px);
  border:1px solid #d9d2c2;
  border-top:3px solid #91a896;
  border-radius:4px 15px 4px 15px;
  background:linear-gradient(141deg,#fffefa,#f5f8f1);
  box-shadow:0 8px 24px rgba(33,56,43,.045);
}
body.care-gallery.care-gallery-secondary.secondary-cavity .care-gallery-article-shell > section.cavity-decision-stage:nth-of-type(even){
  border-top-color:#ae9874;
  background:linear-gradient(141deg,#fffefa,#faf7ef);
}
body.care-gallery.care-gallery-secondary.secondary-cavity .care-gallery-article-shell > section.cavity-decision-stage::before{
  content:"CARE DECISION  " attr(data-stage);
  display:inline-flex;
  align-items:center;
  min-height:28px;
  box-sizing:border-box;
  margin:0 0 10px;
  padding:4px 10px;
  border:1px solid #c6b798;
  border-radius:3px 8px 3px 8px;
  color:#6d5a3b;
  background:#f7f0e1;
  font:800 11px/1.4 system-ui,"Apple SD Gothic Neo",sans-serif;
  letter-spacing:.08em;
}
body.care-gallery.care-gallery-secondary.secondary-cavity .care-gallery-article-shell > section.cavity-decision-stage > h2{
  margin:0 0 14px;
  max-width:42ch;
  color:#254a36;
  font:700 clamp(22px,2.45vw,29px)/1.5 "Noto Serif KR","Apple SD Gothic Neo",serif;
  letter-spacing:-.04em;
  word-break:keep-all;
  text-wrap:balance;
}
body.care-gallery.care-gallery-secondary.secondary-cavity .care-gallery-article-shell > section.cavity-decision-stage > p{
  max-width:77ch;
  color:#435b4b;
  font-size:clamp(15px,1.38vw,17px);
  line-height:1.94;
  word-break:keep-all;
}
body.care-gallery.care-gallery-secondary.secondary-denture .care-gallery-article-shell > section.denture-types-section{
  box-sizing:border-box;
  border-top:3px solid #b29a75;
  border-radius:4px 15px 4px 15px;
  background:linear-gradient(135deg,#fffefa,#faf7ee);
}
body.care-gallery.care-gallery-secondary.secondary-denture .denture-type-comparison{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(11px,2vw,22px);
  align-items:stretch;
  margin:clamp(18px,2.5vw,28px) 0 13px;
}
body.care-gallery.care-gallery-secondary.secondary-denture .denture-type-card{
  box-sizing:border-box;
  min-width:0;
  margin:0;
  padding:clamp(20px,2.6vw,29px);
  border:1px solid #d9cfbd;
  border-top:4px solid #8ea88d;
  border-radius:4px 13px 4px 13px;
  background:#f7faf5;
  box-shadow:0 8px 21px rgba(33,55,41,.04);
}
body.care-gallery.care-gallery-secondary.secondary-denture .denture-type-card:nth-child(2){
  border-top-color:#b49a76;
  background:#fbf8f1;
}
body.care-gallery.care-gallery-secondary.secondary-denture .denture-type-card > p{
  margin:0;
  color:#415b4c;
  font-size:clamp(15px,1.45vw,17px);
  line-height:1.92;
  word-break:keep-all;
}
body.care-gallery.care-gallery-secondary.secondary-denture .denture-type-card > p > strong{
  display:block;
  margin:0 0 11px;
  color:#254b38;
  font:700 clamp(20px,2.1vw,24px)/1.5 "Noto Serif KR","Apple SD Gothic Neo",serif;
  letter-spacing:-.04em;
}
body.care-gallery.care-gallery-secondary.secondary-denture .denture-types-section > p.denture-type-note{
  box-sizing:border-box;
  margin:13px 0 0;
  padding:14px 17px;
  border-left:3px solid #ab9977;
  background:#f6f3eb;
  color:#495e4b;
  font-size:clamp(15px,1.4vw,16px);
  line-height:1.8;
  word-break:keep-all;
}
@media(max-width:720px){
  body.care-gallery.care-gallery-secondary.secondary-denture .denture-type-comparison{
    grid-template-columns:minmax(0,1fr);
    gap:10px;
  }
  body.care-gallery.care-gallery-secondary.secondary-denture .denture-type-card{
    padding:18px 17px;
    box-shadow:none;
  }
  body.care-gallery.care-gallery-secondary.secondary-cavity .care-gallery-article-shell > section.cavity-decision-stage{
    padding:21px 18px;
    box-shadow:none;
  }
}
@media(forced-colors:active){
  body.care-gallery.care-gallery-secondary.secondary-cavity .care-gallery-article-shell > section.cavity-decision-stage,
  body.care-gallery.care-gallery-secondary.secondary-denture .care-gallery-article-shell > section.denture-types-section,
  body.care-gallery.care-gallery-secondary.secondary-denture .denture-type-card,
  body.care-gallery.care-gallery-secondary.secondary-denture .denture-types-section > p.denture-type-note{
    border-color:CanvasText;
    background:Canvas;
    color:CanvasText;
    box-shadow:none;
  }
}
@media print{
  body.care-gallery.care-gallery-secondary.secondary-cavity .care-gallery-article-shell > section.cavity-decision-stage,
  body.care-gallery.care-gallery-secondary.secondary-denture .denture-type-card{
    box-shadow:none;
    break-inside:avoid;
  }
}

/* 2026-11-02 | Implant four-part reading and wisdom-tooth decision chapters
 * Original surgeon/clinical explanations, diagnostic cautions, images and URLs
 * stay intact. These rules only frame existing sections for faster reading. */
body.care-gallery.care-gallery-secondary.secondary-implant .implant-core-decisions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:stretch;
  gap:clamp(11px,1.6vw,19px);
  margin:clamp(25px,3vw,35px) 0 clamp(24px,3vw,32px);
}
body.care-gallery.care-gallery-secondary.secondary-implant .implant-core-decision{
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  min-width:0;
  margin:0;
  padding:clamp(20px,2.7vw,32px);
  border:1px solid #d8d0bf;
  border-top:4px solid #8ca990;
  border-radius:4px 14px 4px 14px;
  background:linear-gradient(143deg,#fffefa,#f4f8f0);
  box-shadow:0 8px 23px rgba(33,54,40,.04);
}
body.care-gallery.care-gallery-secondary.secondary-implant .implant-core-decision:nth-child(even){
  border-top-color:#b49a75;
  background:linear-gradient(143deg,#fffefa,#f8f4ec);
}
body.care-gallery.care-gallery-secondary.secondary-implant .implant-core-number{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  min-width:39px;
  min-height:33px;
  margin:0 0 14px;
  padding:4px 9px;
  border:1px solid #c4b69a;
  border-radius:3px 8px 3px 8px;
  background:#f8f0df;
  color:#6e5633;
  font:800 13px/1.5 system-ui,"Apple SD Gothic Neo",sans-serif;
  font-variant-numeric:tabular-nums;
}
body.care-gallery.care-gallery-secondary.secondary-implant .implant-core-decision>h2{
  margin:0 0 13px;
  color:#244b37;
  font:700 clamp(20px,2vw,25px)/1.54 "Noto Serif KR","Apple SD Gothic Neo",serif;
  letter-spacing:-.04em;
  word-break:keep-all;
  text-wrap:balance;
}
body.care-gallery.care-gallery-secondary.secondary-implant .implant-core-decision>p{
  margin:0;
  color:#445d4c;
  font-size:clamp(15px,1.35vw,17px);
  line-height:1.92;
  word-break:keep-all;
  overflow-wrap:anywhere;
}
body.care-gallery.care-gallery-secondary.secondary-implant .implant-core-decision .care-gallery-toc-anchor{
  scroll-margin-top:100px;
}
body.care-gallery.care-gallery-secondary.secondary-wisdom .wisdom-reading-chapter{
  box-sizing:border-box;
  margin-block:clamp(15px,2vw,22px);
  padding:0;
  border:0;
  background:transparent;
}
body.care-gallery.care-gallery-secondary.secondary-wisdom .wisdom-reading-chapter>.wrap{
  box-sizing:border-box;
  position:relative;
  max-width:1040px;
  padding:clamp(20px,2.8vw,35px);
  border:1px solid #dcd3c4;
  border-top:4px solid #a99a78;
  border-radius:4px 14px 4px 14px;
  background:linear-gradient(145deg,#fffefa,#f8f6ef);
  box-shadow:0 9px 24px rgba(33,54,40,.04);
}
body.care-gallery.care-gallery-secondary.secondary-wisdom .wisdom-reading-chapter:nth-of-type(even)>.wrap{
  border-top-color:#91a893;
  background:linear-gradient(145deg,#fffefa,#f4f8f0);
}
body.care-gallery.care-gallery-secondary.secondary-wisdom .wisdom-reading-chapter>.wrap::before{
  content:attr(data-chapter);
  display:none;
}
body.care-gallery.care-gallery-secondary.secondary-wisdom .wisdom-reading-chapter::before{
  content:attr(data-chapter);
  display:block;
  box-sizing:border-box;
  position:relative;
  max-width:1040px;
  margin:0 auto -2px;
  padding:9px clamp(20px,2.8vw,35px) 0;
  color:#786343;
  font:800 11px/1.5 system-ui,"Apple SD Gothic Neo",sans-serif;
  letter-spacing:.06em;
}
body.care-gallery.care-gallery-secondary.secondary-wisdom .wisdom-reading-chapter .wrap>h2{
  margin:0 0 12px;
  color:#254a36;
  font:700 clamp(22px,2.45vw,29px)/1.52 "Noto Serif KR","Apple SD Gothic Neo",serif;
  letter-spacing:-.045em;
  text-wrap:balance;
  word-break:keep-all;
}
body.care-gallery.care-gallery-secondary.secondary-wisdom .wisdom-reading-chapter .wrap>p{
  margin:0;
  color:#445d4a;
  font-size:clamp(15px,1.4vw,17px);
  line-height:1.95;
  word-break:keep-all;
  overflow-wrap:anywhere;
}
@media(max-width:720px){
  body.care-gallery.care-gallery-secondary.secondary-implant .implant-core-decisions{
    grid-template-columns:minmax(0,1fr);
    gap:10px;
  }
  body.care-gallery.care-gallery-secondary.secondary-implant .implant-core-decision{
    padding:20px 17px;
    box-shadow:none;
  }
  body.care-gallery.care-gallery-secondary.secondary-wisdom .wisdom-reading-chapter>.wrap{
    padding:22px 17px;
    box-shadow:none;
  }
  body.care-gallery.care-gallery-secondary.secondary-wisdom .wisdom-reading-chapter::before{
    padding-inline:17px;
  }
}
@media(forced-colors:active){
  body.care-gallery.care-gallery-secondary.secondary-implant .implant-core-decision,
  body.care-gallery.care-gallery-secondary.secondary-implant .implant-core-number,
  body.care-gallery.care-gallery-secondary.secondary-wisdom .wisdom-reading-chapter>.wrap{
    border-color:CanvasText;
    color:CanvasText;
    background:Canvas;
    box-shadow:none;
  }
  body.care-gallery.care-gallery-secondary.secondary-implant .implant-core-decision :is(h2,p),
  body.care-gallery.care-gallery-secondary.secondary-wisdom .wisdom-reading-chapter :is(h2,p){
    color:CanvasText;
  }
}
@media print{
  body.care-gallery.care-gallery-secondary.secondary-implant .implant-core-decision,
  body.care-gallery.care-gallery-secondary.secondary-wisdom .wisdom-reading-chapter>.wrap{
    box-shadow:none;
    break-inside:avoid;
  }
}

/* 2026-11-02 | First pediatric visit and removable orthodontic scope
   Scoped to two pediatric reading rooms. Keep the clinical explanations,
   reference drawings, booking links and existing responsive layouts intact. */
body.care-gallery.care-gallery-secondary.pediatric-pathways-gallery .care-gallery-article-shell>section.pediatric-first-visit-feature{
  box-sizing:border-box;
  position:relative;
  min-width:0;
  margin:clamp(25px,3.7vw,42px) 0 clamp(23px,3vw,34px);
  padding:clamp(21px,2.8vw,33px);
  border:1px solid #d3cfbc;
  border-top:4px solid #91ac92;
  border-radius:4px 15px 4px 15px;
  background:linear-gradient(137deg,#fffefa 0%,#f3f8ef 100%);
  box-shadow:0 11px 27px rgba(29,57,39,.045);
}
body.care-gallery.care-gallery-secondary.pediatric-pathways-gallery .pediatric-first-visit-feature::before{
  content:"FIRST DENTAL VISIT · 첫 검진";
  display:block;
  margin:0 0 13px;
  color:#677e60;
  font:800 11px/1.65 system-ui,"Apple SD Gothic Neo",sans-serif;
  letter-spacing:.09em;
  word-break:keep-all;
}
body.care-gallery.care-gallery-secondary.pediatric-pathways-gallery .pediatric-first-visit-feature>h2{
  margin:0 0 12px;
  padding:0;
  border:0;
  color:#244c38;
  font:700 clamp(22px,2.45vw,29px)/1.5 "Noto Serif KR","Apple SD Gothic Neo",serif;
  letter-spacing:-.042em;
  text-wrap:balance;
  word-break:keep-all;
  scroll-margin-top:105px;
}
body.care-gallery.care-gallery-secondary.pediatric-pathways-gallery .pediatric-first-visit-feature>p{
  max-width:76ch;
  margin:0;
  color:#405d4a;
  font-size:clamp(15px,1.4vw,17px);
  line-height:1.94;
  word-break:keep-all;
  overflow-wrap:anywhere;
}
body.care-gallery.care-gallery-secondary.pediatric-pathways-gallery .care-gallery-article-shell>h2#pediatric-trauma{
  margin-top:clamp(30px,4vw,43px);
  padding:15px 20px 10px;
  border:1px solid #decfaf;
  border-left:4px solid #af8858;
  border-bottom:0;
  border-radius:4px 12px 0 0;
  background:#fff8ea;
  color:#574a32;
}
body.care-gallery.care-gallery-secondary.pediatric-pathways-gallery .care-gallery-article-shell>h2#pediatric-trauma+p{
  box-sizing:border-box;
  margin:0 0 20px;
  padding:4px 20px 19px;
  border:1px solid #decfaf;
  border-left:4px solid #af8858;
  border-top:0;
  border-radius:0 0 4px 12px;
  background:#fff8ea;
  color:#524d40;
  line-height:1.95;
  word-break:keep-all;
}
body.care-gallery.care-gallery-secondary.pediatric-ortho-decisions .child-ortho-scope>.ortho-removable-choice-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(11px,1.5vw,19px);
  margin:clamp(18px,2.5vw,26px) 0 18px;
}
body.care-gallery.care-gallery-secondary.pediatric-ortho-decisions .ortho-removable-choice{
  box-sizing:border-box;
  min-width:0;
  margin:0;
  padding:clamp(18px,2.3vw,28px);
  border:1px solid #d4d6cb;
  border-top:4px solid #88a69a;
  border-radius:4px 13px 4px 13px;
  background:linear-gradient(145deg,#fffefa,#f0f7f3);
  box-shadow:0 6px 18px rgba(29,57,48,.038);
}
body.care-gallery.care-gallery-secondary.pediatric-ortho-decisions .ortho-removable-choice:nth-child(2){
  border-top-color:#b19b7a;
  background:linear-gradient(145deg,#fffefa,#faf7f0);
}
body.care-gallery.care-gallery-secondary.pediatric-ortho-decisions .ortho-removable-choice__label{
  display:block;
  margin-bottom:12px;
  color:#537668;
  font:800 11px/1.55 system-ui,"Apple SD Gothic Neo",sans-serif;
  letter-spacing:.045em;
  word-break:keep-all;
}
body.care-gallery.care-gallery-secondary.pediatric-ortho-decisions .ortho-removable-choice>h3{
  margin:0 0 11px;
  color:#275045;
  font:700 clamp(18px,1.7vw,22px)/1.5 "Noto Serif KR","Apple SD Gothic Neo",serif;
  letter-spacing:-.035em;
  text-wrap:balance;
  word-break:keep-all;
}
body.care-gallery.care-gallery-secondary.pediatric-ortho-decisions .ortho-removable-choice>p{
  margin:0;
  color:#455e52;
  font-size:clamp(15px,1.22vw,16px);
  line-height:1.92;
  word-break:keep-all;
  overflow-wrap:anywhere;
}
body.care-gallery.care-gallery-secondary.pediatric-ortho-decisions .child-ortho-scope>p:last-child>a{
  display:inline-flex;
  align-items:center;
  min-height:46px;
  font-weight:750;
  color:#245e4e;
  text-underline-offset:4px;
}
@media(max-width:720px){
  body.care-gallery.care-gallery-secondary.pediatric-ortho-decisions .child-ortho-scope>.ortho-removable-choice-grid{
    grid-template-columns:minmax(0,1fr);
    gap:10px;
  }
  body.care-gallery.care-gallery-secondary.pediatric-ortho-decisions .ortho-removable-choice{
    padding:18px 16px;
    box-shadow:none;
  }
  body.care-gallery.care-gallery-secondary.pediatric-pathways-gallery .care-gallery-article-shell>section.pediatric-first-visit-feature{
    padding:21px 17px;
    box-shadow:none;
  }
  body.care-gallery.care-gallery-secondary.pediatric-pathways-gallery .care-gallery-article-shell>h2#pediatric-trauma{
    padding:15px 15px 9px;
  }
  body.care-gallery.care-gallery-secondary.pediatric-pathways-gallery .care-gallery-article-shell>h2#pediatric-trauma+p{
    padding:4px 15px 16px;
  }
}
@media(forced-colors:active){
  body.care-gallery.care-gallery-secondary.pediatric-pathways-gallery :is(.pediatric-first-visit-feature,#pediatric-trauma,#pediatric-trauma+p),
  body.care-gallery.care-gallery-secondary.pediatric-ortho-decisions .ortho-removable-choice{
    border-color:CanvasText;
    background:Canvas;
    color:CanvasText;
    box-shadow:none;
  }
}
@media print {
  body.care-gallery.care-gallery-secondary.pediatric-pathways-gallery .pediatric-first-visit-feature,
  body.care-gallery.care-gallery-secondary.pediatric-ortho-decisions .ortho-removable-choice{
    box-shadow:none;
    break-inside:avoid;
  }
}


/* 2026-11-02 | Clinical atlas presentation and full-size art link.
   Scope only the implant and cavity patient guides; keep existing cards and
   original watercolor galleries untouched. */
body.care-gallery.care-gallery-secondary:is(.secondary-implant,.secondary-cavity) .ejoeun-topic-art__visual {
  border-color:#f1f7f5;
  outline-color:#b8ceca;
  background:#eef4f3;
  box-shadow:0 12px 28px rgba(30,70,66,.075);
}
body.care-gallery.care-gallery-secondary:is(.secondary-implant,.secondary-cavity) .ejoeun-topic-art__visual > img {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:3 / 2;
  object-fit:contain;
  background:#f5f9f8;
}
body.care-gallery.care-gallery-secondary:is(.secondary-implant,.secondary-cavity) .ejoeun-topic-art__caption > span > a {
  box-sizing:border-box;
  display:flex;
  width:fit-content;
  max-width:100%;
  min-height:46px;
  align-items:center;
  justify-content:center;
  margin:13px 0 2px;
  padding:9px 16px;
  border:1px solid #93b5ad;
  border-radius:5px;
  background:#f0f7f4;
  color:#164d43;
  font-size:14px;
  font-weight:750;
  line-height:1.6;
  text-decoration:none;
  text-align:center;
  overflow-wrap:break-word;
  word-break:keep-all;
}
body.care-gallery.care-gallery-secondary:is(.secondary-implant,.secondary-cavity) .ejoeun-topic-art__caption > span > a:hover {
  background:#e1f0eb;
  border-color:#4e8477;
}
body.care-gallery.care-gallery-secondary:is(.secondary-implant,.secondary-cavity) .ejoeun-topic-art__caption > span > a:focus-visible {
  outline:3px solid #926d36;
  outline-offset:3px;
}
@media(max-width:600px) {
  body.care-gallery.care-gallery-secondary:is(.secondary-implant,.secondary-cavity) .ejoeun-topic-art__caption > span > a {
    width:100%;
    margin-top:14px;
    min-height:48px;
  }
  body.care-gallery.care-gallery-secondary:is(.secondary-implant,.secondary-cavity) .ejoeun-topic-art__visual {
    border-width:5px;
    box-shadow:none;
  }
}
@media(forced-colors:active) {
  body.care-gallery.care-gallery-secondary:is(.secondary-implant,.secondary-cavity) .ejoeun-topic-art__visual,
  body.care-gallery.care-gallery-secondary:is(.secondary-implant,.secondary-cavity) .ejoeun-topic-art__visual > img,
  body.care-gallery.care-gallery-secondary:is(.secondary-implant,.secondary-cavity) .ejoeun-topic-art__caption > span > a {
    background:Canvas;
    color:CanvasText;
    border-color:CanvasText;
    outline-color:CanvasText;
    box-shadow:none;
  }
}


/* 2026-11-02 | Readable three-step cavity atlas on small screens.
   This clinical information figure is an accessible scrolling viewport;
   keep the original medical content, portrait, and bookability unchanged. */
body.care-gallery.care-gallery-secondary.secondary-cavity .clinical-atlas-swipe-hint {
  display:none;
}
@media(max-width:600px) {
  body.care-gallery.care-gallery-secondary.secondary-cavity .ejoeun-topic-art__visual.clinical-atlas-scroll {
    display:block;
    box-sizing:border-box;
    min-width:0;
    max-width:100%;
    overflow-x:auto;
    overflow-y:hidden;
    overscroll-behavior-inline:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:thin;
    border-color:#c1d3cf;
    padding:0;
    touch-action:pan-x pan-y;
  }
  body.care-gallery.care-gallery-secondary.secondary-cavity .ejoeun-topic-art__visual.clinical-atlas-scroll > img {
    display:block;
    box-sizing:border-box;
    width:780px;
    min-width:780px;
    max-width:none;
    height:auto;
    aspect-ratio:3 / 2;
    object-fit:contain;
    object-position:left center;
  }
  body.care-gallery.care-gallery-secondary.secondary-cavity .clinical-atlas-swipe-hint {
    display:block;
    margin:5px 2px 12px;
    color:#345f58;
    font-size:13px;
    font-weight:650;
    line-height:1.65;
    text-align:center;
    word-break:keep-all;
  }
}
body.care-gallery.care-gallery-secondary.secondary-cavity .ejoeun-topic-art__visual.clinical-atlas-scroll:focus-visible {
  outline:3px solid #a78344;
  outline-offset:4px;
}
@media(forced-colors:active) {
  body.care-gallery.care-gallery-secondary.secondary-cavity .clinical-atlas-swipe-hint {
    color:CanvasText;
  }
}


/* 2026-11-03 | One calm typographic rhythm across secondary treatment guides.
   Visual styling only: preserve the complete clinical copy, image proportions,
   source links, canonical URLs, booking actions and screen-reader landmarks. */
body.care-gallery.care-gallery-secondary {
  --salon-reading-text: #344f42;
  --salon-reading-border: #e2ddcf;
  --salon-reading-paper: #fffefb;
}
body.care-gallery.care-gallery-secondary > header {
  background: rgba(255,254,250,.97);
  border-bottom: 1px solid var(--salon-reading-border);
  box-shadow: 0 4px 17px rgba(30,51,39,.035);
}
body.care-gallery.care-gallery-secondary > header .logo {
  color: #194736;
  letter-spacing: -.055em;
}
body.care-gallery.care-gallery-secondary .care-gallery-article-shell > h1,
body.care-gallery.care-gallery-secondary.secondary-hero main > .hero h1 {
  max-width: 26ch;
  margin-block: clamp(15px,2.5vw,24px);
  color: #1d4534;
  font-size: clamp(30px,3.5vw,43px);
  line-height: 1.39;
  letter-spacing: -.055em;
  text-wrap: balance;
}
body.care-gallery.care-gallery-secondary .care-gallery-article-shell > .intro,
body.care-gallery.care-gallery-secondary .care-gallery-article-shell > h1 + p:not(.intro) {
  max-width: 83ch;
  padding: clamp(17px,2vw,23px);
  background: var(--salon-reading-paper);
  border: 1px solid var(--salon-reading-border);
  border-left: 3px solid #a2b59d;
  border-radius: 8px;
  box-shadow: none;
  color: var(--salon-reading-text);
}
body.care-gallery.care-gallery-secondary .care-gallery-article-shell > .intro p {
  line-height: 1.84;
}
body.care-gallery.care-gallery-secondary :is(.clinician-byline,.gallery-secondary-clinician) {
  border-radius: 8px;
  border-color: var(--salon-reading-border);
  border-left: 3px solid #aa966f;
  background: #faf9f3;
  box-shadow: none;
}
body.care-gallery.care-gallery-secondary .treatment-hero-actions > a {
  border-radius: 7px;
  box-shadow: none;
}
body.care-gallery.care-gallery-secondary .ejoeun-topic-art {
  border-radius: 9px;
  background: #f9f7f0;
  box-shadow: 0 8px 24px rgba(32,52,39,.045);
}
body.care-gallery.care-gallery-secondary .ejoeun-topic-art__caption {
  color: var(--salon-reading-text);
}
body.care-gallery.care-gallery-secondary .treatment-page-toc.gallery-section-index {
  border-radius: 9px;
  box-shadow: none;
}
body.care-gallery.care-gallery-secondary .care-gallery-article-shell > section {
  box-shadow: none;
}
/* Keep treatment links discoverable, while reducing the mobile top stack. */
@media(max-width:600px) {
  body.care-gallery.care-gallery-secondary .care-gallery-article-shell > h1,
  body.care-gallery.care-gallery-secondary.secondary-hero main > .hero h1 {
    max-width: 100%;
    margin-block: 14px;
    font-size: clamp(27px,7vw,34px);
    line-height: 1.4;
  }
  body.care-gallery.care-gallery-secondary .care-gallery-article-shell > .intro,
  body.care-gallery.care-gallery-secondary .care-gallery-article-shell > h1 + p:not(.intro) {
    padding: 15px 14px;
    border-left-width: 3px;
    line-height: 1.77;
  }
  body.care-gallery.care-gallery-secondary .care-gallery-article-shell > :is(nav.carelinks,nav[aria-label="주요 진료 바로가기"]) {
    display: flex;
    flex-wrap: nowrap !important; /* scaling's authored nav is inline-wrapped */
    justify-content: flex-start;
    align-items: stretch;
    min-width: 0;
    max-width: 100%;
    gap: 8px !important;
    margin: 0 0 19px !important;
    padding: 3px 2px 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
  body.care-gallery.care-gallery-secondary .care-gallery-article-shell > :is(nav.carelinks,nav[aria-label="주요 진료 바로가기"]) > a {
    box-sizing: border-box;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 45px;
    padding: 9px 12px;
    border: 1px solid #dedccd;
    border-radius: 7px;
    background: #fffefa;
    color: #28503c;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
  }
  body.care-gallery.care-gallery-secondary .care-gallery-article-shell > :is(nav.carelinks,nav[aria-label="주요 진료 바로가기"]) > a[aria-current="page"] {
    background: #1e4b3a;
    border-color: #1e4b3a;
    color: white;
  }
  body.care-gallery.care-gallery-secondary .ejoeun-topic-art {
    border-radius: 8px;
    box-shadow: none;
  }
  body.care-gallery.care-gallery-secondary .ejoeun-topic-art__caption {
    padding: 17px 15px 20px;
  }
  body.care-gallery.care-gallery-secondary .treatment-page-toc.gallery-section-index > a {
    min-height: 48px;
    border-radius: 7px;
  }
}
@media(forced-colors:active) {
  body.care-gallery.care-gallery-secondary .care-gallery-article-shell > :is(nav.carelinks,nav[aria-label="주요 진료 바로가기"]) > a,
  body.care-gallery.care-gallery-secondary .care-gallery-article-shell > .intro {
    background: Canvas;
    border-color: CanvasText;
    color: CanvasText;
  }
}
