:root{--blue:#105de9;--navy:#081a34;--green:#15964f;--line:#dfe5ec}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f5f8fc;color:var(--navy);font-family:"Euclid Circular",Arial,sans-serif}.detail-container{width:min(1070px,calc(100% - 40px));margin:auto}.detail-header{height:72px;background:#fff;border-bottom:1px solid #e8edf2;position:relative;z-index:10}.header-inner{height:100%;display:flex;align-items:center;gap:22px}.brand{display:flex;align-items:center;gap:8px;color:#122139;text-decoration:none;line-height:1.03;font-size:calc(13px * var(--home-text-scale, 1))}.brand img{width:55px;height:52px;object-fit:contain}.partner-logos{height:43px;padding-left:20px;border-left:1px solid #d9dfe6;display:flex;align-items:center;gap:17px;font-size:calc(8px * var(--home-text-scale, 1));line-height:1.15}.partner-logos img:first-child{width:46px;height:42px;object-fit:contain}.partner-logos img:last-child{width:45px;height:24px;object-fit:contain}.main-nav{display:flex;align-self:stretch;margin-left:auto;gap:34px}.main-nav a{position:relative;display:flex;align-items:center;color:#111d35;text-decoration:none;font-size:calc(14px * var(--home-text-scale, 1));font-weight:600}.main-nav a.active{color:var(--blue)}.main-nav a.active:after{content:"";position:absolute;inset:auto 0 0;height:3px;background:var(--blue)}.header-actions{display:flex;gap:12px;margin-left:28px}.header-actions a{height:42px;padding:0 24px;border-radius:6px;display:flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;font-size:calc(14px * var(--home-text-scale, 1));font-weight:700}.login-button{border:1px solid #10203d;color:#10203d}.signup-button{background:var(--blue);color:#fff}.mobile-toggle{display:none;margin-left:auto;border:0;background:transparent;font-size:calc(24px * var(--home-text-scale, 1))}
.detail-hero{height:270px;color:#fff;background:url("../images/banner_curso_apr.png") center right/cover no-repeat}.hero-content{height:100%;display:flex;align-items:center}.hero-copy{width:52%;padding-bottom:5px}.breadcrumb{display:flex;align-items:center;gap:8px;margin-bottom:10px;font-size:calc(11px * var(--home-text-scale, 1))}.breadcrumb a,.breadcrumb span{color:#fff;text-decoration:none}.category-pill,.free-pill{display:inline-block;padding:6px 13px;border-radius:99px;background:#159b50;color:#fff;text-transform:uppercase;font-size:calc(9px * var(--home-text-scale, 1));font-weight:800}.hero-copy h1{margin:8px 0 4px;color:#fff;font-size:calc(31px * var(--home-text-scale, 1));line-height:1.08;letter-spacing:-.02em}.hero-copy>p{height:38px;overflow:hidden;margin:0;color:#eff4f8;font-size:calc(14px * var(--home-text-scale, 1));line-height:1.35}.hero-authors{display:flex;align-items:center;gap:9px;margin-top:8px;font-size:calc(11px * var(--home-text-scale, 1))}.avatars{display:flex;padding-left:7px}.avatars img{width:30px;height:30px;margin-left:-7px;border:2px solid #fff;border-radius:50%;object-fit:cover}.hero-meta{display:flex;gap:18px;margin-top:9px}.hero-meta span{display:flex;align-items:center;gap:7px;padding-right:18px;border-right:1px solid rgba(255,255,255,.45);font-size:calc(11px * var(--home-text-scale, 1));font-weight:600}.hero-meta span:last-child{border:0}.hero-meta i{font-size:calc(18px * var(--home-text-scale, 1))}.section-nav{height:47px;background:#fff;border-bottom:1px solid #dfe5ec}.section-nav>div{height:100%;display:flex;gap:35px}.section-nav a{height:100%;position:relative;display:flex;align-items:center;color:#34445e;text-decoration:none;font-size:calc(11px * var(--home-text-scale, 1));font-weight:600}.section-nav a.active{color:var(--blue)}.section-nav a.active:after{content:"";position:absolute;inset:auto 0 0;height:3px;background:var(--blue)}
.detail-body{padding:18px 0 14px;background:linear-gradient(110deg,#fff,#f3f6fb 57%,#fff)}.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 305px;gap:18px;align-items:start}.detail-main{display:grid;gap:12px}.content-card,.enroll-card{padding:13px 16px;border:1px solid #e3e8ef;border-radius:8px;background:#fff;box-shadow:0 5px 18px rgba(22,43,73,.045)}.content-card h2,.enroll-card h2{margin:0 0 7px;font-size:calc(16px * var(--home-text-scale, 1))}.rich-text,.rich-text p{margin:0;color:#526177;font-size:calc(11px * var(--home-text-scale, 1));line-height:1.35}.learning-grid{display:grid;grid-template-columns:repeat(3,1fr)}.learning-grid>div{display:flex;align-items:center;gap:10px;padding:3px 20px 3px 0;color:#3f4f65;font-size:calc(11px * var(--home-text-scale, 1))}.learning-grid>div+div{padding-left:20px;border-left:1px solid #e2e7ed}.learning-grid i{width:20px;height:20px;border-radius:50%;background:#0e9b50;color:#fff;display:flex;align-items:center;justify-content:center;font-size:calc(12px * var(--home-text-scale, 1));flex:none}.units-list{display:grid;gap:4px}.units-list details{border:1px solid #dfe5ed;border-radius:6px;overflow:hidden;background:#fafbfd}.units-list summary{height:29px;padding:0 10px;display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none;font-size:calc(11px * var(--home-text-scale, 1))}.units-list summary::-webkit-details-marker{display:none}.unit-number{width:19px;height:19px;border-radius:50%;background:#e2e9f6;display:flex;align-items:center;justify-content:center;color:#172943;font-size:calc(10px * var(--home-text-scale, 1));font-weight:700}.units-list details[open] summary{border-color:#aac6fc;background:#edf4ff;color:var(--blue)}.units-list summary i{margin-left:auto}.unit-lessons{padding:3px 16px 5px 42px;background:#fff}.unit-lessons>div{height:24px;display:flex;align-items:center;gap:9px;color:#4c5b71;font-size:calc(10px * var(--home-text-scale, 1))}.unit-lessons small{width:44px;height:8px;margin-left:auto;border-radius:99px;background:#e5e9ee}.teachers{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.teacher{display:flex;gap:12px;padding:7px;border:1px solid #e5e9ef;border-radius:7px}.teacher>img{width:78px;height:78px;border-radius:50%;object-fit:cover;flex:none}.teacher h3{margin:2px 0;font-size:calc(13px * var(--home-text-scale, 1))}.teacher p{height:34px;overflow:hidden;margin:0;color:#55647a;font-size:calc(9px * var(--home-text-scale, 1));line-height:1.25}.teacher a{color:var(--blue);text-decoration:none;font-size:calc(9px * var(--home-text-scale, 1));font-weight:700}.enroll-card{position:sticky;top:15px;padding:19px 16px}.free-pill{background:#d9f7e5;color:#08783e}.enroll-card h2{margin-top:10px;font-size:calc(20px * var(--home-text-scale, 1))}.enroll-button{height:38px;border-radius:5px;background:var(--blue);display:flex;align-items:center;justify-content:center;color:#fff;text-decoration:none;font-size:calc(12px * var(--home-text-scale, 1));font-weight:700}.enroll-card>p{text-align:center;color:#667389;font-size:calc(10px * var(--home-text-scale, 1))}.facts{margin-top:14px;border-top:1px solid #e2e7ed}.facts>div{height:37px;border-bottom:1px solid #e2e7ed;display:flex;align-items:center;justify-content:space-between;font-size:calc(10px * var(--home-text-scale, 1))}.facts span{display:flex;align-items:center;gap:10px;font-weight:600}.facts i{font-size:calc(18px * var(--home-text-scale, 1))}.questions{padding-top:17px;text-align:center;font-size:calc(10px * var(--home-text-scale, 1))}.questions>strong{margin-left:5px}.questions>a{display:block;margin-top:8px;color:var(--blue);text-decoration:none;font-size:calc(9px * var(--home-text-scale, 1));font-weight:700}.detail-footer{min-height:58px;background:#071a32;color:#fff}.footer-inner{min-height:58px;display:grid;grid-template-columns:1.5fr 1fr auto 1fr;align-items:center;gap:24px}.footer-logos{display:flex;align-items:center;gap:13px}.footer-logos>div{font-size:calc(8px * var(--home-text-scale, 1));line-height:1.1}.footer-logos span,.footer-logos strong{display:block}.footer-logos img{width:42px;height:34px;padding-left:11px;border-left:1px solid rgba(255,255,255,.3);object-fit:contain}.footer-inner nav{display:flex;gap:25px}.footer-inner nav a,.social a{color:#fff;text-decoration:none;font-size:calc(9px * var(--home-text-scale, 1))}.social{display:flex;gap:14px;padding-right:18px;border-right:1px solid rgba(255,255,255,.35)}.social a{font-size:calc(15px * var(--home-text-scale, 1))}.footer-inner small{color:#bdc6d1;font-size:calc(8px * var(--home-text-scale, 1));line-height:1.45}.detail-modal{position:fixed;inset:0;z-index:30;background:rgba(3,16,31,.65);display:flex;align-items:center;justify-content:center}.detail-modal[hidden]{display:none}.modal-box{width:min(430px,calc(100% - 30px));padding:28px;border-radius:10px;background:#fff;position:relative;text-align:center}.modal-box>button{position:absolute;top:8px;right:12px;border:0;background:none;font-size:calc(25px * var(--home-text-scale, 1))}.not-found{min-height:70vh;display:grid;place-content:center;text-align:center}
@media(max-width:900px){.partner-logos{display:none}.header-actions{margin-left:10px}.detail-hero{background-position:62% center}.hero-copy{width:60%}.detail-layout{grid-template-columns:1fr}.enroll-card{position:static}.footer-inner{grid-template-columns:1fr 1fr;padding:15px 0}.social{border:0}}
@media(max-width:680px){.detail-container{width:min(100% - 24px,1070px)}.detail-header{height:auto;min-height:66px}.header-inner{flex-wrap:wrap}.brand img{width:48px}.main-nav{display:none;order:4;width:100%;padding:8px 0 14px;gap:18px}.main-nav.open{display:flex}.main-nav a{padding:7px}.main-nav a.active:after{display:none}.mobile-toggle{display:block}.header-actions a{height:38px;padding:0 13px}.detail-hero{height:390px;background-position:68% center;background-image:linear-gradient(90deg,rgba(2,16,31,.92),rgba(2,18,34,.35)),url("../images/banner_curso_apr.png")}.hero-copy{width:100%}.hero-copy h1{font-size:calc(28px * var(--home-text-scale, 1))}.hero-copy>p{height:auto}.hero-meta{flex-wrap:wrap;gap:8px}.section-nav{overflow-x:auto}.section-nav>div{gap:25px}.learning-grid,.teachers{grid-template-columns:1fr}.learning-grid>div+div{padding-left:0;border:0}.footer-inner{grid-template-columns:1fr}.footer-logos{flex-wrap:wrap}}

/* Text enlargement must also expand the compact course detail layout. */
body { font-size: calc(16px * var(--home-text-scale, 1)); }
.text-enlarged .detail-header, .text-enlarged .detail-hero, .text-enlarged .section-nav { height: auto; }
.text-enlarged .detail-header .header-inner { flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.text-enlarged .hero-content { padding-top: 24px; padding-bottom: 24px; }
.text-enlarged .hero-copy { width: min(100%, 700px); }
.text-enlarged .hero-copy > p, .text-enlarged .teacher p { height: auto; overflow: visible; }
.text-enlarged .breadcrumb, .text-enlarged .hero-authors, .text-enlarged .hero-meta, .text-enlarged .section-nav > div { flex-wrap: wrap; }
.text-enlarged .section-nav a { min-height: 47px; padding: 10px 0; }
.text-enlarged .learning-grid, .text-enlarged .teachers { grid-template-columns: 1fr; }
.text-enlarged .learning-grid > div + div { padding-left: 0; border-left: 0; }
.text-enlarged .units-list summary, .text-enlarged .unit-lessons > div, .text-enlarged .facts > div { height: auto; min-height: 37px; padding-top: 8px; padding-bottom: 8px; }
.text-enlarged .unit-number { flex-shrink: 0; }
.text-enlarged .unit-lessons small { flex-shrink: 0; }
.text-enlarged .teacher > div { min-width: 0; }
.text-enlarged .detail-main, .text-enlarged .enroll-card { overflow-wrap: anywhere; }
.text-enlarged .enroll-button { height: auto; min-height: 38px; padding: 10px; text-align: center; }
.high-contrast .detail-hero { background-image: none !important; }
.high-contrast :where(aside, details, summary) { background-color: #000 !important; color: #fff !important; border-color: #fff !important; }
@media (max-width: 680px) { .text-enlarged .section-nav > div { gap: 8px 20px; } }

/* Enlarge the header, hero and course content consistently on desktop. */
@media (min-width: 1100px) {
    .detail-header, .detail-hero, .section-nav, .detail-body { zoom: 1.25; }
    .detail-header { height: auto; min-height: 72px; }
    .detail-header .header-inner { min-height: 72px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
    .detail-header .main-nav { min-height: 42px; }
    .detail-hero { height: auto; min-height: 270px; }
    .detail-hero .hero-content { min-height: 270px; padding-top: 20px; padding-bottom: 20px; }
    .detail-hero .hero-copy > p { height: auto; overflow: visible; }
    .detail-hero .breadcrumb, .detail-hero .hero-meta { flex-wrap: wrap; }
}
