:root {
  --fco-navy: #001931;
  --fco-gold: #ffba00;
  --fco-gold-deep: #d99400;
  --fco-red: #cc1818;
  --fco-paper: #ffffff;
  --fco-ink: #1d2d3d;
  --fco-muted: #4d5e6f;
  --fco-border: #dbe0e9;
  --fco-soft: #eef1f7;
}

.fco-location-page,
.fco-location-hub {
  color: var(--fco-ink);
  font-family: inherit;
  line-height: 1.65;
}

.fco-location-page *,
.fco-location-hub * {
  box-sizing: border-box;
}

.fco-location-page a,
.fco-location-hub a {
  color: #005b96;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

.fco-location-page a:hover,
.fco-location-hub a:hover {
  color: var(--fco-navy);
}

.fco-container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.fco-breadcrumbs {
  margin: 1.25rem 0;
  font-size: 0.92rem;
  color: var(--fco-muted);
}

.fco-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fco-breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.45rem;
  color: #808c98;
}

.fco-hero {
  padding: clamp(2.7rem, 6vw, 5rem) 0;
  background: linear-gradient(135deg, var(--fco-navy), #003560);
  color: var(--fco-paper);
}

.fco-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.75fr);
  gap: clamp(1.5rem, 5vw, 4.25rem);
  align-items: center;
}

.fco-kicker {
  display: inline-block;
  margin: 0 0 0.8rem;
  color: var(--fco-gold);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fco-hero h1,
.fco-hero__title {
  max-width: 860px;
  margin: 0;
  color: var(--fco-paper);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
}

.fco-hero p {
  max-width: 760px;
  margin: 1.25rem 0 0;
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.fco-cta-card {
  padding: 1.55rem;
  border-radius: 0.75rem;
  background: var(--fco-paper);
  color: var(--fco-ink);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.2);
}

.fco-cta-card__eyebrow,
.fco-price__label {
  display: block;
  color: var(--fco-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fco-price {
  margin: 0.4rem 0 1.1rem;
}

.fco-price__current {
  color: var(--fco-navy);
  font-size: 2rem;
  font-weight: 850;
}

.fco-price__regular {
  margin-left: 0.45rem;
  color: var(--fco-muted);
  font-size: 0.98rem;
  text-decoration: line-through;
}

.fco-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.72rem 1.18rem;
  border: 2px solid var(--fco-gold);
  border-radius: 0.35rem;
  background: var(--fco-gold);
  color: var(--fco-navy) !important;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.fco-button:hover,
.fco-button:focus-visible {
  background: #ffd15c;
  transform: translateY(-1px);
}

.fco-button--full {
  width: 100%;
}

.fco-main {
  padding: clamp(2.25rem, 5vw, 4.5rem) 0;
}

.fco-main section + section {
  margin-top: clamp(2rem, 5vw, 4rem);
}

.fco-main h2 {
  margin: 0 0 0.85rem;
  color: var(--fco-navy);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.2;
}

.fco-main h3 {
  color: var(--fco-navy);
  font-size: 1.1rem;
}

.fco-main p {
  max-width: 78ch;
}

.fco-panel {
  padding: clamp(1.25rem, 3vw, 2.1rem);
  border: 1px solid var(--fco-border);
  border-radius: 0.65rem;
  background: var(--fco-paper);
}

.fco-course-grid,
.fco-trust-grid,
.fco-link-grid {
  display: grid;
  gap: 1rem;
}

.fco-course-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fco-trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fco-link-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fco-feature {
  min-height: 100%;
  padding: 1.15rem;
  border-left: 4px solid var(--fco-gold);
  background: var(--fco-soft);
}

.fco-feature h3 {
  margin: 0 0 0.35rem;
}

.fco-feature p {
  margin: 0;
}

.fco-emphasis {
  padding: clamp(1.4rem, 4vw, 2.5rem);
  border-radius: 0.7rem;
  background: var(--fco-soft);
}

.fco-inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 0.65rem;
  background: var(--fco-navy);
  color: var(--fco-paper);
}

.fco-inline-cta p {
  flex: 1 1 20rem;
  margin: 0;
}

.fco-faq details {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--fco-border);
}

.fco-faq details:first-of-type {
  border-top: 1px solid var(--fco-border);
}

.fco-faq summary {
  cursor: pointer;
  color: var(--fco-navy);
  font-weight: 800;
}

.fco-faq p {
  margin: 0.65rem 0 0;
}

.fco-hub-hero {
  padding: clamp(2.4rem, 5vw, 4rem) 0;
  background: var(--fco-navy);
  color: var(--fco-paper);
}

.fco-hub-hero h1,
.fco-hub-hero .fco-hub-hero__title,
.fco-hub-hero p {
  color: var(--fco-paper);
}

.fco-hub-hero__title {
  max-width: 860px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.12;
}

.fco-key-location-link {
  max-width: 1180px;
  margin: 2rem auto;
  padding: 1.35rem 1.5rem;
  border-left: 4px solid var(--fco-gold);
  background: #f7f9fb;
  color: var(--fco-navy);
}

.fco-key-location-link h2 {
  margin: 0 0 0.5rem;
  color: var(--fco-navy);
  font-size: 1.35rem;
}

.fco-key-location-link p {
  margin: 0;
}

.fco-key-location-link a {
  color: var(--fco-navy);
  font-weight: 700;
  text-decoration-thickness: 2px;
}

.fco-location-list {
  columns: 3 15rem;
  gap: 1.25rem 2.2rem;
  padding: 0;
  list-style: none;
}

.fco-location-list li {
  margin-bottom: 0.5rem;
  break-inside: avoid;
}

@media (max-width: 760px) {
  .fco-hero__grid,
  .fco-course-grid,
  .fco-trust-grid,
  .fco-link-grid {
    grid-template-columns: 1fr;
  }

  .fco-cta-card {
    max-width: 34rem;
  }
}

/* Whole-site optimization: keep primary course purchase information near the top of the viewport. */
.stm-lms-wrapper .masterstudy-single-course-full-width__topbar {
  margin: 28px 0 32px;
}

@media (max-width: 767px) {
  .stm-lms-wrapper .masterstudy-single-course-full-width__topbar {
    margin: 0 0 24px;
    padding-top: 20px;
  }
}

/* The MasterStudy full-width template uses light text when a course thumbnail is absent. */
.stm-lms-wrapper .masterstudy-single-course-full-width__topbar .masterstudy-single-course-title,
.stm-lms-wrapper .masterstudy-single-course-full-width__topbar .masterstudy-single-course-categories__item {
  color: var(--fco-navy) !important;
}

.stm-lms-wrapper .masterstudy-single-course-full-width__topbar .masterstudy-single-course-categories__item {
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}
