/* Clarity FT — nav, hero, footer matched to localhost/mocks */

/**
 * The brand display face. The site also registers it as "ethoncentric" via the
 * UseAnyFont plugin, but from a root-absolute path that breaks on subdirectory
 * installs, so it is declared here from theme-relative files instead.
 */
@font-face {
  font-family: ethnocentric;
  src: url("../../../uploads/useanyfont/5642ethoncentric.woff2") format("woff2"),
       url("../../../uploads/useanyfont/5642ethoncentric.woff") format("woff"),
       url("../ethnocentric.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --cft-teal: #0e636f;
  --cft-cyan: #3feee6;
  --cft-coral: #ff85a5;
  --cft-deep: #064852;
  --cft-ink: #e8fffc;
}

.top-right-div,
.main-header-bar,
.cfb_wrapper,
.bannerdiv,
.site-footer,
.footer-adv,
.ast-small-footer {
  display: none !important;
}

.home #primary {
  margin-top: 0;
}

.main-header-bar-wrap {
  height: 0 !important;
  min-height: 0 !important;
  background: none !important;
  border: 0 !important;
  overflow: visible !important;
}

/* —— Header bar (same as mocks) —— */
.cft-bar-wrap {
  position: sticky;
  top: 10px;
  z-index: 1000;
  max-width: 1280px;
  margin: 10px auto 0;
  padding: 0 16px;
}

.cft-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: linear-gradient(135deg, rgba(6, 72, 82, 0.92) 0%, rgba(14, 99, 111, 0.88) 55%, rgba(8, 90, 100, 0.9) 100%);
  border: 1px solid rgba(63, 238, 230, 0.28);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  z-index: 100;
}

/**
 * Desktop: a flat full-width header band. The colour moves to the wrapper so it
 * spans the viewport, and the card treatment (border, radius, shadow) is
 * dropped. The mobile panel keeps its card look.
 */
@media screen and (min-width: 992px) {
  .cft-bar-wrap {
    top: 0;
    max-width: none;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #064852 0%, #0e636f 55%, #085a64 100%);
  }

  .cft-bar {
    max-width: 1360px;
    margin: 0 auto;
    padding: 8px 24px;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.cft-bar .logo {
  float: none !important;
  width: auto !important;
  max-width: calc(100% - 64px);
  flex: 0 0 auto;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 102;
  line-height: 0;
}

.cft-bar .logo a {
  display: inline-block;
  max-width: 100%;
  line-height: 0;
  background: transparent !important;
  padding: 0 !important;
}

.cft-bar .logo img {
  float: none !important;
  display: block !important;
  max-height: 44px !important;
  width: auto !important;
  max-width: 160px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.cft-nav-toggle {
  display: none;
  flex: 0 0 auto !important;
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(63, 238, 230, 0.45) !important;
  border-radius: 10px !important;
  background: rgba(63, 238, 230, 0.12) !important;
  box-shadow: none !important;
  color: var(--cft-cyan) !important;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 20px !important;
  line-height: 1 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  z-index: 102;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.cft-nav-toggle:hover,
.cft-nav-toggle[aria-expanded="true"] {
  background: rgba(255, 133, 165, 0.25) !important;
  border-color: var(--cft-coral) !important;
  color: #fff !important;
  transform: none !important;
  box-shadow: none !important;
}

#cftNav.cft-nav {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  max-width: none;
}

.cft-nav .menu-container {
  margin: 0 !important;
}

.topnav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 2px;
  overflow: visible;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.topnav li {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none !important;
}

.topnav li:before {
  content: none !important;
}

.topnav ul {
  margin: 0;
  padding: 0;
  list-style: none !important;
}

.topnav > a[href="javascript:void(0)"]:not(.icon) {
  display: none !important;
}

.topnav a {
  float: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-weight: 600;
  /* Scales with the viewport so all items stay on a single row. */
  font-size: clamp(12px, 1vw, 14px);
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-transform: uppercase;
  color: #e8fffc !important;
  text-align: center;
  text-decoration: none !important;
  padding: 10px clamp(6px, 0.78vw, 13px) !important;
  border-radius: 999px;
  background: transparent !important;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.topnav a::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cft-cyan), var(--cft-coral));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s ease;
}

.topnav a:hover,
.topnav a:focus {
  color: #fff !important;
  background: rgba(63, 238, 230, 0.14) !important;
  transform: translateY(-1px);
}

.topnav a:hover::after,
.topnav a:focus::after,
.topnav a.active::after {
  transform: scaleX(1);
}

.topnav a.active {
  color: #fff !important;
  background: rgba(255, 133, 165, 0.22) !important;
}

.topnav .icon {
  display: none !important;
}

/* —— Dropdowns —— */
#myTopnav .ast-menu-toggle {
  display: none !important;
}

.cft-sub-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 16px;
  height: 20px;
  margin: 0 0 0 -4px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--cft-cyan);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  vertical-align: middle;
  transition: transform 0.22s ease, color 0.22s ease;
}

.cft-sub-toggle:hover {
  color: #fff;
}

.topnav .sub-menu,
.topnav .children,
.topnav li > ul {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 265px;
  padding: 8px;
  background: linear-gradient(180deg, #064852 0%, #0e636f 100%);
  border: 1px solid rgba(63, 238, 230, 0.3);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  z-index: 120;
}

.topnav li > ul:before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.topnav > li:hover > ul,
.topnav > li:focus-within > ul {
  display: block;
}

.topnav li > ul a {
  display: block;
  width: 100%;
  border-radius: 10px;
  text-align: left;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 13px !important;
  font-weight: 500;
  padding: 10px 12px !important;
  white-space: normal;
  box-sizing: border-box;
}

.topnav li > ul a:after {
  display: none;
}

.topnav li > ul a:hover {
  background: rgba(63, 238, 230, 0.16) !important;
  transform: none;
}

@media screen and (min-width: 992px) {
  /* Hover governs the dropdown, so the caret is only an indicator. */
  .cft-sub-toggle {
    pointer-events: none;
  }

  .topnav > li:hover > .cft-sub-toggle {
    transform: rotate(180deg);
    color: #fff;
  }
}

.cft-bar .callus {
  flex: 0 0 auto;
  margin: 0;
  text-align: right;
  color: #fff;
  white-space: nowrap;
}

.cft-bar .callus > span.tel {
  margin: 0;
  line-height: 1.25;
}

.cft-bar .callus a {
  color: var(--cft-cyan) !important;
  font-weight: 700;
  font-size: clamp(12px, 1vw, 15px);
  letter-spacing: 0.02em;
  text-decoration: none !important;
  background: transparent !important;
  padding: 0 !important;
}

.cft-bar .callus small {
  display: block;
  color: rgba(232, 255, 252, 0.75) !important;
  font-size: 10px;
  margin-top: 2px;
}

/* Below this width the phone block would push the menu onto a second row. */
@media screen and (min-width: 992px) and (max-width: 1199px) {
  .cft-bar .callus small {
    display: none;
  }
}

/* Tightest desktop band: reclaim width from the logo and letter-spacing. */
@media screen and (min-width: 992px) and (max-width: 1099px) {
  .cft-bar .logo img {
    max-height: 38px !important;
    max-width: 124px !important;
  }

  .topnav a {
    letter-spacing: 0;
    padding: 10px 5px !important;
  }

  .cft-bar .callus a {
    font-size: 12px;
  }
}

.cft-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 30, 36, 0.55);
  z-index: 99;
}

body.cft-nav-open {
  overflow: hidden;
}

body.cft-nav-open .cft-nav-backdrop {
  display: block;
}

.cft-mobile-phone {
  display: none;
}

@media screen and (min-width: 992px) {
  .cft-mobile-phone {
    display: none !important;
  }
}

@media screen and (max-width: 991px) {
  .cft-bar-wrap {
    top: 8px;
    margin-top: 8px;
    padding: 0 12px;
  }

  .cft-bar {
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 8px 10px 8px 12px;
    border-radius: 12px;
    margin: 0;
  }

  .cft-bar .logo {
    width: auto !important;
    max-width: calc(100% - 56px);
    padding-bottom: 0 !important;
    flex: 1 1 auto !important;
  }

  .cft-bar .logo img {
    max-height: 38px !important;
  }

  .cft-nav-toggle {
    display: inline-flex !important;
    order: 2;
    margin-left: 0 !important;
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    border-radius: 11px !important;
    font-size: 18px !important;
  }

  .cft-bar .callus {
    display: none !important;
  }

  #cftNav.cft-nav {
    order: 3;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex: none;
    width: 100%;
    display: none;
    background: linear-gradient(180deg, #064852 0%, #0e636f 100%);
    border: 1px solid rgba(63, 238, 230, 0.3);
    border-radius: 12px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
    padding: 10px;
    z-index: 101;
    max-height: min(70vh, 480px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  #cftNav.cft-nav.is-open {
    display: block;
  }

  .topnav {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .topnav li {
    width: 100%;
  }

  .topnav a {
    justify-content: flex-start;
    width: 100%;
    border-radius: 10px;
    padding: 13px 14px !important;
    font-size: 14px !important;
    letter-spacing: 0.03em;
    white-space: normal;
    border: 1px solid transparent;
    min-height: 44px;
    box-sizing: border-box;
  }

  .topnav a::after {
    display: none;
  }

  .topnav a:hover,
  .topnav a.active {
    border-color: rgba(63, 238, 230, 0.35);
  }

  /* Parent rows put the caret button on the right of the link. */
  .topnav li.menu-item-has-children,
  .topnav li.page_item_has_children {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .topnav li.menu-item-has-children > a,
  .topnav li.page_item_has_children > a {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  .cft-sub-toggle {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin: 0;
    border-radius: 10px;
    border: 1px solid rgba(63, 238, 230, 0.28);
    background: rgba(63, 238, 230, 0.1) !important;
    font-size: 18px;
  }

  .topnav li.is-expanded > .cft-sub-toggle {
    transform: rotate(180deg);
    background: rgba(255, 133, 165, 0.22) !important;
    border-color: var(--cft-coral);
    color: #fff;
  }

  /* Collapsed by default; the caret expands it in place. */
  .topnav li > ul {
    position: static;
    display: none;
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    margin: 2px 0 6px;
    padding: 4px 0 4px 10px;
    background: transparent;
    border: 0;
    border-left: 2px solid rgba(63, 238, 230, 0.28);
    border-radius: 0;
    box-shadow: none;
  }

  .topnav > li:hover > ul,
  .topnav > li:focus-within > ul {
    display: none;
  }

  .topnav li.is-expanded > ul {
    display: block;
  }

  .topnav li > ul a {
    min-height: 40px;
    padding: 10px 12px !important;
    font-size: 13px;
  }

  .cft-mobile-phone {
    display: block;
    margin-top: 8px;
    padding: 12px 14px;
    border-top: 1px solid rgba(63, 238, 230, 0.2);
    text-align: left;
  }

  .cft-mobile-phone a {
    color: var(--cft-cyan) !important;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none !important;
    background: transparent !important;
    padding: 0 !important;
  }

  .cft-mobile-phone small {
    display: block;
    color: rgba(232, 255, 252, 0.7);
    font-size: 11px;
    margin-top: 4px;
  }
}

/* —— Homepage hero (matched to Mock up.png) —— */
.cft-home-hero {
  position: relative !important;
  overflow: visible;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  margin: 0;
  padding: 0 0 48px;
  border-radius: 0;
  isolation: isolate;
  box-shadow: none;
}

.cft-home-hero-media {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: clamp(500px, 64vh, 620px);
}

@media (min-width: 992px) {
  .cft-home-hero-media {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    max-height: none;
  }
}

.cft-home-hero-image {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: 50% 22% !important;
  z-index: 0 !important;
  margin: 0 !important;
  display: block !important;
}

.cft-home-hero-shade {
  position: absolute !important;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 16, 24, 0.72) 0%, rgba(5, 16, 24, 0.42) 30%, rgba(5, 16, 24, 0.12) 54%, rgba(5, 16, 24, 0) 74%),
    linear-gradient(180deg, rgba(5, 16, 24, 0.08) 0%, transparent 36%, rgba(5, 16, 24, 0.28) 100%);
}

.cft-home-hero-inner {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  z-index: 2;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  max-width: 640px;
  width: 46%;
  margin: 0;
  padding: 40px 0 40px 48px;
  box-sizing: border-box;
}

.cft-home-kicker {
  display: inline-block;
  margin: 0 0 18px !important;
  padding: 8px 14px;
  border: 0;
  border-radius: 6px;
  background: #0e7f86;
  font-family: Montserrat, "Segoe UI", sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff !important;
  text-shadow: none !important;
}

.cft-home-hero .mainheadinghome {
  margin: 0 0 16px !important;
  max-width: none;
  color: #fff !important;
  font-family: Montserrat, "Segoe UI", sans-serif !important;
  font-size: clamp(38px, 5.2vw, 64px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  line-height: 0.96 !important;
}

.cft-home-lead,
.cft-home-hero .cft-home-lead {
  margin: 0 0 26px !important;
  max-width: 520px;
  font-family: Montserrat, "Segoe UI", sans-serif !important;
  font-size: clamp(15px, 1.35vw, 18px) !important;
  font-weight: 500 !important;
  letter-spacing: 0;
  line-height: 1.55 !important;
  text-transform: none;
  color: #fff !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.cft-home-lead strong {
  font-weight: 700;
  color: #3feee6;
}

.cft-home-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
}

.cft-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 168px;
  width: auto;
  padding: 12px 24px !important;
  border-radius: 10px !important;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  border: 1.5px solid transparent !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cft-home-btn-primary {
  background: #ff5d8f !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(255, 93, 143, 0.28);
}

.cft-home-btn-ghost {
  background: rgba(5, 22, 30, 0.28) !important;
  border-color: rgba(255, 255, 255, 0.88) !important;
  color: #fff !important;
}

.cft-home-hero-stats {
  position: absolute;
  left: 50%;
  bottom: 8px;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: calc(100% - 48px);
  max-width: 1280px;
  margin: 0;
  padding: 6px 8px;
  list-style: none;
  transform: translateX(-50%);
  background: rgba(8, 28, 36, 0.78);
  border: 1px solid rgba(63, 238, 230, 0.22);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.cft-home-hero-stats li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-right: 1px solid rgba(63, 238, 230, 0.14);
}

.cft-home-hero-stats li:last-child {
  border-right: 0;
}

.cft-home-hero-stat-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  color: #3feee6;
}

.cft-home-hero-stat-icon svg {
  display: block;
  width: 28px;
  height: 28px;
}

.cft-home-hero-stats span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.78);
}

.cft-home-hero-stats strong {
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #fff;
  text-transform: none;
}

.cft-home-btn-primary:hover {
  background: #fff !important;
  color: #061c20 !important;
  transform: translateY(-1px);
}

.cft-home-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: #fff !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* —— Homepage proof + qualification cards —— */
.cft-home-highlights {
  position: relative;
  z-index: 3;
  margin: 12px auto 8px;
  padding: 0 16px 8px;
}

.cft-home-highlights-inner {
  max-width: 1360px;
  margin: 0 auto;
}

.cft-home-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.cft-home-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 16px 16px;
  border: 1px solid rgba(63, 238, 230, 0.2);
  border-radius: 14px;
  background: rgba(4, 46, 54, 0.78);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  text-align: center;
}

.cft-home-stats strong {
  font-family: ethnocentric, Montserrat, sans-serif;
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--cft-cyan);
  text-transform: uppercase;
}

.cft-home-stats span {
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(232, 255, 252, 0.78);
}

.cft-qual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cft-qual-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
  padding: 22px 88px 20px 22px;
  border: 1px solid rgba(63, 238, 230, 0.22);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(14, 99, 111, 0.42) 0%, rgba(4, 46, 54, 0.88) 100%);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
  text-decoration: none !important;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.cft-qual-icon {
  position: absolute;
  top: 22px;
  right: 18px;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(63, 238, 230, 0.55);
  border-radius: 50%;
  color: #fff;
}

.cft-qual-icon svg {
  width: 26px;
  height: 26px;
}

.cft-qual-card:hover {
  transform: translateY(-4px);
  border-color: rgba(63, 238, 230, 0.55);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.cft-qual-code {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(63, 238, 230, 0.14);
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cft-cyan);
}

.cft-qual-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.cft-qual-card p {
  margin: 0 0 16px;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(232, 255, 252, 0.82);
}

.cft-qual-link {
  margin-top: auto;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cft-coral);
}

.cft-qual-card:hover .cft-qual-link {
  color: var(--cft-cyan);
}

/* —— Course image grid (replaces flip boxes) —— */
.cft-course-grid-wrap {
  max-width: 1360px;
  margin: 8px auto 36px;
  padding: 0 20px;
}

.cft-course-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.entry-content .cft-course-grid,
.entry-content .cft-page-cards {
  max-width: none;
  margin: 1.2em 0 1.8em;
  padding: 0;
}

.entry-content .cft-page-cards[data-cards="6"] {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.entry-content .cft-page-cards[data-cards="5"] {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.entry-content .cft-page-cards[data-cards="4"] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.entry-content .cft-page-cards[data-cards="3"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.entry-content .cft-page-cards .cft-course-card span {
  font-size: 11px;
  line-height: 1.3;
  white-space: normal;
}

.cft-course-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  min-height: 168px;
  text-decoration: none !important;
  background: #064852;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.cft-course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}

.cft-course-card img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.cft-course-card:hover img {
  transform: scale(1.06);
}

.cft-course-card span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 10px 12px;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(6, 72, 82, 0.94));
}

/* —— Accreditation + footer (same as mocks) —— */
.accreditation-strip,
.cft-accreditations {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 120% at 50% 0%, rgba(63, 238, 230, 0.22), transparent 55%),
    linear-gradient(180deg, #0a4f59 0%, #0e636f 55%, #0a4f59 100%);
  padding: 34px 20px 30px;
  border: 0;
  box-shadow: none;
  overflow: hidden;
}

.accreditation-strip > .container,
.cft-accreditations > .container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.accreditation-strip__label,
.cft-accreditations-label {
  position: relative;
  z-index: 1;
  margin: 0 !important;
  padding: 0 12px;
  max-width: 580px;
  font-family: ethnocentric, Montserrat, "Segoe UI", sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  letter-spacing: 0.06em;
  line-height: 1.35 !important;
  text-transform: uppercase;
  color: #3feee6 !important;
  text-shadow: 0 0 18px rgba(63, 238, 230, 0.35);
}

.accreditation-strip__badges,
.cft-accreditations-logos {
  position: relative;
  z-index: 1;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center;
  align-items: stretch;
  gap: 16px 22px;
  width: 100%;
  padding-bottom: 0;
}

.accreditation-strip a,
.cft-accreditations-logos a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  flex: 0 0 auto !important;
  width: 280px !important;
  max-width: calc(33.333% - 16px) !important;
  border-radius: 8px;
  box-shadow: none !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  text-decoration: none !important;
}

.accreditation-strip a:hover,
.accreditation-strip a:focus-visible,
.cft-accreditations-logos a:hover,
.cft-accreditations-logos a:focus-visible {
  opacity: 1 !important;
  transform: translateY(-4px) scale(1.02);
  outline: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), 0 0 0 2px rgba(63, 238, 230, 0.55) !important;
}

.accreditation-badge,
.cft-accreditations-logos img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 110px !important;
  margin: 0 !important;
  padding: 12px 14px !important;
  box-sizing: border-box !important;
  border: 0 !important;
  border-radius: 8px !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #ffffff !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22) !important;
}

#footer.cft-footer {
  background:
    radial-gradient(1200px 400px at 10% -10%, rgba(63, 238, 230, 0.12), transparent 60%),
    radial-gradient(900px 360px at 90% 0%, rgba(255, 133, 165, 0.1), transparent 55%),
    linear-gradient(180deg, #0e636f 0%, #064852 100%);
  color: #e8fffc;
  padding: 48px 0 0;
  border-top: 1px solid rgba(63, 238, 230, 0.22);
  font-family: Montserrat, "Segoe UI", sans-serif;
}

#footer.cft-footer .container,
.cft-footer-inner {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

#footer.cft-footer a {
  color: #e8fffc;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

#footer.cft-footer a:hover {
  color: #3feee6 !important;
}

.cft-footer-main {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 1.1fr 1.4fr;
  gap: 28px;
  padding-bottom: 20px;
}

.cft-footer-logo {
  display: inline-block;
  margin-bottom: 18px;
  background: transparent !important;
  padding: 0 !important;
}

.cft-footer-logo img {
  display: block;
  width: 170px;
  max-width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

#footer.cft-footer .disclaimer,
#footer.cft-footer .disclaimer p {
  color: rgba(232, 255, 252, 0.82);
  font-size: 13px;
  line-height: 1.7;
  text-align: left;
  margin: 0 0 12px;
}

#footer.cft-footer .widget-title,
#footer.cft-footer h3.widget-title {
  color: #3feee6 !important;
  font-family: ethnocentric, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 18px;
  padding: 0 0 12px;
  position: relative;
  text-shadow: none;
}

#footer.cft-footer .widget-title:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #3feee6, #ff85a5);
}

.cft-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.cft-social a {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(63, 238, 230, 0.12);
  border: 1px solid rgba(63, 238, 230, 0.3);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.cft-social a img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.cft-social a:hover {
  background: rgba(255, 133, 165, 0.22);
  border-color: #ff85a5;
  transform: translateY(-2px);
}

#footer.cft-footer .f-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#footer.cft-footer .f-links li {
  margin: 0 0 10px;
  padding: 0;
  position: relative;
}

#footer.cft-footer .f-links a {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: rgba(232, 255, 252, 0.88);
  padding: 2px 0 2px 14px;
  position: relative;
}

#footer.cft-footer .f-links a:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 1px;
  background: #3feee6;
  transform: translateY(-50%);
  transition: width 0.2s ease;
}

#footer.cft-footer .f-links a:hover:before {
  width: 10px;
}

#footer.cft-footer .contact-info > p {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 18px;
  padding: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(232, 255, 252, 0.9);
}

#footer.cft-footer .contact-info .cft-contact-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(63, 238, 230, 0.12);
  border: 1px solid rgba(63, 238, 230, 0.28);
  color: #3feee6;
  font-size: 14px;
}

#footer.cft-footer .contact-info a {
  color: #fff;
  font-size: 15px;
}

#footer.cft-footer .contact-info small {
  display: block;
  color: rgba(232, 255, 252, 0.65);
  font-size: 12px;
  margin-top: 3px;
}

.cft-footer-reviews {
  min-width: 0;
}

.cft-reviews-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

#footer.cft-footer .cft-reviews-card .FIWidgetContainer,
#footer.cft-footer .cft-reviews-card #fi-widget-container {
  background-color: #fff !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

#footer.cft-footer .cft-reviews-card .FIBrandBar,
#footer.cft-footer .cft-reviews-card .FIBrandBarBtm {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

#footer.cft-footer .cft-reviews-card a.FIWidget_WriteReviewBtn,
#footer.cft-footer .cft-reviews-card .FIWidget_WriteReviewBtn {
  color: #fff !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  float: right !important;
  background: green !important;
  width: 100px !important;
  text-align: center !important;
  text-decoration: none !important;
}

#footer.cft-footer .cft-reviews-card img {
  max-width: 100% !important;
  height: auto !important;
}

.footer-adv .FIWidgetContainer table:nth-of-type(n+2),
.cft-reviews-card .FIWidgetContainer table:nth-of-type(n+2),
.footer-adv .FIWidget_Review:nth-of-type(n+2),
.cft-reviews-card .FIWidget_Review:nth-of-type(n+2),
.footer-adv .FIReview:nth-of-type(n+2),
.cft-reviews-card .FIReview:nth-of-type(n+2) {
  display: none !important;
}

#footer.cft-footer .f-bottom {
  margin-top: 28px;
  padding: 18px 0;
  border-top: 1px solid rgba(63, 238, 230, 0.2);
}

#footer.cft-footer .f-bottom .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

#footer.cft-footer .copy {
  font-size: 12px;
  color: rgba(232, 255, 252, 0.7);
  padding: 6px 0;
}

#footer.cft-footer .footer-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  float: none;
  text-align: right;
}

#footer.cft-footer .footer-menu li {
  display: inline-block;
  margin: 0 0 0 16px;
}

#footer.cft-footer .footer-menu a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(232, 255, 252, 0.78);
}

@media (max-width: 991px) {
  #footer.cft-footer {
    padding-top: 36px;
    text-align: left;
  }

  .cft-footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .cft-footer-brand,
  .cft-footer-logo {
    text-align: left;
  }

  .accreditation-strip a,
  .cft-accreditations-logos a {
    width: 240px !important;
    max-width: calc(50% - 12px) !important;
  }

  .accreditation-badge,
  .cft-accreditations-logos img {
    height: 100px !important;
  }

  #footer.cft-footer .footer-col {
    margin-bottom: 28px;
  }

  #footer.cft-footer .footer-menu {
    text-align: left;
  }

  #footer.cft-footer .footer-menu li {
    margin: 0 16px 8px 0;
  }

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

@media (max-width: 991px) {
  .cft-home-stats,
  .cft-qual-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cft-home-hero {
    height: auto !important;
    min-height: 0 !important;
    padding-bottom: 8px;
  }

  .cft-home-hero-media {
    height: 560px;
  }

  .cft-home-hero-inner {
    width: 78%;
    max-width: none;
    padding: 28px 24px 110px;
  }

  .cft-home-hero-stats {
    grid-template-columns: 1fr 1fr;
    width: calc(100% - 24px);
    bottom: 12px;
    position: relative;
    left: auto;
    transform: none;
    margin: -56px auto 0;
  }

  .cft-home-hero-stats li {
    border-right: 0;
    border-bottom: 1px solid rgba(63, 238, 230, 0.18);
  }

  .cft-home-hero-stats li:nth-child(odd) {
    border-right: 1px solid rgba(63, 238, 230, 0.18);
  }

  .cft-home-hero-stats li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 767px) {
  .cft-home-hero {
    height: auto !important;
    min-height: 0 !important;
  }

  .cft-home-hero-media {
    height: 520px;
  }

  .cft-home-hero-inner {
    width: 100%;
    padding: 24px 20px 28px;
  }

  .cft-home-hero .mainheadinghome {
    font-size: 34px !important;
  }

  .cft-home-lead,
  .cft-home-hero .cft-home-lead {
    font-size: 15px !important;
    letter-spacing: 0;
    margin-bottom: 20px !important;
  }

  .cft-home-btn {
    min-width: 0;
    width: calc(50% - 8px);
    padding: 12px 14px !important;
  }

  .cft-home-hero-stats {
    grid-template-columns: 1fr;
    margin-top: -28px;
  }

  .cft-home-hero-stats li,
  .cft-home-hero-stats li:nth-child(odd) {
    border-right: 0;
    border-bottom: 1px solid rgba(63, 238, 230, 0.18);
  }

  .cft-home-hero-stats li:last-child {
    border-bottom: 0;
  }

  .cft-home-highlights {
    margin-top: 20px;
  }

  .cft-home-stats,
  .cft-qual-grid {
    grid-template-columns: 1fr;
  }

  .accreditation-strip,
  .cft-accreditations {
    padding: 26px 14px 22px;
  }

  .accreditation-strip__label,
  .cft-accreditations-label {
    font-size: 12px !important;
    letter-spacing: 0.04em;
  }

  .accreditation-strip__badges,
  .cft-accreditations-logos {
    gap: 12px;
  }

  .accreditation-strip a,
  .cft-accreditations-logos a {
    width: 100% !important;
    max-width: 280px !important;
  }

  .accreditation-badge,
  .cft-accreditations-logos img {
    width: 100% !important;
    height: 100px !important;
  }

  .cft-footer-main {
    grid-template-columns: 1fr;
  }

  .cft-course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .cft-course-card,
  .cft-course-card img {
    min-height: 140px;
    height: 140px;
  }

  #footer.cft-footer .f-bottom {
    margin-top: 8px;
  }

  #footer.cft-footer .copy {
    margin-bottom: 10px;
  }
}

/* —— Page content —— */
@media (min-width: 922px) {
  .ast-container {
    max-width: 1360px;
    margin-top: 36px;
  }
}

.home #primary,
.page:not(.woocommerce-page) #primary {
  margin-top: clamp(20px, 3vw, 38px);
}

.home #primary {
  margin-top: clamp(12px, 2vw, 24px);
}

/* Width-capped copy; sits on the page teal with no card chrome. */
.home .entry-content,
.page:not(.woocommerce-page) .entry-content {
  max-width: 1360px;
  margin: 0 auto clamp(26px, 4vw, 46px);
  padding: clamp(22px, 3vw, 44px) 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.entry-content {
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: clamp(15.5px, 1.05vw, 17px);
  line-height: 1.8;
  color: var(--cft-ink);
}

/* The classic editor left hard pt sizes and block spans on almost every line. */
.entry-content p span[style],
.entry-content li span[style],
.entry-content h1 span[style],
.entry-content h2 span[style],
.entry-content h3 span[style] {
  display: inline !important;
  margin: 0 !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

/* style.css justifies paragraphs above 650px, which opens rivers in the copy. */
.entry-content p,
.entry-content li {
  text-align: left;
}

.entry-content p {
  margin: 0 0 1.1em;
}

/* Intro paragraph carries the page, so give it a little more weight. */
.home .entry-content > p:first-of-type {
  font-size: clamp(16.5px, 1.2vw, 18.5px);
  line-height: 1.7;
  color: #fff;
}

.entry-content strong {
  color: #fff;
  font-weight: 700;
}

.entry-content h1,
.entry-content h2 {
  font-family: ethnocentric, Montserrat, "Segoe UI", sans-serif;
  color: var(--cft-cyan);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.32;
  text-shadow: none;
}

.entry-content h1 {
  font-size: clamp(19px, 2.3vw, 29px);
  margin: 0 0 0.8em;
}

.entry-content h2 {
  font-size: clamp(16px, 1.7vw, 22px);
  margin: 1.7em 0 0.75em;
}

.entry-content h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin-top: 12px;
  border-radius: 2px;
  background: var(--cft-cyan);
  opacity: 0.85;
}

.entry-content h3 {
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: clamp(16px, 1.3vw, 19px);
  color: #fff;
  margin: 1.5em 0 0.6em;
  text-shadow: none;
}

.home .entry-content h3 {
  margin: 1.35em 0 0;
  padding: 16px 18px 8px;
  border: 1px solid rgba(63, 238, 230, 0.16);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  background: rgba(4, 46, 54, 0.5);
}

.home .entry-content h3 + p,
.home .entry-content h3 + ul {
  margin: 0 0 1.15em;
  padding: 0 18px 16px;
  border: 1px solid rgba(63, 238, 230, 0.16);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  background: rgba(4, 46, 54, 0.5);
}

.home .entry-content h3 + ul {
  padding-left: calc(18px + 1.15em);
}

/* The page content carries stray empty headings and paragraphs. */
.entry-content h1:empty,
.entry-content h2:empty,
.entry-content h3:empty,
.entry-content p:empty {
  display: none;
}

.entry-content ul {
  margin: 0 0 1.4em;
  padding-left: 1.35em;
}

.entry-content ul li {
  margin-bottom: 0.8em;
  padding-left: 0.25em;
}

.entry-content ul li::marker {
  color: var(--cft-cyan);
}

.entry-content p a,
.entry-content li a {
  color: var(--cft-coral) !important;
  background: none !important;
  padding: 0 !important;
  border-bottom: 1px solid rgba(255, 133, 165, 0.45);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.entry-content p a:hover,
.entry-content li a:hover,
.entry-content p a:focus-visible,
.entry-content li a:focus-visible {
  color: var(--cft-cyan) !important;
  border-bottom-color: var(--cft-cyan);
}

/**
 * —— Course page tabs (Tabs Responsive plugin) ——
 *
 * The plugin prints its own stylesheet inline after this file, scoped to a
 * per-instance id such as #tab_container_147 and almost entirely !important,
 * so these rules are anchored on Astra's #page wrapper to outrank it.
 */
#page [id^="tab_container_"] {
  margin: 0 0 clamp(24px, 4vw, 40px);
}

#page [id^="tab_container_"] .wpsm_nav {
  position: relative !important;
  z-index: 5 !important;
  float: left !important;
  width: 258px !important;
  margin: 0 18px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  pointer-events: auto !important;
}

#page [id^="tab_container_"] .wpsm_nav-tabs > li {
  float: none !important;
  width: 100% !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  border: 0 !important;
  /* The current tab carries an inline pink fill; the anchor renders it instead. */
  background: none !important;
  list-style: none !important;
  position: relative !important;
  z-index: 1 !important;
}

#page [id^="tab_container_"] .wpsm_nav-tabs > li > a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(63, 238, 230, 0.22) !important;
  border-radius: 10px !important;
  background: var(--cft-deep) !important;
  box-shadow: none !important;
  font-family: Montserrat, "Segoe UI", sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  letter-spacing: 0.02em !important;
  color: var(--cft-ink) !important;
  text-align: left !important;
  text-decoration: none !important;
  text-shadow: none !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease !important;
}

#page [id^="tab_container_"] .wpsm_nav-tabs > li > a .fa {
  flex: 0 0 18px !important;
  width: 18px !important;
  margin: 0 !important;
  font-size: 15px !important;
  text-align: center !important;
  color: var(--cft-cyan) !important;
}

#page [id^="tab_container_"] .wpsm_nav-tabs > li > a span {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  white-space: normal !important;
}

#page [id^="tab_container_"] .wpsm_nav-tabs > li > a:hover,
#page [id^="tab_container_"] .wpsm_nav-tabs > li > a:focus-visible {
  background: var(--cft-teal) !important;
  border-color: rgba(63, 238, 230, 0.55) !important;
  color: #fff !important;
  transform: translateX(2px) !important;
}

#page [id^="tab_container_"] .wpsm_nav-tabs > li[style] > a,
#page [id^="tab_container_"] .wpsm_nav-tabs > li[style] > a:hover {
  background: var(--cft-coral) !important;
  border-color: var(--cft-coral) !important;
  color: #06333b !important;
  font-weight: 700 !important;
  transform: none !important;
}

#page [id^="tab_container_"] .wpsm_nav-tabs > li[style] > a .fa {
  color: #06333b !important;
}

#page [id^="tab_container_"] .tab-content {
  /* BFC so this panel sits beside the floated tab strip instead of covering it. */
  display: flow-root !important;
  overflow: hidden !important;
  position: relative !important;
  z-index: 1 !important;
  padding: clamp(20px, 2.6vw, 34px) clamp(18px, 2.6vw, 36px) !important;
  border: 1px solid rgba(63, 238, 230, 0.18) !important;
  border-radius: 18px !important;
  background: rgba(4, 46, 54, 0.55) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18) !important;
}

@media screen and (max-width: 768px) {
  #page [id^="tab_container_"] .wpsm_nav {
    float: none !important;
    width: 100% !important;
    margin: 0 0 14px !important;
  }

  #page [id^="tab_container_"] .tab-content {
    padding: 20px 17px !important;
    border-radius: 14px !important;
  }
}

/* —— Embedded maps —— */
/* The embeds carry width="600" height="450" attributes from the old editor. */
#page iframe[src*="google.com/maps"],
#page iframe[src*="maps.google."] {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: clamp(340px, 48vh, 540px) !important;
  margin: 4px 0 8px !important;
  border: 1px solid rgba(63, 238, 230, 0.22) !important;
  border-radius: 14px;
}

/* —— Contact form ([cft_contact_form]) —— */
#page .cft-form-wrap {
  margin: 6px 0 0;
  font-family: Montserrat, "Segoe UI", sans-serif;
}

#page .cft-form-note {
  margin: 0 0 18px;
  padding: 13px 16px;
  border: 1px solid rgba(63, 238, 230, 0.35);
  border-left-width: 4px;
  border-radius: 10px;
  background: rgba(4, 46, 54, 0.7);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--cft-ink);
}

#page .cft-form-note--ok {
  border-color: var(--cft-cyan);
  color: #fff;
}

#page .cft-form-note--error {
  border-color: var(--cft-coral);
}

#page .cft-form-note p {
  margin: 0 0 6px;
  font-weight: 700;
}

#page .cft-form-note ul {
  margin: 0;
  padding-left: 1.2em;
}

#page .cft-form-note li {
  margin: 0 0 4px;
}

#page .cft-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}

#page .cft-field {
  margin: 0 0 16px;
}

#page .cft-field label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cft-cyan);
}

#page .cft-field .cft-req {
  color: var(--cft-coral);
}

#page .cft-field input,
#page .cft-field textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(63, 238, 230, 0.28);
  border-radius: 10px;
  background: rgba(2, 32, 38, 0.72);
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #fff;
  transition: border-color 0.18s ease, background 0.18s ease;
}

#page .cft-field textarea {
  resize: vertical;
}

#page .cft-field input::placeholder,
#page .cft-field textarea::placeholder {
  color: rgba(232, 255, 252, 0.45);
}

#page .cft-field input:focus,
#page .cft-field textarea:focus {
  outline: none;
  border-color: var(--cft-cyan);
  background: rgba(2, 32, 38, 0.9);
}

#page .cft-field input[aria-invalid="true"],
#page .cft-field textarea[aria-invalid="true"] {
  border-color: var(--cft-coral);
}

#page .cft-field-hint {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(232, 255, 252, 0.6);
}

#page .cft-field--captcha {
  max-width: 280px;
}

/* Honeypot: off-screen rather than display:none, which some bots skip. */
#page .cft-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#page .cft-form-actions {
  margin: 4px 0 12px;
}

#page .cft-btn {
  display: inline-block;
  padding: 13px 30px;
  border: 0;
  border-radius: 999px;
  background: var(--cft-coral);
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #06333b;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

#page .cft-btn:hover,
#page .cft-btn:focus-visible {
  background: var(--cft-cyan);
  color: #06333b;
  transform: translateY(-2px);
}

#page .cft-form-small {
  margin: 0;
  font-size: 12.5px;
  color: rgba(232, 255, 252, 0.6);
}

@media screen and (max-width: 767px) {
  #page .cft-form-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Blog listing (blogpost card grid) —— */
#page .cft-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1280px;
  margin: 8px auto clamp(26px, 4vw, 42px);
}

#page .cft-blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(63, 238, 230, 0.2);
  border-radius: 16px;
  background: rgba(4, 46, 54, 0.62);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

#page .cft-blog-card::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--cft-cyan), var(--cft-coral));
}

#page .cft-blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(63, 238, 230, 0.5);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
}

#page .cft-blog-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px 14px;
  text-decoration: none !important;
}

#page .cft-blog-card__date {
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232, 255, 252, 0.6);
}

#page .cft-blog-card__title {
  margin: 0;
  font-family: ethnocentric, Montserrat, "Segoe UI", sans-serif;
  font-size: clamp(14.5px, 1.1vw, 16.5px) !important;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--cft-cyan) !important;
  text-transform: uppercase;
  text-shadow: none !important;
}

/* Clamped so cards in a row stay the same height without a fixed height. */
#page .cft-blog-card__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--cft-ink);
  text-align: left;
}

#page .cft-blog-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin: 0 18px 18px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 133, 165, 0.5);
  border-radius: 999px;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cft-coral) !important;
  text-decoration: none !important;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

#page .cft-blog-card__more span {
  transition: transform 0.18s ease;
}

#page .cft-blog-card__more:hover,
#page .cft-blog-card__more:focus-visible {
  background: var(--cft-coral);
  border-color: var(--cft-coral);
  color: #06333b !important;
}

#page .cft-blog-card__more:hover span {
  transform: translateX(3px);
}

@media screen and (max-width: 1199px) {
  #page .cft-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 767px) {
  #page .cft-blog-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/**
 * —— Shop and category archives ——
 *
 * Anchored on #page so these outrank WooCommerce's own loop styles and the
 * older overrides in style.css without needing !important on every line.
 */
#page .ast-woocommerce-container {
  max-width: 1280px;
  margin: 0 auto;
}

/* Header.php prints an absolutely positioned .content/.mainheading overlay.
   On the shop it sits over the category tiles (and often shows the first
   product title instead of "Courses"). The WooCommerce H1 is enough. */
body.woocommerce-shop .content,
body.post-type-archive-product .content {
  display: none !important;
}

#page .woocommerce-products-header {
  margin: 0 0 clamp(16px, 2.2vw, 24px);
}

#page .woocommerce-products-header__title {
  margin: 0 0 12px;
  font-family: ethnocentric, Montserrat, "Segoe UI", sans-serif;
  font-size: clamp(19px, 2.1vw, 27px);
  color: var(--cft-cyan) !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

#page .term-description {
  max-width: 860px;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: clamp(15px, 1vw, 16.5px);
  line-height: 1.75;
  color: var(--cft-ink);
}

#page .woocommerce-result-count {
  margin: 0;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 13.5px;
  color: rgba(232, 255, 252, 0.75);
}

#page .woocommerce-ordering select.orderby {
  padding: 9px 12px;
  border: 1px solid rgba(63, 238, 230, 0.28);
  border-radius: 9px;
  background: var(--cft-deep);
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 13.5px;
  color: var(--cft-ink);
}

#page ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 22px !important;
  margin: 6px 0 clamp(26px, 4vw, 42px) !important;
  padding: 0 !important;
  list-style: none !important;
}

#page ul.products::before,
#page ul.products::after {
  display: none !important;
}

#page ul.products li.product {
  display: flex !important;
  flex-direction: column !important;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(63, 238, 230, 0.2);
  border-radius: 16px;
  background: rgba(4, 46, 54, 0.62);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

#page ul.products li.product:hover {
  transform: translateY(-4px);
  border-color: rgba(63, 238, 230, 0.5);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
}

#page ul.products li.product .astra-shop-thumbnail-wrap {
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  line-height: 0;
}

#page ul.products li.product .astra-shop-thumbnail-wrap a {
  display: block;
  line-height: 0;
}

/* Thumbnails are square 300x300 crops, so a 1:1 box fills without cropping. */
#page ul.products li.product .astra-shop-thumbnail-wrap img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover;
  border-radius: 0 !important;
  box-shadow: none !important;
}

#page ul.products li.product .astra-shop-summary-wrap {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 10px !important;
  padding: 16px 16px 18px !important;
  text-align: left !important;
}

#page ul.products li.product a.ast-loop-product__link {
  text-decoration: none !important;
}

#page ul.products li.product .woocommerce-loop-product__title {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  font-family: Montserrat, "Segoe UI", sans-serif !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  color: #fff !important;
  text-shadow: none !important;
}

#page ul.products li.product .price {
  margin: 0 !important;
  font-family: Montserrat, "Segoe UI", sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--cft-cyan) !important;
}

#page ul.products li.product .button,
#page ul.products li.product .added_to_cart {
  display: block !important;
  width: 100% !important;
  margin: auto 0 0 !important;
  padding: 11px 14px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: var(--cft-coral) !important;
  font-family: Montserrat, "Segoe UI", sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  color: #06333b !important;
  text-align: center !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: background 0.18s ease !important;
}

#page ul.products li.product .button:hover,
#page ul.products li.product .added_to_cart:hover {
  background: var(--cft-cyan) !important;
  color: #06333b !important;
}

/* Category cards: keep the overlay title inside the tile. The display face is
   too wide at heading size, so it was spilling behind the next card. */
#page ul.products li.product-category {
  isolation: isolate;
}

#page ul.products li.product-category > a {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  overflow: hidden !important;
}

#page ul.products li.product-category img {
  display: block;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

#page ul.products li.product-category .woocommerce-loop-category__title {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 2 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 28px 12px 14px !important;
  overflow: hidden !important;
  background: linear-gradient(to top, rgba(4, 46, 54, 0.94) 0%, rgba(4, 46, 54, 0.82) 55%, rgba(4, 46, 54, 0) 100%) !important;
  font-family: Montserrat, "Segoe UI", sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: 0.04em !important;
  color: #fff !important;
  text-align: center !important;
  text-transform: uppercase !important;
  word-break: break-word !important;
}

#page ul.products li.product-category .woocommerce-loop-category__title .count {
  display: block !important;
  margin-top: 4px !important;
  background: none !important;
  font-family: Montserrat, "Segoe UI", sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  color: var(--cft-cyan) !important;
  opacity: 0.9 !important;
}

@media screen and (max-width: 1199px) {
  #page ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media screen and (max-width: 899px) {
  #page ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

@media screen and (max-width: 575px) {
  #page ul.products {
    grid-template-columns: 1fr !important;
  }
}

/**
 * —— Single product page ——
 */
#page.single-product .ast-woocommerce-container,
.woocommerce.single-product #page .ast-woocommerce-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 2vw, 24px) clamp(30px, 4vw, 48px);
}

#page div.product {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(22px, 3vw, 34px);
  align-items: start;
  margin: 8px 0 0;
}

#page div.product .woocommerce-product-gallery,
#page div.product .summary.entry-summary {
  float: none !important;
  width: auto !important;
  max-width: none !important;
}

#page div.product .woocommerce-tabs,
#page div.product .related.products {
  grid-column: 1 / -1;
}

/* Gallery JS starts at opacity:0 until flexslider initialises. */
#page div.product .woocommerce-product-gallery {
  opacity: 1 !important;
  overflow: hidden;
  border: 1px solid rgba(63, 238, 230, 0.2);
  border-radius: 16px;
  background: rgba(4, 46, 54, 0.55);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

#page div.product .woocommerce-product-gallery__wrapper,
#page div.product .woocommerce-product-gallery__image,
#page div.product .woocommerce-product-gallery__image a {
  display: block;
  line-height: 0;
}

#page div.product .woocommerce-product-gallery__image img {
  display: block;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  object-fit: cover;
}

#page div.product .flex-control-thumbs {
  display: flex;
  gap: 8px;
  margin: 0 !important;
  padding: 12px;
  list-style: none;
}

#page div.product .flex-control-thumbs li {
  width: 72px !important;
  margin: 0 !important;
}

#page div.product .flex-control-thumbs img {
  border: 2px solid transparent;
  border-radius: 8px;
  opacity: 0.72;
}

#page div.product .flex-control-thumbs img.flex-active {
  border-color: var(--cft-cyan);
  opacity: 1;
}

#page div.product .summary.entry-summary {
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid rgba(63, 238, 230, 0.2);
  border-radius: 16px;
  background: rgba(4, 46, 54, 0.62);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

#page div.product .woocommerce-breadcrumb {
  margin: 0 0 14px;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(232, 255, 252, 0.65);
}

#page div.product .woocommerce-breadcrumb a {
  color: var(--cft-cyan) !important;
  text-decoration: none;
}

#page div.product .product_title {
  margin: 0 0 12px;
  font-family: ethnocentric, Montserrat, "Segoe UI", sans-serif;
  font-size: clamp(18px, 2vw, 26px) !important;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--cft-cyan) !important;
  text-shadow: none !important;
}

#page div.product p.price {
  margin: 0 0 16px;
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(63, 238, 230, 0.18);
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: clamp(24px, 2.4vw, 32px) !important;
  font-weight: 700;
  color: #fff !important;
}

#page div.product p.price .woocommerce-Price-amount {
  color: var(--cft-cyan) !important;
}

#page div.product .woocommerce-product-details__short-description {
  margin: 0 0 18px;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--cft-ink);
}

#page div.product .woocommerce-product-details__short-description p {
  margin: 0;
  text-align: left;
}

#page div.product .woocommerce-product-details__short-description span[style] {
  font-family: inherit !important;
  font-size: inherit !important;
}

#page div.product table.variations {
  width: 100%;
  margin: 0 0 18px;
  border-collapse: separate;
  border-spacing: 0;
}

#page div.product table.variations td {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
}

#page div.product table.variations td.label {
  margin-bottom: 8px;
}

#page div.product table.variations td.label label {
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cft-cyan);
}

#page div.product table.variations td.value {
  padding: 14px 16px;
  border: 1px solid rgba(63, 238, 230, 0.28);
  border-radius: 12px;
  background: rgba(2, 32, 38, 0.72);
}

#page div.product .stock {
  margin: 0 !important;
  font-family: Montserrat, "Segoe UI", sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  line-height: 1.55 !important;
  color: #fff !important;
  text-transform: none !important;
  text-shadow: none !important;
}

#page div.product form.cart {
  margin: 0 0 16px;
}

#page div.product .variations_button,
#page div.product form.cart .quantity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

#page div.product form.cart .quantity .qty {
  width: 72px;
  padding: 11px 10px;
  border: 1px solid rgba(63, 238, 230, 0.28);
  border-radius: 10px;
  background: rgba(2, 32, 38, 0.72);
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 15px;
  color: #fff;
}

#page div.product .single_add_to_cart_button {
  flex: 1 1 220px;
  min-height: 48px;
  padding: 13px 24px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--cft-coral) !important;
  font-family: Montserrat, "Segoe UI", sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  color: #06333b !important;
  transition: background 0.18s ease, transform 0.18s ease !important;
}

#page div.product .single_add_to_cart_button:hover {
  background: var(--cft-cyan) !important;
  color: #06333b !important;
  transform: translateY(-2px);
}

#page div.product .product_meta {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(63, 238, 230, 0.18);
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(232, 255, 252, 0.75);
}

#page div.product .product_meta a {
  color: var(--cft-coral) !important;
  text-decoration: none;
}

#page div.product .woocommerce-tabs {
  margin-top: 6px;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid rgba(63, 238, 230, 0.2);
  border-radius: 16px;
  background: rgba(4, 46, 54, 0.55);
}

#page div.product .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px !important;
  padding: 0 !important;
  border: 0 !important;
  list-style: none !important;
}

#page div.product .woocommerce-tabs ul.tabs::before,
#page div.product .woocommerce-tabs ul.tabs::after {
  display: none !important;
}

#page div.product .woocommerce-tabs ul.tabs li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  border-radius: 0 !important;
}

#page div.product .woocommerce-tabs ul.tabs li a {
  display: inline-block;
  padding: 10px 16px !important;
  border: 1px solid rgba(63, 238, 230, 0.28) !important;
  border-radius: 999px !important;
  background: var(--cft-deep) !important;
  font-family: Montserrat, "Segoe UI", sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cft-ink) !important;
  text-decoration: none !important;
}

#page div.product .woocommerce-tabs ul.tabs li.active a {
  background: var(--cft-coral) !important;
  border-color: var(--cft-coral) !important;
  color: #06333b !important;
}

#page div.product .woocommerce-tabs .panel {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--cft-ink);
}

#page div.product .woocommerce-tabs .panel h1,
#page div.product .woocommerce-tabs .panel h2,
#page div.product .woocommerce-tabs .panel h3 {
  font-family: ethnocentric, Montserrat, "Segoe UI", sans-serif;
  color: var(--cft-cyan) !important;
  text-shadow: none !important;
}

#page div.product .woocommerce-tabs .panel p,
#page div.product .woocommerce-tabs .panel li {
  text-align: left;
}

#page div.product .woocommerce-tabs .panel span[style] {
  font-family: inherit !important;
  font-size: inherit !important;
}

#page div.product .related.products {
  margin-top: 8px;
}

#page div.product .related.products > h2 {
  margin: 0 0 16px;
  font-family: ethnocentric, Montserrat, "Segoe UI", sans-serif;
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--cft-cyan) !important;
  text-transform: uppercase;
}

@media screen and (max-width: 991px) {
  #page div.product {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 767px) {
  .home .entry-content,
  .page:not(.woocommerce-page) .entry-content {
    padding: 20px 0;
  }

  #page div.product .summary.entry-summary,
  #page div.product .woocommerce-tabs {
    padding: 18px 16px;
    border-radius: 14px;
  }

  .entry-content h2::after {
    margin-top: 9px;
  }
}
