/* The English Pills - site styles (copied look from the Wix site, Nov 2026) */
:root {
  /* website editor theme (the real values come from admin → Site theme) */
  --ep-primary: #5D078A; --ep-secondary: #3A0556; --ep-accent: #FFD54F; --ep-green: #25A244; --ep-dark: #1B0B26;
  --ep-light: #F4ECFA; --ep-text: #111111; --ep-font-heading: "Montserrat", "Hind Siliguri", sans-serif;
  --ep-font-body: "Montserrat", "Hind Siliguri", sans-serif;
  --purple: #5D078A;
  --purple-dark: #2B0040;
  --text: #111111;
  --bg: #F8F8F9;
  --card-bg: #F3FFF0;
  --card-border: #8BC484;
  --green: #6CB728;
  --footer-bg: #021407;
  --footer-line: #8BC484;
  --link-active: #116DFF;
  --font: "Montserrat", sans-serif;
  --font-menu: Helvetica, Arial, sans-serif;
  --font-alt: Helvetica, Arial, sans-serif;
  /* free look-alikes for Wix's paid fonts */
  --f-avenir: "Nunito Sans", "Avenir Next", Avenir, Arial, "Hind Siliguri", sans-serif;
  --f-museo-slab: "Roboto Slab", Georgia, serif;
  --f-museo: "Mulish", Arial, sans-serif;
  --f-proxima: "Mulish", Arial, sans-serif;
  --f-din: "Barlow", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; }
.container { width: 980px; max-width: 100%; margin: 0 auto; padding: 0 16px; }
.container-wide { width: 1240px; max-width: 100%; margin: 0 auto; padding: 0 16px; }
.center { text-align: center; }
.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid rgba(0,0,0,.08); }
.header-inner { height: 98px; display: flex; align-items: center; justify-content: space-between; }
.logo img { width: 128px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 14px; }
.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.site-nav > ul > li { position: relative; }
.site-nav > ul > li > a, .site-nav .sub-toggle {
  display: block; padding: 12px 20.5px; font-family: var(--font-menu); font-size: 16px; letter-spacing: .03em;
  color: var(--text); text-decoration: none; background: none; border: 0; cursor: pointer; line-height: 1;
}
.site-nav > ul > li.active > a, .site-nav > ul > li > a:hover, .site-nav .sub-toggle:hover { color: var(--link-active); }
.sub-arrow { display: none; }
.site-nav .sub { list-style: none; margin: 0; padding: 6px 0; position: absolute; top: 100%; left: 0; min-width: 200px;
  background: var(--bg); display: none; }
.site-nav li.has-sub:hover > .sub, .site-nav li.has-sub:focus-within > .sub { display: block; }
.site-nav .sub a { display: block; padding: 12px 20px 13px; font-family: var(--font-menu); font-size: 16px; letter-spacing: .05em; color: var(--text); text-decoration: none; white-space: nowrap; }
.site-nav .sub a:hover { color: var(--link-active); }
.login { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--purple); font-family: var(--font-menu); font-size: 16px; }
.login svg { width: 26px; height: 26px; }
.menu-toggle { display: none; }

/* ---------- Home: hero ---------- */
.hero { background: var(--purple-dark); color: #fff; text-align: center; min-height: 228px; padding: 42px 0 40px; }
.hero-title { font-weight: 900; font-size: 42px; line-height: 1.4; letter-spacing: -.005em; }
.hero-partner { margin: 52px 0 0; font-size: 18px; line-height: 1.5; }
.hero-partner strong { font-weight: 700; }
.hero-partner a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Home: results ---------- */
.results { position: relative; background: var(--bg); padding: 60px 0 58px; overflow: hidden; }
.zebra { position: absolute; top: 0; left: 0; right: 0; height: 150px; background: url("../img/home/zebra.a63837c25bed.svg") center top / cover no-repeat; transform: rotate(180deg); opacity: .18; pointer-events: none; }
.section-title { position: relative; font-weight: 900; text-align: center; }
.results-title { font-size: 46px; line-height: 1.53; }
.results-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 0 20px; margin-top: 60px; }
.results-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 42%; }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 257px; height: 40px; margin-top: 68px;
  border: 1px solid var(--purple); border-radius: 40px; color: var(--purple); text-decoration: none; font-size: 15px; letter-spacing: .1em; background: transparent; }
.btn-outline span { font-size: 22px; line-height: 1; font-weight: 700; }
.btn-outline:hover { background: var(--purple); color: #fff; }
.mobile-actions { display: none; }

/* ---------- Home: courses ---------- */
.courses { background-color: #EEF7F4; background-size: cover; background-position: center; padding: 60px 0 60px; }
.courses-title { font-size: 56px; line-height: 1.2; margin-bottom: 82px; }
.course-grid { display: grid; grid-template-columns: repeat(4, 288px); gap: 20px; justify-content: center; align-items: start; }
.course-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; padding: 24px 8px 20px 8px; display: flex; flex-direction: column; min-height: 490px; }
.course-card h3 { font-weight: 900; font-size: 20px; line-height: 1.4; text-align: center; padding: 0 16px; }
.course-card .price { font-weight: 700; font-size: 16px; margin: 6px 0 22px; text-align: center; }
.course-body { font-size: 16px; line-height: 1.8; flex: 1; }
.course-body p { margin: 0; }
.course-body .bullet { position: relative; padding-left: 28px; }
.course-body .bullet::before { content: "•"; position: absolute; left: 12px; }
.btn { align-self: center; display: inline-flex; align-items: center; justify-content: center; width: 142px; height: 40px; margin-top: 28px;
  background: var(--purple); color: #fff; border-radius: 40px; text-decoration: none; font-size: 14px; font-family: var(--f-avenir); font-weight: 300; }
.btn:hover { background: #7B1FB0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: #fff; padding: 44px 0 80px; }
.site-footer .container { width: 1158px; }
.footer-main { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; border-top: 1px solid var(--footer-line); border-bottom: 1px solid var(--footer-line); padding: 52px 76px 52px 112px; }
.footer-logo img { width: 196px; }
.footer-contact h2 { font-family: var(--f-avenir); font-weight: 300; font-size: 22px; margin-bottom: 12px; }
.footer-contact p { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; font-size: 16px; font-family: var(--f-avenir); font-weight: 300; }
.footer-contact a { color: #fff; text-decoration: none; }
.footer-contact .ico svg { width: 30px; height: 30px; display: block; }
.footer-follow { display: flex; align-items: center; gap: 16px; font-size: 14px; font-family: var(--f-avenir); font-weight: 300; }
.footer-follow span { margin-right: 10px; }
.footer-follow img { width: 32px; height: 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 30px; padding: 4px 0 0 72px; }
.footer-links h2 { font-family: var(--f-avenir); font-size: 16px; font-weight: 800; letter-spacing: .2em; }
.footer-links a, .footer-links span { color: #fff; text-decoration: none; }

/* ---------- WhatsApp floating button ---------- */
.wa-float { position: fixed; right: 90px; bottom: 20px; z-index: 60; background: var(--purple); color: #fff; text-decoration: none; padding: 9px 18px; border-radius: 3px; font-size: 15px; letter-spacing: .05em; box-shadow: 0 2px 8px rgba(0,0,0,.2); }

/* ---------- Tablet ---------- */
@media (max-width: 1260px) {
  .course-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 288px)); }
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .header-inner { height: 72px; justify-content: center; position: relative; }
  .logo img { width: 92px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; position: absolute; right: 16px; top: 18px; width: 40px; height: 36px; padding: 6px; background: none; border: 0; cursor: pointer; }
  .menu-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 16px; box-shadow: 0 8px 16px rgba(0,0,0,.12); max-height: calc(100vh - 72px); overflow-y: auto; }
  .site-nav.open { display: flex; }
  .site-nav > ul { flex-direction: column; align-items: stretch; }
  .site-nav > ul > li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid #eee; }
  .site-nav > ul > li > a, .site-nav .sub-toggle { flex: 1; padding: 14px 20px; text-align: left; font-size: 17px; }
  .sub-arrow { display: block; width: 52px; height: 46px; background: none; border: 0; cursor: pointer; position: relative; }
  .sub-arrow::after { content: ""; position: absolute; left: 20px; top: 16px; width: 9px; height: 9px; border-right: 2px solid #333; border-bottom: 2px solid #333; transform: rotate(45deg); transition: transform .2s; }
  .site-nav li.sub-open .sub-arrow::after { transform: rotate(-135deg); top: 21px; }
  .site-nav .sub { position: static; display: none; width: 100%; background: #F7F2FA; padding: 0; }
  .site-nav li.has-sub:hover > .sub { display: none; }
  .site-nav li.sub-open > .sub, .site-nav li.sub-open:hover > .sub { display: block; }
  .site-nav .sub a { padding: 12px 34px; font-size: 15px; }
  .login { padding: 16px 20px 0; }

  .hero { padding: 26px 0 22px; min-height: 0; }
  .hero-title { font-size: 26px; line-height: 1.35; }
  .hero-partner { margin-top: 18px; font-size: 14px; text-align: left; }
  .results { padding: 28px 0 32px; }
  .zebra { height: 90px; }
  .results-title { font-size: 28px; line-height: 1.3; }
  .results-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 0 12px; margin-top: 24px; }
  .mobile-actions { display: flex; justify-content: space-around; align-items: center; position: relative; margin: 18px 12px 0; background: #fff; padding: 8px 0; }
  .mobile-actions svg, .mobile-actions img { width: 22px; height: 22px; }
  .btn-outline { margin-top: 24px; width: 200px; }
  .courses { padding: 36px 0; }
  .courses-title { font-size: 32px; margin-bottom: 28px; }
  .course-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
  .course-card { min-height: 0; }
  .course-body { font-size: 15px; }
  .site-footer { padding: 24px 0 90px; }
  .footer-main { grid-template-columns: 1fr; padding: 24px 8px; gap: 22px; justify-items: start; text-align: left; }
  .footer-logo { justify-self: center; }
  .footer-logo img { width: 130px; }
  .footer-follow { justify-content: flex-start; }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; padding: 18px 8px 0; }
  .footer-links h2 { font-size: 13px; }
  .wa-float { right: 16px; bottom: 16px; }
}

/* ---------- Pages copied from Wix (templates/pages/wix/*.html) ---------- */
.wx-page { overflow: hidden; }
.wx-sec { position: relative; }
.wx-wrap { width: 980px; max-width: 100%; margin: 0 auto; }
/* some imported rows are 1206–1366px wide: keep 40px free on each side on laptops (Mac Claude's server fix) */
@media (min-width: 761px) { .wx-wrap { max-width: calc(100% - 80px); } }
/* an icon's column is never narrower than the icon (the WhatsApp icon touched the phone number at 1280px) */
@media (min-width: 761px) { .wx-cell.wx-small:has(> a.wx-icon) { min-width: max-content; } }
.wx-row { display: flex; align-items: flex-start; }
.wx-cell { flex: none; min-width: 0; }
.wx-full { position: relative; width: 100vw !important; left: 50%; margin-left: -50vw !important; }
.wx-text { overflow-wrap: break-word; }
.wx-text p, .wx-text h1, .wx-text h2, .wx-text h3, .wx-text h4, .wx-text h5, .wx-text h6 { margin: 0; }
.wx-text ul, .wx-text ol { margin: 0; padding-left: 1.3em; }
.wx-text a { color: inherit; }
.wx-cell > img, .wx-cell > a > img { width: 100%; height: auto; }
.wx-box { position: relative; }
.wx-btn { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; text-decoration: none; box-sizing: border-box; transition: opacity .15s; }
.wx-btn:hover { opacity: .85; }
.wx-embed { width: 100%; }
.wx-embed iframe { width: 100%; height: 100%; border: 0; }
.wx-video { width: 100%; height: auto; background: #000; display: block; }
.wx-gallery { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 12px; }
.wx-gallery img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: top; }
.wx-line { border: 0; margin: 0; }
.wx-social { display: flex; gap: 10px; }

@media (max-width: 760px) {
  .wx-wrap { padding: 0 16px; }
  .wx-row { flex-wrap: wrap; margin-top: min(var(--gap, 16px), 24px); }
  .wx-cell { width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; margin-bottom: 12px; }
  .wx-full { width: 100vw !important; margin-left: -50vw !important; }
  .wx-box { min-height: 0 !important; padding-left: 14px !important; padding-right: 14px !important; padding-top: min(24px, 6vw) !important; padding-bottom: min(24px, 6vw) !important; }
  .wx-sec { padding-top: 24px !important; padding-bottom: 24px !important; }
  .wx-sec.wx-flush { padding-top: 0 !important; padding-bottom: 0 !important; }
  .wx-flush .wx-row:first-child { margin-top: 0 !important; }
  .wx-flush .wx-cell { margin-bottom: 0; }
  .wx-btn { width: auto !important; min-width: 160px; padding: 0 22px; }
  .wx-gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .wx-cell > svg, .wx-cell svg { max-height: 120px; }
  .wx-cell.wx-small { width: auto !important; margin-right: 12px !important; margin-bottom: 8px; }
  .wx-row:has(> .wx-small:only-child) { margin-top: 4px !important; }
}
.wx-form-placeholder { border: 2px dashed #B9A3C9; border-radius: 8px; padding: 28px 16px; text-align: center; color: #5D078A; background: #FBF8FD; font-size: 15px; }
.wx-has-ov { position: relative; }
.wx-overlay { position: absolute; display: block; }
.wx-overlay svg, .wx-overlay img { width: 100%; height: 100%; }
.wx-masonry { display: grid; grid-template-columns: repeat(var(--cols, 2), 1fr); gap: 24px; align-items: start; }
.wx-mcol { display: flex; flex-direction: column; gap: 24px; }
.wx-tile img { width: 100%; height: auto; box-shadow: 0 1px 5px rgba(0,0,0,.28); }
.wx-masonry-mobile { display: none; }
@media (max-width: 760px) {
  .wx-masonry { display: none; }
  .wx-masonry-mobile { display: flex; flex-direction: column; gap: 14px; }
}

/* ---------- Contact Us (custom) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.contact-page { padding: 20px 16px 0; }
.contact-box { max-width: 1206px; margin: 0 auto; background: #FAFAFA; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 70px 80px 80px 50px; min-height: 900px; }
.ask-anything { display: flex; flex-direction: column; font-weight: 900; font-size: clamp(40px, 6vw, 78px); line-height: 1.05; letter-spacing: .01em; margin-top: 120px;
  background: linear-gradient(115deg, #2a2a2a 0%, #6b6b6b 30%, #3a3a3a 55%, #8a8a8a 80%, #2a2a2a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contact-list { list-style: none; padding: 0; margin: 130px 0 0; font-family: var(--font-alt); font-size: 21px; }
.contact-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.contact-list svg { width: 26px; height: 26px; flex: none; }
.contact-list a { color: var(--text); text-decoration: none; }
.contact-right h2 { font-weight: 900; font-size: 48px; line-height: 1.25; margin: 40px 0 24px; }
.contact-social { max-width: 1206px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; padding: 30px 0 40px; }
.contact-social a { font-family: var(--font-alt); font-weight: 700; font-size: 24px; color: var(--text); }
@media (max-width: 760px) {
  .contact-box { grid-template-columns: 1fr; padding: 30px 20px; gap: 24px; min-height: 0; }
  .contact-list { font-size: 18px; }
  .ask-anything { margin-top: 0; }
  .contact-list { margin-top: 24px; }
  .contact-right h2 { font-size: 28px; }
  .contact-social a { font-size: 16px; }
}
.wx-cell > a.wx-icon > img, .wx-icon img { max-width: none; object-fit: contain; }
.wx-icon { display: inline-block; line-height: 0; }

/* ---------- Forms (Contact + course pages) ---------- */
.ep-form { font-family: var(--font-alt); max-width: 420px; }
.ep-form form { display: flex; flex-direction: column; gap: 14px; }
.ep-field { display: flex; flex-direction: column; gap: 2px; border: 0; margin: 0; padding: 0; }
.ep-field label, .ep-checks legend { font-size: 13px; color: #333; }
.ep-field input, .ep-field textarea { font: inherit; font-size: 15px; color: var(--text); background: transparent; border: 0; border-bottom: 1px solid #555; border-radius: 0; padding: 6px 2px; width: 100%; }
.ep-field textarea { resize: vertical; min-height: 60px; }
.ep-field input:focus, .ep-field textarea:focus { outline: none; border-bottom: 2px solid var(--purple); }
.ep-checks legend { padding: 0; margin-bottom: 6px; }
.ep-check { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 2px 0; cursor: pointer; }
.ep-check input { width: 16px; height: 16px; accent-color: var(--purple); }
.ep-submit { margin-top: 8px; height: 40px; border: 0; border-radius: 40px; background: var(--purple); color: #fff; font: inherit; font-size: 15px; cursor: pointer; }
.ep-submit:hover { background: #7B1FB0; }
.ep-submit:focus-visible { outline: 3px solid #C58CF0; outline-offset: 2px; }
.ep-err { color: #B00020; font-size: 13px; margin: 2px 0 0; }
.ep-form-err { color: #B00020; background: #FDECEE; padding: 8px 10px; border-radius: 6px; font-size: 14px; }
.ep-form-ok { background: #EAF6E4; color: #234F15; border: 1px solid #8BC484; border-radius: 8px; padding: 16px; font-size: 15px; line-height: 1.6; }
.ep-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Blog ---------- */
.blog-wrap { width: 940px; max-width: 100%; margin: 0 auto; padding: 22px 16px 60px; }
.blog-nav { display: flex; gap: 24px; font-size: 15px; margin-bottom: 26px; padding-left: 4px; }
.blog-nav a { color: var(--text); text-decoration: none; }
.blog-nav a.on, .blog-nav a:hover { color: var(--purple); }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 454px)); gap: 32px; }
.post-card-link { display: block; position: relative; aspect-ratio: 1 / 1; color: #fff; text-decoration: none; overflow: hidden; background: #111; }
.post-card-img { position: absolute; inset: 0; background: #111 center / cover no-repeat; transition: transform .3s; }
.post-card-link::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.post-card-link:hover .post-card-img { transform: scale(1.03); }
.post-card-body { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 28px 30px; }
.post-meta { font-size: 13px; margin: 0; }
.post-card-bottom { border-bottom: 1px solid rgba(255,255,255,.7); padding-bottom: 18px; }
.post-chip { display: inline-block; background: var(--purple); color: #fff; font-size: 13px; padding: 2px 9px; margin-bottom: 10px; }
.post-card h2 { font-weight: 900; font-size: 28px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card.small .post-card-link { aspect-ratio: auto; background: #fff; color: var(--text); border: 1px solid #ddd; }
.post-card.small .post-card-link::after { display: none; }
.post-card.small .post-card-img { position: relative; height: 160px; }
.post-card.small .post-card-body { position: static; padding: 16px 20px 24px; }
.post-card.small .post-card-bottom { border: 0; padding: 0; }
.post-card.small h2 { font-size: 16px; -webkit-line-clamp: 2; }
.post-box { background: #fff; border: 1px solid #ddd; padding: 60px 98px 40px; }
.post-box .post-meta { color: #333; margin-bottom: 20px; }
.post-title { font-weight: 900; font-size: 40px; line-height: 1.25; margin-bottom: 26px; }
.post-body { font-size: 16px; line-height: 1.6; overflow-wrap: break-word; }
.post-body h2 { font-weight: 900; font-size: 24px; line-height: 1.3; margin: 18px 0 4px; }
.post-body h3 { font-weight: 800; font-size: 22px; margin: 24px 0 8px; }
.post-body h4 { font-weight: 700; font-size: 19px; margin: 20px 0 6px; }
.post-body p { margin: 0 0 10px; }
.post-body a { color: var(--purple); }
.post-body figure { margin: 24px 0; }
.post-body img { width: 100%; height: auto; }
.post-body ul, .post-body ol { padding-left: 1.4em; margin: 0 0 14px; }
.post-lock { text-align: center; border-top: 1px solid #ddd; margin-top: 28px; padding-top: 24px; }
.post-lock h3 { font-weight: 900; margin: 0 0 6px; }
.post-lock .btn { width: auto; padding: 0 28px; margin-top: 12px; }
.post-share { display: flex; gap: 18px; align-items: center; border-top: 1px solid #ddd; margin-top: 36px; padding-top: 18px; }
.post-share a, .post-share button { color: var(--text); background: none; border: 0; padding: 0; cursor: pointer; }
.post-share svg { width: 20px; height: 20px; fill: currentColor; display: block; }
.post-share .copied { color: var(--green); }
.recent { margin-top: 40px; }
.recent-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.recent-head h2 { font-size: 16px; font-weight: 500; }
.recent-head a { font-size: 14px; color: var(--text); }
.recent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 760px) {
  .post-grid { grid-template-columns: 1fr; gap: 20px; }
  .post-card h2 { font-size: 22px; }
  .post-box { padding: 28px 18px; }
  .post-title { font-size: 28px; }
  .post-body { font-size: 16px; }
  .post-body h2 { font-size: 22px; }
  .recent-grid { grid-template-columns: 1fr; }
}

/* ---------- Header: logged in ---------- */
.logout-form { margin: 0; }
.mc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.login span, .site-nav > ul > li > a { white-space: nowrap; }
.logout-form button { background: #fff; border: 1px solid #ccc; border-radius: 40px; font: inherit; font-family: var(--font-menu); font-size: 14px; color: #555; cursor: pointer; padding: 6px 16px; }
.logout-form button:hover { color: var(--purple); }

/* ---------- Sign up / Log in ---------- */
.auth-wrap { padding: 50px 16px 70px; }
.auth-card { max-width: 440px; margin: 0 auto; background: #fff; border: 1px solid #e3dde8; border-radius: 12px; padding: 34px 32px; }
.auth-card h1 { font-weight: 900; font-size: 28px; margin-bottom: 6px; }
.auth-sub { color: #555; margin: 0 0 22px; font-size: 15px; }
.auth-form { max-width: none; }
.auth-form .ep-field input { font-size: 16px; }
.ep-help { font-size: 12px; color: #666; margin: 4px 0 0; }
.auth-alt { font-size: 14px; margin: 14px 0 0; text-align: center; }
.auth-alt a, .auth-sub a { color: var(--purple); }

/* ---------- Recorded course page ---------- */
.rc-wrap { width: 980px; max-width: 100%; margin: 0 auto; padding: 0 16px; }
.rc-hero { background: var(--purple-dark); color: #fff; padding: 46px 0; }
.rc-hero-in { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: center; }
.rc-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: #D9B3F5; margin: 0 0 8px; }
.rc-hero h1 { font-weight: 900; font-size: 40px; line-height: 1.2; }
.rc-lead { font-size: 17px; margin: 12px 0 0; }
.rc-facts { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; }
.rc-buy { background: #fff; color: var(--text); border-radius: 12px; padding: 20px; text-align: center; }
.rc-buy img { border-radius: 8px; margin-bottom: 12px; }
.rc-price { font-weight: 900; font-size: 34px; margin: 0 0 12px; }
.rc-btn { width: 100%; }
.rc-note { font-size: 13px; color: #555; margin: 10px 0 0; }
.rc-body { padding-top: 34px; padding-bottom: 60px; }
.rc-title { font-weight: 900; font-size: 34px; }
.rc-h2 { font-weight: 900; font-size: 24px; margin: 26px 0 12px; }
.rc-list { padding: 0; margin: 0; list-style: none; counter-reset: l; border: 1px solid #e3dde8; border-radius: 10px; background: #fff; }
.rc-list li { counter-increment: l; display: flex; justify-content: space-between; gap: 12px; padding: 13px 16px; border-bottom: 1px solid #eee; }
.rc-list li:last-child { border-bottom: 0; }
.rc-list li::before { content: counter(l) "."; color: #888; margin-right: 6px; min-width: 22px; }
.rc-list li > :first-child { flex: 1; }
.rc-list a { color: var(--purple); }
.rc-tags { color: #777; font-size: 13px; white-space: nowrap; }
.rc-free { font-style: normal; background: var(--card-bg); border: 1px solid var(--card-border); color: #2F6A1C; padding: 0 6px; border-radius: 4px; margin-right: 6px; }

/* ---------- My Courses ---------- */
.mc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 24px; }
.mc-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.mc-card h2 { font-weight: 900; font-size: 20px; }
.mc-card .btn { align-self: flex-start; margin-top: 8px; }
.mc-card.expired { background: #f4f4f4; border-color: #ddd; }
.mc-bar { height: 8px; background: #e6e0ea; border-radius: 8px; overflow: hidden; }
.mc-bar span { display: block; height: 100%; background: var(--green); border-radius: 8px; }
.mc-meta { font-size: 14px; color: #444; margin: 0; }
.mc-exp { color: #9a3b00; }
.mc-empty { text-align: center; padding: 40px 0; }
.mc-empty .btn { width: auto; padding: 0 28px; }

/* ---------- Lesson player ---------- */
.ls { width: 1240px; max-width: 100%; margin: 0 auto; padding: 22px 16px 60px; display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.ls-crumb { font-size: 14px; margin: 0 0 8px; color: #666; }
.ls-crumb a { color: #666; }
.ls-title { font-weight: 900; font-size: 26px; margin-bottom: 14px; }
.player { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 8px; overflow: hidden; user-select: none; }
.player iframe, .player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player:fullscreen { border-radius: 0; }
.player-missing { position: absolute; inset: 0; display: grid; place-items: center; color: #ddd; padding: 20px; text-align: center; }
.wm { position: absolute; z-index: 3; pointer-events: none; color: rgba(255,255,255,.55); text-shadow: 0 0 3px rgba(0,0,0,.6); font: 600 14px/1 Arial, sans-serif; white-space: nowrap; transition: left 1.2s ease, top 1.2s ease; }
.player:fullscreen .wm { font-size: 20px; }
.fs-btn { position: absolute; z-index: 4; right: 10px; top: 10px; width: 36px; height: 36px; border: 0; border-radius: 6px; background: rgba(0,0,0,.45); color: #fff; cursor: pointer; display: grid; place-items: center; }
.fs-btn svg { width: 20px; height: 20px; }
.fs-btn:focus-visible { outline: 2px solid #fff; }
.ls-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 16px 0; }
.ls-actions form { margin: 0; }
.ls-done { border: 1px solid var(--green); background: #fff; color: #2F6A1C; border-radius: 40px; padding: 9px 18px; font: inherit; font-size: 15px; cursor: pointer; }
.ls-done.on { background: var(--green); color: #fff; }
.ls-pdf { border: 1px solid var(--purple); color: var(--purple); border-radius: 40px; padding: 9px 18px; text-decoration: none; font-size: 15px; }
.ls-notes { background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 14px 16px; font-size: 15px; }
.ls-nav { display: flex; justify-content: space-between; margin-top: 18px; }
.ls-nav a { color: var(--purple); }
.ls-side { background: #fff; border: 1px solid #e3dde8; border-radius: 10px; padding: 16px; position: sticky; top: 110px; max-height: calc(100vh - 130px); overflow-y: auto; }
.ls-side-h { font-weight: 800; margin: 0 0 10px; }
.ls-side .mc-bar { margin-bottom: 4px; }
.ls-list { list-style: none; padding: 0; margin: 12px 0 0; }
.ls-list a { display: flex; gap: 10px; align-items: flex-start; padding: 9px 6px; color: var(--text); text-decoration: none; border-radius: 6px; font-size: 14px; }
.ls-list li.cur a { background: #F3EAF8; font-weight: 700; }
.ls-check { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid #bbb; display: grid; place-items: center; font-size: 12px; color: #666; }
.ls-list li.done .ls-check { background: var(--green); border-color: var(--green); color: #fff; }
@media (max-width: 900px) {
  .rc-hero-in { grid-template-columns: 1fr; }
  .rc-hero h1 { font-size: 28px; }
  .ls { grid-template-columns: 1fr; padding-top: 12px; }
  .ls-title { font-size: 20px; }
  .ls-side { position: static; max-height: none; }
  .player { border-radius: 0; margin: 0 -16px; }
  .auth-card { padding: 26px 18px; }
}

.footer-legal { font-family: var(--f-avenir); font-weight: 300; font-size: 13px; color: #cfe3cb; margin: 18px 0 0 72px; }
.contact-addr { font-size: 14px; color: #555; }

/* ---------- Policy pages ---------- */
.policy { width: 860px; max-width: 100%; margin: 0 auto; padding: 30px 16px 60px; }
.policy-lang { display: flex; gap: 10px; margin-bottom: 18px; }
.policy-lang a { border: 1px solid var(--purple); color: var(--purple); border-radius: 40px; padding: 5px 16px; text-decoration: none; font-size: 14px; }
.policy-body { background: #fff; border: 1px solid #e3dde8; border-radius: 10px; padding: 34px 40px; margin-bottom: 24px; font-size: 16px; line-height: 1.65; scroll-margin-top: 110px; }
.policy-body h1 { font-weight: 900; font-size: 32px; line-height: 1.25; margin-bottom: 6px; }
.policy-body h2 { font-weight: 800; font-size: 20px; margin: 26px 0 8px; }
.policy-body p { margin: 0 0 10px; }
.policy-body ul { margin: 0 0 10px; padding-left: 1.3em; }
.policy-body li { margin-bottom: 6px; }
.policy-body a { color: var(--purple); }
.policy-date { color: #666; font-size: 14px; }
.policy-business { font-size: 14px; color: #444; border-top: 1px solid #ddd; padding-top: 14px; }
.policy-business p { margin: 0 0 4px; }
.policy-business a { color: var(--purple); }
@media (max-width: 760px) {
  .policy-body { padding: 22px 16px; }
  .policy-body h1 { font-size: 24px; }
  .footer-legal { margin: 16px 8px 0; }
}

/* ---------- Payment ---------- */
.buy-form { text-align: left; }
.agree { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.45; margin-bottom: 12px; cursor: pointer; }
.agree input { margin-top: 2px; width: 16px; height: 16px; flex: none; accent-color: var(--purple); }
.agree a, .rc-note a { color: var(--purple); }
.site-msgs { max-width: 980px; margin: 14px auto 0; padding: 0 16px; }
.site-msg { margin: 0 0 8px; padding: 10px 14px; border-radius: 8px; background: #EAF6E4; color: #234F15; border: 1px solid #8BC484; }
.site-msg.error { background: #FDECEE; color: #8A1020; border-color: #E8A0AA; }
.pay-ref { color: #666; font-size: 13px; margin-top: 18px; }

/* ---------- AI assistant chat box ---------- */
.aiw { position: fixed; right: 90px; bottom: 70px; z-index: 70; font-family: var(--font); }
.aiw-open { background: #fff; color: var(--purple); border: 2px solid var(--purple); border-radius: 40px; padding: 9px 16px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; box-shadow: 0 3px 12px rgba(0,0,0,.18); }
.aiw.open .aiw-open { display: none; }
.aiw-panel { position: fixed; right: 20px; bottom: 20px; width: 370px; max-width: calc(100vw - 24px); height: 540px; max-height: calc(100vh - 110px); background: #fff; border-radius: 14px; box-shadow: 0 10px 40px rgba(0,0,0,.28); display: flex; flex-direction: column; overflow: hidden; }
.aiw-panel[hidden] { display: none; }
.aiw-head { background: var(--purple); color: #fff; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; }
.aiw-head small { display: block; font-size: 12px; opacity: .85; }
.aiw-close { background: none; border: 0; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.aiw-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: #FAF7FC; }
.aiw-msg { margin: 0; padding: 9px 12px; border-radius: 12px; max-width: 86%; font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; }
.aiw-msg.bot { background: #fff; border: 1px solid #E8DDF0; align-self: flex-start; }
.aiw-msg.me { background: var(--purple); color: #fff; align-self: flex-end; }
.aiw-msg a { color: var(--purple); }
.aiw-msg.typing { color: #888; }
.aiw-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid #eee; }
.aiw-form textarea { flex: 1; resize: none; border: 1px solid #ccc; border-radius: 10px; padding: 8px 10px; font: inherit; font-size: 15px; max-height: 120px; }
.aiw-send { width: 42px; border: 0; border-radius: 10px; background: var(--purple); color: #fff; font-size: 18px; cursor: pointer; }
.aiw-send:disabled { opacity: .5; }
.aiw-note { margin: 0; padding: 0 12px 10px; font-size: 11.5px; color: #666; }
.aiw-note a { color: var(--purple); }
@media (max-width: 760px) {
  .aiw { right: 16px; bottom: 64px; }
  .aiw-panel { right: 8px; left: 8px; bottom: 8px; width: auto; max-width: none; height: calc(100vh - 90px); }
}

/* ---------- Install app (PWA) ---------- */
.app-install { margin: 22px 0 0 72px; }
.app-install-btn { background: #fff; color: var(--purple); border: 0; border-radius: 40px; padding: 10px 20px; font: inherit; font-weight: 700; cursor: pointer; }
.app-install-ios { font-size: 13px; color: #cfe3cb; margin: 0; }
@media (max-width: 760px) { .app-install { margin: 18px 8px 0; } }
@media (display-mode: standalone) { .wa-float { bottom: calc(20px + env(safe-area-inset-bottom, 0px)); } }

/* --- Website editor ------------------------------------------------------------------------------------------- */
@media (max-width: 760px) { .ep-hide-mobile { display: none !important; } }
@media (max-width: 760px) { html body [class].ep-center-mobile.ep-center-mobile { margin-left: auto !important; margin-right: auto !important; text-align: center !important; justify-content: center !important; }
  html body img[class].ep-center-mobile.ep-center-mobile, html body .ep-center-mobile > img { display: block; margin-left: auto !important; margin-right: auto !important; } }
@media (min-width: 761px) { .ep-hide-desktop { display: none !important; } }
.ep-preview-bar { position: sticky; top: 0; z-index: 50; background: #FFE58F; color: #3A0556; text-align: center; font: 600 14px/1.4 Montserrat, sans-serif; padding: 8px 12px; }

/* Ready-made sections for the website editor (English Pills brand). Classes start with "eps-". */
.eps-sec { padding: 64px 0; font-family: var(--ep-font-body); color: inherit; }
.eps-wrap { width: 1080px; max-width: 100%; margin: 0 auto; padding: 0 20px; }
.eps-narrow { width: 760px; max-width: 100%; }
.eps-w-460 { width: 460px; max-width: 100%; }
.eps-center { text-align: center; }
.eps-kicker { display: inline-block; margin: 0 0 10px; color: var(--ep-primary); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.eps-h1 { font-family: var(--ep-font-heading); margin: 0 0 14px; font-size: clamp(32px, 5vw, 54px); line-height: 1.12; font-weight: 800; }
.eps-h2 { font-family: var(--ep-font-heading); margin: 0 0 12px; font-size: clamp(26px, 3.6vw, 38px); line-height: 1.2; font-weight: 800; }
.eps-h3 { font-family: var(--ep-font-heading); margin: 0 0 8px; font-size: 20px; line-height: 1.3; font-weight: 700; }
.eps-lead { margin: 0 0 22px; font-size: clamp(17px, 2vw, 20px); line-height: 1.6; opacity: .92; }
.eps-text { margin: 0 0 12px; font-size: 16px; line-height: 1.7; }
.eps-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.eps-center .eps-btns { justify-content: center; }
.eps-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 26px; border-radius: 40px; background: var(--ep-primary); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; border: 2px solid transparent; transition: transform .15s, box-shadow .15s; }
.eps-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(93,7,138,.25); }
.eps-btn-light { background: #fff; color: var(--ep-primary); }
.eps-btn-outline { background: transparent; color: inherit; border-color: currentColor; }
.eps-btn-green { background: var(--ep-green); }

/* backgrounds */
.eps-bg-purple { background: linear-gradient(135deg, var(--ep-primary) 0%, var(--ep-secondary) 100%); color: #fff; }
.eps-bg-soft { background: var(--ep-light); }
.eps-bg-white { background: #fff; }
.eps-bg-green { background: #F3FFF0; }
.eps-bg-dark { background: var(--ep-dark); color: #fff; }

/* columns */
.eps-row { display: grid; gap: 24px; align-items: start; }
.eps-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.eps-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.eps-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.eps-middle { align-items: center; }
.eps-col { min-width: 0; }
.eps-img { width: 100%; height: auto; border-radius: 16px; display: block; }
.eps-img-round { border-radius: 50%; aspect-ratio: 1 / 1; object-fit: cover; }

/* cards */
.eps-card { background: #fff; border: 1px solid #E8DFF0; border-radius: 16px; padding: 24px; box-shadow: 0 4px 18px rgba(58,5,86,.06); color: #111; }
.eps-card .eps-text:last-child { margin-bottom: 0; }
.eps-icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 14px; background: var(--ep-light); color: var(--ep-primary); margin-bottom: 14px; }
.eps-icon svg { width: 28px; height: 28px; }
.eps-icon-plain { display: inline-flex; color: inherit; line-height: 0; }
.eps-icon-plain svg { width: 32px; height: 32px; }

/* course card */
.eps-course { display: flex; flex-direction: column; }
.eps-course .eps-img { border-radius: 12px; margin-bottom: 14px; aspect-ratio: 16 / 10; object-fit: cover; }
.eps-price { font-size: 26px; font-weight: 800; color: var(--ep-primary); margin: 4px 0 10px; }
.eps-list { margin: 0 0 14px; padding-left: 20px; line-height: 1.8; }
.eps-badge { display: inline-block; background: var(--ep-accent); color: var(--ep-secondary); font-weight: 700; font-size: 12px; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; }

/* results / scores */
.eps-score { text-align: center; }
.eps-score .eps-img { width: 110px; height: 110px; margin: 0 auto 12px; }
.eps-score-num { font-size: 44px; font-weight: 900; color: var(--ep-primary); line-height: 1; margin: 4px 0; }

/* stats */
.eps-stat { text-align: center; }
.eps-stat-num { font-size: clamp(34px, 4vw, 48px); font-weight: 900; line-height: 1.1; }

/* steps */
.eps-step-num { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; background: var(--ep-primary); color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 12px; }

/* testimonial */
.eps-quote { font-size: 16px; line-height: 1.7; margin: 0 0 16px; }
.eps-person { display: flex; align-items: center; gap: 12px; }
.eps-person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.eps-stars { color: #F5A623; letter-spacing: 2px; margin-bottom: 8px; }

/* FAQ */
.eps-faq details { background: #fff; border: 1px solid #E8DFF0; border-radius: 12px; padding: 0 18px; margin-bottom: 10px; color: #111; }
.eps-faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; font-size: 17px; list-style: none; }
.eps-faq summary::-webkit-details-marker { display: none; }
.eps-faq summary::after { content: "+"; float: right; font-size: 22px; line-height: 1; color: var(--ep-primary); }
.eps-faq details[open] summary::after { content: "−"; }
.eps-faq details p { margin: 0 0 16px; line-height: 1.7; }

/* gallery, video, map, divider, spacer */
.eps-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.eps-gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; }
.eps-video { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.eps-video iframe, .eps-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.eps-video-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 20px; text-align: center; background: linear-gradient(135deg, var(--ep-secondary), var(--ep-dark)); }
.eps-video-empty small { font-weight: 500; font-size: 13px; opacity: .8; }
.eps-map { width: 100%; height: 360px; border: 0; border-radius: 14px; display: block; }
.eps-divider { border: 0; border-top: 2px solid #E8DFF0; margin: 24px 0; }
.eps-spacer { height: 48px; }

/* contact strip */
.eps-contact-item { display: flex; gap: 12px; align-items: center; font-weight: 600; text-decoration: none; color: inherit; }

@media (max-width: 760px) {
  .eps-sec { padding: 40px 0; }
  .eps-wrap { padding: 0 16px; }
  .eps-cols-2, .eps-cols-3, .eps-cols-4 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .eps-cols-4.eps-keep-2, .eps-cols-3.eps-keep-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eps-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .eps-card { padding: 18px; }
  .eps-btns { flex-direction: column; align-items: stretch; }
  .eps-map { height: 260px; }
}

/* About page team: on phones show name, then role, then social icons (like the Wix phone layout) */
@media (max-width: 760px) {
  .wx-team-text { display: flex; flex-wrap: wrap; align-items: center; }
  .wx-team-text > .wx-row:first-child { display: contents; }
  .wx-team-text > .wx-row:first-child > .wx-cell:first-child { order: 1; margin-bottom: 2px; }
  .wx-team-text > .wx-row:not(:first-child) { order: 2; flex: 0 0 100%; margin-top: 0 !important; }
  .wx-team-text > .wx-row:first-child > .wx-small { order: 3; margin-top: 6px; }
}

/* About page on phones (like Wix): team photos smaller, partner logos (Alfa, Pearson) small and centred.
   Written with :has() so it works for the old page AND the copy in the website editor without re-importing. */
@media (max-width: 760px) {
  .wx-cell:has(> .wx-row > .wx-team-text) > img { width: 240px; max-width: 100%; }
  /* the same gap between every person */
  .wx-row:has(> .wx-cell > .wx-row > .wx-team-text) { margin-top: 28px !important; }
  .wx-row:has(> .wx-cell > .wx-row > .wx-team-text) + .wx-row:has(> .wx-cell > .wx-row > .wx-team-text) { margin-top: 0 !important; }
  .wx-cell:has(> .wx-row > .wx-team-text) { margin-bottom: 40px; }
  .wx-row:has(img[src*="ef5ecd7d408a4690950113fdc54daeeb"], img[alt="unnamed_edited.jpg"]) { flex-direction: column; align-items: center; }
  .wx-row:has(img[src*="ef5ecd7d408a4690950113fdc54daeeb"], img[alt="unnamed_edited.jpg"]) > .wx-cell { width: 84px !important; margin: 0 0 14px !important; }
}

/* About page on phones: each team photo and its name/role/icons centred (like Wix), text stays left-aligned under the photo. */
@media (max-width: 760px) {
  .wx-cell:has(> .wx-row > .wx-team-text) > img { display: block; margin-left: auto !important; margin-right: auto !important; }
  .wx-cell:has(> .wx-row > .wx-team-text) > .wx-row { width: 240px; max-width: 100%; margin-left: auto !important; margin-right: auto !important; }
}

/* button hover effect (editor button styles) */
.eps-btn-fx { transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; }
.eps-btn-fx:hover { transform: translateY(-2px); filter: brightness(1.08); }

/* ===== Icons (Tabler, 5000+) and shapes / dividers from the editor (builder/icons-shapes.js) ===== */
.ep-ti { display: inline-flex; line-height: 0; vertical-align: middle; font-size: 40px; color: #6E17A0; }
.ep-ti svg { width: 1em; height: 1em; display: block; }
.ep-ti[data-ep-ti^="o:"] svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ep-ti[data-ep-ti^="f:"] svg { fill: currentColor; stroke: none; }
.ep-shape { display: block; width: 100%; height: 80px; line-height: 0; color: #6E17A0; overflow: hidden; }
.ep-shape svg { display: block; width: 100%; height: 100%; }
.ep-shape.ep-flip svg { transform: scaleY(-1); }
.ep-deco { position: relative; display: block; max-width: 100%; line-height: 0; color: #6E17A0; }
.ep-deco svg { display: block; width: 100%; height: auto; }
.ep-burst .ep-burst-text { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center;
  font-weight: 800; font-size: 22px; line-height: 1.1; }
.ep-pat-dots { background: #F7F0FC radial-gradient(rgba(110, 23, 160, .22) 1.6px, transparent 1.8px) 0 0 / 22px 22px; }
.ep-pat-grid { background-color: #fff; background-image: linear-gradient(#EFE4F7 1px, transparent 1px), linear-gradient(90deg, #EFE4F7 1px, transparent 1px); background-size: 28px 28px; }
.ep-pat-stripes { background: repeating-linear-gradient(45deg, #F7F0FC 0 14px, #fff 14px 28px); }
.ep-pat-gradient { background: linear-gradient(135deg, #5D078A, #9B3FD1); color: #fff; }
.ep-pat-gradient .eps-h2, .ep-pat-gradient .eps-text { color: #fff; }
.ep-pat-glow { background: radial-gradient(circle at 15% 25%, #EBDDF6, transparent 55%), radial-gradient(circle at 85% 75%, #DFF5D6, transparent 50%), #fff; }
@media (max-width: 760px) { .ep-shape { height: 44px; } }

/* ===== More sections + page templates from the editor (builder/sections-more.js) ===== */
.eps2-head { margin-bottom: 28px; }
.eps2-head .eps-lead { margin-bottom: 0; }
.eps2-hero { padding: 88px 0; }
.eps2-pill { display: inline-block; background: rgba(255,255,255,.16); color: inherit; border: 1px solid rgba(255,255,255,.3); border-radius: 30px; padding: 6px 14px; font-weight: 700; font-size: 13px; margin-bottom: 16px; }
.eps-bg-soft .eps2-pill, .eps-bg-white .eps2-pill { background: #fff; border-color: #E8DFF0; color: var(--ep-primary); }
.eps2-mini-stats { display: flex; gap: 28px; margin-top: 26px; flex-wrap: wrap; }
.eps2-mini-stats div { display: flex; flex-direction: column; }
.eps2-mini-stats strong { font-size: 26px; font-weight: 900; color: var(--ep-primary); line-height: 1.1; }
.eps2-mini-stats span { font-size: 13px; opacity: .75; }
.eps2-img-badge { position: relative; }
.eps2-float { position: absolute; left: -12px; bottom: 22px; background: #fff; color: var(--ep-secondary); font-weight: 700; padding: 10px 16px; border-radius: 14px; box-shadow: 0 10px 30px rgba(58,5,86,.18); }
.eps2-giant { font-size: clamp(54px, 10vw, 120px); line-height: .95; font-weight: 900; margin: 0 0 10px; letter-spacing: -.02em; }
.eps2-check { list-style: none; padding: 0; margin: 0 0 18px; }
.eps2-check li { position: relative; padding-left: 30px; margin: 0 0 9px; line-height: 1.55; }
.eps2-check li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--ep-green); color: #fff; font-size: 12px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.eps2-check-lg li { font-size: 18px; margin-bottom: 12px; }
.eps2-count { display: flex; justify-content: center; gap: 12px; margin: 6px 0 24px; }
.eps2-count div { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); border-radius: 14px; min-width: 78px; padding: 10px 6px; display: flex; flex-direction: column; align-items: center; }
.eps2-count strong { font-size: 32px; font-weight: 900; line-height: 1.1; }
.eps2-count span { font-size: 13px; opacity: .85; }
.eps2-feat { display: flex; gap: 14px; align-items: flex-start; }
.eps2-ic { flex: 0 0 auto; display: inline-flex; width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--ep-primary); align-items: center; justify-content: center; box-shadow: 0 3px 12px rgba(58,5,86,.08); }
.eps2-ic svg { width: 24px; height: 24px; }
.eps2-alt { margin-bottom: 36px; }
.eps2-rev > .eps-col:first-child { order: 2; }
.eps2-glass { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 24px; }
.eps2-num-card { background: #fff; border-radius: 16px; padding: 24px; }
.eps2-big-num { display: block; font-size: 52px; font-weight: 900; line-height: 1; color: #E3CFF2; margin-bottom: 8px; }
.eps2-row-card { display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid #E8DFF0; border-radius: 16px; padding: 14px; margin-bottom: 14px; color: #111; }
.eps2-thumb { width: 120px; height: 90px; object-fit: cover; border-radius: 12px; flex: 0 0 auto; }
.eps2-row-main { flex: 1; min-width: 0; }
.eps2-row-main .eps-text { margin: 0; }
.eps2-row-side { text-align: right; }
.eps2-row-side .eps-price { margin: 0 0 6px; }
.eps2-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 6px; }
.eps2-meta span { background: var(--ep-light); color: var(--ep-secondary); border-radius: 20px; padding: 4px 12px; font-size: 13px; font-weight: 600; }
.eps2-modules div { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #EEE6F4; }
.eps2-modules span { flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--ep-light); color: var(--ep-primary); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.eps2-tile { text-decoration: none; text-align: center; transition: transform .15s; }
.eps2-tile:hover, .eps2-choice:hover, .eps2-contact:hover, .eps2-blog:hover { transform: translateY(-3px); }
.eps2-tile span, .eps2-choice span, .eps2-blog span { color: var(--ep-primary); font-weight: 700; }
.eps2-plan { position: relative; text-align: center; }
.eps2-plan .eps2-check { text-align: left; width: fit-content; margin: 0 auto 18px; }
.eps-course .eps-badge, .eps-col > .eps-badge { align-self: flex-start; }
.eps2-plan-price { font-size: 36px; font-weight: 900; color: var(--ep-primary); margin: 4px 0 16px; }
.eps2-plan-hot { border: 2px solid var(--ep-primary); box-shadow: 0 16px 40px rgba(93,7,138,.18); transform: scale(1.04); }
.eps2-ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--ep-accent); color: var(--ep-secondary); font-weight: 800; font-size: 12px; padding: 4px 14px; border-radius: 20px; white-space: nowrap; }
.eps2-old-price { text-decoration: line-through; opacity: .7; margin: -6px 0 16px; }
.eps2-table-wrap { overflow-x: auto; }
.eps2-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid #E8DFF0; border-radius: 16px; overflow: hidden; color: #111; }
.eps2-table th, .eps2-table td { padding: 14px 16px; text-align: center; border-bottom: 1px solid #F0E8F6; }
.eps2-table th { background: var(--ep-primary); color: #fff; font-weight: 700; }
.eps2-table td:first-child, .eps2-table th:first-child { text-align: left; }
.eps2-table tr:last-child td { border-bottom: 0; background: #F9F4FD; }
.eps2-ba { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 6px 0; }
.eps2-ba span { font-size: 28px; font-weight: 800; opacity: .45; text-decoration: line-through; }
.eps2-ba b { color: var(--ep-green); font-size: 26px; }
.eps2-ba strong { font-size: 44px; font-weight: 900; color: var(--ep-primary); }
.eps2-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.eps2-chips span { background: var(--ep-light); color: var(--ep-secondary); border-radius: 30px; padding: 8px 16px; font-weight: 700; }
.eps2-quote-mark { font-size: 90px; line-height: .6; color: var(--ep-primary); font-family: Georgia, serif; margin-top: 20px; }
.eps2-quote-big { font-size: clamp(20px, 2.6vw, 28px); line-height: 1.5; font-weight: 600; margin: 10px 0 22px; }
.eps2-rating { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.eps2-rating-num { font-size: 52px; font-weight: 900; color: var(--ep-primary); line-height: 1; }
.eps2-stats-line > .eps-col { border-right: 1px solid #EEE6F4; }
.eps2-stats-line > .eps-col:last-child { border-right: 0; }
.eps2-stats-line .eps-icon { margin: 0 auto 8px; }
.eps2-thin { padding: 22px 0; }
.eps2-strip-nums { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 14px 28px; font-size: 16px; }
.eps2-strip-nums strong { font-size: 22px; font-weight: 900; margin-right: 4px; }
.eps2-steps { counter-reset: s; }
.eps2-timeline { position: relative; padding-left: 34px; border-left: 3px solid #E3CFF2; margin-left: 10px; }
.eps2-tl-item { position: relative; margin-bottom: 26px; }
.eps2-tl-dot { position: absolute; left: -46px; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--ep-primary); border: 4px solid var(--ep-light); }
.eps2-schedule > div { display: grid; grid-template-columns: 110px 1fr 1fr; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #EEE6F4; align-items: center; }
.eps2-schedule > div:nth-child(odd) { background: #FAF6FD; }
.eps2-schedule strong { color: var(--ep-primary); }
.eps2-hours .eps2-schedule > div { grid-template-columns: 120px 1fr; }
.eps2-person .eps-img-round { width: 160px; margin: 0 auto 14px; }
.eps2-mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 180px 180px; gap: 12px; }
.eps2-mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.eps2-mosaic img:first-child { grid-row: span 2; }
.eps2-fig { margin: 0; }
.eps2-fig figcaption { margin-top: 10px; font-weight: 700; text-align: center; }
.eps2-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 44px; }
.eps2-logos img { height: 48px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: .2s; }
.eps2-logos img:hover { filter: none; opacity: 1; }
.eps2-help { margin-top: 16px; }
.eps2-faq-plain > div { padding: 18px 0; border-bottom: 1px solid #EEE6F4; }
.eps2-faq-plain .eps-text { margin: 0; }
.eps2-offer-strip { background: var(--ep-accent); color: var(--ep-secondary); text-align: center; padding: 11px 16px; font-weight: 700; font-family: "Montserrat", "Hind Siliguri", sans-serif; }
.eps2-offer-strip a { color: var(--ep-primary); margin-left: 10px; text-decoration: underline; }
.eps2-cta-box { background: linear-gradient(135deg, var(--ep-primary), var(--ep-secondary)); color: #fff; border-radius: 24px; padding: 40px; }
.eps2-wa { background: #E9F9EE; }
.eps2-choice { text-decoration: none; padding: 34px; transition: transform .15s; }
.eps2-grad-box { background: linear-gradient(120deg, var(--ep-primary) 0%, #9B3FD1 55%, var(--ep-green) 130%); color: #fff; border-radius: 24px; padding: 56px 24px; }
.eps2-contact { text-decoration: none; text-align: center; transition: transform .15s; }
.eps2-contact .eps-icon { margin: 0 auto 12px; }
.eps2-blog { text-decoration: none; transition: transform .15s; }
.eps2-notice { background: #FFF6D6; border-left: 5px solid #F2B705; border-radius: 10px; padding: 16px 18px; line-height: 1.6; }
@media (max-width: 760px) {
  .eps2-hero { padding: 52px 0; }
  .eps2-rev > .eps-col:first-child { order: 0; }
  .eps2-float { left: 10px; bottom: 10px; font-size: 13px; }
  .eps2-plan-hot { transform: none; }
  .eps2-row-card { flex-wrap: wrap; }
  .eps2-row-side { text-align: left; width: 100%; }
  .eps2-thumb { width: 90px; height: 70px; }
  .eps2-count div { min-width: 64px; }
  .eps2-count strong { font-size: 24px; }
  .eps2-stats-line > .eps-col { border-right: 0; }
  .eps2-schedule > div { grid-template-columns: 70px 1fr; }
  .eps2-schedule > div > span:last-child { grid-column: 2; }
  .eps2-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .eps2-mosaic img { height: 140px; }
  .eps2-mosaic img:first-child { grid-row: auto; grid-column: span 2; height: 200px; }
  .eps2-cta-box { padding: 26px 20px; }
  .eps2-rating { justify-content: center; text-align: center; }
  .eps2-timeline { padding-left: 26px; }
  .eps2-tl-dot { left: -38px; }
}

/* ===== Animations from the editor (builder/animations.js) =====
   Scroll animations use CSS scroll-driven timelines: no JavaScript, nothing to slow the page down.
   Browsers without support (e.g. Firefox today) simply show everything without animation.
   People who turn on "reduce motion" on their phone get no animation. */
@keyframes ep-k-fade-up { from { opacity: 0; transform: translateY(46px); } to { opacity: 1; transform: none; } }
@keyframes ep-k-fade-down { from { opacity: 0; transform: translateY(-46px); } to { opacity: 1; transform: none; } }
@keyframes ep-k-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ep-k-left { from { opacity: 0; transform: translateX(-70px); } to { opacity: 1; transform: none; } }
@keyframes ep-k-right { from { opacity: 0; transform: translateX(70px); } to { opacity: 1; transform: none; } }
@keyframes ep-k-zoom { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: none; } }
@keyframes ep-k-zoom-out { from { opacity: 0; transform: scale(1.15); } to { opacity: 1; transform: none; } }
@keyframes ep-k-blur { from { opacity: 0; filter: blur(12px); } to { opacity: 1; filter: none; } }
@keyframes ep-k-flip { from { opacity: 0; transform: perspective(900px) rotateX(35deg) translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes ep-k-tilt { from { opacity: 0; transform: rotate(-6deg) translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes ep-k-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes ep-k-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes ep-k-wiggle { 0%, 84%, 100% { transform: rotate(0); } 88% { transform: rotate(-5deg); } 92% { transform: rotate(5deg); } 96% { transform: rotate(-3deg); } }
@keyframes ep-k-spin { to { transform: rotate(360deg); } }
@keyframes ep-k-shine { from { background-position: -160% 0; } to { background-position: 260% 0; } }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .ep-a-fade-up, .ep-a-fade-down, .ep-a-fade, .ep-a-left, .ep-a-right, .ep-a-zoom, .ep-a-zoom-out, .ep-a-blur, .ep-a-flip, .ep-a-tilt,
    .ep-a-stagger > * {
      animation-duration: 1ms; /* needed by Firefox/Safari parsers; the timeline sets the real progress */
      animation-timing-function: cubic-bezier(.2, .7, .2, 1);
      animation-fill-mode: both;
      animation-timeline: view();
      animation-range: entry 0% cover 25%;
    }
    .ep-a-fade-up, .ep-a-stagger > * { animation-name: ep-k-fade-up; }
    .ep-a-fade-down { animation-name: ep-k-fade-down; }
    .ep-a-fade { animation-name: ep-k-fade; }
    .ep-a-left { animation-name: ep-k-left; }
    .ep-a-right { animation-name: ep-k-right; }
    .ep-a-zoom { animation-name: ep-k-zoom; }
    .ep-a-zoom-out { animation-name: ep-k-zoom-out; }
    .ep-a-blur { animation-name: ep-k-blur; }
    .ep-a-flip { animation-name: ep-k-flip; }
    .ep-a-tilt { animation-name: ep-k-tilt; }
    /* one by one: cards in a row come in a little after each other */
    .ep-a-stagger > *:nth-child(2) { animation-range: entry 5% cover 29%; }
    .ep-a-stagger > *:nth-child(3) { animation-range: entry 10% cover 33%; }
    .ep-a-stagger > *:nth-child(4) { animation-range: entry 15% cover 37%; }
    .ep-a-stagger > *:nth-child(n+5) { animation-range: entry 20% cover 41%; }
    /* later = starts a bit later while scrolling */
    .ep-a-late { animation-range: entry 10% cover 35% !important; }
    .ep-a-later { animation-range: entry 20% cover 45% !important; }
  }
  /* always moving (no scroll needed) */
  .ep-m-float { animation: ep-k-float 3.2s ease-in-out infinite; }
  .ep-m-pulse { animation: ep-k-pulse 1.8s ease-in-out infinite; }
  .ep-m-wiggle { animation: ep-k-wiggle 3s ease-in-out infinite; }
  .ep-m-spin { animation: ep-k-spin 12s linear infinite; }
  .ep-m-shine { background-image: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 48%, transparent 66%); background-size: 60% 100%;
    background-repeat: no-repeat; animation: ep-k-shine 2.8s ease-in-out infinite; }
  /* on mouse-over */
    /* translate / scale / rotate (not transform) so they also work on top of a scroll animation */
  .ep-h-lift, .ep-h-grow, .ep-h-glow, .ep-h-tilt { transition: translate .25s ease, scale .25s ease, rotate .25s ease, box-shadow .25s ease; }
  .ep-h-lift:hover { translate: 0 -6px; box-shadow: 0 16px 34px rgba(58,5,86,.16); }
  .ep-h-grow:hover { scale: 1.05; }
  .ep-h-glow:hover { box-shadow: 0 0 0 4px rgba(110,23,160,.18), 0 12px 30px rgba(110,23,160,.25); }
  .ep-h-tilt:hover { rotate: -2deg; scale: 1.03; }
}

/* coupon box + printable receipt */
.coupon-box { margin: 10px 0; font-size: 14px; }
.coupon-box summary { cursor: pointer; color: var(--purple); font-weight: 600; }
.coupon-row { display: flex; gap: 6px; margin-top: 8px; }
.coupon-row input { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid #ccc; border-radius: 8px; text-transform: uppercase; }
.btn-outline-sm { border: 1px solid var(--purple); color: var(--purple); background: #fff; border-radius: 8px; padding: 0 14px; font-weight: 600; cursor: pointer; }
.coupon-msg { margin: 6px 0 0; font-size: 13px; } .coupon-msg.ok { color: #1E8E3E; } .coupon-msg.bad { color: #C62828; }
.receipt { width: 760px; max-width: 100%; margin: 30px auto; padding: 28px; background: #fff; border: 1px solid #ddd; border-radius: 12px; }
.receipt-head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; line-height: 1.6; }
.receipt-biz { font-size: 18px; color: var(--purple); }
.receipt-email { color: var(--purple); font-weight: 600; }
.receipt-no { text-align: right; } .receipt-no h1 { margin: 0 0 4px; font-size: 26px; }
.receipt-test { background: #FFF3CD; padding: 8px 12px; border-radius: 8px; font-weight: 700; }
.receipt-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.receipt-table th, .receipt-table td { text-align: left; padding: 9px 6px; border-bottom: 1px solid #eee; }
.receipt-table th { width: 38%; color: #555; font-weight: 600; } .receipt-table .total td, .receipt-table .total th { font-size: 18px; font-weight: 800; color: #111; }
.receipt-foot { font-size: 13px; color: #666; }
@media print { .site-header, .site-footer, .wa-float, #ep-assistant, .receipt .btn, .skip-link { display: none !important; } .receipt { border: 0; margin: 0; } }
.mc-receipts-title { font-size: 18px; margin: 28px 0 8px; }
.mc-receipts { padding-left: 18px; line-height: 2; }
/* Website Twin: background video behind a section */
.ep-has-bgvideo { position: relative; overflow: hidden; }
.ep-has-bgvideo > .ep-bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; }
.ep-has-bgvideo > *:not(.ep-bg-video) { position: relative; z-index: 1; }
/* buttons made in the Website Twin follow the global button style (Font ও রং → বোতাম) */
.ep-gbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 26px; border-radius: 40px;
  background-color: var(--ep-primary); color: #fff; font-weight: 700; text-decoration: none; border: 2px solid transparent;
  font-family: var(--ep-font-button, var(--ep-font-body)); transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
.ep-gbtn:hover { filter: brightness(1.1); }
/* only for the website team (owner / designer), never for visitors: open this page in the Website Twin */
.ep-editbar { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: flex; flex-direction: column; padding: 10px 16px; border-radius: 14px;
  background: #3A0556; color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; box-shadow: 0 8px 24px rgba(0,0,0,.3); line-height: 1.2; }
.ep-editbar small { font-weight: 500; font-size: 11px; opacity: .8; }
.ep-editbar:hover { background: #5D078A; }
@media print { .ep-editbar { display: none; } }

/* "🎓 ভর্তি হন · Online payment" button (Website Twin block; only while the course is on the website) */
.ep-enroll-sec { padding: 10px 16px 40px; text-align: center; }
.ep-enroll-btn { display: inline-flex; width: auto; height: auto; min-height: 52px; padding: 0 30px; font-size: 18px; font-weight: 700; }
.ep-enroll-sub { margin: 8px 0 0; font-size: 14px; opacity: .75; }
.ep-enroll-note { margin: 0 0 8px; font-size: 13px; color: #6B4500; }
/* /contact-us: outline "Send" button like Wix (other forms keep the filled button) */
.contact-page .ep-form .ep-submit { background: transparent; color: var(--purple); border: 1px solid var(--purple); width: 100%; align-self: stretch; }
.contact-page .ep-form .ep-submit:hover { background: var(--purple); color: #fff; }

/* ---------- Design review (laptop polish; same Wix look) ---------- */
/* footer always at the bottom of the window, also on short pages (log in, payment result …) */
body { min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
/* the logo keeps its size when the menu is longer (logged in: "My Courses") */
.logo { flex: none; }
/* buttons: the Wix "View Details" look, but longer words (Bangla) fit on one line */
.btn { width: auto; min-width: 142px; padding: 0 26px; white-space: nowrap; }
a.btn, a.btn:visited, .post-body a.btn { color: #fff; }
/* phone numbers never break in the middle */
a[href*="wa.me/8801626144867"], a[href^="tel:"] { white-space: nowrap; }
/* course cards: same height in a row, buttons on one line, a short last row in the middle */
.course-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 20px 16px; }
.course-grid > * { width: 288px; }
.mc-card > .btn:last-child { margin-top: auto; }
.mc-card { gap: 10px; }
.course-card:hover, .mc-card:hover { box-shadow: 0 6px 18px rgba(93, 7, 138, .10); }
.course-card, .mc-card { transition: box-shadow .2s; }
/* log in / sign up / password pages */
.auth-wrap { padding: 64px 16px 90px; }
.auth-card { border-top: 4px solid var(--purple); box-shadow: 0 8px 28px rgba(43, 0, 64, .07); }
form.ep-form { display: flex; flex-direction: column; gap: 16px; }
.auth-form .ep-submit { width: 100%; height: 44px; font-weight: 600; margin-top: 6px; }
.auth-form .ep-field label { font-weight: 600; color: #222; }
.ep-help { line-height: 1.45; }
/* course page (recorded): buy box + lesson list */
.rc-buy .btn, .rc-btn { width: 100%; height: 44px; font-size: 15px; font-weight: 600; }
.rc-list li:hover { background: #FBF8FD; }
/* My Courses, payment result, receipt, no access, unsubscribe */
.mc-head { margin-bottom: 4px; }
.mc-card .btn, .pay-result .btn, .mc-empty .btn, .receipt .btn { font-size: 15px; font-weight: 600; }
.pay-result, .mc-empty { padding-top: 56px; padding-bottom: 80px; }
.pay-result p, .mc-empty p { max-width: 640px; margin-left: auto; margin-right: auto; }
.pay-result .btn { margin: 22px 0 6px; }
/* blog: a post without a picture gets the brand colours instead of a black box */
.post-card-img:not([style]) { background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 60%, #7B1FB0 100%); }
.post-card-img:not([style])::after { content: ""; position: absolute; inset: 0; background: url("../img/logo.773179a41f11.svg") right 24px top 24px / 72px auto no-repeat; opacity: .5; }
/* a YouTube video shows a black frame while it loads (never an empty white gap) */
.wx-embed:has(> iframe[src*="youtube"]) { background: #000; }

/* ===== Kamrul's approved design ideas 1-6 (12 Nov 2026, Mac Claude) ===== */
.ep-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 0 26px; border-radius: 40px;
  font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease; }
.ep-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.ep-btn-white { background: #fff; color: var(--purple); }
.ep-btn-wa { background: #1EA854; color: #fff; }
.ep-btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.ep-btn-purple { background: var(--purple); color: #fff; }

/* 1. home hero */
.hero.ep-hero2 { text-align: left; padding: 56px 0 60px; }
.ep-hero2-in { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: center; max-width: 1140px; }
.ep-hero2-kicker { margin: 0 0 12px; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.ep-hero2 .hero-title { font-size: 48px; line-height: 1.15; margin: 0; }
.ep-hero2-sub { margin: 18px 0 0; font-size: 19px; line-height: 1.6; color: rgba(255,255,255,.92); }
.ep-hero2-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.ep-hero2-trust { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 26px 0 0; font-size: 16px; color: rgba(255,255,255,.9); }
.ep-hero2-pic img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 18px 40px rgba(0,0,0,.35); transform: rotate(1.5deg); transition: transform .25s ease; }
.ep-hero2-pic:hover img { transform: rotate(0) scale(1.02); }
@media (max-width: 900px) { .ep-hero2-in { grid-template-columns: 1fr; } .ep-hero2-pic { max-width: 320px; } .ep-hero2 .hero-title { font-size: 32px; } }

/* 2. course summary box */
.ep-summary-row { display: block; margin: 26px auto 18px; }
.ep-summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; max-width: 920px; margin: 0 auto;
  background: #fff; border: 1px solid #e7e0ee; border-top: 4px solid var(--purple); border-radius: 16px; padding: 22px 26px; box-shadow: 0 10px 30px rgba(58,5,86,.08); }
.ep-summary-price span { display: block; font-size: 14px; color: #666; }
.ep-summary-price strong { display: block; font-size: 30px; font-weight: 900; color: var(--purple); white-space: nowrap; }
.ep-summary-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 18px; font-size: 15px; line-height: 1.45; color: #222; }
.ep-summary-btns { display: flex; flex-direction: column; gap: 10px; }
.ep-summary-btns .ep-btn { min-height: 42px; }
@media (max-width: 900px) { .ep-summary { grid-template-columns: 1fr; } .ep-summary-list { grid-template-columns: 1fr 1fr; } .ep-summary-btns { flex-direction: row; } }

/* 3. testimonials: first 16, then "show more" (checkbox, no JavaScript) */
.ep-more-toggle { display: none; }
.ep-more-toggle:not(:checked) + .wx-masonry .wx-mcol > .wx-tile:nth-child(n+9) { display: none; }
.ep-more-btn { display: table; margin: 34px auto 10px; padding: 13px 34px; border-radius: 40px; background: var(--purple); color: #fff; font-size: 16px; font-weight: 600; cursor: pointer; box-shadow: 0 8px 20px rgba(58,5,86,.25); }
.ep-more-btn:hover { transform: translateY(-2px); }
.ep-more-hide, .ep-more-toggle:checked ~ .ep-more-btn .ep-more-show { display: none; }
.ep-more-toggle:checked ~ .ep-more-btn .ep-more-hide { display: inline; }

/* 5. course numbers as cards */
.ep-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; max-width: 1100px; margin: 0 auto; }
.ep-stat { background: #fff; border: 1px solid #ece6f1; border-radius: 16px; padding: 24px 22px; box-shadow: 0 6px 22px rgba(58,5,86,.07); transition: transform .2s ease, box-shadow .2s ease; }
.ep-stat:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(58,5,86,.13); }
.ep-stat-ic { display: block; font-size: 28px; line-height: 1; margin-bottom: 12px; }
.ep-stat strong { display: block; font-size: 24px; font-weight: 900; line-height: 1.2; color: var(--purple); }
.ep-stat-lab { display: block; margin-top: 8px; font-size: 15px; line-height: 1.6; color: #333; }
.ep-stats-sec { padding-top: 48px !important; padding-bottom: 64px !important; }

/* 6. course cards: one tick style, bigger purple price, popular badge */
.course-card { position: relative; background: #fff; border-top: 4px solid #1EA854; box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.course-card .price { color: var(--purple); font-size: 19px; font-weight: 800; line-height: 1.35; }
.course-body p.tick { position: relative; padding-left: 24px; }
.course-body p.tick::before { content: ""; position: absolute; left: 4px; top: .45em; width: 11px; height: 6px; border-left: 2.5px solid #1EA854; border-bottom: 2.5px solid #1EA854; transform: rotate(-45deg); }
.ep-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: #FFC83D; color: #3B0A57; font-size: 13px; font-weight: 700; padding: 3px 14px; border-radius: 20px; white-space: nowrap; box-shadow: 0 3px 10px rgba(0,0,0,.12); }
.course-card.ep-popular { border-top-color: var(--purple); }
/* ideas: small fit fixes */
.ep-hero2-in { width: auto; max-width: 1180px; grid-template-columns: minmax(0, 1fr) 330px; gap: 44px; }
.ep-hero2-btns .ep-btn { padding: 0 20px; }
.ep-summary { max-width: 1080px; gap: 24px; }
.ep-summary-list { font-size: 14.5px; }
a.ep-btn, .wx-text a.ep-btn { color: #fff !important; text-decoration: none !important; }
a.ep-btn.ep-btn-white { color: var(--purple) !important; }
/* ideas: phone layout (must stay after the fit fixes above) */
@media (max-width: 900px) {
  .hero.ep-hero2 { padding: 36px 0 40px; }
  .ep-hero2-in { grid-template-columns: 1fr; gap: 28px; padding: 0 16px; }
  .ep-hero2 .hero-title { font-size: 30px; line-height: 1.2; }
  .ep-hero2-kicker { font-size: 12px; letter-spacing: .1em; }
  .ep-hero2-sub { font-size: 16px; }
  .ep-hero2-btns { gap: 10px; }
  .ep-hero2-btns .ep-btn { flex: 1 1 100%; }
  .ep-hero2-trust { font-size: 14px; gap: 6px 16px; }
  .ep-hero2-pic { max-width: 300px; margin: 0 auto; }
  .ep-summary { grid-template-columns: 1fr; gap: 16px; padding: 18px; margin: 0 4px; }
  .ep-summary-list { grid-template-columns: 1fr 1fr; font-size: 14px; }
  .ep-summary-btns { flex-direction: row; }
  .ep-summary-btns .ep-btn { flex: 1; padding: 0 12px; }
  .ep-stats { grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 4px; }
  .ep-stat { padding: 16px 14px; }
  .ep-stat strong { font-size: 19px; }
  .ep-stats-sec { padding-top: 28px !important; padding-bottom: 36px !important; }
  .ep-more-btn { margin-top: 20px; }
}
@media (max-width: 480px) {
  .ep-summary-list { grid-template-columns: 1fr; }
  .ep-stats { grid-template-columns: 1fr; }
}
/* ideas: testimonials "show more" also for the phone gallery (.wx-masonry-mobile) */
.ep-more-toggle:not(:checked) ~ .wx-masonry-mobile > .wx-tile:nth-child(n+13) { display: none; }
.wx-cell:has(> .ep-more-toggle) { display: flex; flex-direction: column; }
.wx-cell:has(> .ep-more-toggle) > .ep-more-btn { order: 5; align-self: center; }
/* ===== Empty-space fixes (12 Nov 2026). LAPTOP rules and PHONE rules are kept separate on purpose:
   a laptop rule must never change the phone look, and a phone rule must never change the laptop look. ===== */
/* LAPTOP only */
@media (min-width: 761px) {
  .wx-sec:has(+ .ep-stats-sec) { padding-bottom: 40px !important; }   /* course pages: text block -> number cards */
  .contact-box { min-height: 0; padding-bottom: 48px; }                 /* contact form had ~320px empty below Send */
}
/* PHONE only */
@media (max-width: 760px) {
  .wx-row { margin-top: min(var(--gap, 16px), 24px) !important; }      /* Wix desktop gaps (up to 160px) leaked onto phones */
  .wx-row:has(> .wx-cell > .wx-row > .wx-team-text) { margin-top: 28px !important; }
  .wx-row:has(> .wx-cell > .wx-row > .wx-team-text) + .wx-row:has(> .wx-cell > .wx-row > .wx-team-text) { margin-top: 0 !important; }
  .wx-flush .wx-row:first-child { margin-top: 0 !important; }
  .wx-row:has(> .wx-small:only-child) { margin-top: 4px !important; }
  .wx-team-text > .wx-row:not(:first-child) { margin-top: 0 !important; }
}
/* PHONE only: home hero order = title -> text -> result picture -> buttons -> trust line (Kamrul 12 Nov) */
@media (max-width: 900px) {
  .ep-hero2-in { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .ep-hero2-text { display: contents; }
  .ep-hero2-kicker { order: 1; }
  .ep-hero2 .hero-title { order: 2; }
  .ep-hero2-sub { order: 3; }
  .ep-hero2-pic { order: 4; width: 78%; max-width: 300px; margin: 24px auto 4px; }
  .ep-hero2-pic img { transform: none; }
  .ep-hero2-btns { order: 5; margin-top: 22px; }
  .ep-hero2-btns .ep-btn { min-height: 46px; font-size: 15px; }
  .ep-hero2-trust { order: 6; margin-top: 18px; justify-content: center; text-align: center; }
}
/* PHONE only: the floating WhatsApp bar covered page content; make it a small round button */
@media (max-width: 760px) {
  .wa-float { right: 14px; bottom: 16px; width: 54px; height: 54px; padding: 0; border-radius: 50%; font-size: 0; letter-spacing: 0;
    background: #1EA854 url("../img/icons/whatsapp.c92d9f234a60.png") center / 30px no-repeat; box-shadow: 0 6px 18px rgba(0,0,0,.28); }
}
/* PHONE only: the big italic price right under the summary box repeats the same fee; hide the repeat on phones */
@media (max-width: 760px) {
  .ep-summary-row + .wx-row:has(span[style*="Playfair"]):not(:has(img, video, a)) { display: none; }
}
/* PHONE only: Kamrul wants title -> result picture -> text, buttons, points */
@media (max-width: 900px) {
  .ep-hero2-pic { order: 3; margin: 20px auto 6px; }
  .ep-hero2-sub { order: 4; margin-top: 16px; }
}
/* PHONE only (12 Nov, phone design pass) */
@media (max-width: 760px) {
  .wx-cell[style*="padding-top"] { padding-top: 10px !important; }   /* desktop vertical offsets (e.g. 133px on team pages) left big holes on phones */
  .ep-stats { grid-template-columns: 1fr 1fr !important; gap: 10px; }  /* number cards two per row instead of one tall column */
  .ep-stat { padding: 14px 12px; }
  .ep-stat-ic { font-size: 22px; margin-bottom: 8px; }
  .ep-stat strong { font-size: 17px; }
  .ep-stat-lab { font-size: 13.5px; line-height: 1.5; }
}

/* ===== fonts-match (12 Nov): look like Wix on every device, free fonts only =====
   Wix uses paid Avenir + Helvetica. Apple phones/Macs already have both, so use the real ones there;
   Android/Windows get the closest free fonts (TeX Gyre Heros = Helvetica clone, Nunito Sans = Avenir-like). */
@font-face{font-family:'EP Heros';font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/tex-gyre-heros/heros-regular.a1ed6881f8fb.woff2") format('woff2')}
@font-face{font-family:'EP Heros';font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/tex-gyre-heros/heros-bold.02f220b4d881.woff2") format('woff2')}
:root{
  --font-menu: Helvetica, "EP Heros", Arial, sans-serif;
  --font-alt: Helvetica, "EP Heros", Arial, sans-serif;
  --f-avenir: Avenir, "Nunito Sans", Arial, "Hind Siliguri", sans-serif;
}

/* ===== hero-font (13 Nov): starting title same size/spacing as Wix (montserrat-black 42px, line-height 1.4) ===== */
@media (min-width: 761px) {
  .ep-hero2 .hero-title { font-size: 42px; line-height: 1.4; letter-spacing: normal; }
  .ep-hero2-kicker { font-weight: 700; font-size: 15px; letter-spacing: .04em; text-transform: none; color: #fff; }
}
/* phone rules last */
@media (max-width: 760px) {
  .ep-hero2 .hero-title { font-size: 28px; line-height: 1.4; letter-spacing: normal; }
  .ep-hero2-kicker { font-weight: 700; font-size: 13px; letter-spacing: .03em; text-transform: none; color: #fff; }
}

/* 10 Minute School type scale (Kamrul 13 Nov): home hero 72/24, home section titles 42/24, hero subtitle 24/16, our buttons 16/14.
   No !important on purpose: anything changed in the Website Twin editor must still win. Fonts + h1-h6/body/menu come from the Font page. */
.ep-hero2 .hero-title { font-size: 72px; font-weight: 700; line-height: 1.12; }
.section-title { font-size: 42px; font-weight: 700; line-height: 1.25; }
.ep-hero2 .ep-hero2-sub { font-size: 24px; line-height: 1.5; }
a.ep-btn { font-size: 16px; font-weight: 600; }
@media (max-width: 760px) {
  .ep-hero2 .hero-title { font-size: 24px; line-height: 1.3; }
  .section-title { font-size: 24px; }
  .ep-hero2 .ep-hero2-sub { font-size: 16px; }
  a.ep-btn { font-size: 14px; }
  .wa-float, .wa-float * { font-size: 0 !important; }
}
