﻿/* HuyTQ.VN — Andrea template–aligned public shell */
:root {
  --primary: #1eafed;
  --ink: #000;
  --muted: #666666;
  --light: #f8f9fa;
  --line: #e6e6e6;
  /* Soft forest green — calm / trustworthy price emphasis on course detail */
  --price-trust: #2d6a4f;
  --font-ui: var(--app-font);
  --font-heading: var(--app-font);
  --font-vietnamese-ui: var(--app-font);
  --font-vietnamese-display: var(--app-font);
  /* Logo stack is defined in playfair-display.css (self-hosted Playfair Display). */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.8;
  font-weight: 400;
  color: var(--muted);
  background: #fff;
}

a {
  transition: .3s all ease;
  color: var(--primary);
  text-decoration: none;
}
a:hover, a:focus {
  text-decoration: none;
  color: var(--primary);
  outline: none !important;
}

img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5,
.h1, .h2, .h3, .h4, .h5 {
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.8);
  font-weight: normal;
  font-family: var(--font-heading);
}

/* ——— Shell (Andrea) ——— */
#colorlib-page {
  width: 100%;
  overflow: hidden;
  position: relative;
}

#colorlib-aside {
  padding-top: 5em;
  padding-bottom: 18rem;
  padding-left: 2em;
  padding-right: 2em;
  width: 25%;
  position: fixed;
  bottom: 0;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 1001;
  background: #fff;
  transition: all 0.5s ease;
  border-right: 1px solid var(--line);
}

@media (max-width: 991.98px) {
  #colorlib-aside {
    width: 320px;
    transform: translateX(-320px);
    padding-top: 2em;
    background: rgba(0, 0, 0, 0.04);
  }
}

#colorlib-aside #colorlib-logo {
  display: block;
  width: 100%;
  font-weight: bold;
  font-size: 74px; /* Andrea template */
  line-height: 1;
  font-family: var(--font-logo);
  margin: 0 0 1rem;
}
@media (max-width: 1199.98px) {
  #colorlib-aside #colorlib-logo { font-size: 62px; }
}
#colorlib-aside #colorlib-logo span {
  display: block;
  margin-top: 5px; /* gap between “Dạy Con” and “Thời AI” (2px + 3px) */
}
@media (max-width: 991.98px) {
  #colorlib-aside #colorlib-logo { margin-bottom: 20px; }
}
#colorlib-aside #colorlib-logo a {
  display: inline-block;
  text-align: left;
  color: #000;
  overflow: hidden;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

#colorlib-aside #colorlib-main-menu {
  overflow: hidden;
}
#colorlib-aside #colorlib-main-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
/*
  Andrea base (li margin 10px, a padding 10px 0) tightened ~9px total:
  li margin-bottom 3px; a padding 8px 0; underline bottom 5px.
  Force line-height 1.5 (Andrea body) — do NOT inherit site body 1.8.
  Note: padding (not only margin) drives visible gap — keep both in sync.
*/
#colorlib-aside #colorlib-main-menu ul li {
  margin: 0 0 3px 0;
  padding: 0;
  list-style: none;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
}
#colorlib-aside #colorlib-main-menu ul li a {
  color: rgba(0, 0, 0, 0.7);
  text-decoration: none;
  position: relative;
  padding: 8px 0;
  margin: 0;
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  transition: all 0.3s ease;
  display: inline-block;
}
#colorlib-aside #colorlib-main-menu ul li a:after {
  content: "";
  position: absolute;
  height: 2px;
  bottom: 5px;
  left: 0;
  right: 0;
  background-color: var(--primary);
  visibility: hidden;
  transform: scaleX(0);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
#colorlib-aside #colorlib-main-menu ul li a:hover {
  text-decoration: none;
  color: black;
}
#colorlib-aside #colorlib-main-menu ul li a:hover:after {
  visibility: visible;
  transform: scaleX(1);
}
#colorlib-aside #colorlib-main-menu ul li.colorlib-active {
  font-weight: 600;
}
#colorlib-aside #colorlib-main-menu ul li.colorlib-active a {
  color: var(--primary);
}
#colorlib-aside #colorlib-main-menu ul li.colorlib-active a:after {
  visibility: visible;
  transform: scaleX(1);
}

.aside-auth {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .85rem;
  margin: .75rem 0 0;
  font-size: .8rem;
}
.aside-auth a { color: rgba(0, 0, 0, 0.55); font-weight: 500; }
.aside-auth a:hover { color: var(--primary); }

#colorlib-aside .colorlib-footer {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  padding: 0 2em;
  margin-top: 0;
  font-size: 17px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.6);
}
#colorlib-aside .colorlib-footer h3 {
  font-size: 18px;
  font-weight: 600;
  font-family: var(--font-ui);
  margin-bottom: .5rem;
}
#colorlib-aside .colorlib-footer a { color: #000; }
#colorlib-aside .colorlib-footer .pfooter {
  font-size: 14px;
  margin: .75rem 0 0;
}
#colorlib-aside .colorlib-footer .mb-4 { margin-bottom: 1rem !important; }

#colorlib-aside .colorlib-footer .colorlib-subscribe-form { width: 100%; }
#colorlib-aside .colorlib-footer .colorlib-subscribe-form .form-group {
  position: relative;
  margin-bottom: 0;
  border-radius: 0;
  width: 100%;
  display: block;
}
#colorlib-aside .colorlib-footer .colorlib-subscribe-form .form-group input.form-control {
  display: block;
  width: 100%;
  padding: 0.6rem 40px 0.6rem 0.75rem;
  background: #fff !important;
  border: 1px solid #7cd1f5 !important;
  color: rgba(0, 0, 0, 0.4) !important;
  font-size: 14px;
  border-radius: 0;
  height: 48px;
  box-shadow: none;
}
#colorlib-aside .colorlib-footer .colorlib-subscribe-form .form-group input.form-control::placeholder {
  color: rgba(0, 0, 0, 0.4) !important;
}
/* Andrea: paper-plane icon sits inside the email field on the right (submit control) */
#colorlib-aside .colorlib-footer .colorlib-subscribe-form .icon {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  color: rgba(0, 0, 0, 0.5);
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  z-index: 2;
  font-size: 18px;
  appearance: none;
  -webkit-appearance: none;
}
#colorlib-aside .colorlib-footer .colorlib-subscribe-form .icon:hover {
  color: var(--primary);
}
#colorlib-aside .colorlib-footer .colorlib-subscribe-form .icon .icon-paper-plane {
  display: block;
  font-size: 18px;
  line-height: 1;
}

@media (max-height: 780px) {
  #colorlib-aside {
    padding-top: 2.5em;
    padding-bottom: 16rem;
  }
  #colorlib-aside #colorlib-logo { font-size: 56px; }
  #colorlib-aside .colorlib-footer { bottom: 12px; }
}

#colorlib-main {
  width: 100%;
  float: right;
  transition: all 0.5s ease;
}
@media (min-width: 992px) {
  #colorlib-main { width: 75%; }
}

/* Mobile nav — Andrea push; body.nav-open (not .offcanvas) for BS5 safety */
.colorlib-nav-toggle {
  cursor: pointer;
  text-decoration: none;
  position: fixed;
  left: -12px;
  top: 0;
  z-index: 9999;
  opacity: 1;
  visibility: hidden;
  padding: 20px;
  transition: all 0.5s ease;
  border: 0;
  background: transparent;
}
@media (max-width: 991.98px) {
  .colorlib-nav-toggle {
    opacity: 1;
    visibility: visible;
  }
}
.colorlib-nav-toggle i {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 2px;
  color: #000;
  background: #000;
  transition: all .2s ease-out;
}
.colorlib-nav-toggle i::before,
.colorlib-nav-toggle i::after {
  content: "";
  width: 30px;
  height: 2px;
  background: #000;
  position: absolute;
  left: 0;
  transition: all 0.2s ease;
}
.colorlib-nav-toggle i::before { top: -7px; }
.colorlib-nav-toggle i::after { bottom: -7px; }
.colorlib-nav-toggle:hover i::before { top: -10px; }
.colorlib-nav-toggle:hover i::after { bottom: -10px; }
.colorlib-nav-toggle.active i { background: transparent; }
.colorlib-nav-toggle.active i::before {
  top: 0;
  transform: rotateZ(45deg);
}
.colorlib-nav-toggle.active i::after {
  bottom: 0;
  transform: rotateZ(-45deg);
}

body.nav-open { overflow-x: hidden; }
body.nav-open #colorlib-aside {
  transform: translateX(0);
  width: 320px;
  background: #fff;
  z-index: 999;
  position: fixed;
  overflow: hidden;
}
body.nav-open #colorlib-main,
body.nav-open .colorlib-nav-toggle {
  transform: translateX(270px);
}

/* ——— Blog entries (Andrea-exact alignment) ——— */
.blog-entry {
  width: 100%;
  margin-bottom: 3em;
}
.blog-entry.d-md-flex {
  align-items: flex-start;
}
.blog-entry .img {
  display: block;
  height: 150px;
  width: 150px;
  min-width: 150px;
  border-radius: 50%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: var(--light);
  flex: 0 0 150px;
}
@media (max-width: 767.98px) {
  .blog-entry .img {
    margin: 0 auto 20px;
  }
  .blog-entry.d-md-flex {
    flex-direction: column;
    align-items: center;
  }
}
.blog-entry .text {
  position: relative;
  z-index: 0;
  flex: 1 1 auto;
  min-width: 0;
  width: calc(100% - 150px);
  max-width: calc(100% - 150px);
}
/* Andrea gap: BS4 `pl-md-4` = 1.5rem. BS5 renamed to `ps-md-4` — enforce in CSS so spacing never depends on a dead utility. */
@media (min-width: 768px) {
  .blog-entry .text,
  .blog-entry .text.text-2 {
    padding-left: 1.5rem;
  }
}
@media (max-width: 767.98px) {
  .blog-entry .text {
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding-left: 0 !important;
  }
}
.blog-entry .text h4 {
  font-weight: 400;
  font-size: 25px;
  line-height: 1.3;
  margin-bottom: .5rem;
}
.blog-entry .text h4 a { color: #000; }
.blog-entry .text h4 a:hover { color: var(--primary); }
.blog-entry .text .meta-wrap {
  width: 100%;
  display: block;
  margin-bottom: .5rem;
}
.blog-entry .text .meta-wrap .meta {
  margin-bottom: 0;
}
.blog-entry .text .meta-wrap .meta span {
  font-size: 14px;
  margin: 0 10px 0 0;
  color: #bfbfbf;
  display: inline-block;
}
.blog-entry .text .meta-wrap .meta span a { color: #000; }
.blog-entry .text p.mb-4 { margin-bottom: 1rem !important; }

.article-author {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  vertical-align: middle;
  color: #666;
}
.article-author__avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #e8eef5;
}
.article-detail-meta .article-author__avatar {
  width: 32px;
  height: 32px;
}
.article-author__name {
  font-weight: 500;
  color: #444;
}

.btn-custom {
  color: #000;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
}
.btn-custom:hover { color: var(--primary); }
.btn-custom span {
  font-size: 16px;
  vertical-align: middle;
}

.btn.btn-outline-primary {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
  border-radius: 30px;
}
.btn.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
}

/* ——— Sidebar (Andrea) ——— */
.sidebar-box {
  margin-bottom: 40px;
  padding: 0 25px;
  font-size: 15px;
  width: 100%;
  background: transparent;
}
@media (max-width: 767.98px) {
  .sidebar-box {
    padding: 0;
  }
}
.sidebar-box h3.sidebar-heading {
  font-size: 25px;
  font-weight: normal;
  font-style: italic;
  margin-bottom: 30px;
  padding-bottom: 0;
  font-family: var(--font-heading);
  color: #000;
  display: block;
}
/*
  Categories list — Andrea exact:
  bordered rows, count absolutely right-aligned (not float).
*/
.categories,
.sidelink {
  padding: 0;
  margin: 0;
  list-style: none;
}
.categories li,
.sidelink li {
  position: relative;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #dee2e6;
  list-style: none;
  font-size: 15px;
}
.categories li:last-child,
.sidelink li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.categories li a,
.sidelink li a {
  display: block;
  color: #000;
  text-decoration: none;
  padding-right: 2.5rem; /* room for absolute count */
}
.categories li a span,
.sidelink li a span {
  position: absolute;
  right: 0;
  top: 0;
  color: #ccc;
  font-size: 15px;
  float: none;
}
.categories li a:hover,
.sidelink li a:hover {
  color: var(--primary);
}
.categories li.active a,
.sidelink li.active a {
  color: #000;
  font-style: italic;
}

.block-21 .blog-img {
  display: block;
  height: 80px;
  width: 80px;
  border-radius: 50%;
  flex: 0 0 80px;
  background-color: var(--light);
}
.block-21 .text {
  width: calc(100% - 100px);
  padding-left: 15px;
}
.block-21 .text .heading {
  font-size: 16px;
  margin-bottom: .35rem;
}
.block-21 .text .heading a { color: #000; }
.block-21 .text .heading a:hover { color: var(--primary); }
.block-21 .text .meta > div {
  display: inline-block;
  font-size: 12px;
  margin-right: 5px;
  color: gray;
}

.tagcloud { padding: 0; }
.tagcloud a,
.tagcloud .tag-cloud-link {
  text-transform: uppercase;
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 7px;
  margin-right: 4px;
  border-radius: 4px;
  color: #000;
  border: 1px solid #ccc;
  font-size: 11px;
}
.tagcloud a:hover,
.tagcloud .tag-cloud-link:hover {
  border: 1px solid #000;
  color: #000;
}

.search-form {
  background: #fafafa;
  padding: 10px;
}
.search-form .form-group {
  position: relative;
  margin-bottom: 0;
}
.search-form .form-group input {
  padding-right: 50px;
  font-size: 14px;
  border-radius: 0;
  border: 1px solid #eee;
  height: 46px;
}
.search-form .icon {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
}

.subs-wrap {
  display: block;
  width: 100%;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  z-index: 0;
  background-size: cover;
  background-position: center;
}
.subs-wrap .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: .6;
  background: #000;
  z-index: -1;
}
.subs-wrap h3,
.subs-wrap .sidebar-heading { color: #fff !important; font-style: normal; }
.subs-wrap p { color: rgba(255, 255, 255, 0.85); }

.subscribe-form .form-group {
  position: relative;
  margin-bottom: 0;
}
.subscribe-form .form-group input.form-control {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 16px;
  border-radius: 0;
  height: 52px;
}
.subscribe-form .form-group input.form-control::placeholder {
  color: rgba(255, 255, 255, 0.7) !important;
}
.subscribe-form .form-group .submit {
  color: #000 !important;
  display: block;
  width: 100%;
  height: 52px;
  font-size: 16px;
  background: #fff !important;
  border: 0;
  border-radius: 0;
}

/* ——— Pagination ——— */
.block-27 ul {
  padding: 0;
  margin: 1.5rem 0 0;
}
.block-27 ul li {
  display: inline-block;
  margin-bottom: 4px;
  font-weight: 400;
}
.block-27 ul li a,
.block-27 ul li span {
  border: 1px solid var(--primary);
  text-align: center;
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  color: var(--primary);
}
.block-27 ul li.active a,
.block-27 ul li.active span {
  background: var(--primary);
  color: #fff;
  border: 1px solid transparent;
}

/* ——— About ——— */
.about-page {
  position: relative;
}
.about-hero {
  margin: 0 0 1.5rem;
  padding: 1.25rem 1.3rem 1.35rem;
  border-radius: .85rem;
  border: 1px solid #e2eef4;
  background:
    linear-gradient(135deg, rgba(30, 175, 237, .1) 0%, rgba(45, 106, 79, .06) 42%, #fff 78%),
    #f7fbfd;
  position: relative;
  overflow: hidden;
}
.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 175, 237, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 175, 237, .06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(120deg, rgba(0,0,0,.55), transparent 70%);
  pointer-events: none;
}
.about-hero__eyebrow,
.about-hero__title,
.about-hero__lead,
.about-hero__actions {
  position: relative;
  z-index: 1;
}
.about-hero__eyebrow {
  margin: 0 0 .4rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--price-trust);
}
.about-hero__title {
  margin: 0 0 .55rem;
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.4vw, 2.45rem);
  line-height: 1.15;
  color: #132028;
}
.about-hero__lead {
  margin: 0 0 1.05rem;
  max-width: 36rem;
  color: #5a6874;
  line-height: 1.6;
  font-size: 1.02rem;
}
.about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.about-hero__actions .btn-line {
  background: #fff;
}

.about-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr);
  gap: 1.15rem 1.35rem;
  margin: 0 0 1.35rem;
  align-items: stretch;
}
.about-stage__visual {
  position: relative;
  min-height: 17rem;
  border-radius: .85rem;
  overflow: hidden;
  border: 1.5px solid #d7e4ec;
  background: #0f2430;
  transform: translateZ(0);
  transition: transform .25s ease, box-shadow .25s ease;
}
.about-stage__visual:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(20, 55, 80, .12);
}
.about-stage__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .45s ease;
}
.about-stage__visual:hover .about-stage__photo {
  transform: scale(1.04);
}
.about-stage__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .28;
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.about-stage__glow {
  position: absolute;
  inset: auto -20% -30% -10%;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(30, 175, 237, .45), transparent 70%);
  pointer-events: none;
}
.about-stage__chip {
  position: absolute;
  left: .85rem;
  bottom: .85rem;
  z-index: 1;
  padding: .4rem .7rem;
  border-radius: .4rem;
  background: rgba(255, 255, 255, .92);
  color: #1a303c;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
  border: 1px solid rgba(255,255,255,.7);
}
.about-stage__content {
  padding: 1.15rem 1.2rem 1.2rem;
  border-radius: .85rem;
  border: 1.5px solid #dce6ec;
  background: #fff;
}
.about-stage__heading {
  margin: 0 0 .75rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: #24303a;
}
.about-stage__prose {
  margin: 0;
}
.about-stage__prose > :first-child { margin-top: 0; }
.about-stage__prose > :last-child { margin-bottom: 0; }

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  margin: 0 0 1.35rem;
}
.about-pillar {
  padding: 1rem 1.05rem 1.1rem;
  border-radius: .7rem;
  border: 1px solid #e0ebf1;
  background: linear-gradient(180deg, #f8fcfe 0%, #fff 100%);
  transition: border-color .18s ease, transform .18s ease;
}
.about-pillar:hover {
  border-color: #9fd0e6;
  transform: translateY(-2px);
}
.about-pillar__mark {
  display: block;
  width: 1.65rem;
  height: .28rem;
  border-radius: 999px;
  margin-bottom: .7rem;
  background: linear-gradient(90deg, var(--primary), var(--price-trust));
}
.about-pillar__title {
  margin: 0 0 .35rem;
  font-size: .98rem;
  font-weight: 600;
  color: #1d2a33;
}
.about-pillar__text {
  margin: 0;
  font-size: .88rem;
  color: #5a6874;
  line-height: 1.5;
}

.about-footer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  padding: 1.15rem 1.25rem;
  border-radius: .85rem;
  border: 1.5px solid #d7e8ef;
  background:
    linear-gradient(120deg, rgba(45, 106, 79, .07), rgba(30, 175, 237, .08)),
    #fff;
}
.about-footer-cta__title {
  margin: 0 0 .3rem;
  font-size: 1.15rem;
  color: #162028;
}
.about-footer-cta__text {
  margin: 0;
  color: #5a6874;
  font-size: .92rem;
}

@media (max-width: 991.98px) {
  .about-stage {
    grid-template-columns: 1fr;
  }
  .about-stage__visual {
    min-height: 14rem;
  }
  .about-pillars {
    grid-template-columns: 1fr;
  }
}

/* Legacy Andrea about helpers (unused by new layout; keep for safety) */
.ftco-about .img {
  width: 100%;
  display: block;
  min-height: 400px;
}
.ftco-about .text h2 {
  font-size: 50px;
  font-family: var(--font-ui);
  font-weight: 600;
  line-height: 1.2;
  color: #000;
}
.ftco-about .text h2 span {
  font-weight: 900;
  color: var(--primary);
}
@media (max-width: 767.98px) {
  .ftco-about .text h2 { font-size: 32px; }
}

/* ——— Contact ——— */
.contact-page {
  position: relative;
  font-family: var(--font-vietnamese-ui);
}
.contact-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin: 0 0 1.35rem;
  padding: 1.5rem 1.6rem;
  overflow: hidden;
  border: 1px solid #dcebf2;
  border-radius: .95rem;
  background:
    radial-gradient(circle at 90% 15%, rgba(30, 175, 237, .16), transparent 34%),
    linear-gradient(135deg, rgba(45, 106, 79, .08), rgba(255, 255, 255, .96) 48%, rgba(30, 175, 237, .08));
}
.contact-hero::after {
  content: "";
  position: absolute;
  width: 11rem;
  height: 11rem;
  right: -5.5rem;
  bottom: -6.5rem;
  border: 1px solid rgba(30, 175, 237, .22);
  border-radius: 50%;
  box-shadow: 0 0 0 1.8rem rgba(30, 175, 237, .04), 0 0 0 3.7rem rgba(30, 175, 237, .025);
  pointer-events: none;
}
.contact-hero__copy,
.contact-hero__notes {
  position: relative;
  z-index: 1;
}
.contact-hero__eyebrow,
.contact-side__kicker {
  margin: 0 0 .45rem;
  color: var(--price-trust);
  font-family: var(--font-vietnamese-ui);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.contact-hero__title {
  max-width: 34rem;
  margin: 0 0 .55rem;
  color: #14232c;
  font-family: var(--font-vietnamese-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.12;
}
.contact-hero__lead {
  max-width: 39rem;
  margin: 0;
  color: #566672;
  font-size: 1.02rem;
  line-height: 1.6;
}
.contact-hero__notes {
  display: grid;
  flex: 0 0 auto;
  gap: .5rem;
  min-width: 14rem;
}
.contact-hero__notes span {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: #354650;
  font-size: .83rem;
}
.contact-hero__notes i {
  display: inline-grid;
  width: 1.25rem;
  height: 1.25rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(45, 106, 79, .12);
  color: var(--price-trust);
  font-size: .7rem;
  font-style: normal;
  font-weight: 700;
}

.contact-success {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin: 0 0 1.1rem;
  padding: .9rem 1rem;
  border: 1px solid #b8d8c8;
  border-radius: .75rem;
  background: #f1faf5;
  color: #1e5238;
}
.contact-success__icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--price-trust);
  color: #fff;
  font-weight: 700;
}
.contact-success strong {
  display: block;
  margin-bottom: .1rem;
}
.contact-success p {
  margin: 0;
  color: #446858;
  font-size: .88rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(16rem, .82fr) minmax(0, 1.25fr);
  gap: 1.1rem;
  align-items: stretch;
}
.contact-side,
.contact-form-card {
  border: 1px solid #dfeaf0;
  border-radius: .95rem;
  background: #fff;
}
.contact-side {
  display: flex;
  flex-direction: column;
  padding: 1.2rem;
  background: linear-gradient(180deg, #f7fbfd 0%, #fff 38%);
}
.contact-side__intro {
  margin-bottom: 1rem;
}
.contact-side__intro h2,
.contact-form-card__head h2 {
  margin: 0 0 .4rem;
  color: #172731;
  font-family: var(--font-vietnamese-display);
  font-size: 1.25rem;
  line-height: 1.3;
}
.contact-side__intro > p:last-child,
.contact-form-card__head > p:last-child {
  margin: 0;
  color: #65737d;
  font-size: .88rem;
  line-height: 1.5;
}
.contact-methods {
  display: grid;
  gap: .65rem;
  margin-bottom: 1rem;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
  padding: .78rem .8rem;
  border: 1px solid #e0ebf0;
  border-radius: .68rem;
  background: rgba(255, 255, 255, .9);
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
a.contact-method:hover,
a.contact-method:focus-visible {
  transform: translateY(-2px);
  border-color: #93cfe7;
  box-shadow: 0 8px 18px rgba(24, 70, 94, .08);
  color: inherit;
  text-decoration: none;
}
.contact-method__icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: .62rem;
  background: rgba(30, 175, 237, .1);
  color: #1586b5;
}
.contact-method__icon svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}
.contact-method__body {
  min-width: 0;
  flex: 1;
  font-family: var(--font-vietnamese-ui);
}
.contact-method__body small,
.contact-method__body strong,
.contact-method__body em {
  display: block;
}
.contact-method__body small {
  margin-bottom: .08rem;
  color: #788690;
  font-size: .71rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.contact-method__body strong {
  overflow-wrap: anywhere;
  color: #20313a;
  font-size: .88rem;
  line-height: 1.38;
}
.contact-method__body em {
  margin-top: .12rem;
  color: #75838c;
  font-size: .73rem;
  font-style: normal;
}
.contact-method__arrow {
  flex: 0 0 auto;
  color: var(--primary);
  font-size: 1rem;
}
.contact-method--static .contact-method__icon {
  background: rgba(45, 106, 79, .1);
  color: var(--price-trust);
}
.contact-social {
  padding: .85rem .9rem;
  border: 1px solid #e0ebf0;
  border-radius: .68rem;
  background: rgba(255, 255, 255, .95);
}
.contact-social__head {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .7rem;
}
.contact-social__links {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.contact-social__links a {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: .3rem .75rem;
  border: 1px solid #d5e6ee;
  border-radius: 999px;
  background: #f4fafd;
  color: #1a4f66;
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.contact-social__links a:hover,
.contact-social__links a:focus-visible {
  border-color: #93cfe7;
  background: #e8f6fc;
  color: #0f3d52;
  text-decoration: none;
}
.contact-side__empty {
  margin-bottom: 1rem;
  padding: .85rem;
  border-radius: .65rem;
  background: #fff;
  color: #65737d;
  font-size: .86rem;
}
.contact-course {
  display: flex;
  gap: .75rem;
  margin-top: auto;
  padding: .9rem;
  border-radius: .72rem;
  background: #172c37;
  color: #fff;
}
.contact-course__icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 50%;
  color: #7cd1f5;
}
.contact-course strong {
  display: block;
  margin-bottom: .2rem;
  font-size: .86rem;
}
.contact-course p {
  margin: 0 0 .45rem;
  color: #bdcbd2;
  font-size: .78rem;
  line-height: 1.45;
}
.contact-course a {
  color: #7cd1f5;
  font-size: .78rem;
  font-weight: 600;
}
.contact-course a:hover {
  color: #fff;
}

.contact-form-card {
  padding: 1.35rem 1.4rem 1.45rem;
  box-shadow: 0 16px 40px rgba(20, 55, 74, .07);
}
.contact-form-card__head {
  margin-bottom: 1.1rem;
}
.contact-form {
  width: 100%;
}
.contact-validation-summary:empty {
  display: none;
}
.contact-validation-summary {
  margin-bottom: .85rem;
  padding: .7rem .8rem;
  border: 1px solid #edc7c7;
  border-radius: .55rem;
  background: #fff7f7;
  color: #a13d3d;
  font-size: .84rem;
}
.contact-validation-summary ul {
  margin: 0;
  padding-left: 1.15rem;
}
.contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}
.contact-field {
  margin-bottom: .88rem;
}
.contact-field label {
  display: block;
  margin-bottom: .36rem;
  color: #2a3b44;
  font-size: .82rem;
  font-weight: 600;
}
.contact-field label span {
  color: #b64a4a;
}
.contact-field .form-control {
  width: 100%;
  min-height: 2.9rem;
  padding: .72rem .82rem;
  border: 1px solid #d6e1e7;
  border-radius: .58rem;
  background: #fbfdfe;
  color: #21323b;
  font-size: .9rem;
  outline: none;
  box-shadow: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.contact-field textarea.form-control {
  min-height: 9.5rem;
  resize: vertical;
}
.contact-field .form-control::placeholder {
  color: #9aa5ab;
}
.contact-field .form-control:hover {
  border-color: #b8cad3;
}
.contact-field .form-control:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(30, 175, 237, .12);
}
.contact-field .input-validation-error {
  border-color: #c95d5d;
}
.contact-field .text-danger {
  display: block;
  margin-top: .25rem;
  font-size: .75rem;
}
.contact-field__hint {
  display: block;
  margin-top: .35rem;
  color: #7b8991;
  font-size: .73rem;
}
.contact-form__submit {
  display: inline-flex;
  width: 100%;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  border: 0;
  cursor: pointer;
}
.contact-form__submit span:last-child {
  transition: transform .18s ease;
}
.contact-form__submit:hover span:last-child {
  transform: translateX(3px);
}

@media (max-width: 991.98px) {
  .contact-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .contact-hero__notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575.98px) {
  .contact-hero,
  .contact-side,
  .contact-form-card {
    padding: 1rem;
    border-radius: .78rem;
  }
  .contact-hero__notes,
  .contact-form__row {
    grid-template-columns: 1fr;
  }
  .contact-form__row {
    gap: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .contact-method,
  .contact-form__submit span:last-child {
    transition: none;
  }
}

.btn.btn-primary {
  background: var(--primary);
  border: 1px solid var(--primary);
  color: #fff;
  border-radius: 30px;
  box-shadow: none !important;
}
.btn.btn-primary:hover {
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
}
.btn.btn-white {
  background: #fff;
  border: 1px solid #fff;
  color: #000;
  border-radius: 0;
}

/* ——— Article detail ——— */
.article-detail-title {
  font-size: 35px;
  line-height: 1.25;
  color: var(--ink);
}

.article-detail-meta {
  margin: 0;
  color: #999;
  font-size: 0.9rem;
  line-height: 1.5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0;
}

.article-detail-meta__sep {
  margin: 0 0.35rem;
}

.article-detail-meta__category {
  color: var(--primary);
}

.article-detail-meta__category:hover,
.article-detail-meta__category:focus-visible {
  color: var(--primary);
  text-decoration: underline;
}

.article-detail-body {
  margin-bottom: 0;
}

.article-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem 0.45rem;
}

.article-tag {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  height: 27px;
  padding: 0 0.65rem;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.article-tag__hash {
  margin-right: 0.15rem;
  color: rgba(0, 0, 0, 0.25);
  transition: color 0.25s ease;
}

.article-tag:hover,
.article-tag:focus-visible {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(30, 175, 237, 0.07);
}

.article-tag:hover .article-tag__hash,
.article-tag:focus-visible .article-tag__hash {
  color: var(--primary);
}

.article-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  height: 27px;
  padding: 0 0.7rem;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  background: #1877f2;
  border: 1px solid #1877f2;
  border-radius: 999px;
  white-space: nowrap;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.article-share-btn:hover,
.article-share-btn:focus-visible {
  color: #fff;
  background: #0f6ae0;
  border-color: #0f6ae0;
  transform: translateY(-1px);
}

.article-share-btn .icon {
  font-size: 0.92rem;
  line-height: 1;
}

@media (prefers-reduced-motion: reduce) {
  .article-share-btn,
  .article-tag,
  .article-tag__hash {
    transition: none;
  }
  .article-share-btn:hover,
  .article-share-btn:focus-visible {
    transform: none;
  }
}

/* ——— Prose (CMS body) ——— */
.prose {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #333;
  line-height: 1.8;
  text-align: left !important;
}
/*
  Pasted HTML (esp. course syllabus) often uses:
    style="max-width: 800px; margin: 20px auto"
  which centers the block in the column. Force left + full width.
*/
.prose > div,
.course-detail-body > div,
.prose .course-schedule-container,
.course-detail-body .course-schedule-container {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  float: none;
}
.prose p { margin: 0 0 1.1rem; }
.prose h2, .prose h3, .prose h4 {
  font-family: var(--font-heading);
  color: #000;
  margin: 1.6rem 0 0.75rem;
  line-height: 1.25;
}
.prose h2 { font-size: 1.55rem; }
.prose h3 { font-size: 1.3rem; }
.prose h4 { font-size: 1.15rem; }
.prose ul, .prose ol { margin: 0 0 1.1rem; padding-left: 1.4rem; }
.prose li { margin: 0.25rem 0; }
.prose a { text-decoration: underline; text-underline-offset: 0.15em; }
.prose blockquote {
  margin: 0 0 1.1rem;
  padding: 0.35rem 0 0.35rem 1rem;
  border-left: 3px solid var(--primary);
  color: #555;
}
.prose s, .prose del, .prose strike { text-decoration: line-through; }
.prose sub { font-size: 0.75em; vertical-align: sub; }
.prose sup { font-size: 0.75em; vertical-align: super; }
.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.5rem 0;
}
.prose img {
  max-width: 100%;
  height: auto;
  border-radius: .5rem;
}
.prose img.img-full {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 1.75rem 0;
  float: none;
}
.prose img.img-align-center {
  display: block;
  margin: 1.75rem auto;
  float: none;
}
.prose img.img-float-left {
  float: left;
  display: inline;
  margin: 0.35rem 1.25rem 0.85rem 0;
  max-width: min(100%, 48%);
}
.prose img.img-float-right {
  float: right;
  display: inline;
  margin: 0.35rem 0 0.85rem 1.25rem;
  max-width: min(100%, 48%);
}
/* Honor inline width from editor resize without overflowing the column */
.prose img[width],
.prose img[style*="width"] {
  max-width: 100%;
  height: auto;
}
/* TinyMCE often wraps each image in <p> — give block images clear separation */
.prose p:has(> img.img-full:only-child),
.prose p:has(> img.img-align-center:only-child),
.prose p:has(> a:only-child > img.img-full:only-child),
.prose p:has(> a:only-child > img.img-align-center:only-child) {
  margin: 1.75rem 0;
}
.prose p:has(> img.img-full:only-child) img,
.prose p:has(> img.img-align-center:only-child) img,
.prose p:has(> a:only-child > img.img-full:only-child) img,
.prose p:has(> a:only-child > img.img-align-center:only-child) img {
  margin-top: 0;
  margin-bottom: 0;
}
.prose p:has(> img.img-full:only-child) + p:has(> img.img-full:only-child),
.prose p:has(> img.img-align-center:only-child) + p:has(> img.img-align-center:only-child) {
  margin-top: 2.25rem;
}
.prose::after {
  content: "";
  display: table;
  clear: both;
}
@media (max-width: 575.98px) {
  .prose img.img-float-left,
  .prose img.img-float-right {
    float: none;
    display: block;
    margin: 1.25rem auto;
    max-width: 100%;
  }
}
.prose figure {
  margin: 1.75rem 0;
}
.prose figure img {
  margin: 0;
}
.prose figure + figure {
  margin-top: 2.25rem;
}

.related-articles {
  border-top: 1px solid var(--line);
}
.related-articles__heading {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.8);
}
.prose pre, .prose code {
  font-family: var(--font-ui);
  font-size: 0.92em;
}
.prose pre {
  overflow-x: auto;
  padding: 0.85rem 1rem;
  background: var(--light);
  border-radius: 0.4rem;
  margin: 0 0 1.1rem;
}
.prose code {
  padding: 0.1em 0.35em;
  background: var(--light);
  border-radius: 0.25rem;
}
.prose pre code { padding: 0; background: transparent; }

/* ——— Product pages (Videos/Courses/Auth) ——— */
/* Prefer Andrea column (ftco-section + container + px-md-5). Legacy .page-inner left-aligned if still used. */
.page-inner {
  max-width: 52rem;
  margin: 0;
  margin-right: auto;
  padding: 3.5rem 1.5rem 4rem;
}
.page-inner:has(.article-shell),
.page-inner.page-inner--start {
  margin-left: 0;
  margin-right: auto;
}

.site-breadcrumb {
  margin: 0 0 1.25rem;
}
.site-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem .15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .875rem;
  color: #999;
  line-height: 1.5;
}
.site-breadcrumb__item:not(:last-child)::after {
  content: "/";
  margin: 0 .45rem;
  color: #ccc;
}
.site-breadcrumb__item a {
  color: #666;
  text-decoration: none;
}
.site-breadcrumb__item a:hover {
  color: var(--primary);
}
.site-breadcrumb__item.is-current span {
  color: #333;
}
.page-head h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: .5rem;
}
.page-head p { color: #999; margin-bottom: 2rem; }
.empty-state { color: #999; padding: 1rem 0; }

.btn-ink, .btn-line, .btn-solid, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .65rem 1.25rem;
  border-radius: 2rem;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
  text-align: center;
  box-sizing: border-box;
}
.btn-ink, .btn-solid { background: var(--primary); color: #fff; }
.btn-ink:hover, .btn-solid:hover { background: #0d8ec4; color: #fff; }
.btn-line, .btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: #000;
}
.btn-line:hover, .btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

.prose iframe {
  aspect-ratio: 16/9;
  width: 100%;
  max-width: 100%;
  border: 0;
  border-radius: .5rem;
  background: #000;
  margin: 1rem 0;
  display: block;
}
.course-catalog-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  margin: 0 0 1.5rem;
  padding: 1.15rem 1.25rem 1.25rem;
  border-radius: .75rem;
  background:
    linear-gradient(145deg, rgba(30, 175, 237, .08) 0%, rgba(45, 106, 79, .05) 55%, #fff 100%),
    #f7fbfd;
  border: 1px solid #e2eef4;
}
.course-catalog-head__eyebrow {
  margin: 0 0 .35rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--price-trust);
}
.course-catalog-head__title {
  margin: 0 0 .4rem;
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  color: #162028;
  line-height: 1.2;
}
.course-catalog-head__lead {
  margin: 0;
  max-width: 34rem;
  color: #5a6874;
  line-height: 1.55;
}
.course-catalog-head__mycourses {
  flex-shrink: 0;
  background: #fff;
}

.course-catalog {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.course-card {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 1.1rem 1.35rem;
  padding: 1.2rem 1.25rem 1.25rem;
  background: #fff;
  border: 1.5px solid #dce6ec;
  border-radius: .75rem;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.course-card:hover {
  border-color: #9fd0e6;
  box-shadow: 0 10px 28px rgba(20, 55, 80, .07);
  transform: translateY(-2px);
}
.course-card__main {
  flex: 1 1 16rem;
  min-width: 0;
}
.course-card__topline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .35rem .85rem;
  margin: 0 0 .55rem;
}
.course-card__title {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  line-height: 1.3;
  flex: 1 1 12rem;
}
.course-card__title a {
  color: #162028;
  text-decoration: none;
  transition: color .15s ease;
}
.course-card__title a:hover,
.course-card__title a:focus {
  color: var(--primary);
}
.course-card__price {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--price-trust);
  white-space: nowrap;
}
.course-card__price.is-free {
  color: #0d7aa8;
}
.course-card__sessions {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0 0 .7rem;
}
.course-card__session {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .3rem .45rem;
  padding: .35rem .65rem;
  border-radius: .4rem;
  background: #f3f8fb;
  border: 1px solid #e0ebf1;
  font-size: .86rem;
  color: #4a5863;
  line-height: 1.35;
}
.course-card__session strong {
  color: #24303a;
  font-weight: 600;
}
.course-card__desc {
  margin: 0 0 .75rem;
  color: #667580;
  line-height: 1.55;
}
.course-card__desc a {
  color: inherit;
  text-decoration: none;
  transition: color .15s ease;
}
.course-card__desc a:hover,
.course-card__desc a:focus {
  color: var(--primary);
}
.course-card__actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .55rem;
  flex: 0 0 auto;
  min-width: 9.5rem;
}
.course-card__cta-primary,
.course-card__cta-secondary {
  width: 100%;
  text-align: center;
  justify-content: center;
}
@media (max-width: 767.98px) {
  .course-catalog-head {
    padding: 1rem 1.05rem 1.1rem;
  }
  .course-card__actions {
    flex-direction: row;
    width: 100%;
    min-width: 0;
  }
  .course-card__cta-primary,
  .course-card__cta-secondary {
    flex: 1 1 0;
  }
}

.course-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
  margin-top: .15rem;
}
.course-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.2;
  padding: .28rem .65rem;
  border-radius: .35rem;
}
.course-tag-level {
  color: #0b5f7a;
  background: rgba(30, 175, 237, .14);
  border: 1px solid rgba(30, 175, 237, .35);
}
.course-tag-duration {
  color: #5a4a12;
  background: rgba(240, 185, 40, .18);
  border: 1px solid rgba(200, 150, 20, .35);
}
.course-tag-format {
  color: #3d4a1f;
  background: rgba(130, 174, 70, .16);
  border: 1px solid rgba(130, 174, 70, .4);
}

/* ——— My Courses (phone lookup) ——— */
.mycourses-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  margin: 0 0 1.35rem;
  padding: 1.15rem 1.25rem 1.25rem;
  border-radius: .75rem;
  background:
    linear-gradient(145deg, rgba(45, 106, 79, .07) 0%, rgba(30, 175, 237, .07) 55%, #fff 100%),
    #f7fbfd;
  border: 1px solid #e2eef4;
}
.mycourses-head__eyebrow {
  margin: 0 0 .35rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--price-trust);
}
.mycourses-head__title {
  margin: 0 0 .4rem;
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 3vw, 2.05rem);
  color: #162028;
  line-height: 1.2;
}
.mycourses-head__lead {
  margin: 0;
  max-width: 34rem;
  color: #5a6874;
  line-height: 1.55;
}
.mycourses-head__back {
  flex-shrink: 0;
  background: #fff;
}

.mycourses-lookup {
  margin: 0 0 1.5rem;
  padding: 1.2rem 1.25rem 1.25rem;
  border: 1.5px solid #dce6ec;
  border-radius: .75rem;
  background: #fff;
  max-width: 36rem;
}
.mycourses-lookup__label {
  display: block;
  font-weight: 600;
  color: #2b3540;
  margin: 0 0 .45rem;
  font-size: .92rem;
}
.mycourses-lookup__row {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  align-items: stretch;
}
.mycourses-lookup__input {
  flex: 1 1 12rem;
  min-width: 0;
}
.mycourses-lookup__submit {
  flex: 0 0 auto;
  white-space: nowrap;
}
.mycourses-lookup__hint {
  margin: .7rem 0 0;
  font-size: .86rem;
  color: #6b7782;
  line-height: 1.45;
}

.mycourses-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1rem;
  margin: 0 0 1.1rem;
  padding: .85rem 1rem;
  border-radius: .65rem;
  background: #f3f8fb;
  border: 1px solid #e0ebf1;
}
.mycourses-toolbar__label {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #6b7782;
  margin-bottom: .15rem;
}
.mycourses-toolbar__phone strong {
  font-size: 1.05rem;
  color: #162028;
}
.mycourses-toolbar__change {
  background: #fff;
}

.mycourses-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mycourses-card {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  padding: 1.15rem 1.2rem 1.2rem;
  background: #fff;
  border: 1.5px solid #dce6ec;
  border-radius: .75rem;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.mycourses-card:hover {
  border-color: #9fd0e6;
  box-shadow: 0 10px 28px rgba(20, 55, 80, .07);
  transform: translateY(-2px);
}
.mycourses-card__main {
  flex: 1 1 16rem;
  min-width: 0;
}
.mycourses-card__topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .75rem;
  margin: 0 0 .4rem;
}
.mycourses-card__title {
  margin: 0;
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  line-height: 1.3;
  color: #162028;
  flex: 1 1 12rem;
}
.mycourses-card__meta {
  margin: 0 0 .75rem;
  color: #5a6874;
  font-size: .95rem;
}
.mycourses-card__class {
  padding: .75rem .85rem;
  border-radius: .5rem;
  background: #f3f8fb;
  border: 1px solid #e0ebf1;
}
.mycourses-card__class-name {
  font-weight: 600;
  color: #24303a;
  margin-bottom: .25rem;
}
.mycourses-card__class-dates {
  font-size: .86rem;
  color: #6b7782;
  margin-bottom: .45rem;
}
.mycourses-card__pending {
  margin: 0;
  font-size: .9rem;
  color: #6b7782;
  line-height: 1.5;
}
.mycourses-card__actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .55rem;
  flex: 0 0 auto;
  min-width: 9.5rem;
}
.mycourses-card__cta {
  width: 100%;
  text-align: center;
  justify-content: center;
}
.mycourses-status {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.2;
  padding: .28rem .55rem;
  border-radius: .35rem;
}
.mycourses-status--active {
  color: var(--price-trust);
  background: #e8f5ef;
  border: 1px solid rgba(45, 106, 79, .28);
}
.mycourses-status--upcoming {
  color: #0b5f7a;
  background: rgba(30, 175, 237, .14);
  border: 1px solid rgba(30, 175, 237, .35);
}
.mycourses-status--done {
  color: #5a6874;
  background: #eef2f5;
  border: 1px solid #d5dde3;
}
.mycourses-status--awaiting {
  color: #8a5a00;
  background: #fff6e5;
  border: 1px solid rgba(180, 120, 20, .35);
}
.mycourses-status--placement {
  color: #5b4a16;
  background: #f7f1e3;
  border: 1px solid rgba(140, 110, 40, .28);
}
.mycourses-empty {
  padding: 1.35rem 1.25rem;
  border-radius: .75rem;
  border: 1.5px dashed #d5dde3;
  background: #fafcfd;
}
.mycourses-empty__title {
  margin: 0 0 .35rem;
  font-weight: 600;
  color: #24303a;
  font-size: 1.05rem;
}
.mycourses-empty__text {
  margin: 0 0 1rem;
  color: #6b7782;
  line-height: 1.5;
}
@media (max-width: 767.98px) {
  .mycourses-lookup__submit { width: 100%; justify-content: center; }
  .mycourses-card__actions {
    flex-direction: row;
    width: 100%;
    min-width: 0;
  }
  .mycourses-card__cta { flex: 1 1 0; }
}

.course-detail-page {
  position: relative;
}
.course-detail-shell {
  display: grid;
  gap: 1rem;
}
.course-detail-hero,
.course-detail-schedules,
.course-detail-content,
.course-detail-closing {
  border: 1px solid #dce8ee;
  border-radius: .9rem;
}
.course-detail-hero {
  position: relative;
  padding: 1.35rem 1.4rem 1.4rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(30, 175, 237, .13), transparent 31%),
    linear-gradient(145deg, rgba(45, 106, 79, .055), #fff 46%);
}
.course-detail-hero::after {
  content: "";
  position: absolute;
  width: 9rem;
  height: 9rem;
  right: -5rem;
  top: -5rem;
  border: 1px solid rgba(30, 175, 237, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 1.6rem rgba(30, 175, 237, .035);
  pointer-events: none;
}
.course-detail-hero__nav,
.course-detail-hero__head,
.course-detail-facts-row,
.course-detail-address {
  position: relative;
  z-index: 1;
}
.course-detail-hero__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1rem;
  margin-bottom: 1rem;
}
.course-detail-eyebrow {
  margin: 0;
  color: var(--price-trust);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.course-detail-back {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: #60717b;
  font-size: .78rem;
  font-weight: 500;
}
.course-detail-back:hover {
  color: var(--primary);
  text-decoration: none;
}
.course-detail-hero__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.2rem;
}
.course-detail-title {
  max-width: 34rem;
  margin: 0;
  color: #13242d;
  font-family: var(--font-heading);
  font-size: 30px;
  line-height: 1.12;
}
.course-detail-price-block {
  flex: 0 0 auto;
  min-width: 8.5rem;
  padding: .7rem .85rem;
  border: 1px solid #d9ebe2;
  border-radius: .65rem;
  background: rgba(248, 253, 250, .94);
  text-align: right;
}
.course-detail-price-block > span {
  display: block;
  margin-bottom: .08rem;
  color: #77867e;
  font-size: .69rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.course-detail-price {
  display: block;
  margin: 0;
  color: var(--price-trust);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}
.course-detail-price.is-free {
  color: #287451;
}
.course-detail-facts-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-top: 1.05rem;
  border-top: 1px solid rgba(75, 111, 127, .14);
}
.course-detail-facts {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: .8rem 1.8rem;
  min-width: 0;
  margin: 0;
  padding: 0;
}
.course-detail-facts > div {
  min-width: 6.5rem;
  margin: 0;
}
.course-detail-facts dt {
  margin: 0 0 .18rem;
  color: #84919a;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.course-detail-facts dd {
  display: flex;
  align-items: center;
  gap: .38rem;
  margin: 0;
  color: #263943;
  font-size: .91rem;
  font-weight: 600;
}
.course-detail-mode-dot {
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--price-trust);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, .09);
}
.course-detail-primary-action {
  display: grid;
  flex: 0 0 auto;
  gap: .35rem;
  justify-items: end;
}
.course-detail-primary-action small {
  color: #7b8991;
  font-size: .68rem;
}
.course-detail-enroll {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .68rem 1.05rem;
  border: 1px solid var(--primary);
  border-radius: .55rem;
  background: var(--primary);
  color: #fff !important;
  font-size: .86rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.course-detail-enroll:hover,
.course-detail-enroll:focus-visible {
  transform: translateY(-1px);
  border-color: #0d8ec4;
  background: #0d8ec4;
  color: #fff !important;
  text-decoration: none;
}
.course-detail-address {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-top: 1rem;
  padding: .72rem .8rem;
  border: 1px solid #dce9e2;
  border-radius: .62rem;
  background: rgba(244, 250, 247, .9);
}
.course-detail-address__icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  border-radius: .55rem;
  background: rgba(45, 106, 79, .1);
  color: var(--price-trust);
}
.course-detail-address__icon svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}
.course-detail-address span:last-child {
  min-width: 0;
}
.course-detail-address small,
.course-detail-address strong {
  display: block;
}
.course-detail-address small {
  margin-bottom: .08rem;
  color: #78877f;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.course-detail-address strong {
  overflow-wrap: anywhere;
  color: #2a4135;
  font-size: .86rem;
  line-height: 1.4;
}

.course-detail-schedules {
  padding: 1.15rem 1.2rem 1.2rem;
  background: #fff;
}
.course-detail-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: .75rem 1rem;
  margin-bottom: .8rem;
}
.course-detail-section-head h2 {
  margin: .2rem 0 0;
  color: #1c2d36;
  font-size: 1.08rem;
  line-height: 1.35;
}
.course-detail-section-head > span {
  flex: 0 0 auto;
  padding: .25rem .55rem;
  border-radius: 999px;
  background: #edf8f2;
  color: var(--price-trust);
  font-size: .7rem;
  font-weight: 650;
}
.course-detail-schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}
.course-detail-schedule {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-width: 0;
  padding: .72rem .78rem;
  border: 1px solid #e0e9ee;
  border-radius: .62rem;
  background: #f9fcfd;
}
.course-detail-schedule__number {
  display: inline-grid;
  flex: 0 0 auto;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(30, 175, 237, .11);
  color: #147da8;
  font-size: .75rem;
  font-weight: 700;
}
.course-detail-schedule small,
.course-detail-schedule strong {
  display: block;
}
.course-detail-schedule small {
  margin-bottom: .08rem;
  color: #87949c;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.course-detail-schedule strong {
  color: #2a3b44;
  font-size: .82rem;
  line-height: 1.4;
}

.course-detail-content {
  padding: 1.25rem 1.3rem;
  background: #fff;
}
.course-detail-body {
  margin: 0;
}
.course-detail-body > :first-child {
  margin-top: 0 !important;
}
.course-detail-body > :last-child {
  margin-bottom: 0 !important;
}

.course-detail-closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1.1rem 1.2rem;
  background:
    radial-gradient(circle at 92% 20%, rgba(124, 209, 245, .13), transparent 30%),
    #162d38;
  color: #fff;
}
.course-detail-closing .course-detail-eyebrow {
  color: #7cd1f5;
}
.course-detail-closing h2 {
  margin: .2rem 0 .25rem;
  color: #fff;
  font-size: 1.15rem;
  line-height: 1.35;
}
.course-detail-closing p:last-child {
  margin: 0;
  color: #c3d1d7;
  font-size: .8rem;
}
.course-detail-closing .course-detail-enroll {
  border-color: #7cd1f5;
  background: #7cd1f5;
  color: #123343 !important;
}
.course-detail-closing .course-detail-enroll:hover,
.course-detail-closing .course-detail-enroll:focus-visible {
  border-color: #fff;
  background: #fff;
  color: #123343 !important;
}

@media (max-width: 767.98px) {
  .course-detail-hero__head,
  .course-detail-facts-row,
  .course-detail-closing {
    align-items: stretch;
    flex-direction: column;
  }
  .course-detail-price-block {
    align-self: flex-start;
    text-align: left;
  }
  .course-detail-primary-action {
    width: 100%;
    justify-items: stretch;
  }
  .course-detail-primary-action small {
    text-align: center;
  }
  .course-detail-enroll {
    width: 100%;
  }
  .course-detail-schedule-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575.98px) {
  .course-detail-hero,
  .course-detail-schedules,
  .course-detail-content,
  .course-detail-closing {
    padding: 1rem;
    border-radius: .75rem;
  }
  .course-detail-hero__nav,
  .course-detail-section-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .course-detail-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: .75rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .course-detail-enroll {
    transition: none;
  }
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.notice {
  padding: .85rem 1rem;
  border-radius: .5rem;
  border: 1px solid var(--line);
  margin-bottom: 1rem;
}
.notice-ok { border-color: #b7e4c7; background: #d8f3dc; color: #1b4332; }
.notice-warn { border-color: #ffe08a; background: #fff3cd; }
.notice-danger { border-color: #f5c2c7; background: #f8d7da; }
.notice-info { border-color: #b6d4fe; background: #cff4fc; }

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  height: 0 !important;
  width: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.pager { display: flex; gap: .4rem; list-style: none; padding: 0; margin: 2rem 0 0; flex-wrap: wrap; }
.pager a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  color: var(--primary);
}
.pager .active a, .pager a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ——— Enroll wizard (FR-045) ——— */
.enroll-shell { max-width: 40rem; }
.enroll-alert { margin-top: .5rem; }

.enroll-steps { margin: 0 0 1.35rem; }
.enroll-steps ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: .35rem;
  counter-reset: none;
}
.enroll-steps li {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  text-align: center;
  position: relative;
  color: #9aa3ad;
  font-size: .78rem;
  font-weight: 500;
}
.enroll-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: .85rem;
  left: calc(50% + 1.1rem);
  right: calc(-50% + 1.1rem);
  height: 2px;
  background: var(--line);
  z-index: 0;
}
.enroll-steps li.is-done:not(:last-child)::after,
.enroll-steps li.is-current:not(:last-child)::after { background: #9fd8f0; }
.enroll-steps__num {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef2f5;
  color: #7a8590;
  font-size: .85rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
  border: 2px solid transparent;
}
.enroll-steps li.is-current .enroll-steps__num {
  background: var(--primary);
  color: #fff;
  border-color: #b6e6f8;
  box-shadow: 0 0 0 3px rgba(30, 175, 237, .15);
}
.enroll-steps li.is-done .enroll-steps__num {
  background: #e8f7fd;
  color: var(--primary);
  border-color: #c5eaf8;
}
.enroll-steps li.is-current .enroll-steps__label,
.enroll-steps li.is-done .enroll-steps__label { color: #334155; }
.enroll-steps li.is-optional .enroll-steps__label::after { content: ""; }

.enroll-course-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem 1rem;
  margin: 0 0 1.35rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, #f3fafd 0%, #f8fbfc 55%, #fff 100%);
  border: 1px solid #e2eef4;
  border-radius: .65rem;
}
.enroll-course-bar__kicker {
  margin: 0 0 .2rem;
  font-size: .8rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #7a8a96;
}
.enroll-course-bar__title {
  margin: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  line-height: 1.35;
  color: rgba(0,0,0,.85);
}
.enroll-price-pill {
  display: inline-block;
  padding: .35rem .7rem;
  border-radius: .4rem;
  background: #e8f5ef;
  color: var(--price-trust);
  font-weight: 600;
  font-size: .95rem;
  white-space: nowrap;
}
.enroll-price-pill--free { background: #eef7fb; color: #0d7aa8; }

.enroll-section-head { margin: 0 0 1.15rem; }
.enroll-section-head h2 {
  margin: 0 0 .35rem;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
}
.enroll-section-head p { margin: 0; color: var(--muted); font-size: .95rem; }

.enroll-form .enroll-field { margin-bottom: 1.15rem; }
.enroll-form label,
.enroll-label {
  display: block;
  font-weight: 600;
  margin-bottom: .4rem;
  color: #2b3540;
  font-size: .92rem;
}
.enroll-req { color: #c45c5c; }
.enroll-optional { font-weight: 400; color: #8a949e; font-size: .85rem; }
.enroll-input {
  border-radius: .45rem !important;
  border-color: #d5dde3 !important;
  padding: .7rem .85rem !important;
  font-size: 1rem !important;
  min-height: 2.75rem;
}
.enroll-input:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(30, 175, 237, .18) !important;
}
textarea.enroll-input { min-height: 5.5rem; resize: vertical; }
.enroll-help { display: block; margin-top: .4rem; font-size: .86rem; color: #6b7782; line-height: 1.45; }

.enroll-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}
.enroll-chip {
  position: relative;
  flex: 1 1 10rem;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  margin: 0;
  padding: .85rem 1.85rem .85rem 1rem;
  border: 1.5px solid #d7e0e6;
  border-radius: .55rem;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.enroll-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.enroll-chip__title {
  font-weight: 600;
  color: #24303a;
  font-size: .95rem;
}
.enroll-chip__hint {
  font-size: .86rem;
  color: #6b7782;
  line-height: 1.4;
}
.enroll-chip:hover { border-color: #9fd0e6; }
.enroll-chip.is-selected {
  border-color: var(--primary);
  background: #f3faff;
  box-shadow: 0 0 0 3px rgba(30, 175, 237, .12);
}
.enroll-chip.is-selected::after {
  content: "✓";
  position: absolute;
  top: .55rem;
  right: .7rem;
  color: var(--price-trust);
  font-size: .95rem;
  font-weight: 500;
  line-height: 1;
  opacity: .9;
}
.enroll-chip--session { flex: 1 1 12rem; }
.enroll-chip--session.is-selected {
  border-color: var(--price-trust);
  background: #f0faf4;
  box-shadow: 0 0 0 3px rgba(45, 106, 79, .14);
}

.enroll-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: .55rem .85rem;
  margin: 0 0 1rem;
  padding: .85rem 1rem;
  background: #f7fafb;
  border-radius: .5rem;
  border: 1px solid #e6eef2;
}
.enroll-summary span {
  display: block;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #8a949e;
  margin-bottom: .15rem;
}
.enroll-summary strong {
  font-size: .92rem;
  color: #24303a;
  font-weight: 600;
}

.enroll-cta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.35rem;
  padding-top: .25rem;
}
.enroll-cta-bar__primary {
  min-width: min(100%, 16rem);
  justify-content: center;
  text-align: center;
  padding: .85rem 1.25rem;
  font-size: 1rem;
}

.enroll-success {
  text-align: left;
  padding: .25rem 0 1rem;
}
.enroll-success__title-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 1rem;
}
.enroll-success__badge {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8f5ef;
  color: var(--price-trust);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1;
}
.enroll-success__heading {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  line-height: 1.25;
}
.enroll-success__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.25rem;
}

.enroll-pay-methods { border: 0; padding: 0; margin: 0 0 .85rem; }
.enroll-pay-methods legend {
  font-weight: 600;
  margin-bottom: .55rem;
  font-size: .92rem;
  color: #2b3540;
}
.enroll-transfer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .75rem;
  margin: 0 0 .85rem;
  padding: .65rem .85rem;
  background: #f7f9fb;
  border-left: 3px solid var(--primary);
  border-radius: 0 .4rem .4rem 0;
}
.enroll-transfer-content__label { font-size: .85rem; color: #666; width: 100%; }
.enroll-transfer-content__value { font-size: 1.05rem; letter-spacing: .01em; flex: 1 1 auto; color: #1a2330; }
.enroll-transfer-content__copy {
  margin-left: auto;
  padding: .35rem .8rem;
  font-size: .82rem;
  line-height: 1.2;
  cursor: pointer;
}
.enroll-transfer-content__copy.is-copied {
  border-color: var(--primary);
  color: var(--primary);
}
.enroll-pay-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .85rem 1.15rem;
  align-items: start;
}
.enroll-pay-grid__info h3 { font-size: 1.1rem; margin: 0 0 .45rem; }
.enroll-pay-grid__qr img,
.enroll-qr-img {
  display: block;
  width: 260px;
  height: auto;
  max-height: min(280px, 38vh);
  object-fit: contain;
  object-position: top center;
  background: #fff;
  border: 1px solid var(--line, #e5e5e5);
}
.enroll-pay-panel.bank-panel { margin-bottom: .55rem; padding: .7rem .9rem; }
.enroll-pay-panel .bank-dl { margin-bottom: .3rem; }
.enroll-pay-panel .bank-note { margin: 0; font-size: .88rem; }
.enroll-qr img { max-width: 220px; height: auto; }
.enroll-success-instructions { margin-top: 1rem; }
@media (max-width: 767.98px) {
  .enroll-pay-grid { grid-template-columns: 1fr; }
  .enroll-pay-grid__qr img,
  .enroll-qr-img { width: min(220px, 70vw); max-height: none; margin: 0 auto; }
  .enroll-shell { padding-bottom: 1rem; }
  .enroll-cta-bar {
    position: sticky;
    bottom: 0;
    z-index: 30;
    margin: 1.1rem -.35rem 0;
    padding: .8rem .9rem calc(.85rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(20, 45, 70, .07);
    flex-direction: column;
  }
  .enroll-cta-bar__primary,
  .enroll-cta-bar .btn-line {
    width: 100%;
    min-width: 0;
    text-align: center;
    justify-content: center;
  }
  .enroll-steps__label { font-size: .7rem; }
  .enroll-chip { flex: 1 1 100%; }
}

@media (max-width: 991.98px) {
  .page-inner { padding: 4.5rem 1.15rem 3rem; }
}
