/* 이조은치과 · Patient Service Gallery · 2026-10-27
   A shared visual layer for visit hours, medical safety and on-site search.
   No changes to operating hours, medication advice, URLs or SEO metadata. */
body.visit-gallery,body.safety-gallery,body.search-gallery{
 --ps-forest:#204a38;
 --ps-leaf:#2b6649;
 --ps-sage:#eef4e9;
 --ps-paper:#fbf9f4;
 --ps-white:#fffefb;
 --ps-line:#d9e4d8;
 --ps-brass:#aa8b56;
 background:radial-gradient(ellipse at 94% 2%,rgba(205,225,202,.36),transparent 36%),var(--ps-paper);
 color:#2b493a;
 -webkit-font-smoothing:antialiased;
}
body.visit-gallery :is(h1,h2),
body.safety-gallery :is(h1,h2),
body.search-gallery :is(h1,h2){
 font-family:'Noto Serif KR','Apple SD Gothic Neo','Malgun Gothic',serif;
 font-weight:650;
 color:var(--ps-forest);
 letter-spacing:-.045em;
 text-wrap:balance;
}
body.visit-gallery :is(p,li),
body.safety-gallery :is(p,li),
body.search-gallery :is(p,li){
 word-break:keep-all;
 overflow-wrap:break-word;
}
body.visit-gallery :is(a,button,input):focus-visible,
body.safety-gallery :is(a,button,input):focus-visible,
body.search-gallery :is(a,button,input):focus-visible{
 outline:3px solid #a47d42;outline-offset:3px;
}
body.visit-gallery :is(a,button),
body.safety-gallery :is(a,button),
body.search-gallery :is(a,button){
 text-underline-offset:4px;
}
body.visit-gallery :is(a,button):hover,
body.safety-gallery :is(a,button):hover{
 text-decoration-thickness:1px;
}
/* Opening visit information — simple address and clear, real contact routes. */
body.visit-gallery header{
 width:calc(100% - 32px);
 max-width:1060px;
 margin:18px auto 0;
 padding:clamp(25px,4vw,49px);
 box-sizing:border-box;
 background:
  radial-gradient(ellipse at 98% 0%,rgba(202,222,197,.40),transparent 58%),
  linear-gradient(126deg,#fffefa,#f2f7ed);
 border:1px solid #d3e3d4;
 border-radius:21px;
 box-shadow:0 21px 53px rgba(25,64,42,.075);
}
body.visit-gallery header>a:first-child{
 display:inline-flex;align-items:center;
 min-height:44px;color:#315e46;
 font-size:14px;font-weight:750;
 text-decoration:none;
}
body.visit-gallery header h1{
 font-size:clamp(29px,4.5vw,45px);
 line-height:1.42;
 margin:17px 0 16px;
}
body.visit-gallery header p{
 max-width:860px;line-height:1.88;
 color:#3d5b49;font-size:clamp(15px,1.5vw,17px);
}
body.visit-gallery .visit-quick-actions{
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:11px;max-width:840px;margin-top:23px;
}
body.visit-gallery .visit-quick-actions a{
 border-radius:12px;
 min-height:54px;padding:13px 14px;
 background:var(--ps-white);border:1px solid #b3cbb6;
 color:#2a5e43;
 transition:background-color .18s,border-color .18s,box-shadow .18s;
}
body.visit-gallery .visit-quick-actions .quick-call{
 background:#245b41;color:#fff;border-color:#245b41;
 box-shadow:0 5px 17px rgba(31,85,51,.12);
}
body.visit-gallery .visit-quick-actions .quick-call:hover{
 background:#194a34;
}
body.visit-gallery .visit-quick-actions .quick-route:hover{
 background:#e9f2e8;border-color:#8cad90;
}
body.visit-gallery main{
 max-width:1020px;
 padding:28px 22px 75px;
}
body.visit-gallery .visit-jump{
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:10px;margin-bottom:28px;
}
body.visit-gallery .visit-jump a{
 min-height:55px;padding:11px 10px;
 border-radius:12px;
 border:1px solid #cadcc9;
 background:#fffefb;
 box-shadow:0 4px 12px rgba(24,64,38,.035);
}
body.visit-gallery .visit-jump a:hover{
 background:#eff6eb;border-color:#96b99b;
}
body.visit-gallery .card{
 padding:clamp(20px,3.5vw,34px);
 margin:19px 0 23px;
 border:1px solid #dbe6d9;
 border-top:3px solid #a9c1a5;
 border-radius:18px;
 background:var(--ps-white);
 box-shadow:0 9px 28px rgba(29,66,45,.05);
}
body.visit-gallery .card h2{
 font-size:clamp(22px,2.9vw,30px);
 line-height:1.46;margin-bottom:18px;
}
body.visit-gallery .card p,body.visit-gallery .card li{
 line-height:1.85;
}
body.visit-gallery .card>ul{
 padding-left:1.35em;
}
body.visit-gallery .card>ul li::marker{
 color:#6c9677;
}
body.visit-gallery .note{
 border-left-color:#bc9c62;
 background:#fbf5e8;
 border-radius:8px;padding:16px 18px;
}
body.visit-gallery .clinic-payment-guide{
 background:#f1f6ed;
 border-left-color:#8aab8c;
}
body.visit-gallery .call{
 display:inline-flex;align-items:center;justify-content:center;
 min-height:49px;
 border-radius:11px;padding:12px 18px;
 background:#245b41;color:#fff;
 text-align:center;
}
body.visit-gallery .call:hover{background:#194a34}
body.visit-gallery footer{max-width:1020px}
/* Medication and disease information should be clear, not alarming. */
body.safety-gallery header{
 border-bottom:1px solid #d8e2d6;
}
body.safety-gallery header>a{
 display:inline-flex;align-items:center;
 min-height:44px;color:#2e6047;
 text-decoration:none;font-weight:750;
}
body.safety-gallery main{
 width:100%;box-sizing:border-box;
 max-width:940px;padding-top:clamp(29px,4vw,51px);
 padding-bottom:74px;
}
body.safety-gallery main>p:first-child{
 font-weight:800;font-size:12px;
 color:#68836b;letter-spacing:.14em;
 margin:5px 0 13px;
}
body.safety-gallery h1{
 font-size:clamp(29px,4.5vw,44px);
 line-height:1.43;margin:0 0 23px;
}
body.safety-gallery h2{
 font-size:clamp(22px,2.8vw,28px);
 line-height:1.48;margin:0 0 15px;
}
body.safety-gallery h3{
 color:#2f5d44;line-height:1.55;
}
body.safety-gallery .card{
 border:1px solid #dbe5da;
 border-radius:18px;
 padding:clamp(20px,3vw,29px);
 margin:18px 0;
 background:var(--ps-white);
 box-shadow:0 10px 30px rgba(30,65,44,.05);
}
body.safety-gallery .card li{
 line-height:1.84;
}
body.safety-gallery .notice{
 border:1px solid #cfdfcc;
 border-left:5px solid #86a78a;
 border-radius:12px;
 background:linear-gradient(120deg,#ecf5ec,#f8faf4);
 padding:19px 20px;
 color:#2b503d;
 line-height:1.85;
}
body.safety-gallery nav[aria-label="약물과 질환별 상세 안내"] a{
 box-sizing:border-box;
 display:flex;align-items:center;
 min-height:56px;padding:13px 15px;
 background:#f7faf5;
 border-color:#d5e3d3;
 color:#285a42;
 border-radius:11px;
}
body.safety-gallery nav[aria-label="약물과 질환별 상세 안내"] a:hover{
 background:#eaf4e8;border-color:#9ab99e;
}
body.safety-gallery button{
 min-height:46px;background:#265b42;
 padding:11px 17px;border-radius:10px;
}
body.safety-gallery button:hover{background:#194732;}
body.safety-gallery .checklist-caution{
 background:#f1f5ed;
}
body.safety-gallery footer{
 border-top:1px solid #dbe5da;
}
/* Search needs a tranquil, clearly framed input and scannable real results. */
body.search-gallery header{
 background:rgba(250,249,242,.98);
 border-bottom-color:#d9e4d8;
}
body.search-gallery .search-wrap{
 width:100%;max-width:1000px;
 padding-top:clamp(40px,5vw,68px);
}
body.search-gallery .search-wrap>h1{
 font-size:clamp(31px,4.8vw,46px);
 line-height:1.4;margin-bottom:15px;
}
body.search-gallery .search-wrap>p{
 max-width:850px;line-height:1.82;
}
body.search-gallery .search-primary{
 border:1px solid #d5e2d3;
 background:linear-gradient(120deg,#f2f7ee,#fbfcf7);
 border-radius:17px;
 padding:clamp(17px,2.8vw,28px);
 box-shadow:0 15px 37px rgba(25,64,43,.06);
}
body.search-gallery .search-form{
 gap:11px;
 margin:12px 0 19px;
}
body.search-gallery .search-form .search-label{
 font-weight:800;color:#2a513d;
}
body.search-gallery .search-form input{
 min-height:53px;border-radius:11px;
 border:1px solid #a7beaa;
 background:#fffefa;color:#233f33;
}
body.search-gallery .search-form button{
 min-height:53px;border-radius:11px;
 background:#245b40;color:#fff;
 font-weight:780;
}
body.search-gallery .search-form button:hover{
 background:#194932;
}
body.search-gallery .result{
 padding:21px 20px;
 margin:11px 0;
 border:1px solid #e0e7dc;
 border-radius:13px;
 background:#fffefa;
 box-shadow:0 5px 14px rgba(25,64,43,.025);
}
body.search-gallery .result h2{
 color:#1d5038;
 font-family:'Noto Serif KR','Apple SD Gothic Neo',serif;
 font-size:clamp(19px,2.5vw,24px);
 line-height:1.48;
}
body.search-gallery .result-kind{
 border-radius:999px;
}
body.search-gallery .search-suggestions a,
body.search-gallery .symptom-links a,
body.search-gallery .search-fallback a{
 border-radius:11px;
 background:#fffefa;
 border-color:#cbdccb;
}
body.search-gallery .search-suggestions a:hover,
body.search-gallery .symptom-links a:hover{
 background:#edf5e9;
}
body.search-gallery .search-contact{
 border-color:#d3e2d0;
 border-radius:17px;
 background:#f5f9f1;
}
@media(max-width:700px){
 body.visit-gallery header{
  width:calc(100% - 24px);
  padding:22px 18px;margin-top:12px;
  border-radius:16px;
 }
 body.visit-gallery header h1{
  font-size:clamp(27px,7.4vw,34px);
 }
 body.visit-gallery .visit-quick-actions{
  grid-template-columns:1fr;
  gap:8px;
 }
 body.visit-gallery .visit-quick-actions a{
  min-height:50px;padding:12px;
 }
 body.visit-gallery main{padding:23px 16px 58px;}
 body.visit-gallery .visit-jump{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;margin-bottom:17px;
 }
 body.visit-gallery .visit-jump a{
  padding:10px 7px;
  min-height:50px;
  font-size:13px;
 }
 body.visit-gallery .card{
  padding:21px 17px;
  border-radius:14px;
  margin:14px 0;
 }
 body.visit-gallery .card h2{
  font-size:clamp(21px,6vw,27px);
 }
 body.visit-gallery .call{
  width:100%;box-sizing:border-box;
 }
 body.safety-gallery header,body.safety-gallery main,body.safety-gallery footer{
  padding-inline:17px;
 }
 body.safety-gallery main{padding-top:31px;}
 body.safety-gallery h1{font-size:clamp(28px,7.4vw,36px);}
 body.safety-gallery .card{padding:20px 17px;border-radius:14px;}
 body.safety-gallery .notice{padding:16px 15px;}
 body.safety-gallery nav[aria-label="약물과 질환별 상세 안내"] a{
  min-height:50px;
 }
 body.search-gallery .search-wrap{
  padding:34px 16px 76px;
 }
 body.search-gallery .search-primary{
  padding:17px 14px;
  border-radius:14px;
 }
 body.search-gallery .search-form{
  gap:8px;
 }
 body.search-gallery .search-form input{
  min-height:50px;
 }
 body.search-gallery .search-form button{
  min-height:50px;
 }
 body.search-gallery .result{
  padding:18px 16px;
 }
}
@media(prefers-reduced-motion:reduce){
 body.visit-gallery .visit-quick-actions a{transition:none;}
}
@media print{
 body.safety-gallery{
  background:#fff;color:#000;
  -webkit-print-color-adjust:economy;
 }
 body.safety-gallery .printable-checklist{
  background:#fff;box-shadow:none;
  border:1px solid #777;
 }
 body.safety-gallery header,body.safety-gallery footer,body.safety-gallery nav{
  display:none!important;
 }
}


/* 2026-10-30 | Visit-hour atlas and alternating Friday/Saturday gallery cards.
   Never infer today's operating pattern. Actual times, maps, booking
   destinations and medical copy remain unchanged. */
body.visit-gallery header {
  border:1px solid #d6c6ab;
  border-radius:6px 22px 6px 22px;
  background:linear-gradient(122deg,#fffdf7 0%,#f5f6ed 63%,#eaf1e9 100%);
  box-shadow:0 19px 43px rgba(31,62,41,.066);
}
body.visit-gallery header h1 {
  max-width:25ch;
  color:#244a37;
  font-size:clamp(28px,4.25vw,44px);
  line-height:1.49;
  letter-spacing:-.055em;
}
body.visit-gallery header p {
  max-width:74ch;
  line-height:1.91;
}
body.visit-gallery .visit-quick-actions > a {
  box-sizing:border-box;
  min-width:0;
  border-radius:5px 12px 5px 12px;
  min-height:51px;
  line-height:1.53;
  text-wrap:balance;
  overflow-wrap:anywhere;
}
body.visit-gallery .visit-quick-actions > a.quick-call {
  background:#245540;
  border-color:#245540;
}
body.visit-gallery .visit-quick-actions > a.visit-booking {
  background:#f0e3ca;
  color:#274d38;
  border-color:#b6a074;
}
body.visit-gallery main > .visit-jump > a {
  border:1px solid #d9cfbb;
  border-radius:4px 11px 4px 11px;
  background:#fffefa;
  color:#315840;
  font-weight:770;
  line-height:1.6;
}
body.visit-gallery main > .card {
  border-color:#d9d8ca;
  border-top-color:#b39f79;
  border-radius:5px 16px 5px 16px;
  background:#fffefa;
  box-shadow:0 10px 27px rgba(32,62,42,.045);
}
body.visit-gallery main > .card:nth-of-type(even) {
  border-top-color:#8ba38e;
}
body.visit-gallery main > .card > h2 {
  max-width:29ch;
  padding-left:14px;
  border-left:3px solid #b3a079;
  color:#264a37;
  line-height:1.55;
}
body.visit-gallery main > .card:nth-of-type(even) > h2 {
  border-left-color:#87a08b;
}
body.visit-gallery main > .card > p,
body.visit-gallery main > .card > ul > li {
  line-height:1.87;
  color:#465d4e;
}
body.visit-gallery #visit-hours + ul {
  box-sizing:border-box;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 12px;
  padding:8px clamp(11px,1.6vw,18px);
  list-style:none;
  background:#f8f7ef;
  border:1px solid #ddd6c4;
  border-radius:5px 11px 5px 11px;
}
body.visit-gallery #visit-hours + ul > li {
  min-width:0;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  padding:11px 9px 11px 14px;
  margin:0;
  border-bottom:1px solid #dfdfd2;
  border-left:3px solid #b6a179;
  font-weight:650;
  line-height:1.73;
  word-break:keep-all;
}
body.visit-gallery #visit-hours + ul > li:nth-child(even) {
  border-left-color:#8fa78f;
}
body.visit-gallery .visit-cycle {
  border:1px solid #d8cbb1;
  border-radius:5px 15px 5px 15px;
  background:linear-gradient(130deg,#f6f1e5,#f0f4ec);
  padding:clamp(17px,2.5vw,25px);
}
body.visit-gallery .visit-cycle h3 {
  color:#274d39;
  font:700 clamp(18px,2.15vw,23px)/1.53 "Noto Serif KR","Apple SD Gothic Neo",serif;
  letter-spacing:-.045em;
}
body.visit-gallery .visit-cycle__grid {
  gap:clamp(10px,1.9vw,20px);
}
body.visit-gallery .visit-cycle__card {
  border:1px solid #ccc7b7;
  border-top:3px solid #7f9c82;
  border-radius:4px 12px 4px 12px;
  background:#fffefa;
  padding:clamp(15px,2vw,21px);
  box-shadow:0 8px 19px rgba(30,56,35,.037);
}
body.visit-gallery .visit-cycle__card--closed {
  border-top-color:#bca579;
  background:#faf7ef;
}
body.visit-gallery .visit-cycle__card > strong {
  margin-bottom:7px;
  color:#2b513b;
  font-family:"Noto Serif KR","Apple SD Gothic Neo",serif;
  font-size:17px;
  line-height:1.54;
}
body.visit-gallery .visit-cycle__card > span {
  box-sizing:border-box;
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:7px;
  min-width:0;
  padding:9px 0;
  border-top:1px solid #e7e1d4;
  font-size:14px;
  line-height:1.55;
}
body.visit-gallery .visit-cycle__card > span > b {
  flex:0 0 auto;
  font-weight:800;
  font-variant-numeric:tabular-nums;
}
body.visit-gallery .visit-cycle .visit-cycle__caution {
  background:#fffaf0;
  border:1px solid #ead9b5;
  border-left:4px solid #a88b57;
  border-radius:3px 9px 3px 9px;
  line-height:1.8;
}
body.visit-gallery .visit-cycle .visit-cycle__contact {
  min-height:51px;
  border-radius:5px 11px 5px 11px;
  background:#24583f;
}
body.visit-gallery .visit-arrival-panel > div {
  border-top-width:3px;
  box-shadow:0 7px 19px rgba(30,57,41,.035);
}
body.visit-gallery .visit-arrival-panel .visit-arrival-parking > p > strong {
  color:#29583e;
}
body.visit-gallery .clinic-local-questions dt {
  border-color:#dcdaca;
  color:#285440;
}
body.visit-gallery .clinic-local-questions dd {
  line-height:1.89;
}
@media(max-width:730px) {
  body.visit-gallery #visit-hours + ul {
    grid-template-columns:minmax(0,1fr);
  }
  body.visit-gallery #visit-hours + ul > li {
    padding:10px 7px 10px 12px;
  }
  body.visit-gallery .visit-cycle__grid {
    grid-template-columns:minmax(0,1fr);
  }
  body.visit-gallery .visit-cycle__card > span {
    flex-wrap:wrap;
  }
  body.visit-gallery .visit-quick-actions {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  body.visit-gallery .visit-quick-actions > a.quick-call,
  body.visit-gallery .visit-quick-actions > a.visit-booking {
    grid-column:span 2;
  }
}
@media(max-width:480px){
  body.visit-gallery header {
    border-radius:5px 14px 5px 14px;
  }
  body.visit-gallery header h1 {
    font-size:clamp(26px,7vw,34px);
  }
  body.visit-gallery .visit-quick-actions {
    grid-template-columns:minmax(0,1fr);
  }
  body.visit-gallery .visit-quick-actions > a.quick-call,
  body.visit-gallery .visit-quick-actions > a.visit-booking {
    grid-column:auto;
  }
  body.visit-gallery main > .card > h2 {
    padding-left:11px;
  }
  body.visit-gallery #visit-hours + ul {
    padding:9px;
  }
  body.visit-gallery .visit-cycle__card > span > b {
    font-size:14px;
  }
  body.visit-gallery .visit-mobile-actions a {
    min-height:49px;
    border-radius:4px 10px 4px 10px;
    font-size:12px;
    overflow-wrap:anywhere;
  }
}
@media(forced-colors:active){
  body.visit-gallery header,
  body.visit-gallery main > .card,
  body.visit-gallery #visit-hours + ul,
  body.visit-gallery .visit-cycle,
  body.visit-gallery .visit-cycle__card,
  body.visit-gallery .visit-cycle .visit-cycle__caution {
    background:Canvas;
    color:CanvasText;
    border-color:CanvasText;
    box-shadow:none;
  }
}


/* 2026-10-30 | Patient-search library and clear treatment entrances.
   Search engine metadata, all long-tail source links, and the existing
   accessible client-side search/result filters remain unchanged. */
body.search-gallery {
  --search-brass:#a78b5d;
  --search-ink:#274835;
  background:
    radial-gradient(ellipse at 92% 2%,rgba(223,226,207,.43),transparent 39%),
    #fcfaf6;
}
body.search-gallery .search-wrap{
  width:100%;
  box-sizing:border-box;
  max-width:1060px;
  padding:clamp(34px,5vw,67px) clamp(16px,3vw,32px) 105px;
}
body.search-gallery .search-wrap>h1{
  max-width:21ch;
  color:var(--search-ink);
  font-family:"Noto Serif KR","Apple SD Gothic Neo","Malgun Gothic",serif;
  font-size:clamp(29px,4.1vw,46px);
  letter-spacing:-.06em;
  line-height:1.49;
  text-wrap:balance;
}
body.search-gallery .search-wrap>h1 + p{
  max-width:77ch;
  color:#3f5b48;
  font-size:clamp(15px,1.6vw,17px);
  line-height:1.9;
}
body.search-gallery .search-wrap>p.search-help{
  max-width:96ch;
  color:#546d5d;
  font-size:14px;
  line-height:1.83;
}
body.search-gallery .search-primary {
  margin:clamp(20px,3vw,30px) 0 30px;
  padding:clamp(17px,2.8vw,29px);
  border:1px solid #d6c8af;
  border-top:3px solid #af9b76;
  border-radius:5px 17px 5px 17px;
  background:linear-gradient(133deg,#fffdf8,#f5f7ef);
  box-shadow:0 15px 38px rgba(29,63,43,.056);
}
body.search-gallery .search-primary .search-form{
  margin:8px 0 16px;
  gap:10px;
}
body.search-gallery .search-primary .search-label{
  color:#2e523b;
  font-size:15px;
}
body.search-gallery .search-primary input#q{
  box-sizing:border-box;
  min-width:0;
  min-height:54px;
  padding:12px 17px;
  border:1px solid #a9bea9;
  border-radius:5px 11px 5px 11px;
  background:#fffefa;
  color:#233f31;
  font-size:16px;
}
body.search-gallery .search-primary .search-form>button {
  box-sizing:border-box;
  min-height:54px;
  min-width:90px;
  padding:12px 21px;
  border:1px solid #235740;
  border-radius:5px 11px 5px 11px;
  background:#235740;
  color:#fff;
  font-size:15px;
  font-weight:800;
}
body.search-gallery .search-primary .search-form>button:hover{
  background:#174732;
}
body.search-gallery .search-primary #results:not(:empty){
  border-top:2px solid #d6c5a9;
  padding-top:17px;
  margin-top:16px;
}
body.search-gallery .search-primary #results .result{
  box-sizing:border-box;
  min-width:0;
  margin:9px 0;
  padding:clamp(16px,2.2vw,22px);
  border:1px solid #d9ddce;
  border-left:3px solid #8fa98f;
  border-radius:4px 12px 4px 12px;
  background:#fffefa;
  box-shadow:0 5px 19px rgba(27,65,44,.032);
}
body.search-gallery .search-primary #results .result h2{
  color:#2a513b;
  font-size:clamp(19px,2.2vw,23px);
  line-height:1.54;
  letter-spacing:-.035em;
  overflow-wrap:anywhere;
}
body.search-gallery .search-primary #results .result p{
  color:#4c6352;
  font-size:15px;
  line-height:1.85;
}
body.search-gallery .search-primary #results .result-match-note{
  background:#f1f4ed;
  border-color:#d3decf;
  border-radius:3px 9px 3px 9px;
}
body.search-gallery .search-primary .search-category-filters {
  gap:8px;
}
body.search-gallery .search-primary .search-category-filter{
  min-height:47px;
  border-radius:5px 12px 5px 12px;
}
body.search-gallery .search-primary .search-category-filter[aria-pressed="true"]{
  background:#235740;
  border-color:#235740;
  color:#fff;
}
body.search-gallery .search-topic-index{
  box-sizing:border-box;
  display:block;
  margin:22px 0 25px;
  padding:clamp(17px,2.7vw,29px);
  border:1px solid #d4c9b6;
  border-radius:5px 18px 5px 18px;
  background:linear-gradient(130deg,#f6f3e8,#fffcf6 65%,#f0f5eb);
  box-shadow:0 11px 28px rgba(35,64,40,.046);
}
body.search-gallery .search-topic-index__heading{
  display:flex;
  flex-direction:column;
  gap:5px;
  margin-bottom:19px;
}
body.search-gallery .search-topic-index__heading small{
  color:#8e744f;
  font:800 11px/1.5 system-ui,"Apple SD Gothic Neo",sans-serif;
  letter-spacing:.12em;
}
body.search-gallery .search-topic-index__heading strong{
  max-width:33ch;
  color:#2b503a;
  font:700 clamp(20px,2.5vw,27px)/1.55
    "Noto Serif KR","Apple SD Gothic Neo","Malgun Gothic",serif;
  letter-spacing:-.045em;
  text-wrap:balance;
}
body.search-gallery .search-topic-index__heading span{
  color:#5b6d5d;
  font-size:14px;
  line-height:1.78;
  word-break:keep-all;
}
body.search-gallery .search-topic-index__grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(9px,1.4vw,14px);
}
body.search-gallery .search-topic-index__grid>a {
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  box-sizing:border-box;
  min-width:0;
  min-height:128px;
  gap:6px;
  padding:18px 16px;
  border:1px solid #d9d6c9;
  border-top:3px solid #90aa92;
  border-radius:4px 12px 4px 12px;
  background:#fffefa;
  text-decoration:none;
  color:#2d503b;
  box-shadow:0 6px 17px rgba(35,58,41,.035);
}
body.search-gallery .search-topic-index__grid>a:nth-child(3n+2){
  border-top-color:#b3a076;
}
body.search-gallery .search-topic-index__grid>a:nth-child(3n){
  border-top-color:#98a5af;
}
body.search-gallery .search-topic-index__grid>a small{
  color:#8c795b;
  font:750 11px/1.45 system-ui,"Apple SD Gothic Neo",sans-serif;
  letter-spacing:.05em;
}
body.search-gallery .search-topic-index__grid>a strong{
  color:#2a513b;
  font:700 clamp(17px,1.8vw,21px)/1.5
    "Noto Serif KR","Apple SD Gothic Neo",serif;
  letter-spacing:-.035em;
  text-wrap:balance;
}
body.search-gallery .search-topic-index__grid>a span{
  color:#546b59;
  font-size:13px;
  line-height:1.7;
  word-break:keep-all;
}
body.search-gallery .search-topic-index__grid>a:hover{
  border-color:#8ba38e;
  background:#f5f8f1;
}
body.search-gallery .search-topic-index__symptoms{
  display:inline-flex;
  align-items:center;
  box-sizing:border-box;
  min-height:46px;
  margin-top:18px;
  padding:10px 12px;
  border-bottom:1px solid #b7a181;
  color:#29593e;
  font-size:14px;
  font-weight:780;
  line-height:1.64;
  text-underline-offset:4px;
}
body.search-gallery .search-more-queries{
  box-sizing:border-box;
  margin:25px 0 30px;
  border:1px solid #d9dccf;
  border-radius:5px 14px 5px 14px;
  background:#fffefa;
}
body.search-gallery .search-more-queries>summary{
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:57px;
  gap:10px;
  padding:15px 17px;
  border-radius:5px 14px 5px 14px;
  cursor:pointer;
  color:#2d573f;
  font-weight:760;
  font-size:14px;
  line-height:1.7;
  word-break:keep-all;
  list-style:none;
}
body.search-gallery .search-more-queries>summary::-webkit-details-marker{
  display:none;
}
body.search-gallery .search-more-queries>summary::after{
  content:"＋";
  flex:0 0 auto;
  color:#997d53;
  font-size:20px;
  font-weight:600;
}
body.search-gallery .search-more-queries[open]>summary{
  border-bottom:1px solid #dcd8c9;
}
body.search-gallery .search-more-queries[open]>summary::after{
  content:"−";
}
body.search-gallery .search-more-queries__content {
  padding:12px 17px 20px;
}
body.search-gallery .search-more-queries__content .search-suggestions,
body.search-gallery .search-more-queries__content .search-visit-examples {
  margin-top:15px;
  padding-top:13px;
  border-top:1px solid #e7e7dc;
}
body.search-gallery .search-more-queries__content :is(.search-suggestions,.search-visit-examples)>strong{
  flex-basis:100%;
  color:#355740;
  font-size:14px;
  line-height:1.6;
}
body.search-gallery .symptom-search {
  border:1px solid #d5d1bf;
  border-top:3px solid #95a994;
  border-radius:5px 16px 5px 16px;
  padding:clamp(17px,2.6vw,27px);
  background:#f4f7ee;
}
body.search-gallery .symptom-search h2 {
  color:#28543b;
  font:700 clamp(21px,2.6vw,29px)/1.55
    "Noto Serif KR","Apple SD Gothic Neo",serif;
}
body.search-gallery .symptom-links {
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
body.search-gallery .symptom-links>a {
  display:flex;
  align-items:center;
  box-sizing:border-box;
  min-width:0;
  min-height:54px;
  padding:11px 14px;
  border:1px solid #d2d9cb;
  border-radius:4px 11px 4px 11px;
  background:#fffefa;
  color:#2b533d;
  font-size:14px;
  line-height:1.67;
  text-decoration:none;
  overflow-wrap:anywhere;
}
body.search-gallery .symptom-links>a::before{
  content:"•";
  flex:none;
  padding-right:10px;
  color:#a18d67;
  font-size:20px;
}
body.search-gallery .professional-resources{
  border-radius:4px 13px 4px 13px;
  background:#f4f7f7;
}
body.search-gallery .search-contact{
  border-radius:5px 14px 5px 14px;
}
body.search-gallery :is(.search-topic-index__grid>a,.search-topic-index__symptoms,.search-more-queries>summary):focus-visible{
  outline:3px solid #a78145;
  outline-offset:3px;
}
@media(max-width:820px){
  body.search-gallery .search-topic-index__grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:600px){
  body.search-gallery .search-wrap{
    padding:29px 14px 78px;
  }
  body.search-gallery .search-primary,
  body.search-gallery .search-topic-index{
    padding:18px 14px;
    margin:17px 0 21px;
    border-radius:4px 12px 4px 12px;
  }
  body.search-gallery .search-primary .search-form{
    flex-wrap:wrap;
    gap:8px;
  }
  body.search-gallery .search-primary input#q{
    flex:1 1 calc(100% - 100px);
    width:auto;
    min-width:0;
    padding:11px 12px;
  }
  body.search-gallery .search-primary .search-form>button{
    flex:0 0 80px;
    min-width:80px;
    padding:10px 11px;
  }
  body.search-gallery .search-topic-index__grid>a{
    min-height:109px;
    padding:13px 11px;
    gap:5px;
  }
  body.search-gallery .search-topic-index__grid>a strong{
    font-size:17px;
  }
  body.search-gallery .search-topic-index__grid>a span{
    font-size:12px;
  }
  body.search-gallery .search-more-queries__content{
    padding:10px 13px 17px;
  }
  body.search-gallery .symptom-search{
    padding:17px 13px;
  }
  body.search-gallery .symptom-links{
    grid-template-columns:minmax(0,1fr);
    gap:8px;
  }
  body.search-gallery .symptom-links>a{
    min-height:49px;
  }
  body.search-gallery .search-primary #results .result{
    margin:9px 0;
    padding:16px 13px;
  }
}
@media(max-width:380px){
  body.search-gallery .search-topic-index__grid{
    grid-template-columns:minmax(0,1fr);
  }
  body.search-gallery .search-topic-index__grid>a{
    min-height:88px;
  }
}
@media(prefers-reduced-motion:reduce){
  body.search-gallery .search-topic-index__grid>a{
    transition:none;
  }
}
@media(forced-colors:active){
  body.search-gallery :is(.search-primary,.search-topic-index,.search-topic-index__grid>a,.search-more-queries,.symptom-search,.symptom-links>a){
    background:Canvas;
    color:CanvasText;
    border-color:CanvasText;
    box-shadow:none;
  }
  body.search-gallery .search-topic-index__grid>a :is(small,strong,span),
  body.search-gallery .search-topic-index__heading :is(small,strong,span){
    color:CanvasText;
  }
}


/* 2026-11-03 | Search room exhibition hierarchy.
   Visual treatment only; search logic, accessibility labels, anchors,
   indexing metadata, patient caveats and result order remain untouched. */
body.search-gallery {
  --search-room-ink:#1f4736;
  --search-room-line:#ded9cd;
  --search-room-paper:#fffefa;
}
body.search-gallery .search-wrap {
  padding-top:clamp(25px,3.4vw,43px);
}
body.search-gallery .search-wrap>h1 {
  color:var(--search-room-ink);
  font-size:clamp(30px,3.65vw,42px);
  letter-spacing:-.055em;
  line-height:1.4;
  margin-bottom:12px;
}
body.search-gallery .search-wrap>p {
  color:#465f4e;
  line-height:1.77;
}
body.search-gallery .search-primary {
  border:1px solid var(--search-room-line);
  border-top:3px solid #a99671;
  border-radius:9px;
  background:linear-gradient(135deg,#fffefa,#f4f8f2);
  box-shadow:0 7px 20px rgba(31,53,39,.038);
  margin:16px 0 19px;
  padding:clamp(18px,2.4vw,25px);
}
body.search-gallery .search-form {
  gap:9px;
  margin:10px 0 15px;
}
body.search-gallery .search-form .search-label {
  color:var(--search-room-ink);
}
body.search-gallery .search-form input {
  min-height:51px;
  border:1px solid #a5bbae;
  border-radius:7px;
  background:#fffefa;
  color:var(--search-room-ink);
  font-size:16px;
}
body.search-gallery .search-form button {
  min-height:51px;
  border-radius:7px;
  background:#1e4c39;
  color:#fff;
}
body.search-gallery .search-primary #results .result {
  border:1px solid var(--search-room-line);
  border-radius:8px;
  background:#fffefa;
  box-shadow:none;
  padding:clamp(14px,2vw,20px);
}
body.search-gallery .search-reading-routes {
  gap:8px;
  margin:17px 0 18px;
}
body.search-gallery .search-reading-routes>a {
  min-height:83px;
  gap:5px;
  padding:13px;
  border:1px solid var(--search-room-line);
  border-top:3px solid #ab9874;
  border-radius:8px;
  background:var(--search-room-paper);
  box-shadow:none;
}
body.search-gallery .search-reading-routes>a>strong {
  color:var(--search-room-ink);
  line-height:1.45;
}
body.search-gallery .search-topic-index,
body.search-gallery .symptom-search {
  border:1px solid var(--search-room-line);
  border-top:3px solid #9dac92;
  border-radius:9px;
  background:#fffefa;
  box-shadow:none;
}
body.search-gallery .search-topic-index {
  padding:clamp(17px,2.4vw,24px);
  margin:18px 0 21px;
}
body.search-gallery .search-topic-index__grid {
  gap:9px;
}
body.search-gallery .search-topic-index__grid>a {
  min-height:104px;
  gap:5px;
  padding:14px 12px;
  border:1px solid #deded0;
  border-top:3px solid #9caf99;
  border-radius:8px;
  background:#fffefa;
  box-shadow:none;
}
body.search-gallery .search-topic-index__grid>a strong {
  color:var(--search-room-ink);
}
body.search-gallery .symptom-links>a {
  min-height:49px;
  border-radius:7px;
}
@media(max-width:600px) {
  body.search-gallery .search-wrap {
    padding-top:22px;
  }
  body.search-gallery .search-wrap>h1 {
    font-size:clamp(28px,7.2vw,34px);
    margin-bottom:10px;
  }
  body.search-gallery .search-primary {
    margin:13px 0 17px;
    padding:16px 13px;
    border-radius:8px;
    box-shadow:none;
  }
  body.search-gallery .search-form {
    display:flex;
    flex-wrap:wrap;
    gap:7px;
  }
  body.search-gallery .search-form .search-label {
    flex:0 0 100%;
  }
  body.search-gallery .search-form input {
    flex:1 1 calc(100% - 93px);
    width:auto;
    min-width:0;
    min-height:51px;
    padding:10px 12px;
    font-size:16px;
  }
  body.search-gallery .search-form button {
    flex:0 0 77px;
    min-width:77px;
    padding:10px 8px;
  }
  body.search-gallery .search-reading-routes {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
    margin:14px 0 17px;
  }
  body.search-gallery .search-reading-routes>a {
    min-height:70px;
    padding:10px 11px;
    gap:3px;
  }
  body.search-gallery .search-reading-routes>a>small {
    font-size:9px;
    letter-spacing:.015em;
  }
  body.search-gallery .search-reading-routes>a>strong {
    font-size:14px;
  }
  body.search-gallery .search-topic-index {
    padding:16px 12px;
    border-radius:8px;
  }
  body.search-gallery .search-topic-index__grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
  }
  body.search-gallery .search-topic-index__grid>a {
    min-height:93px;
    padding:11px 9px;
  }
}
@media(max-width:350px) {
  body.search-gallery .search-reading-routes,
  body.search-gallery .search-topic-index__grid {
    grid-template-columns:minmax(0,1fr);
  }
  body.search-gallery .search-reading-routes>a,
  body.search-gallery .search-topic-index__grid>a {
    min-height:62px;
  }
}
@media(forced-colors:active) {
  body.search-gallery :is(.search-primary,.search-reading-routes>a,.search-topic-index,.search-topic-index__grid>a,.symptom-search) {
    color:CanvasText;
    background:Canvas;
    border-color:CanvasText;
    box-shadow:none;
  }
}
