/* Preview content retains the existing page design. Only edge softness is shared. */
body.keri-subpage:not(.keri-preserve-content){font-family:PreviewPretendard,'Malgun Gothic',sans-serif;background:#fff}
body.keri-subpage:not(.keri-preserve-content) #main :is(.panel,.card,.publication-card,.course-card,.network-path,.b2b-contact-summary){border-radius:16px}
/* Firefox fieldsets otherwise retain a min-content width on narrow screens. */
body.keri-subpage:not(.keri-preserve-content) #main fieldset{min-inline-size:0;max-inline-size:100%}
body.keri-subpage:not(.keri-preserve-content) #main>:is(.subhero,.network-hero,.b2b-contact-hero,.calendar-hero,.card-news-hero,.aiedu-hero){border-radius:20px;overflow:hidden}
/* No second generated masthead or decorative English watermark over an existing page hero. */
body.keri-subpage:not(.keri-preserve-content):not(.has-subhero) .institute-generated-masthead{display:none}
body.keri-subpage:not(.keri-preserve-content) #main .subhero::before,body.keri-subpage:not(.keri-preserve-content) #main .subhero::after,body.keri-subpage:not(.keri-preserve-content) #main .subhero .container::after{content:none!important;display:none!important}
body.keri-subpage:not(.keri-preserve-content) .subhero-identity{display:none!important}
body.keri-subpage:not(.keri-preserve-content) .catalog-external-visual>span{display:none}
@media(max-width:767px){body.keri-subpage:not(.keri-preserve-content) #main>:is(.subhero,.network-hero,.b2b-contact-hero,.calendar-hero,.card-news-hero,.aiedu-hero){border-radius:16px}}

@media(prefers-reduced-motion:no-preference){
 body.keri-subpage:not(.keri-preserve-content) #main>:is(.subhero,.network-hero,.b2b-contact-hero,.calendar-hero,.card-news-hero,.aiedu-hero){animation:preview-intro .42s ease-out both}
 @keyframes preview-intro{from{opacity:.2;transform:translateY(8px)}to{opacity:1;transform:none}}
}
@media(hover:hover) and (pointer:fine){
 body.keri-subpage:not(.keri-preserve-content) #main :is(.panel,.course-card,.publication-card){transition:border-color .18s,box-shadow .18s}
 body.keri-subpage:not(.keri-preserve-content) #main :is(.panel,.course-card,.publication-card):hover{border-color:#a7b9d2;box-shadow:0 6px 20px #1828330b}
}
@media(prefers-reduced-motion:reduce){body.keri-subpage:not(.keri-preserve-content) #main :is(.panel,.course-card,.publication-card){transition:none}}
