/* ==============================================================================
Theme Name: Phlox Pro Child
Theme URI: http://phlox.pro/
Author: averta
Author URI: http://www.phlox.pro
Description: Phlox Child Theme
Template: phlox
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column,two-columns, three-columns, left-sidebar, right-sidebar
Text Domain: phlox-child
================================================================================= */

/* Screen Reader Only - Accessibility */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}




.brodos-container {
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
}

/* Page Title */

.brodos-page-title-header {
    height: 200px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.brodos-site-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    margin: 0;
    padding: 0 10px 10px;

    a,
    a:hover {
        color: inherit;
    }
}

.brodos-page-title {
    font-size: 40px;
    font-weight: 600;
    line-height: 1;
    padding: 0 8px;
    margin: 0;
}

.brodos-page-title-header-background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.brodos-page-title-header-background-overlay {
    background-color: #ffffff;
    opacity: 0.82;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

/* ./ Page Title */

/* Job Page */

.job-top-section-inner {
    padding: 0 10px;
}

.pt-l {
    padding-top: 36px;
}

.pb-l {
    padding-bottom: 36px;
}

.pb-m {
    padding-bottom: 16px;
}

.job-title {
    margin-left: -2px;
}

.job-subtitle {
    font-weight: 600;
    width: 65%;
}

.clear {
    clear: both;
}



/* ./ Job Page */

/* Jobs List & Cards */

.job-description {
    text-align: justify;
}

.jobs-list-inner {
    padding: 0 10px;
}

.job-card {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    margin-bottom: 1rem;
}

.job-card__header {
    display: flex;
    color: #fff;
    cursor: pointer;
    flex-direction: column;
}

.job-card__header-top {
    position: relative;
    padding: 16px 64px 16px 16px;
    background: var(--e-global-color-primary);
    user-select: none;
}

.job-card__title {
    font-size: 24px;
    line-height: 28px;
    font-weight: 600;
}

.job-card__header-top-icon {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 40px;
    height: 40px;
    transition: 0.3s;
    transform: rotate(0deg);
}

article.job-card.is-open .job-card__header-top-icon {
    transform: rotate(180deg);
}

.job-card__header-top-icon svg path {
    fill: #fff;
}

.job-card__header-bottom {
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.job-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;

    svg {
        width: 48px;
        height: 48px;
        flex-shrink: 0;

        path {
            fill: var(--e-global-color-primary);
        }
    }

    span {
        font-size: 18px;
        line-height: 1.4;
        color: #000;
    }
}

.job-card__body {
    display: none;
    padding: 16px;
}

.job-card.is-open .job-card__body {
    display: block;
}

.job-card__cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;

    .job-card-description {
        order: 1;
    }

    .job-card-responsibilities {
        order: 2;
    }

    .job-card-profile {
        order: 3;
    }

    .job-card__contact {
        order: 4;
    }

    .job-card__col-offer {
        grid-column: span 2;
        order: 5;
    }
}

article.job-card-general .job-card__col-offer {
    order: 1;
}







.job-card__col h3,
.job-card__col h4 {
    margin: 0 0 16px 0 !important;
    color: #000;
    font-size: 24px !important;
    line-height: 28px !important;
}

.job-card__col ul,
.job-card__col ol {
    list-style: disc;
    margin: 0;
    padding-left: 16px;

    li {
        margin-bottom: 8px;
    }
}

.job-card__contact-box {}

.job-card__contact-avatar {
    img {
        display: block;
        border-radius: 4px;
        width: 100%;
        max-width: 200px;
        margin-bottom: 16px;
        aspect-ratio: 1;
        object-fit: cover;
    }
}

.job-card__contact-info {
    font-size: 16px;
    line-height: 1.25;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 8px;
}

.job-card__contact-name {
    font-weight: 600;
}

.job-card__contact-link {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
    background-color: var(--e-global-color-primary);
    border-style: solid;
    border-width: 2px 2px 2px 2px;
    border-color: var(--e-global-color-primary);
    border-radius: 4px;
    padding: 8px 24px;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
    margin-top: 16px;

    &:hover {
        background: #000;
        color: #fff;
    }
}

.job-title-general-info-image img {
    border-radius: 4px;
}


/* Responsive */
@media (min-width: 1801px) {}

@media (max-width: 1800px) {}

@media (min-width: 1601px) {}

@media (min-width: 1600px) {}

@media (max-width: 1600px) {}

@media (min-width: 1401px) {}

@media (max-width: 1400px) {
    .brodos-page-title-header {
        height: 150px;
    }

    .brodos-site-title {
        font-size: 18px;
    }

    .brodos-page-title {
        font-size: 32px;
        line-height: 1.25;
    }
}

@media (min-width: 1201px) {}

@media (max-width: 1200px) {
    .brodos-site-title {
        padding: 0 0 10px;
    }

    .brodos-page-title {
        padding: 0;
    }

    .jobs-list-inner,
    .job-top-section-inner {
        padding: 0;
    }

    .brodos-page-title-header {
        padding: 10px;
    }

    .pb-l {
        padding-bottom: 10px;
    }

    .pb-m {
        padding-bottom: 10px;
    }

    .job-top-section {
        padding: 10px;
    }

    .jobs-list {
        padding: 10px;
    }

    .brodos-page-title-header-background {
        background-size: 110% auto !important;
    }
}

@media (min-width: 1025px) and (max-width: 1200px) {}

@media (min-width: 1025px) {}

@media (max-width: 1024px) {
    .brodos-page-title-header {
        height: 125px;
    }

    .job-card__title {
        font-size: 20px;
    }

    .job-card__col h3,
    .job-card__col h4 {
        font-size: 20px !important;
    }

    .job-card__header-top {
        position: relative;
        padding: 10px 48px 10px 10px;
        background: var(--e-global-color-primary);
        user-select: none;
    }

    .job-card__header-top-icon {
        right: 8px;
        top: 8px;
        width: 32px;
        height: 32px;
    }

    .job-card__meta-item {
        svg {
            width: 40px;
            height: 40px;
        }

        span {
            font-size: 16px;
        }
    }
}

@media screen and (max-width: 1024px) and (min-width: 768px) {}

@media (min-width: 768px) {}

@media (max-width: 768px) {}

@media (max-width: 767px) {
    .brodos-page-title-header {
        height: 100px;
    }

    .brodos-site-title {
        font-size: 16px;
    }

    .brodos-page-title {
        font-size: 28px;
    }

    .job-subtitle {
        width: auto;
    }

    .job-card__header-top {
        padding: 10px 46px 10px 10px;
    }

    .job-card__header-bottom {
        padding: 10px;
        gap: 10px;
        display: flex;
        flex-direction: column;
    }

    .job-card__meta-item {
        svg {
            width: 32px;
            height: 32px;
        }
    }

    .job-card__title {
        font-size: 18px;
    }

    .job-card__cols {
        padding: 10px;
        gap: 10px;
        display: flex;
        flex-direction: column;

        .job-card-description {
            order: 1;
        }

        .job-card-responsibilities {
            order: 2;
        }

        .job-card-profile {
            order: 3;
        }

        .job-card__contact {
            order: 5;
        }

        .job-card__col-offer {
            order: 4;
        }
    }

    .job-card__body {
        padding: 0;
    }
}

@media (max-width: 479px) {
    .job-card__contact-link {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 415px) {}
