/* =========================================================
   ARRIVO EDU – Inner pages (same system as the home page)
   Scoped to body.ax-inner-page. Re-skins the old markup that is
   stored inside WordPress pages, so no page content needs editing.
   ========================================================= */
body.ax-inner-page {
  background: #fff
}

body.ax-inner-page .container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: var(--ax-pad)
}

/* ---------- Page hero ---------- */
.ax-phero {
  position: relative;
  margin-top: calc(var(--ax-head-h) * -1);
  padding: calc(var(--ax-head-h) + clamp(44px, 6vw, 84px)) 0 clamp(44px, 6vw, 80px);
  overflow: hidden;
  background: linear-gradient(135deg, #eafaf6 0%, #f8fcfc 40%, #fff9ee 100%)
}

.ax-phero .ax-hero__bg i {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: .75
}

.ax-phero .ax-hero__bg i:nth-child(1) {
  width: 380px;
  height: 380px;
  left: -120px;
  top: -100px;
  background: radial-gradient(circle, #b9ebe0, transparent 68%)
}

.ax-phero .ax-hero__bg i:nth-child(2) {
  width: 420px;
  height: 420px;
  right: -110px;
  top: 10%;
  background: radial-gradient(circle, #e2e3fb, transparent 68%)
}

.ax-phero .ax-hero__bg i:nth-child(3) {
  width: 360px;
  height: 360px;
  left: 45%;
  bottom: -220px;
  background: radial-gradient(circle, #fbe5b8, transparent 68%)
}

.ax-phero__in {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px
}

.ax-phero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--ax-ink);
  max-width: 880px
}

.ax-phero__lead {
  max-width: 600px;
  line-height: 1.8;
  font-size: 1rem;
  color: var(--ax-text)
}

.ax-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--ax-mute)
}

.ax-crumbs a {
  color: var(--ax-navy);
  text-decoration: none
}

.ax-crumbs a:hover {
  color: var(--ax-gold-d)
}

.ax-crumbs [aria-current] {
  color: var(--ax-mute);
  max-width: 46ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

/* ---------- Generic content (page.php, policies, SEO landing pages) ---------- */
body.ax-inner-page .page-content {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--ax-pad);
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ax-text)
}

body.ax-inner-page .page-content h2,
body.ax-inner-page .page-content h3,
body.ax-inner-page .page-content h4 {
  color: var(--ax-ink);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  padding: 1.6em 0 .5em
}

body.ax-inner-page .page-content h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem)
}

body.ax-inner-page .page-content h3 {
  font-size: 1.25rem
}

body.ax-inner-page .page-content p {
  padding-bottom: 1em;
  text-align: left !important
}

body.ax-inner-page .page-content a {
  color: var(--ax-navy);
  font-weight: 600;
  text-decoration-color: var(--ax-gold);
  text-underline-offset: 3px
}

body.ax-inner-page .page-content ul,
body.ax-inner-page .page-content ol {
  padding: 0 0 1em 1.3em
}

body.ax-inner-page .page-content li {
  padding-bottom: .4em
}

body.ax-inner-page .page-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--ax-r-md)
}

body.ax-inner-page .page-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  display: block;
  overflow-x: auto
}

body.ax-inner-page .page-content th,
body.ax-inner-page .page-content td {
  padding: 12px 14px;
  border: 1px solid var(--ax-line);
  text-align: left
}

body.ax-inner-page .page-content th {
  background: var(--ax-mint);
  color: var(--ax-ink)
}

/* pages that bring their own full-width sections should not be squeezed into the 860px column */
body.ax-inner-page .page-content:has(> section) {
  max-width: none;
  padding: 0
}

/* ---------- Old section markup -> new look ---------- */
body.ax-inner-page :is(.about-section, .strength-section, .our-faculty-section, .info-section, .partner-section, .value-section, .new-page-section) {
  background: #fff
}

body.ax-inner-page :is(.strength-section, .our-faculty-section, .value-section) {
  background: var(--ax-mint)
}

body.ax-inner-page :is(.about-grid, .info-grid) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 72px);
  align-items: center
}

body.ax-inner-page :is(.about-grid, .info-grid)>div {
  min-width: 0
}

body.ax-inner-page :is(.about-image, .info-image, .value-image img) {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--ax-r-lg);
  box-shadow: var(--ax-shadow)
}

body.ax-inner-page .section-header {
  padding-bottom: 18px
}

body.ax-inner-page .section-title,
body.ax-inner-page :is(.about-section, .strength-section, .our-faculty-section, .info-section, .partner-section, .value-section) :is(h1, h2).section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.12;
  color: var(--ax-ink);
  text-align: left;
  padding: 0
}

body.ax-inner-page .about-text {
  font-size: .98rem;
  line-height: 1.9;
  color: var(--ax-text);
  text-align: left !important;
  white-space: pre-line
}

body.ax-inner-page .about-text ul,
body.ax-inner-page :is(.our-faculty-section, .value-content) ul {
  list-style: none;
  padding: 0;
  white-space: normal;
  display: flex;
  flex-direction: column;
  gap: 12px
}

body.ax-inner-page .about-text li,
body.ax-inner-page :is(.our-faculty-section, .value-content) li {
  position: relative;
  padding: 14px 18px 14px 46px;
  background: #fff;
  border: 1px solid var(--ax-line);
  border-radius: 16px;
  line-height: 1.7;
  font-size: .92rem;
  box-shadow: var(--ax-shadow-s)
}

body.ax-inner-page .about-text li::before,
body.ax-inner-page :is(.our-faculty-section, .value-content) li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 21px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ax-gold)
}

body.ax-inner-page .partner-header {
  padding-bottom: 36px;
  text-align: center
}

body.ax-inner-page .partner-header .section-title {
  text-align: center
}

/* ---------- Value / feature cards (Core Values, Why Choose Us, Why Collaborate) ---------- */
body.ax-inner-page .expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px
}

body.ax-inner-page .expertise-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--ax-line);
  border-top: 5px solid var(--ax-gold);
  border-radius: var(--ax-r-md);
  box-shadow: var(--ax-shadow-s);
  transition: transform .25s, box-shadow .25s
}

body.ax-inner-page .expertise-card:nth-child(4n+1) {
  border-top-color: #14b8a6
}

body.ax-inner-page .expertise-card:nth-child(4n+2) {
  border-top-color: #6b7be0
}

body.ax-inner-page .expertise-card:nth-child(4n+3) {
  border-top-color: #f08a6c
}

body.ax-inner-page .expertise-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ax-shadow)
}

body.ax-inner-page .card-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--ax-mint);
  font-size: 1.6rem;
  line-height: 1;
      color: #cd9a32;
}

body.ax-inner-page .card-title-about {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ax-ink);
  line-height: 1.3;
  text-align: left
}

body.ax-inner-page .card-description-about {
  font-size: .88rem;
  line-height: 1.75;
  color: var(--ax-text);
  text-align: left
}

body.ax-inner-page .value-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-bottom: clamp(36px, 5vw, 64px)
}

body.ax-inner-page .value-row:nth-of-type(even) .value-image {
  order: 2
}

body.ax-inner-page .value-content {
  display: flex;
  flex-direction: column;
  gap: 14px
}

body.ax-inner-page .value-content h2 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ax-ink);
  text-align: left
}

/* ---------- Core team (clean markup, no dependency on old team CSS) ---------- */
.ax-team {
  display: grid;
  gap: 24px;
  align-items: stretch
}

.ax-team--founders {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-bottom: 24px
}

.ax-team--leads {
  display: flex;
  flex-wrap: wrap;
  justify-content: center
}

.ax-team--leads>.ax-member {
  flex: 0 1 calc((100% - 48px)/3)
}

.ax-member {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-md);
  box-shadow: var(--ax-shadow-s);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s
}

.ax-member:hover {
  transform: translateY(-4px);
  box-shadow: var(--ax-shadow)
}

.ax-member__photo {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 260px;
  background: linear-gradient(160deg, #d5f3ee, #fbefcf);
  border-bottom: 5px solid var(--ax-gold)
}

.ax-member--lead .ax-member__photo {
  height: 320px
}

.ax-member__photo img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
  display: block
}

.ax-member__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 24px 26px 26px;
  flex: 1
}

.ax-member h2 {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ax-ink);
  letter-spacing: -.01em;
  padding: 0;
  text-align: left
}

.ax-member__role {
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ax-gold-d);
  padding-bottom: 6px;
  text-align: left
}

.ax-member__bio {
  font-size: .88rem;
  line-height: 1.8;
  color: var(--ax-text);
  text-align: left;
  overflow-wrap: anywhere
}

.ax-member__in {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  font-size: .78rem;
  font-weight: 700;
  color: #0a66c2;
  text-decoration: none
}

.ax-member__in .fa {
  font-size: 1.5rem
}

.ax-member__in:hover {
  color: var(--ax-navy)
}

/* ---------- Faculty / list sections ---------- */
body.ax-inner-page .our-faculty-section {
  padding: clamp(48px, 7vw, 96px) 0 !important;
  background: var(--ax-mint) !important
}

body.ax-inner-page .our-faculty-section .about-grid {
  display: block;
  max-width: 900px;
  margin: 0 auto
}

body.ax-inner-page .our-faculty-section ul {
  margin: 0;
  padding: 0 !important
}

body.ax-inner-page .our-faculty-section li::marker {
  content: none
}

body.ax-inner-page .our-faculty-section li {
  list-style: none
}

/* ---------- Responsive ---------- */
@media (max-width:1024px) {
  body.ax-inner-page .expertise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .ax-team--leads>.ax-member {
    flex-basis: calc((100% - 24px)/2)
  }
}

@media (max-width:768px) {
  body.ax-inner-page :is(.about-grid, .info-grid, .value-row, .team-row) {
    grid-template-columns: minmax(0, 1fr)
  }

  body.ax-inner-page .value-row:nth-of-type(even) .value-image {
    order: 0
  }

  body.ax-inner-page .expertise-grid {
    grid-template-columns: minmax(0, 1fr)
  }

  .ax-team--founders {
    grid-template-columns: minmax(0, 1fr)
  }

  .ax-team--leads>.ax-member {
    flex-basis: 100%
  }

  .ax-member__photo,
  .ax-member--lead .ax-member__photo {
    height: 240px
  }
}

@media (prefers-reduced-motion:reduce) {

  body.ax-inner-page .expertise-card,
  .ax-member {
    transition: none
  }
}

/* ---------- 404 ---------- */
.ax-404 {
  margin-top: calc(var(--ax-head-h) * -1);
  padding: calc(var(--ax-head-h) + clamp(60px, 10vw, 140px)) 0 clamp(60px, 10vw, 140px);
  background: linear-gradient(135deg, #eafaf6, #f8fcfc 40%, #fff9ee)
}

.ax-404__in {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px
}

.ax-404__code {
  font-size: clamp(4rem, 14vw, 9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--ax-gold)
}

.ax-404 h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--ax-ink)
}

.ax-404__in>p:not(.ax-404__code) {
  max-width: 480px;
  line-height: 1.8
}

/* tighten heading-to-content gaps coming from old rules */
body.ax-inner-page .section-header {
  margin: 0 !important;
  padding-bottom: 16px
}

body.ax-inner-page .section-title {
  margin: 0 !important
}

body.ax-inner-page .about-text:empty {
  display: none
}

body.ax-inner-page :is(.about-section, .strength-section, .our-faculty-section, .info-section) p {
  margin: 0 !important
}

body.ax-inner-page .expertise-card {
  text-align: left;
  height: auto !important;
  min-height: 0 !important
}

body.ax-inner-page .expertise-card :is(.card-icon, .card-title-about, .card-description-about) {
  margin: 0 !important
}

body.ax-inner-page .expertise-card .card-icon {
  padding: 0 !important;
  width: 56px;
  height: 56px
}

body.ax-inner-page .expertise-card .card-title-about {
  padding: 0 !important
}

body.ax-inner-page .partner-header {
  padding-bottom: 28px
}

/* =========================================================
   Single university
   ========================================================= */
.ax-uhero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center
}

.ax-uhero__media {
  border-radius: var(--ax-r-lg);
  overflow: hidden;
  box-shadow: var(--ax-shadow);
  aspect-ratio: 4/3;
  background: var(--ax-mint)
}

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

.ax-uhero .ax-hero__btns {
  padding-top: 6px
}

body.ax-inner-page .single-university-page {
  padding: clamp(32px, 5vw, 64px) 0;
  background: #fff
}

body.ax-inner-page .university-container {
  max-width: 1240px
}

body.ax-inner-page .university-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(24px, 3vw, 40px);
  margin: 0;
  align-items: start
}

body.ax-inner-page .university-main {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0
}

body.ax-inner-page .university-main .section {
  background: #fff;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-md);
  box-shadow: var(--ax-shadow-s);
  padding: clamp(22px, 3vw, 36px)
}

body.ax-inner-page .university-main .section>h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ax-ink);
  padding: 0 0 18px;
  margin: 0;
  border: 0;
  text-align: left
}

body.ax-inner-page .university-main .section p {
  font-size: .95rem;
  line-height: 1.85;
  color: var(--ax-text);
  text-align: left;
  padding-bottom: 1em;
  margin: 0
}

body.ax-inner-page .university-main .section ul {
  padding-left: 1.2em
}

body.ax-inner-page .campus-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px
}

body.ax-inner-page .campus-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 14px
}

/* courses */
body.ax-inner-page .courses-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px
}

body.ax-inner-page .courses-grid>a.title-universities-main {
  display: block;
  text-decoration: none;
  min-width: 0
}

body.ax-inner-page .courses-grid>a.title-universities-main:not(:has(.course-card:not([style*="none"]))) {
  display: none
}

body.ax-inner-page .course-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-md);
  overflow: hidden;
  box-shadow: var(--ax-shadow-s);
  transition: transform .25s, box-shadow .25s;
  padding: 0 !important
}

body.ax-inner-page .course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ax-shadow)
}

body.ax-inner-page .course-card .course-featured-image {
  display: block;
  width: 100% !important;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important
}

body.ax-inner-page .course-card h3 {
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ax-ink);
  padding: 16px 18px 20px;
  margin: 0;
  text-align: left
}

body.ax-inner-page #loadMoreCourses {
  display: inline-flex;
  margin-top: 24px !important;
  padding: 15px 28px;
  border: 0;
  border-radius: 14px;
  background: var(--ax-navy);
  color: #fff;
  font: 700 .85rem 'Montserrat', sans-serif;
  cursor: pointer
}

body.ax-inner-page #loadMoreCourses:hover {
  background: var(--ax-ink)
}

/* testimonials */
body.ax-inner-page .testimonial-content {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap
}

body.ax-inner-page .testimonial-image img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover
}

/* sidebar */
body.ax-inner-page .university-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: calc(var(--ax-head-h) + 24px)
}

body.ax-inner-page .sidebar-card {
  background: #fff;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-md);
  box-shadow: var(--ax-shadow-s);
  padding: 26px !important
}

body.ax-inner-page .sidebar-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ax-ink);
  padding: 0 0 16px;
  margin: 0;
  border: 0
}

body.ax-inner-page .sidebar-card p {
  height: auto !important;
  font-size: .88rem;
  line-height: 1.7;
  color: var(--ax-text) !important;
  padding-bottom: 16px !important
}

body.ax-inner-page .contact-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px
}

body.ax-inner-page .contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 0;
  border: 0
}

body.ax-inner-page .contact-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--ax-mint)
}

body.ax-inner-page .contact-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--ax-gold-d)
}

body.ax-inner-page .contact-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  font-size: .86rem;
  line-height: 1.55;
  color: var(--ax-ink);
  overflow-wrap: anywhere
}

body.ax-inner-page .contact-label {
  font-size: .68rem;
  font-weight: 700;
  color: var(--ax-mute)
}

body.ax-inner-page .contact-text a {
  color: var(--ax-navy);
  font-weight: 600;
  text-decoration: none
}

body.ax-inner-page .sidebar-card .cta-button-1 {
  display: inline-flex;
  padding: 14px 24px;
  border-radius: 14px;
  background: var(--ax-gold);
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  text-decoration: none
}

@media (max-width:1024px) {
  body.ax-inner-page .university-layout {
    grid-template-columns: minmax(0, 1fr)
  }

  body.ax-inner-page .university-sidebar {
    position: static
  }
}

@media (max-width:768px) {
  .ax-uhero__grid {
    grid-template-columns: minmax(0, 1fr)
  }

  .ax-uhero__media {
    order: -1;
    aspect-ratio: 16/10
  }

  body.ax-inner-page .courses-grid {
    grid-template-columns: minmax(0, 1fr)
  }
}

/* =========================================================
   Archives: university + program cards (same cards as home)
   ========================================================= */
.ax-ugrid,
.ax-cgrid {
  align-items: stretch
}

.ax-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding-top: 44px
}

.ax-pager .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--ax-line);
  background: #fff;
  color: var(--ax-ink);
  font-weight: 700;
  font-size: .8rem;
  text-decoration: none
}

.ax-pager .page-numbers.current,
.ax-pager a.page-numbers:hover {
  background: var(--ax-navy);
  border-color: var(--ax-navy);
  color: #fff
}

.ax-pager .dots {
  border: 0;
  background: none
}

.ax-results {
  padding: 0 0 22px;
  text-align: left
}

/* course category: tab bar as pills + clean page background */
body.ax-inner-page .cat-archive-page {
  background: #fff;
  padding: clamp(32px, 5vw, 56px) 0 clamp(56px, 7vw, 90px)
}

body.ax-inner-page .cat-archive-inner {
  max-width: 1240px;
  padding-inline: var(--ax-pad)
}

body.ax-inner-page .course-tab-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 8px;
  background: var(--ax-mint);
  border: 1px solid var(--ax-line);
  border-radius: 28px
}

body.ax-inner-page .course-tab {
  margin: 0;
  padding: 13px 22px;
  border: 0;
  border-radius: 99px;
  background: transparent;
  color: var(--ax-text);
  font: 700 .78rem/1 'Montserrat', sans-serif;
  white-space: normal
}

body.ax-inner-page .course-tab:hover {
  color: var(--ax-navy)
}

body.ax-inner-page .course-tab.active {
  background: var(--ax-navy);
  color: #fff
}

body.ax-inner-page .course-section {
  margin-top: 32px
}

@media (max-width:768px) {
  body.ax-inner-page .course-tab-bar {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    border-radius: 20px
  }

  body.ax-inner-page .course-tab {
    white-space: nowrap;
    flex: none
  }
}

/* =========================================================
   Single course (also reusable for other detail pages)
   ========================================================= */
body.ax-inner-page .single-course-page {
  padding: clamp(32px, 5vw, 64px) 0;
  background: #fff
}

.ax-by--hero {
  font-size: .84rem;
  color: var(--ax-ink)
}

.ax-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(24px, 3vw, 40px);
  align-items: start
}

.ax-detail__main {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0
}

.ax-panel {
  background: #fff;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-md);
  box-shadow: var(--ax-shadow-s);
  padding: clamp(22px, 3vw, 36px)
}

.ax-panel>h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ax-ink);
  padding: 0 0 18px
}

.ax-prose {
  font-size: .95rem;
  line-height: 1.85;
  color: var(--ax-text);
  overflow-wrap: anywhere
}

.ax-prose :is(h2, h3, h4) {
  color: var(--ax-ink);
  font-weight: 800;
  padding: 1.2em 0 .4em;
  line-height: 1.25
}

.ax-prose p {
  padding-bottom: 1em;
  text-align: left !important
}

.ax-prose ul,
.ax-prose ol {
  padding: 0 0 1em 1.3em
}

.ax-prose li {
  padding-bottom: .35em
}

.ax-prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--ax-r-sm)
}

.ax-prose table {
  display: block;
  overflow-x: auto;
  max-width: 100%
}

.ax-ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px
}

.ax-ticks li {
  position: relative;
  padding: 14px 16px 14px 46px;
  background: var(--ax-mint);
  border-radius: 14px;
  font-size: .88rem;
  line-height: 1.6;
  color: var(--ax-ink);
  font-weight: 500
}

.ax-ticks li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 16px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ax-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat
}

.ax-chip--lg {
  font-size: .8rem;
  padding: 10px 16px
}

.ax-detail__side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: calc(var(--ax-head-h) + 24px)
}

.ax-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-md);
  box-shadow: var(--ax-shadow-s)
}

.ax-side:first-child {
  background: linear-gradient(135deg, #174f64, #0f3a4d);
  border: 0;
  color: #fff
}

.ax-side:first-child h3 {
  color: #fff
}

.ax-side:first-child p {
  color: rgba(255, 255, 255, .8)
}

.ax-side h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ax-ink);
  padding: 0
}

.ax-side p {
  font-size: .86rem;
  line-height: 1.7;
  padding-bottom: 6px
}

@media (max-width:1024px) {
  .ax-detail {
    grid-template-columns: minmax(0, 1fr)
  }

  .ax-detail__side {
    position: static
  }
}

@media (max-width:640px) {
  .ax-ticks {
    grid-template-columns: minmax(0, 1fr)
  }

  .ax-hero__btns .ax-btn {
    flex: 1 1 100%
  }
}

.ax-uhero h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.15;
  overflow-wrap: anywhere
}

/* =========================================================
   Single course – responsive content (v2.5)
   Fixes: FAQ icons escaping the panel, unstyled tables,
   flat heading hierarchy, cramped mobile spacing.
   ========================================================= */
.single-course-page {
  padding: clamp(24px, 4vw, 56px) 0 clamp(40px, 6vw, 80px);
  background: #f5f9fa
}

.single-course-page .course-container {
  padding-inline: var(--ax-pad)
}

.single-course-page .ax-detail__main,
.single-course-page .ax-panel {
  min-width: 0
}

/* Heading hierarchy inside the program content */
.ax-prose {
  font-size: clamp(.92rem, 1.4vw, 1rem);
  line-height: 1.8
}

.ax-prose h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  padding-top: 1.6em;
  border-top: 1px solid var(--ax-line);
  margin-top: 1em
}

.ax-prose>h2:first-child,
.ax-prose>h3:first-child {
  border-top: 0;
  margin-top: 0;
  padding-top: 0
}

.ax-prose h3 {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--ax-navy)
}

.ax-prose h4 {
  font-size: 1rem;
  color: var(--ax-gold-d);
  text-transform: none
}

.ax-prose strong {
  color: var(--ax-ink)
}

.ax-prose ul {
  list-style: none;
  padding: 0 0 1em
}

.ax-prose ul li {
  position: relative;
  padding-left: 26px
}

.ax-prose ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ax-gold)
}

.ax-prose ol {
  padding-left: 1.4em
}

/* Tables: styled, scroll sideways instead of breaking the page */
.ax-prose table {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-collapse: separate;
  border-spacing: 0;
  margin: .4em 0 1.4em;
  border: 1px solid var(--ax-line);
  border-radius: 14px;
  font-size: .9rem
}

.ax-prose table tbody,
.ax-prose table thead {
  display: table;
  width: 100%;
  min-width: 480px
}

.ax-prose table td,
.ax-prose table th {
  padding: 13px 16px;
  border: 0;
  border-bottom: 1px solid var(--ax-line);
  text-align: left;
  vertical-align: top;
  line-height: 1.5
}

.ax-prose table tr:last-child td {
  border-bottom: 0
}

.ax-prose table thead {
  background: var(--ax-navy);
  color: #fff;
  font-weight: 700
}

.ax-prose table tr:not(:first-child) td:first-child {
  width: 34%;
  font-weight: 700;
  color: var(--ax-ink);
  background: var(--ax-mint)
}

.ax-prose table tr:not(:first-child):nth-child(even) td:not(:first-child) {
  background: #fafcfd
}

/* FAQ accordion (icon now stays inside the row) */
.ax-prose .faq-container {
  max-width: none;
  margin: 12px 0 0
}

.ax-prose .faq-item-uni,
.ax-prose .faq-item {
  border: 1px solid var(--ax-line);
  border-radius: 14px;
  margin: 0 0 10px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow .2s, border-color .2s
}

.ax-prose .faq-item-uni.active,
.ax-prose .faq-item.active {
  border-color: var(--ax-gold);
  box-shadow: var(--ax-shadow-s)
}

.ax-prose .faq-question {
  position: relative;
  display: block;
  margin: 0;
  padding: 16px 56px 16px 18px;
  background: #fff;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ax-ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent
}

.ax-prose .faq-question:hover {
  background: var(--ax-mint)
}

.ax-prose .faq-question::after {
  content: "+";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ax-mint);
  color: var(--ax-navy);
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 700
}

.ax-prose .faq-item-uni.active .faq-question::after,
.ax-prose .faq-item.active .faq-question::after {
  content: "\2212";
  background: var(--ax-gold);
  color: #fff
}

.ax-prose .faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  transition: max-height .35s ease;
  background: #fff
}

.ax-prose .faq-answer p {
  padding: 4px 0 14px !important;
  font-size: .92rem
}

.ax-prose .faq-answer p:first-child {
  padding-top: 14px !important;
  border-top: 1px solid var(--ax-line)
}

/* Universities grid + sidebar polish */
.single-course-page .ax-ures__grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr))
}

.ax-side .ax-btn {
  width: 100%
}

/* Sticky mobile enquire bar */
.ax-mbar {
  display: none
}

@media (max-width:1024px) {
  .ax-detail__side {
    flex-direction: row;
    flex-wrap: wrap
  }

  .ax-detail__side .ax-side {
    flex: 1 1 280px
  }

  .ax-uhero__media {
    max-height: 340px
  }
}

@media (max-width:768px) {
  .single-course-page {
    padding-top: 20px
  }

  .ax-panel {
    border-radius: 16px;
    padding: 20px 16px
  }

  .ax-detail__main {
    gap: 18px
  }

  .ax-prose table td,
  .ax-prose table th {
    padding: 11px 12px;
    font-size: .84rem
  }

  .ax-prose table tr:not(:first-child) td:first-child {
    width: 40%
  }

  .ax-prose .faq-question {
    padding: 14px 52px 14px 14px;
    font-size: .9rem
  }

  .ax-detail__side .ax-side {
    flex-basis: 100%
  }

  .ax-uhero .ax-hero__btns {
    width: 100%
  }

  .ax-uhero .ax-hero__btns .ax-btn {
    flex: 1 1 100%;
    padding: 15px 18px
  }

  .ax-crumbs {
    flex-wrap: wrap;
    row-gap: 4px;
    font-size: .74rem
  }

  .ax-crumbs [aria-current] {
    white-space: normal;
    overflow-wrap: anywhere
  }

  body.single-course {
    padding-bottom: 76px
  }

  .ax-mbar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--ax-line);
    box-shadow: 0 -8px 24px -12px rgba(23, 79, 100, .3)
  }

  .ax-mbar .ax-btn {
    flex: 1;
    padding: 14px 12px
  }
}

/* =========================================================
   Blog / news-event single, category archives, contact (v2.6)
   ========================================================= */
.ax-art-hero h1 {
  font-size: clamp(1.7rem, 3.6vw, 2.8rem);
  line-height: 1.18;
  max-width: 900px;
  overflow-wrap: anywhere
}

.ax-art-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--ax-text)
}

.ax-art-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px
}

.ax-art-meta .ax-i {
  color: var(--ax-gold)
}

.ax-art-av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover
}

.ax-art-page {
  padding: clamp(24px, 4vw, 56px) 0 clamp(36px, 5vw, 64px);
  background: #f5f9fa
}

.ax-art-grid {
  align-items: start
}

.ax-art {
  padding: clamp(16px, 2.4vw, 28px)
}

.ax-art__cover {
  margin: 0 0 clamp(18px, 3vw, 30px);
  border-radius: var(--ax-r-md);
  overflow: hidden;
  background: var(--ax-mint);
  aspect-ratio: 16/9
}

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

.ax-art__body {
  font-size: clamp(.96rem, 1.5vw, 1.05rem);
  line-height: 1.9;
  padding-inline: clamp(0px, 1.4vw, 12px)
}

.ax-art__body iframe,
.ax-art__body video {
  max-width: 100%
}

.ax-art__body blockquote {
  margin: 1.2em 0;
  padding: 16px 20px;
  border-left: 4px solid var(--ax-gold);
  background: var(--ax-cream);
  border-radius: 0 14px 14px 0;
  font-style: italic
}

.ax-art__body a {
  color: var(--ax-gold-d);
  text-decoration: underline;
  text-underline-offset: 3px
}

.ax-art__body h2:first-child,
.ax-art__body h3:first-child {
  padding-top: 0
}

.ax-art__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 22px 0 0;
  margin-top: 22px;
  border-top: 1px solid var(--ax-line)
}

.ax-art__foot {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid var(--ax-line)
}

.ax-art__tags+.ax-art__foot {
  border-top: 0;
  margin-top: 0;
  padding-top: 16px
}

.ax-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px
}

.ax-share__l {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ax-ink);
  margin-right: 4px
}

.ax-share a,
.ax-share button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--ax-line);
  background: #fff;
  color: var(--ax-navy);
  font: 800 .74rem 'Montserrat', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s
}

.ax-share a:hover,
.ax-share button:hover {
  background: var(--ax-navy);
  color: #fff;
  transform: translateY(-2px)
}

.ax-share button.is-done {
  background: var(--ax-gold);
  color: #fff;
  border-color: var(--ax-gold)
}

.ax-pn {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px
}

.ax-pn__a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-sm);
  text-decoration: none;
  box-shadow: var(--ax-shadow-s);
  transition: transform .2s, box-shadow .2s
}

.ax-pn__a:hover {
  transform: translateY(-3px);
  box-shadow: var(--ax-shadow)
}

.ax-pn__a--next {
  text-align: right;
  grid-column: 2
}

.ax-pn__a small {
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ax-gold-d)
}

.ax-pn__a span {
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ax-ink)
}

.ax-side--list {
  align-items: stretch
}

.ax-mini {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px
}

.ax-mini a {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none
}

.ax-mini__i {
  flex: none;
  width: 68px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--ax-mint)
}

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

.ax-mini__t {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ax-ink);
  min-width: 0
}

.ax-mini__t small {
  font-size: .7rem;
  font-weight: 600;
  color: var(--ax-mute)
}

.ax-mini a:hover .ax-mini__t {
  color: var(--ax-gold-d)
}

.ax-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%
}

.ax-facts li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ax-ink);
  line-height: 1.4
}

.ax-facts .ax-i {
  color: var(--ax-gold);
  margin-top: 2px
}

.ax-facts small {
  display: block;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ax-mute);
  padding-bottom: 2px
}

.ax-side--list h3,
.ax-side .ax-facts {
  align-self: stretch
}

/* Related grid */
.ax-rel {
  padding: clamp(36px, 5vw, 64px) 0;
  background: #fff
}

.ax-rel__t {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ax-ink);
  padding-bottom: 22px
}

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

.ax-card-date {
  font-size: .72rem;
  font-weight: 600;
  color: var(--ax-mute)
}

/* Category / event-category archives: same card grid as Blogs */
.blog-archive-wrapper .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px
}

.blog-archive-wrapper .blog-card-modern,
.ax-rel .blog-card-modern {
  height: 100%
}

.blog-card-image img,
.blog-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover
}

/* Contact page: stack cleanly */
body.ax-inner-page .contact-section .contect-us-content,
body.ax-inner-page .contact-section .send-us-a-content {
  min-width: 0;
  box-sizing: border-box
}

body.ax-inner-page .contact-section .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch
}

body.ax-inner-page .contact-section .contect-us-content {
  flex: 1 1 320px
}

body.ax-inner-page .contact-section .send-us-a-content {
  flex: 2 1 420px
}

body.ax-inner-page .map-box iframe {
  width: 100%;
  max-width: 100%;
  min-height: 300px;
  border: 0;
  border-radius: var(--ax-r-md)
}

body.ax-inner-page .send-us-a-content input,
body.ax-inner-page .send-us-a-content textarea {
  max-width: 100%;
  box-sizing: border-box;
  font-size: 16px
}

@media (max-width:1024px) {

  .ax-rel__grid,
  .blog-archive-wrapper .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .ax-art-grid .ax-detail__side {
    flex-direction: row;
    flex-wrap: wrap
  }

  .ax-art-grid .ax-detail__side .ax-side {
    flex: 1 1 280px
  }
}

@media (max-width:768px) {
  .ax-pn {
    grid-template-columns: 1fr
  }

  .ax-pn__a--next {
    grid-column: auto;
    text-align: left
  }

  .ax-art__cover {
    aspect-ratio: 16/10;
    border-radius: 14px
  }

  .ax-art-meta {
    gap: 8px 16px;
    font-size: .78rem
  }

  body.single-post,
  body.single-news_event {
    padding-bottom: 76px
  }

  body.ax-inner-page .contact-section .container {
    gap: 18px
  }
}

@media (max-width:600px) {

  .ax-rel__grid,
  .blog-archive-wrapper .blog-grid {
    grid-template-columns: minmax(0, 1fr)
  }

  .ax-art-grid .ax-detail__side .ax-side {
    flex-basis: 100%
  }

  body.ax-inner-page .send-us-a-content .form-row,
  body.ax-inner-page .send-us-a-content [class*="col"] {
    width: 100% !important;
    flex: 1 1 100% !important
  }
}

/* =========================================================
   Blogs / News & Events / Category pages – unified with home
   cards (v2.7). Overrides the legacy grey style.css cards.
   ========================================================= */
body:has(.blog-archive-wrapper),
body:has(.news-events-section),
body:has(.contact-section),
body:has(.ax-art-page) {
  background: #f5f9fa
}

body:has(.blog-archive-wrapper) .ax-footer,
body:has(.news-events-section) .ax-footer,
body:has(.contact-section) .ax-footer,
body:has(.ax-art-page):not(:has(.ax-rel)) .ax-footer {
  margin-top: 0
}

.ax-rel+.ax-footer,
body:has(.ax-rel) .ax-footer {
  margin-top: 0
}

body .blog-archive-wrapper,
body .news-events-section {
  background: #f5f9fa;
  min-height: 0;
  padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 6vw, 80px);
  overflow: visible
}

body .blog-archive-wrapper .container,
body .news-events-section .container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--ax-pad) !important;
  box-sizing: border-box
}

body .blog-grid,
body .news-events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
  margin: 0 0 clamp(32px, 4vw, 48px)
}

/* ----- Blog card (same language as .ax-pcard) ----- */
body .blog-card-modern,
body .news-event-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--ax-line);
  border-radius: var(--ax-r-md);
  box-shadow: var(--ax-shadow-s);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s
}

body .blog-card-modern::before,
body .news-event-card::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 0;
  height: 5px;
  border-radius: 0 0 8px 8px;
  background: var(--ax-gold);
  z-index: 3
}

body .blog-card-modern:hover,
body .news-event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ax-shadow)
}

body .blog-card-image,
body .news-event-image {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, #174f64, #0f3a4d)
}

body .news-event-image {
  aspect-ratio: 1/1
}

body .news-event-image::before,
body .news-event-image::after {
  display: none !important
}

body .blog-card-image a {
  display: block;
  height: 100%
}

body .blog-card-image img,
body .news-event-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s
}

body .blog-card-modern:hover .blog-card-image img,
body .news-event-card:hover .news-event-image img {
  transform: scale(1.06)
}

body .blog-card-image img.ax-img-fail,
body .news-event-image img.ax-img-fail {
  object-fit: cover
}

body .blog-date-badge {
  top: 14px;
  right: 14px;
  min-width: 50px;
  padding: 7px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--ax-shadow-s);
  line-height: 1;
  z-index: 2
}

body .blog-date-badge .date-day {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ax-ink);
  line-height: 1
}

body .blog-date-badge .date-month {
  display: block;
  padding-top: 3px;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ax-gold-d)
}

body .blog-card-content,
body .news-event-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px 22px 22px;
  flex: 1;
  text-align: left
}

body .blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 0
}

body .blog-category {
  display: inline-flex;
  background: var(--ax-mint);
  color: var(--ax-navy);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 99px
}

body .blog-card-title,
body .news-event-title {
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.38;
  color: var(--ax-ink);
  margin: 0;
  padding: 0;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden
}

body .blog-card-title a,
body .news-event-title a {
  color: inherit;
  text-decoration: none
}

body .blog-card-title a:hover {
  color: var(--ax-gold-d)
}

body .blog-card-excerpt {
  margin: 0;
  padding: 0;
  font-size: .8rem;
  line-height: 1.7;
  color: var(--ax-text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden
}

body .blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-top: auto;
  padding: 14px 0 0;
  border-top: 1px solid var(--ax-line)
}

body .blog-author-info {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0
}

body .blog-author-info img,
body .blog-author-info .author-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%
}

body .blog-author-info .author-name {
  font-size: .76rem;
  font-weight: 600;
  color: var(--ax-text) !important
}

body .blog-read-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--ax-ink);
  text-decoration: none;
  white-space: nowrap;
  transition: gap .2s, color .2s
}

body .blog-read-link:hover {
  color: var(--ax-gold-d);
  gap: 10px
}

body .news-date-text {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  font-size: .72rem;
  font-weight: 700;
  color: var(--ax-gold-d)
}

body .news-event-content {
  gap: 8px
}

body .news-event-title {
  -webkit-line-clamp: 3
}

/* ----- Load more buttons = gold .ax-btn ----- */
body .blog-load-more-wrapper,
body .load-more-wrapper {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0
}

body .load-more-button,
body .load-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border: 0;
  border-radius: 14px;
  background: var(--ax-gold);
  color: #fff;
  font: 700 .86rem/1 'Montserrat', sans-serif;
  letter-spacing: 0;
  box-shadow: 0 14px 28px -12px rgba(205, 154, 50, .7);
  cursor: pointer;
  transition: background .2s, transform .2s
}

body .load-more-button::before,
body .load-more-btn::before {
  display: none
}

body .load-more-button:hover,
body .load-more-btn:hover {
  background: var(--ax-gold-d);
  transform: translateY(-2px)
}

body .load-more-button:disabled,
body .load-more-btn:disabled {
  opacity: .7;
  transform: none;
  cursor: wait
}

/* ----- News & Events filter bar = home tabs / chips ----- */
body .ne-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  max-width: 560px;
  margin: 0 auto 18px;
  padding: 8px;
  background: var(--ax-mint);
  border: 1px solid var(--ax-line);
  border-radius: 10px 0px 0px 10px;
 }

body .ne-tab {
  flex: 0 1 auto;
  border: 0;
  background: transparent;
  box-shadow: none;
  font: 700 .78rem/1 'Montserrat', sans-serif;
  color: var(--ax-text);
  padding: 14px 26px;
  border-radius: 99px;
  transition: .2s
}

body .ne-tab:hover {
  background: rgba(23, 79, 100, .08)
}

body .ne-tab.active {
  background: var(--ax-navy);
  color: #fff;
  box-shadow: none;
  border-radius: 10px;
}

body .ne-filters {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  max-width: 560px;
  margin: 0 auto clamp(24px, 4vw, 40px);
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--ax-line);
  border-radius: 0px;
  box-shadow: var(--ax-shadow-s)
}

body .ne-filter label {
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--ax-mute)
}

body .ne-filter select {
  min-width: 180px;
  padding: 12px 14px;
  border: 1px solid var(--ax-line);
  border-radius: 12px;
  font: 600 .86rem 'Montserrat', sans-serif;
  color: var(--ax-ink);
  background: #fff
}

body .ne-filter select:focus {
  outline: 2px solid var(--ax-gold);
  outline-offset: 1px
}

body .ne-reset {
  padding: 14px 24px;
  border: 0;
  border-radius: 10px;
  background: var(--ax-gold);
  color: #fff;
  font: 700 .8rem 'Montserrat', sans-serif
}

body .ne-reset:hover {
  background: var(--ax-gold-d);
  opacity: 1
}

body .ne-empty {
  padding: 48px 0;
  font-size: .95rem
}

@media (max-width:1024px) {

  body .blog-grid,
  body .news-events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media (max-width:640px) {

  body .blog-grid,
  body .news-events-grid {
    grid-template-columns: minmax(0, 1fr)
  }

  body .ne-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    max-width: 100%;
    border-radius: 99px
  }

  body .ne-tab {
    flex: none;
    padding: 13px 22px
  }

  body .ne-filters {
    padding: 14px;
    gap: 10px
  }

  body .ne-filter {
    flex: 1 1 100%
  }

  body .ne-filter select {
    width: 100%;
    min-width: 0
  }

  body .ne-reset {
    flex: 1 1 100%
  }

  body .blog-card-content,
  body .news-event-content {
    padding: 18px 18px 20px
  }
}


.ax-prose table tbody tr td:first-child  {
 background: #eaf5f7 !important;
}
.ax-prose table thead tr td strong {
  color: #fff;
}
.ax-panel>h2 {
  color: #000000c7;
  padding-bottom: 30px;
}
.ax-head--center h2{
  text-transform: capitalize;
}

