.course-page .course-section{padding-block:64px}.course-hero{min-height:570px}.course-hero .hero-photo{width:75%;object-position:center}.course-hero .hero-shade{background:linear-gradient(90deg,#000 5%,rgba(0,0,0,.88) 35%,rgba(0,0,0,.16) 100%)}.course-hero .hero-content{padding-block:28px 42px}.breadcrumbs{display:flex;gap:10px;flex-wrap:wrap;font-size:12px;color:var(--amci-gris-15);margin-bottom:30px}.breadcrumbs a:hover{text-decoration:underline}.course-hero h1{font-size:clamp(60px,6.7vw,92px);margin-top:12px}.course-hero .course-lead{font-size:21px;margin-top:22px}.course-hero .official-name{font-size:12px;max-width:520px;margin-top:30px;line-height:1.65}.official-name span{color:var(--amci-gris-15)}.course-facts{background:#f5f3f2;border-bottom:1px solid var(--amci-gris-15)}.facts-grid{display:grid;grid-template-columns:1fr 1.35fr 1fr 1fr;margin-block:0;padding-block:26px;gap:25px}.facts-grid>div{border-right:1px solid #ded9d7;padding-right:20px}.facts-grid>div:last-child{border:0}.facts-grid dt{font-size:12px;margin-bottom:5px}.facts-grid dd{font:700 27px Antonio,sans-serif;margin:0}.facts-grid dd>span{display:block;font:400 12px/1.5 'Fira Sans',sans-serif;margin-top:5px;max-width:240px}.facts-grid .text-link{font-size:19px}.course-jump{background:white;border-bottom:1px solid #e7e3e3}.course-jump>.wrap{display:flex;gap:35px;overflow-x:auto;scrollbar-width:thin}.course-jump a{white-space:nowrap;font:700 16px Antonio,sans-serif;text-transform:uppercase;display:block;padding:20px 0;min-height:44px}.course-jump a:hover{color:var(--accent)}.course-heading{max-width:740px;margin-bottom:28px}.course-heading h2,.course-prose h2,.career-grid h2,.course-method h2{font-size:clamp(32px,3.5vw,48px);margin:9px 0 17px}.course-heading>p:last-child{max-width:650px}.course-heading .eyebrow,.course-prose .eyebrow{color:var(--accent)}.benefit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}.benefit-card{border-top:3px solid var(--accent);padding:22px 0}.course-index{font:700 20px Antonio,sans-serif;color:var(--amci-rosa)}.benefit-card h3{font-size:23px;margin:16px 0 12px;min-height:54px}.benefit-card p{font-size:14px}.course-intro{display:grid;grid-template-columns:.85fr 1.15fr;gap:64px;align-items:center;margin-top:42px}.course-intro figure{position:relative;max-width:500px}.course-intro img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:4px}.course-intro figcaption{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,rgba(0,0,0,.85));padding:45px 24px 20px;color:white;font-size:13px}.course-prose p+p{margin-top:15px}.course-prose a:not(.text-link){text-decoration:underline;overflow-wrap:anywhere}.course-prose>.text-link{margin-top:16px}.course-method{padding-block:46px}.course-method h2{max-width:850px}.course-method-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:44px;margin-top:32px}.course-method-grid h3{font-size:28px;margin:13px 0}.course-method-grid p{color:var(--amci-gris-15);max-width:330px}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.profile-card{background:#f5f3f2;border-radius:4px;padding:28px}.profile-card h3{font-size:26px;margin-bottom:16px}.career-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:60px;margin-block:48px}.career-list{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:12px 24px}.career-list li{padding:12px 0 12px 22px;border-bottom:1px solid #ded9d7;position:relative;font-size:14px}.career-list li:before{content:'↗';position:absolute;left:0;color:var(--accent)}.claqueta{display:flex;align-items:flex-start;gap:28px;background:var(--amci-charcoal);color:white;padding:30px;border-radius:4px}.claqueta .course-index{font-size:27px;white-space:nowrap}.claqueta h3{font-size:32px;margin:7px 0 15px}.claqueta p:last-child{max-width:900px}.course-plan{background:#f5f3f2}.course-plan .course-heading{margin-bottom:0}.plan-count{font:700 24px Antonio,sans-serif;text-align:right;flex-shrink:0;text-transform:uppercase}.plan-count strong{font-size:17px;color:var(--accent)}.semester-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}.course-details{background:white;border:1px solid #ded9d7;border-radius:4px}.course-details summary{display:flex;gap:16px;align-items:center;padding:23px;cursor:pointer;font:700 24px Antonio,sans-serif;list-style:none;min-height:88px}.course-details summary::-webkit-details-marker{display:none}.course-details summary:focus-visible{outline:3px solid var(--amci-rosa);outline-offset:2px}.course-details summary:hover{color:var(--accent)}.course-details summary>span:nth-last-child(2){flex:1}.course-details small{display:block;font:400 12px 'Fira Sans',sans-serif;color:#666;margin-top:5px}.detail-symbol{font:400 28px 'Fira Sans',sans-serif;color:var(--accent);transition:transform .2s}.course-details[open] .detail-symbol{transform:rotate(45deg)}.semester ul{margin:0;padding:0 26px 26px 68px;columns:2;column-gap:28px;font-size:13px}.semester li{padding-block:5px;break-inside:avoid}.semester[open]{border-top:3px solid var(--accent)}.admission-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:60px;align-items:start}.admission-steps{list-style:none;counter-reset:admission;padding:0;margin:0}.admission-steps>li{position:relative;padding:0 0 28px 65px;counter-increment:admission}.admission-steps>li:before{content:counter(admission,decimal-leading-zero);position:absolute;left:0;top:0;width:42px;height:42px;background:var(--accent);color:white;display:grid;place-items:center;font:700 22px Antonio,sans-serif;border-radius:50%}.admission-steps h3{font-size:25px;margin-bottom:12px}.admission-steps ul{padding-left:20px;margin:12px 0 0;list-style:disc}.admission-steps ul li{margin-bottom:8px}.document-card{background:#f5f3f2;padding:30px;border-top:3px solid var(--accent);border-radius:4px}.document-card h3{font-size:28px;margin:12px 0 18px}.document-card ul{padding-left:20px;font-size:14px;line-height:1.6;margin-bottom:0}.document-card li{margin-bottom:12px}.admission-notes{display:grid;grid-template-columns:1fr 1fr;gap:32px;border-top:1px solid #ded9d7;padding-top:28px;margin-top:14px}.admission-notes h3{font-size:25px;margin-bottom:13px}.course-faq{background:#f5f3f2}.faq-grid{display:grid;grid-template-columns:.65fr 1.35fr;gap:64px}.course-faq .course-details{margin-bottom:12px}.course-faq summary{font-size:23px;min-height:76px;justify-content:space-between}.course-faq .course-prose{padding:0 23px 23px}.course-faq .course-heading .text-link{margin-top:16px}.course-related{display:flex;align-items:center;justify-content:space-between;gap:30px;flex-wrap:wrap}.course-related h2{font-size:30px;margin-top:8px}.course-related .text-link{max-width:300px}.phone-hours{font-size:11px;margin-block:12px}.course-page .footer a{overflow-wrap:anywhere}.course-page .contact-copy>p:not(.eyebrow){max-width:400px}.course-page .contact-copy h2{font-size:42px}
@media(max-width:1100px){.course-jump>.wrap{gap:25px}.benefit-grid{grid-template-columns:1fr 1fr}.benefit-card h3{min-height:0}.course-intro{gap:35px}.facts-grid{grid-template-columns:1fr 1fr;gap:22px}.facts-grid>div:nth-child(2){border:0}.facts-grid dd{font-size:25px}.admission-grid{gap:30px}.semester ul{columns:1}.career-grid{gap:30px}.course-page .contact-copy h2{font-size:36px}}
@media(max-width:760px){.course-page .course-section{padding-block:36px}.course-hero{min-height:580px}.course-hero .hero-photo{width:100%;object-position:65% center}.course-hero .hero-shade{background:linear-gradient(90deg,rgba(0,0,0,.92),rgba(0,0,0,.5)),linear-gradient(0deg,#000,transparent)}.course-hero .hero-content{padding-block:22px 30px}.breadcrumbs{font-size:11px;margin-bottom:26px;gap:7px}.course-hero h1{font-size:clamp(54px,10vw,76px);margin-top:12px}.course-hero .course-lead{font-size:18px}.course-hero .official-name{font-size:11px;margin-top:23px}.course-hero .eyebrow{font-size:14px}.facts-grid{padding-block:22px;gap:20px 14px}.facts-grid>div{padding-right:10px}.facts-grid dd{font-size:23px}.facts-grid dd>span{font-size:11px}.facts-grid .text-link{font-size:16px;gap:9px}.course-jump>.wrap{gap:24px}.course-jump a{font-size:15px;padding-block:16px}.course-heading h2,.course-prose h2,.career-grid h2,.course-method h2{font-size:34px}.benefit-grid{gap:18px}.benefit-card{padding:17px 0}.benefit-card h3{font-size:22px;margin:12px 0}.benefit-card p{font-size:13px}.course-intro{grid-template-columns:1fr;gap:28px;margin-top:24px}.course-intro figure{max-width:none}.course-intro img{aspect-ratio:4/3;object-position:center 40%}.course-method{padding-block:36px}.course-method-grid{grid-template-columns:1fr;gap:28px}.course-method-grid article{border-top:1px solid #555;padding-top:20px}.course-method-grid h3{font-size:26px}.course-method-grid p{max-width:none}.profile-grid,.career-grid,.admission-grid,.admission-notes,.faq-grid{grid-template-columns:1fr;gap:25px}.profile-card{padding:23px}.career-grid{margin-block:32px}.career-list{gap:6px 20px}.career-list li{font-size:13px}.claqueta{padding:25px;gap:14px;flex-direction:column}.claqueta .eyebrow{font-size:14px}.semester-grid{grid-template-columns:1fr;gap:12px}.course-details summary{padding:20px 16px;font-size:23px;gap:14px}.semester ul{padding-left:56px}.plan-count{font-size:19px}.plan-count strong{font-size:13px}.course-plan .section-heading{align-items:center}.admission-steps>li{padding-left:57px}.admission-steps h3{font-size:23px}.document-card{padding:25px}.admission-notes{margin-top:24px;padding-top:24px}.faq-grid{gap:12px}.course-faq .course-heading{margin-bottom:18px}.course-faq summary{font-size:22px}.course-related{gap:20px}.course-page .contact-copy{min-height:240px}.course-page .contact-copy h2{max-width:65%;font-size:34px}.course-page .contact-copy>p:not(.eyebrow){max-width:65%;font-size:13px}.course-page .contact-copy>img{opacity:.35}.course-page .footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:400px){.benefit-grid,.career-list{grid-template-columns:1fr}.benefit-card{padding-bottom:8px}.course-hero h1{font-size:54px}.course-hero .official-name{font-size:10px}.course-plan .section-heading{align-items:flex-start}.course-page .contact-copy h2{max-width:90%}.course-page .contact-copy>p:not(.eyebrow){max-width:90%}.course-page .footer-grid{grid-template-columns:1fr}.course-details summary{font-size:21px}.course-heading h2,.course-prose h2,.career-grid h2,.course-method h2{font-size:31px}}
.course-related{display:block}.related-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.related-grid article{border-top:3px solid var(--accent);background:#f5f3f2;padding:25px;border-radius:4px}.related-grid h3{font-size:27px;margin-bottom:15px}.related-grid .text-link{margin-top:16px}.related-grid p{max-width:500px}@media(max-width:760px){.related-grid{grid-template-columns:1fr}}

/* Encabezado fotográfico de perfil; conserva el ancho y las tarjetas existentes. */
.course-heading.profile-banner{position:relative;isolation:isolate;display:flex;align-items:flex-end;max-width:none;min-height:460px;overflow:hidden;border-radius:4px;background:var(--amci-charcoal);color:white}
.profile-banner>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 40%;z-index:-2}
.profile-banner:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,rgba(0,0,0,.92),rgba(0,0,0,.55) 25%,rgba(0,0,0,.06) 65%)}
.profile-banner-copy{padding:36px 40px;width:100%}
.course-heading.profile-banner .eyebrow{color:white}
.course-heading.profile-banner h2{margin:12px 0 0;max-width:850px;text-wrap:balance}
@media(max-width:760px){.course-heading.profile-banner{min-height:400px}.profile-banner>img{object-position:52% 35%}.profile-banner-copy{padding:28px 24px}.course-heading.profile-banner h2{font-size:34px;max-width:330px}}
@media(max-width:400px){.course-heading.profile-banner h2{font-size:31px}}

/* Plan de estudios: mismo banner encajonado, con los datos académicos originales. */
.course-plan .plan-banner{align-items:flex-end;margin-bottom:28px}
.plan-banner-copy{display:flex;justify-content:space-between;align-items:flex-end;gap:32px}
.plan-banner-copy>.course-heading{margin:0}
.course-heading.plan-banner h2{margin-bottom:17px}
.plan-banner .plan-count strong{color:white}
@media(max-width:760px){.plan-banner-copy{flex-direction:column;align-items:flex-start;gap:20px}.plan-banner .plan-count{text-align:left}.plan-banner>img{object-position:35% center}}

/* FAQ: composición lateral de formación, con fotografía cuadrada y título superpuesto. */
.course-faq .faq-grid{grid-template-columns:.85fr 1.15fr;align-items:start}
.course-heading.profile-banner.faq-photo{aspect-ratio:1;min-height:0;width:100%;margin:0;align-self:start}
.faq-photo>img{object-position:center}
.faq-photo .text-link{color:white}
.faq-photo .text-link:hover{color:var(--amci-rosa)}
@media(max-width:760px){.course-faq .faq-grid{grid-template-columns:1fr;gap:28px}}

/* Licenciatura: propuesta de Dirección del 16 de octubre, limitada a esta página. */
.degree-redesign .degree-icon{width:22px;height:22px;flex-shrink:0;vertical-align:middle}
.degree-redesign section[id]{scroll-margin-top:100px}
.degree-redesign .degree-contact{padding-block:48px}
.degree-redesign .degree-contact .contact-grid{align-items:center}
.degree-redesign .degree-contact .contact-copy{min-height:0}
.degree-redesign .degree-contact .contact-copy h2{font-size:clamp(38px,4vw,56px);max-width:none}
.degree-redesign .degree-contact .contact-copy>p:not(.eyebrow){max-width:390px;font-size:16px}
.degree-form-program{font-size:13px;padding-bottom:18px;border-bottom:1px solid #555;margin-bottom:22px}
.degree-profile-copy{max-width:850px;margin-inline:auto;font-size:18px;line-height:1.8;padding-top:8px}
.degree-projects h2{font-size:clamp(34px,4vw,50px);margin-block:12px 18px}
.degree-projects .heading-copy{max-width:780px}
.degree-project-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:28px;margin-block:32px}
.degree-project-grid figure{margin:0;overflow:hidden;border-radius:4px;background:#252323}
.degree-poster>img{width:100%;height:auto;display:block}
.degree-project-grid figcaption{padding:22px 24px}
.degree-project-grid h3{font-size:27px;margin-block:8px}
.degree-project-grid p{font-size:14px;color:#ddd}
.degree-project-grid small{display:block;font-size:11px;color:#bbb;margin-top:12px}
.degree-event-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-content:start}
.degree-event-grid img{width:100%;height:330px;object-fit:cover;display:block}
.degree-event-grid figure:first-child img{object-position:center 28%}
.degree-redesign .degree-admission{display:grid;grid-template-columns:1fr 1fr;gap:48px}
.degree-requirements{padding-bottom:64px}
.degree-requirements-body{padding:8px 28px 28px;max-width:960px}
.degree-requirements-body h3{font-size:24px;margin:25px 0 12px}
.degree-requirements-body ul{padding-left:22px}
.degree-requirements-body li{margin-block:8px}
.degree-redesign .course-faq summary{font-size:21px;min-height:66px;padding:18px 20px}
.degree-redesign .course-faq .course-prose{font-size:14px}
@media(max-width:900px){.degree-project-grid{grid-template-columns:.8fr 1.2fr;gap:20px}.degree-event-grid{grid-template-columns:1fr}.degree-event-grid img{height:220px}.degree-event-grid figure:first-child img{object-position:center 30%}}
@media(max-width:760px){.degree-redesign .degree-contact{padding-block:36px}.degree-redesign .degree-contact .contact-grid{gap:24px}.degree-redesign .degree-contact .contact-copy>p:not(.eyebrow){max-width:none}.degree-profile-copy{font-size:16px}.degree-project-grid{grid-template-columns:1fr;gap:24px}.degree-poster{max-width:450px;margin-inline:auto!important}.degree-event-grid{grid-template-columns:1fr 1fr;gap:14px}.degree-event-grid img{height:230px}.degree-project-grid figcaption{padding:16px}.degree-project-grid h3{font-size:23px}.degree-redesign .degree-admission{grid-template-columns:1fr;gap:8px}.degree-requirements{padding-bottom:36px}.degree-requirements-body{padding:0 20px 24px}.degree-requirements summary{font-size:21px;min-height:76px}.degree-redesign .course-faq summary{font-size:19px;line-height:1.3;min-height:60px;padding:15px}.degree-redesign .course-faq .course-details{margin-bottom:8px}.degree-redesign .course-faq .course-prose{padding:0 15px 18px}}
@media(max-width:420px){.degree-event-grid{grid-template-columns:1fr}.degree-event-grid img{height:290px}}

/* Dirección, 19 octubre: espacios más compactos en Licenciatura. */
.degree-redesign .course-method{padding-block:40px}
.degree-redesign .course-method-grid{gap:24px;margin-top:24px}
.degree-redesign .course-method-grid h3{margin-block:12px 8px}
.degree-redesign .course-method-grid p{margin-bottom:0}
.degree-redesign .course-faq .course-section{padding-block:40px}
.degree-redesign .course-faq .faq-grid{gap:32px}
.degree-redesign .course-faq .course-details{margin-bottom:8px}
.degree-redesign .course-faq summary{min-height:56px;padding:13px 18px}
.degree-redesign .course-faq .course-prose{padding:0 18px 16px}
.degree-redesign .course-faq .course-prose p{margin-block:0 10px}
@media(max-width:760px){.degree-redesign .course-method{padding-block:28px}.degree-redesign .course-method-grid{gap:16px;margin-top:20px}.degree-redesign .course-method-grid article{padding-top:14px}.degree-redesign .course-faq .course-section{padding-block:28px}.degree-redesign .course-faq .faq-grid{gap:18px}.degree-redesign .course-faq summary{min-height:52px;padding:12px 15px}.degree-redesign .course-faq .course-prose{padding:0 15px 14px}}

/* Dirección, 28 octubre: cartel a la izquierda y dos tarjetas apiladas a la derecha en todos los tamaños. */
.degree-redesign .course-intro img{aspect-ratio:1;height:auto;object-fit:cover}
.degree-redesign .degree-project-grid{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:start;gap:24px}
.degree-redesign .degree-event-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;min-width:0}
.degree-redesign .degree-project-grid figure{min-width:0}
.degree-redesign .degree-poster{max-width:none;margin:0!important}
.degree-redesign .degree-poster>img{width:100%;height:auto;aspect-ratio:800/1236;object-fit:contain;display:block}
.degree-redesign .degree-event-grid img{width:100%;height:auto;aspect-ratio:960/504;object-fit:cover}
.degree-project-credits{font-size:11px;line-height:1.6;color:#bbb;margin:-12px 0 24px}
@media(max-width:760px){
 .degree-redesign .degree-project-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:12px;align-items:stretch}
 .degree-redesign .degree-event-grid{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:1fr 1fr;gap:12px;min-width:0}
 .degree-redesign .degree-project-grid figure{position:relative}
 .degree-redesign .degree-poster{display:grid;align-items:center;background:#101010}
 .degree-redesign .degree-poster>img{aspect-ratio:auto}
 .degree-redesign .degree-event-grid .gallery-project-trigger{height:100%;min-height:150px}
 .degree-redesign .degree-event-grid img{height:100%;aspect-ratio:auto;position:absolute;inset:0}
 .degree-redesign .degree-project-grid figcaption{position:absolute;inset:auto 0 0;padding:28px 10px 10px;background:linear-gradient(transparent,#000e);pointer-events:none}
 .degree-redesign .degree-project-grid h3{font-size:clamp(14px,3.6vw,22px);line-height:1.2;margin:0;text-wrap:balance}
 .degree-redesign .degree-project-grid figcaption p{display:none}
 .degree-redesign .degree-event-grid .gallery-hint{inset:0 0 auto;padding:8px;font-size:11px;background:linear-gradient(#000c,transparent)}
}

/* Galerías: encuadre completo sobre un escenario estable, sin recorte. */
.gallery-project-trigger{display:block;position:relative;color:white}
.gallery-hint{position:absolute;inset:auto 0 0;padding:28px 18px 14px;background:linear-gradient(transparent,#000c);font-size:13px}
.gallery-hint>span{float:right}
.gallery-project-trigger:hover .gallery-hint{text-decoration:underline}
html.gallery-open{overflow:hidden}
.gallery-dialog{width:min(1100px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);overflow:auto;background:#101010}
.gallery-dialog .dialog-top{gap:16px;border-bottom:1px solid #333}
.gallery-dialog .dialog-top h2{font-size:clamp(20px,3vw,27px)}
.gallery-dialog .dialog-close{flex-shrink:0}
.gallery-stage{height:min(65dvh,680px);position:relative;display:grid;place-items:center;overflow:hidden;background:#080808;touch-action:pan-y;user-select:none}
.gallery-stage img{width:100%;height:100%;min-height:0;object-fit:contain;grid-area:1/1;display:block}
.gallery-stage [hidden]{display:none}
.gallery-loading,.gallery-error{grid-area:1/1;padding:24px;text-align:center;color:#ddd}
.gallery-controls{display:flex;align-items:center;justify-content:center;gap:24px;padding:12px 20px;border-top:1px solid #333}
.gallery-controls button{width:48px;height:48px;border:1px solid #777;border-radius:50%;background:#171717;color:white;font-size:25px}
.gallery-controls button:hover{background:var(--accent)}
#gallery-counter{min-width:85px;text-align:center;font-size:14px;font-variant-numeric:tabular-nums}
@media(max-width:480px){.gallery-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.gallery-dialog .dialog-top{padding:8px 12px}.gallery-stage{height:58dvh}.gallery-controls{padding:8px 12px}.gallery-hint{padding-inline:12px}}
@media(max-height:480px){.gallery-stage{height:45dvh}.gallery-dialog .dialog-top,.gallery-controls{padding-block:4px}}

/* A retained single profile card spans the existing grid. */
.profile-grid>.profile-card:only-child{grid-column:1/-1}

/* Revisión naranja: conjunto de proyectos compacto también en escritorio. */
.degree-redesign .degree-projects .course-section{padding-block:28px}
.degree-redesign .degree-project-grid{margin-block:20px}
@media(min-width:761px){
 .degree-redesign .degree-project-grid{height:440px;grid-template-rows:minmax(0,1fr);max-width:900px;margin-inline:auto;align-items:stretch}
 .degree-redesign .degree-project-grid figure{position:relative;height:100%;min-height:0}
 .degree-redesign .degree-poster{background:#101010}
 .degree-redesign .degree-poster>img{height:100%;aspect-ratio:auto}
 .degree-redesign .degree-event-grid{grid-template-rows:minmax(0,1fr) minmax(0,1fr);gap:16px}
 .degree-redesign .degree-event-grid .gallery-project-trigger{height:100%}
 .degree-redesign .degree-event-grid img{height:100%;aspect-ratio:auto}
 .degree-redesign .degree-project-grid figcaption{position:absolute;inset:auto 0 0;padding:28px 16px 12px;background:linear-gradient(transparent,#000e);pointer-events:none}
 .degree-redesign .degree-project-grid h3{font-size:24px;line-height:1.2;margin:0}
 .degree-redesign .degree-project-grid figcaption p{display:none}
 .degree-redesign .degree-event-grid .gallery-hint{inset:0 0 auto;padding:10px 14px;background:linear-gradient(#000c,transparent)}
}
.acting-page .plan-banner>img{object-position:center center}
.profile-details{margin-block:24px}

.associated-page .semester-grid{grid-template-columns:1fr}

/* Revisión morada: cartel completo a la izquierda, dos escenas a la derecha. */
.degree-redesign .degree-project-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);align-items:stretch}
.degree-redesign .degree-poster .gallery-project-trigger{height:100%;min-height:0;background:#101010}
.degree-redesign .degree-poster img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;aspect-ratio:auto}
.degree-redesign .degree-event-grid{grid-template-rows:minmax(0,1fr) minmax(0,1fr)}
.degree-redesign .degree-poster .gallery-hint{inset:0 0 auto;background:linear-gradient(#000c,transparent)}
@media(min-width:761px){.degree-redesign .degree-project-grid{height:500px;max-width:none}}
@media(max-width:760px){.degree-redesign .degree-project-grid{height:360px;gap:12px}.degree-redesign .degree-project-grid h3{font-size:clamp(15px,3.6vw,22px)}.degree-redesign .degree-event-grid .gallery-project-trigger{min-height:0}}

/* Fotografías 164mil: mantener los rostros dentro del encuadre móvil. */
@media(max-width:760px){
 .category-hero .hero-photo[src$="heroes/intensiva-cine-1920.webp"]{object-position:85% center}
}
