/* Contenidos destacados de perfiles: visibles, breves y coherentes entre profesionales. */
.profile-feature-link img{height:100%;min-height:210px;object-fit:cover}
.profile-feature-copy{align-content:center;gap:9px;padding:18px}
.profile-feature-copy h3{font-size:22px}
.profile-feature-copy p{font-size:14px;line-height:1.5}
.profile-feature-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:2px}
.profile-feature-meta span{border:1px solid var(--dash);padding:5px 7px;background:var(--mint2);font-size:10px;font-weight:900}
.profile-feature-cta{margin-top:3px}

/* Vídeos: el destacado no debe convertirse en una portada a ancho completo. */
.video-feature{display:grid;grid-template-columns:minmax(122px,38%) minmax(0,1fr);align-items:stretch;width:100%;margin:0 0 22px}
.video-feature .video-thumbnail{width:100%;height:auto!important;aspect-ratio:16/9;align-self:center;border-bottom:0}
.video-feature .media-copy{display:flex;min-width:0;flex-direction:column;justify-content:center;padding:14px 15px}
.video-feature .media-copy h3{margin:6px 0 4px;font-size:18px;line-height:1.12}
.video-feature .media-copy p{display:-webkit-box;margin:0;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:13px;line-height:1.35}
[data-screen="videos"] .entresesiones-carousel .entresesiones-slide.is-active{display:grid;grid-template-columns:minmax(135px,42%) minmax(0,1fr);align-items:stretch}
[data-screen="videos"] .entresesiones-carousel .video-thumbnail{height:auto;aspect-ratio:16/9;align-self:center;border-bottom:0}
[data-screen="videos"] .entresesiones-carousel .media-copy{display:flex;min-width:0;flex-direction:column;justify-content:center;padding:14px 15px}
[data-screen="videos"] .entresesiones-carousel .media-copy h3{margin:6px 0 4px;font-size:18px;line-height:1.12}
[data-screen="videos"] .entresesiones-carousel .media-copy p{display:-webkit-box;margin:0;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:13px;line-height:1.35}
.video-list .video-catalog-card{display:grid!important;grid-template-columns:minmax(120px,38%) minmax(0,1fr);align-items:stretch;padding:0!important}
.video-list .video-catalog-card .video-thumbnail{width:100%!important;height:auto!important;aspect-ratio:16/9;align-self:center;border-bottom:0}
.video-list .video-catalog-card .media-copy{display:flex;min-width:0;flex-direction:column;justify-content:center;padding:13px 14px!important}
.video-list .video-catalog-card h3{margin:5px 0 3px;font-size:16px;line-height:1.15}
.video-list .video-catalog-card p{margin:0;font-size:12px;line-height:1.3}

@media (min-width:760px) and (max-width:1023px){
  .video-feature{grid-template-columns:240px minmax(0,1fr);width:min(100%,760px);margin:0 auto 26px}
  .video-feature .media-copy{padding:18px 20px}
  .video-feature .media-copy h3{font-size:22px}
  .video-feature .media-copy p{font-size:14px}
  [data-screen="videos"] .entresesiones-carousel{width:min(100%,760px);margin-inline:auto}
  [data-screen="videos"] .entresesiones-carousel .entresesiones-slide.is-active{grid-template-columns:240px minmax(0,1fr)}
  [data-screen="videos"] .entresesiones-carousel .media-copy{padding:18px 20px}
  .video-list .video-catalog-card{grid-template-columns:190px minmax(0,1fr)}
}

/* Escritorio: navegación inferior centrada, igual de predecible que en móvil. */
@media (min-width:1024px){
  .appbar{padding-inline:calc((100vw - var(--desktop-canvas))/2)}
  .screen{inset:78px 0 86px}
  .content,[data-screen="home"] .content{width:var(--desktop-canvas);max-width:none;padding:38px 0 70px}
  .tabbar{position:fixed;z-index:24;top:auto;right:auto;bottom:0;left:50%;width:min(760px,calc(100% - 40px));height:76px;padding:0;transform:translateX(-50%);grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:1fr;align-content:stretch;border:1px solid color-mix(in srgb,var(--line) 32%,transparent);border-bottom:0;border-radius:18px 18px 0 0;background:color-mix(in srgb,var(--paper) 96%,transparent);box-shadow:0 -8px 26px rgba(16,42,67,.09);backdrop-filter:blur(14px)}
  .phone > .tabbar{display:grid;left:0;right:0;margin-inline:auto;transform:none}
  .tabbar a{gap:5px;border:0;border-right:1px solid color-mix(in srgb,var(--dash) 48%,transparent);border-radius:0;padding:8px 3px;font-size:12px}
  .tabbar a:last-child{border-right:0}
  .tabbar a svg{width:25px;height:25px}
  .tabbar a[aria-current="page"]{box-shadow:inset 0 3px 0 var(--mint)}
  html[data-visual-mode="pixel"] .tabbar{border:3px solid var(--line);border-bottom:0;background:#fff;box-shadow:0 -5px 0 rgba(16,42,67,.1);backdrop-filter:none}
  html[data-visual-mode="pixel"] .tabbar a{border-right:1px dashed var(--dash);border-bottom:0}
  html[data-visual-mode="pixel"] .tabbar a:last-child{border-right:0}
  html[data-visual-mode="pixel"] .tabbar a[aria-current="page"]{box-shadow:inset 0 5px 0 var(--line)}
  .page-title{max-width:none}
  .page-title h2{font-size:clamp(40px,4vw,54px)}
  .page-title p{max-width:none;font-size:17px}
  .service-stack{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
  .article-list,.video-list{gap:22px}
  .profile-hero,.profile-body{width:var(--desktop-canvas);max-width:none}
  .profile-hero{align-items:center;grid-template-columns:clamp(240px,21vw,340px) minmax(0,1fr);gap:var(--desktop-gap);padding:var(--desktop-inset)}
  .profile-hero img{width:100%;height:auto;aspect-ratio:1/1}
  .profile-body{padding:32px 0 70px}
  .profile-feature-link{grid-template-columns:minmax(250px,.82fr) minmax(0,1.18fr)}
  .profile-feature-link img{aspect-ratio:auto}
  .profile-feature-copy{padding:24px}
  .profile-feature-copy h3{font-size:26px}
  .profile-feature-copy p{font-size:15px}
  .profile-body>.profile-section:has(.profile-contact-actions){margin-top:28px}
  .profile-contact-actions{display:flex;flex-wrap:wrap;gap:10px}
  .profile-contact-actions a{width:auto;max-width:100%;min-height:42px;padding:9px 14px;font-size:13px}
  .profile-language{display:inline-flex;width:auto;min-height:40px;align-items:center;border-radius:12px;padding:9px 14px}
  .profile-sharing{width:min(100%,760px)}
  .profile-sharing .profile-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:12px}
  .profile-sharing .profile-actions button{width:auto;min-width:190px;min-height:42px;padding:9px 16px;font-size:13px}
  .profile-body>.profile-actions:not(.profile-sharing .profile-actions){display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:12px}
  .profile-body>.profile-actions:not(.profile-sharing .profile-actions)>*{width:auto;min-height:42px;padding:9px 16px;font-size:13px}
  .profile-team-back{width:auto;min-width:150px;margin-top:24px;padding-inline:18px}
  .read-head,.read-body,.watch-head,.watch-body{width:var(--desktop-canvas);max-width:none}
  .read-head{height:clamp(400px,36vw,620px)}
  html[data-visual-mode] .read-head>img.cover{object-fit:contain!important}
  .read-body,.watch-body{padding:32px 0 70px}
  .watch-head{position:relative;padding-top:60px}
  .section-intro{max-width:none}
  .content .research-feature,.content .book-feature{width:100%;max-width:none}
  .book-feature{grid-template-columns:clamp(230px,24vw,340px) minmax(0,1fr)}
  .content p,.profile-body p,.read-body p,.watch-body p{ text-align:justify;text-align-last:start;hyphens:auto;overflow-wrap:break-word }
  .content .eyebrow,.profile-body .eyebrow,.read-body .eyebrow,.watch-body .eyebrow{ text-align:start;hyphens:none }
  .hero{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:var(--desktop-gap);padding:var(--desktop-inset)}
  [data-screen="home"] .booking-band{display:flex;width:min(100%,920px);min-height:96px;align-items:center;gap:24px;margin:34px auto 14px;padding:22px 28px}
  [data-screen="home"] .booking-band>span{min-width:0;flex:1}
  [data-screen="home"] .booking-band strong{font-size:22px;line-height:1.2}
  [data-screen="home"] .booking-band small{margin-top:6px;font-size:14px;line-height:1.4}
  [data-screen="home"] .booking-band a{display:inline-flex;min-height:46px;align-items:center;justify-content:center;padding:11px 22px;font-size:14px}
  [data-screen="home"] .entresesiones-carousel>.carousel-window{--carousel-columns:2;display:grid;grid-template-columns:repeat(var(--carousel-columns),minmax(0,1fr));gap:18px}
  [data-screen="home"] .entresesiones-carousel .entresesiones-slide{display:none;min-width:0}
  [data-screen="home"] .entresesiones-carousel .entresesiones-slide.is-visible{display:block;animation:carousel-in .35s ease}
  [data-screen="home"] .entresesiones-carousel .media-visual{height:auto;aspect-ratio:16/9}
  [data-screen="home"] .entresesiones-carousel .media-copy{padding:16px 17px}
  [data-screen="home"] .entresesiones-carousel .media-copy h3{font-size:18px}
  [data-screen="home"] .entresesiones-carousel .media-copy p{font-size:13px;line-height:1.45}
  [data-screen="home"] .entresesiones-carousel .play{width:42px;height:36px;font-size:16px}
  .continue{grid-template-columns:clamp(240px,27vw,430px) minmax(0,1fr)}
  .continue>img{width:100%;height:240px;object-fit:contain}
  .article-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .list-card{grid-template-columns:clamp(140px,14vw,240px) minmax(0,1fr)}
  .list-card>img{width:100%;height:auto;aspect-ratio:1/1;object-fit:contain}
  html[data-visual-mode="pixel"] .article-list .list-card{grid-template-columns:clamp(170px,18vw,270px) minmax(0,1fr)}
  html[data-visual-mode="pixel"] .article-list .list-card>img{height:auto;aspect-ratio:16/9;object-fit:cover}
  .video-feature{display:grid;grid-template-columns:300px minmax(0,1fr);width:min(100%,820px);margin:0 auto 28px;align-items:stretch}
  .video-feature .video-thumbnail{width:100%;height:auto!important;aspect-ratio:16/9;align-self:stretch}
  .video-feature .media-copy{display:flex;flex-direction:column;justify-content:center;padding:22px}
  [data-screen="videos"] .entresesiones-carousel{width:min(100%,820px);margin-inline:auto}
  [data-screen="videos"] .entresesiones-carousel .entresesiones-slide.is-active{grid-template-columns:300px minmax(0,1fr)}
  [data-screen="videos"] .entresesiones-carousel .media-copy{padding:20px 22px}
  .video-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .video-list .video-catalog-card{display:grid!important;grid-template-columns:220px minmax(0,1fr);align-items:stretch;padding:0!important}
  .video-list .video-catalog-card .video-thumbnail{width:220px!important;height:auto!important;aspect-ratio:16/9;align-self:center}
  .video-list .video-catalog-card .video-thumbnail img{width:100%;height:100%;object-fit:cover!important;image-rendering:auto!important}
  html[data-visual-mode="pixel"] .video-list .video-catalog-card .video-thumbnail img{image-rendering:pixelated!important}
  .video-list .video-catalog-card .media-copy{display:flex;flex-direction:column;justify-content:center;padding:13px 15px!important}
  .video-list .video-catalog-card h3{margin:5px 0 4px;font-size:16px}
  .video-list .video-catalog-card p{font-size:12px}
  [data-screen="center"] .site-footer{grid-column:1/-1}
  [data-screen="center"] .page-title h2{font-size:clamp(40px,4vw,54px)}
  [data-screen="center"] .page-title p{max-width:72ch;font-size:18px;line-height:1.55}
  [data-screen="center"] .center-gallery{gap:18px}
  [data-screen="center"] .center-photo figcaption{padding:16px 18px;font-size:15px;line-height:1.5}
  [data-screen="center"] .center-card{padding:28px}
  [data-screen="center"] .center-card h3{margin:8px 0 16px;font-size:28px}
  [data-screen="center"] .center-row{grid-template-columns:30px minmax(0,1fr);gap:12px;padding:15px 0;font-size:16px;line-height:1.5}
  [data-screen="center"] .center-row svg{width:26px;height:26px}
  [data-screen="center"] .center-socials{padding-top:20px}
  [data-screen="center"] .center-socials>strong{margin-bottom:13px;font-size:18px}
  [data-screen="center"] .social-links{gap:10px}
  [data-screen="center"] .social-link{min-height:48px;padding:10px 12px;font-size:14px}
  [data-screen="center"] .center-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}
  [data-screen="center"] .center-actions a{display:inline-flex;width:auto;min-width:150px;min-height:44px;align-items:center;justify-content:center;padding:10px 18px;font-size:14px}
  [data-screen="center"]>.content>.booking-band{display:flex;width:min(100%,760px);min-height:84px;align-items:center;justify-self:center;gap:22px;padding:18px 22px}
  [data-screen="center"]>.content>.booking-band>span{min-width:0;flex:1}
  html[data-visual-mode="serious"] [data-screen="home"] .editorial-track{align-items:start!important}
  html[data-visual-mode="serious"] [data-screen="home"] .editorial-track>.editorial-card{height:auto;align-self:start!important}
  html[data-visual-mode="serious"] [data-screen="home"] .editorial-carousel .editorial-card-link{height:auto}
  html[data-visual-mode="serious"] [data-screen="home"] .editorial-carousel .editorial-copy{flex:none}
  html[data-visual-mode="serious"] [data-screen="home"] .editorial-carousel .editorial-byline{margin-top:6px}
  html[data-visual-mode="serious"] [data-screen="home"] .editorial-carousel .editorial-cta{min-height:34px}
  .site-footer__brand span,.site-footer__details,.site-footer__bottom small{font-size:14px}
  .site-footer__nav{flex-wrap:wrap}
  .site-footer__nav a{font-size:14px}
  .site-footer__bottom{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}

/* Los retratos cuadrados tienen el rostro a alturas distintas: el círculo necesita
   un punto focal propio por persona, no un object-position genérico. */
html[data-visual-mode="serious"] :is(.editorial-byline,.author,.read-meta,.research-feature-author) img[src*="lidia-algar-roldan.jpg"]{object-position:50% 66%!important}
html[data-visual-mode="serious"] :is(.editorial-byline,.author,.read-meta,.research-feature-author) img[src*="marina-rodriguez-conesa.jpg"]{object-position:50% 43%!important}
html[data-visual-mode="serious"] :is(.editorial-byline,.author,.read-meta,.research-feature-author) img[src*="alberto-moreno-gamez.jpg"]{object-position:50% 59%!important}
html[data-visual-mode="serious"] :is(.editorial-byline,.author,.read-meta,.research-feature-author) img[src*="alejandro-zea-roldan.jpg"]{object-position:50% 64%!important}
html[data-visual-mode="serious"] :is(.editorial-byline,.author,.read-meta,.research-feature-author) img[src*="blanca-garcia-montanes.jpg"]{object-position:50% 55%!important}
html[data-visual-mode="serious"] :is(.editorial-byline,.author,.read-meta,.research-feature-author) img[src*="carmen-marquez-esparraga.jpg"]{object-position:50% 57%!important}
html[data-visual-mode="serious"] :is(.editorial-byline,.author,.read-meta,.research-feature-author) img[src*="lisa-marie-edelkraut.jpg"]{object-position:50% 43%!important}
html[data-visual-mode="serious"] :is(.editorial-byline,.author,.read-meta,.research-feature-author) img[src*="mark-mesa-oostlander.jpg"]{object-position:50% 66%!important}
html[data-visual-mode="serious"] :is(.editorial-byline,.author,.read-meta,.research-feature-author) img[src*="miguel-blanes-arias.jpg"]{object-position:50% 58%!important}
html[data-visual-mode="serious"] :is(.editorial-byline,.author,.read-meta,.research-feature-author) img[src*="patricia-santos-duran.jpg"]{object-position:50% 68%!important}

@media (min-width:1500px){
  .screen{left:0}
  .tabbar{width:min(820px,calc(100% - 48px))}
}

@media (min-width:1280px){
  [data-screen="home"] .entresesiones-carousel>.carousel-window{--carousel-columns:3}
}

@media (min-width:900px) and (max-width:1023px){
  [data-screen="home"] .entresesiones-carousel{width:min(100%,960px);margin-inline:auto}
  [data-screen="home"] .entresesiones-carousel>.carousel-window{--carousel-columns:2;display:grid;grid-template-columns:repeat(var(--carousel-columns),minmax(0,1fr));gap:16px}
  [data-screen="home"] .entresesiones-carousel .entresesiones-slide{display:none;min-width:0}
  [data-screen="home"] .entresesiones-carousel .entresesiones-slide.is-visible{display:block;animation:carousel-in .35s ease}
  [data-screen="home"] .entresesiones-carousel .media-visual{height:auto;aspect-ratio:16/9}
}
