.hero-module {
  background-color: #f7f1e9; /* cream background */
}
.hero-heading {
    font-weight: 700;
    font-size: 4.75rem;
    line-height: 0.9em;
    color: #14213d;
}
.hero-text {
  font-size: 1rem;
  color: #4a4a4a;
  max-width: 480px;
}
.hero-image {
  object-fit: cover;
  max-height: 600px;
	/* the corner is a circle */
/* border-top-right-radius: radius */
border-top-right-radius: 0!important;
border-bottom-right-radius: 0!important;
/* the corner is an ellipse */
/* border-top-right-radius: horizontal vertical */
border-top-right-radius: 0!important;
border-bottom-right-radius: 0!important;
}
/* Buttons */
.btn-hero-dark,
.btn-hero-red {
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  transition: opacity 0.2s ease;
}
.btn-hero-dark {
  background-color: #14213d;
}
.btn-hero-red {
  background-color: #e8412f!important;
}
.btn-hero-dark:hover,
.btn-hero-red:hover {
  background-color: #fff!important;
  color: #14213d!important;
}
.btn-icon {
  font-size: 1.1rem;
  line-height: 1;
}
/* Responsive tweak */
@media (max-width: 991.98px) {
  .hero-heading {
    font-size: 2.1rem;
  }
}

/* ===== Shared section text ===== */
.section-heading {
  font-weight: 700;
  color: #14213d;
  font-size: 1.9rem;
}
.section-text {
  color: #4a4a4a;
}
.video-section .section-text-light {
  color: rgba(255,255,255,0.8);
}
/* ===== CTA Cards ===== */
.cta-card {
  position: relative;
  color: #fff;
}
.cta-card-dark { background-color: #14213d; }
.cta-card-red  { background-color: #e8412f; }
.cta-heading { font-weight: 700; }
.cta-text { max-width: 380px; opacity: 0.9; }
.cta-arrow-btn {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.1rem;
}
.cta-arrow-btn:hover { background: rgba(255,255,255,0.3); }
/* ===== Trustpilot strip ===== */
.trust-strip { background-color: #f7f1e9; }
.trust-stars { color: #00b67a; letter-spacing: 2px; }
.trust-note { color: #8a8a8a; font-size: 0.85rem; }
/* ===== Lead form ===== */
.lead-form-card { background-color: #14213d; }
.lead-heading { font-size: 1.6rem; font-weight: 700; }
.lead-input {
  background-color: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
}
.lead-input::placeholder { color: rgba(255,255,255,0.6); }
.lead-input:focus {
  background-color: rgba(255,255,255,0.12);
  border-color: #e8412f;
  color: #fff;
  box-shadow: none;
}
.lead-form-section input {
    background: none !important;
	color: #fff;
}
.lead-form-section input[type=submit] {
    border: none;
    width: auto !important;
    display: inline-block;
    padding: 5px 30px;
    border-radius: 30px;
}
/* ===== Testimonials ===== */
.testimonial-card-dark { background-color: #14213d; color: #fff; }
.testimonial-card-light { background-color: #f7f1e9; color: #14213d; }
.testimonial-quote { font-size: 0.95rem; line-height: 1.5; }
.author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #ccc;
  display: inline-block;
}
.nav-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #14213d;
  background: transparent;
  color: #14213d;
}
.nav-arrow:hover { background: #14213d; color: #fff; }
/* ===== Video section ===== */
.video-section { background-color: #14213d; }
.video-links li { margin-bottom: 0.75rem; }
.video-links a { color: #fff; font-weight: 600; text-decoration: none; }
.video-links a:hover { color: #e8412f; }
/* ===== What's New cards ===== */
.news-card { background-color: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.news-title { font-weight: 700; color: #14213d; font-size: 1.05rem; }
.news-text { color: #6a6a6a; font-size: 0.9rem; }

/* ===== Testimonials (rail/transform version) ===== */
.testimonial-rail {
  overflow: hidden;
  width: 100%;
  position: relative;
}
.testimonial-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.testimonial-slide {
  flex: 0 0 auto;
  width: 420px;
}
.testimonial-author {
	font-weight: bold
}
@media (max-width: 767.98px) {
  .testimonial-slide {
    width: 82vw;
  }
}
.testimonial-card {
  background-color: #f7f1e9;
  color: #14213d;
  transition: background-color 0.3s ease, color 0.3s ease;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
/* Active = whichever card sits in the "home" slot under the heading */
.testimonial-card.is-active {
  background-color: #14213d;
  color: #fff;
}
.testimonial-card .author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(20, 33, 61, 0.15);
  display: inline-block;
}
.testimonial-card.is-active .author-avatar {
  background-color: rgba(255, 255, 255, 0.25);
}
.nav-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}
.nav-arrow:disabled:hover {
  background: transparent;
  color: #14213d;
}

/* ===== Global section background utilities ===== */
.bg-section-navy   { background-color: #14213d; }
.bg-section-red    { background-color: #e8412f; }
.bg-section-cream  { background-color: #f2ece2; }
.bg-section-white  { background-color: #ffffff; }
/* Text-color pairings so you don't have to remember which sections need white text */
.bg-section-navy,
.bg-section-red {
  color: #ffffff;
}
.bg-section-cream,
.bg-section-white {
  color: #14213d;
}
/* ===== Page Hero ===== */
.hero-tag {
    border: thin solid #e8412f;
    color: #e8412f;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 1rem;
    border-radius: 999px;
	text-transform: uppercase;
}
.hero-tag-green {
  background-color: #37edab;
	color: #14213d; /* distinct tag color for Employers vs Learners' red tag */
}
.page-hero-heading {
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.15;
}
.page-hero-text {
  color: rgba(255, 255, 255, 0.75);
  max-width: 480px;
}
/* ===== CTA Cards (page-hero variant) ===== */
.cta-heading {
  font-weight: 700;
  font-size: 1.5rem;
}
.cta-link {
  color: #37edab;
  font-weight: 600;
  text-decoration: none;
}
.cta-link:hover {
  text-decoration: underline;
}
.btn-hero-outline-white {
  border: 1px solid rgba(255, 255, 255, 0.6)!important;
  color: #fff;
  background: transparent;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-hero-outline-white:hover {
  border: 1px solid rgba(255, 255, 255, 0)!important;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
/* ===== Results / testimonial (fade carousel) ===== */
.bg-section-cream-inner {
  background-color: #e6ded0; /* slightly deeper tone than the section's own cream, for card contrast */
}
.results-fade-wrapper {
  position: relative;
}
.results-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.results-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.results-quote {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.4;
}
.results-position {
  font-size: 0.85rem;
  color: #6a6a6a;
}
.results-author .author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ccc;
  display: inline-block;
}
/* ===== Two routes ===== */
.section-subtext {
  color: #6a6a6a;
  max-width: 600px;
}
.route-card {
  position: relative;
  min-height: 320px;
}
.route-card-inner {
  position: relative;
  z-index: 2;
  max-width: 60%;
}
.route-card-image {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: auto;
  max-width: 45%;
  object-fit: cover;
  z-index: 1;
}
.route-heading {
  font-weight: 700;
  font-size: 1.4rem;
}
.route-text {
  opacity: 0.9;
  font-size: 0.95rem;
}
@media (max-width: 767.98px) {
  .route-card-inner {
    max-width: 100%;
  }
  .route-card-image {
    display: none;
  }
}
/* ===== Stats section ===== */
.stats-section .section-text-light {
  color: rgba(255, 255, 255, 0.75);
}
.stat-box {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background-color: rgba(255, 255, 255, 0.04);
}
.stat-number {
  font-weight: 700;
  font-size: 2rem;
  color: #fff;
}
.stat-label {
  color: rgba(255, 255, 255, 0.9);
}

/* ===== 2 Cards ===== */

.cta-card {
  display: flex;
  flex-direction: column;
}

.cta-card-footer {
  margin-top: auto;
  padding-top: 1.5rem;
}

/* Accordions */

.accordion-button:not(.collapsed) {
    background-color: #d4c7b1;
    color: #212529;
}

.accordion-item:first-of-type {
    margin-top: 5px;
}

.accordion-item:first-of-type .accordion-header {
    margin-top: 0;
}

/* ADDED BY DAVE */

/* Prospectus */
.prospectus .img-fluid {
	max-height: 58vh;
	float: left;
}

/* Topbar / Top Bar */
.pts-topbar .tagline {
    font-size: 16px;
    color: #dddddd !important;
}
.pts-topbar__phone i {
    opacity: 1;
    color: #dddddd;
    font-size: 11px;
    font-weight: 600;
}
.pts-topbar__phone a {
    color: #dddddd !important;
    text-decoration: none;
    font-size: 16px;
}
.pts-topbar__phone:hover i, .pts-topbar__phone:hover a {
	opacity: 1;
	color: #37edab !important;
}
.pts-topbar__social ul.social a, .pts-topbar__social a {
    font-size: 1em;
    text-decoration: none;
    transition: color var(--pts-transition);
    color: #dddddd !important;
}
.pts-topbar__social ul.social a:hover, .pts-topbar__social a:hover {
    font-size: 1em;
    text-decoration: none;
    transition: color var(--pts-transition);
    color: #37edab !important;
}
.pts-topbar .social li .icons {
	margin-right: .25em;
	margin-left: .25em;
}
.pts-topbar .social li:last-child .icons {
	margin-right: 0;
}

/* Buttons / CTAs */
.cta-card.bg-section-navy .btn-hero-red {
	border: 2px solid #e8412f !important;
    background-color: transparent !important;
}
.cta-card.bg-section-navy .btn-hero-red:hover {
    background-color: #e8412f !important;
}
.cta-card.bg-section-red .btn-hero-dark, .cta-card.bg-section-red .btn-hero-red {
    border: 2px solid #14213d !important;
    background-color: #14213d !important;
}
.cta-card.bg-section-red .btn-hero-dark:hover, .cta-card.bg-section-red .btn-hero-red:hover {
	border: 2px solid #14213d !important;
	background-color: transparent !important;
}
.btn-hero-dark {
    border: 2px solid #14213d !important;
    background-color: #14213d !important;
}
.btn-hero-dark:hover {
	border: 2px solid #14213d !important;
	background-color: transparent !important;
}
.cta-card.bg-section-red .btn.btn-hero-red.rounded-pill {
    border: 2px solid #14213d !important;
    background-color: #14213d !important;
}
.cta-card.bg-section-red .btn.btn-hero-red.rounded-pill:hover {
	border: 2px solid #14213d !important;
	background-color: transparent !important;
}
.container .btn.btn-hero-red.rounded-pill {
    border: 2px solid #e8412f !important;
	background-color: #e8412f !important;
}
.container .btn.btn-hero-red.rounded-pill:hover {
	background-color: transparent !important;
}
.btn-hero-outline-white {
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
}
.btn-hero-outline-white:hover {
	border-width: 2px !important;
}
.cta-card-footer .gap-2 {
    gap: .75rem !important;
}
.hero-module .container .btn.btn-hero-red.rounded-pill {
    border: 2px solid #e8412f !important;
	background-color: #e8412f !important;
}
.hero-module .container .btn.btn-hero-red.rounded-pill:hover, .prospectus .container .btn.btn-hero-red.rounded-pill:hover {
	background-color: transparent !important;
	color: #14213d !important;
}
.hero-module .btn-hero-dark {
    border: 2px solid #14213d !important;
    background-color: #14213d !important;
}
.hero-module .btn-hero-dark:hover {
    background-color: transparent !important;
	color: #14213d !important;
}
.cta-card h5 {
	margin-bottom: 25px;
    text-transform: uppercase;
    font-weight: normal;
    letter-spacing: .1em;
    font-size: 16px;
}
.content h4 a {
    background: #ef3e36;
    color: #fff;
    padding: 8px 19px;
    border-radius: 32px;
    text-decoration: none;
    font-size: 18px;
    margin: 3px 0;
    display: inline-block;
}
.content h4 a:hover {
    background: #c42316;
}

/* Cookie Consent Banner */
.cky-consent-container .cky-btn {
	border-radius: 50px;
    font-size: 16px;
    margin: 0 15px 0 0;
	font-weight: bold;
}
.cky-consent-container .cky-btn.cky-btn-customize, .cky-consent-container .cky-btn.cky-btn-reject {
	border-color: rgba(255,255,255,.6) !important;
}
.cky-consent-container .cky-btn.cky-btn-customize:hover, .cky-consent-container .cky-btn.cky-btn-reject:hover {
	opacity: 1;
}
.cky-consent-container .cky-btn.cky-btn-accept:hover {
    opacity: 1;
}

.cky-consent-container .cky-notice .cky-title {
    margin-bottom: 0;
    margin-top: 10px;
}

.cky-consent-container .cky-notice .cky-notice-btn-wrapper {
    top: -17px;
    position: relative;
}

.cky-consent-container.cky-banner-bottom .cky-consent-bar {
    box-shadow: none;
}

/* Routes Section */
.routes-section .route-card-inner {
	display: grid;
    align-content: space-between;
    height: -webkit-fill-available;
}
.routes-section .route-card-inner .btn {
	max-width: max-content;
}
.routes-section .route-card-image {
    max-width: 40%;
}
.routes-section .mb-3 p {
    margin-bottom: 5px;
}

/* Lead form */
.lead-form-section input[type=submit] {
    padding: 7.5px 30px;
    margin-top: 0;
}

.lead-form-card .row {
	margin-top: -10px;
}

.lead-form-card input::placeholder,
.lead-form-card textarea::placeholder {
  color: #1a1a2e;
  opacity: 1;
}

.lead-form-section input, .field-wrap>div textarea {
    color: #1a1a2e;
    background: rgba(255, 255, 255, .75) !important;
}
.lead-form-section input:focus, .field-wrap>div textarea:focus {
    color: #1a1a2e;
    background: rgba(255, 255, 255, .92) !important;
}

/* Mega Menu */
.pts-mega__inner {
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding: 30px 12px;
    top: -30px;
    position: relative;
}
.pts-mega__item {
    padding: 30px 0px 0;
}

/* Video Section */
.video-section .video-links {
	margin-top: 20px;
}
.video-section .video-links li {
	margin: 0;
}

/* Footer */
.footer-logo {
    width: 220px;
}
.copyright hr {
    margin: 23px 0px 12px;
}
footer.py-4 {
    padding-top: 48px !important;
    padding-bottom: 29px !important;
}
.footer_links .social li .icons {
	margin-right: .2em;
	margin-left: .2em;
}
.footer_links .social li:first-child .icons {
	margin-left: 0;
}
.copyright .footer-links li {
	padding-left: 14px;
}
.copyright .footer-links li:before {
    content: "";
    height: 14px;
    width: 2px;
    background: rgba(255,255,255,.25);
    display: block;
    position: absolute;
    margin-left: -8px;
    margin-top: 2px;
}
.copyright .footer-links li:first-child {
	padding-left: 0;
}
.copyright .footer-links li:first-child:before {
	content: "";
	height: 0;
	width: 0;
	background: unset;
	display: block;
}

/* Testimonials */
.testimonial-card img {
    width: 100%;
    aspect-ratio: 20 / 5;
    object-fit: cover;
	mix-blend-mode: multiply;
	margin-top: -10px;
}
.testimonial-quote {
    font-size: 18px;
    font-style: italic;
}
.testimonial-author span {
    display: flex;
    font-size: 18px;
}
.testimonial-author span:last-of-type {
    font-weight: normal;
}
.testimonial-card {
    display: grid;
    align-content: space-between;
}

/* Homepage Hero */
.hero-module .col-lg-6 {
	margin-bottom: 0;
}

.hero-module .hero-image {
	aspect-ratio: 20 / 15;
}

.df-acf-title h3 {
	margin-bottom: 20px;
    margin-top: 12px;
}

/* FAQs */

#faqs h2 {
    margin: 20px 0 25px;
}

#faqs .accordion-item h2 {
	margin-bottom: 0;
}

.accordion-item:first-of-type h2.accordion-header {
    margin-top: 0 !important;
}

#faqs .accordion-item h2 button {
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.25;
}
.accordion-body p {
	margin-bottom: 1px;
}
#faqs .col-lg-10 {
	max-width: 888px;
}

/* Menu */
.pts-mega--compact .pts-mega__item {
    padding: 12px 0px 0;
	max-height: 36px
}
.pts-mega--compact .pts-mega__inner {
    top: -15px;
}
.pts-mega__list--compact .pts-mega__link:hover {
    background: transparent;
}

/* Course Page */

.course-entry .container {
    height: 42vh !important;
}

.course-entry .coursecat {
    margin: 18px 0 10px;
}

.courseoverview .content-section h3:first-of-type {
	margin: 32px 0 16px;
}
.courseoverview .course-page-sign-up-col h3 {
    margin: 10px 0;
}

.courseoverview a {
    color: #ef3e36;
	font-weight: bold;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}
.courseoverview a:hover {
    color: #ef3e36;
}

.courseoverview #faqs .row.justify-content-center {
	justify-content: flex-start !important;
}
.courseoverview #faqs .container {
	padding-left: 0;
}
.course-details-col {
	padding-right: 100px;
	padding-top: 10px !important;
}
.courseoverview #faqs h2 {
    font-size: 1.75em;
}
.courseoverview #faqs h2:before {
	content: "";
}
.courseoverview #faqs {
    padding-top: 0 !important;
    margin-top: -5px;
}
.courseoverview #faqs .container {
    padding-left: 0;
    padding-right: 0;
}
.courseoverview #faqs .col-lg-10 {
    max-width: unset;
    width: 100%;
}
.course-page-sign-up-col {
	padding-top: 44px;
}
.course-page-additional-info {
	margin-top: 27px;
}

.courseoverview .h4, .courseoverview .h5, .courseoverview .h6, .courseoverview h4, .courseoverview h5, .courseoverview h6 {
    margin-bottom: 1rem;
}
.course-page-sign-up-col .nf-row {
    margin-left: -5px;
    width: calc(100% + 10px);
}
.course-page-sign-up-col .list-checkbox-wrap .nf-field-element li input, .course-page-sign-up-col .list-image-wrap .nf-field-element li input, .course-page-sign-up-col .list-radio-wrap .nf-field-element li input {
    margin-top: 9px !important;
}

.course-page-sign-up-col .nf-field-container.listradio-container {
    margin-bottom: 6px !important;
    margin-top: 4px;
}

.course-page-sign-up-col .field-wrap button, .course-page-sign-up-col .field-wrap input[type=button], .course-page-sign-up-col .field-wrap input[type=submit] {
    background: #ef3e36 !important;
    margin: 12px 0;
}

.course-page-sign-up-col .field-wrap button:hover, .course-page-sign-up-col .field-wrap input[type=button]:hover, .course-page-sign-up-col .field-wrap input[type=submit]:hover {
    background: #cb362e !important;
}

.course-page-sign-up-col .list-radio-wrap .nf-field-element li label {
	margin-top: 5px;
    margin-bottom: -5px;
}

.course-page-sign-up-col .nf-error-msg.nf-error-field-errors {
    top: -25px;
    position: relative;
}

/* Forms */
.lead-form-card .nf-response-msg {
    color: #37edab;
}
.lead-form-card .nf-form-cont .one-half, .lead-form-card .nf-form-cont .three-sixths, .lead-form-card .nf-form-cont .two-fourths {
    margin-bottom: 6px !important;
}
.lead-form-card .nf-field-element textarea {
    height: 120px;
}

/* Page specific overrides */
/* Recruiting an Apprentice across London, Surrey & the South East */
/* Finessing how the h1 title renders */
.page-id-934 .page-hero .col-lg-6 {
	width: 75%;
}
.page-id-934 .page-hero .col-lg-6 h1 {
    font-size: 3.5em;
}


/* Pop-up / Popup / Pop up / Modal */
#signupContact .btn-close.signUp {
    border: 1px solid #ef3e36;
    background-color: transparent !important;
    z-index: 1;
    width: 32px !important;
    height: 32px !important;
    top: 28px !important;
    right: 25px !important;
}
#signupContact .btn-close.signUp:hover {
    background-color: #fff !important;
}
/* Hide the modal window */
#signupContact,
.modal#signupContact {
	display: none !important;
}
/* Hide the background overlay */
.modal-backdrop,
.modal-overlay,
.blocker {
	display: none !important;
}
body {
	overflow: auto !important;
	pointer-events: auto !important;
}

/* Hide modal and standard backdrops */
#signupContact,
.modal-backdrop {
	display: none !important;
}

/* Tow col layout with image left or right */
#twoColImg .order-0 {
	order: 2 !important;
}
#twoColImg .container .offset-lg-1 {
    margin-left: unset;
}
#twoColImg .container h2, #twoColImg .container .h2, #twoColImg .container h3, #twoColImg .container .h3, #twoColImg .container h4, #twoColImg .container .h4, #twoColImg .container h5, #twoColImg .container .h5, #twoColImg .container h6, #twoColImg .container .h6, #twoColImg .container p, #twoColImg .container .p {
	margin: 15px 0;
}

/* Icon/s with Description layout / Multicons layout */

#multicons h2 {
	color: #212529;
	margin-bottom: 15px;
}

#multicons.my-5 {
	margin-top: 1.75rem !important;
	margin-bottom: 0 !important;
}



