@import url("https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Noto+Sans+Thai+Looped:wght@400;500;600;700;800;900&family=Noto+Sans+Thai:wght@400;700&display=swap");

:root {
  --font-display: "Google Sans", "Noto Sans Thai Looped", "Noto Sans Thai", -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
  --font-body: "Google Sans", "Noto Sans Thai Looped", "Noto Sans Thai", -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
  --tg-body-font-family: var(--font-body);
  --tg-heading-font-family: var(--font-display);
}

/* Keep the awards page aligned with the document pages and preserve every image ratio. */
.pa-awards-content {
  padding: 32px 0 56px;
  background: #f1fafc;
}

.pa-awards-content > .container {
  max-width: 1140px;
}

.pa-awards-content__intro {
  padding: 24px 28px;
  border: 1px solid #d9e9ee;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(35, 73, 96, 0.07);
}

.pa-awards-content__intro h1 {
  margin: 0;
  color: #173f5e;
  font-size: clamp(1.65rem, 2.4vw, 2rem);
  line-height: 1.35;
}

.pa-awards-feature img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 1596 / 400;
  object-fit: contain !important;
}

.pa-awards-grid figure {
  aspect-ratio: 842 / 595;
}

.pa-awards-grid img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  aspect-ratio: 842 / 595;
  object-fit: contain !important;
}

@media (max-width: 767px) {
  .pa-awards-content {
    padding-top: 20px;
  }

  .pa-awards-content__intro,
  .pa-awards-group {
    padding: 18px;
  }
}

.tgmenu__search-bar,
.tgmobile__search,
#txt_bar_tgmenu__search,
#txt_bar_tgmenu__search_2,
#btn_bar_tgmenu__search,
#btn_bar_tgmenu__search_2 {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
}

html,
body,
button,
input,
textarea,
select {
  font-family: var(--font-body) !important;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

body,
p,
li,
figcaption,
label,
table,
td,
th,
.info-one,
.fw-medium,
.courses__item-content,
.categories__item-three .info,
.footer__content,
.tg-header__top-info,
.tg-header__top-social {
  font-family: var(--font-body) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.title,
.title-two,
.sub-title,
.section__title,
.navigation,
.navigation li,
.navigation li a,
.sub-menu li,
.sub-menu li a,
.tgmenu__categories,
.tgmenu__categories button,
.tgmenu__categories a,
.tgmenu__action,
.tgmobile__menu,
.tgmobile__menu a,
.btn,
.breadcrumb-content,
.breadcrumb-content .title,
.categories__item-three .courses,
.categories__item-three .name {
  font-family: var(--font-display) !important;
}

.navigation li a,
.sub-menu li a,
.tgmobile__menu a,
.tgmenu__categories button,
.btn {
  font-weight: 700 !important;
}

.title,
.title-two,
.section__title .title,
.breadcrumb-content .title {
  font-weight: 800 !important;
}

.tg-header__style-three .custom-container {
  max-width: 1200px !important;
  padding-left: 15px;
  padding-right: 15px;
}

.tg-header__style-three .tgmenu__nav {
  flex-wrap: nowrap;
  gap: 0;
  min-width: 0;
}

.tg-header__style-three .logo {
  flex: 0 0 auto;
}

.tg-header__style-three .logo img {
  max-width: 142px;
  height: auto;
}

.tg-header__style-three .tgmenu__categories {
  flex: 0 0 auto;
  margin: 0 0 0 28px !important;
}

.tg-header__style-three .tgmenu__categories .dropdown-toggle {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 15px;
  white-space: nowrap;
}

.tg-header__style-three .tgmenu__navbar-wrap {
  flex: 1 1 auto;
  min-width: 0;
}

.tg-header__style-three .tgmenu__navbar-wrap > ul {
  flex-wrap: nowrap;
  margin: 0 auto 0 18px !important;
}

.tg-header__style-three .tgmenu__navbar-wrap > ul > li > a {
  padding: 30px 8px;
  font-size: 15px;
  white-space: nowrap;
}

.tg-header__style-three .tgmenu__action {
  flex: 0 0 auto;
  margin-left: 12px;
}

.tg-header__style-three .tgmenu__action > ul {
  gap: 0 !important;
  margin-left: 0 !important;
}

.tg-header__style-three .tgmenu__action > ul li.header-btn .btn {
  min-height: 44px;
  padding: 12px 22px !important;
  font-size: 15px;
  white-space: nowrap;
}

@media (max-width: 1399.98px) and (min-width: 1200px) {
  .tg-header__style-three .logo img {
    max-width: 132px;
  }

  .tg-header__style-three .tgmenu__categories {
    margin-left: 18px !important;
  }

  .tg-header__style-three .tgmenu__categories .dropdown-toggle {
    padding-left: 15px;
    padding-right: 15px;
  }

  .tg-header__style-three .tgmenu__navbar-wrap > ul {
    margin-left: 14px !important;
  }

  .tg-header__style-three .tgmenu__navbar-wrap > ul > li > a {
    padding-left: 7px;
    padding-right: 7px;
    font-size: 14px;
  }

  .tg-header__style-three .tgmenu__action > ul li.header-btn .btn {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}

@media (max-width: 1249.98px) and (min-width: 1200px) {
  .tg-header__style-three .tgmenu__main-menu.d-xl-flex {
    display: none !important;
  }

  .tg-header__style-three .tg-header__area .mobile-nav-toggler {
    display: block;
    margin-left: auto;
  }

  .tg-header__style-three .tgmenu__action {
    margin-left: auto;
    margin-right: 22px;
  }
}

:root {
  --pa-ref-ink: #223047;
  --pa-ref-muted: #53677c;
  --pa-ref-blue: #3478dd;
  --pa-ref-border: #e7eef8;
  --pa-ref-panel: #ffffff;
  --pa-ref-page: #f6f9ff;
  --pa-ref-soft: #f8fcff;
  --pa-ref-shadow: 0 7px 16px rgba(54, 76, 106, 0.07);
  --pa-ref-card-shadow: 0 12px 26px rgba(54, 76, 106, 0.09);
}

body {
  background: var(--pa-ref-page) !important;
  color: var(--pa-ref-ink);
}

.container:not(.custom-container) {
  max-width: 1180px !important;
}

.tg-header__style-three {
  position: relative;
  z-index: 1200;
  background: var(--pa-ref-panel);
  box-shadow: 0 1px 0 rgba(214, 225, 241, 0.35);
  isolation: isolate;
}

.tg-header__style-three .tg-header__top {
  display: none !important;
}

.tg-header__style-three .tg-header__area,
.tg-header__style-three .tg-header__area.sticky-menu {
  position: fixed !important;
  inset: 0 0 auto 0 !important;
  width: 100% !important;
  padding: 12px 0 !important;
  background: #ffffff !important;
  border-bottom: 1px solid rgba(214, 225, 241, 0.76);
  box-shadow: 0 10px 22px rgba(54, 76, 106, 0.08) !important;
  animation: none !important;
  transform: none !important;
  z-index: 1201;
}

#header-fixed-height,
#header-fixed-height.active-height {
  display: block !important;
  height: 89px !important;
}

.tg-header__style-three .custom-container {
  max-width: 1180px !important;
}

.tg-header__style-three .tgmenu__wrap {
  width: 100%;
}

.tg-header__style-three .tgmenu__nav {
  min-height: 64px;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
}

.tg-header__style-three .logo {
  order: 1;
  flex: 0 0 auto;
  margin-right: 16px;
}

.tg-header__style-three .logo a {
  display: flex;
  align-items: center;
  min-height: 58px;
}

.tg-header__style-three .logo img {
  max-width: 172px;
  height: auto;
}

.tg-header__style-three .tgmenu__navbar-wrap {
  order: 2;
  flex: 1 1 auto;
  min-width: 0;
}

.tg-header__style-three .tgmenu__navbar-wrap > ul {
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  margin: 0 !important;
}

.tg-header__style-three .tgmenu__navbar-wrap > ul > li {
  margin: 0 !important;
}

.tg-header__style-three .tgmenu__categories {
  order: 3;
  flex: 0 0 auto;
  margin: 0 0 0 6px !important;
}

.tg-header__style-three .tgmenu__action {
  order: 4;
  flex: 0 0 auto;
  margin: 0 0 0 6px !important;
}

.tg-header__style-three .tgmenu__action > ul {
  gap: 6px !important;
  margin: 0 !important;
}

.tg-header__style-three .tgmenu__categories .dropdown-toggle,
.tg-header__style-three .tgmenu__navbar-wrap > ul > li > a,
.tg-header__style-three .tgmenu__action > ul li.header-btn .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 11px !important;
  border: 1px solid var(--pa-ref-border) !important;
  border-radius: 8px !important;
  background: var(--pa-ref-panel) !important;
  color: #263546 !important;
  box-shadow: var(--pa-ref-shadow);
  font-size: 13.5px;
  font-weight: 800 !important;
  line-height: 1.2;
  text-transform: none !important;
  white-space: nowrap;
}

.tg-header__style-three .tgmenu__categories .dropdown-toggle {
  gap: 8px;
}

.tg-header__style-three .tgmenu__categories .dropdown-toggle svg {
  color: var(--pa-ref-blue);
}

.tg-header__style-three .tgmenu__categories .dropdown-toggle::after {
  margin-left: 2px;
}

.tg-header__style-three .tgmenu__categories .dropdown-toggle:hover,
.tg-header__style-three .tgmenu__navbar-wrap > ul > li:hover > a,
.tg-header__style-three .tgmenu__navbar-wrap > ul > li.active > a,
.tg-header__style-three .tgmenu__action > ul li.header-btn .btn:hover {
  background: var(--pa-ref-soft) !important;
  border-color: rgba(52, 120, 221, 0.25) !important;
  color: var(--pa-ref-blue) !important;
}

.tg-header__style-three .tgmenu__navbar-wrap ul li .sub-menu,
.tg-header__style-three .tgmenu__categories .dropdown-menu {
  min-width: 210px;
  padding: 8px !important;
  border: 1px solid var(--pa-ref-border) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 18px 40px rgba(54, 76, 106, 0.14) !important;
  z-index: 1300 !important;
}

.tg-header__style-three .tgmenu__navbar-wrap ul li .sub-menu li {
  margin: 0 !important;
}

.tg-header__style-three .tgmenu__navbar-wrap ul li .sub-menu li a,
.tg-header__style-three .tgmenu__categories .dropdown-item {
  min-height: 34px;
  padding: 8px 10px !important;
  border-radius: 6px !important;
  background: var(--pa-ref-soft);
  color: #314154 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.35;
}

.tg-header__style-three .tgmenu__navbar-wrap ul li .sub-menu li + li,
.tg-header__style-three .tgmenu__categories .dropdown-item + .dropdown-item {
  margin-top: 5px !important;
}

.tg-header__style-three .tgmenu__navbar-wrap ul li .sub-menu li:hover > a,
.tg-header__style-three .tgmenu__categories .dropdown-item:hover,
.tg-header__style-three .tgmenu__categories .dropdown-item:focus {
  background: #eef6ff !important;
  color: var(--pa-ref-blue) !important;
}

.info-one {
  color: #314154 !important;
  font-size: 16px !important;
  line-height: 1.85 !important;
}

.title-two {
  color: #082f66 !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1.45 !important;
}

figure.text-center img,
.gallery.categories-area img {
  border-radius: 8px !important;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.1);
}

@media (max-width: 1399.98px) and (min-width: 1200px) {
  .tg-header__style-three .logo {
    margin-right: 12px;
  }

  .tg-header__style-three .logo img {
    max-width: 156px;
  }

  .tg-header__style-three .tgmenu__categories .dropdown-toggle,
  .tg-header__style-three .tgmenu__navbar-wrap > ul > li > a,
  .tg-header__style-three .tgmenu__action > ul li.header-btn .btn {
    padding-left: 9px !important;
    padding-right: 9px !important;
    font-size: 13px;
  }
}

@media (max-width: 1249.98px) and (min-width: 1200px) {
  .tg-header__style-three .tgmenu__main-menu.d-xl-flex {
    display: flex !important;
  }

  .tg-header__style-three .tg-header__area .mobile-nav-toggler {
    display: none !important;
  }
}

@media (max-width: 1199.98px) {
  .tg-header__style-three .tg-header__area,
  .tg-header__style-three .tg-header__area.sticky-menu {
    padding: 14px 0 !important;
  }

  #header-fixed-height,
  #header-fixed-height.active-height {
    height: 83px !important;
  }

  .tg-header__style-three .tgmenu__nav {
    justify-content: space-between;
    min-height: 54px;
  }

  .tg-header__style-three .tgmenu__categories {
    margin-left: auto !important;
    margin-right: 18px !important;
  }

  .tg-header__style-three .tgmenu__action {
    display: none !important;
  }

  .tg-header__style-three .tg-header__area .mobile-nav-toggler {
    display: block !important;
    margin-top: 0;
  }
}

@media (max-width: 767.98px) {
  .tg-header__style-three .logo img {
    max-width: 150px;
  }

  .tg-header__style-three .tgmenu__categories {
    display: none !important;
  }
}

/* Keep the /download header action aligned with the original control. */
.tg-header__style-three .tgmenu__categories .pa-header-site-link {
  text-decoration: none !important;
}

.tg-header__style-three .tgmenu__categories .pa-header-site-link::after {
  display: none !important;
  content: none !important;
  background-image: none !important;
}

.pa-text-heading {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 20px 0 16px;
  padding: 14px 18px;
  border: 0;
  border-radius: 8px;
  background: #f7f9fc;
  color: #18324a;
  font-family: var(--font-display) !important;
}

.pa-text-heading::after {
  display: none;
}

.pa-text-heading__kicker {
  display: block;
  margin: 0 0 4px;
  color: #496275;
  font-family: var(--font-display) !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.pa-text-heading h1,
.pa-text-heading h2 {
  margin: 0;
  color: #18324a;
  font-family: var(--font-display) !important;
  font-weight: 900;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.pa-text-heading h1 {
  font-size: 26px;
  line-height: 1.35;
}

.pa-text-heading h2 {
  font-size: 22px;
  line-height: 1.45;
}

.pa-text-heading__subtitle {
  margin: 6px 0 0;
  color: #40556a;
  font-family: var(--font-body) !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.65;
}

.pa-text-heading--hero {
  margin-top: 0;
  padding: 16px 20px;
  background: #f7f9fc;
}

img[src$="/638892971791239684.png"] {
  display: block;
  width: min(100%, 330px) !important;
  height: auto !important;
  margin: 0 auto 12px;
}

iframe[src*="16XzGcFUKu5iBlB3_fZFuhbXYm82UyJLL"] {
  display: block;
  width: min(100%, 470px) !important;
  height: min(520px, 54vh) !important;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .pa-text-heading {
    margin: 18px 0 14px;
    padding: 13px 15px;
  }

  .pa-text-heading h1 {
    font-size: 23px;
  }

  .pa-text-heading h2 {
    font-size: 20px;
  }

  .pa-text-heading__subtitle {
    font-size: 16px;
  }

  img[src$="/638892971791239684.png"],
  iframe[src*="16XzGcFUKu5iBlB3_fZFuhbXYm82UyJLL"] {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* TB1-inspired dashboard refresh: menu icons, dimensional content cards, calm school palette. */
:root {
  --pa-tb1-ink: #062f4f;
  --pa-tb1-ink-soft: #24506c;
  --pa-tb1-muted: #5e7181;
  --pa-tb1-blue: #1169b4;
  --pa-tb1-blue-2: #0d8bc2;
  --pa-tb1-teal: #10a9a6;
  --pa-tb1-green: #24a36f;
  --pa-tb1-amber: #f4b43f;
  --pa-tb1-page: #f3f9fc;
  --pa-tb1-panel: #ffffff;
  --pa-tb1-soft: #eef7fb;
  --pa-tb1-border: #d7e8ef;
  --pa-tb1-shadow: 0 16px 38px rgba(6, 47, 79, 0.11);
  --pa-tb1-soft-shadow: 0 8px 22px rgba(6, 47, 79, 0.08);
}

body {
  background: linear-gradient(180deg, #eef8fb 0, var(--pa-tb1-page) 360px, #ffffff 100%) !important;
  color: var(--pa-tb1-ink) !important;
}

.main-area {
  background: transparent !important;
  padding-bottom: 48px;
}

.tg-header__style-three .custom-container {
  max-width: 1320px !important;
}

.tg-header__style-three .tg-header__area,
.tg-header__style-three .tg-header__area.sticky-menu {
  background: rgba(255, 255, 255, 0.97) !important;
  border-bottom: 1px solid rgba(215, 232, 239, 0.95) !important;
  box-shadow: 0 16px 38px rgba(6, 47, 79, 0.12) !important;
  backdrop-filter: blur(10px) saturate(130%);
}

.tg-header__style-three .tgmenu__nav {
  gap: 8px;
}

.tg-header__style-three .logo {
  margin-right: 14px;
}

.tg-header__style-three .logo a {
  min-height: 52px;
  padding: 6px 10px;
  border: 1px solid rgba(215, 232, 239, 0.95);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--pa-tb1-soft-shadow);
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.tg-header__style-three .logo a:hover,
.tg-header__style-three .logo a:focus-visible {
  border-color: rgba(16, 169, 166, 0.38);
  box-shadow: 0 14px 28px rgba(6, 47, 79, 0.14);
  transform: translateY(-1px);
}

.tg-header__style-three .logo img {
  max-width: 160px;
}

.tg-header__style-three .tgmenu__categories .dropdown-toggle,
.tg-header__style-three .tgmenu__navbar-wrap > ul > li > a,
.tg-header__style-three .tgmenu__action > ul li.header-btn .btn {
  gap: 7px;
  min-height: 42px;
  padding: 0 11px !important;
  border-color: var(--pa-tb1-border) !important;
  background: linear-gradient(180deg, #ffffff 0, #f8fcff 100%) !important;
  color: var(--pa-tb1-ink) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), var(--pa-tb1-soft-shadow) !important;
  font-size: 13.5px;
}

.tg-header__style-three .tgmenu__navbar-wrap > ul > li > a::before,
.tg-header__style-three .tgmenu__action > ul li.header-btn .btn::before {
  display: inline-grid;
  place-items: center;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  color: #ffffff;
  font-family: "Font Awesome 5 Free";
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 6px 13px rgba(17, 105, 180, 0.23);
}

.tg-header__style-three .tgmenu__navbar-wrap > ul.navigation > li:nth-child(1) > a::before {
  content: "\f05a";
  background: var(--pa-tb1-teal);
}

.tg-header__style-three .tgmenu__navbar-wrap > ul.navigation > li:nth-child(2) > a::before {
  content: "\f46d";
  background: var(--pa-tb1-green);
}

.tg-header__style-three .tgmenu__navbar-wrap > ul.navigation > li:nth-child(3) > a::before {
  content: "\f559";
  background: var(--pa-tb1-amber);
}

.tg-header__style-three .tgmenu__navbar-wrap > ul.navigation > li:nth-child(4) > a::before {
  content: "\f51c";
  background: var(--pa-tb1-blue-2);
}

.tg-header__style-three .tgmenu__navbar-wrap > ul.navigation > li:nth-child(5) > a::before {
  content: "\f02d";
  background: var(--pa-tb1-blue);
}

.tg-header__style-three .tgmenu__action > ul li.header-btn .btn::before {
  content: "\f0e0";
  background: var(--pa-tb1-blue);
}

.tg-header__style-three .tgmenu__categories .dropdown-toggle svg {
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  padding: 5px;
  border-radius: 6px;
  background: var(--pa-tb1-blue);
  color: #ffffff;
  box-shadow: 0 6px 13px rgba(17, 105, 180, 0.23);
}

.tg-header__style-three .tgmenu__categories .dropdown-toggle:hover,
.tg-header__style-three .tgmenu__navbar-wrap > ul > li:hover > a,
.tg-header__style-three .tgmenu__navbar-wrap > ul > li.active > a,
.tg-header__style-three .tgmenu__action > ul li.header-btn .btn:hover {
  border-color: rgba(16, 169, 166, 0.34) !important;
  background: #ffffff !important;
  color: var(--pa-tb1-blue) !important;
  box-shadow: 0 16px 30px rgba(6, 47, 79, 0.14) !important;
  transform: translateY(-1px);
}

.tg-header__style-three .tgmenu__navbar-wrap ul li .sub-menu,
.tg-header__style-three .tgmenu__categories .dropdown-menu {
  border-color: rgba(215, 232, 239, 0.98) !important;
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 20px 48px rgba(6, 47, 79, 0.16) !important;
}

.tg-header__style-three .tgmenu__navbar-wrap ul li .sub-menu li a,
.tg-header__style-three .tgmenu__categories .dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f5fbfd !important;
  color: var(--pa-tb1-ink-soft) !important;
}

.tg-header__style-three .tgmenu__navbar-wrap ul li .sub-menu li a::before,
.tg-header__style-three .tgmenu__categories .dropdown-item::before {
  content: "\f105";
  display: inline-grid;
  place-items: center;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: #e2f3f7;
  color: var(--pa-tb1-blue);
  font-family: "Font Awesome 5 Free";
  font-size: 9px;
  font-weight: 900;
}

.tg-header__style-three .tgmenu__navbar-wrap ul li .sub-menu li:hover > a,
.tg-header__style-three .tgmenu__categories .dropdown-item:hover,
.tg-header__style-three .tgmenu__categories .dropdown-item:focus {
  background: #eaf8f7 !important;
  color: var(--pa-tb1-blue) !important;
}

.about__title-wrap,
.main-area .container > p.info-one,
.pa-text-heading,
.title-two,
.categories__item-three,
.gallery.categories-area .categories__wrap,
.main-area iframe {
  border: 1px solid var(--pa-tb1-border) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: var(--pa-tb1-shadow) !important;
}

.about__title-wrap {
  padding: 24px;
  border-radius: 8px;
}

.about__title-wrap .fw-medium,
.about__title-wrap p {
  color: var(--pa-tb1-ink-soft) !important;
  line-height: 1.85 !important;
}

.section__title .sub-title {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 34px;
  padding: 5px 12px;
  border: 1px solid #cde8f1;
  border-radius: 6px;
  background: #e8f5fb;
  color: var(--pa-tb1-blue) !important;
  font-weight: 800 !important;
}

.section__title .title,
.title-two,
.pa-text-heading h1,
.pa-text-heading h2 {
  color: var(--pa-tb1-ink) !important;
}

.section__title .title .position-relative,
.section__title .title .position-relative span:not(.svg-icon) {
  color: var(--pa-tb1-blue) !important;
}

.main-area .container > p.info-one {
  margin: 12px 0 20px;
  padding: 15px 18px;
  border-radius: 8px;
  color: var(--pa-tb1-ink-soft) !important;
}

.pa-text-heading {
  margin: 18px 0 16px;
  padding: 14px 18px;
  border-radius: 8px;
}

.pa-text-heading__kicker {
  color: var(--pa-tb1-blue) !important;
}

.pa-text-heading--hero {
  margin-top: 6px;
  padding: 16px 20px;
}

.title-two {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 16px auto 18px;
  padding: 11px 18px;
  border-radius: 8px;
  font-size: 18px !important;
  line-height: 1.45 !important;
}

.about__images-wrap img,
.main-area figure.text-center img,
.gallery.categories-area img,
.main-area .row.justify-content-center > [class*="col-"] > img {
  border: 1px solid var(--pa-tb1-border) !important;
  border-radius: 8px !important;
  background: #ffffff;
  box-shadow: var(--pa-tb1-soft-shadow) !important;
}

.gallery.categories-area .categories__wrap {
  margin: 12px 0 24px;
  padding: 12px;
  border-radius: 8px;
}

.main-area iframe {
  border-radius: 8px !important;
}

.categories__item-three {
  overflow: hidden;
  border-radius: 8px !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.categories__item-three:hover {
  box-shadow: 0 20px 42px rgba(6, 47, 79, 0.16) !important;
  transform: translateY(-2px);
}

.pa-home-copy-section {
  padding-left: 14px;
  padding-right: 14px;
}

.pa-home-copy-section > div[style*="height"] {
  height: 22px !important;
  font-size: 22px !important;
  line-height: 22px !important;
}

.pa-home-info-card {
  max-width: 1150px;
  margin: 0 auto 16px;
  padding: 20px 22px 22px;
  border: 1px solid #cfe4ec;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 16px 36px rgba(6, 47, 79, 0.1);
}

.pa-home-info-card .title-two {
  display: block;
  width: 100%;
  margin: 0 0 11px;
  padding: 0 0 11px;
  border: 0 !important;
  border-bottom: 1px solid #d7e8ef !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center;
}

.pa-home-info-card .info-one {
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}

body:not(:has(.pa-text-heading)) .main-area .container:has(> .title-two + .info-one) {
  max-width: 1150px !important;
  margin: 12px auto 16px;
  padding: 16px 18px;
  border: 1px solid #cfe4ec;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 16px 36px rgba(6, 47, 79, 0.1);
  color: var(--pa-tb1-ink-soft);
  line-height: 1.85;
}

body:not(:has(.pa-text-heading)) .main-area .container:has(> .title-two + .info-one) > .title-two {
  display: inline;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--pa-tb1-ink) !important;
  font-size: 16px !important;
  line-height: inherit !important;
  text-align: left;
  vertical-align: baseline;
}

body:not(:has(.pa-text-heading)) .main-area .container:has(> .title-two + .info-one) > .title-two::after {
  content: " ";
}

body:not(:has(.pa-text-heading)) .main-area .container:has(> .title-two + .info-one) > .info-one {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--pa-tb1-ink-soft) !important;
  line-height: inherit !important;
}

body:not(:has(.pa-text-heading)) .main-area .container:has(> .title-two + .info-one) > div:empty,
body:not(:has(.pa-text-heading)) .main-area .container:has(> .title-two + .info-one) > p:empty {
  display: none !important;
}

.categories__item-three .thumb img {
  box-shadow: none !important;
}

.categories__item-three .info {
  background: #ffffff;
}

.tg-button-wrap .btn:not(.dropdown-toggle),
.tg-button-wrap .btn-border {
  border-radius: 8px !important;
  box-shadow: var(--pa-tb1-soft-shadow) !important;
}

.tg-button-wrap .btn:not(.btn-border) {
  background: var(--pa-tb1-blue) !important;
  border-color: var(--pa-tb1-blue) !important;
}

.tg-button-wrap .btn-border {
  background: #ffffff !important;
  border-color: var(--pa-tb1-border) !important;
  color: var(--pa-tb1-blue) !important;
}

.about__shapes {
  opacity: 0.38;
}

@media (max-width: 1299.98px) and (min-width: 1200px) {
  .tg-header__style-three .custom-container {
    max-width: 1180px !important;
  }

  .tg-header__style-three .logo img {
    max-width: 142px;
  }

  .tg-header__style-three .tgmenu__navbar-wrap > ul > li > a::before,
  .tg-header__style-three .tgmenu__action > ul li.header-btn .btn::before {
    display: none;
  }

  .tg-header__style-three .tgmenu__categories .dropdown-toggle,
  .tg-header__style-three .tgmenu__navbar-wrap > ul > li > a,
  .tg-header__style-three .tgmenu__action > ul li.header-btn .btn {
    padding-left: 8px !important;
    padding-right: 8px !important;
    font-size: 12.8px;
  }
}

@media (max-width: 767.98px) {
  .about__title-wrap,
  .main-area .container > p.info-one,
  .pa-text-heading,
  .title-two {
    padding-left: 14px;
    padding-right: 14px;
  }

  .about__title-wrap {
    padding-top: 18px;
    padding-bottom: 18px;
  }
}

/* Document pages: keep each heading and its explanation visually connected. */
body:has(.pa-text-heading) .main-area {
  padding-top: 8px;
}

body:has(.pa-text-heading) .main-area .container:not(.custom-container) {
  max-width: min(1320px, calc(100% - 32px)) !important;
  padding-left: 0;
  padding-right: 0;
}

body:has(.pa-text-heading) .main-area > div {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body:has(.pa-text-heading) .pa-text-heading {
  margin: 8px 0 -1px;
  padding: 14px 18px 6px;
  border-bottom: 0 !important;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 10px 20px rgba(6, 47, 79, 0.06) !important;
}

body:has(.pa-text-heading) .pa-text-heading--hero {
  margin-top: 0;
  padding-top: 14px;
}

body:has(.pa-text-heading) .pa-text-heading h1,
body:has(.pa-text-heading) .pa-text-heading h2 {
  line-height: 1.32;
}

body:has(.pa-text-heading) .main-area > div:has(> .container > .pa-text-heading) + div .container > p.info-one {
  margin-top: 0;
  margin-bottom: 8px;
  padding: 8px 18px 14px;
  border-top: 0 !important;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 16px 30px rgba(6, 47, 79, 0.09) !important;
}

body:has(.pa-text-heading) .main-area > div:has(> .container > .pa-text-heading) + div .container > p.info-one + div {
  display: none !important;
}

body:has(.pa-text-heading) .main-area > div:has(> .container > .pa-text-heading--section) {
  margin-top: 4px !important;
}

body:has(.pa-text-heading) .main-area .row.justify-content-center {
  margin-top: 8px;
}

body:has(.pa-text-heading) .gallery.categories-area .categories__wrap {
  margin-top: 6px;
}

body:has(.pa-text-heading) .title-two {
  margin-top: 8px;
  margin-bottom: 12px;
}

/* Balanced desktop menu after splitting awards and seminar links. */
.tg-header__style-three .tgmenu__nav {
  justify-content: center;
}

.tg-header__style-three .tgmenu__navbar-wrap {
  flex: 0 1 auto;
}

.tg-header__style-three .tgmenu__navbar-wrap > ul {
  justify-content: center;
  gap: 6px;
}

.tg-header__style-three .tgmenu__categories {
  margin-left: 4px !important;
}

.tg-header__style-three .tgmenu__action {
  margin-left: 4px !important;
}

.tg-header__style-three .tgmenu__categories .dropdown-toggle,
.tg-header__style-three .tgmenu__navbar-wrap > ul > li > a,
.tg-header__style-three .tgmenu__action > ul li.header-btn .btn {
  padding-left: 10px !important;
  padding-right: 10px !important;
}

@media (max-width: 1399.98px) and (min-width: 1200px) {
  .tg-header__style-three .custom-container {
    max-width: 1328px !important;
  }

  .tg-header__style-three .logo {
    margin-right: 8px;
  }

  .tg-header__style-three .logo img {
    max-width: 148px;
  }

  .tg-header__style-three .tgmenu__navbar-wrap > ul {
    gap: 5px;
  }

  .tg-header__style-three .tgmenu__categories .dropdown-toggle,
  .tg-header__style-three .tgmenu__navbar-wrap > ul > li > a,
  .tg-header__style-three .tgmenu__action > ul li.header-btn .btn {
    gap: 6px;
    padding-left: 8px !important;
    padding-right: 8px !important;
    font-size: 12.8px;
  }

  .tg-header__style-three .tgmenu__navbar-wrap > ul > li > a::before,
  .tg-header__style-three .tgmenu__action > ul li.header-btn .btn::before,
  .tg-header__style-three .tgmenu__categories .dropdown-toggle svg {
    flex-basis: 18px;
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 767.98px) {
  body:has(.pa-text-heading) .main-area .container:not(.custom-container) {
    max-width: calc(100% - 24px) !important;
  }

  body:has(.pa-text-heading) .pa-text-heading {
    padding: 13px 14px 7px;
  }

  body:has(.pa-text-heading) .main-area > div:has(> .container > .pa-text-heading) + div .container > p.info-one {
    padding: 9px 14px 14px;
  }
}

/* Document pages: one clean sheet with color-coded headings instead of stacked card shadows. */
body:has(.pa-text-heading) {
  background: #eef7fb !important;
}

body:has(.pa-text-heading) .main-area {
  width: min(1180px, calc(100% - 48px));
  margin: 16px auto 44px;
  padding: 0 20px 28px;
  overflow: hidden;
  border: 1px solid #cfe4ec;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.97) !important;
  box-shadow: 0 22px 48px rgba(6, 47, 79, 0.14);
}

body:has(.pa-text-heading) .main-area .container:not(.custom-container) {
  width: 100%;
  max-width: 100% !important;
  padding-left: 0;
  padding-right: 0;
}

body:has(.pa-text-heading) .pa-text-heading,
body:has(.pa-text-heading) .main-area .container > p.info-one,
body:has(.pa-text-heading) .title-two,
body:has(.pa-text-heading) .gallery.categories-area .categories__wrap,
body:has(.pa-text-heading) .main-area iframe {
  box-shadow: none !important;
}

body:has(.pa-text-heading) .pa-text-heading,
body:has(.pa-text-heading) .main-area .container > p.info-one,
body:has(.pa-text-heading) .title-two,
body:has(.pa-text-heading) .gallery.categories-area .categories__wrap {
  border: 0 !important;
}

body:has(.pa-text-heading) .pa-text-heading {
  margin: 0 -20px;
  padding: 13px 20px 10px;
  border-radius: 0;
  background: #eef8f7 !important;
}

body:has(.pa-text-heading) .pa-text-heading--hero {
  margin-top: 0;
  padding-top: 16px;
  background: #f5fbfe !important;
}

body:has(.pa-text-heading) .pa-text-heading--section {
  margin-top: 12px;
  border-top: 3px solid var(--pa-tb1-teal) !important;
}

body:has(.pa-text-heading) .pa-text-heading__kicker {
  color: var(--pa-tb1-blue) !important;
}

body:has(.pa-text-heading) .pa-text-heading h1,
body:has(.pa-text-heading) .pa-text-heading h2 {
  color: #062f4f !important;
}

body:has(.pa-text-heading) .main-area > div:has(> .container > .pa-text-heading) + div .container > p.info-one,
body:has(.pa-text-heading) .main-area .container > p.info-one {
  margin: 0;
  padding: 10px 0 14px;
  border-radius: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--pa-tb1-ink-soft) !important;
}

body:has(.pa-text-heading) .main-area > div:has(> .container > .pa-text-heading--section) {
  margin-top: 10px !important;
}

body:has(.pa-text-heading) .title-two {
  margin: 10px auto 12px;
  padding: 8px 14px;
  border-radius: 6px;
  background: #f3f8fb !important;
  color: var(--pa-tb1-blue) !important;
}

body:has(.pa-text-heading) .gallery.categories-area .categories__wrap {
  margin: 6px 0 18px;
  padding: 0;
  background: transparent !important;
}

body:has(.pa-text-heading) .main-area iframe {
  border: 1px solid #d7e8ef !important;
  background: #ffffff !important;
}

body:has(.pa-text-heading) .main-area figure.text-center img,
body:has(.pa-text-heading) .gallery.categories-area img,
body:has(.pa-text-heading) .main-area .row.justify-content-center > [class*="col-"] > img {
  box-shadow: none !important;
  border-color: #d7e8ef !important;
}

@media (max-width: 767.98px) {
  body:has(.pa-text-heading) .main-area {
    width: calc(100% - 20px);
    margin-top: 10px;
    padding-left: 12px;
    padding-right: 12px;
  }

  body:has(.pa-text-heading) .pa-text-heading {
    margin-left: -12px;
    margin-right: -12px;
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* Utility pages generated by the static copy keep the same top menu. */
.pa-utility-page {
  min-height: calc(100vh - 89px);
  padding: 30px 16px 70px;
  background: #eef7fb !important;
}

.pa-utility-page .container {
  max-width: 1180px !important;
}

.pa-utility-card {
  width: 100%;
  margin: 0 auto;
  padding: 30px;
  border: 1px solid #d7e8ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(6, 47, 79, 0.1);
}

.pa-utility-card .tg-button-wrap {
  align-items: center;
  gap: 8px;
}

.pa-utility-card .btn.pa-back-home {
  min-height: 32px;
  padding: 7px 12px !important;
  border: 1px solid #cfe4ec !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  color: var(--pa-tb1-blue) !important;
  box-shadow: none !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
}

.pa-utility-card .btn.pa-back-home::before {
  content: "\f104";
  margin-right: 6px;
  font-family: "Font Awesome 5 Free";
  font-size: 11px;
  font-weight: 900;
}

.pa-utility-card .btn.pa-back-home:hover {
  background: #eef8f7 !important;
  color: var(--pa-tb1-ink) !important;
}

@media (max-width: 767.98px) {
  .pa-utility-page {
    padding: 22px 12px 54px;
  }

  .pa-utility-card {
    padding: 22px 18px;
  }
}

/* Modern stretched desktop header: balanced against the main content frame. */
@media (min-width: 1200px) {
  .tg-header__style-three .custom-container {
    width: min(1180px, calc(100% - 32px)) !important;
    max-width: min(1180px, calc(100% - 32px)) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .tg-header__style-three .tgmenu__wrap,
  .tg-header__style-three .tgmenu__nav {
    width: 100%;
  }

  .tg-header__style-three .tgmenu__nav {
    justify-content: stretch !important;
    gap: 10px;
  }

  .tg-header__style-three .logo {
    flex: 0 0 218px;
    margin-right: 0 !important;
  }

  .tg-header__style-three .logo a {
    width: 100%;
    justify-content: center;
    min-height: 56px;
    padding: 7px 13px;
    border-color: #cfe4ec;
    background: linear-gradient(180deg, #ffffff 0, #f6fbff 100%);
  }

  .tg-header__style-three .logo img {
    max-width: 186px;
  }

  .tg-header__style-three .tgmenu__navbar-wrap {
    flex: 1 1 auto !important;
    min-width: 0;
  }

  .tg-header__style-three .tgmenu__navbar-wrap > ul {
    width: 100%;
    justify-content: space-between !important;
    gap: 8px !important;
    margin: 0 !important;
  }

  .tg-header__style-three .tgmenu__navbar-wrap > ul > li {
    flex: 1 1 0;
    min-width: 0;
  }

  .tg-header__style-three .tgmenu__categories {
    flex: 0 0 134px;
    margin-left: 0 !important;
  }

  .tg-header__style-three .tgmenu__categories .dropdown-toggle,
  .tg-header__style-three .tgmenu__navbar-wrap > ul > li > a {
    width: 100%;
    min-height: 48px;
    padding: 0 12px !important;
    gap: 8px !important;
    border-color: #cfe4ec !important;
    background: linear-gradient(180deg, #ffffff 0, #f8fcff 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 9px 22px rgba(6, 47, 79, 0.08) !important;
    font-size: 13.2px;
  }

  .tg-header__style-three .tgmenu__navbar-wrap > ul > li > a::before,
  .tg-header__style-three .tgmenu__categories .dropdown-toggle svg {
    flex: 0 0 23px;
    width: 23px;
    height: 23px;
    border-radius: 7px;
    font-size: 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), 0 8px 16px rgba(17, 105, 180, 0.22);
  }

  .tg-header__style-three .tgmenu__categories .dropdown-toggle svg {
    padding: 6px;
  }
}

@media (min-width: 1200px) and (max-width: 1260px) {
  .tg-header__style-three .custom-container {
    width: min(1150px, calc(100% - 24px)) !important;
    max-width: min(1150px, calc(100% - 24px)) !important;
  }

  .tg-header__style-three .tgmenu__nav {
    gap: 7px;
  }

  .tg-header__style-three .logo {
    flex-basis: 208px;
  }

  .tg-header__style-three .logo img {
    max-width: 176px;
  }

  .tg-header__style-three .tgmenu__navbar-wrap > ul {
    gap: 6px !important;
  }

  .tg-header__style-three .tgmenu__categories {
    flex-basis: 126px;
  }

  .tg-header__style-three .tgmenu__categories .dropdown-toggle,
  .tg-header__style-three .tgmenu__navbar-wrap > ul > li > a {
    padding-left: 9px !important;
    padding-right: 9px !important;
    font-size: 12.6px;
  }

  .tg-header__style-three .tgmenu__navbar-wrap > ul > li > a::before,
  .tg-header__style-three .tgmenu__categories .dropdown-toggle svg {
    flex-basis: 20px;
    width: 20px;
    height: 20px;
  }
}

/* Homepage IT-teacher hero refresh. */
body:not(:has(.pa-text-heading)) .main-area > section:first-of-type {
  position: relative;
  overflow: hidden;
  padding: 22px 0 18px;
  background:
    linear-gradient(90deg, rgba(15, 116, 201, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16, 169, 166, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, #eef8fb 0, #f8fcff 100%) !important;
  background-size: 34px 34px, 34px 34px, auto;
  border-bottom: 1px solid #d6eaf2;
}

body:not(:has(.pa-text-heading)) .main-area > section:first-of-type > section > .container {
  width: min(1180px, calc(100% - 32px));
  max-width: min(1180px, calc(100% - 32px)) !important;
  padding-left: 0;
  padding-right: 0;
}

body:not(:has(.pa-text-heading)) .main-area > section:first-of-type .row {
  align-items: stretch !important;
}

body:not(:has(.pa-text-heading)) .main-area > section:first-of-type .col-xl-5,
body:not(:has(.pa-text-heading)) .main-area > section:first-of-type .col-xl-7 {
  display: flex;
}

body:not(:has(.pa-text-heading)) .main-area .about__title-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-height: 514px;
  padding: 34px 32px 30px;
  overflow: hidden;
  border: 1px solid #cfe4ec !important;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0, rgba(248, 253, 255, 0.96) 64%, rgba(236, 248, 251, 0.9) 100%) !important;
  box-shadow: 0 22px 54px rgba(6, 47, 79, 0.13) !important;
}

body:not(:has(.pa-text-heading)) .main-area .about__title-wrap::before {
  content: "";
  position: absolute;
  inset: 14px 14px auto auto;
  width: 118px;
  height: 118px;
  opacity: 0.36;
  background:
    linear-gradient(90deg, #b6dff0 1px, transparent 1px),
    linear-gradient(180deg, #b6dff0 1px, transparent 1px);
  background-size: 16px 16px;
  mask-image: linear-gradient(135deg, #000 0, transparent 78%);
  pointer-events: none;
}

body:not(:has(.pa-text-heading)) .main-area .about__title-wrap::after {
  content: "\f544";
  position: absolute;
  right: 26px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #cfe4ec;
  border-radius: 8px;
  background: #ffffff;
  color: var(--pa-tb1-blue);
  font-family: "Font Awesome 5 Free";
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(6, 47, 79, 0.11);
}

body:not(:has(.pa-text-heading)) .main-area .about__title-wrap .section__title {
  margin-bottom: 20px;
}

body:not(:has(.pa-text-heading)) .main-area .about__title-wrap .sub-title {
  min-height: 38px;
  padding: 6px 13px;
  gap: 8px;
  border-color: #c9e5ee;
  background: #eaf8fb;
  color: var(--pa-tb1-blue) !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
}

body:not(:has(.pa-text-heading)) .main-area .about__title-wrap .sub-title::before {
  content: "\f109";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--pa-tb1-blue);
  color: #ffffff;
  font-family: "Font Awesome 5 Free";
  font-size: 10px;
  font-weight: 900;
}

body:not(:has(.pa-text-heading)) .main-area .about__title-wrap .section__title .title {
  max-width: 390px;
  margin-top: 12px;
  color: #062f4f !important;
  font-size: 32px !important;
  line-height: 1.28 !important;
}

body:not(:has(.pa-text-heading)) .main-area .about__title-wrap .section__title .title .position-relative,
body:not(:has(.pa-text-heading)) .main-area .about__title-wrap .section__title .title .position-relative span:not(.svg-icon) {
  color: #086bd6 !important;
}

body:not(:has(.pa-text-heading)) .main-area .about__title-wrap .fw-medium {
  position: relative;
  margin: 0 0 17px;
  padding: 18px 18px 18px 20px;
  border-left: 4px solid var(--pa-tb1-teal);
  border-radius: 8px;
  background: #f3fbfd;
  color: #183c5d !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.78 !important;
}

body:not(:has(.pa-text-heading)) .main-area .about__title-wrap p:not(.fw-medium) {
  max-width: 398px;
  margin: 0;
  color: #385775 !important;
  font-size: 14.4px !important;
  line-height: 1.78 !important;
}

body:not(:has(.pa-text-heading)) .main-area .about__images-wrap {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 1.16fr) minmax(220px, 0.84fr);
  align-items: stretch;
  width: 100%;
  min-height: 514px;
  gap: 24px;
  padding: 18px;
  border: 1px solid #cfe4ec;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(11, 105, 214, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16, 169, 166, 0.045) 1px, transparent 1px),
    rgba(255, 255, 255, 0.82);
  background-size: 26px 26px, 26px 26px, auto;
  box-shadow: 0 22px 54px rgba(6, 47, 79, 0.11);
}

body:not(:has(.pa-text-heading)) .main-area .about__images-wrap .column {
  display: grid;
  min-width: 0;
  gap: 22px;
}

body:not(:has(.pa-text-heading)) .main-area .about__images-wrap .column:first-child {
  align-content: center;
}

body:not(:has(.pa-text-heading)) .main-area .about__images-wrap .column:first-child img {
  width: 100%;
  height: 410px;
  object-fit: cover;
  object-position: center;
}

body:not(:has(.pa-text-heading)) .main-area .about__images-wrap .column:nth-child(2) a,
body:not(:has(.pa-text-heading)) .main-area .about__images-wrap .column:nth-child(2) img {
  display: block;
  width: 100%;
}

body:not(:has(.pa-text-heading)) .main-area .about__images-wrap .column:nth-child(2) img {
  height: 194px;
  object-fit: cover;
}

body:not(:has(.pa-text-heading)) .main-area .about__images-wrap img {
  border: 1px solid #cfe4ec !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 42px rgba(6, 47, 79, 0.15) !important;
}

body:not(:has(.pa-text-heading)) .main-area .about__images-wrap .column:nth-child(2) a {
  transition: transform 0.18s ease, filter 0.18s ease;
}

body:not(:has(.pa-text-heading)) .main-area .about__images-wrap .column:nth-child(2) a:hover {
  filter: saturate(1.05);
  transform: translateY(-2px);
}

body:not(:has(.pa-text-heading)) .main-area .about__shapes {
  opacity: 0.28;
}

body:not(:has(.pa-text-heading)) .main-area .about__shapes .about-shape-01,
body:not(:has(.pa-text-heading)) .main-area .about__shapes .about-shape-02 {
  display: none !important;
}

body:not(:has(.pa-text-heading)) .main-area .about__shapes .about-shape-03 {
  right: 0 !important;
  bottom: -10px !important;
  width: 150px;
}

@media (max-width: 1199.98px) {
  body:not(:has(.pa-text-heading)) .main-area .about__title-wrap,
  body:not(:has(.pa-text-heading)) .main-area .about__images-wrap {
    min-height: auto;
  }

  body:not(:has(.pa-text-heading)) .main-area .about__images-wrap {
    margin-top: 20px;
    grid-template-columns: 1fr;
  }

  body:not(:has(.pa-text-heading)) .main-area .about__images-wrap .column:nth-child(2) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  body:not(:has(.pa-text-heading)) .main-area > section:first-of-type {
    padding: 14px 0;
  }

  body:not(:has(.pa-text-heading)) .main-area > section:first-of-type > section > .container {
    width: calc(100% - 22px);
    max-width: calc(100% - 22px) !important;
  }

  body:not(:has(.pa-text-heading)) .main-area .about__title-wrap {
    padding: 24px 20px 26px;
  }

  body:not(:has(.pa-text-heading)) .main-area .about__title-wrap .section__title .title {
    max-width: 100%;
    font-size: 26px !important;
  }

  body:not(:has(.pa-text-heading)) .main-area .about__title-wrap p:not(.fw-medium) {
    max-width: 100%;
  }

  body:not(:has(.pa-text-heading)) .main-area .about__images-wrap {
    padding: 12px;
    gap: 14px;
  }

  body:not(:has(.pa-text-heading)) .main-area .about__images-wrap .column:first-child img,
  body:not(:has(.pa-text-heading)) .main-area .about__images-wrap .column:nth-child(2) img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

body:not(:has(.pa-text-heading)) .main-area .about__images-wrap .column:nth-child(2) {
    grid-template-columns: 1fr;
  }
}

/* Homepage hero: remove the name badge and small corner icon. */
body:not(:has(.pa-text-heading)) .main-area .about__title-wrap::after,
body:not(:has(.pa-text-heading)) .main-area .about__title-wrap .sub-title {
  display: none !important;
}

body:not(:has(.pa-text-heading)) .main-area .about__title-wrap::after {
  content: none !important;
}

body:not(:has(.pa-text-heading)) .main-area .about__title-wrap .section__title .title {
  margin-top: 0;
}

/* Homepage replacement banner image. */
body:not(:has(.pa-text-heading)) .main-area .pa-digital-learning-banner {
  display: block;
}

body:not(:has(.pa-text-heading)) .main-area .pa-digital-learning-banner > .container {
  position: relative;
  width: min(1480px, calc(100% - 32px));
  max-width: min(1480px, calc(100% - 32px)) !important;
  padding-left: 0;
  padding-right: 0;
}

body:not(:has(.pa-text-heading)) .main-area .pa-digital-learning-banner__image {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #d6eaf2;
  border-radius: 8px;
  box-shadow: 0 20px 54px rgba(6, 47, 79, 0.14);
}

body:not(:has(.pa-text-heading)) .main-area .pa-digital-learning-banner__exam-link {
  position: absolute;
  right: 1.6%;
  bottom: 8.3%;
  z-index: 2;
  display: block;
  width: 21.5%;
  height: 10.2%;
  border-radius: 8px;
  cursor: pointer;
}

body:not(:has(.pa-text-heading)) .main-area .pa-digital-learning-banner__exam-link:hover,
body:not(:has(.pa-text-heading)) .main-area .pa-digital-learning-banner__exam-link:focus-visible {
  outline: 3px solid rgba(255, 210, 72, 0.76);
  outline-offset: 2px;
}

@media (max-width: 767.98px) {
  body:not(:has(.pa-text-heading)) .main-area .pa-digital-learning-banner > .container {
    width: calc(100% - 22px);
    max-width: calc(100% - 22px) !important;
  }

  body:not(:has(.pa-text-heading)) .main-area .pa-digital-learning-banner__image {
    border-radius: 6px;
  }
}

/* Compact homepage shortcut for the teaching-media hub. */
body:not(:has(.pa-text-heading)) .main-area .pa-home-media-shortcut {
  padding: 24px 0 2px;
  background: #f7fbfd;
}

body:not(:has(.pa-text-heading)) .main-area .pa-home-media-shortcut > .container {
  display: flex;
  justify-content: center;
}

body:not(:has(.pa-text-heading)) .main-area .pa-home-media-shortcut__link {
  display: inline-flex;
  width: 172px;
  min-height: 158px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 18px 16px 16px;
  border: 1px solid #d8e8f2;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(13, 79, 136, 0.12);
  color: #123b5d;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

body:not(:has(.pa-text-heading)) .main-area .pa-home-media-shortcut__link:hover {
  border-color: #74b9de;
  box-shadow: 0 18px 40px rgba(13, 79, 136, 0.18);
  color: #0d4f88;
  transform: translateY(-3px);
}

body:not(:has(.pa-text-heading)) .main-area .pa-home-media-shortcut__link:focus-visible {
  outline: 3px solid rgba(18, 147, 202, 0.35);
  outline-offset: 4px;
}

body:not(:has(.pa-text-heading)) .main-area .pa-home-media-shortcut__icon {
  display: inline-flex;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 22px;
  background: linear-gradient(145deg, #137fc1, #15a8bd);
  box-shadow: 0 10px 24px rgba(14, 126, 177, 0.28);
  color: #ffffff;
  font-size: 31px;
}

body:not(:has(.pa-text-heading)) .main-area .pa-home-media-shortcut__title {
  color: inherit;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
}

body:not(:has(.pa-text-heading)) .main-area .pa-home-media-shortcut__hint {
  margin-top: 3px;
  color: #6a8295;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

body:not(:has(.pa-text-heading)) .main-area .pa-home-media-shortcut + section > div[style*="height: 46px"] {
  height: 18px !important;
  font-size: 18px !important;
  line-height: 18px !important;
}

@media (max-width: 767.98px) {
  body:not(:has(.pa-text-heading)) .main-area .pa-home-media-shortcut {
    padding-top: 18px;
  }

  body:not(:has(.pa-text-heading)) .main-area .pa-home-media-shortcut__link {
    width: 154px;
    min-height: 146px;
    border-radius: 20px;
  }

  body:not(:has(.pa-text-heading)) .main-area .pa-home-media-shortcut__icon {
    width: 64px;
    height: 64px;
    border-radius: 19px;
    font-size: 28px;
  }
}

/* Homepage teaching media section. */
body:not(:has(.pa-text-heading)) .main-area .lms-teaching-media-section {
  padding: 30px 0 24px;
  background: #f7fbfd;
  border-top: 1px solid #d6eaf2;
}

body:not(:has(.pa-text-heading)) .main-area .lms-teaching-media-section + section > div[style*="height: 46px"] {
  height: 18px !important;
  font-size: 18px !important;
  line-height: 18px !important;
}

body:not(:has(.pa-text-heading)) .main-area .lms-teaching-media-section > .container {
  width: min(1180px, calc(100% - 32px));
  max-width: min(1180px, calc(100% - 32px)) !important;
  padding-left: 0;
  padding-right: 0;
}

body:not(:has(.pa-text-heading)) .main-area .lms-course-heading {
  max-width: 760px;
  margin: 0 auto 22px;
  text-align: center;
}

body:not(:has(.pa-text-heading)) .main-area .lms-course-heading h2 {
  margin: 0;
  color: #062f4f;
  font-size: 31px;
  line-height: 1.3;
}

body:not(:has(.pa-text-heading)) .main-area .lms-media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

body:not(:has(.pa-text-heading)) .main-area .lms-media-card {
  display: flex;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #d6eaf2;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(6, 47, 79, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

body:not(:has(.pa-text-heading)) .main-area .lms-media-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(6, 47, 79, 0.12);
}

body:not(:has(.pa-text-heading)) .main-area .lms-media-card__link {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

body:not(:has(.pa-text-heading)) .main-area .lms-media-card__link:focus-visible {
  outline: 3px solid rgba(52, 120, 221, 0.45);
  outline-offset: -3px;
}

body:not(:has(.pa-text-heading)) .main-area .lms-media-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eaf8fb;
}

body:not(:has(.pa-text-heading)) .main-area .lms-media-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body:not(:has(.pa-text-heading)) .main-area .lms-media-body {
  display: flex;
  min-height: 74px;
  align-items: center;
  padding: 14px 15px 16px;
}

body:not(:has(.pa-text-heading)) .main-area .lms-media-body h3 {
  width: 100%;
  margin: 0;
  color: #123d62;
  font-size: 16px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

@media (max-width: 1199.98px) {
  body:not(:has(.pa-text-heading)) .main-area .lms-media-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  body:not(:has(.pa-text-heading)) .main-area .lms-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  body:not(:has(.pa-text-heading)) .main-area .lms-teaching-media-section {
    padding: 24px 0 20px;
  }

  body:not(:has(.pa-text-heading)) .main-area .lms-teaching-media-section + section > div[style*="height: 46px"] {
    height: 14px !important;
    font-size: 14px !important;
    line-height: 14px !important;
  }

  body:not(:has(.pa-text-heading)) .main-area .lms-teaching-media-section > .container {
    width: calc(100% - 22px);
    max-width: calc(100% - 22px) !important;
  }

  body:not(:has(.pa-text-heading)) .main-area .lms-course-heading {
    margin-bottom: 18px;
    text-align: left;
  }

  body:not(:has(.pa-text-heading)) .main-area .lms-course-heading h2 {
    font-size: 25px;
  }

  body:not(:has(.pa-text-heading)) .main-area .lms-media-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Teaching media course detail page. */
.lms-course-detail-page {
  min-height: calc(100vh - 89px);
  background: #f5f9fc;
  color: #082f4d;
}

.lms-course-detail-page .container {
  max-width: 1180px !important;
}

.lms-course-hero {
  padding: 32px 16px 34px;
  border-bottom: 1px solid #d6eaf2;
  background: #eef8fb;
}

.lms-course-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
}

.lms-course-hero__copy {
  max-width: 980px;
}

.lms-back-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  margin-bottom: 14px;
  color: #0b69bd;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.lms-back-link::before {
  content: "\f104";
  margin-right: 7px;
  font-family: "Font Awesome 5 Free";
  font-size: 12px;
  font-weight: 900;
}

.lms-back-link:hover {
  color: #0d4f88;
}

.lms-course-kicker {
  margin: 0 0 8px;
  color: #0f6e62;
  font-size: 15px;
  font-weight: 800;
}

.lms-course-kicker--below {
  margin: -4px 0 14px;
}

.lms-course-hero h1 {
  max-width: 980px;
  margin: 0 0 12px;
  color: #062f4f;
  font-size: 38px;
  line-height: 1.22;
}

.lms-course-lead {
  max-width: 980px;
  margin: 0 0 20px;
  color: #405a70;
  font-size: 17px;
  line-height: 1.85;
}

.lms-course-meta-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0;
}

.lms-course-meta-item {
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid #d5e8ef;
  border-radius: 8px;
  background: #ffffff;
}

.lms-course-meta-item span {
  display: block;
  margin-bottom: 3px;
  color: #60788c;
  font-size: 12px;
  font-weight: 700;
}

.lms-course-meta-item strong {
  display: block;
  color: #082f4d;
  font-size: 16px;
  line-height: 1.35;
}

.lms-course-actions,
.lms-worksheet-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.lms-course-action,
.lms-worksheet-action {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid #0b69bd;
  border-radius: 8px;
  background: #0b69bd;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(11, 105, 189, 0.15);
}

.lms-course-action:hover,
.lms-worksheet-action:hover {
  background: #0d4f88;
  border-color: #0d4f88;
}

.lms-course-action--ghost,
.lms-worksheet-action--ghost {
  background: #ffffff;
  color: #0b69bd !important;
  box-shadow: none;
}

.lms-course-action--ghost:hover,
.lms-worksheet-action--ghost:hover {
  background: #eef8fb;
  color: #0d4f88 !important;
}

.lms-worksheet-action--download {
  border-color: #0f6e62;
  background: #0f6e62;
  box-shadow: 0 10px 22px rgba(15, 110, 98, 0.14);
}

.lms-worksheet-action--download:hover {
  border-color: #0a554b;
  background: #0a554b;
}

.lms-worksheet-action--disabled {
  border-color: #d8e5eb;
  background: #eef3f6;
  color: #60788c !important;
  box-shadow: none;
  cursor: default;
}

.lms-course-hero__figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #d5e8ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(6, 47, 79, 0.12);
}

.lms-course-hero__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.lms-course-band {
  padding: 34px 16px;
  background: #ffffff;
}

.lms-course-band--soft {
  background: #f5f9fc;
}

.lms-course-section-head {
  max-width: 880px;
  margin-bottom: 18px;
}

.lms-course-section-head span {
  display: inline-flex;
  margin-bottom: 8px;
  color: #0f6e62;
  font-size: 13px;
  font-weight: 800;
}

.lms-course-section-head h2 {
  margin: 0;
  color: #062f4f;
  font-size: 28px;
  line-height: 1.3;
}

.lms-course-section-head p,
.lms-course-prose p {
  max-width: 980px;
  margin: 10px 0 0;
  color: #405a70;
  font-size: 16px;
  line-height: 1.85;
}

.lms-table-scroll,
.lms-lesson-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #d8e8ef;
  border-radius: 8px;
  background: #ffffff;
}

.lms-unit-table,
.lms-lesson-table {
  width: 100%;
  min-width: 940px;
  border-collapse: collapse;
  table-layout: fixed;
}

.lms-unit-table th,
.lms-unit-table td,
.lms-lesson-table th,
.lms-lesson-table td {
  padding: 13px 14px;
  border-bottom: 1px solid #e1edf2;
  color: #274961;
  font-size: 14px;
  line-height: 1.65;
  vertical-align: top;
}

.lms-unit-table th,
.lms-lesson-table th {
  background: #eaf6f8;
  color: #062f4f;
  font-weight: 800;
}

.lms-unit-table th:first-child,
.lms-unit-table td:first-child,
.lms-lesson-table th:first-child,
.lms-lesson-table td:first-child,
.lms-unit-table th:last-child,
.lms-unit-table td:last-child,
.lms-lesson-table th:nth-child(3),
.lms-lesson-table td:nth-child(3) {
  width: 86px;
  text-align: center;
}

.lms-unit-table th:nth-child(2),
.lms-unit-table td:nth-child(2),
.lms-lesson-table th:nth-child(2),
.lms-lesson-table td:nth-child(2) {
  width: 220px;
}

.lms-lesson-table {
  min-width: 1120px;
}

.lms-lesson-table th:first-child,
.lms-lesson-table td:first-child {
  width: 64px;
}

.lms-lesson-table th:nth-child(2),
.lms-lesson-table td:nth-child(2) {
  width: 215px;
}

.lms-lesson-table th:nth-child(3),
.lms-lesson-table td:nth-child(3) {
  width: 76px;
}

.lms-lesson-table th:nth-child(5),
.lms-lesson-table td:nth-child(5) {
  width: 250px;
}

.lms-unit-table {
  min-width: 1040px;
}

.lms-unit-table th:first-child,
.lms-unit-table td:first-child {
  width: 68px;
}

.lms-unit-table th:nth-child(2),
.lms-unit-table td:nth-child(2) {
  width: 190px;
}

.lms-unit-table th:nth-child(3),
.lms-unit-table td:nth-child(3) {
  width: 168px;
}

.lms-unit-table th:nth-child(4),
.lms-unit-table td:nth-child(4) {
  width: auto;
}

.lms-unit-table th:last-child,
.lms-unit-table td:last-child {
  width: 72px;
}

.lms-unit-list {
  display: grid;
  gap: 18px;
}

.lms-unit-card {
  overflow: hidden;
  border: 1px solid #d8e8ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 13px 30px rgba(6, 47, 79, 0.08);
}

.lms-unit-card__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid #d8e8ef;
  background: #eef8fb;
}

.lms-unit-card__head span {
  color: #0b69bd;
  font-size: 14px;
  font-weight: 800;
}

.lms-unit-card__head h3 {
  margin: 0;
  color: #062f4f;
  font-size: 20px;
  line-height: 1.35;
}

.lms-unit-card__head strong {
  min-width: 74px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #ffffff;
  color: #0f6e62;
  font-size: 14px;
  text-align: center;
}

.lms-unit-card__concept {
  margin: 0;
  padding: 16px 18px;
  color: #405a70;
  font-size: 15px;
  line-height: 1.8;
}

.lms-lesson-table-wrap {
  margin: 0 18px 18px;
}

.lms-worksheet-block {
  padding: 0 18px 18px;
}

.lms-worksheet-block h4 {
  margin: 0 0 12px;
  color: #062f4f;
  font-size: 18px;
  line-height: 1.35;
}

.lms-worksheet-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lms-worksheet-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid #dfeaf0;
  border-radius: 8px;
  background: #fbfdff;
}

.lms-worksheet-item h5 {
  margin: 0;
  color: #123d62;
  font-size: 16px;
  line-height: 1.45;
}

.lms-worksheet-item p,
.lms-empty-note {
  margin: 5px 0 0;
  color: #60788c;
  font-size: 13px;
  line-height: 1.6;
}

.lms-worksheet-note {
  color: #8a6b12 !important;
}

.lms-worksheet-disclosure {
  min-width: 0;
}

.lms-worksheet-disclosure summary {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid #0b69bd;
  border-radius: 8px;
  background: #ffffff;
  color: #0b69bd;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.lms-worksheet-disclosure summary::-webkit-details-marker {
  display: none;
}

.lms-worksheet-disclosure summary::before {
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-size: 11px;
  font-weight: 900;
  transition: transform 0.16s ease;
}

.lms-worksheet-disclosure summary strong {
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef8fb;
  color: #0f6e62;
  font-size: 12px;
}

.lms-worksheet-disclosure[open] summary {
  background: #0b69bd;
  color: #ffffff;
}

.lms-worksheet-disclosure[open] summary::before {
  transform: rotate(90deg);
}

.lms-worksheet-disclosure[open] summary strong {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.lms-worksheet-panel {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.lms-worksheet-panel .lms-worksheet-item {
  grid-template-columns: 1fr;
  gap: 9px;
  padding: 10px;
  background: #ffffff;
}

.lms-worksheet-panel .lms-worksheet-controls {
  align-items: flex-start;
}

.lms-worksheet-none {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  color: #73889b;
  font-size: 13px;
  font-weight: 700;
}

.lms-lesson-extra-row td:first-child {
  color: #0b69bd;
  font-weight: 800;
  text-align: left;
}

.lms-course-chip {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e9f7ef;
  color: #0f6e62;
  font-size: 12px;
  font-weight: 800;
}

.lms-course-chip--muted {
  background: #fff6df;
  color: #8a6b12;
}

@media (max-width: 991.98px) {
  .lms-course-hero__inner {
    grid-template-columns: 1fr;
  }

  .lms-course-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lms-course-hero__figure {
    max-width: 520px;
  }

  .lms-worksheet-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .lms-course-hero,
  .lms-course-band {
    padding-left: 12px;
    padding-right: 12px;
  }

  .lms-course-hero h1 {
    font-size: 30px;
  }

  .lms-course-lead,
  .lms-course-section-head p,
  .lms-course-prose p {
    font-size: 15px;
  }

  .lms-course-meta-grid {
    grid-template-columns: 1fr;
  }

  .lms-unit-card__head {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .lms-unit-card__head strong {
    width: fit-content;
  }

  .lms-course-actions,
  .lms-worksheet-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .lms-course-action,
  .lms-worksheet-action,
  .lms-course-chip {
    width: 100%;
  }
}
/* Keep the final two national-award certificates aligned like the paired certificates above them. */
#pa-award-certificate-pair {
  margin: 9px 0 16px;
}

#pa-award-certificate-pair > .container {
  box-sizing: border-box;
  width: calc(100% - 30px) !important;
  max-width: 1150px !important;
  margin-right: auto;
  margin-left: auto;
  padding: 25px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
}

#pa-award-certificate-pair .pa-award-certificate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 430px));
  gap: 16px;
  align-items: stretch;
  justify-content: center;
}

#pa-award-certificate-pair .pa-award-certificate-card {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

#pa-award-certificate-pair .pa-award-certificate-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 842 / 595;
  object-fit: contain;
}

.pa-awards-page .instructor-details-img {
  flex: 0 1 430px;
  width: 430px !important;
  max-width: 100%;
}

.pa-awards-page .instructor-details-img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 842 / 595;
  object-fit: contain;
}

.pa-awards-content {
  padding: 36px 0 56px;
  color: #254f6d;
}

.pa-training-content {
  min-height: 300px;
  padding: 36px 0 56px;
  color: #254f6d;
}

.pa-training-content h1 {
  margin: 0;
  color: #173f5e;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.pa-training-content {
  padding: 32px 0 56px;
  background: #f1fafc;
}

.pa-training-content > .container {
  max-width: 1140px;
}

.pa-training-content__intro {
  margin-bottom: 24px;
  padding: 24px 28px;
  border: 1px solid #d9e9ee;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(35, 73, 96, 0.07);
}

.pa-training-content__intro h1 {
  margin: 0 0 12px;
}

.pa-training-content__intro p {
  margin: 0;
  color: #254f6d;
  font-size: 1rem;
  line-height: 1.85;
}

.pa-training-gallery {
  display: grid;
  gap: 22px;
}

.pa-training-card {
  overflow: hidden;
  margin: 0;
  padding: 12px;
  border: 1px solid #d9e6ec;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(35, 73, 96, 0.08);
}

.pa-training-card img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 1596 / 400;
  border-radius: 8px;
  object-fit: contain !important;
}

.pa-training-card__series {
  display: grid;
  gap: 10px;
}

.pa-training-card__caption {
  margin: 0;
  padding: 18px 18px 12px;
  color: #254f6d;
  font-size: 1rem;
  line-height: 1.85;
  text-align: left;
}

.pa-training-card__caption p {
  margin: 0;
}

.pa-training-card__caption p + p {
  margin-top: 12px;
}

.pa-training-card__caption strong {
  color: #173f5e;
  font-weight: 700;
}

@media (max-width: 767px) {
  .pa-training-content {
    padding: 20px 0 40px;
  }

  .pa-training-content__intro {
    padding: 18px;
  }

  .pa-training-card {
    padding: 7px;
    border-radius: 9px;
  }

  .pa-training-card__caption {
    padding: 14px 10px 9px;
    font-size: 0.96rem;
    line-height: 1.75;
  }

  .pa-training-gallery {
    gap: 16px;
  }
}

.pa-awards-content__intro,
.pa-awards-group {
  margin-bottom: 28px;
}

.pa-awards-content__intro p,
.pa-awards-group > p {
  margin: 10px 0 0;
  line-height: 1.8;
}

.pa-awards-feature {
  overflow: hidden;
  margin: 0 0 34px;
  border: 1px solid #d9e6ec;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(35, 73, 96, 0.08);
}

.pa-awards-feature img {
  display: block;
  width: 100%;
  height: auto;
}

.pa-awards-feature figcaption {
  padding: 12px 18px 15px;
  text-align: center;
  line-height: 1.65;
}

.pa-awards-group {
  padding: 24px;
  border: 1px solid #d9e6ec;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(35, 73, 96, 0.07);
}

.pa-awards-group h2 {
  margin: 0;
  color: #173f5e;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.pa-awards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.pa-awards-grid figure {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid #dfe7eb;
  border-radius: 8px;
  background: #fff;
}

.pa-awards-grid img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
}

.pa-awards-note {
  margin-top: 20px;
  padding: 15px 18px;
  border-radius: 8px;
  background: #eef8fb;
  text-align: center;
}

.pa-awards-note h3,
.pa-awards-note p {
  margin: 0;
}

.pa-awards-note p {
  margin-top: 5px;
}

.pa-awards-latest-certificates {
  margin: 0 0 28px;
  padding: 18px;
  border: 1px solid #d9e6ec;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(35, 73, 96, 0.08);
}

.pa-awards-latest-certificates__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
  width: min(100%, 842px);
  margin: 0 auto;
}

.pa-awards-latest-certificates figure {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 1px solid #dfe7eb;
  border-radius: 8px;
  background: #fff;
}

.pa-awards-latest-certificates img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 842 / 595;
  object-fit: contain !important;
}

@media (max-width: 767px) {
  .pa-awards-latest-certificates {
    padding: 10px;
  }

  .pa-awards-latest-certificates__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.pa-awards-single-certificate {
  overflow: hidden;
  width: min(100%, 842px);
  margin: 0 auto;
  padding: 12px;
  border: 1px solid #dfe7eb;
  border-radius: 10px;
  background: #fff;
}

.pa-awards-single-certificate img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 842 / 595;
  border-radius: 6px;
  object-fit: contain !important;
}

.pa-awards-single-certificate figcaption {
  margin: 0;
  padding: 16px 12px 4px;
  color: #254f6d;
  font-size: 1rem;
  line-height: 1.75;
  text-align: center;
}

@media (max-width: 767px) {
  .pa-awards-content {
    padding: 24px 0 40px;
  }

  .pa-awards-group {
    padding: 16px;
  }

  .pa-awards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 767.98px) {
  #pa-award-certificate-pair .pa-award-certificate-grid {
    grid-template-columns: 1fr;
  }
}
/* Replacement learning-activity banners on the Domain 1 report. */
.pa-domain-one-activity-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin: 8px 0 18px;
}

.pa-domain-one-activity-gallery__item {
  overflow: hidden;
  margin: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
}

.pa-domain-one-activity-gallery__item img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 798 / 200;
  object-fit: cover;
  border-radius: 10px;
}

@media (max-width: 767.98px) {
  .pa-domain-one-activity-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Linked signature artwork at the end of every page. */
.pa-site-footer-mark {
  width: 100%;
  margin-top: 24px;
  padding: 34px 20px 30px;
  background: #ffffff;
  border-top: 1px solid #dbe9ed;
}

.pa-site-footer-mark .container {
  display: flex;
  justify-content: center;
}

.pa-site-footer-mark__link {
  display: inline-block;
  width: min(100%, 494px);
  max-width: 494px;
  aspect-ratio: 494 / 82;
  border-radius: 10px;
  transition: transform 160ms ease, filter 160ms ease;
}

.pa-site-footer-mark__link:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 8px 12px rgba(57, 84, 105, 0.14));
}

.pa-site-footer-mark__link:focus-visible {
  outline: 3px solid rgba(15, 145, 177, 0.35);
  outline-offset: 5px;
}

.pa-site-footer-mark img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 494 / 82;
  object-fit: contain;
}

@media (max-width: 575.98px) {
  .pa-site-footer-mark {
    margin-top: 16px;
    padding: 26px 18px 24px;
  }
}

/* Mobile navigation must use the viewport, not the filtered header height. */
@media (max-width: 991.98px) {
  .tg-header__style-three .tg-header__area,
  .tg-header__style-three .tg-header__area.sticky-menu {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .tgmobile__menu,
  .tgmobile__menu-backdrop {
    height: 100vh;
    height: 100dvh;
  }
  .tgmobile__menu-box {
    overscroll-behavior: contain;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .tg-header__style-three .tg-header__area .mobile-nav-toggler,
  .tgmobile__menu .close-btn {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .tgmobile__menu .navigation li > .dropdown-btn {
    width: 44px;
    height: 44px;
  }
}
