/* Local responsive refinements for the About page hero. */
html,
body {
    overflow-x: clip;
}

#wp--skip-link--target,
#wp--skip-link--target > .entry-content,
.entry-content > .wec-about {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.entry-content .wec-about,
.wp-block-post-content .wec-about,
.wp-site-blocks .wec-about {
    position: relative !important;
    left: 50% !important;
    width: 100vw !important;
    max-width: none !important;
    margin-right: -50vw !important;
    margin-left: -50vw !important;
    overflow: hidden !important;
}

.wec-about-hero {
    width: 100% !important;
    max-width: none !important;
    margin-top: 0 !important;
    min-height: 700px !important;
    grid-template-columns: minmax(0, 58%) minmax(0, 42%) !important;
}

.wec-about-hero-media {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 700px !important;
}

.wec-about-hero-media img {
    object-position: center;
}

/* Keep the original timeline, but separate adjacent sections with a subtle
   warm/cool background contrast instead of changing their components. */
.wec-about-timeline {
    background:
        radial-gradient(circle at 88% 8%, rgba(200, 40, 30, .055), transparent 30%),
        linear-gradient(125deg, #f3f0eb 0%, #ecece7 100%) !important;
}

.wec-about-timeline-track {
    border-top-color: #c9cbc6;
}

.wec-about-timeline-track strong {
    color: #c8281e;
}

.wec-about .wec-rm-section--certificates {
    background: #f4f7f6 !important;
    border-top: 1px solid #e4e9e7;
    border-bottom: 1px solid #e4e9e7;
}

@media (min-width: 1101px) {
    .wec-about-hero-copy {
        padding-left: clamp(112px, 7.5vw, 180px) !important;
    }
}

@media (max-width: 1100px) {
    .wec-about-hero {
        grid-template-columns: minmax(0, 56%) minmax(0, 44%) !important;
    }

    .wec-about-hero-copy {
        padding: 72px 46px !important;
    }

}

@media (max-width: 760px) {
    .wec-about-hero {
        min-height: auto !important;
        grid-template-columns: 1fr !important;
    }

    .wec-about-hero-copy {
        padding: 64px 22px 54px !important;
    }

    .wec-about-hero-media {
        min-height: 320px !important;
    }

}
