/* ==========================================================
   AKH WEBSITE REDESIGN — CONSOLIDATED GLOBAL CSS
   Version 5 — 2026-09-19

   Consolidates the complete site-wide redesign stylesheet
   with the approved Account / Commerce system styles for:
   Login • Registration • My Account • Cart

   Intended as a FULL REPLACEMENT for EthosCE Global CSS.
   ========================================================== */

/* ==========================================================
   AKH WEBSITE REDESIGN
   Global CSS
   ========================================================== */


/* ==========================================================
   1. DESIGN TOKENS
   ========================================================== */

:root {
  /* Official AKH brand colors */
  --akh-navy: #012169;
  --akh-blue: #005C9F;
  --akh-teal: #00A0B0;
  --akh-pink: #CF5C78;

  /* Supporting UI colors */
  --akh-text: #26384a;
  --akh-muted-text: #5d6d7c;
  --akh-white: #ffffff;

  --akh-light-bg: #f6f9fb;
  --akh-soft-blue: #f1f7fb;
  --akh-soft-teal: #f1f8f7;
  --akh-border: #dfe7ec;

  --akh-content-width: 1280px;
}


/* ==========================================================
   2. HOMEPAGE — REMOVE LEGACY ETHOSCE ELEMENTS
   ========================================================== */

/* Empty two-column region retained by Drupal Panels */
body.page-homepage .center-wrapper {
  display: none !important;
}

/* Remove legacy pane separators */
body.page-homepage .panel-pane {
  border-bottom-color: transparent !important;
}

.akh-home-hero,
.akh-latest-education,
.akh-featured-education,
.akh-jp-pane {
  border-bottom: 0 !important;
}

.akh-home-hero:after,
.akh-latest-education:after,
.akh-featured-education:after,
.akh-jp-pane:after {
  content: none !important;
  border: 0 !important;
  background: none !important;
}


/* ==========================================================
   3. SHARED HOMEPAGE SECTION HEADINGS
   ========================================================== */

.akh-section-heading {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.akh-section-eyebrow {
  display: block;
  margin-bottom: 10px;

  color: var(--akh-teal);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 1.6px;
}

/* Joint Accreditation eyebrow */
.akh-accreditation .akh-section-eyebrow {
  color: var(--akh-navy);
}

.akh-section-heading h2 {
  margin: 0 0 14px;

  color: var(--akh-navy);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
}

.akh-section-heading p {
  margin: 0;

  color: var(--akh-text);
  font-size: 17px;
  line-height: 1.55;
}


/* ==========================================================
   4. SITE HEADER — DESKTOP
   ========================================================== */

@media (min-width: 768px) {

#header {
  height: 150px !important;
  min-height: 150px !important;
  background: var(--akh-white) !important;
  overflow: hidden !important;
}

  #header-inner {
    box-sizing: border-box;
    position: relative;

    max-width: var(--akh-content-width);
    height: 150px !important;
    min-height: 150px !important;

    margin: 0 auto;
    padding: 0 28px;
  }


  /* ----------------------------------------------------------
     AKH logo
     ---------------------------------------------------------- */

#logo {
  position: absolute !important;
  top: 50% !important;
  left: 28px !important;

  margin: 0 !important;

  transform: translateY(-50%);
  z-index: 2;
}

#logo img {
  display: block;

  width: 285px !important;
  height: auto !important;
  max-width: none !important;
  max-height: 94px !important;

  object-fit: contain;
}

  #name-and-slogan {
    display: none !important;
  }


  /* ----------------------------------------------------------
     Search
     ---------------------------------------------------------- */

  #header-right {
    position: absolute !important;
    top: 50% !important;
    right: 28px !important;

    width: auto !important;
    margin: 0 !important;

    transform: translateY(-50%);
  }

  #header .region-header {
    position: static !important;

    min-height: 0 !important;
    margin: 0 !important;

    transform: none !important;
  }

  #block-ethosce-search-ethosce-search {
    margin: 0 !important;
  }

  #ethosce-search-form .form-text {
    box-sizing: border-box;

    width: 300px;
    height: 40px;
  }

  #ethosce-search-form .form-submit {
    height: 40px;
  }


  /* Drupal share controls are not AKH social-profile links */

  #block-service-links-service-links-not-node {
    display: none !important;
  }

}


/* ==========================================================
   5. SITE NAVIGATION — DESKTOP
   ========================================================== */

@media (min-width: 768px) {

  #navigation-outer {
    background: var(--akh-navy) !important;

    border-top: 0 !important;
    border-bottom: 0 !important;

    box-shadow: 0 3px 10px rgba(1, 33, 105, 0.16);
  }

  #navigation {
    box-sizing: border-box;

    max-width: var(--akh-content-width);

    margin: 0 auto;
    padding: 0 28px;

    background: transparent !important;
  }

  #topnav-inner,
  #main-menu {
    background: transparent !important;
  }

  #main-menu > ul.menu {
    margin: 0;
    padding: 0;
  }

  #main-menu > ul.menu > li {
    margin: 0;
    padding: 0;

    background: transparent !important;
  }


  /* ----------------------------------------------------------
     Top-level navigation — normal
     ---------------------------------------------------------- */

  #main-menu > ul.menu > li > a {
    box-sizing: border-box;
    display: block;

    padding: 17px 22px 14px;

    background: transparent !important;

    color: var(--akh-white) !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;

    border: 0 !important;
    border-bottom: 3px solid transparent !important;

    transition:
      background-color 0.2s ease,
      color 0.2s ease,
      border-color 0.2s ease;
  }

  #main-menu > ul.menu > li:first-child > a {
    padding-left: 0;
  }


  /* ----------------------------------------------------------
     Top-level navigation — hover / keyboard focus
     ---------------------------------------------------------- */

  #main-menu > ul.menu > li:hover,
  #main-menu > ul.menu > li:focus-within {
    background: transparent !important;
  }

  #main-menu > ul.menu > li:hover > a,
  #main-menu > ul.menu > li > a:hover,
  #main-menu > ul.menu > li > a:focus {
    background: rgba(255,255,255,0.08) !important;

    color: var(--akh-white) !important;

    border-bottom-color: var(--akh-teal) !important;
  }


  /* ----------------------------------------------------------
     Top-level navigation — active/current section
     ---------------------------------------------------------- */

  #main-menu > ul.menu > li.active,
  #main-menu > ul.menu > li.active-trail {
    background: transparent !important;
  }

  #main-menu > ul.menu > li.active > a,
  #main-menu > ul.menu > li.active-trail > a,
  #main-menu > ul.menu > li > a.active {
    background: rgba(255,255,255,0.08) !important;

    color: var(--akh-white) !important;

    border-bottom-color: var(--akh-teal) !important;
  }


  /* Active item while hovered */

  #main-menu > ul.menu > li.active:hover > a,
  #main-menu > ul.menu > li.active-trail:hover > a,
  #main-menu > ul.menu > li.active > a:hover,
  #main-menu > ul.menu > li.active-trail > a:hover,
  #main-menu > ul.menu > li > a.active:hover {
    background: rgba(255,255,255,0.12) !important;

    color: var(--akh-white) !important;

    border-bottom-color: var(--akh-teal) !important;
  }


  /* ----------------------------------------------------------
     Dropdown menus
     ---------------------------------------------------------- */

  #main-menu > ul.menu > li > ul.menu {
    background: var(--akh-white) !important;

    border: 1px solid var(--akh-border) !important;
    border-top: 3px solid var(--akh-teal) !important;

    box-shadow: 0 10px 26px rgba(1, 33, 105, 0.18) !important;
  }

  #main-menu > ul.menu > li > ul.menu > li,
  #main-menu > ul.menu > li > ul.menu > li:hover,
  #main-menu > ul.menu > li > ul.menu > li.active,
  #main-menu > ul.menu > li > ul.menu > li.active-trail {
    background: var(--akh-white) !important;
  }

  #main-menu > ul.menu > li > ul.menu > li > a {
    background: var(--akh-white) !important;

    color: var(--akh-navy) !important;
    text-decoration: none !important;

    border: 0 !important;
  }


  /* Dropdown hover */

  #main-menu > ul.menu > li > ul.menu > li:hover > a,
  #main-menu > ul.menu > li > ul.menu > li > a:hover,
  #main-menu > ul.menu > li > ul.menu > li > a:focus {
    background: var(--akh-soft-teal) !important;

    color: var(--akh-navy) !important;
  }


  /* Dropdown active/current page */

  #main-menu > ul.menu > li > ul.menu > li.active > a,
  #main-menu > ul.menu > li > ul.menu > li.active-trail > a,
  #main-menu > ul.menu > li > ul.menu > li > a.active {
    background: var(--akh-soft-blue) !important;

    color: var(--akh-navy) !important;
    font-weight: 700 !important;
  }

}

/* ==========================================================
   MAIN NAVIGATION — DROPDOWN INDICATORS
   Replaces broken legacy Font Awesome glyphs
   ========================================================== */

#navigation .menu > li.expanded > a::after,
#navigation .menu > li.menuparent > a::after {
  content: "▾" !important;
  font-family: Arial, sans-serif !important;
  display: inline-block;
  margin-left: 7px;
  font-size: 10px;
  line-height: 1;
  vertical-align: 2px;
  color: var(--akh-white);
}

/* ==========================================================
   6. HOMEPAGE — HERO / CAROUSEL
   ========================================================== */

.akh-home-hero {
  margin-bottom: 32px;

  overflow: hidden;

  background: var(--akh-white);

  border: 0 !important;
  border-bottom: 0 !important;
}

.akh-home-hero .view,
.akh-home-hero .view-content {
  border: 0 !important;
  border-bottom: 0 !important;
}


/* ----------------------------------------------------------
   Slide structure
   ---------------------------------------------------------- */

.akh-home-hero .clear-block {
  display: flex;
  align-items: stretch;
}

.akh-home-hero .left,
.akh-home-hero .right {
  box-sizing: border-box;
}

.akh-home-hero .left {
  width: 50%;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.akh-home-hero .right {
  width: 50%;

  overflow: hidden;
}

.akh-home-hero .right img {
  display: block;

  width: 100%;

  object-fit: cover;
  object-position: center;
}

.akh-home-hero .slide-body {
  margin: 0;
  padding: 0;
}


/* ----------------------------------------------------------
   Hero typography
   ---------------------------------------------------------- */

.akh-home-hero .slide-title {
  margin: 0 0 16px;

  color: var(--akh-navy);

  font-size: 38px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.5px;
}

.akh-home-hero .akh-hero-description {
  max-width: 500px;

  margin: 0;

  color: var(--akh-text);

  font-size: 17px;
  line-height: 1.5;
}


/* ----------------------------------------------------------
   Hero CTA
   ---------------------------------------------------------- */

.akh-hero-button {
  box-sizing: border-box;

  display: inline-flex;
  align-items: center;
  align-self: flex-start;

  gap: 9px;

  margin-top: 24px;
  padding: 11px 20px;

  background: var(--akh-navy);

  border-radius: 4px;

  color: var(--akh-white) !important;

  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none !important;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.akh-hero-button:hover,
.akh-hero-button:focus {
  background: var(--akh-teal);

  color: var(--akh-white) !important;
  text-decoration: none !important;

  transform: translateY(-1px);
}


/* ----------------------------------------------------------
   Desktop carousel
   ---------------------------------------------------------- */

@media (min-width: 768px) {

  /*
   * Keep the slideshow engine, slide row, text and image
   * at the same height. This prevents the large empty band
   * that appeared below the slide content.
   */

  .akh-home-hero .views_slideshow_cycle_main,
  .akh-home-hero .views-slideshow-cycle-main-frame,
  .akh-home-hero .views-slideshow-cycle-main-frame-row {
    height: 275px !important;
  }

  .akh-home-hero .clear-block {
    height: 275px !important;
    min-height: 275px !important;
  }

  .akh-home-hero .left {
    width: 50%;
    height: 275px !important;

    padding: 32px 48px;
  }

  .akh-home-hero .right {
    width: 50%;
    height: 275px !important;

    display: flex;
    align-items: stretch;
  }

  .akh-home-hero .right img {
    width: 100% !important;
    height: 275px !important;
    max-height: none !important;

    object-fit: cover;
    object-position: center;
  }

}


/* ----------------------------------------------------------
   Carousel controls
   ---------------------------------------------------------- */

.akh-home-hero .views-slideshow-controls-bottom {
  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 100% !important;
  clear: both !important;

  padding: 46px 20px 6px !important;

  border: 0 !important;
}

.akh-home-hero .views_slideshow_controls_text {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100% !important;

  gap: 8px;

  border: 0 !important;
}

/* Control buttons */

.akh-home-hero .views_slideshow_controls_text span {
  display: block;
  margin: 0 !important;
}

.akh-home-hero .views_slideshow_controls_text a {
  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 22px;
  height: 22px;

  padding: 0 !important;

  background: transparent !important;

  border: 0 !important;
  border-radius: 0 !important;

  color: var(--akh-teal) !important;

  font-size: 0 !important;
  line-height: 1;

  text-decoration: none !important;

  transition: color 0.2s ease;
}

.akh-home-hero .views_slideshow_controls_text a:hover,
.akh-home-hero .views_slideshow_controls_text a:focus {
  background: transparent !important;
  border: 0 !important;

  color: var(--akh-navy) !important;

  text-decoration: none !important;
}

.akh-home-hero .views_slideshow_controls_text a:focus {
  outline: 2px solid var(--akh-navy);
  outline-offset: 2px;
}


/* Previous */

.akh-home-hero
.views_slideshow_controls_text_previous a::before {
  content: "‹";

  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}


/* Next */

.akh-home-hero
.views_slideshow_controls_text_next a::before {
  content: "›";

  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}


/* Pause */

.akh-home-hero
.views-slideshow-controls-text-status-play a::before {
  content: "Ⅱ";

  font-size: 7px;
  font-weight: 700;
  line-height: 1;
}


/* Resume / Play */

.akh-home-hero
.views-slideshow-controls-text-status-pause a::before {
  content: "▶";

  margin-left: 1px;

  font-size: 7px;
  line-height: 1;
}

/* Center carousel controls across the full hero */
.akh-home-hero .views-slideshow-controls-bottom {
  width: 100% !important;
  clear: both !important;
}

/* Final visual sizing of carousel controls */
.akh-home-hero .views_slideshow_controls_text {
  transform: scale(0.68);
  transform-origin: center bottom;
}

.akh-home-hero .views_slideshow_controls_text {
  width: 100% !important;
  justify-content: center !important;
}


/* Mobile */

@media (max-width: 768px) {

  .akh-home-hero .views-slideshow-controls-bottom {
    padding: 12px 16px 16px !important;
  }

  .akh-home-hero .views_slideshow_controls_text a {
    width: 40px;
    height: 40px;
  }

}


/* ----------------------------------------------------------
   Mobile hero
   ---------------------------------------------------------- */

@media (max-width: 767px) {

  .akh-home-hero {
    margin-bottom: 18px;
  }

  /*
   * Undo the fixed desktop slideshow heights.
   * Mobile needs to grow naturally with stacked content.
   */

  .akh-home-hero .views_slideshow_cycle_main,
  .akh-home-hero .views-slideshow-cycle-main-frame,
  .akh-home-hero .views-slideshow-cycle-main-frame-row {
    height: auto !important;
    min-height: 0 !important;
  }

  .akh-home-hero .clear-block {
    display: block;

    height: auto !important;
    min-height: 0 !important;
  }

  .akh-home-hero .left,
  .akh-home-hero .right {
    width: 100%;
    height: auto !important;
  }

  .akh-home-hero .left {
    padding: 28px 22px 24px;
  }

  .akh-home-hero .slide-title {
    margin-bottom: 14px;

    font-size: 30px;
    line-height: 1.12;
  }

  .akh-home-hero .akh-hero-description {
    max-width: none;

    font-size: 16px;
    line-height: 1.5;
  }

  .akh-hero-button {
    margin-top: 20px;
  }

  .akh-home-hero .right img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
  }

}

/* =========================================================
   HOMEPAGE HERO — MOBILE SLIDESHOW
   ========================================================= */

@media (max-width: 768px) {

  /* Let the slideshow use the phone width */
  body.front .akh-home-hero,
  body.front .akh-home-hero .pane-content,
  body.front .akh-home-hero .view-ethosce-slideshow,
  body.front .akh-home-hero .view-content,
  body.front .akh-home-hero .skin-default,
  body.front .akh-home-hero .views_slideshow_cycle_main {
    width: 100% !important;
    max-width: 100% !important;
  }

  /*
   * Cycle writes desktop dimensions inline.
   * Override the frame width while retaining the slideshow mechanism.
   */
  body.front .akh-home-hero
  .views-slideshow-cycle-main-frame {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.front .akh-home-hero
  .views-slideshow-cycle-main-frame-row {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Actual slide */
  body.front .akh-home-hero .clear-block {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;

    display: flex;
    flex-direction: column;

    padding: 24px 22px 26px;
  }

  /* Text first */
  body.front .akh-home-hero .clear-block .left {
    box-sizing: border-box;
    float: none !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    order: 1;
  }

  body.front .akh-home-hero .slide-title {
    margin: 0 0 12px;

    color: var(--akh-navy);
    font-size: 28px;
    line-height: 1.12;
    font-weight: 700;
  }

  body.front .akh-home-hero .akh-hero-description {
    margin: 0 0 20px;

    color: var(--akh-text);
    font-size: 16px;
    line-height: 1.5;
  }

  /* CTA */
  body.front .akh-home-hero .akh-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;
    padding: 10px 18px;

    font-size: 15px;
  }

  /* Image below text */
  body.front .akh-home-hero .clear-block .right {
    box-sizing: border-box;
    float: none !important;

    width: 100% !important;
    max-width: none !important;

    margin: 22px 0 0 !important;
    padding: 0 !important;

    order: 2;
  }

  body.front .akh-home-hero .clear-block .right img {
    display: block;

    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;

    margin: 0 auto;

    object-fit: cover;
    border-radius: 6px;
  }
}

/* =========================================================
   HOMEPAGE HERO — MOBILE CYCLE FIX
   ========================================================= */

@media (max-width: 768px) {

  /* Allow the slideshow container to grow with its content */
  body.front .akh-home-hero
  .views_slideshow_cycle_main,

  body.front .akh-home-hero
  .views-slideshow-cycle-main-frame {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  /*
   * Cycle absolutely positions every slide.
   * On mobile, let the currently displayed slide participate
   * in normal document flow so its content determines height.
   */
  body.front .akh-home-hero
  .views-slideshow-cycle-main-frame-row {
    width: 100% !important;
    height: auto !important;
  }

  /* Active / visible slide */
  body.front .akh-home-hero
  .views-slideshow-cycle-main-frame-row[style*="display: block"] {
    position: relative !important;
    top: auto !important;
    left: auto !important;

    display: block !important;

    width: 100% !important;
    height: auto !important;

    opacity: 1 !important;
  }

  /* Make the inner Views wrappers participate normally too */
  body.front .akh-home-hero
  .views-slideshow-cycle-main-frame-row-item,

  body.front .akh-home-hero
  .views-field-nothing,

  body.front .akh-home-hero
  .views-field-nothing > .field-content {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }
}

/* =========================================================
   HOMEPAGE HERO — MOBILE SHOW ONLY ACTIVE SLIDE
   ========================================================= */

@media (max-width: 768px) {

  /* Cycle's hidden slides must remain out of the layout */
  body.front .akh-home-hero
  .views-slideshow-cycle-main-frame-row {
    display: none !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
  }

  /* Only the slide Cycle currently marks display:block is shown */
  body.front .akh-home-hero
  .views-slideshow-cycle-main-frame-row[style*="display: block"] {
    display: block !important;
    position: relative !important;

    top: auto !important;
    left: auto !important;

    width: 100% !important;
    height: auto !important;

    opacity: 1 !important;
  }
}

/* =========================================================
   HOMEPAGE HERO — MOBILE CONTROL REFINEMENT
   ========================================================= */

@media (max-width: 768px) {

  /*
   * Keep the control group visually compact on mobile.
   * The individual links retain larger invisible tap areas.
   */
  body.front .akh-home-hero .views_slideshow_controls_text {
    gap: 4px !important;

    transform: none !important;
  }

  body.front .akh-home-hero .views_slideshow_controls_text a {
    width: 34px !important;
    height: 34px !important;

    background: transparent !important;
    border: 0 !important;
  }

  /* Previous */
  body.front .akh-home-hero
  .views_slideshow_controls_text_previous a::before {
    font-size: 13px !important;
  }

  /* Next */
  body.front .akh-home-hero
  .views_slideshow_controls_text_next a::before {
    font-size: 13px !important;
  }

  /* Pause */
  body.front .akh-home-hero
  .views-slideshow-controls-text-status-play a::before {
    font-size: 8px !important;
  }

  /* Resume / Play */
  body.front .akh-home-hero
  .views-slideshow-controls-text-status-pause a::before {
    font-size: 8px !important;
  }

  /*
   * Position controls near the bottom of the hero,
   * matching the desktop treatment.
   */
  body.front .akh-home-hero .views-slideshow-controls-bottom {
    width: 100% !important;

    padding: 34px 12px 6px !important;
  }
}

/* =========================================================
   HOMEPAGE HERO — MOBILE CONTROL FINAL SIZE
   ========================================================= */

@media (max-width: 768px) {

  body.front .akh-home-hero
  .views_slideshow_controls_text {
    position: relative !important;
    left: 50% !important;

    width: max-content !important;

    gap: 8px !important;

    transform: translateX(-50%) scale(0.38) !important;
    transform-origin: center center !important;
  }

}

/* ==========================================================
   7. HOMEPAGE — JOINT ACCREDITATION
   ========================================================== */

.akh-accreditation {
  box-sizing: border-box;
  margin-bottom: 32px;
  padding: 42px 46px 0;
  background: var(--akh-soft-teal);
  border: 1px solid #d7e8e5;
  border-radius: 6px;
}

.akh-accreditation-main {
  display: flex;
  align-items: center;

  gap: 55px;
}

.akh-accreditation-content {
  box-sizing: border-box;

  flex: 1 1 58%;
}

.akh-accreditation-content h2 {
  max-width: 620px;

  margin: 0 0 17px;

  color: var(--akh-navy);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
}

.akh-accreditation-intro {
  max-width: 600px;

  margin: 0 0 27px;

  color: var(--akh-text);
  font-size: 17px;
  line-height: 1.55;
}

.akh-accreditation-button {
  box-sizing: border-box;

  display: inline-flex;
  align-items: center;

  gap: 10px;

  padding: 12px 22px;

  background: var(--akh-navy);

  border-radius: 4px;

  color: var(--akh-white) !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none !important;

  transition: background-color 0.2s ease;
}

.akh-accreditation-button:hover,
.akh-accreditation-button:focus {
  background: var(--akh-teal);

  color: var(--akh-white) !important;
  text-decoration: none !important;
}

.akh-accreditation-logo {
  box-sizing: border-box;

  flex: 0 1 390px;

  text-align: center;
}

.akh-accreditation-logo img {
  display: block;

  width: 100%;
  max-width: 390px;
  height: auto;

  margin: 0 auto;
}

.akh-accreditation-statement {
  margin: 42px -46px 0;
  padding: 22px 46px;

  background: var(--akh-white);

  border-top: 1px solid var(--akh-border);
  border-radius: 0 0 8px 8px;
}

/* Give the accreditation statement a little more readability */
  .akh-accreditation-statement p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    line-height: 1.55;
  }

/* ==========================================================
   JOINT ACCREDITATION — STATEMENT WIDTH FIX
   ========================================================== */

.akh-accreditation-statement {
  box-sizing: border-box;

  width: 100% !important;
  max-width: 100% !important;

  margin-left: 0 !important;
  margin-right: 0 !important;

  left: auto !important;
  right: auto !important;

  border-radius: 0 0 4px 4px;
}

/* ==========================================================
   8. HOMEPAGE — SUBSCRIPTIONS / FLIP CARDS
   ========================================================== */

.akh-subscriptions {
  box-sizing: border-box;
  padding: 50px 42px 58px;
  background: var(--akh-soft-blue);
}

/* ----------------------------------------------------------
   Section heading
   ---------------------------------------------------------- */

.akh-subscriptions .akh-section-heading {
  max-width: 800px;
  margin-bottom: 34px !important;
}

.akh-subscriptions .akh-section-heading p {
  margin-bottom: 10px;
}

/* New offering badge */

.akh-new-badge {
  display: inline-block;
  margin: 0 0 13px;
  padding: 6px 13px;

  background: var(--akh-pink);
  border-radius: 20px;

  color: var(--akh-white);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1.2px;
}

/* Existing eyebrow */

.akh-subscriptions .akh-section-eyebrow {
  margin-bottom: 9px;
}

/* Pick your tier */

.akh-tier-callout {
  display: inline-block;
  margin-top: 5px;
  padding: 7px 16px;

  background: var(--akh-navy);
  border-radius: 20px;

  color: var(--akh-white);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.3px;
}

/* ----------------------------------------------------------
   Grid
   ---------------------------------------------------------- */

.akh-subscription-grid {
  display: flex;
  align-items: stretch;
  gap: 22px;
}

/* ----------------------------------------------------------
   Flip card container
   ---------------------------------------------------------- */

.akh-flip-card {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 410px;

  perspective: 1200px;
}

/* Hide checkbox but preserve functionality */

.akh-flip-toggle {
  position: absolute;

  width: 1px;
  height: 1px;

  margin: -1px;
  padding: 0;

  overflow: hidden;

  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);

  white-space: nowrap;

  border: 0;
}

/* Rotating element */

.akh-flip-card-inner {
  position: relative;

  width: 100%;
  height: 100%;

  transform-style: preserve-3d;

  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ----------------------------------------------------------
   Front and back
   ---------------------------------------------------------- */

.akh-flip-card-face {
  box-sizing: border-box;

  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  display: flex;
  flex-direction: column;

  padding: 34px 32px 28px;

  overflow: hidden;

  background: var(--akh-white);

  border: 1px solid var(--akh-border);
  border-radius: 8px;

  box-shadow: 0 5px 18px rgba(1, 33, 105, 0.08);

  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Top accent bar */

.akh-flip-card-face:before {
  content: "";

  position: absolute;
  top: 0;
  right: 0;
  left: 0;

  height: 7px;
}

.akh-tier-1 .akh-flip-card-face:before {
  background: var(--akh-teal);
}

.akh-tier-2 .akh-flip-card-face:before {
  background: var(--akh-blue);
}

.akh-tier-3 .akh-flip-card-face:before {
  background: var(--akh-pink);
}

/* Back starts rotated */

.akh-flip-card-back {
  transform: rotateY(180deg);
}

/* ----------------------------------------------------------
   Desktop hover flip
   ---------------------------------------------------------- */

@media (hover: hover) and (pointer: fine) {

  .akh-flip-card:hover .akh-flip-card-inner {
    transform: rotateY(180deg);
  }
}

/* ----------------------------------------------------------
   Checkbox / touch flip
   ---------------------------------------------------------- */

.akh-flip-toggle:checked + .akh-flip-card-inner {
  transform: rotateY(180deg);
}

/* ----------------------------------------------------------
   Tier typography
   ---------------------------------------------------------- */

.akh-tier-label {
  margin-bottom: 8px;

  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 1.5px;
}

.akh-tier-1 .akh-tier-label {
  color: var(--akh-teal);
}

.akh-tier-2 .akh-tier-label {
  color: var(--akh-blue);
}

.akh-tier-3 .akh-tier-label {
  color: var(--akh-pink);
}

.akh-flip-card h3 {
  margin: 0 0 10px;

  color: var(--akh-navy);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.2;
}

/* ----------------------------------------------------------
   Price
   ---------------------------------------------------------- */

.akh-tier-price {
  margin: 0;
}

.akh-tier-price-amount {
  color: var(--akh-navy);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
}

.akh-tier-price-small .akh-tier-price-amount {
  font-size: 25px;
}

/* ----------------------------------------------------------
   Divider
   ---------------------------------------------------------- */

.akh-tier-divider {
  height: 1px;
  flex: 0 0 1px;

  margin: 23px 0;

  background: var(--akh-border);
}

/* ----------------------------------------------------------
   Lists
   ---------------------------------------------------------- */

.akh-flip-card ul {
  margin: 0 !important;
  padding: 0 !important;

  list-style: none !important;
}

.akh-flip-card li {
  position: relative;

  margin: 0 0 12px !important;
  padding: 0 0 0 25px !important;

  background: none !important;

  list-style: none !important;

  color: var(--akh-text);
  font-size: 14px;
  line-height: 1.4;
}

.akh-flip-card li:before {
  content: "✓";

  position: absolute;
  top: 0;
  left: 0;

  font-weight: 700;
}

.akh-tier-1 li:before {
  color: var(--akh-teal);
}

.akh-tier-2 li:before {
  color: var(--akh-blue);
}

.akh-tier-3 li:before {
  color: var(--akh-pink);
}

/* ----------------------------------------------------------
   Back content
   ---------------------------------------------------------- */

.akh-tier-detail-intro {
  margin: 0 0 18px;

  color: var(--akh-text);
  font-size: 14px;
  line-height: 1.5;
}

/* ----------------------------------------------------------
   View Details / Back control
   ---------------------------------------------------------- */

.akh-flip-action {
  box-sizing: border-box;

  display: inline-flex;
  align-items: center;
  align-self: flex-start;

  gap: 7px;

  margin-top: auto;
  padding: 9px 15px;

  background: var(--akh-navy);

  border-radius: 4px;

  color: var(--akh-white) !important;
  cursor: pointer;

  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;

  text-decoration: none !important;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.akh-flip-action:hover {
  background: var(--akh-teal);
}

.akh-flip-action:active {
  transform: translateY(1px);
}

.akh-flip-back-action {
  margin-top: auto;
}

/* ----------------------------------------------------------
   Back-side actions
   ---------------------------------------------------------- */

.akh-tier-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  margin-top: auto;
}

.akh-tier-actions .akh-flip-action {
  margin-top: 0;
}

.akh-tier-choose {
  box-sizing: border-box;

  display: inline-flex;
  align-items: center;
  gap: 7px;

  padding: 9px 15px;

  background: transparent;

  border: 2px solid var(--akh-navy);
  border-radius: 4px;

  color: var(--akh-navy) !important;

  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;

  text-decoration: none !important;

  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.akh-tier-choose:hover,
.akh-tier-choose:focus {
  background: var(--akh-navy);
  color: var(--akh-white) !important;
  text-decoration: none !important;
}

/* ----------------------------------------------------------
   Subtle card lift before flip
   ---------------------------------------------------------- */

@media (hover: hover) and (pointer: fine) {

  .akh-flip-card {
    transition: transform 0.2s ease;
  }

  .akh-flip-card:hover {
    transform: translateY(-3px);
  }
}

/* ----------------------------------------------------------
   Tablet
   ---------------------------------------------------------- */

@media (max-width: 900px) {

  .akh-subscription-grid {
    flex-wrap: wrap;
  }

  .akh-flip-card {
    flex: 1 1 calc(50% - 11px);
  }
}

/* ----------------------------------------------------------
   Mobile / touch
   ---------------------------------------------------------- */

@media (max-width: 640px) {

  .akh-subscriptions {
    padding: 42px 20px 48px;
  }

  .akh-subscription-grid {
    display: block;
  }

  .akh-flip-card {
    width: 100%;
    height: 430px;
    margin-bottom: 20px;
  }

  .akh-flip-card:last-child {
    margin-bottom: 0;
  }

  .akh-tier-price-amount {
    font-size: 29px;
  }
}

/* ----------------------------------------------------------
   Reduced motion
   ---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

  .akh-flip-card-inner {
    transition: none;
  }

  .akh-flip-card {
    transition: none;
  }
}


/* ==========================================================
   HOMEPAGE — EDUCATION HUBS
   ========================================================== */

.akh-hubs-section {
  box-sizing: border-box;
  padding: 46px 30px 50px;
  background: var(--akh-navy);
}

.akh-hubs-inner {
  max-width: var(--akh-content-width);
  margin: 0 auto;
}


/* ----------------------------------------------------------
   Heading
   ---------------------------------------------------------- */

.akh-hubs-heading {
  margin: 0 0 24px;
  text-align: left;
}

.akh-hubs-heading h2 {
  position: relative;

  margin: 0;
  padding-bottom: 16px;

  color: var(--akh-white);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
}

/* Small AKH teal accent beneath heading */

.akh-hubs-heading h2:after {
  content: "";

  position: absolute;
  bottom: 0;
  left: 0;

  width: 52px;
  height: 4px;

  background: var(--akh-teal);
  border-radius: 2px;
}


/* ----------------------------------------------------------
   Directory grid
   ---------------------------------------------------------- */

.akh-hubs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  column-gap: 38px;
  row-gap: 0;

  border-top: 1px solid rgba(255, 255, 255, 0.22);
}


/* ----------------------------------------------------------
   Individual hub row
   ---------------------------------------------------------- */

a.akh-hub-row {
  box-sizing: border-box;

  display: flex !important;
  align-items: center;
  justify-content: space-between;

  gap: 18px;

  min-width: 0;
  min-height: 50px;

  margin: 0 !important;
  padding: 10px 4px !important;

  background: transparent !important;

  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 0 !important;

  box-shadow: none !important;

  color: var(--akh-white) !important;
  text-decoration: none !important;

  transition:
    background-color 0.18s ease,
    padding-left 0.18s ease;
}

.akh-hub-column {
  min-width: 0;
}


/* ----------------------------------------------------------
   Hub name
   ---------------------------------------------------------- */

.akh-hub-name {
  min-width: 0;

  color: var(--akh-white);

  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;

  transition: color 0.18s ease;
}


/* ----------------------------------------------------------
   Arrow
   ---------------------------------------------------------- */

.akh-hub-arrow {
  flex: 0 0 auto;

  color: var(--akh-teal);

  font-size: 20px;
  font-weight: 400;
  line-height: 1;

  transition:
    color 0.18s ease,
    transform 0.18s ease;
}


/* ----------------------------------------------------------
   Hover / keyboard focus
   ---------------------------------------------------------- */

a.akh-hub-row:hover,
a.akh-hub-row:focus {
  padding-left: 10px !important;

  background: rgba(255, 255, 255, 0.07) !important;

  color: var(--akh-white) !important;
  text-decoration: none !important;

  outline: none;
}

a.akh-hub-row:hover .akh-hub-arrow,
a.akh-hub-row:focus .akh-hub-arrow {
  color: var(--akh-white);

  transform: translateX(4px);
}

a.akh-hub-row:focus-visible {
  outline: 2px solid var(--akh-teal);
  outline-offset: 2px;
}


/* ----------------------------------------------------------
   Tablet
   ---------------------------------------------------------- */

@media (max-width: 900px) {

  .akh-hubs-section {
    padding: 52px 28px 58px;
  }

  .akh-hubs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 30px;
  }
}


/* ----------------------------------------------------------
   Mobile
   ---------------------------------------------------------- */

@media (max-width: 600px) {

  .akh-hubs-section {
    padding: 44px 20px 48px;
  }

  .akh-hubs-heading {
    margin-bottom: 26px;
  }

  .akh-hubs-heading h2 {
    font-size: 30px;
  }

  .akh-hubs-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  a.akh-hub-row {
    min-height: 60px;
    padding: 14px 2px !important;
  }

  a.akh-hub-row:hover,
  a.akh-hub-row:focus {
    padding-left: 8px !important;
  }

  .akh-hub-name {
    font-size: 15px;
  }
}

/* ==========================================================
   10. HOMEPAGE — LATEST EDUCATION
   Native EthosCE recent-course cards
   ========================================================== */

.akh-latest-education {
  box-sizing: border-box;

  padding: 56px 28px;

  background: var(--akh-soft-blue);
}

.akh-latest-education .pane-title {
  margin: 0 0 34px !important;

  color: var(--akh-navy) !important;
  font-size: 30px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-align: center;
}

.akh-latest-education .view,
.akh-latest-education .view-content {
  border: 0 !important;
  border-bottom: 0 !important;
}

.akh-latest-education .view-content {
  display: flex;
  align-items: stretch;

  gap: 22px;
}

.akh-latest-education .views-row {
  box-sizing: border-box;

  flex: 1 1 0;

  min-width: 0;
  margin: 0 !important;

  overflow: hidden;

  background: var(--akh-white);

  border: 1px solid var(--akh-border);
  border-radius: 8px;

  box-shadow: 0 5px 18px rgba(0, 73, 144, 0.07);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.akh-latest-education .views-row:hover {
  box-shadow: 0 9px 24px rgba(0, 73, 144, 0.12);

  transform: translateY(-3px);
}

.akh-latest-education .views-row img {
  display: block;

  width: 100%;
  height: 150px;

  object-fit: cover;
}

.akh-latest-education .views-row a {
  color: var(--akh-navy);

  text-decoration: none;
}

.akh-latest-education .views-row a:hover,
.akh-latest-education .views-row a:focus {
  color: var(--akh-teal);

  text-decoration: none;
}

.akh-latest-education h2,
.akh-latest-education h3,
.akh-latest-education .title {
  color: var(--akh-navy);

  line-height: 1.3;
}

.akh-latest-education .views-field {
  box-sizing: border-box;
}

.akh-latest-education .more-link {
  margin-top: 28px;

  text-align: center;
}

.akh-latest-education .more-link a {
  display: inline-block;

  padding: 11px 22px;

  background: var(--akh-navy);

  border-radius: 4px;

  color: var(--akh-white) !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
}

.akh-latest-education .more-link a:hover,
.akh-latest-education .more-link a:focus {
  background: var(--akh-teal);

  color: var(--akh-white) !important;
}

/* Override legacy EthosCE teal course-image background */
#content-area .catalog-grid .view-content table td .views-field-field-course-image-cards {
  height: 100px !important;
  background: var(--akh-soft-teal) !important;
}

/* Actual course images */
#content-area .catalog-grid .view-content table td
.views-field-field-course-image-cards img {
  display: block;
  width: 100% !important;
  height: 100px !important;
  object-fit: cover;
  object-position: center;
}

/* Empty course image field becomes branded teal fallback */
#content-area .catalog-grid .view-content table td
.views-field-field-course-image-cards .field-content:empty {
  box-sizing: border-box;

  display: block !important;

  width: 100%;
  height: 100px;

  background:
  linear-gradient(
    135deg,
    var(--akh-teal) 0%,
    var(--akh-blue) 100%
  ) !important;
  border: 0 !important;
}

/* Subtle AKH placeholder */
#content-area .catalog-grid .view-content table td
.views-field-field-course-image-cards .field-content:empty::after {
  content: "AKH";
  color: var(--akh-teal);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1.5px;
  opacity: .35;
}


/* ----------------------------------------------------------
   Reduce excess card height
   ---------------------------------------------------------- */

.akh-latest-education .catalog-grid-inner {
  min-height: 0;
  padding: 20px 20px 18px;
}

/* ==========================================================
   11. HOMEPAGE — JOINT PROVIDERSHIP
   ========================================================== */

.akh-jp-pane {
  box-sizing: border-box;

  background: var(--akh-white);

  border: 0 !important;
  border-bottom: 0 !important;
}

.akh-jp-pane .pane-content {
  border: 0 !important;
}

.akh-jp-detail {
  box-sizing: border-box;

  padding: 64px 46px 0;

  background: var(--akh-white);
}


/* ----------------------------------------------------------
   Joint Providership heading
   ---------------------------------------------------------- */

.akh-jp-heading {
  max-width: 820px;

  margin: 0 auto 46px;

  text-align: center;
}

.akh-jp-heading h2 {
  margin: 0 0 16px;

  color: var(--akh-navy);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
}

.akh-jp-lead {
  margin: 0 0 16px;

  color: var(--akh-teal);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.akh-jp-intro {
  margin: 0 auto;

  color: var(--akh-text);
  font-size: 16px;
  line-height: 1.65;
}


/* ----------------------------------------------------------
   Joint Providership service cards
   ---------------------------------------------------------- */

.akh-jp-services {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 22px;

  margin-bottom: 58px;
}

.akh-jp-service {
  box-sizing: border-box;
  position: relative;

  min-height: 250px;
  padding: 32px 28px;

  overflow: hidden;

  background: var(--akh-light-bg);

  border: 1px solid var(--akh-border);
  border-radius: 8px;
}

.akh-jp-number {
  margin-bottom: 22px;

  color: var(--akh-teal);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.akh-jp-service h3 {
  margin: 0 0 14px;

  color: var(--akh-navy);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.akh-jp-service p {
  margin: 0;

  color: var(--akh-text);
  font-size: 15px;
  line-height: 1.6;
}

.akh-jp-service:after {
  content: "";

  position: absolute;
  left: 0;
  bottom: 0;

  width: 100%;
  height: 4px;

  background: var(--akh-teal);
}


/* ----------------------------------------------------------
   Joint Providership CTA
   ---------------------------------------------------------- */

.akh-jp-cta {
  box-sizing: border-box;

  margin: 0 -46px;
  padding: 36px 46px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 36px;

  background: var(--akh-navy);
}

.akh-jp-cta-content {
  max-width: 650px;
}

.akh-jp-cta-content h3 {
  margin: 0 0 8px;

  color: var(--akh-white);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
}

.akh-jp-cta-content p {
  margin: 0;

  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.55;
}

.akh-jp-actions {
  flex: 0 0 auto;

  display: flex;
  align-items: center;

  gap: 12px;
}

.akh-jp-primary,
.akh-jp-secondary {
  box-sizing: border-box;

  display: inline-block;

  padding: 12px 20px;

  border-radius: 4px;

  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none !important;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.akh-jp-primary {
  background: var(--akh-white);

  border: 1px solid var(--akh-white);

  color: var(--akh-navy) !important;
}

.akh-jp-primary:hover,
.akh-jp-primary:focus {
  background: var(--akh-teal);

  border-color: var(--akh-teal);

  color: var(--akh-white) !important;
}

.akh-jp-secondary {
  background: transparent;

  border: 1px solid rgba(255, 255, 255, 0.7);

  color: var(--akh-white) !important;
}

.akh-jp-secondary:hover,
.akh-jp-secondary:focus {
  background: rgba(255, 255, 255, 0.12);

  border-color: var(--akh-white);

  color: var(--akh-white) !important;
}


/* ==========================================================
   12. SITE FOOTER
   ========================================================== */

#footer {
  background: var(--akh-navy);

  border: 0;
}

#footer-inner {
  box-sizing: border-box;
  position: relative;

  max-width: var(--akh-content-width);
  min-height: 0;

  margin: 0 auto;
  padding: 38px 28px 28px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

#footer,
#footer p,
#footer span {
  color: var(--akh-white);
}

#footer a {
  color: var(--akh-white) !important;

  text-decoration: none;
}

#footer a:hover,
#footer a:focus {
  color: var(--akh-white) !important;

  text-decoration: underline;
}


/* ----------------------------------------------------------
   Rich footer
   ---------------------------------------------------------- */

.akh-footer-content {
  box-sizing: border-box;

  width: 100%;
}

.akh-footer-grid {
  display: grid;

  grid-template-columns: 1.4fr 1fr 1fr 1.25fr;

  gap: 48px;

  padding-bottom: 38px;
}

.akh-footer-brand {
  padding-right: 20px;
}

.akh-footer-logo {
  display: inline-block;

  margin-bottom: 20px;
}

.akh-footer-logo img {
  display: block;

  width: 210px;
  height: auto;
}

.akh-footer-brand p {
  max-width: 300px;

  margin: 0;

  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 14px;
  line-height: 1.6;
}

.akh-footer-column h3 {
  margin: 4px 0 18px;

  color: var(--akh-white) !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.akh-footer-column ul {
  margin: 0;
  padding: 0;

  list-style: none;
}

.akh-footer-column li {
  margin: 0 0 10px;
  padding: 0;
}

.akh-footer-column a {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none !important;
}

.akh-footer-column a:hover,
.akh-footer-column a:focus {
  color: var(--akh-white) !important;

  text-decoration: underline !important;
}

.akh-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;

  padding-top: 24px;

  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.akh-footer-copyright,
.akh-footer-legal {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 13px;
  line-height: 1.5;
}

.akh-footer-legal {
  display: flex;
  align-items: center;

  gap: 12px;
}

.akh-footer-legal a {
  color: rgba(255, 255, 255, 0.82) !important;

  text-decoration: none !important;
}

.akh-footer-legal a:hover,
.akh-footer-legal a:focus {
  color: var(--akh-white) !important;

  text-decoration: underline !important;
}


/* ----------------------------------------------------------
   EthosCE attribution
   ---------------------------------------------------------- */

@media (min-width: 768px) {

  #ethosce-footer-callout {
    position: absolute !important;
    right: 28px !important;
    bottom: 82px !important;

    margin: 0 !important;
  }

}


/* ==========================================================
   13. TABLET
   ========================================================== */

@media (max-width: 1000px) {

  .akh-accreditation-main {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .akh-accreditation-logo {
    flex-basis: 320px;
  }

  .akh-jp-services {
    gap: 16px;
  }

  .akh-jp-service {
    padding: 28px 22px;
  }

  .akh-jp-cta {
    display: block;

    text-align: center;
  }

  .akh-jp-cta-content {
    margin: 0 auto 24px;
  }

  .akh-jp-actions {
    justify-content: center;
  }


  /* Footer */

  .akh-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;

    gap: 36px;
  }

  .akh-footer-brand {
    grid-column: 1 / -1;
  }

}


/* ==========================================================
   14. MOBILE
   ========================================================== */

@media (max-width: 767px) {


  /* ----------------------------------------------------------
     Shared headings
     ---------------------------------------------------------- */

  .akh-section-heading {
    margin-bottom: 28px;
  }

  .akh-section-eyebrow {
    font-size: 12px;
    letter-spacing: 1.3px;
  }

  .akh-section-heading h2 {
    font-size: 28px;
    line-height: 1.15;
  }

  .akh-section-heading p {
    font-size: 16px;
    line-height: 1.5;
  }


  /* ----------------------------------------------------------
     Joint Accreditation
     ---------------------------------------------------------- */

  .akh-accreditation {
    margin-bottom: 0;
    padding: 36px 24px 0;
  }

  .akh-accreditation-main {
    display: block;
  }

  .akh-accreditation-content {
    text-align: center;
  }

  .akh-accreditation-content h2 {
    margin-left: auto;
    margin-right: auto;

    font-size: 28px;
  }

  .akh-accreditation-intro {
    margin-left: auto;
    margin-right: auto;
  }

  .akh-accreditation-logo {
    max-width: 340px;

    margin: 36px auto 0;
  }

  .akh-accreditation-statement {
    padding-top: 22px !important;
    padding-bottom: 22px !important;
  }
  


  /* ----------------------------------------------------------
     Subscriptions
     ---------------------------------------------------------- */

  .akh-subscriptions {
    padding: 42px 20px;
  }

  .akh-subscription-grid {
    display: block;
  }

  .akh-subscription-card {
    margin-bottom: 20px;
    padding: 28px 24px;
  }

  .akh-subscription-card:last-child {
    margin-bottom: 0;
  }

  .akh-subscription-card h3 {
    font-size: 24px;
  }

  .akh-tier-description {
    min-height: 0;

    font-size: 15px;
    line-height: 1.5;
  }

  .akh-subscription-card ul {
    flex-grow: 0;
  }

  .akh-subscription-card li {
    font-size: 15px;
    line-height: 1.45;
  }

  .akh-tier-button {
    padding: 12px 20px;

    font-size: 15px;
  }


/* ==========================================================
   10. HOMEPAGE — LATEST EDUCATION
   ========================================================== */

.akh-latest-education {
  padding: 48px 22px 52px;

  background: var(--akh-soft-blue);

  border: 0 !important;
  border-bottom: 0 !important;
}

.akh-latest-education .pane-title {
  margin: 0 0 30px;

  color: var(--akh-navy);

  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}


/* ----------------------------------------------------------
   Course grid
   ---------------------------------------------------------- */

.akh-latest-education table {
  width: 100%;

  border-collapse: separate;
  border-spacing: 16px 0;

  table-layout: fixed;
}

.akh-latest-education tbody,
.akh-latest-education tr {
  height: 100%;
}

.akh-latest-education td {
  position: relative;

  height: 100%;

  padding: 0 !important;

  overflow: hidden;
  vertical-align: top;

  background: var(--akh-white);

  border: 1px solid var(--akh-border);
  border-radius: 4px;

  box-shadow: 0 3px 12px rgba(0, 73, 144, 0.06);
}


/* ----------------------------------------------------------
   Course image
   ---------------------------------------------------------- */

.akh-latest-education .views-field-field-course-image-cards {
  position: relative;

  width: 100%;
  height: 150px;

  overflow: hidden;

  background: var(--akh-soft-teal);
}

.akh-latest-education
.views-field-field-course-image-cards
.field-content {
  width: 100%;
  height: 100%;
}

.akh-latest-education
.views-field-field-course-image-cards
img {
  display: block;

  width: 100% !important;
  height: 150px !important;

  object-fit: cover;
  object-position: center;
}


/* Missing course image */

.akh-latest-education
.views-field-field-course-image-cards
.field-content:empty {
  display: flex;

  align-items: center;
  justify-content: center;
}

.akh-latest-education
.views-field-field-course-image-cards
.field-content:empty::after {
  content: "AKH";

  color: var(--akh-teal);

  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1px;

  opacity: 0.42;
}


/* ----------------------------------------------------------
   Course content
   ---------------------------------------------------------- */

.akh-latest-education .catalog-grid-inner {
  box-sizing: border-box;

  display: flex;
  flex-direction: column;

  min-height: 245px;

  padding: 20px 20px 22px;
}


/* Activity format */

.akh-latest-education .format {
  margin-bottom: 8px;

  color: var(--akh-teal);

  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.akh-latest-education .format ul,
.akh-latest-education .format li {
  margin: 0 !important;
  padding: 0 !important;

  list-style: none !important;
}


/* Course title */

.akh-latest-education .title-wrapper {
  margin: 0 0 9px;
}

.akh-latest-education .title {
  margin: 0;

  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.akh-latest-education .title a {
  color: var(--akh-navy) !important;

  text-decoration: none !important;
}

.akh-latest-education .title a:hover,
.akh-latest-education .title a:focus {
  color: var(--akh-teal) !important;

  text-decoration: underline !important;
}


/* Category */

.akh-latest-education .category:empty {
  display: none;
}


/* Summary */

.akh-latest-education .summary {
  margin-bottom: 14px;

  color: var(--akh-muted-text);

  font-size: 13px;
  line-height: 1.45;
}


/* Rating */

.akh-latest-education .rating {
  margin-bottom: 14px;
}


/* Credit information */

.akh-latest-education .credit {
  margin-top: auto;
  padding-top: 12px;

  border-top: 1px solid var(--akh-border);

  color: var(--akh-text);

  font-size: 12px;
  line-height: 1.5;
}

.akh-latest-education .credit ul,
.akh-latest-education .credit li {
  margin: 0 !important;
  padding: 0 !important;

  list-style: none !important;
}


/* ----------------------------------------------------------
   Card interaction
   ---------------------------------------------------------- */

.akh-latest-education td {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.akh-latest-education td:hover {
  transform: translateY(-3px);

  box-shadow: 0 8px 22px rgba(0, 73, 144, 0.10);
}


  /* ----------------------------------------------------------
     Joint Providership
     ---------------------------------------------------------- */

  .akh-jp-detail {
    padding: 42px 20px 0;
  }

  .akh-jp-heading {
    margin-bottom: 32px;
  }

  .akh-jp-heading h2 {
    font-size: 29px;
  }

  .akh-jp-lead {
    font-size: 18px;
  }

  .akh-jp-services {
    grid-template-columns: 1fr;

    gap: 14px;

    margin-bottom: 38px;
  }

  .akh-jp-service {
    min-height: 0;

    padding: 26px 24px;
  }

  .akh-jp-number {
    margin-bottom: 14px;
  }

  .akh-jp-cta {
    margin: 0 -20px;
    padding: 32px 20px;
  }

  .akh-jp-cta-content h3 {
    font-size: 23px;
  }

  .akh-jp-actions {
    display: block;
  }

  .akh-jp-primary,
  .akh-jp-secondary {
    display: block;

    width: 100%;

    margin: 0 0 10px;

    text-align: center;
  }

  .akh-jp-secondary {
    margin-bottom: 0;
  }


  /* ----------------------------------------------------------
     Footer
     ---------------------------------------------------------- */

  #footer-inner {
    display: block;

    padding: 28px 20px;

    text-align: left;
  }

  .akh-footer-grid {
    display: block;

    padding-bottom: 24px;
  }

  .akh-footer-brand,
  .akh-footer-column {
    margin-bottom: 30px;
  }

  .akh-footer-brand {
    padding-right: 0;
  }

  .akh-footer-logo img {
    width: 190px;
  }

  .akh-footer-column h3 {
    margin-bottom: 12px;
  }

  .akh-footer-bottom {
    display: block;

    padding-top: 20px;
  }

  .akh-footer-copyright {
    margin-bottom: 12px;
  }

  .akh-footer-legal {
    justify-content: flex-start;
  }

  /* Let EthosCE return to normal document flow on mobile */
  #ethosce-footer-callout {
    position: static !important;

    display: block;

    margin-top: 20px !important;
  }

}

/* ==========================================================
   FOOTER SOCIAL LINKS
   ========================================================== */

.akh-footer-social {
  margin-top: 24px;
}

.akh-footer-social-label {
  margin-bottom: 10px;

  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.akh-footer-social-links {
  display: flex;
  align-items: center;
  gap: 9px;
}

.akh-footer-social-links a {
  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;

  background: rgba(255, 255, 255, 0.10);

  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;

  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.akh-footer-social-links a:hover,
.akh-footer-social-links a:focus {
  background: var(--akh-teal);

  border-color: var(--akh-teal);

  color: #ffffff !important;
  text-decoration: none !important;

  transform: translateY(-2px);
}

/* ==========================================================
   MOBILE HEADER — SEARCH SPACING
   ========================================================== */

@media (max-width: 767px) {

  #header {
    height: auto !important;
    min-height: 85px !important;
    overflow: visible !important;
  }

  #header-inner {
    height: auto !important;
    min-height: 85px !important;
    overflow: visible !important;
  }

  #header-right {
    height: auto !important;
    min-height: 85px !important;
    overflow: visible !important;
  }

  #block-ethosce-search-ethosce-search {
    position: relative !important;
    top: 8px !important;
    margin-top: 18px !important;
    margin-bottom: 18px !important;
  }

}

/* ==========================================================
   HEADER — UTILITY LINKS AND SEARCH POSITION
   Override legacy EthosCE positioning
   ========================================================== */

/* Search — move fully into white header area */
#wrapper #header-wrapper #header #header-inner #header-right #block-ethosce-search-ethosce-search {
  position: relative !important;
  top: 30px !important;
}

/* ==========================================================
   BRAND COLOR OVERRIDES — SEARCH + CAROUSEL
   ========================================================== */

/* Search button */
#wrapper #header-wrapper #header #header-inner #header-right
#block-ethosce-search-ethosce-search #edit-submit {
  background-color: var(--akh-teal) !important;
  border-color: var(--akh-teal) !important;
}

/* Search button hover / focus */
#wrapper #header-wrapper #header #header-inner #header-right
#block-ethosce-search-ethosce-search #edit-submit:hover,
#wrapper #header-wrapper #header #header-inner #header-right
#block-ethosce-search-ethosce-search #edit-submit:focus {
  background-color: var(--akh-navy) !important;
  border-color: var(--akh-navy) !important;
}


/* Carousel controls */
.akh-home-hero .views_slideshow_controls_text a,
.akh-home-hero .views_slideshow_controls_text_previous a,
.akh-home-hero .views_slideshow_controls_text_pause a,
.akh-home-hero .views_slideshow_controls_text_next a {
  color: var(--akh-teal) !important;
}

/* Carousel controls hover / focus */
.akh-home-hero .views_slideshow_controls_text a:hover,
.akh-home-hero .views_slideshow_controls_text a:focus {
  color: var(--akh-navy) !important;
}

/* ==========================================================
   CAROUSEL CONTROLS — ALIGNMENT
   ========================================================== */

.akh-home-hero .views-slideshow-controls-text {
  display: flex !important;
  align-items: center !important;
}

.akh-home-hero .views-slideshow-controls-text span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  height: 28px;
}

/* Normalize EthosCE's absolute icon positioning */
.akh-home-hero .views-slideshow-controls-text span::after {
  top: 50% !important;

  transform: translateY(-50%);
}

/* ==========================================================
   CAROUSEL CONTROLS — BRAND COLOR
   EthosCE renders icons on span::after
   ========================================================== */

.akh-home-hero .views-slideshow-controls-text span,
.akh-home-hero .views-slideshow-controls-text span::after {
  color: var(--akh-teal) !important;
}

/* Hover / keyboard focus */
.akh-home-hero .views-slideshow-controls-text span:hover,
.akh-home-hero .views-slideshow-controls-text span:hover::after,
.akh-home-hero .views-slideshow-controls-text span:focus-within,
.akh-home-hero .views-slideshow-controls-text span:focus-within::after {
  color: var(--akh-navy) !important;
}

/* ==========================================================
   GLOBAL HEADER CLEANUP
   ========================================================== */

/* EthosCE outputs the username separately on some page types */
#login-info-name {
  display: none !important;
}

/* Hide legacy social/page-sharing links */
.service-links-facebook,
.service-links-twitter,
.service-links-linkedin,
.service-links-forward {
  display: none !important;
}

/* Hide their icons as an additional safeguard */
.service-links-facebook img,
.service-links-twitter img,
.service-links-linkedin img,
.service-links-forward img {
  display: none !important;
}

/* =========================================================
   LEARNING GROUP - COURSE CATALOG TITLE
   ========================================================= */

body.page-courses #title-container-inner {
  padding: 24px 32px !important;
}

body.page-courses #title-container-inner::before {
  content: "EDUCATION HUB";
  display: block;
  margin-bottom: 7px;
  color: var(--akh-teal);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

body.page-courses #page-title {
  margin: 0 !important;
  color: var(--akh-navy) !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

/* Learning Group sidebar heading */
body.og-context #block-menu-features .block__title {
  font-size: 0 !important;
}

body.og-context #block-menu-features .block__title::after {
  content: "EDUCATION HUB";
  display: block;
  color: var(--akh-teal);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

body.page-courses .views-table tbody tr td:first-child {
  border-left: 3px solid var(--akh-teal) !important;
}

/* Education Hub sidebar - active item */
body.og-context #block-menu-features .menu a.active,
body.og-context #block-menu-features .menu a.active-trail,
body.og-context #block-menu-features .menu a.is-active-trail {
  display: block;
  margin-left: -10px;
  padding: 10px 12px;
  background: var(--akh-soft-blue) !important;
  border-left: 3px solid var(--akh-teal);
  border-radius: 4px;
  color: var(--akh-navy) !important;
  font-weight: 700;
  text-decoration: none !important;
}

/* =========================================================
   EDUCATION HUB - SPECIALTY LANDING PAGE
   ========================================================= */

.akh-specialty-page {
  width: 100%;
}

/* Specialty Hero */
.akh-specialty-hero {
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(300px, 42%);
  min-height: 320px;
  overflow: hidden;
  background: var(--akh-soft-teal);
  border: 1px solid var(--akh-border);
  border-radius: 6px;
}

.akh-specialty-hero-content {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 48px;
}

.akh-specialty-hero h1 {
  margin: 8px 0 16px;
  color: var(--akh-navy);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.12;
}

.akh-specialty-hero p {
  max-width: 650px;
  margin: 0 0 28px;
  color: var(--akh-text);
  font-size: 18px;
  line-height: 1.6;
}

.akh-specialty-primary,
.akh-specialty-hero-button {
  align-self: flex-start;
  display: inline-block;
  padding: 14px 22px;
  background: var(--akh-navy);
  border-radius: 4px;
  color: #fff !important;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  transition: background-color .2s ease, transform .2s ease;
}

.akh-specialty-primary:hover,
.akh-specialty-primary:focus,
.akh-specialty-hero-button:hover,
.akh-specialty-hero-button:focus {
  background: var(--akh-teal);
  color: #fff !important;
  text-decoration: none !important;
  transform: translateY(-1px);
}

/* Specialty Image */
.akh-specialty-hero-image {
  min-height: 320px;
}

.akh-specialty-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
}

/* =========================================================
   EDUCATION HUB - FOR CLINICIANS
   ========================================================= */

.akh-specialty-intro {
  box-sizing: border-box;
  margin-top: 24px;
  padding: 40px 46px;
  background: #fff;
  border: 1px solid var(--akh-border);
  border-radius: 6px;
}

.akh-specialty-intro-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.akh-specialty-intro h2 {
  margin: 8px 0 12px;
  color: var(--akh-navy);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}

.akh-specialty-intro-description {
  margin: 0;
  color: var(--akh-muted-text);
  font-size: 16px;
  line-height: 1.65;
}

.akh-specialty-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--akh-border);
}

.akh-specialty-benefit {
  box-sizing: border-box;
  padding: 28px 30px 4px 0;
}

.akh-specialty-benefit + .akh-specialty-benefit {
  padding-left: 30px;
  border-left: 1px solid var(--akh-border);
}

.akh-specialty-benefit-number {
  display: block;
  margin-bottom: 8px;
  color: var(--akh-teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.akh-specialty-benefit h3 {
  margin: 0 0 9px;
  color: var(--akh-navy);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
}

.akh-specialty-benefit p {
  margin: 0;
  color: var(--akh-muted-text);
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .akh-specialty-intro {
    padding: 34px 32px;
  }

  .akh-specialty-benefits {
    grid-template-columns: 1fr;
  }

  .akh-specialty-benefit,
  .akh-specialty-benefit + .akh-specialty-benefit {
    padding: 22px 0;
    border-left: 0;
    border-bottom: 1px solid var(--akh-border);
  }

  .akh-specialty-benefit:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
}

@media (max-width: 600px) {
  .akh-specialty-intro {
    padding: 28px 24px;
  }

  .akh-specialty-intro h2 {
    font-size: 25px;
  }
}

/* =========================================================
   EDUCATION HUB - HOME PAGE REFINEMENTS
   ========================================================= */

/* Hide EthosCE-generated title because the custom hero supplies the H1 */
body:has(.akh-specialty-page) #title-container {
  display: none !important;
}

@media (max-width: 900px) {
  .akh-specialty-hero {
    grid-template-columns: 1fr;
  }

  .akh-specialty-hero-content {
    padding: 40px 34px;
  }

  .akh-specialty-hero-image,
  .akh-specialty-hero-image img {
    min-height: 300px;
  }
}

@media (max-width: 600px) {
  .akh-specialty-hero-content {
    padding: 32px 24px;
  }

  .akh-specialty-hero h1 {
    font-size: 34px;
  }

  .akh-specialty-hero p {
    font-size: 16px;
  }

  .akh-specialty-hero-image,
  .akh-specialty-hero-image img {
    min-height: 240px;
  }
}

/* ==========================================================
   15. HOMEPAGE — FEATURED EDUCATION
   Replaces the dynamic "Latest Education" homepage pane.
   Current featured items:
   - MATE Act Courses
   - Florida LPN IV Therapy Certification
   ========================================================== */

.akh-featured-education {
  box-sizing: border-box;
  padding: 44px 32px 40px;
  background: linear-gradient(
    135deg,
    #f4faff 0%,
    #eef8fb 48%,
    #f4fbfa 100%
  );
}

.akh-featured-header {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

.akh-featured-header h2 {
  margin: 8px 0 10px;
  color: var(--akh-navy);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.akh-featured-header p {
  margin: 0;
  color: var(--akh-muted-text);
  font-size: 16px;
  line-height: 1.6;
}

.akh-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: var(--akh-content-width);
  margin: 0 auto;
}

.akh-featured-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--akh-border);
  border-radius: 6px;
  box-shadow: 0 5px 18px rgba(0, 73, 144, 0.08);
}

.akh-featured-image {
  position: relative;
  overflow: hidden;
  height: 230px;
  background: var(--akh-soft-blue);
}

.akh-featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.akh-featured-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px 30px 30px;
}

.akh-featured-label {
  display: block;
  margin-bottom: 8px;
  color: var(--akh-teal);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 1px;
}

.akh-featured-content h3 {
  margin: 0 0 12px;
  color: var(--akh-navy);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.akh-featured-content p {
  margin: 0 0 24px;
  color: var(--akh-text);
  font-size: 15px;
  line-height: 1.6;
}

.akh-featured-button {
  align-self: flex-start;
  margin-top: auto;
  padding: 12px 18px;
  background: var(--akh-navy);
  border-radius: 4px;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  transition: background-color .2s ease, transform .2s ease;
}

.akh-featured-button:hover,
.akh-featured-button:focus {
  background: var(--akh-teal);
  color: #fff !important;
  text-decoration: none !important;
  transform: translateY(-1px);
}

.akh-featured-button span {
  margin-left: 7px;
}

@media (max-width: 900px) {
  .akh-featured-education {
    padding: 40px 28px 38px;
  }

  .akh-featured-image {
    height: 200px;
  }

  .akh-featured-content {
    padding: 25px;
  }
}

@media (max-width: 700px) {
  .akh-featured-education {
    padding: 36px 20px 36px;
  }

  .akh-featured-header {
    margin-bottom: 26px;
  }

  .akh-featured-header h2 {
    font-size: 26px;
  }

  .akh-featured-grid {
    grid-template-columns: 1fr;
  }

  .akh-featured-image {
    height: 210px;
  }

  .akh-featured-content {
    padding: 24px;
  }

  .akh-featured-content h3 {
    font-size: 22px;
  }
}

/* =========================================================
   FEATURED EDUCATION — MATE ACT IMAGE
   ========================================================= */

.akh-featured-card-mate .akh-featured-image {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
  background: #ffffff !important;
}

.akh-featured-card-mate .akh-featured-image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  object-fit: initial !important;
}

/* =========================================================
   FEATURED EDUCATION — MATE ACT LAYOUT
   ========================================================= */

.akh-featured-card-mate .akh-featured-content-heading {
  padding-bottom: 0px;
}

.akh-featured-card-mate .akh-featured-content-heading h3 {
  margin-bottom: 0 !important;
}

.akh-featured-card-mate .akh-featured-content-action {
  padding-top: 22px;
}

/* ==========================================================
   16. LEGACY DRUPAL PAGE-SHARING CONTROLS
   Hide Drupal share/bookmark controls on both homepage and
   inner node pages. Footer social links are unaffected.
   ========================================================== */

#block-service-links-service-links,
#block-service-links-service-links-not-node {
  display: none !important;
}


/* ==========================================================
   17. HOMEPAGE — ACCREDITATION SERVICES
   ========================================================== */

.akh-jp-detail {
  box-sizing: border-box;
  padding: 54px 52px 48px;
  background: #fff;
}


/* ---------- HEADER ---------- */

.akh-jp-header {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

.akh-jp-header .akh-section-eyebrow {
  color: var(--akh-teal);
}

.akh-jp-header h2 {
  margin: 8px 0 11px;
  color: var(--akh-navy);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}

.akh-jp-lead {
  margin: 0;
  color: var(--akh-text);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}


/* ---------- SERVICES ---------- */

.akh-jp-detail > .akh-jp-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: var(--akh-content-width);
  margin: 0 auto 34px;
}

.akh-jp-benefit {
  position: relative;
  box-sizing: border-box;
  min-height: 190px;
  padding: 27px 28px 30px;
  overflow: hidden;

  background: #fff;
  border: 1px solid var(--akh-border);
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(1, 33, 105, .06);
}

.akh-jp-benefit::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--akh-teal);
}

.akh-jp-benefit h3 {
  margin: 0 0 12px;
  color: var(--akh-navy);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.akh-jp-benefit p {
  margin: 0;
  color: var(--akh-text);
  font-size: 14px;
  line-height: 1.65;
}


/* ---------- INDIVIDUAL SERVICE ACCENTS ---------- */

.akh-jp-outcomes {
  background: var(--akh-soft-teal);
}

.akh-jp-outcomes::before {
  background: var(--akh-teal);
}

.akh-jp-accreditation {
  background: var(--akh-soft-blue);
}

.akh-jp-accreditation::before {
  background: var(--akh-blue);
}

.akh-jp-team {
  background: #fff;
}

.akh-jp-team::before {
  background: var(--akh-pink);
}


/* ---------- CTA ---------- */

.akh-jp-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;

  max-width: var(--akh-content-width);
  margin: 0 auto;
  padding: 30px 34px;

  background: var(--akh-navy);
  border-radius: 4px;
}

.akh-jp-cta-content {
  flex: 1;
}

.akh-jp-cta .akh-section-eyebrow {
  color: var(--akh-teal);
}

.akh-jp-cta h3 {
  margin: 5px 0 7px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.akh-jp-cta p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: 14px;
  line-height: 1.55;
}

.akh-jp-cta-action {
  flex: 0 0 auto;
}

.akh-jp-button {
  display: inline-block;
  padding: 13px 21px;

  background: #fff;
  border: 1px solid #fff;
  border-radius: 4px;

  color: var(--akh-navy) !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  white-space: nowrap;

  transition:
    background-color .2s ease,
    border-color .2s ease,
    color .2s ease,
    transform .2s ease;
}

.akh-jp-button:hover,
.akh-jp-button:focus {
  background: var(--akh-teal);
  border-color: var(--akh-teal);
  color: #fff !important;
  text-decoration: none !important;
  transform: translateY(-1px);
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 900px) {

  .akh-jp-detail {
    padding: 46px 32px;
  }

  .akh-jp-detail > .akh-jp-benefits {
    grid-template-columns: 1fr;
  }

  .akh-jp-benefit {
    min-height: 0;
  }
}

@media (max-width: 600px) {

  .akh-jp-detail {
    padding: 40px 20px;
  }

  .akh-jp-header {
    margin-bottom: 28px;
  }

  .akh-jp-header h2 {
    font-size: 27px;
  }

  .akh-jp-lead {
    font-size: 17px;
  }

  .akh-jp-benefit {
    padding: 24px 22px 26px;
  }

  .akh-jp-cta {
    display: block;
    padding: 28px 24px;
  }

  .akh-jp-cta-action {
    margin-top: 20px;
  }

  .akh-jp-button {
    white-space: normal;
  }
}

/* =========================================================
   ACCREDITATION SERVICES — MEET THE TEAM LINK
   ========================================================= */

.akh-jp-linked-card {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.akh-jp-linked-card .akh-jp-card-content-link {
  display: block;
  width: 100%;
  height: 100%;

  color: inherit !important;
  text-decoration: none !important;
}

.akh-jp-linked-card .akh-jp-card-content-link:hover,
.akh-jp-linked-card .akh-jp-card-content-link:focus {
  color: inherit !important;
  text-decoration: none !important;
}

.akh-jp-linked-card:hover,
.akh-jp-linked-card:focus-within {
  transform: translateY(-3px);

  border-color: var(--akh-teal) !important;

  box-shadow: 0 8px 22px rgba(1, 33, 105, 0.12);
}

.akh-jp-linked-card:focus-within {
  outline: 2px solid var(--akh-navy);
  outline-offset: 3px;
}


/* ==========================================================
   18. INNER PAGE DESIGN SYSTEM
   Reusable components for informational inner pages.
   ========================================================== */

.akh-inner-page {
  color: var(--akh-text);
}

.akh-inner-page * {
  box-sizing: border-box;
}

.akh-inner-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  align-items: center;
  min-height: 320px;
  overflow: hidden;
  background: var(--akh-soft-teal);
  border: 1px solid var(--akh-border);
  border-radius: 4px;
}

.akh-inner-hero-content {
  padding: 48px 52px;
}

.akh-inner-hero h1 {
  margin: 8px 0 16px;
  color: var(--akh-navy);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.12;
}

.akh-inner-hero-lead {
  max-width: 680px;
  margin: 0 0 26px;
  color: var(--akh-text);
  font-size: 18px;
  line-height: 1.6;
}

.akh-primary-button {
  display: inline-block;
  padding: 13px 21px;
  background: var(--akh-navy);
  border-radius: 4px;
  color: #fff !important;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  transition: background-color .2s ease, transform .2s ease;
}

.akh-primary-button:hover,
.akh-primary-button:focus {
  background: var(--akh-teal);
  color: #fff !important;
  text-decoration: none !important;
  transform: translateY(-1px);
}

.akh-inner-section {
  padding: 58px 46px;
}

.akh-inner-section-heading {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

.akh-inner-section-heading h2,
.akh-inner-info-heading h2 {
  margin: 7px 0 12px;
  color: var(--akh-navy);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.akh-inner-section-heading p {
  margin: 0;
  color: var(--akh-muted-text);
  font-size: 16px;
  line-height: 1.65;
}

.akh-inner-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.akh-inner-card {
  position: relative;
  min-height: 210px;
  padding: 28px 28px 30px;
  background: #fff;
  border: 1px solid var(--akh-border);
  border-radius: 4px;
  box-shadow: 0 5px 16px rgba(27, 53, 72, .06);
}

.akh-inner-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--akh-teal);
  content: "";
}

.akh-card-number {
  display: block;
  margin-bottom: 16px;
  color: var(--akh-teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.akh-inner-card h3 {
  margin: 0 0 11px;
  color: var(--akh-navy);
  font-size: 19px;
  font-weight: 700;
}

.akh-inner-card p {
  margin: 0;
  color: var(--akh-text);
  font-size: 14px;
  line-height: 1.65;
}

.akh-inner-info-panel {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 48px;
  padding: 46px 50px;
  background: var(--akh-soft-blue);
  border: 1px solid var(--akh-border);
  border-left: 4px solid var(--akh-teal);
  border-radius: 4px;
}

.akh-inner-info-content p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.7;
}

.akh-inner-info-content p:last-child {
  margin-bottom: 0;
}

.akh-inner-callout {
  padding: 16px 18px;
  background: #fff;
  border-left: 3px solid var(--akh-teal);
  font-weight: 600;
}

.akh-jp-accreditations {
  background: #fff;
}

.akh-accreditation-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto 27px;
}

.akh-accreditation-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 105px;
  padding: 11px 17px;
  background: var(--akh-light-bg);
  border: 1px solid var(--akh-border);
  border-radius: 3px;
  color: var(--akh-navy);
  font-size: 13px;
  font-weight: 700;
}

.akh-inner-centered-link {
  text-align: center;
}

.akh-inner-centered-link a {
  color: var(--akh-navy) !important;
  font-weight: 700;
  text-decoration: none !important;
}

.akh-inner-centered-link a:hover,
.akh-inner-centered-link a:focus {
  color: var(--akh-teal) !important;
}

.akh-inner-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 32px 38px;
  background: var(--akh-navy);
  border-radius: 4px;
}

.akh-inner-cta .akh-section-eyebrow {
  color: rgba(255,255,255,.72);
}

.akh-inner-cta h2 {
  margin: 5px 0 6px;
  color: #fff;
  font-size: 25px;
  font-weight: 700;
}

.akh-inner-cta p {
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: 14px;
}

.akh-secondary-button {
  display: inline-block;
  white-space: nowrap;
  padding: 13px 20px;
  background: #fff;
  border: 1px solid #fff;
  border-radius: 4px;
  color: var(--akh-navy) !important;
  font-weight: 700;
  text-decoration: none !important;
}

.akh-secondary-button:hover,
.akh-secondary-button:focus {
  background: var(--akh-teal);
  border-color: var(--akh-teal);
  color: #fff !important;
  text-decoration: none !important;
}


/* ==========================================================
   19. JOINT PROVIDERSHIP INNER PAGE
   Node 114
   ========================================================== */

body.page-node-114 #title-container {
  display: none !important;
}

body.page-node-114 .akh-jp-page {
  overflow: hidden;
  background: #fff;
  border-radius: 4px;
}

body.page-node-114 .akh-jp-hero-accreditation {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  padding: 35px;
  background: #fff;
}

body.page-node-114 .akh-jp-hero-accreditation img {
  display: block;
  width: 100%;
  max-width: 310px;
  height: auto;
}

body.page-node-114 .akh-jp-why {
  background: #fff;
}


/* ==========================================================
   RESPONSIVE — HOMEPAGE JOINT PROVIDERSHIP + INNER PAGES
   ========================================================== */

@media (max-width: 900px) {

  .akh-jp-detail {
    padding: 42px 32px;
  }

  .akh-jp-detail > .akh-jp-benefits {
    grid-template-columns: 1fr;
  }

  .akh-jp-benefit {
    min-height: 0;
  }

  .akh-inner-hero {
    grid-template-columns: 1fr;
  }

  .akh-inner-hero-content {
    padding: 40px;
  }

  body.page-node-114 .akh-jp-hero-accreditation {
    padding: 30px 40px;
  }

  body.page-node-114 .akh-jp-hero-accreditation img {
    max-width: 280px;
  }

  .akh-inner-card-grid {
    grid-template-columns: 1fr;
  }

  .akh-inner-card {
    min-height: 0;
  }

  .akh-inner-info-panel {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 600px) {

  .akh-jp-detail {
    padding: 36px 20px;
  }

  .akh-jp-header {
    margin-bottom: 26px;
  }

  .akh-jp-header h2 {
    font-size: 26px;
  }

  .akh-jp-cta {
    display: block;
    padding: 28px 24px;
  }

  .akh-jp-cta-action {
    margin-top: 20px;
  }

  .akh-jp-button {
    white-space: normal;
  }

  .akh-inner-hero {
    min-height: 0;
  }

  .akh-inner-hero-content {
    padding: 32px 24px;
  }

  .akh-inner-hero h1 {
    font-size: 30px;
  }

  .akh-inner-hero-lead {
    font-size: 16px;
  }

  .akh-inner-section {
    padding: 42px 22px;
  }

  .akh-inner-section-heading h2,
  .akh-inner-info-heading h2 {
    font-size: 25px;
  }

  .akh-inner-info-panel {
    padding: 32px 24px;
  }

  .akh-inner-cta {
    display: block;
    padding: 30px 24px;
  }

  .akh-inner-cta-action {
    margin-top: 22px;
  }

  .akh-secondary-button,
  .akh-primary-button {
    text-align: center;
  }

  body.page-node-114 .akh-jp-hero-accreditation {
    padding: 28px 24px;
  }

  body.page-node-114 .akh-jp-hero-accreditation img {
    max-width: 240px;
  }
}


/* ==========================================================
   19. ACCOUNT / COMMERCE SYSTEM
   Merged after all general site rules so system-page rules
   intentionally win where selectors overlap.
   ========================================================== */

/* ==========================================================
   AKH ACCOUNT / COMMERCE SYSTEM — FULL REPLACEMENT
   Login • Registration • My Account • Cart
   ========================================================== */


/* ==========================================================
   1. SHARED PAGE SHELL
   ========================================================== */

body.page-user,
body.page-cart {
  background:#f6f9fb;
}

body.page-user #page,
body.page-cart #page {
  background:#f6f9fb;
}

body.page-user #main,
body.page-cart #main {
  max-width:1280px;
  margin:0 auto;
}


/* ----------------------------------------------------------
   PAGE TITLE
   Keep native system-page titles, but make them consistent
   with the AKH redesign.
   ---------------------------------------------------------- */

body.page-user #title-container,
body.page-cart #title-container {
  max-width:1280px;
  margin:18px auto 0;
  padding:0;
  background:#fff;
  border:1px solid var(--akh-border);
  border-radius:4px;
  box-shadow:0 4px 14px rgba(27,53,72,.04);
}

body.page-user #title-container-inner,
body.page-cart #title-container-inner {
  padding:28px 34px;
}

body.page-user #page-title,
body.page-cart #page-title {
  margin:0;
  color:var(--akh-navy);
  font-size:34px;
  font-weight:700;
  line-height:1.15;
}


/* ----------------------------------------------------------
   MAIN CONTENT PANEL
   ---------------------------------------------------------- */

body.page-user #content-area,
body.page-cart #content-area {
  margin-top:18px;
  padding:32px 34px;
  background:#fff;
  border:1px solid var(--akh-border);
  border-radius:4px;
  box-shadow:0 5px 18px rgba(27,53,72,.05);
}


/* ==========================================================
   2. SHARED FORM STYLING
   ========================================================== */

body.page-user .form-item {
  margin-top:0;
  margin-bottom:22px;
}

body.page-user .field-label,
body.page-user .form-item > label,
body.page-user .fieldset-legend {
  color:var(--akh-text);
  font-size:14px;
  font-weight:700;
  line-height:1.4;
}

body.page-user .description {
  margin:5px 0 8px;
  color:var(--akh-muted-text);
  font-size:12px;
  line-height:1.55;
}

body.page-user .form-required {
  color:#c83e52;
}


/* ----------------------------------------------------------
   INPUTS
   ---------------------------------------------------------- */

body.page-user input.form-text,
body.page-user input.form-email,
body.page-user input.form-password,
body.page-user textarea,
body.page-user select.form-select {
  box-sizing:border-box;
  min-height:44px;
  padding:10px 12px;
  color:var(--akh-text);
  font-size:14px;
  line-height:1.35;
  background:#fff;
  border:1px solid #cbd7df;
  border-radius:3px;
  box-shadow:none;
  transition:border-color .15s ease, box-shadow .15s ease;
}

body.page-user input.form-text:focus,
body.page-user input.form-email:focus,
body.page-user input.form-password:focus,
body.page-user textarea:focus,
body.page-user select.form-select:focus {
  outline:0;
  border-color:var(--akh-teal);
  box-shadow:0 0 0 3px rgba(63,146,137,.12);
}


/* ----------------------------------------------------------
   ETHOSCE / DRUPAL CHOSEN DROPDOWNS
   ---------------------------------------------------------- */

body.page-user .chosen-container {
  font-size:14px;
}

body.page-user .chosen-container-single .chosen-single {
  box-sizing:border-box;
  height:44px;
  padding:9px 38px 9px 12px;
  color:var(--akh-text);
  line-height:24px;
  background:#fff;
  border:1px solid #cbd7df;
  border-radius:3px;
  box-shadow:none;
}

body.page-user .chosen-container-single .chosen-single div {
  top:9px;
}

body.page-user .chosen-container-active .chosen-single {
  border-color:var(--akh-teal);
  box-shadow:0 0 0 3px rgba(63,146,137,.12);
}


/* ----------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------- */

body.page-user input.form-submit,
body.page-user button.form-submit,
body.page-cart input.form-submit,
body.page-cart button.form-submit {
  min-height:44px;
  padding:11px 22px;
  color:#fff!important;
  font-size:14px;
  font-weight:700;
  line-height:1.2;
  text-shadow:none;
  background:var(--akh-pink);
  border:0;
  border-radius:3px;
  box-shadow:none;
  cursor:pointer;
  transition:background .15s ease, transform .15s ease;
}

body.page-user input.form-submit:hover,
body.page-user input.form-submit:focus,
body.page-user button.form-submit:hover,
body.page-user button.form-submit:focus,
body.page-cart input.form-submit:hover,
body.page-cart input.form-submit:focus,
body.page-cart button.form-submit:hover,
body.page-cart button.form-submit:focus {
  color:#fff!important;
  background:#bf4e7b;
  text-decoration:none;
}


/* ==========================================================
   3. LOGIN
   /user/login
   ========================================================== */

body.page-user-login #main {
  max-width:860px;
}

body.page-user-login #title-container {
  max-width:860px;
}

body.page-user-login #content-area {
  padding:38px 42px 40px;
}

body.page-user-login #user-login {
  max-width:680px;
  margin:0 auto;
  padding:12px 0;
  border:0!important;
  box-shadow:none!important;
}

body.page-user-login #user-login input.form-text,
body.page-user-login #user-login input.form-password {
  width:100%;
  max-width:none;
}

body.page-user-login #user-login .form-actions {
  margin-top:26px;
}


/* Login links */

body.page-user-login #content-area a {
  color:var(--akh-navy);
  font-weight:600;
}

body.page-user-login #content-area a:hover,
body.page-user-login #content-area a:focus {
  color:var(--akh-teal);
}


/* ==========================================================
   4. CREATE NEW ACCOUNT / REGISTRATION
   /user/register
   ========================================================== */

body.page-user-register #content-area {
  padding:38px 44px 44px;
}

body.page-user-register #user-register-form {
  max-width:1000px;
  margin:0 auto;
}


/* ----------------------------------------------------------
   ACCOUNT CREDENTIALS PANEL
   ---------------------------------------------------------- */

body.page-user-register #edit-account {
  box-sizing:border-box;
  width:100%;
  max-width:none;
  margin:0 0 34px;
  padding:28px 30px;
  background:var(--akh-soft-blue);
  border:1px solid var(--akh-border);
  border-left:4px solid var(--akh-blue);
  border-radius:4px;
}


/* ----------------------------------------------------------
   PASSWORD REQUIREMENTS
   ---------------------------------------------------------- */

body.page-user-register #account-pass-restrictions {
  margin:22px 0;
  padding:18px 20px;
  background:#fff;
  border:1px solid var(--akh-border);
  border-radius:3px;
}

body.page-user-register #account-pass-restrictions h3 {
  margin:0 0 10px;
  color:var(--akh-navy);
  font-size:17px;
  font-weight:700;
}

body.page-user-register #account-pass-restrictions ul {
  margin:0;
  padding-left:20px;
}

body.page-user-register #account-pass-restrictions li {
  margin:5px 0;
  color:var(--akh-text);
  font-size:13px;
  line-height:1.45;
}


/* ----------------------------------------------------------
   PROFILE SECTION
   ---------------------------------------------------------- */

body.page-user-register #edit-profile-profile {
  margin:0;
  padding:0;
  border:0;
}

body.page-user-register #edit-profile-profile > legend {
  display:block;
  box-sizing:border-box;
  width:100%;
  margin:0 0 24px;
  padding:0 0 12px;
  border-bottom:1px solid var(--akh-border);
}

body.page-user-register #edit-profile-profile > legend .fieldset-legend {
  color:var(--akh-navy);
  font-size:24px;
  font-weight:700;
}


/* General registration field widths */

body.page-user-register #edit-profile-profile input.form-text {
  width:100%;
  max-width:620px;
}

body.page-user-register #edit-profile-profile .chosen-container {
  max-width:620px!important;
}


/* ----------------------------------------------------------
   LOCATION / ADDRESS
   ---------------------------------------------------------- */

body.page-user-register fieldset.location {
  margin:28px 0;
  padding:26px 28px 8px;
  background:var(--akh-light-bg);
  border:1px solid var(--akh-border);
  border-radius:4px;
}

body.page-user-register fieldset.location > legend {
  padding:0 8px;
}

body.page-user-register fieldset.location > legend .fieldset-legend {
  color:var(--akh-navy);
  font-size:17px;
  font-weight:700;
}


/* ----------------------------------------------------------
   DATE OF BIRTH
   ---------------------------------------------------------- */

body.page-user-register .date-combo {
  margin:25px 0;
  padding:22px 24px 5px;
  background:var(--akh-light-bg);
  border:1px solid var(--akh-border);
  border-radius:4px;
}


/* ----------------------------------------------------------
   BOARD CERTIFICATIONS / LICENSES
   ---------------------------------------------------------- */

body.page-user-register .field-name-field-custom-board-certification,
body.page-user-register .field-name-field-custom-board-certifications,
body.page-user-register [class*="field-name"][class*="license"] {
  margin-top:26px;
}

body.page-user-register .field-name-field-custom-board-certification > .field-label,
body.page-user-register .field-name-field-custom-board-certifications > .field-label {
  margin:30px 0 18px;
  padding:0 0 12px;
  color:var(--akh-navy);
  font-size:20px;
  font-weight:700;
  line-height:1.3;
  border-bottom:1px solid var(--akh-border);
}


/* Add another */

body.page-user-register input[value="Add another"] {
  background:var(--akh-teal);
}

body.page-user-register input[value="Add another"]:hover,
body.page-user-register input[value="Add another"]:focus {
  background:#347d75;
}


/* ----------------------------------------------------------
   LOCALE SETTINGS
   ---------------------------------------------------------- */

body.page-user-register fieldset.collapsible {
  margin:30px 0;
  padding:18px 22px;
  background:#fff;
  border:1px solid var(--akh-border);
  border-radius:4px;
}

body.page-user-register fieldset.collapsible > legend {
  padding:0 8px;
}

body.page-user-register fieldset.collapsible .fieldset-legend {
  color:var(--akh-navy);
}


/* ----------------------------------------------------------
   FINAL REGISTRATION SUBMIT
   ---------------------------------------------------------- */

body.page-user-register #edit-submit {
  min-width:180px;
}


/* ==========================================================
   5. MY ACCOUNT
   /user
   ========================================================== */

body.page-user.logged-in #content-area {
  padding:30px 34px 38px;
}


/* ----------------------------------------------------------
   ACCOUNT TABS
   ---------------------------------------------------------- */

body.page-user.logged-in .tabs {
  margin:0 0 24px;
}

body.page-user.logged-in .tabs ul.primary {
  display:flex;
  flex-wrap:wrap;
  gap:0;
  margin:0;
  padding:0;
  overflow:hidden;
  border:1px solid var(--akh-border);
  border-radius:4px;
}

body.page-user.logged-in .tabs ul.primary li {
  margin:0;
}

body.page-user.logged-in .tabs ul.primary li a {
  display:block;
  height:100%;
  box-sizing:border-box;
  margin:0;
  padding:11px 15px;
  color:var(--akh-text);
  font-size:13px;
  background:#fff;
  border:0;
  border-right:1px solid var(--akh-border);
  border-radius:0;
  text-decoration:none;
}

body.page-user.logged-in .tabs ul.primary li.active a,
body.page-user.logged-in .tabs ul.primary li a.active {
  color:var(--akh-navy);
  font-weight:700;
  background:var(--akh-soft-teal);
  box-shadow:inset 0 3px 0 var(--akh-teal);
}

body.page-user.logged-in .tabs ul.primary li a:hover,
body.page-user.logged-in .tabs ul.primary li a:focus {
  color:var(--akh-navy);
  background:var(--akh-light-bg);
  text-decoration:none;
}


/* ----------------------------------------------------------
   ACCOUNT CONTENT
   ---------------------------------------------------------- */

body.page-user.logged-in #content-area h2 {
  margin:24px 0 14px;
  color:var(--akh-navy);
  font-size:24px;
  font-weight:700;
}

body.page-user.logged-in #content-area h3 {
  color:var(--akh-navy);
  font-size:18px;
  font-weight:700;
}


/* ----------------------------------------------------------
   PROFILE CARD
   ---------------------------------------------------------- */

body.page-user.logged-in #content-area .profile {
  box-sizing:border-box;
  max-width:900px;
  padding:30px 32px;
  background:#fff;
  border:1px solid var(--akh-border);
  border-radius:4px;
}

body.page-user.logged-in #content-area .profile > h2:first-child,
body.page-user.logged-in #content-area .profile > h3:first-child {
  margin-top:0;
}

body.page-user.logged-in #content-area .profile .field {
  margin:0 0 14px;
}

body.page-user.logged-in #content-area .profile .field-label {
  margin-bottom:2px;
  color:var(--akh-navy);
  font-size:13px;
  font-weight:700;
}

body.page-user.logged-in #content-area .profile .field-items,
body.page-user.logged-in #content-area .profile .field-item {
  color:var(--akh-text);
  font-size:15px;
  line-height:1.45;
}


/* Generic fields in case EthosCE markup differs */

body.page-user.logged-in #content-area .field {
  margin-bottom:12px;
}

body.page-user.logged-in #content-area .field-label {
  color:var(--akh-text);
  font-weight:700;
}


/* ----------------------------------------------------------
   DRUPAL MESSAGES
   Note: PHP notices should ultimately be disabled from
   public display in Production. This only improves the
   presentation of legitimate system messages.
   ---------------------------------------------------------- */

body.page-user .messages {
  margin:0 0 22px;
  padding:14px 18px;
  border-radius:3px;
}

body.page-user .messages.status {
  color:#285f59;
  background:var(--akh-soft-teal);
  border:1px solid #c8e2df;
}

body.page-user .messages.warning {
  color:#755c16;
  background:#fff9e9;
  border:1px solid #eadca8;
}

body.page-user .messages.error {
  color:#8b2c2c;
  background:#fff1f1;
  border:1px solid #efcaca;
}


/* ==========================================================
   6. SHOPPING CART
   /cart
   ========================================================== */

body.page-cart #content-area {
  min-height:0;
  padding:34px 38px;
}


/* Empty cart */

body.page-cart #content-area > p:first-child {
  margin:0;
  padding:6px 0;
  color:var(--akh-text);
  font-size:16px;
  line-height:1.6;
}


/* ----------------------------------------------------------
   POPULATED CART TABLE
   ---------------------------------------------------------- */

body.page-cart table {
  width:100%;
  margin:0;
  border-collapse:collapse;
  border:1px solid var(--akh-border);
}

body.page-cart table th {
  padding:13px 15px;
  color:var(--akh-navy);
  font-size:13px;
  font-weight:700;
  text-align:left;
  background:var(--akh-soft-blue);
  border-bottom:1px solid var(--akh-border);
}

body.page-cart table td {
  padding:15px;
  color:var(--akh-text);
  border-bottom:1px solid var(--akh-border);
}

body.page-cart table tr:last-child td {
  border-bottom:0;
}

body.page-cart table a {
  color:var(--akh-navy);
  font-weight:600;
  text-decoration:none;
}

body.page-cart table a:hover,
body.page-cart table a:focus {
  color:var(--akh-teal);
  text-decoration:none;
}


/* ==========================================================
   7. RESPONSIVE — TABLET
   ========================================================== */

@media (max-width:900px) {

  body.page-user #title-container-inner,
  body.page-cart #title-container-inner {
    padding:24px 26px;
  }

  body.page-user #page-title,
  body.page-cart #page-title {
    font-size:30px;
  }

  body.page-user #content-area,
  body.page-cart #content-area,
  body.page-user-register #content-area {
    padding:28px 26px;
  }

  body.page-user-register #edit-account {
    padding:24px;
  }

  body.page-user.logged-in .tabs ul.primary {
    overflow:visible;
  }

  body.page-user.logged-in .tabs ul.primary li {
    flex:1 1 33.333%;
  }

  body.page-user.logged-in .tabs ul.primary li a {
    border-bottom:1px solid var(--akh-border);
  }
}


/* ==========================================================
   8. RESPONSIVE — MOBILE
   ========================================================== */

@media (max-width:600px) {

  body.page-user #title-container,
  body.page-cart #title-container {
    margin-top:12px;
  }

  body.page-user #title-container-inner,
  body.page-cart #title-container-inner {
    padding:20px;
  }

  body.page-user #page-title,
  body.page-cart #page-title {
    font-size:27px;
  }

  body.page-user #content-area,
  body.page-cart #content-area,
  body.page-user-register #content-area,
  body.page-user-login #content-area {
    padding:24px 20px;
  }


  /* Login */

  body.page-user-login #user-login {
    width:100%;
    padding:4px 0;
  }


  /* Registration */

  body.page-user-register #edit-account {
    padding:21px 18px;
  }

  body.page-user-register fieldset.location,
  body.page-user-register .date-combo {
    padding:20px 18px 5px;
  }

  body.page-user-register input.form-text,
  body.page-user-register input.form-email,
  body.page-user-register input.form-password,
  body.page-user-register select.form-select,
  body.page-user-register .chosen-container {
    width:100%!important;
    max-width:100%!important;
  }


  /* My Account */

  body.page-user.logged-in .tabs ul.primary li {
    flex:1 1 50%;
  }

  body.page-user.logged-in #content-area .profile {
    width:100%;
    max-width:none;
    padding:24px 20px;
  }


  /* Cart */

  body.page-cart {
    overflow-x:hidden;
  }

  body.page-cart #content-area {
    padding:26px 22px;
  }

  body.page-cart table {
    font-size:12px;
  }

  body.page-cart table th,
  body.page-cart table td {
    padding:10px 8px;
  }
}

/* ==========================================================
   REGISTRATION PAGE — ETHOSCE STRUCTURE CORRECTIONS
   Must appear AFTER the Account / Commerce CSS
   ========================================================== */

/* Main registration form */
body.page-user-register #user-register-form {
  box-sizing:border-box;
  width:100%;
  max-width:1000px;
  margin:0 auto;
}


/* ----------------------------------------------------------
   ACCOUNT / LOGIN CREDENTIALS
   ---------------------------------------------------------- */

/*
   EthosCE does not consistently expose the account wrapper
   using the same ID, so support both common structures.
*/
body.page-user-register #edit-account,
body.page-user-register .form-wrapper[id*="account"] {
  box-sizing:border-box;
}

/*
   Restore the visual credentials panel when #edit-account
   is available.
*/
body.page-user-register #edit-account {
  width:100%;
  max-width:none;
  margin:0 0 34px;
  padding:28px 30px;
  background:var(--akh-soft-blue);
  border:1px solid var(--akh-border);
  border-left:4px solid var(--akh-blue);
  border-radius:4px;
}


/* Password requirements */

body.page-user-register #account-pass-restrictions {
  margin:18px 0 22px;
  padding:18px 20px;
  background:#fff;
  border:1px solid var(--akh-border);
  border-radius:3px;
}

body.page-user-register #account-pass-restrictions h3 {
  margin:0 0 10px;
  color:var(--akh-navy);
  font-size:17px;
  font-weight:700;
}

body.page-user-register #account-pass-restrictions ul {
  margin:0;
  padding-left:20px;
}


/* ----------------------------------------------------------
   PROFILE HEADING
   ---------------------------------------------------------- */

body.page-user-register #edit-profile-profile {
  margin:0;
  padding:0;
  border:0;
}

body.page-user-register #edit-profile-profile > legend {
  display:block;
  box-sizing:border-box;
  width:100%;
  margin:0 0 24px;
  padding:0 0 12px;
  border-bottom:1px solid var(--akh-border);
}

body.page-user-register #edit-profile-profile > legend .fieldset-legend {
  color:var(--akh-navy);
  font-size:24px;
  font-weight:700;
}


/* ----------------------------------------------------------
   STANDARD PROFILE FIELDS
   ---------------------------------------------------------- */

body.page-user-register #edit-profile-profile input.form-text {
  box-sizing:border-box;
  width:100%;
  max-width:620px;
}

body.page-user-register #edit-profile-profile select.form-select {
  max-width:620px;
}

body.page-user-register #edit-profile-profile .chosen-container {
  max-width:620px!important;
}


/* ----------------------------------------------------------
   ADDRESS / LOCATION
   ---------------------------------------------------------- */

body.page-user-register fieldset.location,
body.page-user-register .location {
  box-sizing:border-box;
  margin:28px 0;
  padding:26px 28px 8px;
  background:var(--akh-light-bg);
  border:1px solid var(--akh-border);
  border-radius:4px;
}

body.page-user-register fieldset.location input.form-text,
body.page-user-register .location input.form-text {
  width:100%;
  max-width:620px;
}


/* ----------------------------------------------------------
   DATE OF BIRTH
   ---------------------------------------------------------- */

body.page-user-register .date-combo,
body.page-user-register fieldset.date-combo {
  box-sizing:border-box;
  margin:25px 0;
  padding:22px 24px 18px;
  background:var(--akh-light-bg);
  border:1px solid var(--akh-border);
  border-radius:4px;
}

body.page-user-register .date-combo legend {
  padding:0 8px;
}

body.page-user-register .date-combo .fieldset-legend {
  color:var(--akh-text);
  font-weight:700;
}


/* ----------------------------------------------------------
   BOARD CERTIFICATIONS / LICENSES
   ---------------------------------------------------------- */

body.page-user-register .field-name-field-custom-board-certification,
body.page-user-register .field-name-field-custom-board-certifications,
body.page-user-register [class*="field-name"][class*="license"] {
  margin-top:30px;
}

body.page-user-register .field-name-field-custom-board-certification > .field-label,
body.page-user-register .field-name-field-custom-board-certifications > .field-label {
  margin:0 0 18px;
  padding:0 0 12px;
  color:var(--akh-navy);
  font-size:20px;
  font-weight:700;
  line-height:1.3;
  border-bottom:1px solid var(--akh-border);
}


/* Instructions under board/licensure heading */

body.page-user-register .field-name-field-custom-board-certification ul,
body.page-user-register .field-name-field-custom-board-certifications ul {
  margin:12px 0 20px;
  padding-left:22px;
}

body.page-user-register .field-name-field-custom-board-certification li,
body.page-user-register .field-name-field-custom-board-certifications li {
  margin:5px 0;
  line-height:1.5;
}


/* ----------------------------------------------------------
   REPEATABLE LICENSE ROW
   ---------------------------------------------------------- */

body.page-user-register input[value="Add another"] {
  min-height:40px;
  background:var(--akh-teal)!important;
}

body.page-user-register input[value="Add another"]:hover,
body.page-user-register input[value="Add another"]:focus {
  background:#347d75!important;
}

body.page-user-register input[value="Remove"] {
  min-height:40px;
}


/* ----------------------------------------------------------
   LOCALE SETTINGS
   ---------------------------------------------------------- */

body.page-user-register fieldset.collapsible {
  box-sizing:border-box;
  margin:30px 0;
  padding:20px 22px;
  background:#fff;
  border:1px solid var(--akh-border);
  border-radius:4px;
}

body.page-user-register fieldset.collapsible > legend {
  padding:0 8px;
}

body.page-user-register fieldset.collapsible .fieldset-legend {
  color:var(--akh-navy);
  font-size:16px;
  font-weight:700;
}


/* ----------------------------------------------------------
   FORM ACTIONS / CREATE ACCOUNT
   Do not allow theme rules to hide the submit area.
   ---------------------------------------------------------- */

body.page-user-register #user-register-form .form-actions {
  display:block!important;
  visibility:visible!important;
  margin:28px 0 0!important;
  padding:0!important;
  opacity:1!important;
}

body.page-user-register #user-register-form .form-actions input.form-submit,
body.page-user-register #user-register-form #edit-submit {
  display:inline-block!important;
  visibility:visible!important;
  min-width:180px;
  min-height:44px;
  padding:11px 22px;
  color:#fff!important;
  font-weight:700;
  background:var(--akh-pink)!important;
  border:0;
  border-radius:3px;
  opacity:1!important;
}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width:600px) {

  body.page-user-register #edit-account {
    padding:22px 18px;
  }

  body.page-user-register fieldset.location,
  body.page-user-register .location {
    padding:20px 18px 6px;
  }

  body.page-user-register .date-combo,
  body.page-user-register fieldset.date-combo {
    padding:20px 18px 14px;
  }

  body.page-user-register input.form-text,
  body.page-user-register input.form-email,
  body.page-user-register input.form-password,
  body.page-user-register select.form-select,
  body.page-user-register .chosen-container {
    width:100%!important;
    max-width:100%!important;
  }
}

/* ==========================================================
   REGISTRATION — SECONDARY REMOVE BUTTON
   Keep primary Create Account action visually dominant
   ========================================================== */

body.page-user-register #user-register-form input.remove-button,
body.page-user-register #user-register-form input[value="Remove"],
body.page-user-register #user-register-form button[value="Remove"] {
  min-height:38px !important;
  padding:8px 16px !important;

  background:#fff !important;
  border:1px solid #cbd7df !important;
  border-radius:3px !important;

  color:var(--akh-muted-text) !important;
  font-size:13px !important;
  font-weight:600 !important;

  box-shadow:none !important;
}

body.page-user-register #user-register-form input.remove-button:hover,
body.page-user-register #user-register-form input.remove-button:focus,
body.page-user-register #user-register-form input[value="Remove"]:hover,
body.page-user-register #user-register-form input[value="Remove"]:focus,
body.page-user-register #user-register-form button[value="Remove"]:hover,
body.page-user-register #user-register-form button[value="Remove"]:focus {
  background:#f6f9fb !important;
  border-color:#aebdc7 !important;
  color:var(--akh-text) !important;
}

/* ==========================================================
   REGISTRATION — CREATE ACCOUNT PRIMARY BUTTON
   ========================================================== */

body.page-user-register #user-register-form #edit-actions #edit-submit,
body.page-user-register #user-register-form input#edit-submit[value="Create new account"] {
  display:inline-block !important;
  min-height:46px !important;
  padding:12px 24px !important;

  background:var(--akh-navy) !important;
  border:1px solid var(--akh-navy) !important;
  border-radius:3px !important;

  color:#fff !important;
  font-size:15px !important;
  font-weight:700 !important;
  line-height:1.4 !important;

  box-shadow:none !important;
  cursor:pointer !important;
}

body.page-user-register #user-register-form #edit-actions #edit-submit:hover,
body.page-user-register #user-register-form #edit-actions #edit-submit:focus,
body.page-user-register #user-register-form input#edit-submit[value="Create new account"]:hover,
body.page-user-register #user-register-form input#edit-submit[value="Create new account"]:focus {
  background:var(--akh-teal) !important;
  border-color:var(--akh-teal) !important;
  color:#fff !important;
}

/* ==========================================================
   REGISTRATION — FINAL VISUAL POLISH
   Presentation only. Does not alter Drupal/EthosCE behavior.
   ========================================================== */


/* ----------------------------------------------------------
   Overall form rhythm
   ---------------------------------------------------------- */

body.page-user-register #user-register-form {
  max-width: 1000px;
}

body.page-user-register #edit-profile-profile > .fieldset-wrapper {
  padding-top: 2px;
}


/* ----------------------------------------------------------
   PROFILE SECTION
   Give the primary profile area more breathing room.
   ---------------------------------------------------------- */

body.page-user-register #edit-profile-profile > legend {
  margin-bottom: 26px;
}

body.page-user-register #edit-profile-profile > legend .fieldset-legend {
  font-size: 24px;
  line-height: 1.2;
}


/* ----------------------------------------------------------
   ADDRESS
   Preserve the existing soft grouping but tighten hierarchy.
   ---------------------------------------------------------- */

body.page-user-register fieldset.location,
body.page-user-register .location {
  margin-top: 24px;
  margin-bottom: 30px;
  padding: 24px 26px 10px;

  background: var(--akh-light-bg);
  border: 1px solid var(--akh-border);
  border-radius: 4px;
}


/* ----------------------------------------------------------
   PROFESSIONAL INFORMATION
   Create a subtle visual transition after the address block.
   ---------------------------------------------------------- */

body.page-user-register
#edit-profile-profile-field-profession {
  margin-top: 34px;
}


/* Profession and Specialty receive a little more spacing */

body.page-user-register
#edit-profile-profile-field-profession,
body.page-user-register
#edit-profile-profile-field-specialty {
  max-width: 620px;
}


/* ----------------------------------------------------------
   DATE OF BIRTH
   Maintain the existing soft panel but improve spacing.
   ---------------------------------------------------------- */

body.page-user-register .date-combo {
  box-sizing: border-box;

  margin-top: 26px;
  margin-bottom: 30px;
  padding: 22px 24px 18px;

  background: var(--akh-soft-blue);
  border: 1px solid var(--akh-border);
  border-radius: 4px;
}

body.page-user-register .date-combo legend,
body.page-user-register .date-combo .fieldset-legend {
  color: var(--akh-navy);
  font-weight: 700;
}


/* ----------------------------------------------------------
   LICENSES / CERTIFICATIONS
   This is the most complex part of the form, so make it read
   as a deliberate section rather than another group of fields.
   ---------------------------------------------------------- */

body.page-user-register .group-accme-ids-wrapper {
  box-sizing: border-box;

  margin: 34px 0 30px;
  padding: 26px 28px 28px;

  background: var(--akh-soft-teal);
  border: 1px solid var(--akh-border);
  border-left: 4px solid var(--akh-teal);
  border-radius: 4px;
}


/* Section heading */

body.page-user-register .group-accme-ids-wrapper > h2,
body.page-user-register .group-accme-ids-wrapper > h3,
body.page-user-register .group-accme-ids-wrapper .fieldset-legend {
  color: var(--akh-navy);
}


/* Instructions */

body.page-user-register .group-accme-ids-wrapper ul {
  margin-top: 12px;
  margin-bottom: 22px;
}

body.page-user-register .group-accme-ids-wrapper li {
  margin-bottom: 5px;
  line-height: 1.55;
}


/* Remove unnecessary table heaviness */

body.page-user-register #field-accme-ids-values {
  width: 100%;
  margin: 18px 0 12px;

  background: transparent;
  border: 0;
}

body.page-user-register #field-accme-ids-values th {
  padding: 8px 10px 8px 0;

  background: transparent;
  border: 0;

  color: var(--akh-text);
  font-size: 13px;
  font-weight: 700;
}

body.page-user-register #field-accme-ids-values td {
  padding: 6px 10px 6px 0;

  background: transparent;
  border: 0;
  vertical-align: top;
}


/* Keep controls aligned cleanly */

body.page-user-register
#field-accme-ids-values .chosen-container {
  max-width: 100% !important;
}


/* Add another remains a secondary positive action */

body.page-user-register
.group-accme-ids-wrapper input[value*="Add another"],
body.page-user-register
.group-accme-ids-wrapper button[value*="Add another"] {
  background: var(--akh-teal) !important;
  border-color: var(--akh-teal) !important;
  color: #fff !important;
}

body.page-user-register
.group-accme-ids-wrapper input[value*="Add another"]:hover,
body.page-user-register
.group-accme-ids-wrapper input[value*="Add another"]:focus,
body.page-user-register
.group-accme-ids-wrapper button[value*="Add another"]:hover,
body.page-user-register
.group-accme-ids-wrapper button[value*="Add another"]:focus {
  background: var(--akh-navy) !important;
  border-color: var(--akh-navy) !important;
}


/* ----------------------------------------------------------
   CREDENTIALS
   Separate from the complex license collection above it.
   ---------------------------------------------------------- */

body.page-user-register
#edit-profile-profile-field-credentials {
  margin-top: 30px;
}


/* ----------------------------------------------------------
   LOCALE SETTINGS
   Secondary system preference — intentionally quieter.
   ---------------------------------------------------------- */

body.page-user-register fieldset.collapsible {
  margin-top: 32px;
  margin-bottom: 30px;

  background: #fafcfd;
  border: 1px solid var(--akh-border);
  border-radius: 4px;
}

body.page-user-register fieldset.collapsible > legend {
  padding: 0 8px;
}

body.page-user-register fieldset.collapsible .fieldset-legend {
  color: var(--akh-navy);
  font-size: 13px;
  font-weight: 700;
}


/* ----------------------------------------------------------
   CAPTCHA + FINAL SUBMISSION
   Give the final step clear separation from profile settings.
   ---------------------------------------------------------- */

body.page-user-register #user-register-form .captcha {
  margin-top: 36px;
  padding-top: 28px;

  border-top: 1px solid var(--akh-border);
}

body.page-user-register
#user-register-form .form-item-captcha-response {
  margin-bottom: 24px;
}

body.page-user-register
#user-register-form .form-item-captcha-response .field-label,
body.page-user-register
#user-register-form .form-item-captcha-response > label {
  color: var(--akh-navy);
  font-weight: 700;
}


/* Keep math answer compact */

body.page-user-register #edit-captcha-response {
  width: 70px !important;
  min-width: 70px !important;
  max-width: 70px !important;
}


/* Final action area */

body.page-user-register #user-register-form #edit-actions {
  margin-top: 24px !important;
  padding-top: 0 !important;
}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 600px) {

  body.page-user-register fieldset.location,
  body.page-user-register .date-combo,
  body.page-user-register .group-accme-ids-wrapper {
    padding-left: 18px;
    padding-right: 18px;
  }

  body.page-user-register #field-accme-ids-values,
  body.page-user-register #field-accme-ids-values tbody,
  body.page-user-register #field-accme-ids-values tr,
  body.page-user-register #field-accme-ids-values td {
    display: block;
    width: 100%;
  }

  body.page-user-register #field-accme-ids-values th {
    display: none;
  }

  body.page-user-register #field-accme-ids-values td {
    box-sizing: border-box;
    padding: 5px 0;
  }

}

/* ==========================================================
   REGISTRATION — FINAL SPACING
   ========================================================== */

body.page-user-register #user-register-form {
  max-width: 1060px;
}

/* Slightly more room after the final action */
body.page-user-register #user-register-form #edit-actions {
  margin-bottom: 14px !important;
}

/* ==========================================================
   MATE ACT EDUCATION HUB — PANEL SEPARATOR REPAIR
   Removes legacy EthosCE pink pane separators only on MATE Act
   ========================================================== */

body.section-mate-act-substance-use-disorder-accredited-education
.panel-pane {
  border-bottom: 0 !important;
  border-bottom-color: transparent !important;
}

body.section-mate-act-substance-use-disorder-accredited-education
.panel-pane::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  background: none !important;
}

/* Learning Group banner images */
.akh-learning-group-banner {
  margin: 0 !important;
  padding: 0 !important;
  text-align: center;
}

.akh-learning-group-banner img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* ==========================================================
   LEARNING GROUPS — REMOVE LEGACY PANEL SEPARATORS
   ========================================================== */

body.node-type-learning-group .panel-pane {
  border-bottom: 0 !important;
  border-bottom-color: transparent !important;
}

body.node-type-learning-group .panel-pane::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  background: none !important;
}

/* ==========================================================
   MATE ACT LEARNING GROUP — FINAL POLISH
   ========================================================== */

/* Give Learning Group panes more deliberate vertical rhythm */
body.section-mate-act-substance-use-disorder-accredited-education
.panel-pane {
  margin-bottom: 26px !important;
}

/* Overview / informational copy */
body.section-mate-act-substance-use-disorder-accredited-education
.panel-pane p {
  color: var(--akh-text);
  line-height: 1.65;
}

/* Section headings within informational panes */
body.section-mate-act-substance-use-disorder-accredited-education
.panel-pane h2 {
  margin-top: 22px;
  margin-bottom: 10px;
  color: var(--akh-navy);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.25;
}

/* Recent Courses heading */
body.section-mate-act-substance-use-disorder-accredited-education
.pane-title {
  margin: 0 0 20px !important;
  color: var(--akh-navy) !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

/* Keep the final pane from creating excess space */
body.section-mate-act-substance-use-disorder-accredited-education
.panel-pane:last-child {
  margin-bottom: 0 !important;
}

/* ==========================================================
   BOC / ATHLETIC TRAINERS LEARNING GROUP
   Node 289
   ========================================================== */

/* Hide legacy page title — content establishes hierarchy */
body.page-node-289 #title-container {
  display: none !important;
}

/* Remove legacy Panelizer separators */
body.page-node-289 .panel-pane {
  border-bottom: 0 !important;
  border-bottom-color: transparent !important;
}

body.page-node-289 .panel-pane::after {
  content: none !important;
  display: none !important;
}

/* Banner */
body.page-node-289 .pane-1 .pane-content {
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(28, 55, 78, 0.08);
}

body.page-node-289 .pane-1 p {
  margin: 0 !important;
}

body.page-node-289 .pane-1 img {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  margin: 0;
}

/* Introduction */
body.page-node-289 .akh-boc-intro {
  padding: 38px 42px 40px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 18px rgba(28, 55, 78, 0.07);
}

body.page-node-289 .akh-boc-intro h2 {
  margin: 7px 0 14px;
  color: var(--akh-navy);
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
}

body.page-node-289 .akh-boc-intro p {
  color: var(--akh-text);
  font-size: 16px;
  line-height: 1.7;
}

body.page-node-289 .akh-boc-lead {
  margin-bottom: 10px;
  color: var(--akh-muted-text) !important;
  font-size: 18px !important;
}

/* Three supporting points */
body.page-node-289 .akh-boc-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

body.page-node-289 .akh-boc-highlight {
  padding: 20px;
  background: var(--akh-soft-teal);
  border-top: 3px solid var(--akh-teal);
  border-radius: 3px;
}

body.page-node-289 .akh-boc-highlight strong {
  display: block;
  margin-bottom: 7px;
  color: var(--akh-navy);
  font-size: 15px;
}

body.page-node-289 .akh-boc-highlight span {
  display: block;
  color: var(--akh-text);
  font-size: 14px;
  line-height: 1.55;
}

/* Courses section */
body.page-node-289
.pane-ethosce-courses-blocks-panel-pane-3 {
  margin-top: 30px;
}

body.page-node-289
.pane-ethosce-courses-blocks-panel-pane-3 > .pane-title {
  margin: 0 0 20px !important;
  color: var(--akh-navy) !important;
  font-size: 27px !important;
  line-height: 1.2;
  font-weight: 700 !important;
}

/* Responsive */
@media (max-width: 767px) {
  body.page-node-289 .akh-boc-intro {
    padding: 28px 22px 30px;
  }

  body.page-node-289 .akh-boc-intro h2 {
    font-size: 25px;
  }

  body.page-node-289 .akh-boc-highlights {
    grid-template-columns: 1fr;
  }
}

/* BOC — tighten transition into course catalog */
body.page-node-289
.pane-ethosce-courses-blocks-panel-pane-3 {
  margin-top: 22px !important;
}

body.page-node-289
.pane-ethosce-courses-blocks-panel-pane-3 > .pane-title {
  margin-bottom: 18px !important;
}

/* BOC — tighten transition into course catalog */
body.page-node-289
.pane-ethosce-courses-blocks-panel-pane-3 {
  margin-top: 22px !important;
}

body.page-node-289
.pane-ethosce-courses-blocks-panel-pane-3 > .pane-title {
  margin-bottom: 18px !important;
}

/* ==========================================================
   PAIN MANAGEMENT & OPIOID ANALGESIA
   Node 3214 — Consolidated
   ========================================================== */

body.page-node-3214 #title-container {
  display: none !important;
}

body.page-node-3214 .akh-opioids-page {
  color: var(--akh-text);
}

/* ---------- HERO ---------- */

body.page-node-3214 .akh-opioids-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
  padding: 52px 48px;
  border-radius: 5px;
  background: linear-gradient(
    120deg,
    rgba(0,73,144,.98),
    rgba(38,137,178,.94)
  );
  box-shadow: 0 6px 22px rgba(27,54,77,.10);
}

body.page-node-3214 .akh-opioids-hero::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -55px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
}

body.page-node-3214 .akh-opioids-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

body.page-node-3214 .akh-opioids-hero .akh-section-eyebrow {
  color: #bfe6df;
}

body.page-node-3214 .akh-opioids-hero h1 {
  margin: 8px 0 15px;
  color: #fff;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 700;
}

body.page-node-3214 .akh-opioids-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255,255,255,.94);
  font-size: 17px;
  line-height: 1.7;
}


/* ---------- SECTIONS ---------- */

body.page-node-3214 .akh-opioids-section {
  margin: 0 0 30px;
  padding: 40px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 4px 18px rgba(28,55,78,.07);
}

body.page-node-3214 .akh-opioids-military-section {
  background: var(--akh-soft-blue);
}

body.page-node-3214 .akh-opioids-section-heading {
  max-width: 800px;
  margin: 0 0 28px;
}

body.page-node-3214 .akh-opioids-section-heading h2 {
  margin: 7px 0 10px;
  color: var(--akh-navy);
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
}

body.page-node-3214 .akh-opioids-section-heading p {
  margin: 0;
  color: var(--akh-muted-text);
  font-size: 16px;
  line-height: 1.65;
}


/* ---------- GRID ---------- */

body.page-node-3214 .akh-opioids-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
  width: 100% !important;
}


/* ---------- STANDARD CARDS ---------- */

body.page-node-3214 .akh-opioids-card {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  background: #fff;
  border: 1px solid var(--akh-border);
  border-radius: 5px;
  box-shadow: 0 3px 12px rgba(28,55,78,.07);
}

body.page-node-3214 .akh-opioids-card-image {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  overflow: hidden;
  background: #eef4f6;
  text-decoration: none !important;
}

body.page-node-3214 .akh-opioids-card-image img {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  aspect-ratio: 300 / 198;
  object-fit: cover;
}

body.page-node-3214 .akh-opioids-card-body {
  display: flex !important;
  flex: 1 1 auto;
  flex-direction: column !important;
  width: auto !important;
  min-width: 0;
  padding: 22px 24px 24px !important;
  float: none !important;
  background: #fff;
}

body.page-node-3214 .akh-opioids-card-label {
  display: block;
  margin: 0 0 8px;
  color: var(--akh-teal);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

body.page-node-3214 .akh-opioids-card h3 {
  margin: 0 0 18px !important;
  padding: 0 !important;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
}

body.page-node-3214 .akh-opioids-card h3 a {
  color: var(--akh-navy) !important;
  text-decoration: none !important;
}

body.page-node-3214 .akh-opioids-card h3 a:hover,
body.page-node-3214 .akh-opioids-card h3 a:focus {
  color: var(--akh-blue) !important;
  text-decoration: underline !important;
}

body.page-node-3214 .akh-opioids-card-link {
  display: inline-block !important;
  width: auto !important;
  margin: auto 0 0 !important;
  padding: 0 !important;
  float: none !important;
  color: var(--akh-blue) !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.page-node-3214 .akh-opioids-card-link:hover,
body.page-node-3214 .akh-opioids-card-link:focus {
  color: var(--akh-navy) !important;
  text-decoration: underline !important;
}


/* ---------- FEATURED PROGRAM ---------- */

body.page-node-3214 .akh-opioids-feature-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr) !important;
  overflow: hidden;
  width: 100% !important;
  margin: 28px 0 0 !important;
  padding: 0 !important;
  float: none !important;
  background: #fff;
  border: 1px solid var(--akh-border);
  border-radius: 5px;
  box-shadow: 0 3px 12px rgba(28,55,78,.07);
}

body.page-node-3214 .akh-opioids-feature-image {
  display: block !important;
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  overflow: hidden;
  background: #eef4f6;
}

body.page-node-3214 .akh-opioids-feature-image img {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 250px;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  object-fit: cover;
}

body.page-node-3214 .akh-opioids-feature-content {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center;
  min-width: 0;
  width: auto !important;
  padding: 34px !important;
  float: none !important;
  background: #fff;
}

body.page-node-3214 .akh-opioids-feature-content h3 {
  margin: 7px 0 13px !important;
  padding: 0 !important;
  font-size: 25px;
  line-height: 1.3;
  font-weight: 700;
}

body.page-node-3214 .akh-opioids-feature-content h3 a {
  color: var(--akh-navy) !important;
  text-decoration: none !important;
}

body.page-node-3214 .akh-opioids-feature-content h3 a:hover,
body.page-node-3214 .akh-opioids-feature-content h3 a:focus {
  color: var(--akh-blue) !important;
  text-decoration: underline !important;
}

body.page-node-3214 .akh-opioids-feature-content p {
  margin: 0 0 20px;
  color: var(--akh-muted-text);
  font-size: 15px;
  line-height: 1.65;
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 800px) {

  body.page-node-3214 .akh-opioids-hero {
    padding: 40px 30px;
  }

  body.page-node-3214 .akh-opioids-hero h1 {
    font-size: 33px;
  }

  body.page-node-3214 .akh-opioids-section {
    padding: 32px 28px;
  }

  body.page-node-3214 .akh-opioids-grid {
    grid-template-columns: 1fr !important;
  }

  body.page-node-3214 .akh-opioids-feature-card {
    grid-template-columns: 1fr !important;
  }

  body.page-node-3214 .akh-opioids-feature-image img {
    height: auto !important;
    min-height: 0;
  }
}

@media (max-width: 520px) {

  body.page-node-3214 .akh-opioids-hero {
    padding: 34px 22px;
  }

  body.page-node-3214 .akh-opioids-hero h1 {
    font-size: 29px;
  }

  body.page-node-3214 .akh-opioids-section {
    padding: 28px 20px;
  }

  body.page-node-3214 .akh-opioids-section-heading h2 {
    font-size: 25px;
  }

  body.page-node-3214 .akh-opioids-card-body {
    padding: 20px !important;
  }

  body.page-node-3214 .akh-opioids-feature-content {
    padding: 26px 22px !important;
  }
}

/* ==========================================================
   EDUCATION HUBS — BACKGROUND FIX
   ========================================================== */

.akh-hubs-section,
.akh-hubs-section.akh-hubs,
div.akh-hubs-section,
section.akh-hubs-section {
  background-color: #012169 !important;
  background-image: none !important;
}

.akh-hubs-section .akh-hubs-heading h2 {
  color: #ffffff !important;
}

.akh-hubs-section .akh-hub-name {
  color: #ffffff !important;
}

.akh-hubs-section a.akh-hub-row {
  color: #ffffff !important;
}

.akh-footer-brand-heading {
  margin: 0 0 14px;

  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.akh-footer-brand-heading::after {
  content: "";

  display: block;

  width: 42px;
  height: 3px;

  margin-top: 12px;

  background: var(--akh-teal);
  border-radius: 2px;
}

/* ==========================================================
   HEADER — USER LINKS IN TEAL UTILITY BAR
   ========================================================== */

/*
 * Keep the existing AKH header/logo/search layout unchanged.
 * Only reposition EthosCE's native account/cart links.
 */

/* ==========================================================
   HEADER — ACCOUNT / CART LINKS
   ========================================================== */

/* Make header-right the positioning reference */
#wrapper #header-wrapper #header #header-inner #header-right {
  position: relative !important;
}


/* Native EthosCE utility row */
#wrapper #header-wrapper #header #header-inner #header-right
#ethosce-user-links-wrapper {
  position: absolute !important;

  top: -20px !important;
  right: 0 !important;
  bottom: auto !important;
  left: auto !important;

  width: auto !important;
  max-width: none !important;
  height: 24px !important;

  margin: 0 !important;
  padding: 0 !important;

  color: var(--akh-navy) !important;

  visibility: visible !important;
  opacity: 1 !important;

  z-index: 50 !important;
}


/* Navy utility links on white */
#wrapper #header-wrapper #header #header-inner #header-right
#ethosce-user-links-wrapper a {
  color: var(--akh-navy) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}


/* Hover / keyboard focus */
#wrapper #header-wrapper #header #header-inner #header-right
#ethosce-user-links-wrapper a:hover,
#wrapper #header-wrapper #header #header-inner #header-right
#ethosce-user-links-wrapper a:focus {
  color: var(--akh-teal) !important;
  text-decoration: underline !important;
}


/* Keep Cart visible even when empty */
#wrapper #header-wrapper #header #header-inner #header-right
#uc-cart-link,
#wrapper #header-wrapper #header #header-inner #header-right
#uc-cart-link a,
#wrapper #header-wrapper #header #header-inner #header-right
#uc-cart-link a.no-items {
  visibility: visible !important;
  opacity: 1 !important;
}

/* ==========================================================
   HEADER — FORCE ACCOUNT LINKS NAVY
   ========================================================== */

/* Login / Register */
#wrapper #header-wrapper #header #header-inner #header-right
#ethosce-user-links-wrapper #block-system-user-menu a,
#wrapper #header-wrapper #header #header-inner #header-right
#ethosce-user-links-wrapper #block-system-user-menu a:link,
#wrapper #header-wrapper #header #header-inner #header-right
#ethosce-user-links-wrapper #block-system-user-menu a:visited,

/* Cart */
#wrapper #header-wrapper #header #header-inner #header-right
#ethosce-user-links-wrapper #uc-cart-link a,
#wrapper #header-wrapper #header #header-inner #header-right
#ethosce-user-links-wrapper #uc-cart-link a:link,
#wrapper #header-wrapper #header #header-inner #header-right
#ethosce-user-links-wrapper #uc-cart-link a:visited,

/* Logged-in username */
#wrapper #header-wrapper #header #header-inner #header-right
#ethosce-user-links-wrapper #ethosce-user-links-extra a,
#wrapper #header-wrapper #header #header-inner #header-right
#ethosce-user-links-wrapper #ethosce-user-links-extra a:link,
#wrapper #header-wrapper #header #header-inner #header-right
#ethosce-user-links-wrapper #ethosce-user-links-extra a:visited {
  color: #012169 !important;
  -webkit-text-fill-color: #012169 !important;
  text-decoration: none !important;
}

/* Hover / focus */
#wrapper #header-wrapper #header #header-inner #header-right
#ethosce-user-links-wrapper #block-system-user-menu a:hover,
#wrapper #header-wrapper #header #header-inner #header-right
#ethosce-user-links-wrapper #block-system-user-menu a:focus,
#wrapper #header-wrapper #header #header-inner #header-right
#ethosce-user-links-wrapper #uc-cart-link a:hover,
#wrapper #header-wrapper #header #header-inner #header-right
#ethosce-user-links-wrapper #uc-cart-link a:focus,
#wrapper #header-wrapper #header #header-inner #header-right
#ethosce-user-links-wrapper #ethosce-user-links-extra a:hover,
#wrapper #header-wrapper #header #header-inner #header-right
#ethosce-user-links-wrapper #ethosce-user-links-extra a:focus {
  color: #00A0B0 !important;
  -webkit-text-fill-color: #00A0B0 !important;
  text-decoration: underline !important;
}

/* Header search — add breathing room above navigation */
#wrapper #header-wrapper #header #header-inner #header-right
#block-ethosce-search-ethosce-search {
  top: 10px !important;
}

/* =========================================================
   AKH CALENDAR
   Page title + view navigation
   ========================================================= */

/* Page title */
body.page-calendar #title-container {
  max-width: var(--akh-content-width);
  margin: 32px auto 18px;
  padding: 0 24px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.page-calendar #title-container-inner {
  padding: 0;
}

body.page-calendar #page-title {
  margin: 0;
  color: var(--akh-navy);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
}

/* Month / Week / Day / Upcoming Events */
body.page-calendar #tabs-container {
  max-width: var(--akh-content-width);
  margin: 0 auto 28px;
  padding: 0 24px;
  border: 0;
  background: transparent;
}

body.page-calendar #tabs-container ul.tabs-primary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

body.page-calendar #tabs-container .tabs-primary__tab {
  float: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body.page-calendar #tabs-container .tabs-primary__tab-link {
  display: block;
  padding: 10px 18px;
  color: var(--akh-navy);
  background: #f1f5f8;
  border: 1px solid var(--akh-border);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

body.page-calendar #tabs-container .tabs-primary__tab-link:hover,
body.page-calendar #tabs-container .tabs-primary__tab-link:focus {
  color: var(--akh-navy);
  background: var(--akh-soft-teal);
  border-color: var(--akh-teal);
  text-decoration: none;
}

/* Active calendar view */
body.page-calendar #tabs-container .tabs-primary__tab-link.is-active,
body.page-calendar #tabs-container .tabs-primary__tab-link.active {
  color: #ffffff;
  background: var(--akh-navy);
  border-color: var(--akh-navy);
}

/* Mobile */
@media (max-width: 640px) {
  body.page-calendar #title-container {
    margin-top: 24px;
    padding: 0 18px;
  }

  body.page-calendar #page-title {
    font-size: 30px;
  }

  body.page-calendar #tabs-container {
    padding: 0 18px;
    margin-bottom: 22px;
  }

  body.page-calendar #tabs-container ul.tabs-primary {
    gap: 6px;
  }

  body.page-calendar #tabs-container .tabs-primary__tab-link {
    padding: 9px 13px;
    font-size: 13px;
  }
}

/* =========================================================
   AKH CALENDAR
   Month navigation + calendar grid
   ========================================================= */

/* Main calendar view */
body.page-calendar .view-ethosce-calendar {
  margin-top: 0;
}

/* -----------------------------------------
   Month heading / navigation
   ----------------------------------------- */

body.page-calendar .view-ethosce-calendar .view-header {
  margin: 0 0 18px;
  padding: 0;
  background: transparent;
}

body.page-calendar .view-ethosce-calendar .date-nav-wrapper {
  margin: 0;
  padding: 0;
}

body.page-calendar .view-ethosce-calendar .date-nav {
  position: relative;
  min-height: 64px;
  margin: 0;
  padding: 0 18px;
  display: flex;
  align-items: center;
  background: var(--akh-navy);
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(1, 33, 105, 0.10);
}

/* September 2026 */
body.page-calendar .view-ethosce-calendar .date-heading {
  width: auto;
  float: none;
  text-align: left;
}

body.page-calendar .view-ethosce-calendar .date-heading h3 {
  margin: 0;
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

/* Previous / next */
body.page-calendar .view-ethosce-calendar .date-nav .pager {
  position: absolute;
  top: 50%;
  right: 18px;
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
  display: flex;
  gap: 8px;
}

body.page-calendar .view-ethosce-calendar .date-nav .pager li {
  position: static;
  float: none;
  margin: 0;
  padding: 0;
}

body.page-calendar .view-ethosce-calendar .date-nav .pager a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  color: var(--akh-navy);
  background: #ffffff;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

body.page-calendar .view-ethosce-calendar .date-nav .pager a:hover,
body.page-calendar .view-ethosce-calendar .date-nav .pager a:focus {
  color: var(--akh-navy);
  background: #eaf8f8;
  border-color: var(--akh-teal);
  text-decoration: none;
}


/* -----------------------------------------
   Calendar shell
   ----------------------------------------- */

body.page-calendar .view-ethosce-calendar .view-content {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--akh-border);
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(1, 33, 105, 0.07);
}

body.page-calendar .responsive-calendar {
  margin: 0;
}


/* -----------------------------------------
   Weekday headings
   ----------------------------------------- */

body.page-calendar .responsive-calendar .weekdays {
  margin: 0;
  padding: 0;
  background: var(--akh-soft-blue);
  border-bottom: 2px solid var(--akh-teal);
}

body.page-calendar .responsive-calendar .weekdays li {
  padding: 12px 6px;
  color: var(--akh-navy);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}


/* -----------------------------------------
   Individual days
   ----------------------------------------- */

body.page-calendar .responsive-calendar .days {
  margin: 0;
  padding: 0;
}

body.page-calendar .responsive-calendar .calendar-day {
  box-sizing: border-box;
  padding: 9px !important;
  background: #ffffff;
  border-color: #e5ebef !important;
}

/* Days from previous/next month */
body.page-calendar .responsive-calendar .calendar-day.no-events {
  background: #fafbfc;
}

/* Day number */
body.page-calendar .responsive-calendar .calendar-day > .date {
  margin-bottom: 7px;
  color: var(--akh-text);
  font-size: 13px;
  font-weight: 700;
}

body.page-calendar .responsive-calendar .calendar-day > .date a {
  color: var(--akh-navy);
  font-weight: 700;
  text-decoration: none;
}

body.page-calendar .responsive-calendar .calendar-day > .date a:hover,
body.page-calendar .responsive-calendar .calendar-day > .date a:focus {
  color: var(--akh-teal);
  text-decoration: underline;
}

/* Desktop calendar doesn't need Tue, Sep, etc. */
@media (min-width: 769px) {
  body.page-calendar .responsive-calendar .calendar-day .date .day,
  body.page-calendar .responsive-calendar .calendar-day .date .month {
    display: none;
  }
}


/* -----------------------------------------
   Events
   ----------------------------------------- */

body.page-calendar .responsive-calendar .todays-events {
  margin: 0;
  padding: 0;
}

body.page-calendar .responsive-calendar .days-events {
  margin: 0 0 5px;
  padding: 0 0 0 8px;
  border-left: 3px solid var(--akh-teal);
}

body.page-calendar .responsive-calendar .event-info {
  line-height: 1.25;
}

body.page-calendar .responsive-calendar .event-time {
  display: block;
  margin-bottom: 2px;
  color: var(--akh-muted-text);
  font-size: 11px;
  font-weight: 600;
}

body.page-calendar .responsive-calendar .event-title a {
  color: var(--akh-blue);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

body.page-calendar .responsive-calendar .event-title a:hover,
body.page-calendar .responsive-calendar .event-title a:focus {
  color: var(--akh-teal);
  text-decoration: underline;
}


/* -----------------------------------------
   Download all events
   ----------------------------------------- */

body.page-calendar .view-ethosce-calendar .view-footer {
  margin-top: 18px;
}

body.page-calendar .view-ethosce-calendar .view-footer br {
  display: none;
}

body.page-calendar .view-ethosce-calendar .view-footer > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  color: var(--akh-navy);
  background: #ffffff;
  border: 1px solid var(--akh-border);
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

body.page-calendar .view-ethosce-calendar .view-footer > a:hover,
body.page-calendar .view-ethosce-calendar .view-footer > a:focus {
  color: var(--akh-navy);
  background: var(--akh-soft-teal);
  border-color: var(--akh-teal);
  text-decoration: none;
}


/* -----------------------------------------
   Mobile
   ----------------------------------------- */

@media (max-width: 768px) {

  body.page-calendar .view-ethosce-calendar .date-nav {
    min-height: 58px;
    padding: 0 12px;
  }

  body.page-calendar .view-ethosce-calendar .date-heading h3 {
    font-size: 19px;
  }

  body.page-calendar .view-ethosce-calendar .date-nav .pager {
    right: 12px;
  }

  body.page-calendar .view-ethosce-calendar .date-nav .pager a {
    min-width: 34px;
    height: 34px;
    padding: 0 9px;
  }
}

/* =========================================================
   AKH CALENDAR — PREVIOUS / NEXT CONTROLS
   ========================================================= */

body.page-calendar .view-ethosce-calendar .date-nav .pager {
  right: 18px !important;
  gap: 8px;
}

body.page-calendar .view-ethosce-calendar .date-nav .pager li {
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

body.page-calendar .view-ethosce-calendar .date-nav .pager li a {
  box-sizing: border-box;
  display: flex !important;
  align-items: center;
  justify-content: center;

  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;

  margin: 0 !important;
  padding: 0 !important;

  color: var(--akh-navy) !important;
  background: #ffffff !important;

  border: 0 !important;
  border-radius: 50% !important;

  font-size: 0 !important;
  font-weight: 700;

  box-shadow: 0 2px 7px rgba(0,0,0,.12);

  transition:
    background-color .2s ease,
    color .2s ease,
    transform .2s ease;
}

/* Replace EthosCE text with clean arrows */
body.page-calendar .view-ethosce-calendar
.date-nav .date-prev a::after {
  content: "‹";
  font-size: 24px;
  line-height: 1;
}

body.page-calendar .view-ethosce-calendar
.date-nav .date-next a::after {
  content: "›";
  font-size: 24px;
  line-height: 1;
}

body.page-calendar .view-ethosce-calendar
.date-nav .pager li a:hover,
body.page-calendar .view-ethosce-calendar
.date-nav .pager li a:focus {
  color: #ffffff !important;
  background: var(--akh-teal) !important;
  transform: translateY(-1px);
  text-decoration: none !important;
}

/* Calendar — vertically align previous / next controls */
body.page-calendar .view-ethosce-calendar .date-nav .pager {
  transform: translateY(-32px) !important;
}

/* =========================================================
   CALENDAR MOBILE — REMOVE LOCAL TASKS FROM DRAWER
   ========================================================= */

body.page-calendar #mm-0
#block-local-tasks-blocks-menu-local-tasks {
  display: none !important;
}

/* Remove the now-empty mmenu wrapper too */
body.page-calendar #mm-0
.mmenu-block-wrap:has(#block-local-tasks-blocks-menu-local-tasks) {
  display: none !important;
}

/* =========================================================
   CALENDAR MOBILE — KEEP VIEW SELECTOR ON PAGE
   ========================================================= */

@media (max-width: 768px) {

  body.page-calendar #tabs-container {
    display: block !important;
    visibility: visible !important;

    margin: 0 18px 20px !important;
    padding: 0 !important;

    width: auto !important;
    max-width: none !important;

    background: transparent !important;
    box-shadow: none !important;
  }

  body.page-calendar #tabs-container ul.tabs-primary {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 7px;

    margin: 0 !important;
    padding: 0 !important;
  }

  body.page-calendar #tabs-container .tabs-primary__tab {
    display: block !important;
    width: auto !important;
    margin: 0 !important;
  }

  body.page-calendar #tabs-container .tabs-primary__tab-link {
    box-sizing: border-box;
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 42px;

    padding: 9px 10px;

    font-size: 14px;
    text-align: center;
  }
}

/* Calendar mobile — final spacing */
@media (max-width: 768px) {

  body.page-calendar #tabs-container {
    margin-bottom: 12px !important;
  }

  body.page-calendar .view-ethosce-calendar .view-header {
    margin-bottom: 12px !important;
  }
}

/* ==========================================================
   MEET THE TEAM
   ========================================================== */

.akh-team-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 24px 60px;
}


/* ----------------------------------------------------------
   Intro
   ---------------------------------------------------------- */

.akh-team-intro {
  max-width: 780px;
  margin: 0 auto 52px;
  text-align: center;
}

.akh-team-eyebrow {
  margin-bottom: 10px;

  color: var(--akh-teal);

  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;

  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.akh-team-intro h2 {
  margin: 0 0 18px;

  color: var(--akh-navy);

  font-size: 38px;
  font-weight: 700;
  line-height: 1.15;
}

.akh-team-intro p {
  margin: 0;

  color: var(--akh-text);

  font-size: 18px;
  line-height: 1.65;
}


/* ----------------------------------------------------------
   Sections
   ---------------------------------------------------------- */

.akh-team-section {
  margin-top: 48px;
}

.akh-team-section > h3 {
  margin: 0 0 22px;
  padding-bottom: 12px;

  color: var(--akh-navy);

  border-bottom: 2px solid var(--akh-teal);

  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}


/* ----------------------------------------------------------
   Grids
   ---------------------------------------------------------- */

.akh-team-grid {
  display: grid;
  gap: 24px;
}

.akh-team-grid-executive {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.akh-team-grid-leadership {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.akh-team-grid-team {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}


/* ----------------------------------------------------------
   Cards
   ---------------------------------------------------------- */

.akh-team-card {
  overflow: hidden;

  background: #ffffff;

  border: 1px solid var(--akh-border);
  border-radius: 8px;

  box-shadow: 0 3px 12px rgba(1, 33, 105, 0.06);
}

.akh-team-card-content {
  padding: 18px 18px 20px;
}

.akh-team-card-content h4 {
  margin: 0 0 6px;

  color: var(--akh-navy);

  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.akh-team-card-content p {
  margin: 0;

  color: var(--akh-muted-text);

  font-size: 14px;
  line-height: 1.45;
}


/* Executive cards get slightly more presence */

.akh-team-card-executive .akh-team-card-content {
  padding: 20px 22px 22px;
}

.akh-team-card-executive .akh-team-card-content h4 {
  font-size: 21px;
}

.akh-team-card-executive .akh-team-card-content p {
  color: var(--akh-teal);

  font-size: 15px;
  font-weight: 600;
}


/* ----------------------------------------------------------
   Photos
   ---------------------------------------------------------- */

.akh-team-photo {
  position: relative;

  width: 100%;
  aspect-ratio: 4 / 3;

  overflow: hidden;

  background: var(--akh-soft-blue);
}

.akh-team-photo img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}


/* ----------------------------------------------------------
   Missing-photo placeholder
   ---------------------------------------------------------- */

.akh-team-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;

  background:
    linear-gradient(
      135deg,
      var(--akh-soft-blue) 0%,
      var(--akh-soft-teal) 100%
    );
}

.akh-team-placeholder::before {
  content: "";

  position: absolute;

  width: 92px;
  height: 92px;

  background: rgba(255, 255, 255, 0.72);

  border: 1px solid rgba(0, 160, 176, 0.22);
  border-radius: 50%;
}

.akh-team-placeholder span {
  position: relative;
  z-index: 1;

  color: var(--akh-navy);

  font-size: 26px;
  font-weight: 700;
  line-height: 1;

  letter-spacing: 0.04em;
}


/* ----------------------------------------------------------
   Tablet
   ---------------------------------------------------------- */

@media (max-width: 980px) {

  .akh-team-grid-team {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}


/* ----------------------------------------------------------
   Mobile
   ---------------------------------------------------------- */

@media (max-width: 768px) {

  .akh-team-page {
    padding: 18px 18px 42px;
  }

  .akh-team-intro {
    margin-bottom: 36px;
    text-align: left;
  }

  .akh-team-intro h2 {
    font-size: 30px;
  }

  .akh-team-intro p {
    font-size: 16px;
    line-height: 1.55;
  }

  .akh-team-section {
    margin-top: 38px;
  }

  .akh-team-section > h3 {
    margin-bottom: 18px;

    font-size: 21px;
  }

  .akh-team-grid-executive,
  .akh-team-grid-leadership,
  .akh-team-grid-team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .akh-team-card-content,
  .akh-team-card-executive .akh-team-card-content {
    padding: 14px 14px 16px;
  }

  .akh-team-card-content h4,
  .akh-team-card-executive .akh-team-card-content h4 {
    font-size: 16px;
  }

  .akh-team-card-content p,
  .akh-team-card-executive .akh-team-card-content p {
    font-size: 13px;
  }

}


/* ----------------------------------------------------------
   Small phones
   ---------------------------------------------------------- */

@media (max-width: 480px) {

  .akh-team-grid-executive,
  .akh-team-grid-leadership,
  .akh-team-grid-team {
    grid-template-columns: 1fr;
  }

  .akh-team-photo {
    aspect-ratio: 16 / 10;
  }

}

/* =========================================================
   MEET THE TEAM — PORTRAIT / EXECUTIVE REFINEMENT
   ========================================================= */

/* Standard team portraits */

.akh-team-page .akh-team-photo {
  aspect-ratio: 1 / 1;
}

.akh-team-page .akh-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}


/* ----------------------------------------------------------
   Executive Leadership
   Horizontal cards
   ---------------------------------------------------------- */

.akh-team-page .akh-team-card-executive {
  grid-template-columns: 205px minmax(0, 1fr);
  min-height: 205px;
}

.akh-team-page .akh-team-card-executive .akh-team-photo {
  width: 205px;
  height: 205px;
}

.akh-team-page .akh-team-card-executive .akh-team-photo {
  width: 180px;
  height: 180px;

  aspect-ratio: auto;
}

.akh-team-page .akh-team-card-executive .akh-team-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 24px 26px;
}

.akh-team-page .akh-team-card-executive .akh-team-card-content h4 {
  margin: 0 0 8px;

  font-size: 20px;
  line-height: 1.3;
}

.akh-team-page .akh-team-card-executive .akh-team-card-content p {
  margin: 0;

  color: var(--akh-teal);

  font-size: 15px;
  font-weight: 600;
}


/* ----------------------------------------------------------
   Tablet / Mobile
   ---------------------------------------------------------- */

@media (max-width: 768px) {

  .akh-team-page .akh-team-card-executive {
    display: block;
    min-height: 0;
  }

  .akh-team-page .akh-team-card-executive .akh-team-photo {
    width: 100%;
    height: auto;

    aspect-ratio: 1 / 1;
  }

  .akh-team-page .akh-team-card-executive .akh-team-card-content {
    display: block;

    padding: 16px;
  }

  .akh-team-page .akh-team-card-executive .akh-team-card-content h4 {
    font-size: 17px;
  }

}

/* ----------------------------------------------------------
   Meet the Team — hide native EthosCE page title
   Node 4512
   ---------------------------------------------------------- */

body.page-node-4512 #title-container {
  display: none !important;
}

/* =========================================================
   GLOBAL — HIDE BREADCRUMBS
   ========================================================= */

#crumbs {
  display: none !important;
}

/* AKH STAKEHOLDER REVISION — 2026-09-29
   Append AFTER the current approved Global CSS. */

:root {
  --akh-navy: #004990;
  --akh-soft-teal: #DDEFEA;
}

/* Education Hubs */
.akh-hubs-section { background: #3F9289 !important; }
.akh-hubs-section,
.akh-hubs-section h2,
.akh-hubs-section h3,
.akh-hubs-section p,
.akh-hubs-section a,
.akh-hubs-section a:link,
.akh-hubs-section a:visited { color: #ffffff; }

/* Highlighted Learning Opportunities */
.akh-featured-education .akh-featured-card {
  border: 2px solid #3F9289 !important;
}

/* Footer + Let's Work Together */
#footer,
.akh-jp-cta,
.akh-inner-cta {
  background: #004990 !important;
}

/* Meet the Team */
.akh-team-grid-executive {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.akh-team-grid-leadership {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
.akh-team-grid-team {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.akh-team-page .akh-team-card,
.akh-team-page .akh-team-card-executive {
  display: block !important;
  min-height: 0 !important;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--akh-border);
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0, 73, 144, 0.06);
}

.akh-team-page .akh-team-photo,
.akh-team-page .akh-team-card-executive .akh-team-photo {
  box-sizing: border-box;
  width: 100% !important;
  height: 180px !important;
  aspect-ratio: auto !important;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: #DDEFEA !important;
}

.akh-team-page .akh-team-photo img,
.akh-team-page .akh-team-card-executive .akh-team-photo img {
  display: block;
  width: auto !important;
  max-width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center bottom !important;
}

.akh-team-page .akh-team-placeholder {
  width: 100% !important;
  height: 180px !important;
  background: #DDEFEA !important;
}

.akh-team-page .akh-team-card-content,
.akh-team-page .akh-team-card-executive .akh-team-card-content {
  display: block !important;
  padding: 16px 18px 18px !important;
}

.akh-team-page .akh-team-card-content h4,
.akh-team-page .akh-team-card-executive .akh-team-card-content h4 {
  margin: 0 0 6px !important;
  color: var(--akh-navy) !important;
  font-size: 17px !important;
  font-weight: 700;
  line-height: 1.3;
}

.akh-team-page .akh-team-card-content p,
.akh-team-page .akh-team-card-executive .akh-team-card-content p {
  margin: 0 !important;
  color: var(--akh-muted-text) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .akh-team-grid-executive,
  .akh-team-grid-leadership,
  .akh-team-grid-team {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 520px) {
  .akh-team-grid-executive,
  .akh-team-grid-leadership,
  .akh-team-grid-team {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   STAKEHOLDER REVISION — CORRECTIONS
   ========================================================= */

/* Education Hubs — force requested stakeholder green */
body.front .akh-hubs-section,
body.page-homepage .akh-hubs-section {
  background: #3F9289 !important;
}

/* Meet the Team — center initials vertically and horizontally */
.akh-team-page .akh-team-placeholder {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.akh-team-page .akh-team-placeholder::before {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

.akh-team-page .akh-team-placeholder span {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  margin: 0 !important;
  line-height: 1 !important;
  text-align: center !important;
}

/* =========================================================
   HOMEPAGE HERO — INTERMEDIATE SCREEN WIDTH FIX
   Prevent clipping between desktop and mobile layouts
   ========================================================= */

@media (min-width: 769px) and (max-width: 1100px) {

  body.front .akh-home-hero .views_slideshow_cycle_main,
  body.front .akh-home-hero .views-slideshow-cycle-main-frame,
  body.front .akh-home-hero .views-slideshow-cycle-main-frame-row,
  body.front .akh-home-hero .clear-block {
    height: 325px !important;
    min-height: 325px !important;
  }

  body.front .akh-home-hero .left,
  body.front .akh-home-hero .right {
    height: 325px !important;
  }

  body.front .akh-home-hero .left {
    padding: 28px 38px !important;
  }

  body.front .akh-home-hero .right img {
    height: 325px !important;
    object-fit: cover !important;
  }

  body.front .akh-home-hero .slide-title {
    font-size: 34px !important;
    line-height: 1.08 !important;
  }
}

/* =========================================================
   SUBSCRIPTIONS — LONGER TIER DETAIL CONTENT
   ========================================================= */

/* Give all three cards equal additional height */
.akh-flip-card,
.akh-flip-card-inner,
.akh-flip-card-face {
  height: 520px !important;
  min-height: 520px !important;
}

/* Back face uses a vertical layout so actions remain at bottom */
.akh-flip-card-back {
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
}

/* Push Back / Choose Tier buttons to bottom */
.akh-flip-card-back .akh-tier-actions {
  margin-top: auto !important;
  padding-top: 18px;
  flex-shrink: 0;
}

/* =========================================================
   INQUIRY FORM — SMARTSHEET EMBED
   ========================================================= */

body.page-intakeform iframe[src*="0901983b49894e2fae618fd9547b8add"] {
  display: block !important;
  width: 100% !important;
  max-width: 820px !important;
  height: 1450px !important;
  min-height: 1450px !important;
  margin: 24px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

iframe[src="https://app.smartsheet.com/b/form/0901983b49894e2fae618fd9547b8add"] {
  display: block !important;
  width: 820px !important;
  max-width: 100% !important;
  height: 1500px !important;
  min-height: 1500px !important;
  margin: 24px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* ==========================================================
   AKH SUBSCRIPTION PRODUCT PAGES
   Tier 1: 4524 | Tier 2: 4525 | Tier 3: 4526
   ========================================================== */

/* ----------------------------------------------------------
   1. TIER-SPECIFIC COLORS
   ---------------------------------------------------------- */

.node-4524.node-product {
  --akh-tier-accent: #00A0B0;
}

.node-4525.node-product {
  --akh-tier-accent: #004990;
}

.node-4526.node-product {
  --akh-tier-accent: #CF5C78;
}


/* ----------------------------------------------------------
   2. HIDE UNNECESSARY DRUPAL PRODUCT FIELDS
   ---------------------------------------------------------- */

.node-product:is(.node-4524, .node-4525, .node-4526) .submitted,
.node-product:is(.node-4524, .node-4525, .node-4526) .product-info.model,
.node-product:is(.node-4524, .node-4525, .node-4526) .product-info.list-price,
.node-product:is(.node-4524, .node-4525, .node-4526) .product-info.cost,
.node-product:is(.node-4524, .node-4525, .node-4526) .product-info.sell-price {
  display: none !important;
}


/* ----------------------------------------------------------
   3. MAIN PRODUCT LAYOUT
   ---------------------------------------------------------- */

.node-product:is(.node-4524, .node-4525, .node-4526) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 330px;
  grid-template-rows: auto 1fr;
  column-gap: 48px;
  align-items: start;
  padding: 44px !important;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 40, 80, 0.07);
}


/* ----------------------------------------------------------
   4. MAIN DESCRIPTION
   ---------------------------------------------------------- */

.node-product:is(.node-4524, .node-4525, .node-4526) .field-name-body {
  grid-column: 1;
  grid-row: 1 / 3;
  min-width: 0;
}


/* ----------------------------------------------------------
   5. EYEBROW
   ---------------------------------------------------------- */

.node-product:is(.node-4524, .node-4525, .node-4526) .akh-product-eyebrow {
  color: var(--akh-tier-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.6px;
  margin-bottom: 16px;
}


/* ----------------------------------------------------------
   6. HEADINGS AND INTRO
   ---------------------------------------------------------- */

.node-product:is(.node-4524, .node-4525, .node-4526) .akh-product-detail h2 {
  color: #004990;
  font-size: 34px;
  line-height: 1.2;
  margin: 0 0 20px;
}

.node-product:is(.node-4524, .node-4525, .node-4526) .akh-product-intro {
  color: #43566a;
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 30px;
}


/* ----------------------------------------------------------
   7. BENEFITS PANEL
   ---------------------------------------------------------- */

.node-product:is(.node-4524, .node-4525, .node-4526) .akh-product-benefits {
  padding: 28px 30px;
  background: #f2f8fa;
  border-radius: 10px;
}

.node-product:is(.node-4524, .node-4525, .node-4526) .akh-product-benefits h3 {
  color: #004990;
  font-size: 22px;
  margin: 0 0 20px;
}

.node-product:is(.node-4524, .node-4525, .node-4526) .akh-product-benefits ul {
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

.node-product:is(.node-4524, .node-4525, .node-4526) .akh-product-benefits li {
  position: relative;
  padding-left: 30px !important;
  margin: 0 0 14px !important;
  list-style: none !important;
  list-style-type: none !important;
  color: #34475a;
  line-height: 1.5;
}

.node-product:is(.node-4524, .node-4525, .node-4526) .akh-product-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--akh-tier-accent);
  font-weight: 800;
}

.node-product:is(.node-4524, .node-4525, .node-4526) .akh-product-benefits li::marker {
  content: "" !important;
}


/* ----------------------------------------------------------
   8. RETURN LINK
   ---------------------------------------------------------- */

.node-product:is(.node-4524, .node-4525, .node-4526) .akh-product-footer {
  margin-top: 28px;
}

.node-product:is(.node-4524, .node-4525, .node-4526) .akh-product-footer a {
  color: #004990;
  font-weight: 700;
  text-decoration: none;
}

.node-product:is(.node-4524, .node-4525, .node-4526) .akh-product-footer a:hover {
  text-decoration: underline;
}


/* ----------------------------------------------------------
   9. PURCHASE CARD — PRICE
   ---------------------------------------------------------- */

.node-product:is(.node-4524, .node-4525, .node-4526) .product-info.display-price {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  display: block !important;
  padding: 30px 28px 16px;
  background: #f2f8fa;
  border: 1px solid #d9e7ed;
  border-radius: 10px 10px 0 0;
  text-align: center;
  margin: 0 !important;
}

.node-product:is(.node-4524, .node-4525, .node-4526) .product-info.display-price .uc-price-label {
  display: none;
}

.node-product:is(.node-4524, .node-4525, .node-4526) .product-info.display-price .uc-price {
  display: block;
  color: #004990;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
}


/* ----------------------------------------------------------
   10. PURCHASE CARD — ADD TO CART
   ---------------------------------------------------------- */

.node-product:is(.node-4524, .node-4525, .node-4526) .add-to-cart {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  padding: 0 28px 30px;
  background: #f2f8fa;
  border: 1px solid #d9e7ed;
  border-top: none;
  border-radius: 0 0 10px 10px;
  margin: 0 !important;
}

.node-product:is(.node-4524, .node-4525, .node-4526) .add-to-cart .form-actions {
  margin: 0 !important;
  padding: 0 !important;
}

.node-product:is(.node-4524, .node-4525, .node-4526) .node-add-to-cart {
  display: block;
  width: 100%;
  background: #004990 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 16px 22px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition: background 0.2s ease;
}

.node-product:is(.node-4524, .node-4525, .node-4526) .node-add-to-cart:hover {
  background: #00366d !important;
}


/* ----------------------------------------------------------
   11. RESPONSIVE
   ---------------------------------------------------------- */

@media (max-width: 800px) {

  .node-product:is(.node-4524, .node-4525, .node-4526) {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    padding: 24px !important;
    gap: 0;
  }

  .node-product:is(.node-4524, .node-4525, .node-4526) .field-name-body {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 28px;
  }

  .node-product:is(.node-4524, .node-4525, .node-4526) .product-info.display-price {
    grid-column: 1;
    grid-row: 2;
  }

  .node-product:is(.node-4524, .node-4525, .node-4526) .add-to-cart {
    grid-column: 1;
    grid-row: 3;
  }

  .node-product:is(.node-4524, .node-4525, .node-4526) .akh-product-detail h2 {
    font-size: 28px;
  }

  .node-product:is(.node-4524, .node-4525, .node-4526) .akh-product-benefits {
    padding: 24px;
  }
}

/* Subscription product pages — hide native page titles */
body.page-node-4524 #title-container,
body.page-node-4525 #title-container,
body.page-node-4526 #title-container,
body.node-type-product #title-container:has(+ #content-area .akh-product-detail) {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

#subscriptions {
  scroll-margin-top: 120px;
}

/* ============================================================
   AKH FAQ PAGE
   ============================================================ */

.akh-faq-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px 0 60px;
  font-family: inherit;
}

/* Introduction */

.akh-faq-intro {
  margin-bottom: 35px;
  padding: 24px 30px;
  background: #DDEFEA;
  border-left: 5px solid #3F9289;
  border-radius: 8px;
}

.akh-faq-intro p {
  margin: 0;
  color: #234A58;
  font-size: 17px;
  line-height: 1.7;
}

/* Category cards */

.akh-faq-category {
  margin-bottom: 28px;
  padding: 28px 32px 32px;
  background: #FFFFFF;
  border: 1px solid #E0E9ED;
  border-radius: 12px;
  box-shadow: 0 5px 22px rgba(0, 73, 144, 0.055);
}

.akh-faq-category h2 {
  margin: 0 0 20px !important;
  padding: 0 0 15px;
  color: #004990 !important;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.3;
  border-bottom: 3px solid #DDEFEA;
}

/* Accordion items */

.akh-faq-item {
  margin-bottom: 10px;
  border: 1px solid #DFE8EC;
  border-radius: 8px;
  background: #FAFCFD;
  overflow: hidden;
}

.akh-faq-item:last-child {
  margin-bottom: 0;
}

/* Question */

.akh-faq-item summary {
  position: relative;
  display: block;
  padding: 17px 55px 17px 20px;
  color: #004990;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
  transition: background 0.2s ease;
}

.akh-faq-item summary::-webkit-details-marker {
  display: none;
}

.akh-faq-item summary::marker {
  content: "";
}

.akh-faq-item summary:hover {
  background: #EFF7F6;
}

.akh-faq-item summary:focus-visible {
  outline: 3px solid #3F9289;
  outline-offset: -3px;
}

/* Plus / minus icon */

.akh-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #3F9289;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}

.akh-faq-item[open] summary::after {
  content: "−";
}

.akh-faq-item[open] summary {
  background: #EFF7F6;
  border-bottom: 1px solid #DFE8EC;
}

/* Answer */

.akh-faq-answer {
  padding: 20px 24px 22px;
  background: #FFFFFF;
  color: #34495E;
  font-size: 15px;
  line-height: 1.8;
}

.akh-faq-answer p {
  margin: 0 0 12px;
}

.akh-faq-answer p:last-child {
  margin-bottom: 0;
}

.akh-faq-answer ol,
.akh-faq-answer ul {
  margin: 0 0 12px 20px;
  padding-left: 18px;
}

.akh-faq-answer li {
  margin-bottom: 7px;
  padding-left: 3px;
}

.akh-faq-answer li:last-child {
  margin-bottom: 0;
}

.akh-faq-answer strong {
  color: #004990;
  font-weight: 600;
}

/* Responsive */

@media (max-width: 767px) {

  .akh-faq-page {
    padding: 0 0 35px;
  }

  .akh-faq-intro {
    padding: 20px;
    margin-bottom: 24px;
  }

  .akh-faq-intro p {
    font-size: 15px;
  }

  .akh-faq-category {
    padding: 20px 16px;
    margin-bottom: 20px;
  }

  .akh-faq-category h2 {
    font-size: 21px;
  }

  .akh-faq-item summary {
    padding: 15px 45px 15px 15px;
    font-size: 15px;
  }

  .akh-faq-item summary::after {
    right: 15px;
  }

  .akh-faq-answer {
    padding: 17px 16px;
    font-size: 14px;
  }
}

/* ============================================================
   AKH CONTACT US — TWO-COLUMN WEBFORM
   Scoped to Drupal Webform Node 2
   ============================================================ */

/* Main form layout */
body.page-node-2 #webform-client-form-2 > div {
  display: grid !important;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.4fr);
  column-gap: 38px;
  align-items: start;
}

/* Left column: Contact information */
body.page-node-2 #webform-client-form-2
.webform-component--get-in-touch {
  grid-column: 1;
  grid-row: 1 / span 6;
  padding: 34px 30px !important;
  background: #DDEFEA !important;
  border: 1px solid #C8E3DC;
  border-radius: 12px;
  min-height: 310px;
  box-sizing: border-box;
}

/* Contact heading */
body.page-node-2 #webform-client-form-2
.webform-component--get-in-touch h2 {
  color: #004990 !important;
  font-size: 27px !important;
  margin: 0 0 18px !important;
  font-weight: 700;
}

/* Contact text */
body.page-node-2 #webform-client-form-2
.webform-component--get-in-touch p,
body.page-node-2 #webform-client-form-2
.webform-component--get-in-touch span {
  color: #244A56 !important;
  font-size: 15px;
  line-height: 1.7;
}

/* Override old inline pink icons */
body.page-node-2 #webform-client-form-2
.webform-component--get-in-touch .fa {
  color: #3F9289 !important;
  font-size: 17px;
}

/* Right column: form fields */
body.page-node-2 #webform-client-form-2
.webform-component--first-name,
body.page-node-2 #webform-client-form-2
.webform-component--last-name,
body.page-node-2 #webform-client-form-2
.webform-component--email,
body.page-node-2 #webform-client-form-2
.webform-component--message-area {
  grid-column: 2;
  margin: 0 0 20px !important;
}

/* Field labels */
body.page-node-2 #webform-client-form-2
.webform-component label {
  color: #004990 !important;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 7px;
}

/* Inputs */
body.page-node-2 #webform-client-form-2
input.form-text,
body.page-node-2 #webform-client-form-2
textarea {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  padding: 12px 14px !important;
  background: #FFFFFF;
  border: 1px solid #CBD8DF !important;
  border-radius: 7px !important;
  box-sizing: border-box;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* Focus */
body.page-node-2 #webform-client-form-2
input.form-text:focus,
body.page-node-2 #webform-client-form-2
textarea:focus {
  border-color: #3F9289 !important;
  box-shadow: 0 0 0 3px rgba(63,146,137,0.15) !important;
  outline: none;
}

/* Form actions */
body.page-node-2 #webform-client-form-2
.form-actions {
  grid-column: 2;
  margin-top: 4px !important;
}

/* Submit button */
body.page-node-2 #webform-client-form-2
.form-actions input.form-submit {
  background: #004990 !important;
  color: #FFFFFF !important;
  border: 0 !important;
  border-radius: 7px !important;
  padding: 13px 34px !important;
  font-weight: 700;
  cursor: pointer;
}

body.page-node-2 #webform-client-form-2
.form-actions input.form-submit:hover {
  background: #00366D !important;
}

/* Mobile */
@media (max-width: 767px) {
  body.page-node-2 #webform-client-form-2 > div {
    display: flex !important;
    flex-direction: column;
    gap: 0;
  }

  body.page-node-2 #webform-client-form-2
  .webform-component--get-in-touch {
    width: 100%;
    min-height: 0;
    margin-bottom: 28px !important;
    padding: 26px 22px !important;
  }

  body.page-node-2 #webform-client-form-2
  .webform-component--first-name,
  body.page-node-2 #webform-client-form-2
  .webform-component--last-name,
  body.page-node-2 #webform-client-form-2
  .webform-component--email,
  body.page-node-2 #webform-client-form-2
  .webform-component--message-area,
  body.page-node-2 #webform-client-form-2
  .form-actions {
    width: 100%;
  }
}

/* Contact form heading */
body.page-node-2 #webform-client-form-2
.webform-component--first-name::before {
  content: "Send Us a Message";
  display: block;
  color: #004990;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 22px;
}

/* ============================================================
   AKH HOMEPAGE CAROUSEL — ALL THREE SLIDES
   Match Test image dimensions and cropping
   ============================================================ */

body.front .views-slideshow-cycle-main-frame-row-item .right img,
body.page-homepage .views-slideshow-cycle-main-frame-row-item .right img {
  display: block !important;
  width: 100% !important;
  height: 275px !important;
  max-width: 100% !important;
  object-fit: cover !important;
}

/* ============================================================
   AKH COURSE CATALOG — SEARCH TOOLBAR & COURSE CARDS
   Production /course-catalog-list
   ============================================================ */

/* Search and sorting toolbar */
body.page-course-catalog-list
.view-ethosce-catalog .views-exposed-form {
  background: #FFFFFF !important;
  border: 1px solid #E1E9ED !important;
  border-radius: 12px !important;
  padding: 22px 24px !important;
  margin-bottom: 24px !important;
  box-shadow: 0 4px 18px rgba(0,73,144,0.045);
}

/* Search input and sorting dropdown */
body.page-course-catalog-list
.view-ethosce-catalog .views-exposed-form input.form-text,
body.page-course-catalog-list
.view-ethosce-catalog .views-exposed-form select {
  border: 1px solid #CBD8DF !important;
  border-radius: 7px !important;
  background: #FFFFFF !important;
  min-height: 44px !important;
  padding: 10px 12px !important;
  box-sizing: border-box;
}

/* Input focus */
body.page-course-catalog-list
.view-ethosce-catalog .views-exposed-form input:focus,
body.page-course-catalog-list
.view-ethosce-catalog .views-exposed-form select:focus {
  border-color: #3F9289 !important;
  outline: 3px solid rgba(63,146,137,0.15);
  outline-offset: 0;
}

/* Apply button */
body.page-course-catalog-list
.view-ethosce-catalog .views-exposed-form input.form-submit {
  background: #004990 !important;
  border: 0 !important;
  border-radius: 7px !important;
  color: #FFFFFF !important;
  min-height: 44px !important;
  padding: 10px 25px !important;
  font-weight: 700;
  cursor: pointer;
}

body.page-course-catalog-list
.view-ethosce-catalog .views-exposed-form input.form-submit:hover {
  background: #00366D !important;
}

/* Individual course cards */
body.page-course-catalog-list
.view-ethosce-catalog .views-row {
  background: #FFFFFF !important;
  border: 1px solid #E1E9ED !important;
  border-radius: 12px !important;
  padding: 26px !important;
  margin-bottom: 22px !important;
  box-shadow: 0 4px 18px rgba(0,73,144,0.055);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

body.page-course-catalog-list
.view-ethosce-catalog .views-row:hover {
  border-color: #B9D9D4 !important;
  box-shadow: 0 8px 26px rgba(0,73,144,0.09);
}

/* Course titles */
body.page-course-catalog-list
.view-ethosce-catalog .catalog-title {
  margin: 0 0 14px !important;
  font-size: 20px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
}

body.page-course-catalog-list
.view-ethosce-catalog .catalog-title a {
  color: #004990 !important;
  text-decoration: none !important;
}

body.page-course-catalog-list
.view-ethosce-catalog .catalog-title a:hover {
  color: #3F9289 !important;
  text-decoration: underline !important;
}

/* Course content */
body.page-course-catalog-list
.view-ethosce-catalog .catalog-list-row {
  color: #34495E;
  line-height: 1.65;
}

/* Course thumbnails */
body.page-course-catalog-list
.view-ethosce-catalog .catalog-list-row img {
  max-width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

/* Mobile */
@media (max-width: 767px) {
  body.page-course-catalog-list
  .view-ethosce-catalog .views-exposed-form {
    padding: 18px !important;
  }

  body.page-course-catalog-list
  .view-ethosce-catalog .views-row {
    padding: 18px !important;
    margin-bottom: 16px !important;
  }

  body.page-course-catalog-list
  .view-ethosce-catalog .catalog-title {
    font-size: 18px !important;
  }
}

/* ============================================================
   AKH COURSE CATALOG — SEARCH TOOLBAR ALIGNMENT
   Corrected for actual Drupal Views HTML
   ============================================================ */

body.page-course-catalog-list
.view-ethosce-catalog .views-exposed-widgets {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 260px auto;
  align-items: end !important;
  gap: 16px !important;
  margin: 0 !important;
}

/* Remove legacy float positioning */
body.page-course-catalog-list
.view-ethosce-catalog .views-exposed-widget {
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Search */
body.page-course-catalog-list
.view-ethosce-catalog
.views-widget-filter-search_api_views_fulltext {
  grid-column: 1;
}

/* Sort */
body.page-course-catalog-list
.view-ethosce-catalog .views-widget-sort-by {
  grid-column: 2;
}

/* Hide empty sort-order widget */
body.page-course-catalog-list
.view-ethosce-catalog .views-widget-sort-order:empty {
  display: none !important;
}

/* Apply */
body.page-course-catalog-list
.view-ethosce-catalog .views-submit-button {
  grid-column: 3;
}

/* Full-width controls */
body.page-course-catalog-list
.view-ethosce-catalog
.views-widget-filter-search_api_views_fulltext input,
body.page-course-catalog-list
.view-ethosce-catalog .views-widget-sort-by select {
  width: 100% !important;
  max-width: 100% !important;
}

/* Prevent extra spacing around Apply */
body.page-course-catalog-list
.view-ethosce-catalog .views-submit-button input {
  margin: 0 !important;
}

/* Tablet */
@media (max-width: 900px) {
  body.page-course-catalog-list
  .view-ethosce-catalog .views-exposed-widgets {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 1fr);
  }

  body.page-course-catalog-list
  .view-ethosce-catalog .views-submit-button {
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 600px) {
  body.page-course-catalog-list
  .view-ethosce-catalog .views-exposed-widgets {
    grid-template-columns: minmax(0, 1fr);
  }

  body.page-course-catalog-list
  .view-ethosce-catalog
  .views-widget-filter-search_api_views_fulltext,
  body.page-course-catalog-list
  .view-ethosce-catalog .views-widget-sort-by,
  body.page-course-catalog-list
  .view-ethosce-catalog .views-submit-button {
    grid-column: 1;
  }
}

/* ============================================================
   AKH COURSE CATALOG — FINAL TOOLBAR ALIGNMENT
   ============================================================ */

/* Explicitly place all three controls in the first row */
body.page-course-catalog-list
.view-ethosce-catalog .views-exposed-widgets {
  grid-template-columns: minmax(0, 1fr) 260px 110px !important;
  grid-template-rows: auto !important;
  align-items: end !important;
}

/* Search */
body.page-course-catalog-list
.view-ethosce-catalog
.views-widget-filter-search_api_views_fulltext {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

/* Sort */
body.page-course-catalog-list
.view-ethosce-catalog .views-widget-sort-by {
  grid-column: 2 !important;
  grid-row: 1 !important;
}

/* Remove empty sort order widget */
body.page-course-catalog-list
.view-ethosce-catalog .views-widget-sort-order {
  display: none !important;
}

/* Apply button */
body.page-course-catalog-list
.view-ethosce-catalog .views-submit-button {
  grid-column: 3 !important;
  grid-row: 1 !important;
  align-self: end !important;
  justify-self: end !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-course-catalog-list
.view-ethosce-catalog .views-submit-button input {
  margin: 0 !important;
}

/* Responsive */
@media (max-width: 900px) {
  body.page-course-catalog-list
  .view-ethosce-catalog .views-exposed-widgets {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 1fr) !important;
  }

  body.page-course-catalog-list
  .view-ethosce-catalog .views-submit-button {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    justify-self: start !important;
  }
}

@media (max-width: 600px) {
  body.page-course-catalog-list
  .view-ethosce-catalog .views-exposed-widgets {
    grid-template-columns: 1fr !important;
  }

  body.page-course-catalog-list
  .view-ethosce-catalog
  .views-widget-filter-search_api_views_fulltext {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  body.page-course-catalog-list
  .view-ethosce-catalog .views-widget-sort-by {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  body.page-course-catalog-list
  .view-ethosce-catalog .views-submit-button {
    grid-column: 1 !important;
    grid-row: 3 !important;
  }
}

/* ============================================================
   AKH COURSE CATALOG — REFINE BY SIDEBAR
   ============================================================ */

/* Sidebar container */
body.page-course-catalog-list .region-sidebar-first {
  background: #FFFFFF !important;
  border: 1px solid #E1E9ED !important;
  border-radius: 12px !important;
  padding: 24px 20px !important;
  box-shadow: 0 4px 18px rgba(0,73,144,0.055);
  box-sizing: border-box;
}

/* Remove existing block backgrounds and spacing */
body.page-course-catalog-list
.region-sidebar-first .block {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 0 24px !important;
}

/* Refine by heading */
body.page-course-catalog-list
.region-sidebar-first
.current-search-item-custom-text {
  color: #004990 !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.3;
  padding-bottom: 15px;
  margin-bottom: 20px;
  border-bottom: 3px solid #DDEFEA;
}

/* Filter section headings */
body.page-course-catalog-list
.region-sidebar-first .block-facetapi h3.block-title {
  color: #004990 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  line-height: 1.4;
}

/* Divider between filter groups */
body.page-course-catalog-list
.region-sidebar-first .block-facetapi {
  padding-bottom: 22px !important;
  border-bottom: 1px solid #E3EBEF !important;
}

body.page-course-catalog-list
.region-sidebar-first .block-facetapi:last-child {
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* Reset facet lists */
body.page-course-catalog-list
.region-sidebar-first .block-facetapi ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Individual filter options */
body.page-course-catalog-list
.region-sidebar-first .block-facetapi li {
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
  padding: 5px 6px !important;
  margin: 0 !important;
  border-radius: 5px;
  line-height: 1.45;
  transition: background 0.15s ease;
}

body.page-course-catalog-list
.region-sidebar-first .block-facetapi li:hover {
  background: #EFF7F6;
}

/* Checkboxes */
body.page-course-catalog-list
.region-sidebar-first input.facetapi-checkbox {
  flex: 0 0 auto;
  margin: 4px 0 0 !important;
  accent-color: #3F9289;
}

/* Filter links */
body.page-course-catalog-list
.region-sidebar-first .block-facetapi li a {
  color: #004990 !important;
  font-size: 14px !important;
  line-height: 1.5;
  text-decoration: none !important;
  overflow-wrap: anywhere;
}

body.page-course-catalog-list
.region-sidebar-first .block-facetapi li a:hover {
  color: #3F9289 !important;
  text-decoration: underline !important;
}

/* Active filters */
body.page-course-catalog-list
.region-sidebar-first .block-facetapi li a.facetapi-active {
  color: #236E67 !important;
  font-weight: 700 !important;
}

/* Filter links without checkboxes, such as Sell Price */
body.page-course-catalog-list
.region-sidebar-first .block-facetapi li:not(:has(input.facetapi-checkbox)) {
  padding-left: 6px !important;
}

/* Mobile */
@media (max-width: 767px) {
  body.page-course-catalog-list .region-sidebar-first {
    padding: 20px 16px !important;
  }

  body.page-course-catalog-list
  .region-sidebar-first .current-search-item-custom-text {
    font-size: 20px !important;
  }
}