/* 55: body navigation and approved body-only presentation. */
main>.bd55-page-nav{display:flex;align-items:center;min-height:32px;margin:0 0 12px;padding:0;text-align:left}
main>.bd55-page-nav>.back-link{margin:0;display:inline-flex;align-items:center;min-height:32px;font-size:14px;line-height:1.5;color:#356865;font-weight:700;text-decoration:none}
.bd55-page-nav a:focus-visible{outline:2px solid #356865;outline-offset:3px}
body[data-bokdam-bg72="guides"] .page-shell>.hero-card{background-image:linear-gradient(90deg,rgba(242,235,223,.86),rgba(242,235,223,.16)),var(--bokdam-bg72)}
body[data-bokdam-bg72="search"] .search-page66{background-image:linear-gradient(rgba(242,235,223,.60),rgba(242,235,223,.16)),var(--bokdam-bg72)}
.bd55-info>.info-card{padding:22px 0;margin:0;border:0;border-top:1px solid #c9bfaf;border-radius:0;box-shadow:none;background:transparent;scroll-margin-top:20px}
.bd55-info>.info-card h2{margin:0 0 14px;color:#203747}
.bd55-info>.info-card p{line-height:1.8}
@media(max-width:600px){main>.bd55-page-nav{margin-bottom:10px}.bd55-info>.info-card{padding:18px 0}}
/* 56: distinct guidance sections rather than one continuous article. */
.bd55-info>.info-card{margin:16px 0;padding:22px;border:1px solid #c9bfaf;border-radius:12px;background:#f2ebdf;box-shadow:none}
.bd55-info>.info-card h2{padding:0 0 12px;margin:0 0 16px;border-bottom:2px solid #8da9a3;color:#203747}
.bd55-info>.info-card p:last-child{margin-bottom:0}
@media(max-width:600px){.bd55-info>.info-card{padding:18px 16px;margin:14px 0}}
/* Surname title area: reuse existing artwork without altering search/data. */
.surname-page .surname-hero{border-radius:14px;padding:20px 16px 0;background-image:linear-gradient(90deg,#f2ebdfdd,#f2ebdf99 50%,#f2ebdf29),url('assets/bokdam66/landscape.webp');background-position:center top;background-size:100% 160px,auto 160px;background-repeat:no-repeat}
.surname-page .surname-hero>.surname-search{margin-top:32px;text-align:left}
.surname-page .surname-hero>h1,.surname-page .surname-hero>p{text-shadow:0 1px 3px #faf6ef}
@media(max-width:600px){.surname-page .surname-hero{padding:18px 10px 0;background-size:100% 190px,auto 190px}}
.bd55-info>.page-title{min-height:140px;display:flex;align-items:center;padding:24px;border:1px solid #c9bfaf;border-radius:14px;background:linear-gradient(90deg,#f2ebdfdd,#f2ebdf33),url('assets/bokdam66/landscape.webp') center 60%/cover no-repeat;color:#203747;text-shadow:0 1px 3px #faf6ef}
@media(max-width:600px){.bd55-info>.page-title{min-height:120px;padding:20px}}
.surname-page .surname-hero{position:relative;isolation:isolate;background:none}
.surname-page .surname-hero:before{content:'';position:absolute;inset:0 0 auto;height:160px;z-index:-1;border-radius:14px;background:linear-gradient(90deg,#f2ebdfdd,#f2ebdf99 50%,#f2ebdf29),url('assets/bokdam66/landscape.webp') center 60%/cover no-repeat;pointer-events:none}
@media(max-width:600px){.surname-page .surname-hero:before{height:190px}}
