/**
 * Avanta Course Manager Pro - front-end (Phase 3+).
 * Scoped under .acm-course so it never fights the theme.
 */
.acm-course {
	--acm-primary: #1A3ED8;
	--acm-primary-d: #1230a8;
	--acm-navy: #0B1527;
  --navy-bg:#00003C;
	--acm-green: #0B9E6E;
	--acm-orange: #E8510A;
	--acm-ink: #1d2433;
	--acm-muted: #5a6b85;
	--acm-line: #e6e9f2;
	--acm-bg: #f6f7fb;
	--acm-radius: 14px;
	color: var(--acm-ink);
	font-size: 16px;
	line-height: 1.6;
}
.acm-course *, .acm-course *::before, .acm-course *::after { box-sizing: border-box; }
.acm-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.acm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 22px; border-radius: 10px; font-weight: 700; font-size: 15px;
	text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: all .15s ease;
}
.acm-btn--primary { background: var(--acm-primary); color: #fff; }
.acm-btn--primary:hover { background: var(--acm-primary-d); color: #fff; }
.acm-btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.acm-btn--outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.acm-btn--ghost { background: #eef1fd; color: var(--acm-primary); }
.acm-btn--ghost:hover { background: #e2e8fb; color: var(--acm-primary-d); }
.acm-btn--block { display: flex; width: 100%; margin-top: 10px; }

/* Hero */
.acm-hero {
	background: linear-gradient(135deg, #00003C, #0A0A5C);
	background-size: cover; background-position: center; color: #fff; padding: 54px 0 60px;
}
.acm-hero__grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 40px; align-items: center; }
.acm-hero__badge {
	display: inline-block; background: var(--acm-green); color: #fff; font-weight: 700;
	font-size: 12px; letter-spacing: .3px; padding: 5px 12px; border-radius: 999px; margin-right: 8px;
}
.acm-hero__code { display: inline-block; font-size: 12px; color: #b9c4dd; letter-spacing: .5px; }
.acm-hero__title { font-size: clamp(28px, 4vw, 46px); line-height: 1.1; margin: 16px 0 12px; font-weight: 800; color: #fff; }
.acm-hero__desc { color: #cdd6ea; max-width: 620px; margin: 0 0 18px; }
.acm-hero__meta { display: flex; flex-wrap: wrap; gap: 18px; color: #dbe2f2; font-size: 14px; margin-bottom: 24px; }
.acm-hero__meta i { color: var(--acm-green); margin-right: 4px; }
.acm-hero__rating i { color: #ffcf3f; }
.acm-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.acm-hero__media img { width: 100%; height: auto; border-radius: var(--acm-radius); box-shadow: 0 20px 50px rgba(0,0,0,.35); }

/* Trusted */
.acm-trusted { background: #fff; border-bottom: 1px solid var(--acm-line); padding: 26px 0; }
.acm-trusted__title { text-align: center; color: var(--acm-muted); font-size: 13px; letter-spacing: .4px; text-transform: uppercase; margin: 0 0 16px; }
.acm-trusted__logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 44px; }
/* V3: original-colour logos. */
.acm-trusted__logo img { max-height: 46px; width: auto; opacity: 1; transition: transform .2s ease; }
.acm-trusted__logo img:hover { transform: scale(1.05); }

/* Layout */
.acm-course > .acm-container { padding-top: 34px; padding-bottom: 50px; }
.acm-layout { display: grid; grid-template-columns: 1fr 340px; gap: 34px; align-items: start; }
.acm-main { min-width: 0; }

/* Sub-nav */
.acm-subnav {
	position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; gap: 6px;
	background: #fff; padding: 10px 0; margin-bottom: 20px; border-bottom: 1px solid var(--acm-line);
}
.acm-subnav__link {
	padding: 8px 14px; border-radius: 999px; color: var(--acm-muted); text-decoration: none;
	font-size: 14px; font-weight: 600;
}
.acm-subnav__link:hover, .acm-subnav__link.is-active { background: #eef1fd; color: var(--acm-primary); }

/* Sections */
.acm-section { padding: 10px 0 30px; scroll-margin-top: 70px; }
.acm-section__title { font-size: 24px; font-weight: 800; margin: 0 0 18px; color: var(--acm-navy); }
.acm-rte p { margin: 0 0 14px; }
.acm-rte ul, .acm-rte ol { margin: 0 0 16px 22px; }
.acm-rte li { margin-bottom: 8px; }
.acm-rte h2, .acm-rte h3, .acm-rte h4 { margin: 20px 0 10px; color: var(--acm-navy); }
.acm-rte img { max-width: 100%; height: auto; border-radius: 8px; }
.acm-rte a { color: var(--acm-primary); }
.acm-rte table { width: 100%; border-collapse: collapse; margin: 0 0 16px; }
.acm-rte th, .acm-rte td { border: 1px solid var(--acm-line); padding: 10px 12px; text-align: left; }

/* Highlights */
.acm-highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 20px; }
.acm-highlight { display: flex; gap: 12px; background: var(--acm-bg); border: 1px solid var(--acm-line); border-radius: 12px; padding: 16px; }
.acm-highlight__icon { color: var(--acm-primary); font-size: 20px; flex: 0 0 auto; }
.acm-highlight h4 { margin: 0 0 4px; font-size: 16px; }
.acm-highlight p { margin: 0; color: var(--acm-muted); font-size: 14px; }

/* Cards (who should attend) */
.acm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.acm-card { background: #fff; border: 1px solid var(--acm-line); border-radius: 12px; padding: 20px; text-align: center; }
.acm-card__icon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 50%; background: #eef1fd; color: var(--acm-primary); font-size: 20px; margin-bottom: 10px; }
.acm-card h4 { margin: 0 0 6px; font-size: 16px; }
.acm-card p { margin: 0; color: var(--acm-muted); font-size: 14px; }

/* Info grid */
.acm-infogrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.acm-infocard { background: var(--acm-bg); border: 1px solid var(--acm-line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.acm-infocard__icon { color: var(--acm-primary); font-size: 18px; }
.acm-infocard__label { color: var(--acm-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .4px; }
.acm-infocard__value { font-weight: 700; }

/* Checklist */
.acm-checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
.acm-checklist li { display: flex; gap: 10px; align-items: flex-start; }
.acm-checklist__icon { color: var(--acm-green); margin-top: 2px; }
.acm-checklist--plain { grid-template-columns: 1fr; }

/* Certification */
.acm-cert { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: center; background: #fff; border: 1px solid var(--acm-line); border-radius: var(--acm-radius); padding: 22px; }
.acm-cert__img img { width: 100%; border-radius: 10px; border: 1px solid var(--acm-line); }
.acm-meta-list { list-style: none; margin: 12px 0; padding: 0; }
.acm-meta-list li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--acm-line); }
.acm-meta-list span { color: var(--acm-muted); }

/* Skills */
.acm-skills { display: flex; flex-wrap: wrap; gap: 10px; }
.acm-skill { display: inline-flex; align-items: center; gap: 8px; background: var(--acm-primary); color: #fff; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.acm-skill i { opacity: .9; }

/* Sidebar */
.acm-aside { position: sticky; top: 20px; }
.acm-sidebar { background: #fff; border: 1px solid var(--acm-line); border-radius: var(--acm-radius); padding: 22px; box-shadow: 0 10px 30px rgba(16,24,40,.06); }
.acm-sidebar__price { display: flex; align-items: baseline; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--acm-line); margin-bottom: 14px; }
.acm-sidebar__from { color: var(--acm-muted); font-size: 13px; }
.acm-sidebar__amount { font-size: 30px; font-weight: 800; color: var(--acm-navy); }
.acm-sidebar__list { list-style: none; margin: 0 0 16px; padding: 0; }
.acm-sidebar__list li { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px dashed var(--acm-line); }
.acm-sidebar__ic { color: var(--acm-primary); }
.acm-sidebar__k { color: var(--acm-muted); font-size: 14px; }
.acm-sidebar__v { font-weight: 700; font-size: 14px; text-align: right; }
.acm-sidebar__share { display: flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--acm-muted); font-size: 14px; }
.acm-sidebar__share a { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--acm-bg); color: var(--acm-navy); text-decoration: none; }
.acm-sidebar__share a:hover { background: var(--acm-primary); color: #fff; }

/* Related slider */
.acm-related { margin-top: 20px; }
.acm-related__swiper { padding: 6px 4px 44px; }
.acm-rcard { display: block; background: #fff; border: 1px solid var(--acm-line); border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; height: 100%; }
.acm-rcard__media { position: relative; display: block; aspect-ratio: 16/10; background: var(--acm-bg); overflow: hidden; }
.acm-rcard__media img { width: 100%; height: 100%; object-fit: cover; }
.acm-rcard__cat { position: absolute; top: 10px; left: 10px; background: var(--acm-primary); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.acm-rcard__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; }
.acm-rcard__title { font-weight: 700; }
.acm-rcard__price { color: var(--acm-primary); font-weight: 800; }
.acm-related__swiper .swiper-button-next, .acm-related__swiper .swiper-button-prev { color: var(--acm-primary); }
.acm-related__swiper .swiper-pagination-bullet-active { background: var(--acm-primary); }

/* Accordion (outline + FAQ) */
.acm-acc-group { display: flex; flex-direction: column; gap: 12px; }
.acm-acc { border: 1px solid var(--acm-line); border-radius: 12px; overflow: hidden; background: #fff; }
.acm-acc__head { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: #fff; border: 0; cursor: pointer; padding: 16px 18px; font-size: 16px; font-weight: 700; color: var(--acm-navy); }
.acm-acc__title { flex: 1 1 auto; }
.acm-acc__meta { color: var(--acm-muted); font-weight: 600; font-size: 13px; }
.acm-acc__chev { transition: transform .2s ease; color: var(--acm-primary); }
.acm-acc.is-open .acm-acc__chev { transform: rotate(180deg); }
.acm-acc__body { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.acm-acc__inner { padding: 0 18px 18px; color: var(--acm-muted); }
.acm-lessons { list-style: none; margin: 10px 0 0; padding: 0; }
.acm-lessons li { display: flex; gap: 10px; padding: 8px 0; border-top: 1px dashed var(--acm-line); }
.acm-lessons li i { color: var(--acm-primary); margin-top: 4px; font-size: 12px; }
.acm-lessons strong { display: block; color: var(--acm-ink); }
.acm-lessons em { color: var(--acm-muted); font-style: normal; font-size: 14px; }

/* Pricing */
.acm-pricing__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.acm-plan { position: relative; border: 1px solid var(--acm-line); border-radius: var(--acm-radius); padding: 26px 22px; background: #fff; display: flex; flex-direction: column; }
.acm-plan.is-popular { border-color: var(--acm-primary); box-shadow: 0 12px 30px rgba(26,62,216,.14); }
.acm-plan__ribbon { position: absolute; top: 14px; right: -6px; background: var(--acm-orange); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 4px; }
.acm-plan__offer { color: var(--acm-green); font-weight: 700; font-size: 13px; }
.acm-plan__title { margin: 6px 0 12px; font-size: 18px; }
.acm-plan__price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.acm-plan__now { font-size: 30px; font-weight: 800; color: var(--acm-navy); }
.acm-plan__was { color: var(--acm-muted); text-decoration: line-through; }
.acm-plan__gst { color: var(--acm-muted); font-size: 13px; margin: 0 0 12px; }
.acm-plan__features { list-style: none; margin: 0 0 18px; padding: 0; flex: 1 1 auto; }
.acm-plan__features li { display: flex; gap: 8px; padding: 6px 0; font-size: 14px; }
.acm-plan__features i { color: var(--acm-green); margin-top: 4px; }

/* Table */
.acm-table-wrap { overflow-x: auto; border: 1px solid var(--acm-line); border-radius: 12px; }
.acm-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.acm-table th, .acm-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--acm-line); font-size: 14px; }
.acm-table thead th { background: var(--acm-bg); color: var(--acm-muted); text-transform: uppercase; font-size: 12px; letter-spacing: .4px; }
.acm-btn--sm { padding: 8px 14px; font-size: 13px; }
.acm-status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.acm-status--open { background: #e6f8f3; color: #0b7a55; }
.acm-status--filling { background: #fff3e0; color: #c25e00; }
.acm-status--full, .acm-status--closed { background: #fdecec; color: #b32d2e; }

/* Schedule (reference layout) */
.acm-sched { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 760px; }
.acm-sched thead th { text-align: left; padding: 12px 18px; font-size: 12px; letter-spacing: .4px; text-transform: uppercase; color: var(--acm-muted); border-bottom: 1px solid var(--acm-line); }
.acm-sched tbody td { padding: 18px 18px; border-bottom: 1px solid var(--acm-line); vertical-align: middle; font-size: 14px; }
.acm-sched tbody tr:hover { background: #fafbff; }
.acm-sched__dates { display: block; font-weight: 700; color: var(--acm-navy); font-size: 15px; }
.acm-sched__venue { display: block; font-weight: 600; color: var(--acm-ink); }
.acm-sched__sub { display: block; color: var(--acm-muted); font-size: 12.5px; margin-top: 3px; }
.acm-sched__action { text-align: right; white-space: nowrap; }
.acm-sched__closed { color: var(--acm-muted); font-weight: 600; }

.acm-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.acm-pill__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.acm-pill--available { background: #e6f8f0; color: #0b7a55; }
.acm-pill--filling { background: #fff4e0; color: #b9670a; }
.acm-pill--full, .acm-pill--closed { background: #fdecec; color: #b32d2e; }

@media (max-width: 782px) {
	.acm-sched { min-width: 0; }
	.acm-sched thead { display: none; }
	.acm-sched, .acm-sched tbody, .acm-sched tr, .acm-sched td { display: block; width: 100%; }
	.acm-sched tbody tr { border: 1px solid var(--acm-line); border-radius: 12px; margin-bottom: 12px; }
	.acm-sched tbody td { border: 0; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 16px; }
	.acm-sched tbody td::before { content: attr(data-label); font-weight: 700; color: var(--acm-muted); font-size: 11px; text-transform: uppercase; flex: 0 0 auto; }
	.acm-sched__dates, .acm-sched__venue, .acm-sched__sub { text-align: right; }
	.acm-sched__action { justify-content: flex-end; }
	.acm-sched__action::before { content: ""; }
}

/* Downloads */
.acm-dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.acm-dl { display: flex; align-items: center; gap: 14px; padding: 16px; background: #fff; border: 1px solid var(--acm-line); border-radius: 12px; text-decoration: none; color: inherit; }
.acm-dl:hover { border-color: var(--acm-primary); }
.acm-dl__icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: #eef1fd; color: var(--acm-primary); font-size: 18px; }
.acm-dl__body strong { display: block; }
.acm-dl__body em { color: var(--acm-muted); font-style: normal; font-size: 13px; }

/* Reviews */
.acm-reviews__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.acm-reviews__avg { font-weight: 800; color: var(--acm-navy); }
.acm-reviews__avg i { color: #ffb400; }
.acm-reviews__avg em { color: var(--acm-muted); font-style: normal; font-weight: 600; }
.acm-reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.acm-review { background: #fff; border: 1px solid var(--acm-line); border-radius: 12px; padding: 20px; }
.acm-review__stars { color: #ffb400; margin-bottom: 10px; }
.acm-review blockquote { margin: 0 0 14px; color: var(--acm-ink); }
.acm-review__author { display: flex; align-items: center; gap: 12px; }
.acm-review__author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.acm-review__author em { color: var(--acm-muted); font-style: normal; font-size: 13px; }
.acm-review__verified { color: var(--acm-green); font-size: 13px; }

/* Responsive */
@media (max-width: 992px) {
	.acm-hero__grid { grid-template-columns: 1fr; }
	.acm-hero__media { order: -1; }
	.acm-layout { grid-template-columns: 1fr; }
	.acm-aside { position: static; order: -1; }
	.acm-infogrid { grid-template-columns: repeat(2, 1fr); }
	.acm-cards { grid-template-columns: repeat(2, 1fr); }
	.acm-cert { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.acm-highlights, .acm-checklist, .acm-cards, .acm-infogrid { grid-template-columns: 1fr; }
}

/* ============================================================
   Assessment Criteria  (.acm-assess)
   ============================================================ */
.acm-assess { --acm-as-cols: 3; --acm-as-cols-t: 2; --acm-as-cols-m: 1;
	--acm-as-card-bg: #fff; --acm-as-card-bd: var(--acm-line); --acm-as-card-radius: var(--acm-radius);
}
.acm-assess[style*="--acm-as-section-bg"] { background: var(--acm-as-section-bg); border-radius: var(--acm-radius); padding: 26px; }
.acm-assess__intro { color: var(--acm-muted); max-width: 760px; margin: -4px 0 18px; }
.acm-assess__grid { display: grid; grid-template-columns: repeat(var(--acm-as-cols), 1fr); gap: 16px; }
.acm-assess__card {
	display: flex; flex-direction: column; gap: 6px; padding: 20px;
	background: var(--acm-as-card-bg); border: 1px solid var(--acm-as-card-bd);
	border-left: 4px solid var(--acm-primary); border-radius: var(--acm-as-card-radius);
	box-shadow: 0 1px 2px rgba(16,24,40,.04);
}
.acm-assess__card--success { border-left-color: var(--acm-green); }
.acm-assess__card--warning { border-left-color: #E8A70A; }
.acm-assess__card--danger  { border-left-color: #d5372f; }
.acm-assess__card--primary { border-left-color: var(--acm-primary); }
.acm-assess__icon { color: var(--acm-primary); font-size: 20px; }
.acm-assess__card--success .acm-assess__icon { color: var(--acm-green); }
.acm-assess__card--warning .acm-assess__icon { color: #E8A70A; }
.acm-assess__card--danger  .acm-assess__icon { color: #d5372f; }
.acm-assess__label { font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--acm-muted); }
.acm-assess__value { font-size: 22px; font-weight: 800; color: var(--acm-ink); line-height: 1.2; }
.acm-assess__desc { font-size: 14px; color: var(--acm-muted); }
.acm-assess__warn {
	display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px 18px;
	background: #fff8ec; border: 1px solid #f4d79b; border-radius: 10px; color: #7a5b12;
}
.acm-assess__warn-icon { font-size: 18px; margin-top: 2px; }
.acm-assess__warn-text > :first-child { margin-top: 0; }
.acm-assess__warn-text > :last-child { margin-bottom: 0; }

/* ============================================================
   Course Fees & Government Subsidies  (.acm-fees)
   ============================================================ */
.acm-fees {
	--acm-cf-head-bg: var(--navy-bg); --acm-cf-head-color: #fff;
	--acm-cf-row-bg: #fff; --acm-cf-alt-bg: #f6f8fd; --acm-cf-border: var(--acm-line);
	--acm-cf-hl: #d6f5e8; --acm-cf-fs: 15px; --acm-cf-radius: var(--acm-radius);
}
.acm-fees__intro { color: var(--acm-muted); max-width: 820px; margin: -4px 0 16px; }
.acm-fees__scroll { border: 1px solid var(--acm-cf-border); border-radius: var(--acm-cf-radius); overflow: hidden; }
.acm-fees__scroll.is-scrollable { overflow-x: auto; }
.acm-fees__table { width: 100%; border-collapse: collapse; font-size: var(--acm-cf-fs); background: var(--acm-cf-row-bg); }
.acm-fees__table.is-auto { width: auto; }
.acm-fees__table th, .acm-fees__table td { border: 1px solid var(--acm-cf-border); padding: 12px 14px; text-align: center; vertical-align: middle; }
.acm-fees__table thead th { background: var(--acm-cf-head-bg); color: var(--acm-cf-head-color); font-weight: 700; }
.acm-fees__group { font-size: .95em; }
.acm-fees__group-desc { display: block; font-weight: 500; opacity: .85; font-size: .82em; margin-top: 2px; }
.acm-fees__sub { font-weight: 600; font-size: .9em; }
.acm-fees__cat { text-align: left; background: var(--acm-cf-alt-bg); color: var(--acm-ink); font-weight: 600; min-width: 220px; }
thead .acm-fees__cat { background: var(--acm-cf-head-bg); color: var(--acm-cf-head-color); }
.acm-fees__cat-main { display: block; }
.acm-fees__cat-desc { display: block; font-weight: 400; font-size: .85em; color: var(--acm-muted); margin-top: 3px; }
.acm-fees__cat-note { display: block; font-weight: 400; font-size: .8em; color: var(--acm-primary); margin-top: 4px; }
.acm-fees__table tbody tr.is-odd td { background: var(--acm-cf-alt-bg); }
.acm-fees__cell.is-highlight { background: var(--acm-cf-hl); font-weight: 700; color: #0b7a55; }
.acm-fees__cell.is-bold { font-weight: 700; }
.acm-fees__cell a { color: inherit; text-decoration: underline; }
.acm-fees__foot {
	display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 14px 18px;
	background: #eef3ff; border: 1px solid #cfe0ff; border-radius: 10px; color: #2c4a86;
}
.acm-fees__foot-icon { font-size: 18px; margin-top: 2px; }
.acm-fees__foot-text > :first-child { margin-top: 0; }
.acm-fees__foot-text > :last-child { margin-bottom: 0; }

/* ============================================================
   SkillsFuture Credit  (.acm-sfec)
   ============================================================ */
.acm-sfec__intro { color: var(--acm-muted); max-width: 820px; margin: -4px 0 18px; }
.acm-sfec__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 18px; }
.acm-sfec__card {
	display: flex; flex-direction: column; gap: 6px; padding: 22px;
	background: #f2fbf7; border: 1px solid #bfead9; border-radius: var(--acm-radius);
}
.acm-sfec__icon { color: var(--acm-green); font-size: 22px; }
.acm-sfec__label { font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--acm-muted); }
.acm-sfec__elig { font-size: 14px; color: var(--acm-muted); }
.acm-sfec__amount { font-size: 16px; font-weight: 800; color: var(--acm-green); line-height: 1.25; }
.acm-sfec__desc { font-size: 14px; color: var(--acm-ink); }
.acm-sfec__rte { margin-bottom: 18px; }
.acm-sfec__info { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
/* TPGateway is the only panel here now, so it takes the full width instead of
   sitting in a half-width column with empty space beside it. */
.acm-sfec__info--single { grid-template-columns: 1fr; }
.acm-sfec__panel { padding: 18px 20px; background: #fff; border: 1px solid var(--acm-line); border-radius: var(--acm-radius); }
.acm-sfec__panel h3 { margin: 0 0 10px; font-size: 15px; }
.acm-sfec__code { font-weight: 700; color: var(--acm-primary); font-family: Menlo, Consolas, monospace; }
.acm-sfec__notice {
	margin-top: 16px; padding: 14px 18px; background: #fff8ec; border: 1px solid #f4d79b;
	border-radius: 10px; color: #7a5b12;
}
.acm-sfec__notice-text > :first-child { margin-top: 0; }
.acm-sfec__notice-text > :last-child { margin-bottom: 0; }

/* Responsive - new sections */
@media (max-width: 992px) {
	.acm-assess__grid { grid-template-columns: repeat(var(--acm-as-cols-t), 1fr); }
	.acm-sfec__info { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.acm-assess__grid { grid-template-columns: repeat(var(--acm-as-cols-m), 1fr); }
	.acm-sfec__cards { grid-template-columns: 1fr; }
}

/* Extra schedule status pills */
.acm-pill--limited { background: #fff4e0; color: #b9670a; }
.acm-pill--coming_soon { background: #eef1fd; color: #1230a8; }
.acm-pill--cancelled { background: #fdecec; color: #b32d2e; }
.acm-pill--completed { background: #eef1f5; color: #52606d; }

/* ============================================================
   Schedule - Course Runs  (.acm-schedule / .acm-run)
   ============================================================ */
.acm-schedule__intro { color: var(--acm-muted); max-width: 820px; margin: -4px 0 18px; }
/* The intro is a WYSIWYG field now, so it holds its own <p> tags. Their
   default margins would fight the spacing set above. */
.acm-schedule__intro > p{margin:0 0 8px}
.acm-schedule__intro > p:last-child{margin-bottom:0}
.acm-runs { display: grid; gap: 18px; }
.acm-run { border: 1px solid var(--acm-line); border-radius: var(--acm-radius); padding: 22px; background: #fff; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.acm-run.is-featured { border-color: var(--acm-primary); box-shadow: 0 8px 24px rgba(26,62,216,.10); }
.acm-run__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.acm-run__name { margin: 0; font-size: 19px; font-weight: 800; }
.acm-run__summary { margin: 5px 0 0; color: var(--acm-muted); font-weight: 600; }
.acm-run__label { margin: 0 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .4px; color: var(--acm-muted); }
.acm-run__datelist { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.acm-run__date { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 9px 14px; background: var(--acm-bg); border-radius: 8px; }
.acm-run__date-main strong { color: var(--acm-ink); }
.acm-run__date-time { color: var(--acm-primary); font-weight: 700; font-size: 14px; }
.acm-run__date-tag { font-size: 12px; background: #eef1fd; color: var(--acm-primary); padding: 1px 9px; border-radius: 999px; }
.acm-run__date-venue { color: var(--acm-muted); font-size: 13px; }
.acm-run__meta { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.acm-run__meta li { display: flex; flex-direction: column; }
.acm-run__meta span { font-size: 12px; color: var(--acm-muted); }
.acm-run__meta strong { color: var(--acm-ink); }
.acm-run__notes { color: var(--acm-muted); font-size: 14px; margin: 0 0 14px; }
.acm-run__closed { display: inline-block; color: #b32d2e; font-weight: 700; font-size: 14px; }
@media (max-width: 600px) { .acm-run__head { flex-direction: column; } }

/* Fee table: bold participant category + highlighted whole row */
.acm-fees__cat.is-bold .acm-fees__cat-main { font-weight: 800; }
.acm-fees__table tbody tr.is-hl-row td,
.acm-fees__table tbody tr.is-hl-row th { background: var(--acm-cf-hl); }

/* Intro blocks now hold real markup (wpautop output), not one escaped string.
   Without this the first paragraph's top margin and the last one's bottom
   margin fight the negative margin on the block itself, and the section
   heading drifts away from its own text. */
.acm-assess__intro > p:first-child,
.acm-fees__intro > p:first-child,
.acm-schedule__intro > p:first-child,
.acm-sfec__intro > p:first-child { margin-top: 0; }

.acm-assess__intro > p:last-child,
.acm-fees__intro > p:last-child,
.acm-schedule__intro > p:last-child,
.acm-sfec__intro > p:last-child { margin-bottom: 0; }

.acm-assess__intro ul, .acm-fees__intro ul, .acm-schedule__intro ul,
.acm-assess__intro ol, .acm-fees__intro ol, .acm-schedule__intro ol {
	margin: 0 0 10px; padding-left: 20px;
}
