@charset "UTF-8";

/* 사이드 배너 컨테이너 */
.bnr-wrapper-side {
    width: 100%;
    /*max-width: 300px;*/
}

/* 배너 박스 */
.bnr-box-item {
    /*background: #fff;*/
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 3rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bnr-box-item:hover {
    /*transform: translateY(-4px);*/
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* 배너 이미지 영역 */
.bnr-img-zone {
    position: relative;
    width: 100%;
    padding-top: 66.67%; /* 3:2 비율 */
    overflow: hidden;
    background: #f5f5f5;
}

.bnr-img-element {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bnr-box-item:hover .bnr-img-element {
    transform: scale(1.05);
}

/* 배너 컨텐츠 영역 */
.bnr-content-zone {
    background-color: #eee;
    padding: 1rem;
}

.bnr-heading-text {
    color: #6c757d;
    font-size: 1rem;
    font-family: 'Noto Serif KR', sans-serif;
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.4;
}

.bnr-desc-text {
    font-size: 0.9rem;
    font-family: 'Noto Serif KR', sans-serif;
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

/* 배너 링크 버튼 */
.bnr-action-link {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.7);
    color: #5A6267;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.bnr-action-link:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #5A6267;
}

/* 배지 스타일 */
.bnr-badge-label {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ff4757;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

/* 텍스트 전용 배너 */
.bnr-text-style {
    background: linear-gradient(136deg, #DAE7ED 0%, #829EAC 100%);
    padding: 30px;
}

.bnr-text-style .bnr-heading-text {
    color: #6c757d;
    font-size: 1rem;
    font-family: 'Noto Serif KR', sans-serif;
    margin-bottom: 0.5rem;
}

.bnr-text-style .bnr-desc-text {
    color: rgba(255, 255, 255, 0.9);
}

.bnr-text-style .bnr-action-link {
    background: #6c757d;
    color: #fff;
}

.bnr-text-style .bnr-action-link:hover {
    background: rgba(76, 84, 91, 0.9);
    color: #fff;
}

/* 반응형 */
@media (max-width: 768px) {
    .bnr-wrapper-side {
        max-width: 100%;
    }
}


/* (구) 컨텐츠 페이지 좌측 베너 banner.html */
.banner-bg-1 {
    width: 100%;
    background-image: url(https://imagehub.mycafe24.com/dachstore/images/aside_banner_bg_1.jpg);
    height: auto;
    padding: 1rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.banner-bg-text {
    color: #fff !important;
    font-size: 1rem !important;
    font-family: 'Noto Serif KR', sans-serif !important;
    margin-bottom: 0.5rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

.banner-bg-desc-text {
    color: #fff;
    font-size: 0.9rem;
    font-family: 'Noto Serif KR', sans-serif;
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.banner-bg-2 {
    width: 100%;
    background-image: url(https://imagehub.mycafe24.com/dachstore/images/aside_banner_bg_2.jpg);
    height: auto;
    padding: 1rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}