/* Application form page */

.apply-section {
    padding-top: 3.5rem;
    padding-bottom: 4rem;
}

.apply-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
    gap: 2.5rem;
    align-items: start;
    max-width: 1120px;
    margin: 0 auto;
}

.apply-form .entry-content > p:first-child {
    margin-top: 0;
}

.apply-form .contact-form-wrap {
    max-width: none;
    margin: 1.5rem 0 0;
}

.apply-form .contact-form p {
    margin-bottom: 1.25rem;
}

.apply-form .contact-form label {
    display: block;
    font-weight: 600;
    color: var(--text-color);
}

.apply-form .contact-form input[type="text"],
.apply-form .contact-form input[type="email"],
.apply-form .contact-form input[type="tel"],
.apply-form .contact-form input[type="date"],
.apply-form .contact-form select,
.apply-form .contact-form textarea {
    width: 100%;
    margin-top: 0.4rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid #d8d2dd;
    border-radius: 8px;
    background-color: #fff;
    font-size: 1rem;
    font-family: inherit;
}

.apply-form .contact-form input:focus,
.apply-form .contact-form select:focus,
.apply-form .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(110, 43, 126, 0.15);
}

.apply-form .contact-form input[type="submit"] {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.85rem 2.25rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.apply-form .contact-form input[type="submit"]:hover {
    background-color: #571f63;
}

.apply-aside .apply-card {
    background-color: #fff;
    border: 1px solid #ece6ef;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(43, 32, 51, 0.06));
}

.apply-aside .apply-card h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.apply-aside .apply-card ul,
.apply-aside .apply-card ol {
    margin: 0 0 0.75rem 1.1rem;
    padding: 0;
}

.apply-aside .apply-card li {
    margin-bottom: 0.5rem;
    line-height: 1.55;
}

.apply-aside .apply-card p {
    margin-bottom: 0.75rem;
}

.apply-aside .apply-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.apply-card-contact .btn {
    margin-top: 0.25rem;
}

@media (max-width: 960px) {
    .apply-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .apply-section {
        padding-top: 2.5rem;
    }
}
