/* Keep company profile video embeds responsive. */
.single-companies .company-video-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-top: 2rem;
    overflow: hidden;
}

.single-companies .company-video-embed iframe,
.single-companies .company-video-embed video {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Let optional profile assets flow as part of the existing company form. */
.company-profile-assets__notice {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    border-left: 4px solid #dba617;
    background: #fff8e5;
}

.company-profile-assets__heading {
    display: block;
    clear: both;
    width: calc(100% - 1rem);
    margin: 1.5rem 0 0.75rem;
    font-size: 1.2rem;
    line-height: 1.4;
}

.company-profile-assets__heading--video {
    margin-top: 0.5rem;
    padding-top: 0;
}

@media (min-width: 768px) {
    .welcome_company .company-profile-assets__heading:not(.company-profile-assets__heading--video) {
        margin-top: -2rem;
    }
}

.company-profile-assets__field {
    display: inline-block;
    float: left;
    vertical-align: top;
    width: 33.333% !important;
    margin: 0 0 1rem !important;
    padding: 0 1rem 0 0;
    box-sizing: border-box;
    font-size: 1rem;
}

.company-profile-assets__field > .jb-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.company-profile-assets__field input[type="text"],
.company-profile-assets__field input[type="url"] {
    width: 100%;
    min-height: 82px;
    box-sizing: border-box;
}

.company-profile-assets__field .description {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.9rem;
    line-height: 1.3;
}

.company-profile-assets__file input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.company-profile-assets__upload {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 82px;
    margin: 0;
    padding: 1rem;
    border: 2px dashed var(--brand-color-2);
    border-radius: 15px;
    background: #fff;
    box-sizing: border-box;
    cursor: pointer;
}

.company-profile-assets__upload i {
    color: var(--brand-color-1);
    font-size: 1.6rem;
}

.company-profile-assets__current {
    margin: 0.45rem 0 0;
    font-size: 0.9rem;
    line-height: 1.3;
}

.company-profile-assets__remove {
    margin-top: 0.75rem !important;
}

.company-profile-assets__remove .jb-check-wrap {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 0.65rem;
    width: auto !important;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.company-profile-assets__remove input[type="checkbox"] {
    position: static !important;
    display: inline-block !important;
    flex: 0 0 20px;
    width: 20px !important;
    height: 20px !important;
    min-height: 0;
    margin: 0 !important;
    padding: 0 !important;
}

.company-profile-assets__remove span {
    display: inline-block;
    font-size: 1rem;
    line-height: 1.3;
}

.company-profile-assets__video {
    display: block;
    float: none;
    clear: both;
    width: 100% !important;
}

@media (max-width: 1100px) and (min-width: 768px) {
    .company-profile-assets__field {
        width: 50% !important;
    }

}

@media (max-width: 767px) {
    .company-profile-assets__field {
        display: block;
        float: none;
        width: 100% !important;
        padding-right: 0;
    }
}
