:root{
  --ypf-primary:#003859;
  --ypf-accent:#f6b436;
  --ypf-teal:#029692;
  --ypf-pink:#c71d79;
  --ypf-white:#ffffff;
  --ypf-bg:#04131d;
  --ypf-bg-2:#071d2c;
  --ypf-surface:#082233;
  --ypf-surface-2:#0e2f45;
  --ypf-text:#ffffff;
  --ypf-muted:rgba(255,255,255,.78);
  --ypf-soft:rgba(255,255,255,.58);
  --ypf-border:rgba(255,255,255,.1);
  --ypf-shadow:0 20px 60px rgba(0,0,0,.32);
  --ypf-radius:22px;
}
body,.gallery{font-family:'Inter',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:linear-gradient(180deg,var(--ypf-bg) 0%, var(--ypf-bg-2) 50%, var(--ypf-bg) 100%);color:var(--ypf-text)}
a{transition:.24s ease}
.mainArea,.ypf-main-area{padding:22px 18px 56px}
.panel.panel-default,.panel-default>.panel-body{background:transparent!important;border:none!important;box-shadow:none!important}
/* keep original navigation structure; only subtle polish */
.navbar,.navbar-default{box-shadow:0 8px 24px rgba(0,0,0,.16)}
.footer,.footerContent,footer,#mainFooter{background:linear-gradient(180deg,#07263a 0%,#04131d 100%)!important;border-top:1px solid var(--ypf-border);color:#d8e6ef}
#mainFooter a,footer a{color:#fff}
.scrollToTop,.pageTop,#return-to-top{background:linear-gradient(135deg,var(--ypf-accent),var(--ypf-pink))!important;color:#fff!important;border:none!important;border-radius:999px!important;box-shadow:var(--ypf-shadow)}
.ypf-hero-wrap{margin:0 0 28px}
.ypf-hero-carousel,.ypf-hero,.ypf-hero .item{border-radius:26px;overflow:hidden}
.ypf-hero{position:relative;min-height:52vw;max-height:760px;background-size:cover;background-position:center center;box-shadow:var(--ypf-shadow);border:1px solid var(--ypf-border)}
.ypf-hero__inner{display:flex;align-items:flex-end;min-height:52vw;max-height:760px;padding:36px}
.ypf-hero__content{width:min(640px,92%);padding:24px 4px 8px}
.ypf-kicker,.ypf-badge{display:inline-flex;align-items:center;gap:8px;background:rgba(2,150,146,.16);border:1px solid rgba(2,150,146,.32);color:#c8fffc;padding:8px 12px;border-radius:999px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.ypf-badge i{color:var(--ypf-accent)}
.ypf-hero__content h2{font-size:clamp(30px,4vw,58px);line-height:.98;font-weight:800;margin:14px 0 14px;color:#fff;text-shadow:0 10px 30px rgba(0,0,0,.26)}
.ypf-hero__content p{font-size:clamp(14px,1.5vw,18px);line-height:1.55;color:var(--ypf-muted);margin:0 0 22px;max-width:58ch;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ypf-hero__actions{display:flex;flex-wrap:wrap;gap:12px}
.ypf-hero__actions .btn{border-radius:999px;padding:12px 18px;font-weight:700;border:none;box-shadow:none}
.ypf-hero__actions .btn-primary{background:linear-gradient(135deg,var(--ypf-accent),#ffd36f)!important;color:#102331!important}
.ypf-hero__actions .btn-default{background:rgba(255,255,255,.12)!important;color:#fff!important;border:1px solid rgba(255,255,255,.16)!important}
.ypf-hero-indicators{left:36px;right:auto;width:auto;bottom:18px;margin:0}.ypf-hero-indicators li{width:10px;height:10px;border:none;background:rgba(255,255,255,.34);margin:0 4px}.ypf-hero-indicators .active{background:var(--ypf-accent);width:28px;border-radius:999px}
.ypf-hero-control{width:64px;background:none!important;opacity:1}.ypf-hero-control span{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;display:grid;place-items:center;border-radius:999px;background:rgba(0,0,0,.35);backdrop-filter:blur(10px);color:#fff}
.ypf-hero-control.left span{left:14px}.ypf-hero-control.right span{right:14px}
.ypf-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:30px 0 16px;padding:0 2px}
.ypf-section-heading .galleryTitle{margin:4px 0 0;font-size:28px;font-weight:800;color:#fff}
.ypf-section-heading .galleryTitle i{color:var(--ypf-accent)}
.ypf-rail-actions{display:flex;gap:10px;align-items:center}
.ypf-rail-btn{width:52px;height:52px;border:none;border-radius:18px;background:rgba(255,255,255,.08);color:#fff;display:grid;place-items:center;font-size:18px;backdrop-filter:blur(10px)}
.ypf-rail-btn:hover{background:linear-gradient(135deg,var(--ypf-accent),var(--ypf-pink));color:#fff;transform:translateY(-1px)}
.ypf-row-section{position:relative;margin-bottom:8px}
.ypf-row-section .gallerySectionContent{display:flex;gap:18px;overflow-x:auto;overflow-y:visible;scrollbar-width:none;padding:6px 86px 12px 0;scroll-behavior:smooth}
.ypf-row-section .gallerySectionContent::-webkit-scrollbar{display:none}
.ypf-row-section .clearfix,.ypf-row-section .text-center.clear,.ypf-row-section .col-xs-12.text-center.clear.clearfix{display:none!important}
.ypf-row-section .ypf-rail-actions{position:absolute;right:0;top:70px;bottom:12px;display:block;width:72px;pointer-events:none}
.ypf-row-section .ypf-rail-actions .ypf-rail-btn{position:absolute;right:0;width:72px;height:calc(50% - 8px);border-radius:20px 0 0 20px;pointer-events:auto;background:linear-gradient(90deg,rgba(4,19,29,.1) 0%,rgba(4,19,29,.78) 18%,rgba(4,19,29,.94) 100%)}
.ypf-row-section .ypf-rail-actions .ypf-prev{top:0}.ypf-row-section .ypf-rail-actions .ypf-next{bottom:0}
.ypf-card-col{float:none!important;display:block!important;flex:0 0 min(20%, 260px);width:min(20%,260px);padding:0!important;min-width:220px;max-width:260px}
.ypf-video-card{position:relative;background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02));border:1px solid var(--ypf-border);border-radius:24px;overflow:hidden;box-shadow:var(--ypf-shadow);height:100%}
.ypf-video-card:hover{transform:translateY(-4px);border-color:rgba(246,180,54,.34)}
.ypf-video-card__media{position:relative;aspect-ratio:9/16;background:#091a26}
.ypf-video-card__media>a,.ypf-video-card__media .aspectRatio16_9,.ypf-video-card__media img,.ypf-video-card__media picture,.ypf-video-card__media video{position:absolute!important;inset:0;width:100%!important;height:100%!important;object-fit:cover!important}
.ypf-video-card__media .thumbsImage,.ypf-video-card__media .thumbsJPG,.ypf-video-card__media .thumbsGif{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:0!important}
.ypf-video-card__gradient{position:absolute;inset:auto 0 0 0;height:42%;background:linear-gradient(180deg,rgba(4,19,29,0) 0%,rgba(4,19,29,.9) 100%);pointer-events:none;z-index:1}
.ypf-video-card__avatar{position:absolute;top:12px;right:12px;z-index:3}
.ypf-video-card__avatar img{width:42px;height:42px;object-fit:cover;border:2px solid rgba(255,255,255,.86);box-shadow:0 8px 20px rgba(0,0,0,.24)}
.ypf-video-card__meta-overlay{position:absolute;left:12px;right:12px;bottom:12px;z-index:3;display:flex;flex-wrap:wrap;gap:8px}
.ypf-video-card__meta-overlay span{display:inline-flex;align-items:center;gap:6px;background:rgba(0,0,0,.42);backdrop-filter:blur(10px);padding:6px 10px;border-radius:999px;font-size:12px;font-weight:600;color:#fff}
.ypf-video-card__body{padding:14px 14px 16px;background:linear-gradient(180deg,rgba(8,34,51,.24) 0%,rgba(8,34,51,.7) 100%);min-height:122px}
.ypf-video-card__tags{min-height:24px;margin-bottom:8px;display:flex;gap:6px;align-items:center;flex-wrap:wrap}.ypf-video-card__tags .label{background:rgba(255,255,255,.08);border:none;border-radius:999px;padding:6px 8px}
.ypf-video-card__title{margin:0 0 8px;font-size:16px;line-height:1.3;font-weight:800;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:42px}.ypf-video-card__title a{color:#fff!important;text-decoration:none!important}
.ypf-video-card__channel{font-size:13px;line-height:1.4;color:var(--ypf-soft);display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.ypf-video-card__channel a{color:var(--ypf-soft)!important}
.ypf-highlight-grid-section{margin-top:22px}.ypf-highlight-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.ypf-highlight-card{background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02));border:1px solid var(--ypf-border);border-radius:24px;overflow:hidden;box-shadow:var(--ypf-shadow)}
.ypf-highlight-card__image{display:block;aspect-ratio:9/16;overflow:hidden;background:#091a26}.ypf-highlight-card__image img,.ypf-highlight-card__image picture,.ypf-highlight-card__image video,.ypf-highlight-card__image .thumbsImage,.ypf-highlight-card__image .thumbsJPG,.ypf-highlight-card__image .thumbsGif{width:100%!important;height:100%!important;object-fit:cover!important}
.ypf-highlight-card__body{padding:16px}.ypf-highlight-card__body h4{margin:0 0 8px;font-size:17px;font-weight:800}.ypf-highlight-card__body h4 a{color:#fff!important}.ypf-highlight-card__body p{margin:0;color:var(--ypf-soft);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#liveVideos,#liveScheduleVideos,#rebroadcastVideos{margin:28px 0;padding:24px;border-radius:28px;border:1px solid var(--ypf-border);background:linear-gradient(180deg,rgba(8,34,51,.82),rgba(6,25,38,.92));box-shadow:var(--ypf-shadow)}
#liveVideos .galleryTitle,#liveScheduleVideos .galleryTitle,#rebroadcastVideos .galleryTitle{margin:0 0 18px;font-size:30px;font-weight:800;color:#fff}
#liveVideos .galleryTitle i,#liveScheduleVideos .galleryTitle i,#rebroadcastVideos .galleryTitle i{color:var(--ypf-accent)}
#liveVideos .extraVideos,#liveScheduleVideos .extraVideos,#rebroadcastVideos .extraVideos{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
#liveVideos .extraVideos .galleryVideo,#liveScheduleVideos .extraVideos .galleryVideo,#rebroadcastVideos .extraVideos .galleryVideo{padding:0!important;float:none!important;width:100%!important}
#liveVideos .extraVideos .galleryVideo .ypf-video-card,#rebroadcastVideos .extraVideos .galleryVideo .ypf-video-card{display:grid;grid-template-columns:minmax(280px,40%) 1fr;min-height:320px}
#liveVideos .extraVideos .galleryVideo .ypf-video-card__media,#rebroadcastVideos .extraVideos .galleryVideo .ypf-video-card__media{aspect-ratio:auto;min-height:320px}
#liveVideos .liveNow{top:16px!important;right:16px!important;bottom:auto!important;border-radius:999px;padding:10px 14px;background:#e52330!important;font-size:12px;letter-spacing:.08em}
#liveScheduleVideos .extraVideos>*,#liveScheduleVideos .liveVideosRow,#liveScheduleVideos .liveVideos,#liveScheduleVideos .liveVideo{background:linear-gradient(135deg,rgba(199,29,121,.16),rgba(246,180,54,.12))!important;border:1px solid rgba(246,180,54,.24)!important;border-radius:24px!important;padding:18px!important}
.ypf-row-section .pagination,.ypf-row-section nav,.ypf-row-section .pager,.ypf-row-section .pagination-container{display:none!important}
@media (max-width:1399px){.ypf-card-col{flex-basis:240px;width:240px;max-width:240px}.ypf-highlight-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:1199px){.ypf-hero,.ypf-hero__inner{min-height:58vw}.ypf-card-col{flex-basis:220px;width:220px;min-width:220px}.ypf-highlight-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:991px){.mainArea,.ypf-main-area{padding:18px 14px 40px}.ypf-hero,.ypf-hero__inner{min-height:68vw}.ypf-hero__inner{padding:22px}.ypf-row-section .ypf-rail-actions{width:58px}.ypf-row-section .ypf-rail-actions .ypf-rail-btn{width:58px}.ypf-card-col{flex-basis:200px;width:200px;min-width:200px}.ypf-highlight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#liveVideos .extraVideos .galleryVideo .ypf-video-card,#rebroadcastVideos .extraVideos .galleryVideo .ypf-video-card{grid-template-columns:1fr}}
@media (max-width:767px){.panel-body{padding:0!important}.ypf-hero-wrap{margin-bottom:18px}.ypf-hero,.ypf-hero__inner{min-height:78vw;border-radius:20px}.ypf-hero__content{width:100%;padding:10px 0 0}.ypf-hero__content p{-webkit-line-clamp:3}.ypf-section-heading{margin:22px 0 12px}.ypf-section-heading .galleryTitle{font-size:22px}.ypf-row-section .gallerySectionContent{gap:14px;padding-right:32px}.ypf-row-section .ypf-rail-actions{display:none}.ypf-card-col{flex-basis:45vw;width:45vw;min-width:45vw;max-width:45vw}.ypf-video-card__body{min-height:110px}.ypf-highlight-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}#liveVideos,#liveScheduleVideos,#rebroadcastVideos{padding:18px;border-radius:22px}}
@media (max-width:480px){.ypf-hero,.ypf-hero__inner{min-height:96vw}.ypf-card-col{flex-basis:56vw;width:56vw;min-width:56vw;max-width:56vw}.ypf-highlight-grid{grid-template-columns:1fr}.ypf-hero-control{display:none}}


/* --- YouPHPFlix v3 refinements --- */
.ypf-row-section{position:relative;padding:0 56px}
.ypf-row-section .ypf-rail-btn{position:absolute;top:84px;bottom:14px;width:58px;border:0;border-radius:18px;display:flex;align-items:center;justify-content:center;font-size:24px;color:#fff;z-index:20;transition:all .2s ease;background:linear-gradient(90deg,rgba(0,16,27,.85),rgba(0,37,58,.55));box-shadow:0 8px 28px rgba(0,0,0,.24)}
.ypf-row-section .ypf-rail-btn:hover{background:linear-gradient(90deg,rgba(0,16,27,.95),rgba(2,150,146,.72));transform:scale(1.02)}
.ypf-row-section .ypf-prev{left:0}
.ypf-row-section .ypf-next{right:0}
.ypf-row-section .ypf-prev.is-hidden{opacity:0;pointer-events:none;transform:translateX(-6px)}
.ypf-row-section .ypf-next.is-end i:before{content:"\f105"}
.ypf-row-section .gallerySectionContent{padding:6px 10px 14px 10px}
.ypf-card-col{flex:0 0 clamp(214px,18vw,248px)!important;width:clamp(214px,18vw,248px)!important;min-width:clamp(214px,18vw,248px)!important;max-width:clamp(214px,18vw,248px)!important}
.ypf-video-card{border-radius:22px}
.ypf-video-card__media{aspect-ratio:9/16;overflow:hidden;background:#071723}
.ypf-media-fill,.ypf-media-fill>*{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
.ypf-media-fill [class*="aspectRatio"],.ypf-media-fill [style*="padding-bottom"],.ypf-media-fill .thumbsImage,.ypf-media-fill .thumbsJPG,.ypf-media-fill .thumbsGif,.ypf-media-fill img,.ypf-media-fill picture,.ypf-media-fill video,.ypf-media-fill a{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center center!important}
.ypf-media-fill iframe{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
.ypf-video-card__body{padding:14px 14px 15px;min-height:108px}
.ypf-video-card__title{font-size:17px;min-height:44px}
.ypf-video-card__channel{font-size:12px}
.ypf-video-card__meta-overlay{bottom:10px;gap:7px}
.ypf-video-card__meta-overlay span{padding:5px 9px;font-size:11px}
.ypf-row-section[data-section-name="mostPopularOrder"], .MostPopular, .mostPopularOrder, .ypf-hide-popular{display:none!important}

.categoriesContainerItem>.ypf-category-landscape-section,.categoriesContainerItem .ypf-category-landscape-section{margin:0 0 28px}
.categoriesContainerItem .ypf-category-landscape-section .galleryVideo{width:25%!important;float:left!important;padding:0 10px 16px!important}
.categoriesContainerItem .ypf-category-landscape-section .ypf-video-card{display:block;min-height:unset}
.categoriesContainerItem .ypf-category-landscape-section .ypf-video-card__media{aspect-ratio:16/9;min-height:unset}
.categoriesContainerItem .ypf-category-landscape-section .ypf-video-card__body{min-height:96px}
.categoriesContainerItem .ypf-category-landscape-section .ypf-video-card__title{font-size:18px;min-height:46px}
.categoriesContainerItem .ypf-category-landscape-section .ypf-video-card__avatar img{width:38px;height:38px}
.categoriesContainerItem .ypf-category-landscape-section .clearfix{display:none!important}

@media (max-width:1199px){
  .ypf-row-section{padding:0 48px}
  .ypf-row-section .ypf-rail-btn{top:76px;bottom:14px;width:50px}
  .categoriesContainerItem .ypf-category-landscape-section .galleryVideo{width:33.3333%!important}
}
@media (max-width:991px){
  .ypf-card-col{flex-basis:200px!important;width:200px!important;min-width:200px!important;max-width:200px!important}
  .ypf-row-section{padding:0 42px}
  .ypf-row-section .ypf-rail-btn{top:72px;bottom:14px;width:44px}
  .categoriesContainerItem .ypf-category-landscape-section .galleryVideo{width:50%!important}
}
@media (max-width:767px){
  .ypf-row-section{padding:0}
  .ypf-row-section .ypf-rail-btn{display:none!important}
  .ypf-row-section .gallerySectionContent{padding-right:20px}
  .ypf-card-col{flex:0 0 48vw!important;width:48vw!important;min-width:48vw!important;max-width:48vw!important}
  .categoriesContainerItem .ypf-category-landscape-section .galleryVideo{width:100%!important;padding:0 0 14px!important}
}


/* --- YouPHPFlix v4 rail/load-more fixes --- */
.ypf-row-section .gallerySection,.ypf-row-section .infiniteScrollBtn,.ypf-row-section .btn.loadMoreButton,.ypf-row-section .btnLoadMore,.ypf-row-section .pagination,.ypf-row-section .pagination-container,.ypf-row-section nav[aria-label="Pagination"]{display:none!important}
.ypf-row-section .gallerySectionContent{align-items:stretch}
.ypf-video-card__body{padding:10px 14px 14px;min-height:96px;display:flex;flex-direction:column;gap:8px}
.ypf-video-card__title{margin:0;min-height:auto;line-height:1.2}
.ypf-video-card__title a{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%}
.ypf-video-card__title a.is-marquee:hover{overflow:visible;position:relative;text-overflow:clip;animation:ypfMarquee 7s linear infinite}
.ypf-video-card__channel{margin-top:auto}
.ypf-row-section .ypf-next.is-loading{pointer-events:none;opacity:.7}
.ypf-row-section .ypf-next.is-loading i{animation:ypfPulse .9s ease-in-out infinite alternate}
@keyframes ypfPulse{from{transform:scale(1)}to{transform:scale(1.18)}}
@keyframes ypfMarquee{0%{transform:translateX(0)}100%{transform:translateX(calc(-100% + 220px))}}

.ypf-card-col--landscape{flex:0 0 calc(25% - 14px)!important;width:calc(25% - 14px)!important;min-width:calc(25% - 14px)!important;max-width:calc(25% - 14px)!important}
.ypf-card-col--landscape .ypf-video-card__media{aspect-ratio:16/9}
.ypf-card-col--landscape .ypf-video-card__body{min-height:88px}
.ypf-card-col--landscape .ypf-video-card__title{font-size:18px}
.ypf-card-col--landscape .ypf-video-card__avatar img{width:38px;height:38px}
.ypf-category-landscape-section .gallerySectionContent{display:flex;gap:18px;overflow-x:auto;overflow-y:visible;scrollbar-width:none;padding:6px 0 14px}
.ypf-category-landscape-section .gallerySectionContent::-webkit-scrollbar{display:none}

@media (max-width:1199px){
  .ypf-card-col--landscape{flex:0 0 calc(33.333% - 14px)!important;width:calc(33.333% - 14px)!important;min-width:calc(33.333% - 14px)!important;max-width:calc(33.333% - 14px)!important}
}
@media (max-width:991px){
  .ypf-card-col--landscape{flex:0 0 calc(50% - 12px)!important;width:calc(50% - 12px)!important;min-width:calc(50% - 12px)!important;max-width:calc(50% - 12px)!important}
}
@media (max-width:767px){
  .ypf-card-col--landscape{flex:0 0 84vw!important;width:84vw!important;min-width:84vw!important;max-width:84vw!important}
}

.ypf-main-area .infiniteScrollBtn,.ypf-main-area .btn.loadMoreButton,.ypf-main-area .btnLoadMore,.ypf-main-area .pagination,.ypf-main-area nav[aria-label="Pagination"]{display:none!important}


/* --- YouPHPFlix v5 admin + rail polish --- */
#sortable .list-group-item,#sortable .list-group-item *{color:#1f2937!important;text-shadow:none!important}
#sortable .material-switch>label{margin-bottom:0}
.ypf-row-section .gallerySection,.ypf-row-section .infiniteScrollBtn,.ypf-row-section .btn.loadMoreButton,.ypf-row-section .btnLoadMore,.ypf-row-section .loadMore, .ypf-main-area>.infiniteScrollBtn,.ypf-main-area>.btnLoadMore,.ypf-main-area>.loadMore{display:none!important}
.ypf-row-section .gallerySectionContent{overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;-ms-overflow-style:none!important}
.ypf-row-section .gallerySectionContent::-webkit-scrollbar{display:none!important}
.ypf-row-section .ypf-rail-btn{height:72px;width:56px;top:50%;bottom:auto;transform:translateY(-50%);border-radius:20px;z-index:40}
.ypf-row-section .ypf-prev{left:4px}.ypf-row-section .ypf-next{right:4px}
.ypf-row-section .ypf-video-card__body{padding:8px 14px 14px!important;gap:4px!important}
.ypf-row-section .ypf-video-card__tags:empty{display:none!important}
.ypf-row-section .ypf-video-card__title{margin-top:0!important;margin-bottom:2px!important;min-height:0!important}
.ypf-row-section .ypf-video-card__title a{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ypf-row-section .ypf-video-card__title a.is-marquee{display:inline-block;min-width:100%;padding-right:22px;will-change:transform;animation:ypfAutoMarquee 8s linear infinite 1.2s}
.ypf-row-section .ypf-video-card__title a.is-marquee:hover{animation-play-state:paused;overflow:visible}
.ypf-row-section .ypf-video-card__channel{margin-top:0!important}
.ypf-row-section--landscape .ypf-card-col,.ypf-row-section[data-section-name="SuggestedOrder"] .ypf-card-col,.ypf-row-section[data-section-name="Suggested"] .ypf-card-col{flex:0 0 calc(33.333% - 12px)!important;width:calc(33.333% - 12px)!important;min-width:calc(33.333% - 12px)!important;max-width:calc(33.333% - 12px)!important}
.ypf-row-section--landscape .ypf-video-card__media,.ypf-row-section[data-section-name="SuggestedOrder"] .ypf-video-card__media,.ypf-row-section[data-section-name="Suggested"] .ypf-video-card__media{aspect-ratio:16/9!important}
.ypf-row-section--landscape .ypf-video-card__body,.ypf-row-section[data-section-name="SuggestedOrder"] .ypf-video-card__body,.ypf-row-section[data-section-name="Suggested"] .ypf-video-card__body{min-height:84px!important}
.ypf-row-section--landscape .ypf-video-card__title,.ypf-row-section[data-section-name="SuggestedOrder"] .ypf-video-card__title,.ypf-row-section[data-section-name="Suggested"] .ypf-video-card__title{font-size:18px!important}
@keyframes ypfAutoMarquee{0%,10%{transform:translateX(0)}45%,55%{transform:translateX(calc(-1 * var(--ypf-marquee-distance, 0px)))}90%,100%{transform:translateX(0)}}
@media (max-width:1199px){.ypf-row-section--landscape .ypf-card-col,.ypf-row-section[data-section-name="SuggestedOrder"] .ypf-card-col,.ypf-row-section[data-section-name="Suggested"] .ypf-card-col{flex:0 0 calc(33.333% - 12px)!important;width:calc(33.333% - 12px)!important;min-width:calc(33.333% - 12px)!important;max-width:calc(33.333% - 12px)!important}}
@media (max-width:991px){.ypf-row-section .ypf-rail-btn{width:48px;height:66px}.ypf-row-section--landscape .ypf-card-col,.ypf-row-section[data-section-name="SuggestedOrder"] .ypf-card-col,.ypf-row-section[data-section-name="Suggested"] .ypf-card-col{flex:0 0 calc(50% - 10px)!important;width:calc(50% - 10px)!important;min-width:calc(50% - 10px)!important;max-width:calc(50% - 10px)!important}}
@media (max-width:767px){.ypf-row-section .ypf-rail-btn{display:none!important}.ypf-row-section--landscape .ypf-card-col,.ypf-row-section[data-section-name="SuggestedOrder"] .ypf-card-col,.ypf-row-section[data-section-name="Suggested"] .ypf-card-col{flex:0 0 84vw!important;width:84vw!important;min-width:84vw!important;max-width:84vw!important}}


/* --- YouPHPFlix v6 rail fix --- */
.ypf-row-section{position:relative}
.ypf-row-section .gallerySectionContent.ypf-rail,
.ypf-row-section .gallerySectionContent{
  display:flex!important;
  flex-wrap:nowrap!important;
  gap:18px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scroll-behavior:smooth;
  padding:6px 8px 18px 8px!important;
}
.ypf-row-section .gallerySectionContent>.clearfix,
.ypf-row-section .gallerySectionContent>.text-center.clear.clearfix{display:none!important}
.ypf-row-section .galleryVideo{float:none!important;display:block!important}
.ypf-row-section .ypf-rail-btn{
  position:absolute!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  bottom:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:58px!important;
  height:84px!important;
  z-index:60!important;
}
.ypf-row-section .ypf-prev{left:6px!important}
.ypf-row-section .ypf-next{right:6px!important}
.ypf-row-section .ypf-video-card__body{padding:6px 14px 14px!important;gap:3px!important}
.ypf-row-section .ypf-video-card__title{margin:0!important;line-height:1.16!important}
.ypf-row-section .ypf-video-card__title a{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ypf-row-section .ypf-video-card__title a.is-marquee{animation:ypfAutoMarquee 8s linear infinite 1s!important}
#sortable .ypf-section-label span:last-child,
#sortable .list-group-item span:last-child{color:#1f2937!important;opacity:1!important;visibility:visible!important;display:inline!important}
@media (max-width:991px){
  .ypf-row-section .ypf-rail-btn{width:50px!important;height:74px!important}
}
@media (max-width:767px){
  .ypf-row-section .gallerySectionContent.ypf-rail,
  .ypf-row-section .gallerySectionContent{gap:14px!important;padding-right:18px!important}
}


/* v7 desktop rail interaction: remove arrows, keep touch/mobile swipe */
.ypf-row-section .ypf-rail-btn,
.ypf-row-section .ypf-prev,
.ypf-row-section .ypf-next,
.ypf-rail-actions{display:none !important;}

.ypf-row-section .gallerySectionContent.ypf-rail,
.ypf-row-section .gallerySectionContent{
  overflow-x:auto !important;
  overflow-y:hidden !important;
  -webkit-overflow-scrolling:touch;
  scroll-behavior:smooth;
  cursor:grab;
  scrollbar-width:thin;
  scrollbar-color:rgba(246,180,54,.45) rgba(255,255,255,.08);
}
.ypf-row-section .gallerySectionContent.is-dragging,
.ypf-row-section .gallerySectionContent:active{cursor:grabbing;}

.ypf-row-section .gallerySectionContent::-webkit-scrollbar{display:block !important;height:10px;}
.ypf-row-section .gallerySectionContent::-webkit-scrollbar-track{background:rgba(255,255,255,.08);border-radius:999px;}
.ypf-row-section .gallerySectionContent::-webkit-scrollbar-thumb{background:linear-gradient(90deg,var(--ypf-accent),var(--ypf-teal));border-radius:999px;}

.ypf-row-section{padding-bottom:8px;}
.ypf-row-section .gallerySectionContent{padding-right:18px !important;padding-bottom:12px !important;}

@media (max-width: 767px){
  .ypf-row-section .gallerySectionContent.ypf-rail,
  .ypf-row-section .gallerySectionContent{
    cursor:auto;
    scrollbar-width:none;
  }
  .ypf-row-section .gallerySectionContent::-webkit-scrollbar{display:none !important;height:0;}
}


/* v8 reliable desktop drag-scroll */
body.ypf-no-select,
body.ypf-no-select *{
  user-select:none !important;
  -webkit-user-select:none !important;
}

.ypf-row-section .gallerySectionContent.ypf-rail,
.ypf-row-section .gallerySectionContent{
  position:relative;
  cursor:grab;
}

.ypf-row-section .gallerySectionContent.is-dragging,
.ypf-row-section .gallerySectionContent.is-dragging *{
  cursor:grabbing !important;
}

.ypf-row-section .gallerySectionContent a,
.ypf-row-section .gallerySectionContent img,
.ypf-row-section .gallerySectionContent video,
.ypf-row-section .gallerySectionContent picture,
.ypf-row-section .gallerySectionContent source{
  -webkit-user-drag:none;
  user-drag:none;
}

.ypf-row-section .gallerySectionContent .galleryVideo,
.ypf-row-section .gallerySectionContent .ypf-video-card,
.ypf-row-section .gallerySectionContent .ypf-video-card__media,
.ypf-row-section .gallerySectionContent .ypf-media-fill{
  pointer-events:auto;
}

.ypf-row-section .gallerySectionContent .ypf-video-card__title{
  margin-top:0 !important;
}

.ypf-row-section .gallerySectionContent .ypf-video-card__body{
  padding-top:4px !important;
}

@media (max-width:767px){
  body.ypf-no-select,
  body.ypf-no-select *{
    user-select:auto !important;
    -webkit-user-select:auto !important;
  }
}


/* --- YouPHPFlix v9 rail select/announcement redesign --- */
@media (min-width:768px){
  .ypf-row-section .gallerySectionContent,
  .ypf-row-section .gallerySectionContent *{
    user-select:none !important;
    -webkit-user-select:none !important;
  }
}
.ypf-row-section .gallerySectionContent .ypf-video-card__title a,
.ypf-row-section .gallerySectionContent .ypf-video-card__channel a{pointer-events:auto;}

#liveScheduleVideos{
  margin:22px 0 30px !important;
  padding:26px !important;
  border-radius:30px !important;
  background:linear-gradient(180deg,rgba(8,34,51,.86),rgba(5,22,33,.98)) !important;
}
#liveScheduleVideos .galleryTitle{margin-bottom:18px !important;}
#liveScheduleVideos .extraVideos{
  display:flex !important;
  flex-direction:column !important;
  gap:22px !important;
}
#liveScheduleVideos .extraVideos>.galleryVideo,
#liveScheduleVideos .extraVideos>.liveVideo,
#liveScheduleVideos .extraVideos>[class*="col-"]{
  float:none !important;
  width:100% !important;
  padding:0 !important;
}
#liveScheduleVideos .ypf-announcement-card{
  display:grid !important;
  grid-template-columns:minmax(320px,50%) 1fr !important;
  align-items:stretch !important;
  width:100% !important;
  overflow:hidden !important;
  border-radius:28px !important;
  border:1px solid rgba(246,180,54,.24) !important;
  background:linear-gradient(135deg,rgba(199,29,121,.14),rgba(246,180,54,.08) 34%,rgba(2,150,146,.07) 100%) !important;
  box-shadow:var(--ypf-shadow) !important;
  min-height:320px !important;
}
#liveScheduleVideos .ypf-announcement-media-link,
#liveScheduleVideos .ypf-announcement-card>a:first-of-type{
  position:relative !important;
  display:block !important;
  min-height:320px !important;
  background:#06151f !important;
}
#liveScheduleVideos .ypf-announcement-media-link .aspectRatio16_9,
#liveScheduleVideos .ypf-announcement-card>a:first-of-type .aspectRatio16_9{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  padding:0 !important;
}
#liveScheduleVideos .ypf-announcement-media-link img,
#liveScheduleVideos .ypf-announcement-media-link video,
#liveScheduleVideos .ypf-announcement-media-link picture,
#liveScheduleVideos .ypf-announcement-card>a:first-of-type img,
#liveScheduleVideos .ypf-announcement-card>a:first-of-type video,
#liveScheduleVideos .ypf-announcement-card>a:first-of-type picture{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
}
#liveScheduleVideos .ypf-announcement-countdown{
  position:absolute !important;
  left:18px !important;
  bottom:18px !important;
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
  max-width:calc(100% - 36px) !important;
  padding:10px 14px !important;
  border-radius:16px !important;
  background:rgba(4,19,29,.82) !important;
  color:#fff !important;
  border:1px solid rgba(246,180,54,.32) !important;
  backdrop-filter:blur(12px) !important;
  font-weight:800 !important;
  box-shadow:0 10px 30px rgba(0,0,0,.28) !important;
  z-index:3 !important;
}
#liveScheduleVideos .ypf-announcement-body,
#liveScheduleVideos .galeryDetails,
#liveScheduleVideos .galleryDetails,
#liveScheduleVideos .details,
#liveScheduleVideos .caption{
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  gap:14px !important;
  padding:28px 30px !important;
}
#liveScheduleVideos .ypf-announcement-main-title{
  margin:0 !important;
  font-size:clamp(24px,2.8vw,38px) !important;
  line-height:1.08 !important;
  font-weight:800 !important;
  color:#fff !important;
}
#liveScheduleVideos .ypf-announcement-desc{
  margin:0 !important;
  font-size:16px !important;
  line-height:1.65 !important;
  color:var(--ypf-muted) !important;
  display:-webkit-box !important;
  -webkit-line-clamp:4 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
}
#liveScheduleVideos .ypf-announcement-extra{
  margin-top:2px !important;
  padding:14px 16px !important;
  border-radius:16px !important;
  background:rgba(255,255,255,.06) !important;
  border:1px solid rgba(255,255,255,.08) !important;
  color:#fff !important;
}
#liveScheduleVideos .ypf-announcement-extra *{color:inherit;}
#liveScheduleVideos .ypf-announcement-card > a.h6,
#liveScheduleVideos .ypf-announcement-card > .h6,
#liveScheduleVideos .ypf-announcement-card > a:not(.ypf-announcement-media-link) strong.title,
#liveScheduleVideos .ypf-announcement-card .img-circle,
#liveScheduleVideos .ypf-announcement-card .userPhoto,
#liveScheduleVideos .ypf-announcement-card .owner,
#liveScheduleVideos .ypf-announcement-card .channelName,
#liveScheduleVideos .ypf-announcement-card .liveNow,
#liveScheduleVideos .ypf-announcement-card .fa-eye,
#liveScheduleVideos .ypf-announcement-card .fa-user,
#liveScheduleVideos .ypf-announcement-card .fa-users{
  display:none !important;
}
#liveScheduleVideos .ypf-announcement-body > :not(.ypf-announcement-main-title):not(.ypf-announcement-desc):not(.ypf-announcement-extra){
  display:none !important;
}
@media (max-width:991px){
  #liveScheduleVideos .ypf-announcement-card{grid-template-columns:1fr !important;min-height:0 !important;}
  #liveScheduleVideos .ypf-announcement-media-link,
  #liveScheduleVideos .ypf-announcement-card>a:first-of-type{min-height:220px !important;}
  #liveScheduleVideos .ypf-announcement-body,
  #liveScheduleVideos .galeryDetails,
  #liveScheduleVideos .galleryDetails,
  #liveScheduleVideos .details,
  #liveScheduleVideos .caption{padding:22px !important;}
}


/* --- YouPHPFlix v10 live wide cards + drag polish --- */
.ypf-row-section .gallerySectionContent,
.ypf-row-section .gallerySectionContent *,
.ypf-highlight-grid, .ypf-highlight-grid *{
  -webkit-user-select:none !important;
  user-select:none !important;
}
.ypf-row-section .gallerySectionContent a,
.ypf-row-section .gallerySectionContent img,
.ypf-row-section .gallerySectionContent video{
  -webkit-user-drag:none; user-drag:none;
}
#liveVideos,#liveScheduleVideos{margin:22px 0 26px !important;padding:0 !important;background:transparent !important;border:none !important;box-shadow:none !important;}
#liveVideos .galleryTitle,#liveScheduleVideos .galleryTitle{margin:0 0 16px !important;padding:0 8px !important;}
#liveVideos .extraVideos,#liveScheduleVideos .extraVideos{display:grid !important;grid-template-columns:1fr !important;gap:18px !important;}
#liveVideos .extraVideos>.galleryVideo,#liveVideos .extraVideos>.liveVideo,#liveVideos .extraVideos>[class*="col-"],
#liveScheduleVideos .extraVideos>.galleryVideo,#liveScheduleVideos .extraVideos>.liveVideo,#liveScheduleVideos .extraVideos>[class*="col-"]{float:none !important;width:100% !important;padding:0 !important;background:none !important;border:none !important;}
#liveVideos .ypf-wide-live-card,#liveScheduleVideos .ypf-wide-live-card{display:grid !important;grid-template-columns:minmax(260px,40%) 1fr !important;align-items:stretch !important;overflow:hidden !important;border-radius:28px !important;background:linear-gradient(135deg,rgba(8,40,61,.97),rgba(5,24,37,.98)) !important;border:1px solid rgba(255,255,255,.08) !important;box-shadow:0 22px 60px rgba(0,0,0,.26) !important;min-height:320px !important;position:relative !important;}
#liveVideos .ypf-wide-live-media,#liveScheduleVideos .ypf-wide-live-media{display:block !important;position:relative !important;min-height:320px !important;height:100% !important;overflow:hidden !important;background:#071722 !important;}
#liveVideos .ypf-wide-live-media .aspectRatio16_9,#liveScheduleVideos .ypf-wide-live-media .aspectRatio16_9{position:absolute !important;inset:0 !important;padding-bottom:0 !important;height:100% !important;width:100% !important;}
#liveVideos .ypf-wide-live-media img,#liveVideos .ypf-wide-live-media video,#liveVideos .ypf-wide-live-media picture,
#liveScheduleVideos .ypf-wide-live-media img,#liveScheduleVideos .ypf-wide-live-media video,#liveScheduleVideos .ypf-wide-live-media picture{position:absolute !important;inset:0 !important;width:100% !important;height:100% !important;object-fit:cover !important;object-position:center center !important;border-radius:0 !important;}
#liveVideos .ypf-wide-live-media:after,#liveScheduleVideos .ypf-wide-live-media:after{content:'';position:absolute;inset:auto 0 0 0;height:42%;background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,10,18,.72));pointer-events:none;}
#liveVideos .ypf-wide-live-badge,#liveScheduleVideos .ypf-wide-live-badge{position:absolute !important;left:20px !important;right:20px !important;bottom:20px !important;z-index:6 !important;display:flex !important;flex-direction:column !important;gap:6px !important;padding:16px 18px !important;border-radius:22px !important;background:linear-gradient(135deg,rgba(3,56,89,.92),rgba(199,29,121,.76)) !important;backdrop-filter:blur(10px);box-shadow:0 20px 34px rgba(0,0,0,.28);color:#fff !important;}
#liveVideos .ypf-wide-live-badge__label,#liveScheduleVideos .ypf-wide-live-badge__label{font-size:12px !important;font-weight:700 !important;text-transform:uppercase !important;letter-spacing:.12em !important;opacity:.92;}
#liveVideos .ypf-wide-live-badge strong,#liveScheduleVideos .ypf-wide-live-badge strong{font-size:clamp(22px,2.2vw,34px) !important;line-height:1.1 !important;font-weight:800 !important;color:#fff !important;}
#liveVideos .ypf-wide-live-body,#liveScheduleVideos .ypf-wide-live-body{display:flex !important;flex-direction:column !important;justify-content:center !important;gap:18px !important;padding:34px 36px !important;background:linear-gradient(180deg,rgba(8,40,61,.72),rgba(5,24,37,.86)) !important;}
#liveVideos .ypf-wide-live-title,#liveScheduleVideos .ypf-wide-live-title{margin:0 !important;font-size:clamp(28px,2.5vw,42px) !important;line-height:1.1 !important;font-weight:800 !important;color:#fff !important;}
#liveVideos .ypf-wide-live-desc,#liveScheduleVideos .ypf-wide-live-desc{margin:0 !important;font-size:17px !important;line-height:1.6 !important;color:rgba(255,255,255,.84) !important;display:-webkit-box !important;-webkit-line-clamp:4 !important;-webkit-box-orient:vertical !important;overflow:hidden !important;}
#liveVideos .ypf-wide-live-extra,#liveScheduleVideos .ypf-wide-live-extra{margin-top:4px !important;padding-top:18px !important;border-top:1px solid rgba(255,255,255,.1) !important;font-size:15px !important;line-height:1.6 !important;color:rgba(255,255,255,.86) !important;}
#liveVideos .ypf-wide-live-extra *,#liveScheduleVideos .ypf-wide-live-extra *{color:inherit !important;}
#liveVideos .ypf-wide-live-card>.h6,#liveVideos .ypf-wide-live-card>h6,#liveVideos .ypf-wide-live-card .img-circle,#liveVideos .ypf-wide-live-card .userPhoto,#liveVideos .ypf-wide-live-card .owner,#liveVideos .ypf-wide-live-card .channelName,#liveVideos .ypf-wide-live-card .liveNow,#liveVideos .ypf-wide-live-card .fa-eye,#liveVideos .ypf-wide-live-card .fa-user,#liveVideos .ypf-wide-live-card .fa-users,
#liveScheduleVideos .ypf-wide-live-card>.h6,#liveScheduleVideos .ypf-wide-live-card>h6,#liveScheduleVideos .ypf-wide-live-card .img-circle,#liveScheduleVideos .ypf-wide-live-card .userPhoto,#liveScheduleVideos .ypf-wide-live-card .owner,#liveScheduleVideos .ypf-wide-live-card .channelName,#liveScheduleVideos .ypf-wide-live-card .liveNow,#liveScheduleVideos .ypf-wide-live-card .fa-eye,#liveScheduleVideos .ypf-wide-live-card .fa-user,#liveScheduleVideos .ypf-wide-live-card .fa-users{display:none !important;}
#liveVideos .ypf-wide-live-body>:not(.ypf-wide-live-title):not(.ypf-wide-live-desc):not(.ypf-wide-live-extra),
#liveScheduleVideos .ypf-wide-live-body>:not(.ypf-wide-live-title):not(.ypf-wide-live-desc):not(.ypf-wide-live-extra){display:none !important;}
@media (max-width:991px){#liveVideos .ypf-wide-live-card,#liveScheduleVideos .ypf-wide-live-card{grid-template-columns:1fr !important;min-height:0 !important;}#liveVideos .ypf-wide-live-media,#liveScheduleVideos .ypf-wide-live-media{min-height:240px !important;}#liveVideos .ypf-wide-live-body,#liveScheduleVideos .ypf-wide-live-body{padding:24px !important;}#liveVideos .ypf-wide-live-badge strong,#liveScheduleVideos .ypf-wide-live-badge strong{font-size:22px !important;}}


/* --- YouPHPFlix v15 live ordering + frontend scope + category layout --- */
.container-fluid.gallery.avideoLoadPage{
  background:
    radial-gradient(circle at top right, rgba(246,180,54,.10), transparent 26%),
    radial-gradient(circle at left center, rgba(2,150,146,.10), transparent 24%),
    linear-gradient(180deg,var(--ypf-bg) 0%, var(--ypf-bg-2) 52%, var(--ypf-bg) 100%) !important;
  color:var(--ypf-text);
  min-height:100vh;
}
.container-fluid.gallery.avideoLoadPage .mainArea,
.container-fluid.gallery.avideoLoadPage .ypf-main-area{
  background:transparent !important;
}

body:not(.ypf-live-ready) #liveVideos,
body:not(.ypf-live-ready) #liveScheduleVideos{
  opacity:0 !important;
  pointer-events:none !important;
  max-height:0 !important;
  overflow:hidden !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  box-shadow:none !important;
}
.ypf-live-ready #liveVideos,
.ypf-live-ready #liveScheduleVideos{
  opacity:1;
  pointer-events:auto;
  max-height:none;
}
#ypf-live-stack{
  display:flex;
  flex-direction:column;
  gap:18px;
  margin:8px 0 26px;
  clear:both;
}
#ypf-live-stack #liveScheduleVideos{order:1}
#ypf-live-stack #liveVideos{order:2}

#liveScheduleVideos,
#liveVideos{
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
}
#liveScheduleVideos .galleryTitle,
#liveVideos .galleryTitle{
  margin:0 0 16px !important;
  padding:0 6px !important;
}
#liveScheduleVideos .extraVideos,
#liveVideos .extraVideos{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:18px !important;
}
#liveScheduleVideos .extraVideos > *,
#liveVideos .extraVideos > *{
  width:100% !important;
  float:none !important;
  padding:0 !important;
  background:none !important;
  border:none !important;
}
#liveScheduleVideos .ypf-wide-live-card,
#liveVideos .ypf-wide-live-card{
  display:grid !important;
  grid-template-columns:minmax(180px,40%) 1fr !important;
  align-items:stretch !important;
  min-height:240px !important;
  height:100% !important;
  overflow:hidden !important;
  border-radius:24px !important;
  background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02)) !important;
  border:1px solid var(--ypf-border) !important;
  box-shadow:var(--ypf-shadow) !important;
}
#liveScheduleVideos .ypf-wide-live-media,
#liveVideos .ypf-wide-live-media{
  min-height:240px !important;
  height:100% !important;
  background:#071723 !important;
}
#liveScheduleVideos .ypf-wide-live-media .aspectRatio16_9,
#liveVideos .ypf-wide-live-media .aspectRatio16_9{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  padding-bottom:0 !important;
}
#liveScheduleVideos .ypf-wide-live-media img,
#liveScheduleVideos .ypf-wide-live-media video,
#liveScheduleVideos .ypf-wide-live-media picture,
#liveVideos .ypf-wide-live-media img,
#liveVideos .ypf-wide-live-media video,
#liveVideos .ypf-wide-live-media picture{
  object-fit:cover !important;
  object-position:center center !important;
}
#liveScheduleVideos .ypf-wide-live-body,
#liveVideos .ypf-wide-live-body{
  padding:20px 22px !important;
  gap:12px !important;
  justify-content:flex-start !important;
  background:linear-gradient(180deg,rgba(8,34,51,.24) 0%,rgba(8,34,51,.7) 100%) !important;
}
#liveScheduleVideos .ypf-wide-live-title,
#liveVideos .ypf-wide-live-title{
  margin:0 !important;
  font-size:22px !important;
  line-height:1.2 !important;
  font-weight:800 !important;
  color:#fff !important;
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
}
#liveScheduleVideos .ypf-wide-live-desc,
#liveVideos .ypf-wide-live-desc{
  margin:0 !important;
  font-size:14px !important;
  line-height:1.55 !important;
  color:var(--ypf-soft) !important;
  display:-webkit-box !important;
  -webkit-line-clamp:3 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
}
#liveScheduleVideos .ypf-wide-live-extra,
#liveVideos .ypf-wide-live-extra{
  margin-top:auto !important;
  padding-top:14px !important;
  border-top:1px solid rgba(255,255,255,.08) !important;
  font-size:14px !important;
  line-height:1.5 !important;
}
#liveScheduleVideos .ypf-wide-live-badge,
#liveVideos .ypf-wide-live-badge{
  left:14px !important;
  right:14px !important;
  bottom:14px !important;
  padding:12px 14px !important;
  border-radius:18px !important;
}
#liveScheduleVideos .ypf-wide-live-badge strong,
#liveVideos .ypf-wide-live-badge strong{
  font-size:clamp(18px,1.5vw,24px) !important;
}
#liveScheduleVideos .ypf-wide-live-card > .h6,
#liveScheduleVideos .ypf-wide-live-card > h6,
#liveVideos .ypf-wide-live-card > .h6,
#liveVideos .ypf-wide-live-card > h6{
  display:none !important;
}

.ypf-category-landscape-section{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:18px !important;
  margin:0 0 30px !important;
}
.ypf-category-landscape-section > .galleryTitle{
  flex:0 0 100% !important;
  width:100% !important;
  margin:0 0 4px !important;
}
.ypf-category-landscape-section > .galleryVideo{
  float:none !important;
  padding:0 !important;
  flex:0 0 calc(25% - 14px) !important;
  width:calc(25% - 14px) !important;
  min-width:0 !important;
  max-width:none !important;
}
.ypf-category-landscape-section > .clearfix,
.ypf-category-landscape-section > .text-center.clear.clearfix,
.ypf-category-landscape-section > .col-xs-12.text-center.clear.clearfix{
  display:none !important;
}
.ypf-category-landscape-section .ypf-video-card{
  height:100% !important;
}
.ypf-category-landscape-section .ypf-video-card__media{
  aspect-ratio:9/16 !important;
}
.ypf-category-landscape-section .ypf-video-card__body{
  min-height:108px !important;
}

@media (max-width:1199px){
  .ypf-category-landscape-section > .galleryVideo{
    flex-basis:calc(33.333% - 12px) !important;
    width:calc(33.333% - 12px) !important;
  }
}
@media (max-width:991px){
  #liveScheduleVideos .extraVideos,
  #liveVideos .extraVideos{
    grid-template-columns:1fr !important;
  }
  .ypf-category-landscape-section > .galleryVideo{
    flex-basis:calc(50% - 10px) !important;
    width:calc(50% - 10px) !important;
  }
}
@media (max-width:767px){
  .ypf-category-landscape-section > .galleryVideo{
    flex-basis:100% !important;
    width:100% !important;
  }
}
