/* ==========================================================================
   PMPro theme
   The pm-tricks.com layout in the PMPro logo palette.
   Loaded after the admin colour variables (website_theme_css), so the admin
   colours still win for --primary / --secondary / --accent and the buttons.
   ========================================================================== */

:root {
  /* Logo palette */
  --pm-navy: var(--primary, #0F2A4A);
  --pm-navy-700: #0A1F38;
  --pm-navy-500: #1C3D66;
  --pm-amber: var(--secondary, #F2A623);
  --pm-amber-600: #D98E0F;
  --pm-teal: var(--accent, #1AB2A6);

  /* Neutrals */
  --pm-bg-soft: #F5F7FA;
  --pm-border: #E3E8EF;
  --pm-ink: #0F2A4A;
  --pm-muted: #5B6B7F;
  --pm-white: #ffffff;

  --pm-gradient: linear-gradient(120deg, var(--pm-navy-700) 0%, var(--pm-navy) 50%, var(--pm-navy-500) 100%);
  --pm-radius: 14px;
  --pm-radius-sm: 8px;
  --pm-shadow: 0 10px 30px rgba(15, 42, 74, 0.08);
  --pm-shadow-lg: 0 18px 44px rgba(15, 42, 74, 0.16);

  /* Map the older theme variables onto the palette */
  --primary-dark: var(--pm-navy-700);
  --color-4: var(--pm-navy);
  --color-12: rgba(15, 42, 74, 0.23);
  --color-15: rgba(15, 42, 74, 0.35);
  --ac-primary: var(--pm-navy);
  --ac-primary-deep: var(--pm-navy-700);
  --ac-primary-btn-bg: var(--pm-navy);
  --ac-primary-btn-bg-hover: var(--pm-navy-700);
  --ac-cta: var(--pm-navy);
  --ac-cta-hover: var(--pm-navy-500);
  --ac-ink: var(--pm-ink);
  --ac-soft: #FDF3DF;
  --ac-info: var(--pm-teal);
}

body {
  color: var(--pm-ink);
}

.pm-amber { color: var(--pm-amber); }
.pm-teal { color: var(--pm-teal); }
html[dir="rtl"] .pm-flip-rtl { transform: scaleX(-1); }

/* ── Buttons ─────────────────────────────────────────────── */
.pm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.pm-btn:hover { transform: translateY(-2px); }
.pm-btn:focus-visible { outline: 3px solid var(--pm-teal); outline-offset: 3px; }
/* White on amber is ~2:1, so amber buttons always carry navy text */
.pm-btn--amber { background: var(--pm-amber); color: var(--pm-navy) !important; box-shadow: 0 8px 20px rgba(242, 166, 35, .35); }
.pm-btn--amber:hover { background: var(--pm-amber-600); color: var(--pm-navy) !important; }
.pm-btn--navy { background: var(--pm-navy); color: #fff !important; }
.pm-btn--navy:hover { background: var(--pm-navy-500); color: #fff !important; }
.pm-btn--ghost-light { border-color: rgba(255, 255, 255, .7); color: #fff !important; background: transparent; }
.pm-btn--ghost-light:hover { background: #fff; color: var(--pm-navy) !important; }

.pm-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--pm-navy);
  text-decoration: none;
}
.pm-link i { color: var(--pm-amber); transition: transform .2s ease; }
.pm-link:hover { color: var(--pm-navy-500); }
.pm-link:hover i { transform: translateX(3px); }
html[dir="rtl"] .pm-link:hover i { transform: scaleX(-1) translateX(3px); }

/* Site wide buttons follow the palette */
.asl-btn--cta,
.asl-btn.asl-btn--cta {
  background: var(--pm-amber) !important;
  border-color: var(--pm-amber) !important;
  color: var(--pm-navy) !important;
  font-weight: 700;
}
.asl-btn--cta:hover { background: var(--pm-amber-600) !important; border-color: var(--pm-amber-600) !important; }
.asl-btn--ghost { color: var(--pm-navy) !important; font-weight: 600; }

/* ── Section scaffolding ─────────────────────────────────── */
.pm-section { padding: 88px 0; }
.pm-section--soft { background: var(--pm-bg-soft); }

.pm-head { text-align: center; margin: 0 auto 48px; max-width: 760px; }
.pm-head--start { text-align: start; margin-inline: 0; max-width: none; }
.pm-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; text-align: start; max-width: none; }
.pm-head__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--pm-teal);
}
html[dir="rtl"] .pm-head__eyebrow { letter-spacing: 0; font-size: 15px; }
/* The pm-tricks "●● TEXT ●●" eyebrow, with teal and amber dots */
.pm-head__eyebrow::before,
.pm-head__eyebrow::after {
  content: "";
  width: 18px;
  height: 6px;
  flex: none;
  background:
    radial-gradient(circle, var(--pm-navy) 3px, transparent 3.5px) 0 0 / 9px 6px repeat-x;
}
.pm-head--light .pm-head__eyebrow::before,
.pm-head--light .pm-head__eyebrow::after {
  background: radial-gradient(circle, var(--pm-amber) 3px, transparent 3.5px) 0 0 / 9px 6px repeat-x;
}
.pm-head__title {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--pm-ink);
}
.pm-head__title strong { font-weight: 800; }
.pm-head--start .pm-head__title::after,
.pm-head--split .pm-head__title::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 16px;
  background: var(--pm-amber);
  border-radius: 3px;
}
.pm-head--light .pm-head__title { color: #fff; }
.pm-head--light .pm-head__eyebrow { color: var(--pm-amber); }

.pm-rule { display: block; width: 72px; height: 3px; border-radius: 3px; background: var(--pm-amber); margin: 18px 0 22px; }

/* Navy gradient band (testimonials, study process) */
.pm-band {
  position: relative;
  background: var(--pm-gradient);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.pm-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
}

/* ── Top bar (pm-tricks purple bar, now navy) ────────────── */
.pm-topbar {
  background: var(--pm-gradient);
  color: #fff;
}
.pm-topbar__inner {
  max-width: 1270px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.pm-topbar__logo { flex: none; display: inline-flex; }
.pm-topbar__logo img { height: 52px; width: auto; display: block; }
.pm-topbar__contacts { display: flex; align-items: center; gap: 28px; margin-inline-start: auto; }
.pm-topbar__contact { display: inline-flex; align-items: center; gap: 12px; color: #fff !important; text-decoration: none; }
.pm-topbar__contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--pm-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex: none;
  transition: background-color .2s ease, color .2s ease;
}
.pm-topbar__contact:hover .pm-topbar__contact-icon { background: var(--pm-amber); color: var(--pm-navy); }
.pm-topbar__contact-text { display: flex; flex-direction: column; line-height: 1.25; }
.pm-topbar__contact-text strong { font-size: 14px; font-weight: 700; }
.pm-topbar__contact-text small { font-size: 11px; opacity: .78; }
.pm-topbar__socials { display: flex; align-items: center; gap: 4px; }
.pm-topbar__social {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 56px;
  padding: 4px;
  color: #fff !important;
  text-decoration: none;
  font-size: 18px;
  border-radius: 8px;
  transition: color .2s ease;
}
.pm-topbar__social span { font-size: 10px; opacity: .8; }
.pm-topbar__social:hover { color: var(--pm-amber) !important; }

/* ── Main nav (white bar under the top bar) ──────────────── */
.asl-header { box-shadow: 0 6px 18px rgba(15, 42, 74, .08); }
.asl-nav { box-shadow: none !important; }
.asl-nav__inner { min-height: 64px !important; }
.asl-nav__link {
  text-transform: uppercase;
  font-weight: 600 !important;
  font-size: 14px !important;
  letter-spacing: .02em;
  color: var(--pm-ink) !important;
  position: relative;
}
html[dir="rtl"] .asl-nav__link { text-transform: none; letter-spacing: 0; font-size: 15px !important; }
.asl-nav__links > .asl-nav__item > .asl-nav__link::after {
  content: "";
  position: absolute;
  inset-inline: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--pm-amber);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.asl-nav__links > .asl-nav__item > .asl-nav__link:hover::after,
.asl-nav__links > .asl-nav__item > .asl-nav__link.is-active::after { transform: scaleX(1); }
.asl-nav__link:hover { color: var(--pm-navy-500) !important; background: transparent !important; }

/* Desktop: the logo sits in the navy top bar, like pm-tricks */
@media (min-width: 1200px) {
  .asl-nav .asl-logo { display: none !important; }
}
/* Below 1200px the nav collapses to the offcanvas menu: hide the contact bar
   and turn the nav itself navy so the logo keeps its own background. */
@media (max-width: 1199px) {
  .pm-topbar { display: none; }
  .asl-header, .asl-nav { background: var(--pm-gradient) !important; }
  .asl-nav .asl-icon-btn,
  .asl-nav .asl-lang__btn,
  .asl-nav .asl-btn--ghost { color: #fff !important; }
  .asl-nav .asl-icon-btn:hover,
  .asl-nav .asl-lang__btn:hover { background: rgba(255, 255, 255, .12) !important; }
  .asl-nav .asl-logo img { max-height: 48px; width: auto; }
}
@media (max-width: 1360px) and (min-width: 1200px) {
  .pm-topbar__social span { display: none; }
  .pm-topbar__social { min-width: 36px; }
  .pm-topbar__contacts { gap: 18px; }
}

/* ── Hero ────────────────────────────────────────────────── */
.pm-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  text-align: center;
  padding: 96px 0 120px;
  background:
    radial-gradient(60% 70% at 85% 15%, rgba(26, 178, 166, .28), transparent 60%),
    radial-gradient(50% 60% at 10% 90%, rgba(242, 166, 35, .20), transparent 60%),
    var(--pm-gradient);
}
.pm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.pm-hero--photo {
  background:
    linear-gradient(120deg, rgba(10, 31, 56, .92) 0%, rgba(15, 42, 74, .80) 50%, rgba(28, 61, 102, .72) 100%),
    var(--pm-hero-photo) center / cover no-repeat;
}
/* The logo mark (teal ring + bars) as a large watermark */
.pm-hero__mark {
  position: absolute;
  z-index: -1;
  inset-inline-end: -120px;
  top: 50%;
  width: 520px;
  height: 520px;
  transform: translateY(-50%);
  border: 34px solid rgba(26, 178, 166, .16);
  border-radius: 50%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 26px;
  padding-bottom: 150px;
}
.pm-hero__mark span { width: 46px; border-radius: 10px; background: rgba(255, 255, 255, .07); }
.pm-hero__mark span:nth-child(1) { height: 70px; }
.pm-hero__mark span:nth-child(2) { height: 120px; }
.pm-hero__mark span:nth-child(3) { height: 190px; background: rgba(242, 166, 35, .16); }

.pm-hero__inner { position: relative; max-width: 980px; }
.pm-hero__brand {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 40px;
  text-align: start;
}
.pm-hero__badge {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: #fff;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 5px solid var(--pm-amber);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .12), 0 20px 40px rgba(0, 0, 0, .25);
}
.pm-hero__badge img { width: 112%; height: auto; }
.pm-hero__brand-name { margin: 0; font-size: clamp(36px, 5vw, 56px); font-weight: 300; line-height: 1; color: #fff; }
.pm-hero__brand-sub { margin: 10px 0 0; font-size: 17px; max-width: 360px; opacity: .88; color: #fff; }
.pm-hero__title {
  margin: 0 auto 18px;
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 500;
  line-height: 1.45;
  color: #fff;
}
.pm-hero__sub { margin: 0 auto 26px; max-width: 680px; font-size: 17px; opacity: .85; color: #fff; }
.pm-hero__tagline { margin: 0 0 36px; font-size: clamp(24px, 3vw, 34px); font-weight: 500; color: #fff; }
.pm-hero__tagline .pm-amber { font-weight: 800; }
.pm-hero__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ── Stats bar ───────────────────────────────────────────── */
.pm-stats { position: relative; z-index: 2; margin-top: -56px; }
.pm-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: var(--pm-radius);
  box-shadow: var(--pm-shadow-lg);
  overflow: hidden;
}
.pm-stat { display: flex; align-items: center; gap: 16px; padding: 26px 24px; }
.pm-stat + .pm-stat { border-inline-start: 1px solid var(--pm-border); }
.pm-stat__icon {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--pm-navy);
  background: rgba(26, 178, 166, .14);
  border: 1.5px solid rgba(26, 178, 166, .45);
}
.pm-stat__value { display: block; font-size: 28px; font-weight: 800; line-height: 1.1; color: var(--pm-navy); }
.pm-stat__label { display: block; font-size: 13px; color: var(--pm-muted); }

/* ── Category badges ─────────────────────────────────────── */
.pm-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-decoration: none;
  height: 100%;
}
.pm-cat__badge {
  width: 240px;
  max-width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: -26px;
  position: relative;
  z-index: 1;
  transition: transform .3s ease;
  filter: drop-shadow(0 14px 22px rgba(15, 42, 74, .22));
}
.pm-cat__badge img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.pm-cat__ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background:
    radial-gradient(circle at 50% 50%, var(--pm-navy-500) 0 52%, var(--pm-navy) 53% 62%, var(--pm-navy-700) 63% 100%);
  border: 6px solid var(--pm-teal);
  color: #fff;
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, .06);
}
.pm-cat__ring i {
  font-size: 34px;
  width: 92px;
  height: 56px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pm-amber);
  color: var(--pm-navy);
}
.pm-cat__ring-label {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .92);
  color: var(--pm-navy);
}
.pm-cat__name {
  width: 100%;
  min-height: 78px;
  padding: 36px 18px 16px;
  border-radius: 6px;
  background: var(--pm-gradient);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease;
}
html[dir="rtl"] .pm-cat__name { text-transform: none; font-size: 17px; }
.pm-cat:hover .pm-cat__badge { transform: translateY(-6px) rotate(-3deg); }
.pm-cat:hover .pm-cat__name { background: var(--pm-navy-500); box-shadow: inset 0 -3px 0 var(--pm-amber); }

/* ── Course card (shared: home, grid, list) ──────────────── */
.asl-card {
  border: 1px solid var(--pm-border) !important;
  border-radius: var(--pm-radius) !important;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease !important;
}
.asl-card:hover { box-shadow: var(--pm-shadow-lg) !important; transform: translateY(-4px); border-color: transparent !important; }
.asl-card__badge {
  background: var(--pm-navy) !important;
  color: #fff !important;
}
.asl-card__wishlist--active, .asl-card__wishlist--active i { color: #e5484d !important; }
.pm-card__category {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--pm-teal);
  margin-bottom: 6px;
  letter-spacing: .02em;
}
.asl-card__title { color: var(--pm-ink) !important; font-weight: 600 !important; }
.pm-card__stars { display: inline-flex; align-items: center; gap: 2px; color: var(--pm-amber); font-size: 13px; }
.pm-card__rating-value { color: var(--pm-muted); margin-inline-start: 6px; font-size: 13px; }
.asl-card__footer {
  border-top: 1px solid var(--pm-border) !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pm-card__reviews { color: var(--pm-muted); font-size: 13px; display: inline-flex; gap: 6px; align-items: center; }
.asl-card__price { display: inline-flex; align-items: baseline; gap: 8px; }
.asl-card__price-current { color: var(--pm-amber-600) !important; font-weight: 800 !important; font-size: 17px !important; }
.asl-card__price-current--free { color: var(--pm-teal) !important; }
.asl-card__price-old { color: var(--pm-muted) !important; }

/* ── Why choose ──────────────────────────────────────────── */
.pm-reason {
  height: 100%;
  padding: 36px 30px;
  border-radius: var(--pm-radius);
  border: 1px solid var(--pm-border);
  background: #fff;
  text-align: center;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.pm-reason:hover { border-color: var(--pm-teal); box-shadow: var(--pm-shadow); transform: translateY(-4px); }
.pm-reason__icon {
  width: 76px;
  height: 76px;
  margin-bottom: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--pm-navy);
  background: rgba(26, 178, 166, .12);
  box-shadow: inset 0 0 0 3px var(--pm-teal);
}
.pm-reason__title { font-size: 20px; font-weight: 700; color: var(--pm-ink); margin-bottom: 10px; }
.pm-reason__text { color: var(--pm-muted); margin: 0; line-height: 1.7; }

/* ── Testimonials ────────────────────────────────────────── */
.pm-quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pm-quote {
  position: relative;
  margin: 0;
  padding: 26px 28px;
  border-radius: var(--pm-radius-sm);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .55);
}
.pm-quote__mark {
  position: absolute;
  top: -18px;
  inset-inline-end: 22px;
  font-size: 34px;
  color: var(--pm-amber);
  padding: 0 6px;
  background: var(--pm-navy);
}
html[dir="rtl"] .pm-quote__mark { transform: scaleX(-1); }
.pm-quote__text { margin: 0 0 16px; font-size: 16px; font-style: italic; line-height: 1.75; color: #fff; }
.pm-quote__author { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; }
.pm-quote__author strong { color: #fff; }
.pm-quote__stars { color: var(--pm-amber); font-size: 12px; display: inline-flex; gap: 2px; }

/* ── Online interactive courses ──────────────────────────── */
.pm-live {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-radius);
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  transition: box-shadow .25s ease, transform .25s ease;
}
.pm-live:hover { box-shadow: var(--pm-shadow-lg); transform: translateY(-4px); }
.pm-live__image { aspect-ratio: 16 / 10; overflow: hidden; background: var(--pm-bg-soft); }
.pm-live__image img { width: 100%; height: 100%; object-fit: cover; }
.pm-live__body { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px; flex: 1; }
.pm-live__title { color: var(--pm-ink); font-weight: 700; font-size: 17px; }
.pm-live__footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.pm-live__price { color: var(--pm-navy); font-weight: 800; }
.pm-live__date { background: var(--pm-navy); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 4px; }

/* ── App promo ───────────────────────────────────────────── */
.pm-app__mockup { max-width: 100%; height: auto; max-height: 520px; }
.pm-app__title { font-size: clamp(26px, 3vw, 38px); font-weight: 400; color: var(--pm-ink); line-height: 1.25; }
.pm-app__title strong { font-weight: 800; }
.pm-app__lead { font-weight: 700; color: var(--pm-ink); }
.pm-checklist { list-style: none; padding: 0; margin: 0 0 28px; }
.pm-checklist li { position: relative; padding-inline-start: 30px; margin-bottom: 10px; color: var(--pm-muted); }
.pm-checklist li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  inset-inline-start: 0;
  color: var(--pm-teal);
}
.pm-app__stores { display: flex; flex-wrap: wrap; gap: 12px; }
.pm-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--pm-navy);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
}
.pm-store i { font-size: 26px; }
.pm-store span { display: flex; flex-direction: column; line-height: 1.1; }
.pm-store small { font-weight: 400; font-size: 11px; opacity: .8; }
.pm-store:hover { background: var(--pm-navy-500); }

/* ── Blog ────────────────────────────────────────────────── */
.pm-post { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: center; }
.pm-post__image { position: relative; display: block; border-radius: var(--pm-radius-sm); overflow: hidden; aspect-ratio: 16 / 9; background: var(--pm-bg-soft); }
.pm-post__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pm-post:hover .pm-post__image img { transform: scale(1.04); }
.pm-post__time {
  position: absolute;
  inset-inline-start: 16px;
  bottom: 16px;
  padding: 5px 14px;
  border-radius: 6px;
  background: var(--pm-navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.pm-post__title { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.pm-post__title a { color: var(--pm-ink); text-decoration: none; }
.pm-post__title a:hover { color: var(--pm-navy-500); }
.pm-post__text { color: var(--pm-muted); line-height: 1.75; }

/* ── Study process ───────────────────────────────────────── */
.pm-steps .container { max-width: 1040px; }
.pm-step { position: relative; display: flex; align-items: center; gap: 24px; padding: 18px 0; }
.pm-step--alt { flex-direction: row-reverse; }
.pm-step__num {
  flex: none;
  font-size: clamp(56px, 9vw, 110px);
  font-weight: 900;
  line-height: .9;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, .28);
  white-space: nowrap;
}
.pm-step__content { display: flex; align-items: flex-start; gap: 18px; max-width: 520px; }
.pm-step__icon {
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, .6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
}
.pm-step__title { color: #fff; font-size: 19px; font-weight: 700; text-transform: uppercase; margin: 0; }
html[dir="rtl"] .pm-step__title { text-transform: none; }
.pm-step__rule { display: block; width: 72px; height: 3px; border-radius: 3px; background: var(--pm-amber); margin: 12px 0; }
.pm-step__text { margin: 0; color: rgba(255, 255, 255, .78); }
.pm-step + .pm-step::before {
  content: "";
  position: absolute;
  top: -22px;
  left: 50%;
  width: 2px;
  height: 36px;
  background: repeating-linear-gradient(180deg, var(--pm-amber) 0 6px, transparent 6px 12px);
}

/* ── FAQ accordion ───────────────────────────────────────── */
.pm-accordion .accordion-item {
  border: 1px solid var(--pm-border);
  border-radius: 10px !important;
  overflow: hidden;
  margin-bottom: 12px;
  background: #fff;
}
.pm-accordion .accordion-button { font-weight: 700; color: var(--pm-ink); background: #fff; box-shadow: none !important; }
.pm-accordion .accordion-button:not(.collapsed) { color: #fff; background: var(--pm-navy); }
.pm-accordion .accordion-button:not(.collapsed)::after { filter: brightness(0) invert(1); }
.pm-accordion .accordion-body { color: var(--pm-muted); line-height: 1.75; }

/* ── Get in touch ────────────────────────────────────────── */
.pm-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 40px 44px;
  border-radius: var(--pm-radius);
  background: #fff;
  border: 1px solid var(--pm-border);
  border-inline-start: 6px solid var(--pm-amber);
  box-shadow: var(--pm-shadow);
}
.pm-contact__title { font-size: clamp(28px, 3vw, 38px); font-weight: 800; color: var(--pm-ink); margin: 0 0 8px; }
.pm-contact__line { margin: 0; color: var(--pm-muted); }
.pm-contact__line i { color: var(--pm-teal); margin-inline-end: 6px; }
.pm-contact__line a { color: var(--pm-navy); font-weight: 700; }

/* ── Footer ──────────────────────────────────────────────── */
.asl-footer.pm-footer { background: var(--pm-navy-700) !important; padding: 0; }
.pm-footer__main { padding: 72px 0 36px; background: var(--pm-gradient); }
.pm-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.pm-footer__logo img { height: 60px; width: auto; margin-bottom: 18px; }
.asl-footer.pm-footer .pm-footer__blurb { color: rgba(255, 255, 255, .78) !important; line-height: 1.75; font-size: 14px; }
.pm-footer__contact { list-style: none; padding: 0; margin: 18px 0; }
.pm-footer__contact li { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 14px; }
.asl-footer.pm-footer .pm-footer__contact i { color: var(--pm-teal) !important; width: 16px; }
.pm-footer__socials { display: flex; gap: 10px; flex-wrap: wrap; }
.pm-footer__socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .1);
  text-decoration: none;
  transition: background-color .2s ease;
}
.asl-footer.pm-footer .pm-footer__socials a:hover { background: var(--pm-amber); }
.asl-footer.pm-footer .pm-footer__socials a:hover i { color: var(--pm-navy) !important; }
.asl-footer.pm-footer .pm-footer__title {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  color: #fff !important;
}
.pm-footer__col .asl-footer__col-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.pm-footer__col .asl-footer__col-header::after { display: none; }
.pm-footer__title::after { content: ""; display: block; width: 32px; height: 3px; border-radius: 3px; margin-top: 10px; background: var(--pm-amber); }
.asl-footer__chevron { display: none; }
.pm-footer__list { list-style: none; padding: 0; margin: 0; }
.pm-footer__list li { margin-bottom: 10px; }
.asl-footer.pm-footer .pm-footer__list a {
  color: rgba(255, 255, 255, .8) !important;
  text-decoration: none;
  font-size: 14px;
  transition: color .2s ease, padding .2s ease;
}
.asl-footer.pm-footer .pm-footer__list a:hover { color: var(--pm-amber) !important; padding-inline-start: 4px; }
.pm-footer__form { margin-top: 22px; }
.asl-footer.pm-footer .pm-footer__form-label { display: block; font-size: 13px; margin-bottom: 8px; color: rgba(255, 255, 255, .8) !important; }
.pm-footer__form-row { display: flex; background: #fff; border-radius: 999px; padding: 4px; }
.pm-footer__form-row input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 8px 14px; background: transparent; color: var(--pm-ink); font-size: 14px; }
.pm-footer__form-row button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--pm-amber); flex: none; }
.asl-footer.pm-footer .pm-footer__form-row button i { color: var(--pm-navy) !important; }
.pm-footer__lang { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.asl-footer.pm-footer .pm-footer__lang a { color: rgba(255, 255, 255, .8) !important; text-decoration: none; }
.asl-footer.pm-footer .pm-footer__lang a.is-active,
.asl-footer.pm-footer .pm-footer__lang a:hover { color: var(--pm-amber) !important; font-weight: 700; }
.pm-footer__bottom { padding: 18px 0; background: var(--pm-navy-700); }
.pm-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pm-footer__bottom p { margin: 0; font-size: 13px; }
.pm-footer__bottom ul { display: flex; gap: 18px; list-style: none; padding: 0; margin: 0; }
.asl-footer.pm-footer .pm-footer__bottom a { font-size: 13px; color: rgba(255, 255, 255, .75) !important; text-decoration: none; }
.asl-footer.pm-footer .pm-footer__bottom a:hover { color: var(--pm-amber) !important; }

/* ── Breadcrumb banner (about 29 inner pages) ────────────── */
.bread-crumb {
  position: relative;
  background-color: var(--pm-navy) !important;
  background-image: var(--pm-gradient);
  background-size: cover;
  background-position: center;
  padding: 56px 0 60px !important;
  overflow: hidden;
  isolation: isolate;
}
.bread-crumb::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset-inline-end: -80px;
  top: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 26px solid rgba(26, 178, 166, .18);
}
.bread-crumb h1 { color: #fff !important; font-weight: 800 !important; margin-top: 10px; }
.bread-crumb .breadcrumb,
.bread-crumb .breadcrumb a,
.bread-crumb .breadcrumb span,
.bread-crumb .breadcrumb i { color: rgba(255, 255, 255, .82) !important; }
.bread-crumb .breadcrumb-item.active span { color: var(--pm-amber) !important; }

/* ── Course listing ──────────────────────────────────────── */
.asl-listing { padding: 56px 0 80px; }
.asl-pagination .page-link,
.asl-pagination a,
.asl-pagination span { border-radius: 8px !important; }
.asl-pagination .active .page-link,
.asl-pagination .active a,
.asl-pagination strong { background: var(--pm-navy) !important; border-color: var(--pm-navy) !important; color: #fff !important; }
.form-check-input:checked { background-color: var(--pm-navy) !important; border-color: var(--pm-navy) !important; }

/* ── Course details ──────────────────────────────────────── */
.asl-detail-hero { background: var(--pm-gradient) !important; color: #fff; }
.asl-detail-hero h1, .asl-detail-hero h2, .asl-detail-hero p,
.asl-detail-hero__meta-item, .asl-detail-hero__meta-item i { color: #fff !important; }
.asl-detail-sidebar__price-current { color: var(--pm-amber-600) !important; font-weight: 800 !important; }
.asl-detail-sidebar__btn--primary {
  background: var(--pm-amber) !important;
  border-color: var(--pm-amber) !important;
  color: var(--pm-navy) !important;
  font-weight: 700 !important;
}
.asl-detail-sidebar__btn--primary:hover { background: var(--pm-amber-600) !important; border-color: var(--pm-amber-600) !important; }
.asl-detail-sidebar__btn--cta {
  background: var(--pm-amber) !important;
  color: var(--pm-navy) !important;
  font-weight: 700 !important;
}
.asl-detail-sidebar__btn--cta:hover { background: var(--pm-amber-600) !important; box-shadow: 0 6px 24px rgba(242, 166, 35, .3) !important; }
.asl-detail-hero__meta-item a,
.asl-detail-hero__instructor a { color: var(--pm-amber) !important; font-weight: 700; }
.asl-detail-hero__breadcrumb a,
.asl-detail-hero__breadcrumb span { color: rgba(255, 255, 255, .78) !important; }
.asl-detail-hero__breadcrumb a:hover { color: var(--pm-amber) !important; }
.asl-detail-sidebar__btn--outline { border-color: var(--pm-navy) !important; color: var(--pm-navy) !important; }
.asl-detail-sidebar__btn--outline:hover { background: var(--pm-navy) !important; color: #fff !important; }
.asl-tabs__btn--active { color: var(--pm-navy) !important; border-color: var(--pm-amber) !important; }
.fa-circle-check, .outcome-item i { color: var(--pm-teal); }

/* ── Forms ───────────────────────────────────────────────── */
.form-control:focus,
.form-select:focus {
  border-color: var(--pm-teal) !important;
  box-shadow: 0 0 0 .2rem rgba(26, 178, 166, .2) !important;
}

/* ── Login / sign up brand panel ─────────────────────────── */
.login-brand { background: var(--pm-gradient) !important; }
.login-submit {
  background: var(--pm-amber) !important;
  border-color: var(--pm-amber) !important;
  color: var(--pm-navy) !important;
  font-weight: 700 !important;
}
.login-submit:hover { background: var(--pm-amber-600) !important; }

/* ── Floating buttons stay clear of each other ───────────── */
.whatsapp-link { background: #25D366; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 991px) {
  .pm-section { padding: 64px 0; }
  .pm-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .pm-stat:nth-child(3) { border-inline-start: 0; }
  .pm-stat:nth-child(n+3) { border-top: 1px solid var(--pm-border); }
  .pm-quotes { grid-template-columns: 1fr; }
  .pm-post { grid-template-columns: 1fr; gap: 18px; }
  .pm-footer__grid { grid-template-columns: 1fr 1fr; }
  .pm-hero__mark { opacity: .5; width: 380px; height: 380px; padding-bottom: 100px; }
  .pm-step, .pm-step--alt { flex-direction: column; align-items: flex-start; }
  .pm-step + .pm-step::before { left: 32px; }
  html[dir="rtl"] .pm-step + .pm-step::before { left: auto; right: 32px; }
}
@media (max-width: 991px) {
  /* Footer columns fold into an accordion on small screens (script in footer.php) */
  .pm-footer__col .asl-footer__col-header { cursor: pointer; margin-bottom: 0; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .asl-footer__chevron { display: inline-block; transition: transform .2s ease; }
  .pm-footer__col .pm-footer__list,
  .pm-footer__col .pm-footer__form { display: none; padding-top: 14px; }
  .pm-footer__col.open .pm-footer__list,
  .pm-footer__col.open .pm-footer__form { display: block; }
  .pm-footer__col.open .asl-footer__chevron { transform: rotate(180deg); }
  .pm-footer__grid { grid-template-columns: 1fr; gap: 0; }
  .pm-footer__about { margin-bottom: 18px; }
  .pm-footer__title::after { display: none; }
}
@media (max-width: 575px) {
  .pm-section { padding: 52px 0; }
  .pm-hero { padding: 64px 0 104px; }
  .pm-hero__brand { flex-direction: column; text-align: center; gap: 14px; margin-bottom: 28px; }
  .pm-hero__badge { width: 104px; height: 104px; }
  .pm-hero__brand-sub { margin-inline: auto; }
  .pm-hero__mark { display: none; }
  .pm-stats__grid { grid-template-columns: 1fr 1fr; }
  .pm-stat { flex-direction: column; text-align: center; gap: 10px; padding: 20px 12px; }
  .pm-stat__value { font-size: 24px; }
  .pm-head { margin-bottom: 32px; }
  .pm-head--split { flex-direction: column; align-items: flex-start; }
  .pm-contact { padding: 28px 24px; }
  .pm-contact .pm-btn { width: 100%; }
  .pm-footer__bottom-inner { flex-direction: column; text-align: center; }
  .pm-footer__bottom ul { flex-wrap: wrap; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .pm-btn, .pm-cat__badge, .asl-card, .pm-reason, .pm-live, .pm-post__image img { transition: none !important; }
  .pm-btn:hover, .asl-card:hover, .pm-reason:hover, .pm-live:hover, .pm-cat:hover .pm-cat__badge { transform: none !important; }
}
