:root {
    --apm-job-blue: #0077d6;
    --apm-job-navy: #06182c;
    --apm-job-copy: #4d5b6c;
    --apm-job-border: #dae1e8;
}

.apm-job-intro,
.apm-job-intro * {
    box-sizing: border-box;
}

.apm-job-intro {
    background: #fff;
    font-family: Inter, Arial, sans-serif;
}

body.single-job #page {
    max-width: none;
}

body.single-job > .page-hero.title-bar {
    display: none;
}

body.single-job #content,
body.single-job #primary,
body.single-job #main {
    width: 100%;
    padding: 0;
    margin: 0;
}

.apm-job-intro__container {
    display: grid;
    grid-template-columns: minmax(0, 760px) 360px;
    gap: 48px;
    align-items: start;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-right: 56px;
    padding-left: 56px;
}

.apm-job-intro__copy {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.apm-job-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    color: var(--apm-job-blue);
    font-size: 13px;
    font-weight: 400;
    line-height: 16px;
}

.apm-job-breadcrumbs a,
.apm-job-breadcrumbs span {
    color: inherit;
    text-decoration: none;
}

.apm-job-breadcrumbs a:hover,
.apm-job-breadcrumbs a:focus-visible {
    text-decoration: underline;
}

.apm-job-intro__title {
    width: 100%;
    margin: 0;
    color: var(--apm-job-navy);
    font-size: 42px;
    font-weight: 700;
    line-height: 48px;
    letter-spacing: 0;
}

.apm-job-intro__excerpt {
    width: 100%;
    max-width: 720px;
    margin: 0;
    color: var(--apm-job-copy);
    font-size: 18px;
    font-weight: 400;
    line-height: 26px;
}

.apm-job-snapshot {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 28px;
    align-items: flex-start;
}

.apm-job-snapshot__item {
    display: flex;
    flex: 0 0 156px;
    gap: 8px;
    align-items: center;
}

.apm-job-icon {
    display: block;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
}

.apm-job-snapshot__item p {
    width: 120px;
    margin: 0;
    color: var(--apm-job-navy);
    font-size: 13px;
    font-weight: 600;
    line-height: 16px;
}

.apm-job-snapshot__item strong {
    font-weight: 600;
}

.apm-job-trust-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 360px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--apm-job-border);
    border-radius: 8px;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.08);
}

.apm-job-trust-card__heading {
    display: flex;
    gap: 12px;
    align-items: center;
}

.apm-job-trust-card__heading h2 {
    width: 256px;
    margin: 0;
    color: var(--apm-job-blue);
    font-size: 15px;
    font-weight: 700;
    line-height: 18px;
    text-transform: uppercase;
}

.apm-job-trust-card__proofs {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.apm-job-trust-card__proofs li {
    position: relative;
    min-height: 18px;
    margin: 0;
    padding-left: 28px;
    color: var(--apm-job-navy);
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

.apm-job-trust-card__proofs li::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
    color: var(--apm-job-blue);
    content: "\2713";
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
}

.apm-job-section {
    background: #fff;
    font-family: Inter, Arial, sans-serif;
}

.apm-job-section,
.apm-job-section * {
    box-sizing: border-box;
}

.apm-job-section__inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 64px 56px 0;
}

.apm-job-card {
    background: #fff;
    border: 1px solid var(--apm-job-border);
    border-radius: 8px;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.08);
}

.apm-job-card h2,
.apm-job-gallery h2,
.apm-job-story h2 {
    margin: 0;
    color: var(--apm-job-blue);
    font-weight: 700;
}

.apm-job-video__grid {
    display: grid;
    grid-template-columns: 720px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.apm-job-video__media {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.apm-job-video__embed {
    position: relative;
    width: 720px;
    height: 330px;
    overflow: hidden;
    background: #e5edf5;
    border-radius: 6px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.apm-job-video__embed iframe,
.apm-job-video__embed video {
    width: 100%;
    height: 100%;
    border: 0;
}

.apm-job-video__facade {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: inherit;
    background: #d6e1eb;
    border: 0;
    cursor: pointer;
}

.apm-job-video__poster {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.apm-job-video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 72px;
    height: 52px;
    background: var(--apm-job-blue);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    transform: translate(-50%, -50%);
    transition: transform 160ms ease, background-color 160ms ease;
}

.apm-job-video__play::after {
    position: absolute;
    top: 50%;
    left: 52%;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 17px solid #fff;
    content: "";
    transform: translate(-50%, -50%);
}

.apm-job-video__facade:hover .apm-job-video__play,
.apm-job-video__facade:focus-visible .apm-job-video__play {
    background: var(--apm-job-navy);
    transform: translate(-50%, -50%) scale(1.06);
}

.apm-job-video__facade:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -6px;
}

.apm-job-video__caption {
    margin: 0;
    color: var(--apm-job-copy);
    font-size: 14px;
    line-height: 19px;
}

.apm-job-team {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-self: end;
    width: 360px;
    padding: 32px;
}

.apm-job-team h2 {
    color: var(--apm-job-navy);
    font-size: 22px;
    line-height: 26px;
}

.apm-job-team__member {
    display: flex;
    gap: 14px;
    align-items: center;
}

.apm-job-team__identity {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    margin: 0;
    color: var(--apm-job-navy);
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
}

.apm-job-team__identity strong {
    font-weight: 700;
}

.apm-job-before-after__grid {
    display: grid;
    grid-template-columns: 480px 678px;
    gap: 40px;
    align-items: start;
}

.apm-job-comparison {
    display: grid;
    grid-template-columns: repeat(2, 232px);
    gap: 16px;
}

.apm-job-comparison__card {
    width: 232px;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
}

.apm-job-comparison__image {
    width: 232px;
    height: 236px;
    overflow: hidden;
    background: #e5edf5;
    border-radius: 6px 6px 0 0;
}

.apm-job-comparison__image img,
.apm-job-gallery__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.apm-job-comparison figcaption {
    width: 100%;
    padding: 12px;
    color: #fff;
    background: #041525;
    font-size: 14px;
    font-weight: 700;
    line-height: 14px;
    text-align: center;
}

.apm-job-comparison__card--after figcaption {
    background: var(--apm-job-blue);
}

.apm-job-story {
    display: grid;
    grid-template-columns: repeat(3, 226px);
    overflow: hidden;
    border: 1px solid var(--apm-job-border);
    border-radius: 8px;
}

.apm-job-story__card {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    column-gap: 8px;
    row-gap: 16px;
    align-items: start;
    width: 226px;
    padding: 26px 24px;
}

.apm-job-story__card > .apm-job-icon {
    grid-column: 1;
}

.apm-job-story__card + .apm-job-story__card {
    border-left: 1px solid var(--apm-job-border);
}

.apm-job-story h2 {
    grid-column: 2;
    width: auto;
    font-size: 20px;
    line-height: 24px;
}

.apm-job-story__copy {
    grid-column: 1 / -1;
    width: 178px;
    color: var(--apm-job-navy);
    font-size: 15px;
    line-height: 20px;
}

.apm-job-story__copy p {
    margin: 0;
}

.apm-job-installation__grid {
    display: grid;
    grid-template-columns: 410px 758px;
    gap: 32px;
    align-items: start;
}

.apm-job-equipment {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 410px;
    padding: 24px;
}

.apm-job-equipment h2,
.apm-job-gallery h2 {
    font-size: 22px;
    line-height: 26px;
}

.apm-job-equipment__item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.apm-job-equipment__item h3,
.apm-job-equipment__item p {
    width: 300px;
    margin: 0;
    color: var(--apm-job-navy);
    font-size: 14px;
}

.apm-job-equipment__item h3 {
    font-weight: 700;
    line-height: 15px;
}

.apm-job-equipment__item p {
    line-height: 17px;
}

.apm-job-gallery {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 758px;
    padding-top: 24px;
}

.apm-job-gallery__grid {
    display: grid;
    grid-template-columns: repeat(5, 140px);
    gap: 14px;
}

.apm-job-gallery__image {
    width: 140px;
    height: 126px;
    overflow: hidden;
    background: #e5edf5;
    border-radius: 6px;
}

.apm-job-gallery__button {
    align-self: flex-start;
    min-width: 224px;
    padding: 9px 18px;
    color: var(--apm-job-blue);
    border: 1.2px solid var(--apm-job-blue);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    line-height: 15px;
    text-align: center;
    text-decoration: none;
}

.apm-job-gallery__button:hover,
.apm-job-gallery__button:focus-visible {
    color: #fff;
    background: var(--apm-job-blue);
}

.apm-job-wrap__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    padding-bottom: 64px;
}

.apm-job-notes,
.apm-job-results {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
}

.apm-job-notes {
    width: 100%;
}

.apm-job-results {
    width: 100%;
}

.apm-job-notes h2,
.apm-job-results h2 {
    font-size: 23px;
    line-height: 28px;
}

.apm-job-notes__copy {
    width: 500px;
    color: var(--apm-job-navy);
    font-size: 15px;
    line-height: 21px;
}

.apm-job-notes__copy p {
    margin: 0 0 21px;
}

.apm-job-notes__copy p:last-child {
    margin-bottom: 0;
}

.apm-job-notes__credit {
    width: 500px;
    margin: 0;
    color: var(--apm-job-blue);
    font-size: 14px;
    font-weight: 700;
    line-height: 17px;
}

.apm-job-results__item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.apm-job-results__item p {
    width: 490px;
    margin: 0;
    color: var(--apm-job-navy);
    font-size: 15px;
    line-height: 19px;
}

@media (max-width: 1023px) {
    .apm-job-intro__container {
        grid-template-columns: minmax(0, 1fr);
        padding-right: 32px;
        padding-left: 32px;
    }

    .apm-job-trust-card {
        width: 100%;
        max-width: 760px;
    }

    .apm-job-section__inner {
        padding-right: 32px;
        padding-left: 32px;
    }

    .apm-job-video__grid,
    .apm-job-before-after__grid,
    .apm-job-installation__grid,
    .apm-job-wrap__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .apm-job-video__embed,
    .apm-job-video__media,
    .apm-job-gallery,
    .apm-job-gallery__grid {
        width: 100%;
    }

    .apm-job-video__embed {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .apm-job-team,
    .apm-job-equipment,
    .apm-job-notes,
    .apm-job-results {
        width: 100%;
    }

    .apm-job-story {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .apm-job-story__card,
    .apm-job-story h2,
    .apm-job-story__copy {
        width: 100%;
    }

    .apm-job-gallery__grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .apm-job-gallery__image {
        width: 100%;
    }

    .apm-job-notes__copy,
    .apm-job-notes__credit,
    .apm-job-results__item p {
        width: auto;
    }
}

@media (max-width: 599px) {
    .apm-job-intro__container {
        gap: 32px;
        padding-right: 20px;
        padding-left: 20px;
    }

    .apm-job-intro__title {
        order: 1;
        margin-top: 15px;
        font-size: 34px;
        line-height: 40px;
    }

    .apm-job-breadcrumbs {
        order: 2;
    }

    .apm-job-snapshot {
        order: 3;
    }

    .apm-job-intro__excerpt {
        font-size: 17px;
        line-height: 25px;
    }

    .apm-job-snapshot {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .apm-job-snapshot__item {
        min-width: 0;
    }

    .apm-job-snapshot__item p {
        width: auto;
    }

    .apm-job-section__inner {
        padding: 48px 20px 0;
    }

    .apm-job-comparison {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .apm-job-comparison__card,
    .apm-job-comparison__image {
        width: 100%;
    }

    .apm-job-comparison__image {
        height: auto;
        aspect-ratio: 232 / 236;
    }

    .apm-job-story {
        grid-template-columns: minmax(0, 1fr);
    }

    .apm-job-story__card + .apm-job-story__card {
        border-top: 1px solid var(--apm-job-border);
        border-left: 0;
    }

    .apm-job-gallery__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .apm-job-gallery__image {
        height: auto;
        aspect-ratio: 140 / 126;
    }

    .apm-job-wrap__grid {
        padding-bottom: 48px;
    }
}

@media (max-width: 399px) {
    .apm-job-snapshot {
        grid-template-columns: minmax(0, 1fr);
    }
}
