/* Live deployment parity overrides for Elementor-built CTF pages. */

html,
body {
  max-width: 100%;
  /* `clip` (not `hidden`) prevents horizontal scroll WITHOUT creating a scroll
     container — so the mobile sticky header keeps working (hidden breaks sticky). */
  overflow-x: clip;
}

:root {
  --ctf-font-family: 'Inter', 'Suwannaphum', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --ctf-khmer-font-family: 'Suwannaphum', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

body,
.elementor-widget-heading .elementor-heading-title,
.elementor-widget-text-editor,
.elementor-button,
.hfe-nav-menu li a,
.wpcf7-form,
.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select,
.tablepress,
.ctf-card__title,
.ctf-sidebar__title,
.ctf-stats__value,
.ctf-event-row__body h4,
.ctf-footer__col h4 {
  font-family: var(--ctf-font-family) !important;
}

#ctf-hero .ctf-hero-watermark {
  opacity: 0.55;
}

.hfe-nav-menu {
  gap: 22px !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
}

.hfe-nav-menu li a {
  font-size: 15px !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

#masthead .elementor-top-section:first-of-type {
  min-height: 0 !important;
  padding-bottom: 2px !important;
  padding-top: 2px !important;
}

#masthead .elementor-top-section:first-of-type > .elementor-container,
#masthead .elementor-top-section:first-of-type .elementor-column,
#masthead .elementor-top-section:first-of-type .elementor-widget-wrap,
#masthead .elementor-top-section:first-of-type .e-con,
#masthead .elementor-top-section:first-of-type .e-con-inner {
  height: auto !important;
  min-height: 0 !important;
}

#masthead .elementor-top-section:first-of-type .elementor-widget {
  margin-bottom: 0 !important;
}

#masthead .elementor-top-section:first-of-type .elementor-widget-wrap.elementor-element-populated {
  padding: 0 !important;
}

#masthead .elementor-top-section:first-of-type .e-con {
  --container-min-height: 0 !important;
  --min-height: 0 !important;
  align-items: center !important;
}

#masthead .elementor-top-section:first-of-type .e-con-inner {
  padding: 0 !important;
}

#masthead .elementor-top-section:last-of-type {
  min-height: 0 !important;
  padding-bottom: 8px !important;
  padding-top: 8px !important;
}

#masthead .elementor-top-section:last-of-type > .elementor-container,
#masthead .elementor-top-section:last-of-type .elementor-column,
#masthead .elementor-top-section:last-of-type .elementor-widget-wrap {
  height: auto !important;
  min-height: 0 !important;
}

#masthead .elementor-top-section:last-of-type .elementor-widget-wrap.elementor-element-populated {
  align-content: center !important;
  align-items: center !important;
  padding: 0 !important;
}

#masthead .elementor-widget-theme-site-logo img,
#masthead .elementor-widget-image img {
  max-height: 54px !important;
  object-fit: contain;
}

#masthead .hfe-layout-horizontal {
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
}

#masthead .hfe-nav-menu li a {
  line-height: 1.25 !important;
  padding-bottom: 8px !important;
  padding-top: 8px !important;
}

#masthead .elementor-button {
  line-height: 1 !important;
  padding: 12px 20px !important;
}

#masthead .elementor-widget-navigation-menu,
#masthead .elementor-widget-navigation-menu .elementor-widget-container {
  height: auto !important;
  min-height: 0 !important;
}

#masthead .ctf-header-utility {
  border-bottom-color: rgba(0, 38, 98, 0.08) !important;
  padding-bottom: 0 !important;
  padding-top: 0 !important;
}

#masthead .ctf-header-utility > .elementor-container {
  align-items: center !important;
  display: flex !important;
  min-height: 36px !important;
}

#masthead .ctf-header-utility-col,
#masthead .ctf-header-utility-col > .elementor-widget-wrap {
  align-items: center !important;
  display: flex !important;
  justify-content: flex-end !important;
  min-height: 36px !important;
}

#masthead .ctf-header-utility-inner {
  align-items: center !important;
  gap: 16px !important;
  justify-content: flex-end !important;
}

#masthead .ctf-header-utility .elementor-widget-social-icons,
#masthead .ctf-header-utility .ctf-language-switcher {
  margin-bottom: 0 !important;
}

#masthead .ctf-header-main {
  box-shadow: 0 8px 22px rgba(0, 19, 57, 0.06) !important;
  padding-bottom: 0 !important;
  padding-top: 0 !important;
}

#masthead .ctf-header-main > .elementor-container {
  align-items: center !important;
  display: flex !important;
  min-height: 78px !important;
}

#masthead .ctf-header-logo-col {
  flex: 0 0 14% !important;
  width: 14% !important;
}

#masthead .ctf-header-nav-col {
  flex: 0 0 64% !important;
  width: 64% !important;
}

#masthead .ctf-header-cta-col {
  flex: 0 0 22% !important;
  width: 22% !important;
}

#masthead .ctf-header-logo-col > .elementor-widget-wrap,
#masthead .ctf-header-nav-col > .elementor-widget-wrap,
#masthead .ctf-header-cta-col > .elementor-widget-wrap {
  align-items: center !important;
  display: flex !important;
  min-height: 78px !important;
  padding: 0 !important;
}

#masthead .ctf-header-logo-col > .elementor-widget-wrap {
  justify-content: flex-start !important;
}

#masthead .ctf-header-nav-col > .elementor-widget-wrap {
  justify-content: center !important;
}

#masthead .ctf-header-cta-col > .elementor-widget-wrap {
  justify-content: flex-end !important;
}

#masthead .ctf-header-logo-col .elementor-widget-image img {
  height: auto !important;
  max-height: 56px !important;
  width: auto !important;
}

#masthead .ctf-header-nav-col .hfe-layout-horizontal {
  height: auto !important;
  max-height: none !important;
  min-height: 44px !important;
}

#masthead .ctf-header-nav-col .hfe-nav-menu {
  align-items: center !important;
  gap: 28px !important;
  justify-content: center !important;
}

#masthead .ctf-header-nav-col .hfe-nav-menu li a {
  align-items: center !important;
  color: var(--ctf-navy-2, #002662) !important;
  display: inline-flex !important;
  /* Template parity: nav links are 13px uppercase, wide tracking. */
  font-size: 13px !important;
  letter-spacing: 0.05em !important;
  height: 44px !important;
  line-height: 1 !important;
  padding: 0 2px !important;
  position: relative !important;
}

#masthead .ctf-header-nav-col .hfe-nav-menu li.current-menu-item > a,
#masthead .ctf-header-nav-col .hfe-nav-menu li.current-menu-ancestor > a,
#masthead .ctf-header-nav-col .hfe-nav-menu li a:hover {
  color: var(--ctf-red, #E02020) !important;
}

#masthead .ctf-header-nav-col .hfe-nav-menu li.current-menu-item > a::after,
#masthead .ctf-header-nav-col .hfe-nav-menu li.current-menu-ancestor > a::after {
  background: var(--ctf-red, #E02020) !important;
  border-radius: 999px !important;
  bottom: -2px !important;
  content: '' !important;
  display: block !important;
  height: 3px !important;
  left: 50% !important;
  margin: 0 !important;
  position: absolute !important;
  transform: translateX(-50%) !important;
  width: 28px !important;
}

#masthead .ctf-header-cta-col .elementor-button {
  align-items: center !important;
  display: inline-flex !important;
  justify-content: center !important;
  min-height: 48px !important;
  min-width: 248px !important;
  padding: 0 26px !important;
}

@media (min-width: 1025px) {
  #masthead .ctf-header-utility {
    box-sizing: border-box !important;
    height: 34px !important;
    max-height: 34px !important;
    min-height: 34px !important;
    padding: 0 24px !important;
  }

  #masthead .ctf-header-utility > .elementor-container,
  #masthead .ctf-header-utility .elementor-column,
  #masthead .ctf-header-utility .elementor-widget-wrap.elementor-element-populated {
    height: 34px !important;
    max-height: 34px !important;
    min-height: 34px !important;
  }

  #masthead .ctf-header-main {
    box-sizing: border-box !important;
    height: 78px !important;
    max-height: 78px !important;
    min-height: 78px !important;
    padding: 0 24px !important;
  }

  #masthead .ctf-header-main > .elementor-container,
  #masthead .ctf-header-main .elementor-column,
  #masthead .ctf-header-main .elementor-widget-wrap.elementor-element-populated {
    height: 78px !important;
    max-height: 78px !important;
    min-height: 78px !important;
  }

  #masthead .ctf-header-nav-col .elementor-widget-navigation-menu,
  #masthead .ctf-header-nav-col .elementor-widget-navigation-menu .elementor-widget-container,
  #masthead .ctf-header-nav-col .hfe-layout-horizontal,
  #masthead .ctf-header-nav-col nav.hfe-nav-menu__layout-horizontal {
    height: 44px !important;
    max-height: 44px !important;
    min-height: 44px !important;
  }
}

@media (min-width: 1025px) {
  #masthead .ctf-header-utility,
  #masthead .ctf-header-utility > .elementor-container,
  #masthead .ctf-header-utility .elementor-column,
  #masthead .ctf-header-utility .elementor-widget-wrap.elementor-element-populated {
    height: 42px !important;
    max-height: 42px !important;
    min-height: 42px !important;
  }

  #masthead .ctf-header-utility {
    padding: 0 24px !important;
  }

  #masthead .ctf-header-utility > .elementor-container,
  #masthead .ctf-header-main > .elementor-container {
    max-width: 1600px !important;
  }

  #masthead .ctf-header-utility-inner,
  #masthead .ctf-header-utility-inner > .e-con-inner {
    align-items: center !important;
    min-height: 28px !important;
  }

  #masthead .ctf-header-utility .elementor-social-icon {
    font-size: 14px !important;
    height: 27px !important;
    width: 27px !important;
  }

  #masthead .ctf-language-switcher,
  #masthead .ctf-language-switcher .elementor-icon-list-text,
  #masthead .ctf-lang-toggle,
  #masthead .ctf-lang-separator {
    font-size: 14px !important;
    line-height: 1 !important;
  }

  #masthead .ctf-header-main,
  #masthead .ctf-header-main > .elementor-container,
  #masthead .ctf-header-main .elementor-column,
  #masthead .ctf-header-main .elementor-widget-wrap.elementor-element-populated {
    height: 100px !important;
    max-height: 100px !important;
    min-height: 100px !important;
  }

  #masthead .ctf-header-main {
    padding: 0 24px !important;
  }

  #masthead .ctf-header-logo-col > .elementor-widget-wrap,
  #masthead .ctf-header-nav-col > .elementor-widget-wrap,
  #masthead .ctf-header-cta-col > .elementor-widget-wrap {
    min-height: 100px !important;
  }

  #masthead .ctf-header-logo-col .elementor-widget-image img {
    max-height: 64px !important;
  }

  #masthead .ctf-header-nav-col .hfe-layout-horizontal,
  #masthead .ctf-header-nav-col .elementor-widget-navigation-menu,
  #masthead .ctf-header-nav-col .elementor-widget-navigation-menu .elementor-widget-container,
  #masthead .ctf-header-nav-col nav.hfe-nav-menu__layout-horizontal {
    height: 60px !important;
    max-height: 60px !important;
    min-height: 60px !important;
  }

  #masthead .ctf-header-nav-col .hfe-nav-menu {
    gap: 48px !important;
  }

  #masthead .ctf-header-nav-col .hfe-nav-menu li a {
    font-size: 16px !important;
    height: 60px !important;
    letter-spacing: 1px !important;
    padding: 0 !important;
  }

  #masthead .ctf-header-nav-col .hfe-nav-menu li.current-menu-item > a::after,
  #masthead .ctf-header-nav-col .hfe-nav-menu li.current-menu-ancestor > a::after {
    bottom: 2px !important;
  }

  #masthead .ctf-header-cta-col .elementor-button {
    font-size: 15px !important;
    letter-spacing: 1.3px !important;
    min-height: 52px !important;
    min-width: 260px !important;
    padding: 0 28px !important;
  }
}

@media (min-width: 1025px) and (max-width: 1500px) {
  #masthead .ctf-header-main {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  #masthead .ctf-header-logo-col {
    flex-basis: 12% !important;
    width: 12% !important;
  }

  #masthead .ctf-header-nav-col {
    flex-basis: 66% !important;
    width: 66% !important;
  }

  #masthead .ctf-header-cta-col {
    flex-basis: 22% !important;
    width: 22% !important;
  }

  #masthead .ctf-header-logo-col .elementor-widget-image img {
    max-height: 58px !important;
  }

  #masthead .ctf-header-nav-col .hfe-nav-menu {
    gap: clamp(22px, 2.1vw, 32px) !important;
  }

  #masthead .ctf-header-nav-col .hfe-nav-menu li a {
    font-size: 14px !important;
    letter-spacing: 0.8px !important;
  }

  #masthead .ctf-header-cta-col .elementor-button {
    font-size: 13px !important;
    letter-spacing: 1px !important;
    min-width: 220px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

@media (min-width: 1025px) and (max-width: 1180px) {
  #masthead .ctf-header-main {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  #masthead .ctf-header-logo-col {
    flex-basis: 10% !important;
    width: 10% !important;
  }

  #masthead .ctf-header-nav-col {
    flex-basis: 69% !important;
    width: 69% !important;
  }

  #masthead .ctf-header-cta-col {
    flex-basis: 21% !important;
    width: 21% !important;
  }

  #masthead .ctf-header-logo-col .elementor-widget-image img {
    max-height: 52px !important;
  }

  #masthead .ctf-header-nav-col .hfe-nav-menu {
    gap: clamp(14px, 1.5vw, 18px) !important;
  }

  #masthead .ctf-header-nav-col .hfe-nav-menu li a {
    font-size: 12px !important;
    letter-spacing: 0.6px !important;
  }

  #masthead .ctf-header-cta-col .elementor-button {
    font-size: 12px !important;
    letter-spacing: 0.8px !important;
    min-height: 46px !important;
    min-width: 178px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

@media (max-width: 1024px) {
  #masthead .elementor-top-section:last-of-type > .elementor-container {
    align-items: center !important;
    display: flex !important;
    flex-wrap: wrap !important;
    row-gap: 6px !important;
  }

  #masthead .elementor-top-section:last-of-type .elementor-column {
    min-height: 0 !important;
  }

  #masthead .elementor-top-section:last-of-type .elementor-column:nth-child(1) {
    flex: 1 1 auto !important;
    order: 1 !important;
    width: auto !important;
  }

  #masthead .elementor-top-section:last-of-type .elementor-column:nth-child(2) {
    flex: 0 0 auto !important;
    order: 2 !important;
    width: auto !important;
  }

  /* Hide the "Become a Member" CTA column on tablet/mobile (logo + hamburger only) */
  #masthead .ctf-header-cta-col,
  #masthead .elementor-top-section:last-of-type .elementor-column:nth-child(3) {
    display: none !important;
  }

  #masthead .elementor-top-section:last-of-type .elementor-widget-wrap.elementor-element-populated {
    align-content: center !important;
    align-items: center !important;
  }

  #masthead .elementor-top-section:last-of-type .elementor-column:nth-child(3) .elementor-widget-wrap {
    justify-content: flex-end !important;
  }

  #masthead .elementor-widget-theme-site-logo img,
  #masthead .elementor-widget-image img {
    max-height: 50px !important;
  }

  #masthead .elementor-button {
    font-size: 12px !important;
    min-height: 0 !important;
    padding: 10px 14px !important;
  }

  #masthead .ctf-header-cta-col .elementor-button {
    max-width: 100% !important;
    min-height: 44px !important;
    min-width: 0 !important;
    padding: 0 16px !important;
    width: auto !important;
  }

  /* Prevent mobile horizontal overflow (the hero heading can exceed the viewport) */
  html, body { overflow-x: clip !important; }
  #masthead, #masthead .elementor-section, #masthead .elementor-container { max-width: 100vw !important; }

  /* ===== Mobile hamburger in the SAME row as the logo =====
     WP Responsive Menu normally shows its own full-width navy bar at the very top.
     Instead we drop that bar's chrome and float just its hamburger into the header's
     logo row (right side, navy). The header is made sticky so the logo + hamburger stay
     aligned together while scrolling. The plugin still drives open/close — we only
     restyle + reposition its toggle (kept clickable via pointer-events). */
  :root {
    --ctf-mobile-header-height: 99px;
  }

  #masthead {
    left: 0 !important;
    position: fixed !important;
    right: 0 !important;
    top: 0 !important;
    width: 100vw !important;
    z-index: 99990 !important;
  }

  body {
    padding-top: var(--ctf-mobile-header-height) !important;
  }

  #wprmenu_bar {
    background: transparent !important;
    box-shadow: none !important;
    height: 0 !important;
    left: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;   /* let the logo/header stay clickable... */
    right: 0 !important;
    width: 100vw !important;
    z-index: 100050 !important;        /* ...but keep the toggle above the slide-in panel */
  }
  #wprmenu_bar .menu_title { display: none !important; }
  #wprmenu_bar .hamburger {
    position: fixed !important;
    top: 48px !important;              /* vertically centered in the logo row */
    right: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: auto !important;   /* the hamburger itself receives clicks */
  }
  /* navy bars on the white header; gold X when open (over the navy panel) */
  #wprmenu_bar .hamburger .hamburger-inner,
  #wprmenu_bar .hamburger .hamburger-inner::before,
  #wprmenu_bar .hamburger .hamburger-inner::after {
    background-color: #002662 !important;
  }
  #wprmenu_bar .hamburger.is-active .hamburger-inner,
  #wprmenu_bar .hamburger.is-active .hamburger-inner::before,
  #wprmenu_bar .hamburger.is-active .hamburger-inner::after {
    background-color: #FCCA66 !important;
  }

  #mg-wprm-wrap {
    height: calc(100vh - var(--ctf-mobile-header-height)) !important;
    top: var(--ctf-mobile-header-height) !important;
  }

  #mg-wprm-wrap.cbp-spmenu-right:not(.cbp-spmenu-open) {
    left: auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
    right: 0 !important;
    visibility: hidden !important;
    width: 0 !important;
  }

  #mg-wprm-wrap.cbp-spmenu-right:not(.cbp-spmenu-open) > * {
    display: none !important;
  }

  #mg-wprm-wrap.cbp-spmenu-right.cbp-spmenu-open {
    left: auto !important;
    max-width: 86vw !important;
    overflow-y: auto !important;
    right: 0 !important;
    visibility: visible !important;
    width: min(312px, 86vw) !important;
  }

}

.ctf-language-switcher .elementor-icon-list-text {
  display: inline-flex !important;
  align-items: center;
  gap: 6px !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}

.ctf-language-switcher .ctf-lang-toggle {
  appearance: none !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--ctf-navy-2, #002662) !important;
  cursor: pointer;
  display: inline-flex !important;
  font: inherit !important;
  font-size: inherit !important;
  font-weight: 700 !important;
  height: auto !important;
  letter-spacing: 1.5px !important;
  line-height: 1 !important;
  min-height: 0 !important;
  min-width: max-content !important;
  padding: 0 !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

.ctf-language-switcher .ctf-lang-toggle:hover {
  color: var(--ctf-gold-dark, #B8960C) !important;
}

.ctf-language-switcher .ctf-lang-toggle.is-active {
  background: transparent !important;
  color: var(--ctf-navy-2, #002662) !important;
}

.ctf-language-switcher .ctf-lang-toggle:focus-visible {
  outline: 2px solid rgba(224, 32, 32, 0.45) !important;
  outline-offset: 3px !important;
}

.ctf-language-switcher .ctf-lang-separator {
  color: rgba(0, 38, 98, 0.55) !important;
  line-height: 1 !important;
}

/* Hide TranslatePress's floating language box; the header EN | KH switcher is the site switcher. */
#trp-floater-ls,
.trp-floating-switcher {
  display: none !important;
}

.ctf-resource-tag,
.ctf-resource-tag .elementor-widget-container,
.ctf-resource-tag .elementor-heading-title {
  background: transparent !important;
  padding: 0 !important;
}

.ctf-resource-tag .elementor-heading-title {
  color: var(--ctf-gold-2, #fcca66) !important;
  text-transform: none !important;
}

.ctf-resource-search-widget .search-form {
  align-items: stretch;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 2px;
  box-shadow: 0 16px 34px rgba(0, 19, 57, 0.18);
  display: flex;
  margin: 0;
  overflow: hidden;
  width: 100%;
}

.ctf-resource-search-widget.elementor-widget-wp-widget-search {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 680px !important;
  width: min(100%, 680px) !important;
}

.ctf-resource-search-widget .search-form label {
  flex: 1 1 auto;
  margin: 0;
  min-width: 0;
}

.ctf-resource-search-widget .search-field {
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--ctf-navy-2, #002662) !important;
  font-size: 15px !important;
  height: 54px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  width: 100% !important;
}

.ctf-resource-search-widget .search-submit {
  /* Template parity: resources hero search button is gold, not red. */
  background: #B8960C !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #ffffff !important;
  flex: 0 0 auto;
  font-size: 13px !important;
  font-weight: 800 !important;
  height: 54px !important;
  letter-spacing: 1.6px !important;
  margin: 0 !important;
  padding: 0 26px !important;
  text-transform: uppercase !important;
}

html.ctf-lang-kh body,
html.ctf-lang-kh .elementor-widget-text-editor,
html.ctf-lang-kh .elementor-widget-heading,
html.ctf-lang-kh .elementor-button {
  font-family: var(--ctf-khmer-font-family) !important;
  letter-spacing: 0 !important;
}

html.ctf-lang-kh h1,
html.ctf-lang-kh h2,
html.ctf-lang-kh h3,
html.ctf-lang-kh h4,
html.ctf-lang-kh h5,
html.ctf-lang-kh h6,
html.ctf-lang-kh p,
html.ctf-lang-kh li,
html.ctf-lang-kh a:not(.elementor-icon),
html.ctf-lang-kh button,
html.ctf-lang-kh input,
html.ctf-lang-kh textarea,
html.ctf-lang-kh select,
html.ctf-lang-kh label,
html.ctf-lang-kh table,
html.ctf-lang-kh .elementor-heading-title,
html.ctf-lang-kh .elementor-widget-container,
html.ctf-lang-kh .hfe-nav-menu li a,
html.ctf-lang-kh .ctf-card__title,
html.ctf-lang-kh .ctf-card__desc,
html.ctf-lang-kh .ctf-card__cat,
html.ctf-lang-kh .ctf-event-row__body h4,
html.ctf-lang-kh .ctf-footer__col h4,
html.ctf-lang-kh .ctf-document-library {
  font-family: var(--ctf-khmer-font-family) !important;
}

html.ctf-lang-kh .hfe-nav-menu li a,
html.ctf-lang-kh .elementor-button,
html.ctf-lang-kh .ctf-card__cat,
html.ctf-lang-kh .ctf-document-action,
html.ctf-lang-kh .ctf-document-tab,
html.ctf-lang-kh .ctf-event-query__load,
html.ctf-lang-kh .ctf-event-query__view-all,
html.ctf-lang-kh .ctf-gallery-query__load,
html.ctf-lang-kh .ctf-article-grid__load {
  letter-spacing: 0 !important;
}

#ctf-departments-grid > .e-con,
#ctf-departments-grid > .e-con-inner > .e-con {
  background: #ffffff !important;
  box-shadow: 0 12px 28px rgba(0, 19, 57, 0.12);
}

#ctf-departments-grid .elementor-icon {
  color: var(--ctf-red, #e02020) !important;
  fill: var(--ctf-red, #e02020) !important;
}

#ctf-departments-grid .elementor-heading-title {
  color: var(--ctf-navy-2, #002662) !important;
}

#ctf-departments-grid .elementor-widget-text-editor,
#ctf-departments-grid .elementor-widget-text-editor * {
  color: #444650 !important;
}

.ctf-logo-marquee {
  overflow: hidden;
  width: 100%;
}

.ctf-logo-marquee .elementor-image-carousel-wrapper,
.ctf-logo-marquee .swiper,
.ctf-logo-marquee .swiper-container {
  overflow: hidden !important;
}

.ctf-logo-marquee .swiper-wrapper {
  align-items: center !important;
  transition-timing-function: linear !important;
  will-change: transform;
}

.ctf-logo-marquee .swiper-slide {
  align-items: center !important;
  display: flex !important;
  height: 88px !important;
  justify-content: center !important;
}

.ctf-logo-marquee .swiper-slide-inner {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
}

.ctf-logo-marquee img {
  display: block !important;
  height: auto !important;
  max-height: 70px !important;
  max-width: 170px !important;
  object-fit: contain !important;
  width: auto !important;
}

.ctf-org-chart-section .elementor-shortcode,
.ctf-operation-chart-shortcode {
  width: 100%;
}

.ctf-org-chart-section > .e-con-inner {
  max-width: min(1840px, calc(100vw - 48px)) !important;
}

.ctf-org-chart-section .wpdevart_org_chart {
  margin: 0 auto;
  max-width: 1840px !important;
  width: 100%;
}

.ctf-org-chart-section .wpdevart_org_chart_container_parent {
  background: #ffffff;
  border: 1px solid #D9DFEA;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 19, 57, 0.07);
  overflow-x: auto;
  padding: 18px;
}

.ctf-org-chart-section .wpdevart_org_chart_container {
  background: linear-gradient(180deg, #F7FAF3 0%, #EEF5E8 100%) !important;
  border: 0 !important;
  border-radius: 8px !important;
  min-width: 1080px;
  padding: 34px 18px 42px !important;
}

.ctf-org-chart-section .wpdevart_org_chart_container ul {
  padding-top: 28px;
}

.ctf-org-chart-section .wpdevart_org_chart_container .wpda_tree_line {
  display: none;
}

.ctf-org-chart-section .wpdevart_org_chart_container .wpda_tree_item_container {
  min-width: 168px;
}

.ctf-org-chart-section .wpdevart_org_chart_container .wpda_tree_item_img_cont {
  background: #EAF1E6 !important;
  border: 5px solid #4E765F !important;
  border-radius: 999px !important;
  height: 88px !important;
  margin: 0 auto 8px !important;
  max-height: none !important;
  max-width: none !important;
  overflow: hidden !important;
  width: 88px !important;
}

.ctf-org-chart-section .wpdevart_org_chart_container .wpda_tree_item_img {
  display: block !important;
  height: 100% !important;
  max-height: none !important;
  max-width: none !important;
  object-fit: cover;
  width: 100% !important;
}

.ctf-org-chart-section .wpdevart_org_chart_container .wpda_tree_item_title,
.ctf-org-chart-section .wpdevart_org_chart_container .wpda_tree_item_desc {
  background: #1F5B32 !important;
  color: #ffffff !important;
  font-family: var(--ctf-font-family, 'Suwannaphum', 'Inter', sans-serif) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 190px;
  min-width: 168px;
  overflow-wrap: break-word !important;
  text-align: center !important;
  white-space: normal !important;
  word-break: normal !important;
}

.ctf-org-chart-section .wpdevart_org_chart_container .wpda_tree_item_title {
  border-radius: 8px 8px 0 0 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.28 !important;
  padding: 10px 12px 3px !important;
}

.ctf-org-chart-section .wpdevart_org_chart_container .wpda_tree_item_desc {
  border-radius: 0 0 8px 8px !important;
  color: #F4F8F2 !important;
  font-size: 12px !important;
  font-style: italic !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  padding: 1px 12px 10px !important;
}

@media (max-width: 767px) {
  .ctf-org-chart-section > .e-con-inner,
  .ctf-org-chart-section .wpdevart_org_chart,
  .ctf-org-chart-section .elementor-shortcode,
  .ctf-operation-chart-shortcode {
    max-width: 100% !important;
    width: 100% !important;
  }

  .ctf-org-chart-section .wpdevart_org_chart_container_parent {
    overflow-x: hidden !important;
    padding: 12px;
  }

  .ctf-org-chart-section .wpdevart_org_chart_container {
    min-width: 0 !important;
    padding: 22px 10px 28px !important;
    width: 100% !important;
  }

  .ctf-org-chart-section .wpdevart_org_chart_container ul {
    align-items: center !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  .ctf-org-chart-section .wpdevart_org_chart_container li {
    align-items: center !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 auto !important;
    max-width: 270px !important;
    padding: 0 !important;
    width: 100% !important;
  }

  .ctf-org-chart-section .wpdevart_org_chart_container li::before,
  .ctf-org-chart-section .wpdevart_org_chart_container li::after,
  .ctf-org-chart-section .wpdevart_org_chart_container ul::before,
  .ctf-org-chart-section .wpdevart_org_chart_container ul::after {
    display: none !important;
  }

  .ctf-org-chart-section .wpdevart_org_chart_container li ul {
    margin-top: 14px !important;
  }

  .ctf-org-chart-section .wpdevart_org_chart_container .wpda_tree_item_container {
    display: block !important;
    margin: 0 auto !important;
    max-width: 250px !important;
    min-width: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  .ctf-org-chart-section .wpdevart_org_chart_container .wpda_tree_item_title,
  .ctf-org-chart-section .wpdevart_org_chart_container .wpda_tree_item_desc {
    box-sizing: border-box !important;
    max-width: 250px !important;
    min-width: 0 !important;
    width: 100% !important;
  }
}

.ctf-blog-grid-section .elementor-container {
  align-items: stretch !important;
}

.ctf-blog-grid-section .ctf-blog-grid-column,
.ctf-blog-grid-section .ctf-blog-grid-column > .elementor-widget-wrap {
  align-items: stretch !important;
  display: flex !important;
}

.ctf-blog-grid-section .ctf-blog-grid-column {
  flex: 0 0 33.3333% !important;
  max-width: 33.3333% !important;
  width: 33.3333% !important;
}

.ctf-blog-grid-section .ctf-blog-grid-column > .elementor-widget-wrap {
  width: 100%;
}

.ctf-blog-card {
  align-self: stretch !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100%;
  min-height: 520px;
  width: 100%;
}

.ctf-blog-card__image,
.ctf-blog-card__image .elementor-widget-container {
  flex: 0 0 auto;
  height: 230px !important;
  overflow: hidden;
  width: 100%;
}

.ctf-blog-card__image img {
  display: block !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center;
  width: 100% !important;
}

.ctf-blog-card__body {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  min-height: 290px;
  width: 100%;
}

.ctf-blog-card__body .elementor-widget-text-editor {
  min-height: 68px;
}

.ctf-blog-card__button {
  margin-top: auto !important;
}

.ctf-blog-card__button .elementor-button {
  min-height: 22px;
}

.ctf-latest-news-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1280px;
  width: 100%;
}

.ctf-latest-news {
  margin: 0 auto;
  max-width: 1280px;
  width: 100%;
}

.ctf-latest-news .ctf-latest-news-grid {
  max-width: none;
}

.ctf-latest-news-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.ctf-latest-news-card__image {
  display: block;
}

.ctf-latest-news-card__image img {
  transition: transform 0.35s ease;
}

.ctf-latest-news-card:hover .ctf-latest-news-card__image img {
  transform: scale(1.04);
}

.ctf-latest-news-card__body {
  padding: 34px 24px 24px;
}

.ctf-latest-news-card__date {
  color: #888888;
  display: block;
  font-family: 'Suwannaphum', 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
  margin: 0 0 28px;
  text-transform: uppercase;
}

.ctf-latest-news-card__title {
  font-family: 'Suwannaphum', 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.45;
  margin: 0 0 12px;
}

.ctf-latest-news-card__title a {
  color: var(--ctf-navy-2, #002662);
  text-decoration: none;
}

.ctf-latest-news-card__title a:hover {
  color: var(--ctf-red, #E02020);
}

.ctf-latest-news-card__desc {
  color: #565b68;
  font-family: 'Suwannaphum', 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 16px;
  min-height: 72px;
}

.ctf-latest-news-card__meta {
  color: #888888;
  font-family: 'Suwannaphum', 'Inter', sans-serif;
  font-size: 12px;
  line-height: 1.6;
  margin: 0 0 16px;
}

.ctf-latest-news-card__link {
  color: var(--ctf-red, #E02020);
  display: inline-flex;
  font-family: 'Suwannaphum', 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 800;
  margin-top: auto;
  text-decoration: none;
}

.ctf-latest-news-card__link:hover {
  color: var(--ctf-red-dark, #B81818);
}

.ctf-latest-news__actions {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  margin-top: 42px;
  min-height: 76px;
  text-align: center;
}

.ctf-latest-news__load {
  background: var(--ctf-red, #E02020) !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #ffffff !important;
  cursor: pointer;
  font-family: 'Suwannaphum', 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  min-height: 48px;
  min-width: 190px;
  padding: 15px 28px !important;
  text-transform: none !important;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ctf-latest-news__load:hover,
.ctf-latest-news__load:focus-visible {
  background: var(--ctf-red-dark, #B81818) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.ctf-latest-news__load:disabled,
.ctf-latest-news__load.is-finished {
  background: var(--ctf-navy-2, #002662) !important;
  cursor: default;
  opacity: 0.78;
  transform: none;
}

.ctf-latest-news__status {
  color: #6b7280;
  font-family: 'Suwannaphum', 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  min-height: 20px;
}

.ctf-latest-news__status:empty {
  display: none;
}

.ctf-latest-news-card--new {
  animation: ctf-latest-news-in 0.38s ease both;
}

.ctf-featured-article {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  width: 100%;
}

.ctf-featured-article__media {
  background: #eef2f7;
  display: block;
  height: 380px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.ctf-featured-article__media img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.32s ease;
  width: 100%;
}

.ctf-featured-article:hover .ctf-featured-article__media img {
  transform: scale(1.035);
}

.ctf-featured-article__badge {
  background: var(--ctf-gold-2, #FCCA66);
  color: var(--ctf-navy, #001339);
  display: inline-flex;
  font-family: 'Suwannaphum', 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 800;
  left: 18px;
  line-height: 1.3;
  padding: 9px 16px;
  position: absolute;
  top: 18px;
}

.ctf-featured-article__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ctf-featured-article__eyebrow {
  color: var(--ctf-red, #E02020);
  display: block;
  font-family: 'Suwannaphum', 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.ctf-featured-article__title {
  color: var(--ctf-navy, #001339);
  font-family: 'Suwannaphum', 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 14px;
}

.ctf-featured-article__title a {
  color: inherit;
  text-decoration: none;
}

.ctf-featured-article__title a:hover {
  color: var(--ctf-red, #E02020);
}

.ctf-featured-article__meta {
  color: #888888;
  font-family: 'Suwannaphum', 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
  margin: 0 0 20px;
}

.ctf-featured-article__excerpt {
  color: #4b5563;
  font-family: 'Suwannaphum', 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 28px;
}

.ctf-featured-article__button {
  align-self: flex-start;
  background: var(--ctf-navy-2, #002662);
  color: #ffffff !important;
  display: inline-flex;
  font-family: 'Suwannaphum', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  line-height: 1.2;
  min-height: 48px;
  min-width: 150px;
  padding: 16px 28px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ctf-featured-article__button:hover,
.ctf-featured-article__button:focus-visible {
  background: var(--ctf-red, #E02020);
  color: #ffffff !important;
  transform: translateY(-1px);
}

@keyframes ctf-latest-news-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .ctf-latest-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ctf-featured-article {
    gap: 32px;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
  }

  .ctf-featured-article__title {
    font-size: 30px;
  }

  .ctf-blog-card {
    min-height: 500px;
  }

  .ctf-blog-card__image,
  .ctf-blog-card__image .elementor-widget-container {
    height: 215px !important;
  }
}

@media (max-width: 768px) {
  .ctf-latest-news-grid {
    grid-template-columns: 1fr;
  }

  .ctf-latest-news-card__desc {
    min-height: 0;
  }

  .ctf-featured-article {
    align-items: stretch;
    gap: 28px;
    grid-template-columns: 1fr;
  }

  .ctf-featured-article__media,
  .ctf-featured-article__media img {
    height: 260px;
  }

  .ctf-featured-article__title {
    font-size: 28px;
  }

  .ctf-featured-article__excerpt {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .ctf-blog-grid-section .ctf-blog-grid-column {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .ctf-blog-grid-section .elementor-container {
    gap: 24px;
  }

  .ctf-blog-card {
    min-height: 0;
  }

  .ctf-blog-card__image,
  .ctf-blog-card__image .elementor-widget-container {
    height: 220px !important;
  }

  .ctf-blog-card__body {
    min-height: 0;
  }

  .ctf-blog-card__body .elementor-widget-text-editor {
    min-height: 0;
  }
}

.ctf-evt-card {
  border-color: #d6dae5 !important;
  border-radius: 6px !important;
  box-shadow: 0 14px 34px rgba(0, 19, 57, 0.06);
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 1100px !important;
  padding: 0 !important;
  width: min(100%, 1100px) !important;
}

.ctf-evt-date {
  flex: 0 0 128px !important;
  width: 128px !important;
}

.ctf-evt-body {
  display: grid !important;
  gap: 28px !important;
  grid-template-columns: minmax(160px, 190px) minmax(0, 1fr) auto;
  align-items: center !important;
  min-width: 0 !important;
  padding: 26px 28px !important;
}

.ctf-evt-img {
  flex: initial !important;
  min-width: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.ctf-evt-img img {
  aspect-ratio: 16 / 9;
  height: auto !important;
  min-height: 104px;
  width: 100% !important;
}

.ctf-evt-info {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  padding: 0 !important;
}

.ctf-evt-join {
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
  justify-self: end;
  line-height: 1 !important;
  max-width: none !important;
  min-height: 56px !important;
  min-width: 138px !important;
  padding: 0 24px !important;
  white-space: nowrap !important;
  width: auto !important;
}

@media (max-width: 1024px) {
  .ctf-evt-body {
    grid-template-columns: minmax(150px, 180px) minmax(0, 1fr) !important;
  }

  .ctf-evt-join {
    justify-self: start;
    min-height: 48px !important;
    grid-column: 2;
  }
}

@media (max-width: 768px) {
  .ctf-evt-card {
    width: 100% !important;
  }

  .ctf-evt-body {
    display: grid !important;
    gap: 18px !important;
    grid-template-columns: 1fr !important;
    padding: 22px !important;
  }

  .ctf-evt-img img {
    min-height: 0;
  }

  .ctf-evt-join {
    grid-column: auto;
    justify-self: stretch;
    min-width: 0 !important;
    width: 100% !important;
  }
}

.ctf-feat-event-card {
  max-width: 1100px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  border-color: #d6dae5 !important;
  border-radius: 6px !important;
}

.ctf-feat-event-card > .e-con-inner {
  display: flex !important;
  flex-direction: row !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  align-items: stretch !important;
}

.ctf-feat-event-img-col,
.ctf-feat-event-card > .e-con:first-child,
.ctf-feat-event-card > .e-con-inner > .e-con:first-child {
  flex: 0 0 50% !important;
  width: 50% !important;
  height: 350px !important;
  min-height: 350px !important;
  max-height: 350px !important;
}

.ctf-feat-event-img-col .elementor-widget-image,
.ctf-feat-event-img-col .elementor-widget-container,
.ctf-feat-event-img-col img,
.ctf-feat-event-card > .e-con:first-child .elementor-widget-image,
.ctf-feat-event-card > .e-con:first-child .elementor-widget-container,
.ctf-feat-event-card > .e-con:first-child img,
.ctf-feat-event-card > .e-con-inner > .e-con:first-child .elementor-widget-image,
.ctf-feat-event-card > .e-con-inner > .e-con:first-child .elementor-widget-container,
.ctf-feat-event-card > .e-con-inner > .e-con:first-child img {
  height: 100% !important;
}

.ctf-feat-event-img-col img,
.ctf-feat-event-card > .e-con:first-child img,
.ctf-feat-event-card > .e-con-inner > .e-con:first-child img {
  width: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.ctf-feat-event-info-col,
.ctf-feat-event-card > .e-con:last-child,
.ctf-feat-event-card > .e-con-inner > .e-con:last-child {
  flex: 1 1 50% !important;
  width: 50% !important;
}

.ctf-story-profile-section {
  overflow: hidden;
}

.ctf-story-profile-section > .e-con-inner,
.ctf-story-profile-inner,
.ctf-story-profile-inner > .e-con-inner {
  max-width: min(1280px, calc(100vw - 48px)) !important;
  width: 100% !important;
}

.ctf-story-profile-header > .e-con-inner,
.ctf-story-profile-grid > .e-con-inner {
  display: grid !important;
}

.ctf-story-profile-header > .e-con-inner {
  align-items: stretch !important;
  gap: 32px !important;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr) !important;
}

.ctf-story-profile-header > .e-con-inner > .e-con,
.ctf-story-profile-grid > .e-con-inner > .e-con {
  max-width: 100% !important;
  min-width: 0 !important;
  width: auto !important;
}

.ctf-story-profile-summary {
  border-left: 0 !important;
  box-shadow: 0 22px 46px -28px rgba(0, 19, 57, 0.58);
}

.ctf-story-profile-summary .elementor-widget-text-editor,
.ctf-story-profile-summary .elementor-widget-text-editor p {
  color: rgba(255, 255, 255, 0.92) !important;
}

.ctf-story-profile-grid > .e-con-inner {
  align-items: stretch !important;
  gap: 22px !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  width: 100% !important;
}

.ctf-story-profile-card {
  background: #ffffff !important;
  border: 1px solid #DDE3ED !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 42px rgba(0, 19, 57, 0.07) !important;
  isolation: isolate;
  min-height: 340px !important;
  overflow: hidden;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  width: 100% !important;
}

.ctf-story-profile-card::before {
  background: var(--ctf-gold, #C89B3C);
  border-radius: 0;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: auto;
}

.ctf-story-profile-card:hover {
  border-color: rgba(0, 38, 98, 0.22) !important;
  box-shadow: 0 24px 54px rgba(0, 19, 57, 0.12) !important;
  transform: translateY(-3px);
}

.ctf-story-profile-card > .e-con-inner {
  align-items: stretch !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  height: 100% !important;
  justify-content: flex-start !important;
  padding: 34px 28px 28px !important;
  width: 100% !important;
}

.ctf-story-profile-card__top,
.ctf-story-profile-card__top > .e-con-inner {
  align-items: flex-start !important;
  display: flex !important;
  flex-direction: row !important;
  gap: 16px !important;
  justify-content: space-between !important;
  margin: 0 !important;
  width: 100% !important;
}

.ctf-story-profile-card__top {
  margin-bottom: 46px !important;
}

.ctf-story-profile-card__icon.elementor-widget-icon {
  align-items: center !important;
  background: #F5F7FA !important;
  border: 1px solid #E1E7F0 !important;
  border-radius: 8px !important;
  display: flex !important;
  height: 52px !important;
  justify-content: center !important;
  margin: 0 !important;
  width: 52px !important;
}

.ctf-story-profile-card--founders .ctf-story-profile-card__icon.elementor-widget-icon {
  background: #EFF7FF !important;
  border-color: rgba(30, 136, 229, 0.18) !important;
}

.ctf-story-profile-card--funders .ctf-story-profile-card__icon.elementor-widget-icon {
  background: #FFF8E6 !important;
  border-color: rgba(200, 155, 60, 0.22) !important;
}

.ctf-story-profile-card--sponsors .ctf-story-profile-card__icon.elementor-widget-icon {
  background: #FFF2F2 !important;
  border-color: rgba(224, 32, 32, 0.18) !important;
}

.ctf-story-profile-card--initiative .ctf-story-profile-card__icon.elementor-widget-icon {
  background: #EEF8F3 !important;
  border-color: rgba(46, 157, 120, 0.18) !important;
}

.ctf-story-profile-card__icon.elementor-widget-icon .elementor-widget-container,
.ctf-story-profile-card__icon.elementor-widget-icon .elementor-icon-wrapper,
.ctf-story-profile-card__icon.elementor-widget-icon .elementor-icon {
  align-items: center !important;
  display: flex !important;
  justify-content: center !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ctf-story-profile-card__number {
  flex: 0 0 auto !important;
  margin: 12px 0 0 !important;
  min-width: 56px !important;
  text-align: right !important;
}

.ctf-story-profile-card__number .elementor-heading-title {
  color: #CDD5E1 !important;
  font-size: 30px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
}

.ctf-story-profile-card__content,
.ctf-story-profile-card__content > .e-con-inner {
  display: flex !important;
  flex-direction: column !important;
  margin-top: 0 !important;
  min-width: 0 !important;
  width: 100% !important;
}

.ctf-story-profile-card__label {
  margin: 0 0 12px !important;
}

.ctf-story-profile-card__label .elementor-heading-title {
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  line-height: 1.15 !important;
  text-transform: uppercase !important;
}

.ctf-story-profile-card__title {
  margin: 0 0 10px !important;
}

.ctf-story-profile-card__title .elementor-heading-title {
  color: var(--ctf-navy-2, #002662) !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.32 !important;
}

.ctf-story-profile-card__desc {
  color: #5B6170 !important;
  margin: 0 !important;
}

.ctf-story-profile-card__label .elementor-heading-title,
.ctf-story-profile-card__title .elementor-heading-title,
.ctf-story-profile-card__desc,
.ctf-story-profile-card__list {
  overflow-wrap: anywhere !important;
}

.ctf-story-profile-card__list {
  margin: 16px 0 0 !important;
}

.ctf-story-profile-card__list .elementor-icon-list-item {
  align-items: flex-start !important;
}

.ctf-story-profile-card__list .elementor-icon-list-icon {
  padding-top: 3px !important;
}

.ctf-story-profile-card__list .elementor-icon-list-text {
  line-height: 1.45 !important;
}

html.ctf-motion-ready .ctf-story-profile-section .ctf-motion-item {
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 1024px) {
  .ctf-story-profile-header > .e-con-inner {
    grid-template-columns: 1fr !important;
  }

  .ctf-story-profile-grid > .e-con-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  .ctf-story-profile-section {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .ctf-story-profile-section > .e-con-inner,
  .ctf-story-profile-inner,
  .ctf-story-profile-inner > .e-con-inner {
    max-width: calc(100vw - 36px) !important;
  }

  .ctf-story-profile-grid > .e-con-inner {
    grid-template-columns: 1fr !important;
  }

  .ctf-story-profile-summary {
    padding: 22px !important;
  }

  .ctf-story-profile-card {
    min-height: 0 !important;
  }

  .ctf-story-profile-card > .e-con-inner {
    padding: 26px 22px 24px !important;
  }

  .ctf-story-profile-card__top {
    margin-bottom: 28px !important;
  }

  .ctf-story-profile-card__title .elementor-heading-title {
    font-size: 20px !important;
  }
}

#ctf-story-timeline {
  --ctf-story-line-y: 50%;
  isolation: isolate;
  padding: 28px 0 !important;
  position: relative;
}

#ctf-story-timeline > .e-con-inner {
  align-items: center !important;
  display: grid !important;
  gap: 28px !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  min-height: 390px;
}

#ctf-story-timeline > .e-con-inner > .e-con {
  max-width: 100% !important;
  min-width: 0 !important;
  width: auto !important;
}

#ctf-story-timeline::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.82) 12%, rgba(255, 255, 255, 0.82) 88%, rgba(255, 255, 255, 0.16));
  box-shadow: 0 0 28px rgba(92, 200, 255, 0.16);
  content: '';
  height: 4px;
  left: 0 !important;
  position: absolute;
  right: 0 !important;
  top: var(--ctf-story-line-y);
  transform: translateY(-50%);
  width: auto !important;
  z-index: 0;
}

#ctf-story-timeline .ctf-story-item {
  --ctf-story-node: #5CC8FF;
  --ctf-story-ring-y: calc(50% - 170px);
  --ctf-story-year-y: calc(50% - 150px);
  --ctf-story-title-y: calc(50% - 116px);
  --ctf-story-desc-y: calc(50% - 84px);
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
  display: block !important;
  min-height: 390px;
  overflow: visible !important;
  padding: 0 !important;
  position: relative !important;
  transition: filter 0.22s ease, opacity 0.22s ease;
}

#ctf-story-timeline .ctf-story-item > .e-con-inner {
  display: block !important;
  height: 100% !important;
  min-height: inherit !important;
  padding: 0 !important;
  position: static !important;
}

#ctf-story-timeline .ctf-story-item:nth-child(2),
#ctf-story-timeline .ctf-story-item--bottom {
  --ctf-story-node: #D7DE37;
  --ctf-story-ring-y: calc(50% + 50px);
  --ctf-story-year-y: calc(50% + 78px);
  --ctf-story-title-y: calc(50% + 112px);
  --ctf-story-desc-y: calc(50% + 144px);
}

#ctf-story-timeline .ctf-story-item:nth-child(3) {
  --ctf-story-node: #F277A5;
}

#ctf-story-timeline .ctf-story-item:nth-child(4) {
  --ctf-story-node: #F29A2E;
}

#ctf-story-timeline .ctf-story-item:focus-visible {
  outline: 3px solid rgba(252, 202, 102, 0.46);
  outline-offset: 10px;
}

#ctf-story-timeline .ctf-story-item::before {
  background: var(--ctf-story-node);
  border: 6px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  box-shadow: 0 0 0 3px rgba(0, 19, 57, 0.78), 0 0 0 9px rgba(255, 255, 255, 0.12), 0 14px 30px rgba(0, 0, 0, 0.25);
  content: '';
  height: 30px;
  left: 50%;
  position: absolute;
  top: var(--ctf-story-line-y);
  transform: translate(-50%, -50%);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
  width: 30px;
  z-index: 3;
}

#ctf-story-timeline .ctf-story-item::after {
  border: 4px dashed rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  content: '';
  height: 104px;
  left: 50%;
  opacity: 0.42;
  position: absolute;
  top: var(--ctf-story-ring-y);
  transform: translateX(-50%) scale(0.94);
  transition: border-color 0.22s ease, opacity 0.22s ease, transform 0.22s ease;
  width: 104px;
  z-index: 1;
}

#ctf-story-timeline .ctf-story-item.is-active,
#ctf-story-timeline .ctf-story-item:hover {
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.28));
}

#ctf-story-timeline .ctf-story-item.is-active::before,
#ctf-story-timeline .ctf-story-item:hover::before {
  box-shadow: 0 0 0 3px rgba(0, 19, 57, 0.88), 0 0 0 12px rgba(252, 202, 102, 0.22), 0 0 30px rgba(252, 202, 102, 0.5);
  transform: translate(-50%, -50%) scale(1.08);
}

#ctf-story-timeline .ctf-story-item.is-active::after,
#ctf-story-timeline .ctf-story-item:hover::after,
#ctf-story-timeline .ctf-story-item:focus-visible::after {
  border-color: rgba(255, 255, 255, 0.92);
  opacity: 0.96;
  transform: translateX(-50%) scale(1);
}

#ctf-story-timeline .ctf-story-item .elementor-widget-icon {
  display: none !important;
}

#ctf-story-timeline .ctf-story-year,
#ctf-story-timeline .ctf-story-title,
#ctf-story-timeline .ctf-story-desc-source {
  left: 50%;
  margin: 0 !important;
  opacity: 1 !important;
  position: absolute !important;
  text-align: center;
  transform: translateX(-50%) !important;
  width: min(280px, calc(100% + 42px)) !important;
  z-index: 4;
}

#ctf-story-timeline .ctf-story-year {
  top: var(--ctf-story-year-y);
}

#ctf-story-timeline .ctf-story-title {
  top: var(--ctf-story-title-y);
}

#ctf-story-timeline .ctf-story-desc-source {
  display: block !important;
  max-height: 0;
  opacity: 0 !important;
  overflow: hidden;
  top: var(--ctf-story-desc-y);
  transform: translate(-50%, 8px) !important;
  transition: max-height 0.24s ease, opacity 0.24s ease, transform 0.24s ease;
}

#ctf-story-timeline .ctf-story-year .elementor-heading-title {
  color: #ffffff !important;
  font-size: 23px !important;
  line-height: 1.1 !important;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.34);
}

#ctf-story-timeline .ctf-story-title .elementor-heading-title {
  color: rgba(255, 255, 255, 0.72) !important;
  letter-spacing: 1.4px !important;
}

#ctf-story-timeline .ctf-story-item.is-active .ctf-story-title .elementor-heading-title,
#ctf-story-timeline .ctf-story-item:hover .ctf-story-title .elementor-heading-title {
  color: var(--ctf-gold-2, #FCCA66) !important;
}

#ctf-story-timeline .ctf-story-item.is-active .ctf-story-desc-source,
#ctf-story-timeline .ctf-story-item:hover .ctf-story-desc-source,
#ctf-story-timeline .ctf-story-item:focus-visible .ctf-story-desc-source {
  max-height: 118px;
  opacity: 1 !important;
  transform: translate(-50%, 0) !important;
}

#ctf-story-timeline .ctf-story-desc-source .elementor-widget-container {
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  line-height: 1.58;
  padding-top: 10px;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.32);
}

.ctf-sector-icon.elementor-widget-icon {
  align-items: center !important;
  aspect-ratio: 1 / 1 !important;
  background: #EFF3FF !important;
  border-radius: 50% !important;
  box-sizing: border-box !important;
  display: flex !important;
  height: 78px !important;
  justify-content: center !important;
  margin-bottom: 18px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  width: 78px !important;
}

.ctf-sector-icon.elementor-widget-icon .elementor-widget-container,
.ctf-sector-icon.elementor-widget-icon .elementor-icon-wrapper {
  align-items: center !important;
  background: transparent !important;
  border-radius: 50% !important;
  box-sizing: border-box !important;
  display: flex !important;
  height: 100% !important;
  justify-content: center !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.ctf-sector-icon.elementor-widget-icon .elementor-icon {
  align-items: center !important;
  background: transparent !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  height: 100% !important;
  justify-content: center !important;
  color: var(--ctf-navy-2, #002662) !important;
  line-height: 1 !important;
  width: 100% !important;
}

.ctf-sector-icon.elementor-widget-icon .elementor-icon i,
.ctf-sector-icon.elementor-widget-icon .elementor-icon svg {
  display: block !important;
  flex: 0 0 auto !important;
  height: 28px !important;
  line-height: 1 !important;
  margin: auto !important;
  max-height: 28px !important;
  max-width: 28px !important;
  position: static !important;
  transform: none !important;
  width: 28px !important;
}

.ctf-calendar-title {
  flex: 1 1 auto !important;
  text-align: center !important;
}

.ctf-calendar-title .elementor-heading-title {
  text-align: center !important;
}

.ctf-calendar-nav-left {
  flex: 0 0 auto !important;
  min-width: 150px !important;
}

.ctf-form-panel-blue {
  background: #e7efff !important;
  border-color: transparent !important;
  border-radius: 6px !important;
  box-shadow: 0 14px 34px rgba(0, 38, 98, 0.14) !important;
}

.ctf-contact-member-section {
  background:
    linear-gradient(180deg, rgba(245, 247, 250, 0) 0 88px, #eef3f8 88px 100%) !important;
}

.ctf-contact-browser {
  border: 1px solid rgba(0, 19, 57, 0.1) !important;
  border-radius: 14px !important;
  box-shadow: 0 30px 70px rgba(0, 19, 57, 0.2) !important;
  overflow: hidden !important;
}

.ctf-contact-browser__bar {
  background: #080b10 !important;
  border-radius: 10px 10px 0 0 !important;
  color: #ffffff !important;
  gap: 18px !important;
  min-height: 38px !important;
  padding: 0 14px !important;
}

.ctf-contact-browser__bar .elementor-widget {
  margin: 0 !important;
}

.ctf-contact-browser__bar .elementor-widget-html,
.ctf-contact-browser__bar .elementor-widget-container {
  width: auto !important;
}

.ctf-contact-browser__brand,
.ctf-contact-browser__nav,
.ctf-contact-browser__pill {
  align-items: center;
  display: inline-flex;
  font-family: Inter, Suwannaphum, sans-serif;
  line-height: 1;
  white-space: nowrap;
}

.ctf-contact-browser__brand {
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
}

.ctf-contact-browser__brand span {
  background: #ffffff;
  border-radius: 50%;
  display: inline-block;
  height: 9px;
  width: 9px;
}

.ctf-contact-browser__nav {
  color: rgba(255, 255, 255, 0.72);
  flex: 1 1 auto;
  font-size: 10px;
  gap: 26px;
  justify-content: center;
}

.ctf-contact-browser__pill {
  background: #ffffff;
  border-radius: 999px;
  color: #080b10;
  font-size: 10px;
  font-weight: 800;
  min-height: 22px;
  padding: 0 14px;
  text-transform: uppercase;
}

.ctf-contact-member-panel {
  background: #f6f8fb !important;
  border-radius: 0 0 10px 10px !important;
  min-height: 560px !important;
  overflow: hidden !important;
}

.ctf-contact-member-visual {
  justify-content: center !important;
  min-height: 560px !important;
  overflow: hidden !important;
  position: relative !important;
}

.ctf-contact-member-visual::before {
  background:
    linear-gradient(90deg, rgba(0, 19, 57, 0.78), rgba(0, 19, 57, 0.34) 58%, rgba(224, 32, 32, 0.12)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 19, 57, 0.56)) !important;
  content: "" !important;
  inset: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  z-index: 0 !important;
}

.ctf-contact-member-visual > .elementor-element {
  position: relative !important;
  z-index: 1 !important;
}

.ctf-contact-member-visual .elementor-heading-title {
  max-width: 430px !important;
}

.ctf-contact-member-visual .elementor-widget-text-editor {
  max-width: 520px !important;
}

.ctf-contact-member-visual__badge {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  color: var(--ctf-navy-2, #002662);
  display: inline-flex;
  font-family: Inter, Suwannaphum, sans-serif;
  font-size: 12px;
  font-weight: 800;
  padding: 10px 16px;
}

.ctf-contact-member-form {
  border-left: 1px solid rgba(0, 19, 57, 0.08) !important;
}

.ctf-contact-member-form__eyebrow {
  color: var(--ctf-red, #E02020);
  font-family: Inter, Suwannaphum, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.ctf-contact-cf7 .wpcf7-form input[type="text"],
.ctf-contact-cf7 .wpcf7-form input[type="email"],
.ctf-contact-cf7 .wpcf7-form input[type="tel"],
.ctf-contact-cf7 .wpcf7-form select,
.ctf-contact-cf7 .wpcf7-form textarea {
  background: #f8fafc !important;
  border-color: #d9dee8 !important;
  border-radius: 9px !important;
  min-height: 46px !important;
}

.ctf-contact-cf7 .wpcf7-form textarea {
  min-height: 116px !important;
}

.ctf-contact-cf7 .wpcf7-form .wpcf7-submit {
  box-shadow: 0 12px 26px rgba(200, 155, 60, 0.24) !important;
  min-height: 48px !important;
}

.ctf-newsletter-band {
  background-color: #071426 !important;
  background-image:
    radial-gradient(circle at 18% 35%, rgba(255, 255, 255, 0.18) 0 2px, transparent 3px),
    radial-gradient(circle at 42% 72%, rgba(255, 255, 255, 0.16) 0 2px, transparent 3px),
    radial-gradient(circle at 68% 30%, rgba(255, 255, 255, 0.14) 0 2px, transparent 3px),
    linear-gradient(22deg, transparent 0 22%, rgba(255,255,255,0.12) 22.15%, transparent 22.4%),
    linear-gradient(158deg, transparent 0 36%, rgba(255,255,255,0.10) 36.2%, transparent 36.45%) !important;
}

.ctf-newsletter-cf7 .wpcf7-form p {
  align-items: stretch;
}

.ctf-newsletter-cf7 .wpcf7-form p,
.wpcf7-form p:has(> .wpcf7-form-control-wrap[data-name="your-email"]):has(> .wpcf7-submit) {
  align-items: stretch !important;
  background: #ffffff !important;
  border: 0 !important;
  border-radius: 0 !important;
  display: flex !important;
  gap: 0 !important;
  margin: 0 auto !important;
  max-width: 520px !important;
  overflow: hidden !important;
  width: 100% !important;
}

.ctf-newsletter-cf7 .wpcf7-form p > br,
.wpcf7-form p:has(> .wpcf7-form-control-wrap[data-name="your-email"]):has(> .wpcf7-submit) > br {
  display: none !important;
}

.ctf-newsletter-cf7 .wpcf7-form .wpcf7-form-control-wrap,
.wpcf7-form p:has(> .wpcf7-form-control-wrap[data-name="your-email"]):has(> .wpcf7-submit) .wpcf7-form-control-wrap {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.ctf-newsletter-cf7 .wpcf7-form input[type="email"],
.wpcf7-form p:has(> .wpcf7-form-control-wrap[data-name="your-email"]):has(> .wpcf7-submit) input[type="email"] {
  background: #ffffff !important;
  border: 0 !important;
  color: #111827 !important;
  height: 46px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  width: 100% !important;
}

.ctf-newsletter-cf7 .wpcf7-form .wpcf7-submit,
.wpcf7-form p:has(> .wpcf7-form-control-wrap[data-name="your-email"]):has(> .wpcf7-submit) .wpcf7-submit {
  align-self: stretch !important;
  background: var(--ctf-red, #E02020) !important;
  border: 0 !important;
  color: #ffffff !important;
  flex: 0 0 auto !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  height: 46px !important;
  line-height: 1 !important;
  margin: 0 !important;
  min-width: 60px !important;
  padding: 0 22px !important;
  text-transform: uppercase !important;
  width: auto !important;
}

.ctf-newsletter-cf7 .wpcf7-form .wpcf7-submit:hover,
.wpcf7-form p:has(> .wpcf7-form-control-wrap[data-name="your-email"]):has(> .wpcf7-submit) .wpcf7-submit:hover {
  background: var(--ctf-red-dark, #B81818) !important;
}

.ctf-newsletter-cf7 .wpcf7-spinner,
.wpcf7-form p:has(> .wpcf7-form-control-wrap[data-name="your-email"]):has(> .wpcf7-submit) .wpcf7-spinner {
  display: none !important;
}

@media (max-width: 1024px) {
  .ctf-contact-member-panel {
    flex-direction: column !important;
  }

  .ctf-contact-member-visual,
  .ctf-contact-member-form {
    width: 100% !important;
  }

  .ctf-contact-member-visual {
    min-height: 420px !important;
  }

  .ctf-contact-member-form {
    border-left: 0 !important;
    border-top: 1px solid rgba(0, 19, 57, 0.08) !important;
  }
}

@media (max-width: 767px) {
  .ctf-contact-member-section {
    margin-top: -64px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .ctf-contact-browser {
    border-radius: 12px !important;
    padding: 10px !important;
  }

  .ctf-contact-browser__bar {
    gap: 10px !important;
    padding: 0 10px !important;
  }

  .ctf-contact-browser__nav {
    display: none !important;
  }

  .ctf-contact-browser__brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .ctf-contact-member-visual,
  .ctf-contact-member-form {
    padding: 28px 22px !important;
  }

  .ctf-contact-member-visual {
    min-height: 360px !important;
  }
}

/* Promo CTA card (events page) — reference-style floating rounded card:
   photo background + dark overlay, soft shadow, centered headline/subtext/pill button. */
.ctf-cta-card {
  box-shadow: 0 30px 60px -20px rgba(0, 19, 57, 0.55) !important;
  overflow: hidden;
}

@media (max-width: 767px) {
  .ctf-cta-card {
    padding: 44px 24px !important;
  }
}

/* CTF Federation Profile (About page) — pill chips for founders/funders/sponsors/secretariat */
.ctf-profile-pill .elementor-heading-title {
  background: #EAF1E6;
  border: 1px solid #D5E2CE;
  border-radius: 999px;
  color: var(--ctf-navy-2, #002662);
  display: inline-block;
  padding: 9px 18px;
}
.ctf-profile-pill-row {
  align-items: center;
}

.ctf-secretariat-section {
  overflow: hidden;
  position: relative;
}

.ctf-secretariat-inner,
.ctf-secretariat-panel,
.ctf-secretariat-panel > .e-con-inner {
  max-width: 1180px !important;
  width: 100% !important;
}

.ctf-secretariat-header,
.ctf-secretariat-header > .e-con-inner {
  align-items: stretch !important;
  display: grid !important;
  gap: 28px !important;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.95fr) !important;
  width: 100% !important;
}

.ctf-secretariat-copy,
.ctf-secretariat-copy > .e-con-inner {
  min-width: 0 !important;
}

.ctf-secretariat-focus {
  background: linear-gradient(145deg, var(--ctf-navy-2, #002662), var(--ctf-navy-3, #1A2740)) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px !important;
  box-shadow: 0 20px 48px rgba(0, 19, 57, 0.14);
  justify-content: center;
  min-width: 0 !important;
  padding: 28px !important;
  position: relative;
}

.ctf-secretariat-focus::before {
  content: none !important;
  display: none !important;
}

.ctf-secretariat-focus .elementor-icon-list-item {
  align-items: flex-start !important;
}

.ctf-secretariat-grid,
.ctf-secretariat-grid > .e-con-inner {
  align-items: stretch !important;
  display: grid !important;
  gap: 18px !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  width: 100% !important;
}

.ctf-secretariat-card,
.ctf-secretariat-grid > .e-con-inner > .ctf-secretariat-card {
  box-shadow: 0 14px 34px rgba(0, 19, 57, 0.07);
  height: 100%;
  isolation: isolate;
  min-height: 196px;
  min-width: 0 !important;
  overflow: hidden;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  width: 100% !important;
}

.ctf-secretariat-card::before {
  content: none;
  display: none;
}

.ctf-secretariat-card > .e-con-inner {
  gap: 0 !important;
}

.ctf-secretariat-card:hover {
  border-color: rgba(0, 38, 98, 0.22) !important;
  box-shadow: 0 18px 42px rgba(0, 19, 57, 0.10);
  transform: translateY(-2px);
}

.ctf-secretariat-card .elementor-widget-html {
  margin-bottom: 14px !important;
  width: 100%;
}

.ctf-secretariat-card__icon {
  align-items: center;
  color: var(--ctf-gold, #C89B3C);
  display: flex;
  font-family: var(--ctf-font-family, 'Suwannaphum', 'Inter', sans-serif);
  font-size: 24px;
  font-weight: 900;
  justify-content: flex-end;
  letter-spacing: 0;
  width: 100%;
}

.ctf-secretariat-card__icon i {
  color: var(--ctf-gold, #C89B3C);
  font-size: 24px;
}

.ctf-secretariat-card .elementor-heading-title {
  overflow-wrap: anywhere;
}

.ctf-secretariat-card .elementor-widget-heading {
  margin-bottom: 10px !important;
  margin-top: 0 !important;
}

.ctf-secretariat-card .elementor-widget-text-editor {
  margin-top: 0 !important;
}

.ctf-profile-supporters {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
  width: 100%;
}

.ctf-profile-supporters__group {
  background: #ffffff;
  border: 1px solid #D9DFEA;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 19, 57, 0.06);
  min-width: 0;
  overflow: hidden;
  padding: 28px;
  position: relative;
}

.ctf-profile-supporters__group::before {
  background: var(--ctf-gold, #C89B3C);
  content: "";
  height: 4px;
  left: 28px;
  position: absolute;
  right: 28px;
  top: 0;
}

.ctf-profile-supporters__head {
  align-items: flex-start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 22px;
}

.ctf-profile-supporters__kicker {
  color: var(--ctf-gold-dark, #B8960C);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.4;
  margin-bottom: 8px;
}

.ctf-profile-supporters__head h3 {
  color: var(--ctf-navy-2, #002662);
  font-family: var(--ctf-font-family, 'Suwannaphum', 'Inter', sans-serif);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.28;
  margin: 0;
}

.ctf-profile-supporters__count {
  align-items: center;
  background: rgba(0, 38, 98, 0.07);
  color: var(--ctf-navy-2, #002662);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  height: 36px;
  justify-content: center;
  line-height: 1;
  min-width: 36px;
}

.ctf-profile-supporters__items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ctf-profile-supporters__item {
  background: #EAF1E6;
  border: 1px solid #D5E2CE;
  color: var(--ctf-navy-2, #002662);
  display: inline-flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  min-height: 42px;
  padding: 11px 16px;
}

.ctf-profile-supporters__note {
  color: #5f6b7a;
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
}

@media (max-width: 1024px) {
  .ctf-profile-supporters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ctf-secretariat-header,
  .ctf-secretariat-header > .e-con-inner {
    grid-template-columns: 1fr !important;
  }

  .ctf-secretariat-focus {
    padding: 26px !important;
  }

  .ctf-secretariat-grid,
  .ctf-secretariat-grid > .e-con-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  .ctf-profile-supporters {
    grid-template-columns: 1fr;
  }

  .ctf-profile-supporters__group {
    padding: 24px;
  }

  .ctf-profile-supporters__group::before {
    left: 24px;
    right: 24px;
  }

  .ctf-secretariat-section {
    padding-top: 8px !important;
    padding-bottom: 72px !important;
  }

  .ctf-secretariat-grid,
  .ctf-secretariat-grid > .e-con-inner {
    grid-template-columns: 1fr !important;
  }

  .ctf-secretariat-card {
    min-height: 0;
  }
}

/* Profile/member grids: plugin-owned row grids for Elementor-managed cards. */
.ctf-objectives-grid,
.ctf-strategy-grid,
.ctf-role-grid,
.ctf-role-grid > .e-con-inner,
.ctf-target-grid {
  align-items: stretch !important;
  display: grid !important;
  gap: 24px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  width: 100% !important;
}

.ctf-objectives-grid > .ctf-objective-card,
.ctf-strategy-grid > .ctf-strategy-card,
.ctf-role-grid > .ctf-role-card,
.ctf-role-grid > .e-con-inner > .ctf-role-card,
.ctf-target-grid > .ctf-target-card {
  height: 100%;
  max-width: none !important;
  min-width: 0 !important;
  width: 100% !important;
}

.ctf-objectives-grid > .ctf-objective-card > .e-con-inner,
.ctf-strategy-grid > .ctf-strategy-card > .e-con-inner,
.ctf-role-grid > .ctf-role-card > .e-con-inner,
.ctf-role-grid > .e-con-inner > .ctf-role-card > .e-con-inner,
.ctf-target-grid > .ctf-target-card > .e-con-inner {
  align-content: flex-start;
  align-items: flex-start;
  height: 100%;
  justify-content: flex-start;
  width: 100%;
}

#target-groups {
  background: linear-gradient(180deg, #F6F8FC 0%, #ffffff 100%) !important;
}

.ctf-target-grid {
  align-items: flex-start !important;
  gap: 28px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 1220px !important;
}

.ctf-target-card {
  background: #ffffff !important;
  border: 1px solid rgba(0, 38, 98, 0.14) !important;
  border-radius: 8px !important;
  box-shadow: 0 16px 36px rgba(0, 19, 57, 0.055);
  min-height: 0;
  overflow: hidden;
  padding: 26px 28px 28px !important;
  position: relative;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.ctf-target-card::before {
  content: none !important;
  display: none !important;
}

.ctf-target-card::after {
  color: rgba(0, 38, 98, 0.2);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  position: absolute;
  right: 26px;
  top: 28px;
}

.ctf-target-grid > .ctf-target-card:nth-child(1)::after {
  content: "01";
}

.ctf-target-grid > .ctf-target-card:nth-child(2)::after {
  content: "02";
}

.ctf-target-grid > .ctf-target-card:nth-child(3)::after {
  content: "03";
}

.ctf-target-card:hover {
  border-color: rgba(0, 38, 98, 0.2) !important;
  box-shadow: 0 20px 46px rgba(0, 19, 57, 0.09);
  transform: translateY(-2px);
}

.ctf-target-card > .e-con-inner {
  align-content: flex-start !important;
  align-items: flex-start !important;
  display: grid !important;
  gap: 0 16px !important;
  grid-template-columns: 48px minmax(0, 1fr) !important;
  height: auto !important;
}

.ctf-target-card__icon {
  align-self: start !important;
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  margin: 0 !important;
  width: 48px !important;
}

.ctf-target-card__icon .elementor-icon {
  align-items: center !important;
  background: rgba(0, 38, 98, 0.045) !important;
  border: 1px solid rgba(0, 38, 98, 0.1) !important;
  border-radius: 8px !important;
  color: var(--ctf-navy-2, #002662) !important;
  display: inline-flex !important;
  height: 46px !important;
  justify-content: center !important;
  width: 46px !important;
}

.ctf-target-card__icon .elementor-icon i,
.ctf-target-card__icon .elementor-icon svg {
  color: var(--ctf-navy-2, #002662) !important;
  fill: var(--ctf-navy-2, #002662) !important;
}

.ctf-target-card__title {
  align-self: end !important;
  grid-column: 2 !important;
  margin: 0 !important;
  padding-right: 34px;
}

.ctf-target-card__title .elementor-heading-title {
  color: var(--ctf-navy-2, #002662) !important;
  font-size: clamp(19px, 1.45vw, 23px) !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.28 !important;
  margin: 0 !important;
  overflow-wrap: anywhere;
}

.ctf-target-card__label {
  grid-column: 2 !important;
  margin: 7px 0 0 !important;
  padding-right: 34px;
}

.ctf-target-card__label .elementor-heading-title {
  background: transparent !important;
  border-radius: 0 !important;
  color: var(--ctf-gold-dark, #B8960C) !important;
  display: block !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.25 !important;
  padding: 0 !important;
  text-transform: none !important;
}

.ctf-target-card__list {
  border-top: 1px solid rgba(0, 38, 98, 0.08);
  grid-column: 1 / -1 !important;
  margin: 20px 0 0 !important;
  padding-top: 18px;
  width: 100%;
}

.ctf-target-card__list .elementor-icon-list-items {
  display: grid !important;
  gap: 10px !important;
  margin: 0 !important;
}

.ctf-target-card__list .elementor-icon-list-item {
  align-items: flex-start !important;
  gap: 10px !important;
  margin: 0 !important;
}

.ctf-target-card__list .elementor-icon-list-icon {
  margin-top: 4px !important;
}

.ctf-target-card__list .elementor-icon-list-icon i {
  color: var(--ctf-gold-dark, #B8960C) !important;
}

.ctf-target-card__list .elementor-icon-list-text {
  color: #4B5567 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 1.58 !important;
}

.ctf-objectives-grid,
.ctf-objectives-grid > .e-con-inner {
  gap: 18px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 1120px !important;
}

.ctf-objective-card {
  background: #ffffff !important;
  border-color: #DDE3ED !important;
  box-shadow: 0 18px 44px rgba(0, 19, 57, 0.06);
  min-height: 150px;
  overflow: hidden;
  position: relative;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.ctf-objective-card::before {
  background: var(--ctf-red, #E02020);
  border-radius: 999px;
  content: '';
  height: 10px;
  position: absolute;
  right: 24px;
  top: 24px;
  width: 10px;
}

.ctf-objective-card:hover {
  border-color: rgba(224, 32, 32, 0.32) !important;
  box-shadow: 0 22px 52px rgba(0, 19, 57, 0.1);
  transform: translateY(-3px);
}

.ctf-objective-card > .e-con-inner {
  align-items: flex-start !important;
  display: grid !important;
  gap: 18px !important;
  grid-template-columns: 58px minmax(0, 1fr) !important;
}

.ctf-objective-card__icon.elementor-widget-icon {
  align-items: center !important;
  background: #FFF1F1 !important;
  border: 1px solid rgba(224, 32, 32, 0.18) !important;
  border-radius: 8px !important;
  display: flex !important;
  height: 52px !important;
  justify-content: center !important;
  width: 52px !important;
}

.ctf-objective-card__icon.elementor-widget-icon .elementor-widget-container,
.ctf-objective-card__icon.elementor-widget-icon .elementor-icon-wrapper,
.ctf-objective-card__icon.elementor-widget-icon .elementor-icon {
  align-items: center !important;
  display: flex !important;
  justify-content: center !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ctf-objective-card__content,
.ctf-objective-card__content > .e-con-inner {
  min-width: 0 !important;
  width: 100% !important;
}

.ctf-objective-card__title .elementor-heading-title,
.ctf-objective-card__subtitle {
  overflow-wrap: anywhere !important;
}

.ctf-objectives-managed {
  align-items: stretch !important;
  display: grid !important;
  gap: 24px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 1180px !important;
  width: 100% !important;
}

.ctf-objectives-managed .ctf-objective-card {
  --ctf-objective-accent: var(--ctf-red, #E02020);
  --ctf-objective-accent-bg: #FFF2F2;
  --ctf-objective-accent-border: rgba(224, 32, 32, 0.18);
  background: #ffffff !important;
  border: 1px solid #DDE3ED !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 42px rgba(0, 19, 57, 0.07);
  height: 100%;
  isolation: isolate;
  min-height: 238px;
  overflow: hidden;
  position: relative;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.ctf-objectives-managed .ctf-objective-card--tone-1 {
  --ctf-objective-accent: #E02020;
  --ctf-objective-accent-bg: #FFF2F2;
  --ctf-objective-accent-border: rgba(224, 32, 32, 0.18);
}

.ctf-objectives-managed .ctf-objective-card--tone-2 {
  --ctf-objective-accent: #C89B3C;
  --ctf-objective-accent-bg: #FFF8E6;
  --ctf-objective-accent-border: rgba(200, 155, 60, 0.22);
}

.ctf-objectives-managed .ctf-objective-card--tone-3 {
  --ctf-objective-accent: #2E9D78;
  --ctf-objective-accent-bg: #EEF8F3;
  --ctf-objective-accent-border: rgba(46, 157, 120, 0.18);
}

.ctf-objectives-managed .ctf-objective-card--tone-4 {
  --ctf-objective-accent: #1E88E5;
  --ctf-objective-accent-bg: #EFF7FF;
  --ctf-objective-accent-border: rgba(30, 136, 229, 0.18);
}

.ctf-objectives-managed .ctf-objective-card--tone-5 {
  --ctf-objective-accent: #002662;
  --ctf-objective-accent-bg: #EEF3FB;
  --ctf-objective-accent-border: rgba(0, 38, 98, 0.16);
}

.ctf-objectives-managed .ctf-objective-card--tone-6 {
  --ctf-objective-accent: #D33F49;
  --ctf-objective-accent-bg: #FFF3F5;
  --ctf-objective-accent-border: rgba(211, 63, 73, 0.18);
}

.ctf-objectives-managed .ctf-objective-card::before {
  content: none !important;
  display: none !important;
}

.ctf-objectives-managed .ctf-objective-card:hover {
  border-color: rgba(0, 38, 98, 0.22) !important;
  box-shadow: 0 24px 54px rgba(0, 19, 57, 0.12);
  transform: translateY(-3px);
}

.ctf-objectives-managed .ctf-objective-card__inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
  justify-content: flex-start;
  padding: 30px 28px 28px;
}

.ctf-objectives-managed .ctf-objective-card__top {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 20px;
  width: 100%;
}

.ctf-objectives-managed .ctf-objective-card__icon {
  align-items: center;
  background: var(--ctf-objective-accent-bg);
  border: 1px solid var(--ctf-objective-accent-border);
  border-radius: 8px;
  color: var(--ctf-objective-accent);
  display: flex;
  flex: 0 0 auto;
  font-size: 23px;
  height: 52px;
  justify-content: center;
  line-height: 1;
  width: 52px;
}

.ctf-objectives-managed .ctf-objective-card__content {
  margin-top: 0;
  min-width: 0;
}

.ctf-objectives-managed .ctf-objective-card__number {
  color: #CDD5E1;
  display: block;
  flex: 0 0 auto;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  margin-top: 12px;
  min-width: 56px;
  text-align: right;
}

.ctf-objectives-managed .ctf-objective-card__title {
  color: #002662;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.35;
  margin: 0 0 10px;
  overflow-wrap: anywhere;
}

.ctf-objectives-managed .ctf-objective-card__subtitle {
  color: #5D6676;
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  overflow-wrap: anywhere;
}

html.ctf-motion-ready #objectives .ctf-motion-item {
  opacity: 1 !important;
  transform: none !important;
}

.ctf-strategy-grid .elementor-widget-icon,
.ctf-target-grid .elementor-widget-icon {
  align-self: flex-start;
}

.ctf-strategy-section {
  background: linear-gradient(180deg, #ffffff 0%, #F7F9FC 100%) !important;
  overflow: hidden;
  position: relative;
}

.ctf-strategy-grid,
.ctf-strategy-grid > .e-con-inner {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 1180px !important;
}

.ctf-strategy-card {
  background: #ffffff !important;
  border: 1px solid rgba(0, 38, 98, 0.12) !important;
  box-shadow: 0 16px 38px rgba(0, 19, 57, 0.055);
  min-height: 210px;
  overflow: hidden;
  padding-left: 0 !important;
  padding-right: 0 !important;
  position: relative;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.ctf-strategy-card::before {
  content: none;
  display: none;
}

.ctf-strategy-card:hover {
  border-color: rgba(0, 38, 98, 0.22) !important;
  box-shadow: 0 26px 60px rgba(0, 19, 57, 0.10);
  transform: translateY(-2px);
}

.ctf-strategy-card > .e-con-inner {
  align-content: start !important;
  align-items: center !important;
  display: grid !important;
  gap: 0 18px !important;
  grid-template-areas:
    "number number"
    "icon title"
    "list list" !important;
  grid-template-columns: 52px minmax(0, 1fr) !important;
  height: 100% !important;
  justify-content: stretch !important;
  padding: 24px 24px 24px !important;
}

.ctf-strategy-card .elementor-widget,
.ctf-strategy-card .elementor-widget-container {
  min-width: 0 !important;
}

.ctf-strategy-card .elementor-widget-html {
  grid-area: number;
  margin-bottom: 20px !important;
  width: auto;
}

.ctf-strategy-card__number {
  align-items: center;
  color: var(--ctf-gold-dark, #B8960C);
  display: inline-flex;
  font-family: var(--ctf-font-family, 'Suwannaphum', 'Inter', sans-serif);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 0;
}

.ctf-strategy-card__number::after {
  background: rgba(0, 38, 98, 0.13);
  content: "";
  display: block;
  height: 2px;
  margin-left: 18px;
  width: 52px;
}

.ctf-strategy-card .elementor-widget-icon {
  align-self: center !important;
  grid-area: icon;
  justify-self: start !important;
  margin: 0 !important;
}

.ctf-strategy-card .elementor-icon {
  align-items: center;
  background: rgba(200, 155, 60, 0.12) !important;
  border: 1px solid rgba(200, 155, 60, 0.24) !important;
  border-radius: 8px;
  color: var(--ctf-navy-2, #002662) !important;
  display: inline-flex;
  height: 52px;
  justify-content: center;
  width: 52px;
}

.ctf-strategy-card .elementor-icon i,
.ctf-strategy-card .elementor-icon * {
  color: var(--ctf-navy-2, #002662) !important;
  fill: var(--ctf-navy-2, #002662) !important;
}

.ctf-strategy-card .elementor-widget-heading {
  align-self: center !important;
  grid-area: title;
  justify-self: stretch !important;
  margin: 0 !important;
  min-width: 0 !important;
  width: 100% !important;
}

.ctf-strategy-card .elementor-heading-title {
  color: var(--ctf-navy, #001339) !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.48 !important;
  max-width: 100% !important;
  overflow-wrap: normal;
  text-align: left !important;
  word-break: normal;
}

.ctf-strategy-card .elementor-widget-icon-list {
  grid-area: list;
  justify-self: stretch !important;
  margin-top: 18px !important;
  text-align: left !important;
  width: 100% !important;
}

.ctf-strategy-card .elementor-icon-list-items {
  margin: 0 !important;
  padding: 0 !important;
}

.ctf-strategy-card .elementor-icon-list-item {
  align-items: flex-start !important;
  gap: 9px;
  justify-content: flex-start !important;
  text-align: left !important;
  width: 100% !important;
}

.ctf-strategy-card .elementor-icon-list-icon {
  flex: 0 0 auto !important;
  margin-top: 0.65em !important;
}

.ctf-strategy-card .elementor-icon-list-text {
  color: #566273 !important;
  flex: 1 1 auto !important;
  line-height: 1.7 !important;
  max-width: 100% !important;
  text-align: left !important;
}

@media (min-width: 1025px) {
  .ctf-strategy-grid > .ctf-strategy-card:first-child,
  .ctf-strategy-grid > .e-con-inner > .ctf-strategy-card:first-child {
    background: linear-gradient(135deg, #001A4A 0%, #002D70 100%) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    grid-column: span 2;
  }

  .ctf-strategy-grid > .ctf-strategy-card:first-child::before,
  .ctf-strategy-grid > .e-con-inner > .ctf-strategy-card:first-child::before {
    content: none;
    display: none;
  }

  .ctf-strategy-grid > .ctf-strategy-card:first-child > .e-con-inner,
  .ctf-strategy-grid > .e-con-inner > .ctf-strategy-card:first-child > .e-con-inner {
    grid-template-columns: 56px minmax(0, 1fr) !important;
    padding-left: 32px !important;
    padding-right: 32px !important;
  }

  .ctf-strategy-grid > .ctf-strategy-card:first-child .elementor-heading-title,
  .ctf-strategy-grid > .e-con-inner > .ctf-strategy-card:first-child .elementor-heading-title {
    color: #ffffff !important;
    font-size: 22px !important;
    line-height: 1.42 !important;
  }

  .ctf-strategy-grid > .ctf-strategy-card:first-child .elementor-icon,
  .ctf-strategy-grid > .e-con-inner > .ctf-strategy-card:first-child .elementor-icon {
    background: rgba(252, 202, 102, 0.15) !important;
    border-color: rgba(252, 202, 102, 0.30) !important;
    color: var(--ctf-gold-2, #FCCA66) !important;
  }

  .ctf-strategy-grid > .ctf-strategy-card:first-child .elementor-icon i,
  .ctf-strategy-grid > .ctf-strategy-card:first-child .elementor-icon *,
  .ctf-strategy-grid > .e-con-inner > .ctf-strategy-card:first-child .elementor-icon i,
  .ctf-strategy-grid > .e-con-inner > .ctf-strategy-card:first-child .elementor-icon * {
    color: var(--ctf-gold-2, #FCCA66) !important;
    fill: var(--ctf-gold-2, #FCCA66) !important;
  }

  .ctf-strategy-grid > .ctf-strategy-card:first-child .ctf-strategy-card__number,
  .ctf-strategy-grid > .e-con-inner > .ctf-strategy-card:first-child .ctf-strategy-card__number {
    color: var(--ctf-gold-2, #FCCA66);
  }

  .ctf-strategy-grid > .ctf-strategy-card:first-child .ctf-strategy-card__number::after,
  .ctf-strategy-grid > .e-con-inner > .ctf-strategy-card:first-child .ctf-strategy-card__number::after {
    background: rgba(255, 255, 255, 0.22);
    width: 96px;
  }

  .ctf-strategy-grid > .ctf-strategy-card:first-child .elementor-icon-list-text,
  .ctf-strategy-grid > .e-con-inner > .ctf-strategy-card:first-child .elementor-icon-list-text {
    color: rgba(255, 255, 255, 0.82) !important;
  }
}

.ctf-national-role-section {
  overflow: hidden;
  position: relative;
}

.ctf-national-role-inner {
  max-width: 1180px !important;
  width: 100% !important;
}

.ctf-role-grid {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 1180px !important;
  width: 100% !important;
}

.ctf-role-card {
  background: linear-gradient(180deg, rgba(0, 58, 132, 0.96), rgba(0, 38, 98, 0.98)) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.20);
  isolation: isolate;
  min-height: 268px;
  overflow: hidden;
  position: relative;
}

.ctf-role-card::after {
  background: var(--ctf-gold, #C89B3C);
  bottom: 0;
  content: "";
  height: 3px;
  left: 30px;
  opacity: 0.92;
  position: absolute;
  right: 30px;
}

.ctf-role-card .elementor-widget-html {
  margin-bottom: 0 !important;
  width: 100%;
}

.ctf-role-card__top {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 28px;
  width: 100%;
}

.ctf-role-card__number {
  align-items: center;
  background: rgba(252, 202, 102, 0.13);
  border: 1px solid rgba(252, 202, 102, 0.34);
  color: var(--ctf-gold-2, #FCCA66);
  display: inline-flex;
  font-family: var(--ctf-font-family, 'Suwannaphum', 'Inter', sans-serif);
  font-size: 13px;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  line-height: 1;
  min-width: 48px;
}

.ctf-role-card__rule {
  background: rgba(255, 255, 255, 0.20);
  display: block;
  flex: 1 1 auto;
  height: 1px;
  min-width: 32px;
}

.ctf-role-card .elementor-heading-title {
  overflow-wrap: anywhere;
}

.ctf-role-card .elementor-widget-text-editor {
  margin-top: auto;
}

/* Objective / strategy / role / target cards: responsive 3-up → 1-up on mobile */
@media (max-width: 1024px) {
  .ctf-objectives-grid,
  .ctf-strategy-grid,
  .ctf-role-grid,
  .ctf-role-grid > .e-con-inner,
  .ctf-target-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .ctf-objective-card,
  .ctf-strategy-card,
  .ctf-role-card,
  .ctf-target-card {
    width: 100% !important;
  }

  .ctf-strategy-card {
    min-height: 245px;
  }

  .ctf-objectives-managed {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 767px) {
  .ctf-objectives-grid,
  .ctf-strategy-grid,
  .ctf-role-grid,
  .ctf-role-grid > .e-con-inner,
  .ctf-target-grid {
    grid-template-columns: 1fr !important;
  }

  .ctf-role-card {
    min-height: 0;
  }

  .ctf-strategy-card {
    min-height: 0;
  }

  .ctf-objectives-managed {
    grid-template-columns: 1fr !important;
  }

  .ctf-objectives-managed .ctf-objective-card {
    min-height: 0;
  }

  .ctf-objectives-managed .ctf-objective-card__inner {
    padding: 24px;
  }

  .ctf-objectives-managed .ctf-objective-card__top {
    margin-bottom: 20px;
  }

  .ctf-objective-card,
  .ctf-strategy-card,
  .ctf-role-card,
  .ctf-target-card {
    width: 100% !important;
  }

  .ctf-target-card {
    min-height: 0;
    padding: 24px !important;
  }

  .ctf-target-card > .e-con-inner {
    gap: 0 14px !important;
    grid-template-columns: 48px minmax(0, 1fr) !important;
  }

  .ctf-target-card__icon {
    width: 48px !important;
  }

  .ctf-target-card__icon .elementor-icon {
    height: 46px !important;
    width: 46px !important;
  }

  .ctf-target-card__list {
    margin-top: 20px !important;
    padding-top: 18px;
  }
}

.ctf-testimonial-slider {
  max-width: 840px;
  width: 100%;
}

.ctf-testimonial-slider__viewport {
  overflow: hidden;
  width: 100%;
}

.ctf-testimonial-slider__track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.ctf-testimonial-slide {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 0 18px;
  text-align: center;
}

.ctf-testimonial-slide__quote {
  color: var(--ctf-navy-2, #002662);
  font-family: 'Suwannaphum', 'Inter', sans-serif;
  font-size: clamp(18px, 2.1vw, 24px);
  font-weight: 500;
  line-height: 1.9;
  margin: 0 auto 22px;
  max-width: 780px;
}

.ctf-testimonial-slide__quote::before {
  content: "“";
}

.ctf-testimonial-slide__quote::after {
  content: "”";
}

.ctf-testimonial-slide__person {
  align-items: center;
  display: inline-flex;
  gap: 16px;
  justify-content: center;
  text-align: left;
}

.ctf-testimonial-slide__person img {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  height: 68px;
  object-fit: cover;
  width: 68px;
}

.ctf-testimonial-slide__person strong,
.ctf-testimonial-slide__person span {
  display: block;
  font-family: 'Suwannaphum', 'Inter', sans-serif;
}

.ctf-testimonial-slide__person strong {
  color: #444650;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.ctf-testimonial-slide__person span {
  color: var(--ctf-gold-dark, #B8960C);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.ctf-testimonial-slider__controls {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
}

.ctf-testimonial-slider__arrow {
  align-items: center;
  appearance: none;
  background: var(--ctf-navy-2, #002662);
  border: 0;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-size: 26px;
  font-weight: 800;
  height: 44px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
  width: 44px;
}

.ctf-testimonial-slider__arrow:hover,
.ctf-testimonial-slider__arrow:focus-visible {
  background: var(--ctf-red, #E02020);
  transform: translateY(-1px);
}

.ctf-testimonial-slider__dots {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  justify-content: center;
  min-width: 54px;
}

.ctf-testimonial-slider__dot {
  appearance: none;
  background: rgba(224, 32, 32, 0.28);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 9px;
  padding: 0;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, width 0.2s ease;
  width: 9px;
}

.ctf-testimonial-slider__dot.is-active {
  background: var(--ctf-red, #E02020);
  box-shadow: 0 0 0 4px rgba(224, 32, 32, 0.14);
  width: 22px;
}

.ctf-testimonial-slider__dot:hover,
.ctf-testimonial-slider__dot:focus-visible {
  background: var(--ctf-red, #E02020);
  outline: none;
  transform: translateY(-1px);
}

.ctf-strong-profile-shortcode,
.ctf-strong-profile-shortcode .elementor-shortcode {
  width: 100%;
}

.ctf-strong-profile-slider {
  background: transparent !important;
  margin: 0 auto !important;
  max-width: 840px !important;
  overflow: visible !important;
  text-align: center !important;
  width: 100% !important;
}

.ctf-strong-profile-slider .strong-content,
.ctf-strong-profile-slider .wpmslider-wrapper,
.ctf-strong-profile-slider .wpmslider-viewport {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.ctf-strong-profile-slider .wpmtst-testimonial {
  background: transparent !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ctf-strong-profile-slider .wpmtst-testimonial-inner {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  display: grid !important;
  gap: 8px !important;
  grid-template-columns: minmax(0, 1fr) !important;
  justify-content: center !important;
  justify-items: center !important;
  margin: 0 auto !important;
  max-width: 820px !important;
  padding: 0 18px !important;
  text-align: center !important;
}

.ctf-strong-profile-slider .wpmtst-testimonial-content {
  color: var(--ctf-navy-2, #002662) !important;
  font-family: var(--ctf-font-family, 'Suwannaphum', 'Inter', sans-serif) !important;
  font-size: clamp(18px, 2.1vw, 24px) !important;
  font-weight: 500 !important;
  grid-column: 1 / -1 !important;
  line-height: 1.9 !important;
  margin: 0 auto 22px !important;
  max-width: 780px !important;
  padding: 0 !important;
  text-align: center !important;
}

.ctf-strong-profile-slider .wpmtst-testimonial-heading {
  display: none !important;
}

.ctf-strong-profile-slider .wpmtst-testimonial-inner::before,
.ctf-strong-profile-slider .wpmtst-testimonial-inner::after,
.ctf-strong-profile-slider .wpmtst-testimonial-content::before,
.ctf-strong-profile-slider .wpmtst-testimonial-content::after {
  background: none !important;
  border: 0 !important;
  content: none !important;
  display: none !important;
}

.ctf-strong-profile-slider .wpmtst-testimonial-content p {
  margin: 0 !important;
}

.ctf-strong-profile-slider .wpmtst-testimonial-content p:first-of-type::before {
  content: "“";
}

.ctf-strong-profile-slider .wpmtst-testimonial-content p:last-of-type::after {
  content: "”";
}

.ctf-strong-profile-slider .wpmtst-testimonial-image {
  align-self: center !important;
  grid-column: 1 !important;
  grid-row: 2 !important;
  height: 68px !important;
  justify-self: center !important;
  margin: 0 auto 4px !important;
  width: 68px !important;
}

.ctf-strong-profile-slider .wpmtst-testimonial-image img {
  aspect-ratio: 1 / 1 !important;
  border: 0 !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  height: 68px !important;
  margin: 0 !important;
  max-width: none !important;
  object-fit: cover !important;
  padding: 0 !important;
  width: 68px !important;
}

.ctf-strong-profile-slider .wpmtst-testimonial-field {
  display: block !important;
  font-family: var(--ctf-font-family, 'Suwannaphum', 'Inter', sans-serif) !important;
  grid-column: 1 !important;
  justify-self: center !important;
  margin: 0 !important;
  max-width: 420px !important;
  text-align: center !important;
}

.ctf-strong-profile-slider .wpmtst-testimonial-name {
  align-self: center !important;
  color: #444650 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

.ctf-strong-profile-slider .wpmtst-testimonial-company {
  align-self: center !important;
  color: var(--ctf-gold-dark, #B8960C) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
}

.ctf-strong-profile-slider .wpmslider-controls {
  align-items: center !important;
  display: flex !important;
  gap: 14px !important;
  justify-content: center !important;
  margin: 28px 0 0 !important;
  position: static !important;
}

.ctf-strong-profile-slider .wpmslider-controls-direction {
  display: contents !important;
}

.ctf-strong-profile-slider .wpmslider-prev,
.ctf-strong-profile-slider .wpmslider-next {
  align-items: center !important;
  background: var(--ctf-red, #E02020) !important;
  border: 0 !important;
  border-radius: 4px !important;
  color: #ffffff !important;
  display: inline-flex !important;
  font-size: 0 !important;
  font-weight: 800 !important;
  height: 44px !important;
  justify-content: center !important;
  line-height: 1 !important;
  margin: 0 !important;
  opacity: 1 !important;
  position: static !important;
  text-decoration: none !important;
  transform: none !important;
  transition: background 0.2s ease, transform 0.2s ease !important;
  width: 44px !important;
}

.ctf-strong-profile-slider .wpmslider-prev::before,
.ctf-strong-profile-slider .wpmslider-next::before {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #ffffff !important;
  display: block !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 34px !important;
  font-weight: 700 !important;
  height: auto !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  text-indent: 0 !important;
  transform: none !important;
  width: auto !important;
}

.ctf-strong-profile-slider .wpmslider-prev::before {
  content: "‹" !important;
}

.ctf-strong-profile-slider .wpmslider-next::before {
  content: "›" !important;
}

.ctf-strong-profile-slider .wpmslider-prev:hover,
.ctf-strong-profile-slider .wpmslider-prev:focus-visible,
.ctf-strong-profile-slider .wpmslider-next:hover,
.ctf-strong-profile-slider .wpmslider-next:focus-visible {
  background: #C91515 !important;
  outline: 0 !important;
  transform: translateY(-1px) !important;
}

.ctf-strong-profile-slider .wpmslider-controls-direction .wpmslider-prev.disabled,
.ctf-strong-profile-slider .wpmslider-controls-direction .wpmslider-next.disabled {
  display: inline-flex !important;
  opacity: 1 !important;
  pointer-events: none !important;
}

.ctf-strong-profile-slider .wpmslider-pager {
  align-items: center !important;
  display: inline-flex !important;
  gap: 8px !important;
  justify-content: center !important;
  margin: 0 !important;
  min-width: 54px !important;
  order: 2 !important;
  padding: 0 !important;
}

.ctf-strong-profile-slider .wpmslider-pager-item {
  display: inline-flex !important;
  margin: 0 !important;
}

.ctf-strong-profile-slider .wpmslider-pager-link {
  background: rgba(224, 32, 32, 0.28) !important;
  border: 0 !important;
  border-radius: 999px !important;
  display: block !important;
  font-size: 0 !important;
  height: 9px !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-indent: -9999px !important;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, width 0.2s ease !important;
  width: 9px !important;
}

.ctf-strong-profile-slider .wpmslider-pager-link.active {
  background: var(--ctf-red, #E02020) !important;
  box-shadow: 0 0 0 4px rgba(224, 32, 32, 0.14) !important;
  width: 22px !important;
}

.ctf-strong-profile-slider .wpmslider-pager-link:hover,
.ctf-strong-profile-slider .wpmslider-pager-link:focus-visible {
  background: var(--ctf-red, #E02020) !important;
  outline: 0 !important;
  transform: translateY(-1px) !important;
}

.ctf-strong-profile-slider .wpmslider-prev {
  order: 1 !important;
}

.ctf-strong-profile-slider .wpmslider-next {
  order: 3 !important;
}

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

@media (max-width: 767px) {
  .ctf-testimonial-slide {
    padding: 0;
  }

  .ctf-testimonial-slide__quote {
    font-size: 17px;
    line-height: 1.8;
  }

  .ctf-testimonial-slide__person {
    text-align: left;
  }
}

.wpcf7-form label > br {
  display: none;
}

.wpcf7-form label > .wpcf7-form-control-wrap {
  display: block;
  margin-top: 10px;
}

.ctf-responsive-table,
.ctf-responsive-table .elementor-widget-container,
.ctf-responsive-table .elementor-shortcode {
  max-width: 100% !important;
  min-width: 0 !important;
}

.ctf-responsive-table .elementor-shortcode {
  overflow-x: auto !important;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.ctf-responsive-table .tablepress {
  width: 100% !important;
  min-width: 720px;
}

.ctf-responsive-table .tablepress th,
.ctf-responsive-table .tablepress td {
  white-space: normal;
}

.ctf-member-directory {
  width: 100%;
}

html.ctf-motion-ready #ctf-member-directory.ctf-motion-item,
body:not(.elementor-editor-active) #ctf-member-directory.elementor-invisible,
html.ctf-motion-ready #ctf-member-directory .ctf-motion-item,
body:not(.elementor-editor-active) #ctf-member-directory .elementor-invisible {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

#ctf-member-directory.animated,
#ctf-member-directory .animated {
  animation: none !important;
}

.ctf-member-directory__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.ctf-member-card {
  display: grid;
  grid-template-columns: minmax(220px, 42%) minmax(0, 1fr);
  min-height: 360px;
  background: #ffffff;
  border: 1px solid rgba(0, 38, 98, 0.08);
  border-left: 4px solid var(--ctf-gold, #c89b3c);
  box-shadow: 0 18px 48px rgba(0, 19, 57, 0.08);
  overflow: hidden;
}

.ctf-member-card[hidden] {
  display: none !important;
}

.ctf-member-card__media {
  display: block;
  min-height: 100%;
  overflow: hidden;
  position: relative;
  text-decoration: none !important;
}

.ctf-member-card__media::after {
  background: linear-gradient(180deg, rgba(0, 19, 57, 0) 45%, rgba(0, 19, 57, 0.18) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.ctf-member-card__media img {
  display: block;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
  width: 100%;
}

/* Shown when the card photo URL fails to load (e.g. an expired external/hotlinked
   image) instead of leaving the reserved 360px slot blank. */
.ctf-member-card__media--fallback {
  align-items: center;
  background: linear-gradient(160deg, var(--ctf-navy, #0B2A4A) 0%, var(--ctf-navy-2, #123B63) 100%);
  display: flex;
  justify-content: center;
  min-height: 360px;
}

.ctf-member-card__media--fallback::before {
  color: rgba(255, 255, 255, 0.85);
  content: attr(data-fallback-text);
  font-family: Suwannaphum, sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0 24px;
  text-align: center;
}

.ctf-member-card:hover .ctf-member-card__media img {
  transform: scale(1.035);
}

.ctf-member-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 32px;
}

.ctf-member-card__head {
  align-items: flex-start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 30px;
}

.ctf-member-card__logo {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(0, 38, 98, 0.12);
  box-shadow: 0 10px 28px rgba(0, 19, 57, 0.08);
  display: inline-flex;
  flex: 0 0 auto;
  height: 68px;
  justify-content: center;
  padding: 10px;
  width: 84px;
}

.ctf-member-card__logo img {
  display: block;
  max-height: 48px;
  max-width: 64px;
  object-fit: contain;
}

.ctf-member-card__logo-fallback {
  color: var(--ctf-navy, #001339);
  display: inline-flex;
  font: 900 13px/1.1 "Inter", sans-serif;
  letter-spacing: 0;
  text-align: center;
}

.ctf-member-card__logo img + .ctf-member-card__logo-fallback {
  display: none;
}

.ctf-member-card__logo--text {
  background: var(--ctf-navy, #001339);
  color: var(--ctf-white, #ffffff);
  font: 900 14px/1.1 "Inter", sans-serif;
  letter-spacing: 0;
  text-align: center;
}

.ctf-member-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin: 0;
}

.ctf-member-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 7px 13px;
  border: 0;
  font: 800 12px/1.2 "Inter", "Suwannaphum", sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ctf-member-card__badge--gold {
  color: var(--ctf-navy, #001339);
  background: var(--ctf-gold, #c89b3c);
}

.ctf-member-card__badge--navy {
  color: var(--ctf-white, #ffffff);
  background: var(--ctf-navy, #001339);
}

.ctf-member-card h3 {
  margin: 0 0 20px;
  color: var(--ctf-navy-2, #002662);
  font-family: "Inter", "Suwannaphum", sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
}

.ctf-member-card__description {
  color: rgba(47, 55, 71, 0.84);
  font: 600 15px/1.7 "Inter", "Suwannaphum", sans-serif;
  margin: 0 0 28px;
}

.ctf-member-directory__load {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  color: var(--ctf-white, #ffffff) !important;
  background: var(--ctf-red, #e02020);
  border: 0;
  font: 800 14px/1.2 "Inter", "Suwannaphum", sans-serif;
  letter-spacing: 0;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.ctf-member-card__link {
  align-items: center;
  align-self: flex-start;
  background: transparent !important;
  color: var(--ctf-red, #e02020) !important;
  display: inline-flex;
  font: 800 14px/1.2 "Inter", "Suwannaphum", sans-serif;
  letter-spacing: 0;
  padding: 0;
  text-decoration: none !important;
  transition: color 0.2s ease, transform 0.2s ease;
}

.ctf-member-card__link::after {
  content: "↗";
  margin-left: 8px;
  font-size: 13px;
}

.ctf-member-card__link:hover,
.ctf-member-card__link:focus-visible {
  color: #b81818 !important;
  transform: translateX(2px);
}

.ctf-member-directory__load:hover,
.ctf-member-directory__load:focus-visible {
  color: var(--ctf-white, #ffffff) !important;
  background: #b81818;
  transform: translateY(-1px);
}

.ctf-member-card__link:focus-visible,
.ctf-member-directory__load:focus-visible {
  outline: 3px solid rgba(224, 32, 32, 0.26);
  outline-offset: 3px;
}

.ctf-member-directory__actions {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.ctf-member-directory__load {
  min-width: 220px;
}

.ctf-member-directory__load[hidden] {
  display: none !important;
}

@media (max-width: 1024px) {
  .ctf-member-directory__grid {
    grid-template-columns: 1fr;
  }

  .ctf-member-card {
    grid-template-columns: minmax(220px, 38%) minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  #ctf-member-directory > .e-con-inner {
    padding-top: 56px !important;
    padding-bottom: 64px !important;
  }

  #ctf-member-directory h2.elementor-heading-title {
    font-size: 34px !important;
    line-height: 1.2 !important;
  }

  #ctf-member-directory h6.elementor-heading-title {
    letter-spacing: 0 !important;
  }

  .ctf-member-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .ctf-member-card__media,
  .ctf-member-card__media img {
    min-height: 220px;
  }

  .ctf-member-card__content {
    padding: 24px;
  }

  .ctf-member-card__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
  }

  .ctf-member-card__logo {
    height: 62px;
    width: 78px;
  }

  .ctf-member-card__badges {
    gap: 8px;
    justify-content: flex-start;
  }

  .ctf-member-card h3 {
    font-size: 25px;
  }

  .ctf-member-directory__load {
    width: 100%;
  }
}

.ctf-article-title .elementor-heading-title {
  overflow-wrap: anywhere;
}

.ctf-article-grid {
  width: 100%;
}

.ctf-article-grid__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.ctf-article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  min-height: 520px;
}

.ctf-news-click-card {
  cursor: pointer;
}

.ctf-news-click-card:focus-visible {
  outline: 3px solid rgba(224, 32, 32, 0.35);
  outline-offset: 4px;
}

.ctf-news-click-card a,
.ctf-news-click-card button {
  cursor: pointer;
}

.ctf-article-card__media {
  display: block;
  flex: 0 0 auto;
  height: 230px;
  overflow: hidden;
}

.ctf-article-card .ctf-card__img {
  aspect-ratio: auto;
  height: 100% !important;
  min-height: 0;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.ctf-article-card:hover .ctf-card__img {
  transform: scale(1.04);
}

.ctf-article-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 290px;
}

.ctf-article-card .ctf-card__cat {
  align-self: flex-start;
  display: inline-flex;
  max-width: 100%;
  width: fit-content;
}

.ctf-article-card .ctf-card__title a {
  color: inherit;
  text-decoration: none;
}

.ctf-article-card .ctf-card__title a:hover {
  color: var(--ctf-red, #E02020);
}

.ctf-article-card .ctf-card__link {
  margin-top: auto;
}

.ctf-article-card--new {
  animation: ctfArticleCardIn 360ms ease both;
}

.ctf-event-query {
  width: 100%;
}

.ctf-event-card--new {
  animation: ctfArticleCardIn 360ms ease both;
}

.ctf-gallery-query {
  width: 100%;
}

.ctf-gallery-item--new {
  animation: ctfArticleCardIn 360ms ease both;
}

.ctf-event-query__actions {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.ctf-event-query__load {
  background: transparent !important;
  border: 2px solid var(--ctf-navy-2, #002662) !important;
  color: var(--ctf-navy-2, #002662) !important;
  cursor: pointer;
  min-height: 52px;
  min-width: 220px;
  padding: 0 28px !important;
}

.ctf-event-query__load:hover {
  background: var(--ctf-navy-2, #002662) !important;
  color: #ffffff !important;
}

.ctf-event-query__load:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.ctf-event-query__load.is-finished {
  background: var(--ctf-navy-2, #002662) !important;
  color: #ffffff !important;
}

.ctf-gallery-query__actions {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.ctf-gallery-query__load {
  align-items: center !important;
  background: var(--ctf-red, #e02020) !important;
  border: 2px solid var(--ctf-red, #e02020) !important;
  border-radius: 3px !important;
  box-shadow: 0 14px 26px rgba(224, 32, 32, 0.18);
  color: #ffffff !important;
  cursor: pointer;
  display: inline-flex !important;
  font-weight: 700 !important;
  justify-content: center !important;
  letter-spacing: 0 !important;
  line-height: 1.3 !important;
  min-height: 56px;
  min-width: 320px;
  padding: 0 32px !important;
  text-decoration: none !important;
  text-transform: none !important;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ctf-gallery-query__load .elementor-button-content-wrapper {
  align-items: center !important;
  display: flex !important;
  justify-content: center !important;
  min-height: inherit;
  width: 100%;
}

.ctf-gallery-query__load .elementor-button-text {
  display: block;
  line-height: 1.3 !important;
  text-align: center;
}

.ctf-gallery-query__load .elementor-button-text::after {
  content: "→";
  display: inline-block;
  margin-left: 10px;
  transform: translateY(-1px);
}

.ctf-gallery-query__load:hover {
  background: var(--ctf-navy-2, #002662) !important;
  border-color: var(--ctf-navy-2, #002662) !important;
  box-shadow: 0 16px 30px rgba(0, 38, 98, 0.2);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.ctf-gallery-query__load:disabled {
  cursor: not-allowed;
  opacity: 0.82;
}

.ctf-gallery-query__load.is-finished {
  background: var(--ctf-navy-2, #002662) !important;
  border-color: var(--ctf-navy-2, #002662) !important;
}

.ctf-gallery-query__load.is-finished .elementor-button-text::after {
  content: "";
  margin-left: 0;
}

.ctf-gallery-archive-cta {
  min-height: 600px;
  overflow: visible;
}

.ctf-gallery-archive-card {
  backdrop-filter: blur(4px);
}

.ctf-gallery-archive-actions {
  flex-wrap: wrap !important;
}

@media (max-width: 640px) {
  .ctf-gallery-query__load {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .ctf-gallery-archive-cta {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  .ctf-gallery-archive-copy,
  .ctf-gallery-archive-card {
    width: 100% !important;
  }

  .ctf-gallery-archive-actions {
    align-items: stretch !important;
    flex-direction: column !important;
    width: 100%;
  }

  .ctf-gallery-archive-actions .elementor-button-wrapper,
  .ctf-gallery-archive-actions .elementor-button {
    width: 100% !important;
  }
}

.ctf-event-query__actions--view-all {
  margin-top: 28px;
}

.ctf-event-query__view-all {
  align-items: center !important;
  background: var(--ctf-red, #e02020) !important;
  border: 2px solid var(--ctf-red, #e02020) !important;
  color: #ffffff !important;
  display: inline-flex !important;
  justify-content: center !important;
  line-height: 1.3 !important;
  min-height: 52px;
  min-width: 220px;
  padding: 0 28px !important;
  text-decoration: none !important;
}

.ctf-event-query__view-all .elementor-button-content-wrapper {
  align-items: center !important;
  display: flex !important;
  justify-content: center !important;
  min-height: inherit;
  width: 100%;
}

.ctf-event-query__view-all .elementor-button-text {
  display: block;
  line-height: 1.3 !important;
  text-align: center;
}

html.ctf-lang-kh .ctf-event-query__view-all .elementor-button-text {
  transform: translateY(2px);
}

.ctf-event-query__view-all:hover {
  background: var(--ctf-navy-2, #002662) !important;
  border-color: var(--ctf-navy-2, #002662) !important;
  color: #ffffff !important;
}

@media (max-width: 640px) {
  .ctf-event-query__view-all {
    min-width: 0;
    width: 100%;
  }
}

.ctf-external-event-calendar .elementor-shortcode {
  background: #ffffff;
  border: 1px solid #c4c6d1;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 19, 57, 0.06);
  overflow: hidden;
  width: 100%;
}

.ctf-external-event-calendar .eo-fullcalendar-loading {
  align-items: center;
  color: var(--ctf-navy-2, #002662);
  display: flex;
  font-size: 14px;
  font-weight: 700;
  gap: 10px;
  min-height: 76px;
  padding: 22px 24px;
}

.ctf-external-event-calendar .eo-fullcalendar {
  color: #444650;
  font-family: var(--ctf-brand-font, 'Suwannaphum', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
  min-height: 620px;
  padding: 0;
}

.ctf-external-event-calendar .fc-header {
  border-bottom: 1px solid #eeeeee;
  min-height: 96px;
  width: 100%;
}

.ctf-external-event-calendar .fc-toolbar {
  align-items: center;
  border-bottom: 1px solid #eeeeee;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(160px, 1fr) minmax(0, 1.5fr) minmax(160px, 1fr);
  margin: 0;
  min-height: 96px;
  padding: 22px 24px;
}

.ctf-external-event-calendar .fc-toolbar .fc-left {
  grid-column: 1;
  justify-self: start;
}

.ctf-external-event-calendar .fc-toolbar .fc-center {
  grid-column: 2;
  justify-self: center;
}

.ctf-external-event-calendar .fc-toolbar .fc-right {
  grid-column: 3;
  justify-self: end;
}

.ctf-external-event-calendar .fc-header td {
  padding: 22px 24px;
  vertical-align: middle;
}

.ctf-external-event-calendar .fc-header-title h2,
.ctf-external-event-calendar .fc-center h2 {
  color: var(--ctf-navy-2, #002662);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  text-align: center;
}

.ctf-external-event-calendar .fc-button {
  background: #ffffff !important;
  border: 1px solid #c4c6d1 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--ctf-navy-2, #002662) !important;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  height: 36px;
  letter-spacing: 0.7px;
  line-height: 34px;
  margin-right: 8px;
  padding: 0 16px;
  text-transform: uppercase;
}

.ctf-external-event-calendar .fc-button-prev,
.ctf-external-event-calendar .fc-button-next,
.ctf-external-event-calendar .fc-prev-button,
.ctf-external-event-calendar .fc-next-button {
  align-items: center;
  border-color: transparent !important;
  display: inline-flex;
  font-size: 18px;
  justify-content: center;
  padding: 0 8px;
  width: 34px;
}

.ctf-external-event-calendar .fc-icon {
  color: var(--ctf-navy-2, #002662);
  font-size: 18px;
  line-height: 1;
}

.ctf-external-event-calendar .fc-button:hover,
.ctf-external-event-calendar .fc-state-hover {
  background: #f5f7fa !important;
  border-color: var(--ctf-navy-2, #002662) !important;
  color: var(--ctf-navy-2, #002662) !important;
}

.ctf-external-event-calendar .fc-widget-header {
  background: #f5f7fa;
  border-color: #eeeeee !important;
  color: var(--ctf-navy-2, #002662);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 14px 8px;
  text-align: center;
  text-transform: uppercase;
}

.ctf-external-event-calendar .fc-view-container table {
  margin: 0;
}

.ctf-external-event-calendar .fc-border-separate,
.ctf-external-event-calendar .fc-border-separate th,
.ctf-external-event-calendar .fc-border-separate td {
  border-color: #eeeeee !important;
}

.ctf-external-event-calendar .fc-basic-view td.fc-day-number,
.ctf-external-event-calendar .fc-basic-view td.fc-week-number span {
  padding-top: 10px;
  padding-right: 10px;
}

.ctf-external-event-calendar .fc-day,
.ctf-external-event-calendar .fc-widget-content {
  background: #ffffff;
}

.ctf-external-event-calendar .fc-other-month {
  background: #fcfcfd;
}

.ctf-external-event-calendar .fc-day-number {
  color: #344154;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 10px 16px;
}

.ctf-external-event-calendar .fc-other-month .fc-day-number {
  color: #aab0bc;
}

.ctf-external-event-calendar .fc-state-highlight {
  background: #fff7d8 !important;
}

.ctf-external-event-calendar .fc-event {
  border: 0 !important;
  border-radius: 4px !important;
  box-shadow: 0 1px 4px rgba(0, 19, 57, 0.12);
  color: #ffffff !important;
  cursor: pointer;
  font-size: 11px;
  line-height: 1.25;
  margin: 2px 6px;
  overflow: hidden;
  padding: 4px 6px;
  text-decoration: none !important;
  transition: filter 0.18s ease, transform 0.18s ease;
}

.ctf-external-event-calendar .fc-event:hover,
.ctf-external-event-calendar .fc-event:focus {
  filter: brightness(0.94);
  transform: translateY(-1px);
}

.ctf-external-event-calendar .fc-event-title,
.ctf-external-event-calendar .fc-event-time {
  color: inherit !important;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ctf-external-event-calendar .eo-fullcalendar-key {
  border-top: 1px solid #eeeeee;
  padding: 18px 24px;
}

.ctf-external-event-calendar .eo_fullcalendar_key {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ctf-external-event-calendar .eo_fullcalendar_key_cat {
  align-items: center;
  color: #444650;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 7px;
}

.ctf-external-event-calendar .eo_fullcalendar_key_colour {
  border-radius: 999px;
  display: inline-block;
  height: 9px;
  padding: 0 !important;
  width: 9px;
}

.qtip.eo-qtip,
.qtip.eo-tooltip {
  border-color: #c4c6d1 !important;
  border-radius: 8px !important;
  box-shadow: 0 16px 40px rgba(0, 19, 57, 0.16) !important;
  color: #444650 !important;
  font-family: var(--ctf-brand-font, 'Suwannaphum', 'Inter', system-ui, sans-serif) !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

@media (max-width: 900px) {
  .ctf-external-event-calendar .elementor-shortcode {
    overflow-x: auto;
  }

  .ctf-external-event-calendar .eo-fullcalendar {
    min-width: 760px;
  }
}

@media (max-width: 640px) {
  .ctf-external-event-calendar .fc-toolbar {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .ctf-external-event-calendar .fc-toolbar .fc-left,
  .ctf-external-event-calendar .fc-toolbar .fc-center,
  .ctf-external-event-calendar .fc-toolbar .fc-right {
    grid-column: auto;
    justify-self: start;
  }

  .ctf-external-event-calendar .fc-toolbar .fc-center {
    order: -1;
  }
}

.ctf-article-grid__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
}

.ctf-article-grid__load {
  border: 0;
  cursor: pointer;
  min-width: 180px;
  background: var(--ctf-red, #E02020) !important;
  color: #FFFFFF !important;
}

.ctf-article-grid__load:hover {
  background: var(--ctf-red-dark, #b81818) !important;
}

.ctf-article-grid__load:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.ctf-article-grid__load.is-finished {
  background: var(--ctf-navy-2, #002662) !important;
}

.ctf-article-grid__status,
.ctf-article-grid__empty {
  min-height: 20px;
  margin: 0;
  color: #444650;
  font-size: 13px;
  text-align: center;
}

@keyframes ctfArticleCardIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ctf-managed-list,
.ctf-managed-grid,
.ctf-managed-gallery-grid {
  width: 100%;
}

.ctf-managed-list {
  display: grid;
  gap: 24px;
}

.ctf-managed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ctf-managed-empty {
  color: #444650;
  margin: 0;
  text-align: center;
}

.ctf-managed-notices {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ctf-managed-notice {
  color: #444650;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  padding-left: 22px;
  position: relative;
}

.ctf-managed-notice::before {
  background: var(--ctf-red, #e02020);
  border-radius: 2px;
  content: '';
  height: 9px;
  left: 0;
  position: absolute;
  top: 0.42em;
  width: 9px;
}

.ctf-managed-notices--dark .ctf-managed-notice,
.ctf-managed-notices--dark .ctf-managed-notice a {
  color: rgba(255, 255, 255, 0.9);
}

.ctf-managed-notice a {
  color: inherit;
  text-decoration: none;
}

.ctf-managed-notice a:hover {
  color: var(--ctf-gold-2, #fcca66);
}

.ctf-managed-documents-compact {
  display: grid;
  gap: 22px;
}

.ctf-managed-document-compact {
  align-items: flex-start;
  display: flex;
  gap: 16px;
}

.ctf-managed-document-compact__media {
  background: #eff3ff;
  display: block;
  flex: 0 0 64px;
  height: 64px;
  overflow: hidden;
  width: 64px;
}

.ctf-managed-document-compact__image {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
  width: 100%;
}

a.ctf-managed-document-compact__media:hover .ctf-managed-document-compact__image {
  transform: scale(1.06);
}

.ctf-managed-document-compact__icon {
  border: 2px solid var(--ctf-red, #e02020);
  border-radius: 3px;
  box-sizing: border-box;
  flex: 0 0 24px;
  height: 29px;
  margin-top: 2px;
  position: relative;
  width: 24px;
}

.ctf-managed-document-compact__icon::before {
  border-left: 7px solid transparent;
  border-top: 7px solid var(--ctf-red, #e02020);
  content: '';
  position: absolute;
  right: -2px;
  top: -2px;
}

.ctf-managed-document-compact__icon::after {
  background: var(--ctf-red, #e02020);
  box-shadow: 0 6px 0 var(--ctf-red, #e02020), 0 12px 0 var(--ctf-red, #e02020);
  content: '';
  height: 2px;
  left: 5px;
  position: absolute;
  top: 10px;
  width: 11px;
}

.ctf-managed-document-compact__body {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.ctf-managed-document-compact strong {
  color: var(--ctf-navy-2, #002662);
  font-size: 16px;
  line-height: 1.35;
}

.ctf-managed-document-compact a {
  color: var(--ctf-red, #e02020);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.ctf-managed-document-compact a:hover {
  color: var(--ctf-gold, #c89b3c);
}

.ctf-managed-button {
  align-items: center;
  background: #003b8e;
  color: #ffffff !important;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 1px;
  min-height: 44px;
  padding: 12px 22px;
  text-decoration: none !important;
  text-transform: uppercase;
}

.ctf-managed-link,
.ctf-managed-link:visited {
  color: var(--ctf-red, #e02020);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
}

.ctf-managed-spotlight {
  background: #ffffff;
  border: 1px solid #d6dae5;
  border-radius: 6px;
  box-sizing: border-box;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  max-width: 1100px !important;
  overflow: hidden;
  width: 100% !important;
}

.ctf-managed-spotlight__media {
  display: block;
  height: 350px;
  min-height: 350px;
  min-width: 0;
  width: 100%;
}

.ctf-managed-spotlight__media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.ctf-managed-spotlight__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 350px;
  min-width: 0;
  padding: 32px;
}

.ctf-managed-eyebrow {
  color: var(--ctf-gold, #c89b3c);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.ctf-managed-spotlight h3,
.ctf-managed-calendar__item h3,
.ctf-managed-event-card h3,
.ctf-managed-ind-row h3 {
  color: var(--ctf-navy-2, #002662);
  font-size: 20px;
  line-height: 1.35;
  margin: 0 0 12px;
}

.ctf-managed-spotlight p,
.ctf-managed-event-card p,
.ctf-managed-ind-row p,
.ctf-managed-calendar__item p {
  color: #444650;
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.ctf-managed-meta {
  color: #444650;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 8px 18px;
  margin-bottom: 24px;
}

.ctf-managed-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.ctf-managed-event-card {
  align-items: stretch;
  background: #ffffff;
  border: 1px solid #c4c6d1;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  overflow: hidden;
}

.ctf-managed-spotlight,
.ctf-managed-ind-row,
.ctf-managed-calendar__item {
  cursor: pointer;
}

.ctf-event-title-link {
  color: inherit;
  text-decoration: none;
}

.ctf-event-title-link:hover,
.ctf-managed-event-card:hover .ctf-event-title-link,
.ctf-managed-spotlight:hover .ctf-event-title-link,
.ctf-managed-calendar__item:hover .ctf-event-title-link {
  color: #e02020;
}

.single-event .page-header,
.single-event .entry-title {
  display: none !important;
}

.single-event .site-main,
.single-event main.site-main {
  max-width: none !important;
  padding: 0 !important;
}

.single-event .site-main > article,
.single-event .site-main .post {
  margin: 0 !important;
}

.ctf-eo-detail {
  background: #ffffff;
  color: var(--ctf-navy-2, #002662);
  font-family: var(--ctf-brand-font, 'Suwannaphum', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
}

.ctf-eo-detail-hero {
  align-items: center;
  background-image: linear-gradient(90deg, rgba(0, 19, 57, 0.82), rgba(0, 38, 98, 0.48)), var(--ctf-eo-hero);
  background-position: center;
  background-size: cover;
  display: flex;
  min-height: 430px;
  padding: 86px 24px;
}

.ctf-eo-detail-hero__inner {
  margin: 0 auto;
  max-width: 1180px;
  width: 100%;
}

.ctf-eo-detail-eyebrow {
  background: rgba(200, 155, 60, 0.78);
  color: #ffffff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  padding: 8px 18px;
  text-transform: uppercase;
}

.ctf-eo-detail-hero h1 {
  color: #ffffff;
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 22px;
  max-width: 900px;
}

.ctf-eo-detail-hero__meta,
.ctf-eo-detail-stats {
  display: grid;
  gap: 14px;
}

.ctf-eo-detail-hero__meta {
  grid-template-columns: repeat(2, minmax(180px, 260px));
  margin-bottom: 28px;
}

.ctf-eo-detail-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.ctf-eo-detail-button {
  align-items: center;
  background: var(--ctf-gold, #c89b3c);
  border: 1px solid var(--ctf-gold, #c89b3c);
  color: #ffffff !important;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 1.2px;
  min-height: 46px;
  padding: 13px 26px;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.ctf-eo-detail-button:hover {
  background: var(--ctf-red, #e02020);
  border-color: var(--ctf-red, #e02020);
  transform: translateY(-1px);
}

.ctf-eo-detail-button--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
}

.ctf-eo-detail-main {
  padding: 72px 24px 92px;
}

.ctf-eo-detail-layout {
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 1fr) 360px;
  margin: 0 auto;
  max-width: 1180px;
}

.ctf-eo-detail-content,
.ctf-eo-detail-sidebar {
  min-width: 0;
}

.ctf-eo-detail-info-card {
  background: #ffffff;
  box-shadow: 0 22px 55px rgba(0, 19, 57, 0.12);
  margin-bottom: 46px;
}

.ctf-eo-detail-info-card img {
  aspect-ratio: 16 / 8.5;
  display: block;
  object-fit: cover;
  width: 100%;
}

.ctf-eo-detail-stats {
  background: #f3f5f8;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 22px;
}

.ctf-eo-detail-meta__item span {
  color: #5d6470;
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.3px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.ctf-eo-detail-meta__item strong {
  color: var(--ctf-navy-2, #002662);
  display: block;
  font-size: 15px;
  line-height: 1.35;
}

.ctf-eo-detail-venue-link {
  color: inherit !important;
  text-decoration: underline;
  text-decoration-color: var(--ctf-gold, #c89b3c);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.ctf-eo-detail-venue-link:hover,
.ctf-eo-detail-venue-link:focus-visible {
  color: var(--ctf-red, #e02020) !important;
  text-decoration-color: currentColor;
}

.ctf-eo-detail-hero .ctf-eo-detail-venue-link:hover,
.ctf-eo-detail-hero .ctf-eo-detail-venue-link:focus-visible {
  color: var(--ctf-gold-2, #fcca66) !important;
}

.ctf-eo-detail-hero__meta .ctf-eo-detail-meta__item span,
.ctf-eo-detail-hero__meta .ctf-eo-detail-meta__item strong {
  color: #ffffff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.22);
}

.ctf-eo-detail-section {
  margin-bottom: 46px;
}

.ctf-eo-detail-section-title {
  border-left: 4px solid var(--ctf-gold, #c89b3c);
  margin-bottom: 22px;
  padding-left: 16px;
}

.ctf-eo-detail-section-title span {
  color: var(--ctf-red, #e02020);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.ctf-eo-detail-section-title h2 {
  color: var(--ctf-navy-2, #002662);
  font-size: 30px;
  line-height: 1.2;
  margin: 0;
}

.ctf-eo-detail-copy {
  color: #4f5560;
  font-size: 16px;
  line-height: 1.9;
  max-width: 760px;
}

.ctf-eo-detail-copy p {
  margin: 0 0 18px;
}

.ctf-eo-detail-partner-list {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
}

.ctf-eo-detail-partner {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d9dde6;
  display: flex;
  justify-content: center;
  min-height: 104px;
  padding: 18px;
  text-decoration: none !important;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ctf-eo-detail-partner:hover {
  border-color: var(--ctf-gold, #c89b3c);
  box-shadow: 0 16px 36px rgba(0, 19, 57, 0.1);
  transform: translateY(-1px);
}

.ctf-eo-detail-partner__logo {
  display: block;
  max-height: 64px;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.ctf-eo-detail-schedule {
  display: grid;
  gap: 16px;
  margin: 0;
  max-width: 820px;
  padding: 0;
}

.ctf-eo-detail-schedule-day {
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(0, 19, 57, 0.06);
}

.ctf-eo-detail-schedule-day[open] {
  box-shadow: 0 18px 42px rgba(0, 19, 57, 0.08);
}

.ctf-eo-detail-schedule-day summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  list-style: none;
  min-height: 74px;
  padding: 24px 28px;
}

.ctf-eo-detail-schedule-day summary::-webkit-details-marker {
  display: none;
}

.ctf-eo-detail-schedule-day__label {
  background: #faf6ec;
  color: var(--ctf-gold, #c89b3c);
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.4px;
  padding: 6px 12px;
}

.ctf-eo-detail-schedule-day__icon {
  color: var(--ctf-navy-2, #002662);
  display: inline-flex;
  height: 18px;
  position: relative;
  width: 18px;
}

.ctf-eo-detail-schedule-day__icon::before {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  height: 8px;
  left: 4px;
  position: absolute;
  top: 2px;
  transform: rotate(45deg);
  transition: transform 180ms ease, top 180ms ease;
  width: 8px;
}

.ctf-eo-detail-schedule-day[open] .ctf-eo-detail-schedule-day__icon {
  color: var(--ctf-gold, #c89b3c);
}

.ctf-eo-detail-schedule-day[open] .ctf-eo-detail-schedule-day__icon::before {
  top: 7px;
  transform: rotate(225deg);
}

.ctf-eo-detail-schedule-day__body {
  padding: 0 28px 24px;
}

.ctf-eo-detail-schedule-day__items {
  display: grid;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ctf-eo-detail-schedule__item {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(150px, max-content) minmax(0, 1fr);
}

.ctf-eo-detail-schedule__time {
  color: var(--ctf-navy, #001339);
  display: block;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
  padding-top: 1px;
  white-space: nowrap;
}

.ctf-eo-detail-schedule__body {
  display: grid;
  gap: 4px;
  padding: 0;
}

.ctf-eo-detail-schedule__body strong {
  color: var(--ctf-navy-2, #002662);
  font-size: 17px;
  line-height: 1.4;
}

.ctf-eo-detail-schedule__body em {
  color: #5d6470;
  font-size: 14px;
  font-style: normal;
  line-height: 1.55;
}

.ctf-eo-detail-sidebar {
  display: grid;
  gap: 24px;
  align-self: start;
}

.ctf-eo-detail-reserve {
  background: var(--ctf-navy, #001339);
  color: #ffffff;
  padding: 34px;
}

.ctf-eo-detail-reserve h2,
.ctf-eo-detail-side-card h3 {
  margin: 0 0 14px;
}

.ctf-eo-detail-reserve h2 {
  color: #ffffff;
  font-size: 24px;
}

.ctf-eo-detail-reserve p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  margin: 0 0 22px;
}

.ctf-eo-detail-reserve .ctf-eo-detail-button {
  width: 100%;
}

.ctf-eo-detail-side-card {
  border: 1px solid #d9dde6;
  padding: 28px;
}

.ctf-eo-detail-side-card h3 {
  color: var(--ctf-navy-2, #002662);
  font-size: 20px;
}

.ctf-eo-detail-side-card ul {
  display: grid;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ctf-eo-detail-side-card li strong {
  color: var(--ctf-red, #e02020);
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.ctf-eo-detail-side-card li span {
  color: #4f5560;
  display: block;
  font-size: 15px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.ctf-eo-detail-organizer {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 64px minmax(0, 1fr);
}

.ctf-eo-detail-organizer__logo {
  display: block;
  max-height: 58px;
  max-width: 64px;
  object-fit: contain;
  width: 100%;
}

.ctf-eo-detail-organizer__body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.ctf-eo-detail-organizer__body span {
  color: #4f5560;
  font-size: 14px;
  line-height: 1.3;
}

.ctf-eo-detail-organizer__body strong {
  color: var(--ctf-navy-2, #002662);
  display: block;
  font-size: 16px;
  line-height: 1.35;
}

.ctf-eo-detail-organizer__body a {
  color: var(--ctf-gold, #c89b3c) !important;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none !important;
}

.ctf-eo-detail-organizer__body a:hover {
  color: var(--ctf-red, #e02020) !important;
}

.ctf-eo-detail-share {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ctf-eo-detail-share a {
  background: var(--ctf-navy-2, #002662);
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 10px 12px;
  text-decoration: none !important;
  text-transform: uppercase;
}

.ctf-eo-detail-related {
  background: #faf6ec;
  margin: 50px auto 0;
  max-width: 1180px;
  padding: 44px;
}

.ctf-eo-detail-empty {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(0, 38, 98, 0.1);
  color: #5d6470;
  line-height: 1.7;
  margin: 0;
  padding: 18px 20px;
}

.ctf-eo-detail-calendar {
  margin: 52px auto 0;
  max-width: 1180px;
}

.ctf-eo-detail-calendar__frame {
  background: #ffffff;
  border: 1px solid #d9dde6;
  box-shadow: 0 22px 55px rgba(0, 19, 57, 0.08);
  padding: 26px;
}

.ctf-eo-detail-related__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ctf-eo-detail-related-card {
  background: #ffffff;
  border: 1px solid #d9dde6;
  color: var(--ctf-navy-2, #002662) !important;
  display: grid;
  gap: 10px;
  padding: 24px;
  text-decoration: none !important;
  transition: border-color 180ms ease, transform 180ms ease;
}

.ctf-eo-detail-related-card:hover {
  border-color: var(--ctf-gold, #c89b3c);
  transform: translateY(-2px);
}

/* ---------------------------------------------------------------------------
   Real-data news: categories sidebar, recent posts, filter pills, archive
   ([ctf_categories] / [ctf_recent_posts] / [ctf_news_filter] + category archive)
   --------------------------------------------------------------------------- */
/* Sidebar boxes sit in a flex-gap column on the article page — drop the legacy bottom margin */
.ctf-sidebar { margin-bottom: 0; }
/* Categories list links — box itself styled by .ctf-sidebar in ctf-site-style.css */
.ctf-sidebar__list li a {
  color: inherit;
  text-decoration: none;
  flex: 1;
}
.ctf-sidebar__list li:hover,
.ctf-sidebar__list li a:hover {
  color: var(--ctf-red, #E02020);
}

/* Recent posts rows */
.ctf-sidebar__recent { list-style: none; margin: 0; padding: 0; }
.ctf-sidebar__recent-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #F5F7FA;
}
.ctf-sidebar__recent-item:first-child { padding-top: 0; }
.ctf-sidebar__recent-item:last-child { border-bottom: 0; padding-bottom: 0; }
.ctf-sidebar__recent-thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  display: block;
  overflow: hidden;
  border-radius: 2px;
}
.ctf-sidebar__recent-thumb img { width: 64px; height: 64px; object-fit: cover; display: block; }
.ctf-sidebar__recent-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ctf-sidebar__recent-title {
  color: var(--ctf-navy-2, #002662);
  font-family: 'Suwannaphum', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}
.ctf-sidebar__recent-title:hover { color: var(--ctf-red, #E02020); }
.ctf-sidebar__recent-date { color: #888; font-size: 11px; }

/* News filter pills (real categories) */
.ctf-news-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ctf-news-filter__pill {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 2px;
  background: #EFF3FB;
  color: var(--ctf-navy-2, #002662);
  font-family: 'Suwannaphum', 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}
.ctf-news-filter__pill:hover { background: var(--ctf-gold-2, #FCCA66); color: var(--ctf-navy-2, #002662); }
.ctf-news-filter__pill.is-active { background: var(--ctf-navy-2, #002662); color: #ffffff; }

/* Styled category archive (/category/{slug}/) */
.ctf-archive-header {
  background: var(--ctf-navy-2, #002662);
  color: #ffffff;
  padding: 64px 24px 56px;
}
.ctf-archive-header__inner { max-width: 1280px; margin: 0 auto; }
.ctf-archive-header__eyebrow {
  color: var(--ctf-gold-2, #FCCA66);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.ctf-archive-header__title {
  color: #ffffff;
  font-family: 'Suwannaphum', 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  margin: 10px 0 8px;
}
.ctf-archive-header__meta { color: rgba(255,255,255,0.8); font-size: 14px; margin: 0 0 6px; }
.ctf-archive-header__desc {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 0 8px;
}
.ctf-archive-header__back { color: var(--ctf-gold-2, #FCCA66); font-size: 13px; font-weight: 700; text-decoration: none; }
.ctf-archive-header__back:hover { color: #ffffff; }
.ctf-archive-body { max-width: 1280px; margin: 0 auto; padding: 56px 24px 80px; }

/* Styled single posts (normal wp-admin -> Posts articles) */
.ctf-single-post {
  background: #ffffff;
  color: var(--ctf-navy-4, #121C2A);
  font-family: var(--ctf-font-family, 'Suwannaphum', 'Inter', sans-serif);
  overflow: hidden;
}

.ctf-single-hero {
  background:
    linear-gradient(90deg, rgba(0, 19, 57, 0.92), rgba(0, 38, 98, 0.75)),
    var(--ctf-single-hero-image, linear-gradient(135deg, #001339, #002662));
  background-position: center;
  background-size: cover;
  color: #ffffff;
  min-height: 460px;
  padding: 118px 24px 86px;
}

.ctf-single-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.ctf-single-hero__eyebrow,
.ctf-single-related__eyebrow {
  background: var(--ctf-red, #E02020);
  color: #ffffff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  line-height: 1;
  padding: 9px 13px;
  text-transform: uppercase;
}

.ctf-single-hero__title {
  color: #ffffff;
  font-family: var(--ctf-font-family, 'Suwannaphum', 'Inter', sans-serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.16;
  margin: 26px 0 18px;
  max-width: 980px;
}

.ctf-single-hero__excerpt {
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.8;
  margin: 0;
  max-width: 780px;
}

.ctf-single-hero__meta {
  align-items: center;
  color: rgba(255, 255, 255, 0.86);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 13px;
  font-weight: 700;
  margin-top: 28px;
}

.ctf-single-hero__meta span {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.ctf-single-hero__meta span::before {
  color: var(--ctf-gold-2, #FCCA66);
  content: 'calendar_today';
  font-family: 'Material Symbols Outlined';
  font-size: 18px;
  font-weight: normal;
  line-height: 1;
}

.ctf-single-hero__meta span:nth-child(2)::before { content: 'person'; }
.ctf-single-hero__meta span:nth-child(3)::before { content: 'schedule'; }

.ctf-single-body {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) 340px;
  margin: 0 auto;
  max-width: 1200px;
  padding: 76px 24px 88px;
}

.ctf-single-article {
  min-width: 0;
}

.ctf-single-content {
  color: #3f4654;
  font-size: 17px;
  line-height: 1.9;
}

.ctf-single-content > *:first-child { margin-top: 0; }
.ctf-single-content > *:last-child { margin-bottom: 0; }

.ctf-single-content p {
  margin: 0 0 24px;
}

.ctf-single-content h2,
.ctf-single-content h3,
.ctf-single-content h4 {
  color: var(--ctf-navy-2, #002662);
  font-family: var(--ctf-font-family, 'Suwannaphum', 'Inter', sans-serif);
  font-weight: 800;
  line-height: 1.3;
  margin: 44px 0 18px;
}

.ctf-single-content h2 { font-size: 30px; }
.ctf-single-content h3 { font-size: 24px; }
.ctf-single-content h4 { font-size: 20px; }

.ctf-single-content a {
  color: var(--ctf-red, #E02020);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.ctf-single-content ul,
.ctf-single-content ol {
  margin: 0 0 28px 22px;
  padding: 0;
}

.ctf-single-content li {
  margin: 0 0 12px;
  padding-left: 4px;
}

.ctf-single-content blockquote {
  background: #FFF7E6;
  border-left: 4px solid var(--ctf-gold, #C89B3C);
  color: var(--ctf-navy-2, #002662);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.75;
  margin: 36px 0;
  padding: 24px 28px;
}

.ctf-single-content img,
.ctf-single-content figure {
  max-width: 100%;
}

.ctf-single-content figure {
  margin: 34px 0;
}

.ctf-single-content figcaption {
  color: #6b7280;
  font-size: 13px;
  line-height: 1.6;
  margin-top: 10px;
}

.ctf-single-pages {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
}

.ctf-single-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.ctf-single-widget {
  background: #ffffff;
  border: 1px solid #E5E8F0;
  padding: 26px;
}

.ctf-single-widget__title {
  color: var(--ctf-navy-2, #002662);
  font-family: var(--ctf-font-family, 'Suwannaphum', 'Inter', sans-serif);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 20px;
  padding-bottom: 13px;
  position: relative;
  text-transform: uppercase;
}

.ctf-single-widget__title::after {
  background: var(--ctf-gold-dark, #B8960C);
  bottom: 0;
  content: '';
  height: 3px;
  left: 0;
  position: absolute;
  width: 42px;
}

.ctf-single-category-list,
.ctf-single-recent {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ctf-single-category-list li {
  align-items: center;
  border-bottom: 1px solid #F0F2F7;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 10px 0;
}

.ctf-single-category-list li:first-child { padding-top: 0; }
.ctf-single-category-list li:last-child { border-bottom: 0; padding-bottom: 0; }

.ctf-single-category-list a,
.ctf-single-recent a {
  color: var(--ctf-navy-2, #002662);
  font-weight: 700;
  text-decoration: none;
}

.ctf-single-category-list a:hover,
.ctf-single-recent a:hover {
  color: var(--ctf-red, #E02020);
}

.ctf-single-category-list span {
  color: #7a8496;
  font-size: 12px;
}

.ctf-single-recent__item {
  align-items: flex-start;
  border-bottom: 1px solid #F0F2F7;
  display: flex;
  gap: 12px;
  padding: 14px 0;
}

.ctf-single-recent__item:first-child { padding-top: 0; }
.ctf-single-recent__item:last-child { border-bottom: 0; padding-bottom: 0; }

.ctf-single-recent__thumb {
  flex: 0 0 68px;
  height: 58px;
  overflow: hidden;
  width: 68px;
}

.ctf-single-recent__thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.ctf-single-recent__item span {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.ctf-single-recent small {
  color: #7a8496;
  font-size: 11px;
}

.ctf-single-widget--dark {
  background: var(--ctf-navy, #001339);
  border-color: var(--ctf-navy, #001339);
  color: #ffffff;
}

.ctf-single-widget--dark .ctf-single-widget__title,
.ctf-single-widget--dark p {
  color: #ffffff;
}

.ctf-single-widget--dark p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 18px;
}

.ctf-single-widget--dark input[type='email'],
.ctf-single-widget--dark input[type='text'] {
  border: 0;
  min-height: 42px;
  padding: 0 12px;
  width: 100%;
}

.ctf-single-widget--dark input[type='submit'] {
  background: var(--ctf-red, #E02020);
  border: 0;
  color: #ffffff;
  font-weight: 800;
  min-height: 42px;
  padding: 0 18px;
  width: 100%;
}

.ctf-single-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ctf-single-tags a {
  background: #EFF3FB;
  color: var(--ctf-navy-2, #002662);
  font-size: 12px;
  font-weight: 800;
  padding: 8px 12px;
  text-decoration: none;
}

.ctf-single-tags a:hover {
  background: var(--ctf-gold-2, #FCCA66);
}

.ctf-single-related {
  background: #FAF6EC;
  padding: 76px 24px 88px;
}

.ctf-single-related__inner {
  margin: 0 auto;
  max-width: 1200px;
}

.ctf-single-related__eyebrow {
  background: transparent;
  color: var(--ctf-red, #E02020);
  padding: 0;
}

.ctf-single-related h2 {
  color: var(--ctf-navy-2, #002662);
  font-family: var(--ctf-font-family, 'Suwannaphum', 'Inter', sans-serif);
  font-size: 34px;
  font-weight: 800;
  margin: 10px 0 30px;
}

.ctf-single-related__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .ctf-single-body {
    grid-template-columns: 1fr;
    padding-top: 56px;
  }

  .ctf-single-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ctf-single-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .ctf-single-hero {
    min-height: 380px;
    padding: 82px 20px 60px;
  }

  .ctf-single-hero__title {
    font-size: 34px;
  }

  .ctf-single-body {
    gap: 34px;
    padding: 46px 20px 64px;
  }

  .ctf-single-sidebar,
  .ctf-single-related__grid {
    grid-template-columns: 1fr;
  }

  .ctf-single-content {
    font-size: 16px;
  }

  .ctf-single-content h2 {
    font-size: 25px;
  }

  .ctf-single-widget {
    padding: 22px;
  }

  .ctf-single-related {
    padding: 56px 20px 68px;
  }
}

.ctf-eo-detail-related-card span {
  color: var(--ctf-red, #e02020);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.ctf-eo-detail-related-card strong {
  font-size: 20px;
  line-height: 1.35;
}

.ctf-eo-detail-related-card em {
  color: #5d6470;
  font-size: 14px;
  font-style: normal;
}

@media (max-width: 1024px) {
  .ctf-eo-detail-layout {
    grid-template-columns: 1fr;
  }

  .ctf-eo-detail-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ctf-eo-detail-reserve {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  #ctf-summit-partners {
    flex-direction: column !important;
  }

  #ctf-summit-partners > .e-con {
    width: 100% !important;
  }

  .ctf-eo-detail-hero {
    min-height: 390px;
    padding: 58px 18px;
  }

  .ctf-eo-detail-hero h1 {
    font-size: 38px;
  }

  .ctf-eo-detail-hero__meta,
  .ctf-eo-detail-stats,
  .ctf-eo-detail-sidebar,
  .ctf-eo-detail-partner-list,
  .ctf-eo-detail-related__grid {
    grid-template-columns: 1fr;
  }

  .ctf-eo-detail-schedule__item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .ctf-eo-detail-schedule__time {
    white-space: normal;
  }

  .ctf-eo-detail-schedule-day summary,
  .ctf-eo-detail-schedule-day__body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .ctf-eo-detail-main {
    padding: 44px 18px 68px;
  }

  .ctf-eo-detail-info-card img {
    aspect-ratio: 4 / 3;
  }

  .ctf-eo-detail-stats,
  .ctf-eo-detail-reserve,
  .ctf-eo-detail-side-card,
  .ctf-eo-detail-related,
  .ctf-eo-detail-calendar__frame {
    padding: 22px;
  }

  .ctf-eo-detail-section-title h2 {
    font-size: 25px;
  }
}

.ctf-managed-event-card .ctf-evt-date {
  align-items: center;
  border-right: 1px solid #eeeeee;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 128px;
  padding: 28px 16px;
  text-align: center;
}

.ctf-managed-event-card .ctf-evt-date strong,
.ctf-managed-ind-row .ctf-ind-date strong {
  color: var(--ctf-navy-2, #002662);
  display: block;
  font-size: 32px;
  line-height: 1;
}

.ctf-managed-event-card .ctf-evt-date span,
.ctf-managed-ind-row .ctf-ind-date span {
  color: #444650;
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-top: 6px;
  text-transform: uppercase;
}

.ctf-managed-event-card .ctf-evt-body {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  gap: 24px;
  padding: 24px;
}

.ctf-managed-event-card .ctf-evt-img {
  display: block;
  flex: 0 0 180px;
}

.ctf-managed-event-card .ctf-evt-img img {
  border-radius: 2px;
  display: block;
  height: 96px;
  object-fit: cover;
  width: 180px;
}

.ctf-managed-event-card .ctf-evt-info {
  flex: 1 1 auto;
  min-width: 0;
}

.ctf-managed-events--industry {
  gap: 24px;
}

.ctf-managed-ind-row {
  align-items: center;
  background: rgba(255,255,255,0.05);
  border-left: 4px solid var(--ctf-gold-2, #fcca66);
  border-radius: 6px;
  display: flex;
  gap: 24px;
  padding: 24px;
  text-decoration: none;
}

.ctf-managed-ind-row .ctf-ind-date {
  flex: 0 0 80px;
  text-align: center;
}

.ctf-managed-ind-row .ctf-ind-date strong {
  color: var(--ctf-gold-2, #fcca66);
}

.ctf-managed-ind-row .ctf-ind-date span,
.ctf-managed-ind-row p {
  color: rgba(255,255,255,0.68);
}

.ctf-managed-ind-row h3 {
  color: #ffffff;
  margin-bottom: 6px;
}

.ctf-managed-ind-row .ctf-ind-chev {
  color: var(--ctf-gold-2, #fcca66);
  font-size: 26px;
  margin-left: auto;
  text-decoration: none;
}

.ctf-managed-events--calendar {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
}

.ctf-managed-calendar__item {
  align-items: center;
  border-bottom: 1px solid #eeeeee;
  display: grid;
  gap: 20px;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  padding: 20px 24px;
}

.ctf-managed-calendar__item:last-child {
  border-bottom: 0;
}

.ctf-managed-calendar__date {
  text-align: center;
}

.ctf-managed-calendar__date strong {
  color: var(--ctf-navy-2, #002662);
  display: block;
  font-size: 28px;
  line-height: 1;
}

.ctf-managed-calendar__date span,
.ctf-managed-calendar__tag {
  color: #444650;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ctf-managed-calendar__item h3,
.ctf-managed-calendar__item p {
  margin-bottom: 0;
}

.ctf-managed-calendar__tag {
  background: #eff3ff;
  border-radius: 3px;
  color: var(--ctf-navy-2, #002662);
  padding: 6px 10px;
}

.ctf-managed-document-card .ctf-card__title {
  margin-bottom: 12px;
}

.ctf-managed-table-wrap {
  border: 1px solid #d7d9d2;
  border-radius: 8px;
  overflow-x: auto;
  width: 100%;
}

.ctf-managed-table {
  background: #ffffff;
  border-collapse: collapse;
  min-width: 760px;
  width: 100%;
}

.ctf-managed-table th,
.ctf-managed-table td {
  border-bottom: 1px solid #ecebe4;
  color: #42504c;
  padding: 18px 24px;
  text-align: left;
  vertical-align: middle;
}

.ctf-managed-table tr:last-child td {
  border-bottom: 0;
}

.ctf-managed-table th {
  background: #003f35;
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ctf-managed-table a {
  color: #9a6d12;
  font-weight: 800;
  text-decoration: none;
}

.ctf-document-library {
  width: 100%;
}

.ctf-document-toolbar {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 22px;
}

.ctf-document-tabs {
  align-items: center;
  background: #f4f0e6;
  border-radius: 8px;
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
}

.ctf-document-tab {
  background: transparent !important;
  border: 0 !important;
  border-radius: 6px;
  color: #59635f !important;
  cursor: pointer;
  font-family: var(--ctf-font-family);
  font-size: 13px;
  font-weight: 800;
  min-height: 38px;
  padding: 0 16px;
}

.ctf-document-tab.is-active,
.ctf-document-tab:hover {
  background: #ffffff !important;
  color: #003f35 !important;
  box-shadow: 0 1px 5px rgba(0, 36, 30, 0.08);
}

.ctf-document-search,
.ctf-document-category-filter {
  background: #ffffff;
  border: 1px solid #d7d9d2;
  border-radius: 8px;
  color: #003f35;
  font-family: var(--ctf-font-family);
  font-size: 14px;
  min-height: 46px;
  padding: 0 16px;
}

.ctf-document-search {
  flex: 0 1 320px;
  min-width: 240px;
}

.ctf-document-table {
  min-width: 820px;
}

.ctf-document-table th:nth-child(1) {
  width: 58%;
}

.ctf-document-table th:nth-child(2) {
  width: 20%;
}

.ctf-document-table th:nth-child(3) {
  width: 22%;
}

.ctf-document-name {
  align-items: flex-start;
  display: flex;
  gap: 14px;
}

.ctf-document-icon {
  border: 2px solid #cfd7d2;
  border-radius: 4px;
  display: inline-block;
  flex: 0 0 28px;
  height: 34px;
  margin-top: 2px;
  position: relative;
  width: 28px;
}

.ctf-document-icon::after {
  border-left: 8px solid transparent;
  border-top: 8px solid #cfd7d2;
  content: '';
  position: absolute;
  right: -2px;
  top: -2px;
}

.ctf-document-title {
  color: #003f35;
  display: block;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 5px;
}

.ctf-document-summary {
  color: #66706c;
  display: block;
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 8px;
}

.ctf-document-category {
  color: #9a6d12;
  display: inline-flex;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1;
  text-transform: uppercase;
}

.ctf-document-date {
  color: #42504c;
  display: block;
  font-weight: 700;
  line-height: 1.35;
}

.ctf-document-updated {
  color: #77817c;
  display: block;
  font-size: 12px;
  margin-top: 4px;
}

.ctf-document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ctf-document-action,
.ctf-managed-table .ctf-document-action {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0.8px;
  min-height: 38px;
  min-width: 82px;
  padding: 0 13px;
  text-decoration: none !important;
  text-transform: uppercase;
}

.ctf-document-action--view,
.ctf-managed-table .ctf-document-action--view {
  background: #ffffff;
  border: 1px solid #d7d9d2;
  color: #003f35 !important;
}

.ctf-document-action--download,
.ctf-managed-table .ctf-document-action--download {
  background: #ffffff;
  border: 1px solid #9a6d12;
  color: #9a6d12 !important;
}

.ctf-document-action:hover {
  background: #003f35 !important;
  border-color: #003f35 !important;
  color: #ffffff !important;
}

.ctf-document-library__footer {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 32px;
}

.ctf-document-load-more {
  background: #ffffff !important;
  border: 2px solid #003f35 !important;
  border-radius: 8px;
  color: #003f35 !important;
  cursor: pointer;
  font-family: var(--ctf-font-family);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.2px;
  min-height: 52px;
  padding: 0 36px;
  text-transform: uppercase;
}

.ctf-document-load-more:hover {
  background: #003f35 !important;
  color: #ffffff !important;
}

.ctf-document-status {
  color: #66706c;
  font-size: 13px;
  margin: 0;
}

.ctf-document-empty-row td {
  color: #66706c;
  font-weight: 700;
  text-align: center;
}

.ctf-managed-gallery-grid {
  display: grid;
  /* Template parity: 3-up gallery with wider gutters. */
  gap: 32px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ctf-managed-gallery-item {
  margin: 0;
  overflow: hidden;
}

.ctf-managed-gallery-item a {
  display: block;
}

.ctf-managed-gallery-item img {
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  width: 100%;
}

.ctf-managed-gallery-item figcaption {
  color: var(--ctf-navy-2, #002662);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  padding-top: 12px;
}

.ctf-press-section {
  background: #f3f6fc !important;
}

.ctf-press-heading-row {
  align-items: flex-end !important;
  display: flex !important;
  justify-content: space-between !important;
  margin-bottom: 28px;
  width: 100%;
}

.ctf-press-title-block .elementor-heading-title {
  margin: 0 !important;
  text-transform: uppercase;
}

.ctf-press-title-block .elementor-divider {
  padding: 0 !important;
}

.ctf-press-title-block .elementor-divider-separator {
  border-top-width: 6px !important;
  width: 96px !important;
}

.ctf-press-archive-wrap {
  align-items: flex-end !important;
}

.ctf-press-archive-link .elementor-button {
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  color: var(--ctf-navy-2, #002662) !important;
  display: inline-flex;
  gap: 8px;
  padding: 0 !important;
}

.ctf-press-archive-link .elementor-button:hover,
.ctf-press-archive-link .elementor-button:focus-visible {
  color: var(--ctf-red, #e02020) !important;
}

.ctf-press-list {
  gap: 16px !important;
  margin-left: auto;
  margin-right: auto;
  max-width: 1232px;
  padding: 0 !important;
  width: 100%;
  --padding-bottom: 0px;
  --padding-left: 0px;
  --padding-right: 0px;
  --padding-top: 0px;
}

.ctf-press-card {
  align-items: center !important;
  background: #ffffff !important;
  border-left: 4px solid var(--ctf-red, #e02020) !important;
  border-radius: 4px !important;
  box-shadow: 0 14px 34px rgba(0, 19, 57, 0.08);
  column-gap: 12px !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto;
  justify-content: space-between !important;
  padding: 24px 32px !important;
  row-gap: 10px !important;
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  width: 100%;
  --flex-direction: row;
  --gap: 10px;
  --align-items: center;
  --justify-content: space-between;
}

.ctf-press-card > .e-con-inner {
  align-items: center !important;
  display: flex !important;
  flex-direction: row !important;
  gap: 24px !important;
  justify-content: space-between !important;
  max-width: none !important;
  width: 100% !important;
}

.ctf-press-card:hover {
  background: #edf2fb !important;
  box-shadow: 0 18px 40px rgba(0, 19, 57, 0.11);
  transform: translateY(-2px);
}

.ctf-press-card__body {
  flex: 1 1 auto !important;
  gap: 10px !important;
  min-width: 0;
  padding: 0 !important;
  width: auto !important;
  --gap: 10px;
  --padding-bottom: 0px;
  --padding-left: 0px;
  --padding-right: 0px;
  --padding-top: 0px;
  --width: auto;
}

.ctf-press-card__meta-row {
  align-items: center !important;
  display: flex !important;
  flex-direction: row !important;
  gap: 12px !important;
  padding: 0 !important;
  --padding-bottom: 0px;
  --padding-left: 0px;
  --padding-right: 0px;
  --padding-top: 0px;
}

.ctf-press-card__meta-row > .e-con-inner {
  align-items: center !important;
  display: flex !important;
  flex-direction: row !important;
  gap: 12px !important;
  justify-content: flex-start !important;
  max-width: none !important;
  width: 100% !important;
}

.ctf-press-badge {
  align-self: center;
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  width: auto !important;
}

.ctf-press-badge .elementor-heading-title {
  background: rgba(224, 32, 32, 0.1);
  border-radius: 4px;
  color: var(--ctf-red, #e02020) !important;
  display: inline-flex;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 1.2px !important;
  line-height: 1;
  padding: 6px 12px;
  text-transform: uppercase;
}

.ctf-press-card__title,
.ctf-press-card__desc,
.ctf-press-card__title .elementor-widget-container,
.ctf-press-card__desc .elementor-widget-container {
  margin: 0 !important;
  padding: 0 !important;
}

.ctf-press-date .elementor-heading-title {
  color: #8a90a0 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.8px !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  text-transform: uppercase;
}

.ctf-press-date {
  grid-column: 2;
  grid-row: 1;
  justify-self: start;
  margin: 0 !important;
  width: auto !important;
}

.ctf-press-card__title {
  grid-column: 1 / 3;
  grid-row: 2;
  width: 100% !important;
}

.ctf-press-card__title .elementor-heading-title {
  color: var(--ctf-navy-2, #002662) !important;
  font-size: 24px !important;
  line-height: 1.25 !important;
  margin: 0 !important;
}

.ctf-press-card__desc {
  grid-column: 1 / 3;
  grid-row: 3;
  width: 100% !important;
}

.ctf-press-card__desc,
.ctf-press-card__desc .elementor-widget-container {
  color: #565b68 !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}

.ctf-press-download {
  flex: 0 0 auto !important;
  grid-column: 3;
  grid-row: 1 / 4;
  justify-self: end;
  width: auto !important;
}

.ctf-press-download .elementor-button {
  align-items: center;
  background: var(--ctf-navy-2, #002662) !important;
  border-radius: 6px !important;
  color: #ffffff !important;
  display: inline-flex;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px !important;
}

.ctf-press-download .elementor-button-icon,
.ctf-press-download .elementor-button-text {
  color: #ffffff !important;
}

.ctf-press-download .elementor-button:hover,
.ctf-press-download .elementor-button:focus-visible {
  background: var(--ctf-red, #e02020) !important;
  color: #ffffff !important;
}

.ctf-newsroom-section {
  --padding-bottom: 128px !important;
  background: #ffffff !important;
}

.ctf-newsroom-layout,
.ctf-newsroom-layout > .e-con-inner {
  align-items: center !important;
  display: grid !important;
  gap: 56px !important;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  width: 100%;
}

.ctf-newsroom-copy {
  max-width: 580px;
  padding: 0 !important;
  width: 100% !important;
}

.ctf-newsroom-layout,
.ctf-newsroom-guidance {
  padding: 0 !important;
}

.ctf-newsroom-copy .ctf-badge,
.ctf-newsroom-copy .ctf-badge .elementor-widget-container {
  background: transparent !important;
  padding: 0 !important;
}

.ctf-newsroom-copy .ctf-badge .elementor-heading-title {
  background: #fde8e3 !important;
  color: var(--ctf-red, #e02020) !important;
  padding: 9px 14px !important;
}

.ctf-newsroom-actions,
.ctf-newsroom-actions > .e-con-inner {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
}

.ctf-newsroom-actions .elementor-button {
  min-height: 52px;
}

.ctf-newsroom-secondary .elementor-button {
  background: #ffffff !important;
  border: 1px solid #c9d4e6 !important;
  color: var(--ctf-navy-2, #002662) !important;
}

.ctf-newsroom-secondary .elementor-button:hover,
.ctf-newsroom-secondary .elementor-button:focus-visible {
  background: var(--ctf-navy-2, #002662) !important;
  color: #ffffff !important;
}

.ctf-newsroom-guidance,
.ctf-newsroom-guidance > .e-con-inner {
  display: grid !important;
  gap: 18px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
}

.ctf-newsroom-card {
  align-items: flex-start !important;
  background: #f7f9fd !important;
  border: 1px solid #e1e8f5 !important;
  border-radius: 6px !important;
  min-height: 240px;
  padding: 28px !important;
}

.ctf-newsroom-card .elementor-icon-box-wrapper {
  text-align: left;
}

.ctf-newsroom-card .elementor-icon {
  align-items: center;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(0, 38, 98, 0.08);
  color: var(--ctf-red, #e02020) !important;
  display: inline-flex;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.ctf-newsroom-card .elementor-icon-box-title {
  margin: 18px 0 8px !important;
}

.ctf-newsroom-card .elementor-icon-box-title,
.ctf-newsroom-card .elementor-icon-box-title a {
  color: var(--ctf-navy-2, #002662) !important;
}

.ctf-newsroom-card .elementor-icon-box-description {
  color: #565b68 !important;
  line-height: 1.65 !important;
}

@media (max-width: 768px) {
  .ctf-press-heading-row {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 18px !important;
  }

  .ctf-press-title-block,
  .ctf-press-archive-wrap {
    width: 100% !important;
  }

  .ctf-press-archive-wrap {
    align-items: flex-start !important;
  }

  .ctf-press-card {
    align-items: stretch !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    padding: 24px !important;
    --flex-direction: column;
  }

  .ctf-press-card > .e-con-inner {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  .ctf-press-card__meta-row {
    align-items: flex-start !important;
    flex-wrap: wrap !important;
  }

  .ctf-press-card__meta-row > .e-con-inner {
    align-items: flex-start !important;
    flex-wrap: wrap !important;
  }

  .ctf-press-download,
  .ctf-press-download .elementor-button-wrapper,
  .ctf-press-download .elementor-button {
    width: 100%;
  }

  .ctf-press-card__title,
  .ctf-press-card__desc,
  .ctf-press-download {
    grid-column: 1 / -1;
  }

  .ctf-press-download {
    grid-row: 4;
    justify-self: stretch;
  }

  .ctf-press-download .elementor-button {
    justify-content: center;
  }

  .ctf-newsroom-section {
    --padding-bottom: 64px !important;
    --padding-left: 20px !important;
    --padding-right: 20px !important;
    --padding-top: 64px !important;
    padding: 0 !important;
  }

  .ctf-newsroom-section.ctf-newsroom-section > .e-con-inner {
    padding-block-end: 0 !important;
    padding-block-start: 0 !important;
    padding-inline-end: 0 !important;
    padding-inline-start: 0 !important;
  }

  .ctf-newsroom-layout,
  .ctf-newsroom-layout > .e-con-inner {
    gap: 32px !important;
    grid-template-columns: 1fr !important;
  }

  .ctf-newsroom-copy,
  .ctf-newsroom-guidance {
    max-width: none;
    width: 100% !important;
  }

  .ctf-newsroom-guidance,
  .ctf-newsroom-guidance > .e-con-inner {
    grid-template-columns: 1fr !important;
  }

  .ctf-newsroom-card {
    min-height: 0;
    padding: 24px !important;
  }

  .ctf-newsroom-actions,
  .ctf-newsroom-actions > .e-con-inner,
  .ctf-newsroom-actions .elementor-widget-button,
  .ctf-newsroom-actions .elementor-button-wrapper,
  .ctf-newsroom-actions .elementor-button {
    width: 100%;
  }

  .ctf-newsroom-actions .elementor-button {
    justify-content: center;
  }

  #ctf-story-timeline {
    padding: 20px 0 !important;
  }

  #ctf-story-timeline > .e-con-inner {
    gap: 22px !important;
    grid-template-columns: 1fr !important;
    min-height: auto;
  }

  #ctf-story-timeline::before {
    display: none !important;
  }

  #ctf-story-timeline .ctf-story-item {
    min-height: auto;
    padding-left: 42px !important;
  }

  #ctf-story-timeline .ctf-story-item::before {
    border-width: 4px;
    box-shadow: 0 0 0 3px rgba(0, 19, 57, 0.78), 0 0 0 7px rgba(255, 255, 255, 0.1);
    height: 22px;
    left: 11px;
    top: 7px;
    transform: none;
    width: 22px;
  }

  #ctf-story-timeline .ctf-story-item::after {
    display: none;
  }

  #ctf-story-timeline .ctf-story-item:hover::before,
  #ctf-story-timeline .ctf-story-item.is-active::before {
    transform: none;
  }

  #ctf-story-timeline .ctf-story-year,
  #ctf-story-timeline .ctf-story-title,
  #ctf-story-timeline .ctf-story-desc-source {
    left: auto;
    position: static !important;
    text-align: left;
    transform: none !important;
    width: 100% !important;
  }

  #ctf-story-timeline .ctf-story-desc-source {
    max-height: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  #ctf-story-timeline .ctf-story-item.is-active .ctf-story-desc-source,
  #ctf-story-timeline .ctf-story-item:hover .ctf-story-desc-source,
  #ctf-story-timeline .ctf-story-item:focus-visible .ctf-story-desc-source {
    max-height: none !important;
    transform: none !important;
  }

  #ctf-story-timeline .ctf-story-desc-source .elementor-widget-container {
    text-align: left;
  }

  .ctf-office-row > .e-con,
  .ctf-office-row > .e-con:nth-of-type(1),
  .ctf-office-row > .e-con:nth-of-type(2),
  .ctf-office-row > .e-con:nth-of-type(3),
  .ctf-office-row > .e-con:nth-of-type(4) {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .ctf-office-row .elementor-widget-container,
  .ctf-office-row .elementor-heading-title {
    overflow-wrap: anywhere;
  }

  .ctf-responsive-table .tablepress {
    min-width: 640px;
  }

  .ctf-document-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .ctf-document-tabs {
    width: 100%;
  }

  .ctf-document-search,
  .ctf-document-category-filter {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
  }

  .ctf-document-table {
    min-width: 780px;
  }

  .ctf-article-title .elementor-heading-title {
    font-size: 38px !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
  }

  .ctf-feat-event-img-col,
  .ctf-feat-event-card > .e-con:first-child,
  .ctf-feat-event-card > .e-con-inner > .e-con:first-child,
  .ctf-feat-event-info-col,
  .ctf-feat-event-card > .e-con:last-child,
  .ctf-feat-event-card > .e-con-inner > .e-con:last-child {
    flex: 1 1 auto !important;
    width: 100% !important;
  }

  .ctf-feat-event-img-col,
  .ctf-feat-event-card > .e-con:first-child,
  .ctf-feat-event-card > .e-con-inner > .e-con:first-child {
    min-height: 240px !important;
  }

  .ctf-feat-event-card > .e-con-inner {
    flex-direction: column !important;
  }

  .ctf-article-grid__items {
    grid-template-columns: 1fr;
  }

  .ctf-article-card {
    min-height: 0;
  }

  .ctf-article-card__media {
    height: 220px;
  }

  .ctf-article-card .ctf-card__img {
    min-height: 0;
  }

  .ctf-managed-grid,
  .ctf-managed-gallery-grid,
  .ctf-managed-spotlight {
    grid-template-columns: 1fr !important;
  }

  .ctf-managed-spotlight__media {
    height: 240px;
    min-height: 240px;
  }

  .ctf-managed-spotlight__body {
    min-height: 0;
  }

  .ctf-managed-event-card,
  .ctf-managed-event-card .ctf-evt-body,
  .ctf-managed-ind-row {
    align-items: stretch;
    flex-direction: column;
  }

  .ctf-managed-event-card .ctf-evt-date,
  .ctf-managed-event-card .ctf-evt-img,
  .ctf-managed-event-card .ctf-evt-img img {
    width: 100%;
  }

  .ctf-managed-event-card .ctf-evt-img {
    flex-basis: auto;
  }

  .ctf-managed-event-card .ctf-evt-img img {
    height: 180px;
  }

  .ctf-managed-calendar__item {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .ctf-managed-calendar__tag {
    grid-column: 2;
    justify-self: start;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .ctf-article-grid__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ctf-article-card {
    min-height: 500px;
  }

  .ctf-article-card__media {
    height: 215px;
  }
}

/* ============================================================
   Template parity (Vercel/Stitch reference) — global polish.
   Heading weights/sizes + accent gold are set in the builders
   (ctf_heading 600/32, ctf_button_gold/ctf_divider #B8960C); these
   rules cover the cross-cutting visual details that are easiest in CSS.
   ============================================================ */

/* Eyebrow / kicker labels → deep gold #B8960C, Inter, uppercase, wide tracking
   (template label-lg: 14px / 600 / 0.05em). */
.ctf-badge {
  align-self: flex-start !important;
  background: rgba(184, 150, 12, 0.10) !important;
  color: #B8960C !important;
  display: inline-flex !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  letter-spacing: 0.06em !important;
  max-width: 100% !important;
  text-transform: uppercase !important;
  width: fit-content !important;
}

.ctf-badge .elementor-widget-container,
.ctf-badge .elementor-heading-title {
  display: inline-flex !important;
  max-width: 100% !important;
  width: auto !important;
}

/* Press cards use a red chip, so remove the generic gold badge wrapper styles. */
.ctf-press-badge,
.ctf-press-badge .elementor-widget-container {
  background: transparent !important;
  color: var(--ctf-red, #E02020) !important;
  padding: 0 !important;
  width: auto !important;
}

.ctf-press-badge .elementor-heading-title {
  background: rgba(224, 32, 32, 0.10) !important;
  color: var(--ctf-red, #E02020) !important;
}

.ctf-press-date,
.ctf-press-date .elementor-widget-container,
.ctf-press-date .elementor-heading-title {
  background: transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

/* Sharp corners to match the template's square button/field styling. */
.elementor-button,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form textarea,
.wpcf7-form select {
  border-radius: 0 !important;
}

/* ===== Icon parity: render decorative Font Awesome glyphs as Material Symbols Outlined =====
   The template uses thin Material Symbols icons. We remap the FA glyph slots to Material
   Symbols ligatures (font + content override). Brand/social icons (fa-facebook-f, fa-instagram,
   fa-youtube, fa-twitter, fa-linkedin-in) are intentionally NOT listed — they stay Font Awesome. */
.fa-check-circle::before, .fa-map-marker-alt::before, .fa-phone::before, .fa-file-alt::before,
.fa-envelope::before, .fa-external-link-alt::before, .fa-arrow-right::before, .fa-arrow-left::before,
.fa-calendar::before, .fa-star::before, .fa-download::before, .fa-chevron-right::before,
.fa-chevron-left::before, .fa-caret-down::before, .fa-caret-right::before, .fa-handshake::before,
.fa-users::before, .fa-utensils::before, .fa-history::before, .fa-globe::before, .fa-globe-asia::before,
.fa-cogs::before, .fa-chart-line::before, .fa-chalkboard-teacher::before, .fa-bullhorn::before,
.fa-clock::before, .fa-user::before, .fa-check::before, .fa-search::before {
  font-family: 'Material Symbols Outlined' !important;
  font-weight: normal !important;
  font-style: normal !important;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24 !important;
  -webkit-font-feature-settings: 'liga' 1 !important;
  font-feature-settings: 'liga' 1 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  line-height: 1 !important;
}
.fa-check-circle::before      { content: 'check_circle' !important; }
.fa-map-marker-alt::before    { content: 'location_on' !important; }
.fa-phone::before             { content: 'call' !important; }
.fa-file-alt::before          { content: 'description' !important; }
.fa-envelope::before          { content: 'mail' !important; }
.fa-external-link-alt::before { content: 'open_in_new' !important; }
.fa-arrow-right::before       { content: 'arrow_forward' !important; }
.fa-arrow-left::before        { content: 'arrow_back' !important; }
.fa-calendar::before          { content: 'calendar_today' !important; }
.fa-star::before              { content: 'star' !important; }
.fa-download::before          { content: 'download' !important; }
.fa-chevron-right::before     { content: 'chevron_right' !important; }
.fa-chevron-left::before      { content: 'chevron_left' !important; }
.fa-caret-down::before        { content: 'expand_more' !important; }
.fa-caret-right::before       { content: 'chevron_right' !important; }
.fa-handshake::before         { content: 'handshake' !important; }
.fa-users::before             { content: 'group' !important; }
.fa-utensils::before          { content: 'restaurant' !important; }
.fa-history::before           { content: 'history' !important; }
.fa-globe::before             { content: 'public' !important; }
.fa-globe-asia::before        { content: 'public' !important; }
.fa-cogs::before              { content: 'settings' !important; }
.fa-chart-line::before        { content: 'trending_up' !important; }
.fa-chalkboard-teacher::before{ content: 'co_present' !important; }
.fa-bullhorn::before          { content: 'campaign' !important; }
.fa-clock::before             { content: 'schedule' !important; }
.fa-user::before              { content: 'person' !important; }
.fa-check::before             { content: 'check' !important; }
.fa-search::before            { content: 'search' !important; }

/* ===== Template parity — per-page polish ===== */
/* Sidebar widget headings: uppercase navy with a short deep-gold underline accent. */
.ctf-sidebar__title {
  text-transform: uppercase !important;
  letter-spacing: 0 !important;
  position: relative !important;
  padding-bottom: 12px !important;
}
.ctf-sidebar__title::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 40px !important;
  height: 3px !important;
  background: #B8960C !important;
}

/* Featured document cards: download as an outline gold button
   (scoped to document cards so news/blog "read more" links stay text links). */
.ctf-managed-document-card .ctf-card__link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #B8960C !important;
  border: 1px solid #B8960C !important;
  padding: 10px 18px !important;
  border-radius: 0 !important;
  transition: background .2s ease, color .2s ease;
}
.ctf-managed-document-card .ctf-card__link:hover {
  background: #B8960C !important;
  color: #ffffff !important;
}

/* ===== Event Organiser calendar ([eo_fullcalendar]) — brand theme =====
   Native store-plugin calendar: hover shows an event overview tooltip, clicking opens the event
   detail page, all events are managed in wp-admin -> Events. We theme only the chrome; per-event
   colours come from each event's category/colour (matches the template's colour-coded events). */
.eo-fullcalendar { font-family: var(--ctf-font-family) !important; }
.eo-fullcalendar .fc-toolbar h2 {
  color: var(--ctf-navy-2, #002662) !important;
  font-weight: 700 !important;
  font-size: 24px !important;
}
.eo-fullcalendar .fc-button,
.eo-fullcalendar .fc-state-default {
  background: var(--ctf-navy-2, #002662) !important;
  border-color: var(--ctf-navy-2, #002662) !important;
  color: #fff !important;
  text-shadow: none !important;
  box-shadow: none !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  letter-spacing: 0.04em !important;
  height: auto !important;
  padding: 8px 14px !important;
}
.eo-fullcalendar .fc-button:hover,
.eo-fullcalendar .fc-state-active,
.eo-fullcalendar .fc-state-down {
  background: #B8960C !important;
  border-color: #B8960C !important;
}
.eo-fullcalendar .fc-day-header {
  color: var(--ctf-navy-2, #002662) !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  padding: 12px 0 !important;
  background: #F5F7FA !important;
}
.eo-fullcalendar .fc-today { background: rgba(184, 150, 12, 0.10) !important; }
.eo-fullcalendar .fc-event {
  border: 0 !important;
  border-radius: 3px !important;
  padding: 2px 5px !important;
  font-size: 12px !important;
  cursor: pointer;
}
.eo-fullcalendar td,
.eo-fullcalendar th { border-color: #E5E8F0 !important; }

/* Events page calendar: polished store-plugin module. */
.ctf-external-event-calendar {
  margin: 0 auto !important;
  max-width: 1280px !important;
  width: 100% !important;
}

.ctf-external-event-calendar .elementor-widget-container,
.ctf-external-event-calendar .elementor-shortcode {
  width: 100% !important;
}

.ctf-external-event-calendar .elementor-shortcode {
  background: #ffffff !important;
  border: 1px solid #D9DFEA !important;
  border-radius: 8px !important;
  box-shadow: 0 24px 60px rgba(0, 19, 57, 0.08) !important;
  overflow: hidden !important;
  position: relative;
}

.ctf-external-event-calendar .elementor-shortcode::before {
  content: none !important;
  display: none !important;
}

.ctf-external-event-calendar .eo-fullcalendar {
  background: #ffffff !important;
  color: #253044 !important;
  font-family: var(--ctf-font-family, 'Suwannaphum', 'Inter', system-ui, sans-serif) !important;
  min-height: 0 !important;
  padding: 0 !important;
}

.ctf-external-event-calendar .eo-fullcalendar-loading {
  background: #ffffff !important;
  border: 1px solid #D9DFEA !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 44px rgba(0, 19, 57, 0.07) !important;
  color: var(--ctf-navy-2, #002662) !important;
  font-weight: 800 !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-toolbar {
  align-items: center !important;
  background: linear-gradient(180deg, #ffffff 0%, #F8FAFD 100%) !important;
  border-bottom: 1px solid #DDE3ED !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  justify-content: space-between !important;
  margin: 0 !important;
  min-height: 84px !important;
  padding: 26px 28px 22px !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-left,
.ctf-external-event-calendar .eo-fullcalendar .fc-right,
.ctf-external-event-calendar .eo-fullcalendar .fc-center {
  align-items: center !important;
  display: flex !important;
  float: none !important;
  gap: 8px !important;
  min-width: 0 !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-left {
  flex: 1 1 260px !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-right {
  flex: 0 0 auto !important;
  justify-content: flex-end !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-toolbar h2 {
  color: var(--ctf-navy-2, #002662) !important;
  font-family: var(--ctf-font-family, 'Suwannaphum', 'Inter', system-ui, sans-serif) !important;
  font-size: 28px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  line-height: 1.15 !important;
  margin: 0 !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-button,
.ctf-external-event-calendar .eo-fullcalendar .fc-state-default {
  align-items: center !important;
  background: #ffffff !important;
  border: 1px solid #C9D1DF !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  color: var(--ctf-navy-2, #002662) !important;
  display: inline-flex !important;
  font-family: var(--ctf-font-family, 'Suwannaphum', 'Inter', system-ui, sans-serif) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  height: 44px !important;
  justify-content: center !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  margin: 0 0 0 8px !important;
  min-width: 44px !important;
  padding: 0 16px !important;
  text-shadow: none !important;
  text-transform: uppercase !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-prev-button,
.ctf-external-event-calendar .eo-fullcalendar .fc-next-button {
  background: var(--ctf-navy-2, #002662) !important;
  border-color: var(--ctf-navy-2, #002662) !important;
  color: #ffffff !important;
  display: inline-flex !important;
  line-height: 1 !important;
  padding: 0 !important;
  width: 44px !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-prev-button .fc-icon,
.ctf-external-event-calendar .eo-fullcalendar .fc-next-button .fc-icon,
.ctf-external-event-calendar .eo-fullcalendar .fc-prev-button .fc-icon::before,
.ctf-external-event-calendar .eo-fullcalendar .fc-next-button .fc-icon::before {
  align-items: center !important;
  display: inline-flex !important;
  height: 100% !important;
  justify-content: center !important;
  line-height: 1 !important;
  margin: 0 !important;
  position: static !important;
  text-align: center !important;
  width: 100% !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-today-button {
  background: #536A91 !important;
  border-color: #536A91 !important;
  color: #ffffff !important;
  min-width: 92px !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-button:hover,
.ctf-external-event-calendar .eo-fullcalendar .fc-state-hover,
.ctf-external-event-calendar .eo-fullcalendar .fc-state-active,
.ctf-external-event-calendar .eo-fullcalendar .fc-state-down {
  background: var(--ctf-red, #E02020) !important;
  border-color: var(--ctf-red, #E02020) !important;
  color: #ffffff !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-state-disabled {
  cursor: default !important;
  opacity: 0.58 !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-icon {
  color: currentColor !important;
  font-size: 18px !important;
  line-height: 1 !important;
  margin: 0 !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-view-container {
  background: #ffffff !important;
  padding: 0 28px 28px !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-view {
  border: 1px solid #DDE3ED !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-widget-header,
.ctf-external-event-calendar .eo-fullcalendar .fc-day-header {
  background: #F3F6FB !important;
  border-color: #DDE3ED !important;
  color: var(--ctf-navy-2, #002662) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: 0.04em !important;
  line-height: 1 !important;
  padding: 14px 8px !important;
  text-align: center !important;
  text-transform: uppercase !important;
}

.ctf-external-event-calendar .eo-fullcalendar td,
.ctf-external-event-calendar .eo-fullcalendar th {
  border-color: #DDE3ED !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-day,
.ctf-external-event-calendar .eo-fullcalendar .fc-widget-content {
  background: #ffffff !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-day:hover {
  background: #FAFCFF !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-other-month {
  background: #F8FAFD !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-day-number {
  color: #182234 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  padding: 13px 10px 8px !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-other-month .fc-day-number {
  color: #AEB7C5 !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-today,
.ctf-external-event-calendar .eo-fullcalendar .fc-state-highlight {
  background: #FFF7DF !important;
  box-shadow: inset 0 0 0 2px rgba(200, 155, 60, 0.26) !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-day-grid-event,
.ctf-external-event-calendar .eo-fullcalendar .fc-event {
  border: 0 !important;
  border-radius: 5px !important;
  box-shadow: 0 3px 10px rgba(0, 19, 57, 0.14) !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.28 !important;
  margin: 4px 6px 0 !important;
  max-width: calc(100% - 12px) !important;
  min-height: 26px !important;
  padding: 5px 8px !important;
  transition: box-shadow 0.18s ease, filter 0.18s ease, transform 0.18s ease !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-day-grid-event:hover,
.ctf-external-event-calendar .eo-fullcalendar .fc-event:hover,
.ctf-external-event-calendar .eo-fullcalendar .fc-event:focus {
  box-shadow: 0 8px 18px rgba(0, 19, 57, 0.2) !important;
  filter: brightness(0.95) !important;
  transform: translateY(-1px) !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-event-title,
.ctf-external-event-calendar .eo-fullcalendar .fc-event-time {
  color: inherit !important;
  font-weight: 900 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-content,
.ctf-external-event-calendar .eo-fullcalendar .fc-title {
  color: inherit !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.ctf-external-event-calendar .eo-fullcalendar-key,
.ctf-external-event-calendar .eo_fullcalendar_key {
  background: #F8FAFD !important;
  border-top: 1px solid #DDE3ED !important;
}

.ctf-external-event-calendar .eo-fullcalendar-key {
  padding: 16px 28px 18px !important;
}

.ctf-external-event-calendar .eo_fullcalendar_key {
  gap: 10px 18px !important;
}

.ctf-external-event-calendar .eo_fullcalendar_key_cat {
  color: #49556A !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.qtip.eo-qtip,
.qtip.eo-tooltip {
  border: 1px solid #D9DFEA !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 44px rgba(0, 19, 57, 0.18) !important;
  font-family: var(--ctf-font-family, 'Suwannaphum', 'Inter', system-ui, sans-serif) !important;
}

@media (max-width: 900px) {
  .ctf-external-event-calendar .elementor-shortcode {
    overflow-x: auto !important;
  }

  .ctf-external-event-calendar .eo-fullcalendar {
    min-width: 860px !important;
  }
}

@media (max-width: 640px) {
  .ctf-external-event-calendar .elementor-shortcode {
    overflow-x: hidden !important;
  }

  .ctf-external-event-calendar .eo-fullcalendar {
    min-width: 0 !important;
    width: 100% !important;
  }

  .ctf-external-event-calendar .eo-fullcalendar .fc-toolbar {
    align-items: flex-start !important;
    padding: 22px 18px 18px !important;
  }

  .ctf-external-event-calendar .eo-fullcalendar .fc-toolbar h2 {
    font-size: 24px !important;
  }

  .ctf-external-event-calendar .eo-fullcalendar .fc-view-container {
    padding: 0 18px 18px !important;
  }

  .ctf-external-event-calendar .eo-fullcalendar .fc-listMonth-view {
    border-radius: 8px !important;
  }

  .ctf-external-event-calendar .eo-fullcalendar .fc-listMonth-view table,
  .ctf-external-event-calendar .eo-fullcalendar .fc-listMonth-view tbody,
  .ctf-external-event-calendar .eo-fullcalendar .fc-listMonth-view tr,
  .ctf-external-event-calendar .eo-fullcalendar .fc-listMonth-view td {
    max-width: 100% !important;
    width: 100% !important;
  }

  .ctf-external-event-calendar .eo-fullcalendar .fc-listMonth-view .fc-row {
    min-height: 0 !important;
  }

  .ctf-external-event-calendar .eo-fullcalendar .fc-listMonth-view td.fc-day-number {
    align-items: center !important;
    background: #F3F6FB !important;
    box-sizing: border-box !important;
    color: var(--ctf-navy-2, #002662) !important;
    display: flex !important;
    justify-content: space-between !important;
    min-height: 48px !important;
    overflow: hidden !important;
    padding: 13px 16px !important;
  }

  .ctf-external-event-calendar .eo-fullcalendar .fc-listMonth-view .fc-list-header-left,
  .ctf-external-event-calendar .eo-fullcalendar .fc-listMonth-view .fc-list-header-right {
    display: inline-flex !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
  }

  .ctf-external-event-calendar .eo-fullcalendar .fc-listMonth-view .fc-list-header-left {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
    padding-right: 12px !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .ctf-external-event-calendar .eo-fullcalendar .fc-listMonth-view .fc-list-header-right {
    color: #687386 !important;
    flex: 0 0 auto !important;
    min-width: 58px !important;
    text-align: right !important;
    white-space: nowrap !important;
  }

  .ctf-external-event-calendar .eo-fullcalendar .fc-listMonth-view .fc-day-grid-event,
  .ctf-external-event-calendar .eo-fullcalendar .fc-listMonth-view .fc-event {
    align-items: center !important;
    display: flex !important;
    margin: 8px 12px !important;
    max-width: calc(100% - 24px) !important;
    min-height: 40px !important;
    padding: 8px 12px !important;
  }
}

/* Resources page: professional document library, still powered by CTF Documents. */
.ctf-document-library {
  background: #ffffff !important;
  border: 1px solid #D9DFEA !important;
  border-radius: 8px !important;
  box-shadow: 0 24px 60px rgba(0, 19, 57, 0.08) !important;
  box-sizing: border-box !important;
  padding: 20px !important;
  width: 100% !important;
}

.ctf-document-library .ctf-document-toolbar {
  align-items: start !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  display: grid !important;
  gap: 14px !important;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px) !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
}

.ctf-document-library .ctf-document-tabs {
  align-items: center !important;
  background: transparent !important;
  border-radius: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  padding: 0 !important;
  width: 100% !important;
}

.ctf-document-library .ctf-document-tab {
  background: #ffffff !important;
  border: 1px solid #D9DFEA !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  color: var(--ctf-navy-2, #002662) !important;
  min-height: 38px !important;
  padding: 0 15px !important;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease !important;
}

.ctf-document-library .ctf-document-tab.is-active,
.ctf-document-library .ctf-document-tab:hover,
.ctf-document-library .ctf-document-tab:focus-visible {
  background: var(--ctf-navy-2, #002662) !important;
  border-color: var(--ctf-navy-2, #002662) !important;
  box-shadow: 0 10px 22px rgba(0, 38, 98, 0.14) !important;
  color: #ffffff !important;
  outline: 0 !important;
  transform: translateY(-1px) !important;
}

.ctf-document-search-wrap {
  position: relative !important;
  width: 100% !important;
}

.ctf-document-search-wrap::before {
  color: var(--ctf-navy-2, #002662) !important;
  content: "search" !important;
  font-family: "Material Symbols Outlined" !important;
  font-size: 21px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  left: 16px !important;
  line-height: 1 !important;
  pointer-events: none !important;
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 1 !important;
}

.ctf-document-library .ctf-document-search {
  appearance: none !important;
  background: #ffffff !important;
  border: 1px solid #C9D1DF !important;
  border-radius: 6px !important;
  box-shadow: inset 0 1px 0 rgba(0, 19, 57, 0.02) !important;
  color: #182234 !important;
  flex: none !important;
  min-height: 48px !important;
  min-width: 0 !important;
  padding: 0 16px 0 48px !important;
  width: 100% !important;
}

.ctf-document-library .ctf-document-search:focus {
  border-color: var(--ctf-navy-2, #002662) !important;
  box-shadow: 0 0 0 3px rgba(0, 38, 98, 0.12) !important;
  outline: 0 !important;
}

.ctf-document-library .ctf-managed-table-wrap {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow-x: auto !important;
  width: 100% !important;
}

.ctf-document-library .ctf-document-table {
  background: transparent !important;
  border-collapse: separate !important;
  border-spacing: 0 10px !important;
  min-width: 880px !important;
}

.ctf-document-library .ctf-document-table th {
  background: transparent !important;
  border: 0 !important;
  color: var(--ctf-navy-2, #002662) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  padding: 6px 24px 4px !important;
}

.ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) td {
  background: #ffffff !important;
  border-bottom: 1px solid #DDE3ED !important;
  border-top: 1px solid #DDE3ED !important;
  padding: 20px 24px !important;
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease !important;
}

.ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) td:first-child {
  border-left: 1px solid #DDE3ED !important;
  border-radius: 8px 0 0 8px !important;
}

.ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) td:last-child {
  border-radius: 0 8px 8px 0 !important;
  border-right: 1px solid #DDE3ED !important;
}

.ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row):hover td {
  background: var(--ctf-offwhite, #F5F7FA) !important;
  border-color: #C9D1DF !important;
  box-shadow: 0 12px 28px rgba(0, 19, 57, 0.06) !important;
}

.ctf-document-library .ctf-document-name {
  gap: 16px !important;
}

.ctf-document-library .ctf-document-icon {
  align-items: center !important;
  background: var(--ctf-offwhite, #F5F7FA) !important;
  border: 1px solid #C9D1DF !important;
  border-radius: 7px !important;
  color: var(--ctf-navy-2, #002662) !important;
  display: inline-flex !important;
  height: 50px !important;
  justify-content: center !important;
  margin-top: 0 !important;
  overflow: hidden !important;
  width: 42px !important;
}

.ctf-document-library .ctf-document-icon::before {
  content: "description" !important;
  font-family: "Material Symbols Outlined" !important;
  font-size: 23px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  position: relative !important;
  z-index: 1 !important;
}

.ctf-document-library .ctf-document-icon::after {
  border-left: 11px solid transparent !important;
  border-top: 11px solid rgba(200, 155, 60, 0.55) !important;
  right: 0 !important;
  top: 0 !important;
}

.ctf-document-library .ctf-document-title {
  color: var(--ctf-navy-2, #002662) !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
  margin-bottom: 7px !important;
}

.ctf-document-library .ctf-document-summary {
  color: #5D6675 !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  margin-bottom: 10px !important;
  max-width: 720px !important;
}

.ctf-document-library .ctf-document-category {
  align-items: center !important;
  background: #FFF7DF !important;
  border: 1px solid rgba(200, 155, 60, 0.28) !important;
  border-radius: 999px !important;
  color: #8A620D !important;
  display: inline-flex !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  min-height: 24px !important;
  padding: 0 10px !important;
}

.ctf-document-library .ctf-document-date {
  color: #182234 !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}

.ctf-document-library .ctf-document-updated {
  color: #687386 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.ctf-document-library .ctf-document-actions {
  align-items: center !important;
  gap: 10px !important;
}

.ctf-document-library .ctf-document-action,
.ctf-document-library .ctf-managed-table .ctf-document-action {
  border-radius: 6px !important;
  font-size: 11px !important;
  gap: 7px !important;
  letter-spacing: 0 !important;
  min-height: 42px !important;
  min-width: 96px !important;
  padding: 0 14px !important;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease !important;
}

.ctf-document-library .ctf-document-action::before {
  font-family: "Material Symbols Outlined" !important;
  font-size: 17px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 1 !important;
}

.ctf-document-library .ctf-document-action--view,
.ctf-document-library .ctf-managed-table .ctf-document-action--view {
  background: var(--ctf-navy-2, #002662) !important;
  border: 1px solid var(--ctf-navy-2, #002662) !important;
  color: #ffffff !important;
}

.ctf-document-library .ctf-document-action--view::before {
  content: "visibility" !important;
}

.ctf-document-library .ctf-document-action--download,
.ctf-document-library .ctf-managed-table .ctf-document-action--download {
  background: #ffffff !important;
  border: 1px solid var(--ctf-gold, #C89B3C) !important;
  color: #8A620D !important;
}

.ctf-document-library .ctf-document-action--download::before {
  content: "download" !important;
}

.ctf-document-library .ctf-document-action:hover,
.ctf-document-library .ctf-document-action:focus-visible {
  background: var(--ctf-navy, #001339) !important;
  border-color: var(--ctf-navy, #001339) !important;
  color: #ffffff !important;
  outline: 0 !important;
  transform: translateY(-1px) !important;
}

.ctf-document-library .ctf-document-library__footer {
  gap: 8px !important;
  margin-top: 22px !important;
}

.ctf-document-library .ctf-document-load-more {
  background: var(--ctf-navy-2, #002662) !important;
  border: 1px solid var(--ctf-navy-2, #002662) !important;
  border-radius: 6px !important;
  color: #ffffff !important;
  min-height: 48px !important;
  padding: 0 32px !important;
}

.ctf-document-library .ctf-document-load-more:hover,
.ctf-document-library .ctf-document-load-more:focus-visible {
  background: var(--ctf-navy, #001339) !important;
  border-color: var(--ctf-gold, #C89B3C) !important;
  outline: 0 !important;
}

.ctf-document-library .ctf-document-status {
  color: #687386 !important;
  font-weight: 700 !important;
}

.ctf-document-library .ctf-document-empty-row td {
  background: #ffffff !important;
  border: 1px solid #DDE3ED !important;
  border-radius: 8px !important;
  padding: 24px !important;
}

@media (max-width: 767px) {
  .ctf-document-library {
    padding: 12px !important;
  }

  .ctf-document-library .ctf-document-toolbar {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding: 12px !important;
  }

  .ctf-document-library .ctf-document-tabs {
    flex-wrap: nowrap !important;
    margin: 0 -2px !important;
    overflow-x: auto !important;
    padding: 2px !important;
    scrollbar-width: thin !important;
  }

  .ctf-document-library .ctf-document-tab {
    flex: 0 0 auto !important;
  }

  .ctf-document-library .ctf-managed-table-wrap {
    overflow-x: visible !important;
  }

  .ctf-document-library .ctf-document-table,
  .ctf-document-library .ctf-document-table thead,
  .ctf-document-library .ctf-document-table tbody,
  .ctf-document-library .ctf-document-table tr,
  .ctf-document-library .ctf-document-table td {
    display: block !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .ctf-document-library .ctf-document-table {
    border-spacing: 0 !important;
  }

  .ctf-document-library .ctf-document-table thead {
    display: none !important;
  }

  .ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) {
    background: #ffffff !important;
    border: 1px solid #DDE3ED !important;
    border-radius: 8px !important;
    margin: 0 0 12px !important;
    overflow: hidden !important;
  }

  .ctf-document-library .ctf-document-table tbody tr[hidden] {
    display: none !important;
  }

  .ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) td,
  .ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) td:first-child,
  .ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) td:last-child {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 16px !important;
  }

  .ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) td + td {
    border-top: 1px solid #EEF2F7 !important;
    padding-top: 14px !important;
  }

  .ctf-document-library .ctf-document-name {
    gap: 12px !important;
  }

  .ctf-document-library .ctf-document-icon {
    height: 44px !important;
    width: 38px !important;
  }

  .ctf-document-library .ctf-document-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
  }

  .ctf-document-library .ctf-document-action,
  .ctf-document-library .ctf-managed-table .ctf-document-action {
    min-width: 0 !important;
    width: 100% !important;
  }
}

/* Resources document library v2: card-list presentation over the managed table markup. */
.ctf-document-library {
  background: linear-gradient(180deg, #ffffff 0%, #FBFCFE 100%) !important;
  padding: 24px !important;
}

.ctf-document-library .ctf-document-toolbar {
  align-items: start !important;
  border-bottom: 1px solid #E8EDF5 !important;
  gap: 18px !important;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px) !important;
  margin-bottom: 22px !important;
  padding-bottom: 20px !important;
}

.ctf-document-library .ctf-document-tab {
  background: #F6F9FD !important;
  border-radius: 999px !important;
  min-height: 40px !important;
  padding: 0 16px !important;
}

.ctf-document-library .ctf-document-tab.is-active,
.ctf-document-library .ctf-document-tab:hover,
.ctf-document-library .ctf-document-tab:focus-visible {
  transform: none !important;
}

.ctf-document-library .ctf-document-search-wrap {
  justify-self: end !important;
  max-width: 390px !important;
}

.ctf-document-library .ctf-managed-table-wrap {
  overflow: visible !important;
}

.ctf-document-library .ctf-document-table,
.ctf-document-library .ctf-document-table thead,
.ctf-document-library .ctf-document-table tbody {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  display: block !important;
  min-width: 0 !important;
  width: 100% !important;
}

.ctf-document-library .ctf-document-table thead tr {
  align-items: center !important;
  display: grid !important;
  gap: 18px !important;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.34fr) minmax(230px, 0.36fr) !important;
  padding: 0 22px 10px !important;
}

.ctf-document-library .ctf-document-table th {
  display: block !important;
  padding: 0 !important;
  white-space: nowrap !important;
}

.ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) {
  align-items: stretch !important;
  background: #ffffff !important;
  border: 1px solid #DDE3ED !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 26px rgba(0, 19, 57, 0.045) !important;
  display: grid !important;
  gap: 0 !important;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.34fr) minmax(230px, 0.36fr) !important;
  margin: 0 0 12px !important;
  overflow: hidden !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease !important;
}

.ctf-document-library .ctf-document-table tbody tr[hidden] {
  display: none !important;
}

.ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row):hover {
  border-color: #C9D1DF !important;
  box-shadow: 0 16px 36px rgba(0, 19, 57, 0.075) !important;
  transform: translateY(-1px) !important;
}

.ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) td,
.ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) td:first-child,
.ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) td:last-child {
  align-items: center !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  min-width: 0 !important;
  padding: 22px 24px !important;
}

.ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) td:nth-child(2) {
  background: #FAFCFF !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) td:last-child {
  justify-content: flex-end !important;
}

.ctf-document-library .ctf-document-name {
  align-items: center !important;
  min-width: 0 !important;
}

.ctf-document-library .ctf-document-name > div {
  min-width: 0 !important;
}

.ctf-document-library .ctf-document-icon {
  background: #F3F7FC !important;
  border-color: #D7E0ED !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7) !important;
  flex-basis: 46px !important;
  height: 52px !important;
  width: 46px !important;
}

.ctf-document-library .ctf-document-summary {
  max-width: 820px !important;
}

.ctf-document-library .ctf-document-actions {
  justify-content: flex-end !important;
}

.ctf-document-library .ctf-document-action,
.ctf-document-library .ctf-managed-table .ctf-document-action {
  border-radius: 7px !important;
  flex-direction: row !important;
  min-height: 44px !important;
  min-width: 0 !important;
}

.ctf-document-library .ctf-document-action--download,
.ctf-document-library .ctf-managed-table .ctf-document-action--download {
  min-width: 148px !important;
}

.ctf-document-library .ctf-document-action__label,
.ctf-document-library .ctf-document-action__meta {
  display: inline-flex !important;
  line-height: 1 !important;
}

.ctf-document-library .ctf-document-action__meta {
  opacity: 0.78 !important;
}

.ctf-document-library .ctf-document-action--download .ctf-document-action__meta::before {
  content: "·" !important;
  margin: 0 5px 0 1px !important;
}

@media (max-width: 1024px) {
  .ctf-document-library .ctf-document-toolbar {
    align-items: stretch !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .ctf-document-library .ctf-document-search-wrap {
    max-width: none !important;
  }

  .ctf-document-library .ctf-document-table thead tr,
  .ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) {
    grid-template-columns: minmax(0, 1fr) minmax(150px, 0.32fr) !important;
  }

  .ctf-document-library .ctf-document-table th:nth-child(3) {
    display: none !important;
  }

  .ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) td:last-child {
    grid-column: 1 / -1 !important;
    justify-content: flex-start !important;
    padding-top: 0 !important;
  }
}

@media (max-width: 767px) {
  .ctf-document-library {
    padding: 14px !important;
  }

  .ctf-document-library .ctf-document-toolbar {
    border-bottom: 0 !important;
    padding: 0 !important;
  }

  .ctf-document-library .ctf-document-tabs {
    display: grid !important;
    gap: 8px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    overflow-x: visible !important;
    width: 100% !important;
  }

  .ctf-document-library .ctf-document-tab {
    justify-content: center !important;
    min-height: 42px !important;
    min-width: 0 !important;
    padding: 8px 10px !important;
    text-align: center !important;
    white-space: normal !important;
    width: 100% !important;
  }

  .ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) {
    display: block !important;
  }

  .ctf-document-library .ctf-document-table thead {
    display: none !important;
  }

  .ctf-document-library .ctf-document-cell::before {
    color: #687386 !important;
    content: attr(data-label) !important;
    display: block !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    margin-bottom: 8px !important;
  }

  .ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) td,
  .ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) td:first-child,
  .ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) td:last-child {
    align-items: stretch !important;
    display: block !important;
    padding: 16px !important;
  }

  .ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) td:nth-child(2) {
    background: #FAFCFF !important;
  }

  .ctf-document-library .ctf-document-actions {
    justify-content: stretch !important;
  }

  .ctf-document-library .ctf-document-action--download,
  .ctf-document-library .ctf-managed-table .ctf-document-action--download {
    flex-wrap: wrap !important;
    height: auto !important;
    min-width: 0 !important;
    row-gap: 2px !important;
  }

  /* Flex items default to min-width:auto, so long file-size text (e.g. "PDF
     (1,022.0 B)") refused to shrink and spilled past the button's own border
     instead of wrapping inside it. */
  .ctf-document-library .ctf-document-action__label,
  .ctf-document-library .ctf-document-action__meta {
    min-width: 0 !important;
    white-space: normal !important;
  }
}

/* Resources document library cleanup: square tabs, no category chips, no row wrapper. */
.ctf-document-library .ctf-document-toolbar {
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.ctf-document-library .ctf-document-tab {
  border-radius: 0 !important;
}

.ctf-document-library .ctf-document-category {
  display: none !important;
}

.ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) td:nth-child(2) {
  background: transparent !important;
}

.ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) td + td {
  border-left: 0 !important;
}

.ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin-bottom: 8px !important;
  overflow: visible !important;
  transform: none !important;
}

.ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row):hover {
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Main events calendar: match the event-detail calendar frame. */
.ctf-main-event-calendar-frame.ctf-external-event-calendar {
  background: #ffffff !important;
  border: 1px solid #d9dde6 !important;
  box-shadow: 0 22px 55px rgba(0, 19, 57, 0.08) !important;
  max-width: 1180px !important;
  padding: 26px !important;
}

.ctf-main-event-calendar-frame.ctf-external-event-calendar .elementor-widget-container,
.ctf-main-event-calendar-frame.ctf-external-event-calendar .elementor-shortcode {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  padding: 0 !important;
}

@media (max-width: 640px) {
  .ctf-main-event-calendar-frame.ctf-external-event-calendar {
    padding: 18px !important;
  }
}

/* Event Organiser calendar: refined professional month view. */
.ctf-external-event-calendar .eo-fullcalendar {
  --ctf-calendar-border: #D9DFEA;
  --ctf-calendar-soft-border: #E6EBF3;
  --ctf-calendar-header: #F4F7FB;
  --ctf-calendar-muted: #7B8494;
  background: #ffffff !important;
  color: #182234 !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-toolbar {
  background: #ffffff !important;
  border-bottom: 1px solid var(--ctf-calendar-soft-border) !important;
  gap: 14px !important;
  min-height: 78px !important;
  padding: 24px 28px 20px !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-toolbar h2 {
  color: var(--ctf-navy-2, #002662) !important;
  font-size: 30px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-button,
.ctf-external-event-calendar .eo-fullcalendar .fc-state-default {
  border-radius: 4px !important;
  height: 42px !important;
  letter-spacing: 0 !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-prev-button,
.ctf-external-event-calendar .eo-fullcalendar .fc-next-button {
  height: 42px !important;
  width: 42px !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-today-button {
  background: #8FA0BC !important;
  border-color: #8FA0BC !important;
  min-width: 94px !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-view-container {
  padding: 0 28px 30px !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-view {
  border-color: var(--ctf-calendar-border) !important;
  border-radius: 4px !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-widget-header,
.ctf-external-event-calendar .eo-fullcalendar .fc-day-header {
  background: var(--ctf-calendar-header) !important;
  border-color: var(--ctf-calendar-border) !important;
  color: var(--ctf-navy-2, #002662) !important;
  font-size: 12px !important;
  height: 54px !important;
  letter-spacing: 0.02em !important;
  vertical-align: middle !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-body .fc-row,
.ctf-external-event-calendar .eo-fullcalendar .fc-day-grid .fc-row {
  min-height: 112px !important;
}

.ctf-external-event-calendar .eo-fullcalendar td,
.ctf-external-event-calendar .eo-fullcalendar th {
  border-color: var(--ctf-calendar-border) !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-day,
.ctf-external-event-calendar .eo-fullcalendar .fc-widget-content {
  background: #ffffff !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-other-month {
  background: #F8FAFD !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-day-number {
  color: #182234 !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  padding: 13px 12px 7px !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-other-month .fc-day-number {
  color: #B2BBC9 !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-today,
.ctf-external-event-calendar .eo-fullcalendar .fc-state-highlight {
  background: linear-gradient(180deg, #FFF8E8 0%, #FFFDF7 100%) !important;
  box-shadow: inset 0 0 0 2px rgba(200, 155, 60, 0.34), inset 4px 0 0 rgba(200, 155, 60, 0.9) !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-event-container {
  padding: 0 4px !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-day-grid-event,
.ctf-external-event-calendar .eo-fullcalendar .fc-event {
  border-radius: 4px !important;
  box-shadow: 0 4px 12px rgba(0, 19, 57, 0.12) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.28 !important;
  margin: 4px 2px 0 !important;
  min-height: 28px !important;
  padding: 6px 8px !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-event-title,
.ctf-external-event-calendar .eo-fullcalendar .fc-event-time,
.ctf-external-event-calendar .eo-fullcalendar .fc-content,
.ctf-external-event-calendar .eo-fullcalendar .fc-title {
  color: inherit !important;
  line-height: 1.25 !important;
  white-space: normal !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-time {
  font-weight: 900 !important;
  opacity: 0.96 !important;
}

.ctf-external-event-calendar .eo-fullcalendar-key,
.ctf-external-event-calendar .eo_fullcalendar_key {
  background: #ffffff !important;
  border-top-color: var(--ctf-calendar-soft-border) !important;
}

@media (max-width: 640px) {
  .ctf-external-event-calendar .eo-fullcalendar .fc-toolbar {
    padding: 20px 16px 16px !important;
  }

  .ctf-external-event-calendar .eo-fullcalendar .fc-toolbar h2 {
    font-size: 24px !important;
  }

  .ctf-external-event-calendar .eo-fullcalendar .fc-view-container {
    padding: 0 16px 16px !important;
  }

  .ctf-external-event-calendar .eo-fullcalendar .fc-day-grid-event,
  .ctf-external-event-calendar .eo-fullcalendar .fc-event {
    font-size: 11px !important;
    min-height: 30px !important;
  }
}

/* ============================================================
   Readability pass: Khmer needs a larger practical floor than
   the original compact template labels, especially in forms,
   metadata, and small section captions.
   ============================================================ */
.ctf-badge,
.ctf-badge .elementor-widget-container,
.ctf-badge .elementor-heading-title,
body:not(.elementor-editor-active) .elementor .elementor-widget-heading h6.elementor-heading-title.elementor-size-default,
body:not(.elementor-editor-active) .elementor .elementor-widget-heading span.elementor-heading-title.elementor-size-default {
  font-size: 15px !important;
  line-height: 1.65 !important;
  letter-spacing: 0.02em !important;
}

body:not(.elementor-editor-active) .elementor .elementor-widget-heading h6.elementor-heading-title.elementor-size-default {
  color: var(--ctf-navy-4, #121C2A) !important;
}

.ctf-contact-member-form__eyebrow,
.ctf-contact-member-visual__badge,
.ctf-contact-browser__brand,
.ctf-contact-browser__pill {
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.ctf-contact-browser__nav {
  font-size: 12px !important;
  line-height: 1.5 !important;
}

.wpcf7-form label,
.ctf-form label {
  font-size: 15px !important;
  line-height: 1.55 !important;
  margin-bottom: 10px !important;
}

.wpcf7-form label > .wpcf7-form-control-wrap {
  margin-top: 11px !important;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form textarea,
.wpcf7-form select,
.ctf-form input[type="text"],
.ctf-form input[type="email"],
.ctf-form select,
.ctf-form textarea {
  font-size: 16px !important;
  line-height: 1.58 !important;
  min-height: 50px !important;
}

.wpcf7-form textarea,
.ctf-form textarea {
  line-height: 1.72 !important;
  min-height: 150px !important;
}

.wpcf7-form .wpcf7-acceptance label,
.wpcf7-form .wpcf7-list-item-label {
  font-size: 14.5px !important;
  line-height: 1.75 !important;
}

.wpcf7-form .wpcf7-submit,
.ctf-form button[type="submit"] {
  font-size: 16px !important;
  line-height: 1.25 !important;
  min-height: 52px !important;
}

.ctf-newsletter-cf7 .wpcf7-form input[type="email"],
.wpcf7-form p:has(> .wpcf7-form-control-wrap[data-name="your-email"]):has(> .wpcf7-submit) input[type="email"] {
  font-size: 15px !important;
  height: 50px !important;
}

.ctf-newsletter-cf7 .wpcf7-form .wpcf7-submit,
.wpcf7-form p:has(> .wpcf7-form-control-wrap[data-name="your-email"]):has(> .wpcf7-submit) .wpcf7-submit {
  font-size: 14px !important;
  height: 50px !important;
  min-height: 50px !important;
}

.ctf-card__cat,
.ctf-featured-article__badge,
.ctf-featured-article__eyebrow,
.ctf-managed-eyebrow,
.ctf-profile-supporters__kicker {
  font-size: 14px !important;
  line-height: 1.55 !important;
  letter-spacing: 0.02em !important;
}

.ctf-card__meta,
.ctf-featured-article__meta,
.ctf-managed-spotlight__meta,
.ctf-managed-event__meta,
.ctf-document-updated,
.ctf-document-action__meta,
.ctf-sidebar__recent-date {
  font-size: 14px !important;
  line-height: 1.6 !important;
}

.ctf-card__desc,
.ctf-latest-news-card__desc,
.ctf-featured-article__excerpt,
.ctf-managed-spotlight__body p,
.ctf-managed-event p,
.ctf-document-summary,
.ctf-objective-card__subtitle,
.ctf-secretariat-card .elementor-widget-text-editor,
.ctf-role-card .elementor-widget-text-editor {
  font-size: 16px !important;
  line-height: 1.75 !important;
}

.ctf-card__link,
.ctf-featured-article__button,
.ctf-managed-button,
.ctf-evt-join,
.ctf-event-query__load,
.ctf-document-load-more,
.ctf-document-action__label,
.ctf-table__action,
.ctf-sidebar__list li,
.ctf-archive-header__back {
  font-size: 15px !important;
  line-height: 1.55 !important;
}

.ctf-news-filter__pill,
.ctf-document-tab,
.ctf-sidebar__tags span,
.ctf-pills span {
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.ctf-table th,
.ctf-managed-table th,
.ctf-document-table th {
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.ctf-table td,
.ctf-managed-table td,
.ctf-document-table td {
  font-size: 15px !important;
  line-height: 1.65 !important;
}

.ctf-profile-supporters__name,
.ctf-member-card__description,
.ctf-member-card__link {
  font-size: 15.5px !important;
  line-height: 1.7 !important;
}

.ctf-profile-supporters__note {
  font-size: 14.5px !important;
  line-height: 1.65 !important;
}

.ctf-office-row .elementor-heading-title {
  font-size: 15px !important;
  line-height: 1.55 !important;
}

.ctf-office-row .elementor-widget-text-editor,
.ctf-office-row .elementor-button-text {
  font-size: 16px !important;
  line-height: 1.65 !important;
}

.wpda_tree_item_desc {
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.ctf-document-library .ctf-document-table th {
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.ctf-org-chart-section .wpdevart_org_chart_container .wpda_tree_item_desc {
  font-size: 14px !important;
  line-height: 1.5 !important;
}

#ctf-departments-grid .elementor-widget-text-editor,
#ctf-departments-grid .elementor-widget-text-editor * {
  font-size: 15px !important;
  line-height: 1.7 !important;
}

.ctf-managed-event-card .ctf-evt-date span,
.ctf-managed-ind-row .ctf-ind-date span {
  font-size: 14px !important;
  letter-spacing: 0.04em !important;
  line-height: 1.35 !important;
}

.ctf-managed-document-compact a,
.ctf-latest-news-card__link {
  font-size: 15px !important;
  line-height: 1.55 !important;
}

.ctf-latest-news-card__date,
.ctf-latest-news-card__meta,
.ctf-document-library .ctf-document-updated,
.ctf-document-library .ctf-document-status {
  font-size: 14px !important;
  line-height: 1.6 !important;
  letter-spacing: 0.02em !important;
}

.ctf-document-library .ctf-document-summary {
  font-size: 15.5px !important;
  line-height: 1.65 !important;
}

.ctf-document-library .ctf-document-category {
  font-size: 13px !important;
  line-height: 1.35 !important;
}

/* Resources document library v3: polished document-list layout. */
.ctf-document-library {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.ctf-document-library .ctf-document-toolbar {
  align-items: flex-start !important;
  border-bottom: 1px solid #e6edf6 !important;
  display: grid !important;
  gap: 18px 24px !important;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px) !important;
  margin-bottom: 26px !important;
  padding-bottom: 22px !important;
}

.ctf-document-library .ctf-document-tabs {
  align-items: center !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  min-width: 0 !important;
}

.ctf-document-library .ctf-document-tab {
  background: #f6f8fc !important;
  border: 1px solid #d6deec !important;
  border-radius: 3px !important;
  color: var(--ctf-navy-2, #002662) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  min-height: 44px !important;
  padding: 0 16px !important;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease !important;
}

.ctf-document-library .ctf-document-tab.is-active,
.ctf-document-library .ctf-document-tab:hover,
.ctf-document-library .ctf-document-tab:focus-visible {
  background: var(--ctf-navy-2, #002662) !important;
  border-color: var(--ctf-navy-2, #002662) !important;
  color: #ffffff !important;
  transform: none !important;
}

.ctf-document-library .ctf-document-search-wrap {
  justify-self: end !important;
  max-width: none !important;
  width: 100% !important;
}

.ctf-document-library .ctf-document-search {
  background: #ffffff !important;
  border: 1px solid #cbd6e7 !important;
  border-radius: 6px !important;
  box-shadow: 0 8px 20px rgba(0, 38, 98, 0.04) !important;
  min-height: 54px !important;
  width: 100% !important;
}

.ctf-document-library .ctf-managed-table-wrap {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.ctf-document-library .ctf-document-table,
.ctf-document-library .ctf-document-table thead,
.ctf-document-library .ctf-document-table tbody {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  display: block !important;
  min-width: 0 !important;
  width: 100% !important;
}

.ctf-document-library .ctf-document-table thead tr,
.ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) {
  align-items: center !important;
  display: grid !important;
  gap: 24px !important;
  grid-template-columns: minmax(0, 1fr) 210px 220px !important;
}

.ctf-document-library .ctf-document-table thead tr {
  padding: 0 24px 8px !important;
}

.ctf-document-library .ctf-document-table th {
  background: transparent !important;
  border: 0 !important;
  color: var(--ctf-navy-2, #002662) !important;
  display: block !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  line-height: 1.45 !important;
  padding: 0 !important;
  text-align: left !important;
  white-space: nowrap !important;
}

.ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) {
  background: #ffffff !important;
  border: 1px solid #dbe3ef !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 28px rgba(0, 38, 98, 0.055) !important;
  margin: 0 0 14px !important;
  overflow: hidden !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease !important;
}

.ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row):hover {
  border-color: #b9c8dd !important;
  box-shadow: 0 16px 34px rgba(0, 38, 98, 0.085) !important;
  transform: translateY(-1px) !important;
}

.ctf-document-library .ctf-document-table tbody tr[hidden] {
  display: none !important;
}

.ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) td,
.ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) td:first-child,
.ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) td:last-child {
  align-items: center !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  min-width: 0 !important;
  padding: 22px 24px !important;
}

.ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) td:nth-child(2) {
  align-items: flex-start !important;
  flex-direction: column !important;
  justify-content: center !important;
  text-align: left !important;
}

.ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) td:last-child {
  justify-content: flex-end !important;
}

.ctf-document-library .ctf-document-name {
  align-items: center !important;
  gap: 18px !important;
  min-width: 0 !important;
}

.ctf-document-library .ctf-document-name > div {
  min-width: 0 !important;
}

.ctf-document-library .ctf-document-icon {
  background: #f4f7fb !important;
  border: 1px solid #cbd6e7 !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  color: var(--ctf-navy-2, #002662) !important;
  flex: 0 0 54px !important;
  height: 64px !important;
  width: 54px !important;
}

.ctf-document-library .ctf-document-title {
  color: var(--ctf-navy-2, #002662) !important;
  display: block !important;
  font-size: 17px !important;
  line-height: 1.4 !important;
  margin-bottom: 7px !important;
}

.ctf-document-library .ctf-document-summary {
  color: #667085 !important;
  display: block !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  max-width: 720px !important;
}

.ctf-document-library .ctf-document-date {
  color: var(--ctf-navy-2, #002662) !important;
  display: block !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.45 !important;
}

.ctf-document-library .ctf-document-updated {
  color: #667085 !important;
  display: block !important;
  font-size: 13px !important;
  letter-spacing: 0 !important;
  line-height: 1.55 !important;
  margin-top: 6px !important;
}

.ctf-document-library .ctf-document-actions {
  align-items: flex-end !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  justify-content: center !important;
  width: 100% !important;
}

.ctf-document-library .ctf-document-action,
.ctf-document-library .ctf-managed-table .ctf-document-action {
  border-radius: 6px !important;
  flex-direction: row !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  min-height: 44px !important;
  min-width: 0 !important;
  padding: 0 16px !important;
  width: 150px !important;
}

.ctf-document-library .ctf-document-action--view,
.ctf-document-library .ctf-managed-table .ctf-document-action--view {
  background: var(--ctf-navy-2, #002662) !important;
  border-color: var(--ctf-navy-2, #002662) !important;
  color: #ffffff !important;
}

.ctf-document-library .ctf-document-action--download,
.ctf-document-library .ctf-managed-table .ctf-document-action--download {
  background: #fffaf0 !important;
  border-color: var(--ctf-gold-dark, #b8960c) !important;
  color: #8a640e !important;
  width: 190px !important;
}

.ctf-document-library .ctf-document-action__label,
.ctf-document-library .ctf-document-action__meta {
  display: inline-flex !important;
  line-height: 1.2 !important;
  min-width: 0 !important;
}

.ctf-document-library .ctf-document-action__meta {
  font-size: 13px !important;
  opacity: 0.9 !important;
}

.ctf-document-library .ctf-document-action--download .ctf-document-action__meta::before {
  content: "·" !important;
  margin: 0 6px !important;
}

.ctf-document-library .ctf-document-category {
  display: none !important;
}

.ctf-document-library .ctf-document-library__footer {
  align-items: center !important;
  border-top: 1px solid #e6edf6 !important;
  display: flex !important;
  gap: 16px !important;
  justify-content: space-between !important;
  margin-top: 8px !important;
  padding-top: 22px !important;
}

.ctf-document-library .ctf-document-load-more {
  border-radius: 6px !important;
  min-height: 44px !important;
}

@media (max-width: 1024px) {
  .ctf-document-library .ctf-document-toolbar {
    grid-template-columns: 1fr !important;
  }

  .ctf-document-library .ctf-document-search-wrap {
    justify-self: stretch !important;
  }

  .ctf-document-library .ctf-document-table thead tr,
  .ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) {
    grid-template-columns: minmax(0, 1fr) 180px !important;
  }

  .ctf-document-library .ctf-document-table th:nth-child(3) {
    display: none !important;
  }

  .ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) td:last-child {
    grid-column: 1 / -1 !important;
    justify-content: flex-start !important;
    padding-top: 0 !important;
  }

  .ctf-document-library .ctf-document-actions {
    align-items: stretch !important;
    flex-direction: row !important;
  }
}

@media (max-width: 767px) {
  .ctf-document-library {
    padding: 0 !important;
  }

  .ctf-document-library .ctf-document-toolbar {
    border-bottom: 0 !important;
    gap: 16px !important;
    padding-bottom: 0 !important;
  }

  .ctf-document-library .ctf-document-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
  }

  .ctf-document-library .ctf-document-tab {
    justify-content: center !important;
    min-height: 42px !important;
    padding: 8px 10px !important;
    text-align: center !important;
    white-space: normal !important;
    width: 100% !important;
  }

  .ctf-document-library .ctf-document-table thead {
    display: none !important;
  }

  .ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) {
    display: block !important;
    margin-bottom: 14px !important;
  }

  .ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) td,
  .ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) td:first-child,
  .ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) td:last-child {
    align-items: stretch !important;
    display: block !important;
    padding: 18px !important;
  }

  .ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) td + td {
    border-top: 1px solid #e6edf6 !important;
  }

  .ctf-document-library .ctf-document-cell::before {
    color: #667085 !important;
    content: attr(data-label) !important;
    display: block !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    line-height: 1.35 !important;
    margin-bottom: 10px !important;
  }

  .ctf-document-library .ctf-document-name {
    align-items: flex-start !important;
  }

  .ctf-document-library .ctf-document-icon {
    flex-basis: 48px !important;
    height: 56px !important;
    width: 48px !important;
  }

  .ctf-document-library .ctf-document-actions {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  .ctf-document-library .ctf-document-action,
  .ctf-document-library .ctf-managed-table .ctf-document-action,
  .ctf-document-library .ctf-document-action--download,
  .ctf-document-library .ctf-managed-table .ctf-document-action--download {
    width: 100% !important;
  }

  .ctf-document-library .ctf-document-library__footer {
    align-items: stretch !important;
    flex-direction: column !important;
  }
}

/* Resources document library v4: association-style directory. */
.ctf-document-library .ctf-document-toolbar {
  align-items: center !important;
  border-bottom: 1px solid #d9e2ef !important;
  gap: 20px 28px !important;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px) !important;
  margin-bottom: 28px !important;
  padding-bottom: 24px !important;
}

.ctf-document-library .ctf-document-tabs {
  gap: 6px !important;
}

.ctf-document-library .ctf-document-tab {
  background: rgba(255, 255, 255, 0.72) !important;
  border-color: #cfd9e8 !important;
  border-radius: 2px !important;
  color: var(--ctf-navy-2, #002662) !important;
  min-height: 42px !important;
  padding: 0 15px !important;
}

.ctf-document-library .ctf-document-tab.is-active,
.ctf-document-library .ctf-document-tab:hover,
.ctf-document-library .ctf-document-tab:focus-visible {
  background: var(--ctf-navy-2, #002662) !important;
  border-color: var(--ctf-navy-2, #002662) !important;
  color: #ffffff !important;
}

.ctf-document-library .ctf-document-search {
  border-color: #c5d0e1 !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  min-height: 52px !important;
}

.ctf-document-library .ctf-document-table thead tr,
.ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) {
  grid-template-columns: minmax(0, 1fr) 220px 226px !important;
}

.ctf-document-library .ctf-document-table thead tr {
  border-bottom: 2px solid var(--ctf-navy-2, #002662) !important;
  margin-bottom: 12px !important;
  padding: 0 28px 12px !important;
}

.ctf-document-library .ctf-document-table th {
  font-size: 12px !important;
  letter-spacing: 0 !important;
}

.ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) {
  border-color: #d5deeb !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  margin-bottom: 12px !important;
}

.ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row):hover {
  border-color: #b9c8dd !important;
  box-shadow: 0 10px 24px rgba(0, 38, 98, 0.055) !important;
  transform: none !important;
}

.ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) td,
.ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) td:first-child,
.ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) td:last-child {
  padding: 24px 28px !important;
}

.ctf-document-library .ctf-document-name {
  gap: 20px !important;
}

.ctf-document-library .ctf-document-icon {
  background: #f7f9fc !important;
  border-color: #c7d3e4 !important;
  border-radius: 4px !important;
  flex-basis: 52px !important;
  height: 60px !important;
  width: 52px !important;
}

.ctf-document-library .ctf-document-title {
  font-size: 18px !important;
  font-weight: 900 !important;
  margin-bottom: 8px !important;
}

.ctf-document-library .ctf-document-summary {
  color: #5f6b7d !important;
  max-width: 760px !important;
}

.ctf-document-library .ctf-document-actions {
  gap: 8px !important;
}

.ctf-document-library .ctf-document-action,
.ctf-document-library .ctf-managed-table .ctf-document-action {
  border-radius: 4px !important;
  min-height: 42px !important;
  width: 158px !important;
}

.ctf-document-library .ctf-document-action--download,
.ctf-document-library .ctf-managed-table .ctf-document-action--download {
  background: #ffffff !important;
  width: 196px !important;
}

.ctf-document-library .ctf-document-library__footer {
  border-top-color: #d9e2ef !important;
  justify-content: center !important;
  margin-top: 18px !important;
}

.ctf-document-library .ctf-document-status {
  color: #667085 !important;
}

@media (max-width: 1024px) {
  .ctf-document-library .ctf-document-table thead tr,
  .ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) {
    grid-template-columns: minmax(0, 1fr) 190px !important;
  }
}

@media (max-width: 767px) {
  .ctf-document-library .ctf-document-toolbar {
    border-bottom: 0 !important;
    margin-bottom: 22px !important;
  }

  .ctf-document-library .ctf-document-tab {
    min-height: 42px !important;
  }

  .ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) {
    border-radius: 4px !important;
  }

  .ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) td,
  .ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) td:first-child,
  .ctf-document-library .ctf-document-table tbody tr:not(.ctf-document-empty-row) td:last-child {
    padding: 18px !important;
  }

  .ctf-document-library .ctf-document-title {
    font-size: 17px !important;
  }

  .ctf-document-library .ctf-document-action,
  .ctf-document-library .ctf-managed-table .ctf-document-action,
  .ctf-document-library .ctf-document-action--download,
  .ctf-document-library .ctf-managed-table .ctf-document-action--download {
    width: 100% !important;
  }
}

/* Resources support band under the document library. */
.ctf-resource-support-section {
  background: #f5f7fa !important;
}

.ctf-resource-support-layout,
.ctf-resource-support-layout > .e-con-inner {
  align-items: stretch !important;
  display: grid !important;
  gap: 34px !important;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr) !important;
  width: 100% !important;
}

.ctf-resource-support-copy,
.ctf-resource-support-grid {
  padding: 0 !important;
  width: 100% !important;
}

.ctf-resource-support-copy {
  justify-content: center !important;
  max-width: 560px !important;
}

.ctf-resource-support-copy .ctf-badge,
.ctf-resource-support-copy .ctf-badge .elementor-widget-container {
  background: transparent !important;
  padding: 0 !important;
}

.ctf-resource-support-copy .ctf-badge .elementor-heading-title {
  background: #fde8e3 !important;
  color: var(--ctf-red, #e02020) !important;
  padding: 9px 14px !important;
}

.ctf-resource-support-actions,
.ctf-resource-support-actions > .e-con-inner {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
  padding: 0 !important;
}

.ctf-resource-support-actions .elementor-button {
  min-height: 52px !important;
}

.ctf-resource-support-secondary .elementor-button {
  background: #ffffff !important;
  border: 1px solid #c9d4e6 !important;
  color: var(--ctf-navy-2, #002662) !important;
}

.ctf-resource-support-secondary .elementor-button:hover,
.ctf-resource-support-secondary .elementor-button:focus-visible {
  background: var(--ctf-navy-2, #002662) !important;
  color: #ffffff !important;
}

.ctf-resource-support-grid,
.ctf-resource-support-grid > .e-con-inner {
  display: grid !important;
  gap: 16px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  width: 100% !important;
}

.ctf-resource-support-card {
  align-items: flex-start !important;
  background: #ffffff !important;
  border: 1px solid #dbe3ef !important;
  border-radius: 8px !important;
  box-shadow: 0 14px 34px rgba(0, 38, 98, 0.06) !important;
  min-height: 246px !important;
  padding: 26px !important;
}

.ctf-resource-support-card .elementor-icon-box-wrapper {
  text-align: left !important;
}

.ctf-resource-support-card .elementor-icon {
  align-items: center !important;
  background: #f4f7fb !important;
  border-radius: 50% !important;
  box-shadow: 0 10px 24px rgba(0, 38, 98, 0.08) !important;
  color: var(--ctf-red, #e02020) !important;
  display: inline-flex !important;
  height: 54px !important;
  justify-content: center !important;
  width: 54px !important;
}

.ctf-resource-support-card .elementor-icon-box-title {
  margin: 18px 0 8px !important;
}

.ctf-resource-support-card .elementor-icon-box-title,
.ctf-resource-support-card .elementor-icon-box-title a {
  color: var(--ctf-navy-2, #002662) !important;
}

.ctf-resource-support-card .elementor-icon-box-description {
  color: #565b68 !important;
  line-height: 1.65 !important;
}

@media (max-width: 1024px) {
  .ctf-resource-support-layout,
  .ctf-resource-support-layout > .e-con-inner {
    grid-template-columns: 1fr !important;
  }

  .ctf-resource-support-copy {
    max-width: none !important;
  }
}

@media (max-width: 767px) {
  .ctf-resource-support-section {
    --padding-bottom: 64px !important;
    --padding-left: 20px !important;
    --padding-right: 20px !important;
  }

  .ctf-resource-support-layout,
  .ctf-resource-support-layout > .e-con-inner {
    gap: 28px !important;
  }

  .ctf-resource-support-grid,
  .ctf-resource-support-grid > .e-con-inner {
    grid-template-columns: 1fr !important;
  }

  .ctf-resource-support-card {
    min-height: 0 !important;
    padding: 24px !important;
  }

  .ctf-resource-support-actions,
  .ctf-resource-support-actions > .e-con-inner,
  .ctf-resource-support-actions .elementor-widget-button,
  .ctf-resource-support-actions .elementor-button-wrapper,
  .ctf-resource-support-actions .elementor-button {
    width: 100% !important;
  }

  .ctf-resource-support-actions .elementor-button {
    justify-content: center !important;
  }
}

.ctf-org-chart-section .wpdevart_org_chart_container .wpda_tree_item_title {
  font-size: 14px !important;
  line-height: 1.4 !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-time,
.ctf-external-event-calendar .eo-fullcalendar .fc-title {
  font-size: 14px !important;
  line-height: 1.35 !important;
}

.ctf-managed-meta,
.ctf-managed-meta span,
.ctf-press-download .elementor-button-text {
  font-size: 14px !important;
  line-height: 1.55 !important;
}

footer#colophon .elementor-section:last-child .elementor-widget-text-editor .elementor-widget-container {
  font-size: 14px !important;
  letter-spacing: 0.02em !important;
  line-height: 1.65 !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-button,
.ctf-external-event-calendar .eo-fullcalendar .fc-day-header,
.ctf-external-event-calendar .eo-fullcalendar .fc-day-number {
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.ctf-external-event-calendar .eo-fullcalendar .fc-day-grid-event,
.ctf-external-event-calendar .eo-fullcalendar .fc-event {
  font-size: 13px !important;
  line-height: 1.38 !important;
}

@media (max-width: 767px) {
  .ctf-card__desc,
  .ctf-latest-news-card__desc,
  .ctf-featured-article__excerpt,
  .ctf-managed-spotlight__body p,
  .ctf-managed-event p,
  .ctf-document-summary,
  .ctf-objective-card__subtitle {
    font-size: 15.5px !important;
  }

  .wpcf7-form label,
  .ctf-form label {
    font-size: 14.5px !important;
  }

  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form input[type="tel"],
  .wpcf7-form input[type="url"],
  .wpcf7-form input[type="number"],
  .wpcf7-form textarea,
  .wpcf7-form select {
    font-size: 15.5px !important;
  }
}

/* Final mobile fit pass: keep Elementor's large visual language, but remove
   narrow-screen overflow and the excessive vertical gaps it creates. */
@media (max-width: 640px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden !important;
  }

  #ctf-hero {
    justify-content: center !important;
    min-height: 740px !important;
    padding: 32px 18px 44px !important;
  }

  #ctf-hero-row {
    flex: 0 1 auto !important;
    flex-basis: auto !important;
    gap: 26px !important;
    height: auto !important;
    justify-content: center !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  #ctf-hero-left,
  #ctf-hero-right {
    flex: 0 1 auto !important;
    flex-basis: auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  #ctf-hero-left {
    gap: 18px !important;
  }

  #ctf-hero-right {
    gap: 0 !important;
  }

  #ctf-hero-left .elementor-heading-title {
    font-size: clamp(32px, 9.6vw, 38px) !important;
    line-height: 1.2 !important;
  }

  #ctf-hero-left .elementor-widget-text-editor,
  #ctf-hero-left .elementor-widget-text-editor * {
    font-size: 17px !important;
    line-height: 1.75 !important;
  }

  #ctf-hero-left .elementor-button {
    min-height: 56px !important;
    padding: 16px 22px !important;
    width: 100% !important;
  }

  #ctf-hero-arrows {
    display: none !important;
  }

  #ctf-hero-thumbs {
    display: grid !important;
    gap: 8px !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    justify-content: stretch !important;
    max-width: 100% !important;
    overflow: hidden !important;
    padding: 0 !important;
    width: 100% !important;
  }

  #ctf-hero-thumbs .ctf-hero-thumb,
  #ctf-hero-thumbs .ctf-hero-thumb .elementor-widget-container,
  #ctf-hero-thumbs .ctf-hero-thumb img {
    height: 76px !important;
    max-width: 100% !important;
    min-height: 76px !important;
    width: 100% !important;
  }

  #ctf-hero-thumbs .ctf-hero-thumb img {
    object-fit: cover !important;
  }

  #ctf-hero .ctf-hero-watermark,
  #ctf-hero .ctf-hero-watermark .elementor-widget-container,
  #ctf-hero .ctf-hero-watermark .elementor-heading-title {
    left: 0 !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    right: auto !important;
    transform: none !important;
    width: 100vw !important;
  }

  #ctf-hero .ctf-hero-watermark .elementor-heading-title {
    font-size: clamp(76px, 27vw, 102px) !important;
    left: 0 !important;
    transform: none !important;
    width: 100vw !important;
  }

  body:not(.elementor-editor-active) .ctf-page-hero,
  body:not(.elementor-editor-active) .ctf-single-hero,
  body:not(.elementor-editor-active) .ctf-eo-detail-hero,
  body:not(.elementor-editor-active) .ctf-hero-bg-motion {
    contain: paint;
    max-width: 100vw !important;
    overflow: hidden !important;
  }

  body:not(.elementor-editor-active) .ctf-hero-bg-motion > .ctf-page-hero-bg {
    inset: 0 !important;
    transform: none !important;
    width: 100% !important;
  }

  .ctf-managed-ind-row {
    box-sizing: border-box !important;
    gap: 12px !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 18px 16px !important;
    width: 100% !important;
  }

  .ctf-managed-ind-row .ctf-ind-date,
  .ctf-managed-ind-row .ctf-ind-info,
  .ctf-managed-ind-row h3,
  .ctf-managed-ind-row p {
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .ctf-managed-ind-row .ctf-ind-chev {
    align-self: flex-start !important;
    margin-left: 0 !important;
  }

  #ctf-ind-section {
    align-items: stretch !important;
    flex-direction: column !important;
    gap: 32px !important;
    padding: 72px 24px !important;
  }

  #ctf-ind-section > .e-con,
  #ctf-ind-section > .e-con-inner > .e-con {
    flex: 0 1 auto !important;
    flex-basis: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  #ctf-ind-section > .e-con:first-child,
  #ctf-ind-section > .e-con:nth-child(2),
  #ctf-ind-section > .e-con-inner > .e-con:first-child,
  #ctf-ind-section > .e-con-inner > .e-con:nth-child(2) {
    align-items: flex-start !important;
    flex: 0 1 auto !important;
    flex-basis: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  #ctf-ind-section > .e-con:first-child .elementor-heading-title,
  #ctf-ind-section > .e-con-inner > .e-con:first-child .elementor-heading-title {
    font-size: clamp(34px, 10vw, 42px) !important;
    line-height: 1.22 !important;
    max-width: 100% !important;
    text-align: left !important;
    word-break: normal !important;
  }

  #ctf-ind-section > .e-con:first-child .elementor-widget-text-editor,
  #ctf-ind-section > .e-con:first-child .elementor-widget-text-editor *,
  #ctf-ind-section > .e-con-inner > .e-con:first-child .elementor-widget-text-editor,
  #ctf-ind-section > .e-con-inner > .e-con:first-child .elementor-widget-text-editor * {
    max-width: 100% !important;
    text-align: left !important;
  }

  .ctf-home-departments .ctf-home-departments-visual {
    justify-content: center !important;
    min-height: 440px !important;
    padding: 16px !important;
  }

  .ctf-home-departments .ctf-home-departments-visual > .elementor-widget-wrap,
  .ctf-home-departments .ctf-home-departments-visual > .e-con-inner {
    align-items: flex-end !important;
    background-position: center center !important;
    background-size: cover !important;
    justify-content: center !important;
    min-height: 100% !important;
    overflow: hidden !important;
    padding: 18px !important;
  }

  .ctf-home-departments .ctf-home-departments-visual .e-con,
  .ctf-home-departments .ctf-home-departments-visual .elementor-container,
  .ctf-home-departments .ctf-home-departments-visual .elementor-widget-wrap {
    max-width: 100% !important;
  }

  .ctf-home-departments .ctf-home-departments-visual > .elementor-widget-wrap > .e-con {
    background-color: rgba(0, 19, 57, 0.92) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 18px 40px rgba(0, 19, 57, 0.28) !important;
    max-width: 100% !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    width: 100% !important;
  }

  .ctf-home-departments > .elementor-container,
  .ctf-home-departments .elementor-container {
    display: block !important;
  }

  .ctf-home-departments .elementor-column {
    width: 100% !important;
  }

  .ctf-home-departments .elementor-column:not(.ctf-home-departments-visual) > .elementor-widget-wrap {
    padding: 48px 24px 56px !important;
  }

  #ctf-departments-grid {
    display: grid !important;
    gap: 16px !important;
    grid-template-columns: 1fr !important;
    padding: 0 !important;
    width: 100% !important;
  }

  #ctf-departments-grid > .e-con,
  #ctf-departments-grid > .e-con-inner > .e-con {
    min-height: 0 !important;
    padding: 24px !important;
    width: 100% !important;
  }

  #ctf-departments-grid .elementor-widget,
  #ctf-departments-grid .elementor-widget-container {
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  #ctf-departments-grid .elementor-heading-title {
    font-size: 18px !important;
    line-height: 1.45 !important;
  }

  #ctf-departments-grid .elementor-widget-text-editor,
  #ctf-departments-grid .elementor-widget-text-editor * {
    font-size: 15px !important;
    line-height: 1.65 !important;
  }

  #ctf-speakers-grid,
  #ctf-speakers-grid > .e-con-inner {
    display: grid !important;
    gap: 18px !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }

  #ctf-speakers-grid > .e-con,
  #ctf-speakers-grid > .e-con-inner > .e-con {
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 24px !important;
    width: 100% !important;
  }

  #ctf-speakers-grid .elementor-widget-image,
  #ctf-speakers-grid .elementor-widget-image .elementor-widget-container {
    align-items: center !important;
    display: flex !important;
    height: 96px !important;
    justify-content: center !important;
    overflow: hidden !important;
    width: 96px !important;
  }

  #ctf-speakers-grid .elementor-widget-image img {
    aspect-ratio: 1 / 1 !important;
    border-radius: 999px !important;
    display: block !important;
    height: 96px !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    width: 96px !important;
  }

  #ctf-speakers-grid .elementor-heading-title,
  #ctf-speakers-grid .elementor-widget-text-editor,
  #ctf-speakers-grid .elementor-widget-text-editor * {
    max-width: 100% !important;
    overflow-wrap: normal !important;
    text-align: center !important;
    word-break: normal !important;
  }

  .elementor-heading-title {
    overflow-wrap: anywhere;
    word-break: normal;
  }
}

@media (max-width: 390px) {
  .elementor-heading-title {
    letter-spacing: 0 !important;
  }

  .elementor-widget-heading .elementor-heading-title {
    line-height: 1.18 !important;
  }

  .ctf-home-departments .ctf-home-departments-visual {
    min-height: 420px !important;
  }

  /* News page hero H1: at 60px this heading force-wraps to 3 lines below ~390px,
     and Chrome's Khmer text shaping has a bug where breaking within
     "បច្ចុប្បន្នភាព" at that specific point detaches a combining vowel mark into
     a floating glyph between the lines (reproduced in isolation, independent of
     any site CSS - not a wrap/overflow setting fixable by wrap or line-height
     alone). Dropping to 46px keeps it to a clean 2-line wrap, which sidesteps the
     bad break point entirely. _css_classes lands on the widget wrapper, not the
     .elementor-heading-title element itself, hence the descendant combinator. */
  .ctf-news-hero-title .elementor-heading-title {
    font-size: 46px !important;
    line-height: 1.3 !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
  }
}
