/*
Theme Name: 24betgr Approved
Version: 1.0.0
Text Domain: bet24
Description: Dynamic WordPress adaptation of the approved 24betgr HTML.
*/

:root{--navy:#061c39;--deep:#031329;--blue:#0877ff;--line:#dce5ef;--text:#0b2345;--muted:#64758d}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f3f6fa;color:var(--text);font-family:Arial,Helvetica,sans-serif}a{text-decoration:none;color:inherit}button,input{font:inherit}button{cursor:pointer}.wrap{max-width:1460px;margin:auto;padding:0 20px}.top{background:linear-gradient(105deg,#03152e,#0b3976);color:white}.topin{display:flex;align-items:center;justify-content:space-between;gap:30px;padding-top:22px;padding-bottom:20px}.logo{font-size:64px;font-style:italic;letter-spacing:-5px;font-weight:1000;line-height:.9;color:white;white-space:nowrap}.logo span{color:#1386ff}.logo small{display:block;letter-spacing:1.6px;font-size:13px;color:#58b3ff;font-style:normal;margin-top:10px}.topright{flex:1;max-width:770px}.toplinks{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;font-size:14px;margin-bottom:18px}.toplinks a:hover{color:#8bc8ff}.search{display:flex;justify-content:flex-end}.search input{width:300px;border:0;padding:13px 14px;border-radius:3px 0 0 3px}.search button{background:var(--blue);color:white;border:0;padding:0 19px}.nav{background:#031a36;color:white;position:relative;z-index:10;box-shadow:0 2px 0 #0877ff}.navin{display:flex;align-items:stretch;flex-wrap:wrap}.navin>a,.nav-btn{display:block;padding:18px 19px;background:transparent;color:white;border:0;font-size:14px;font-weight:800;white-space:nowrap}.navin>a:hover,.nav-btn:hover,.nav-group:focus-within .nav-btn{background:#0b67d2}.nav-group{position:relative}.drop{display:none;position:absolute;top:100%;left:0;background:white;color:#0a2851;min-width:260px;max-width:330px;padding:9px 0;box-shadow:0 14px 35px #00162e40;border-top:3px solid var(--blue);z-index:50}.drop a{display:block;padding:10px 17px;font-size:14px}.drop a:hover{background:#eaf3ff;color:#005bd1}.nav-group:hover .drop,.nav-group:focus-within .drop,.nav-group.open .drop{display:block}.ticker{display:flex;gap:18px;align-items:center;padding-top:16px;padding-bottom:16px;font-size:13px;overflow:hidden;white-space:nowrap}.ticker strong{background:#e60035;color:white;padding:8px 10px}.ticker span{color:#465e7d}.hero-layout{display:grid;grid-template-columns:minmax(0,2.4fr) minmax(290px,1fr);gap:20px}.hero-left{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(220px,1fr);gap:12px;min-height:485px}.hero-main,.hero-small{position:relative;overflow:hidden;background:#071c38;color:white}.hero-main img,.hero-small img{height:100%;width:100%;object-fit:cover;position:absolute;inset:0}.hero-main:after,.hero-small:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#001326f5,transparent 78%)}.hero-content{position:absolute;bottom:0;left:0;right:0;z-index:1;padding:25px}.hero-main h1{font-size:clamp(28px,3vw,45px);line-height:1.1;margin:10px 0}.hero-main p{font-size:15px;line-height:1.5}.hero-stack{display:grid;grid-template-rows:repeat(2,1fr);gap:12px}.hero-small h2{font-size:20px;margin:8px 0 0;line-height:1.2}.hero-small .hero-content{padding:17px}.tag{background:#086ff0;color:white;font-size:11px;font-weight:800;padding:6px 8px;display:inline-block;letter-spacing:.3px}.sidepanel{background:white;border:1px solid var(--line);margin-bottom:18px}.sidepanel h2{margin:0;background:#082c5b;color:white;padding:15px 17px;font-size:18px}.tabs{display:flex;gap:5px;padding:12px;border-bottom:1px solid var(--line)}.tabs button{border:0;background:transparent;color:#173963;padding:7px 8px;font-size:13px}.tabs button.active{color:#006cfa;border-bottom:3px solid #006cfa;font-weight:bold}.score{display:flex;align-items:center;justify-content:space-between;padding:15px;border-bottom:1px solid var(--line);font-size:14px}.score small{display:block;color:#74829a;margin-top:4px}.score b{color:#0877ff}.demo{color:#13b17e;font-size:12px;font-weight:800}.panel-link{display:block;text-align:center;padding:14px;color:#006cf5;font-weight:700;font-size:13px}.ad{border:1px dashed #b8c8dc;background:#e9eff7;color:#7385a1;text-align:center;padding:26px 12px;font-size:12px;letter-spacing:2px}.section{margin-top:28px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:3px solid #0a74f5;margin-bottom:16px}.section-head h2{margin:0;padding:0 0 12px;font-size:25px;letter-spacing:-.5px}.section-head a{color:#086ff0;font-weight:700;font-size:14px}.newsgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.story{background:white;border:1px solid #e2e8f0;min-width:0;overflow:hidden}.story img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}.story-body{padding:13px}.story h3{font-size:17px;line-height:1.33;margin:10px 0 14px}.story small{color:#8190a2;font-size:12px}.story:hover h3{color:#0877ff}.feed-layout{display:grid;grid-template-columns:minmax(0,2.4fr) minmax(290px,1fr);gap:20px}.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.feature-grid .story:first-child{grid-column:span 2;grid-row:span 2}.feature-grid .story:first-child img{aspect-ratio:16/9}.feature-grid .story:first-child h3{font-size:26px}.feature-grid .story:first-child .story-body{padding:20px}.feature-grid .story:not(:first-child) img{aspect-ratio:16/8}.feature-grid .story:not(:first-child) h3{font-size:15px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px}.listnews{background:white;border:1px solid var(--line);padding:10px 18px}.listnews a{display:block;padding:15px 0;border-bottom:1px solid var(--line);font-size:15px;font-weight:700}.listnews a:last-child{border:0}.listnews a:before{content:'●';color:#0877ff;margin-right:10px;font-size:10px}.tvrow{display:flex;justify-content:space-between;gap:8px;padding:13px 15px;border-bottom:1px solid var(--line);font-size:13px}.tvrow b{color:#0877ff}.bet{background:linear-gradient(130deg,#04244b,#0862bc);color:white;padding:18px}.bet h3{font-size:22px;margin:0 0 12px}.bet p{line-height:1.6;font-size:14px}.bet a{display:inline-block;background:white;color:#0057c6;padding:11px 15px;font-weight:800}.loadmore{display:block;margin:20px auto 0;border:1px solid #0877ff;background:white;color:#0877ff;padding:13px 32px;font-weight:800}.footer{margin-top:50px;background:#041b38;color:white;padding:38px 0}.footgrid{display:grid;grid-template-columns:2fr repeat(4,1fr);gap:20px}.footer h4{margin:0 0 15px}.footer a{display:block;color:#a8c3e1;font-size:13px;margin-bottom:9px}.footer p{color:#a8c3e1;font-size:13px;line-height:1.6}.note{font-size:12px;color:#6e7f95;padding:12px 0}.hidden{display:none!important}@media(max-width:1050px){.hero-layout,.feed-layout{grid-template-columns:1fr}.newsgrid{grid-template-columns:repeat(2,1fr)}.footgrid{grid-template-columns:repeat(3,1fr)}}@media(max-width:680px){.wrap{padding-left:12px;padding-right:12px}.topin{display:block}.logo{font-size:52px}.topright{margin-top:25px}.toplinks{gap:10px}.search input{width:100%}.navin{overflow-x:auto;flex-wrap:nowrap}.navin>a,.nav-btn{padding:15px 12px;font-size:12px}.drop{position:fixed;top:auto;left:12px;right:12px;max-width:none;max-height:65vh;overflow:auto}.hero-left{grid-template-columns:1fr;min-height:0}.hero-main{height:380px}.hero-stack{grid-template-columns:1fr 1fr;grid-template-rows:180px}.hero-small h2{font-size:15px}.hero-small .hero-content{padding:10px}.newsgrid,.two-col,.feature-grid{grid-template-columns:1fr 1fr}.feature-grid .story:first-child{grid-column:span 2;grid-row:span 1}.footgrid{grid-template-columns:1fr 1fr}.section-head h2{font-size:20px}}@media(max-width:440px){.newsgrid,.two-col{grid-template-columns:1fr}.hero-stack{grid-template-columns:1fr;grid-template-rows:170px 170px}.footgrid{grid-template-columns:1fr 1fr}}


/* Editorial 1+4 section layout */
.editorial-five{display:grid;grid-template-columns:1.08fr 1fr;gap:18px;align-items:stretch}
.editorial-five .lead{position:relative;min-height:490px;overflow:hidden;background:#051b37;color:white}
.editorial-five .lead img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.editorial-five .lead:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 38%,rgba(1,12,30,.97) 100%);pointer-events:none}
.editorial-five .lead .lead-copy{position:absolute;bottom:0;left:0;right:0;z-index:1;padding:22px}
.editorial-five .lead h3{font-size:clamp(23px,2vw,34px);line-height:1.15;margin:12px 0 8px;color:white}
.editorial-five .lead p{font-size:15px;line-height:1.5;margin:0;color:#e4edf9}
.editorial-five .mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:14px}
.editorial-five .mini{background:white;border:1px solid #dbe2ef;overflow:hidden;min-width:0}
.editorial-five .mini img{display:block;width:100%;height:145px;object-fit:cover}
.editorial-five .mini-copy{padding:10px 12px 14px}
.editorial-five .mini h3{font-size:16px;line-height:1.32;margin:8px 0 0;color:#061e3e}
.editorial-five .meta{font-size:11px;color:#76859b}
.editorial-five .tag{font-size:11px}
@media(max-width:850px){.editorial-five{grid-template-columns:1fr}.editorial-five .lead{min-height:380px}.editorial-five .mini img{height:155px}}
@media(max-width:480px){.editorial-five .mini-grid{gap:9px}.editorial-five .mini img{height:100px}.editorial-five .mini h3{font-size:13px}.editorial-five .lead{min-height:320px}}

/* Top-of-page horizontal score ribbon */
.live-ribbon{background:#fff;border-bottom:1px solid #cbd7e7;color:#102e54;position:relative;z-index:2}
.live-ribbon-inner{display:flex;align-items:stretch;max-width:1800px;margin:auto;min-height:90px}
.live-ribbon-title{min-width:150px;display:flex;flex-direction:column;justify-content:center;padding:12px 18px;border-right:1px solid #dbe3ed;background:#f8fbff}
.live-ribbon-title strong{font-size:17px;letter-spacing:.4px}
.live-ribbon-title small{font-size:11px;color:#64758d;margin-top:6px}
.live-ribbon-scroll{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;flex:1;scrollbar-width:thin}
.live-game{flex:0 0 240px;scroll-snap-align:start;border-right:1px solid #dce5ef;background:#fff}
.live-game-time{display:flex;justify-content:space-between;background:#f1f5fa;color:#123d72;padding:6px 10px;font-size:12px;font-weight:800}
.live-game-teams{display:flex;flex-direction:column;gap:6px;padding:8px 10px;font-size:13px}
.live-game-teams span{display:flex;gap:9px;align-items:center}
.live-game-teams i{font-style:normal;font-size:15px;width:22px;text-align:center}
.live-ribbon-controls{display:flex;flex-direction:column;justify-content:center;padding:4px 8px;gap:3px}
.live-ribbon-controls button{background:white;border:1px solid #dce5ef;color:#006df3;padding:4px 8px;font-size:17px}
.hero-layout{grid-template-columns:1fr}
.hero-left{grid-template-columns:minmax(0,1.65fr) minmax(240px,1fr)}
@media(max-width:680px){.live-ribbon-title{min-width:88px;padding:8px}.live-ribbon-title strong{font-size:12px}.live-ribbon-title small{font-size:10px}.live-game{flex-basis:190px}.live-ribbon-controls{display:none}.hero-left{grid-template-columns:1fr}}


.front-five{grid-template-columns:1fr 1fr;gap:16px}
.front-five .lead{min-height:525px}
.front-five .mini-grid{gap:14px}
.front-five .mini img{height:166px}
.front-five .mini h3{font-size:17px}
@media(max-width:850px){.front-five{grid-template-columns:1fr}.front-five .lead{min-height:390px}}
@media(max-width:480px){.front-five .lead{min-height:330px}.front-five .mini img{height:110px}.front-five .mini h3{font-size:13px}}


.mobile-menu-toggle,.mobile-menu-backdrop,.mobile-menu-drawer{display:none}
@media(max-width:680px){
 .topin{display:flex!important;align-items:center;justify-content:space-between;gap:10px;padding-top:15px;padding-bottom:15px}
 .topin .logo{font-size:43px;letter-spacing:-3px}
 .topin .logo small{font-size:9px;letter-spacing:1px;margin-top:7px}
 .topright{display:none!important}
 .mobile-menu-toggle{display:block;flex:none;border:1px solid #69b5ff;background:#0a67d8;color:#fff;border-radius:5px;padding:11px 12px;font-size:14px;font-weight:800}
 .nav{display:none!important}
 .mobile-menu-backdrop:not([hidden]){display:block;position:fixed;inset:0;background:#00152abf;z-index:1998}
 .mobile-menu-drawer{display:block;position:fixed;right:0;top:0;bottom:0;width:min(88vw,370px);background:#fff;color:#082c5b;z-index:1999;overflow-y:auto;transform:translateX(105%);transition:transform .22s ease;box-shadow:-10px 0 40px #001a3c44;padding:18px 18px 35px}
 .mobile-menu-drawer.is-open{transform:translateX(0)}
 .mobile-menu-drawer h2{font-size:19px;margin:12px 0 18px}
 .mobile-menu-close{background:#073467;color:#fff;border:0;border-radius:4px;padding:11px 14px;font-weight:700;display:block;margin-left:auto}
 .mobile-category{border-bottom:1px solid #dce5ef}
 .mobile-category summary{padding:17px 8px;cursor:pointer;font-size:15px;font-weight:800;list-style:none;display:flex;justify-content:space-between}
 .mobile-category summary::-webkit-details-marker{display:none}
 .mobile-category summary:after{content:'⌄';font-size:20px;color:#0877ff}
 .mobile-category[open] summary:after{content:'⌃'}
 .mobile-subcategories{padding:0 8px 10px 18px;background:#f3f7fc}
 .mobile-subcategories a{display:block;padding:11px 7px;font-size:14px;border-bottom:1px solid #e2eaf4}
 .mobile-direct-link{display:block;padding:17px 8px;border-bottom:1px solid #dce5ef;font-size:15px;font-weight:800}
 body.mobile-menu-open{overflow:hidden}
}


/* Mobile menu repair: explicit visibility instead of off-screen transforms */
#mobileMenuDrawer[hidden], #mobileMenuBackdrop[hidden] { display:none!important; }
@media (max-width: 767px) {
  #mobileMenuToggle { display:inline-flex!important; align-items:center; cursor:pointer; }
  #mobileMenuDrawer:not([hidden]) {
    display:block!important; position:fixed!important; inset:0 0 0 auto!important;
    width:min(90vw,390px)!important; height:100dvh!important;
    overflow-y:auto!important; background:#fff!important; color:#082c5b!important;
    z-index:2147483646!important; transform:none!important;
    visibility:visible!important; opacity:1!important;
    padding:18px 18px 48px!important; box-shadow:-8px 0 35px #001a3c55;
  }
  #mobileMenuBackdrop:not([hidden]) {
    display:block!important; position:fixed!important; inset:0!important;
    z-index:2147483645!important; background:rgba(0,20,45,.72)!important;
  }
  #mobileMenuDrawer .mobile-category { display:block!important; }
  #mobileMenuDrawer .mobile-subcategories { display:block!important; }
  #mobileMenuDrawer .mobile-category:not([open]) .mobile-subcategories { display:none!important; }
  #mobileMenuDrawer .mobile-category summary { color:#082c5b!important; }
  #mobileMenuDrawer a { color:#082c5b!important; text-decoration:none; }
}


/* Final mobile navigation: button visible on mobile/tablet and in desktop previews. */
#mobileMenuToggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:none!important;visibility:visible!important;opacity:1!important;background:#0877ff!important;color:#fff!important;border:1px solid #8bc6ff!important;border-radius:6px!important;padding:11px 15px!important;font-weight:800!important;font-size:14px!important;cursor:pointer!important;position:relative!important;z-index:100!important;}
#mobileMenuDrawer[hidden],#mobileMenuBackdrop[hidden]{display:none!important}
#mobileMenuDrawer:not([hidden]){display:block!important;position:fixed!important;top:0!important;right:0!important;bottom:0!important;width:min(90vw,390px)!important;max-width:100%!important;background:#fff!important;color:#082c5b!important;z-index:2147483646!important;overflow-y:auto!important;padding:18px 18px 40px!important;transform:none!important;visibility:visible!important;opacity:1!important;box-shadow:-8px 0 35px #001a3c55!important}
#mobileMenuBackdrop:not([hidden]){display:block!important;position:fixed!important;inset:0!important;background:rgba(0,20,45,.72)!important;z-index:2147483645!important}
#mobileMenuDrawer .mobile-category{display:block!important;border-bottom:1px solid #dce5ef}
#mobileMenuDrawer .mobile-subcategories{display:block!important;background:#f3f7fc!important;padding:4px 8px 10px 18px!important}
#mobileMenuDrawer .mobile-category:not([open]) .mobile-subcategories{display:none!important}
#mobileMenuDrawer .mobile-category summary{display:flex!important;justify-content:space-between!important;padding:16px 8px!important;color:#082c5b!important;font-weight:800!important;cursor:pointer!important}
#mobileMenuDrawer .mobile-subcategories a{display:block!important;color:#082c5b!important;padding:10px 7px!important;text-decoration:none!important;border-bottom:1px solid #e2eaf4!important}
#mobileMenuDrawer .mobile-menu-close{display:block!important;margin-left:auto!important;background:#073467!important;color:white!important;padding:12px!important;border:0!important;cursor:pointer!important}
@media(max-width:680px){.topin{display:flex!important;justify-content:space-between!important;align-items:center!important}}


/* Native details/summary mobile menu: works with no JavaScript */
.native-mobile-menu{display:block!important;position:relative!important;z-index:999999!important;flex:none!important;margin-left:12px!important;}
.native-mobile-menu>summary{display:block!important;list-style:none!important;cursor:pointer!important;user-select:none!important;background:#0867b6!important;color:white!important;border-radius:8px!important;padding:12px 15px!important;font-weight:800!important;font-size:15px!important;white-space:nowrap!important;}
.native-mobile-menu>summary::-webkit-details-marker{display:none!important}
.native-mobile-panel{display:none!important;position:absolute!important;top:calc(100% + 8px)!important;right:0!important;width:min(360px,calc(100vw - 28px))!important;max-height:78vh!important;overflow-y:auto!important;background:#fff!important;border:2px solid #0a5a9f!important;box-shadow:0 15px 40px #001a3c55!important;border-radius:10px!important;padding:10px!important;color:#073467!important;z-index:999999!important;}
.native-mobile-menu[open]>.native-mobile-panel{display:block!important;}
.native-menu-heading{padding:12px!important;color:#073467!important;font-size:18px!important;font-weight:900!important;}
.native-mobile-panel details.mobile-category{display:block!important;border-bottom:1px solid #dae5f0!important;color:#073467!important;}
.native-mobile-panel details.mobile-category>summary{display:list-item!important;cursor:pointer!important;padding:14px 12px!important;font-weight:800!important;color:#073467!important;background:#f3f7fd!important;}
.native-mobile-panel .mobile-subcategories{display:block!important;padding:5px 12px 12px!important;background:#fff!important;}
.native-mobile-panel details.mobile-category:not([open]) .mobile-subcategories{display:none!important;}
.native-mobile-panel a{display:block!important;color:#073467!important;text-decoration:none!important;padding:9px 12px!important;border-bottom:1px solid #edf1f5!important;}
.native-mobile-panel .native-extra-link{font-weight:800!important;background:#e9f3ff!important;}
@media(max-width:767px){.topin{display:flex!important;align-items:center!important;justify-content:space-between!important;}.native-mobile-menu{margin-left:auto!important}.native-mobile-panel{position:fixed!important;top:80px!important;right:10px!important;max-height:calc(100dvh - 90px)!important}.topright{display:none!important}}


/* Approved enhancement: desktop sticky category bar, compact mobile sticky header. */
@media(min-width:768px){
  nav.nav{position:sticky!important;top:0!important;z-index:900!important;}
}
@media(max-width:767px){
  header.top{position:sticky!important;top:0!important;z-index:900!important;}
  header.top .topin{padding-top:9px!important;padding-bottom:9px!important;}
  header.top .logo{font-size:35px!important;letter-spacing:-2px!important;}
  header.top .logo small{font-size:8px!important;margin-top:4px!important;}
  .native-mobile-menu{z-index:950!important;}
  .native-mobile-panel{max-height:calc(100dvh - 75px)!important;overflow-y:auto!important;}
}
#backToTop24{position:fixed;right:22px;bottom:22px;z-index:1000;width:48px;height:48px;
  border:0;border-radius:50%;background:#0877ff;color:white;box-shadow:0 4px 18px #001b3970;
  cursor:pointer;font-size:24px;font-weight:bold;display:none;align-items:center;justify-content:center;}
#backToTop24.is-visible{display:flex;}
#backToTop24:focus-visible{outline:3px solid #ffbf47;outline-offset:3px;}
@media(max-width:767px){#backToTop24{right:14px;bottom:18px;width:44px;height:44px;}}


/* Robust sticky behavior: fixed-on-scroll class, works on local file pages */
html{scroll-behavior:smooth}
body{overflow-x:clip}
nav.nav.stuck24{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;z-index:100000!important;box-shadow:0 4px 15px #00152d55!important}
header.top.stuck24{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;z-index:100000!important;box-shadow:0 4px 15px #00152d55!important}
.sticky-spacer24{display:none}
.sticky-spacer24.active{display:block}
#backToTop24{position:fixed!important;bottom:22px!important;right:22px!important;z-index:100001!important;display:flex!important;visibility:visible!important;opacity:1!important;transform:translateY(0)!important;width:52px!important;height:52px!important;border-radius:50%!important;background:#0877ff!important;color:white!important;font-size:26px!important;border:2px solid white!important;box-shadow:0 4px 16px #001a3c70!important;align-items:center!important;justify-content:center!important;cursor:pointer!important}
#backToTop24:not(.is-visible){opacity:0!important;pointer-events:none!important;transform:translateY(14px)!important}
@media(max-width:767px){nav.nav.stuck24{display:none!important}header.top.stuck24{z-index:100000!important}#backToTop24{right:14px!important;bottom:16px!important;width:48px!important;height:48px!important}}

.article-content{font-size:18px;line-height:1.75}.article-content img{max-width:100%;height:auto}.article-page{max-width:980px;margin:30px auto;background:#fff;padding:28px}.article-page h1{font-size:clamp(27px,4vw,42px)}.article-page .wp-post-image{width:100%;height:auto}.pagination{display:flex;gap:12px;padding:25px}.demo-label{background:#fff2cc;color:#573f00;padding:12px;font-size:13px}.story a,.lead>a,.mini>a{display:block}.empty-news{padding:25px;background:white}.nav-btn{cursor:pointer}@media(min-width:681px) and (max-width:767px){.nav{display:none!important}}.screen-reader-text{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
.front-five .lead h1{font-size:clamp(23px,2vw,34px);line-height:1.15;margin:12px 0 8px;color:white}

.editorial-five .lead>a{position:absolute;inset:0;min-height:0}

/* Keep faces visible in portrait news photographs. */


/* Stable 16:9 news media at every breakpoint. */
.bet24-image{position:relative;display:block;width:100%;aspect-ratio:16/9;overflow:hidden;background:#082c5b;flex:none}
.bet24-image img,.story .bet24-image img,.editorial-five .lead .bet24-image img,.editorial-five .mini .bet24-image img,.article-page .bet24-image img{display:block;position:absolute;inset:0;width:100%;height:100%;max-width:none;aspect-ratio:16/9;object-fit:cover;object-position:var(--image-focus,50% 50%)}
.bet24-image-placeholder{position:absolute;inset:0;background:#082c5b}
.editorial-five,.front-five{grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);align-items:stretch}
.editorial-five .lead,.front-five .lead{min-height:0;height:auto;min-width:0;display:flex}
.editorial-five .lead>a{position:relative;inset:auto;width:100%;display:flex;flex-direction:column}
.editorial-five .lead:after{display:none}
.editorial-five .lead .lead-copy{position:relative;inset:auto;padding:20px 22px;background:#051b37;flex:1}
.editorial-five .mini-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,1fr);align-items:stretch}
.editorial-five .mini>a{height:100%;display:flex;flex-direction:column}
.editorial-five .mini-copy{flex:1;min-height:106px}
.editorial-five .mini h3{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.story>a{height:100%;display:flex;flex-direction:column}.story-body{flex:1}
.article-page>.bet24-image{margin:20px 0}
@media(max-width:850px){.editorial-five,.front-five{grid-template-columns:1fr}.editorial-five .lead,.front-five .lead{min-height:0}.editorial-five .mini-copy{min-height:100px}}
@media(max-width:480px){.editorial-five .mini-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.editorial-five .mini-copy{padding:9px;min-height:100px}.editorial-five .lead .lead-copy{padding:16px}}

.bet24-image-info{position:absolute;right:8px;bottom:8px;z-index:2;background:rgba(0,24,52,.82);color:#fff!important;padding:3px 7px;border-radius:3px;font-size:11px;text-decoration:none}.bet24-image-info:hover,.bet24-image-info:focus{background:#006fe6}
