/* =========================================================
   FOR EMPLOYERS
   Page-specific styles
========================================================= */


/* =========================================================
   HERO
   Match core CHA Learning hero behaviour
========================================================= */

.page-template-for-employers .post-thumbnail {
    margin-right: 2vw;
}

/*
 * Header Text is an ACF WYSIWYG field on this template,
 * which outputs the text inside a paragraph.
 * Remove the default paragraph margin so it matches
 * the core hero text treatment.
 */
.page-template-for-employers #headerptext p {
    margin: 0;
}


/* =========================================================
   HERO - MOBILE
========================================================= */

@media only screen and (max-width: 767px) {

    .page-template-for-employers .post-thumbnail {
        margin-right: 0;
    }

}


/* =========================================================
   ANCHOR SCROLLING
========================================================= */

.employer-intro,
.employer-members,
.employer-discounts,
.employer-team-learning,
.employer-funded,
.employer-recruitment,
.employer-faq {
    scroll-margin-top: 120px;
}


/* =========================================================
   INTRODUCTION
========================================================= */

.employer-intro {
    padding: 3.75rem 2rem;
    background: #fff;
}

.employer-intro__inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.employer-intro__eyebrow {
    margin-bottom: 0.65rem;
    color: #07AABA;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.employer-intro__heading {
    max-width: 640px;
    margin: 0 auto 1.1rem;
    color: #3E3065;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.employer-intro__text {
    max-width: 1000px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.65;
}

.employer-intro__text p {
    margin: 0 0 1rem;
}

.employer-intro__text p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   MEMBER BENEFITS
========================================================= */

.employer-members {
    padding: 4.25rem 2rem;
    background: #f4f1f8;
}

.employer-members__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    align-items: center;
    gap: 4.5rem;
    max-width: 1180px;
    margin: 0 auto;
}

.employer-members__content {
    max-width: 600px;
}

.employer-members__eyebrow {
    margin-bottom: 0.65rem;
    color: #07AABA;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.employer-members__heading {
    max-width: 520px;
    margin: 0 0 1.1rem;
    color: #3E3065;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.employer-members__text {
    max-width: 580px;
    font-size: 17px;
    line-height: 1.65;
}

.employer-members__text p {
    margin: 0 0 1rem;
}

.employer-members__text p:last-child {
    margin-bottom: 0;
}

.employer-members__button {
    display: inline-block !important;
    width: auto !important;
    margin-top: 2.4rem;
    padding: 6px 30px !important;
    color: #fff !important;
    background-color: #3EB049 !important;
    border: 2px solid #fff !important;
    border-radius: 20px !important;
    font-size: calc(12px + 0.3vw) !important;
    font-weight: bold !important;
    line-height: 1.5 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: all .2s ease-in-out;
}

.employer-members__button:hover,
.employer-members__button:focus {
    color: #fff !important;
    text-decoration: none !important;
    transform: scale(1.05);
}

.employer-members__check {
    margin-top: 2rem;
    font-size: 15px;
    line-height: 1.5;
}

.employer-members__check span {
    margin-right: 0.25rem;
}

.employer-members__check a {
    color: #3E3065;
    font-weight: 700;
    text-decoration: underline;
}

.employer-members__check a:hover,
.employer-members__check a:focus {
    color: #07AABA;
}

.employer-members__benefits {
    padding: 1.25rem 2rem;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(62, 48, 101, 0.07);
    border-radius: 14px;
}

.employer-members__benefit {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 0;
}

.employer-members__benefit + .employer-members__benefit {
    border-top: 1px solid rgba(62, 48, 101, 0.1);
}

.employer-members__benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    background: #d8f3f5;
    border-radius: 50%;
    overflow: hidden;
}

.employer-members__benefit-icon img {
    display: block;
    width: 30px;
    height: 30px;
    max-width: none;
    object-fit: contain;
}

.employer-members__benefit-heading {
    margin: 0 0 0.25rem;
    color: #3E3065;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.employer-members__benefit-description {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}


/* =========================================================
   GROUP ENROLMENT DISCOUNTS
========================================================= */

.employer-discounts {
    padding: 4.5rem 2rem 4.75rem;
    background: #fff;
}

.employer-discounts__inner {
    max-width: 1180px;
    margin: 0 auto;
}

.employer-discounts__header {
    max-width: 820px;
    margin: 0 0 2.5rem;
    text-align: left;
}

.employer-discounts__eyebrow {
    margin-bottom: 0.65rem;
    color: #07AABA;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.employer-discounts__heading {
    max-width: 720px;
    margin: 0 0 1.1rem;
    color: #3E3065;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.employer-discounts__intro {
    max-width: 800px;
    margin: 0;
    font-size: 17px;
    line-height: 1.65;
}

.employer-discounts__intro p {
    margin: 0 0 1rem;
}

.employer-discounts__intro p:last-child {
    margin-bottom: 0;
}

.employer-discounts__table {
    width: 100%;
    max-width: none;
    margin: 0;
    overflow-x: auto;
}

.employer-discounts__table .tablepress {
    width: 100%;
    margin: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(62, 48, 101, 0.14);
    border-radius: 10px;
    overflow: hidden;
}

.employer-discounts__table .tablepress thead th {
    padding: 1rem 1.25rem !important;
    color: #3E3065 !important;
    background: #f2f2f2 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(62, 48, 101, 0.14) !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    vertical-align: middle;
}

.employer-discounts__table .tablepress thead th:nth-child(3) {
    color: #fff !important;
    background: #3E3065 !important;
}

.employer-discounts__table .tablepress tbody td {
    padding: 1rem 1.25rem !important;
    background: #fff;
    border: 0 !important;
    border-bottom: 1px solid rgba(62, 48, 101, 0.1) !important;
    font-size: 16px;
    line-height: 1.5;
    vertical-align: middle;
}

.employer-discounts__table .tablepress tbody tr:last-child td {
    border-bottom: 0 !important;
}

.employer-discounts__table .tablepress tbody td:first-child {
    color: #3E3065;
    font-weight: 700;
}

.employer-discounts__table .tablepress tbody td:nth-child(3) {
    color: #3E3065;
    background: #f4f1f8;
    font-weight: 700;
}

.employer-discounts__table .tablepress tbody tr:hover td:not(:nth-child(3)) {
    background: #fafafa;
}

.employer-discounts__table .tablepress tbody tr:hover td:nth-child(3) {
    background: #eee9f4;
}

.employer-discounts__note {
    max-width: none;
    margin: 1.25rem 0 0;
    padding: 1rem 1.25rem;
    color: #555;
    background: #f7f7f7;
    border-left: 4px solid #07AABA;
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
}

.employer-discounts__note p {
    margin: 0 0 1rem;
}

.employer-discounts__note p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   FLEXIBLE LEARNING
========================================================= */

.employer-team-learning {
    padding: 3.5rem 2rem;
    background: #eef8fa;
}

.employer-team-learning__inner {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
    column-gap: 4rem;
    align-items: start;
    max-width: 1180px;
    margin: 0 auto;
}

.employer-team-learning__header {
    align-self: center;
    max-width: 400px;
    transform: translateY(-20px);
}

.employer-team-learning__eyebrow {
    margin-bottom: 0.65rem;
    color: #07AABA;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.employer-team-learning__heading {
    max-width: 400px;
    margin: 0 0 1.1rem;
    color: #3E3065;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.employer-team-learning__content {
    max-width: 650px;
}

.employer-team-learning__text {
    font-size: 17px;
    line-height: 1.65;
}

.employer-team-learning__text p {
    margin: 0 0 0.9rem;
}

.employer-team-learning__text p:last-child {
    margin-bottom: 0;
}

.employer-team-learning__button {
    display: inline-block !important;
    width: auto !important;
    margin-top: 2rem;
    padding: 6px 30px !important;
    color: #fff !important;
    background-color: #3EB049 !important;
    border: 2px solid #fff !important;
    border-radius: 20px !important;
    font-size: calc(12px + 0.3vw) !important;
    font-weight: bold !important;
    line-height: 1.5 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: all .2s ease-in-out;
}

.employer-team-learning__button:hover,
.employer-team-learning__button:focus {
    color: #fff !important;
    text-decoration: none !important;
    transform: scale(1.05);
}


/* =========================================================
   EMPLOYER-FUNDED LEARNING
========================================================= */

.employer-funded {
    padding: 4.75rem 2rem;
    background: #fff;
}

.employer-funded__inner {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    padding-left: 2.25rem;
}

.employer-funded__inner::before {
    content: "";
    position: absolute;
    top: 0.15rem;
    bottom: 0.15rem;
    left: 0;
    width: 4px;
    background: #07AABA;
    border-radius: 2px;
}

.employer-funded__eyebrow {
    margin-bottom: 0.65rem;
    color: #07AABA;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.employer-funded__heading {
    max-width: 720px;
    margin: 0 0 1.1rem;
    color: #3E3065;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.employer-funded__text {
    max-width: 820px;
    font-size: 17px;
    line-height: 1.65;
}

.employer-funded__text p {
    margin: 0 0 1rem;
}

.employer-funded__text p:last-child {
    margin-bottom: 0;
}

.employer-funded__button {
    display: inline-block !important;
    width: auto !important;
    margin-top: 1.4rem;
    padding: 6px 30px !important;
    color: #fff !important;
    background-color: #3EB049 !important;
    border: 2px solid #fff !important;
    border-radius: 20px !important;
    font-size: calc(12px + 0.3vw) !important;
    font-weight: bold !important;
    line-height: 1.5 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: all .2s ease-in-out;
}

.employer-funded__button:hover,
.employer-funded__button:focus {
    color: #fff !important;
    text-decoration: none !important;
    transform: scale(1.05);
}


/* =========================================================
   RECRUITMENT
========================================================= */

.employer-recruitment {
    padding: 4.5rem 2rem;
    background: #3E3065;
}

.employer-recruitment__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
    align-items: center;
    gap: 6rem;
    max-width: 1180px;
    margin: 0 auto;
}


/* Recruitment - Left Column */

.employer-recruitment__content {
    max-width: 700px;
}

.employer-recruitment__eyebrow {
    margin-bottom: 0.65rem;
    color: #7EDDE4;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.employer-recruitment__heading {
    margin: 0 0 1.1rem;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.employer-recruitment__text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    line-height: 1.65;
}

.employer-recruitment__text p {
    margin: 0 0 1rem;
}

.employer-recruitment__text p:last-child {
    margin-bottom: 0;
}


/* Recruitment - Right Column */

.employer-recruitment__cta {
    max-width: 470px;
    padding-left: 3.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.employer-recruitment__logo {
    margin-bottom: 1.75rem;
}

.employer-recruitment__logo img {
    display: block;
    width: auto;
    max-width: 260px;
    max-height: 80px;
    object-fit: contain;
}

.employer-recruitment__cta-heading {
    max-width: 390px;
    margin: 0 0 0.85rem;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.employer-recruitment__cta-text {
    max-width: 430px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    line-height: 1.65;
}

.employer-recruitment__cta-text p {
    margin: 0 0 1rem;
}

.employer-recruitment__cta-text p:last-child {
    margin-bottom: 0;
}


/* Recruitment - CTA Button */

.employer-recruitment__button {
    display: inline-block !important;
    width: auto !important;
    margin-top: 1.5rem;
    padding: 7px 30px !important;
    color: #fff !important;
    background-color: #3EB049 !important;
    border: 2px solid #fff !important;
    border-radius: 20px !important;
    font-size: calc(12px + 0.3vw) !important;
    font-weight: bold !important;
    line-height: 1.5 !important;
    text-align: center;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: all .2s ease-in-out;
}

.employer-recruitment__button:hover,
.employer-recruitment__button:focus {
    color: #fff !important;
    text-decoration: none !important;
    transform: scale(1.05);
}


/* =========================================================
   EMPLOYER FAQs
========================================================= */

.employer-faq {
    padding: 4rem 2rem 4.25rem;
    background: #fff;
}

.employer-faq__inner {
    max-width: 1000px;
    margin: 0 auto;
}

.employer-faq__header {
    max-width: 820px;
    margin: 0 auto 2.25rem;
    text-align: center;
}

.employer-faq__eyebrow {
    margin-bottom: 0.65rem;
    color: #07AABA;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.employer-faq__heading {
    max-width: 780px;
    margin: 0 auto 0.9rem;
    color: #3E3065;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.employer-faq__intro {
    max-width: 720px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.65;
}

.employer-faq__intro p {
    margin: 0;
}

.employer-faq__grid {
    display: grid;
    gap: 0.65rem;
    max-width: 900px;
    margin: 0 auto;
}

.employer-faq__item {
    overflow: hidden;
    background: #f7f6f9;
    border: 1px solid rgba(62, 48, 101, 0.1);
    border-radius: 8px;
    transition:
        background-color .2s ease-in-out,
        border-color .2s ease-in-out;
}

.employer-faq__item:hover {
    border-color: rgba(62, 48, 101, 0.2);
}

.employer-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
    margin: 0;
    padding: 1.15rem 1.35rem;
    color: #3E3065;
    background: transparent;
    border: 0;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    text-align: left;
    cursor: pointer;
}

.employer-faq__question:hover,
.employer-faq__question:focus {
    color: #3E3065;
    background: #f1eef5;
}

.employer-faq__question:focus-visible {
    outline: 2px solid #07AABA;
    outline-offset: -2px;
}

.employer-faq__question[aria-expanded="true"] {
    background: #f1eef5;
}

.employer-faq__question-text {
    flex: 1;
}

.employer-faq__icon {
    position: relative;
    flex: 0 0 10px;
    width: 10px;
    height: 10px;
    margin-right: 0.2rem;
    border-right: 2px solid #3E3065;
    border-bottom: 2px solid #3E3065;
    transform: rotate(45deg);
    transition: transform .2s ease-in-out;
}

.employer-faq__question[aria-expanded="true"] .employer-faq__icon {
    transform: rotate(225deg);
}

.employer-faq__answer {
    padding: 0 1.35rem 1.35rem;
    background: #f1eef5;
}

.employer-faq__answer[hidden] {
    display: none;
}

.employer-faq__answer-inner {
    max-width: 800px;
    padding-top: 0.15rem;
    color: #333;
    font-size: 16px;
    line-height: 1.7;
}

.employer-faq__answer-inner p {
    margin: 0 0 0.85rem;
}

.employer-faq__answer-inner p:last-child {
    margin-bottom: 0;
}

.employer-faq__answer-inner a {
    color: #3E3065;
    font-weight: 700;
    text-decoration: underline;
}

.employer-faq__answer-inner a:hover,
.employer-faq__answer-inner a:focus {
    color: #07AABA;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .employer-intro {
        padding: 3.5rem 1.5rem;
    }

    .employer-members {
        padding: 3.75rem 1.5rem;
    }

    .employer-members__inner {
        gap: 3rem;
    }

    .employer-discounts {
        padding: 4rem 1.5rem;
    }

    .employer-team-learning {
        padding: 3.25rem 1.5rem;
    }

    .employer-team-learning__inner {
        grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.2fr);
        column-gap: 3rem;
    }

    .employer-funded {
        padding: 4rem 1.5rem;
    }

    .employer-funded__inner {
        max-width: 860px;
    }

    .employer-recruitment {
        padding: 4rem 1.5rem;
    }

    .employer-recruitment__inner {
        grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
        gap: 3.5rem;
    }

    .employer-recruitment__cta {
        padding-left: 2.5rem;
    }

    .employer-recruitment__logo img {
        max-width: 235px;
    }

    .employer-recruitment__button {
        white-space: normal;
    }

    .employer-faq {
        padding: 3.75rem 1.5rem 4rem;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .employer-intro {
        padding: 3rem 1rem;
    }

    .employer-intro__inner {
        text-align: left;
    }

    .employer-intro__heading {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        font-size: 26px;
        line-height: 1.3;
    }

    .employer-intro__text {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    .employer-members {
        padding: 3.25rem 1rem;
    }

    .employer-members__inner {
        display: block;
    }

    .employer-members__content {
        max-width: none;
    }

    .employer-members__heading {
        max-width: none;
        font-size: 26px;
        line-height: 1.3;
    }

    .employer-members__button {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .employer-members__check span,
    .employer-members__check a {
        display: block;
    }

    .employer-members__check a {
        margin-top: 0.2rem;
    }

    .employer-members__benefits {
        margin-top: 2.5rem;
        padding: 1rem 1.25rem;
    }

    .employer-members__benefit {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 1rem;
    }

    .employer-members__benefit-icon {
        width: 48px;
        height: 48px;
    }

    .employer-members__benefit-icon img {
        width: 26px;
        height: 26px;
    }

    .employer-discounts {
        padding: 3.25rem 1rem 3.5rem;
    }

    .employer-discounts__header {
        margin-bottom: 2rem;
    }

    .employer-discounts__heading {
        max-width: none;
        font-size: 26px;
        line-height: 1.3;
    }

    .employer-discounts__intro {
        max-width: none;
    }

    .employer-discounts__table .tablepress {
        min-width: 620px;
    }

    .employer-discounts__table .tablepress thead th,
    .employer-discounts__table .tablepress tbody td {
        padding: 0.85rem 1rem !important;
    }

    .employer-discounts__note {
        margin-top: 1rem;
        padding: 0.9rem 1rem;
    }

    .employer-team-learning {
        padding: 3rem 1rem;
    }

    .employer-team-learning__inner {
        display: block;
    }

    .employer-team-learning__header {
        max-width: none;
        transform: none;
    }

    .employer-team-learning__eyebrow {
        margin-bottom: 0.55rem;
    }

    .employer-team-learning__heading {
        max-width: none;
        margin-bottom: 1.25rem;
        font-size: 26px;
        line-height: 1.3;
    }

    .employer-team-learning__content {
        max-width: none;
    }

    .employer-team-learning__text {
        max-width: none;
        padding-top: 0;
    }

    .employer-team-learning__button {
        margin-top: 0.75rem;
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .employer-funded {
        padding: 3.25rem 1rem 3.5rem;
    }

    .employer-funded__inner {
        padding-left: 1.5rem;
    }

    .employer-funded__inner::before {
        width: 3px;
    }

    .employer-funded__heading {
        max-width: none;
        font-size: 26px;
        line-height: 1.3;
    }

    .employer-funded__text {
        max-width: none;
    }

    .employer-funded__button {
        margin-top: 1.25rem;
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .employer-recruitment {
        padding: 3.5rem 1rem;
    }

    .employer-recruitment__inner {
        display: block;
    }

    .employer-recruitment__content {
        max-width: none;
    }

    .employer-recruitment__heading {
        font-size: 26px;
        line-height: 1.3;
    }

    .employer-recruitment__text {
        max-width: none;
    }

    .employer-recruitment__cta {
        max-width: none;
        margin-top: 2.75rem;
        padding-top: 2.5rem;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.22);
        border-left: 0;
    }

    .employer-recruitment__logo {
        margin-bottom: 1.5rem;
    }

    .employer-recruitment__logo img {
        max-width: 225px;
    }

    .employer-recruitment__cta-heading {
        max-width: none;
        font-size: 22px;
    }

    .employer-recruitment__cta-text {
        max-width: none;
    }

    .employer-recruitment__button {
        margin-top: 1.25rem;
        padding-left: 24px !important;
        padding-right: 24px !important;
        white-space: normal;
    }

    .employer-faq {
        padding: 3.25rem 1rem 3.5rem;
    }

    .employer-faq__header {
        margin-bottom: 1.75rem;
        text-align: left;
    }

    .employer-faq__heading {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        font-size: 26px;
        line-height: 1.3;
    }

    .employer-faq__intro {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    .employer-faq__grid {
        gap: 0.55rem;
    }

    .employer-faq__question {
        gap: 1.25rem;
        padding: 1rem 1.1rem;
        font-size: 16px;
    }

    .employer-faq__answer {
        padding: 0 1.1rem 1.15rem;
    }

    .employer-faq__answer-inner {
        font-size: 15px;
    }

}