/* Commercial support center — shared refinement layer.
   The page header deliberately inherits the Korean service's common
   .kor-subpage-hero system so customer-center screens never look detached. */

.support-home-page,
.notice-page,
.qna-page,
.contact-page,
.notice-detail-page,
.qna-detail-page {
    background: var(--ds-surface-subtle, #f8fafc);
}

.support-home-page { padding: 64px 0 84px; }
.support-home-page .card-grid { gap: 20px; }
.support-home-page .support-home-card {
    position: relative;
    min-height: 248px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--ds-border, #e2e8f0);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(15, 23, 42, .07);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.support-home-page .support-home-card::after {
    content: "";
    position: absolute;
    right: -52px;
    bottom: -68px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: rgba(37, 99, 235, .06);
}
.support-home-page .support-home-card:hover {
    transform: translateY(-4px);
    border-color: #bfdbfe;
    box-shadow: 0 20px 44px rgba(37, 99, 235, .12);
}
.support-home-icon {
    display: grid;
    width: 52px;
    height: 52px;
    margin-bottom: 24px;
    place-items: center;
    border-radius: 16px;
    background: #eff6ff;
    color: #2563eb;
}
.support-home-icon::before { font-size: 25px; font-weight: 900; }
.support-home-notice .support-home-icon::before { content: "!"; }
.support-home-qna .support-home-icon::before { content: "?"; }
.support-home-contact .support-home-icon::before { content: "↗"; }
.support-home-page .support-home-card h3 { margin: 0 0 9px; font-size: 22px; letter-spacing: -.03em; }
.support-home-page .support-home-card p { margin: 0 0 24px; color: #64748b; line-height: 1.7; }
.support-home-link { position: relative; z-index: 1; color: #1d4ed8; font-size: 14px; font-weight: 800; }
.support-home-link::after { content: " →"; }

.notice-page,
.qna-page,
.contact-page { padding: 56px 20px 88px; }
.notice-container,
.qna-container,
.contact-container { width: min(100%, 1120px); margin-inline: auto; }

.notice-tabs,
.qna-tabs {
    display: flex;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 26px;
    padding: 5px;
    gap: 4px;
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f1f5fb;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .82), 0 8px 20px rgba(15, 23, 42, .05);
    scrollbar-width: none;
}
.notice-tabs a,
.qna-tab {
    min-height: 38px;
    padding: 9px 17px;
    border: 0;
    border-radius: 10px;
    white-space: nowrap;
    color: #64748b;
    font-size: 14px;
    font-weight: 750;
}
.notice-search,
.qna-search { position: relative; width: min(100%, 620px); max-width: none; margin: 0 0 28px; }
.qna-tool-row { align-items: center; margin-bottom: 28px; }
.qna-tool-row .qna-search { margin-bottom: 0; }
.notice-search input,
.qna-search input {
    width: 100%;
    height: 50px;
    padding: 0 58px 0 17px;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    background: #fff;
    color: #0f172a;
    font-size: 15px;
    outline: none;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .035);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.notice-search input:focus,
.qna-search input:focus { border-color: #60a5fa; box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.notice-search button,
.qna-search button {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #2563eb;
    color: #fff;
    cursor: pointer;
}
.notice-search button span,
.qna-search button::before {
    content: "";
    display: block;
    width: 13px;
    height: 13px;
    margin: auto;
    border: 2px solid currentColor;
    border-radius: 50%;
}
.notice-search button span::after,
.qna-search button::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 2px;
    margin: 11px 0 0 -1px;
    transform: rotate(45deg);
    border-radius: 2px;
    background: currentColor;
}

.notice-board,
.qna-board {
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
}
.notice-list-item,
.qna-item { border-bottom: 1px solid #edf2f7; background: #fff; transition: background .18s ease; }
.notice-list-item:last-child,
.qna-item:last-child { border-bottom: 0; }
.notice-list-item:hover,
.qna-item:hover { background: #f8fbff; }
.notice-list-item.pinned { background: linear-gradient(90deg, #f8fbff, #fff 58%); }
.notice-list-main,
.qna-item-link { min-height: 112px; padding: 22px 24px; }
.notice-category,
.qna-badge,
.qna-private-badge { border-radius: 999px; font-weight: 800; }
.notice-list-main h2,
.qna-line-title h3 { color: #0f172a; letter-spacing: -.025em; }
.notice-stats,
.qna-meta,
.qna-date-text { color: #94a3b8; font-size: 13px; }
.notice-author-card,
.qna-author-card { border-radius: 999px; background: #f8fafc; }

.notice-empty,
.qna-empty {
    display: flex;
    min-height: 300px;
    padding: 48px 20px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #64748b;
    text-align: center;
}
.support-empty-icon {
    position: relative;
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    border-radius: 20px;
    background: #eff6ff;
}
.support-empty-icon::before { content: ""; position: absolute; inset: 18px 15px; border: 2px solid #60a5fa; border-radius: 6px; }
.support-empty-icon::after { content: ""; position: absolute; left: 23px; right: 23px; top: 27px; height: 2px; box-shadow: 0 7px #60a5fa; background: #60a5fa; }
.notice-empty strong,
.qna-empty strong { color: #1e293b; font-size: 18px; letter-spacing: -.02em; }
.notice-empty p,
.qna-empty p { margin: 8px 0 0; color: #94a3b8; font-size: 14px; line-height: 1.6; }

.qna-write-open-btn,
.qna-write-btn,
.notice-comment-input button {
    min-height: 46px;
    padding: 0 20px;
    border: 0;
    border-radius: 12px;
    background: #2563eb;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 7px 18px rgba(37, 99, 235, .2);
}
.qna-write-open-btn.muted { border: 1px solid #cbd5e1; background: #fff; color: #475569; box-shadow: none; }
.qna-write-card,
.qna-admin-guide {
    padding: 30px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
}
.qna-write-form input,
.qna-write-form select { min-height: 48px; border-radius: 11px; border-color: #cbd5e1; }
.qna-write-form textarea { border-radius: 11px; border-color: #cbd5e1; }

.notice-detail-page,
.qna-detail-page { padding: 56px 20px 88px; }
.notice-detail-container,
.qna-detail-container {
    width: min(100%, 980px);
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 44px rgba(15, 23, 42, .08);
}
.notice-detail-head,
.qna-detail-head { padding: 34px 38px 28px; background: linear-gradient(180deg, #f8fbff, #fff); border-bottom: 1px solid #edf2f7; }
.notice-detail-head h1,
.qna-detail-head h1 { margin-top: 18px; color: #0f172a; font-size: clamp(25px, 3vw, 34px); letter-spacing: -.035em; }
.notice-detail-close,
.qna-detail-close { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; color: #64748b; }
.notice-detail-content { min-height: 250px; padding: 40px 38px; color: #334155; font-size: 16px; line-height: 1.85; }
.qna-detail-content-card { padding: 24px 38px; color: #334155; font-size: 16px; line-height: 1.85; }
.notice-comments,
.qna-answer-box { padding: 32px 38px 38px; border-top: 1px solid #edf2f7; background: #f8fafc; }
.notice-comment-input textarea,
.qna-answer-form textarea { border: 1px solid #cbd5e1; border-radius: 12px; background: #fff; }

.contact-hero,
.contact-card,
.map-section,
.location-summary,
.academy-photo-box {
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
}
.contact-hero { margin-bottom: 24px; background: linear-gradient(135deg, #eff6ff, #fff 58%, #f8fafc); }
.contact-card { overflow: hidden; }
.contact-icon { border-radius: 16px; background: #eff6ff; color: #2563eb; }
.contact-info-list li { border-radius: 12px; background: #f8fafc; }
.location-tags span { border-radius: 999px; background: #eff6ff; color: #1d4ed8; }
.map-section { padding: 28px; }
.map-open-btn { min-height: 44px; padding: 0 16px; border-radius: 11px; background: #2563eb; color: #fff; font-weight: 800; }
.map-box { overflow: hidden; border: 1px solid #e2e8f0; border-radius: 16px; }
.map-box iframe { display: block; height: 430px; }
.academy-photo-box { overflow: hidden; }

@media (max-width: 720px) {
    .support-home-page,
    .notice-page,
    .qna-page,
    .contact-page,
    .notice-detail-page,
    .qna-detail-page { padding: 36px 15px 64px; }
    .support-home-page .card-grid { grid-template-columns: 1fr; }
    .support-home-page .support-home-card { min-height: 210px; padding: 24px; }
    .notice-tabs,
    .qna-tabs { width: 100%; }
    .notice-search,
    .qna-search { width: 100%; }
    .qna-tool-row { display: grid; gap: 12px; }
    .qna-write-open-btn { width: 100%; }
    .notice-list-item,
    .qna-item-link { min-height: 0; }
    .notice-list-main,
    .qna-item-link { padding: 19px 17px; }
    .notice-detail-container,
    .qna-detail-container { border-radius: 18px; }
    .notice-detail-head,
    .qna-detail-head,
    .notice-detail-content,
    .qna-detail-content-card,
    .notice-comments,
    .qna-answer-box { padding-left: 20px; padding-right: 20px; }
    .qna-write-card,
    .qna-admin-guide,
    .map-section { padding: 20px; }
    .map-box iframe { height: 330px; }
}

@media (prefers-reduced-motion: reduce) {
    .support-home-card,
    .notice-list-item,
    .qna-item { transition: none !important; }
}
