/* =========================================
   Base Styles with Roboto Font
========================================= */
:root {
    --ck-orange: #ff6c00;
    --ck-orange-deep: #e55a00;
    --ck-dark: #111;
    --ck-gray: #6b7280;
    --ck-light: #f6f7f9;
    --container: 1160px;
    --radius: 12px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.top_box {
    background-image: url(/wp-content/themes/ck/images/language/admission_topbg.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 1920px 450px;
    background-attachment: fixed;
    max-height: 360px
}

/* =========================================
   Common Styles
========================================= */
.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: left;
    margin-bottom: 30px;
    color: #222;
}

.highlight {
    color: var(--ck-orange);
    font-weight: 500;
}

#menu-performance a .ko {
    display: block;
    font-size: 13px;
    font-weight: 400;
    margin-top: 2px;
}

/* =========================================
   How to Apply Section
========================================= */
.how-to-apply-section {
    background: #fff;
    padding: 70px 0;
}

.applicant-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 0;
    border-bottom: 1px solid #e0e0e0;
}

.applicant-tabs button {
    appearance: none;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: #666;
    cursor: pointer;
    font-family: inherit;
    font-size: 18px;
    font-weight: 500;
    padding: 16px 30px 18px;
    position: relative;
    top: 1px;
    transition: color 0.3s ease, border-color 0.3s ease;
    white-space: nowrap;
}

.applicant-tabs button .ko {
    color: #999;
    display: block;
    font-size: 14px;
    font-weight: 400;
    margin-top: 2px;
}

.applicant-tabs button:hover,
.applicant-tabs button.active {
    color: var(--ck-orange);
}

.applicant-tabs button.active {
    border-bottom-color: var(--ck-orange);
    font-weight: 700;
}

.apply-panel {
    display: none;
    padding-top: 38px;
}

.apply-panel.active {
    display: block;
}

.apply-block {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 36px;
    padding: 34px 0;
}

.apply-block + .apply-block {
    border-top: 1px solid #e6e8eb;
}

.apply-block-label .num {
    color: var(--ck-orange);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.apply-block-label h3 {
    color: #222;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.35;
    margin: 6px 0 0;
}

.apply-block-label .ko,
.apply-list .ko,
.apply-table .ko,
.apply-note .ko {
    color: #999;
    font-size: 16px;
    font-weight: 400;
}

.apply-block-label .ko {
    margin-top: 4px;
}

.apply-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.apply-list li {
    border-bottom: 1px solid #f0f0f0;
    color: #444;
    font-size: 18px;
    line-height: 1.6;
    padding: 10px 0 10px 20px;
    position: relative;
}

.apply-list li:last-child {
    border-bottom: none;
}

.apply-list li::before {
    background: var(--ck-orange);
    border-radius: 50%;
    content: "";
    height: 6px;
    left: 0;
    position: absolute;
    top: 21px;
    width: 6px;
}

.apply-note {
    background: #f8f9fa;
    border-left: 4px solid var(--ck-orange);
    border-radius: 4px;
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-top: 24px;
    padding: 20px;
}

.apply-table {
    border-collapse: collapse;
    font-size: 18px;
    width: 100%;
}

.apply-table th,
.apply-table td {
    border-bottom: 1px solid #e6e8eb;
    padding: 14px 16px;
    text-align: left;
    vertical-align: middle;
}

.apply-table thead th {
    background: #fafbfc;
    color: #666;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.apply-table td {
    color: #444;
}

.apply-table .stage,
.apply-table .doc {
    color: #222;
    font-weight: 600;
}

.apply-table .no {
    text-align: center;
    width: 56px;
}

.apply-table .kdoc {
    color: #777;
    width: 36%;
}

/* =========================================
   Process Section
========================================= */
.process-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 75px;
    right: -15px;
    width: 0;
    height: 0;
    border-left: 8px solid #333;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.process-step:nth-child(4n)::after {
    display: none;
}

.process-step:nth-child(4)::after {
    display: block;
}

.process-icon {
    width: 150px;
    height: 150px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.process-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.process-text h4 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4px;
    color: #222;
}

.process-text p {
    font-size: 18px;
    color: #666;
    margin: 0;
}

.process-arrow {
    font-size: 20px;
    color: var(--ck-orange);
    font-weight: bold;
}

/* =========================================
   Guideline Section
========================================= */
.guideline-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.guideline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 300px));
    gap: 40px;
    width: 100%;
    margin: 0 auto;
    justify-content: center;
}

.guideline-panel {
    display: none;
}

.guideline-panel.active {
    display: block;
}

.guideline-item {
    text-align: center;
}

.guideline-thumbnail {
    position: relative;
    margin-bottom: 20px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    aspect-ratio: 3/4;
}

.guideline-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.language-flag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--ck-orange);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
}

.guideline-button {
    background: var(--ck-orange);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    transition: all 0.3s ease;
}

.guideline-button span {
    display: block;
    font-size: 13px;
    font-weight: 400;
    margin-top: 4px;
}

.guideline-button:hover {
    background: var(--ck-orange-deep);
    transform: translateY(-2px);
}

/* =========================================
   Contact Section
========================================= */
.contact-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.contact-info {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    margin: 0 auto;
    text-align: left;
}

.contact-info p {
    font-size: 18px;
    line-height: 1.6;
    font-weight: 500;
    text-align: left;
    display: flex;
    gap: 10px;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info strong {
    color: var(--ck-orange);
    font-weight: 700;
    font-size: 18px;
    display: block;
}

.contact-info .highlight {
    color: #333;
    font-weight: 600;
    display: block;
}

/* =========================================
   FAQ Section
========================================= */
.faq-section {
    background: #fff;
    padding: 80px 0;
}

.faq-list {
    width: 100%;
    margin: 0 auto;
}

.faq-set {
    display: none;
}

.faq-set.active {
    display: block;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
}

.faq-question {
    display: flex;
    align-items: flex-start;
    padding: 20px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--ck-orange);
}

.faq-q {
    background: var(--ck-orange);
    color: #fff;
    letter-spacing: -0.01em;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    margin-right: 16px;
    flex-shrink: 0;
}

.faq-text {
    flex: 1;
    font-size: 20px;
    font-weight: 500;
    display: flex;
    flex-direction: column;
}

.faq-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.faq-arrow svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 0 20px 40px;
    font-size: 18px;
    line-height: 1.6;
    color: #666;
}

.faq-english {
    font-weight: 600;
    color: #333;
}

.faq-korean {
    font-weight: 600;
    color: #666;
    display: block;
    margin-top: 8px;
    font-size: 16px;
}

/* =========================================
   Apply Button
========================================= */
.apply-button-container {
    padding: 80px 0;
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.apply-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--ck-orange);
    color: #fff;
    border: none;
    width: min(100%, 560px);
    min-height: 110px;
    padding: 24px 40px;
    border-radius: 0;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    text-align: center;
    line-height: 1.4;
}

.apply-button span {
    display: block;
    font-size: 18px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    margin-top: 6px;
    color: #fff;
}

.apply-button small {
    display: block;
    font-size: 14px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    margin-top: 2px;
    color: #fff;
}

.apply-button:hover {
    background: var(--ck-orange-deep);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(231, 116, 0, 0.3);
}

/* =========================================
   Responsive Design
========================================= */

/* Tablet (768px ~ 1024px) */
@media (max-width: 1024px) {
    
    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
        gap: 20px;
    }
    
    .process-step::after {
        content: '';
        position: absolute;
        top: 40px;
        right: 0;
        width: 0;
        height: 0;
        border-left: 8px solid #333;
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
    }
    
    
    .process-step:nth-child(8)::after {
        display: none;
    }
    
    .process-icon {
        width: 70px;
        height: 70px;
    }
    
    .process-icon img {
        width: 40px;
        height: 40px;
    }
    
    .guideline-grid {
        gap: 30px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    
    .how-to-apply-section,
    .process-section,
    .guideline-section,
    .contact-section,
    .faq-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .applicant-tabs {
        overflow-x: auto;
        padding-bottom: 1px;
        justify-content: flex-start;
    }

    .applicant-tabs button {
        font-size: 16px;
        padding: 14px 22px 16px;
    }

    .apply-block {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 28px 0;
    }

    .apply-block-label h3 {
        font-size: 22px;
    }

    .apply-list li {
        font-size: 16px;
    }

    .apply-note {
        font-size: 15px;
        padding: 16px;
    }

    .apply-table {
        display: block;
        font-size: 16px;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
        gap: 20px;
    }
    
    .process-step::after {
        content: '';
        position: absolute;
        top: 50px;
        right: 0;
        width: 0;
        height: 0;
        border-left: 8px solid #333;
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
    }
    
    
    .process-step:nth-child(8)::after {
        display: none;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
        position: relative;
    }
    
    .process-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 12px;
        margin-right: 0;
    }
    
    .process-icon img {
        width: 60px;
        height: 60px;
    }
    
    .guideline-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-info p {
        font-size: 18px;
        margin-bottom: 0;
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info strong {
        font-size: 18px;
        margin-bottom: 0;
        text-align: center;
    }
    
    .faq-question {
        padding: 20px 0;
    }
    
    .faq-text {
        font-size: 20px;
    }
    
    .apply-button-container {
        padding: 60px 20px;
    }
    
    .apply-button {
        padding: 20px 30px;
        font-size: 20px;
        min-height: 104px;
    }
    
    .apply-button span {
        font-size: 16px;
        color: #fff;
    }

    .apply-button small {
        font-size: 13px;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    
    .how-to-apply-section,
    .process-section,
    .guideline-section,
    .contact-section,
    .faq-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .applicant-tabs button {
        font-size: 15px;
        padding: 12px 18px 14px;
    }

    .applicant-tabs button .ko {
        font-size: 12px;
    }

    .apply-panel {
        padding-top: 24px;
    }

    .apply-block {
        padding: 24px 0;
    }

    .apply-block-label h3 {
        font-size: 20px;
    }

    .apply-list li {
        font-size: 16px;
        padding: 8px 0 8px 18px;
    }

    .apply-list li::before {
        top: 18px;
    }

    .apply-note {
        font-size: 14px;
        margin-top: 18px;
        padding: 14px;
    }
    
    
    .guideline-thumbnail {
        aspect-ratio: 2/3;
    }
    
    .guideline-button {
        padding: 10px 20px;
        font-size: 18px;
    }
    
    .contact-info {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 30px;
    }
    
    .contact-info p {
        font-size: 16px;
        margin-bottom: 0;
    }
    
    .contact-info strong {
        font-size: 16px;
    }
    
    .faq-question {
        padding: 12px 0;
    }
    
    .faq-q {
        font-size: 17px;
        width: 32px;
        height: 32px;
        margin-right: 12px;
    }
    
    .faq-text {
        font-size: 20px;
    }
    
    .faq-answer p {
        padding: 0 0 16px 32px;
        font-size: 20px;
    }
    
    .apply-button-container {
        padding: 40px 16px;
    }
    
    .apply-button {
        padding: 18px 24px;
        font-size: 18px;
        min-height: 96px;
    }
    
    .apply-button span {
        font-size: 15px;
        color: #fff;
    }

    .apply-button small {
        font-size: 12px;
    }
}
