
.support-table tbody tr {
    cursor: pointer;
}
.support-table tbody tr:hover {
    background: var(--blue-050);
}
.support-table tbody tr:hover td {
    color: var(--blue-700);
}

/* 상세 페이지 */
.support-view {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-9);
}
.support-view-header {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3);
}
.support-view-header .category-name,
.support-view-date {
    color: var(--text-secondary);
}
.support-view-content-wrapper {
    padding: var(--spacing-9) 0;
    border-top: 1px solid var(--color-stroke);
    border-bottom: 1px solid var(--color-stroke);
}

/* 에디터 본문 스타일 => style.css 공통 WYSIWYG 스타일 사용 */

/* 썸네일 이미지 */
.support-view-thumbnail {
    margin-bottom: var(--spacing-9);
    width: 100%;
    max-width: 600px;
    height: 300px;
    overflow: hidden;
    border-radius: var(--radius-2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.support-view-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 첨부파일 영역 */
.support-view-files {
    display: flex;
    align-items: center;
    gap: var(--spacing-10);
    margin-top: var(--spacing-9);
    padding: 32px;
    border-radius: var(--radius-4);
    background: var(--gray-100);
}
.support-view-files h4 {
    flex-shrink: 0;
    color: var(--text-primary);
}
.support-view-files .file-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3);
}

.support-view-files .file-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    width: 100%;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: opacity 0.2s;
}

.support-view-files .file-item:hover {
    opacity: 0.8;
}

.support-view-files .file-item .file-name {
    flex: 1;
    font-size: var(--text-body-lg);
    line-height: 1.5;
    color: var(--text-primary);
}

.support-view-files .file-item .file-download-icon svg {
    width: 18px;
    height: 18px;
}

.support-view-files .file-item .file-download-icon path {
    stroke: var(--text-primary);
}

/* 
    start: 자주 묻는 질문
*/
.support-tabs .nav-tabs {
    width: 100%;
    display: flex;
}

.support-tabs .nav-item {
    flex: 1;
}

.support-tabs .nav-link {
    justify-content: center;
    width: 100%;
}

/* 탭 콘텐츠는 사용하지 않지만 구조를 위해 숨김 처리 */
#support-tabs-content,
#event-filter-tabs-content {
    display: none !important;
}

/* FAQ 테이블 컬럼 너비 */
.faq-category-col {
    width: 160px;
}

/* FAQ 토글 스타일 */
.faq-row {
    cursor: pointer;
}

.mypage-table.faq-table tbody td {
    padding: 13.5px 16.5px;
    white-space: normal;
    word-break: break-word;
    overflow: visible;
    text-overflow: clip;
}
.faq-row-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-5);
}
.faq-arrow svg {
    width: 100%;
    height: 100%;
    transition: transform 0.2s ease;
}

/* hover & 열린 상태 스타일 */
.faq-table .faq-row:hover > td {
    background: var(--gray-100);
    color: var(--blue-700);
}
.faq-table .faq-row.faq-is-open > td {
    background: var(--blue-050);
    color: var(--blue-700);
}
.faq-table .faq-row:hover .faq-row-title,
.faq-table .faq-row.faq-is-open .faq-row-title {
    color: var(--blue-700);
}
.faq-table .faq-row:hover .faq-arrow path,
.faq-table .faq-row.faq-is-open .faq-arrow path {
    stroke: var(--blue-700);
}

.faq-row.faq-is-open .faq-arrow svg {
    transform: rotate(180deg); /* 위쪽 화살표로 회전 */
}

/* 답변 행: tr은 항상 보이되, td는 비었을 때 높이 0이 되도록 */
.mypage-table.faq-table .faq-content > td {
    padding: 0;
    border: 0;
    background: transparent;
}

/* 실제 내용은 여기서만 보이게/숨기게 */
.faq-answer {
    display: none;
    width: 100%;
    padding: var(--spacing-9) var(--spacing-9) 80px var(--spacing-9);
    background: var(--blue-050);
    border-top: 1px solid var(--gray-100);
    font-size: var(--text-body-lg);
    line-height: 32px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.faq-answer > :first-child {
    margin-top: 0;
}

.faq-answer > :last-child {
    margin-bottom: 0;
}


/* 
    end: 자주 묻는 질문
*/

/* 
    start: 이벤트
*/
.support-contents {
    width: 100%;
    max-width: none;
    padding: 0;
    justify-content: center;
}

.event-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-5);
    width: 100%;
}

.event-card {
    overflow: hidden;
    cursor: pointer;
}

.event-thumbnail {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: var(--radius-2);
    overflow: hidden;
}

.event-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-thumbnail-placeholder {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--blue-100) 0%, var(--blue-200) 50%, var(--blue-100) 100%);
    overflow: hidden;
}

.event-thumbnail-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: placeholder-shimmer 20s linear infinite;
    opacity: 0.3;
}

@keyframes placeholder-shimmer {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(30px, 30px);
    }
}

.event-placeholder-icon {
    position: relative;
    z-index: 1;
    width: 80px;
    margin-bottom: var(--spacing-2);
}

.event-placeholder-icon img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.event-placeholder-text {
    position: relative;
    z-index: 1;
    font-size: var(--text-heading-md);
    font-weight: 600;
    color: var(--blue-700);
}

.event-fixed-icon {
    position: absolute;
    top: var(--spacing-5);
    left: var(--spacing-5);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.event-fixed-icon i {
    color: var(--red-text);
    font-size: 1.2rem;
}

.event-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3);
    padding: var(--spacing-6) 0;
}

.event-info h3 {
    font-size: var(--text-heading-sm);
    font-weight: 600;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-info-date {
    font-size: var(--text-body-md);
    line-height: 1.4285;  /* 20px */
    color: var(--text-secondary);
}

.event-empty {
    padding: calc(var(--spacing-8) * 2) var(--spacing-8);
    font-size: var(--text-body-lg);
    line-height: var(--text-heading-md);
    text-align: center;
    color: var(--gray-400);
}

/* 
    end: 이벤트
*/

/* 

    start: 문의하기
*/
.qna-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-5);
}
.qna-form .form-item .label {
    font-size: var(--text-body-xl);  /* 18px */
	font-weight: 600;
	line-height: 1.3333;  /* 24px */
}

.qna-form #file-list-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3);
}

.qna-file-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-4);
    padding: var(--spacing-4);
    border: 1px solid var(--color-stroke);
    border-radius: var(--radius-2);
    background: var(--white);
}

.qna-file-name {
    flex: 1;
    font-size: var(--text-body-lg);
    line-height: var(--text-heading-md);
    color: var(--text-primary);
    word-break: break-all;
}

.qna-file-remove-btn {
    flex-shrink: 0;
}

.form-group-button {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-9);
}

/* 
    end: 문의하기
*/

/* 
    start: 파트너 자료실
*/
/* 파트너 자료실 테이블 컬럼 너비 */
.partner-data-table {
    table-layout: fixed;
}
.partner-data-title-col {
    width: 100%;
}
.partner-data-date-col {
    max-width: 160px;
    width: 160px;
}

/* 
    end: 파트너 자료실
*/

/* 
    start: 댓글 스타일
*/
/* 댓글 섹션 */
.comments-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-8);
}
.comment-count-box {
    font-weight: 600;
    color: var(--blue-700);
}
.comment-count-box #comment-count {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
}

/* 댓글 작성 폼 */
.comment-form {
    position: relative;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-4);
}
.comment-form .form-item {
    gap: 0;
}

.comment-form .form-textarea {
    min-height: 128px;
    border: none;
    background: transparent;
}

.comment-form .form-textarea:focus {
    outline: none;
    border: none;
}

.comment-form-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: var(--spacing-2);
    padding: 10px var(--spacing-5);
    border-top: 1px solid #e0e0e0;
}

/* 댓글 작성 폼 버튼 스타일 */

/* 댓글 로그인 필요 메시지 */
.comment-login-required {
    padding: var(--spacing-9);
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-2);
}

/* 댓글 빈 상태 */
.comment-empty {
    padding: var(--spacing-9);
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-2);
}

/* 댓글 아이템 */
.comment-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
    padding: 0 0 var(--spacing-8);
    background: transparent;
    border-bottom: 1px solid #e0e0e0;
}

.comment-item:last-child {
    margin-bottom: 0;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.comment-author {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-1);
}

.comment-author-name {
    font-size: var(--text-body-lg);
    font-weight: 600;
    line-height: var(--text-heading-md);
    color: var(--text-secondary);
}

.comment-date {
    font-size: var(--text-body-lg);
    line-height: var(--text-heading-md);
    color: var(--text-third);
}

.comment-actions {
    display: flex;
    gap: var(--spacing-2);
}

.comment-actions .btn {
    padding: 0;
    min-width: auto;
    font-weight: 400;
}

.comment-actions .btn:hover {
    background: transparent;
    text-decoration: underline;
}

.comment-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.comment-content {
    font-size: var(--text-body-lg);
    line-height: var(--text-heading-md);
    white-space: normal;
    word-break: break-word;
    color: var(--text-secondary);
}

.comment-reply-btn {
    margin-top: var(--spacing-2);
}

.comment-reply-link {
    padding: 0;
    border: none;
    background: none;
    font-size: var(--text-body-md);
    font-weight: 700;
    line-height: 20px;
    text-decoration: underline;
    color: var(--text-secondary);
    cursor: pointer;
}

.comment-reply-link:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.comment-reply-link:focus {
    outline: none;
    text-decoration: underline;
}

/* 답글 목록 */
.replies-list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-8);
    margin-top: 20px;
    margin-left: 44px; /* 24px (아이콘) + 8px (padding) + 12px (간격) */
    padding-left: 0;
}

/* 곡선 모양 연결선 (SVG 아이콘) */
.reply-icon {
    position: absolute;
    left: -44px; /* 24px (아이콘) + 8px (padding) + 12px (간격) */
    top: 0;
    width: 24px;
    height: 24px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reply-icon svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.reply-icon svg path {
    stroke: var(--gray-400);
}

/* 답글은 comment-item 클래스를 사용하므로 별도 스타일 불필요 */


/* 답글 작성 폼 (comment-form--reply modifier) */
.comment-form--reply {
    position: relative;
    margin-top: var(--spacing-5);
    margin-left: 44px; /* 24px (아이콘) + 8px (padding) + 12px (간격) */
    padding-left: 0;
    padding: 0;
    background: transparent;
}

.comment-form--reply .form-textarea {
    min-height: 80px;
}

/* 댓글 수정 폼 (comment-content 안에 있는 comment-form) */
.comment-content .comment-form {
    margin-top: var(--spacing-3);
}

/* 댓글 목록 컨테이너 */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-8);
}

/* 댓글 페이지네이션 */
#comments-pagination {
    margin-top: var(--spacing-9);
    display: flex;
    justify-content: center;
}

#comments-pagination .pagination {
    margin: 0;
}

/* 
    end: 댓글 스타일
*/