/* 이조은치과 | 진료 수채화 컬렉션 · 2026-10-29
   The nine landscape paintings remain intact. These three clinician-linked
   watercolor images are displayed separately, with uncropped artwork. */
#education.gallery-education{
  padding-top:clamp(47px,5.5vw,74px);
  padding-bottom:clamp(49px,6vw,78px);
  background:
    radial-gradient(ellipse at 0% 0%,rgba(234,211,176,.28),transparent 43%),
    linear-gradient(148deg,#f3eee3,#fbfaf5 47%,#eff3e9);
  border-top:1px solid #d6ceb9;
}
#education .gallery-section-intro{
  margin-bottom:clamp(24px,3vw,36px);
}
#education .gallery-section-intro h2{
  color:#204b38;
  font-weight:700;
  text-wrap:balance;
}
#education .gallery-section-intro>p:last-child{
  max-width:68ch;
  margin:0 auto;
  color:#4b6153;
  line-height:1.9;
  word-break:keep-all;
}
#education .gallery-education-grid{
  gap:clamp(13px,1.8vw,22px);
  align-items:stretch;
}
#education .gallery-note--watercolor{
  display:flex;
  flex-direction:column;
  min-width:0;
  overflow:hidden;
  border:1px solid #d2c5a9;
  border-top:2px solid #b09a72;
  border-radius:3px 13px 3px 13px;
  background:#fffdf8;
  box-shadow:0 14px 32px rgba(28,54,39,.075);
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
#education .gallery-note--watercolor>img{
  display:block;
  box-sizing:border-box;
  height:auto;
  width:100%;
  aspect-ratio:3 / 2;
  padding:clamp(7px,.8vw,10px);
  object-fit:contain;
  object-position:center;
  border-bottom:1px solid #d8cdb8;
  background:#eee5d5;
}
#education .gallery-note--watercolor>span{
  display:flex;
  flex-direction:column;
  flex:1;
  gap:8px;
  padding:clamp(16px,1.7vw,22px);
  word-break:keep-all;
}
#education .gallery-note--watercolor small{
  font-size:11px;
  font-weight:750;
  line-height:1.6;
  letter-spacing:.02em;
  color:#8a724b;
}
#education .gallery-note--watercolor strong{
  color:#234c39;
  font-family:"Noto Serif KR","Apple SD Gothic Neo",serif;
  font-size:clamp(18px,1.7vw,23px);
  font-weight:700;
  line-height:1.5;
}
#education .gallery-note--watercolor>span>span{
  margin-top:auto;
  color:#315c44;
  font-size:14px;
  font-weight:700;
  line-height:1.75;
}
#education .gallery-education__disclaimer{
  max-width:960px;
  margin:23px auto 0;
  padding:12px 17px;
  border:1px solid #ded6c7;
  border-left:3px solid #b1996c;
  border-radius:3px 9px 3px 9px;
  background:rgba(255,254,249,.82);
  color:#53675b;
  font-size:13px;
  line-height:1.85;
  word-break:keep-all;
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  #education .gallery-note--watercolor:hover{
    transform:translateY(-3px);
    border-color:#a68b5d;
    box-shadow:0 19px 36px rgba(28,54,39,.12);
  }
}
@media(max-width:650px){
  #education.gallery-education{padding:35px 14px 47px}
  #education .gallery-education-grid{grid-template-columns:minmax(0,1fr);gap:14px}
  #education .gallery-note--watercolor>img{
    width:100%;
    height:auto;
    padding:7px;
  }
  #education .gallery-note--watercolor>span{padding:15px 16px 18px;gap:7px}
  #education .gallery-note--watercolor strong{font-size:19px}
  #education .gallery-education__disclaimer{padding:12px 13px;margin-top:17px}
  .gallery-hero-actions>a{min-height:48px}
}
@media(prefers-reduced-motion:reduce){
  #education .gallery-note--watercolor{transition:none}
}
@media(forced-colors:active){
  #education.gallery-education,
  #education .gallery-note--watercolor,
  #education .gallery-education__disclaimer{
    background:Canvas;color:CanvasText;border-color:CanvasText;box-shadow:none;
  }
  #education .gallery-note--watercolor strong,
  #education .gallery-note--watercolor small,
  #education .gallery-note--watercolor>span>span{color:CanvasText}
}

/* 2026-10-30 · Watercolor art zoom: optional gallery action. */
/* Keep the original full-card clinical links unchanged; add a distinct
   action to view each watercolor at full size, never nested inside a link. */
#education .gallery-watercolor-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  height:100%;
}
#education .gallery-watercolor-card>.gallery-note--watercolor{
  flex:1 1 auto;
}
#education .gallery-watercolor-actions{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:9px;
}
#education .gallery-watercolor-actions>.gallery-watercolor-original,
#education .gallery-watercolor-actions>.gallery-zoom{
  box-sizing:border-box;
  display:inline-flex;
  flex:1 1 100%;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:9px 12px;
  border:1px solid #b9a47c;
  border-radius:3px 10px 3px 10px;
  background:#fbf7ed;
  color:#244f3b;
  font:750 13px/1.6 system-ui,"Apple SD Gothic Neo",sans-serif;
  text-align:center;
  text-decoration:none;
  cursor:pointer;
  word-break:keep-all;
}
#education .gallery-watercolor-actions>.gallery-zoom{
  display:none;
}

.gallery-js #education .gallery-watercolor-actions>.gallery-zoom{
  display:inline-flex;
}
.gallery-js #education .gallery-watercolor-actions>:is(.gallery-watercolor-original,.gallery-zoom){
  flex:1 1 calc(50% - 9px);
}
#education .gallery-watercolor-actions>:is(.gallery-watercolor-original,.gallery-zoom):hover{
  background:#f0eadc;
  border-color:#896b43;
}
#education .gallery-watercolor-actions>:is(.gallery-watercolor-original,.gallery-zoom):focus-visible{
  outline:3px solid #b39250;
  outline-offset:3px;
}
@media(max-width:420px){
  #education .gallery-watercolor-actions>:is(.gallery-watercolor-original,.gallery-zoom){
    padding:10px 7px;
    font-size:12.5px;
  }
}
@media(forced-colors:active){
  #education .gallery-watercolor-actions>:is(.gallery-watercolor-original,.gallery-zoom){
    background:ButtonFace;color:ButtonText;border-color:ButtonText;
  }
}


/* 2026-10-31 | Spacious three-watercolor exhibition wall.
   Give each distinct clinician illustration the size of an actual artwork:
   two reading prints and a wider final painting, never crop or repeat images.
   Native clinical links and optional original/lightbox controls stay intact. */
#education.gallery-education {
  background:
    radial-gradient(ellipse at 100% 10%,rgba(188,211,179,.24),transparent 41%),
    radial-gradient(ellipse at 0% 87%,rgba(227,201,154,.19),transparent 45%),
    linear-gradient(150deg,#f3eee5,#fffdf7 55%,#eff4eb);
}
#education .gallery-education-grid {
  display:grid;
  gap:clamp(15px,2.3vw,26px);
  align-items:stretch;
}
#education .gallery-watercolor-card {
  min-width:0;
}
#education .gallery-note--watercolor {
  border:1px solid #d0bea0;
  border-top:4px solid #b29a6c;
  border-radius:4px 14px 4px 14px;
  background:#fffdfa;
  box-shadow:0 12px 30px rgba(34,58,42,.073);
}
#education .gallery-watercolor-card:nth-child(2)>.gallery-note--watercolor {
  border-top-color:#8aa48e;
}
#education .gallery-watercolor-card:nth-child(3)>.gallery-note--watercolor {
  border-top-color:#a79c75;
}
#education .gallery-note--watercolor>img {
  box-sizing:border-box;
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:3/2;
  object-fit:contain;
  object-position:center;
  padding:clamp(9px,1.3vw,16px);
  border-bottom:1px solid #d9ccb5;
  background:linear-gradient(140deg,#ede3d3,#f6f0e5);
}
#education .gallery-note--watercolor>span {
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:11px;
  padding:clamp(20px,2.3vw,30px);
  background:linear-gradient(150deg,#fffdf7,#f9f7ef);
}
#education .gallery-note--watercolor small {
  color:#8a714c;
  font-size:11px;
  letter-spacing:.075em;
}
#education .gallery-note--watercolor strong {
  font-size:clamp(21px,2.2vw,27px);
  line-height:1.55;
  color:#204633;
  text-wrap:balance;
}
#education .gallery-note--watercolor>span>span {
  margin-top:7px;
  padding-top:12px;
  border-top:1px solid #ded6c8;
  color:#2b6144;
  font-size:14px;
  line-height:1.8;
  word-break:keep-all;
}
#education .gallery-watercolor-actions {
  gap:9px;
  margin-top:11px;
}
#education .gallery-watercolor-actions>:is(.gallery-watercolor-original,.gallery-zoom) {
  min-height:48px;
  border-radius:5px 10px 5px 10px;
  font-size:14px;
}
@media(min-width:761px) {
  #education .gallery-education-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  #education .gallery-watercolor-card:last-child {
    grid-column:1 / -1;
  }
}
@media(min-width:1021px) {
  #education .gallery-watercolor-card:last-child>.gallery-note--watercolor {
    display:grid;
    grid-template-columns:minmax(0,1.17fr) minmax(0,.83fr);
    align-items:stretch;
  }
  #education .gallery-watercolor-card:last-child>.gallery-note--watercolor>img {
    width:100%;
    height:100%;
    aspect-ratio:3/2;
    border-right:1px solid #d9ccb5;
    border-bottom:0;
  }
  #education .gallery-watercolor-card:last-child>.gallery-note--watercolor>span {
    align-self:stretch;
    justify-content:center;
    padding:clamp(24px,3vw,41px);
  }
  #education .gallery-watercolor-card:last-child .gallery-watercolor-actions {
    justify-content:flex-end;
  }
  #education .gallery-watercolor-card:last-child .gallery-watercolor-actions>:is(.gallery-watercolor-original,.gallery-zoom) {
    flex:0 1 210px;
  }
}
@media(max-width:760px) {
  #education .gallery-education-grid {
    grid-template-columns:minmax(0,1fr);
    gap:15px;
  }
  #education .gallery-note--watercolor>span {
    padding:18px 19px 21px;
  }
  #education .gallery-note--watercolor strong {
    font-size:21px;
  }
  #education .gallery-watercolor-actions>:is(.gallery-watercolor-original,.gallery-zoom) {
    font-size:13px;
  }
}
@media(forced-colors:active) {
  #education.gallery-education,
  #education .gallery-note--watercolor,
  #education .gallery-note--watercolor>img,
  #education .gallery-note--watercolor>span {
    background:Canvas;
    color:CanvasText;
    border-color:CanvasText;
    box-shadow:none;
  }
  #education .gallery-note--watercolor :is(small,strong,span) {
    color:CanvasText;
  }
}
@media print {
  #education .gallery-education-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  #education .gallery-watercolor-card:last-child {
    grid-column:1 / -1;
  }
  #education .gallery-note--watercolor {
    break-inside:avoid;
    box-shadow:none;
  }
}
