@charset "utf-8";

/*
 * gallery_list2 / sunsang24
 * 강백호 자체 광고 + BAND 수집글 전용 보강 스타일
 */

#bo_v_con {
    line-height: 1.8;
    word-break: keep-all;
}

#bo_v_con .kbh-seo-intro {
    margin: 0 0 24px;
    padding: 18px 20px;
    border: 1px solid #e7e9ee;
    border-radius: 12px;
    background: #f8f9fb;
    color: #353a42;
}

#bo_v_con .kbh-seo-intro p {
    margin: 0;
    line-height: 1.75;
}

#bo_v_con .kbh-collected-content {
    width: 100%;
}

#bo_v_con .kbh-collected-text {
    color: #222;
    font-size: 16px;
    line-height: 1.9;
}

#bo_v_con .kbh-collected-images {
    width: 100%;
    margin-top: 34px;
}

#bo_v_con .kbh-band-images {
    width: 100%;
}

#bo_v_con .kbh-band-image {
    margin: 0 0 20px;
    text-align: center;
}

#bo_v_con .kbh-band-image:last-child {
    margin-bottom: 0;
}

#bo_v_con .kbh-band-image img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
}

.kbh-house-ad {
    position: relative;
    margin: 38px 0;
    padding: 28px 30px;
    border: 1px solid #dfe4ea;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    text-align: center;
    box-sizing: border-box;
}

.kbh-house-ad::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 72px;
    height: 3px;
    transform: translateX(-50%);
    border-radius: 0 0 3px 3px;
    background: #111;
}

.kbh-house-ad-label {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 10px;
    border-radius: 20px;
    background: #f1f3f5;
    color: #666;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.kbh-house-ad-title {
    display: block;
    margin: 0;
    color: #111;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.35;
}

.kbh-house-ad-desc {
    margin: 13px 0 0;
    color: #60656d;
    font-size: 15px;
    line-height: 1.75;
}

.kbh-house-ad-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

#bo_v_con .kbh-house-ad-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    box-sizing: border-box;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

#bo_v_con .kbh-house-ad-btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

#bo_v_con .kbh-house-ad-btn-primary {
    border: 1px solid #111;
    background: #111;
    color: #fff;
}

#bo_v_con .kbh-house-ad-btn-secondary {
    border: 1px solid #d7dce2;
    background: #fff;
    color: #25282d;
}

.kbh-house-ad-bottom {
    margin-top: 44px;
    margin-bottom: 10px;
}

@media (max-width: 768px) {

    #bo_v_con {
        font-size: 15px;
        line-height: 1.8;
        word-break: keep-all;
    }

    #bo_v_con .kbh-seo-intro {
        margin-bottom: 20px;
        padding: 15px 16px;
        border-radius: 10px;
    }

    #bo_v_con .kbh-collected-text {
        font-size: 15px;
        line-height: 1.85;
    }

    #bo_v_con .kbh-collected-images {
        margin-top: 26px;
    }

    #bo_v_con .kbh-band-image {
        margin-bottom: 14px;
    }

    #bo_v_con .kbh-band-image img {
        border-radius: 8px;
    }

    .kbh-house-ad {
        margin: 30px 0;
        padding: 24px 18px;
        border-radius: 13px;
    }

    .kbh-house-ad-title {
        font-size: 20px;
        line-height: 1.4;
    }

    .kbh-house-ad-desc {
        margin-top: 10px;
        font-size: 14px;
        line-height: 1.7;
    }

    .kbh-house-ad-buttons {
        flex-direction: column;
        gap: 8px;
        width: 100%;
        margin-top: 18px;
    }

    #bo_v_con .kbh-house-ad-btn {
        width: 100%;
        min-width: 0;
        min-height: 46px;
    }
}


/* =========================================================
   강백호 자체광고 접기 / 펼치기
   ========================================================= */

.kbh-house-ad-wrap {
    position: relative;
    margin: 38px 0;
}

.kbh-house-ad-wrap .kbh-house-ad {
    margin: 0;
}

.kbh-house-ad-close {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 2;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f1f3f5;
    color: #555;
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.kbh-house-ad-close:hover {
    background: #e5e7eb;
    color: #111;
}

.kbh-house-ad-collapsed {
    display: none;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid #dfe4ea;
    border-radius: 10px;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
}

.kbh-house-ad-collapsed:hover {
    background: #f8f9fa;
}

.kbh-house-ad-arrow {
    margin-left: 12px;
    color: #777;
    font-size: 12px;
}

.kbh-house-ad-wrap.is-collapsed .kbh-house-ad {
    display: none;
}

.kbh-house-ad-wrap.is-collapsed .kbh-house-ad-collapsed {
    display: flex;
}

@media (max-width: 768px) {

    .kbh-house-ad-wrap {
        margin: 30px 0;
    }

    .kbh-house-ad-close {
        top: 10px;
        right: 10px;
        width: 28px;
        height: 28px;
        font-size: 18px;
        line-height: 28px;
    }

    .kbh-house-ad-collapsed {
        min-height: 46px;
        padding: 0 14px;
        font-size: 13px;
    }
}
