/* =================================================================
   PTEClasses — Components & layout
   ================================================================= */

/* ---------- Announcement / sticky top bar ---------- */
.topbar {
  background: linear-gradient(90deg, var(--c-primary-700), var(--c-primary));
  color: #fff; font-size: .85rem; text-align: center; padding: 8px 16px;
}
.topbar a { color: #fff; font-weight: 600; text-decoration: underline; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000; background: var(--c-primary);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(15,27,61,.18); }
.nav-wrap { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 24px); min-height: var(--header-h); }
.site-brand { display: inline-flex; align-items: center; flex: 0 0 auto; min-width: 0; line-height: 0; }
.site-brand > a,
.site-brand .custom-logo-link {
  display: inline-flex; align-items: center; justify-content: flex-start; line-height: 0;
}
.site-brand img,
.site-brand .custom-logo {
  display: block; width: auto; height: auto; max-width: 172px; max-height: 46px; object-fit: contain;
}

.primary-nav { margin-left: auto; min-width: 0; }
.primary-nav > ul { display: flex; align-items: center; gap: 4px; }
.primary-nav li { position: relative; }
.primary-nav a {
  display: inline-flex; align-items: center; gap: 5px; color: #eaf0ff; font-family: var(--font-head);
  font-weight: 500; font-size: .94rem; padding: 10px 13px; border-radius: 8px;
}
.primary-nav > ul > li > a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a { color: #fff; background: rgba(255,255,255,.12); }
.primary-nav .menu-item-has-children > a::after {
  content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); margin-left: 2px; margin-top: -3px; transition: transform .2s var(--ease);
}
.primary-nav .menu-item-has-children:hover > a::after,
.primary-nav .menu-item-has-children.submenu-open > a::after,
.primary-nav .menu-item-has-children > a[aria-expanded="true"]::after { transform: rotate(225deg); margin-top: 2px; }

/* Dropdowns */
.primary-nav .sub-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; background: #fff;
  border: 1px solid var(--c-line); border-radius: var(--r); box-shadow: var(--shadow-lg);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .2s var(--ease); z-index: 50;
}
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu,
.primary-nav li.submenu-open > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.primary-nav .sub-menu a { color: var(--c-body); width: 100%; padding: 9px 12px; border-radius: 8px; font-weight: 500; }
.primary-nav .sub-menu a:hover { background: var(--c-primary-050); color: var(--c-primary); }
.primary-nav .sub-menu .sub-menu { top: -8px; left: calc(100% + 6px); }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-search-toggle { background: transparent; border: 0; color: #fff; padding: 6px; display: inline-flex; }
.nav-search-toggle svg { width: 20px; height: 20px; }

/* Header expandable search */
.header-search { max-height: 0; overflow: hidden; background: #fff; border-top: 0; transition: max-height .3s var(--ease); box-shadow: var(--shadow-sm); }
.header-search.open { max-height: 96px; }
.header-search .container { padding-block: 16px; }
.header-search form { display: flex; gap: 10px; }
.header-search input[type="search"] { flex: 1; padding: 12px 16px; border: 1px solid var(--c-line); border-radius: var(--r-sm); font-size: .95rem; }
.header-search button { background: var(--c-primary); color: #fff; border: 0; border-radius: var(--r-sm); padding: 0 20px; font-family: var(--font-head); font-weight: 600; }

/* Mobile toggle */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: transparent; border: 0; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .25s var(--ease); }

/* Dedicated submenu button: hidden on desktop, exposed on touch layouts. */
.submenu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: inherit;
}
.submenu-toggle span {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform .2s var(--ease);
}
.menu-item-has-children.submenu-open > .submenu-toggle span,
.submenu-toggle[aria-expanded="true"] span {
  transform: rotate(225deg) translate(-1px, -1px);
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { background: var(--c-blue-bleed); color: #fff; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(255,255,255,.10), transparent 70%); border-radius: 50%;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-block: clamp(40px, 6vw, 84px); position: relative; z-index: 2; }
.hero h1 { color: #fff; margin-bottom: 16px; }
.hero h1 .hl { color: var(--c-yellow); }
.hero p.lead { color: #dce7ff; font-size: 1.1rem; max-width: 520px; margin-bottom: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.hero-stats { display: flex; gap: 26px; flex-wrap: wrap; }
.hero-stats .num { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: #fff; }
.hero-stats .lbl { font-size: .82rem; color: #c9d8ff; }
.hero-visual { position: relative; }
.hero-visual img, .hero-visual svg { width: 100%; filter: drop-shadow(0 24px 40px rgba(0,0,0,.18)); }

/* ---------- Discover/accordion ---------- */
.accordion { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.acc-item { border: 1px solid var(--c-line); border-radius: var(--r); background: #fff; overflow: hidden; }
.acc-head {
  width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 18px 22px; background: #fff; border: 0; font-family: var(--font-head);
  font-weight: 600; color: var(--c-ink); font-size: 1.02rem;
}
.acc-head .icon { width: 24px; height: 24px; flex-shrink: 0; position: relative; }
.acc-head .icon::before, .acc-head .icon::after {
  content: ""; position: absolute; background: var(--c-primary); border-radius: 2px;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.acc-head .icon::before { width: 14px; height: 2px; }
.acc-head .icon::after { width: 2px; height: 14px; transition: transform .25s var(--ease); }
.acc-item.open .acc-head .icon::after { transform: translate(-50%, -50%) scaleY(0); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.acc-body-inner { padding: 0 22px 20px; color: var(--c-body); }

/* ---------- Choose / 3-up feature cards ---------- */
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.feature-card { padding: 30px 26px; text-align: center; }
.feature-card .ico {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 18px; display: grid; place-items: center;
  background: var(--c-primary-050); color: var(--c-primary);
}
.feature-card .ico svg { width: 30px; height: 30px; }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature-card p { font-size: .95rem; color: var(--c-muted); }

/* ---------- Split / AI evaluation ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split--rev .split-media { order: 2; }
.split-media img, .split-media svg { width: 100%; }
.split h2 { margin-bottom: 14px; }
.check-list { display: grid; gap: 14px; margin: 22px 0 26px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--c-body); }
.check-list .ck {
  width: 24px; height: 24px; border-radius: 50%; background: var(--c-success); color: #fff; flex-shrink: 0;
  display: grid; place-items: center; margin-top: 2px;
}
.check-list .ck svg { width: 14px; height: 14px; }

/* ---------- Advanced features grid ---------- */
.features-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat-pill {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #fff;
  border: 1px solid var(--c-line); border-radius: var(--r); box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.feat-pill:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--c-primary-100); }
.feat-pill .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--c-primary-050); color: var(--c-primary); display: grid; place-items: center; flex-shrink: 0; }
.feat-pill .ico svg { width: 22px; height: 22px; }
.feat-pill span { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--c-ink); }

/* ---------- Stats band ---------- */
.stats-band { background: var(--c-bg-soft2); }
.stats-grid { grid-template-columns: repeat(4, 1fr); text-align: center; }
.stat .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.7rem); color: var(--c-primary); }
.stat .lbl { color: var(--c-muted); font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 46px; align-items: center; }
.about-grid h3 { margin: 18px 0 6px; }
.about-badge { display:inline-block; background: var(--c-yellow); color:#3a2c00; font-weight:700; font-family:var(--font-head); font-size:.72rem; letter-spacing:.1em; padding:6px 12px; border-radius: var(--r-pill); margin-bottom: 14px; }

/* ---------- Pricing ---------- */
.pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card { padding: 30px 26px; display: flex; flex-direction: column; position: relative; }
.price-card.is-featured { border-color: var(--c-primary); box-shadow: var(--shadow-blue); transform: translateY(-6px); }
.price-card .ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--c-primary); color: #fff;
  font-size: .72rem; font-weight: 700; font-family: var(--font-head); letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 16px; border-radius: var(--r-pill);
}
.price-card .plan-name { font-family: var(--font-head); font-weight: 600; color: var(--c-primary); letter-spacing: .02em; }
.price-card .price { font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; color: var(--c-ink); line-height: 1.1; margin: 6px 0 4px; }
.price-card .price small { font-size: .9rem; color: var(--c-muted); font-weight: 500; }
.price-card .price-note { color: var(--c-muted); font-size: .85rem; margin-bottom: 18px; }
.price-card ul.plan-feats { display: grid; gap: 11px; margin: 6px 0 24px; }
.price-card ul.plan-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--c-body); }
.price-card ul.plan-feats li svg { width: 17px; height: 17px; color: var(--c-success); flex-shrink: 0; margin-top: 3px; }
.price-card .btn { margin-top: auto; }

/* ---------- App download ---------- */
.app-cta { background: var(--c-blue-bleed); color: #fff; text-align: center; overflow: hidden; position: relative; }
.app-cta h2 { color: #fff; }
.app-cta p { color: #d7e3ff; max-width: 620px; margin: 0 auto 26px; }
.app-cta .store-badges { justify-content: center; margin-bottom: 40px; }
.phones { display: flex; justify-content: center; align-items: flex-end; gap: 18px; }
.phone-mock {
  width: 190px; aspect-ratio: 9/18; background: #fff; border-radius: 26px; border: 6px solid #0d1530;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.phone-mock:nth-child(2) { transform: translateY(-22px); }
.phone-mock img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- FAQ (AEO) ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--c-line); border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item.open { border-color: var(--c-primary-100); }
.faq-q {
  width: 100%; text-align: left; display: flex; justify-content: space-between; gap: 18px; align-items: center;
  padding: 20px 24px; background: #fff; border: 0; font-family: var(--font-head); font-weight: 600; color: var(--c-ink); font-size: 1.02rem;
}
.faq-q .pm { width: 26px; height: 26px; border-radius: 50%; background: var(--c-primary-050); color: var(--c-primary); display: grid; place-items: center; flex-shrink: 0; position: relative; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq-q .pm::before { width: 11px; height: 2px; }
.faq-q .pm::after { width: 2px; height: 11px; transition: transform .25s var(--ease); }
.faq-item.open .faq-q .pm { background: var(--c-primary); color: #fff; }
.faq-item.open .faq-q .pm::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a-inner { padding: 0 24px 22px; color: var(--c-body); }

/* ---------- Testimonials ---------- */
.testi-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card { padding: 30px 26px; position: relative; }
.testi-card .quote-mark { font-family: var(--font-head); font-size: 3rem; line-height: 1; color: var(--c-primary); opacity: .25; }
.testi-card p { color: var(--c-body); font-size: .96rem; margin: 6px 0 18px; }
.testi-card .who { display: flex; align-items: center; gap: 12px; }
.testi-card .who .av { width: 44px; height: 44px; border-radius: 50%; background: var(--c-primary); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.testi-card .who .nm { font-family: var(--font-head); font-weight: 600; color: var(--c-ink); font-size: .92rem; }
.testi-card .who .meta { font-size: .8rem; color: var(--c-muted); }
.stars { display: inline-flex; gap: 2px; color: var(--c-yellow); margin-bottom: 6px; }
.stars svg { width: 16px; height: 16px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; }
.contact-info .ci-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info .ci-item .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--c-primary-050); color: var(--c-primary); display: grid; place-items: center; flex-shrink: 0; }
.contact-info .ci-item h4 { font-size: 1rem; margin-bottom: 2px; }
.contact-info .ci-item p, .contact-info .ci-item a { color: var(--c-muted); font-size: .92rem; }
.contact-form { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-family: var(--font-head); font-size: .85rem; color: var(--c-ink); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--c-line); border-radius: var(--r-sm);
  font-family: var(--font-body); font-size: .95rem; color: var(--c-ink); background: var(--c-bg-soft);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px var(--c-primary-100); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0b78f2 0%, #0759ce 58%, #0750bd 100%);
  color: #fff;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 92% 2%, rgba(255,255,255,.08), transparent 34%);
}
.footer-main { position: relative; padding: 58px 0 0; }
.footer-container { max-width: 1240px; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(290px, 1.45fr) minmax(145px, .72fr) minmax(170px, .86fr) minmax(330px, 1.72fr);
  gap: clamp(34px, 5vw, 74px);
  align-items: start;
}
.footer-logo { margin: 0 0 42px; font-size: clamp(1.8rem, 2vw, 2.1rem); line-height: 1; }
.footer-logo a { color: #fff; font-family: var(--font-head); font-weight: 700; letter-spacing: -.03em; }
.footer-logo a:hover { color: #fff; opacity: .9; }
.footer-address {
  margin: 0 0 4px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-style: normal;
  font-weight: 500;
  line-height: 2;
}
.footer-email { display: flex; flex-wrap: wrap; gap: 0; margin: 0; color: #fff; font-size: 1rem; line-height: 1.9; }
.footer-email strong { color: #fff; }
.footer-email a { color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.footer-email a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-heading {
  margin: 2px 0 23px;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.03rem;
  font-weight: 700;
  line-height: 1.25;
}
.footer-links { display: grid; gap: 19px; }
.footer-links a {
  display: inline-block;
  color: rgba(255,255,255,.84);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25;
  transition: color .2s var(--ease), transform .2s var(--ease);
}
.footer-links a:hover,
.footer-links a:focus-visible { color: #fff; transform: translateX(2px); }
.footer-newsletter > p {
  max-width: 425px;
  margin: 0 0 38px;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.65;
}
.newsletter-form { width: 100%; }
.newsletter-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
  max-width: 430px;
  min-height: 54px;
}
.newsletter-control input {
  min-width: 0;
  width: 100%;
  height: 54px;
  padding: 0 17px;
  border: 1px solid rgba(255,255,255,.26);
  border-right: 0;
  border-radius: 5px 0 0 5px;
  outline: 0;
  background: rgba(0,0,0,.03);
  color: #fff;
  font-family: var(--font-body);
  font-size: .96rem;
  box-shadow: none;
}
.newsletter-control input::placeholder { color: rgba(255,255,255,.72); }
.newsletter-control input:focus { border-color: rgba(255,255,255,.72); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.newsletter-control button {
  min-width: 140px;
  height: 54px;
  padding: 0 25px;
  border: 0;
  border-radius: 0 5px 5px 0;
  background: #d90808;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  transition: background .2s var(--ease), transform .15s var(--ease), opacity .2s var(--ease);
}
.newsletter-control button:hover { background: #bd0000; }
.newsletter-control button:active { transform: translateY(1px); }
.newsletter-control button:disabled { cursor: wait; opacity: .72; }
.newsletter-status { min-height: 52px; margin: 17px 0 0; color: #fff; font-size: .97rem; font-weight: 500; line-height: 1.65; }
.newsletter-status.is-error { color: #fff1a8; }
.newsletter-status.is-success { color: #fff; }
.footer-social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.footer-social a {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.44);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.footer-social a:hover { border-color: #fff; background: #fff; color: #0964d8; transform: translateY(-2px); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom {
  display: block;
  margin-top: 76px;
  padding: 30px 0 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #fff;
  text-align: center;
}
.footer-bottom p { margin: 0; color: #fff; font-size: .96rem; font-weight: 600; }

/* =================================================================
   Module pages
   ================================================================= */
.module-hero { padding-block: clamp(36px, 5vw, 64px); }
.module-hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 36px; align-items: center; }
.module-hero h1 { margin-bottom: 14px; }
.module-hero p { color: var(--c-body); margin-bottom: 20px; }
.module-badge {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--shadow);
  padding: 26px; text-align: center;
}
.module-badge .badge-ico { width: 90px; height: 90px; margin: 0 auto 14px; border-radius: 24px; background: var(--c-primary-050); display: grid; place-items: center; color: var(--c-primary); }
.module-badge .badge-ico svg { width: 48px; height: 48px; }
.module-badge h3 { color: var(--c-primary); }
.module-badge .badge-tag { color: var(--c-muted); font-size: .85rem; letter-spacing: .08em; }

/* Session overview table */
.overview-table-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); background:#fff; }
table.overview-table { width: 100%; border-collapse: collapse; min-width: 720px; }
table.overview-table th, table.overview-table td { text-align: left; padding: 16px 18px; font-size: .9rem; vertical-align: top; }
table.overview-table thead th { font-family: var(--font-head); color: var(--c-ink); border-bottom: 2px solid var(--c-line); font-size: .82rem; letter-spacing: .03em; }
table.overview-table tbody tr + tr { border-top: 1px solid var(--c-line-soft); }
table.overview-table td:first-child { font-weight: 600; color: var(--c-ink); font-family: var(--font-head); }
table.overview-table tbody tr:hover { background: var(--c-bg-soft); }

/* Intro 3-up */
.intro-3 { grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.intro-3 .ic-circle { width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; background: var(--c-primary-050); display: grid; place-items: center; color: var(--c-primary); }
.intro-3 .ic-circle svg { width: 38px; height: 38px; }
.intro-3 h4 { margin-bottom: 8px; }
.intro-3 p { font-size: .92rem; color: var(--c-muted); }

/* Task cards */
.task-card { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; padding: 30px; margin-bottom: 22px; }
.task-card:nth-child(even) .task-media { order: -1; }
.task-card h3 { margin-bottom: 14px; }
.task-card .tc-block { margin-bottom: 12px; }
.task-card .tc-block strong { display: block; font-family: var(--font-head); color: var(--c-ink); font-size: .92rem; }
.task-card .tc-block p, .task-card .tc-block { color: var(--c-body); font-size: .93rem; }
.task-media {
  background: var(--c-primary); border-radius: var(--r-lg); aspect-ratio: 16/10; position: relative;
  display: grid; place-items: center; overflow: hidden; box-shadow: var(--shadow);
}
.task-media .play { width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; }
.task-media .play svg { width: 26px; height: 26px; color: var(--c-primary); margin-left: 3px; }
.task-media .vlabel { position: absolute; left: 0; right: 0; top: 24px; text-align: center; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; padding: 0 16px; }
.task-media .vtime { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.5); color: #fff; font-size: .75rem; padding: 3px 8px; border-radius: 6px; }
.task-media a.cover { position: absolute; inset: 0; }


/* Text-led task cards used by long-form module content */
.task-card--text { grid-template-columns: 1fr; align-items: start; }
.task-card--text .task-copy { width: 100%; }
.task-card--text h2 { margin-bottom: 18px; font-size: clamp(1.35rem, 2vw, 1.75rem); }
.task-card--text .task-blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; }
.task-card--text .tc-block { margin: 0; padding: 14px 16px; border-radius: var(--r); background: var(--c-bg-soft); border: 1px solid var(--c-line-soft); }
.task-card--text .tc-block--note { background: #fff8dc; border-color: #f0d975; }
.task-card--text .read-more { display: inline-flex; margin-top: 20px; }
.module-intro p + p { margin-top: 14px; }

/* Module FAQ accordion */
.container--narrow { max-width: 900px; }
.faq-list { display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 600; color: var(--c-ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--c-primary); }
.faq-toggle { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: var(--c-primary-050); color: var(--c-primary); display: grid; place-items: center; font-size: 1.25rem; line-height: 1; transition: transform .2s var(--ease); }
.faq-item[open] .faq-toggle { transform: rotate(45deg); }
.faq-answer { padding: 0 22px 20px; color: var(--c-body); }
.faq-answer p { margin: 0; }

/* =================================================================
   Blog
   ================================================================= */
.page-hero { background: var(--c-bg-soft2); padding-block: clamp(34px, 5vw, 60px); text-align: center; }
.page-hero h1 { margin-bottom: 8px; }
.page-hero .crumbs { color: var(--c-muted); font-size: .88rem; }
.page-hero .crumbs a { color: var(--c-primary); }

.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.posts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.post-card { overflow: hidden; display: flex; flex-direction: column; }
.post-card .thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(180deg, #f7f9ff 0%, #eef3ff 100%);
  display: grid;
  place-items: center;
  padding: 14px;
}
.post-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  transition: transform .35s var(--ease);
  border-radius: calc(var(--r) - 4px);
  background: #fff;
}
.post-card:hover .thumb img { transform: scale(1.02); }
.post-card .pc-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-card .thumb .thumb-placeholder {
  width: 100% !important;
  height: 100% !important;
  border-radius: calc(var(--r) - 4px);
  text-align: center;
  padding: 18px;
}
.post-cat { display: inline-block; align-self: flex-start; background: var(--c-primary-050); color: var(--c-primary); font-size: .72rem; font-weight: 700; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .05em; padding: 4px 11px; border-radius: var(--r-pill); margin-bottom: 12px; }
.post-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.post-card h3 a { color: var(--c-ink); }
.post-card h3 a:hover { color: var(--c-primary); }
.post-card .excerpt { font-size: .92rem; color: var(--c-muted); margin-bottom: 16px; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 12px; font-size: .82rem; color: var(--c-muted); }
.post-meta .author { display: flex; align-items: center; gap: 8px; }
.post-meta .author img { width: 26px; height: 26px; border-radius: 50%; }
.read-more { font-family: var(--font-head); font-weight: 600; color: var(--c-primary); display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; }
.read-more svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.read-more:hover svg { transform: translateX(3px); }

/* Sidebar */
.sidebar .widget { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 24px; margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.sidebar .widget-title { font-size: 1.05rem; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--c-primary-050); }
.sidebar ul li { padding: 8px 0; border-bottom: 1px solid var(--c-line-soft); }
.sidebar ul li:last-child { border-bottom: 0; }
.sidebar ul li a { color: var(--c-body); font-size: .92rem; }
.sidebar ul li a:hover { color: var(--c-primary); }
.sidebar-cta { background: var(--c-blue-bleed); color: #fff; text-align: center; }
.sidebar-cta .widget-title, .sidebar-cta h4 { color: #fff; border: 0; }
.sidebar-cta p { color: #d7e3ff; font-size: .9rem; margin-bottom: 14px; }

/* Single post */
.single-wrap { max-width: 820px; margin: 0 auto; }
.entry-header h1 { margin-bottom: 14px; }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; color: var(--c-muted); font-size: .88rem; margin-bottom: 24px; }
.entry-meta .author { display: flex; align-items: center; gap: 8px; }
.entry-meta .author img { width: 32px; height: 32px; border-radius: 50%; }
.entry-thumb { border-radius: var(--r-lg); overflow: hidden; margin-bottom: 30px; box-shadow: var(--shadow); }
.entry-content { font-size: 1.05rem; line-height: 1.8; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { margin-top: 1.6em; margin-bottom: .2em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content ul li { list-style: disc; margin-bottom: .4em; }
.entry-content ol li { list-style: decimal; margin-bottom: .4em; }
.entry-content img { border-radius: var(--r); margin-block: 1.2em; }
.entry-content blockquote { border-left: 4px solid var(--c-primary); background: var(--c-bg-soft); padding: 16px 22px; border-radius: 0 var(--r) var(--r) 0; font-style: italic; color: var(--c-ink); }
.entry-content a { text-decoration: underline; }

/* In-content app CTA */
.inline-cta { background: linear-gradient(120deg, var(--c-primary), var(--c-primary-600)); color: #fff; border-radius: var(--r-lg); padding: 28px 30px; margin: 30px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; box-shadow: var(--shadow-blue); }
.inline-cta h4 { color: #fff; font-size: 1.2rem; margin-bottom: 4px; }
.inline-cta p { color: #dde7ff; font-size: .92rem; }

.share-row { display: flex; align-items: center; gap: 10px; margin: 30px 0; padding: 20px 0; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.share-row span { font-family: var(--font-head); font-weight: 600; color: var(--c-ink); }
.share-row a { width: 38px; height: 38px; border-radius: 50%; background: var(--c-primary-050); color: var(--c-primary); display: grid; place-items: center; }
.share-row a:hover { background: var(--c-primary); color: #fff; }
.share-row svg { width: 18px; height: 18px; }

.related-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: var(--r-sm); border: 1px solid var(--c-line); color: var(--c-body); font-family: var(--font-head); font-weight: 600; background: #fff; }
.pagination .page-numbers:hover, .pagination .page-numbers.current { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* =================================================================
   Conversion elements
   ================================================================= */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 180; background: var(--c-ink); color: #fff;
  transform: translateY(110%); transition: transform .35s var(--ease); box-shadow: 0 -8px 30px rgba(0,0,0,.2);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .inner { display: flex; align-items: center; gap: 18px; padding: 12px 0; }
.sticky-cta .msg { display: flex; flex-direction: column; }
.sticky-cta .msg b { font-family: var(--font-head); font-size: .98rem; }
.sticky-cta .msg span { font-size: .8rem; color: #c2cbe6; }
.sticky-cta .sc-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.sticky-cta .close-sc { background: transparent; border: 0; color: #9fb1de; font-size: 1.4rem; line-height: 1; padding: 4px 8px; }

/* Exit-intent / modal */
.pte-modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; }
.pte-modal.open { display: flex; }
.pte-modal .overlay { position: absolute; inset: 0; background: rgba(8,14,34,.62); backdrop-filter: blur(3px); }
.pte-modal .modal-box { position: relative; z-index: 2; background: #fff; border-radius: var(--r-xl); max-width: 460px; width: 100%; padding: 40px 34px; text-align: center; box-shadow: var(--shadow-lg); animation: popIn .35s var(--ease); }
@keyframes popIn { from { opacity: 0; transform: translateY(20px) scale(.96); } to { opacity: 1; transform: none; } }
.pte-modal .modal-box .close-modal { position: absolute; top: 14px; right: 16px; background: transparent; border: 0; font-size: 1.6rem; color: var(--c-muted); line-height: 1; }
.pte-modal .modal-box .badge-ico { width: 70px; height: 70px; margin: 0 auto 16px; border-radius: 20px; background: var(--c-primary-050); color: var(--c-primary); display: grid; place-items: center; }
.pte-modal .modal-box h3 { margin-bottom: 8px; }
.pte-modal .modal-box p { color: var(--c-muted); margin-bottom: 22px; }
.pte-modal .store-badges { justify-content: center; }

/* Trust badges */
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; align-items: center; opacity: .9; }
.trust-row .trust-item { display: flex; align-items: center; gap: 9px; color: var(--c-muted); font-size: .88rem; font-family: var(--font-head); font-weight: 600; }
.trust-row .trust-item svg { width: 22px; height: 22px; color: var(--c-primary); }

/* Floating app smart-banner (mobile) */
.smart-banner { display: none; }

/* back-to-top */
.to-top { position: fixed; right: 20px; bottom: 84px; width: 46px; height: 46px; border-radius: 50%; background: var(--c-primary); color: #fff; border: 0; display: grid; place-items: center; box-shadow: var(--shadow-blue); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s var(--ease); z-index: 170; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 22px; height: 22px; }

/* WP alignment + caption helpers */
.alignleft { float: left; margin: 6px 24px 18px 0; }
.alignright { float: right; margin: 6px 0 18px 24px; }
.aligncenter { margin-inline: auto; }
.wp-caption-text { font-size: .82rem; color: var(--c-muted); text-align: center; margin-top: 6px; }
.sticky-post-badge { background: var(--c-yellow); color: #3a2c00; }

/* Search form */
.search-form { display: flex; gap: 10px; }
.search-form .search-field { flex: 1; padding: 12px 15px; border: 1px solid var(--c-line); border-radius: var(--r-sm); font-size: .95rem; background: var(--c-bg-soft); }
.search-form .search-field:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px var(--c-primary-100); background: #fff; }
.search-form .search-submit { background: var(--c-primary); color: #fff; border: 0; border-radius: var(--r-sm); padding: 0 20px; font-family: var(--font-head); font-weight: 600; cursor: pointer; white-space: nowrap; }
.search-form .search-submit:hover { background: var(--c-primary-600); }

/* Comments */
.comments-area { border-top: 1px solid var(--c-line); padding-top: 30px; }
.comments-title, .comment-reply-title { font-family: var(--font-head); }
.comment-list { display: grid; gap: 22px; }
.comment-list .comment-body { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); padding: 20px; }
.comment-list .children { margin-top: 20px; padding-left: 28px; border-left: 2px solid var(--c-primary-050); display: grid; gap: 20px; }
.comment-author { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; color: var(--c-ink); }
.comment-author img { border-radius: 50%; }
.comment-metadata, .comment-meta { font-size: .8rem; color: var(--c-muted); margin: 4px 0 10px; }
.comment-content { color: var(--c-body); font-size: .95rem; }
.comment-respond { margin-top: 30px; background: var(--c-bg-soft); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 26px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
  width: 100%; padding: 12px 15px; border: 1px solid var(--c-line); border-radius: var(--r-sm); font-family: var(--font-body); margin-top: 4px; background: #fff;
}
.comment-form p { margin-bottom: 14px; }
.comment-form label { font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--c-ink); }
.comment-form .form-submit input, .comment-form .submit { background: var(--c-primary); color: #fff; border: 0; padding: 13px 26px; border-radius: var(--r-pill); font-family: var(--font-head); font-weight: 600; cursor: pointer; }
.page-links { margin-top: 24px; font-family: var(--font-head); font-weight: 600; display: flex; gap: 8px; align-items: center; }
.page-links a, .page-links > span { display: grid; place-items: center; min-width: 36px; height: 36px; border: 1px solid var(--c-line); border-radius: var(--r-sm); }
.page-links a:hover { background: var(--c-primary); color: #fff; }

/* =================================================================
   Imported legacy blog content
   ================================================================= */
.entry-content .elementor,
.entry-content .elementor-section,
.entry-content .elementor-container,
.entry-content .elementor-column,
.entry-content .elementor-widget-wrap,
.entry-content .elementor-widget,
.entry-content .elementor-widget-container {
  width: 100%;
  max-width: 100%;
}
.entry-content .elementor-section,
.entry-content .elementor-container,
.entry-content .elementor-row { display: block; }
.entry-content .elementor-column { min-height: 0; }
.entry-content figure { max-width: 100%; }
.entry-content table { width: 100%; border-collapse: collapse; margin-block: 1.35em; }
.entry-content th,
.entry-content td { border: 1px solid var(--c-line); padding: 11px 13px; text-align: left; vertical-align: top; }
.entry-content th { background: var(--c-primary-050); color: var(--c-ink); font-family: var(--font-head); }
.entry-content iframe { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r); margin-block: 1.25em; }
.entry-content .wp-caption { max-width: 100%; }
.entry-content .wp-caption-text { margin-top: .5em; color: var(--c-muted); font-size: .9rem; text-align: center; }

/* =================================================================
   v1.14.0 — Editorial Blog Article System
   ================================================================= */
.container--article { max-width: 1040px; }
.article-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(38px, 6vw, 76px);
  background:
    radial-gradient(circle at 92% 10%, rgba(47,107,255,.16), transparent 34%),
    linear-gradient(145deg, #f7f9ff 0%, #eef3ff 100%);
  border-bottom: 1px solid var(--c-line);
}
.article-hero::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -100px;
  bottom: -150px;
  border-radius: 50%;
  border: 44px solid rgba(36,86,230,.06);
  pointer-events: none;
}
.article-hero .crumbs { margin-bottom: clamp(24px, 4vw, 42px); }
.article-hero__content { position: relative; z-index: 1; max-width: 900px; }
.article-hero__content .post-cat { margin-bottom: 16px; }
.article-hero__content h1 {
  max-width: 900px;
  margin: 0 0 18px;
  font-size: clamp(2rem, 5vw, 3.55rem);
  letter-spacing: -.035em;
  text-wrap: balance;
}
.article-hero__content .entry-meta { margin-bottom: 0; }
.single-article { background: #f8faff; }
.single-article .single-wrap { max-width: 960px; }
.single-article .entry-thumb {
  margin: 0 auto clamp(24px, 4vw, 38px);
  border: 1px solid rgba(15,27,61,.08);
  border-radius: clamp(16px, 2vw, 26px);
  box-shadow: 0 24px 65px rgba(15,27,61,.14);
}
.single-article .entry-thumb img { width: 100%; }
.article-content-card {
  padding: clamp(26px, 5vw, 64px);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: clamp(18px, 3vw, 28px);
  box-shadow: 0 18px 50px rgba(15,27,61,.08);
}
.article-content-card .entry-content { max-width: 790px; margin-inline: auto; }
.entry-content {
  color: #34405d;
  font-size: clamp(1rem, 1.5vw, 1.075rem);
  line-height: 1.82;
}
.entry-content > * + * { margin-top: 1.2em; }
.entry-content p { color: #3f4b66; }
.entry-content .article-lead {
  margin-bottom: 1.6em;
  color: var(--c-ink);
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  line-height: 1.72;
  font-weight: 500;
}
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  scroll-margin-top: calc(var(--header-h) + 28px);
  text-wrap: balance;
}
.entry-content h2 {
  position: relative;
  margin-top: clamp(2.1em, 6vw, 3.25em);
  margin-bottom: .7em;
  padding-top: .1em;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -.025em;
}
.entry-content h2::before {
  content: "";
  display: block;
  width: 46px;
  height: 4px;
  margin-bottom: 14px;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--c-primary), var(--c-yellow));
}
.entry-content h3 {
  margin-top: 2em;
  margin-bottom: .55em;
  font-size: clamp(1.22rem, 2vw, 1.5rem);
  letter-spacing: -.015em;
}
.entry-content h4 { margin-top: 1.65em; margin-bottom: .5em; font-size: 1.08rem; }
.entry-content ul,
.entry-content ol {
  display: grid;
  gap: .62em;
  margin-block: 1.25em;
  padding: 1.15em 1.3em 1.15em 2.8em;
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r);
  background: #fbfcff;
}
.entry-content ul li,
.entry-content ol li { margin: 0; padding-left: .18em; }
.entry-content ul li::marker { color: var(--c-primary); }
.entry-content ol li::marker { color: var(--c-primary); font-weight: 700; }
.entry-content a:not(.btn) {
  color: var(--c-primary-600);
  text-decoration-line: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}
.entry-content a:not(.btn):hover { color: var(--c-primary-700); }
.entry-content figure { margin-block: clamp(1.5em, 4vw, 2.35em); }
.entry-content img {
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.entry-content figcaption,
.entry-content .wp-caption-text {
  max-width: 680px;
  margin: .65em auto 0;
  color: var(--c-muted);
  font-size: .88rem;
  line-height: 1.55;
  text-align: center;
}
.entry-content blockquote {
  position: relative;
  margin-block: 1.7em;
  padding: 24px 26px 24px 30px;
  border: 1px solid var(--c-primary-100);
  border-left: 5px solid var(--c-primary);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  background: linear-gradient(135deg, #f5f8ff, #eef3ff);
  color: var(--c-ink);
  font-style: normal;
  box-shadow: var(--shadow-sm);
}
.entry-content blockquote p { color: inherit; }
.entry-content .article-callout {
  padding: 18px 20px;
  border: 1px solid #f0d778;
  border-left: 5px solid var(--c-yellow);
  border-radius: 0 var(--r) var(--r) 0;
  background: #fffaf0;
  color: #594500;
  font-weight: 500;
}
.article-table-wrap {
  width: 100%;
  margin-block: 1.8em;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}
.article-table-wrap:focus-visible { outline-offset: 4px; }
.entry-content .article-table-wrap table { min-width: 640px; margin: 0; border: 0; }
.entry-content .article-table-wrap th,
.entry-content .article-table-wrap td { padding: 14px 16px; border: 0; border-bottom: 1px solid var(--c-line-soft); }
.entry-content .article-table-wrap th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--c-primary-050);
  color: var(--c-ink);
  font-size: .88rem;
}
.entry-content .article-table-wrap tr:last-child td { border-bottom: 0; }
.entry-content .article-table-wrap tbody tr:nth-child(even) { background: #fbfcff; }

/* Accessible on-page navigation. */
.article-toc {
  margin: 1.8em 0 2.2em;
  overflow: hidden;
  border: 1px solid var(--c-primary-100);
  border-radius: var(--r-lg);
  background: linear-gradient(145deg, #f8faff, #eef3ff);
}
.article-toc__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: var(--c-ink);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.article-toc__summary::-webkit-details-marker { display: none; }
.article-toc__toggle {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  color: var(--c-primary);
  font-size: 1.2rem;
  transition: transform .2s var(--ease);
}
.article-toc[open] .article-toc__toggle { transform: rotate(45deg); }
.entry-content .article-toc__list {
  gap: 0;
  margin: 0;
  padding: 0 20px 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  list-style: none;
  counter-reset: article-toc;
}
.entry-content .article-toc__item {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid rgba(36,86,230,.1);
  list-style: none;
  counter-increment: article-toc;
}
.entry-content .article-toc__item::before {
  content: counter(article-toc, decimal-leading-zero);
  flex: 0 0 28px;
  color: var(--c-primary);
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
}
.entry-content .article-toc__item--h3 { padding-left: 20px; font-size: .94rem; }
.entry-content .article-toc__item a { color: var(--c-body); text-decoration: none; }
.entry-content .article-toc__item a:hover { color: var(--c-primary); }

/* FAQ section: one clean, full-width item per row. */
.article-faq {
  margin-top: clamp(2.5em, 7vw, 4em);
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--c-primary-100);
  border-radius: var(--r-xl);
  background: linear-gradient(145deg, #f7f9ff 0%, #eef3ff 100%);
}
.entry-content .article-faq__title { margin-top: 0; }
.entry-content .article-faq__title::before { margin-bottom: 12px; }
.article-faq__intro { margin: 0 0 22px; color: var(--c-muted); }
.article-faq__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.article-faq__item {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  background: #fff;
  box-shadow: 0 4px 14px rgba(15,27,61,.045);
}
.article-faq__item[open] { border-color: var(--c-primary-100); box-shadow: 0 8px 22px rgba(36,86,230,.09); }
.article-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 18px 20px;
  color: var(--c-ink);
  font-family: var(--font-head);
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}
.article-faq__question::-webkit-details-marker { display: none; }
.article-faq__question:hover { color: var(--c-primary); }
.article-faq__toggle {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--c-primary-050);
  color: var(--c-primary);
  font-size: 1.25rem;
  line-height: 1;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.article-faq__item[open] .article-faq__toggle { transform: rotate(45deg); background: var(--c-primary); color: #fff; }
.article-faq__answer { padding: 0 20px 20px; color: var(--c-body); }
.article-faq__answer > *:first-child { margin-top: 0; }
.article-faq__answer > *:last-child { margin-bottom: 0; }
.entry-content .article-faq__answer ul,
.entry-content .article-faq__answer ol { margin-block: .8em 0; }
.entry-content .article-faq-heading { margin-bottom: 1em; }
.entry-content .article-faq-question {
  margin: .75em 0 0;
  padding: 16px 18px;
  border: 1px solid var(--c-line);
  border-radius: var(--r) var(--r) 0 0;
  background: var(--c-primary-050);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  max-width: 790px;
  margin: 34px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
}
.article-tags__label { color: var(--c-ink); font-family: var(--font-head); font-size: .9rem; font-weight: 600; }
.article-tags a {
  padding: 6px 11px;
  border: 1px solid var(--c-primary-100);
  border-radius: var(--r-pill);
  background: var(--c-primary-050);
  color: var(--c-primary);
  font-size: .78rem;
  font-weight: 600;
}
.article-tags a:hover { background: var(--c-primary); color: #fff; }
.article-content-card .share-row { max-width: 790px; margin-inline: auto; }
.author-card {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  padding: clamp(22px, 4vw, 30px);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.author-card__avatar { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 50%; }
.author-card__content strong { display: block; color: var(--c-ink); font-family: var(--font-head); font-size: 1.08rem; }
.author-card__eyebrow { display: block; margin-bottom: 2px; color: var(--c-primary); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.author-card__content p { margin: 5px 0 0; color: var(--c-muted); font-size: .92rem; }
.single-article .inline-cta { margin-top: 28px; }

/* =================================================================
   v1.15.0 — Core Pages, Legal Content, Contact & Physical Mock Test
   ================================================================= */

/* Shared accessible helpers. */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.btn--outline-light {
  border: 1px solid rgba(255,255,255,.62);
  background: rgba(255,255,255,.06);
  color: #fff;
}
.btn--outline-light:hover,
.btn--outline-light:focus-visible {
  border-color: #fff;
  background: #fff;
  color: var(--c-primary);
}
.centered-actions { justify-content: center; }

/* Legal pages. */
.legal-hero { position: relative; overflow: hidden; }
.legal-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36,86,230,.12), transparent 68%);
  pointer-events: none;
}
.legal-section { background: linear-gradient(180deg, #fff 0%, var(--c-bg-soft) 100%); }
.legal-layout {
  display: grid;
  grid-template-columns: minmax(220px, .34fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  max-height: calc(100vh - var(--header-h) - 48px);
  overflow: auto;
  padding: 23px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.legal-toc > strong {
  display: block;
  margin-bottom: 13px;
  color: var(--c-ink);
  font-family: var(--font-head);
  font-size: .92rem;
}
.legal-toc ol { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; counter-reset: legal-toc; }
.legal-toc li { counter-increment: legal-toc; }
.legal-toc a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 8px 7px;
  border-radius: 8px;
  color: var(--c-body);
  font-size: .82rem;
  line-height: 1.4;
}
.legal-toc a::before {
  content: counter(legal-toc, decimal-leading-zero);
  color: var(--c-primary);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .03em;
  padding-top: 2px;
}
.legal-toc a:hover,
.legal-toc a:focus-visible { background: var(--c-primary-050); color: var(--c-primary); }
.legal-document {
  min-width: 0;
  padding: clamp(25px, 4vw, 48px);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--shadow);
}
.legal-summary {
  display: flex;
  gap: 17px;
  align-items: flex-start;
  margin-bottom: 34px;
  padding: 21px 23px;
  border: 1px solid var(--c-primary-100);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--c-primary-050), #fff);
  color: var(--c-primary);
}
.legal-summary > svg { flex: 0 0 auto; margin-top: 2px; }
.legal-summary strong { display: block; margin-bottom: 5px; color: var(--c-ink); font-family: var(--font-head); }
.legal-summary p { margin: 0; color: var(--c-body); }
.legal-block { scroll-margin-top: calc(var(--header-h) + 28px); padding-block: 4px 30px; }
.legal-block + .legal-block { padding-top: 30px; border-top: 1px solid var(--c-line-soft); }
.legal-block h2 { margin: 0 0 14px; font-size: clamp(1.35rem, 2.3vw, 1.75rem); }
.legal-block h3 { margin: 24px 0 8px; font-size: 1.08rem; }
.legal-block p { margin: 0 0 15px; line-height: 1.8; }
.legal-block ul,
.legal-block ol {
  display: grid;
  gap: 9px;
  margin: 16px 0 20px;
  padding: 17px 20px 17px 40px;
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r);
  background: var(--c-bg-soft);
}
.legal-block li { padding-left: 3px; line-height: 1.65; }
.legal-block a { text-decoration: underline; text-underline-offset: 3px; }
.legal-callout,
.legal-review-note {
  margin-top: 26px;
  padding: 19px 21px;
  border-radius: var(--r);
  line-height: 1.65;
}
.legal-callout { border-left: 4px solid var(--c-primary); background: var(--c-primary-050); }
.legal-review-note { border: 1px solid #f0d899; background: #fff9e8; color: #5f4a13; }
.legal-review-note strong { display: block; margin-bottom: 5px; font-family: var(--font-head); }
.legal-review-note p { margin: 0; color: inherit; }
.legal-definitions,
.legal-grid { display: grid; gap: 12px; }
.legal-definitions > div,
.legal-grid > div { padding: 16px 18px; border: 1px solid var(--c-line); border-radius: var(--r); background: #fff; }
.legal-definitions dt,
.legal-grid strong { margin-bottom: 3px; color: var(--c-ink); font-family: var(--font-head); font-weight: 600; }
.legal-definitions dd { margin: 0; color: var(--c-body); }
.legal-contact-card { padding: 20px; border: 1px solid var(--c-primary-100); border-radius: var(--r); background: var(--c-primary-050); }

/* App page. */
.app-page-hero .store-badges { margin-bottom: 21px; }
.app-hero-actions { margin-bottom: 0; }
.app-feature-grid .feature-card { height: 100%; text-align: left; }
.app-feature-grid .feature-card .ico { margin-inline: 0; }
.app-steps-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, .86fr);
  gap: clamp(36px, 6vw, 78px);
  align-items: center;
}
.process-list { display: grid; gap: 17px; margin: 27px 0 0; padding: 0; list-style: none; }
.process-list li {
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr);
  gap: 15px;
  align-items: start;
  padding: 17px 18px;
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.process-list li > span {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
}
.process-list h3 { margin: 1px 0 4px; font-size: 1rem; }
.process-list p { margin: 0; color: var(--c-muted); font-size: .92rem; }
.process-list.compact { gap: 12px; }
.process-list.compact li { padding: 14px 15px; box-shadow: none; }
.app-page-phones { justify-content: center; }
.app-page-phones .phone-mock { box-shadow: 0 25px 60px rgba(15,27,61,.18); }

/* About page. */
.about-story-grid { grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr); }
.values-grid .value-card,
.about-module-grid .module-link-card { height: 100%; }
.value-card { padding: 30px; }
.value-card .ico,
.module-link-card .ico,
.contact-topic-grid .ico,
.benefit-card .ico {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--c-primary-050);
  color: var(--c-primary);
}
.about-module-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.module-link-card { position: relative; padding: 27px 24px 24px; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.module-link-card:hover { transform: translateY(-4px); border-color: var(--c-primary-100); box-shadow: var(--shadow); }
.module-link-card a::after { content: ""; position: absolute; inset: 0; }

/* Contact page. */
.contact-answer-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  max-width: 960px;
  margin: 0 auto 34px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--c-primary-100);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--c-primary-050), #fff);
  box-shadow: var(--shadow-sm);
}
.contact-answer-card > .ico {
  display: grid;
  place-items: center;
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: var(--c-primary);
  color: #fff;
}
.contact-answer-card h2 { margin: 0 0 8px; }
.contact-answer-card p { margin: 0; }
.contact-topic-grid .card { position: relative; height: 100%; padding: 27px; }
.contact-topic-grid .card a { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 600; }
.contact-layout-enhanced {
  display: grid;
  grid-template-columns: minmax(270px, .74fr) minmax(0, 1.26fr);
  gap: clamp(30px, 5vw, 58px);
  align-items: start;
}
.contact-details-panel {
  padding: clamp(25px, 4vw, 34px);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.contact-details-panel > p { margin-bottom: 26px; }
.contact-details-panel .contact-info { margin-top: 24px; }
.contact-details-panel .ci-item { padding-bottom: 19px; border-bottom: 1px solid var(--c-line-soft); }
.contact-details-panel .ci-item:last-child { padding-bottom: 0; border-bottom: 0; }
.contact-form--enhanced { padding: clamp(25px, 4vw, 38px); }
.contact-form--enhanced h2 { margin: 4px 0 22px; }
.contact-socials a { border-color: var(--c-primary-100); color: var(--c-primary); }
.contact-socials a:hover { border-color: var(--c-primary); background: var(--c-primary); color: #fff; }

/* Physical mock-test landing page. */
.mock-hero .hero-inner { grid-template-columns: minmax(0, 1.08fr) minmax(300px, .72fr); }
.mock-hero-card {
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--r-xl);
  background: rgba(255,255,255,.11);
  box-shadow: 0 25px 60px rgba(4,20,64,.24);
  backdrop-filter: blur(12px);
}
.mock-hero-card .ico { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 18px; border-radius: 18px; background: #fff; color: var(--c-primary); }
.mock-hero-card h2 { color: #fff; }
.mock-hero-card ul { display: grid; gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; }
.mock-hero-card li { display: flex; gap: 10px; align-items: flex-start; color: #eef4ff; }
.mock-hero-card li svg { flex: 0 0 auto; margin-top: 3px; color: var(--c-yellow); }
.mock-location-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
.mock-location-card {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 4vw, 36px);
  scroll-margin-top: calc(var(--header-h) + 25px);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--shadow);
}
.location-card-head { display: flex; gap: 15px; align-items: center; margin-bottom: 18px; }
.location-card-head .ico { display: grid; place-items: center; flex: 0 0 56px; width: 56px; height: 56px; border-radius: 16px; background: var(--c-primary-050); color: var(--c-primary); }
.location-card-head span:not(.ico) { color: var(--c-primary); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.location-card-head h3 { margin: 2px 0 0; font-size: 1.25rem; }
.mock-location-card > p { color: var(--c-muted); }
.mock-location-card dl { display: grid; gap: 0; margin: 13px 0 25px; }
.mock-location-card dl > div { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 15px; padding: 13px 0; border-top: 1px solid var(--c-line-soft); }
.mock-location-card dt { color: var(--c-ink); font-family: var(--font-head); font-size: .82rem; font-weight: 600; }
.mock-location-card dd { margin: 0; color: var(--c-body); font-size: .9rem; line-height: 1.55; }
.mock-location-card .btn { margin-top: auto; }
.source-pricing-note { margin-top: 22px; padding: 17px 19px; border: 1px solid #f0d899; border-radius: var(--r); background: #fff9e8; color: #5f4a13; }
.benefit-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.benefit-card { height: 100%; padding: 26px 23px; }
.mock-register-layout {
  display: grid;
  grid-template-columns: minmax(280px, .77fr) minmax(0, 1.23fr);
  gap: clamp(34px, 6vw, 70px);
  align-items: start;
}
.mock-register-copy { position: sticky; top: calc(var(--header-h) + 24px); }
.mock-registration-form { padding: clamp(25px, 4vw, 38px); }
.consent-field { display: flex; gap: 11px; align-items: flex-start; margin: 7px 0 22px; color: var(--c-body); font-size: .86rem; line-height: 1.5; }
.consent-field input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--c-primary); }
.form-notice,
.pteclasses-notice { margin-bottom: 20px; padding: 14px 16px; border-radius: var(--r-sm); font-size: .9rem; }
.form-notice--ok,
.pteclasses-notice--success { border: 1px solid #a9dfbe; background: #ecfbf1; color: #1c693c; }
.form-notice--err,
.pteclasses-notice--error { border: 1px solid #f2b1b1; background: #fff1f1; color: #9e2424; }

/* FAQ presentation shared by app, contact and physical mock pages. */
.core-faq-list { max-width: 850px; margin-inline: auto; }
.core-faq-list .faq-item { width: 100%; }
.core-faq-list .faq-item + .faq-item { margin-top: 12px; }
.core-faq-list .faq-item[open] { border-color: var(--c-primary-100); box-shadow: 0 10px 28px rgba(36,86,230,.08); }
.core-faq-list .faq-item summary { font-size: 1rem; }

/* Footer legal navigation. */
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; }
.footer-legal-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 22px; }
.footer-legal-links a { color: rgba(255,255,255,.86); font-size: .86rem; font-weight: 500; }
.footer-legal-links a:hover,
.footer-legal-links a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Writing module content hierarchy — v1.17.0 */
.task-card--text .task-lead {
  margin: -2px 0 20px;
  padding: 16px 18px;
  border-left: 4px solid var(--c-primary);
  border-radius: 0 var(--r) var(--r) 0;
  background: linear-gradient(90deg, var(--c-primary-050), #fff);
}
.task-card--text .task-lead p {
  margin: 0;
  color: var(--c-body);
  line-height: 1.75;
}
.task-card--text .tc-block p {
  margin: 7px 0 0;
  color: var(--c-body);
  line-height: 1.65;
}
.task-card--text .tc-block ul {
  margin: 9px 0 0;
  padding-left: 20px;
  color: var(--c-body);
}
.task-card--text .tc-block li {
  margin: 0 0 7px;
  line-height: 1.55;
}
.task-card--text .tc-block li:last-child { margin-bottom: 0; }
.task-card--text .tc-block--tip {
  background: #eef8ff;
  border-color: #b8ddf7;
}
.module-importance {
  padding-top: 0;
}
.module-importance-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--c-primary-100);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, #f7f9ff 0%, #eef4ff 100%);
  box-shadow: var(--shadow-sm);
}
.module-importance-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -70px;
  bottom: -90px;
  border-radius: 50%;
  background: rgba(36, 86, 230, .08);
}
.module-importance-card h2 {
  position: relative;
  margin: 10px 0 14px;
  z-index: 1;
}
.module-importance-card p {
  position: relative;
  margin: 0 0 12px;
  color: var(--c-body);
  line-height: 1.75;
  z-index: 1;
}
.module-importance-card p:last-child { margin-bottom: 0; }


/* Reading module guidance sections — v1.18.0 */
.module-guidance { padding-top: 0; }
.module-guidance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.module-guidance-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: clamp(26px, 3.6vw, 40px);
  border: 1px solid var(--c-primary-100);
  border-radius: var(--r-xl);
  background: linear-gradient(145deg, #fff 0%, #f4f7ff 100%);
  box-shadow: var(--shadow-sm);
}
.module-guidance-card:nth-child(even) {
  background: linear-gradient(145deg, #fffdf4 0%, #fff8da 100%);
  border-color: #f3df8e;
}
.module-guidance-card::after {
  content: "";
  position: absolute;
  right: -62px;
  bottom: -76px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(36, 86, 230, .065);
  pointer-events: none;
}
.module-guidance-card:nth-child(even)::after { background: rgba(255, 196, 0, .12); }
.module-guidance-card h2 {
  position: relative;
  z-index: 1;
  margin: 10px 0 14px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}
.module-guidance-card p {
  position: relative;
  z-index: 1;
  margin: 0 0 13px;
  color: var(--c-body);
  line-height: 1.75;
}
.module-guidance-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.module-guidance-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  color: var(--c-body);
  line-height: 1.55;
}
.module-guidance-list svg {
  margin-top: 3px;
  color: var(--c-primary);
}


/* Blog archive count and resilient pagination (v1.19.0). */
.blog-results-summary {
  margin: 0 0 22px;
  color: var(--c-muted);
  font-size: 0.95rem;
  font-weight: 600;
}
.pagination ul.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  width: auto;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  list-style: none;
}
.pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
  pointer-events: none;
}

/* =================================================================
   v1.20.0 — Blog Archive Featured Image Normalisation
   ================================================================= */
.blog-main .post-card .thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  padding: 0;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f4f7ff;
  border-bottom: 1px solid var(--c-line-soft);
}
.blog-main .post-card .thumb picture {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-main .post-card .thumb img,
.blog-main .post-card .thumb img.wp-post-image {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto !important;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: contain !important;
  object-position: 50% 50% !important;
  transform: none;
}
.blog-main .post-card:hover .thumb img,
.blog-main .post-card:focus-within .thumb img {
  transform: none;
}
.blog-main .post-card .thumb .thumb-placeholder {
  width: 100% !important;
  height: 100% !important;
  border-radius: 0;
}

/* Managed editorial blog enhancements — v1.21.0. */
.article-key-takeaways {
  margin: clamp(1.7em, 4vw, 2.4em) 0;
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid var(--c-primary-100);
  border-radius: var(--r-xl);
  background: linear-gradient(145deg, #f7f9ff 0%, #edf3ff 100%);
  box-shadow: var(--shadow-sm);
}
.entry-content .article-key-takeaways h2 {
  margin-top: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}
.entry-content .article-key-takeaways ul {
  margin-bottom: 0;
  border-color: rgba(36,86,230,.12);
  background: rgba(255,255,255,.74);
}
.article-action-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 38px);
  margin: clamp(2.2em, 6vw, 3.5em) 0;
  padding: clamp(24px, 5vw, 40px);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--c-primary-700), var(--c-primary));
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.article-action-card__eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--c-yellow);
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.entry-content .article-action-card h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2rem);
}
.entry-content .article-action-card h2::before { display: none; }
.entry-content .article-action-card p {
  max-width: 650px;
  margin: 0;
  color: rgba(255,255,255,.86);
}
.entry-content .article-action-card .btn {
  flex: 0 0 auto;
  min-width: 180px;
  background: var(--c-yellow);
  color: var(--c-ink);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15,27,61,.2);
}
.entry-content .article-action-card .btn:hover {
  background: #ffd33d;
  color: var(--c-ink);
  transform: translateY(-2px);
}
@media (max-width: 720px) {
  .article-action-card {
    align-items: stretch;
    flex-direction: column;
    text-align: left;
  }
  .entry-content .article-action-card .btn {
    width: 100%;
    min-width: 0;
  }
}


/* =================================================================
   v1.23.0 — Blog CTA Contrast Fix
   ================================================================= */
/*
 * The generic .entry-content p rule is declared after the original
 * inline CTA styles and was overriding the CTA copy with dark text.
 * Keep all non-button copy inside blog CTAs white for reliable contrast.
 */
.entry-content .inline-cta,
.entry-content .article-inline-practice-cta {
  color: #fff;
}
.entry-content .inline-cta h2,
.entry-content .inline-cta h3,
.entry-content .inline-cta h4,
.entry-content .inline-cta h5,
.entry-content .inline-cta h6,
.entry-content .inline-cta p,
.entry-content .inline-cta span,
.entry-content .inline-cta strong,
.entry-content .article-inline-practice-cta h2,
.entry-content .article-inline-practice-cta h3,
.entry-content .article-inline-practice-cta h4,
.entry-content .article-inline-practice-cta h5,
.entry-content .article-inline-practice-cta h6,
.entry-content .article-inline-practice-cta p,
.entry-content .article-inline-practice-cta span,
.entry-content .article-inline-practice-cta strong {
  color: #fff;
}
.entry-content .inline-cta .btn--accent,
.entry-content .article-inline-practice-cta .btn--accent {
  color: #fff;
}
