@charset "UTF-8";
/*
Theme Name: CCA Courses
Author: Marten - using underscores_ as the base template
Description: Narrow course catalogue theme for the CCA courses website
Version: 0.0.1
*/
@font-face {
  font-family: "DM_Sans";
  src: url("assets/fonts/DM_Sans/DMSans-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM_Sans";
  src: url("assets/fonts/DM_Sans/DMSans-Italic-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Red_Hat_Display";
  src: url("assets/fonts/Red_Hat_Display/RedHatDisplay-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Red_Hat_Display";
  src: url("assets/fonts/Red_Hat_Display/RedHatDisplay-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}
body {
  font-family: "DM_Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #333333;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Red_Hat_Display", sans-serif;
  color: #0a0644;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.25rem;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  background: #f5f5f5;
}

img, svg, video {
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: #0d369c;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #1E236D;
}

button, input, select, textarea {
  font: inherit;
}

button, select {
  cursor: pointer;
}

input, select, textarea {
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid #022db9;
  outline-offset: 4px;
}

[tabindex="-1"]:focus {
  outline: none;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  inset: 1rem auto auto 1rem;
  z-index: 2000;
  width: auto;
  height: auto;
  margin: 0;
  padding: 1rem;
  clip-path: none;
  background: white;
}

.courses-home-container, .course-single-container, .page-container, .front-page-container {
  width: min(1180px, 100% - 3rem);
  margin-inline: auto;
}

.site-main {
  min-height: 50vh;
}

p {
  margin-top: 0;
}

[id] {
  scroll-margin-top: 7rem;
}

@media (max-width: 600px) {
  .courses-home-container, .course-single-container, .page-container, .front-page-container {
    width: calc(100% - 2rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
.courses-button, .button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  min-height: 46px;
  padding: 0.8rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.95rem;
  line-height: 1.4;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
}

.courses-button--primary {
  color: #022db9;
  background: rgba(2, 45, 185, 0.07);
  border-color: transparent;
}

.courses-button--primary:hover {
  color: #022db9;
  background: rgba(2, 45, 185, 0.12);
  border-color: transparent;
}

.courses-button--secondary {
  color: #04163b;
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(4, 22, 59, 0.09);
}

.courses-button--secondary:hover {
  background: white;
  color: #022db9;
}

.courses-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

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

.course-archive-eyebrow, .courses-home-eyebrow, .course-single-eyebrow {
  margin: 0 0 1rem;
  color: #022db9;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.course-empty-state {
  border: 1px solid rgba(4, 22, 59, 0.12);
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.75);
}

.course-empty-state p:last-child {
  margin-bottom: 0;
}

.course-empty-state h2, .course-empty-state h3 {
  font-size: 1.5rem;
}

.courses-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.courses-card {
  border: 1px solid rgba(4, 22, 59, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.84);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(4, 22, 59, 0.04);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.courses-card:hover {
  border-color: rgba(2, 45, 185, 0.4);
  box-shadow: 0 12px 32px rgba(4, 22, 59, 0.09);
}

.courses-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.courses-card__link:focus-visible {
  outline-offset: -4px;
}

.courses-card__media {
  aspect-ratio: 16/8;
  overflow: hidden;
}

.courses-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.courses-card__body {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.courses-card__topline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}

.courses-card__category {
  color: #022db9;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cca-availability {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  line-height: 1.5;
  font-weight: 650;
  color: #04163b;
  background: rgba(4, 22, 59, 0.065);
  border-radius: 6px;
  padding: 0.25rem 0.5rem;
}

.cca-availability--open {
  color: #022db9;
  background: rgba(2, 45, 185, 0.075);
}

.cca-card-date {
  margin-bottom: 0.65rem;
  font-size: 0.85rem;
  color: #04163b;
  font-weight: 700;
}

.courses-card__title {
  font-size: 1.4rem;
  color: #04163b;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.courses-card__excerpt {
  color: rgba(4, 22, 59, 0.8);
  font-size: 0.93rem;
  line-height: 1.65;
}

.courses-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.83rem;
  color: #333333;
}

.courses-card__meta span + span::before {
  content: "·";
  margin-right: 0.5rem;
}

.courses-card__price {
  font-size: 0.83rem;
  color: #333333;
  margin: 0.65rem 0 0;
}

.courses-card__cta {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1.4rem;
  color: #022db9;
  font-weight: 700;
  font-size: 0.9rem;
}

.cca-field-help {
  font-size: 0.85rem;
  line-height: 1.65;
  color: #4a5264;
}

@media (max-width: 960px) {
  .courses-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .courses-card-grid {
    grid-template-columns: 1fr;
  }
}
.courses-home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin-top: 1.5rem;
}

.courses-home-actions > a:not(.courses-button) {
  padding-block: 0.6rem;
}

.cca-registration {
  background: white;
}

.cca-registration-form fieldset {
  padding: 1.5rem 0 0;
  margin: 1.5rem 0;
  border: 0;
  border-top: 1px solid rgba(4, 22, 59, 0.14);
  min-width: 0;
}

.cca-registration-form legend {
  font-family: "Red_Hat_Display", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #04163b;
  padding-right: 1rem;
}

.cca-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.cca-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0.4rem;
}

.cca-field--wide {
  grid-column: 1/-1;
}

.cca-field label {
  font-size: 0.84rem;
  line-height: 1.5;
  color: #04163b;
  font-weight: 650;
}

.cca-field input, .cca-field textarea, .cca-field select {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 0.7rem 0.8rem;
  color: #333333;
  border: 1px solid #939bae;
  border-radius: 6px;
  background: #fff;
  font-size: 1rem;
  line-height: 1.4;
}

.cca-field textarea {
  resize: vertical;
}

.cca-field [aria-invalid=true] {
  border: 2px solid #04163b;
}

.cca-checkbox {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 0.9rem;
  margin: 1.2rem 0;
}

.cca-checkbox input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin: 0.15rem 0 0;
  accent-color: #022db9;
}

.cca-registration-form > .courses-button {
  margin: 0.4rem 0 0.8rem;
}

.cca-notice {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background: rgba(2, 45, 185, 0.055);
  border-left: 4px solid #022db9;
  border-radius: 6px;
}

.cca-notice--error {
  background: #f4f4f4;
  border-color: #04163b;
}

.cca-notice--error h3 {
  font-size: 1.1rem;
}

.cca-notice ul {
  padding-left: 1.3rem;
}

.cca-field-error {
  margin: 0.2rem 0;
  font-size: 0.8rem;
  font-weight: 650;
}

.cca-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 560px) {
  .cca-form-grid {
    grid-template-columns: 1fr;
  }
  .cca-registration-form > .courses-button {
    width: 100%;
  }
}
.cca-programme-list {
  display: grid;
  gap: 2rem;
}

.cca-course-sheet {
  position: relative;
  display: grid;
  grid-template-columns: minmax(160px, 240px) minmax(0, 1fr) 230px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(4, 22, 59, 0.09);
  border-radius: 10px;
  overflow: hidden;
  min-height: 260px;
}

.cca-course-sheet__image {
  display: block;
  min-width: 0;
}

.cca-course-sheet__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.cca-course-sheet__description {
  padding: 1.7rem 2rem;
}

.cca-course-sheet__description h2, .cca-course-sheet__description h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-weight: 650;
  line-height: 1.22;
  margin-bottom: 0.8rem;
}

.cca-course-sheet__description h2 a, .cca-course-sheet__description h3 a {
  color: #04163b;
  text-decoration: none;
}

.cca-course-sheet__description a:hover {
  text-decoration: underline;
}

.cca-course-sheet__description p:not(.courses-home-eyebrow) {
  font-size: 0.89rem;
  line-height: 1.7;
}

.cca-course-sheet__description .courses-home-eyebrow {
  font-size: 0.68rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.06em;
}

.cca-course-sheet__description .cca-course-sheet__meta {
  color: #4a5264;
  font-size: 0.77rem;
  margin-bottom: 0;
}

.cca-course-sheet__dates {
  padding: 1.4rem 1rem;
  background: rgba(2, 45, 185, 0.045);
}

.cca-date-heading {
  padding-inline: 0.65rem;
  font-size: 0.74rem;
  font-weight: 650;
  margin-bottom: 0.6rem;
  color: #04163b;
}

.cca-course-sheet__dates ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cca-course-sheet__dates li + li {
  margin-top: 0.25rem;
}

.cca-course-sheet__dates a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 0.5rem;
  padding: 0.7rem 0.65rem;
  border-radius: 6px;
  color: #04163b;
  text-decoration: none;
  font-size: 0.81rem;
  line-height: 1.5;
}

.cca-course-sheet__dates a:hover {
  background: rgba(2, 45, 185, 0.07);
}

.cca-course-sheet__dates a:hover > span:first-child {
  text-decoration: underline;
}

.cca-course-sheet__dates small {
  grid-column: 1/-1;
  color: #555f70;
  font-size: 0.69rem;
}

.cca-course-sheet:not(:has(.cca-course-sheet__image)) {
  grid-template-columns: minmax(0, 1fr) 230px;
}

.cca-catalogue-filters {
  padding-inline: 1.2rem;
  background: rgba(2, 45, 185, 0.045);
  border: 1px solid rgba(4, 22, 59, 0.09);
  border-radius: 10px;
}

.cca-catalogue-filters > summary {
  cursor: pointer;
  padding-block: 1rem;
  font-size: 0.9rem;
  font-weight: 650;
}

.cca-catalogue-filters .cca-filters {
  background: transparent;
  border: 0;
  padding: 0.5rem 0 1.4rem;
}

@media (max-width: 1000px) {
  .cca-course-sheet {
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .cca-course-sheet__dates {
    grid-column: 1/-1;
    border-left: 0;
    border-top: 1px solid rgba(4, 22, 59, 0.09);
    padding: 0.7rem 1.4rem;
  }
  .cca-course-sheet__dates ul {
    display: flex;
    flex-wrap: wrap;
    column-gap: 1.7rem;
  }
  .cca-course-sheet__dates li + li {
    border: 0;
  }
  .cca-course-sheet__dates a {
    min-width: 170px;
  }
  .cca-course-sheet__description {
    padding: 1.4rem;
  }
  .cca-course-sheet:not(:has(.cca-course-sheet__image)) {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 580px) {
  .cca-course-sheet {
    grid-template-columns: 1fr;
  }
  .cca-course-sheet__image {
    max-height: 210px;
    overflow: hidden;
  }
  .cca-course-sheet__image img {
    aspect-ratio: 1.8;
    height: auto;
  }
  .cca-course-sheet__dates ul {
    display: block;
  }
  .cca-course-sheet__dates li + li {
    margin-top: 0.25rem;
  }
  .cca-course-sheet__description h2, .cca-course-sheet__description h3 {
    font-size: 1.45rem;
  }
}
.cca-home-introduction {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: 4rem 5rem;
}

.cca-home-introduction h1 {
  font-size: clamp(2.8rem, 4.7vw, 4rem);
  line-height: 1.13;
  font-weight: 650;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
}

.cca-home-introduction .courses-home-eyebrow {
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.cca-home-description {
  max-width: 450px;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.6rem;
}

.cca-text-link {
  display: inline-flex;
  gap: 1rem;
  color: #04163b;
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1px solid #022db9;
  padding-block: 0.2rem 0.45rem;
}

.cca-home-illustration {
  margin: 0;
  position: relative;
}

.cca-home-illustration img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.3;
  object-fit: cover;
  border-radius: 10px;
}

.cca-home-illustration figcaption {
  font-size: 0.75rem;
  margin-top: 0.65rem;
  color: #4a5264;
}

.cca-programme-status {
  margin: 2.5rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(4, 22, 59, 0.2);
  font-size: 0.83rem;
  max-width: 400px;
}

.cca-hero-programme {
  border-top: 1px solid rgba(4, 22, 59, 0.25);
  margin-top: 2.5rem;
  padding-top: 1rem;
}

.cca-hero-programme > h2 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 650;
  margin-bottom: 0.8rem;
}

.cca-hero-programme article + article {
  border-top: 1px solid rgba(4, 22, 59, 0.15);
  padding-top: 0.7rem;
}

.cca-hero-programme article p {
  font-size: 0.77rem;
  margin-bottom: 0.2rem;
  color: #4a5264;
}

.cca-hero-programme article h3 {
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 650;
}

.cca-hero-programme article a {
  color: #04163b;
  text-decoration: none;
}

.cca-hero-programme article a:hover {
  text-decoration: underline;
}

.cca-programme {
  padding-bottom: 4rem;
}

.cca-programme-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-top: 1.3rem;
  border-top: 2px solid #04163b;
  margin-bottom: 2rem;
}

.cca-programme-heading h2 {
  font-size: 1.6rem;
  font-weight: 650;
  margin: 0;
}

.cca-programme-heading a {
  font-size: 0.83rem;
}

.cca-registration-note {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  border-top: 1px solid rgba(4, 22, 59, 0.25);
  padding-block: 2.5rem 4rem;
}

.cca-registration-note h2 {
  font-size: 1.35rem;
  font-weight: 650;
}

.cca-registration-note p {
  max-width: 620px;
  font-size: 0.94rem;
}

@media (max-width: 760px) {
  .cca-home-introduction {
    grid-template-columns: 1fr;
    padding-block: 2.5rem 3.5rem;
    gap: 2rem;
  }
  .cca-home-illustration img {
    aspect-ratio: 1.8;
  }
  .cca-home-introduction h1 {
    font-size: 2.8rem;
  }
  .cca-programme-status {
    margin-top: 1.5rem;
  }
  .cca-registration-note {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}
.course-archive-main {
  padding: clamp(2.5rem, 6vw, 5rem) 0 5rem;
}

.course-archive-header {
  max-width: 780px;
  margin-bottom: 2.5rem;
}

.course-archive-intro {
  font-size: 1.1rem;
  color: #46516a;
}

.cca-filters {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)) auto;
  gap: 1rem;
  align-items: end;
  padding: 1.4rem;
  border: 1px solid rgba(4, 22, 59, 0.12);
  background: white;
  border-radius: 10px;
}

.cca-results-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  padding: 1.3rem 0;
}

.cca-results-summary p {
  margin: 0;
}

.pagination {
  margin: 2.5rem 0 0;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(4, 22, 59, 0.15);
  border-radius: 6px;
  background: white;
  text-decoration: none;
}

.page-numbers.current {
  color: #022db9;
  background: rgba(2, 45, 185, 0.07);
  border-color: transparent;
}

@media (max-width: 1050px) {
  .cca-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .cca-filter-search {
    grid-column: span 2;
  }
}
@media (max-width: 650px) {
  .cca-filters {
    grid-template-columns: 1fr 1fr;
    padding: 1rem;
    gap: 0.85rem;
  }
  .cca-filter-search {
    grid-column: 1/-1;
  }
  .cca-filters .courses-button {
    grid-column: 1/-1;
  }
}
@media (max-width: 390px) {
  .cca-filters {
    grid-template-columns: 1fr;
  }
}
.cca-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  font-size: 0.8rem;
  color: #4a5264;
  margin-bottom: 2.25rem;
}

.cca-breadcrumb [aria-current] {
  overflow-wrap: anywhere;
}

.course-single-title {
  line-height: 1.1;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  font-weight: 650;
}

.course-single-summary {
  font-size: 1.1rem;
  color: #46516a;
}

.course-single-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.course-single-overview {
  grid-column: 2;
  grid-row: 1;
  padding: 1.4rem;
  background: rgba(2, 45, 185, 0.045);
  border: 1px solid rgba(4, 22, 59, 0.09);
  border-radius: 10px;
}

.course-single-overview__item {
  display: grid;
  gap: 0.25rem;
  padding-block: 0.7rem;
  border-bottom: 1px solid rgba(4, 22, 59, 0.08);
}

.course-single-overview__item:first-child {
  padding-top: 0;
}

.course-single-overview__item:last-child {
  border: 0;
  padding-bottom: 0;
}

.course-single-overview__label {
  color: #4a5264;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.course-single-overview__value {
  color: #04163b;
  font-size: 0.95rem;
  font-weight: 650;
}

.course-single-body {
  padding-block: 2rem 5rem;
}

.course-single-body__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  grid-template-rows: auto 1fr;
  gap: 1.5rem 2.5rem;
  align-items: start;
}

.course-single-content, .course-single-sidebar {
  display: grid;
  gap: 1.5rem;
  min-width: 0;
}

.course-single-content {
  grid-column: 1;
  grid-row: 1/span 2;
}

.course-single-sidebar {
  grid-column: 2;
  grid-row: 2;
}

.course-single-introduction > :last-child {
  margin-bottom: 0;
}

.course-single-section, .course-info-card {
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid rgba(4, 22, 59, 0.12);
  background: transparent;
  border-radius: 10px;
  min-width: 0;
}

.course-single-section h2 {
  font-size: 1.65rem;
}

.course-single-section__content {
  overflow-wrap: anywhere;
}

.course-single-section__content > :last-child {
  margin-bottom: 0;
}

.course-single-section__content h2, .course-single-section__content h3 {
  margin-top: 1.7rem;
}

.course-single-section__content img {
  max-width: 100%;
  height: auto;
}

.course-single-section__content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.course-info-card {
  padding: 1.4rem;
  border-color: rgba(4, 22, 59, 0.09);
  background: rgba(255, 255, 255, 0.6);
}

.course-info-card__title {
  font-size: 1.15rem;
}

.course-price-list {
  margin: 0 0 1rem;
}

.course-price-list__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(4, 22, 59, 0.1);
}

.course-price-list__row dt {
  font-size: 0.9rem;
}

.course-price-list__row dd {
  margin: 0;
  color: #04163b;
  font-weight: 750;
  text-align: right;
  max-width: 170px;
  overflow-wrap: anywhere;
}

.cca-calendar-link {
  display: inline-block;
  padding-block: 0.5rem;
  font-size: 0.82rem;
}

.cca-course-reminder {
  grid-column: 1/-1;
  padding-top: 0.75rem;
}

.cca-course-reminder:last-child, .cca-course-reminder > :last-child {
  margin-bottom: 0;
}

.cca-course-help {
  background: transparent;
  color: #04163b;
}

.cca-course-help h2, .cca-course-help a {
  color: #04163b;
}

.cca-course-help p {
  font-size: 0.9rem;
  color: #333333;
}

.cca-registration-container {
  margin-top: 2.5rem;
  max-width: 850px;
}

.cca-faq {
  max-width: 850px;
  padding-top: 3.5rem;
}

.cca-faq details {
  border-bottom: 1px solid rgba(4, 22, 59, 0.15);
  padding: 1.1rem 0;
}

.cca-faq summary {
  cursor: pointer;
  color: #04163b;
  font-weight: 650;
  padding: 0.3rem 0;
}

.cca-faq details p {
  margin: 1rem 0 0.4rem;
}

@media (max-width: 900px) {
  .course-single-body__layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .course-single-content {
    display: contents;
  }
  .course-single-introduction, .cca-course-image, .course-single-section, .course-single-overview, .course-single-sidebar {
    width: 100%;
  }
  .course-single-introduction {
    order: 0;
  }
  .cca-course-image {
    order: 1;
  }
  .course-single-overview {
    order: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
  }
  .course-single-section {
    order: 3;
  }
  .course-single-sidebar {
    order: 4;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 580px) {
  .course-single-sidebar {
    grid-template-columns: 1fr;
  }
  .course-single-actions > a {
    width: 100%;
  }
  .cca-breadcrumb {
    margin-bottom: 2rem;
  }
}
.cca-course-image {
  margin: 0.25rem 0 0;
}

.cca-course-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.95;
  max-height: 430px;
  object-fit: cover;
  border-radius: 10px;
}

.cca-course-image figcaption {
  font-size: 0.75rem;
  color: #4a5264;
  margin-top: 0.6rem;
}

.course-single-content > .course-single-section {
  padding: 1.5rem 0;
  border: 0;
  border-top: 1px solid rgba(4, 22, 59, 0.09);
  border-radius: 0;
}

.course-single-content > .course-single-section h2 {
  font-size: 1.4rem;
  font-weight: 650;
}

.cca-teacher__name {
  font-size: 1.1rem;
  font-weight: 650;
}

.cca-teacher__bio {
  font-size: 0.9rem;
  line-height: 1.7;
}

.cca-teacher__image {
  display: block;
  width: 120px;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1.1rem;
}

.cca-teacher > :last-child, .cca-teacher__bio > :last-child {
  margin-bottom: 0;
}

.cca-other-dates {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cca-other-dates li {
  padding: 0.65rem 0;
}

.cca-other-dates a {
  font-size: 0.85rem;
}

.cca-other-dates small {
  display: block;
  color: #555f70;
  font-size: 0.72rem;
}

.single-page-content, .single-post-content, .cca-prose-page {
  padding: 3rem 0 5rem;
}

.page-content-wrapper, .post-content-wrapper {
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(1.25rem, 4vw, 3rem);
  border: 1px solid rgba(4, 22, 59, 0.12);
  border-radius: 10px;
  background: white;
}

.page-content, .post-content {
  overflow-wrap: anywhere;
}

.page-content h2, .post-content h2, .page-content h3, .post-content h3 {
  margin-top: 2rem;
}

.page-content table, .post-content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.page-content img, .post-content img {
  max-width: 100%;
  height: auto;
}

.page-featured-image, .post-featured-image {
  max-width: 900px;
  margin: 0 auto 2rem;
}

.post-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}

.cca-prose-page .course-single-section {
  margin: 1.5rem 0;
}

.search-form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 1rem;
  margin: 1.5rem 0;
}

.search-field, .search-submit {
  font: inherit;
  min-height: 46px;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  border: 1px solid #939bae;
}

.search-submit {
  background: #022db9;
  color: white;
  border-color: #022db9;
  cursor: pointer;
}

@media print {
  .site-header, .site-footer, .cca-registration-form, .course-single-actions, .cca-faq, .cca-calendar-link {
    display: none !important;
  }
  body {
    background: white;
  }
  .course-single-body__layout {
    display: block;
  }
  .course-single-section, .course-info-card {
    box-shadow: none;
    break-inside: avoid;
  }
}
/* ==========================================================================
   404 ERROR PAGE
   ========================================================================== */
.error-404 {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  text-align: center;
  padding: 6rem 2rem;
}
.error-404 .error-content-wrapper {
  max-width: 600px;
  margin: 0 auto;
}
.error-404 .error-title {
  font-size: 10rem;
  font-weight: 900;
  color: #11267c;
  margin: 0;
  line-height: 1;
  letter-spacing: -4px;
}
.error-404 .error-subtitle {
  font-size: 2.5rem;
  font-weight: 800;
  color: #333;
  margin: 1rem 0;
}
.error-404 .error-description {
  font-size: 1.15rem;
  color: #64748b;
  margin-bottom: 3rem;
  line-height: 1.6;
}
.error-404 .back-home-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-decoration: none !important;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 1em 2em;
  border-radius: 8px;
  border: 2px solid #022db9;
  background-color: #ffffff;
  color: #022db9;
  transform: translateY(0);
  box-shadow: 0 0 0 0 #022db9;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease;
}
.error-404 .back-home-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 0 0 #022db9;
}
.error-404 .back-home-btn:active {
  transform: translateY(0) !important;
  box-shadow: 0 0 0 0 #022db9 !important;
  transition: transform 0.05s ease, box-shadow 0.05s ease;
}
.error-404 .back-home-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(2, 45, 185, 0.3);
}
.error-404 .back-home-btn::-moz-focus-inner {
  border: 0;
}
.error-404 .back-home-btn .dashicons, .error-404 .back-home-btn svg {
  margin-right: 8px;
}
.error-404 .back-home-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  text-decoration: none !important;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .error-404 .error-title {
    font-size: 6rem;
  }
  .error-404 .error-subtitle {
    font-size: 1.8rem;
  }
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 245, 245, 0.98);
  border-bottom: 1px solid rgba(4, 22, 59, 0.18);
}

.admin-bar .site-header {
  top: 32px;
}

.header-container {
  width: min(1320px, 100% - 3rem);
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  min-height: 112px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.custom-logo-link {
  display: flex;
  align-items: center;
}

.custom-logo {
  display: block;
  max-height: 72px;
  max-width: 190px;
  width: auto;
}

.cca-wordmark {
  display: grid;
  text-decoration: none;
  color: #04163b;
  font-family: "Red_Hat_Display", sans-serif;
  font-size: 1.7rem;
  font-weight: 850;
  line-height: 1.2;
}

.cca-wordmark__description {
  font-family: "DM_Sans", sans-serif;
  font-size: 0.73rem;
  font-weight: 500;
  margin-top: 0.3rem;
}

.main-navigation {
  margin-left: auto;
}

.nav-menu {
  display: flex;
  gap: 0.3rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  display: block;
  padding: 0.7rem 1rem;
  color: #04163b;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-menu a:hover, .nav-menu .current-menu-item > a, .nav-menu .current_page_item > a {
  background: rgba(2, 45, 185, 0.07);
  color: #022db9;
}

.nav-menu .sub-menu {
  display: none;
  position: absolute;
  right: 0;
  min-width: 230px;
  padding: 0.5rem;
  background: white;
  border: 1px solid rgba(4, 22, 59, 0.1);
  border-radius: 8px;
  list-style: none;
  box-shadow: 0 10px 25px rgba(4, 22, 59, 0.08);
}

.nav-menu li:hover > .sub-menu, .nav-menu li:focus-within > .sub-menu {
  display: block;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.65rem;
  background: white;
  color: #04163b;
  border: 1px solid rgba(4, 22, 59, 0.2);
  border-radius: 6px;
  padding: 0.7rem;
  min-height: 44px;
}

.menu-icon {
  width: 16px;
  height: 12px;
  border-block: 2px solid currentColor;
}

@media (max-width: 900px) {
  .header-container {
    flex-wrap: wrap;
    gap: 0;
    min-height: 78px;
    padding-block: 0.75rem;
  }
  .site-branding {
    gap: 0.75rem;
  }
  .custom-logo {
    max-height: 55px;
    max-width: 145px;
  }
  .cca-wordmark__description {
    max-width: 130px;
    font-size: 0.65rem;
  }
  .main-navigation {
    margin-left: 0;
    width: 100%;
  }
  .nav-menu {
    flex-direction: column;
    padding-top: 1rem;
  }
  .main-navigation.is-enhanced {
    width: auto;
    margin-left: auto;
  }
  .is-enhanced .menu-toggle {
    display: inline-flex;
  }
  .is-enhanced .nav-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 0.75rem 1rem;
    background: #f5f5f5;
    border-bottom: 1px solid rgba(4, 22, 59, 0.15);
    max-height: calc(100dvh - 130px);
    overflow-y: auto;
  }
  .is-enhanced.toggled .nav-menu {
    display: flex;
  }
  .nav-menu .sub-menu {
    position: static;
    display: block;
    padding: 0 0 0 1rem;
    box-shadow: none;
    border: 0;
    background: transparent;
  }
}
@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}
@media (max-width: 600px) {
  .admin-bar .site-header {
    top: 0;
  }
  .header-container {
    width: calc(100% - 2rem);
  }
}
.site-title {
  font-size: 1.4rem;
  font-weight: 650;
  text-decoration: none;
  color: #04163b;
}

.site-footer {
  border-top: 1px solid rgba(4, 22, 59, 0.25);
  background: #ebedf2;
  padding-block: 2rem;
  color: #04163b;
}

.site-footer a {
  color: #04163b;
}

.cca-footer-grid {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
}

.site-footer ul {
  list-style: none;
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

.site-footer li a {
  display: inline-block;
  padding-block: 0.3rem;
  font-size: 0.85rem;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.cca-footer-grid > a {
  font-size: 0.85rem;
}

.cca-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(4, 22, 59, 0.15);
  font-size: 0.75rem;
}

.cca-footer-bottom p {
  margin: 0;
}

.cca-footer-bottom li a {
  font-size: 0.75rem;
}

@media (max-width: 640px) {
  .cca-footer-grid {
    flex-direction: column;
    gap: 1rem;
  }
  .cca-footer-bottom {
    align-items: start;
    flex-direction: column;
    gap: 0.6rem;
  }
  .site-footer ul {
    gap: 1rem;
  }
}

/*# sourceMappingURL=style.css.map */
