/* KanalJabar 1.0.0 scoped enhancements: desktop-only header ads and carousel variants. */
@media(min-width:701px){
.wpp-header-banner{display:flex;flex:1;min-width:0;justify-content:center;align-items:center;max-width:480px;max-height:80px;overflow:hidden}
.wpp-header-banner:empty{display:none}.wpp-header-banner .wpp-ads-slot{width:100%;max-width:480px;margin:0!important}.wpp-header-banner img{max-width:100%;max-height:80px;object-fit:contain}
.wpp-top-official .wpp-social-links{display:flex;align-items:center;gap:9px}.wpp-top-official .wpp-social-icon{display:inline-flex;color:inherit;align-items:center;justify-content:center}
.kanaljabar-section--video.wpp-layout-standard .wpp-media-tile,.kanaljabar-section--infographic.wpp-layout-standard .wpp-media-tile{flex:0 0 calc((100% - 42px)/4);max-width:calc((100% - 42px)/4)}
}
@media(max-width:700px){.wpp-header-banner{display:none!important}.wpp-top-official{display:none!important}
.kanaljabar-section--video.wpp-layout-standard .wpp-media-tile,.kanaljabar-section--infographic.wpp-layout-standard .wpp-media-tile{flex:0 0 100%;max-width:100%}}
.wpp-dynamic-footer .wpp-footer-cell[style*="center"] .wpp-footer-tags,.wpp-sidebar-widget[style*="center"] .wpp-footer-tags{justify-content:center}
.wpp-dynamic-footer .wpp-footer-cell[style*="right"] .wpp-footer-tags,.wpp-sidebar-widget[style*="right"] .wpp-footer-tags{justify-content:flex-end}
.wpp-dynamic-footer .wpp-footer-cell[style*="center"] :is(.wp-logo,.wp-logo-wrap,.wpp-logo,.wpp-footer-logo),.wpp-sidebar-widget[style*="center"] :is(.wp-logo,.wp-logo-wrap,.wpp-logo,.wpp-footer-logo){margin-left:auto!important;margin-right:auto!important}
.wpp-dynamic-footer .wpp-footer-cell[style*="center"] :is(.wpp-push-cta,.wpp-push-wrap,.wpp-push-notification),.wpp-sidebar-widget[style*="center"] :is(.wpp-push-cta,.wpp-push-wrap,.wpp-push-notification){text-align:center;align-items:center;justify-content:center}
.wpp-dynamic-footer .wpp-footer-cell[style*="center"] button,.wpp-sidebar-widget[style*="center"] button{margin-inline:auto}
.wpp-dynamic-footer .wpp-footer-cell[style*="center"] .wpp-social-links,.wpp-sidebar-widget[style*="center"] .wpp-social-links{justify-content:center}
.wpp-dynamic-footer .wpp-footer-cell[style*="right"] .wpp-social-links,.wpp-sidebar-widget[style*="right"] .wpp-social-links{justify-content:flex-end}

/* Standard news versions eliminate partial cards without changing PC versions. */
@media(max-width:700px){
.wp-home-content .kanaljabar-section--popular.wpp-layout-standard .wp-popular-grid{grid-auto-columns:100%;padding-right:0}
.wp-home-content .kanaljabar-section--hero.wpp-layout-standard .wp-hero-track::after{display:none}
.wp-home-content .kanaljabar-section--hero.wpp-layout-standard .wp-hero-slide{flex-basis:100%!important;max-width:100%!important}
}
/* Correct true content alignment rather than text alignment alone. */
.wpp-dynamic-footer .wpp-footer-cell[style*="center"] .wp-brand--footer,.wpp-sidebar-widget[style*="center"] .wp-brand--footer{display:flex;justify-content:center;margin-inline:auto!important}
.wpp-dynamic-footer .wpp-footer-cell[style*="right"] .wp-brand--footer,.wpp-sidebar-widget[style*="right"] .wp-brand--footer{margin-left:auto!important;margin-right:0!important}
.wpp-dynamic-footer .wpp-footer-cell[style*="center"] .wpp-push-cta,.wpp-sidebar-widget[style*="center"] .wpp-push-cta{display:flex;flex-direction:column;align-items:center!important;justify-content:center!important;text-align:center}
.wpp-dynamic-footer .wpp-footer-cell[style*="right"] .wpp-push-cta,.wpp-sidebar-widget[style*="right"] .wpp-push-cta{align-items:flex-end!important;text-align:right}
.wpp-dynamic-footer .wpp-footer-cell[style*="center"] .wpp-push-text,.wpp-sidebar-widget[style*="center"] .wpp-push-text{text-align:center}
.wpp-dynamic-footer .wpp-footer-cell[style*="center"] .wpp-push-btn,.wpp-sidebar-widget[style*="center"] .wpp-push-btn{align-self:center!important;margin-inline:auto!important}

/* KanalJabar 1.0.2: Popular List matches Latest News on mobile; rank overlays bottom-left thumbnail. */
@media(max-width:767px){
 .wp-home-content .kanaljabar-section--popular_list .wpp-media-list--popular{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important}
 .wp-home-content .kanaljabar-section--popular_list .wpp-media-list--popular>.wp-card{display:grid!important;grid-template-columns:104px minmax(0,1fr)!important;align-items:center!important;gap:12px!important;padding:12px 0!important;border-bottom:1px solid #dbe3e9!important;min-width:0!important}
 .wp-home-content .kanaljabar-section--popular_list .wp-card__media{grid-column:1!important;grid-row:1!important;width:104px!important;aspect-ratio:4/3!important;position:relative!important;margin:0!important}
 .wp-home-content .kanaljabar-section--popular_list .wp-card__body{grid-column:2!important;grid-row:1!important;padding:0!important;min-width:0!important;text-align:left!important}
 .wp-home-content .kanaljabar-section--popular_list .wp-card__rank{display:grid!important;place-items:center!important;position:absolute!important;left:4px!important;bottom:4px!important;right:auto!important;top:auto!important;transform:none!important;width:29px!important;height:29px!important;border:2px solid #fff!important;border-radius:50%!important;background:#0783bd!important;color:#fff!important;font-size:13px!important;line-height:1!important;z-index:3!important;box-shadow:0 2px 5px #0005!important}
 .wp-home-content .kanaljabar-section--popular_list .wp-card__title{font-size:14px!important;line-height:1.45!important;margin:5px 0 0!important;text-align:left!important}
}
