/* Native Ergonomia uses the same theme without changing its academic adapter. */
html .ergo-entry .ergo-course-opening{position:relative;isolation:isolate;display:block;overflow:hidden;min-height:320px;padding:0;background:#211449;border-radius:24px;color:#fff}
html .ergo-entry .ergo-course-opening:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(100deg,#190b35fa,#261146ee 53%,#26114644)}
html .ergo-entry .ergo-course-opening-image{position:absolute;inset:0;width:100%;height:100%;max-width:none;margin:0;aspect-ratio:auto;z-index:-2;transform:none;border-radius:0}
html .ergo-entry .ergo-course-opening-image img{width:100%;height:100%;max-height:none;object-fit:cover!important;object-position:80% 35%!important;margin:0;border:0;border-radius:0;transform:none;box-shadow:none}
html .ergo-entry .ergo-course-opening-image figcaption{display:none}
html .ergo-entry .ergo-course-opening-copy{padding:clamp(24px,4vw,45px);max-width:820px;width:100%}
html .ergo-entry .ergo-course-opening h1{font-size:clamp(29px,4vw,49px);line-height:1.12;letter-spacing:-.03em;text-wrap:balance;color:#fff}
html .ergo-entry .ergo-course-opening :is(p,.ergo-entry-author){color:#f3eaff}html .ergo-entry .ergo-course-opening-description{font-size:17px;line-height:1.5}
html .ergo-entry .ergo-course-opening-facts span{color:#fff;background:#ffffff20;border-color:#ffffff44}
html .ergo-entry .ergo-entry-author{font-size:14px}html .ergo-entry .ergo-entry-secondary{color:#fff;background:#ffffff20}
html .ergo-entry .fic-entry-resources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}
html .ergo-entry .fic-entry-resource{padding:20px;border:1px solid var(--fic-line,#d6cce6);border-top:3px solid #8b34b9;background:var(--fic-surface,#fff);border-radius:20px;color:var(--fic-ink,#211333)}
html .ergo-entry .fic-entry-resource summary{min-height:44px;cursor:pointer;display:flex;align-items:center;font-weight:750;text-decoration:underline;line-height:1.5}
@media(max-width:700px){html .ergo-entry .fic-entry-resources{grid-template-columns:1fr}html .ergo-entry .ergo-course-opening-copy{padding:25px 22px}}
@media(prefers-reduced-motion:reduce){.ergo-entry *{transition:none!important;animation:none!important}}
