/* Join Container - Two Column Layout */
.join-container {
    max-width: 1200px;
    margin: 1px auto 40px;
    padding: 0 20px;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 30px;
}

/* Join Box - Common Styles */
.join-box {
    background-color: #f5f5f5;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    min-width: 0; /* Prevents grid blowout */
}

.join-box h2 {
    color: #5387c4;
    font-size: 2rem;
    margin-bottom: 20px;
    margin-top: 0;
}

.join-box > p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}
.join-box a{
    text-decoration: underline;
    color: #333;
}
/* Vacancies Box Specific Styles */
.vacancies-box {
    display: flex;
    flex-direction: column;
}

.vacancy-item {
    background-color: white;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    border-left: 4px solid #5387c4;
    transition: transform 0.2s, box-shadow 0.2s;
}

.vacancy-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.vacancy-item h3 {
    color: #333;
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 10px;
}

.vacancy-item p {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #666;
    line-height: 1.6;
}

.info-link {
    color: #5387c4;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
    display: inline-block;
}

.info-link:hover {
    color: #4070a8;
}

.contact-note {
    font-size: 0.95rem;
    font-style: italic;
    color: #777;
    margin-top: 20px;
    margin-bottom: 0;
}

/* Volunteer Box Specific Styles */
.volunteer-box {
    display: flex;
    flex-direction: column;
}

.volunteer-benefits {
    background-color: white;
    padding: 20px;
    border-radius: 6px;
    margin: 20px 0;
}

.volunteer-benefits h3 {
    color: #333;
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 15px;
}

.volunteer-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.volunteer-benefits ul li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}

.volunteer-benefits ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #5387c4;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Apply Button */
.join-box .apply-button {
    display: inline-block;
    background-color: #5387c4;
    color: white;
    padding: 15px 20px;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s;
    text-align: center;
    margin-top: auto;
    align-self: center;  /* This centers it */
    width: fit-content; 
}

.apply-button:hover {
    background-color: #4070a8;
}

/* Mobile Responsive - Stack columns on smaller screens */
@media (max-width: 968px) {
    .join-container {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .join-box {
        padding: 30px 20px;
    }
    
    .join-box h2 {
        font-size: 1.6rem;
    }
    
    .vacancy-item h3 {
        font-size: 1.2rem;
    }
}

/* Tablet breakpoint */
@media (max-width: 1024px) and (min-width: 969px) {
    .join-container {
        max-width: 100%;
        padding: 0 30px;
    }
    
    .join-box {
        padding: 35px 25px;
    }
}