/*
Theme Name: Lakome Independent
Theme URI: https://ann.ma/
Author: Aljareeda / ANN
Description: قالب Lakome Independent المستقل — Build 126: تحسينات شاملة لإمكانية الوصول والتنقل بلوحة المفاتيح.
Version: 1.0.126
Text Domain: lakome-independent
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
*/

/* WordPress compatibility additions */
html,body{direction:rtl;text-align:right}.wp-caption{max-width:100%}.aligncenter{display:block;margin-left:auto;margin-right:auto}.alignleft{float:left;margin-right:15px}.alignright{float:right;margin-left:15px}.screen-reader-text{position:absolute;left:-9999px}.post-edit-link{display:inline-block;margin:10px 0}.li-fallback-empty{background:#fff;border:1px solid #eee;padding:20px;text-align:center;color:#777}.li-ad-placeholder{background:#f7f7f7;border:1px dashed #ccc;color:#999;display:flex;align-items:center;justify-content:center;text-align:center;min-height:90px}.li-ad-placeholder.big{min-height:250px}.li-ad-placeholder.tall{min-height:600px}.li-nav-fallback{list-style:none;margin:0;padding:0;display:flex;gap:18px;justify-content:center}.li-nav-fallback li a{color:inherit}.li-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}@media(max-width:768px){.li-category-grid{grid-template-columns:1fr}.desktop .container{width:100%!important}.custom-2,.custom-3,.custom-7,.custom-9{width:100%!important;float:none!important}}

/* Build 002 fixes */
.home-container,.custom-container{max-width:1000px;margin-left:auto;margin-right:auto}.main-content{background:#fff}.row-two{min-height:0!important}.img-carousel .carousel-content{display:block!important}.img-carousel .img img{width:100%;height:auto;display:block}.slide-content .owl-nav button,.vote-carousel .owl-nav button{border:1px solid #f00!important;color:#f00!important;background:#fff!important;margin:2px!important;min-width:22px!important}.li-widget-slider{margin-bottom:15px}.li-widget-posts .content-text-bottom{margin-bottom:12px}.li-latest-widget .the-content{border-bottom:1px solid #eee;padding:8px 0}.li-opinion-widget .item{padding:8px}.custom-cols.grid{display:grid!important;grid-template-columns:repeat(2,1fr);gap:10px}.custom-cols.grid li{float:none!important;width:auto!important;list-style:none}.left-content .content-text-bottom{margin-bottom:8px}.right-content{min-height:0}.section-bottom{clear:both}.categories-section{display:block;clear:both}.categories-section:after,.equal-content:after,.under-section:after{content:"";display:block;clear:both}@media(max-width:768px){.custom-cols.grid{grid-template-columns:1fr}.home-container,.custom-container{max-width:100%;padding-left:10px;padding-right:10px}}


/* Build 003 widget area fixes */
.li-home-breaking{margin-bottom:10px}.home-main-slider .li-widget,.li-widget-slider{margin:0}.li-widget.widget_li_main_slider{margin:0!important}.slide-content.li-widget{padding:0!important}.home-container .widget{list-style:none}.li-home-bottom{margin-top:25px}.home-side-ad .li-widget{height:auto}.categories-section .li-widget{float:right}.li-widget .heading .title{margin:0 0 10px}.right-content .li-widget{margin-bottom:12px}.custom-7 .li-widget .slide-content{margin-bottom:0}.custom-7 .li-widget-slider .img-carousel{margin-bottom:8px}

/* Build 004: extra official-like widgets */
.li-tv-widget .content-text-bottom{margin-bottom:10px;background:#fff;border:1px solid #ddd;overflow:hidden}
.li-sport-widget .sport-list{list-style:none;margin:0;padding:0;display:flex;gap:8px;flex-wrap:wrap;direction:rtl}
.li-sport-widget .sport-list li{position:relative;flex:1 1 150px;min-height:110px;background:#111;color:#fff;overflow:hidden}
.li-sport-widget .sport-list img{width:100%;height:125px;object-fit:cover;display:block;opacity:.85}
.li-sport-widget .sport-list .desc{position:absolute;right:0;left:0;bottom:0;padding:8px;background:linear-gradient(transparent,rgba(0,0,0,.85));font-weight:bold}
.li-featured-mosaic .img img,.li-multi-cats img{width:100%;height:auto;display:block}
.li-featured-mosaic .content-text-bottom{margin-bottom:10px}
.li-header-ad .li-ad-box img,.li-ad-box img{max-width:100%;height:auto;display:block;margin:auto}
.li-multi-cats:after{content:"";display:block;clear:both}


/* Build 005: Home layout stabilization */
/* Remove gaps between the top slider block and Opinion block */
.main-section{padding-bottom:0!important;margin-bottom:0!important;}
.main-section .main-content{padding-bottom:0!important;margin-bottom:0!important;}
.home-container{padding-bottom:0!important;margin-bottom:0!important;}
.row-two{margin-bottom:0!important;padding-bottom:0!important;}
.equal-content{display:flex;align-items:stretch;gap:0;margin-bottom:0!important;padding-bottom:0!important;}
.equal-content > [class*="col-xs-"]{float:none!important;display:flex;flex-direction:column;}
.equal-content .slide-content{height:100%;margin-bottom:0!important;}
.has-border-top{margin-top:12px!important;padding-top:12px!important;clear:both;}
.under-section{margin-top:0!important;padding-top:0!important;}
.under-section .custom-9,.under-section .custom-3{padding-top:0!important;}

/* Match the original old Lakome 3-column top layout proportions */
.custom-2{width:20%!important;}
.custom-7{width:55%!important;}
.custom-3{width:25%!important;}
.custom-9{width:75%!important;}
.no-p{padding:0!important}.no-p-l{padding-left:0!important}.no-p-r{padding-right:0!important}

/* Slider height and media behavior */
.custom-7 .img-carousel,
.custom-7 .owl-carousel,
.custom-7 .carousel-content{min-height:330px!important;}
.custom-7 .carousel-content .img,
.custom-7 .carousel-content .img img{height:330px!important;}
.custom-7 .carousel-content .img img{object-fit:cover;width:100%;display:block;}
.custom-7 .carousel-content .title{z-index:4;}
.custom-cols.grid{margin:8px 0 0!important;padding:0!important;}
.custom-cols.grid li{margin:0!important;}
.custom-cols.grid .img img{height:105px!important;object-fit:cover;width:100%;}
.custom-cols.grid .the-text{min-height:36px!important;margin:6px 0!important;line-height:1.45!important;}

/* Left and right columns should not create artificial height */
.left-content,.right-content{height:auto!important;min-height:0!important;margin-bottom:0!important;padding-bottom:0!important;}
.left-content .content-text-bottom{margin-bottom:8px!important;}
.left-content .img img{height:105px!important;object-fit:cover;width:100%;}
.right-content .the-content{min-height:0!important;padding:8px 10px!important;}
.right-content .tabs{margin-bottom:0!important;}
.vertical-swiper-news{max-height:245px!important;overflow:hidden!important;}

/* Compact newsletter block */
.newslettre-wrapper{
  margin:8px 0 0!important;
  padding:10px 12px!important;
  min-height:0!important;
  height:auto!important;
  max-height:98px!important;
  overflow:hidden!important;
  background:#f7f7f7!important;
  border:1px solid #e5e5e5!important;
  box-sizing:border-box!important;
}
.newslettre-wrapper h3{font-size:17px!important;line-height:1.25!important;margin:0 0 5px!important;font-weight:bold!important;}
.newslettre-wrapper p{font-size:12px!important;line-height:1.4!important;margin:0!important;color:#666!important;}
.newslettre-wrapper form,.newslettre-wrapper input,.newslettre-wrapper button{margin-top:6px!important;max-height:32px!important;}

/* Opinion block closer to slider */
.has-border-top .heading{margin-top:0!important;}
.vote-carousel{margin-top:0!important;}
.vote-carousel .item{padding-top:0!important;}
.cercled-content{min-height:0!important;padding-bottom:8px!important;}
.cercled-content .cercle img{width:86px!important;height:86px!important;object-fit:cover;border-radius:50%;}

/* Sport block: tighter cards */
.colored-section{margin-top:18px!important;padding-top:18px!important;padding-bottom:18px!important;}
.sport-list{margin:0!important;padding:0!important;}
.sport-list li{min-height:145px!important;}
.sport-list .img img,.li-sport-widget .sport-list img{height:145px!important;object-fit:cover!important;}
.sport-list .desc,.li-sport-widget .sport-list .desc{padding:8px 10px!important;line-height:1.35!important;}

/* Widget default spacing cleanup */
.home-container .widget,.home-container .li-widget{margin-bottom:0!important;}
.right-content .widget,.left-content .widget{margin-bottom:8px!important;}
.li-ad-placeholder.tall{min-height:250px!important;}
.home-side-ad .li-ad-placeholder.tall{min-height:250px!important;}

@media(max-width:768px){
  .equal-content{display:block!important;}
  .custom-2,.custom-3,.custom-7,.custom-9{width:100%!important;display:block!important;float:none!important;}
  .custom-7 .img-carousel,.custom-7 .owl-carousel,.custom-7 .carousel-content{min-height:240px!important;}
  .custom-7 .carousel-content .img,.custom-7 .carousel-content .img img{height:240px!important;}
  .vertical-swiper-news{max-height:none!important;}
  .newslettre-wrapper{max-height:none!important;}
}

/* Build 006: final layout cleanup - remove remaining vertical gaps */
.main-section .row-two,
.main-section .equal-content,
.main-section .main-content,
.main-section .home-container{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
}

/* The old Lakome CSS forced the ad image in the opinion row to 600px; this caused the large blank area. */
.li-opinion-row,
.li-opinion-row .under-section{
  height:auto!important;
  min-height:0!important;
  margin-top:0!important;
  padding-top:8px!important;
  padding-bottom:8px!important;
  align-items:flex-start!important;
}
.li-opinion-row.no-side-ad .under-section:after{width:100%!important;}
.li-opinion-row.no-side-ad .li-opinion-main{
  width:100%!important;
  float:none!important;
  padding-left:0!important;
  padding-right:0!important;
}
.li-opinion-row .left-img,
.li-opinion-row .li-ad-placeholder,
.li-opinion-row .li-ad-placeholder.tall{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
}
.li-opinion-row .li-opinion-ad:empty{display:none!important;}
.li-opinion-row .li-opinion-ad .li-ad-box:empty{display:none!important;}
.li-opinion-row .li-opinion-ad img{max-width:100%;height:auto!important;display:block;margin:auto;}

/* Opinion carousel compact height */
.li-opinion-row .has-border-btm{padding-bottom:8px!important;border-bottom:0!important;}
.li-opinion-row .seconde-owl{padding-right:0!important;min-height:0!important;}
.li-opinion-row .cercled-content{
  min-height:150px!important;
  padding:12px 10px!important;
}
.li-opinion-row .cercled-content .cercle img{
  width:72px!important;
  height:72px!important;
}
.li-opinion-row .cercled-content .content{
  max-height:42px!important;
  overflow:hidden!important;
  line-height:1.5!important;
  margin-bottom:0!important;
}

/* Newsletter: keep the original dark style but make it compact */
.right-content .newslettre-wrapper{
  width:100%!important;
  max-height:82px!important;
  min-height:0!important;
  padding:8px 12px!important;
  margin:6px 0 0!important;
  background:#373737!important;
  color:#fff!important;
}
.right-content .newslettre-wrapper h3{
  color:#fff!important;
  font-size:15px!important;
  line-height:1.25!important;
  margin:0 0 3px!important;
}
.right-content .newslettre-wrapper p{
  color:#ddd!important;
  font-size:11px!important;
  line-height:1.35!important;
  margin:0!important;
}

/* Top section: prevent any widget from reserving extra vertical area */
.equal-content .widget,
.equal-content .li-widget,
.equal-content .slide-content,
.equal-content .left-content,
.equal-content .right-content{
  height:auto!important;
  min-height:0!important;
}
.custom-7 .img-carousel,
.custom-7 .owl-carousel,
.custom-7 .carousel-content{
  min-height:300px!important;
  height:auto!important;
}
.custom-7 .carousel-content .img,
.custom-7 .carousel-content .img img,
.custom-7 .owl-stage-outer .carousel-content .img,
.custom-7 .owl-stage-outer .carousel-content .img img{
  height:300px!important;
  width:100%!important;
  object-fit:cover!important;
}
.desktop .main-home .main-section .main-content .slide-content .title{
  height:auto!important;
  min-height:58px!important;
  padding:8px 10px!important;
}
.desktop .main-home .main-section .main-content .slide-content .img-carousel{
  height:auto!important;
  min-height:0!important;
  overflow:hidden!important;
}

/* Sport block: reduce black unused area and keep a balanced strip */
.colored-section{margin-top:10px!important;padding-top:12px!important;padding-bottom:12px!important;}
.sport .sport-content .sport-list{display:flex!important;gap:10px!important;overflow:hidden!important;align-items:stretch!important;}
.sport .sport-content .sport-list li,
.li-sport-widget .sport-list li{
  height:150px!important;
  min-height:150px!important;
  margin:0!important;
  flex:1 1 0!important;
  width:auto!important;
  background:#111!important;
}
.sport .sport-content .sport-list li:first-child,
.sport .sport-content .sport-list li:nth-child(2),
.sport .sport-content .sport-list li:nth-child(3),
.sport .sport-content .sport-list li:nth-child(4),
.sport .sport-content .sport-list li:nth-child(5),
.sport .sport-content .sport-list li:last-child{
  width:auto!important;
  height:150px!important;
  min-height:150px!important;
}
.sport .sport-content .sport-list li .img,
.sport .sport-content .sport-list li:first-child .img,
.sport .sport-content .sport-list li:nth-child(2) .img,
.sport .sport-content .sport-list li:nth-child(3) .img,
.sport .sport-content .sport-list li:nth-child(4) .img,
.sport .sport-content .sport-list li:nth-child(5) .img,
.sport .sport-content .sport-list li:last-child .img{
  height:150px!important;
  min-height:150px!important;
  width:100%!important;
}
.sport .sport-content .sport-list li img{height:150px!important;object-fit:cover!important;}
.sport .sport-content .sport-list li .desc,
.sport .sport-content .sport-list li:first-child .desc,
.sport .sport-content .sport-list li:nth-child(2) .desc,
.sport .sport-content .sport-list li:nth-child(3) .desc,
.sport .sport-content .sport-list li:nth-child(4) .desc,
.sport .sport-content .sport-list li:nth-child(5) .desc,
.sport .sport-content .sport-list li:last-child .desc{
  position:absolute!important;
  right:0!important;
  left:0!important;
  bottom:0!important;
  height:auto!important;
  min-height:42px!important;
  max-height:64px!important;
  padding:7px 8px!important;
  background:linear-gradient(transparent,rgba(0,0,0,.92))!important;
}
.sport .sport-content .sport-list li .desc p,
.sport .sport-content .sport-list li:first-child .desc p,
.sport .sport-content .sport-list li:nth-child(2) .desc p,
.sport .sport-content .sport-list li:nth-child(3) .desc p,
.sport .sport-content .sport-list li:nth-child(4) .desc p,
.sport .sport-content .sport-list li:nth-child(5) .desc p,
.sport .sport-content .sport-list li:last-child .desc p{
  position:static!important;
  color:#fff!important;
  font-size:12px!important;
  line-height:1.45!important;
  max-height:38px!important;
  overflow:hidden!important;
  margin:0!important;
}

@media(max-width:768px){
  .li-opinion-row .under-section{display:block!important;}
  .li-opinion-row .li-opinion-main,.li-opinion-row .li-opinion-ad{width:100%!important;}
  .sport .sport-content .sport-list{display:block!important;}
  .sport .sport-content .sport-list li{width:100%!important;margin-bottom:10px!important;}
}

/* Build 007: original extracted widgets */
.li-original-social{margin-bottom:8px;}
.li-original-social .socials-media{display:flex;justify-content:flex-start;gap:2px;margin:0;padding:0;list-style:none;direction:ltr;}
.li-original-social .socials-media li{width:28px;height:25px;line-height:25px;text-align:center;border:1px solid #e5e5e5;background:#fff;}
.li-original-social .search-form{display:none;position:absolute;background:#fff;border:1px solid #ddd;padding:5px;z-index:20;}
.li-original-last-news .content-text-bottom{position:relative;border-bottom:1px solid #eee;padding:8px 0;min-height:62px;}
.li-original-last-news .content-text-bottom .img{width:74px;height:52px;float:right;margin-left:8px;overflow:hidden;}
.li-original-last-news .content-text-bottom .img img{width:100%;height:100%;object-fit:cover;}
.li-original-last-news .the-text{font-size:13px;line-height:1.45;margin:0;color:#111;}
.li-original-category-posts .content-text-left.cercled{display:flex;align-items:center;gap:10px;border-bottom:1px solid #eee;padding:9px 0;direction:rtl;}
.li-original-category-posts .content-text-left.cercled .img{width:54px;height:54px;border-radius:50%;overflow:hidden;flex:0 0 54px;background:#f4f4f4;}
.li-original-category-posts .content-text-left.cercled .img img{width:100%;height:100%;object-fit:cover;filter:grayscale(100%);}
.li-original-category-posts .left-infos .name{display:block;color:#e60000;font-size:11px;font-weight:bold;margin-bottom:3px;}
.li-original-category-posts .left-infos .the-text{font-size:13px;line-height:1.45;margin:0;color:#111;}
.li-original-posttype .jobs-list{list-style:none;margin:0;padding:0;}
.li-original-posttype .job{position:relative;border-bottom:1px solid #eee;padding:10px 0;}
.li-original-posttype .header-job{display:flex;align-items:center;gap:8px;direction:rtl;}
.li-original-posttype .img-cercled{width:54px;height:54px;object-fit:cover;border-radius:50%;filter:grayscale(100%);}
.li-original-posttype .infos h4{font-size:11px;color:#e60000;margin:0;}
.li-original-posttype .job-details h2{font-size:14px;line-height:1.45;margin:5px 0 0;color:#111;}

/* Build 008: Modern two-column top layout inspired by Lakome2 */
.li-modern-home .main-content{overflow:visible!important;}
.li-modern-top{
  display:flex!important;
  flex-direction:row!important;
  gap:14px!important;
  
  direction:rtl!important;
  margin:0 0 14px!important;
  padding:0!important;
  height:auto!important;
  min-height:0!important;
  clear:both!important;
}
.li-modern-slider{
  flex:0 0 calc(70% - 7px)!important;
  width:calc(70% - 7px)!important;
  max-width:calc(70% - 7px)!important;
  order:1!important;
  float:none!important;
  min-height:0!important;
}
.li-modern-news24{
  flex:0 0 calc(30% - 7px)!important;
  width:calc(30% - 7px)!important;
  max-width:calc(30% - 7px)!important;
  order:2!important;
  float:none!important;
  min-height:0!important;
}
.li-modern-slider .slide-content,
.li-modern-slider .li-widget,
.li-modern-slider .li-widget-slider{
  width:100%!important;
  margin:0!important;
  padding:0!important;
  height:auto!important;
  min-height:0!important;
  overflow:hidden!important;
}
.li-modern-slider .img-carousel,
.li-modern-slider .owl-carousel,
.li-modern-slider .owl-stage-outer,
.li-modern-slider .carousel-content{
  width:100%!important;
  height:372px!important;
  min-height:372px!important;
  overflow:hidden!important;
}
.li-modern-slider .carousel-content .img,
.li-modern-slider .carousel-content .img img{
  width:100%!important;
  height:320px!important;
  object-fit:cover!important;
  display:block!important;
}
.li-modern-slider .carousel-content .title{
  min-height:52px!important;
  height:52px!important;
  overflow:hidden!important;
  padding:8px 12px!important;
}
.li-modern-slider .carousel-content .title h2{
  font-size:22px!important;
  line-height:1.35!important;
  margin:0!important;
  max-height:31px!important;
  overflow:hidden!important;
}
.li-modern-slider .carousel-content .title p{display:none!important;}
.li-modern-slider ul.bg-white.custom-cols.grid,
.li-modern-slider .big-thumb-after,
.li-modern-slider .li-widget-slider > ul{
  display:none!important;
}
.li-modern-slider .owl-dots,
.li-modern-slider .owl-controls,
.li-modern-slider .owl-pagination{
  margin-top:6px!important;
  text-align:center!important;
}

.li-modern-news24 .li-widget{
  margin:0!important;
  padding:0!important;
  background:#fff!important;
  border:1px solid #eee!important;
  box-shadow:none!important;
}
.li-modern-news24 .heading,
.li-modern-news24 ul.tabs{
  margin:0!important;
  border-bottom:2px solid #e00!important;
  
  height:36px!important;
  line-height:36px!important;
  overflow:hidden!important;
}
.li-modern-news24 .heading .title,
.li-modern-news24 ul.tabs li,
.li-modern-news24 ul.tabs .tab-link{
  
  font-size:18px!important;
  line-height:36px!important;
  
  padding:0 12px!important;
  text-align:right!important;
  
}
.li-news24-list,
.li-modern-news24 .li-latest-widget,
.li-modern-news24 .vertical-slide{
  height:292px!important;
  max-height:292px!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:0 8px!important;
  background:#fff!important;
}
.li-news24-item,
.li-modern-news24 .the-content{
  display:block!important;
  min-height:62px!important;
  border-bottom:1px solid #eee!important;
  padding:7px 0!important;
  margin:0!important;
  position:relative!important;
}
.li-news24-item a{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  gap:8px!important;
  color:#111!important;
  text-decoration:none!important;
}
.li-news24-thumb{
  flex:0 0 74px!important;
  width:74px!important;
  height:52px!important;
  overflow:hidden!important;
  order:1!important;
  background:#eee!important;
}
.li-news24-thumb img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
}
.li-news24-info{
  display:block!important;
  flex:1 1 auto!important;
  order:2!important;
  min-width:0!important;
  text-align:right!important;
}
.li-news24-info time{
  display:inline-block!important;
  background:#e00!important;
  color:#fff!important;
  border-radius:14px!important;
  padding:2px 8px!important;
  font-size:11px!important;
  line-height:1.4!important;
  margin-bottom:4px!important;
}
.li-news24-info strong,
.li-modern-news24 .the-content .title a{
  display:block!important;
  font-size:13px!important;
  line-height:1.45!important;
  color:#111!important;
  font-weight:bold!important;
  max-height:38px!important;
  overflow:hidden!important;
}
.li-modern-news24 .the-content:before{
  content:'●';
  color:#e00;
  margin-left:5px;
}
.li-modern-news24 .newslettre-wrapper{
  margin-top:10px!important;
  max-height:76px!important;
  min-height:76px!important;
  padding:8px 10px!important;
  background:#333!important;
  color:#fff!important;
}
.li-modern-news24 .newslettre-wrapper h3{font-size:16px!important;line-height:1.2!important;margin:0 0 4px!important;color:#fff!important;}
.li-modern-news24 .newslettre-wrapper p{font-size:11px!important;line-height:1.3!important;color:#ddd!important;margin:0!important;}

/* remove old three-column effects after switching top layout */
.li-modern-home .row-two,
.li-modern-home .equal-content,
.li-modern-home .custom-2,
.li-modern-home .custom-3,
.li-modern-home .custom-7{height:auto!important;min-height:0!important;}
.li-modern-home .li-opinion-row{margin-top:8px!important;padding-top:8px!important;}
.li-modern-home .li-opinion-row .under-section{padding-top:0!important;}
.li-after-opinion{margin-top:12px!important;}

@media(max-width:900px){
  .li-modern-top{display:block!important;}
  .li-modern-slider,.li-modern-news24{width:100%!important;max-width:100%!important;flex:none!important;margin-bottom:12px!important;}
  .li-modern-slider .img-carousel,.li-modern-slider .owl-carousel,.li-modern-slider .owl-stage-outer,.li-modern-slider .carousel-content{height:auto!important;min-height:0!important;}
  .li-modern-slider .carousel-content .img,.li-modern-slider .carousel-content .img img{height:240px!important;}
  .li-modern-slider .carousel-content .title{height:auto!important;min-height:45px!important;}
  .li-news24-list,.li-modern-news24 .li-latest-widget,.li-modern-news24 .vertical-slide{height:auto!important;max-height:none!important;}
}


/* Build 009: remove newsletter block and polish modern News 24 column */
.li-modern-news24 .newslettre-wrapper{display:none!important;height:0!important;min-height:0!important;max-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;}
.li-modern-news24{align-self:flex-start!important;}
.li-modern-top{align-items:flex-start!important;}
.li-modern-news24 .li-widget{border-right:3px solid #e00!important;}
.li-modern-news24 .li-news24-list,
.li-modern-news24 .li-latest-widget,
.li-modern-news24 .vertical-slide{
  height:350px!important;
  max-height:350px!important;
  padding:0 7px!important;
}
.li-modern-news24 .li-latest-news24 .the-content:before{content:none!important;}
.li-modern-news24 .li-news24-item.the-content{min-height:64px!important;padding:7px 0!important;}
.li-modern-news24 .li-news24-item.the-content a{display:flex!important;align-items:center!important;gap:8px!important;text-decoration:none!important;color:#111!important;}
.li-modern-news24 .li-news24-info.title{margin:0!important;padding:0!important;line-height:1.35!important;}
.li-modern-news24 .li-news24-info.title time{margin:0 0 4px!important;}
.li-modern-news24 .li-news24-info.title strong{display:block!important;color:#111!important;font-size:13px!important;line-height:1.45!important;max-height:38px!important;overflow:hidden!important;}
.li-modern-news24 .li-news24-info.title a{color:#111!important;text-decoration:none!important;}

.li-modern-home .li-opinion-row{margin-top:10px!important;}
@media(max-width:900px){.li-modern-news24 .li-news24-list,.li-modern-news24 .li-latest-widget,.li-modern-news24 .vertical-slide{height:auto!important;max-height:none!important;}}

/* Build 010: Lakome2-style News 24 widget */
.li-modern-news24 .li-widget,
.li-modern-news24 .widget{
  background:#fff!important;
  border:1px solid #e7e7e7!important;
  border-right:0!important;
  box-shadow:0 1px 3px rgba(0,0,0,.08)!important;
  overflow:hidden!important;
}
.li-modern-news24 .heading,
.li-modern-news24 ul.tabs{
  height:42px!important;
  line-height:42px!important;
  border-top:4px solid #e00!important;
  border-bottom:1px solid #eee!important;
  background:#fff!important;
  text-align:center!important;
}
.li-modern-news24 .heading .title,
.li-modern-news24 ul.tabs li,
.li-modern-news24 ul.tabs .tab-link{
  color:#e00!important;
  display:block!important;
  font-size:22px!important;
  font-weight:bold!important;
  line-height:38px!important;
  padding:0!important;
  margin:0!important;
  text-align:center!important;
}
.li-modern-news24 .li-news24-list,
.li-modern-news24 .li-latest-widget,
.li-modern-news24 .vertical-slide{
  height:374px!important;
  max-height:374px!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:0 8px!important;
  background:#fff!important;
  scrollbar-width:thin;
  scrollbar-color:#cfcfcf #f5f5f5;
}
.li-modern-news24 .li-news24-list::-webkit-scrollbar,
.li-modern-news24 .li-latest-widget::-webkit-scrollbar,
.li-modern-news24 .vertical-slide::-webkit-scrollbar{width:8px!important;}
.li-modern-news24 .li-news24-list::-webkit-scrollbar-track,
.li-modern-news24 .li-latest-widget::-webkit-scrollbar-track,
.li-modern-news24 .vertical-slide::-webkit-scrollbar-track{background:#f5f5f5!important;}
.li-modern-news24 .li-news24-list::-webkit-scrollbar-thumb,
.li-modern-news24 .li-latest-widget::-webkit-scrollbar-thumb,
.li-modern-news24 .vertical-slide::-webkit-scrollbar-thumb{background:#c9c9c9!important;border-radius:4px!important;}
.li-modern-news24 .li-news24-item,
.li-modern-news24 .li-news24-item.the-content,
.li-modern-news24 .the-content{
  min-height:84px!important;
  height:84px!important;
  padding:8px 0!important;
  margin:0!important;
  border-bottom:1px solid #ddd!important;
  box-sizing:border-box!important;
  clear:both!important;
  overflow:hidden!important;
}
.li-modern-news24 .li-news24-item a,
.li-modern-news24 .li-news24-item.the-content a{
  display:flex!important;
  flex-direction:row!important;
  align-items:flex-start!important;
  gap:10px!important;
  height:68px!important;
  color:#111!important;
  text-decoration:none!important;
  direction:rtl!important;
}
.li-modern-news24 .li-news24-thumb{
  flex:0 0 92px!important;
  width:92px!important;
  height:68px!important;
  order:1!important;
  overflow:hidden!important;
  background:#eee!important;
  border:1px solid #eee!important;
  box-sizing:border-box!important;
}
.li-modern-news24 .li-news24-thumb img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
}
.li-modern-news24 .li-news24-info,
.li-modern-news24 .li-news24-info.title{
  flex:1 1 auto!important;
  min-width:0!important;
  order:2!important;
  display:block!important;
  text-align:right!important;
  margin:0!important;
  padding:0!important;
}
.li-modern-news24 .li-news24-info time,
.li-modern-news24 .li-news24-info.title time{
  display:inline-block!important;
  background:#e00!important;
  color:#fff!important;
  border-radius:18px!important;
  padding:4px 11px!important;
  min-width:45px!important;
  text-align:center!important;
  font-size:12px!important;
  line-height:1!important;
  margin:0 0 6px!important;
  font-weight:bold!important;
}
.li-modern-news24 .li-news24-info strong,
.li-modern-news24 .li-news24-info.title strong,
.li-modern-news24 .the-content .title a{
  display:block!important;
  color:#111!important;
  font-size:16px!important;
  line-height:1.28!important;
  font-weight:bold!important;
  max-height:42px!important;
  overflow:hidden!important;
  text-align:right!important;
}
.li-modern-news24 .the-content:before,
.li-modern-news24 .li-latest-news24 .the-content:before{content:none!important;display:none!important;}
@media(max-width:900px){
  .li-modern-news24 .li-news24-list,
  .li-modern-news24 .li-latest-widget,
  .li-modern-news24 .vertical-slide{height:auto!important;max-height:none!important;}
}

/* Build 012: slider image aligned with the side news column */
.li-modern-home .li-modern-top{
  align-items:flex-start!important;
  gap:14px!important;
  margin-top:0!important;
}
.li-modern-home .li-modern-slider,
.li-modern-home .li-modern-news24{
  margin-top:0!important;
  padding-top:0!important;
}
.li-modern-home .li-modern-slider .widget,
.li-modern-home .li-modern-slider .li-widget,
.li-modern-home .li-modern-slider .slide-content,
.li-modern-home .li-modern-slider .li-widget-slider{
  margin-top:0!important;
  padding-top:0!important;
  overflow:visible!important;
}
.li-modern-home .li-modern-slider .img-carousel,
.li-modern-home .li-modern-slider .owl-carousel,
.li-modern-home .li-modern-slider .owl-stage-outer,
.li-modern-home .li-modern-slider .carousel-content{
  height:374px!important;
  min-height:374px!important;
  overflow:hidden!important;
}
.li-modern-home .li-modern-slider .carousel-content{
  position:relative!important;
  background:#111!important;
}
.li-modern-home .li-modern-slider .carousel-content .img,
.li-modern-home .li-modern-slider .carousel-content .img img{
  height:374px!important;
  min-height:374px!important;
  
  
  
}
.li-modern-home .li-modern-slider .carousel-content .title{
  position:absolute!important;
  top:0!important;
  left:0!important;
  right:0!important;
  z-index:5!important;
  
  
  max-height:78px!important;
  padding:12px 18px 14px!important;
  
  background:linear-gradient(to bottom, rgba(0,0,0,.76), rgba(0,0,0,.42), rgba(0,0,0,0))!important;
  text-align:right!important;
  
}
.li-modern-home .li-modern-slider .carousel-content .title h2{
  color:#fff!important;
  
  
  
  text-shadow:0 1px 2px rgba(0,0,0,.45)!important;
  
  max-height:76px!important;
  
}
.li-modern-home .li-modern-slider .carousel-content .categorie{
  z-index:7!important;
}
.li-modern-home .li-modern-slider .owl-dots,
.li-modern-home .li-modern-slider .owl-controls,
.li-modern-home .li-modern-slider .owl-pagination{
  margin-top:8px!important;
  
}
.li-modern-home .li-modern-news24 .heading,
.li-modern-home .li-modern-news24 ul.tabs{
  margin-top:0!important;
}
.li-modern-home .li-modern-news24 .li-news24-list,
.li-modern-home .li-modern-news24 .li-latest-widget,
.li-modern-home .li-modern-news24 .vertical-slide{
  height:332px!important;
  max-height:332px!important;
}

@media(max-width:900px){
  .li-modern-home .li-modern-slider .img-carousel,
  .li-modern-home .li-modern-slider .owl-carousel,
  .li-modern-home .li-modern-slider .owl-stage-outer,
  .li-modern-home .li-modern-slider .carousel-content,
  .li-modern-home .li-modern-slider .carousel-content .img,
  .li-modern-home .li-modern-slider .carousel-content .img img{
    height:260px!important;
    min-height:260px!important;
  }
  .li-modern-home .li-modern-slider .carousel-content .title h2{font-size:20px!important;}
}

/* Build 013: add inner spacing so slider image is not glued to the frame */
.li-modern-home .li-modern-slider .img-carousel{
  background:#fff!important;
  
  box-sizing:border-box!important;
}
.li-modern-home .li-modern-slider .owl-carousel,
.li-modern-home .li-modern-slider .owl-stage-outer,
.li-modern-home .li-modern-slider .carousel-content{
  width:100%!important;
  box-sizing:border-box!important;
}
.li-modern-home .li-modern-slider .carousel-content{
  margin:0!important;
}


@media(max-width:900px){
  .li-modern-home .li-modern-slider .img-carousel{padding:0!important;}
  .li-modern-home .li-modern-slider .owl-dots,
  .li-modern-home .li-modern-slider .owl-controls,
  .li-modern-home .li-modern-slider .owl-pagination{padding-left:0!important;padding-right:0!important;}
}

/* Build 014: Lakome2 slider title outside image + News24 5 visible / 10 total */
.li-modern-home .li-modern-slider .img-carousel{
  padding:0 18px!important;
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
}
.li-modern-home .li-modern-slider .owl-carousel,
.li-modern-home .li-modern-slider .owl-stage-outer,
.li-modern-home .li-modern-slider .carousel-content{
  height:auto!important;
  min-height:0!important;
  overflow:hidden!important;
}
.li-modern-home .li-modern-slider .carousel-content{
  background:#fff!important;
  display:block!important;
}
.li-modern-home .li-modern-slider .carousel-content .title{
  position:static!important;
  display:block!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  padding:0 8px 14px!important;
  margin:0!important;
  background:#fff!important;
  text-align:center!important;
  box-sizing:border-box!important;
}
.li-modern-home .li-modern-slider .carousel-content .title h2{
  color:#111!important;
  font-family:'TheSans',Arial,Tahoma,sans-serif!important;
  font-size:28px!important;
  line-height:1.35!important;
  font-weight:700!important;
  text-shadow:none!important;
  margin:0!important;
  max-height:80px!important;
  overflow:hidden!important;
}
.li-modern-home .li-modern-slider .carousel-content .title p{display:none!important;}
.li-modern-home .li-modern-slider .carousel-content .img,
.li-modern-home .li-modern-slider .carousel-content .img img{
  height:360px!important;
  min-height:360px!important;
  width:100%!important;
  object-fit:cover!important;
  display:block!important;
}
.li-modern-home .li-modern-slider .carousel-content .categorie{
  bottom:16px!important;
  right:12px!important;
}
.li-modern-home .li-modern-slider .owl-dots,
.li-modern-home .li-modern-slider .owl-controls,
.li-modern-home .li-modern-slider .owl-pagination{
  margin-top:10px!important;
  padding-left:18px!important;
  padding-right:18px!important;
  text-align:center!important;
  box-sizing:border-box!important;
}

.li-modern-home .li-modern-news24 .li-widget,
.li-modern-home .li-modern-news24 .widget{
  position:relative!important;
  overflow:visible!important;
}
.li-modern-home .li-modern-news24 .heading,
.li-modern-home .li-modern-news24 ul.tabs{
  height:42px!important;
  line-height:42px!important;
  
  border-top:4px solid #e60000!important;
  border-bottom:1px solid #e5e5e5!important;
  
}
.li-modern-home .li-modern-news24 .heading .title,
.li-modern-home .li-modern-news24 ul.tabs li,
.li-modern-home .li-modern-news24 ul.tabs .tab-link{
  color:#e60000!important;
  font-size:23px!important;
  
  text-align:center!important;
  line-height:38px!important;
  
}
.li-news24-shell{position:relative!important;}
.li-modern-home .li-modern-news24 .li-news24-list,
.li-modern-home .li-modern-news24 .li-latest-widget,
.li-modern-home .li-modern-news24 .vertical-slide{
  height:405px!important;
  max-height:405px!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  background:#fff!important;
  padding:0!important;
  border-right:1px solid #eee!important;
  border-left:1px solid #eee!important;
  scrollbar-width:thin;
}
.li-modern-home .li-modern-news24 .li-news24-list::-webkit-scrollbar,
.li-modern-home .li-modern-news24 .li-latest-widget::-webkit-scrollbar,
.li-modern-home .li-modern-news24 .vertical-slide::-webkit-scrollbar{width:9px!important;}
.li-modern-home .li-modern-news24 .li-news24-list::-webkit-scrollbar-track,
.li-modern-home .li-modern-news24 .li-latest-widget::-webkit-scrollbar-track,
.li-modern-home .li-modern-news24 .vertical-slide::-webkit-scrollbar-track{background:#f3f3f3!important;}
.li-modern-home .li-modern-news24 .li-news24-list::-webkit-scrollbar-thumb,
.li-modern-home .li-modern-news24 .li-latest-widget::-webkit-scrollbar-thumb,
.li-modern-home .li-modern-news24 .vertical-slide::-webkit-scrollbar-thumb{background:#c2c2c2!important;border-radius:6px!important;}
.li-modern-home .li-modern-news24 .li-news24-item,
.li-modern-home .li-modern-news24 .li-news24-item.the-content,
.li-modern-home .li-modern-news24 .the-content{
  height:81px!important;
  min-height:81px!important;
  margin:0!important;
  padding:6px 8px!important;
  border-bottom:1px solid #ddd!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  background:#fff!important;
}
.li-modern-home .li-modern-news24 .li-news24-item a,
.li-modern-home .li-modern-news24 .li-news24-item.the-content a{
  display:flex!important;
  flex-direction:row!important;
  
  gap:9px!important;
  width:100%!important;
  height:100%!important;
  color:#111!important;
  text-decoration:none!important;
}
.li-modern-home .li-modern-news24 .li-news24-thumb{
  flex:0 0 95px!important;
  width:95px!important;
  height:66px!important;
  order:1!important;
  margin:0!important;
  overflow:hidden!important;
  display:block!important;
  background:#eee!important;
}
.li-modern-home .li-modern-news24 .li-news24-thumb img{
  width:95px!important;
  height:66px!important;
  object-fit:cover!important;
  display:block!important;
}
.li-modern-home .li-modern-news24 .li-news24-info,
.li-modern-home .li-modern-news24 .li-news24-info.title{
  flex:1 1 auto!important;
  order:2!important;
  min-width:0!important;
  display:block!important;
  text-align:right!important;
  padding:0!important;
  margin:0!important;
}
.li-modern-home .li-modern-news24 .li-news24-info time,
.li-modern-home .li-modern-news24 .li-news24-info.title time{
  display:inline-block!important;
  background:#f00909!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:23px!important;
  height:23px!important;
  min-width:52px!important;
  padding:0 9px!important;
  border-radius:16px!important;
  text-align:center!important;
  margin:0 0 4px!important;
}
.li-modern-home .li-modern-news24 .li-news24-info strong,
.li-modern-home .li-modern-news24 .li-news24-info.title strong,
.li-modern-home .li-modern-news24 .the-content .title a{
  display:block!important;
  font-family:"TheSans",Arial,Tahoma,sans-serif!important;
  color:#111!important;
  
  line-height:1.28!important;
  font-weight:700!important;
  max-height:42px!important;
  
}
.li-news24-controls{
  position:absolute!important;
  left:-22px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  z-index:20!important;
  width:22px!important;
}
.li-news24-scroll-btn{
  display:block!important;
  width:22px!important;
  height:26px!important;
  line-height:22px!important;
  padding:0!important;
  border:0!important;
  background:#f00909!important;
  color:#fff!important;
  font-size:15px!important;
  font-weight:700!important;
  cursor:pointer!important;
  margin:1px 0!important;
  border-radius:2px!important;
}
.li-news24-scroll-btn:hover{background:#c60000!important;}
@media(max-width:900px){
  .li-modern-home .li-modern-slider .carousel-content .title h2{font-size:22px!important;}
  .li-modern-home .li-modern-slider .carousel-content .img,
  .li-modern-home .li-modern-slider .carousel-content .img img{height:260px!important;min-height:260px!important;}
  .li-modern-home .li-modern-news24 .li-news24-list{height:auto!important;max-height:none!important;}
  .li-news24-controls{display:none!important;}
}

/* Build 015: News24 two-line titles + tighter slider pagination */
.li-modern-home .li-modern-slider .img-carousel{
  margin-bottom:0!important;
  padding-bottom:0!important;
}
.li-modern-home .li-modern-slider .owl-carousel,
.li-modern-home .li-modern-slider .owl-stage-outer,
.li-modern-home .li-modern-slider .owl-stage,
.li-modern-home .li-modern-slider .owl-item,
.li-modern-home .li-modern-slider .carousel-content{
  margin-bottom:0!important;
  padding-bottom:0!important;
}
.li-modern-home .li-modern-slider .carousel-content .img,
.li-modern-home .li-modern-slider .carousel-content .img img{
  margin-bottom:0!important;
  padding-bottom:0!important;
  vertical-align:top!important;
}
.li-modern-home .li-modern-slider .owl-dots,
.li-modern-home .li-modern-slider .owl-controls,
.li-modern-home .li-modern-slider .owl-pagination{
  margin-top:4px!important;
  padding-top:0!important;
  line-height:1!important;
}
.li-modern-home .li-modern-slider .owl-dots .owl-dot,
.li-modern-home .li-modern-slider .owl-pagination .owl-page{
  margin-top:0!important;
}

.li-modern-home .li-modern-news24 .li-news24-item,
.li-modern-home .li-modern-news24 .li-news24-item.the-content,
.li-modern-home .li-modern-news24 .the-content{
  height:88px!important;
  min-height:88px!important;
  padding:7px 8px!important;
}
.li-modern-home .li-modern-news24 .li-news24-item a,
.li-modern-home .li-modern-news24 .li-news24-item.the-content a{
  align-items:center!important;
  height:74px!important;
}
.li-modern-home .li-modern-news24 .li-news24-thumb{
  height:70px!important;
}
.li-modern-home .li-modern-news24 .li-news24-thumb img{
  height:70px!important;
}
.li-modern-home .li-modern-news24 .li-news24-info strong,
.li-modern-home .li-modern-news24 .li-news24-info.title strong,
.li-modern-home .li-modern-news24 .the-content .title a{
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  white-space:normal!important;
  font-size:16px!important;
  line-height:1.35!important;
  max-height:44px!important;
  min-height:38px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.li-modern-home .li-modern-news24 .li-news24-list,
.li-modern-home .li-modern-news24 .li-latest-widget,
.li-modern-home .li-modern-news24 .vertical-slide{
  height:440px!important;
  max-height:440px!important;
}

/* =========================================================
   Build 055.2 - Modern categories section matching approved mockup
   ========================================================= */
.li-categories-build0552{
  max-width:1000px!important;
  margin:24px auto 30px!important;
  padding:14px 14px 18px!important;
  background:#fff!important;
  border:1px solid #ececec!important;
  border-radius:7px!important;
  box-shadow:0 3px 14px rgba(0,0,0,.06)!important;
  box-sizing:border-box!important;
}
.li-categories-modern-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:15px!important;
  margin:0 0 14px!important;
  padding:0 2px 10px!important;
  border-bottom:2px solid #e40000!important;
}
.li-categories-modern-head h2{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  margin:0!important;
  color:#222!important;
  font-family:'TheSans',Arial,Tahoma,sans-serif!important;
  font-size:25px!important;
  line-height:1.2!important;
  font-weight:800!important;
}
.li-categories-head-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:28px!important;
  height:28px!important;
  color:#e00000!important;
  font-size:25px!important;
  line-height:1!important;
}
.li-categories-all{
  display:inline-flex!important;
  align-items:center!important;
  gap:9px!important;
  min-height:34px!important;
  padding:0 14px!important;
  border-radius:4px!important;
  background:#d90000!important;
  color:#fff!important;
  font-size:14px!important;
  font-weight:700!important;
  text-decoration:none!important;
  box-shadow:0 2px 5px rgba(217,0,0,.2)!important;
  transition:background .2s ease,transform .2s ease!important;
}
.li-categories-all:hover{background:#b80000!important;color:#fff!important;transform:translateY(-1px)!important;}
.li-categories-build0552 .li-categories-pro-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
  align-items:stretch!important;
}
.li-categories-build0552 .li-cat-pro-card{
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  overflow:hidden!important;
  background:#fff!important;
  border:1px solid #efbaba!important;
  border-radius:8px!important;
  box-shadow:0 2px 8px rgba(0,0,0,.06)!important;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important;
}
.li-categories-build0552 .li-cat-pro-card:hover{
  transform:translateY(-4px)!important;
  border-color:#e40000!important;
  box-shadow:0 8px 20px rgba(0,0,0,.11)!important;
}
.li-categories-build0552 .li-cat-pro-title-row{
  min-height:40px!important;
  display:flex!important;
  align-items:center!important;
  margin:0!important;
  padding:0 11px!important;
  border:0!important;
  border-bottom:2px solid #e40000!important;
  background:#fff!important;
}
.li-categories-build0552 .li-cat-pro-title-row h3{margin:0!important;width:100%!important;}
.li-categories-build0552 .li-cat-pro-title-row h3 a{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  color:#d60000!important;
  font-family:'TheSans',Arial,Tahoma,sans-serif!important;
  font-size:17px!important;
  line-height:1.2!important;
  font-weight:800!important;
  text-decoration:none!important;
}
.li-categories-build0552 .li-cat-pro-icon{
  order:2!important;
  color:#e00000!important;
  font-size:19px!important;
  line-height:1!important;
}
.li-categories-build0552 .li-cat-pro-main{
  display:block!important;
  color:#111!important;
  text-decoration:none!important;
}
.li-categories-build0552 .li-cat-pro-img{
  display:block!important;
  width:100%!important;
  aspect-ratio:16/8.8!important;
  overflow:hidden!important;
  background:#eee!important;
}
.li-categories-build0552 .li-cat-pro-img img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
  transition:transform .4s ease!important;
}
.li-categories-build0552 .li-cat-pro-card:hover .li-cat-pro-img img{transform:scale(1.055)!important;}
.li-categories-build0552 .li-cat-pro-main-content{
  display:flex!important;
  flex-direction:column!important;
  padding:9px 11px 7px!important;
  min-height:77px!important;
  box-sizing:border-box!important;
}
.li-categories-build0552 .li-cat-pro-main-content small{
  order:2!important;
  color:#999!important;
  font-size:10px!important;
  line-height:1.2!important;
  margin-top:5px!important;
  text-align:left!important;
}
.li-categories-build0552 .li-cat-pro-main-content strong{
  order:1!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
  min-height:44px!important;
  color:#222!important;
  font-size:15px!important;
  line-height:1.45!important;
  font-weight:800!important;
  text-align:right!important;
}
.li-categories-build0552 .li-cat-pro-list{
  display:flex!important;
  flex-direction:column!important;
  flex:1 1 auto!important;
  margin:0!important;
  padding:2px 11px 3px!important;
  border-top:1px solid #eee!important;
}
.li-categories-build0552 .li-cat-pro-list a{
  position:relative!important;
  display:block!important;
  min-height:34px!important;
  padding:8px 12px 7px 0!important;
  border-bottom:1px dotted #ddd!important;
  color:#333!important;
  text-decoration:none!important;
}
.li-categories-build0552 .li-cat-pro-list a:last-child{border-bottom:0!important;}
.li-categories-build0552 .li-cat-pro-list a:before{
  content:'•'!important;
  position:absolute!important;
  right:0!important;
  top:6px!important;
  color:#e00000!important;
  font-size:17px!important;
  font-weight:900!important;
}
.li-categories-build0552 .li-cat-pro-list strong{
  display:-webkit-box!important;
  -webkit-line-clamp:1!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
  font-size:12.5px!important;
  line-height:1.5!important;
  font-weight:600!important;
}
.li-categories-build0552 .li-cat-pro-list a:hover strong{color:#d60000!important;}
.li-categories-build0552 .li-cat-card-more{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
  align-self:flex-start!important;
  margin:4px 11px 10px!important;
  color:#d60000!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:800!important;
  text-decoration:none!important;
}
.li-categories-build0552 .li-cat-card-more:hover{color:#990000!important;}
@media(max-width:980px){
  .li-categories-build0552 .li-categories-pro-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:600px){
  .li-categories-build0552{margin:18px 10px 24px!important;padding:11px!important;}
  .li-categories-modern-head h2{font-size:21px!important;}
  .li-categories-all{padding:0 10px!important;font-size:12px!important;}
  .li-categories-build0552 .li-categories-pro-grid{grid-template-columns:1fr!important;gap:12px!important;}
  .li-categories-build0552 .li-cat-pro-img{aspect-ratio:16/9!important;}
}

/* =========================================================
   Build 111 — final homepage polish
   1) Stronger News24 heading
   2) More breathing room below section-card headlines
   3) Uniform category badges over section images
   ========================================================= */
.li-modern-home .li-modern-news24 .heading .title,
.li-modern-home .li-modern-news24 .widget-title,
.li-modern-home .li-modern-news24 h2.title{
  font-family:'TheSans',Arial,Tahoma,sans-serif!important;
  font-size:20px!important;
  font-weight:800!important;
  line-height:1.35!important;
  -webkit-font-smoothing:antialiased!important;
  text-rendering:optimizeLegibility!important;
}

@media(max-width:520px){
  .li-modern-home .li-modern-news24 .heading .title,
  .li-modern-home .li-modern-news24 .widget-title,
  .li-modern-home .li-modern-news24 h2.title{
    font-size:19px!important;
    font-weight:800!important;
  }
}


/* Build 126: Accessibility */
.screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.screen-reader-text:focus,.li-skip-link:focus{position:fixed!important;top:12px!important;right:12px!important;width:auto!important;height:auto!important;margin:0!important;padding:12px 18px!important;overflow:visible!important;clip:auto!important;white-space:normal!important;background:#fff!important;color:#111!important;border:2px solid #c90000!important;border-radius:4px!important;z-index:100000!important;text-decoration:none!important}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid currentColor!important;outline-offset:3px!important}
.li-h61-search-box input:focus-visible,.li-h61-drawer-search input:focus-visible,.li-f62-newsletter-form input[type=email]:focus-visible{outline:3px solid #c90000!important;outline-offset:2px!important}
.li-hero-arrow:focus-visible,.li-news24-scroll-btn:focus-visible,.li-opinion-pro-arrow:focus-visible{outline:3px solid #fff!important;outline-offset:3px!important}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
