@font-face {
  font-family: "FS Me Pro Regular";
  src: url("../../FSMe.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.fa {
  font-family: "FontAwesome" !important;
}

:root {
  --pc-blue: #004a87;
  --pc-blue-dark: #003663;
  --pc-ink: #1c1f2a;
  --pc-slate: #5f6b7a;
  --pc-light: #f4f5f7;
  --pc-cream: #faf9f7;
  --pc-line: #dde3ea;
  --pc-gold: #c9a85d;
  --pc-header-depth: 2;
  --pc-header-offset: calc(3.5em + 50px);
}

body {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--pc-ink);
  background: var(--pc-cream);
}

p {
  color: var(--pc-slate);
}

a {
  color: inherit;
}

a:hover {
  text-decoration: none;
}

/* Header */
@media (max-width: 900px) {

  .pc-hero {
    margin-top: calc(-1 * var(--pc-header-offset));
    padding-top: calc(var(--pc-header-offset) + 1.5rem);
  }
}

/* Hero */
.pc-hero {
  position: relative;
  min-height: 70vh;
  color: #fff;
  overflow: hidden;
  margin-top: calc(-1 * var(--pc-header-offset));
  padding-top: calc(var(--pc-header-offset) + 2rem);
}

.pc-hero--with-banner {
  margin-top: 0;
  min-height: 45vh;
  padding-top: 1.2rem;
}

.pc-hero__media {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: 0;
}

.pc-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pc-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 52, 96, 0.82), rgba(0, 74, 135, 0.45));
  z-index: 1;
}

.pc-hero__content {
  position: relative;
  z-index: 2;
  padding: 4.5rem 0 3rem;
  display: flex;
  justify-content: center;
  align-items: center;   /* vertical alignment */
  text-align: center;    /* horizontal text alignment */
}

.pc-hero__content .container {
  margin-left: auto;
  margin-right: auto;
}

.pc-hero__content .container {
  text-align: center;
  width: min(100%, 960px);
  margin: 0 auto;
}





.pc-hero__copy {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 auto;
}

.pc-hero__panel {
  margin: 2rem auto 0;
  background: #fff;
  color: var(--pc-ink);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  width: 100%;
}

.pc-hero__panel h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* Schools */
.pc-school-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  color: #fff;
  background: var(--pc-school-color);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.14);
  font-family: "FS Me Pro Regular", Arial, sans-serif;
  transform: translateY(32px);
  opacity: 0;
  transition: transform 0.55s ease, opacity 0.55s ease, box-shadow 0.35s ease;
  transition-delay: var(--pc-school-delay, 0ms);
}

.pc-school-card.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.pc-school-card:hover,
.pc-school-card:focus {
  color: #fff;
  box-shadow: 0 28px 52px rgba(0, 0, 0, 0.18);
}

/* Buttons */
.btn.btn-outline-primary, .btn.btn-primary{
  color: white;
  border-radius: 4px;
  font-family: "Cormorant Garamond", Arial, sans-serif !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.8rem 1.4rem;
}

.btn.btn-outline-primary {
  background-color: #99cc01;
  border-color: #99cc01;
  color: white;
}

.btn.btn-outline-primary:hover {
  background-color: #99cc01;
}

#job-search .form-control,
#job-search .custom-select {
  border-radius: 999px;
  border: 1px solid var(--pc-line);
  font-size: 0.9rem;
}

#job-search .btn-outline-primary {
  width: 100%;
}

#job-search .btn,
.job-alerts-container .btn {
  text-transform: none;
}

/* Job cards */
.job-card {
  border-radius: clamp(.938rem,.8rem + .5vw,1.25rem);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.job-card .card-header {
  background: var(--pc-blue);
  border: none;
  color: #fff;
  font-family: "HvDTrial Brandon Grotesque", Arial, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: none;
}

.job-card__header {
  background: var(--pc-blue);
  border: none;
}







.job-card .card-body p {
  color: var(--pc-slate);
}

.job-card .btn-outline-primary {
  font-size: 0.7rem;
  text-transform: none;
}

.job-card--little-crackers .job-card__button:hover,
.job-card--little-crackers .job-card__button:focus {
  background: #ea5f1f;
  border-color: #ea5f1f;
}

.job-card--crackley .job-card__button:hover,
.job-card--crackley .job-card__button:focus {
  background: #9f2843;
  border-color: #9f2843;
}

.job-card--crescent .job-card__button:hover,
.job-card--crescent .job-card__button:focus {
  background: #74bc1f;
  border-color: #74bc1f;
}

/* Job detail */
.page-job-detail {
  position: relative;
}

.page-job-detail .pc-job-hero-bg {
  display: none;
}

.page-job-detail .pc-job-hero-bg::before {
  display: none;
}

.page-job-detail .pc-detail-banner {
  position: relative;
  z-index: 1;
  padding: 50px 0 60px;
  overflow: hidden;
  background: linear-gradient(rgba(50, 55, 35, 0.35), rgba(50, 55, 35, 0.35)), url("../content/images/banners/detail.jpg") center/cover no-repeat;
}

.page-job-detail .pc-detail-banner__inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 93.5px;
}

.page-job-detail .pc-detail-banner__title {
  position: relative;
  z-index: 2;
  margin: 0;
  color: #fff;
  font-family: "FS Me Pro Regular", Arial, sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 48px;
  text-transform: none;
}

.page-job-detail .pc-detail-banner__angle {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 40px;
  background: #99cc01;
  clip-path: polygon(0 75%, 100% 0, 100% 100%, 0 100%);
}

.page-job-detail .job-details_about {
  padding: 26px 24px 24px;
  background: #f2f2f2;
  border-radius: 0;
  box-shadow: none;
}

.page-job-detail .job-details_container {
  position: relative;
  z-index: 1;
}

.page-job-detail .job-details_wrapper {
  align-items: flex-start;
}

@media (max-width: 1024px) {
  .page-job-detail .pc-detail-banner__inner {
    padding: 0 32px;
  }
}

@media (max-width: 991px) {
  .page-job-detail .pc-detail-banner__inner {
    padding: 0 22px;
  }
}

@media (max-width: 767px) {
  .page-job-detail .pc-detail-banner {
    padding: 20px 0 40px;
  }

  .page-job-detail .pc-detail-banner__inner {
    padding: 0 22px;
  }

  .page-job-detail .pc-detail-banner__title {
    font-size: 35px;
    line-height: 43px;
  }

  .page-job-detail .pc-detail-banner__angle {
    bottom: -10px;
    height: 90px;
    transform: rotate(-1deg);
  }

  .page-job-detail .job-details_description {
    padding-left: 0;
  }

  .page-job-detail .job-details_jobLocation {
    margin-bottom: 18px;
    font-size: 18px;
    line-height: 26px;
  }
}

@media (max-width: 575px) {
  .page-job-detail .pc-detail-banner__inner {
    padding: 0 14px;
  }
}

.page-job-detail .job-details_title {
  margin: 0 0 22px;
  color: #009ba4;
  font-family: "FS Me Pro Regular", Arial, sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: none;
}

.page-job-detail .job-details_content {
  display: flex;
  flex-direction: column;
}

.page-job-detail .job-details_description {
  padding-left: 12px;
}

.page-job-detail .job-details_jobLocation {
  margin-bottom: 24px;
  color: #1c1f2a;
  font-family: "FS Me Pro Regular", Arial, sans-serif;
  font-size: 22px;
  line-height: 30px;
}

.page-job-detail .job-details_jobLocation span + span {
  margin-left: 4px;
}

.page-job-detail .job-details_body {
  color: #1c1f2a;
}

.page-job-detail .job-details_subtitle {
  margin: 18px 0 8px;
  color: #009ba4;
  font-family: "FS Me Pro Regular", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: none;
}

.page-job-detail .job-details_subtitle:first-child {
  margin-top: 0;
}

.page-job-detail .job-details_content > div:not(.job-details_subtitle) p {
  margin: 0 0 4px;
  color: #1c1f2a;
  font-size: 0.98rem;
  line-height: 1.45;
}

.page-job-detail .job-description {
  color: #1c1f2a;
}

.page-job-detail .job-description p,
.page-job-detail .job-description li {
  margin: 0 0 1em;
  color: #1c1f2a;
  font-size: 14px;
  line-height: 22px;
  text-align: left;
}

.page-job-detail .job-description ul,
.page-job-detail .job-description ol {
  margin: 0 0 1em;
  padding-left: 18px;
}

.page-job-detail .job-description li {
  padding-left: 0;
}

.page-job-detail .job-description h2,
.page-job-detail .job-description h3 {
  margin: 1.4em 0 0.45em;
  color: #009ba4;
  font-family: "FS Me Pro Regular", Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 30px;
  text-transform: none;
}

.page-job-detail h2 {
  color: #009ba4;
}

.page-job-detail .job-description h4 {
  margin: 1.2em 0 0.45em;
  color: #1c1f2a;
  font-family: "FS Me Pro Regular", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  text-transform: none;
}

.page-job-detail .job-description a {
  color: #009ba4;
  text-decoration: underline;
}

.page-job-detail .job-details_apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 12px 18px;
  background-color: #009ba4;
  border: 1px solid #009ba4;
  border-radius: 5px;
  color: #fff;
  font-family: "FS Me Pro Regular", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: none;
  text-decoration: none;
}

.page-job-detail .job-details_apply:hover,
.page-job-detail .job-details_apply:focus {
  background-color: #009ba4;
  border-color: #009ba4;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
}

.page-job-detail .job-details_donwload {
  margin-top: 4px;
}

.page-job-detail > .section .btn.btn-primary,
.page-job-detail > .section .btn.btn-outline-primary {
  text-transform: none;
}

/* Footer */














/* Utilities */
.pc-section {
  padding: 4rem 0;
}

.pc-section.bg-light {
  background: var(--pc-light);
}

@media (max-width: 768px) {
  

  

  

  

  

  .pc-hero__panel {
    margin-top: 1.5rem;
  }
}

@media (max-width: 768px) {
  

  

  
}

@media (max-width: 1200px) {
  
}

@media (max-width: 768px) {
  
  .pc-school-card {
    min-height: 360px;
  }

.fa {
  color: black !important;
}


}
/* Crystal Care content styling
   Typography, colours and buttons only. Existing page structure and layout remain unchanged. */
:root {
  --pc-blue: #475e41;
  --pc-blue-dark: #323723;
  --pc-ink: #323723;
  --pc-slate: #475e41;
  --pc-light: #f4f0e8;
  --pc-cream: #ffffff;
  --pc-line: rgba(71, 94, 65, 0.22);
  --pc-gold: #d6b97a;
}

body,
body input,
body select,
body textarea,
body button,
.page-job-detail,
.pc-section,
.pc-hero,
.job-alerts-container,
.job-details_container {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  color: var(--pc-ink);
}

body {
  background: #ffffff;
}

body p,
.pc-section p,
.job-details_container p,
.job-card .card-body p {
  color: var(--pc-ink);
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
.hero__title,
.pc-detail-banner__title,
.page-job-detail .job-details_title,
.page-job-detail .job-details_subtitle,
.page-job-detail .job-description h2,
.page-job-detail .job-description h3,
.page-job-detail .job-description h4,
.card-title {
  font-family: "HvDTrial Brandon Grotesque", Arial, sans-serif !important;
  color: var(--crystal-green, #475e41);
}

.pc-hero__overlay {
  background: linear-gradient(120deg, rgba(50, 55, 35, 0.84), rgba(71, 94, 65, 0.58));
}

.pc-hero__copy,
.pc-hero__copy p,
.pc-hero .hero__title {
  color: #ffffff;
}

.pc-hero__panel,
.card,
.page-job-detail .job-details_about {
  background-color: #f4f0e8;
  border-color: var(--pc-line);
}

.bg-light,
.pc-section.bg-light {
  background-color: #f4f0e8 !important;
}

.bg-white,
.pc-section.bg-white {
  background-color: #ffffff !important;
}

/* Match the Crystal Care header/footer button treatment. */
.btn.btn-primary,
.btn.btn-outline-primary,
.hero__cta,
.page-job-detail .job-details_apply,
.job-card .job-card__button,
.job-alerts-container .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid #475e41;
  border-radius: 4px;
  background: #475e41;
  color: #ffffff;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  box-shadow: none;
}

.btn.btn-primary,
.btn.btn-outline-primary {
  font-family: "Cormorant Garamond", Georgia, serif !important;
}

.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn.btn-outline-primary:hover,
.btn.btn-outline-primary:focus,
.hero__cta:hover,
.hero__cta:focus,
.page-job-detail .job-details_apply:hover,
.page-job-detail .job-details_apply:focus,
.job-card .job-card__button:hover,
.job-card .job-card__button:focus,
.job-alerts-container .btn:hover,
.job-alerts-container .btn:focus {
  border-color: #323723;
  border-radius: 4px;
  background: #323723;
  color: #ffffff;
  text-decoration: none;
  box-shadow: none;
}

.btn.btn-outline-primary {
  background: transparent;
  color: #475e41;
}

.btn.btn-outline-primary:hover,
.btn.btn-outline-primary:focus {
  background: #475e41;
  border-color: #475e41;
  color: #ffffff;
}

#job-search .form-control,
#job-search .custom-select,
.form-control,
.custom-select {
  border-color: var(--pc-line);
  border-radius: 4px;
  color: #323723;
}

.form-control:focus,
.custom-select:focus {
  border-color: #475e41;
  box-shadow: 0 0 0 0.2rem rgba(71, 94, 65, 0.16);
}

.job-card,
.pc-hero__panel {
  border-radius: clamp(.938rem,.8rem + .5vw,1.25rem);
}

.job-card .card-header,
.job-card__header {
  background: #475e41;
  color: #ffffff;
}

.job-card .card-header,
.job-card .card-header .card-title,
.page-job-detail .pc-detail-banner__title {
  color: #ffffff;
}

.job-card .btn.btn-primary,
.job-card .btn.btn-outline-primary,
.job-card .job-card__button {
  background: #98a869;
  border-color: #98a869;
  color: #ffffff;
}

.job-card .btn.btn-primary:hover,
.job-card .btn.btn-primary:focus,
.job-card .btn.btn-outline-primary:hover,
.job-card .btn.btn-outline-primary:focus,
.job-card .job-card__button:hover,
.job-card .job-card__button:focus {
  background: #dbdfcb;
  border-color: #dbdfcb;
  color: #475e41;
}

.job-card--little-crackers .job-card__button:hover,
.job-card--little-crackers .job-card__button:focus,
.job-card--crackley .job-card__button:hover,
.job-card--crackley .job-card__button:focus,
.job-card--crescent .job-card__button:hover,
.job-card--crescent .job-card__button:focus {
  background: #dbdfcb;
  border-color: #dbdfcb;
  color: #475e41;
}

.page-job-detail .pc-detail-banner__angle {
  display: none;
}

.page-job-detail .job-details_title,
.page-job-detail .job-details_subtitle,
.page-job-detail h2,
.page-job-detail .job-description h2,
.page-job-detail .job-description h3,
.page-job-detail .job-description a {
  color: #475e41;
}

.page-job-detail .job-details_jobLocation,
.page-job-detail .job-details_body,
.page-job-detail .job-description,
.page-job-detail .job-description p,
.page-job-detail .job-description li,
.page-job-detail .job-description h4,
.page-job-detail .job-details_content > div:not(.job-details_subtitle) p {
  color: #323723;
}

.breadcrumb-item a,
a:not(.btn):not(.theme-button):not(.hero__cta):not(.job-details_apply) {
  color: #475e41;
}

.header-nav,
.header-nav *,
.site-footer .footer-nav,
.site-footer .footer-nav *,
.site-footer .footer-title,
.site-footer .theme-button {
  font-family: "HvDTrial Brandon Grotesque", Arial, sans-serif !important;
}

/* Careers typography: editorial titles and introductory copy use Cormorant;
   body and compact interface text use Brandon Grotesque. */
body,
body input,
body select,
body textarea,
body button,
.pc-section,
.job-details_container,
.job-card .card-body,
.pc-section p,
.job-details_container p,
.job-card .card-body p,
.no-jobs-message,
.job-alerts-container p {
  font-family: "HvDTrial Brandon Grotesque", Arial, sans-serif !important;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
.hero__title,
.pc-detail-banner__title,
.page-job-detail .job-details_title,
.page-job-detail .job-details_subtitle,
.page-job-detail .job-description h2,
.page-job-detail .job-description h3,
.page-job-detail .job-description h4,
.card-title,
.pc-hero__copy,
.pc-hero__copy p {
  font-family: "Cormorant Garamond", Georgia, serif !important;
}

.pc-hero__copy {
  max-width: 760px;
  font-size: 28px;
  line-height: 1.25;
}

.no-jobs-message,
.job-alerts-container p,
.job-alerts-container .btn {
  font-family: "HvDTrial Brandon Grotesque", Arial, sans-serif !important;
}

/* Keep every interactive button treatment consistent with the Crystal brand. */
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.btn,
.theme-button,
.hero__cta,
.page-job-detail .job-details_apply,
.job-card .job-card__button,
button *:not(.fa),
.btn *:not(.fa),
.theme-button *:not(.fa),
.hero__cta *:not(.fa),
.page-job-detail .job-details_apply *:not(.fa),
.job-card .job-card__button *:not(.fa) {
  font-family: "HvDTrial Brandon Grotesque", Arial, sans-serif !important;
}

.btn.btn-primary.job-search-button {
  font-family: "HvDTrial Brandon Grotesque", Arial, sans-serif !important;
}

/* Careers content buttons use Brandon at regular weight; header and footer
   controls retain their own brand treatment. */
.pc-hero .btn,
.pc-hero .hero__cta,
.pc-section .btn,
.pc-section .hero__cta,
.page-job-detail .btn,
.page-job-detail .job-details_apply,
.job-card .job-card__button,
#job-search button,
#job-search input[type="button"],
#job-search input[type="reset"],
#job-search input[type="submit"] {
  font-weight: 400 !important;
}
