/* Academy classes (template-parts/single-classes.php); builds on the academy course styles in theme.css */
.cls-hero__teachers{display:flex;flex-wrap:wrap;gap:10px}
.cls-hero__teachers .course-hero__teacher{margin-top:18px}
.cls a.course-hero__teacher{text-decoration:none;transition:border-color .25s,background .25s}
.cls a.course-hero__teacher:hover{border-color:var(--gold);background:rgba(243,188,0,.1)}
.cls .ed-hero__media .page-hero__media img{aspect-ratio:4/3;width:100%}

.cls-for{display:flex;gap:14px;align-items:flex-start;margin-top:22px;padding:18px 20px;border-radius:20px;background:rgba(243,188,0,.1);border:1px solid rgba(243,188,0,.35)}
.cls-for__icon{flex:none;width:42px;height:42px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:var(--gold);color:#0A1430}
.cls-for__icon svg{width:22px;height:22px}
.cls-for b{display:block;margin-bottom:4px;font-weight:900;color:var(--ink-text)}
.cls-for p{margin:0;color:var(--text);line-height:2}

.cls-video__tabs{display:inline-flex;gap:4px;margin-bottom:14px;padding:5px;border-radius:999px;background:var(--card);border:1px solid var(--line)}
.cls-video__tabs button{display:inline-flex;align-items:center;gap:6px;padding:8px 18px;border:0;border-radius:999px;background:none;font:inherit;font-weight:800;color:var(--muted);cursor:pointer;transition:background .25s,color .25s}
.cls-video__tabs button svg{width:14px;height:14px;fill:currentColor}
.cls-video__tabs button[aria-selected="true"]{background:var(--btn,var(--navy));color:#fff}
.cls-video__pane[hidden]{display:none}

.cls-syl .syl button b{flex:1}
.cls-syl__count{flex:none;padding:2px 10px;border-radius:999px;background:var(--paper);border:1px solid var(--line);font-size:12px;font-weight:800;color:var(--muted)}
.cls-syl .syl__body>.cls-syl__in{overflow:hidden;padding:0 56px 0 16px}
.cls-syl.course-syl .syl__body .cls-syl__in p{padding:0;margin:0 0 10px;overflow:visible}
.cls-syl .syl.is-open .syl__body .cls-syl__in{padding-bottom:18px}
.cls-syl__topics{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.cls-syl__topics li{position:relative;padding:5px 12px 5px 12px;border-radius:12px;background:var(--paper);border:1px solid var(--line);font-size:13.5px;font-weight:700;color:var(--text);line-height:1.8}
.cls-syl__topics li::before{content:"";display:inline-block;width:6px;height:6px;margin-inline-end:8px;border-radius:50%;background:var(--gold);vertical-align:middle}

.cls-price__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:28px;max-width:1040px;margin-inline:auto;align-items:stretch}
.cls-price__grid>:only-child{grid-column:1/-1;max-width:520px;margin-inline:auto;width:100%}
.cls-ticket{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:32px;border-radius:28px;color:#fff;background:radial-gradient(420px circle at 100% 0,rgba(243,188,0,.28),transparent 60%),linear-gradient(160deg,#16244F,#0A1430);box-shadow:0 30px 60px var(--shadow);overflow:hidden}
.cls-ticket__tag{padding:4px 14px;border-radius:999px;background:rgba(255,255,255,.1);font-size:13px;font-weight:800;color:var(--gold)}
.cls-ticket__old{margin:10px 0 0;color:rgba(255,255,255,.55);font-weight:700}
.cls-ticket__amount{margin:0;font-size:18px;font-weight:800;color:rgba(255,255,255,.85)}
.cls-ticket__amount b{font-size:40px;font-weight:900;color:#fff;letter-spacing:-.5px}
.cls-ticket__off{padding:3px 12px;border-radius:999px;background:var(--gold);color:#0A1430;font-size:12px;font-weight:900}
.cls-ticket__perks{list-style:none;margin:18px 0 22px;padding:18px 0 0;border-top:2px dashed rgba(255,255,255,.18);display:grid;gap:10px;width:100%}
.cls-ticket__perks li{display:flex;gap:10px;align-items:flex-start;line-height:1.9}
.cls-ticket__perks svg{flex:none;width:22px;height:22px;padding:3px;border-radius:50%;background:var(--ok);color:#fff;stroke-width:3;margin-top:3px}
.cls-ticket .btn{margin-top:auto;align-self:stretch;justify-content:center}
.cls-ticket__notch{display:none}

.cls-cert{position:relative;padding:32px;border-radius:28px;background:var(--card);border:1px solid var(--line);box-shadow:0 20px 50px var(--shadow)}
.cls-cert__seal{position:absolute;inset-inline-end:24px;top:-26px;width:92px;height:92px}
.cls-cert__seal svg{width:100%;height:100%;fill:none;stroke-linecap:round;stroke-linejoin:round}
.cls-cert__seal circle{fill:var(--gold);stroke:#fff;stroke-width:3}
.cls-cert__seal .cls-cert__ring{fill:none;stroke:var(--gold);stroke-width:2;stroke-dasharray:4 5}
.cls-cert__seal path{stroke:#0A1430;stroke-width:6}
.cls-cert__seal .cls-cert__ribbon{fill:var(--navy);stroke:none}
.cls-cert h3{margin:0 0 16px;padding-inline-end:100px;font-size:21px;font-weight:900;color:var(--ink-text);line-height:1.6}
.cls-cert ul{list-style:none;margin:0;padding:0;display:grid;gap:10px;counter-reset:cert}
.cls-cert li{position:relative;padding-inline-start:38px;color:var(--text);line-height:1.95;counter-increment:cert}
.cls-cert li::before{content:counter(cert,persian);position:absolute;inset-inline-start:0;top:2px;width:26px;height:26px;border-radius:9px;display:flex;align-items:center;justify-content:center;background:rgba(243,188,0,.16);color:var(--gold-ink);font-size:13px;font-weight:900}
.cls-cert__note{display:flex;align-items:center;gap:8px;margin:18px 0 0;padding:10px 14px;border-radius:14px;background:var(--paper);font-weight:800;color:var(--muted)}
.cls .sv-form__intro .sv-faq__call{margin-top:22px}

.has-motion .cls-cert__ring{animation:cls-spin 18s linear infinite;transform-origin:60px 60px}
@keyframes cls-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.has-motion .cls-cert__ring{animation:none}}

@media (max-width:960px){.cls-price__grid{grid-template-columns:minmax(0,1fr)}.cls-cert{margin-top:24px}}
@media (max-width:640px){
	.cls-ticket,.cls-cert{padding:24px 20px}
	.cls-ticket__amount b{font-size:32px}
	.cls-cert h3{font-size:18px;padding-inline-end:84px}
	.cls-cert__seal{width:76px;height:76px;top:-22px}
	.cls-syl .syl__body>.cls-syl__in{padding:0 16px}
	.cls-syl__count{display:none}
	.cls-video__tabs{display:flex;width:100%}
	.cls-video__tabs button{flex:1;justify-content:center;padding-inline:10px}
	.cls-hero__teachers .course-hero__teacher{margin-top:8px}
}
