/* 페이지 전체 세로 스크롤 강제 허용 */
html { height:auto !important; min-height:100%; overflow-y:scroll !important; }
body.bp-scroll-main { height:auto !important; min-height:100%; overflow-y:visible !important; overflow-x:hidden !important; }
body.bp-scroll-main .wrapper,
body.bp-scroll-main #middle,
body.bp-scroll-main #middle.main,
body.bp-scroll-main #middle.main .contents {
    height:auto !important;
    min-height:0 !important;
    overflow:visible !important;
}
.bp-scroll-section { position:relative; scroll-margin-top:102px; }

/* 부평농산 신규 스크롤형 메인 - 기존 기능을 유지한 레이아웃 전용 */
.bp-scroll-main #middle.main .contents { overflow: visible; }
.bp-scroll-main #middle.main .top-visual { position:relative; margin-bottom:0; }
.bp-scroll-main #middle.main .top-visual .wrap-contents { z-index:3; }

/* 화면을 억지로 100vh에 고정하지 않고, 작은 화면에서는 내용만큼 자연스럽게 늘어납니다. */
.bp-scroll-main .notice-group,
.bp-scroll-main #mainPriceAsync,
.bp-scroll-main .bp-scroll-market-hub { box-sizing:border-box; }
.bp-scroll-main .notice-group { padding-top:55px !important; padding-bottom:55px; }
.bp-scroll-main #mainPriceAsync { padding-top:28px; padding-bottom:28px; }

.bp-scroll-market-hub { margin-top:35px; padding:58px 0 38px; background:#f6f8f7; border-top:1px solid #e5e9e7; border-bottom:1px solid #e5e9e7; }
.bp-scroll-market-hub .bp-scroll-section-head { width:1200px; margin:0 auto 30px; text-align:center; }
.bp-scroll-market-hub .bp-scroll-section-head span { display:block; margin-bottom:7px; color:#159447; font-size:12px; font-weight:bold; letter-spacing:2px; }
.bp-scroll-market-hub .bp-scroll-section-head h2 { margin:0; color:#222; font-size:28px; line-height:1.3; }
.bp-scroll-market-hub .bp-scroll-section-head p { margin:10px 0 0; color:#777; font-size:14px; }
.bp-scroll-market-hub .quick-bn { margin-top:0; }
.bp-scroll-market-hub .secbox02 { margin-top:28px; padding-top:25px; border-top:1px solid #dde3df; }
.bp-scroll-market-hub .related-logo { margin-top:0; }

/* 섹션 사이를 분명히 하되 다음 내용이 억지로 잘리지 않도록 min-height만 사용 */
@media screen and (min-width:1181px) and (min-height:760px) {
    .bp-scroll-main .notice-group { min-height:620px; }
    .bp-scroll-main .bp-scroll-market-hub { min-height:430px; }
}
@media screen and (max-width:1180px) {
    .bp-scroll-market-hub .bp-scroll-section-head { width:auto; padding:0 25px; }
}
@media screen and (max-width:720px) {
    .bp-scroll-main .notice-group { padding-top:30px !important; padding-bottom:30px; }
    .bp-scroll-market-hub { padding:38px 0 25px; }
    .bp-scroll-market-hub .bp-scroll-section-head h2 { font-size:23px; }
}

/* V3: 하단 튕김 방지 - 휠을 JS로 가로채지 않고 브라우저 기본 스크롤 사용 */
html, body.bp-scroll-main {
    scroll-behavior: auto !important;
}

/* ===== 메인 비주얼 반응형 이미지 ===== */
body.bp-scroll-main #middle.main .top-visual {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

body.bp-scroll-main #middle.main .top-visual .visual,
body.bp-scroll-main #middle.main .top-visual .owl-stage-outer,
body.bp-scroll-main #middle.main .top-visual .owl-item,
body.bp-scroll-main #middle.main .top-visual .visual .item {
    width: 100%;
    max-width: 100%;
}

/* Owl stage는 모든 슬라이드의 합계 폭을 사용하므로 화면 폭으로 제한하면 안 됩니다. */
body.bp-scroll-main #middle.main .top-visual .owl-stage {
    max-width: none !important;
}

body.bp-scroll-main #middle.main .top-visual .visual .item {
    position: relative;
    overflow: hidden;
}

body.bp-scroll-main #middle.main .top-visual .visual .item > img {
    display: block !important;

    position: relative !important;

    width: 100% !important;
    height: 100% !important;

    max-width: 100% !important;

    object-fit: contain !important;
    object-position: center center !important;

    margin: 0 !important;
}

.bp-daily-price-title {
    max-width: 1380px;
    margin: 0 auto 18px;
    padding: 0 20px;
}
.bp-daily-price-title img {
    display: block;
    max-width: 100%;
    height: auto;
}
