@charset "utf-8";

html:has(.b2-page),
body.ss-site:has(.b2-page) {
    overflow-x: clip;
    max-width: 100%;
    width: 100%;
    min-width: 0;
}
body.ss-site:has(.b2-page) #hd,
body.ss-site:has(.b2-page) .ss-header,
body.ss-site:has(.b2-page) #wrapper,
body.ss-site:has(.b2-page) #container_wr,
body.ss-site:has(.b2-page) #container,
body.ss-site:has(.b2-page) #container.ss-page,
body.ss-site:has(.b2-page) #ft {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    background: #f6f6f6 !important;
}
body.ss-site:has(.b2-page) #container_title,
body.ss-site:has(.b2-page) #aside {
    display: none !important;
}

.b2-page {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 20px 18px 72px;
    background: url("../../../img/home-hero-bg.jpg") no-repeat right center;
    background-size: cover;
    color: #111;
    box-sizing: border-box;
    font-family: "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
}
.b2-page *,
.b2-page *::before,
.b2-page *::after {
    box-sizing: border-box;
}
.b2-admin {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 16px 0 24px;
}
.b2-admin a {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 12px;
    border: 1px solid #e4dfd4;
    border-radius: 6px;
    font-size: 12px;
    color: #6d6860;
}

.b2-intro {
    padding: 8px 6px 20px;
}
.b2-intro-en {
    margin: 0 0 16px;
    font-family: "Great Vibes", cursive;
    font-size: 22px;
    font-weight: 400;
    color: #c5bdb8;
    letter-spacing: 0.02em;
    line-height: 1.2;
    margin-top: 12px;
}
.b2-intro-ko {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
    color: #5a5a5a;
    letter-spacing: -0.03em;
    word-break: keep-all;
}
.b2-intro h1 {
    margin: 0;
    font-family: "Nanum Myeongjo", "Noto Serif KR", serif;
    font-size: clamp(34px, 9vw, 42px);
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 1.2;
    color: #111;
}

.b2-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.b2-card {
    position: relative;
    display: block;
    color: inherit;
}
.b2-card figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 16 / 10;
    background: #eee8e2;
    box-shadow: 0 10px 24px rgba(44, 44, 44, 0.08);
}
.b2-page .b2-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
}
.b2-panel {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    width: calc(100% - 28px);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(44, 44, 44, 0.1);
}
.b2-ico {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border: 1px solid #ececec;
    border-radius: 50%;
    color: #8a8a8a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.b2-ico svg,
.b2-ico .material-symbols-outlined {
    width: 18px;
    height: 18px;
    font-size: 18px;
}
.b2-panel > span:nth-child(2) {
    flex: 1;
    min-width: 0;
}
.b2-panel strong {
    display: block;
    font-family: "Nanum Myeongjo", "Noto Serif KR", serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #111;
}
.b2-panel em {
    display: block;
    margin-top: 2px;
    font-style: normal;
    font-size: 11px;
    color: #8a8a8a;
    letter-spacing: -0.03em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.b2-panel b {
    flex: 0 0 auto;
    color: #333;
    font-size: 18px;
    font-weight: 400;
}

@media (min-width: 768px) {
    .b2-page {
        max-width: 480px;
    }
}

@media (max-width: 767px) {
    .b2-page {
        display: flex;
        flex-direction: column;
        min-height: calc(100svh - var(--ss-header-h, 76px));
        max-height: calc(100svh - var(--ss-header-h, 76px));
        padding: 8px 16px 16px;
    }
    .b2-intro {
        padding: 0 4px 10px;
        flex: 0 0 auto;
    }
    .b2-intro-en {
        margin-bottom: 6px;
        font-size: 18px;
    }
    .b2-intro-ko {
        margin-bottom: 6px;
        font-size: 13px;
        line-height: 1.5;
    }
    .b2-intro h1 {
        font-size: clamp(28px, 8vw, 36px);
    }
    .b2-cards {
        flex: 1 1 auto;
        min-height: 0;
        gap: 10px;
    }
    .b2-card {
        flex: 1 1 0;
        min-height: 0;
    }
    .b2-card figure {
        aspect-ratio: auto;
        height: 100%;
    }
}
