.kbh-trip {

    color-scheme: light;
    --ink: #142c3c;
    --muted: #5e7180;
    --navy: #103b5c;
    --line: #dce6ee;
    --surface: #f5f8fa;

}

.kbh-trip, .kbh-trip * {

    box-sizing: border-box;

}

.kbh-trip {

    scroll-behavior: smooth;

}

.kbh-trip {

    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    word-break: keep-all;
    overflow-wrap: anywhere;

}

.kbh-trip .wrap {

    width: min(100% - 32px, 760px);
    margin-inline: auto;

}

.kbh-trip .skip {

    position: absolute;
    left: -9999px;

}

.kbh-trip .skip:focus {

    left: 12px;
    top: 12px;
    z-index: 10;
    background: white;
    padding: 12px;

}

.kbh-trip a {

    color: inherit;

}

.kbh-trip .site-head {

    background: white;
    border-bottom: 1px solid var(--line);

}

.kbh-trip .top {

    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
    gap: 12px;
    font-size: 14px;

}

.kbh-trip .brand {

    font-size: 17px;
    text-decoration: none;

}

.kbh-trip .hero {

    margin: 18px 0;
    padding: 25px 22px;
    border-radius: 18px;
    background: var(--navy);
    color: white;

}

.kbh-trip .eyebrow {

    color: #bcd7e8;
    font-size: 13px;

}

.kbh-trip h1 {

    font-size: clamp(25px, 6vw, 35px);
    line-height: 1.3;
    margin: 7px 0;

}

.kbh-trip h2 {

    font-size: 22px;
    line-height: 1.4;
    margin: 0 0 15px;

}

.kbh-trip h3 {

    font-size: 18px;

}

.kbh-trip p {

    margin: 8px 0;

}

.kbh-trip .times {

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;

}

.kbh-trip .times > div {

    padding: 14px;
    border-radius: 12px;
    background: #285474;

}

.kbh-trip .times span {

    display: block;
    color: #c7dfef;
    font-size: 13px;

}

.kbh-trip .times strong {

    display: block;
    font-size: clamp(29px, 7vw, 38px);
    font-variant-numeric: tabular-nums;

}

.kbh-trip .time-note {

    font-size: 15px;
    margin-top: 16px;

}

.kbh-trip .panel,
.kbh-trip .urgent {

    padding: 22px;
    margin: 16px 0;
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    scroll-margin-top: 20px;

}

.kbh-trip .urgent {

    border-color: #edc9a3;
    background: #fff9f0;

}

.kbh-trip .urgent h2 {

    color: #8b3e16;

}

.kbh-trip .account {

    margin-top: 16px;
    padding: 15px;
    border-radius: 12px;
    background: white;
    display: grid;
    gap: 5px;

}

.kbh-trip .account strong {

    font-size: 23px;
    font-variant-numeric: tabular-nums;

}

.kbh-trip button,
.kbh-trip .nav-buttons a,
.kbh-trip .nav-buttons button {

    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    padding: 11px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: white;
    color: var(--ink);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;

}

.kbh-trip .quick {

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0;

}

.kbh-trip .quick a {

    padding: 17px 13px;
    border-radius: 13px;
    background: white;
    border: 1px solid var(--line);
    text-decoration: none;
    font-weight: 700;

}

.kbh-trip .quick span {

    display: block;
    font-size: 12px;
    color: var(--muted);
    font-weight: 400;

}

.kbh-trip .nav-buttons {

    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 15px;

}

.kbh-trip .nav-buttons a,
.kbh-trip .nav-buttons button {

    flex: 1 1 130px;

}

.kbh-trip .nav-buttons .nav-kakao {

    background: #fee500;
    border-color: #fee500;
    color: #191919;

}

.kbh-trip .nav-buttons .nav-naver {

    background: #03c75a;
    border-color: #03c75a;
    color: white;

}

.kbh-trip .lead {

    font-weight: 700;

}

.kbh-trip .muted {

    color: var(--muted);
    font-size: 13px;

}

.kbh-trip .preline {

    white-space: pre-line;

}

.kbh-trip .photo {

    display: block;
    width: 100%;
    height: auto;
    margin-top: 16px;
    border-radius: 12px;

}

.kbh-trip .text-link {

    display: inline-block;
    margin-top: 14px;
    font-weight: 700;
    color: #0b5b8b;

}

.kbh-trip .facts {

    margin: 0;

}

.kbh-trip .facts > div {

    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);

}

.kbh-trip .facts dd {

    margin: 0;
    font-weight: 700;

}

.kbh-trip details {

    border-bottom: 1px solid var(--line);

}

.kbh-trip summary {

    cursor: pointer;
    padding: 15px 3px;
    font-weight: 700;
    min-height: 48px;

}

.kbh-trip details p {

    margin: 0 0 16px;
    color: #445968;

}

.kbh-trip .footer {

    padding: 25px 0;
    font-size: 13px;
    color: var(--muted);

}

.kbh-trip .footer a {

    float: right;

}

@media  (max-width: 420px)  {
.kbh-trip .wrap {

        width: calc(100% - 24px);
    
}

.kbh-trip .panel,
.kbh-trip .urgent {

        padding: 18px;
    
}

.kbh-trip .hero {

        padding: 23px 18px;
    
}

.kbh-trip h2 {

        font-size: 20px;
    
}
}

/* 테마 내부에서 출조안내 콘텐츠 영역만 스타일링 */
.kbh-trip {
    width: min(100%, 760px);
    margin: 0 auto;
    padding: 20px 0 32px;
    color: #142c3c;
    font-family: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    word-break: keep-all;
    overflow-wrap: anywhere;
}
.kbh-trip .wrap {
    width: 100%;
    margin-inline: auto;
}
.kbh-trip .hero h1 {
    color: #ffffff;
}
.kbh-trip .preline,
.kbh-trip details p {
    white-space: pre-line;
}
.kbh-trip .urgent strong {
    font-weight: 800;
}
@media (max-width: 768px) {
    .kbh-trip {
        padding: 10px 12px 24px;
    }
}

/* 티맵 검색 버튼: 출조안내 내부에만 적용 */
.kbh-trip .nav-buttons .nav-tmap {
    background-color: #e84358;
    color: #ffffff;
}
