/** Media geometry and ad reservations. Mobile values apply before desktop enhancements. */
/* Inline dimensions left by editors cannot widen the site's structural containers. */
.site-main, .content-wrapper, .grid-item, .entry-content, .entry-content-video { min-width: 0; }
.grid-item-thumbnail { aspect-ratio: 16 / 9; }
.entry-content-video .pes-player, .entry-content-video .video-container { aspect-ratio: 16 / 9; }
.entry-content-video video { width: 100%; max-width: 100%; object-fit: contain; background: #000; }
/* Do not impose a video ratio or auto height on advertising iframes. */
.ad-slot, .ad-container-clean, .native-ad-fix, .ad-container, .ad-lazy-main, .ad-lazy-container,
.ad-container-medio, .ad-container-cabecera, .banner-dinamico, .ad-container-inline {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    width: 100%; min-width: 0; max-width: 100%; min-height: var(--pes-ad-height, 250px);
    margin: 18px auto; contain: layout style; overflow: clip;
}
.ad-slot iframe, .ad-container-clean iframe, .native-ad-fix iframe, .ad-container iframe,
.ad-lazy-main iframe, .ad-lazy-container iframe { flex: 0 1 auto; max-width: 100%; border: 0; }
.ad-slot img, .ad-container-clean img, .ad-container img { max-width: 100%; height: auto; object-fit: contain; }
.grid-container > .ad-slot, .grid-container > .ad-container, .grid-container > .ad-container-inline { grid-column: 1 / -1; }
.ad-slot-direct-top, .ad-slot-top { --pes-ad-height: 100px; }
.ad-slot-player-below, .ad-slot-mobile-middle { --pes-ad-height: 250px; }
.ad-slot-footer-super { --pes-ad-height: 250px; }
.ad-label { display: block; width: 100%; font-size: .65rem; color: var(--text-muted); text-align: center; }
/* Explicit placement sizes are reserved even before the ad network responds.
   Override --pes-ad-height on a placement if its contracted creative is taller. */
.ad-slot[data-pes-ad-size="300x250"] { --pes-ad-height: 250px; }
.ad-slot[data-pes-ad-size="300x600"] { --pes-ad-height: 600px; }
.ad-slot[data-pes-ad-size="320x100"] { --pes-ad-height: 100px; }
.ad-slot[data-pes-ad-size="728x90"] { --pes-ad-height: 90px; }
.populares-container > div { grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)) !important; }
.pes-shortcode-error { padding: 16px; border: 1px solid #6b3c4b; border-radius: 8px; color: #ffc2d8; }
.pes-legacy-player { height: auto; aspect-ratio: 16 / 9; }
@media (min-width: 1024px) {
    .ad-slot-direct-top, .ad-slot-top { --pes-ad-height: 90px; }
}

/* Shared player presentation, cached with the theme stylesheet. */
.pes-video-player-block{width:100%;margin:0 auto 24px}.pes-video-player-block .video-alex-container{background:#000;border-radius:14px;overflow:hidden;box-shadow:0 14px 40px rgba(0,0,0,.55);border:1px solid rgba(255,255,255,.06)}.pes-video-player-block .video-alex-player{display:block;width:100%;height:auto;aspect-ratio:16/9;background:#000}.pes-video-meta-card{display:flex;justify-content:space-between;gap:18px;align-items:center;flex-wrap:wrap;padding:13px 16px;margin-top:10px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.018))}.pes-video-meta-main,.pes-video-meta-side{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pes-video-meta-label{color:#8f8f98;font-size:.78rem;text-transform:uppercase;letter-spacing:.07em;font-weight:700}.pes-video-meta-value{color:#fff;font-weight:700}.pes-video-category-link{color:#ff69b4;font-weight:700;text-decoration:none}.pes-video-category-link:hover{text-decoration:underline}.pes-video-meta-side time{color:#777;font-size:.76rem}.pes-download-card{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin:14px 0 4px;padding:17px 18px;border:1px solid rgba(255,215,0,.24);border-radius:12px;background:linear-gradient(135deg,rgba(255,215,0,.065),rgba(255,255,255,.025));box-shadow:0 8px 24px rgba(0,0,0,.18)}.pes-download-card.is-premium-active{border-color:rgba(0,201,167,.32);background:linear-gradient(135deg,rgba(0,201,167,.08),rgba(255,255,255,.02))}.pes-download-copy{display:flex;align-items:center;gap:12px;min-width:0}.pes-download-copy>div{display:flex;flex-direction:column;gap:3px}.pes-download-copy strong{color:#fff;font-size:.96rem}.pes-download-copy span:not(.pes-download-icon){color:#999;font-size:.8rem;line-height:1.45}.pes-download-icon{width:34px;height:34px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;background:rgba(255,215,0,.12);color:#ffd700;font-size:1rem;font-weight:800}.is-premium-active .pes-download-icon{background:rgba(0,201,167,.12);color:#00c9a7}.pes-download-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 20px;border-radius:24px;background:#00c9a7;color:#fff!important;text-decoration:none!important;font-weight:800;font-size:.82rem;white-space:nowrap;box-shadow:0 6px 18px rgba(0,201,167,.2);transition:transform .2s ease,background .2s ease}.pes-download-button:hover{transform:translateY(-1px);background:#00b795}.pes-download-button-gold{background:linear-gradient(135deg,#ffd700,#f0a500);color:#0b0b0b!important}.pes-download-button-gold:hover{background:linear-gradient(135deg,#ffe35c,#ffb92e)}.pes-shortcode-error{color:#ff6b81;padding:10px;border:1px solid rgba(255,107,129,.3);border-radius:8px}.pes-video-description{margin:14px 0 4px;padding:16px 18px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.018));color:#d4d4d8}.pes-video-description-title{margin:0 0 7px;color:#fff;font-size:.88rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.pes-video-description p{margin:0;color:#c8c8ce;font-size:.9rem;line-height:1.65}.pes-video-description a{color:#ff69b4}@media(max-width:640px){.pes-download-card{align-items:stretch}.pes-download-button{width:100%}.pes-download-copy{align-items:flex-start}.pes-video-meta-side{width:100%;justify-content:space-between}}
