/* Shared recovery, diagnosis and treatment patterns. */

.damjeok-restored .damjeok-section-5 .digestive-lead{font-size:var(--jik-type-emphasis);font-weight:400;color:inherit}.damjeok-restored .damjeok-section-5 .digestive-copy p:last-child{font-size:var(--jik-type-section-sub);font-weight:700;color:#719952}
.damjeok-restored .damjeok-section-6 .jik-container{max-width:1080px}.damjeok-restored .damjeok-section-6 .digestive-cards{gap:12px}.damjeok-restored .damjeok-section-6 .digestive-cards>div{display:flex;flex-direction:column;border-radius:12px;overflow:hidden}.damjeok-restored .damjeok-section-6 .digestive-cards h3{flex:1;display:grid;place-content:center;background:#555;padding:10px 6px;font-size:var(--jik-type-emphasis);font-weight:400}.damjeok-restored .damjeok-section-6 .digestive-copy--after{background:#f8f0e3;border-radius:30px;padding:24px 36px}.damjeok-restored .damjeok-section-6 .digestive-numbered{position:relative;padding:35px 8%}.damjeok-restored .damjeok-section-6 .digestive-numbered:before{content:'';position:absolute;top:-32px;left:8%;right:8%;height:32px;border-inline:5px solid #555}
.damjeok-restored .damjeok-section-7 .digestive-steps{margin-top:45px}.damjeok-restored .damjeok-section-7 .digestive-steps li{grid-template-columns:21% 1fr}.damjeok-restored .damjeok-section-7 .digestive-steps p{font-size:var(--jik-type-emphasis);font-weight:700}.damjeok-restored .damjeok-section-7 .digestive-cards{margin-top:95px;counter-reset:treatment}.damjeok-restored .damjeok-section-7 .digestive-cards>div{counter-increment:treatment}.damjeok-restored .damjeok-section-7 .digestive-cards h3{text-align:left;position:relative;padding-left:78px}.damjeok-restored .damjeok-section-7 .digestive-cards h3:before{content:counter(treatment);position:absolute;inset:0 auto 0 0;width:60px;background:#352c29;display:grid;place-items:center}.damjeok-restored .damjeok-section-7 .digestive-cards p{font-size:var(--jik-type-body);text-align:left}
@media(max-width:767px){.damjeok-restored .damjeok-section-5 .digestive-copy p:last-child{font-size:var(--jik-type-item)}.damjeok-restored .damjeok-section-6 .digestive-cards{grid-template-columns:1fr 1fr}.damjeok-restored .damjeok-section-6 .digestive-cards h3{font-size:var(--jik-type-body)}.damjeok-restored .damjeok-section-6 .digestive-copy--after{padding:20px}.damjeok-restored .damjeok-section-6 .digestive-numbered{padding:24px 16px}.damjeok-restored .damjeok-section-7 .digestive-steps li{grid-template-columns:1fr}.damjeok-restored .damjeok-section-7 .digestive-steps h3{padding:14px}.damjeok-restored .damjeok-section-7 .digestive-steps p{padding:20px;font-size:var(--jik-type-body)}.damjeok-restored .damjeok-section-7 .digestive-cards{grid-template-columns:1fr;margin-top:40px;gap:30px}}

.damjeok-recovery{position:relative;aspect-ratio:1284/340;list-style:none;padding:0;margin:70px 0 35px;background:url("../img/optimized/page/damjeok/recovery-original.webp.webp") center 29.0566%/100% auto no-repeat}.damjeok-recovery li{position:absolute;top:0;width:21.807%;height:82.353%;display:grid;place-items:center}.damjeok-recovery li:nth-child(1){left:3.427%}.damjeok-recovery li:nth-child(2){left:27.181%}.damjeok-recovery li:nth-child(3){left:50.935%}.damjeok-recovery li:nth-child(4){left:74.688%}.damjeok-recovery span{display:grid;place-content:center;width:65%;height:30%;border-radius:10%;background:#fff;text-align:center;font-size:var(--jik-type-item);font-weight:700;line-height:1.4;letter-spacing:-.06em}.damjeok-restored .damjeok-section-5 .digestive-after{font-size:var(--jik-type-section-sub);line-height:1.6;margin:0;text-align:center}
@media(min-width:768px) and (max-width:1100px){.damjeok-recovery span{font-size:var(--jik-type-body)}}
@media(max-width:767px){.damjeok-recovery{display:grid;grid-template-columns:230px;justify-content:center;gap:38px;aspect-ratio:auto;margin-top:35px;padding-bottom:25px;background:none}.damjeok-recovery li{--ring:#0078b5;position:relative;inset:auto!important;width:230px;height:230px;border-radius:50%;background:var(--ring)}.damjeok-recovery li:nth-child(even){--ring:#008f88}.damjeok-recovery span{width:72%;height:72%;border-radius:50%;box-shadow:0 0 18px 7px #00384999;font-size:var(--jik-type-emphasis)}.damjeok-recovery li:not(:last-child):after{content:"";position:absolute;left:44%;top:99%;width:12%;height:17%;background:var(--ring);clip-path:polygon(25% 0,75% 0,75% 70%,100% 70%,50% 100%,0 70%,25% 70%)}.damjeok-restored .damjeok-section-5 .digestive-after{font-size:var(--jik-type-item)}}

@media(max-width:350px){.damjeok-restored .damjeok-section-6 .digestive-cards{grid-template-columns:1fr}}

.damjeok-restored .damjeok-section-7 .jik-sub-heading h2{color:#433737}.damjeok-restored .damjeok-section-7 .digestive-copy{color:#171717}.damjeok-restored .damjeok-section-7 .digestive-copy em{color:#6f9951;font-style:normal}

.damjeok-restored .damjeok-section-7 .digestive-steps>li{min-height:187px}.damjeok-restored .damjeok-section-7 .digestive-steps h3{background:#739a50;font-family:Georgia,serif;font-weight:900}.damjeok-restored .damjeok-section-7 .digestive-steps>li:nth-child(2) h3{background:#40b2a3}.damjeok-restored .damjeok-section-7 .digestive-steps>li:nth-child(3) h3{background:#19aedc}.damjeok-step-copy{align-self:center;padding:30px 8.5%;color:#333}.damjeok-restored .damjeok-step-copy p{padding:0;line-height:1.6}.damjeok-step-checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 20px;margin-top:18px;font-size:var(--jik-type-body);line-height:1.5}.digestive-steps>li:nth-child(3) .damjeok-step-checks{grid-template-columns:1.2fr 1fr}.damjeok-step-checks span{position:relative;padding-left:35px}.damjeok-step-checks span:before{content:"";position:absolute;left:0;top:.12em;width:27px;height:24px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 24'%3E%3Cpath d='M1.5 5.5h17v17h-17z' fill='white' stroke='%2394ae7c' stroke-width='.8'/%3E%3Cpath d='M2 13l4-2 3 5L23 2l4 4L8 21z' fill='%23739950'/%3E%3C/svg%3E") center/contain no-repeat}
@media(max-width:767px){.damjeok-restored .damjeok-section-7 .digestive-steps>li{min-height:0}.damjeok-step-copy{padding:24px 20px}.damjeok-step-checks,.digestive-steps>li:nth-child(3) .damjeok-step-checks{grid-template-columns:1fr}}

.damjeok-restored .damjeok-section-5 .digestive-copy{text-align:center;color:#303030}.damjeok-restored .damjeok-section-5 .digestive-lead{font-size:var(--jik-type-section-sub);font-weight:400;line-height:1.6;margin-bottom:12px}.damjeok-restored .damjeok-section-5 .digestive-copy strong{color:#303030;font-size:var(--jik-type-section-sub);font-weight:800;line-height:1.85}.damjeok-restored .damjeok-section-5 .digestive-copy em{color:#7da260;font-style:normal}.damjeok-restored .damjeok-section-5 .digestive-after{color:#493f3d}.damjeok-restored .damjeok-recovery span{color:#303030}
@media(max-width:767px){.damjeok-restored .damjeok-section-5 .digestive-lead{font-size:var(--jik-type-body)}.damjeok-restored .damjeok-section-5 .digestive-copy strong{color:#303030;font-size:var(--jik-type-item);line-height:1.6}}
/* 2026-09-29 담적·위축성위염·장상피화생 특허 띠: 원본 11_3_06 띠(2021px, 글자 제거본)를 배경 전체로. 특허증은 배경 사진 속 것을 쓰고 HTML 이미지는 시각적으로만 숨김(alt 유지) */
article.jik-sub--digestive:not(.digestive-reflux) .reflux-special.reflux-section-15 { background:#5c4a42 url('../img/page/digestive/patent-band-wide.webp') center center/auto 100% no-repeat; }
@media (min-width:1100px) {
 article.jik-sub--digestive:not(.digestive-reflux) .reflux-special.reflux-section-15 { min-height:700px; }
 article.jik-sub--digestive:not(.digestive-reflux) .reflux-special.reflux-section-15 > img { visibility:hidden; }
}
@media (max-width:1099px) { article.jik-sub--digestive:not(.digestive-reflux) .reflux-special.reflux-section-15 { background-size:cover; background-position:30% center; } }
article.jik-sub--digestive:not(.digestive-reflux) .reflux-section-15 .reflux-patent-heading { font-weight:700; }
article.jik-sub--digestive:not(.digestive-reflux) .reflux-section-15 .reflux-patent-heading b { font-weight:800; font-size:1.22em; }
article.jik-sub--digestive:not(.digestive-reflux) .reflux-section-15 .reflux-patent-heading strong { font-weight:800; }

/* 2026-09-29 청위탕·청장탕 한지 패널(1200px): 원본 gwamin_08 한지(글자 제거본, 1211px) + 원본 붓글씨 + 한자 워터마크 */
article.jik-sub .atrophic-herbal > .reflux-section-22,
article.jik-sub.damjeok-restored > .reflux-section-22 { background:#cdb98c url('../img/page/reflux/parchment-wide.webp') center/100% 100% no-repeat; }
:is(.atrophic-herbal,.damjeok-restored) > .reflux-section-22 .reflux-quality-heading h3 { position:relative; }
:is(.atrophic-herbal,.damjeok-restored) > .reflux-section-22 .reflux-quality-heading h3 > * { position:relative; z-index:1; }
:is(.atrophic-herbal,.damjeok-restored) > .reflux-section-22 .reflux-quality-heading h3::after { content:'淸胃湯'; position:absolute; right:-120px; bottom:-6px; font-family:'Nanum Myeongjo',serif; font-size:78px; line-height:1; color:rgb(70 50 20 / 22%); pointer-events:none; z-index:0; }
:is(.jik-sub--ibs,.jik-sub--colon) .atrophic-herbal > .reflux-section-22 .reflux-quality-heading h3::after { content:'淸腸湯'; }
:is(.atrophic-herbal,.damjeok-restored) > .reflux-section-22 .reflux-quality-heading h3 em { display:inline-block; width:300px; height:137px; margin:0 0 -14px 10px; vertical-align:-30px; background:url('../img/page/reflux/cheongwitang-brush-2x.webp') left center/contain no-repeat; color:transparent; overflow:hidden; font-size:48px; }
:is(.jik-sub--ibs,.jik-sub--colon) .atrophic-herbal > .reflux-section-22 .reflux-quality-heading h3 em { background-image:url('../img/page/reflux/cheongjangtang-brush.webp'); }
@media (max-width:767px) {
 :is(.atrophic-herbal,.damjeok-restored) > .reflux-section-22 .reflux-quality-heading h3::after { right:-10px; font-size:36px; }
 :is(.atrophic-herbal,.damjeok-restored) > .reflux-section-22 .reflux-quality-heading h3 em { width:140px; height:64px; margin-bottom:-14px; vertical-align:-18px; }
}
