@charset "utf-8";

@font-face {
    font-family: 'Pretendard';
    src: url('/assets/fonts/PretendardVariable.woff2') format('woff2-variations');
    font-weight: 100 900;
    font-display: swap;
}

/* 윈도우 환경에서 거칠게 보이는 현상을 막고, 벡터처럼 매끄럽게 렌더링되도록 텍스트 섀도우(text-shadow) 효과 적용 */
body {
    font-family: 'Pretendard', 'Malgun Gothic', sans-serif;
    margin: 0;
    padding: 0;
    background: #f8fafc;
    letter-spacing: -0.3px;
    -webkit-font-smoothing: subpixel-antialiased;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.05);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* 헤더 스타일 (스마트 헤더 애니메이션 추가) */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease-in-out;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

/* 로고 영역 */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 24px;
    object-fit: contain;
}

.logo span {
    font-size: 20px;
    font-weight: 800;
    color: #1e3a8a;
    letter-spacing: -0.5px;
}

/* 내비게이션 메뉴 */
.gnb {
    display: flex;
    gap: 30px;
    align-items: center;
}

.gnb a {
    font-size: 16px;
    font-weight: 600;
    color: #475569;
    transition: color 0.2s;
}

.gnb a:hover {
    color: #2563eb;
}

.gnb .active {
    color: #2563eb;
    font-weight: 700;
    border-bottom: 2px solid #2563eb;
    padding-bottom: 23px;
    margin-bottom: -25px;
}

/* 데스크탑 서브메뉴 */
@media (min-width: 769px) {
    .gnb-item {
        position: relative;
        height: 100%;
        display: flex;
        align-items: center;
        padding: 23px 0;
        margin: -23px 0;
        cursor: pointer;
    }

    .gnb-submenu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
        min-width: 160px;
        display: none;
        flex-direction: column;
        z-index: 1001;
        padding: 8px 0;
        margin-top: 1px;
    }

    .gnb-item:hover .gnb-submenu {
        display: flex;
        animation: fadeIn 0.2s ease-out;
    }

    .gnb-submenu a {
        padding: 10px 20px !important;
        font-size: 14.5px !important;
        color: #475569 !important;
        font-weight: 600 !important;
        border: none !important;
        margin: 0 !important;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    .gnb-submenu a:hover {
        background: #f8fafc;
        color: #2563eb !important;
    }
}

/* 모바일 서브메뉴 */
@media (max-width: 768px) {
    .gnb-item {
        width: 100%;
        position: relative;
    }

    .gnb-submenu {
        display: none;
        flex-direction: column;
        background: #f8fafc;
    }

    .gnb-item.open .gnb-submenu {
        display: flex;
        animation: fadeIn 0.2s ease-out;
    }

    .gnb-submenu a {
        padding: 14px 20px 14px 40px !important;
        font-size: 15px !important;
        border-bottom: 1px solid #e2e8f0 !important;
        color: #64748b !important;
    }

    .gnb-submenu a::after {
        content: "" !important;
        display: none !important;
    }

    /* 서브 토글 화살표 디자인 */
    .m-sub-toggle {
        position: absolute;
        right: 0;
        top: 0;
        width: 60px;
        height: 53px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
    }

    .m-sub-toggle::after {
        content: "\203A";
        display: inline-block;
        color: #94a3b8;
        font-size: 26px;
        font-weight: 300;
        transition: transform 0.3s;
        transform: rotate(90deg);
    }

    .gnb-item.open .m-sub-toggle::after {
        transform: rotate(270deg);
        color: #2563eb;
    }

    /* gnb-item 안의 기본 화살표 제거 (m-sub-toggle 사용) */
    .gnb-item>a::after {
        display: none !important;
    }
}


/* 모바일 헤더 햄버거 메뉴 스타일 */
.menu-toggle {
    display: none;
    cursor: pointer;
    color: #1e3a8a;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .gnb {
        display: none;
        flex-direction: column;
        gap: 0 !important;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        border-top: 1px solid #e2e8f0;
        border-bottom: 3px solid #1e3a8a;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 0;
    }

    .gnb.active {
        display: flex;
    }

    .gnb a {
        padding: 16px 20px !important;
        border-bottom: 1px solid #f1f5f9 !important;
        margin-bottom: 0 !important;
        width: 100%;
        box-sizing: border-box;
        text-align: left;
        font-size: 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .gnb a::after {
        content: "\203A";
        color: #94a3b8;
        font-size: 22px;
        font-weight: 300;
        line-height: 1;
    }


    .gnb .active {
        background: #eff6ff !important;
        color: #2563eb !important;
        font-weight: 700 !important;
        padding: 16px 20px !important;
        margin-bottom: 0 !important;
        border-bottom: 1px solid #f1f5f9 !important;
    }

    .gnb .active::after {
        color: #2563eb;
        font-weight: bold;
    }

    main {
        padding: 15px 10px;
    }
}

main {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 매물 카드 스타일 (공통 추출) */
.item-card {

    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    border: 1px solid #e2e8f0;
    position: relative;
    display: flex;
    flex-direction: column;
}

.item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.card-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #f8fafc;
    min-height: 200px;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.item-card:hover .card-img-wrapper img {
    transform: scale(1.07) !important;
}

.badge {
    position: absolute;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
    z-index: 10;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-wrap-right {
    position: absolute;
    top: 10px;
    right: 10px;
    left: 70px;
    display: flex;
    gap: 4px;
    z-index: 10;
    align-items: flex-start;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.badge-wrap-right .badge {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
}

.promo-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.3);
    white-space: nowrap;
    backdrop-filter: blur(2px);
}

.card-body {
    padding: 15px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.item-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #1e293b;
    line-height: 1.4;
    display: block;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price-tag {
    font-size: 19px;
    font-weight: 800;
    color: #1e40af;
    transition: all 0.3s ease;
    display: inline-block;
    transform-origin: right center;
    font-variant-numeric: normal !important;
}

.item-card:hover .price-tag,
.rec-card:hover .price-tag {
    transform: scale(1.07) !important;
    color: #2563eb !important;
}

/* 오버레이형 카드 전용: 호버 시 파란색으로 변하지 않고 흰색 유지 */
.item-card.is-overlay:hover .price-tag {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 15px;
    font-size: 12px;
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
    margin-top: auto;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.label {
    color: #64748b;
    font-weight: 500;
}

.value {
    color: #475569;
    font-weight: 600;
    text-align: right;
}

/* 숫자 전용 폰트 최적화 (가독성 향상) */

.price-tag,
.area-val,
.val-num {
    font-variant-numeric: normal !important;
}

/* 면적 토글 스위치 (글자 포함형) */
.unit-toggle {
    position: relative;
    display: inline-flex;
    width: 70px;
    height: 28px;
    background: #e2e8f0;
    border-radius: 14px;
    cursor: pointer;
    user-select: none;
    align-items: center;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #cbd5e1;
    box-sizing: border-box;
}

.unit-toggle-slider {
    position: absolute;
    top: 1px;
    left: 1px;
    width: 34px;
    height: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.unit-toggle.active .unit-toggle-slider {
    transform: translateX(32px);
}

.unit-toggle-text {
    flex: 1;
    text-align: center;
    font-size: 12px;
    font-weight: 800;
    color: #64748b;
    z-index: 1;
    transition: color 0.3s;
}

.unit-toggle.active .unit-toggle-text:first-child {
    color: #64748b;
}

.unit-toggle.active .unit-toggle-text:last-child {
    color: #1e40af;
}

.unit-toggle:not(.active) .unit-toggle-text:first-child {
    color: #1e40af;
}

.unit-toggle:not(.active) .unit-toggle-text:last-child {
    color: #64748b;
}

/* 섹션 헤더 (index.php) */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid #2563eb;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.section-title {
    color: #1e40af;
    margin: 0;
    font-size: 20px;
}

.btn-more {
    text-decoration: none;
    color: #475569;
    font-size: 13px;
    font-weight: bold;
    background: #f1f5f9;
    padding: 5px 12px;
    border-radius: 4px;
    transition: 0.2s;
    border: 1px solid #e2e8f0;
}

.btn-more:hover {
    background: #e2e8f0;
    color: #1e3a8a;
}

/* 드롭다운 필터 */;
}

.section-title {
    color: #1e40af;
    margin: 0;
    font-size: 20px;
}

.btn-more {
    text-decoration: none;
    color: #475569;
    font-size: 13px;
    font-weight: bold;
    background: #f1f5f9;
    padding: 5px 12px;
    border-radius: 4px;
    transition: 0.2s;
    border: 1px solid #e2e8f0;
}

.btn-more:hover {
    background: #e2e8f0;
    color: #1e3a8a;
}

/* 드롭다운 필터 */
.filter-group {

    position: relative;
    display: flex;
    flex: 1.3;
    min-width: 110px;
}

.filter-btn {
    width: 100%;
    padding: 0 18px 0 10px;
    height: 42px;
    box-sizing: border-box;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    font-family: inherit;
    font-weight: 500;
    color: #334155;
    display: block;
    line-height: 40px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    position: relative;
    margin: 0;
}

.filter-btn::after {
    content: '\25BC';
    font-size: 10px;
    color: #94a3b8;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
}


.filter-btn.active {
    border-color: #2563eb;
    color: #2563eb;
    background: #eff6ff;
    font-weight: 700;
}

.filter-btn.active::after {
    color: #2563eb;
}

.filter-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 5px;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 260px;
    display: none;
}

.filter-dropdown-row {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

.filter-dropdown-row input {
    flex: 1;
    width: 0;
    padding: 8px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 13px;
    text-align: center;
}

.dropdown-actions {
    display: flex;
    gap: 5px;
    justify-content: space-between;
}

.btn-dd-reset {
    flex: 1;
    padding: 8px;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-weight: bold;
    transition: 0.2s;
}

.btn-dd-apply {
    flex: 1;
    padding: 8px;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    background: #2563eb;
    border: none;
    color: #fff;
    font-weight: bold;
    transition: 0.2s;
}

/* 매물 검색 탭 버튼 호버 이펙트 (언더라인) */
.search-tab-btn::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2.5px;
    background-color: #2563eb;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) and (pointer: fine) {
    .search-tab-btn:hover {
        color: #2563eb !important;
    }

    .search-tab-btn:hover::after {
        width: calc(100% - 64px);
        /* 버튼 좌우 패딩 32px * 2를 제외한 글자 너비 */
        left: 32px;
        /* 패딩 시작 지점으로 이동 */
    }
}

/* 모바일 검색 폼 최적화 */
@media (max-width: 768px) {

    #searchForm,
    #globalSearchFormEl {
        flex-direction: column;
        gap: 10px !important;
    }

    #searchForm>input:not([type="hidden"]),
    #searchForm>select,
    #searchForm>div.filter-group,
    #globalSearchFormEl>input:not([type="hidden"]),
    #globalSearchFormEl>select,
    #globalSearchFormEl>div.filter-group {
        flex: none !important;
        width: 100% !important;
        min-width: 100% !important;
    }

    .filter-dropdown {
        width: calc(100vw - 60px) !important;
        box-sizing: border-box;
    }

    .mobile-hide {
        display: none !important;
    }

    #searchForm>div:last-child,
    #globalSearchFormEl>div:last-child {
        display: flex;
        flex-direction: row;
        gap: 8px;
        width: 100% !important;
        flex: none !important;
    }

    #searchForm>div:last-child>button,
    #globalSearchFormEl>div:last-child>button {
        flex: 1 !important;
    }

    #searchForm.show-adv .mobile-hide,
    #globalSearchFormEl.show-adv .mobile-hide {
        display: block !important;
    }

    #searchForm.show-adv div.mobile-hide,
    #globalSearchFormEl.show-adv div.mobile-hide {
        display: flex !important;
    }

    .btn-mobile-filter {
        display: block !important;
        width: 100%;
        height: 42px;
        background: #f8fafc;
        border: 1px solid #cbd5e1;
        border-radius: 4px;
        font-size: 13px;
        font-weight: bold;
        color: #475569;
        text-align: center;
        cursor: pointer;
        margin: 0;
    }

    .list-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px;
        margin-bottom: 20px !important;
    }

    .list-title {
        font-size: 16px !important;
    }

    .list-options {
        width: 100%;
        justify-content: space-between;
    }
}

@media (min-width: 769px) {
    .btn-mobile-filter {
        display: none !important;
    }
}

/* =======================================================
   ?먮뵒??Summernote) 蹂몃Ц ?쎌엯????Table) ?꾨줎?몄뿏???붿옄??
   ======================================================= */
.desc-box table,
table.table-bordered {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 20px 0 !important;
    font-size: 14px;
}

.desc-box table th,
.desc-box table td,
table.table-bordered th,
table.table-bordered td {
    border: 1px solid #cbd5e1 !important;
    padding: 10px 12px !important;
    word-break: keep-all;
}

.desc-box table th,
table.table-bordered th {
    background-color: #f1f5f9 !important;
    font-weight: bold !important;
    text-align: center;
}

/* 테마별 박스 스타일 */
.theme-box {

    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: 0.3s;

    background: #f1f5f9;
}

.theme-box-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: 0.5s;
}

.theme-box-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.2) 75%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.theme-box-overlay span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.theme-box:hover {
    transform: translateY(-5px);
}

.theme-box:hover .theme-box-img {
    transform: scale(1.1);
}

.theme-box:hover .theme-box-overlay span {
    transform: scale(1.1);
}

/* 특별관 상세보기 버튼 스타일 */
.btn-view-details {
    font-size: 13px;
    color: #1e40af;
    font-weight: 800;
    display: inline-block;
    padding: 6px 18px;
    border: 1px solid #bfdbfe;
    border-radius: 20px;
    background: #fff;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-view-details:hover,
.item-card:hover .btn-view-details {
    background: #1e40af;
    color: #fff;
    border-color: #1e40af;
}

/* =======================================================
   콤팩트 카드 반응형 디자인 (가로 245px 이하에서 동작)
   ======================================================= */
.item-card,
.item-card-overlay {
    container-type: inline-size;
}

@container (max-width: 245px) {

    .price-tag {
        letter-spacing: -0.5px !important;
        display: block !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /* 전용면적/해당층 글자 숨기고 아이콘만 노출 */
    .label-text {
        display: none !important;
    }

    .compact-icon {
        display: inline-block !important;
        margin-right: 4px;
        font-size: 12px;
        color: #64748b;
        font-weight: 500;
    }
}

/* === 금액 태그 스마트 애니메이션 기능 === */
.item-title.is-overflowing,
.price-tag.is-overflowing {
    -webkit-mask-image: none !important;
    mask-image: none !important;
    text-overflow: clip !important;
}

.price-tag {
    border-left: 3px solid transparent;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
    font-variant-numeric: normal !important;
}

span:has(+ .price-tag) {
    position: relative;
    z-index: 10 !important;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.marquee-inner {
    display: inline-flex;
    align-items: center;
    line-height: inherit;
    will-change: transform;
    transition: transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {

    .item-card:hover .is-overflowing .marquee-inner,
    .rec-card:hover .is-overflowing .marquee-inner {
        transform: translateX(calc(-1 * var(--marquee-dist, 20px)));
        transition: transform var(--marquee-time, 2s) linear 0.3s;
    }
}

@media (hover: none),
(pointer: coarse) {

    .item-card:hover .is-overflowing .marquee-inner,
    .rec-card:hover .is-overflowing .marquee-inner {
        animation: marquee-roundtrip var(--marquee-time-round, 4s) linear forwards;
    }
}

@keyframes marquee-roundtrip {

    0%,
    10% {
        transform: translateX(0);
    }

    45%,
    55% {
        transform: translateX(calc(-1 * var(--marquee-dist, 20px)));
    }

    90%,
    100% {
        transform: translateX(0);
    }
}

/* ==============================================================
   [ Swiper FOUC 방지 ] 자바스크립트 초기화 전 0.1초 동안 큰 이미지 번쩍임 차단
   ============================================================== */
.swiper:not(.swiper-initialized) {
    visibility: hidden !important;
}
.swiper.swiper-initialized {
    visibility: visible !important;
}

/* 특별관 모바일 여백 최적화 (인덱스와 동일하게) */
@media (max-width: 768px) {

    .promo-main-container {
        padding: 0 10px !important;
        margin-top: 35px !important;
        margin-bottom: 20px !important;
    }
}

/* ==============================================================
   [ BIZ (상업용) 딥 네이비 테마 시스템 - site-commercial ]
   ============================================================== */
.site-commercial .site-header {
    background: linear-gradient(90deg, #ffffff 0%, #f8fafc 40%, #eef5fc 100%) !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.04) !important;
}

.site-commercial .header-slogan {
    color: #64748b !important;
}
.site-commercial .header-divider {
    color: #cbd5e1 !important;
}

.site-commercial .gnb a {
    color: #475569 !important;
}
.site-commercial .gnb a.active,
.site-commercial .gnb a:hover {
    color: #2563eb !important;
    border-bottom-color: #2563eb !important;
}

.site-commercial button[type="submit"]:not(.btn-dd-apply):not(.btn-dd-reset):not(#inq_submit_btn),
.site-commercial .btn-search,
.site-commercial .search-btn {
    background: #1e3a8a !important;
    border-color: #1e3a8a !important;
}
.site-commercial button[type="submit"]:not(.btn-dd-apply):not(.btn-dd-reset):not(#inq_submit_btn):hover,
.site-commercial .btn-search:hover,
.site-commercial .search-btn:hover {
    background: #172554 !important;
    border-color: #172554 !important;
}

/* 공지사항 뱃지 및 더보기 버튼 */
.site-commercial .notice-badge,
.site-commercial span[style*="background: #2563eb"],
.site-commercial span[style*="background:#2563eb"] {
    background: #1e3a8a !important;
}

.site-commercial .btn-notice-more,
.site-commercial button[onclick*="openNoticeListModal"] {
    color: #1e3a8a !important;
    border-color: #bfdbfe !important;
    background: rgba(30, 58, 138, 0.08) !important;
}
.site-commercial .btn-notice-more:hover,
.site-commercial button[onclick*="openNoticeListModal"]:hover {
    background: #1e3a8a !important;
    color: #ffffff !important;
}

/* 매물 목록 및 헤더 하이라이트 */
.site-commercial .list-header,
.site-commercial div[style*="border-bottom: 2px solid #2563eb"] {
    border-bottom-color: #1e3a8a !important;
}

.site-commercial .list-header span[style*="color: #2563eb"],
.site-commercial .list-header span[style*="color:#2563eb"] {
    color: #1e3a8a !important;
}

/* 페이지네이션 */
.site-commercial .pagination a.active,
.site-commercial .pagination span.active,
.site-commercial a[style*="background:#2563eb"],
.site-commercial a[style*="background: #2563eb"] {
    background: #1e3a8a !important;
    border-color: #1e3a8a !important;
    color: #ffffff !important;
}

/* 상세페이지 및 계산기 탭/버튼 */
.site-commercial .tab-btn.active {
    color: #1e3a8a !important;
}
.site-commercial .tab-btn.active i {
    color: #1e3a8a !important;
}
.site-commercial .calc-row input:focus,
.site-commercial .calc-row select:focus {
    border-color: #1e3a8a !important;
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.08) !important;
}
.site-commercial .call-box h3 {
    color: #1e3a8a !important;
}
.site-commercial .insight-card:hover {
    border-color: #1e3a8a !important;
}