/* Recruitment Section Styles */

.recruitment-section {
    background-color: var(--color-primary-dark);
    padding: 8rem 0; /* 80px 0 */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.recruitment-container {
    width: 100%;
    max-width: 144rem; /* 1440px */
    padding: 0 3.6rem; /* 36px */
    display: flex;
    flex-direction: column;
    gap: 6rem; /* 60px */
}

.recruitment-header {
    display: flex;
    flex-direction: column;
    gap: 0.4rem; /* 4px */
    text-align: center;
    color: var(--color-white);
}

.recruitment-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 3.6rem; /* 36px */
    line-height: 1.3;
    letter-spacing: -0.072rem; /* -0.72px */
    margin: 0;
}

.recruitment-subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1.8rem; /* 18px */
    line-height: 1.5;
    margin: 0;
}

.recruitment-content {
    display: flex;
    flex-direction: column;
    gap: 2.4rem; /* 24px */
}

.recruitment-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 2.4rem; /* 24px */
}

.recruitment-card-wrapper.show-small__1 {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap:2rem;
}


.recruitment-card-wrapper.show-small__ {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}




.recruitment-select {
    width: 100%;
}

.city-select {
    width: 100%;
    height: 4rem; /* 40px */
    padding: 0 1.2rem; /* 12px */
    background-color: var(--color-white);
    border: 0.1rem solid var(--color-border-light); /* 1px */
    border-radius: 0.4rem; /* 4px */
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1.4rem; /* 14px */
    line-height: 1.5;
    color: var(--color-text);
    appearance: none;
    background-image: url('../../images/arrow_down.svg');
    background-repeat: no-repeat;
    background-position: right 1.2rem center; /* 12px */
    background-size: 2rem; /* 20px */
    cursor: pointer;
}

.recruitment-card {
    background-color: var(--color-white);
    border-radius: 1.2rem; /* 12px */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Fade-in animation for city card switching */
.recruitment-card.card-fade-in {
    animation: fadeInCard 0.4s ease;
}

@keyframes fadeInCard {
    from {
        opacity: 0;
        transform: translateY(1rem); /* 10px */
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.recruitment-card-header {
    background-color: var(--color-background-card);
    padding: 3.6rem 10.1rem 2.4rem; /* 36px 101px 24px */
    display: flex;
    flex-direction: column;
    gap: 0.8rem; /* 8px */
    text-align: center;
}


.recruitment-card.show-small__1 .recruitment-card-header{
    padding: 1.6rem 5.1rem 1.4rem; /* 36px 101px 24px */
}

.recruitment-card-city {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 2.2rem; /* 22px */
    line-height: 1.3;
    letter-spacing: -0.033rem; /* -0.33px */
    color: var(--color-primary-dark);
    margin: 0;
}

.recruitment-card.show-small__1 .recruitment-card-city {
    font-size: 1.8rem; /* 22px */
}


.recruitment-card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 2.8rem; /* 28px */
    line-height: 1.3;
    letter-spacing: -0.042rem; /* -0.42px */
    color: var(--color-text);
    margin: 0;
}


.recruitment-card.show-small__1 .recruitment-card-title{
    font-size: 1.6rem;
}



.recruitment-card-details {
    padding: 3.6rem; /* 36px */
    display: flex;
    flex-direction: column;
    gap: 2.4rem; /* 24px */
}

.recruitment-card.show-small__1 .recruitment-card-details{
    padding:1.6rem;
}

.recruitment-description p{
    font-size:1.6rem;
}

.recruitment-card.show-small__1 .recruitment-description p{
    margin-bottom: 0;
}

.recruitment-detail {
    display: flex;
    align-items: center;
    gap: 1.2rem; /* 12px */
}

.recruitment-icon {
    width: 2.4rem; /* 24px */
    height: 2.4rem; /* 24px */
    flex-shrink: 0;
}

.recruitment-detail p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem; /* 16px */
    line-height: 1.5;
    color: var(--color-text);
    margin: 0;
}

.recruitment-detail strong {
    font-weight: 600;
    font-size: 1.8rem; /* 18px */
    color: var(--color-primary-dark);
}

.recruitment-map {
    flex: 1;
    border-radius: 1.2rem; /* 12px */
    overflow: hidden;
    height: 100%; /* 439px */
}

.recruitment-map img {
    width: 100%;
    height: 100%;
    max-height: var(--mapa-max-height, 436px);
    object-fit: cover;
    display: block;
    border-radius: 15px;
}

.recruitment-cta {
    width: 100%;
    display: flex;
    justify-content: center;
}

.recruitment-cta-content {
    width: 100%;
    background-color: var(--color-background-card);
    border-radius: 1.2rem; /* 12px */
    padding: 2.2rem 1.8rem; /* 22px 18px */
    display: flex;
    flex-direction: column;
    gap: 0.4rem; /* 4px */
}

.recruitment-cta-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 2.8rem; /* 28px */
    line-height: 1.3;
    letter-spacing: -0.042rem; /* -0.42px */
    color: var(--color-text);
    margin: 0;
}

.recruitment-cta-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 2rem; /* 20px */
    line-height: 1.3;
    letter-spacing: -0.03rem; /* -0.3px */
    color: var(--color-text);
    margin: 0;
}

.recruitment-cta-text p:last-child{
    margin-bottom: 0;
}

.recruitment-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--color-primary-dark);
    text-decoration: underline;
    text-decoration-skip-ink: none;
    text-underline-position: from-font;
}

/* Responsive Styles */

/* Tablet */
@media (max-width: 1024px) {
    .recruitment-container {
        min-width: auto;
        padding: 0 2.4rem; /* 24px */
    }

    .recruitment-grid {
        gap: 4rem; /* 40px */
    }

}

/* Mobile */
@media (max-width: 768px) {
    .recruitment-section {
        padding: 6rem 0; /* 60px 0 */
    }

    .recruitment-container {
        padding: 0 2rem; /* 20px */
        gap: 4rem; /* 40px */
    }

    .recruitment-title {
        font-size: 2.8rem; /* 28px */
        letter-spacing: -0.056rem; /* -0.56px */
    }

    .recruitment-subtitle {
        font-size: 1.6rem; /* 16px */
    }

    .recruitment-grid {
        grid-template-columns: 1fr;
        gap: 3rem; /* 30px */
    }

    .recruitment-card-wrapper {
        width: 100%;
        order:2;
    }

    .recruitment-card-header {
        padding: 2.4rem 2rem 1.6rem; /* 24px 20px 16px */
    }

    .recruitment-card-city {
        font-size: 1.8rem; /* 18px */
    }

    .recruitment-card-title {
        font-size: 2.2rem; /* 22px */
    }

    .recruitment-card-details {
        padding: 2.4rem 2rem; /* 24px 20px */
    }

    .recruitment-detail strong {
        font-size: 1.6rem; /* 16px */
    }

    .recruitment-detail p {
        font-size: 1.4rem; /* 14px */
    }

    .recruitment-map {
        width: 100%;
        height: 30rem; /* 300px */
        order:1;
    }

    .recruitment-cta-title {
        font-size: 2.2rem; /* 22px */
    }

    .recruitment-cta-text {
        font-size: 1.6rem; /* 16px */
    }
}

@media (max-width: 480px) {
    .recruitment-section {
        padding: 4rem 0; /* 40px 0 */
    }

    .recruitment-title {
        font-size: 2.4rem; /* 24px */
    }

    .recruitment-subtitle {
        font-size: 1.4rem; /* 14px */
    }

    .recruitment-card-header {
        padding: 2rem 1.6rem 1.2rem; /* 20px 16px 12px */
    }

    .recruitment-card-city {
        font-size: 1.6rem; /* 16px */
    }

    .recruitment-card-title {
        font-size: 1.8rem; /* 18px */
    }

    .recruitment-card-details {
        padding: 2rem 1.6rem; /* 20px 16px */
        gap: 1.6rem; /* 16px */
    }

    .recruitment-map {
        height: 25rem; /* 250px */
    }

    .recruitment-cta-content {
        padding: 1.6rem 1.2rem; /* 16px 12px */
    }

    .recruitment-cta-title {
        font-size: 1.8rem; /* 18px */
    }

    .recruitment-cta-text {
        font-size: 1.4rem; /* 14px */
    }
}
