/* Edusy Core: inner pages (same tokens as edusy.css) */
.ed-section--soft { background: var(--ed-soft); }
.ed-narrow { max-width: 860px; }

/* Page header */
.ed-phero { position: relative; overflow: hidden; background: var(--ed-hero); border-bottom: 1px solid #F6DADB; }
.ed-phero__o1 { position: absolute; right: -90px; top: -120px; width: 360px; height: 360px; border-radius: 999px; background: var(--ed-circle); }
.ed-phero__o2 { position: absolute; right: 120px; bottom: -150px; width: 260px; height: 260px; border-radius: 999px; border: 1.5px dashed var(--ed-ring); }
.ed-phero__inner { position: relative; padding-top: 44px; padding-bottom: 48px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.ed-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--ed-muted); margin-bottom: 6px; }
.ed-crumbs a { color: var(--ed-muted); text-decoration: none; }
.ed-crumbs a:hover { color: var(--ed-red-t); }
.ed-crumbs [aria-current] { color: var(--ed-ink); font-weight: 700; }
.ed-phero .ed-eyebrow { margin: 0; }
.ed-phero__title { margin: 0; font: 800 clamp(34px, 4.2vw, 52px)/1.08 var(--ed-head); letter-spacing: -.02em; color: var(--ed-ink); max-width: 820px; }
.ed-phero__lead { margin: 4px 0 0; font-size: 17px; line-height: 1.6; color: var(--ed-muted); max-width: 640px; }
.ed-search--page { margin-top: 14px; max-width: 620px; }
.ed-search--page .ed-search__btn { flex: 0 0 auto; }

/* Forms */
.ed-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.ed-field label, .ed-field legend { font-size: 13px; font-weight: 700; color: var(--ed-ink); padding: 0; }
.ed-field input[type="text"], .ed-field input[type="email"], .ed-field input[type="tel"], .ed-field input[type="url"], .ed-field input[type="number"], .ed-field input[type="date"], .ed-field select, .ed-field textarea {
	width: 100%; font-family: var(--ed-font); font-size: 15px; color: var(--ed-ink); background: #fff; border: 1.5px solid var(--ed-line); border-radius: 12px; padding: 11px 14px; min-height: 46px; box-shadow: none; outline: none; transition: border-color .2s, box-shadow .2s; }
.ed-field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23111114' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.ed-field input[type="file"] { font-size: 14px; padding: 10px; border: 1.5px dashed var(--ed-line); border-radius: 12px; background: #fff; }
.ed-field input:focus, .ed-field select:focus, .ed-field textarea:focus { border-color: var(--ed-red); box-shadow: 0 0 0 4px rgba(255,0,0,.10); }
.ed-field textarea { min-height: 120px; resize: vertical; }
.ed-field--row, .ed-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ed-field--row > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ed-chipset { display: flex; flex-wrap: wrap; gap: 6px; }
.ed-chipset label { position: relative; cursor: pointer; font-weight: 500; }
.ed-chipset input { position: absolute; opacity: 0; pointer-events: none; }
.ed-chipset span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--ed-line); background: #fff; font-size: 13px; font-weight: 600; transition: background .2s, color .2s, border-color .2s; }
.ed-chipset input:checked + span { background: var(--ed-ink); border-color: var(--ed-ink); color: #fff; }
.ed-chipset input:focus-visible + span { box-shadow: 0 0 0 3px rgba(255,0,0,.25); }
.ed-checks { gap: 10px; }
.ed-checks label { display: flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; }
.ed-checks input, .ed-disclaimer__check input { width: 18px; height: 18px; accent-color: var(--ed-red); }
.ed-form { display: flex; flex-direction: column; gap: 16px; }
.ed-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ed-hint { margin: -6px 0 0; font-size: 13px; color: var(--ed-muted); display: flex; align-items: center; gap: 6px; }
.ed-formcard { background: #fff; border: 1px solid var(--ed-line); border-radius: 22px; padding: 28px; box-shadow: 0 1px 2px rgba(17,17,20,.04), 0 18px 40px rgba(17,17,20,.05); display: flex; flex-direction: column; gap: 16px; }
.ed-formcard__title { margin: 0; font: 700 22px var(--ed-head); color: var(--ed-ink); }
.ed-formcard p { margin: 0; color: var(--ed-muted); line-height: 1.6; }
.ed-notice { display: flex; align-items: center; gap: 10px; border-radius: 14px; padding: 12px 14px; font-size: 14px; font-weight: 600; }
.ed-notice--ok { background: #F0FDF4; border: 1px solid #BBF7D0; color: #166534; }
.ed-notice--err { background: #FFF5F5; border: 1px solid #FFD3D5; color: var(--ed-red-t); }

/* Find tutors */
.ed-find { background: var(--ed-soft); padding: 32px 0 var(--ed-section); }
.ed-find__grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
.ed-filters { background: #fff; border: 1px solid var(--ed-line); border-radius: 22px; padding: 6px 20px 20px; position: sticky; top: calc(96px + var(--wp-admin--admin-bar--height, 0px)); max-height: calc(100vh - 120px); overflow: auto; }
.ed-filters__toggle { list-style: none; display: flex; align-items: center; gap: 8px; font: 700 18px var(--ed-head); padding: 14px 0; cursor: pointer; }
.ed-filters__toggle::-webkit-details-marker { display: none; }
.ed-filters__toggle .ed-ico { color: var(--ed-red); }
.ed-filters__count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--ed-red); color: #fff; font: 700 12px var(--ed-font); }
.ed-filters__form { display: flex; flex-direction: column; gap: 16px; }
.ed-filters__actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; position: sticky; bottom: -20px; background: #fff; padding: 12px 0 2px; }
.ed-filters__actions .ed-btn { padding: 14px 18px; }
.ed-results__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ed-results__count { margin: 0; font-size: 15px; color: var(--ed-muted); }
.ed-results__count b { font: 800 22px var(--ed-head); color: var(--ed-ink); margin-right: 2px; }
.ed-sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ed-muted); }
.ed-sort .ed-select select { background: #fff; border: 1.5px solid var(--ed-line); }
.ed-active { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.ed-active__chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--ed-line); border-radius: 999px; padding: 6px 10px 6px 12px; font-size: 13px; color: var(--ed-muted); text-decoration: none; transition: border-color .2s; }
.ed-active__chip b { color: var(--ed-ink); }
.ed-active__chip:hover { border-color: var(--ed-red); }
.ed-active__chip .ed-ico { stroke-width: 2.6; color: var(--ed-red); }
.ed-active__clear { font-size: 13px; font-weight: 700; color: var(--ed-red-t); text-decoration: none; margin-left: 4px; }
.ed-results__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ed-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.ed-pager a { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1.5px solid var(--ed-line); color: var(--ed-ink); font-weight: 700; text-decoration: none; }
.ed-pager a[aria-current] { background: var(--ed-ink); border-color: var(--ed-ink); color: #fff; }
.ed-empty h3 { margin: 0; font: 700 20px var(--ed-head); }

/* Categories */
.ed-cats__jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.ed-cats__jump a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px 0 12px; border-radius: 999px; background: var(--t); color: var(--c); font-weight: 700; font-size: 14px; text-decoration: none; transition: background .2s, color .2s; }
.ed-cats__jump a:hover { background: var(--c); color: #fff; }
.ed-cats__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ed-cat { position: relative; overflow: hidden; scroll-margin-top: 110px; background: #fff; border: 1px solid var(--ed-line); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 18px; transition: box-shadow .25s, border-color .25s; }
.ed-cat::before { content: ''; position: absolute; left: 0; top: 26px; width: 4px; height: 40px; border-radius: 0 4px 4px 0; background: var(--c); }
.ed-cat:hover { border-color: var(--c12); box-shadow: 0 18px 36px var(--c12); }
.ed-cat__head { display: flex; align-items: center; gap: 14px; }
.ed-cat__head > div { flex: 1 1 auto; min-width: 0; }
.ed-cat__icon { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 16px; background: var(--t); color: var(--c); display: flex; align-items: center; justify-content: center; }
.ed-cat__name { margin: 0; font: 700 22px var(--ed-head); color: var(--ed-ink); }
.ed-cat__desc { margin: 2px 0 0; font-size: 14px; color: var(--ed-muted); }
.ed-cat__all { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--c); text-decoration: none; }
.ed-cat__all .ed-ico { stroke-width: 2.4; transition: transform .2s; }
.ed-cat__all:hover .ed-ico { transform: translateX(4px); }
.ed-cat__subjects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ed-cat__subjects a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-radius: 12px; background: #F7F7F9; color: var(--ed-ink); text-decoration: none; font-size: 14px; font-weight: 600; transition: background .2s, color .2s; }
.ed-cat__subjects a .ed-ico { color: var(--ed-muted); stroke-width: 2.4; transition: transform .2s, color .2s; }
.ed-cat__subjects a:hover { background: var(--t); color: var(--c); }
.ed-cat__subjects a:hover .ed-ico { color: var(--c); transform: translateX(3px); }

/* Become a tutor */
.ed-become { background: var(--ed-hero); overflow: hidden; }
.ed-become__hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 64px; padding-bottom: 72px; }
.ed-become__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.ed-become__title { font-size: clamp(36px, 4.4vw, 56px); }
.ed-calc { flex: 0 1 380px; background: #fff; border: 1px solid #F3E1E2; border-radius: 26px; padding: 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 30px 60px rgba(255,0,0,.12); }
.ed-calc__label { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ed-red-t); }
.ed-calc__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; }
.ed-calc__row input { width: 120px; font: 700 16px var(--ed-font); text-align: right; border: 1.5px solid var(--ed-line); border-radius: 12px; padding: 10px 12px; outline: none; }
.ed-calc__row input:focus { border-color: var(--ed-red); }
.ed-calc__out { background: var(--ed-ink); color: #fff; border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.ed-calc__out small { font-size: 13px; color: #C9C9D1; }
.ed-calc__out strong { font: 800 36px var(--ed-head); letter-spacing: -.02em; }
.ed-calc__out span { font-size: 12px; color: #A9A9B4; }
.ed-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: none; }
.ed-flow__item { position: relative; background: #fff; border: 1px solid var(--ed-line); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.ed-flow__item:not(:last-child)::after { content: ''; position: absolute; top: 44px; right: -21px; width: 22px; border-top: 2px dashed var(--ed-ring); }
.ed-flow__num { position: absolute; top: 18px; right: 20px; font: 800 36px/1 var(--ed-head); color: transparent; -webkit-text-stroke: 1.5px #E2E2E8; }
.ed-flow__icon { width: 48px; height: 48px; border-radius: 14px; background: #FFF1F1; color: var(--ed-red-t); display: flex; align-items: center; justify-content: center; }
.ed-flow__item h3, .ed-perk h3 { margin: 4px 0 0; font: 700 19px var(--ed-head); color: var(--ed-ink); }
.ed-flow__item p, .ed-perk p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ed-muted); }
.ed-perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ed-perk { background: #fff; border: 1px solid var(--ed-line); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 8px; transition: transform .25s, box-shadow .25s; }
.ed-perk:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(17,17,20,.08); }
.ed-perk__icon { width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center; }
.ed-terms-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.ed-terms-grid > div { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.ed-stats { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ed-stats > div { background: var(--ed-soft); border-radius: 20px; padding: 20px; }
.ed-stats dt { font-size: 13px; color: var(--ed-muted); }
.ed-stats dd { margin: 4px 0 0; font: 800 32px var(--ed-head); color: var(--ed-ink); }
.ed-stats > div:first-child { background: var(--ed-red); }
.ed-stats > div:first-child dt { color: #FFE1E2; } .ed-stats > div:first-child dd { color: #fff; }
.ed-req { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ed-req__card { background: #fff; border: 1px solid var(--ed-line); border-radius: 22px; padding: 24px; }
.ed-req__card h3 { margin: 0 0 12px; display: flex; align-items: center; gap: 10px; font: 700 20px var(--ed-head); }
.ed-req__card h3 .ed-ico { color: var(--ed-red); }
.ed-req__card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ed-req__card li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.5; color: var(--ed-ink); }
.ed-req__card li::before { content: ''; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 999px; background: #DCFCE7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2315803D' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center no-repeat; }

/* FAQ */
.ed-faq__wrap { max-width: 860px; }
.ed-faq__group { margin: 28px 0 12px; font: 700 20px var(--ed-head); }
.ed-faq__list { display: flex; flex-direction: column; gap: 10px; }
.ed-faq__item { background: #fff; border: 1px solid var(--ed-line); border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
.ed-faq__item[open] { border-color: #FFD3D5; box-shadow: 0 12px 28px rgba(255,0,0,.08); }
.ed-faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 700; font-size: 16px; }
.ed-faq__item summary::-webkit-details-marker { display: none; }
.ed-faq__plus { position: relative; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 999px; background: #F4F4F6; transition: background .2s, transform .25s; }
.ed-faq__plus::before, .ed-faq__plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--ed-ink); transform: translate(-50%, -50%); }
.ed-faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.ed-faq__item[open] .ed-faq__plus { background: var(--ed-red); transform: rotate(45deg); }
.ed-faq__item[open] .ed-faq__plus::before, .ed-faq__item[open] .ed-faq__plus::after { background: #fff; }
.ed-faq__item p { margin: 0; padding: 0 20px 18px; font-size: 15px; line-height: 1.65; color: var(--ed-muted); }
.ed-faq__more { margin: 24px 0 0; text-align: center; color: var(--ed-muted); }

/* About */
.ed-about { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.ed-about__text { display: flex; flex-direction: column; gap: 12px; }
.ed-about__text .ed-lead { max-width: none; }
.ed-about__card { position: relative; background: var(--ed-hero); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.ed-about__card img { width: 150px; height: auto; }
.ed-about__card dl { margin: 0; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ed-about__card dl > div { background: #fff; border-radius: 16px; padding: 14px 8px; text-align: center; }
.ed-about__card dt { font-size: 12px; color: var(--ed-muted); }
.ed-about__card dd { margin: 2px 0 0; font: 800 24px var(--ed-head); color: var(--ed-red); }
.ed-perks--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Contact */
.ed-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 28px; align-items: start; }
.ed-contact__side { display: flex; flex-direction: column; gap: 12px; }
.ed-ccard { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--ed-line); border-radius: 18px; padding: 16px; text-decoration: none; color: var(--ed-ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.ed-ccard:hover { transform: translateY(-3px); border-color: #FFD3D5; box-shadow: 0 14px 30px rgba(17,17,20,.08); color: var(--ed-ink); }
.ed-ccard__icon { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.ed-ccard > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.ed-ccard b { font-size: 16px; } .ed-ccard small { font-size: 13px; color: var(--ed-muted); overflow-wrap: anywhere; }
.ed-contact__note { margin: 4px 0 0; font-size: 13px; color: var(--ed-muted); }

/* Policies */
.ed-legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
.ed-legal__toc { position: sticky; top: calc(100px + var(--wp-admin--admin-bar--height, 0px)); background: var(--ed-soft); border-radius: 20px; padding: 20px; }
.ed-legal__toc-title { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ed-red-t); }
.ed-legal__toc ol { margin: 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.ed-legal__toc a { color: var(--ed-ink); text-decoration: none; }
.ed-legal__toc a:hover { color: var(--ed-red-t); }
.ed-legal__others { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--ed-line); display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.ed-legal__others a { color: var(--ed-muted); text-decoration: none; }
.ed-legal__others a:hover { color: var(--ed-red-t); }
.ed-legal__body { max-width: 760px; }
.ed-legal__updated { margin: 0 0 10px; display: inline-block; font-size: 13px; font-weight: 700; color: var(--ed-muted); background: var(--ed-chip); border-radius: 999px; padding: 6px 12px; }
.ed-legal__intro { font-size: 18px; line-height: 1.65; color: var(--ed-ink); margin: 6px 0 8px; }
.ed-legal__body h2 { scroll-margin-top: 110px; display: flex; align-items: center; gap: 12px; margin: 32px 0 10px; font: 700 22px var(--ed-head); color: var(--ed-ink); }
.ed-legal__body h2 span { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 10px; background: #FFF1F1; color: var(--ed-red-t); font-size: 15px; display: flex; align-items: center; justify-content: center; }
.ed-legal__body p, .ed-legal__body li { font-size: 16px; line-height: 1.7; color: #3B3B44; }
.ed-legal__body p { margin: 0 0 12px; }
.ed-legal__body ul { margin: 0 0 12px; padding-left: 20px; }
.ed-legal__body li { margin-bottom: 6px; }
.ed-legal__body li::marker { color: var(--ed-red); }
.ed-refund { margin-top: 40px; }

/* Verification */
.ed-vstate { display: flex; align-items: center; gap: 10px; border-radius: 16px; padding: 14px 16px; margin-bottom: 16px; font-weight: 600; font-size: 15px; }
.ed-vstate--ok { background: #F0FDF4; color: #166534; border: 1px solid #BBF7D0; }
.ed-vstate--wait { background: #FFFBEB; color: #92400E; border: 1px solid #FDE68A; }
.ed-vstate--err { background: #FFF5F5; color: var(--ed-red-t); border: 1px solid #FFD3D5; }
.ed-vstate--info { background: #EFF6FF; color: #1E40AF; border: 1px solid #BFDBFE; }
.ed-vstate .ed-ico { flex: 0 0 auto; }
.ed-formcard .ed-formcard__title + .ed-hint { margin-top: -8px; }
.ed-formcard h2.ed-formcard__title:not(:first-of-type) { margin-top: 10px; padding-top: 18px; border-top: 1px dashed var(--ed-line); }
.ed-vbar { background: #111114; color: #fff; }
.ed-vbar .ed-wrap { display: flex; align-items: center; gap: 12px; padding-top: 10px; padding-bottom: 10px; font-size: 14px; }
.ed-vbar .ed-ico { color: #FF8A8F; }
.ed-vbar span { flex: 1 1 auto; }

/* Responsive */
@media (max-width: 1100px) {
	.ed-results__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ed-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ed-flow__item::after { display: none; }
}
@media (max-width: 960px) {
	.ed-find__grid { grid-template-columns: 1fr; }
	.ed-filters { position: static; max-height: none; }
	.ed-cats__list, .ed-req, .ed-terms-grid, .ed-about, .ed-contact { grid-template-columns: 1fr; }
	.ed-perks, .ed-perks--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ed-legal { grid-template-columns: 1fr; gap: 24px; }
	.ed-legal__toc { position: static; }
}
@media (max-width: 768px) {
	.ed-phero__inner { padding-top: 28px; padding-bottom: 32px; }
	.ed-phero__lead { font-size: 16px; }
	.ed-search--page { flex-wrap: nowrap; border-radius: 999px; }
	.ed-search--page .ed-search__field { flex-basis: auto; }
	.ed-search--page .ed-search__btn { flex: 0 0 auto; padding: 0 16px; }
	.ed-find { padding-top: 20px; }
	.ed-results__grid { grid-template-columns: 1fr; }
	.ed-become__hero { padding-top: 36px; padding-bottom: 48px; gap: 32px; }
	.ed-calc { flex-basis: 100%; }
	.ed-flow, .ed-perks, .ed-perks--3, .ed-cat__subjects { grid-template-columns: 1fr; }
	.ed-form__row, .ed-field--row { grid-template-columns: 1fr; }
	.ed-formcard { padding: 20px; border-radius: 18px; }
	.ed-cat__head { flex-wrap: wrap; }
	.ed-cat__all { width: 100%; }
	.ed-about__card dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ed-vbar .ed-wrap { flex-wrap: wrap; }
}
@media (max-width: 420px) {
	.ed-search--page .ed-search__btn { font-size: 0; gap: 0; padding: 0 14px; }
	.ed-search--page .ed-search__btn .ed-ico { width: 18px; height: 18px; }
}

/* Mascot watermark */
.ed-mascot { display: block; pointer-events: none; }
.ed-phero__wm { position: absolute; right: 70px; top: 50%; width: 190px; height: auto; color: var(--ed-red); opacity: .13; transform: translateY(-50%) rotate(-8deg); }

/* Footer brand card and watermark */
.ed-footer__wm { position: absolute; right: -50px; top: 36px; width: 360px; height: auto; color: var(--ed-red); opacity: .045; transform: rotate(-10deg); }
.ed-footer > .ed-wrap { position: relative; z-index: 1; }
.ed-footer__logo { position: relative; align-self: flex-start; display: inline-flex; align-items: center; background: #fff; border: 1px solid var(--ed-line); border-radius: 20px; padding: 10px 18px 10px 12px; box-shadow: 0 12px 28px rgba(17,17,20,.06); transition: transform .25s, box-shadow .25s; }
.ed-footer__logo::after { content: ''; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--ed-red); }
.ed-footer__logo:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(255,0,0,.12); }
body.edusy-site .ed-footer__logo img.ed-logo { height: 46px; }

/* Testimonials */
.ed-testi { position: relative; overflow: hidden; background: linear-gradient(180deg, #FFF5F5 0%, #FFFFFF 100%); padding: var(--ed-section) 0; }
.ed-testi__wm { position: absolute; left: -90px; bottom: -70px; width: 430px; height: auto; color: var(--ed-red); opacity: .06; transform: rotate(-10deg); }
.ed-testi__dots { position: absolute; right: 36px; top: 36px; width: 170px; height: 120px; background-image: radial-gradient(#F7B5B8 1.6px, transparent 1.6px); background-size: 16px 16px; opacity: .75; }
.ed-testi__grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 52px; align-items: center; }
.ed-testi__intro { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.ed-testi__intro .ed-eyebrow, .ed-testi__intro .ed-lead { margin: 0; }
.ed-score { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--ed-line); border-radius: 20px; padding: 14px 18px; box-shadow: 0 14px 30px rgba(255,0,0,.08); }
.ed-score strong { font: 800 44px/1 var(--ed-head); color: var(--ed-ink); letter-spacing: -.02em; }
.ed-score small { display: block; margin-top: 4px; font-size: 13px; color: var(--ed-muted); }
.ed-score__faces { display: flex; padding-left: 10px; }
.ed-score__faces i { width: 34px; height: 34px; margin-left: -10px; border-radius: 999px; border: 2px solid #fff; color: #fff; font: 700 12px var(--ed-font); font-style: normal; display: flex; align-items: center; justify-content: center; }
.ed-stars { display: inline-flex; gap: 2px; }
.ed-stars svg { fill: #E7E7EC; }
.ed-stars svg.is-on { fill: #F59E0B; }
.ed-testi__wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.ed-testi__wall:not(.is-live) .ed-testi__col--2 { margin-top: 44px; }
.ed-testi__wall.is-live { height: 560px; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); }
.ed-testi__track, .ed-testi__dup { display: flex; flex-direction: column; gap: 18px; }
.ed-testi__dup { padding-top: 0; }
.is-live .ed-testi__col--1 .ed-testi__track { animation: edUp 40s linear infinite; }
.is-live .ed-testi__col--2 .ed-testi__track { animation: edUp 48s linear infinite reverse; }
.ed-testi__wall.is-live:hover .ed-testi__track { animation-play-state: paused; }
@keyframes edUp { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 9px)); } }
.ed-tcard2 { position: relative; margin: 0; background: #fff; border: 1px solid var(--ed-line); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 1px 2px rgba(17,17,20,.04), 0 14px 30px rgba(17,17,20,.05); transition: border-color .25s, box-shadow .25s, transform .25s; }
.ed-tcard2:hover { border-color: #FFD3D5; box-shadow: 0 20px 40px rgba(255,0,0,.12); transform: translateY(-3px); }
.ed-tcard2__q { position: absolute; right: 18px; top: 18px; width: 34px; height: auto; fill: #FFE1E2; }
.ed-tcard2 blockquote { margin: 0; padding: 0; border: 0; font-size: 15px; line-height: 1.65; font-style: normal; color: var(--ed-ink); quotes: none; }
.ed-tcard2 blockquote::before, .ed-tcard2 blockquote::after { content: none; }
.ed-tcard2 figcaption { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px dashed var(--ed-line); }
.ed-tcard2__av { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 999px; font: 700 14px var(--ed-head); display: flex; align-items: center; justify-content: center; }
.ed-tcard2__who { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.ed-tcard2__who b { font-size: 14px; }
.ed-tcard2__who small { font-size: 12px; color: var(--ed-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-tcard2__tag { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: #15803D; background: #DCFCE7; border-radius: 999px; padding: 4px 8px; }
.ed-tcard2__tag .ed-ico { stroke-width: 3; }
.ed-testi__empty { position: relative; min-height: 400px; display: flex; align-items: center; justify-content: center; }
.ed-ghost { position: absolute; width: 60%; background: #fff; border: 1.5px dashed #F3D0D2; border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.ed-ghost i { display: block; height: 10px; border-radius: 6px; background: #F8E7E8; }
.ed-ghost i:nth-child(1) { width: 40%; background: #FDE7C3; } .ed-ghost i:nth-child(2) { width: 92%; } .ed-ghost i:nth-child(3) { width: 70%; }
.ed-ghost--1 { left: 0; top: 10px; transform: rotate(-4deg); }
.ed-ghost--2 { right: 0; bottom: 10px; transform: rotate(3deg); }
.ed-testi__invite { position: relative; z-index: 1; max-width: 400px; background: #fff; border: 1px solid var(--ed-line); border-radius: 24px; padding: 28px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; box-shadow: 0 30px 60px rgba(255,0,0,.14); }
.ed-testi__badge { width: 84px; height: 84px; color: var(--ed-red); animation: edTilt 3.6s ease-in-out infinite; }
.ed-testi__invite h3 { margin: 4px 0 0; font: 700 22px var(--ed-head); color: var(--ed-ink); }
.ed-testi__invite p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ed-muted); }
@media (prefers-reduced-motion: reduce) {
	.ed-testi__wall.is-live { overflow: auto; }
	.ed-testi__dup { display: none; }
}
@media (max-width: 960px) {
	.ed-testi__grid { grid-template-columns: 1fr; gap: 32px; }
	.ed-phero__wm { right: 24px; width: 150px; }
}
@media (max-width: 768px) {
	.ed-testi__wall, .ed-testi__wall.is-live { display: flex; height: auto; overflow-x: auto; gap: 14px; padding: 4px 2px 10px; -webkit-mask-image: none; mask-image: none; scroll-snap-type: x mandatory; }
	.ed-testi__col, .ed-testi__track { display: contents; }
	.ed-testi__dup { display: none; }
	.ed-testi__wall:not(.is-live) .ed-testi__col--2 { margin-top: 0; }
	.ed-tcard2 { flex: 0 0 84%; scroll-snap-align: start; }
	.ed-testi__wm { width: 260px; left: auto; right: -70px; bottom: -40px; }
	.ed-testi__empty { min-height: 340px; }
	.ed-testi__dots { display: none; }
	.ed-ghost { width: 78%; }
	.ed-phero__wm { width: 110px; right: 14px; top: 22px; transform: rotate(-8deg); opacity: .1; }
	.ed-footer__wm { width: 220px; top: auto; bottom: 120px; }
}

/* Page header art (mascot in a living blob) */
.ed-phero__art { position: absolute; top: 50%; right: calc(max(0px, (100% - 1200px) / 2) + 56px); width: 230px; height: 230px; transform: translateY(-50%); pointer-events: none; }
.ed-phero__blob { position: absolute; inset: 0; background: linear-gradient(140deg, #FFE4E6 0%, #FFD0D4 100%); border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; box-shadow: inset 0 -12px 30px rgba(255,0,0,.06); animation: edBlob 10s ease-in-out infinite; }
.ed-phero__orbit { position: absolute; inset: -20px; border: 1.5px dashed #F4A9AD; border-radius: 50%; animation: edSpin 26s linear infinite; }
.ed-phero__orbit i { position: absolute; top: -7px; left: calc(50% - 7px); width: 14px; height: 14px; border-radius: 50%; background: var(--ed-red); box-shadow: 0 0 0 4px #FFF5F5; }
.ed-phero__mascot { position: absolute; left: 50%; top: 53%; width: 64%; height: auto; color: var(--ed-red); opacity: .55; transform: translate(-50%, -50%) rotate(-6deg); animation: edFloat 5s ease-in-out infinite; }
.ed-phero__spark { position: absolute; border-radius: 50%; }
.ed-phero__spark--1 { left: -34px; top: 26px; width: 12px; height: 12px; background: #FFB4B9; }
.ed-phero__spark--2 { right: -30px; bottom: 30px; width: 22px; height: 22px; border: 2px solid #F7B5B8; }
.ed-phero__spark--3 { left: 20px; bottom: -26px; width: 8px; height: 8px; background: var(--ed-red); opacity: .5; }
@keyframes edBlob { 0%, 100% { border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; } 50% { border-radius: 58% 42% 45% 55% / 42% 58% 42% 58%; } }
@keyframes edSpin { to { transform: rotate(360deg); } }
@keyframes edFloat { 0%, 100% { transform: translate(-50%, -52%) rotate(-6deg); } 50% { transform: translate(-50%, -47%) rotate(-3deg); } }
@media (min-width: 961px) { .ed-phero__inner > * { max-width: calc(100% - 320px); } }
@media (max-width: 1100px) { .ed-phero__art { width: 180px; height: 180px; right: 40px; } }
@media (max-width: 960px) { .ed-phero__art { width: 150px; height: 150px; right: 28px; opacity: .9; } .ed-phero__inner > * { max-width: calc(100% - 170px); } }
@media (max-width: 640px) { .ed-phero__art { display: none; } .ed-phero__inner > * { max-width: none; } }

/* Footer logo spacing and payment banner */
.ed-footer__logo { padding: 6px 18px 13px 12px; }
.ed-footer__pay { flex: 1 1 520px; max-width: 760px; }
.ed-pay-img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--ed-line); background: #fff; }
.ed-checkout-pay { margin: 0 0 16px; }
.ed-checkout-pay .ed-pay-img { border-radius: 12px; }

/* Testimonial empty-state avatar */
.ed-testi__avatar { position: relative; width: 96px; height: 96px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #FFFFFF 0%, #FFF1F2 70%); border: 1px solid #FFD3D5; box-shadow: 0 12px 28px rgba(255,0,0,.12), 0 0 0 8px #FFF7F7; display: flex; align-items: center; justify-content: center; }
.ed-testi__face { width: 64%; height: auto; color: var(--ed-red); opacity: .62; transform: translateY(2px); }
.ed-testi__bubble { position: absolute; right: -6px; top: -4px; width: 34px; height: 34px; border-radius: 50% 50% 50% 8px; background: var(--ed-red); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px rgba(255,0,0,.3); animation: edBob 3.6s ease-in-out infinite; }
.ed-testi__bubble svg { width: 15px; fill: #fff; }

/* Courses */
.ed-lvlbar { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 14px; margin-bottom: 8px; scrollbar-width: thin; }
.ed-lvlbar a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--ed-line); background: #fff; color: var(--ed-ink); font-size: 14px; font-weight: 700; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.ed-lvlbar a .ed-ico { color: var(--c, var(--ed-red)); }
.ed-lvlbar a em { font-style: normal; font-size: 12px; font-weight: 700; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--t, #F1F1F4); color: var(--c, var(--ed-ink)); display: inline-flex; align-items: center; justify-content: center; }
.ed-lvlbar a:hover { border-color: var(--c, var(--ed-ink)); }
.ed-lvlbar a.is-on { background: var(--c, var(--ed-ink)); border-color: var(--c, var(--ed-ink)); color: #fff; }
.ed-lvlbar a.is-on .ed-ico { color: #fff; }
.ed-lvlbar a.is-on em { background: rgba(255,255,255,.22); color: #fff; }
.ed-courses__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ed-course { position: relative; background: #fff; border: 1px solid var(--ed-line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(17,17,20,.04); transition: transform .25s, box-shadow .25s, border-color .25s; }
.ed-course:hover { transform: translateY(-6px); border-color: var(--c35); box-shadow: 0 20px 40px var(--c16); }
.ed-course__media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--t); overflow: hidden; }
.ed-course__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.ed-course:hover .ed-course__media img { transform: scale(1.05); }
.ed-course__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--c); background: radial-gradient(circle at 30% 30%, #fff 0%, var(--t) 70%); }
.ed-course__phwm { position: absolute; right: -16px; bottom: -22px; width: 120px; color: var(--c); opacity: .12; transform: rotate(-10deg); }
.ed-course__level { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,.95); color: var(--c); border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: 800; box-shadow: 0 4px 10px rgba(17,17,20,.1); }
.ed-course__type { position: absolute; right: 12px; top: 12px; background: var(--ed-ink); color: #fff; border-radius: 999px; padding: 5px 10px; font-size: 11px; font-weight: 700; }
.ed-course__type.is-free { background: #16A34A; }
.ed-course__demo { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 4px; background: var(--ed-red); color: #fff; border-radius: 999px; padding: 5px 10px; font-size: 11px; font-weight: 700; box-shadow: 0 6px 14px rgba(255,0,0,.3); }
.ed-course__body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; }
.ed-course__subj { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--c); }
.ed-course__title { margin: 0; font: 700 17px/1.35 var(--ed-head); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 46px; }
.ed-course__title a { color: var(--ed-ink); text-decoration: none; }
.ed-course__title a:hover { color: var(--ed-red-t); }
.ed-course__tutor { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ed-muted); }
.ed-course__av { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; color: #fff; font: 700 11px var(--ed-font); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ed-course__av img { width: 100%; height: 100%; object-fit: cover; }
.ed-course__tname { font-weight: 600; color: var(--ed-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-course__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ed-course__meta li { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ed-muted); background: #F7F7F9; border-radius: 999px; padding: 5px 9px; }
.ed-course__meta li .ed-ico { color: var(--c); }
.ed-course__meta li.is-hot { background: #FFF1F1; color: var(--ed-red-t); font-weight: 700; }
.ed-course__foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--ed-line); display: flex; align-items: center; gap: 10px; }
.ed-course__rate { font-size: 13px; }
.ed-course__rate small { color: var(--ed-muted); }
.ed-course__new { font-size: 12px; color: #B45309; background: #FEF3C7; border-radius: 999px; padding: 3px 8px; }
.ed-course__price { margin-left: auto; display: flex; align-items: baseline; gap: 3px; }
.ed-course__price b { font: 800 19px var(--ed-head); color: var(--ed-ink); }
.ed-course__price small { font-size: 12px; color: var(--ed-muted); }
.ed-course__go { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; background: var(--ed-ink); color: #fff; display: flex; align-items: center; justify-content: center; transition: background .25s, transform .25s; }
.ed-course__go .ed-ico { stroke-width: 2.6; }
.ed-course:hover .ed-course__go { background: var(--ed-red); transform: translateX(2px); }
.ed-empty__mascot { width: 92px; height: auto; color: var(--ed-red); opacity: .5; }
@media (max-width: 1100px) { .ed-courses__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) { .ed-courses__grid { grid-template-columns: 1fr; } .ed-footer__pay { flex-basis: 100%; } }
.ed-lvlbar { scrollbar-width: none; }
.ed-lvlbar::-webkit-scrollbar { display: none; }

/* Smaller payment banner in the footer */
.ed-footer__pay { flex: 0 1 330px; max-width: 330px; }
.ed-footer__pay .ed-pay-img { border-radius: 10px; }

/* Tutor card: profile button with a colour sweep */
.ed-btn-profile { position: relative; overflow: hidden; isolation: isolate; height: 46px; padding: 0 16px 0 18px; border: 0; border-radius: 12px; background: var(--t); color: var(--c); font-weight: 700; justify-content: space-between; }
.ed-btn-profile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--c); transform: scaleX(0); transform-origin: left center; transition: transform .38s cubic-bezier(.4, 0, .2, 1); }
.ed-btn-profile__arrow { width: auto; height: auto; border-radius: 0; background: none; color: inherit; transition: transform .3s ease; }
.ed-btn-profile__arrow .ed-ico { width: 18px; height: 18px; stroke-width: 2.4; }
.ed-tcard:hover .ed-btn-profile, .ed-btn-profile:focus-visible { background: var(--t); border-color: transparent; color: #fff; }
.ed-tcard:hover .ed-btn-profile::before, .ed-btn-profile:focus-visible::before { transform: scaleX(1); }
.ed-tcard:hover .ed-btn-profile__arrow { background: none; color: #fff; transform: translateX(4px); }

/* "See all tutors" link card */
.ed-more { display: flex; width: max-content; max-width: 100%; margin: 32px auto 0; align-items: center; gap: 14px; padding: 8px 8px 8px 14px; background: #fff; border: 1px solid var(--ed-line); border-radius: 18px; color: var(--ed-ink); text-decoration: none; box-shadow: 0 10px 24px rgba(17,17,20,.06); transition: transform .25s, box-shadow .25s, border-color .25s; }
.ed-more:hover { transform: translateY(-3px); border-color: #FFD3D5; box-shadow: 0 18px 36px rgba(255,0,0,.12); color: var(--ed-ink); }
.ed-more__faces { display: flex; padding-left: 10px; }
.ed-more__faces i { width: 36px; height: 36px; margin-left: -10px; border-radius: 50%; border: 2px solid #fff; font: 700 12px var(--ed-font); font-style: normal; display: flex; align-items: center; justify-content: center; }
.ed-more__faces i.is-plus { background: var(--ed-ink); color: #fff; }
.ed-more__text { display: flex; flex-direction: column; line-height: 1.3; }
.ed-more__text b { font-size: 15px; }
.ed-more__text small { font-size: 12px; color: var(--ed-muted); }
.ed-more__go { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 13px; background: var(--ed-red); color: #fff; display: flex; align-items: center; justify-content: center; transition: background .25s; }
.ed-more__go .ed-ico { stroke-width: 2.5; transition: transform .25s; }
.ed-more:hover .ed-more__go { background: var(--ed-red-t); }
.ed-more:hover .ed-more__go .ed-ico { transform: translateX(4px); }

/* Course cards: tighter corners */
.ed-course { border-radius: 14px; }
@media (max-width: 768px) {
	.ed-footer__pay { flex-basis: 100%; max-width: 320px; }
	.ed-more { width: 100%; }
	.ed-more__text { flex: 1 1 auto; min-width: 0; }
}

/* Filter panel: keep space under the sticky buttons */
.ed-filters { padding-bottom: 0; }
.ed-filters__actions { bottom: 0; padding: 14px 0 18px; box-shadow: 0 -12px 16px -12px rgba(17,17,20,.12); }
@media (max-width: 960px) { .ed-filters__actions { position: static; box-shadow: none; padding-bottom: 20px; } }

/* Course card: full-width enroll button */
.ed-course__go { display: none; }
.ed-course__enroll { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 10px; background: var(--ed-red); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; transition: background .25s, box-shadow .25s; box-shadow: 0 8px 18px rgba(255,0,0,.22); }
.ed-course__enroll .ed-ico { stroke-width: 2.5; transition: transform .25s; }
.ed-course__enroll:hover { background: var(--ed-red-t); color: #fff; box-shadow: 0 12px 24px rgba(255,0,0,.3); }
.ed-course__enroll:hover .ed-ico { transform: translateX(4px); }
.ed-course__enroll.is-enrolled { background: var(--t); color: var(--c); box-shadow: none; }
.ed-course__enroll.is-enrolled:hover { background: var(--c); color: #fff; }

/* Course enroll button: calm by default, colour sweep on card hover */
.ed-course__enroll { position: relative; overflow: hidden; isolation: isolate; background: var(--t); color: var(--c); box-shadow: none; justify-content: space-between; padding: 0 16px 0 18px; }
.ed-course__enroll::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--c); transform: scaleX(0); transform-origin: left center; transition: transform .38s cubic-bezier(.4, 0, .2, 1); }
.ed-course__enroll .ed-ico { width: 18px; height: 18px; }
.ed-course__enroll:hover, .ed-course:hover .ed-course__enroll, .ed-course__enroll:focus-visible { background: var(--t); color: #fff; box-shadow: none; }
.ed-course:hover .ed-course__enroll::before, .ed-course__enroll:focus-visible::before { transform: scaleX(1); }
.ed-course:hover .ed-course__enroll .ed-ico { transform: translateX(4px); }
.ed-course__enroll.is-enrolled { background: #F0FDF4; color: #15803D; }
.ed-course__enroll.is-enrolled::before { background: #16A34A; }

/* Enroll button: one brand colour for every card */
.ed-course__enroll { background: #FFF1F1; color: var(--ed-red-t); }
.ed-course__enroll::before { background: var(--ed-red); }
.ed-course__enroll:hover, .ed-course:hover .ed-course__enroll, .ed-course__enroll:focus-visible { background: #FFF1F1; color: #fff; }

/* Footer payment badges */
.ed-pays { gap: 8px; }
.ed-pays__label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--ed-muted); margin-right: 4px; }
.ed-pays__label .ed-ico { color: #15803D; }
.ed-pay { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px 0 5px; border-radius: 999px; background: #fff; border: 1px solid var(--ed-line); color: var(--pc); font-size: 12.5px; font-weight: 800; letter-spacing: .01em; transition: border-color .2s, transform .2s; }
.ed-pay:hover { border-color: var(--pc); transform: translateY(-1px); }
.ed-pay i { width: 24px; height: 24px; border-radius: 50%; background: var(--pt); display: flex; align-items: center; justify-content: center; }
.ed-pay svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ed-pay--logo { padding: 0 10px; }
.ed-pay--logo img { height: 20px; width: auto; display: block; }
.ed-pays__via { font-size: 11px; color: #8A8A94; }

/* Page header: quiet static watermark (no motion) */
.ed-phero__blob, .ed-phero__orbit, .ed-phero__spark { display: none; }
.ed-phero__art { top: auto; bottom: -46px; right: calc(max(0px, (100% - 1200px) / 2) + 40px); width: 300px; height: auto; transform: none; }
.ed-phero__mascot { position: static; display: block; width: 100%; height: auto; color: var(--ed-red); opacity: .07; transform: rotate(-10deg); animation: none; }
@media (min-width: 961px) { .ed-phero__inner > * { max-width: calc(100% - 260px); } }
@media (max-width: 1100px) { .ed-phero__art { width: 240px; height: auto; right: 24px; } }
@media (max-width: 960px) { .ed-phero__art { width: 200px; height: auto; right: 12px; bottom: -36px; opacity: 1; } .ed-phero__inner > * { max-width: none; } }
@media (max-width: 640px) { .ed-phero__art { display: block; width: 150px; right: -20px; bottom: -28px; } }

/* Page header watermark: top-right corner, ear cropped (like the footer) */
.ed-phero__art { top: 14px; bottom: auto; right: -56px; width: 270px; }
.ed-phero__mascot { opacity: .07; transform: rotate(-10deg); }
@media (max-width: 1100px) { .ed-phero__art { width: 230px; right: -48px; } }
@media (max-width: 960px) { .ed-phero__art { width: 190px; right: -44px; top: 12px; bottom: auto; } }
@media (max-width: 640px) { .ed-phero__art { width: 140px; right: -36px; top: 10px; bottom: auto; } }

/* Find tutors / courses: filters in a toolbar dropdown, full-width results */
.ed-find__grid { display: block; }
.ed-results__bar { position: relative; justify-content: flex-start; gap: 12px; margin-bottom: 18px; }
.ed-results__bar .ed-sort { margin-left: auto; }
.ed-filters { position: static; max-height: none; overflow: visible; padding: 0; border: 0; background: none; border-radius: 0; }
.ed-filters__toggle { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 16px; border-radius: 12px; border: 1.5px solid var(--ed-line); background: #fff; font: 700 15px var(--ed-font); color: var(--ed-ink); cursor: pointer; user-select: none; transition: border-color .2s, background .2s, color .2s; }
.ed-filters__toggle:hover { border-color: var(--ed-ink); }
.ed-filters__toggle::after { content: ''; width: 7px; height: 7px; margin: -3px 0 0 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s, margin .2s; }
.ed-filters[open] .ed-filters__toggle { background: var(--ed-ink); border-color: var(--ed-ink); color: #fff; }
.ed-filters[open] .ed-filters__toggle .ed-ico { color: #fff; }
.ed-filters[open] .ed-filters__toggle::after { transform: rotate(-135deg); margin-top: 4px; }
.ed-filters[open] .ed-filters__count { background: #fff; color: var(--ed-ink); }
.ed-filters__form { position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 40; background: #fff; border: 1px solid var(--ed-line); border-radius: 20px; padding: 22px; box-shadow: 0 30px 60px rgba(17,17,20,.16); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 22px; align-items: start; animation: edDrop .18s ease-out; }
@keyframes edDrop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.ed-filters__form .ed-field--row { grid-column: span 2; }
.ed-filters__actions { grid-column: 1 / -1; position: static; display: flex; justify-content: flex-end; gap: 10px; padding: 16px 0 0; margin: 0; border-top: 1px solid var(--ed-line); box-shadow: none; background: none; }
.ed-results__grid, .ed-courses__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) {
	.ed-results__grid, .ed-courses__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ed-filters__form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
	.ed-results__grid, .ed-courses__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ed-filters__form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.ed-results__grid, .ed-courses__grid { grid-template-columns: 1fr; }
	.ed-filters__form { grid-template-columns: 1fr; max-height: 70vh; overflow: auto; padding: 18px; }
	.ed-filters__form .ed-field--row { grid-column: auto; }
	.ed-results__count { order: 3; width: 100%; }
}

/* Apply for Verified */
.ed-vcheck { background: #fff; border: 1px solid var(--ed-line); border-radius: 18px; padding: 18px 20px; margin-bottom: 16px; }
.ed-vcheck__head { display: flex; justify-content: space-between; align-items: center; font-size: 15px; color: var(--ed-ink); }
.ed-vcheck__head span { font: 700 14px var(--ed-head); color: var(--ed-red); }
.ed-vcheck__bar { height: 6px; border-radius: 99px; background: #F1F1F3; margin: 10px 0 14px; overflow: hidden; }
.ed-vcheck__bar i { display: block; height: 100%; background: var(--ed-red); border-radius: inherit; transition: width .3s; }
.ed-vcheck ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ed-vcheck li { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ed-muted); background: #F7F7F8; border: 1px solid var(--ed-line); border-radius: 99px; padding: 6px 12px 6px 7px; }
.ed-vcheck li > span { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #D4D4D8; display: inline-flex; align-items: center; justify-content: center; }
.ed-vcheck li.is-done { color: #166534; background: #F0FDF4; border-color: #BBF7D0; }
.ed-vcheck li.is-done > span { background: #16A34A; border-color: #16A34A; color: #fff; }
.ed-vdeclare { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ed-ink); line-height: 1.55; background: #FAFAFA; border: 1px solid var(--ed-line); border-radius: 14px; padding: 14px; cursor: pointer; }
.ed-vdeclare input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ed-red); flex: 0 0 auto; }
.ed-req__card--verify { border-color: #BBF7D0; background: linear-gradient(180deg, #F0FDF4 0%, #fff 60%); }
.ed-req__card--verify .ed-btn { margin-top: 14px; align-self: flex-start; }
.ed-req__card h3 .ed-verified { flex: 0 0 auto; }
.ed-become .ed-btn--outline .ed-verified { margin-right: 2px; }

/* Feature cards in the homepage level-card style */
.ed-perk--fx { position: relative; overflow: hidden; border-radius: 18px; padding: 22px 22px 22px 24px; gap: 10px; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease; }
.ed-perk--fx h3, .ed-perk--fx p { position: relative; }
.ed-perk--fx .ed-level__icon { margin-bottom: 4px; }
.ed-perk--fx:hover { transform: translateY(-6px); background: var(--c04); border-color: var(--c30); box-shadow: 0 18px 36px var(--c12); }
.ed-perk--fx:hover .ed-level__bar { height: 64px; }
.ed-perk--fx:hover .ed-level__icon { background: var(--c); color: #fff; transform: rotate(-8deg); }
.ed-perk--fx:hover .ed-level__wm { opacity: .16; transform: rotate(-12deg) scale(1.1); }

/* Call-to-action card (light) */
.ed-cta2 { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: 32px; padding: 52px 56px; border-radius: 32px; background: radial-gradient(620px 320px at 100% 0%, rgba(255,0,0,.08), transparent 62%), radial-gradient(520px 300px at 0% 100%, rgba(251,191,36,.10), transparent 62%), #FFFBFB; border: 1px solid #F3E4E5; box-shadow: 0 1px 2px rgba(17,17,20,.04), 0 24px 60px rgba(17,17,20,.06); }
.ed-cta2__dots { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(17,17,20,.08) 1px, transparent 1.3px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 75%); mask-image: linear-gradient(90deg, transparent 35%, #000 75%); }
body.edusy-site .ed-cta2__wm { position: absolute; left: -46px; bottom: -70px; width: 270px; height: auto; color: var(--ed-red); opacity: .05; transform: rotate(-10deg); }
.ed-cta2__text { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.ed-cta2__title { margin: 0; font: 800 clamp(30px, 3.3vw, 42px)/1.1 var(--ed-head); letter-spacing: -.01em; color: var(--ed-ink); }
.ed-cta2__lead { margin: 0 0 6px; font-size: 16px; line-height: 1.6; color: var(--ed-muted); max-width: 480px; }
.ed-cta2__side { position: relative; min-height: 270px; display: flex; align-items: center; justify-content: center; }
.ed-cta2__ring { position: absolute; width: 236px; height: 236px; border-radius: 50%; border: 1.5px dashed rgba(255,0,0,.28); }
body.edusy-site img.ed-cta2__badge { position: relative; width: 150px; height: 150px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 10px rgba(255,0,0,.06), 0 20px 40px rgba(17,17,20,.12); }
.ed-cta2__chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--ed-line); border-radius: 999px; padding: 7px 14px 7px 7px; font: 600 13px var(--ed-font); color: var(--ed-ink); white-space: nowrap; box-shadow: 0 10px 24px rgba(17,17,20,.08); }
.ed-cta2__chip i { width: 26px; height: 26px; border-radius: 50%; background: var(--ct); color: var(--cc); display: inline-flex; align-items: center; justify-content: center; }
.ed-cta2__chip i .ed-ico { stroke-width: 2.2; }
.ed-cta2__chip--1 { top: 16px; left: 2%; }
.ed-cta2__chip--2 { top: 45%; right: 0; }
.ed-cta2__chip--3 { bottom: 14px; left: 10%; }
@media (max-width: 960px) {
	.ed-cta2 { grid-template-columns: 1fr; padding: 36px 28px; gap: 12px; }
}
@media (max-width: 560px) {
	.ed-cta2 { padding: 30px 20px 22px; border-radius: 24px; }
	.ed-cta2__side { min-height: 240px; }
	.ed-cta2__ring { width: 200px; height: 200px; }
	body.edusy-site img.ed-cta2__badge { width: 124px; height: 124px; }
	.ed-cta2__chip { font-size: 12px; }
	.ed-cta2__side { min-height: 280px; }
	.ed-cta2__chip--1 { top: 6px; left: 0; }
	.ed-cta2__chip--2 { top: 6px; right: 0; }
	.ed-cta2__chip--3 { bottom: 6px; left: 50%; transform: translateX(-50%); }
	body.edusy-site .ed-cta2__wm { display: none; }
}

/* About: round badge and centred stats */
.ed-about__badge { width: 150px; height: 150px; border-radius: 50%; background: #fff; overflow: hidden; display: flex; box-shadow: 0 0 0 10px rgba(255,0,0,.06), 0 18px 36px rgba(17,17,20,.10); }
body.edusy-site .ed-about__badge img { width: 100%; height: 100%; border-radius: 50%; display: block; }
.ed-about__card dl.ed-about__stats > div { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; gap: 6px; padding: 16px 8px; }
.ed-about__sicon { width: 36px; height: 36px; border-radius: 12px; background: var(--t); color: var(--c); display: flex; align-items: center; justify-content: center; }
.ed-about__sicon .ed-ico { stroke-width: 2.2; }
.ed-about__card dl.ed-about__stats dd { margin: 0; line-height: 1.1; text-align: center; }
.ed-about__card dl.ed-about__stats dt { margin: 0; text-align: center; }
.ed-about__card dl.ed-about__stats dd.ed-about__meet { font-size: 17px; }
/* ============ Header v2 ============ */
.elementor-location-header { z-index: 1000; }
.ed-header { position: relative; z-index: 100; background: #fff; border-bottom: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease; }
.ed-header.is-scrolled { border-color: var(--ed-line); box-shadow: 0 8px 30px rgba(17,17,20,.06); }
.ed-header__row { height: 76px; gap: 20px; }
body.edusy-site img.ed-logo { height: 46px; }
.ed-nav { gap: 4px; padding: 5px; background: var(--ed-soft); border: 1px solid var(--ed-line); border-radius: 999px; }
.ed-nav a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: #3F3F46; transition: background .2s ease, color .2s ease, box-shadow .2s ease; }
.ed-nav a::after { display: none; }
.ed-nav a .ed-ico { stroke-width: 2; color: #9A9AA3; transition: color .2s ease; }
.ed-nav a:hover { background: #fff; color: var(--ed-ink); }
.ed-nav a:hover .ed-ico { color: var(--ed-red); }
.ed-nav a[aria-current="page"] { background: #fff; color: var(--ed-red); box-shadow: 0 1px 2px rgba(17,17,20,.06), 0 4px 12px rgba(17,17,20,.06); }
.ed-nav a[aria-current="page"] .ed-ico { color: var(--ed-red); }
.ed-header__actions { gap: 8px; }
.ed-iconbtn { width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--ed-line); background: #fff; color: var(--ed-ink); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; transition: border-color .2s, color .2s, background .2s; }
.ed-iconbtn:hover { border-color: #FFD3D5; color: var(--ed-red); background: #FFF5F5; }
.ed-header__login { padding: 10px 14px; font-weight: 600; border-radius: 999px; }
.ed-header__login:hover { background: var(--ed-soft); }
.ed-header__cta { border-radius: 999px !important; padding: 11px 18px !important; gap: 8px; }
.ed-burger { position: relative; border-radius: 999px; }
.ed-burger .ed-ico + .ed-ico { display: none; }
.ed-burger[aria-expanded="true"] { background: var(--ed-ink); border-color: var(--ed-ink); color: #fff; }
.ed-burger[aria-expanded="true"] .ed-ico:first-child { display: none; }
.ed-burger[aria-expanded="true"] .ed-ico + .ed-ico { display: block; }
.ed-header__mobile { display: none; align-items: center; gap: 8px; }
/* Drawer as a card sheet */
.ed-drawer { position: absolute; left: 12px; right: 12px; top: calc(100% + 8px); border: 1px solid var(--ed-line); border-radius: 22px; background: #fff; padding: 10px; box-shadow: 0 24px 60px rgba(17,17,20,.14); }
.ed-drawer nav a { gap: 12px; justify-content: flex-start; padding: 10px; border: 0; border-radius: 14px; }
.ed-drawer nav a:hover, .ed-drawer nav a[aria-current="page"] { background: var(--ed-soft); }
.ed-drawer__ic { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--t); color: var(--c); }
.ed-drawer__tx { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.ed-drawer__tx b { font-size: 15px; }
.ed-drawer__tx small { font-size: 12.5px; font-weight: 500; color: var(--ed-muted); }
.ed-drawer nav a > .ed-ico:last-child { color: #B4B4BC; }
.ed-drawer__actions { margin: 8px 4px 4px; padding-top: 12px; border-top: 1px dashed var(--ed-line); }
.ed-drawer__actions .ed-btn { border-radius: 999px; }
@media (max-width: 1100px) {
	.ed-nav a { padding: 9px 12px; }
	.ed-nav a .ed-ico { display: none; }
}
@media (max-width: 960px) {
	.ed-header__mobile { display: inline-flex; }
	.ed-header__row { height: 68px; }
}
@media (max-width: 768px) {
	.ed-header__row { height: 62px; }
	body.edusy-site img.ed-logo { height: 38px; }
	.ed-iconbtn, .ed-burger { width: 40px; height: 40px; }
}

/* ============ Home: level cards on a soft board (section stays white) ============ */
.ed-levels__board { position: relative; background: var(--ed-soft); border: 1px solid #EDEDF1; border-radius: 28px; padding: 22px; overflow: hidden; }
.ed-levels__board::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(17,17,20,.07) 1px, transparent 1.3px); background-size: 20px 20px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); pointer-events: none; }
.ed-levels__board .ed-levels__grid { position: relative; }
.ed-levels__board .ed-level { box-shadow: 0 1px 2px rgba(17,17,20,.05), 0 6px 18px rgba(17,17,20,.04); border-color: #ECECF0; }
@media (max-width: 768px) { .ed-levels__board { padding: 12px; border-radius: 22px; margin: 0 -4px; } }

/* ============ Round 4: hero, cart, about stats, floating CTA chips ============ */
@media (min-width: 1101px) { .ed-hero__text { transform: translateY(-44px); } }
.ed-cart { position: relative; }
.ed-cart .ed-ico { stroke-width: 1.9; }
.ed-cart__count { position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px; box-sizing: border-box; border-radius: 999px; background: var(--ed-red); color: #fff; font: 700 11px/15px var(--ed-font); text-align: center; border: 2px solid #fff; box-shadow: 0 4px 10px rgba(255,0,0,.35); animation: edPop 2.4s ease-in-out infinite; }
.ed-cart__count[data-count="0"] { display: none; }
.ed-about__card dl.ed-about__stats dd, .ed-about__card dl.ed-about__stats dt { padding: 0; margin: 0; width: 100%; text-align: center; }
@keyframes edFloat { 0%, 100% { translate: 0 -6px; } 50% { translate: 0 6px; } }
.ed-cta2__chip--1 { animation: edFloat 3.6s ease-in-out infinite; }
.ed-cta2__chip--2 { animation: edFloat 4.2s ease-in-out -1.2s infinite; }
.ed-cta2__chip--3 { animation: edFloat 3.9s ease-in-out -2s infinite; }
body.edusy-site img.ed-cta2__badge { animation: edFloat 5s ease-in-out -.6s infinite; }
@media (min-width: 561px) and (max-width: 960px) {
	.ed-cta2__side { min-height: 280px; max-width: 460px; width: 100%; margin: 0 auto; }
	body.edusy-site .ed-cta2__wm { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.ed-cta2__chip, body.edusy-site img.ed-cta2__badge, .ed-cart__count { animation: none; }
}

/* ============ Buttons: "Shine sweep" style (pure red), soft motion ============ */
.ed-btn { position: relative; overflow: hidden; isolation: isolate; border-radius: 14px; transition: transform .38s cubic-bezier(.2,.8,.2,1), box-shadow .38s cubic-bezier(.2,.8,.2,1), background-color .3s ease, color .3s ease, border-color .3s ease; -webkit-tap-highlight-color: transparent; }
.ed-btn .ed-ico { transition: transform .38s cubic-bezier(.2,.8,.2,1); }
.ed-btn:hover .ed-ico { transform: translateX(3px); }
.ed-btn:active { transform: translateY(0) scale(.97); transition-duration: .12s; }
.ed-btn--primary, .ed-btn--ink, .ed-btn--green { border-color: transparent; }
.ed-btn--primary::after, .ed-btn--ink::after, .ed-btn--green::after { content: ''; position: absolute; top: 0; left: -70%; z-index: -1; width: 45%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.42), transparent); transform: skewX(-20deg); transition: left .8s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.ed-btn--primary:hover::after, .ed-btn--ink:hover::after, .ed-btn--green:hover::after { left: 130%; }
.ed-btn--primary { background: var(--ed-red); color: #fff; box-shadow: 0 10px 26px -6px rgba(255,0,0,.55); }
.ed-btn--primary:hover, .ed-btn--primary:focus-visible { background: var(--ed-red); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px -6px rgba(255,0,0,.68); }
.ed-btn--primary:active { box-shadow: 0 6px 16px -6px rgba(255,0,0,.6); }
.ed-btn--outline { background: #FFF0F0; color: var(--ed-red); border-color: #FFCCCC; }
.ed-btn--outline:hover, .ed-btn--outline:focus-visible { background: var(--ed-red); color: #fff; border-color: var(--ed-red); transform: translateY(-2px); box-shadow: 0 12px 26px -6px rgba(255,0,0,.55); }
.ed-btn--ink { box-shadow: 0 10px 24px -8px rgba(17,17,20,.5); }
.ed-btn--ink:hover { background: var(--ed-ink); transform: translateY(-2px); box-shadow: 0 16px 30px -8px rgba(17,17,20,.55); }
.ed-btn--green { box-shadow: 0 10px 24px -8px rgba(22,163,74,.55); }
.ed-btn--green:hover { transform: translateY(-2px); }
.ed-btn--white:hover, .ed-btn--ghost-light:hover { transform: translateY(-2px); }
.ed-btn--outline .ed-verified { transition: transform .38s cubic-bezier(.2,.8,.2,1); }
.ed-btn--outline:hover .ed-verified { transform: none; }
.ed-header__cta { border-radius: 12px !important; }
.ed-drawer__actions .ed-btn { border-radius: 14px; }
@media (prefers-reduced-motion: reduce) {
	.ed-btn, .ed-btn::after, .ed-btn .ed-ico { transition: none; }
	.ed-btn:hover, .ed-btn:active { transform: none; }
}
/* Elementor sets ".elementor a { box-shadow: none }": restore the glow with higher specificity */
.ed-btn.ed-btn--primary { box-shadow: 0 10px 26px -6px rgba(255,0,0,.55); }
.ed-btn.ed-btn--primary:hover, .ed-btn.ed-btn--primary:focus-visible { box-shadow: 0 16px 34px -6px rgba(255,0,0,.68); }
.ed-btn.ed-btn--primary:active { box-shadow: 0 6px 16px -6px rgba(255,0,0,.6); }
.ed-btn.ed-btn--outline:hover, .ed-btn.ed-btn--outline:focus-visible { box-shadow: 0 12px 26px -6px rgba(255,0,0,.55); }
.ed-btn.ed-btn--ink { box-shadow: 0 10px 24px -8px rgba(17,17,20,.5); }
.ed-btn.ed-btn--ink:hover { box-shadow: 0 16px 30px -8px rgba(17,17,20,.55); }
.ed-btn.ed-btn--green { box-shadow: 0 10px 24px -8px rgba(22,163,74,.55); }
/* Cart button spacing and a flat count badge */
.ed-header__actions .ed-cart { margin-right: 8px; }
.ed-cart .ed-cart__count { box-shadow: none; animation: none; }

/* Header Dashboard / Get Started: flat by default, glow only on hover */
.ed-btn.ed-btn--primary.ed-header__cta { box-shadow: none; }
.ed-btn.ed-btn--primary.ed-header__cta:hover, .ed-btn.ed-btn--primary.ed-header__cta:focus-visible { box-shadow: 0 12px 26px -8px rgba(255,0,0,.55); }

/* Results toolbar: Filters, then Sort by, count on the right */
.ed-results__bar { justify-content: flex-start; }
.ed-results__bar .ed-filters { order: 1; }
.ed-results__bar .ed-sort { order: 2; margin-left: 0; }
.ed-results__bar .ed-results__count { order: 3; margin-left: auto; }

/* Card buttons (tutor "View profile", course "Enroll"): soft tint, fills with colour on hover */
.ed-btn-profile.ed-btn-profile, .ed-course__enroll.ed-course__enroll { border-radius: 14px; border: 1.5px solid color-mix(in srgb, var(--c) 26%, #fff); background: var(--t); color: var(--c); box-shadow: none; transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .38s cubic-bezier(.2,.8,.2,1), box-shadow .38s cubic-bezier(.2,.8,.2,1); -webkit-tap-highlight-color: transparent; }
.ed-btn-profile::before, .ed-course__enroll::before { display: none; }
.ed-course__enroll.ed-course__enroll { --c: var(--ed-red); --t: #FFF0F0; border-color: #FFCCCC; }
.ed-course__enroll.ed-course__enroll.is-enrolled { --c: #16A34A; --t: #F0FDF4; border-color: #BBF7D0; }
.ed-tcard:hover .ed-btn-profile.ed-btn-profile, .ed-btn-profile.ed-btn-profile:hover, .ed-btn-profile.ed-btn-profile:focus-visible,
.ed-course:hover .ed-course__enroll.ed-course__enroll, .ed-course__enroll.ed-course__enroll:hover, .ed-course__enroll.ed-course__enroll:focus-visible { background: var(--c); color: #fff; border-color: var(--c); transform: translateY(-2px); box-shadow: 0 12px 26px -6px color-mix(in srgb, var(--c) 55%, transparent); }
.ed-btn-profile.ed-btn-profile:active, .ed-course__enroll.ed-course__enroll:active { transform: scale(.97); transition-duration: .12s; }
.ed-btn-profile .ed-btn-profile__arrow, .ed-course__enroll .ed-ico { transition: transform .38s cubic-bezier(.2,.8,.2,1); }
@media (prefers-reduced-motion: reduce) {
	.ed-btn-profile.ed-btn-profile, .ed-course__enroll.ed-course__enroll { transition: none; transform: none !important; }
}

/* Form submit buttons (Apply for Verified, contact, refund): flat by default, glow on hover */
.ed-formcard .ed-btn.ed-btn--primary, .ed-form .ed-btn.ed-btn--primary { box-shadow: none; }
.ed-formcard .ed-btn.ed-btn--primary:hover, .ed-form .ed-btn.ed-btn--primary:hover, .ed-formcard .ed-btn.ed-btn--primary:focus-visible { box-shadow: 0 12px 26px -8px rgba(255,0,0,.55); }

/* File inputs: red "Choose file" button */
.ed-field input[type="file"]::file-selector-button { margin-right: 12px; padding: 9px 16px; border: 0; border-radius: 10px; background: var(--ed-red); color: #fff; font: 700 13px var(--ed-font); cursor: pointer; transition: box-shadow .38s cubic-bezier(.2,.8,.2,1), filter .3s ease; }
.ed-field input[type="file"]::-webkit-file-upload-button { margin-right: 12px; padding: 9px 16px; border: 0; border-radius: 10px; background: var(--ed-red); color: #fff; font: 700 13px var(--ed-font); cursor: pointer; transition: box-shadow .38s cubic-bezier(.2,.8,.2,1), filter .3s ease; }
.ed-field input[type="file"]::file-selector-button:hover { box-shadow: 0 8px 18px -6px rgba(255,0,0,.6); filter: brightness(1.05); }
.ed-field input[type="file"]::-webkit-file-upload-button:hover { box-shadow: 0 8px 18px -6px rgba(255,0,0,.6); filter: brightness(1.05); }
.ed-field input[type="file"]::file-selector-button:active { filter: brightness(.95); }

/* Cart and checkout buttons: same red "shine sweep" style */
body.edusy-site .woocommerce a.checkout-button, body.edusy-site button[name="apply_coupon"], body.edusy-site #place_order, body.edusy-site .wcf-submit-coupon {
	background-color: #FF0000 !important; background-image: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.42) 45%, transparent 60%) !important; background-size: 300% 100% !important; background-position: 100% 0 !important; background-repeat: no-repeat !important;
	color: #fff !important; border: 0 !important; border-radius: 14px !important; box-shadow: none !important; font-weight: 700 !important;
	transition: background-position .8s cubic-bezier(.2,.8,.2,1), transform .38s cubic-bezier(.2,.8,.2,1), box-shadow .38s cubic-bezier(.2,.8,.2,1) !important; -webkit-tap-highlight-color: transparent;
}
body.edusy-site .woocommerce a.checkout-button:hover, body.edusy-site button[name="apply_coupon"]:hover, body.edusy-site #place_order:hover, body.edusy-site .wcf-submit-coupon:hover,
body.edusy-site .woocommerce a.checkout-button:focus-visible, body.edusy-site #place_order:focus-visible {
	background-position: 0 0 !important; transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(255,0,0,.6) !important; color: #fff !important;
}
body.edusy-site .woocommerce a.checkout-button:active, body.edusy-site button[name="apply_coupon"]:active, body.edusy-site #place_order:active, body.edusy-site .wcf-submit-coupon:active { transform: scale(.97); transition-duration: .12s !important; }
@media (prefers-reduced-motion: reduce) {
	body.edusy-site .woocommerce a.checkout-button, body.edusy-site button[name="apply_coupon"], body.edusy-site #place_order, body.edusy-site .wcf-submit-coupon { transition: none !important; transform: none !important; }
}

/* Tutor Starter theme forces its own coupon button style inline: override with higher specificity */
body.edusy-site .tutorstarter-cart-container .cart-collaterals .cart-coupon form button { background-color: #FF0000 !important; background-image: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.42) 45%, transparent 60%) !important; background-size: 300% 100% !important; background-position: 100% 0 !important; background-repeat: no-repeat !important; color: #fff !important; border: 0 !important; border-radius: 14px !important; box-shadow: none !important; transition: background-position .8s cubic-bezier(.2,.8,.2,1), transform .38s cubic-bezier(.2,.8,.2,1), box-shadow .38s cubic-bezier(.2,.8,.2,1) !important; }
body.edusy-site .tutorstarter-cart-container .cart-collaterals .cart-coupon form button:hover { background-position: 0 0 !important; transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(255,0,0,.6) !important; }
body.edusy-site .tutorstarter-cart-container .cart-collaterals .cart-coupon form button:active { transform: scale(.97); }
/* Buttons: no glow at rest anywhere; glow only on hover */
.ed-btn.ed-btn--primary, .ed-btn.ed-btn--ink, .ed-btn.ed-btn--green { box-shadow: none; }

/* Become a Tutor: 4-step "how it works" in the home-page steps style */
.ed-steps__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ed-steps__grid--4 .ed-step { padding: 20px; }
.ed-steps__grid--4 .ed-step h3 { font-size: 20px; }
.ed-steps__grid--4 .ed-step p { font-size: 14px; }
.ed-steps__grid--4 .ed-mini { height: 148px; gap: 8px; padding: 12px; }
.ed-mini__field { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 7px 10px; font-size: 12px; box-shadow: 0 2px 6px rgba(17,17,20,.06); min-width: 0; }
.ed-mini__field b { font-size: 12px; }
.ed-mini__field span:not(.ed-mini__av) { color: #55555F; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ed-mini__field .ed-ico { color: var(--ed-red); stroke-width: 2.2; flex: 0 0 auto; }
.ed-mini__tag { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 700; color: var(--ed-red); background: #FFF0F0; border-radius: 999px; padding: 3px 8px; }
.ed-mini__doc { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 7px 10px; font-size: 12px; }
.ed-mini__doc b { font-size: 12px; white-space: nowrap; }
.ed-mini__doc .ed-verified { margin-left: auto; animation: edPop 1.8s ease-in-out infinite; }
.ed-mini__up { width: 22px; height: 22px; border-radius: 999px; background: #DBEAFE; color: #1D4ED8; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.ed-mini__bar { flex: 1 1 auto; height: 6px; border-radius: 99px; background: #EBEBEF; overflow: hidden; min-width: 24px; }
.ed-mini__bar i { display: block; height: 100%; border-radius: inherit; background: #1D4ED8; animation: edUpload 3.6s ease-in-out infinite; }
@keyframes edUpload { 0% { width: 8%; } 70%, 100% { width: 100%; } }
.ed-mini__bill strong small { font-size: 11px; color: #6B6B75; font-weight: 600; margin-left: 1px; }
.ed-mini__earn { display: flex; flex-direction: column; background: #fff; border-radius: 12px; padding: 7px 10px; }
.ed-mini__earn span { font-size: 11px; color: #6B6B75; }
.ed-mini__earn strong { font: 800 20px/1.15 var(--ed-head); color: #15803D; }
.ed-mini__live { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 7px 10px; font-size: 12px; font-weight: 600; }
.ed-mini__live em { margin-left: auto; font-style: normal; font-size: 11px; color: #6B6B75; font-weight: 500; }
.ed-mini__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ed-red); animation: edBlink 1.2s ease-in-out infinite; flex: 0 0 auto; }
.ed-steps--tutor .ed-mini__join { padding: 8px 0; font-size: 12.5px; }
@media (max-width: 1100px) and (min-width: 561px) {
	.ed-steps__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.ed-steps__grid--4 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.ed-mini__bar i, .ed-mini__doc .ed-verified, .ed-mini__dot { animation: none; }
	.ed-mini__bar i { width: 100%; }
}

/* Steps cards: let the mockup grow instead of overflowing */
.ed-steps__grid--4 .ed-mini { height: auto; min-height: 148px; }
.ed-mini__live { white-space: nowrap; }
.ed-mini__earn strong { font-size: 18px; }


/* ============ Become: terms cards light up 1 → 4 in turn ============ */
.ed-stats--live > div { position: relative; overflow: hidden; background: var(--ed-soft); border: 1px solid #EDEDF1; padding: 22px 20px 24px; cursor: default; transition: transform .5s cubic-bezier(.2,.8,.2,1), background-color .5s ease, border-color .5s ease, box-shadow .5s ease; }
.ed-stats--live > div:first-child { background: var(--ed-soft); }
.ed-stats--live dt, .ed-stats--live dd { padding: 0; transition: color .45s ease; }
.ed-stats--live > div:first-child dt { color: var(--ed-muted); }
.ed-stats--live > div:first-child dd { color: var(--ed-ink); }
.ed-stats__n { position: absolute; top: 16px; right: 16px; width: 30px; height: 30px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font: 800 11.5px var(--ed-head); letter-spacing: .02em; color: #9A9AA3; background: #fff; border: 1px solid #E4E4E9; transition: color .45s ease, background-color .45s ease, border-color .45s ease, transform .45s cubic-bezier(.2,.8,.2,1); }
.ed-stats__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: rgba(255,255,255,.75); border-radius: 0 3px 3px 0; }
.ed-stats--live > div.is-on, .ed-stats--live > div:hover { background: var(--ed-red); border-color: var(--ed-red); transform: translateY(-6px); box-shadow: 0 18px 34px -18px rgba(255,0,0,.55); }
.ed-stats--live > div.is-on dt, .ed-stats--live > div:hover dt { color: #FFE1E2; }
.ed-stats--live > div.is-on dd, .ed-stats--live > div:hover dd { color: #fff; }
.ed-stats--live > div.is-on dd { animation: edTermPop .55s cubic-bezier(.2,.8,.2,1); }
.ed-stats--live > div.is-on .ed-stats__n, .ed-stats--live > div:hover .ed-stats__n { color: var(--ed-red); background: #fff; border-color: #fff; transform: scale(1.08); }
.ed-stats--live > div.is-on .ed-stats__bar { animation: edTermBar var(--ed-term-ms, 2400ms) linear forwards; }
.ed-stats--live.is-paused > div.is-on .ed-stats__bar, .ed-stats--live > div:hover .ed-stats__bar { animation: none; width: 100%; }
@keyframes edTermBar { from { width: 0; } to { width: 100%; } }
@keyframes edTermPop { 0% { opacity: .35; transform: translateY(8px); } 100% { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.ed-stats--live > div, .ed-stats__n { transition: none; }
	.ed-stats--live > div.is-on dd, .ed-stats--live > div.is-on .ed-stats__bar { animation: none; }
}

/* ============ Courses + Find Tutors: red/pink toolbar, custom dropdowns ============ */
.ed-results__count b { color: var(--ed-red); }
/* Filters toggle: pink when open instead of black */
.ed-filters__toggle:hover { border-color: #FFCCCC; background: #FFF5F5; color: var(--ed-red); }
.ed-filters[open] .ed-filters__toggle { background: #FFF0F0; border-color: var(--ed-red); color: var(--ed-red); }
.ed-filters[open] .ed-filters__toggle .ed-ico { color: var(--ed-red); }
.ed-filters[open] .ed-filters__count { background: var(--ed-red); color: #fff; }
/* Chip choices: pink + red when picked */
.ed-chipset span:hover { border-color: #FFCCCC; color: var(--ed-red); }
.ed-chipset input:checked + span { background: #FFF0F0; border-color: var(--ed-red); color: var(--ed-red); }
.ed-chipset input:checked + span::before { content: ''; width: 6px; height: 6px; margin-right: 7px; border-radius: 999px; background: var(--ed-red); }
/* Native select stays for the form, hidden behind the custom one */
select.ed-dd__native { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; border: 0 !important; opacity: 0 !important; pointer-events: none !important; overflow: hidden; clip: rect(0 0 0 0); }
.ed-select.has-dd > .ed-ico { display: none; }
.ed-dd { position: relative; width: 100%; }
.ed-sort .ed-dd { width: auto; }
.ed-dd__btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 46px; padding: 0 14px 0 16px; border: 1.5px solid var(--ed-line); border-radius: 12px; background: #fff; color: var(--ed-ink); font: 600 15px var(--ed-font); text-align: left; cursor: pointer; box-shadow: none; transition: border-color .25s ease, background-color .25s ease, color .25s ease; }
.ed-sort .ed-dd__btn { min-height: 44px; min-width: 176px; font-weight: 700; font-size: 14px; }
.ed-dd__val { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ed-dd__chev { flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; color: #9A9AA3; transition: transform .3s cubic-bezier(.2,.8,.2,1), color .25s ease; }
.ed-dd__btn:hover { border-color: #FFCCCC; background: #FFF8F8; }
.ed-dd__btn:hover .ed-dd__chev { color: var(--ed-red); }
.ed-dd__btn:focus-visible { outline: none; border-color: var(--ed-red); }
.ed-dd.is-set .ed-dd__btn { background: #FFF0F0; border-color: #FFCCCC; color: var(--ed-red); }
.ed-dd.is-set .ed-dd__chev { color: var(--ed-red); }
.ed-dd.is-open .ed-dd__btn { border-color: var(--ed-red); background: #FFF0F0; color: var(--ed-red); }
.ed-dd.is-open .ed-dd__chev { transform: rotate(180deg); color: var(--ed-red); }
.ed-dd__menu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 60; min-width: 100%; width: max-content; max-width: min(320px, calc(100vw - 32px)); max-height: 300px; overflow: auto; overscroll-behavior: contain; background: #fff; border: 1px solid #F0E3E3; border-radius: 16px; padding: 6px; box-shadow: 0 24px 48px -16px rgba(17,17,20,.22); opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top left; transition: opacity .2s ease, transform .28s cubic-bezier(.2,.8,.2,1), visibility .2s; }
.ed-filters__form .ed-dd__menu { width: auto; right: 0; max-width: none; }
.ed-dd.is-open .ed-dd__menu { opacity: 1; visibility: visible; transform: none; }
.ed-dd__opt { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: #3F3F46; cursor: pointer; white-space: nowrap; transition: background-color .18s ease, color .18s ease, padding .2s ease; }
.ed-dd__opt:hover, .ed-dd__opt.is-focus { background: #FFF5F5; color: var(--ed-red); padding-left: 15px; }
.ed-dd__opt[aria-selected="true"] { background: #FFE8E8; color: var(--ed-red); font-weight: 700; }
.ed-dd__tick { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 999px; background: var(--ed-red); display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.4); transition: opacity .2s ease, transform .3s cubic-bezier(.2,.8,.2,1); }
.ed-dd__tick svg { fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.ed-dd__opt[aria-selected="true"] .ed-dd__tick { opacity: 1; transform: none; }
.ed-dd__group { padding: 12px 12px 4px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #A1A1AA; }
.ed-dd__group:first-child { padding-top: 6px; }
@media (max-width: 600px) {
	.ed-sort .ed-dd__btn { min-width: 150px; }
	.ed-sort .ed-dd__menu { left: auto; right: 0; transform-origin: top right; }
}

.ed-mini__field [data-ed-type] + .ed-caret { margin-left: -6px; flex: 0 0 auto; }

/* Payment marks (official app icons + colourful card/bank icons) */
.ed-pays { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ed-pm { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px 0 5px; border-radius: 12px; background: #fff; border: 1px solid var(--ed-line); font-size: 12.5px; color: var(--ed-ink); transition: border-color .25s ease, transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; }
.ed-pm b { font-weight: 700; }
.ed-pm:hover { border-color: #FFCCCC; transform: translateY(-2px); box-shadow: 0 10px 20px -14px rgba(17,17,20,.35); }
.ed-pm__ic { width: 26px; height: 26px; flex: 0 0 auto; display: block; border-radius: 7px; overflow: hidden; }
.ed-pm__ic img, .ed-pm__ic svg { width: 100% !important; height: 100% !important; display: block; object-fit: cover; border-radius: 7px; }
.ed-pm--nagad .ed-pm__ic { box-shadow: inset 0 0 0 1px #F0E6E0; }
.ed-pays .ed-pm b { border: 0 !important; background: none !important; padding: 0 !important; border-radius: 0 !important; box-shadow: none !important; font-size: 12.5px; }

/* Header: one account button with dropdown */
.ed-acct { position: relative; }
.ed-acct__btn { cursor: pointer; border: 0; font-family: var(--ed-font); }
.ed-acct__chev { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; margin-left: -2px; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.ed-acct.is-open .ed-acct__chev { transform: rotate(180deg); }
.ed-acct__menu { position: absolute; right: 0; top: calc(100% + 12px); z-index: 200; width: 270px; padding: 8px; background: #fff; border: 1px solid #EEEEF2; border-radius: 20px; box-shadow: 0 24px 50px -18px rgba(17,17,20,.28); opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right; transition: opacity .2s ease, transform .28s cubic-bezier(.2,.8,.2,1), visibility .2s; }
.ed-acct__menu::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.ed-acct.is-open .ed-acct__menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 961px) { .ed-acct:hover .ed-acct__menu { opacity: 1; visibility: visible; transform: none; } .ed-acct:hover .ed-acct__chev { transform: rotate(180deg); } }
.ed-acct__who { display: flex; align-items: center; gap: 10px; padding: 8px 10px 12px; margin-bottom: 6px; border-bottom: 1px dashed #E7E7EC; }
.ed-acct__av img { width: 38px; height: 38px; border-radius: 999px; display: block; }
.ed-acct__who > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.ed-acct__who b { font: 700 14px var(--ed-head); color: var(--ed-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-acct__who small { font-size: 12px; color: var(--ed-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-acct__item { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 14px; text-decoration: none; color: var(--ed-ink); transition: background-color .2s ease, padding .25s cubic-bezier(.2,.8,.2,1); }
.ed-acct__ic { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: #FFF0F0; color: var(--ed-red); transition: background-color .25s ease, color .25s ease, transform .3s cubic-bezier(.2,.8,.2,1); }
.ed-acct__tx { display: flex; flex-direction: column; min-width: 0; }
.ed-acct__tx b { font-size: 14px; font-weight: 700; }
.ed-acct__tx small { font-size: 12px; color: var(--ed-muted); }
.ed-acct__item:hover, .ed-acct__item:focus-visible { background: #FFF5F5; padding-left: 14px; outline: none; }
.ed-acct__item:hover .ed-acct__ic, .ed-acct__item:focus-visible .ed-acct__ic { background: var(--ed-red); color: #fff; transform: scale(1.05); }
.ed-acct__item.is-main .ed-acct__ic { background: var(--ed-red); color: #fff; }
.ed-acct__item.is-out { margin-top: 6px; border-top: 1px dashed #E7E7EC; border-radius: 0 0 14px 14px; color: var(--ed-red); }
.ed-acct__item.is-out .ed-acct__ic { background: var(--ed-soft); color: var(--ed-muted); }
/* Mobile drawer: account links as a list */
.ed-drawer__acct { display: grid; gap: 2px; width: 100%; }
.ed-drawer__acct .ed-acct__item { padding: 8px; }
.ed-drawer__acct .ed-acct__item.is-out { margin-top: 4px; }
@media (prefers-reduced-motion: reduce) { .ed-acct__menu, .ed-acct__chev { transition: none; } }
