.join-team-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
    background-color: #fff;
}

/* Intro text styling */
.join-team-intro {
    font-size: 21px;
    font-weight: 300;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #000;
    line-height: 1.6;
}

/* Video section - full width within column */
.join-team-video {
    margin: -20px -20px 20px -20px; /* Counteract column padding, keep bottom spacing */
    width: calc(100% + 40px); /* Account for negative margins */
}

.join-team-video .video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background-color: #000; /* Fallback background */
}

.join-team-video .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
}

/* Contact form styling */
.join-team-form {
    margin-top: 20px;
       width: 100%;
}

.join-team-form .wpcf7 {
    margin-top: 0;
}

/* Additional styles for thank you message show state */
.wpcf7-thank-you-message.show {
    opacity: 1;
}
    


/* ================================
   RESPONSIVE STYLES
   ================================ */

/* Tablet styles */
@media (max-width: 1024px) {
    .join-team-wrapper {
        padding: 40px 15px;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .join-team-wrapper {
        padding: 30px 10px;
    }
    
    .join-team-intro {
        font-size: 18px;
        margin-bottom: 30px;
    }
    
    /* Stack columns on mobile */
    .kaizen-grid-2 {
        flex-direction: column;
    }
    
    /* Adjust video margins for mobile */
    .join-team-video {
        margin: -20px -10px 20px -10px;
        width: calc(100% + 20px);
    }
    
    .join-team-form {
        margin-top: 30px;
    }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
    .join-team-intro {
        font-size: 16px;
    }
}
