<style>
.rb_gallery_grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin: 0 auto;
    padding: 20px 0;
}

/* 프리미엄 게시물 */
.bbs_prd_list {
    grid-column: span 2;
}

.bbs_prd_list_wrap {
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;  /* 이미지가 radius 밖으로 넘치지 않도록 */
}

.bbs_prd_list_thumb {
    position: relative;
    padding-bottom: 75%;
    overflow: hidden;
}

.bbs_prd_list_thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.bbs_prd_list_con {
    padding: 15px;
}

.bbs_prd_list_con_li1 {
    margin-bottom: 10px;
}

.bbs_prd_list_con_li1 a {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.bbs_prd_list_con_li2 {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.bbs_prd_list_con_li3 {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 14px;
    color: #888;
    line-height: 1.4;
}

/* 웹진 스타일 게시물 */
.webzine_item {
    display: flex;
    gap: 20px;
    padding: 5px;
    border: 1px solid #ddd;
    margin-top: 0px;
    grid-column: span 3;
    background: #fff;
}

.webzine_thumb {
    flex: 0 0 25%;
    position: relative;
}

.webzine_thumb img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.webzine_content {
    flex: 0 0 75%;
padding-top:10px;
}

.webzine_title {
    margin-bottom: 10px;
}

.webzine_title a {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.webzine_info {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.webzine_desc {
    font-size: 14px;
    color: #888;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 호버 효과 */
.bbs_prd_list:hover,
.webzine_item:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* 모바일 스타일 */
@media all and (max-width:1024px) {
    .rb_gallery_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
        padding:0;
    }


    .bbs_prd_list {
        grid-column: span 1;
        border: none !important;
        padding: 0 !important;
    }

    .webzine_item {
        grid-column: 1 / -1;
        padding: 0px;
    }

    .bbs_prd_list_con_li2.cut2 {
        font-size: 15px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        width: 100% !important;
        display: block !important;
    }

    .bbs_prd_list_con_li3 {
        display: block !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        width: 100% !important;
        max-width: 66ch !important;
    }
}

@media all and (max-width:768px) {
    .rb_gallery_grid {
        gap: 10px;
    }

    .bbs_prd_list_con_li2.cut2 {
        font-size: 13.5px !important;
    }
}

/* 새로운 라벨 스타일 */
.rc_label_new {
display: inline-block;
padding: 3px   !important;
background: #fff !important;
border: 1px solid #ddd;
font-size: 12px !important;  /* 기존보다 1px 작게 */
line-height: 1.2;
border-top-left-radius: 8px !important;
border-bottom-left-radius: 8px !important;
border-top-right-radius: 8px !important;
border-bottom-right-radius: 8px !important;
color: #666;
}

/* 모바일에서의 스타일 */
@media all and (max-width:1024px) {
    .rc_label_new {
    font-size: 12px;
    padding: 2px 6px;
    }
}


/* 플로팅 버튼 기본 스타일 */
.floating_map_btn {
display: none;  /* 기본적으로 숨김 */
}

/* 모바일에서만 버튼 표시 */
@media screen and (max-width: 1024px) {
.floating_map_btn {
display: block;
position: fixed;
bottom: 50px;
left: 50%;
transform: translateX(-50%);
z-index: 100;
}

.floating_map_btn a {
display: flex;
align-items: center;
justify-content: center;
background: #2b96ed;
color: #fff;
padding: 12px 24px;
border-radius: 15px;
box-shadow: 0 4px 10px rgba(0,0,0,0.15);
font-size: 15px;
font-weight: 500;
text-decoration: none;
transition: all 0.3s ease;
}

.floating_map_btn i {
margin-right: 8px;
font-size: 16px;
}

.floating_map_btn a:hover,
.floating_map_btn a:active {
background: #2280d0;
color: #fff;
}
}

/* 작은 모바일 화면 대응 */
@media screen and (max-width: 768px) {
.floating_map_btn a {
padding: 10px 20px;
font-size: 14px;
}
}

/* 상세 페이지 스타일 */
.solar-process-container {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 5rem 1rem;
    margin: 2rem auto;
    overflow: hidden;
}

.process-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 4rem;
    color: #333;
}

.process-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
    position: relative;
}

.process-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 20%;
    z-index: 1;
}

.process-circle {
    width: 10rem;
    height: 10rem;
    background: white;
    border-radius: 50%;
    border: 2px solid #4F46E5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.process-icon {
    font-size: 3rem;
    color: #4F46E5;
}

.process-title-sub {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.process-desc {
    font-size: 1rem;
    color: #666;
}

/* 상세 페이지 항목 스타일 */
.rc_wrap2_div dt {
    width: 140px !important;
    font-size: 14px !important;
    color: #666 !important;
    font-weight: 400 !important;
    letter-spacing: -0.4px !important;
    flex-shrink: 0 !important;
    position: relative !important;
    padding-left: 12px !important;
}

.rc_wrap2_div dt::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    width: 4px !important;
    height: 4px !important;
    border-radius: 50% !important;
    background: #03c75a !important;
    transform: translateY(-50%) !important;
}

.rc_wrap2_div dd {
    font-size: 15px !important;
    color: #222 !important;
    font-weight: 500 !important;
    letter-spacing: -0.3px !important;
    margin: 0 !important;
    flex: 1 !important;
}

.rc_wrap2_div dd.highlight {
    color: #03c75a !important;
    font-weight: 600 !important;
    font-size: 16px !important;
}

.unit-text {
    font-size: 14px !important;
    color: #666 !important;
    margin-left: 4px !important;
    font-weight: 400 !important;
}

.section-divider {
    background: #f8f9fa !important;
    height: 8px !important;
    margin: 0 !important;
    border: none !important;
}

/* 모바일 대응 추가 */
@media screen and (max-width: 768px) {
    .rc_wrap2 {
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
        margin: 16px 0 24px !important;
    }

    .rc_title {
        padding: 16px !important;
        font-size: 16px !important;
    }

    .button-group {
        padding: 12px !important;
        flex-wrap: wrap !important;
    }

    .button-group .btn {
        font-size: 13px !important;
        padding: 10px !important;
    }

    .rc_wrap2_div {
        padding: 16px !important;
    }

    .rc_wrap2_div dl {
        flex-direction: column !important;
        align-items: flex-start !important;
        margin-bottom: 20px !important;
        position: relative !important;
    }

    .rc_wrap2_div dt {
        width: auto !important;
        margin-bottom: 6px !important;
        color: #888 !important;
        font-size: 13px !important;
    }

    .rc_wrap2_div dd {
        width: 100% !important;
        font-size: 15px !important;
        padding-left: 12px !important;
    }

    .rc_wrap2_div dt::before {
        top: 9px !important;
    }
}

/* 모달 스타일 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.price-korean {
    margin-top: 5px;
    color: #666;
    font-size: 0.9em;
}

.form-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.btn-cancel {
    padding: 8px 16px;
    background-color: #666;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-submit {
    padding: 8px 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-cancel:hover {
    background-color: #555;
}

.btn-submit:hover {
    background-color: #0056b3;
}

.plant-info {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.plant-info p {
    margin: 5px 0;
    color: #333;
}

.plant-info strong {
    color: #007bff;
    margin-right: 10px;
}

/* 모달 기본 스타일 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 500px;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5em;
}

.close {
    font-size: 28px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
}

.close:hover {
    color: #000;
}
</style>
