/* Public discover/resource pages aligned with the Jobaway template. */

.op-public-header .navigation > li.op-nav-more > ul {
    min-width: 218px;
    padding: 12px;
    border: 1px solid #e7eee7;
    border-bottom: 2px solid var(--theme-color);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 22px 50px rgba(18, 36, 22, .12);
}

.op-public-header .navigation > li.op-nav-more > ul > li {
    margin: 0;
}

.op-public-header .navigation > li.op-nav-more > ul > li > a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--title-color);
    font-size: 15px;
    line-height: 20px;
    font-weight: 600;
}

.op-public-header .navigation > li.op-nav-more > ul > li > a:hover,
.op-public-header .navigation > li.op-nav-more > ul > li.current > a {
    background: #f0f7ed;
    color: var(--theme-color) !important;
}

.op-discover-page {
    padding: 150px 0 90px;
    background: #fff;
}

.op-discover-page .auto-container {
    max-width: 1230px;
}

.op-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--secondary-color);
    font-family: var(--title-font);
    font-size: 15px;
    line-height: 22px;
    font-weight: 600;
}

.op-section-kicker:before {
    content: '';
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: var(--theme-color);
}

.op-discover-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(360px, .82fr);
    gap: 56px;
    align-items: center;
    padding-bottom: 70px;
}

.op-discover-hero__content {
    min-width: 0;
}

.op-discover-hero h1 {
    max-width: 760px;
    margin: 0 0 20px;
    color: var(--title-color);
    font-family: var(--title-font);
    font-size: clamp(44px, 5vw, 72px);
    line-height: 1.02;
    font-weight: 700;
    letter-spacing: 0;
}

.op-discover-hero p {
    max-width: 680px;
    margin: 0;
    color: #6a6f6a;
    font-size: 18px;
    line-height: 30px;
}

.op-discover-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
    margin-top: 34px;
}

.op-link-btn,
.op-outline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 13px 24px;
    border-radius: 40px;
    font-family: var(--title-font);
    font-size: 15px;
    line-height: 22px;
    font-weight: 600;
}

.op-link-btn {
    color: var(--title-color);
}

.op-link-btn:hover {
    color: var(--theme-color);
}

.op-outline-btn {
    border: 1px solid var(--theme-color);
    color: var(--theme-color);
}

.op-outline-btn:hover {
    background: var(--theme-color);
    color: #fff;
}

.op-discover-hero__media {
    position: relative;
    margin: 0;
    min-height: 460px;
    border-radius: 8px;
    overflow: hidden;
    background: #eef2ec;
}

.op-discover-hero__media img,
.op-discover-split figure img,
.op-feature-resource figure img,
.op-resource-card figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.op-discover-hero__media:after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 44%;
    background: linear-gradient(180deg, rgba(10, 21, 16, 0), rgba(10, 21, 16, .48));
}

.op-metric-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid #e7e7e7;
    border-bottom: 1px solid #e7e7e7;
    margin-bottom: 82px;
}

.op-metric {
    padding: 30px 22px;
    border-right: 1px solid #e7e7e7;
}

.op-metric:last-child {
    border-right: 0;
}

.op-metric strong {
    display: block;
    color: var(--title-color);
    font-family: var(--title-font);
    font-size: 42px;
    line-height: 48px;
    font-weight: 700;
}

.op-metric span {
    display: block;
    margin-top: 5px;
    color: #6a6f6a;
    font-size: 15px;
    line-height: 22px;
}

.op-discover-split,
.op-feature-resource {
    display: grid;
    grid-template-columns: minmax(340px, .88fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
    margin-bottom: 82px;
}

.op-discover-split figure,
.op-feature-resource figure {
    margin: 0;
    height: 430px;
    border-radius: 8px;
    overflow: hidden;
    background: #eef2ec;
}

.op-discover-split h2,
.op-feature-resource h2,
.op-section-head h2,
.op-discover-band h2,
.op-resource-cta h2 {
    margin: 0;
    color: var(--title-color);
    font-family: var(--title-font);
    font-size: clamp(34px, 3.8vw, 52px);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: 0;
}

.op-discover-split p,
.op-feature-resource p,
.op-resource-cta p {
    margin: 18px 0 0;
    color: #6a6f6a;
    font-size: 17px;
    line-height: 29px;
}

.op-check-list {
    margin: 26px 0 0;
    padding: 0;
}

.op-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 12px;
    color: var(--title-color);
    font-size: 16px;
    line-height: 25px;
    font-weight: 500;
}

.op-check-list i {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ecf8e8;
    color: var(--theme-color);
    line-height: 24px;
    text-align: center;
    font-size: 14px;
}

.op-pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 82px;
}

.op-pillar-card {
    padding: 34px 32px 32px;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.op-pillar-card:hover,
.op-resource-card:hover {
    transform: translateY(-4px);
    border-color: #d7e7d1;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .08);
}

.op-pillar-card__icon {
    width: 58px;
    height: 58px;
    margin-bottom: 24px;
    border-radius: 50%;
    background: #ecf8e8;
    color: var(--theme-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
}

.op-pillar-card h3,
.op-resource-card h3 {
    margin: 0;
    color: var(--title-color);
    font-family: var(--title-font);
    font-size: 24px;
    line-height: 31px;
    font-weight: 700;
}

.op-pillar-card p,
.op-resource-card p {
    margin: 12px 0 0;
    color: #6a6f6a;
    font-size: 15px;
    line-height: 26px;
}

.op-section-head {
    max-width: 760px;
    margin: 0 0 36px;
}

.op-discover-band,
.op-resource-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 42px 46px;
    border-radius: 8px;
    background: #f3f8f1;
}

.op-discover-band__links,
.op-resource-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.op-discover-band__links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 18px;
    border: 1px solid #dce8d8;
    border-radius: 40px;
    background: #fff;
    color: var(--title-color);
    font-family: var(--title-font);
    font-size: 15px;
    font-weight: 600;
}

.op-discover-band__links a:hover {
    border-color: var(--theme-color);
    color: var(--theme-color);
}

.op-resource-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 76px;
}

.op-resource-tabs a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 14px;
    row-gap: 3px;
    min-height: 94px;
    padding: 20px 22px;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    background: #fff;
    color: var(--title-color);
}

.op-resource-tabs a:hover {
    border-color: #d7e7d1;
    box-shadow: 0 14px 42px rgba(0, 0, 0, .07);
    transform: translateY(-2px);
}

.op-resource-tabs i {
    grid-row: span 2;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ecf8e8;
    color: var(--theme-color);
    line-height: 46px;
    text-align: center;
    font-size: 20px;
}

.op-resource-tabs span {
    min-width: 0;
    font-family: var(--title-font);
    font-size: 18px;
    line-height: 23px;
    font-weight: 700;
}

.op-resource-tabs small {
    color: #6a6f6a;
    font-size: 13px;
    line-height: 18px;
}

.op-feature-resource {
    padding: 40px;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    background: #fff;
}

.op-feature-resource .op-outline-btn {
    margin-top: 26px;
}

.op-resource-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 82px;
}

.op-resource-card {
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.op-resource-card figure {
    height: 210px;
    margin: 0;
    background: #eef2ec;
}

.op-resource-card__body {
    padding: 24px 24px 26px;
}

.op-resource-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin-bottom: 12px;
    color: var(--secondary-color);
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}

.op-resource-card__meta span:last-child {
    color: #7a817b;
    font-weight: 500;
}

.op-muted-link {
    display: inline-flex;
    margin-top: 18px;
    color: #7a817b;
    font-family: var(--title-font);
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}

.op-resource-cta {
    background: #102117;
}

.op-resource-cta h2,
.op-resource-cta .op-section-kicker {
    color: #fff;
}

.op-resource-cta .op-section-kicker:before {
    background: var(--theme-color);
}

.op-resource-cta p {
    max-width: 620px;
    color: #bfcbc2;
}

.op-resource-cta .op-outline-btn {
    border-color: rgba(255, 255, 255, .45);
    color: #fff;
}

.op-resource-cta .op-outline-btn:hover {
    border-color: var(--theme-color);
    background: var(--theme-color);
}

@media only screen and (max-width: 1199px) {
    .op-discover-hero,
    .op-discover-split,
    .op-feature-resource {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .op-discover-hero__media,
    .op-discover-split figure,
    .op-feature-resource figure {
        min-height: 0;
        height: 360px;
    }

    .op-resource-tabs,
    .op-metric-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .op-resource-grid,
    .op-pillar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 767px) {
    .op-discover-page {
        padding: 118px 0 64px;
    }

    .op-discover-hero {
        padding-bottom: 48px;
    }

    .op-discover-hero h1 {
        font-size: 39px;
        line-height: 1.08;
    }

    .op-discover-hero p,
    .op-discover-split p,
    .op-feature-resource p,
    .op-resource-cta p {
        font-size: 16px;
        line-height: 27px;
    }

    .op-discover-hero__media,
    .op-discover-split figure,
    .op-feature-resource figure {
        height: 280px;
    }

    .op-metric-row,
    .op-resource-tabs,
    .op-resource-grid,
    .op-pillar-grid {
        grid-template-columns: 1fr;
    }

    .op-metric {
        border-right: 0;
        border-bottom: 1px solid #e7e7e7;
    }

    .op-metric:last-child {
        border-bottom: 0;
    }

    .op-feature-resource,
    .op-discover-band,
    .op-resource-cta {
        padding: 28px 22px;
    }

    .op-discover-band,
    .op-resource-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .op-discover-band__links,
    .op-resource-cta__actions {
        justify-content: flex-start;
        width: 100%;
    }

    .op-discover-band__links a,
    .op-resource-cta__actions a,
    .op-discover-actions a {
        width: 100%;
    }
}
