.support-nav {
    color: var(--text-slate);
    font-weight: 600;
}

.support-nav:hover {
    color: var(--text-slate);
    text-decoration: none;
}

.custom-select {
    border: none;
    box-shadow: 0px 4px 30px #0000000F;
    border-radius: 14px;
}

.support-item:hover {
    cursor: pointer;
    transform: translateY(-6px);
    transition: transform 0.3s ease;
}

#notice-item-area,
#inquiry-item-area {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#inquiry-create {
    transition: opacity 0.2s ease;
}

/* 반응형 - 태블릿 */
@media (max-width: 1024px) {
    .support-item {
        padding: 1rem !important;
    }

    .support-item .d-flex.gap-5 {
        gap: 1.5rem !important;
    }

    .white-box.w-80 {
        width: 90% !important;
    }

    .w-60 {
        width: 80% !important;
    }
}

/* 반응형 - 모바일 */
@media (max-width: 768px) {
    /* 공통 타이포그래피 */
    .main-section h1 {
        font-size: 1.5rem !important;
        line-height: 1.4;
    }

    .main-section h2 {
        font-size: 1.25rem !important;
        line-height: 1.4;
        word-break: keep-all;
    }

    .main-section h3 {
        font-size: 1.1rem !important;
        line-height: 1.4;
    }

    .main-section h4 {
        font-size: 1rem !important;
        line-height: 1.4;
    }

    .main-section h5 {
        font-size: 0.9rem !important;
        line-height: 1.4;
    }

    .main-section h6 {
        font-size: 0.85rem !important;
        line-height: 1.4;
    }

    .main-section p,
    .main-section small {
        font-size: 0.85rem !important;
        line-height: 1.5;
        word-break: keep-all;
    }

    /* support-list.jsp */
    .title-box {
        padding: 1rem 0 !important;
    }

    .title-heading {
        font-size: 1.75rem !important;
    }

    .category-tag {
        font-size: 0.8rem !important;
    }

    .sub-title {
        font-size: 0.9rem !important;
        padding: 0.5rem 0 !important;
        line-height: 1.5;
    }

    /* 탭 네비게이션 */
    .grid.grid-2 {
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
    }

    .support-nav {
        padding: 1rem !important;
        font-size: 0.95rem !important;
        min-height: 50px;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .support-nav .nav-text {
        white-space: nowrap;
    }

    /* 제목 + 버튼 영역 */
    .main-section > article.d-flex.justify-content-between {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 1rem 0 !important;
        gap: 1rem !important;
    }

    .d-flex.gap-4.align-items-center {
        gap: 1rem !important;
    }

    /* 검색 + 필터 영역 */
    article.d-flex.gap-3.pb-3 {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    .position-relative.w-80,
    .form-select.w-20 {
        width: 100% !important;
    }

    .search-input {
        font-size: 0.9rem !important;
        padding: 0.75rem 1rem 0.75rem 2.5rem !important;
        height: auto !important;
        min-height: 45px;
    }

    .search-icon {
        width: 18px !important;
        height: 18px !important;
        left: 1rem !important;
    }

    .form-select.custom-select {
        font-size: 0.9rem !important;
        padding: 0.75rem 1rem !important;
        height: auto !important;
        min-height: 45px;
    }

    /* 리스트 아이템 */
    .support-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 1rem !important;
        gap: 0.75rem !important;
    }

    .support-item > .d-flex {
        width: 100%;
    }

    .support-item .d-flex.gap-5 {
        gap: 0.75rem !important;
        flex-direction: row !important;
        align-items: flex-start !important;
    }

    .support-item .d-flex.flex-column {
        flex: 1;
        min-width: 0;
    }

    .support-item h5:first-child {
        min-width: 30px;
        flex-shrink: 0;
    }

    .support-item .d-flex.justify-content-start.gap-4 {
        flex-wrap: wrap;
        gap: 0.5rem !important;
    }

    .support-item:hover {
        transform: translateY(-3px);
    }

    /* 배지 */
    .success-badge,
    .warning-badge {
        font-size: 0.75rem !important;
        padding: 0.4rem 0.8rem !important;
        white-space: nowrap;
        display: inline-block;
        line-height: 1.2;
    }

    /* 버튼 */
    button.main-btn,
    button.gray-btn,
    button.green-btn,
    button.white-btn,
    button.red-btn {
        padding: 0.75rem 1.25rem !important;
        font-size: 0.9rem !important;
        min-height: 45px;
        white-space: nowrap;
    }

    button.line-white-btn {
        padding: 0.6rem 1rem !important;
        font-size: 0.85rem !important;
        min-height: 40px;
    }

    #inquiry-create {
        width: 100%;
        padding: 0.85rem 1.5rem !important;
    }

    /* inquiry-create.jsp */
    .white-box.w-80,
    .w-60 {
        width: 100% !important;
    }

    .yellow-box,
    .gray-box {
        padding: 1rem !important;
    }

    .yellow-box h5 {
        font-size: 0.95rem !important;
        margin-bottom: 0.5rem;
    }

    .yellow-box p,
    .gray-box h6 {
        font-size: 0.85rem !important;
        line-height: 1.6;
        margin-bottom: 0.25rem;
    }

    .partner-row {
        flex-direction: column !important;
        gap: 0.5rem !important;
        align-items: stretch !important;
    }

    .partner-label {
        width: 100% !important;
        font-size: 0.9rem !important;
        margin-bottom: 0.25rem;
    }

    .partner-input,
    .partner-select {
        width: 100% !important;
        font-size: 0.9rem !important;
        padding: 0.75rem !important;
        min-height: 45px;
    }

    .partner-input[type="text"],
    .partner-select {
        height: auto !important;
    }

    textarea.partner-input {
        min-height: 150px !important;
        line-height: 1.5;
    }

    .partner-upload {
        min-height: 120px !important;
    }

    .partner-upload__text {
        font-size: 0.85rem !important;
    }

    .partner-upload__hint {
        font-size: 0.75rem !important;
    }

    .grid.grid-2.gap-3.w-100 {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
        padding: 0 !important;
    }

    .grid.grid-2.gap-3.w-100 button {
        width: 100% !important;
    }

    /* inquiry-detail.jsp, notice-detail.jsp */
    .white-box.p-5 {
        padding: 1.25rem !important;
    }

    .white-box.w-80 {
        width: 100% !important;
    }

    .d-flex.gap-5 {
        gap: 1rem !important;
    }

    .d-flex.justify-content-between {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.75rem !important;
    }

    .d-flex.align-items-center.gap-3 {
        gap: 0.75rem !important;
    }

    .d-flex.align-items-center.gap-3 img {
        max-width: 40px !important;
        max-height: 40px !important;
        flex-shrink: 0;
    }

    .d-flex.flex-column.gap-2 h6,
    .d-flex.flex-column.gap-2 p {
        margin: 0;
    }

    /* 댓글 영역 */
    .gray-box.p-4 {
        padding: 1rem !important;
    }

    textarea.form-control {
        font-size: 0.9rem !important;
        padding: 0.75rem !important;
        min-height: 100px !important;
    }

    .d-flex.justify-content-between small {
        font-size: 0.75rem !important;
    }

    /* 답글 (대댓글) */
    .border-left {
        border-left: 2px solid #e0e0e0 !important;
        margin-left: 0.5rem !important;
        padding-left: 0.75rem !important;
    }

    .d-flex.gap-3 {
        flex-wrap: wrap;
        gap: 0.75rem !important;
    }

    .d-flex.gap-5 {
        flex-wrap: wrap;
        gap: 0.75rem !important;
    }

    /* 공지사항 컨텐츠 */
    .notice-content {
        padding: 1rem 0 !important;
    }

    .notice-content h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0.75rem !important;
    }

    .notice-content h5 {
        font-size: 0.95rem !important;
        margin-bottom: 0.5rem !important;
    }

    .notice-content p {
        font-size: 0.9rem !important;
        line-height: 1.6;
        margin-bottom: 0.75rem !important;
    }

    .notice-content ul {
        padding-left: 1.25rem;
        margin-bottom: 0.75rem !important;
    }

    .notice-content li {
        font-size: 0.85rem !important;
        line-height: 1.6;
        margin-bottom: 0.5rem;
    }

    /* 수정/삭제 버튼 영역 */
    .d-flex.justify-content-end.gap-3.w-100 {
        flex-direction: row !important;
        gap: 0.75rem !important;
    }

    .d-flex.justify-content-end.gap-3.w-100 button {
        flex: 1;
        min-width: 0;
    }

    /* 하단 버튼 */
    .d-flex.flex-center.w-100.pt-4 button {
        width: 100% !important;
    }
}

/* 반응형 - 소형 모바일 */
@media (max-width: 480px) {
    .main-section h1 {
        font-size: 1.3rem !important;
    }

    .main-section h2 {
        font-size: 1.1rem !important;
    }

    .main-section h3 {
        font-size: 1rem !important;
    }

    .main-section h4 {
        font-size: 0.95rem !important;
    }

    .main-section h5 {
        font-size: 0.85rem !important;
    }

    .main-section h6 {
        font-size: 0.8rem !important;
    }

    .white-box.p-5 {
        padding: 1rem !important;
    }

    .support-item {
        padding: 0.75rem !important;
    }

    .d-flex.align-items-center.gap-3 img {
        max-width: 35px !important;
        max-height: 35px !important;
    }

    button.main-btn,
    button.gray-btn,
    button.green-btn,
    button.white-btn,
    button.red-btn {
        padding: 0.7rem 1rem !important;
        font-size: 0.85rem !important;
        min-height: 42px;
    }

    .support-nav {
        font-size: 0.9rem !important;
        min-height: 48px;
    }

    .search-input,
    .form-select.custom-select {
        font-size: 0.85rem !important;
        min-height: 42px;
    }

    .partner-input,
    .partner-select {
        font-size: 0.85rem !important;
        min-height: 42px;
    }
}
