/* Onpec additions on top of the Educeet template (assets/css/main.css). */

/* Eyebrow label above the hero headline. */
.onpec-hero-badge {
    display: inline-block;
    margin-bottom: 25px;
    padding: 10px 18px;
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--it-common-white);
    font-family: var(--it-ff-spartan-medium);
    font-size: 15px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* The French label is a little wider than the hero text column on desktop and wrapped onto a second line; it may run slightly past the column's edge to stay on one. Below 992px the column is full width, so it fits (or wraps naturally on phones). */
@media (min-width: 992px) {
    .onpec-hero-badge {
        white-space: nowrap;
    }
}

/* The French headline runs to five lines where the English one takes four, which made the French hero taller and pushed the pill against the menu bar. A slightly smaller size keeps it to four lines, so both languages share one hero height. */
@media (min-width: 1400px) {
    html[lang="fr"] .it-hero-style-2 .it-hero-title {
        font-size: 52px;
    }
}

/* University logos in the hero strip: grey until hovered. Every card is the same size and the logo
   is fitted inside it, so the row stays even whatever shape each logo is. The template's card has a
   wide right padding for a flag and a name; logos need even padding instead. */
.it-brand-5-item.onpec-uni {
    justify-content: center;
    width: 250px;
    height: 72px;
    padding: 14px 24px;
}

.it-brand-5-item .onpec-uni-logo {
    display: block;
    flex: 0 1 auto;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 40px;
    margin-right: 0;
    border-radius: 0;
    filter: grayscale(1) opacity(0.65);
    transition: filter 0.25s ease;
}

.onpec-uni:hover .onpec-uni-logo {
    filter: none;
}

.it-hero-ratting-content small {
    display: block;
    margin-top: 2px;
    color: #fff;
    font-size: 14px;
}

/* The template's hand-drawn squiggle behind a phrase. A background image, unlike the template's
   absolutely positioned shape, follows the phrase when it wraps onto a second line. */
.onpec-title-mark {
    padding: 0 4px 6px;
    background: url("../img/title-squiggle.svg") no-repeat center bottom / 100% 55%;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

/* Keep the hero button's label on one line even when the rating box beside it is wide. */
.it-hero-bnt {
    flex: 0 0 auto;
}

.it-hero-bnt .it-btn-yellow span span {
    white-space: nowrap;
}

/* The hero photo and the Ontario outline behind it share one box, so the outline scales and
   moves with the photo at every width. The template alone lets the photo stay 828px wide
   above 1200px and shrink below that; the box does the same. */
.onpec-hero-art {
    position: relative;
    width: 828px;
}

/* The photo is framed tighter than the template's and looks too large at 828px. Scaling the box, not
   resizing it, keeps the hero's height, which the box sets, and anchors the people to the bottom right. */
@media (min-width: 1200px) {
    .onpec-hero-art {
        transform: translateY(0) scale(0.945);
        transform-origin: right bottom;
    }
}

@media (max-width: 1199px) {
    .onpec-hero-art {
        width: 100%;
    }
}

/* The template nudges the whole thumb sideways with a CSS transform, but the parallax script replaces
   that transform with its own the first time the page scrolls, so the photo jumped sideways then. The
   thumb keeps no sideways transform and the nudge (and the offset that keeps the man's arm and book
   in frame) is the photo box's own, which the script never touches. */
.it-hero-style-2 .it-hero-thumb {
    transform: none;
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .it-hero-style-2 .it-hero-thumb {
        transform: none;
    }
}

@media (min-width: 1200px) {
    .onpec-hero-art {
        left: -40px;
    }
}

.onpec-hero-art .onpec-hero-photo {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.onpec-hero-art .onpec-hero-map {
    position: absolute;
    top: 7.5%;
    left: calc(4.75% + 10px);
    width: 94.5%;
    max-width: none;
    opacity: 0.3;
    pointer-events: none;
}

/* The logo carries the consortium's full name under the wordmark, so it is sized by height and kept tall enough to read. */
.it-header-logo img,
.itoffcanvas__logo img,
.it-footer-widget-logo img {
    width: auto;
    height: 46px;
}
.it-footer-widget-logo img {
    height: 84px;
}

/* University strip: three identical sets of cards slide left by exactly one set's width (a third of
   the track), so the loop has no seam and still fills screens up to about 4K wide. Plain CSS (no carousel script), so pausing on hover cannot leave it stuck. */
.onpec-marquee {
    position: relative;
    overflow: hidden;
    padding: 10px 0 30px;
    /* only the cards react to the pointer, not the padding around them */
    pointer-events: none;
}

.onpec-marquee-track {
    display: flex;
    width: max-content;
    animation: onpec-marquee 64s linear infinite;
}

.onpec-marquee:has(.onpec-marquee-item:hover) .onpec-marquee-track,
.onpec-marquee[data-paused] .onpec-marquee-track {
    animation-play-state: paused;
}

/* A focused logo holds the strip still (the script places it in view) */
.onpec-marquee[data-focus] .onpec-marquee-track {
    animation: none;
}

/* the space between cards belongs to the card on its left, so crossing a gap doesn't restart the strip */
.onpec-marquee-item {
    flex: 0 0 auto;
    padding-right: 20px;
    pointer-events: auto;
}

.onpec-marquee-item a {
    display: block;
}

.onpec-marquee-item a:focus-visible {
    outline: 2px solid var(--it-theme-1);
    outline-offset: 4px;
}

@keyframes onpec-marquee {
    to {
        transform: translateX(-33.3333%);
    }
}

/* The template's second size, at its breakpoint: smaller cards, and a shorter loop so the strip moves at the same pace
   (64s for 9 cards of 250px + 20px gap, so 52s for 9 of 200px + 20px). */
@media (max-width: 767px) {
    .it-brand-5-item.onpec-uni {
        width: 200px;
        height: 60px;
        padding: 12px 18px;
    }

    .it-brand-5-item .onpec-uni-logo {
        max-height: 32px;
    }

    .onpec-marquee-track {
        animation-duration: 52s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .onpec-marquee {
        overflow-x: auto;
    }

    .onpec-marquee-track {
        animation: none;
    }
}

/* The template's decorative shape images overlap neighbouring sections (the About section's shape
   covers the left of the university strip) and would otherwise swallow hovers and clicks. */
img[class*="-shape-"] {
    pointer-events: none;
}

/* Pause / play control for the university strip (WCAG 2.2.2: moving content needs a way to stop it). */
.onpec-marquee-toggle {
    position: absolute;
    right: 16px;
    bottom: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 1px solid rgba(42, 126, 169, 0.35);
    border-radius: 50%;
    background-color: var(--it-common-white);
    color: var(--it-theme-1);
    cursor: pointer;
    pointer-events: auto;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.onpec-marquee-toggle:hover {
    border-color: var(--it-theme-1);
    background-color: rgba(42, 126, 169, 0.08);
}

.onpec-marquee-toggle:focus-visible {
    outline: 2px solid var(--it-theme-1);
    outline-offset: 2px;
}

.onpec-marquee-toggle .onpec-icon-play,
.onpec-marquee[data-paused] .onpec-marquee-toggle .onpec-icon-pause {
    display: none;
}

.onpec-marquee[data-paused] .onpec-marquee-toggle .onpec-icon-play {
    display: block;
}

@media (prefers-reduced-motion: reduce) {
    .onpec-marquee-toggle {
        display: none;
    }
}

/* The template gives the back-to-top button a 1s transition on every property, so its hover and press
   feedback lag. Feedback is now immediate; only the slide in and out keeps a short transition. */
.scroll-top {
    transition: bottom 0.3s ease, background-color 0.1s ease, transform 0.1s ease;
}

.scroll-top {
    touch-action: manipulation;
}

.scroll-top:hover {
    background-color: #1f6a98;
}

.scroll-top:active {
    transform: scale(0.9);
    transition-duration: 0s;
}

/* Language switch in the header */
.onpec-lang{margin-right:20px;font-weight:600;color:var(--it-common-black, #1f2432);text-decoration:underline;text-underline-offset:3px}
.onpec-lang:hover,.onpec-lang:focus-visible{color:var(--it-theme-1, #2a7ea9)}

/* Requirements: the photo fills the template's rounded photo slot. */
.onpec-requirements .it-choose-5-thumb img{display:block;width:100%;height:auto;border-radius:30px}


/* The template title-cases section eyebrows; both languages use sentence case. */
.it-section-subtitle{text-transform:none}
.it-footer-widget-title{text-transform:none}

.onpec-requirements .it-choose-5-list-content .title span{color:var(--it-theme-1, #2a7ea9)}
.onpec-requirements .it-choose-5-list-content .title{padding-left:40px}
@media (max-width: 767px){.onpec-requirements .it-choose-5-list-content .title{padding-left:32px}}

/* Icons already separate the three requirements; drop the template's divider lines. */
.onpec-requirements .it-choose-5-list-box ul li{border-top:0;padding-top:10px}

.onpec-requirements .it-choose-5-right{padding-block:50px}


/* University cards: the template's career card is a single zero-height link, so
   give the link a real button, keep it at the card's foot, and lift on hover. */
.onpec-uni-card{display:flex;flex-direction:column;align-items:flex-start;transition:box-shadow .2s ease}
/* Hover is the course card's: a soft shadow and no movement. Cards that only list an email (onpec-uni-card-still) do not react, since nothing on them is clickable as a whole. */
.onpec-uni-card:not(.onpec-uni-card-still):hover{box-shadow:0 20px 30px rgba(1,6,20,.1)}
/* Leave room above a card or the finder when the page jumps to it, so the sticky header does not cover it. */
.onpec-uni-card,#finder{scroll-margin-top:120px}
.onpec-uni-card .it-career-meta{margin-bottom:40px;color:#61616a}
.onpec-uni-card .it-career-meta:has(+ .onpec-support-contact){margin-bottom:28px}
.onpec-uni-card .it-career-meta + .onpec-support-contact{margin-bottom:36px}
.onpec-uni-card .it-career-meta + .onpec-support-contact li:last-child{margin-bottom:0}
.onpec-uni-card .it-career-meta i{margin-right:6px;color:var(--it-theme-1, #2a7ea9)}
.onpec-uni-card .it-btn-yellow{height:auto;padding:12px 22px;margin-top:auto}
@media (prefers-reduced-motion: reduce){.onpec-uni-card{transition:none}}
.onpec-uni-card .it-btn-yellow > i{margin-left:8px;color:#fff}
.onpec-uni-card .it-btn-yellow > i i{color:#fff;font-size:14px}

/* Template: .style-2 (square corners) repaints the label green, overriding .yellow-style. */
.it-section-subtitle.yellow-style.style-2{border-color:rgba(248,198,47,.3);background-color:rgba(248,198,47,.1)}


/* Logo strip at the top of each university card: fixed height so wide wordmarks
   and tall crests line up. */
.it-career-item.onpec-uni-card > .onpec-uni-card-logo{display:flex;align-items:center;height:52px;margin-bottom:26px}
.onpec-uni-card-logo img{display:block;width:auto;height:auto;max-width:100%;max-height:52px}
.onpec-uni-card .it-career-meta{display:flex;flex-wrap:wrap;gap:6px 0}

/* Keep the template's dotted shape (which rises above the section) clear of the panel above. */
.onpec-pathways{margin-top:80px}

/* On the dark closing banner the hero squiggle's 60% opacity turns olive; use the solid yellow. */
.it-cta-4-content .onpec-title-mark{background-image:url("../img/title-squiggle-solid.svg")}

/* Expectation cards: the template's icon slot holds a Font Awesome glyph. */
.onpec-expect-card .it-choose-2-icon span i{font-size:64px;line-height:1;color:var(--it-theme-1, #2a7ea9)}
.it-about-list-box li > span > i{margin-right:10px;color:var(--it-theme-1, #2a7ea9)}

/* Program intro: the home hero's province outline and nurses on a soft panel. */
.onpec-intro-scene{display:block;width:100%;height:auto;border-radius:30px}
/* The photo fills the height of the text beside it, so its top and bottom line up with the heading and the button however many points the list has */
@media (min-width: 992px){.onpec-intro-row > div:first-child{display:flex}.onpec-intro-row .onpec-intro-scene{height:auto;min-height:100%;object-fit:cover}}
/* A row of square photos between sections: pictures of the people the program serves, without a large image competing with the text */
.onpec-photo-strip-area{margin-top:-90px;padding-bottom:80px}
.onpec-photo-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.onpec-photo-strip img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:20px}
@media (max-width: 991px){.onpec-photo-strip{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width: 575px){.onpec-photo-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
.it-about-list-box.onpec-intro-list ul li span{font-size:20px;line-height:1.4;padding-left:32px}
/* The check sits on the first line's centre, not above it; the template's fixed offset assumes a 24px single-line label */
.it-about-list-box.onpec-intro-list ul li span i{top:.2em;height:auto;line-height:1}

/* Course accordion bodies */
.onpec-course-list{list-style:none;margin:0 0 24px;padding:0}
.onpec-course-list li{position:relative;padding-left:26px;margin-bottom:10px}
.onpec-course-list li i{position:absolute;left:0;top:4px;color:var(--it-theme-1, #2a7ea9)}
.onpec-course-body h4{font-size:18px;margin:22px 0 12px}
.onpec-course-body > p:first-child{margin-bottom:0}

/* Indigenous supports cards */
.onpec-support-label{margin:0 0 10px;font-weight:600;color:var(--it-common-black, #1f2432)}
.onpec-support-contact{list-style:none;margin:0 0 24px;padding:0}
.onpec-support-contact li{margin-bottom:8px}
.onpec-support-contact i{width:18px;margin-right:2px;color:var(--it-theme-1, #2a7ea9)}
.onpec-support-contact a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.onpec-uni-card .onpec-uni-links{margin-top:auto;display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.onpec-uni-card .onpec-uni-links .it-btn-yellow{margin-top:0}
.onpec-uni-card .onpec-uni-links .it-btn-yellow{align-self:flex-start;max-width:100%;text-align:left}
.onpec-uni-card .onpec-uni-links .it-btn-yellow span{line-height:1.35}

/* Placements: highlighted figure beside the list. */
.onpec-stat-panel{display:flex;flex-direction:column;justify-content:center;min-height:300px;padding:48px;border-radius:30px;color:#fff;background:var(--it-theme-1, #2a7ea9) linear-gradient(160deg, rgba(248,198,47,.22), rgba(255,255,255,0) 55%)}
.onpec-stat-number{font-size:96px;line-height:1;font-weight:700;font-family:var(--it-ff-spartan-bold, inherit)}
.onpec-stat-label{margin-top:14px;font-size:24px;line-height:1.3}
.onpec-stat-sub{margin-top:6px;opacity:.8}

/* Region map */
.onpec-map{margin:0;padding:24px;border-radius:30px;background:#f0f4f7;position:relative}
.onpec-map figcaption{position:absolute;top:18px;left:26px;font-weight:600;color:var(--it-common-black, #1f2432)}
.onpec-map-svg{display:block;width:100%;height:auto}
.onpec-map-base{fill:#fff;stroke:#c9d3da;stroke-width:1.5;vector-effect:non-scaling-stroke}
.onpec-region{fill:#6fa6cc;fill-opacity:.55;stroke:#fff;stroke-width:1.5;stroke-linejoin:round;vector-effect:non-scaling-stroke;transition:fill-opacity .15s ease;cursor:pointer}
.onpec-region:hover{fill-opacity:.85}
.onpec-region.is-selected,.onpec-map a:focus-visible .onpec-region{fill:#2a7ea9;fill-opacity:1;stroke:#1f2432;stroke-width:2}
.onpec-map a:focus-visible{outline:none}
@media (prefers-reduced-motion: reduce){.onpec-region{transition:none}}

/* Preceptors */
.onpec-role-list{margin:0 0 20px}
.it-tuition-item.active .onpec-course-list li{color:#fff}
.it-tuition-item.active .onpec-course-list li i{color:#fff}
.it-tuition-item.active .onpec-role-note{color:#fff}
.onpec-benefit-title{margin-bottom:0;font-size:20px;line-height:1.45}
.onpec-support-band .it-feature-2-icon span i{font-size:56px;line-height:1;color:#fff}

/* Jobs */
.onpec-job-search{padding:28px 28px 8px;border-radius:24px;background:#f0f4f7}
.onpec-job-search label{display:block;margin-bottom:8px;font-weight:600;color:var(--it-common-black, #1f2432)}
.onpec-job-search .form-control,.onpec-job-search .form-select{height:52px;border-radius:10px}
.onpec-job-remote{display:flex;align-items:center;gap:10px;min-height:52px;padding-left:0}
.onpec-job-remote .form-check-input{margin:0;float:none}
.onpec-job-remote label{margin:0}
.onpec-job-search .it-btn-yellow{height:52px;padding-top:0;padding-bottom:0}
.onpec-job-count{font-weight:600}
.onpec-job-reset{text-decoration:underline;text-underline-offset:3px;color:var(--it-theme-1, #2a7ea9)}
.onpec-job-card{display:flex;flex-direction:column;align-items:flex-start}
.onpec-job-card .it-career-meta{margin-bottom:20px;display:flex;flex-wrap:wrap;gap:6px 0}
.onpec-job-card .it-career-meta i{margin-right:6px;color:var(--it-theme-1, #2a7ea9)}
.onpec-job-card .it-btn-yellow{height:auto;padding:12px 22px;line-height:1.4}
.onpec-job-foot{display:flex;flex-wrap:wrap;gap:14px 24px;align-items:center;justify-content:space-between;width:100%;margin-top:auto}
/* On the Home page the three cards are narrow, and a date beside the link wrapped on some cards and not others: the date always sits above the link there */
.onpec-home-jobs .onpec-job-foot{flex-direction:column;align-items:flex-start}
.onpec-job-posted{color:#61616a;font-size:14px}
.onpec-job-empty{padding:60px 20px;border-radius:24px;background:#f0f4f7}
.onpec-job-remote .form-check-input{width:22px;height:22px;flex:0 0 22px;border-radius:5px}
.onpec-job-card .it-btn-yellow > i{margin-left:8px;color:#fff}
.onpec-job-card .it-btn-yellow > i i{color:#fff;font-size:14px}
.onpec-job-search .onpec-job-remote input.form-check-input{width:22px;min-width:22px;height:22px;padding:0;appearance:auto}
.onpec-job-search input{text-transform:none}

/* NP careers */
.onpec-careers-panel{padding:56px 48px;border-radius:30px;background:#f0f4f7}
.onpec-careers-points{list-style:none;margin:0;padding:0}
.onpec-careers-points li{display:flex;gap:18px;align-items:flex-start;padding:16px 0;line-height:1.5}
.onpec-careers-points li + li{border-top:1px solid rgba(42, 126, 169,.15)}
.onpec-careers-icon{flex:0 0 48px;width:48px;height:48px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#fff;color:var(--it-theme-1, #2a7ea9);font-size:22px}
.onpec-video-card{height:100%}
.onpec-video-poster{position:relative;aspect-ratio:16/9;border-radius:20px;overflow:hidden;background:var(--it-theme-1, #2a7ea9) linear-gradient(150deg, rgba(248,198,47,.28), rgba(255,255,255,0) 60%) center/cover no-repeat}
.onpec-video-play{border:0;cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center;width:68px;height:68px;line-height:1}
.onpec-video-title{margin:18px 0 6px;font-size:22px}
.onpec-video-sub{margin:0;color:#61616a}
/* The graduates' stories: the large video poster, then the name, role and a quote, with the transcript folded underneath.
   The cards share three rows (poster, details, transcript) so the quotes and the transcript lines sit level whatever the
   quote's length; opening a transcript makes the third row taller for both, but the other card has no box to show it. */
.onpec-story-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:35px;row-gap:0;align-items:start}
.onpec-story-card{display:grid;grid-row:span 3;grid-template-rows:subgrid;row-gap:0;margin-bottom:35px}
.onpec-story-main{display:contents}
.onpec-story-media{position:relative;aspect-ratio:16/9;border-radius:20px;overflow:hidden;background:var(--it-theme-1, #2a7ea9) linear-gradient(150deg, rgba(248,198,47,.28), rgba(255,255,255,0) 60%) center/cover no-repeat}
.onpec-story-body{margin-top:20px}
.onpec-story-name{margin:0 0 4px;font-size:22px}
.onpec-story-role{margin:0 0 14px;color:#5a6570;font-size:15px;line-height:1.4}
.onpec-story-quote{margin:0;padding:0;border:0}
.onpec-story-quote p{margin:0;font-size:18px;line-height:1.55;color:#4f5b66}
.onpec-story-quote .onpec-story-translated{margin-top:6px;font-size:13px;color:#5a6570}
.onpec-transcript{margin-top:16px;padding-top:12px;border-top:1px solid rgba(42,126,169,.18)}
.onpec-transcript summary{cursor:pointer;font-weight:600;color:var(--onpec-text-blue, #226a8f)}
@media (max-width:767px){.onpec-story-grid{grid-template-columns:minmax(0,1fr)}}
.onpec-transcript-text{margin-top:12px}
.onpec-transcript-text p{margin:0 0 12px;font-size:15px;line-height:1.65;color:#3b4350}
.onpec-transcript-text .onpec-transcript-note{font-style:italic;color:#5a6570}
/* The graduates' stories in the template's testimonial look: poster and play button beside the details, the transcript in a dialog */
.onpec-testimonial .it-testimonial-2-item{display:flex;height:100%}
.onpec-testimonial .it-testimonial-2-item > .row{flex:1 1 auto;width:100%}
.onpec-testimonial .it-testimonial-2-avatar-name{font-size:22px}
.onpec-testimonial .it-testimonial-2-avatar-info span{font-size:15px;line-height:1.4;color:#5a6570}
.onpec-testimonial blockquote.it-testimonial-2-text{margin:0;padding:0;border:0}
.onpec-testimonial .it-testimonial-2-text p{color:#4f5b66;font-size:17px;line-height:1.6}
/* The quote shrinks at the same widths as in the template, which sets 14px, 13px and 14px there; these run a point or two larger because the quotes are longer */
@media (min-width:1200px) and (max-width:1399px){.onpec-testimonial .it-testimonial-2-text p{font-size:15px}}
@media (min-width:992px) and (max-width:1199px){.onpec-testimonial .it-testimonial-2-text p{font-size:14px}}
@media (max-width:767px){.onpec-testimonial .it-testimonial-2-text p{font-size:15px}}
.onpec-testimonial .onpec-story-translated{font-size:13px;color:#5a6570}
.onpec-testimonial .it-testimonial-2-item:hover .it-testimonial-2-thumb img{transform:none}
/* The picture fills whatever height the card has, whatever the picture's own shape, so the two cards match */
.onpec-testimonial .it-testimonial-2-item > .row > .col-sm-5{display:flex}
.onpec-testimonial .it-testimonial-2-thumb{position:relative;flex:1 1 0;min-width:0;min-height:290px}
.onpec-testimonial .it-testimonial-2-thumb img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:50% 12%}
/* On a phone the card stacks and the picture is a square across its width */
@media (max-width:575px){.onpec-testimonial .it-testimonial-2-thumb{height:auto;min-height:0;aspect-ratio:1/1}}
/* The button under a home page section's cards sits a little apart from them */
.onpec-more-link{margin-top:30px}
.onpec-transcript-open{padding:0;border:0;background:none;color:var(--onpec-text-blue, #226a8f);font-size:15px;font-weight:600;text-decoration:underline;cursor:pointer}
@media (max-width:575px){.onpec-testimonial .it-testimonial-2-content{padding:20px}}
/* The dialog itself scrolls, with its title row pinned, so the arrow keys and Page Down scroll it from the close button, where focus starts */
.onpec-transcript-dialog{width:min(760px,92vw);max-height:86vh;padding:0;border:0;border-radius:16px;background:#fff;color:#1f2432;overflow:auto}
.onpec-transcript-dialog[open]{display:flex;flex-direction:column}
.onpec-transcript-dialog::backdrop{background:rgba(1,6,20,.75)}
.onpec-transcript-head{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px 18px 28px;border-bottom:1px solid rgba(42,126,169,.2);background:#fff}
.onpec-transcript-head h2{margin:0;font-size:22px}
.onpec-transcript-close{flex:0 0 auto;width:40px;height:40px;border:0;border-radius:50%;background:#eef2f6;color:#1f2432;cursor:pointer}
.onpec-transcript-body{padding:22px 28px 30px}
.onpec-transcript-body p{margin:0 0 14px;font-size:16px;line-height:1.7;color:#3b4350}
.onpec-transcript-body .onpec-transcript-note{font-style:italic;color:#5a6570}
.onpec-video-dialog{width:min(960px,92vw);padding:0;border:0;border-radius:16px;background:#000;overflow:hidden}
.onpec-video-dialog::backdrop{background:rgba(1,6,20,.75)}
.onpec-video-frame{aspect-ratio:16/9;max-height:80vh;margin:0 auto}
.onpec-video-frame iframe{display:block;width:100%;height:100%;border:0}
.onpec-video-close{position:absolute;top:10px;right:10px;z-index:1;width:40px;height:40px;border:0;border-radius:50%;background:#fff;color:#1f2432;cursor:pointer}
@media (max-width:767px){.onpec-careers-panel{padding:32px 22px}}

/* About */
.onpec-logo-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.onpec-logo-grid li{display:flex;align-items:center;justify-content:center;height:96px;padding:18px;border-radius:16px;background:#f0f4f7}
.onpec-logo-grid img{max-width:100%;max-height:46px;width:auto;height:auto}
.onpec-leader-row{padding:26px 0;border-top:1px solid rgba(42, 126, 169,.15)}
.onpec-leader-row:first-of-type{border-top:0}
.onpec-leader-course{font-size:24px;margin:0;line-height:1.3}
.onpec-leader-card{display:flex;flex-direction:column;align-items:flex-start}
.onpec-leader-avatar{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;margin-bottom:18px;border-radius:50%;background:var(--it-theme-1, #2a7ea9);color:#fff;font-weight:600;font-size:18px}
.it-career-item.onpec-leader-card > .onpec-leader-avatar{display:inline-flex;margin-bottom:18px}
.onpec-leader-card .title{margin-bottom:6px}
.onpec-leader-role{margin:0 0 14px;color:#61616a}
.onpec-leader-card details{width:100%}
.onpec-leader-card summary{cursor:pointer;font-weight:600;color:var(--onpec-text-blue)}
.onpec-leader-card details p{margin:12px 0 0;font-size:15px;line-height:1.6}
@media (max-width:575px){.onpec-logo-grid{grid-template-columns:repeat(2,1fr)}}

/* Menu: the current page */
.it-menu-content ul li a.is-current{color:var(--it-theme-1, #2a7ea9);font-weight:600}
/* In the dropdown the template's own link colour outranks the rule above, so the current page gets the same look as hover, held in place */
.it-header-menu nav ul li .submenu li a.is-current{padding-left:20px;color:var(--it-theme-1, #2a7ea9)}
.it-header-menu nav ul li .submenu li a.is-current::before{width:15px;visibility:visible;opacity:1}
.it-menu-content > ul > li > a{text-transform:none}

/* Home */
a.onpec-path-link{display:block;color:inherit;text-decoration:none}
.onpec-path-more{display:inline-block;margin-top:14px;font-weight:600;color:#fff}
.onpec-path-link:hover .onpec-path-more,.onpec-path-link:focus-visible .onpec-path-more{text-decoration:underline;text-underline-offset:4px}
.onpec-path-link:focus-visible{outline:2px solid #f8c62f;outline-offset:4px;border-radius:12px}
.onpec-photo-frame{overflow:hidden;border-radius:30px}
.onpec-photo-frame img{display:block;width:100%;height:auto}

/* Log in links: top bar on wide screens, slide-out menu on small ones */
.onpec-login-links{gap:22px;font-size:14px}
.onpec-login-links a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.onpec-login-links a:hover,.onpec-login-links a:focus-visible{color:var(--it-theme-5, #f8c62f)}
.onpec-login-links i{font-size:11px;margin-left:3px}
.onpec-login-label{color:rgba(255,255,255,.7)}
.onpec-offcanvas-links{list-style:none;margin:0;padding:0}
.onpec-offcanvas-links li{margin-bottom:12px}
.onpec-offcanvas-links a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.it-header-menu > nav > ul > li > a,.it-header-menu nav ul li .submenu li a,.it-menu-mobile ul li a{text-transform:none}

/* Accessibility ------------------------------------------------------------ */

/* The template removes every focus outline; give keyboard users a ring that shows on light and dark grounds. */
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:2px solid #1f2432;outline-offset:2px;box-shadow:0 0 0 5px #f8c62f}

/* Dropdown menus open for keyboard focus as well as for the mouse. */
.it-header-menu nav ul li:focus-within > .submenu{visibility:visible;opacity:1;transition-duration:.2s;transform:perspective(300px) rotateX(0deg)}

/* Skip link: off screen until it is focused. */
.onpec-skip{position:fixed;top:8px;left:8px;z-index:100000;padding:12px 18px;border-radius:8px;background:#fff;color:#1f2432;font-weight:600;transform:translateY(-200%)}
.onpec-skip:focus{transform:none}

/* Body text that clears AA contrast on the light gray panels as well as on white. */
:root{--it-text-body:#586069}

/* Small controls get a 24px minimum target. */
.onpec-lang{display:inline-block;padding:2px 0;min-height:24px;line-height:20px}
.it-breadcrumb-list a{display:inline-block;padding:4px 0;min-height:24px}

/* Visitors who ask for less motion get none (the logo strip handles itself above). */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

/* Logo links are exactly as tall as the logo, so the target is not a thin text line. */
.it-header-logo a,.it-footer-widget-logo a,.itoffcanvas__logo a{display:inline-block;line-height:0}


/* Home paths: gold line icons, as in the template's feature band */
.onpec-gold-icons .it-feature-2-icon span i{color:#F8C62F;font-size:60px}

/* The torn-edge artwork is 1336x316. These bands are taller, so "cover" zoomed it and cropped the
   left and right edges straight. Stretch it to the band instead so all four edges stay torn. */
.it-feature-2-wrap.onpec-support-band{background-size:100% 100%}

/* Course leader headshots: the photo replaces the initials circle */
.onpec-leader-photo{display:block;width:140px;height:140px;margin-bottom:20px;border-radius:50%;object-fit:cover;object-position:center 22%}

.onpec-leader-summary{margin:0 0 14px;color:#3f4650;font-weight:600;line-height:1.45}
.onpec-leader-role{margin-bottom:6px}

/* Same-height leader cards: cards fill their row, and the summary reserves two lines so a one-line
   summary doesn't leave its card shorter than the rest. */
.onpec-leader-summary{min-height:calc(2 * 1.45em)}
@media (min-width:576px) and (max-width:1399px){.onpec-leader-summary{min-height:calc(3 * 1.45em)}}
@media (min-width:992px) and (max-width:1199px){.onpec-leader-summary{min-height:calc(4 * 1.45em)}}

/* Course icon: faint, the same size as the course name, to its left */
.onpec-leader-course{display:flex;align-items:flex-start;gap:12px}
.onpec-course-icon{flex:0 0 30px;width:30px;text-align:center;font-size:24px;line-height:1.3;color:#a3b3b3}
.onpec-course-icon i{font-weight:400}

/* Hero: the pass-rate note lines up with the top edge of the button, however many lines it runs to */
.onpec-hero-actions{align-items:flex-start}
.onpec-hero-actions .it-hero-ratting-content span{display:block;margin-top:-2px;line-height:1.35}

.onpec-course-desc{margin:0 0 24px;color:#586069;line-height:1.6}

/* Course page: the closing outcome line, the facts list and the previous/next links */
.onpec-course-focus{font-size:18px;line-height:1.5;font-weight:600;color:var(--it-common-black, #0f1b17);margin:0 0 14px}
.onpec-course-after{padding-left:20px;border-left:3px solid #F8C62F}
.onpec-course-after-label{display:block;margin-bottom:4px;font-size:14px;letter-spacing:.04em;color:#586069}
.onpec-course-after p{margin:0;font-size:18px;line-height:1.55;color:var(--it-common-black, #0f1b17)}
/* The template's sidebar sits over a tall banner; here it starts below our short one and stays in view while the page scrolls. */
.onpec-course-aside{position:sticky;top:120px;margin-top:0}
.it-course-details-area .it-course-sidebar{margin-top:0}
.it-course-sidebar .course-info{padding:0 30px 30px}
.it-course-sidebar .course-info .onpec-course-facts li,.it-course-sidebar .course-info .onpec-course-facts li:not(:last-child){border-bottom:0;display:block;position:relative;padding:0 0 0 26px;margin-bottom:14px;border:0;font-size:16px;line-height:1.5;color:#586069}
.it-course-sidebar .course-info .onpec-course-facts li > i{position:absolute;left:0;top:4px;color:var(--it-theme-1, #2a7ea9)}
.it-course-sidebar .course-info .onpec-course-facts li > span{display:inline;font-family:inherit;font-weight:600;color:var(--it-common-black, #0f1b17)}
.it-course-sidebar .it-course-sidebar-thumb{padding:15px 15px 20px}
.it-course-sidebar .it-course-sidebar-thumb img{border-radius:10px;aspect-ratio:3/2;object-fit:cover}
.onpec-course-facts{list-style:none;margin:0;padding:0}
.it-breadcrumb-title{text-wrap:balance}
.onpec-course-pager{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;border-top:1px solid #e3e8e6;padding-top:30px}
.onpec-course-pager-link{display:flex;flex-direction:column;gap:4px;max-width:48%;text-decoration:none}
.onpec-course-pager-next{text-align:right;margin-left:auto}
.onpec-course-pager-label{font-size:14px;color:#586069}
.onpec-course-pager-title{font-weight:600;color:var(--it-common-black, #0f1b17);transition:color .2s ease}
.onpec-course-pager-link:hover .onpec-course-pager-title,.onpec-course-pager-link:focus-visible .onpec-course-pager-title{color:var(--it-theme-1, #2a7ea9)}
@media (max-width: 575px){.onpec-course-pager-link{max-width:100%}.onpec-course-pager-next{text-align:left;margin-left:0}}

/* Courses page: the template's standard card; the title is an h3 under the section's h2 but keeps the template's h5 size */
.onpec-course-grid .it-course-item{display:flex;flex-direction:column}
.onpec-course-grid .it-course-thumb img{aspect-ratio:3/2;object-fit:cover}
.onpec-course-grid .it-course-content{display:flex;flex-direction:column;flex:1;padding-top:25px}
.onpec-course-grid .it-course-btn{margin-top:auto}
.onpec-course-grid .it-course-title{font-size:20px}

/* Courses page: the faint course icon sits left of the title, as in the About leader rows */
.onpec-course-title .onpec-course-icon{display:inline-block;flex:none;width:auto;margin-right:8px;font-size:22px;vertical-align:baseline}

/* Course page: the course icon as a large, faint watermark in the banner's right corner */
/* Card grid: every box takes the height of the tallest, not just the tallest in its row */
.onpec-card-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:1fr;gap:35px;margin-bottom:35px}
@media (max-width: 991px){.onpec-card-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width: 575px){.onpec-card-grid{grid-template-columns:1fr;grid-auto-rows:auto}}

/* About page numbers band: icons from the icon font in place of the template's drawn ones */
.onpec-stat-icon i{font-size:38px;line-height:1;color:#fff}

/* Program page course list: each course carries its own faint icon, as on the course cards; the fixed icon width keeps the names aligned */
.it-about-list-box.onpec-course-names ul li span{padding-left:44px}
.it-about-list-box.onpec-course-names ul li span i{width:30px;text-align:center;color:#a3b3b3;font-size:24px}
.it-about-list-box.onpec-course-names ul li span a{color:var(--it-theme-1, #2a7ea9)}

/* Contact helper: the template's contact layout, with native selects styled like its inputs */
.it-signup-input select.form-select{width:100%;height:50px;padding:0 44px 0 30px;font-size:16px;border-radius:5px;background-color:var(--it-gray-1);border:1px solid rgba(9,31,46,.1)}
.it-signup-input select.form-select:focus{border-color:var(--it-theme-1);box-shadow:none}
.it-contact-3-area .it-contact-list ul li > span i{font-size:26px;color:var(--it-theme-1, #2a7ea9)}
.onpec-contact-result{margin-top:4px;padding:24px 26px;border-radius:14px;background:#f0f4f7}
.onpec-contact-result:empty,.onpec-contact-result.is-quiet{margin:0;padding:0;background:none}
.onpec-result-intro{margin:0 0 18px;font-size:16px;line-height:1.5;color:#586069}
.onpec-result-contacts{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:16px}
.onpec-result-contacts li{display:flex;align-items:center;gap:16px}
.onpec-result-icon{flex:0 0 44px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#fff;border:1px solid rgba(31,36,50,.1);color:var(--it-theme-1, #2a7ea9);font-size:20px}
.onpec-result-contacts strong{display:block;font-size:18px;line-height:1.3;color:var(--it-common-black, #1f2432)}
.onpec-result-contacts a{color:var(--it-theme-1, #2a7ea9);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}

/* Contact helper tips: the site's soft yellow, the same tint as the label chips, so the note reads apart from the green-grey answer */
.onpec-contact-tips{padding:32px;border-radius:20px;background:rgba(248,198,47,.12);border:1px solid rgba(248,198,47,.4)}
.onpec-contact-tips ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:22px}
.onpec-contact-tips li{display:flex;gap:16px;align-items:flex-start}
.onpec-contact-tips strong{display:block;font-size:17px;line-height:1.3;color:var(--it-common-black, #1f2432);margin-bottom:4px}
.onpec-contact-tips p{margin:0;font-size:15px;line-height:1.5;color:#586069}
.onpec-result-logo{display:block;height:34px;width:auto;max-width:180px;margin-bottom:16px}
@media (max-width: 991px){.onpec-contact-tips{padding:26px 22px}}

/* The template offsets this card to the left for its two-column page; full width needs it on the grid, and a tighter title */
.it-contact-3-right.onpec-contact-wrap{margin-left:0}
.onpec-contact-box .it-section-title{margin-bottom:14px}


/* Privacy and accessibility pages */
.onpec-legal-intro{font-size:20px;line-height:1.55;color:var(--it-common-black, #1f2432);margin-bottom:10px}
.onpec-legal-updated{color:#586069;margin-bottom:40px}
.onpec-legal-title{margin:44px 0 14px;font-size:28px}
.onpec-legal-list{margin-bottom:20px}
/* Footer legal links sit under the copyright line and keep the white-on-green text */
.onpec-footer-legal{margin-top:6px}
.onpec-footer-legal a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.onpec-footer-legal a:hover,.onpec-footer-legal a:focus-visible{text-decoration-thickness:2px}
/* The hover line is drawn at the left edge, not inline as in the template, so a link that wraps moves as a whole. */
.it-footer-widget-menu ul li a{box-decoration-break:clone;-webkit-box-decoration-break:clone;transition:padding-left .3s}
.it-footer-widget-menu ul li a::before{position:absolute;left:0;top:11px;display:block;transform:none}
.it-footer-widget-menu ul li a:hover{padding-left:20px}



/* The bar is one short line, so its title is a little smaller than the template's newsletter title */
.onpec-tuck-bar .it-newsletter-2-title{font-size:30px;line-height:1.3}
@media (max-width: 575px){.onpec-tuck-bar .it-newsletter-2-title{font-size:24px}}

/* The footer is pulled up 195px under the closing banner on every page. The bar is shorter than that, so it needs extra room below it for the footer's top edge to land halfway down the bar, as the template does. */
.onpec-tuck-bar{padding-bottom:120px}
.onpec-tuck-bar .it-newsletter-wrap{position:relative;z-index:2}
@media (max-width: 991px){.onpec-tuck-bar{padding-bottom:95px}}

/* A sentence that links onward from a section intro: the link is green so it reads as one */
.onpec-contact-note a{color:var(--it-theme-1, #2a7ea9);font-weight:600}

/* Lookup card: the answer box and the tips panel end on the same line, whichever column is taller */
.onpec-lookup-main,.onpec-lookup-side{display:flex;flex-direction:column}
.onpec-lookup-main .onpec-contact-result{flex:1 1 auto}
.onpec-lookup-side .onpec-contact-tips{flex:1 1 auto}

/* Job page: the facts card has no photo above it; a closed posting leads with a notice; a posting in the other language says so */
.onpec-job-aside .course-info{padding-top:30px}
.onpec-job-closed{padding:28px 30px;border-radius:14px;background:rgba(248,198,47,.12);border:1px solid rgba(248,198,47,.4)}
.onpec-job-lang-note{margin:0 0 20px;color:#586069;font-size:15px}
.postbox-dsc a{color:var(--it-theme-1, #2a7ea9);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}

/* A yellow button that opens another page in a new tab: the arrow sits a little apart from the label, as on the university cards */
.onpec-btn-ext > i{margin-left:8px;color:#fff}
.onpec-btn-ext > i i{font-size:14px}

/* Where the page is short, the closing banner follows the content closely: the template's 210px of room above it suits a page with a tall last section */
@media (min-width: 1200px){.onpec-tight-cta + .it-cta-4-area{padding-top:100px}}

/* The Courses page ends with a short button row, so its closing banner comes a little closer than the template's 210px */
@media (min-width: 1200px){.onpec-snug-cta + .it-cta-4-area{padding-top:150px}}

/* The Preceptors page's last section is a blue panel and its closing banner is blue too, so there is more room between them than the template's 340px. The room is in the panel's bottom padding, not above the banner: the yellow circle at the banner's top left is placed from the banner's own top edge, so less room there brings the circle down to sit just above the banner. */
@media (min-width: 1200px){
.it-feature-2-area.onpec-roomy-cta{padding-bottom:250px}
.onpec-roomy-cta + .it-cta-4-area{padding-top:170px}
}

/* Region finder: the names as pills, and the chosen university in a grey-green box like the contact answer */
.onpec-finder-names{list-style:none;margin:0 0 26px;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.onpec-finder-names a{display:inline-block;padding:8px 16px;border-radius:100px;border:1px solid rgba(42, 126, 169,.3);color:var(--it-common-black, #1f2432);font-size:15px;line-height:1.3;transition:background-color .15s ease,color .15s ease}
.onpec-finder-names a:hover{background:rgba(42, 126, 169,.08)}
.onpec-finder-names a.is-selected,.onpec-finder-names a[aria-current]{background:var(--it-theme-1, #2a7ea9);border-color:var(--it-theme-1, #2a7ea9);color:#fff}
.onpec-finder-panel{padding:30px;border-radius:20px;background:#f0f4f7;min-height:150px}
.onpec-finder-prompt{color:#586069}
.onpec-finder-detail .title{margin-bottom:10px}
.onpec-finder-detail .onpec-support-contact{margin-bottom:36px}
.onpec-finder-detail .onpec-uni-card-logo{display:flex;align-items:center;height:52px;margin-bottom:22px}
.onpec-finder-detail .onpec-uni-card-logo img{display:block;width:auto;height:auto;max-width:100%;max-height:52px}
.onpec-finder-detail .onpec-uni-links{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.onpec-finder-detail .it-btn-yellow{height:auto;padding:12px 22px;line-height:1.35}
.onpec-finder-detail .it-btn-yellow > i{margin-left:8px;color:#fff}
.onpec-finder-detail .it-btn-yellow > i i{color:#fff;font-size:14px}
@media (prefers-reduced-motion: reduce){.onpec-finder-names a{transition:none}}
.onpec-finder-detail .it-career-meta{margin:0 0 28px}

/* Campus dots mark where each university is, with its name on hover; a click on one does what a click on its region does. The chosen campus is larger and yellow. */
.onpec-campus{fill:#1f2432;stroke:#fff;stroke-width:2;cursor:pointer;transition:r .15s ease}
.onpec-campus.is-selected{r:9;fill:#F8C62F;stroke:#1f2432;stroke-width:2.5}
.onpec-map-key{font-size:14px;font-weight:600;color:#586069;display:flex;align-items:center;gap:8px}
.onpec-campus-key{display:inline-block;width:12px;height:12px;border-radius:50%;background:#1f2432;border:2px solid #fff;box-shadow:0 0 0 1px #c9d4d1}
@media (prefers-reduced-motion: reduce){.onpec-campus{transition:none}}
.onpec-map .onpec-map-key{top:auto;bottom:20px}
.onpec-region.is-behind{fill-opacity:0;stroke-opacity:0;pointer-events:none}
.onpec-finder-detail:not([hidden]) ~ .onpec-finder-detail:not([hidden]){margin-top:30px;padding-top:30px;border-top:1px solid rgba(42, 126, 169,.2)}

/* The university panel's location line: the city, then a link that opens its campus in Google Maps */
.onpec-finder-detail .it-career-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px}
.onpec-map-link{color:#586069;font-size:15px;font-weight:500;text-decoration:underline;text-underline-offset:3px}
.onpec-map-link:hover,.onpec-map-link:focus-visible{color:var(--it-theme-1, #2a7ea9)}
.onpec-map-link i{margin-left:4px;font-size:12px}

/* The two program links use the template's "More Details" look: the yellow button with no fill or padding, in the site green. On hover the label stays put and is underlined, and the colour deepens, instead of sliding away and swapping. The university's own site is the visitor's second step, so the filled green stays for the site's own actions. */
:is(.onpec-uni-links, .onpec-uni-card, .onpec-job-card) .onpec-text-btn .it-btn-yellow{padding:0;background-color:transparent;height:auto;line-height:1.5}
:is(.onpec-uni-links, .onpec-uni-card, .onpec-job-card) .onpec-text-btn .it-btn-yellow span{font-size:16px;letter-spacing:.01em;color:var(--onpec-text-blue);font-family:var(--it-ff-spartan-semibold)}
:is(.onpec-uni-links, .onpec-uni-card, .onpec-job-card) .onpec-text-btn .it-btn-yellow > i{margin-left:8px;color:var(--onpec-text-blue)}
:is(.onpec-uni-links, .onpec-uni-card, .onpec-job-card) .onpec-text-btn .it-btn-yellow > i i{color:inherit;font-size:14px}
:is(.onpec-uni-links, .onpec-uni-card, .onpec-job-card) .onpec-text-btn .it-btn-yellow:hover span,:is(.onpec-uni-links, .onpec-uni-card, .onpec-job-card) .onpec-text-btn .it-btn-yellow:hover > i,:is(.onpec-uni-links, .onpec-uni-card, .onpec-job-card) .onpec-text-btn .it-btn-yellow:focus-visible span,:is(.onpec-uni-links, .onpec-uni-card, .onpec-job-card) .onpec-text-btn .it-btn-yellow:focus-visible > i{color:#1f6a98}
:is(.onpec-uni-links, .onpec-uni-card, .onpec-job-card) .onpec-text-btn .it-btn-yellow span span.text-2{display:none}
:is(.onpec-uni-links, .onpec-uni-card, .onpec-job-card) .onpec-text-btn .it-btn-yellow:hover span span.text-1,:is(.onpec-uni-links, .onpec-uni-card, .onpec-job-card) .onpec-text-btn .it-btn-yellow:focus-visible span span.text-1{transform:none;-webkit-transform:none;text-decoration:underline;text-underline-offset:4px}
.onpec-uni-card > .onpec-text-btn{margin-top:auto}

/* The template styles links in accordion answers and about-section copy like the surrounding text, so they read as plain copy. */
:is(.it-custom-accordion .accordion-body, .it-about-right p) a{color:var(--onpec-text-blue);text-decoration:underline;text-underline-offset:2px}
:is(.it-custom-accordion .accordion-body, .it-about-right p) a:hover{text-decoration-thickness:2px}

/* The closing banner's cutout is sized by height, since the template's own picture is 608px tall. */
.onpec-cta-photo {
    display: block;
    width: auto;
    height: 608px;
}

/* Graduates map on the NP careers page: the province in the Find page's outline, one dot per community sized by graduates. */
.onpec-grad-map .onpec-map-base{fill:#eef2f6}
.onpec-grad-dot{fill:var(--it-theme-1, #2a7ea9);fill-opacity:.72;stroke:#fff;stroke-width:1.5;vector-effect:non-scaling-stroke}
.onpec-grad-dot:hover{fill-opacity:.95}
.onpec-grad-figures{margin:0 0 24px;padding:0;list-style:none}
.onpec-grad-figures li{display:flex;align-items:baseline;gap:12px;padding:14px 0;border-bottom:1px solid #e1e8e6;font-size:18px;color:#61616a}
.onpec-grad-figures strong{flex:0 0 auto;min-width:4.5ch;font-size:30px;line-height:1.1;color:var(--onpec-text-blue);font-family:var(--it-ff-spartan-semibold)}
.onpec-grad-note{margin:0;font-size:15px;color:#61616a}
.onpec-grad-label{font-size:22px;font-weight:600;fill:#1f2432;paint-order:stroke;stroke:#eef2f6;stroke-width:6px;stroke-linejoin:round;pointer-events:none}
@media (max-width: 575px){.onpec-grad-label{display:none}}
@media (max-width: 575px){.onpec-grad-dot{stroke:var(--it-theme-1, #2a7ea9);stroke-width:2.5px}}
.onpec-map-name{font-size:20px;font-weight:600;fill:#1f2432;paint-order:stroke;stroke:rgba(255,255,255,.85);stroke-width:5px;stroke-linejoin:round;pointer-events:none}
@media (max-width: 767px){.onpec-map-name{display:none}}
.onpec-grad-key-label{font-size:20px;fill:#61616a}
@media (max-width: 575px){.onpec-grad-key-label{font-size:34px}}

/* The logo cards straddle the bottom edge of the hero; the template's overlap left them 30px in and 42px out
   (or 18 and 54 on phones). Half the card height in puts the middle of the cards on the edge: 36px for the
   72px cards, 30px for the 60px phone cards (each plus the strip's 10px top padding). */
.it-brand-5-area {
    margin-top: -46px;
}

@media (max-width: 767px) {
    .it-brand-5-area {
        margin-top: -40px;
    }
}
.onpec-top-name{color:rgba(255,255,255,.8);font-size:13px;letter-spacing:.01em;white-space:nowrap}

/* Banners: the template's page banner is tall for a content site; this keeps it to a title and breadcrumb so the page content starts sooner */
.it-breadcrumb-area.it-breadcrumb-style-2{padding-top:24px;padding-bottom:24px;background:#e8f3fb url(/img/banner-plain.webp) center/cover no-repeat}
.it-breadcrumb-style-2 .it-breadcrumb-list{border-radius:999px}
/* The illustration stands at the right on the bottom edge of the banner, which crops it at the waist, and shrinks with the screen; the title keeps clear of it. It and the faint icon are hidden below 992px. */
.onpec-banner-photo{position:absolute;right:0;bottom:-10px;height:calc(100% + 10px);width:clamp(180px, 22vw, 340px);object-fit:contain;object-position:right bottom;pointer-events:none}
/* A single figure at the right edge looks towards the title, so the drawings that face right are mirrored. */
.onpec-banner-photo--flip{transform:scaleX(-1);object-position:left bottom}
@media (min-width: 992px){.onpec-has-photo .it-breadcrumb-content{padding-inline:clamp(180px, 22vw, 340px)}}
@media (max-width: 991px){.onpec-banner-photo{display:none}}
.onpec-banner-icon{position:absolute;left:6%;bottom:-24px;font-size:130px;line-height:1;color:var(--it-theme-1, #2a7ea9);opacity:.09;pointer-events:none}
@media (max-width: 991px){.onpec-banner-icon{display:none}}
.it-breadcrumb-style-2 .it-breadcrumb-title{margin-bottom:10px;line-height:1.3}
@media (min-width: 1200px){.it-breadcrumb-style-2 .it-breadcrumb-title{font-size:36px}}
/* The template leaves 80 to 130px above the first section for its tall banner; with this banner that is mostly empty space. */
@media (min-width: 768px){.it-breadcrumb-area.it-breadcrumb-style-2 + *{padding-top:64px}}
.it-breadcrumb-style-2 .it-breadcrumb-list{padding:6px 22px}
.it-breadcrumb-style-2 .it-breadcrumb-list span{font-size:14px}
.it-breadcrumb-style-2 .it-breadcrumb-list span.dvdr{margin:0 10px}
@media (max-width: 1199px){.it-breadcrumb-style-2 .it-breadcrumb-list{padding:4px 18px}.it-breadcrumb-style-2 .it-breadcrumb-list span{font-size:13px}.it-breadcrumb-style-2 .it-breadcrumb-list span.dvdr{margin:0 8px}}
@media (max-width: 767px){.it-breadcrumb-style-2 .it-breadcrumb-list span{font-size:12px}}
@media (max-width: 767px){.it-breadcrumb-area.it-breadcrumb-style-2{padding-top:36px;padding-bottom:32px}.it-breadcrumb-style-2 .it-breadcrumb-title{margin-bottom:8px}}

/* Six menu items, and longer French labels, need the room the template gave a shorter menu: the menu column is wider and its items sit closer. */
.it-header-menu > nav > ul{padding-left:0}
@media (min-width: 1200px) and (max-width: 1599px){.it-header-menu > nav > ul > li{margin:0 9px}}

/* On phones the logo (which carries the consortium's full name) is wider than its half-width column and ran under the language link. The columns take the width of their content instead, and the logo is a little smaller. */
@media (max-width: 575px) {
    .it-header-area .row {
        flex-wrap: nowrap;
        justify-content: space-between;
    }
    .it-header-area .row > [class*="col-"] {
        flex: 0 1 auto;
        width: auto;
    }
}
@media (max-width: 399px) {
    .it-header-logo img {
        height: 36px;
    }
    .it-header-right-action .onpec-lang {
        margin-right: 12px;
        font-size: 15px;
    }
}

/* With the menu collapsed there is no menu to pull the right-hand group towards, and the template's negative margin only pushes it onto the logo. */
@media (max-width: 1199px) {
    .it-header-right-action {
        margin-left: 0;
    }
}

/* The menu's hover colour is the deep blue: the logo's lighter blue is too faint for text on white (3.2:1; AODA text needs 4.5:1). */
.it-header-area .it-header-style-2 .it-header-menu > nav > ul > li:hover > a,
.it-header-area .it-header-style-2 .it-header-menu > nav > ul > li:hover.has-dropdown a::after {
    color: var(--it-theme-1);
}

/* The template draws the small text on blue areas at 70% white. On this blue that is below AODA's 4.5:1 for small text, so it is fully white. */
.it-hero-text p,
.it-hero-ratting-content span,
.it-feature-2-wrap p,
.it-cta-4-wrap p,
.onpec-support-band p,
.theme-bg p {
    color: #fff;
}

/* The dark bars above the header and at the foot of the page share one deep blue from the logo's hue. The template's diagonal panel on the right of the footer bar is lighter and shows up against it, so it is hidden. */
.it-header-top-area.black-bg,
.it-copyright-area.theme-bg {
    background-color: #12354a;
}
.it-copyright-bg::after {
    display: none;
}

/* The site blue is 4.5:1 on white but falls to 3.7-4.3:1 on the page's pale tinted backgrounds. Text on those uses a slightly deeper blue of the same hue (4.5:1 or better on every tint used). */
:root {
    --onpec-text-blue: #226a8f;
}
.it-section-subtitle,
p > a:not([class]) {
    color: var(--onpec-text-blue);
}

/* The footer rises 195px behind the closing banner, so on a banner with a one-line title (shorter) it started below the banner's middle and on a two-line one near it. The banner's upper half is painted white over the footer's grey, so the grey always starts at the banner's middle. */
.onpec-cta-straddle{background:linear-gradient(to bottom,#fff 50%,transparent 50%)}
/* The yellow dotted circle sits above that white strip (the template put it behind everything, so the strip hid its lower part) and still behind the banner itself. */
.it-cta-4-area .it-cta-4-shape-2{z-index:0}

/* Admissions growth chart */
.onpec-chart{margin:0;padding:24px;border-radius:30px;background:#f0f4f7}
.onpec-chart-svg{display:block;width:100%;height:auto}
.onpec-chart-grid{stroke:#c9d4dc;stroke-width:1}
.onpec-chart-axis{font-size:20px;fill:#4a5560}
.onpec-chart-area{fill:var(--it-theme-1, #2a7ea9);fill-opacity:.12}
.onpec-chart-line{fill:none;stroke:var(--it-theme-1, #2a7ea9);stroke-width:4;stroke-linejoin:round;stroke-linecap:round}
.onpec-chart-dot{fill:var(--it-theme-1, #2a7ea9);stroke:#fff;stroke-width:2}
.onpec-chart-value{font-size:24px;font-weight:700;fill:var(--it-common-black, #1f2432)}
@media (max-width:575px){.onpec-chart{padding:16px 8px;border-radius:20px}}
@media (min-width:768px){.onpec-chart-axis{font-size:16px}.onpec-chart-value{font-size:20px}}
.onpec-chart-data{margin-top:16px}
.onpec-chart-data summary{cursor:pointer;font-weight:600}
.onpec-chart-data table{margin-top:12px}

/* A soft gold glow in the bottom right corner of a white section, from the template's language academy news section. */
.onpec-glow{background:radial-gradient(circle 260px at calc(100% - 260px) calc(100% - 300px),rgba(252,236,200,.9),rgba(252,236,200,0) 100%),#fff}
