.jdshs-image-responsive-full {
    display: block;
    width: 100%;
    height: auto;
    max-height: 30vw;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* ------------------------------------------------------------------------- */
/* APPLICATION FORM 
/* ------------------------------------------------------------------------- */

.jdshs-application-form {
    position: relative;
    width: 80%;
    margin: 0 auto;
}



/* 
 * Accordian styling for revealing application forms
 */
.jdsh-accordian {
    max-width: 800px;
    overflow: hidden;
}

.jdsh-accordian-label, .jdsh-accordian-content {
    padding: 14px 20px;
}

.jdsh-accordian-label {
    display: block;
    background-color: rgb(238, 159, 33); 
    border-radius: 5px;
    color: white;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    transition: background-color 0.1s;  
    z-index: 0;
}

.jdsh-accordian-label:hover {
    background-color: rgba(0, 0, 0, 0.25);
}

.jdsh-accordian-content {
    background: white;
    line-height: 1.6;
    font-size: 0.85em;
    display: none;
}

.jdsh-accordian-input {
    display: none;
}

.jdsh-accordian-input:checked ~ .jdsh-accordian-content {
    display: block;
}

@media (max-width: 600px) {
    .jdshs-job-application-form {
        width: auto;
        max-width: 100%;
    }
    .jdsh-accordian-content {
        padding: 14px 0;
    }
}

@media (max-width: 450px) {
    .wpcf7-form input,
    .wpcf7-form textarea {
        max-width: 95%;
    }
}