/* Landing page alignment with the purchased Jobaway template. */

.op-home-banner .content-box {
    max-width: 980px;
    margin: 0 auto;
}

/* Le titre héritait de --title-color (#101010) alors que la bannière est vert
   sombre (#26472b) : contraste mesuré 1,83:1, très en dessous du minimum WCAG
   AA de 3:1 pour du grand texte. Le sous-titre, lui, était déjà blanc. */
.op-home-banner .content-box h1 {
    color: #fff;
}

.op-template-search {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, .65fr) auto;
    gap: 10px;
    max-width: 850px;
    margin: 0 auto 30px;
    padding: 10px;
    border-radius: 60px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .14);
}

.op-template-search__field {
    position: relative;
    min-width: 0;
}

.op-template-search__field i {
    position: absolute;
    left: 24px;
    top: 50%;
    z-index: 1;
    color: var(--secondary-color);
    transform: translateY(-50%);
}

.op-template-search__field input {
    display: block;
    width: 100%;
    height: 58px;
    border: 1px solid #e5e5e5;
    border-radius: 40px;
    padding: 10px 22px 10px 52px;
    font-size: 16px;
    color: var(--title-color);
    background: #fff;
}

.op-template-search__field input:focus {
    border-color: var(--theme-color) !important;
}

.op-template-search .theme-btn {
    min-width: 160px;
    white-space: nowrap;
}

.op-home-jobs {
    background: #fff;
}

.op-offer-col {
    display: flex;
}

.op-offer-card {
    --offer-tone: var(--secondary-color);
    --offer-soft: #eff2e6;
    width: 100%;
}

.op-offer-card .inner-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 430px;
    margin-bottom: 34px;
    padding: 34px 34px 30px;
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.06);
}

.op-offer-card .inner-box:hover {
    box-shadow: 0px 10px 70px 0px rgba(0, 0, 0, 0.16);
}

.op-offer-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    color: var(--title-color);
    font-size: 15px;
    line-height: 22px;
    font-weight: 600;
}

.op-offer-card__top span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.op-offer-card__top span:first-child {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.op-offer-card__top i,
.op-offer-card__sector {
    color: var(--offer-tone);
}

.op-offer-card .inner-box .icon-box {
    background: var(--offer-soft);
    color: var(--offer-tone);
}

.op-offer-card .inner-box .icon-box:before {
    background: var(--offer-tone);
}

.op-offer-card .inner-box:hover .icon-box {
    color: #fff;
}

.op-offer-card__sector {
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 22px;
    font-family: var(--title-font);
    font-weight: 600;
}

.op-offer-card .inner-box h3 {
    display: -webkit-box;
    min-height: 76px;
    margin-bottom: 12px;
    overflow: hidden;
    font-size: 30px;
    line-height: 38px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.op-offer-card .inner-box h3 a:hover {
    color: var(--offer-tone);
}

.op-offer-card .inner-box p {
    display: -webkit-box;
    min-height: 54px;
    margin-bottom: 18px;
    overflow: hidden;
    font-size: 17px;
    line-height: 27px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.op-offer-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.op-offer-card__meta li {
    max-width: 100%;
    padding: 7px 14px;
    border-radius: 30px;
    background: var(--offer-soft);
    color: var(--title-color);
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.op-offer-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid #e7e7e7;
}

.op-offer-card__bottom strong {
    color: var(--title-color);
    font-family: var(--title-font);
    font-size: 15px;
    line-height: 20px;
    font-weight: 600;
    white-space: nowrap;
}

.op-offer-card .inner-box .op-offer-card__bottom .link a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 7px 34px 7px 18px;
    border: 1px solid var(--offer-tone);
    border-radius: 40px;
    color: var(--offer-tone);
    font-size: 13px;
    line-height: 20px;
    white-space: nowrap;
}

.op-offer-card .inner-box .op-offer-card__bottom .link a i {
    top: 14px;
    right: 13px;
    font-size: 12px;
}

.op-offer-card .inner-box .op-offer-card__bottom .link a:hover {
    background: var(--offer-tone);
    color: #fff;
}

.op-offer-card--tech { --offer-tone: #2563eb; --offer-soft: #eaf1ff; }
.op-offer-card--finance { --offer-tone: #b7791f; --offer-soft: #fff7df; }
.op-offer-card--agri { --offer-tone: #3f8f29; --offer-soft: #eff9ea; }
.op-offer-card--health { --offer-tone: #dc2626; --offer-soft: #fff0f0; }
.op-offer-card--service { --offer-tone: #4f6f52; --offer-soft: #eef4ee; }
.op-offer-card--commerce { --offer-tone: #7c3aed; --offer-soft: #f3edff; }
.op-offer-card--logistic { --offer-tone: #0f766e; --offer-soft: #e7f8f5; }
.op-offer-card--build { --offer-tone: #ea580c; --offer-soft: #fff2e8; }
.op-offer-card--hotel { --offer-tone: #be4b12; --offer-soft: #fff1e8; }
.op-offer-card--education { --offer-tone: #0369a1; --offer-soft: #e8f6ff; }
.op-offer-card--hr { --offer-tone: #5b6b18; --offer-soft: #f6f8e9; }
.op-offer-card--default { --offer-tone: var(--secondary-color); --offer-soft: #eff2e6; }

.op-home-empty {
    position: relative;
    display: block;
    max-width: 720px;
    margin: 0 auto 30px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fff;
}

.op-home-empty h3 {
    display: block;
    font-size: 28px;
    line-height: 36px;
    margin-bottom: 10px;
}

.op-home-training > .clearfix {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
    overflow: visible;
}

.op-home-training .training-block-one {
    float: none;
    width: auto;
}

.op-home-training .training-block-one .inner-box {
    aspect-ratio: 4 / 5;
    min-height: 0;
    border: 1px solid rgba(17, 17, 17, .08);
    border-radius: 18px;
    overflow: hidden;
    padding: 0;
    background-color: var(--secondary-color);
    display: flex;
    align-items: flex-end;
    box-shadow: 0 22px 58px rgba(0, 0, 0, .14);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.op-home-training .training-block-one .inner-box:before {
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(0, 0, 0, .02) 28%, rgba(0, 0, 0, .74) 100%);
}

.op-home-training .training-block-one .text-box {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 26px 28px;
}

.op-training-card__badge {
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 1;
    max-width: calc(100% - 44px);
    padding: 6px 14px;
    border-radius: 30px;
    background: var(--theme-color);
    color: var(--title-color);
    font-size: 14px;
    line-height: 20px;
    font-family: var(--title-font);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.op-training-card__meta {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, .82);
    font-size: 15px;
    line-height: 22px;
}

.op-home-training .training-block-one .inner-box .text-box h3 {
    max-width: none;
    min-height: 68px;
    margin-bottom: 10px;
}

.op-home-training .training-block-one .inner-box .text-box p {
    color: rgba(255, 255, 255, .78);
    margin-bottom: 18px;
}

.op-home-training .training-block-one .inner-box .text-box .link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.op-home-training .training-block-one .inner-box .text-box .link span {
    color: #fff;
    font-family: var(--title-font);
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;
}

.op-home-training .training-block-one .inner-box .text-box .link a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 7px 38px 7px 18px;
    border: 1px solid var(--theme-color);
    border-radius: 40px;
    color: var(--theme-color);
    white-space: nowrap;
}

.op-home-training .training-block-one .inner-box .text-box .link a i {
    position: absolute;
    top: 14px;
    right: 13px;
    font-size: 13px;
}

.op-home-training .training-block-one .inner-box .text-box .link a:hover {
    background: var(--theme-color);
    color: var(--title-color);
}

.op-home-subscribe {
    position: relative;
    isolation: isolate;
    padding-top: 92px !important;
    padding-bottom: 92px !important;
    background: var(--secondary-color);
}

.op-home-subscribe .bg-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100% !important;
    height: 100% !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.op-home-banner .author-box .author {
    overflow: visible;
}

.op-home-banner .author-box .author-1,
.op-home-banner .author-box .author-6 {
    width: 140px;
    height: 140px;
}

.op-home-banner .author-box .author-2,
.op-home-banner .author-box .author-4 {
    width: 110px;
    height: 110px;
}

.op-home-banner .author-box .author-3,
.op-home-banner .author-box .author-5 {
    width: 90px;
    height: 90px;
}

.op-home-banner .author-box .author img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    border: 3px solid rgba(255, 255, 255, .82);
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center !important;
    box-shadow: 0 18px 46px rgba(0, 0, 0, .22);
}

.op-home-banner .author-box .author-3 img {
    object-position: center 58% !important;
}

.op-home-banner .author-box .author-5 img {
    object-position: center top !important;
}

.about-section .video_block_one figure img,
.category-section .category-block-one .image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-section .video_block_one .image-layer .image-1,
.about-section .video_block_one .image-layer .image-2 {
    overflow: hidden;
}

.about-section .video_block_one .video-inner {
    background-size: cover;
    background-position: center;
}

.category-section .category-block-one .image-box {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.op-access-section {
    overflow: hidden;
    background: #eff2e6;
}

.op-access-section .bg-box {
    height: 58%;
}

.op-access-section .bg-box .bg-layer {
    background-size: cover;
    background-position: center 42%;
}

.op-access-section .bg-box .bg-layer:before {
    opacity: .68;
    background: linear-gradient(180deg, rgba(9, 18, 12, .78), rgba(9, 18, 12, .64));
}

.op-access-section .sec-title {
    position: relative;
    z-index: 1;
}

.op-access-section .category-block-one .inner-box {
    min-height: 420px;
    padding: 50px 30px 30px;
    border: 1px solid rgba(17, 17, 17, .06);
    border-radius: 12px;
}

.op-access-section .category-block-one .inner-box .theme-btn {
    position: relative;
    z-index: 2;
}

.op-home-subscribe .bg-layer:before {
    opacity: .68;
    background: linear-gradient(90deg, rgba(8, 16, 10, .9), rgba(38, 71, 43, .72));
}

.op-home-subscribe .auto-container,
.op-home-subscribe .content-box {
    position: relative;
    z-index: 1;
}

.op-home-subscribe .content-box {
    max-width: 820px;
    padding: 0 15px;
}

.op-home-subscribe .content-box h2 {
    margin-bottom: 30px;
    font-size: clamp(32px, 3vw, 48px);
    line-height: 1.12;
    font-weight: 700;
}

.op-home-subscribe .content-box .form-inner .form-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .18);
}

.op-home-subscribe .content-box .form-inner .form-group .icon-box {
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
}

.op-home-subscribe .content-box .form-inner .form-group input[type='email'] {
    height: 58px;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 10px 20px 10px 54px;
}

.op-home-subscribe .content-box .form-inner .form-group button[type='submit'] {
    position: static;
    min-width: 142px;
    height: 58px;
    padding: 0 30px;
    white-space: nowrap;
}

.op-home-subscribe .content-box p {
    max-width: 620px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .82);
}

.main-footer .footer-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-footer .footer-nav a {
    color: var(--title-color);
}

.main-footer .footer-nav a:hover {
    color: var(--theme-color-2);
}

@media only screen and (max-width: 1200px) {
    .op-template-search {
        grid-template-columns: 1fr;
        border-radius: 20px;
        max-width: 620px;
    }

    .op-template-search .theme-btn {
        width: 100%;
    }

    .op-home-training > .clearfix {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .op-offer-card .inner-box {
        min-height: 410px;
    }
}

@media only screen and (max-width: 767px) {
    .op-home-banner {
        padding: 190px 0 150px;
    }

    .op-home-banner .content-box h2 {
        font-size: 44px;
        line-height: 52px;
    }

    .op-template-search {
        margin-bottom: 24px;
    }

    .op-template-search__field input {
        height: 54px;
    }

    .main-footer .footer-bottom .bottom-inner {
        display: block;
        text-align: center;
    }

    .main-footer .footer-nav {
        justify-content: center;
        margin-top: 12px;
    }

    .op-home-training > .clearfix {
        grid-template-columns: 1fr;
    }

    .op-home-training .training-block-one .inner-box {
        min-height: 380px;
    }

    .op-home-subscribe {
        padding-top: 70px !important;
        padding-bottom: 70px !important;
    }

    .op-home-subscribe .content-box h2 {
        margin-bottom: 24px;
        font-size: 34px;
        line-height: 1.16;
    }

    .op-offer-card .inner-box {
        min-height: auto;
        padding: 28px 24px 24px;
    }

    .op-offer-card .inner-box h3 {
        min-height: auto;
        font-size: 25px;
        line-height: 32px;
    }
}

@media only screen and (max-width: 499px) {
    .op-home-banner .content-box h2 {
        font-size: 36px;
        line-height: 44px;
    }

    .op-template-search {
        padding: 8px;
    }

    .op-template-search__field i {
        left: 18px;
    }

    .op-template-search__field input {
        padding-left: 44px;
    }

    .op-home-subscribe {
        padding-top: 58px !important;
        padding-bottom: 58px !important;
    }

    .op-home-subscribe .content-box {
        padding: 0 6px;
    }

    .op-home-subscribe .content-box h2 {
        font-size: 29px;
        line-height: 1.18;
    }

    .op-home-subscribe .content-box .form-inner .form-group {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 8px;
        border-radius: 28px;
    }

    .op-home-subscribe .content-box .form-inner .form-group .icon-box {
        top: 35px;
    }

    .op-home-subscribe .content-box .form-inner .form-group input[type='email'] {
        height: 54px;
        padding-right: 18px;
    }

    .op-home-subscribe .content-box .form-inner .form-group button[type='submit'] {
        width: 100%;
        height: 54px;
    }

    .op-home-subscribe .content-box p {
        font-size: 14px;
        line-height: 23px;
    }
}
