/* === WCC BUILD 2026-04-11 / whitespace-fix v2 === */
.wcc-page {
    --wcc-bg: #f5f7fb;
    --wcc-surface: #fff;
    --wcc-line: #e6ebf2;
    --wcc-ink: #13203a;
    --wcc-muted: #6a7487;
    --wcc-primary: #2f5bea;
    --wcc-primary-soft: #edf3ff;
    --wcc-shadow: 0 16px 40px rgba(16, 24, 40, 0.07);
    color: var(--wcc-ink);
    font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    background: var(--wcc-bg) !important;
    background-image: none !important;
    padding: 0 0 80px !important;
    margin-top: 0 !important;
}

.wcc-page--community .wcc-layout,
.wcc-page--community > .wcc-layout {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.wcc-page,
.wcc-page * {
    box-sizing: border-box;
}

.wcc-page a {
    color: inherit;
    text-decoration: none;
}

.wcc-page--community > .wcc-topbar:not(.wcc-topbar--nav) {
    display: none;
}

.wcc-topbar,
.wcc-layout,
.wcc-detail-layout,
.wcc-profile-layout {
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
}

.wcc-topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    padding: 12px 0 10px;
}

.wcc-topbar__brand-group {
    display: flex;
    align-items: center;
    gap: 24px;
    min-width: 0;
}

.wcc-topbar__brand {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.wcc-topbar__nav {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--wcc-muted);
    font-size: 13px;
    white-space: nowrap;
}

.wcc-topbar__nav a {
    position: relative;
    padding: 8px 0;
}

.wcc-topbar__nav a.is-active {
    color: var(--wcc-primary);
    font-weight: 700;
}

.wcc-topbar__nav a.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    border-radius: 999px;
    background: var(--wcc-primary);
}

.wcc-topbar__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wcc-topbar__icon,
.wcc-topbar__profile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f6f8fc;
    border: 1px solid var(--wcc-line);
}

.wcc-topbar__profile {
    overflow: hidden;
}

.wcc-topbar__profile img,
.wcc-avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Universal circular avatar wrapper — used by render_profile_avatar() */
.wcc-avatar-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    line-height: 0;
}

.wcc-topbar__search input,
.wcc-filterbar__search input {
    width: 100%;
    height: 44px;
    padding: 0 18px;
    border: 1px solid var(--wcc-line);
    border-radius: 12px;
    background: #f7f8fb;
    font-size: 13px;
    line-height: 44px;
}

.wcc-home-hero__tabs,
.wcc-filterbar,
.wcc-section-heading,
.wcc-post-row,
.wcc-post-row__meta,
.wcc-member-stack__item,
.wcc-member-stack__profile,
.wcc-profile-card__stats,
.wcc-author-spotlight__stats,
.wcc-article__meta,
.wcc-article__actions,
.wcc-inline-series,
.wcc-profile-activity__toolbar,
.wcc-series-master__hero,
.wcc-series-master__meta,
.wcc-user-stack__item,
.wcc-user-stack__profile {
    display: flex;
    align-items: center;
}

.wcc-home-hero__tabs,
.wcc-filterbar__group,
.wcc-tag-row,
.wcc-series-feature__steps,
.wcc-profile-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
}

.wcc-layout {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) 260px;
    gap: 18px;
    align-items: start;
}

.wcc-detail-layout,
.wcc-profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}

.wcc-profile-layout {
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.wcc-surface {
    background: var(--wcc-surface);
    border: 1px solid var(--wcc-line);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.04);
    padding: 18px 18px 16px;
}

.wcc-page--community .wcc-layout__main .wcc-surface {
    padding-left: 28px !important;
    padding-right: 28px !important;
}

.wcc-page--community .wcc-layout__main .wcc-filterbar {
    padding-left: 28px !important;
    padding-right: 28px !important;
}

.wcc-chip,
.wcc-filter-pill,
.wcc-nav-group__title,
.wcc-overline,
.wcc-outline-item__step,
.wcc-series-outline__step {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
}

.wcc-chip,
.wcc-filter-pill,
.wcc-outline-item__step,
.wcc-series-outline__step {
    padding: 6px 10px;
    background: var(--wcc-primary-soft);
    color: var(--wcc-primary);
    font-size: 12px;
    font-weight: 700;
}

.wcc-overline {
    color: var(--wcc-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wcc-nav-card__profile,
.wcc-author-spotlight__header,
.wcc-profile-card__header {
    display: grid;
    justify-items: center;
    gap: 12px;
    text-align: center;
}

.wcc-nav-card__button,
.wcc-floating-write,
.wcc-follow-button,
.wcc-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid var(--wcc-primary);
    border-radius: 10px;
    background: var(--wcc-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.wcc-follow-button[data-following="1"],
.wcc-action-button[data-liked="1"] {
    background: #fff;
    color: var(--wcc-primary);
}

.wcc-nav-group {
    display: grid;
    gap: 4px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--wcc-line);
}

.wcc-nav-group:first-of-type {
    margin-top: 16px;
    padding-top: 0;
    border-top: 0;
}

.wcc-nav-group__title {
    padding: 0;
    color: var(--wcc-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.wcc-nav-group a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 8px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.4;
}

.wcc-nav-group a.is-active,
.wcc-nav-group a:hover,
.wcc-profile-tabs a.is-active {
    background: var(--wcc-primary-soft);
    color: var(--wcc-primary);
}

.wcc-board-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
}

.wcc-nav-icon {
    width: 16px;
    flex: 0 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #39465e;
    font-size: 12px;
    font-weight: 700;
}

.wcc-nav-text {
    flex: 1;
    min-width: 0;
}

.wcc-nav-alert {
    width: 5px;
    height: 5px;
    flex: 0 0 5px;
    border-radius: 999px;
    background: #ff5a5f;
    box-shadow: 0 0 0 3px rgba(255, 90, 95, 0.12);
}

.wcc-nav-group--featured {
    margin-top: 14px;
}

.wcc-nav-card {
    padding: 14px 12px 14px;
}

.wcc-nav-card__profile {
    gap: 10px;
    padding-bottom: 8px;
}

.wcc-nav-card__profile strong {
    font-size: 13px;
}

.wcc-nav-card__avatar {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.wcc-nav-card__avatar .wcc-avatar-circle {
    width: 100%;
    height: 100%;
}

.wcc-nav-card__profile img {
    width: 52px;
    height: 52px;
    object-fit: cover;
}

.wcc-nav-card__button {
    width: 100%;
    min-height: 34px;
    font-size: 12px;
    color: #fff !important;
}

.wcc-home-hero {
    display: grid;
    gap: 12px;
}

.wcc-home-hero__tabs a,
.wcc-profile-tabs a {
    padding: 4px 0 10px;
    border-bottom: 2px solid transparent;
    font-size: 14px;
    font-weight: 700;
}

.wcc-page--profile .wcc-profile-tabs {
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    padding: 4px;
    gap: 2px;
    background: #f1f5f9;
    border: 0 !important;
    border-radius: 12px;
    box-shadow: none;
    border-bottom: 0 !important;
    width: auto;
}

.wcc-page--profile .wcc-profile-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: auto;
    padding: 8px 20px !important;
    background: transparent !important;
    color: #64748b;
    text-align: center;
    border: none !important;
    border-bottom: none !important;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1;
    transition: background .15s, color .15s;
    white-space: nowrap;
}

.wcc-page--profile .wcc-profile-tabs a:hover {
    color: #374151;
    background: rgba(255,255,255,.6) !important;
}

.wcc-page--profile .wcc-profile-tabs a.is-active {
    background: #fff !important;
    color: #111827 !important;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(16,24,40,.08);
}

.wcc-page--profile .wcc-profile-intro > h2 {
    margin: 0 0 16px;
    font-size: 18px !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

.wcc-page--profile .wcc-profile-intro .wcc-intro,
.wcc-page--profile .wcc-profile-intro .wcc-intro p {
    font-size: 13px !important;
    line-height: 1.65 !important;
    color: #374151 !important;
    font-weight: 400 !important;
    letter-spacing: -0.06em !important;
}

.wcc-page--profile .wcc-profile-intro .wcc-intro {
    white-space: pre-wrap;
}

.wcc-page--profile .wcc-profile-intro .wcc-intro p {
    margin-bottom: 10px !important;
}

.wcc-page--profile .wcc-profile-intro .wcc-intro p:first-child {
    font-size: 15px !important;
    color: #0f172a !important;
    line-height: 1.5 !important;
    margin-bottom: 14px !important;
}

.wcc-home-hero__tabs a.is-active,
.wcc-profile-tabs a.is-active {
    border-bottom-color: #111827;
    color: #111827;
}

.wcc-home-hero__notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f7f9fc;
    color: #1f2f46;
    border: 1px solid var(--wcc-line);
    font-size: 14px;
    line-height: 1.5;
}

.wcc-filterbar {
    justify-content: space-between;
    gap: 12px;
}

.wcc-section-heading {
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.wcc-section-heading h2,
.wcc-article h1,
.wcc-series-master__summary h1 {
    margin: 0;
    font-size: clamp(18px, 2vw, 30px);
    line-height: 1.25;
    letter-spacing: -0.04em;
}

.wcc-layout__aside .wcc-section-heading h2 {
    font-size: 15px;
    line-height: 1.3;
}

.wcc-section-heading span,
.wcc-post-row__meta,
.wcc-member-stack__profile span,
.wcc-comment-ranking span,
.wcc-article__meta,
.wcc-profile-card__stats span,
.wcc-author-spotlight__stats span,
.wcc-profile-intro,
.wcc-link-list__item span,
.wcc-mini-card span,
.wcc-series-master__meta,
.wcc-activity-item p,
.wcc-summary-box p {
    color: var(--wcc-muted);
    font-size: 12px;
    line-height: 1.7;
}

.wcc-hot-ranking__list,
.wcc-link-list,
.wcc-outline-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wcc-comment-ranking {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wcc-hot-ranking__list li,
.wcc-comment-ranking li,
.wcc-link-list__item,
.wcc-outline-item,
.wcc-series-outline__row,
.wcc-user-stack__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    border-top: 1px solid var(--wcc-line);
}

.wcc-hot-ranking__list li:first-child,
.wcc-comment-ranking li:first-child,
.wcc-link-list__item:first-child,
.wcc-outline-item:first-child,
.wcc-series-outline__row:first-child,
.wcc-user-stack__item:first-child {
    border-top: 0;
    padding-top: 0;
}

.wcc-empty-row,
.wcc-empty-state {
    padding: 18px;
    border-radius: 16px;
    background: #f8fafc;
    color: var(--wcc-muted);
    border: 1px dashed var(--wcc-line);
}

.wcc-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.wcc-modal__dialog {
    background: #fff;
    border-radius: 20px;
    width: 400px;
    max-width: calc(100% - 40px);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.wcc-modal__header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--wcc-line);
}

.wcc-modal__header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
}

.wcc-modal__close {
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: var(--wcc-muted);
}

.wcc-modal__body {
    padding: 30px 20px;
    text-align: center;
}

.wcc-modal__body p {
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--wcc-muted);
}

/* ── 모달 작은 사이즈 ─────────────── */
.wcc-modal__dialog--sm {
    width: 360px;
}

/* ── 수강생 전용 게시판 게이트 (인라인) ── */
.wcc-course-gate {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 60px 24px;
    text-align: center;
    background: #f8fafd;
    border-radius: 16px;
    border: 1px dashed var(--wcc-line);
    margin: 16px 0;
}

.wcc-course-gate__icon {
    font-size: 40px;
    line-height: 1;
}

.wcc-course-gate__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--wcc-text);
    margin: 0;
}

.wcc-course-gate__desc {
    font-size: 13px;
    color: var(--wcc-muted);
    margin: 0;
    line-height: 1.6;
}

.wcc-course-gate__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: var(--wcc-primary);
    color: #fff !important;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 6px;
}

.wcc-course-gate__btn:hover {
    opacity: 0.88;
}

/* ── 수강생 전용 팝업 모달 내부 ─────── */
.wcc-course-gate-modal__icon {
    font-size: 44px;
    line-height: 1;
    margin-bottom: 16px;
}

.wcc-course-gate-modal__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--wcc-text);
    line-height: 1.6;
    margin-bottom: 12px;
}

.wcc-course-gate-modal__desc {
    font-size: 13px;
    color: var(--wcc-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* 수강생 모달 전용 닫기(X) 버튼 — 프리미엄 */
.wcc-course-gate-modal .wcc-modal__close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f3f5;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    color: #6b7280;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    padding: 0;
}

.wcc-course-gate-modal .wcc-modal__close:hover {
    background: #e5e7eb;
    color: #374151;
}

.wcc-modal__footer {
    padding: 16px 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
    border-top: 1px solid var(--wcc-line);
}

/* 수강생 모달 전용 버튼 */
.wcc-course-gate-modal .wcc-button--primary {
    background: var(--wcc-primary);
    color: #fff !important;
    border-color: transparent;
    font-weight: 700;
    padding: 0 28px;
    letter-spacing: -0.01em;
    box-shadow: 0 2px 8px rgba(31, 122, 236, 0.25);
    transition: opacity 0.15s, box-shadow 0.15s;
}

.wcc-course-gate-modal .wcc-button--primary:hover {
    opacity: 0.9;
    box-shadow: 0 4px 14px rgba(31, 122, 236, 0.35);
}

/* 닫기 버튼 — 회색 아웃라인 스타일 */
.wcc-course-gate-modal .wcc-button:not(.wcc-button--primary) {
    background: #fff;
    color: #6b7280 !important;
    border: 1.5px solid #d1d5db;
    font-weight: 600;
    padding: 0 22px;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.wcc-course-gate-modal .wcc-button:not(.wcc-button--primary):hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #374151 !important;
}

.wcc-notice {
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

.wcc-notice--success {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #047857;
}

.wcc-notice--error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

.wcc-profile-photo-preview {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    background: #f0f2f5;
}

.wcc-profile-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wcc-modal__footer {
    padding: 20px;
    background: #f9fafb;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.wcc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid transparent;
}

.wcc-button--primary {
    background: var(--wcc-primary);
    color: #fff;
}

.wcc-button.is-danger {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fecaca;
}

.wcc-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.wcc-file-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 20px;
    border: 2px dashed var(--wcc-line);
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--wcc-primary);
    transition: border-color 0.15s, background 0.15s;
}

.wcc-file-label:hover {
    border-color: var(--wcc-primary);
    background: var(--wcc-primary-soft);
}

.wcc-file-label input[type="file"] {
    display: none;
}

.wcc-file-name {
    margin: 10px 0 0;
    font-size: 12px;
    color: var(--wcc-muted);
}

.wcc-upload-status {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
}

.wcc-upload-status.is-error {
    background: #fef2f2;
    color: #b91c1c;
}

.wcc-upload-status.is-success {
    background: #ecfdf5;
    color: #047857;
}

.wcc-photo-debug {
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #dbe3ef;
    text-align: left;
    font-size: 11px;
    line-height: 1.5;
    color: #475569;
    word-break: break-all;
}

.wcc-photo-debug strong,
.wcc-photo-debug span {
    display: block;
}

/* Share modal uses same base styles */
.wcc-share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.wcc-empty-row {
    display: block;
}

.wcc-rank {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111827;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    flex: 0 0 22px;
}

.wcc-hot-ranking .wcc-section-heading h2 {
    font-size: 18px !important;
    line-height: 1.3 !important;
}

.wcc-hot-ranking .wcc-section-heading span {
    font-size: 11px;
}

.wcc-page--community .wcc-layout__main > section.wcc-surface > .wcc-section-heading > h2 {
    font-size: 18px !important;
    line-height: 1.3 !important;
}

.wcc-page--community .wcc-layout__main > section.wcc-surface > .wcc-section-heading > span {
    font-size: 11px !important;
}

.wcc-board-group-heading__title {
    font-size: 18px !important;
    line-height: 1.3 !important;
}

.wcc-related-section .wcc-section-heading {
    align-items: flex-start;
    margin-bottom: 18px;
}

.wcc-related-section .wcc-section-heading h2 {
    font-size: 18px !important;
    line-height: 1.35 !important;
    letter-spacing: -0.035em;
    font-weight: 800;
}

.wcc-related-section .wcc-section-heading h2 em {
    font-style: normal;
}

.wcc-related-section .wcc-section-heading span {
    padding-top: 4px;
    color: #98a2b3;
    font-size: 12px !important;
    line-height: 1.5;
    white-space: nowrap;
}

.wcc-link-list--editorial {
    gap: 0;
}

.wcc-related-section .wcc-link-list__item {
    position: relative;
    display: block;
    padding: 18px 0;
}

.wcc-related-section .wcc-link-list__item a {
    margin: 0;
    color: #101828;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.6;
    letter-spacing: -0.03em;
}

.wcc-related-section .wcc-link-list__item span {
    display: block;
    margin-top: 8px;
    color: #667085;
    font-size: 13px;
    line-height: 1.55;
}

.wcc-related-section--popular .wcc-link-list--editorial {
    counter-reset: wcc-popular;
}

.wcc-related-section--popular .wcc-link-list__item {
    padding-left: 28px;
}

.wcc-related-section--popular .wcc-link-list__item::before {
    counter-increment: wcc-popular;
    content: counter(wcc-popular);
    position: absolute;
    top: 20px;
    left: 0;
    color: #111827;
    font-size: 15px;
    font-style: italic;
    font-weight: 800;
    line-height: 1;
}

.wcc-related-section--popular .wcc-link-list__item span {
    margin-top: 4px;
    font-size: 12px;
}

.wcc-related-section--editorial .wcc-section-heading h2::before {
    content: "최근 전문가 칼럼 ";
}

.wcc-related-section--popular .wcc-section-heading h2::before {
    content: "오늘의 인기글 ";
}

.wcc-related-section--editorial .wcc-section-heading h2,
.wcc-related-section--popular .wcc-section-heading h2 {
    font-size: 0 !important;
}

.wcc-related-section--editorial .wcc-section-heading h2::before,
.wcc-related-section--popular .wcc-section-heading h2::before,
.wcc-related-section .wcc-section-heading h2 em {
    font-size: 18px;
}

.wcc-detail-layout__main > section.wcc-surface:nth-last-of-type(2),
.wcc-detail-layout__main > section.wcc-surface:last-of-type {
    padding-top: 28px;
    padding-bottom: 26px;
}

.wcc-detail-layout__main > section.wcc-surface:nth-last-of-type(2) .wcc-section-heading,
.wcc-detail-layout__main > section.wcc-surface:last-of-type .wcc-section-heading {
    align-items: flex-start;
    margin-bottom: 18px;
}

.wcc-detail-layout__main > section.wcc-surface:nth-last-of-type(2) .wcc-section-heading h2,
.wcc-detail-layout__main > section.wcc-surface:last-of-type .wcc-section-heading h2 {
    font-size: 0 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.035em;
    font-weight: 800;
}

.wcc-detail-layout__main > section.wcc-surface:nth-last-of-type(2) .wcc-section-heading h2::before,
.wcc-detail-layout__main > section.wcc-surface:last-of-type .wcc-section-heading h2::before {
    display: inline-block;
    color: #101828;
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: -0.035em;
    font-weight: 800;
}

.wcc-detail-layout__main > section.wcc-surface:nth-last-of-type(2) .wcc-section-heading h2::before {
    content: "오늘의 인기글 🔥";
}

.wcc-detail-layout__main > section.wcc-surface:last-of-type .wcc-section-heading h2::before {
    content: "최근 전문가 칼럼 🎯";
}

.wcc-detail-layout__main > section.wcc-surface:nth-last-of-type(2) .wcc-section-heading span,
.wcc-detail-layout__main > section.wcc-surface:last-of-type .wcc-section-heading span {
    padding-top: 4px;
    color: #98a2b3;
    font-size: 12px !important;
    line-height: 1.5;
    white-space: nowrap;
}

.wcc-detail-layout__main > section.wcc-surface:last-of-type .wcc-section-heading span {
    display: none;
}

.wcc-detail-layout__main > section.wcc-surface:nth-last-of-type(2) .wcc-link-list,
.wcc-detail-layout__main > section.wcc-surface:last-of-type .wcc-link-list {
    gap: 0;
}

.wcc-detail-layout__main > section.wcc-surface:nth-last-of-type(2) .wcc-link-list__item,
.wcc-detail-layout__main > section.wcc-surface:last-of-type .wcc-link-list__item {
    position: relative;
    display: block;
    padding: 18px 0;
}

.wcc-detail-layout__main > section.wcc-surface:nth-last-of-type(2) .wcc-link-list__item {
    padding-left: 28px;
}

.wcc-detail-layout__main > section.wcc-surface:nth-last-of-type(2) .wcc-link-list {
    counter-reset: wcc-detail-related;
}

.wcc-detail-layout__main > section.wcc-surface:nth-last-of-type(2) .wcc-link-list__item::before {
    counter-increment: wcc-detail-related;
    content: counter(wcc-detail-related);
    position: absolute;
    top: 20px;
    left: 0;
    color: #111827;
    font-size: 15px;
    font-style: italic;
    font-weight: 800;
    line-height: 1;
}

.wcc-detail-layout__main > section.wcc-surface:nth-last-of-type(2) .wcc-link-list__item a,
.wcc-detail-layout__main > section.wcc-surface:last-of-type .wcc-link-list__item a {
    margin: 0;
    color: #101828;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: -0.025em;
}

.wcc-detail-layout__main > section.wcc-surface:nth-last-of-type(2) .wcc-link-list__item span,
.wcc-detail-layout__main > section.wcc-surface:last-of-type .wcc-link-list__item span {
    display: block;
    margin-top: 8px;
    color: #667085;
    font-size: 13px;
    line-height: 1.55;
}

.wcc-detail-layout__main > section.wcc-surface:nth-last-of-type(2) .wcc-link-list__item span {
    margin-top: 4px;
    font-size: 12px;
}

.wcc-series-feature,
.wcc-series-grid,
.wcc-qa-grid__cards,
.wcc-profile-showcase__grid {
    display: grid;
    gap: 18px;
}

.wcc-series-feature {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}

.wcc-series-feature__intro {
    padding: 28px;
    border-radius: 20px;
    background: linear-gradient(180deg, #dff4ff, #eff7ff);
}

.wcc-series-feature__intro h3,
.wcc-post-row__body a,
.wcc-link-list__item a,
.wcc-showcase-card a,
.wcc-series-card__body > a,
.wcc-activity-item a {
    display: block;
    margin: 4px 0;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: -0.03em;
}

.wcc-series-feature__steps a {
    display: grid;
    gap: 6px;
    padding: 18px;
    border: 1px solid var(--wcc-line);
    border-radius: 16px;
}

.wcc-post-list,
.wcc-member-stack,
.wcc-activity-list {
    display: grid;
    gap: 10px;
}

.wcc-post-row {
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    border-bottom: 1px solid var(--wcc-line);
    padding-bottom: 16px;
}

.wcc-post-list .wcc-post-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.wcc-post-row__body {
    flex: 1;
}

.wcc-post-row__thumb img,
.wcc-activity-item__thumb img {
    width: 82px;
    height: 82px;
    object-fit: cover;
    border-radius: 8px;
}

.wcc-thumb-placeholder {
    display: block;
    width: 128px;
    height: 72px;
    border-radius: 10px;
    background: linear-gradient(135deg, #eef2f8, #dfe6f2);
}

.wcc-mini-card,
.wcc-showcase-card,
.wcc-series-card {
    padding: 14px;
    border: 1px solid var(--wcc-line);
    border-radius: 12px;
    background: #fff;
}

.wcc-qa-grid__cards,
.wcc-profile-showcase__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wcc-member-stack__item,
.wcc-user-stack__item,
.wcc-comment-ranking li {
    justify-content: space-between;
}

.wcc-member-stack__profile,
.wcc-user-stack__profile {
    gap: 12px;
    align-items: flex-start;
}

.wcc-member-stack__avatar,
.wcc-member-stack__content strong a,
.wcc-comment-ranking__content strong a {
    color: inherit;
    text-decoration: none;
}

.wcc-member-stack__avatar {
    position: relative;
    display: inline-flex;
    width: 44px;
    height: 44px;
    overflow: hidden;
    border-radius: 50%;
    flex: 0 0 44px;
}

.wcc-member-stack__avatar .wcc-avatar-circle {
    width: 100%;
    height: 100%;
}

/* Legacy fallback: direct img (non-wrapped) still gets rounded */
.wcc-member-stack__profile img:not(.wcc-avatar-circle img),
.wcc-user-stack__profile img:not(.wcc-avatar-circle img),
.wcc-author-spotlight__header img:not(.wcc-avatar-circle img),
.wcc-profile-card__header img:not(.wcc-avatar-circle img),
.wcc-nav-card__profile img:not(.wcc-avatar-circle img) {
    border-radius: 50%;
    object-fit: cover;
}

.wcc-floating-write {
    width: 132px;
    margin-top: 16px;
    margin-left: auto;
    border-radius: 999px;
    position: static;
    box-shadow: 0 10px 28px rgba(47, 91, 234, 0.22);
    color: #fff !important;
}

.wcc-member-stack__content,
.wcc-comment-ranking__content {
    display: grid;
    gap: 2px;
}

.wcc-profile-follow-panel + .wcc-surface {
    display: none;
}

.wcc-profile-follow-panel {
    padding-top: 14px;
}

.wcc-profile-follow-switch {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 18px;
}

.wcc-profile-follow-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    height: 40px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #667085;
    font-size: 14px;
    font-weight: 700;
}

.wcc-profile-follow-pill.is-active {
    border-color: #2f5bea;
    color: #2f5bea;
    background: #fff;
}

.wcc-profile-follow-panel .wcc-user-stack {
    gap: 0;
}

.wcc-profile-follow-panel .wcc-user-stack__item {
    padding: 20px 0;
    border-top: 1px solid #eef2f6;
}

.wcc-profile-follow-panel .wcc-user-stack__item:first-child {
    border-top: 0;
    padding-top: 6px;
}

.wcc-profile-follow-panel .wcc-user-stack__profile img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.wcc-profile-follow-panel .wcc-user-stack__profile strong {
    font-size: 15px;
    font-weight: 600;
}

.wcc-profile-follow-panel .wcc-follow-button {
    min-width: 92px;
    min-height: 34px;
    border-radius: 8px;
}

.wcc-profile-card__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    padding-top: 8px;
}

.wcc-profile-card__actions .wcc-follow-button {
    flex: 1;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid #2f5bea;
    border-radius: 12px;
    background: linear-gradient(180deg, #3d67f6 0%, #2f5bea 100%);
    box-shadow: 0 10px 24px rgba(47, 91, 234, 0.22);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.wcc-profile-card__actions .wcc-follow-button::before {
    content: "+";
    margin-right: 8px;
    font-size: 19px;
    line-height: 1;
    font-weight: 700;
}

.wcc-profile-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #d7deea !important;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    color: #344054 !important;
    font-size: 20px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
    outline: none !important;
}

.wcc-profile-share:hover,
.wcc-profile-card__actions .wcc-follow-button:hover {
    transform: translateY(-1px);
}

.wcc-profile-share:focus,
.wcc-profile-share:focus-visible,
.wcc-share-modal__close:focus,
.wcc-share-modal__close:focus-visible,
.wcc-share-action:focus,
.wcc-share-action:focus-visible {
    outline: none !important;
    border-color: #d7deea !important;
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.16) !important;
}

.wcc-profile-card__actions .wcc-follow-button[data-following="1"] {
    border-color: #d7deea;
    background: #fff;
    color: #2244b9;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.wcc-share-modal[hidden] {
    display: none;
}

.wcc-share-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    background: rgba(15, 23, 42, 0.12);
}

.wcc-share-modal__dialog {
    width: min(420px, calc(100vw - 40px));
    padding: 24px 24px 22px;
    border: 1px solid rgba(215, 222, 234, 0.9);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(8px);
}

.wcc-share-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.wcc-share-modal__header strong {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.wcc-share-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #d7deea !important;
    border-radius: 10px;
    background: #fff !important;
    color: #344054 !important;
    font-size: 24px;
    line-height: 1;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    outline: none !important;
}

.wcc-share-modal__actions {
    display: flex;
    gap: 16px;
}

.wcc-share-action {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-height: 78px;
    padding: 0 18px;
    border: 1px solid #d8e0eb !important;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%) !important;
    color: #111827 !important;
    text-align: left;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
    outline: none !important;
}

.wcc-share-action span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #f3f6fb;
    color: #344054;
    font-size: 18px;
    box-shadow: inset 0 0 0 1px rgba(152, 162, 179, 0.18);
}

.wcc-share-action strong {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.wcc-share-action--kakao {
    border-color: #d8e0eb !important;
    background: linear-gradient(180deg, #fffdf1 0%, #fff9d8 100%) !important;
}

.wcc-share-action--kakao span {
    background: #fee500;
    color: #191919;
    box-shadow: none;
}

.wcc-share-action:hover,
.wcc-share-modal__close:hover,
.wcc-profile-share:hover {
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
}

.wcc-profile-share:hover,
.wcc-profile-share:active,
.wcc-share-modal__close:hover,
.wcc-share-modal__close:active,
.wcc-share-action:hover,
.wcc-share-action:active,
.wcc-share-action--kakao:hover,
.wcc-share-action--kakao:active {
    border-color: #d7deea !important;
    outline: none !important;
}

.wcc-member-stack__content strong,
.wcc-comment-ranking__content strong {
    font-size: 14px;
    line-height: 1.3;
}

.wcc-member-stack__meta {
    color: var(--wcc-primary);
    font-size: 11px;
    font-weight: 700;
}

.wcc-member-stack__desc {
    color: var(--wcc-muted);
    font-size: 11px;
    line-height: 1.45;
}

.wcc-member-stack .wcc-follow-button,
.wcc-comment-ranking .wcc-follow-button {
    min-height: 34px;
    padding: 0 14px;
    border-color: #d7dfeb;
    background: #fff;
    color: #2244b9;
    font-size: 12px;
}

.wcc-comment-ranking li {
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}

/* 트로피 이모지 (1~3위) */
.wcc-rank-trophy {
    font-size: 26px;
    line-height: 1;
    flex: 0 0 30px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 숫자 순위 (4위~) */
.wcc-rank--plain {
    background: transparent;
    color: #9ca3af;
    width: 30px;
    height: 30px;
    font-size: 13px;
    font-weight: 700;
    flex: 0 0 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wcc-comment-ranking__content {
    flex: 1;
    min-width: 0;
}

.wcc-comment-ranking__content strong {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wcc-comment-ranking__content strong a {
    color: var(--wcc-text);
    text-decoration: none;
}

.wcc-comment-ranking__content strong a:hover {
    color: var(--wcc-primary);
}

.wcc-comment-ranking__content > span {
    font-size: 12px;
    color: var(--wcc-muted);
    display: block;
}

.wcc-board-header__title {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.wcc-board-header__title h2 {
    margin: 0 0 4px;
    font-size: 28px;
    line-height: 1.2;
}

.wcc-board-header__title p {
    margin: 0;
    color: var(--wcc-muted);
    font-size: 14px;
}

.wcc-board-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.wcc-filter-pill.is-active {
    border-color: var(--wcc-primary);
    background: #eef3ff;
}

.wcc-post-row--archive {
    align-items: center;
    padding: 16px 0;
}

.wcc-post-row__labels {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 4px;
}

.wcc-post-row__board {
    color: #23a06d;
    font-size: 12px;
    font-weight: 700;
}

.wcc-post-row__author {
    color: var(--wcc-muted);
    font-size: 12px;
}

.wcc-post-row--archive .wcc-post-row__body > a {
    font-size: 18px;
    line-height: 1.5;
}

.wcc-post-row--archive .wcc-post-row__thumb img {
    width: 128px;
    height: 72px;
    border-radius: 10px;
}

.wcc-write-form {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 22px 24px 30px;
}

.wcc-write-form__header,
.wcc-write-form__actions,
.wcc-write-form__grid {
    display: grid;
    gap: 16px;
}

.wcc-write-form__header {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    margin-bottom: 18px;
}

.wcc-write-form label {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

/* ════════════════════════════════
   ✦ 프론트엔드 wp_editor 프리미엄 스타일
════════════════════════════════ */

/* 에디터 탭 (비주얼 / HTML) */
.wcc-write-form .wp-editor-tabs {
    display: flex;
    gap: 4px;
    padding: 6px 6px 0;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
}

.wcc-write-form .wp-switch-editor {
    padding: 6px 16px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em;
    color: #64748b !important;
    background: transparent !important;
    border: none !important;
    border-radius: 6px 6px 0 0 !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: color .15s, background .15s;
}

.wcc-write-form .wp-switch-editor:hover {
    color: #1e40af !important;
    background: #eff6ff !important;
}

.wcc-write-form .wp-switch-editor.switch-tmce,
.wcc-write-form .switch-tmce.active,
.wcc-write-form .wp-switch-editor:focus {
    color: #1d4ed8 !important;
    background: #fff !important;
    border-bottom: 2px solid #3b82f6 !important;
    outline: none !important;
    box-shadow: none !important;
}

/* 에디터 컨테이너 테두리 */
.wcc-write-form .wp-editor-container {
    border: 1px solid #e2e8f0 !important;
    border-radius: 0 0 10px 10px !important;
    overflow: hidden;
}

.wcc-write-form #wp-wcc_front_post_content-editor-container {
    border: none !important;
}

/* TinyMCE 툴바 */
.wcc-write-form .mce-toolbar .mce-btn {
    border: none !important;
    border-radius: 6px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #475569 !important;
}

.wcc-write-form .mce-toolbar .mce-btn:hover,
.wcc-write-form .mce-toolbar .mce-btn.mce-active {
    background: #f1f5f9 !important;
    color: #1d4ed8 !important;
}

.wcc-write-form .mce-toolbar-grp {
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 4px 6px !important;
}

/* 퀵태그 툴바 (HTML 모드) */
.wcc-write-form .quicktags-toolbar {
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 6px !important;
    gap: 3px;
    display: flex;
    flex-wrap: wrap;
}

.wcc-write-form .quicktags-toolbar input,
.wcc-write-form .quicktags-toolbar button {
    padding: 4px 10px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 5px !important;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,.04) !important;
    transition: all .12s;
}

.wcc-write-form .quicktags-toolbar input:hover,
.wcc-write-form .quicktags-toolbar button:hover {
    border-color: #3b82f6 !important;
    color: #1d4ed8 !important;
    background: #eff6ff !important;
}

.wcc-write-form label > span {
    font-size: 13px;
    font-weight: 700;
}

.wcc-write-form input[type="text"],
.wcc-write-form select,
.wcc-write-form textarea {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid var(--wcc-line);
    border-radius: 10px;
    background: #fff;
}

.wcc-write-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wcc-detail-banner {
    height: 16px;
}

.wcc-article__meta,
.wcc-article__actions,
.wcc-profile-card__stats,
.wcc-author-spotlight__stats,
.wcc-post-row__meta {
    gap: 14px;
    flex-wrap: wrap;
}

.wcc-article__meta {
    margin-bottom: 18px;
}

.wcc-article h1 {
    margin: 0 0 32px;
}

.wcc-post-row__meta {
    color: var(--wcc-muted);
    font-size: 12px;
}

.wcc-meta-like::before,
.wcc-meta-comment::before {
    margin-right: 4px;
    color: #6b8cff;
}

.wcc-meta-like::before {
    content: "👍";
}

.wcc-meta-comment::before {
    content: "💬";
}

.wcc-article__content {
    font-size: 14px;
    line-height: 1.9;
    color: #364152;
    letter-spacing: -0.02em;
}

.wcc-article__content p,
.wcc-article__content li,
.wcc-article__content blockquote {
    font-size: 14px;
    line-height: 1.9;
}

.wcc-summary-box {
    margin: 32px 0;
    padding: 20px 22px;
    border-radius: 18px;
    background: linear-gradient(180deg, #eef3ff, #f6f8ff);
}

.wcc-inline-series {
    justify-content: space-between;
    margin: 28px 0;
    padding: 18px 20px;
    border: 1px solid var(--wcc-line);
    border-radius: 18px;
}

.wcc-comment-list {
    display: grid;
    gap: 0;
}

.wcc-comment-item {
    padding: 18px 0;
    border-top: 1px solid var(--wcc-line);
}

.wcc-comment-item:first-child {
    border-top: 0;
    padding-top: 0;
}

.wcc-comment-item__head,
.wcc-comment-item__author,
.wcc-comment-item__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.wcc-comment-item__author {
    justify-content: flex-start;
}

.wcc-comment-item__author img {
    border-radius: 50%;
}

.wcc-comment-item__author strong {
    display: block;
    font-size: 14px;
}

.wcc-comment-item__author span {
    color: var(--wcc-muted);
    font-size: 12px;
}

.wcc-comment-item__body {
    margin: 10px 0 12px 46px;
    font-size: 15px;
    line-height: 1.85;
    color: #1f2937;
}

.wcc-comment-item__body p {
    margin: 0 0 6px;
}

.wcc-comment-item__actions {
    margin-left: 46px;
}

.wcc-comment-item__actions button,
.wcc-comments__more button,
.wcc-comment-item__more {
    border: 1px solid var(--wcc-line);
    background: #fff;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 12px;
    color: #374151;
}

.wcc-comment-item__children {
    margin-left: 28px;
}

.wcc-comments__more {
    display: flex;
    justify-content: center;
    margin: 8px 0 18px;
}

.wcc-comments .comment-form {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--wcc-line);
}

.wcc-comments .comment-form textarea {
    width: 100%;
    min-height: 130px;
    padding: 14px 16px;
    border: 1px solid var(--wcc-line);
    border-radius: 12px;
}

.wcc-comments .form-submit {
    display: flex;
    justify-content: flex-end;
    margin: 10px 0 0;
}

.wcc-comments .submit {
    min-width: 72px;
    min-height: 38px;
    border: 0;
    border-radius: 8px;
    background: #e8f0ff;
    color: #2f5bea;
    font-weight: 700;
}

.wcc-author-spotlight__stats div,
.wcc-profile-card__stats div {
    display: grid;
    flex: 1;
    text-align: center;
}

.wcc-author-spotlight__posts {
    display: grid;
    gap: 0;
    margin-top: 16px;
}

.wcc-author-spotlight__post {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid #eef2f6;
}

.wcc-author-spotlight__post:first-child {
    border-top: 0;
    padding-top: 0;
}

.wcc-author-spotlight__post-body {
    min-width: 0;
}

.wcc-author-spotlight__post-body a {
    display: block;
    margin-bottom: 8px;
    color: #101828;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
}

.wcc-author-spotlight__post-body span {
    color: #667085;
    font-size: 12px;
}

.wcc-author-spotlight__post-thumb img {
    width: 92px;
    height: 62px;
    border-radius: 10px;
    object-fit: cover;
}

.wcc-profile-tabs {
    gap: 34px;
}

.wcc-follow-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.wcc-series-master__hero {
    align-items: stretch;
    gap: 24px;
    margin-bottom: 24px;
}

.wcc-series-master__cover {
    width: 280px;
    flex: 0 0 auto;
}

.wcc-series-master__cover img,
.wcc-series-card__thumb img {
    width: 100%;
    height: auto;
    border-radius: 22px;
}

.wcc-series-master__placeholder,
.wcc-series-card__thumb span {
    display: grid;
    place-items: center;
    min-height: 320px;
    border-radius: 22px;
    background: linear-gradient(135deg, #dff4ff, #edf3ff);
    text-align: center;
    font-size: 24px;
    font-weight: 800;
}

.wcc-series-outline,
.wcc-series-outline-panel {
    display: grid;
    gap: 14px;
}

.wcc-series-outline__row {
    justify-content: space-between;
    border-radius: 16px;
}

.wcc-outline-detail {
    border: 1px solid var(--wcc-line);
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
}

.wcc-outline-detail summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    cursor: pointer;
}

.wcc-outline-detail__body {
    padding: 0 20px 20px;
}

.wcc-series-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wcc-series-card__thumb {
    display: block;
    margin-bottom: 16px;
}

@media (max-width: 1180px) {
    .wcc-layout,
    .wcc-detail-layout,
    .wcc-profile-layout,
    .wcc-follow-grid,
    .wcc-series-grid,
    .wcc-qa-grid__cards,
    .wcc-profile-showcase__grid,
    .wcc-series-feature {
        grid-template-columns: 1fr;
    }

    .wcc-topbar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 780px) {
    .wcc-topbar,
    .wcc-layout,
    .wcc-detail-layout,
    .wcc-profile-layout {
        width: min(100%, calc(100% - 20px));
    }

    .wcc-topbar {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .wcc-topbar__brand-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .wcc-topbar__nav {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .wcc-topbar__actions {
        width: 100%;
    }

    .wcc-topbar__actions .wcc-topbar__search {
        width: 100%;
    }

    .wcc-surface {
        padding: 18px;
        border-radius: 18px;
    }

    .wcc-post-row,
    .wcc-filterbar,
    .wcc-inline-series,
    .wcc-series-master__hero {
        display: grid;
    }

    .wcc-series-master__cover {
        width: 100%;
    }

    .wcc-floating-write {
        right: 16px;
        bottom: 16px;
        width: 116px;
    }
}

.wcc-board-header__title {
    display: block;
}

.wcc-board-header__title h2 {
    margin: 0 0 10px;
}

.wcc-filterbar__search {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(100%, 360px);
    margin-left: auto;
    flex: 0 0 360px;
}

.wcc-filterbar__search input {
    flex: 1;
}

.wcc-search-button {
    min-width: 72px;
    height: 42px;
    border: 1px solid #2f5bea;
    border-radius: 12px;
    background: #2f5bea;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.wcc-topbar__search .wcc-search-button--inline,
.wcc-filterbar__search .wcc-search-button--inline {
    position: absolute;
    top: 50%;
    right: 8px;
    min-width: 68px;
    height: 34px;
    padding: 0 16px;
    border: 0 !important;
    border-radius: 999px !important;
    background: #eef4ff !important;
    color: #344054 !important;
    box-shadow: none !important;
    transform: translateY(-50%);
    font-size: 13px;
    font-weight: 700;
    line-height: 34px;
    z-index: 2;
}

.wcc-topbar__search,
.wcc-filterbar__search {
    position: relative;
    display: block;
    width: 100%;
}

.wcc-topbar__actions .wcc-topbar__search {
    width: min(360px, 40vw);
}

.wcc-topbar__search input,
.wcc-filterbar__search input {
    padding-right: 108px !important;
}

.wcc-topbar__search input,
.wcc-filterbar__search input {
    text-overflow: ellipsis;
}

.wcc-topbar__search .wcc-search-button--inline,
.wcc-filterbar__search .wcc-search-button--inline {
    right: 10px;
    min-width: 68px;
    height: 34px;
    padding: 0 16px;
    line-height: 34px;
}

.wcc-filterbar__search > .wcc-search-button {
    position: absolute;
    top: 50%;
    right: 10px;
    min-width: 68px;
    height: 34px;
    padding: 0 16px;
    border: 0 !important;
    border-radius: 999px !important;
    background: #eef4ff !important;
    color: #344054 !important;
    box-shadow: none !important;
    transform: translateY(-50%);
    line-height: 34px;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-align: center;
    letter-spacing: -0.01em;
    z-index: 2;
}

.wcc-post-row--archive {
    align-items: center;
    gap: 22px;
    padding: 22px 0;
    border-bottom: 1px solid #edf1f7;
}

.wcc-post-row--archive:last-child {
    border-bottom: 0;
}

.wcc-post-row__thumb {
    display: block;
    width: 128px;
    min-width: 128px;
}

.wcc-post-row__thumb img,
.wcc-post-row__thumb .wcc-thumb-placeholder {
    display: block;
    width: 128px;
    height: 84px;
    border-radius: 10px;
    object-fit: cover;
}

.wcc-post-row__body > a {
    display: block;
    margin: 8px 0 12px;
    color: #101828;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.55;
}

.wcc-post-row__labels {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.wcc-post-row__board {
    color: #27ae60;
    font-weight: 700;
}

.wcc-post-row__author {
    color: #56708f;
}

.wcc-post-row__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #667085;
    font-size: 13px;
}

.wcc-meta-like,
.wcc-meta-comment {
    display: inline-flex;
    align-items: center;
    color: #6b8cff;
}

.wcc-post-owner-menu,
.wcc-reaction-bar__menu {
    position: relative;
}

.wcc-post-owner-menu {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.wcc-post-owner-menu .wcc-icon-button,
.wcc-reaction-bar__menu .wcc-icon-button,
.wcc-comment-item__more {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.wcc-post-owner-menu .wcc-icon-button:hover,
.wcc-post-owner-menu .wcc-icon-button:focus,
.wcc-post-owner-menu .wcc-icon-button:focus-visible,
.wcc-reaction-bar__menu .wcc-icon-button:hover,
.wcc-reaction-bar__menu .wcc-icon-button:focus,
.wcc-reaction-bar__menu .wcc-icon-button:focus-visible,
.wcc-comment-item__more:hover,
.wcc-comment-item__more:focus,
.wcc-comment-item__more:focus-visible {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.wcc-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #d0d5dd !important;
    border-radius: 12px;
    background: #f8fafc !important;
    color: #667085 !important;
    font-size: 20px;
    line-height: 1;
}

.wcc-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    min-width: 160px;
    padding: 10px 0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    z-index: 20;
}

.is-open > .wcc-dropdown-menu {
    display: block;
}

.wcc-dropdown-menu a {
    display: block;
    padding: 12px 18px;
    color: #344054 !important;
    font-size: 14px;
    font-weight: 500;
    background: #fff !important;
}

.wcc-dropdown-menu a.is-danger {
    color: #475467 !important;
}

.wcc-reaction-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #eef2f6;
}

.wcc-reaction-bar__likes {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wcc-reaction-bar__label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #101828;
    font-size: 16px;
    font-weight: 700;
}

.wcc-reaction-bar__label::before {
    content: "👍";
    font-size: 17px;
}

.wcc-reaction-bar__avatars {
    display: flex;
    margin-left: 4px;
}

.wcc-reaction-bar__avatars img {
    width: 32px;
    height: 32px;
    margin-left: -8px;
    border: 2px solid #fff;
    border-radius: 999px;
}

.wcc-reaction-bar__avatars img:first-child {
    margin-left: 0;
}

.wcc-reaction-bar__count {
    padding: 7px 12px;
    border-radius: 999px;
    background: #eef4ff;
    color: #4a68d8;
    font-size: 14px;
    font-weight: 700;
}

.wcc-comments .comment-respond,
.wcc-comments .comment-form {
    display: none !important;
}

.wcc-empty-state--comment {
    padding: 20px 0 10px;
    border-top: 1px solid #eef2f6;
}

.wcc-comments {
    padding-top: 24px;
}

.wcc-comments > .wcc-section-heading {
    align-items: center;
    margin-bottom: 22px;
}

.wcc-comments > .wcc-section-heading h2 {
    font-size: 16px !important;
    line-height: 1.3 !important;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.wcc-comments > .wcc-section-heading span {
    color: #667085;
    font-size: 13px !important;
    font-weight: 600;
}

.wcc-comment-list__entry.is-hidden {
    display: none;
}

.wcc-comment-item {
    padding: 24px 0;
    border-top: 1px solid #eef2f6;
}

.wcc-comment-item__head {
    align-items: flex-start;
}

.wcc-comment-item__author {
    gap: 12px;
}

.wcc-comment-item__author img {
    width: 34px;
    height: 34px;
}

.wcc-comment-item__author strong {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.wcc-comment-item__author span {
    display: inline-block;
    margin-top: 4px;
    color: #667085;
    font-size: 13px;
    line-height: 1.4;
}

.wcc-comment-item__body {
    margin: 10px 0 14px 46px;
    color: #101828;
    font-size: 15px;
    line-height: 1.75;
}

.wcc-comment-item__actions {
    margin-left: 46px;
    justify-content: space-between;
    align-items: center;
}

.wcc-comment-reply-button {
    min-width: 48px;
    height: 32px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #fff;
    color: #344054;
    font-size: 13px;
    font-weight: 600;
}

.wcc-comment-like-text {
    color: #344054;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.wcc-comments__more {
    margin: 20px 0 26px;
    text-align: center;
}

.wcc-comments__more button {
    border: 0;
    background: transparent;
    color: #101828;
    font-size: 15px;
    font-weight: 700;
}

.wcc-comments__more button::after {
    content: "⌄";
    margin-left: 8px;
}

.wcc-comment-form-shell {
    margin-top: 18px;
    padding: 18px 16px 14px;
    border: 1px solid #d9e2ef;
    border-radius: 14px;
    background: #fff;
}

.wcc-comment-form-shell textarea {
    width: 100%;
    min-height: 108px;
    border: 0;
    outline: none;
    resize: vertical;
    color: #101828;
    font-size: 15px;
    line-height: 1.7;
}

.wcc-comment-form-shell__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.wcc-comment-form-shell__icons {
    display: flex;
    gap: 14px;
}

.wcc-comment-form-shell__icons .wcc-icon-button {
    width: 24px;
    height: 24px;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    color: #111827 !important;
    font-size: 18px;
    box-shadow: none !important;
}

.wcc-comment-submit {
    min-width: 64px;
    height: 36px;
    border: 1px solid #d0d5dd !important;
    border-radius: 8px;
    background: #f2f4f7 !important;
    color: #475467 !important;
    font-size: 14px;
    font-weight: 700;
}

.wcc-page--write .wcc-write-form__actions .wcc-follow-button,
.wcc-page--write .wcc-write-form__actions .wcc-follow-button:hover,
.wcc-page--write .wcc-write-form__actions .wcc-follow-button:focus,
.wcc-page--write .wcc-write-form__actions .wcc-follow-button:focus-visible,
.wcc-page--write .wcc-write-form__actions .wcc-follow-button:active {
    border: 1px solid #2f5bea !important;
    background: #2f5bea !important;
    color: #fff !important;
    box-shadow: none !important;
}

.wcc-icon-button:hover,
.wcc-comment-reply-button:hover,
.wcc-comment-submit:hover {
    border-color: #cfd8e3 !important;
    background: #f8fafc !important;
    color: #344054 !important;
    box-shadow: none !important;
}

.wcc-icon-button:focus,
.wcc-icon-button:focus-visible,
.wcc-comment-reply-button:focus,
.wcc-comment-reply-button:focus-visible,
.wcc-comment-submit:focus,
.wcc-comment-submit:focus-visible {
    outline: none;
    border-color: #cfd8e3 !important;
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.16) !important;
}

.wcc-dropdown-menu a:hover,
.wcc-dropdown-menu a:focus,
.wcc-dropdown-menu a:focus-visible {
    background: #f8fafc !important;
    color: #344054 !important;
    outline: none !important;
}

.wcc-comment-tool:hover,
.wcc-comment-tool:focus,
.wcc-comment-tool:focus-visible {
    border: 0 !important;
    background: transparent !important;
    color: #111827 !important;
    box-shadow: none !important;
}

.wcc-comment-login {
    color: #667085;
    font-size: 15px;
}

/* ── 상단 여백 제거 ─────────────────────────────────────────────── */
.wcc-layout {
    margin-top: 0 !important;
}

.wcc-page--community > .wcc-topbar:not(.wcc-topbar--nav) {
    display: none !important;
}

/* board-view 클래스는 더 이상 사용하지 않음 — 3컬럼 레이아웃 항상 유지 */

/* ── 일반 회원 파일 첨부 버튼 ───────────────────────────────────── */
.wcc-file-attach {
    margin-top: 10px;
}

.wcc-file-attach__input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.wcc-file-attach__label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.wcc-file-attach__button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #fff;
    color: #344054;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.wcc-file-attach__label:hover .wcc-file-attach__button {
    background: #f8fafc;
    border-color: #2f5bea;
    color: #2f5bea;
}

.wcc-file-attach__name {
    font-size: 13px;
    color: #6a7487;
}

/* ── 좋아요/댓글 아이콘 메트릭 ─────────────────────────────────── */
.wcc-metrics {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #6a7487;
}

.wcc-metrics__item {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    line-height: 1;
}

.wcc-metrics__item--like {
    color: #f79009;
}

.wcc-metrics__item--comment {
    color: #2f5bea;
}

/* ── 댓글 수정/삭제 메뉴 ───────────────────────────────────────── */
.wcc-comment-menu {
    position: relative;
    display: flex;
    align-items: center;
}

.wcc-comment-menu .wcc-dropdown-menu {
    top: calc(100% + 4px);
    min-width: 100px;
}

.wcc-dropdown-menu button {
    display: block;
    width: 100%;
    padding: 11px 16px;
    text-align: left;
    background: transparent;
    border: 0;
    font-size: 14px;
    color: #344054;
    cursor: pointer;
    line-height: 1.4;
}

.wcc-dropdown-menu button:hover {
    background: #f8fafc;
    color: #344054;
}

.wcc-dropdown-menu button.is-danger {
    color: #d92d20;
}

.wcc-dropdown-menu button.is-danger:hover {
    background: #fff1f0;
}

/* ── 댓글 인라인 수정 폼 ───────────────────────────────────────── */
.wcc-comment-edit-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    font-family: inherit;
    color: #13203a;
    box-sizing: border-box;
}

.wcc-comment-edit-textarea:focus {
    outline: none;
    border-color: #2f5bea;
    box-shadow: 0 0 0 3px rgba(47, 91, 234, 0.12);
}

.wcc-comment-edit-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 8px;
}

.wcc-comment-edit-actions button {
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid #d0d5dd;
    background: #fff;
    color: #344054;
}

.wcc-comment-edit-actions button.wcc-comment-submit {
    background: #2f5bea;
    color: #fff;
    border-color: #2f5bea;
}

/* ════════════════════════════════════════════════════
   ✦ 고도화 패치 — 간격 확대 + 아바타 원형 수정
════════════════════════════════════════════════════ */

/* ── 전역 카드(surface) 패딩 확대 ── */
.wcc-surface {
    padding: 24px 24px 22px !important;
    border-radius: 16px !important;
}

/* ── 레이아웃 컬럼 간격 확대 ── */
.wcc-layout {
    gap: 24px !important;
}

/* ── 섹션 헤딩 하단 여백 ── */
.wcc-section-heading {
    margin-bottom: 18px !important;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5fb;
}

/* ── 포스트 목록 아이템 간격 (border-top 방식으로 상하 여백 균일화) ── */
.wcc-post-list {
    gap: 0 !important;
}

.wcc-post-list .wcc-post-row {
    border-bottom: none !important;
    padding-bottom: 18px !important;
    border-top: 1px solid var(--wcc-line) !important;
    padding-top: 18px !important;
}

.wcc-post-list .wcc-post-row:first-child {
    border-top: none !important;
    padding-top: 0 !important;
}

.wcc-post-list .wcc-post-row:last-child {
    padding-bottom: 0 !important;
}

.wcc-post-row--archive {
    padding: 20px 0 !important;
    gap: 20px !important;
}

/* ════════════════════════════════
   ✦ 커뮤니티 프리미엄 타이포그래피
════════════════════════════════ */

/* 보드 섹션 헤딩 (1기 챌린지 / 스타트업 / 묻고답하기) */
.wcc-page--community .wcc-layout__main > section.wcc-surface > .wcc-section-heading > h2 {
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.3 !important;
    color: #0f172a !important;
}

/* 인기글 / 주목받는 멤버 섹션 헤딩 */
.wcc-hot-ranking .wcc-section-heading h2 {
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: -0.025em !important;
    line-height: 1.3 !important;
}

/* 보드 그룹 서브 헤딩 (board-group-heading) */
.wcc-board-group-heading__title,
.wcc-board-group-heading__title * {
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: -0.025em !important;
    line-height: 1.3 !important;
    color: #0f172a !important;
}

/* 오늘의 인기글 그리드 카드 레이아웃 */
.wcc-mini-card {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.wcc-mini-card > strong {
    display: block !important;
}

/* metrics 행 레이아웃 강제 */
.wcc-mini-card .wcc-metrics {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
}

.wcc-mini-card .wcc-metrics__item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    white-space: nowrap !important;
}

/* 오늘의 인기글 그리드 카드 제목 */
.wcc-mini-card strong a,
.wcc-mini-card > strong {
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: -0.025em !important;
    line-height: 1.55 !important;
    color: #111827 !important;
}

/* 오늘의 인기글 섹션 제목 */
.wcc-related-section--popular .wcc-link-list__item a {
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: -0.025em !important;
    line-height: 1.55 !important;
}

/* 게시글 제목 */
.wcc-post-row__body > a {
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.6 !important;
    margin: 4px 0 8px !important;
    letter-spacing: -0.025em !important;
    color: #111827 !important;
}

/* 게시글 본문 요약 */
.wcc-post-row__body > p {
    font-size: 14px !important;
    line-height: 1.65 !important;
    color: #4b5563 !important;
    font-weight: 400 !important;
    letter-spacing: -0.02em !important;
    margin: 0 !important;
}

/* 게시글 라벨 영역 (보드명 + 작성자) */
.wcc-post-row__labels {
    font-size: 11px !important;
    gap: 6px !important;
    margin-bottom: 4px !important;
}

.wcc-post-row__board {
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
}

.wcc-post-row__author {
    font-size: 11px !important;
    font-weight: 500 !important;
}

/* 게시글 메타 (좋아요 / 댓글 / 날짜) */
.wcc-post-row__meta {
    gap: 10px !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
    color: #94a3b8 !important;
}

/* 섹션 서브 타이틀 (예: "지금 가장 많이 보는 글") */
.wcc-page--community .wcc-layout__main > section.wcc-surface > .wcc-section-heading > span,
.wcc-hot-ranking .wcc-section-heading span {
    font-size: 11px !important;
    color: #94a3b8 !important;
    font-weight: 400 !important;
}

/* ── 인기글 순위 목록 ── */
.wcc-hot-ranking__list {
    gap: 0 !important;
}

.wcc-hot-ranking__list li {
    padding: 14px 0 !important;
    gap: 14px !important;
    line-height: 1.55;
}

.wcc-hot-ranking__list li:first-child {
    padding-top: 4px !important;
}

.wcc-hot-ranking__list li a {
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: -0.025em;
    line-height: 1.5;
}

/* ── 링크 목록 간격 ── */
.wcc-link-list {
    gap: 0 !important;
}

.wcc-link-list__item,
.wcc-outline-item {
    padding: 14px 0 !important;
    gap: 14px !important;
}

/* ── 네비 메뉴 그룹 ── */
.wcc-nav-group a {
    padding: 9px 10px !important;
    font-size: 13px !important;
    line-height: 1.5;
    border-radius: 10px !important;
}

.wcc-nav-group {
    gap: 3px !important;
    margin-top: 20px !important;
    padding-top: 18px !important;
}

/* ── 필터바 ── */
.wcc-filterbar {
    gap: 16px !important;
    padding: 4px 0 8px !important;
}

.wcc-home-hero__tabs a,
.wcc-profile-tabs a {
    font-size: 14px !important;
    padding: 6px 0 12px !important;
}

.wcc-home-hero__tabs {
    gap: 20px !important;
}

/* ── 게시판 섹션 보드 그룹 헤딩 ── */
.wcc-board-group-heading__title {
    margin-bottom: 10px !important;
    padding-bottom: 8px;
}

/* ════════════════════════════════════════════════════
   ✦ 아바타 원형 완전 수정
════════════════════════════════════════════════════ */

/* 공통: 모든 아바타 컨테이너 */
.wcc-member-stack__avatar,
.wcc-nav-card__avatar,
.wcc-avatar-circle,
.wcc-topbar__profile,
.wcc-comment-item__author > a > img,
.wcc-reaction-bar__avatars img {
    border-radius: 50% !important;
    overflow: hidden !important;
}

/* 멤버 스택 아바타 이미지 강제 원형 */
.wcc-member-stack__avatar img,
.wcc-member-stack__avatar .wcc-avatar-circle,
.wcc-member-stack__avatar .wcc-avatar-circle img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: block !important;
}

/* 사용자 스택 (팔로워/팔로잉) 아바타 */
.wcc-user-stack__profile img,
.wcc-user-stack__profile .wcc-avatar-circle,
.wcc-user-stack__profile .wcc-avatar-circle img {
    width: 42px !important;
    height: 42px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
    display: block !important;
}

/* 프로필 팔로워 패널 */
.wcc-profile-follow-panel .wcc-user-stack__profile img,
.wcc-profile-follow-panel .wcc-user-stack__profile .wcc-avatar-circle img {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

/* 댓글 작성자 아바타 */
.wcc-comment-item__author img,
.wcc-comment-item__author .wcc-avatar-circle img {
    width: 36px !important;
    height: 36px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
}

/* 코멘트 랭킹 아바타 */
.wcc-comment-ranking .wcc-member-stack__avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
}

/* 반응바 좋아요 아바타 */
.wcc-reaction-bar__avatars img {
    width: 32px !important;
    height: 32px !important;
    object-fit: cover !important;
}

/* 네비카드 프로필 아바타 */
.wcc-nav-card__avatar img,
.wcc-nav-card__avatar .wcc-avatar-circle img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
}

/* 탑바 프로필 */
.wcc-topbar__profile img,
.wcc-topbar__profile .wcc-avatar-circle img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
}

/* 사이드바 프로필 카드 - 아바타↔이름 간격 및 이름 폰트 */
.wcc-profile-card__header {
    gap: 6px !important;
}
.wcc-profile-card__header h2 {
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: -0.025em !important;
    color: #0f172a !important;
    margin: 0 !important;
}

/* 프로필 카드 헤더 / 저자 스포트라이트 */
.wcc-profile-card__header .wcc-avatar-circle img,
.wcc-author-spotlight__header .wcc-avatar-circle img {
    object-fit: cover !important;
    border-radius: 50% !important;
    display: block !important;
}

/* ── 멤버 스택 전체 간격 개선 ── */
.wcc-member-stack {
    gap: 0 !important;
}

.wcc-member-stack__item {
    padding: 12px 0 !important;
    border-top: 1px solid #f1f5fb !important;
    gap: 12px !important;
}

.wcc-member-stack__item:first-child {
    border-top: 0 !important;
    padding-top: 4px !important;
}

.wcc-member-stack__content strong {
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.4;
}

.wcc-member-stack__desc {
    font-size: 11px !important;
    line-height: 1.5;
    margin-top: 2px;
}

/* ── 활동 내역 카드 ── */
.wcc-activity-list {
    gap: 0 !important;
}

.wcc-activity-item {
    padding: 16px 0 !important;
    border-top: 1px solid #f1f5fb;
}

.wcc-activity-item:first-child {
    border-top: 0;
    padding-top: 4px;
}

/* ── 포스트 작성 카드 ── */
.wcc-nav-card {
    padding: 18px 16px !important;
}

/* ── 인기글 섹션 헤딩 아래 여백 ── */
.wcc-hot-ranking .wcc-section-heading {
    margin-bottom: 8px !important;
}

/* ── 선택된 게시판 표시 강조 ── */
.wcc-nav-group a.is-active {
    font-weight: 700 !important;
}

/* ── 게시물 행 본문 글 간격 ── */
.wcc-post-row__body {
    gap: 6px;
    display: flex;
    flex-direction: column;
}

/* ── 우측바 섹션 간격 ── */
.wcc-layout__aside > * + * {
    margin-top: 14px;
}

/* ── 내 작성 및 활동 섹션 헤딩 밑줄 ── */
.wcc-profile-activity__toolbar {
    gap: 14px;
    padding: 10px 0 14px;
    border-bottom: 1px solid #edf2f8;
    margin-bottom: 16px;
}

/* ── 필터바 패딩 및 간격 ── */
.wcc-filterbar {
    padding: 14px 0 10px !important;
    gap: 20px !important;
    align-items: center !important;
}

.wcc-filterbar__group {
    gap: 10px !important;
}

.wcc-filter-pill,
.wcc-chip {
    padding: 8px 14px !important;
    font-size: 13px !important;
    border-radius: 999px !important;
}

/* ── 검색창 — 테두리 · 포커스 아웃라인 제거 ── */
.wcc-filterbar__search input,
.wcc-topbar__search input {
    height: 46px !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    border: 1.5px solid #e4eaf4 !important;
    background: #f7f9fc !important;
    outline: none !important;
    box-shadow: none !important;
    padding-right: 110px !important;
    transition: border-color 0.18s !important;
}

.wcc-filterbar__search input:focus,
.wcc-topbar__search input:focus {
    border-color: #2f5bea !important;
    outline: none !important;
    box-shadow: none !important;
    background: #fff !important;
}

/* ── 검색 버튼 — 검은 테두리 · 아웃라인 완전 제거 ── */
.wcc-search-button,
.wcc-search-button--inline,
.wcc-filterbar__search .wcc-search-button,
.wcc-filterbar__search > .wcc-search-button,
.wcc-filterbar__search .wcc-search-button--inline,
.wcc-topbar__search .wcc-search-button--inline {
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    cursor: pointer !important;
}

.wcc-filterbar__search .wcc-search-button--inline,
.wcc-filterbar__search > .wcc-search-button,
.wcc-topbar__search .wcc-search-button--inline {
    min-width: 64px !important;
    height: 34px !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    background: #eef4ff !important;
    color: #2f5bea !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 34px !important;
    right: 7px !important;
    transform: translateY(-50%) !important;
}

.wcc-filterbar__search .wcc-search-button--inline:hover,
.wcc-filterbar__search > .wcc-search-button:hover,
.wcc-topbar__search .wcc-search-button--inline:hover {
    background: #dce9ff !important;
}

.wcc-filterbar__search .wcc-search-button--inline:focus,
.wcc-filterbar__search .wcc-search-button--inline:focus-visible,
.wcc-filterbar__search > .wcc-search-button:focus,
.wcc-filterbar__search > .wcc-search-button:focus-visible,
.wcc-topbar__search .wcc-search-button--inline:focus,
.wcc-topbar__search .wcc-search-button--inline:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: 0 !important;
}



/* ════════════════════════════════════════════════
   ✦ 강사 히어로 섹션
════════════════════════════════════════════════ */
.wcc-instructor-hero {
    padding: 36px 36px 0 !important;
    overflow: hidden;
}

.wcc-instructor-hero__body {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.wcc-instructor-hero__left {
    flex: 1;
    min-width: 0;
    padding-bottom: 32px;
}

.wcc-instructor-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    background: #eff4ff;
    border: 1px solid #c7d7fd;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #3451b2;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

.wcc-instructor-hero__name {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: -0.04em !important;
    line-height: 1.2 !important;
    margin: 0 0 8px !important;
}

.wcc-instructor-hero__title {
    font-size: 15px;
    font-weight: 600;
    color: #475569;
    letter-spacing: -0.02em;
    margin: 0 0 18px;
}

.wcc-instructor-hero__intro {
    font-size: 13px;
    line-height: 1.75;
    color: #64748b;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    max-width: 480px;
}

.wcc-instructor-hero__intro p { margin: 0 0 8px; font-size: 13px; }

.wcc-instructor-hero__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.wcc-instructor-hero__btn--primary {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none !important;
    letter-spacing: -0.01em;
    box-shadow: 0 2px 8px rgba(59,130,246,.35);
    transition: opacity .15s;
}

.wcc-instructor-hero__btn--primary:hover { opacity: .88; }

/* 프로필 사진 */
.wcc-instructor-hero__photo {
    flex-shrink: 0;
    width: 240px;
}

.wcc-instructor-hero__photo img {
    width: 240px;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    display: block;
}

/* 스탯 바 */
.wcc-instructor-hero__stats {
    display: flex;
    border-top: 1px solid #f1f5f9;
    margin: 0 -36px;
    padding: 0 36px;
}

.wcc-instructor-hero__stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    border-right: 1px solid #f1f5f9;
    gap: 4px;
}

.wcc-instructor-hero__stat:last-child { border-right: none; }

.wcc-instructor-hero__stat > strong {
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.wcc-instructor-hero__stat > span {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* 별점 */
.wcc-instructor-hero__rating-val {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 14px !important;
    font-weight: 400 !important;
}

.wcc-istar { font-size: 18px; line-height: 1; }
.wcc-istar--full  { color: #f59e0b; }
.wcc-istar--half  { color: #f59e0b; opacity: .5; }
.wcc-istar--empty { color: #e2e8f0; }

.wcc-instructor-hero__rating-val em {
    font-style: normal;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin-left: 4px;
}

@media (max-width: 640px) {
    .wcc-instructor-hero { padding: 24px 20px 0 !important; }
    .wcc-instructor-hero__body { flex-direction: column-reverse; gap: 20px; }
    .wcc-instructor-hero__photo { width: 100%; }
    .wcc-instructor-hero__photo img { width: 100%; height: 220px; }
    .wcc-instructor-hero__name { font-size: 22px !important; }
    .wcc-instructor-hero__stats { margin: 0 -20px; padding: 0 20px; }
}

/* ════════════════════════════════════════════════
   ✦ 수강생 프로필 히어로 카드
════════════════════════════════════════════════ */
.wcc-student-hero { padding: 24px 28px !important; }

.wcc-student-hero__card {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wcc-student-hero__avatar { flex-shrink: 0; }
.wcc-student-hero__avatar img,
.wcc-student-hero__avatar .wcc-avatar-circle {
    width: 64px !important;
    height: 64px !important;
    border-radius: 50% !important;
}

.wcc-student-hero__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wcc-student-hero__top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.wcc-student-hero__name {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: -0.03em !important;
    margin: 0 !important;
    line-height: 1.25 !important;
}

.wcc-student-hero__badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.wcc-student-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.wcc-student-badge--level {
    background: #eff4ff;
    border: 1px solid #c7d7fd;
    color: #3451b2;
}

.wcc-student-badge--points {
    background: #fefce8;
    border: 1px solid #fde68a;
    color: #854d0e;
}

.wcc-student-badge--follow {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.wcc-student-hero__bio {
    font-size: 13px !important;
    color: #475569 !important;
    line-height: 1.65 !important;
    letter-spacing: -0.02em !important;
    margin: 0 !important;
    max-width: 520px;
}

.wcc-student-hero__bio--empty {
    color: #94a3b8 !important;
    font-style: italic;
}

.wcc-student-hero__action { flex-shrink: 0; }

.wcc-student-hero__edit-btn {
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    color: #1d4ed8;
    background: #eff6ff;
    border: 1.5px solid #bfdbfe;
    border-radius: 8px;
    cursor: pointer;
    letter-spacing: -0.01em;
    transition: all .15s;
    white-space: nowrap;
}

.wcc-student-hero__edit-btn:hover {
    background: #dbeafe;
    border-color: #93c5fd;
}

@media (max-width: 600px) {
    .wcc-student-hero__card { flex-wrap: wrap; }
    .wcc-student-hero__action { width: 100%; }
    .wcc-student-hero__edit-btn { width: 100%; text-align: center; }
}

/* ── 강사 프로필: 세미나/클래스 섹션 ── */
.wcc-instructor-section { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--wcc-line); }
.wcc-instructor-section:first-child { margin-top: 8px; border-top: 0; padding-top: 0; }
.wcc-instructor-section__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 12px; }
.wcc-instructor-section__header h3 { font-size: 16px; font-weight: 700; color: var(--wcc-ink); margin: 0; }

.wcc-seminar-status-tabs { display: flex; gap: 8px; }
.wcc-seminar-tab { padding: 5px 14px; border: 1.5px solid var(--wcc-line); border-radius: 20px; font-size: 13px; font-weight: 600; color: var(--wcc-muted); text-decoration: none; transition: all .15s; background: #fff; }
.wcc-seminar-tab.is-active { border-color: var(--wcc-primary); color: var(--wcc-primary); background: #eff4ff; }

.wcc-seminar-list { display: flex; flex-direction: column; gap: 14px; }
.wcc-seminar-card { display: grid; grid-template-columns: 220px 1fr; gap: 20px; border: 1px solid var(--wcc-line); border-radius: 12px; overflow: hidden; background: #fff; }
.wcc-seminar-card.is-ended { opacity: .85; }
.wcc-seminar-card__thumb { position: relative; aspect-ratio: 16/9; background: #e2e8f0; overflow: hidden; }
.wcc-seminar-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wcc-seminar-card__placeholder { width: 100%; height: 100%; background: #dde3f0; }
.wcc-seminar-badge { position: absolute; top: 8px; left: 8px; padding: 3px 9px; border-radius: 6px; font-size: 11px; font-weight: 700; }
.wcc-seminar-badge--ended { background: rgba(0,0,0,.55); color: #fff; }
.wcc-seminar-badge--scheduled { background: var(--wcc-primary); color: #fff; }
.wcc-seminar-card__body { padding: 18px 20px 18px 0; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; }
.wcc-seminar-card__body h4 { font-size: 15px; font-weight: 700; margin: 0; line-height: 1.45; }
.wcc-seminar-card__body h4 a { color: var(--wcc-ink); }
.wcc-seminar-card__body p { font-size: 13px; color: var(--wcc-muted); line-height: 1.6; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wcc-seminar-btn { display: inline-block; padding: 9px 20px; border-radius: 8px; font-size: 13px; font-weight: 700; text-align: center; cursor: pointer; border: none; text-decoration: none; }
.wcc-seminar-btn--ended { background: #e2e8f0; color: #94a3b8; cursor: not-allowed; }
.wcc-seminar-btn--register { background: var(--wcc-primary); color: #fff; }
.wcc-empty-seminars { padding: 24px; text-align: center; background: #f8fafc; border-radius: 10px; font-size: 13px; color: var(--wcc-muted); }

/* 카테고리 필터 바 */
.wcc-course-cat-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.wcc-course-cat-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 13px;
    border: 1.5px solid var(--wcc-line);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--wcc-muted);
    text-decoration: none;
    background: #fff;
    transition: all .15s;
    white-space: nowrap;
}
.wcc-course-cat-btn:hover { border-color: var(--wcc-primary); color: var(--wcc-primary); }
.wcc-course-cat-btn.is-active { border-color: var(--wcc-primary); color: var(--wcc-primary); background: #eff4ff; font-weight: 700; }
.wcc-cat-count { font-size: 11px; color: var(--wcc-muted); font-weight: 400; }
.wcc-course-cat-btn.is-active .wcc-cat-count { color: var(--wcc-primary); }

/* 코스 페이지네이션 */
.wcc-course-pagination {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.wcc-course-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.wcc-course-card { display: flex; flex-direction: column; border: 1px solid var(--wcc-line); border-radius: 12px; overflow: hidden; background: #fff; text-decoration: none; color: var(--wcc-ink); transition: box-shadow .15s, transform .15s; }
.wcc-course-card:hover { box-shadow: 0 6px 20px rgba(16,24,40,.1); transform: translateY(-2px); }
.wcc-course-card__thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #dde3f0; }
.wcc-course-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wcc-course-card__no-thumb { width: 100%; height: 100%; background: #dde3f0; }
.wcc-course-card__level-badge { position: absolute; top: 8px; left: 8px; background: rgba(0,0,0,.55); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 5px; }
.wcc-course-card__body { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.wcc-course-card__title { font-size: 14px; font-weight: 700; line-height: 1.45; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wcc-course-card__price { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; font-size: 13px; }
.wcc-course-card__discount { color: #ef4444; font-weight: 800; font-size: 13px; }
.wcc-course-card__amount { font-weight: 700; color: var(--wcc-ink); }
.wcc-course-card__duration { font-size: 11px; color: var(--wcc-muted); }
.wcc-course-card__rating { display: flex; align-items: center; gap: 4px; font-size: 12px; }
.wcc-course-card__stars { color: #f59e0b; font-weight: 700; }
.wcc-course-card__rating-count { color: var(--wcc-muted); }

.wcc-modal-divider { border: none; border-top: 1px solid var(--wcc-line); margin: 0; }
.wcc-intro-edit-body { padding-top: 20px; }
.wcc-intro-edit-title { font-size: 15px; font-weight: 700; margin: 0 0 12px; color: var(--wcc-ink); }
.wcc-intro-textarea { width: 100%; min-height: 130px; padding: 12px 14px; border: 1.5px solid var(--wcc-line); border-radius: 10px; font-size: 14px; font-family: inherit; line-height: 1.7; resize: vertical; outline: none; box-sizing: border-box; white-space: pre-wrap; transition: border-color .15s; }
.wcc-intro-textarea:focus { border-color: var(--wcc-primary); }
.wcc-intro-hint { font-size: 11px; color: var(--wcc-muted); margin: 6px 0 0; }

@media (max-width: 640px) {
    .wcc-course-grid { grid-template-columns: 1fr; }
    .wcc-seminar-card { grid-template-columns: 1fr; }
    .wcc-seminar-card__body { padding: 14px; }
}


/* ── 프로필 사진 모달 프리미엄 리디자인 ── */
[data-wcc-profile-photo-modal] .wcc-modal__dialog {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,.18);
}
[data-wcc-profile-photo-modal] .wcc-modal__header {
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
[data-wcc-profile-photo-modal] .wcc-modal__header h3 {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    letter-spacing: -.02em;
}
[data-wcc-profile-photo-modal] .wcc-modal__close {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    border: none !important;
    outline: none !important;
    color: #64748b !important;
    font-size: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: background .15s, color .15s !important;
    box-shadow: none !important;
    line-height: 1 !important;
}
[data-wcc-profile-photo-modal] .wcc-modal__close:hover {
    background: #e2e8f0 !important;
    color: #1e293b !important;
}
[data-wcc-profile-photo-modal] .wcc-modal__body {
    padding: 28px 24px 20px;
    background: #fff;
}
[data-wcc-profile-photo-modal] .wcc-modal__footer {
    padding: 16px 24px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    flex-wrap: wrap;
}
[data-wcc-profile-photo-modal] .wcc-button {
    height: 40px;
    padding: 0 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    border: none !important;
    outline: none !important;
    cursor: pointer;
    transition: opacity .15s, box-shadow .15s, background .15s;
}
[data-wcc-profile-photo-modal] .wcc-button--primary {
    background: linear-gradient(135deg, #1d4ed8, #3b82f6) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(29,78,216,.25) !important;
}
[data-wcc-profile-photo-modal] .wcc-button--primary:hover:not(:disabled) {
    opacity: .9;
    box-shadow: 0 4px 16px rgba(29,78,216,.35) !important;
}
[data-wcc-profile-photo-modal] .wcc-button--primary:disabled {
    background: #93c5fd !important;
    box-shadow: none !important;
    cursor: not-allowed;
    opacity: 1 !important;
}
[data-wcc-profile-photo-modal] .wcc-button.is-danger {
    background: #fff5f5 !important;
    color: #dc2626 !important;
    border: 1.5px solid #fca5a5 !important;
    box-shadow: none !important;
}
[data-wcc-profile-photo-modal] .wcc-button.is-danger:hover {
    background: #fee2e2 !important;
    border-color: #ef4444 !important;
}
[data-wcc-profile-photo-modal] .wcc-modal-divider { background: #f1f5f9; height: 1px; border: none; margin: 0; }
[data-wcc-profile-photo-modal] .wcc-intro-edit-body { padding: 24px 24px 0; background: #fff; }
[data-wcc-profile-photo-modal] .wcc-intro-edit-title {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px;
    letter-spacing: -.01em;
}
[data-wcc-profile-photo-modal] .wcc-intro-textarea {
    border-color: #e2e8f0 !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    font-size: 14px !important;
    padding: 14px 16px !important;
}
[data-wcc-profile-photo-modal] .wcc-intro-textarea:focus { border-color: #3b82f6 !important; background: #fff !important; }

/* ── 강좌 카테고리 필터 버튼 (예정/종료 스타일과 동일) ── */
.wcc-course-cat-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.wcc-course-cat-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 16px;
    border-radius: 999px;
    border: 1.5px solid #d1d9e6;
    background: #fff;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all .15s;
    white-space: nowrap;
}
.wcc-course-cat-btn:hover { border-color: #93c5fd; color: #1d4ed8; background: #eff6ff; }
.wcc-course-cat-btn.is-active {
    border-color: #1d4ed8;
    background: #1d4ed8;
    color: #fff;
}
.wcc-course-cat-btn .wcc-cat-count {
    background: rgba(255,255,255,.25);
    border-radius: 999px;
    font-size: 11px;
    padding: 1px 6px;
    font-weight: 700;
}
.wcc-course-cat-btn:not(.is-active) .wcc-cat-count {
    background: #f1f5f9;
    color: #94a3b8;
}

/* ── 강좌 페이지네이션 ── */
.wcc-course-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 24px;
}
.wcc-course-pagination a,
.wcc-course-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    border: 1.5px solid #e2e8f0;
    text-decoration: none;
    color: #475569;
    background: #fff;
    transition: all .15s;
}
.wcc-course-pagination a:hover { border-color: #93c5fd; color: #1d4ed8; background: #eff6ff; }
.wcc-course-pagination span.is-current {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
    cursor: default;
}
.wcc-course-pagination span.is-dots { border-color: transparent; background: transparent; color: #94a3b8; cursor: default; }

/* ════════════════════════════════════════════════
   프로필 페이지 모바일 반응형
════════════════════════════════════════════════ */

/* ── 태블릿 (1180px 이하): 사이드바가 상단으로 올라올 때 ── */
@media (max-width: 1180px) {
    .wcc-profile-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .wcc-profile-layout__sidebar {
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }
    .wcc-profile-card {
        text-align: center;
    }
    .wcc-profile-card__stats {
        justify-content: center;
    }
    .wcc-profile-card__actions {
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ── 모바일 (768px 이하) ── */
@media (max-width: 768px) {
    /* 강사/관리자 히어로 섹션: 모바일에서 숨김 */
    .wcc-instructor-hero {
        display: none !important;
    }

    /* 프로필 탭: 버튼형 + 가로 스크롤 */
    .wcc-page--profile .wcc-profile-tabs {
        display: flex;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .wcc-page--profile .wcc-profile-tabs::-webkit-scrollbar {
        display: none;
    }
    .wcc-page--profile .wcc-profile-tabs a {
        flex: 1;
        min-width: 64px;
        font-size: 12px;
        padding: 7px 12px !important;
        flex-shrink: 0;
        border-radius: 7px;
    }

    /* 카테고리 필터 바: 가로 스크롤 */
    .wcc-course-cat-bar {
        overflow-x: auto;
        flex-wrap: nowrap !important;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 4px;
        margin-right: -4px;
    }
    .wcc-course-cat-bar::-webkit-scrollbar { display: none; }
    .wcc-course-cat-btn {
        flex-shrink: 0;
        white-space: nowrap;
    }

    /* 코스 페이지네이션: 중앙 정렬 */
    .wcc-course-pagination {
        justify-content: center;
        flex-wrap: wrap;
        gap: 4px;
    }

    /* 수강생 히어로 */
    .wcc-student-hero {
        padding: 20px 18px !important;
    }
    .wcc-student-hero__card {
        flex-wrap: wrap;
        gap: 12px;
    }
    .wcc-student-hero__action {
        width: 100%;
    }
    .wcc-student-hero__edit-btn {
        width: 100%;
        text-align: center;
    }

    /* 강사 히어로 통계 바 */
    .wcc-instructor-hero__stats {
        gap: 12px;
        justify-content: space-around;
    }

    /* 팔로우 패널 */
    .wcc-profile-follow-switch {
        flex-wrap: wrap;
        gap: 6px;
    }
    .wcc-profile-follow-pill {
        flex: 1;
        min-width: 100px;
        text-align: center;
        justify-content: center;
    }

    /* 활동 리스트 */
    .wcc-activity-item {
        flex-wrap: wrap;
        gap: 8px;
    }

    /* 세미나 섹션 헤더 */
    .wcc-instructor-section__header {
        flex-wrap: wrap;
        gap: 8px;
    }
    .wcc-seminar-status-tabs {
        width: 100%;
    }
    .wcc-seminar-tab {
        flex: 1;
        text-align: center;
    }
}

/* ── 소형 모바일 (480px 이하) ── */
@media (max-width: 480px) {
    .wcc-profile-layout {
        width: calc(100% - 20px);
        margin-top: 10px;
        gap: 12px;
    }
    .wcc-profile-layout__sidebar {
        max-width: 100%;
    }

    /* 프로필 카드 */
    .wcc-profile-card {
        padding: 18px 14px !important;
    }
    .wcc-profile-card__actions {
        max-width: 100%;
    }
    .wcc-profile-card__actions .wcc-follow-button {
        font-size: 13px;
        min-height: 42px;
    }
    .wcc-profile-share {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
    }

    /* 프로필 탭 */
    .wcc-page--profile .wcc-profile-tabs a {
        min-width: 64px;
        font-size: 12px;
        padding: 0 8px 10px;
    }

    /* 강사 히어로 조정 */
    .wcc-instructor-hero__stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 14px 20px;
    }
    .wcc-instructor-hero__stats-sep {
        display: none;
    }
    .wcc-instructor-hero__stat {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .wcc-instructor-hero__stat-val {
        font-size: 16px !important;
    }
    .wcc-instructor-hero__stat-label {
        font-size: 12px !important;
    }

    /* 수강생 뱃지 */
    .wcc-student-hero__badges {
        flex-wrap: wrap;
        gap: 4px;
    }

    /* 강사 섹션 */
    .wcc-instructor-section {
        margin-top: 20px;
        padding-top: 18px;
    }

    /* 코스 페이지네이션 */
    .wcc-course-pagination a,
    .wcc-course-pagination span {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
    }
}
