/* Consultation inquiry — page-only styles (fonts/header/footer from main_2.css) */

.pk-qna-page {
    color: #1a1a1a;
    font-size: 16px;
    line-height: 1.6;
    background: #fff;
}

.pk-qna-success {
    box-sizing: border-box;
    width: calc(100% - 40px);
    max-width: 800px;
    margin: 16px auto 8px;
    padding: 14px 18px;
    background: #e8f4ea;
    border: 1px solid #b8d9be;
    border-radius: 4px;
    color: #1e4620;
    font-size: 15px;
    text-align: center;
}

.pk-qna-hero {
    background: #fff;
    padding: 56px 20px 48px;
    text-align: center;
}

.pk-qna-hero-inner {
    max-width: 720px;
    margin: 0 auto;
}

.pk-qna-kicker {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #9a9a9a;
    font-weight: 500;
    margin-bottom: 16px;
}

.pk-qna-title-main {
    font-size: clamp(32px, 5vw, 44px);
    font-weight: 700;
    color: #000;
    margin: 0 0 10px;
    line-height: 1.2;
}

.pk-qna-title-en {
    font-size: 17px;
    color: #888;
    font-weight: 400;
    margin: 0 0 20px;
}

.pk-qna-divider {
    width: 40px;
    height: 1px;
    background: #c8c8c8;
    margin: 0 auto 22px;
}

.pk-qna-lead {
    font-size: 15px;
    color: #555;
    margin: 0;
    line-height: 1.75;
}

.pk-qna-lead + .pk-qna-lead {
    margin-top: 6px;
}

/* Notice */
.pk-qna-notice {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 40px;
    background: #fff;
}

.pk-qna-notice-box {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 20px 22px 22px;
    text-align: left;
}

.pk-qna-notice-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 12px;
    display: block;
}

.pk-qna-notice-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pk-qna-notice-list li {
    font-size: 14px;
    color: #4a4a4a;
    line-height: 1.65;
    padding-left: 12px;
    position: relative;
    margin-bottom: 8px;
}

.pk-qna-notice-list li:last-child {
    margin-bottom: 0;
}

.pk-qna-notice-list li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: #888;
}

/* Inquiry type */
.pk-qna-types {
    background: #fff;
    padding: 0 20px 56px;
}

.pk-qna-types-inner {
    max-width: 900px;
    margin: 0 auto;
}

.pk-qna-types-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 12px;
    display: block;
    text-align: left;
}

.pk-qna-type-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.pk-qna-type-btn {
    flex: 1 1 calc(20% - 10px);
    min-width: 140px;
    padding: 14px 12px;
    font-size: 14px;
    color: #333;
    background: #fff;
    border: 2px solid #d8d8d8;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
    text-align: center;
    font-family: inherit;
}

.pk-qna-type-btn:hover {
    border-color: #888;
    background: #f7f7f7;
}

.pk-qna-type-btn:focus {
    outline: none;
}

.pk-qna-type-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.25);
}

.pk-qna-type-btn.is-active {
    border-color: #1a1a1a;
    background: #1a1a1a;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(26, 26, 26, 0.22);
}

.pk-qna-type-btn.is-active:hover {
    border-color: #333;
    background: #333;
    color: #fff;
}

@media (max-width: 768px) {
    .pk-qna-type-btn {
        flex: 1 1 calc(50% - 6px);
        min-width: 0;
    }
}

@media (max-width: 400px) {
    .pk-qna-type-btn {
        flex: 1 1 100%;
    }
}

/* 폼 영역 */
.pk-qna-form-wrap {
    background: #fff;
    padding: 48px 20px 80px;
}

.pk-qna-form-inner {
    max-width: 800px;
    margin: 0 auto;
}

.pk-qna-form-heading {
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #888;
    font-weight: 500;
    margin: 0 0 14px;
}

.pk-qna-form-rule {
    height: 1px;
    background: #e5e5e5;
    border: 0;
    margin: 0 0 36px;
}

.pk-qna-field {
    margin-bottom: 28px;
}

.pk-qna-label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.pk-qna-label .req {
    color: #888;
    font-weight: 400;
    margin-left: 2px;
}

/* Reply method — same look as inquiry type buttons */
.pk-qna-field-reply-method {
    margin-bottom: 20px;
}

.pk-qna-field-reply-method .pk-qna-types-label {
    margin-bottom: 12px;
}

.pk-qna-reply-type-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.pk-qna-reply-type-btn {
    flex: 1 1 calc(50% - 5px);
    min-width: 160px;
    position: relative;
    display: block;
    margin: 0;
    padding: 14px 12px;
    font-size: 14px;
    color: #333;
    background: #fff;
    border: 2px solid #d8d8d8;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    font-family: inherit;
    font-weight: 400;
    transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
}

.pk-qna-reply-type-btn:hover {
    border-color: #888;
    background: #f7f7f7;
}

.pk-qna-reply-type-btn:focus-within {
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.25);
    outline: none;
}

.pk-qna-reply-type-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.pk-qna-reply-type-text {
    display: block;
    pointer-events: none;
    line-height: 1.35;
}

.pk-qna-reply-type-btn:has(.pk-qna-reply-type-input:checked),
.pk-qna-reply-type-btn.is-active {
    border-color: #1a1a1a;
    background: #1a1a1a;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(26, 26, 26, 0.22);
}

.pk-qna-reply-type-btn.is-active:hover {
    border-color: #333;
    background: #333;
    color: #fff;
}

@media (max-width: 520px) {
    .pk-qna-reply-type-btn {
        flex: 1 1 100%;
        min-width: 0;
    }
}

.pk-qna-reply-field-wrap {
    margin-bottom: 8px;
}

.pk-qna-reply-input-panel {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 16px 14px 6px;
    margin-top: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.pk-qna-reply-input-panel .pk-qna-field {
    margin-bottom: 12px;
}

.pk-qna-reply-input-panel .pk-qna-label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.pk-qna-reply-input-panel .pk-qna-input {
    font-size: 15px;
    background: #f9f9f7;
    border: 1px solid #ddd;
    border-radius: 2px;
    padding: 12px 14px;
}

.pk-qna-reply-input-panel .pk-qna-input:focus {
    outline: none;
    border-color: #999;
}

.pk-qna-reply-field-wrap:not([hidden]) .pk-qna-reply-input-panel {
    animation: pk-qna-reply-in 0.22s ease;
}

@keyframes pk-qna-reply-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pk-qna-input,
.pk-qna-textarea {
    width: 100%;
    font-size: 15px;
    font-family: inherit;
    color: #1a1a1a;
    background: #f9f9f7;
    border: 1px solid #ddd;
    border-radius: 2px;
    padding: 12px 14px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.pk-qna-input:focus,
.pk-qna-textarea:focus {
    outline: none;
    border-color: #999;
}

.pk-qna-textarea {
    min-height: 200px;
    resize: vertical;
}

.pk-qna-upload-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.pk-qna-upload-slot {
    flex: 1 1 calc(50% - 7px);
    min-height: 140px;
    border: 1px dashed #ccc;
    border-radius: 2px;
    background: #fafaf8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s, background 0.2s;
}

.pk-qna-upload-slot:hover {
    border-color: #aaa;
    background: #f5f5f3;
}

.pk-qna-upload-slot.has-file {
    border-style: solid;
    border-color: #ccc;
}

.pk-qna-upload-slot input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.pk-qna-upload-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 10px;
    color: #aaa;
}

.pk-qna-upload-title {
    font-size: 14px;
    color: #555;
}

.pk-qna-upload-hint {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.pk-qna-upload-meta {
    font-size: 12px;
    color: #999;
    margin-top: 10px;
}

.pk-qna-upload-slot--doc {
    border-color: #ccd5e0;
    background: #f7f9fc;
}

.pk-qna-upload-slot--doc:hover {
    border-color: #9db0c8;
    background: #f2f5fa;
}

.pk-qna-upload-icon--doc {
    color: #7a8aa3;
}

@media (max-width: 600px) {
    .pk-qna-upload-slot {
        flex: 1 1 100%;
    }
}

.pk-qna-agree {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 8px;
}

.pk-qna-agree input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}

.pk-qna-agree label {
    font-size: 14px;
    color: #444;
    line-height: 1.5;
    cursor: pointer;
}

.pk-qna-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.pk-qna-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    font-size: 14px;
    font-family: inherit;
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.pk-qna-btn-secondary {
    background: #fff;
    border-color: #d8d8d8;
    color: #666;
}

.pk-qna-btn-secondary:hover {
    background: #fafafa;
    border-color: #c0c0c0;
}

.pk-qna-btn-primary {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
    font-weight: 500;
}

.pk-qna-btn-primary:hover {
    background: #333;
    border-color: #333;
}

.pk-qna-form-rule--mid {
    margin: 32px 0 24px;
}

.pk-qna-form-rule--actions {
    margin: 28px 0 20px;
}

.pk-qna-hidden-type {
    display: none;
}

.pk-qna-error-msg {
    font-size: 13px;
    color: #c0392b;
    margin-top: 8px;
    display: none;
}

.pk-qna-error-msg.is-visible {
    display: block;
}

.pk-qna-type-error {
    margin-top: 8px;
}
