/* Shared thematic layout, based on the approved Google Ads page. */
body[data-topic-template] .hero-topic{height:auto;min-height:760px;background:#171816;isolation:isolate}
.hero-topic .hero-photo{position:absolute;z-index:-2;inset:0 auto 0 0;width:68%;height:100%;object-fit:cover;object-position:var(--photo-position,center);max-width:none}
body[data-topic-template] .hero-topic:after{z-index:-1;background:linear-gradient(90deg,transparent 15%,rgba(23,24,22,.1) 33%,rgba(23,24,22,.85) 57%,#171816 74%)}
.hero-topic .hero-content{width:min(590px,46%);min-width:0;margin:155px 6vw 100px auto}
.hero-topic h1{overflow-wrap:break-word;hyphens:auto}
body[data-topic-template] .site-header .signature{text-shadow:0 1px 8px #0009}
.hero-topic h1{font-size:clamp(3rem,5.15vw,5.5rem);line-height:1.02}
.hero-topic .hero-content>.eyebrow{color:#e39a72;font-size:.72rem}
.hero-topic .hero-content>p:not(.eyebrow){font-size:1.05rem;line-height:1.65}
.hero-topic .hero-photo-caption{position:absolute;bottom:18px;left:34px;width:43%;max-width:600px;margin:0;padding:9px 14px;background:#171816b8;color:#f0eae1;font-size:.72rem;line-height:1.5}
.hero-topic .hero-side{display:none}
body[data-topic-template] .course-list-heading{color:#b45b30;font:700 .72rem/1.65 var(--sans);letter-spacing:.18em;text-transform:uppercase}
body[data-topic-template] .milestone-mark{min-width:0}
body[data-topic-template] .topic-years{overflow-wrap:normal;font-size:clamp(2rem,3.4vw,3rem)}
body[data-topic-template] .facts{grid-template-columns:repeat(4,minmax(0,1fr))}
body[data-topic-template] .fact strong{overflow-wrap:anywhere}
#cursos .course{grid-template-columns:100px minmax(0,1fr) 260px}
#cursos .course.has-evidence{display:block}
#cursos .course.extra,#cursos .course.extra.has-evidence{display:none}
#cursos .course-list.expanded .course.extra{display:grid}
#cursos .course-list.expanded .course.extra.has-evidence{display:block}
#cursos .course .course-link{grid-template-columns:100px minmax(0,1fr) 260px}
@media(max-width:1000px){
 .hero-topic .hero-content{margin-right:4vw;width:48%}
 .hero-topic h1{font-size:clamp(2.9rem,5.2vw,4.4rem)}
}
@media(max-width:900px){
 body[data-topic-template] .hero-topic{min-height:900px;display:flex;align-items:flex-end}
 .hero-topic .hero-photo{width:100%;height:64%;object-position:var(--photo-position,center)}
 body[data-topic-template] .hero-topic:after{background:linear-gradient(0deg,#171816 7%,#171816 27%,#171816c9 52%,#17181620 78%,#17181630)}
 .hero-topic .hero-content{width:calc(100% - 60px);flex:0 1 auto;margin:300px 30px 86px;max-width:680px}
 .hero-topic .hero-photo-caption{left:26px;bottom:14px;width:calc(100% - 52px);max-width:none;background:transparent;padding:0;font-size:.68rem}
 body[data-topic-template] .facts{grid-template-columns:repeat(2,minmax(0,1fr))}
 #cursos .course,#cursos .course .course-link{grid-template-columns:70px minmax(0,1fr)}
 #cursos .course span,#cursos .course .course-link span{grid-column:2}
}
@media(max-width:560px){
 body[data-topic-template] .hero-topic{min-height:880px}
 .hero-topic .hero-content{width:calc(100% - 48px);max-width:calc(100% - 48px);margin:300px 24px 90px}
 .hero-topic h1{font-size:clamp(2.25rem,9vw,3rem);overflow-wrap:anywhere}
 .hero-topic .hero-content>p:not(.eyebrow){font-size:.98rem}
 .hero-topic .crumb{margin-bottom:20px}
 .hero-topic .hero-action{font-size:.66rem}
 body[data-topic-template] .facts{grid-template-columns:1fr}
 #cursos .course,#cursos .course .course-link{grid-template-columns:1fr}
 #cursos .course span,#cursos .course .course-link span{grid-column:1}
}
