/* ---- shared plumbing (decoration only: no word added, removed or hidden) ---- */
body.deco-iam{--g:#2f5d34;--b:#e7f1f7;--h:#cfdde6;--m:rgba(47,93,52,.62)}
body.deco-iam .article *{font-weight:var(--w-base,450)!important}
body.deco-iam .wp-block-group.article,body.deco-iam .wp-block-group.article:not(.hpp-x){overflow-x:clip;padding-top:0!important;margin-top:0!important}
body.deco-iam .article-meta{display:none!important} /* empty element */
body.deco-iam .article-hero:empty{display:none!important}
body.deco-iam .article-title{text-wrap:balance}
body.deco-iam .entry-content p:empty{display:none!important}
body.deco-iam .wp-block-separator{display:none!important}
/* hub: text column becomes a column so the doors can come first (visual order only) */
body.deco-iam .entry-content:has(.wp-block-buttons),
body.deco-iam .wp-block-cover__inner-container:has(>.wp-block-buttons){display:flex!important;flex-direction:column}
body.deco-iam .entry-content:has(.wp-block-buttons)>*{margin-block:0}
body.deco-iam .wp-block-buttons{order:-1}
body.deco-iam .entry-content figure.wp-block-image:has(img[src*="Morrnah1"]){order:50}
body.deco-iam .entry-content:has(.wp-block-buttons)>.article-teacher-chips{order:98}
body.deco-iam .entry-content:has(.wp-block-buttons)>.hpp-rec{order:99}
body.deco-iam .entry-content:has(.wp-block-buttons)>script{order:100}
/* en/kr/tw: old decorative mountain cover (alt="", aria-hidden) becomes plain page */
body.deco-iam .entry-content>.wp-block-cover{display:block!important;min-height:0!important;padding:0!important;margin:0!important;background:none!important;overflow:visible!important;max-width:none!important}
body.deco-iam .entry-content .wp-block-cover__image-background,body.deco-iam .entry-content .wp-block-cover__background{display:none!important}
body.deco-iam .entry-content .wp-block-cover .wp-block-cover{display:block!important;overflow:visible!important;min-height:0!important;padding:0!important;margin:0!important;background:none!important;max-width:none!important}
body.deco-iam .entry-content .wp-block-cover__inner-container{width:auto!important;max-width:none!important;padding:0!important;margin:0!important;color:inherit!important}
body.deco-iam .wp-block-button{margin:0!important;width:auto!important;box-shadow:none!important}
body.deco-iam .wp-block-button__link{box-sizing:border-box;text-decoration:none!important;box-shadow:none!important}
body.deco-iam .entry-content .hpp-bio-name,body.deco-iam .entry-content .hpp-bio-text{display:block}
body.deco-iam .entry-content figure:has(img[src*="Morrnah1"]) a{border:0!important;display:block}
/* prayer pages: stray <br> and spacers, magenta inline colour */
body.deco-iam:has(.box01) .entry-content>br{display:none}
body.deco-iam:has(.box01) .entry-content span[style*="color"]{color:var(--m)!important}
body.deco-iam .box01 .color06{display:block}
body.deco-iam .su-spoiler-title{list-style:none;cursor:pointer;position:relative;background:none!important;border:0!important}
body.deco-iam .su-spoiler-title::-webkit-details-marker{display:none}
body.deco-iam .su-spoiler-title:before,body.deco-iam .su-spoiler-title:after{content:""!important;position:absolute;right:18px;top:50%;width:11px;height:1px;background:var(--g);margin:0;border:0;transform:none}
body.deco-iam .su-spoiler-title:after{transform:rotate(90deg)}
body.deco-iam .su-spoiler[open] .su-spoiler-title:after{transform:none}
body.deco-iam .su-spoiler-content a{color:var(--g)!important}
body.deco-iam .hpp-rec{border:0!important;font-weight:var(--w-base,450)!important}
body.deco-iam .article .hpp-rec .hpp-rec-list .hpp-rec-item{margin:0!important;padding:0!important;border:0!important}
body.deco-iam .article .hpp-rec .hpp-rec-card{border:0!important}
body.deco-iam .hpp-rec-card{text-decoration:none!important}
body.deco-iam .hpp-rec-label,body.deco-iam .hpp-rec-title,body.deco-iam .hpp-rec-thumb,body.deco-iam .hpp-rec-info{display:block}
body.deco-iam .article figure.wp-block-image>figcaption{display:block!important;caption-side:initial}

/* ===== v3  EDITORIAL: magazine page — framed plate image, contents list, drop cap, left-set poem with a hairline spine ===== */
body.deco-iam .article>.article-inner:first-child{background:#fff;padding:28px 24px 0!important;margin:0!important;max-width:none!important}
body.deco-iam .article-title{color:var(--g)!important;text-align:center!important;font-size:24px!important;line-height:1.6!important;letter-spacing:.04em!important;margin:0 auto!important;max-width:720px;padding:18px 0 20px!important;border-top:1px solid var(--g);border-bottom:1px solid var(--h)}
body.deco-iam .article{background:#fff}
/* hub plate */
body.deco-iam:has(.wp-block-buttons) .article>.article-inner:nth-child(2){padding:20px 20px 0!important;margin:0!important;max-width:none!important}
body.deco-iam:has(.wp-block-buttons) .article-hero{max-width:720px;margin:0 auto!important;padding:6px!important;border:1px solid var(--h);background:#fff}
body.deco-iam:has(.wp-block-buttons) .article-hero img{width:100%!important;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important;display:block}
body.deco-iam:has(.wp-block-buttons) .article>.article-inner:nth-child(3){padding-top:0!important;margin-top:0!important}
/* contents list */
body.deco-iam .wp-block-buttons{display:block!important;max-width:720px;width:100%;margin:20px auto 0!important;padding:0!important;border-top:1px solid var(--g)}
body.deco-iam .wp-block-button{display:block!important;border-bottom:1px solid var(--h)}
body.deco-iam .wp-block-button__link{display:flex!important;align-items:center;justify-content:space-between;gap:14px;width:100%!important;padding:18px 4px 18px 2px!important;background:none!important;color:var(--g)!important;border:0!important;border-radius:0!important;font-size:20px!important;line-height:1.5!important;letter-spacing:.05em!important;text-align:left!important}
body.deco-iam .wp-block-button__link:after{content:"›";flex:0 0 auto;font-size:26px;line-height:1;color:var(--g);font-family:system-ui,sans-serif;margin-top:-3px}
/* body: drop cap, measured column */
body.deco-iam:has(.wp-block-buttons) .entry-content p{font-size:16px!important;line-height:2.1!important;letter-spacing:.04em!important;color:#28432c!important;margin:0 auto 1.6em!important;text-align:left!important;max-width:32em;width:100%}
body.deco-iam:lang(en) .entry-content p{font-size:17px!important;line-height:1.85!important;letter-spacing:.01em!important}
body.deco-iam:has(.wp-block-buttons) :is(.entry-content,.wp-block-cover__inner-container)>p:first-of-type{margin-top:40px!important;padding-top:28px!important;background:linear-gradient(var(--g),var(--g)) no-repeat left top/40px 1px}
body.deco-iam:has(.wp-block-buttons) :is(.entry-content,.wp-block-cover__inner-container)>p:first-of-type::first-letter{float:left;font-size:3.3em;line-height:1;margin:.1em .12em 0 0;color:var(--g)}
body.deco-iam .entry-content p a{color:var(--g)!important;border-bottom:1px solid var(--g);text-decoration:none!important}
/* Morrnah: framed plate + left caption under a hairline */
body.deco-iam .entry-content figure.wp-block-image:has(img[src*="Morrnah1"]){max-width:32em!important;width:100%!important;margin:20px auto 0!important;padding:0!important;display:block!important}
body.deco-iam .entry-content figure.wp-block-image:has(img[src*="Morrnah1"]) img{width:100%!important;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important;display:block;padding:6px;border:1px solid var(--h);box-sizing:border-box;background:#fff;max-width:none!important}
body.deco-iam .entry-content figure.wp-block-image:has(img[src*="Morrnah1"]) figcaption{text-align:left!important;margin:16px 0 0!important;padding:14px 0 0!important;border-top:1px solid var(--g);font-size:13.5px!important;line-height:1.9!important;color:#28432c!important}
body.deco-iam .entry-content .hpp-bio-name{font-size:17px!important;color:var(--g)!important;letter-spacing:.05em;line-height:1.6;margin:0 0 6px}
/* chip */
body.deco-iam .article-teacher-chips{text-align:center!important;margin:0!important;padding:30px 0 0!important}
body.deco-iam .article-teacher-chips .hpp-rec-teacher{display:inline-block!important;font-size:13.5px!important;letter-spacing:.08em!important;color:var(--g)!important;border:0!important;border-bottom:1px solid var(--g)!important;padding:0 0 4px!important;background:none!important;line-height:1.7!important;text-decoration:none!important}
/* onward: index rows */
body.deco-iam .hpp-rec{margin:56px auto 0!important;padding:0!important;max-width:720px}
body.deco-iam .hpp-rec>p:first-child{display:flex;align-items:center;gap:14px;color:var(--g)!important;font-size:15px!important;letter-spacing:.14em!important;margin:0 0 6px!important;line-height:1.6!important;text-align:center!important}
body.deco-iam .hpp-rec>p:first-child:before,body.deco-iam .hpp-rec>p:first-child:after{content:"";flex:1;height:1px;background:var(--h)}
body.deco-iam .hpp-rec-list{display:block!important;margin:0!important}
body.deco-iam .hpp-rec-card{display:grid!important;grid-template-columns:112px 1fr;gap:16px;align-items:center;padding:16px 0!important;border-bottom:1px solid var(--h)!important;background:none}
body.deco-iam .hpp-rec-thumb{margin:0!important}
body.deco-iam .hpp-rec-info{padding:0!important}
body.deco-iam .hpp-rec-label{font-size:11px!important;letter-spacing:.14em!important;color:var(--m)!important;margin:0 0 4px!important}
body.deco-iam .hpp-rec-title{font-size:15px!important;line-height:1.6!important;color:var(--g)!important;letter-spacing:.03em!important}
body.deco-iam .hpp-rec>div[style*="background"]{background:#fff!important;border:1px solid var(--h);padding:20px!important}

/* ===== prayer pages ===== */
body.deco-iam:has(.box01) .article>.article-inner:first-child{padding-bottom:0!important}
body.deco-iam:has(.box01) .article-teacher-chips{padding:22px 0 0!important}
body.deco-iam:has(.box01) .entry-content{text-align:left!important;font-size:13.5px!important;line-height:2!important;letter-spacing:.04em;color:var(--m)!important;max-width:30em;margin:0 auto!important}
body.deco-iam:has(.box01) .entry-content>p{font-size:13.5px!important;line-height:2!important;color:var(--m)!important;margin:0!important}
body.deco-iam:has(.box01) .entry-content a{color:var(--g)!important;border-bottom:1px solid currentColor;text-decoration:none!important}
body.deco-iam:has(.box01) .su-spacer{height:14px!important}
body.deco-iam:has(.box01) .entry-content>.su-spacer:first-of-type{height:22px!important}
body.deco-iam:has(.box01) .entry-content>span{display:block;text-align:center;color:var(--g)!important;font-size:22px!important;line-height:1.55!important;letter-spacing:.06em!important;margin:44px 0 0!important;padding-top:30px;border-top:1px solid var(--g)}
body.deco-iam:has(.box01) .entry-content>span+br+span{display:flex;align-items:center;gap:12px;font-size:11.5px!important;letter-spacing:.3em!important;color:var(--m)!important;margin:10px 0 0!important;padding:0;border:0}
body.deco-iam:has(.box01) .entry-content>span+br+span:before,body.deco-iam:has(.box01) .entry-content>span+br+span:after{content:"";flex:1;height:1px;background:var(--h)}
body.deco-iam .box01{background:none!important;border:0!important;border-left:1px solid var(--g)!important;border-radius:0;margin:30px 0 0 6px!important;padding:4px 0 4px 22px!important;text-align:left!important;box-shadow:none;max-width:none}
body.deco-iam .box01 p{position:relative;font-size:18px!important;line-height:1.85!important;letter-spacing:.05em!important;color:var(--g)!important;text-align:left!important;margin:0 0 26px!important;padding:0!important}
body.deco-iam .box01 p:before{content:"";position:absolute;left:-26px;top:.8em;width:7px;height:7px;border-radius:50%;background:#fff;border:1px solid var(--g);box-sizing:border-box}
body.deco-iam .box01 p:last-child{margin-bottom:0!important}
body.deco-iam .box01 .color06{font-size:12.5px!important;line-height:1.75!important;letter-spacing:.06em!important;color:var(--m)!important;margin-top:4px}
body.deco-iam:has(.box01) .wp-block-embed{margin:40px 0 0!important}
body.deco-iam .su-accordion{margin:44px 0 0!important;text-align:left;border-top:1px solid var(--g)}
body.deco-iam .su-spoiler{background:none!important;border:0!important;border-bottom:1px solid var(--h)!important;margin:0!important;border-radius:0}
body.deco-iam .su-spoiler-title{padding:18px 40px 18px 0!important;font-size:14px!important;line-height:1.6!important;letter-spacing:.05em!important;color:var(--g)!important}
body.deco-iam .su-spoiler-title:before,body.deco-iam .su-spoiler-title:after{right:6px}
body.deco-iam .su-spoiler-content{padding:0 0 20px!important;font-size:13px!important;line-height:2.1!important;color:var(--m)!important;border:0!important}
body.deco-iam:has(.box01) .su-accordion+p,body.deco-iam:has(.box01) .entry-content>p:has(+.hpp-rec){font-size:12px!important;margin-top:24px!important;text-align:center!important}
body.deco-iam:has(.box01) .hpp-rec{text-align:left}

@media(min-width:900px){
body.deco-iam .article>.article-inner:first-child{padding:72px 8vw 0!important}
body.deco-iam .article-title{font-size:34px!important;padding:30px 0 32px!important}
body.deco-iam:has(.wp-block-buttons) .article>.article-inner:first-child{padding-top:44px!important}
body.deco-iam:has(.wp-block-buttons) .article-title{font-size:30px!important;padding:22px 0 24px!important}
body.deco-iam:has(.wp-block-buttons) .article-hero{max-width:560px}
body.deco-iam .wp-block-buttons{display:grid!important;grid-template-columns:1fr 1fr;column-gap:40px;max-width:720px}
body.deco-iam .wp-block-button__link{font-size:21px!important;padding:24px 4px!important}
body.deco-iam:has(.wp-block-buttons) :is(.entry-content,.wp-block-cover__inner-container)>p:first-of-type::first-letter{font-size:3.6em}
body.deco-iam:has(.box01) .entry-content{max-width:34em}
body.deco-iam .box01 p{font-size:20px!important}
body.deco-iam .hpp-rec-card{grid-template-columns:200px 1fr;gap:24px}
}
body.deco-iam .re-next{margin:64px 0 8px;padding:28px 0 0;border-top:1px solid rgba(47,93,52,.22);display:flex;flex-direction:column;gap:12px}
body.deco-iam .re-next a{display:flex!important;align-items:center;justify-content:space-between;gap:12px;min-height:76px;box-sizing:border-box;padding:18px 16px 18px 20px!important;background:#e7f1f7;border:0!important;border-left:3px solid #2f5d34!important;border-radius:2px;color:#2f5d34!important;text-decoration:none!important;transition:background .2s}
body.deco-iam .re-next .re-t{font-size:16px;line-height:1.75;letter-spacing:.02em;text-wrap:pretty;word-break:normal;overflow-wrap:anywhere}
body.deco-iam .re-next .re-p{display:inline-block}
html[lang^=ko] body.deco-iam .re-next .re-t{word-break:keep-all;overflow-wrap:break-word}
body.deco-iam .re-next .re-a{flex:none;font-size:18px;line-height:1;opacity:.75}
body.deco-iam .re-next a:hover{background:#d8e8f1}
@media (min-width:782px){body.deco-iam .re-next{flex-direction:row}body.deco-iam .re-next a{flex:1 1 0}}
