/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

.category-slider {
	border-radius: 5px;
	padding: 0px 5px;
	white-space: nowrap;
	font-size: 20px;
	line-height: 30px;
	font-weight: 700 !important;
	color: #fff;
	letter-spacing: 0px;
}

.text-slider {
	white-space: nowrap;
	font-size: 13px;
	line-height: 20px;
	font-weight: 700;
	color: #ffffff;
	letter-spacing: 0px;
}

.dark .navbar-nav.nav-sm .nav-link {
	color: #fff;
}


.textShadow-gray {
	color: #cecece;
	text-shadow: 1px 1px #000;
}

/* Photo PDF */
.un-photo {
	max-width: 150px;
	height: 140px;
	width: 130px;
	margin: auto;
	visibility: hidden;
	cursor: pointer;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	box-shadow: 2px 2px;
}

.un-photo>img {
	visibility: visible;
	display: block;
	box-shadow: 0px 0px 7px 3px;
	transition: opacity 0.3s linear, transform 0.4s cubic-bezier(0.075, 0.82, 0.165, 1) !important;
	transform: rotate(-20deg) translateY(80px) translateX(45px);
}

.un-photo:before {
	content: '';
	display: block;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
	z-index: 1001;
	visibility: visible;
	opacity: 0;
	transition: opacity 0.4s linear;
	pointer-events: none;
}

.un-photo:hover {
	z-index: 1006;
}

.un-photo:hover>img {
	opacity: 1;
	z-index: 999;
	transform: rotate(-20deg) scale(1.2) translateY(30px) translateX(30px);
}

/* ---------------------------------- */
.un-photo__popup {
	z-index: 1005;
	position: fixed;
	display: inline-block;
	width: 80%;
	max-width: 800px;
	max-height: 120vh;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	pointer-events: none;
	background: inherit;
	visibility: visible;
	z-index: 1007;
}

.un-photo__popup img {
	opacity: 1;
	width: auto;
	height: 500px;
	max-height: 100%;
	max-width: 100%;
	outline: solid 1px #000;
}

@supports (--row-size: calc(100% / var(--row-total))) {
	.un-photo__popup {
		visibility: hidden;
		opacity: 0;
		transition: opacity 0.4s linear;
	}

	.un-photo__row {
		--row-size: calc(100% / var(--row-total));
		position: absolute;
		width: 100%;
		left: 0%;
		top: calc(0% + (var(--row-size) * var(--row-index)));
		height: var(--row-size);
		background: inherit;
		overflow: hidden;
		transform-origin: 0 0;
		transform-origin: calc(var(--random) * 50%) 50%;
		transform: scale(0.8) translate(0%, calc(var(--random) * 20%));
		transform: translate(0, 0) scale(1);
		animation-name: photo-bounce;
		animation-fill-mode: both;
		animation-direction: forwards;
		animation-delay: 0.1s;
		animation-duration: 0.4s;
		animation-timing-function: steps(1);
	}

	.un-photo__row-inner {
		opacity: 1;
		visibility: visible;
		position: absolute;
		background: inherit;
		width: 100%;
		height: calc(100% * var(--row-total));
		transform: translateY(calc(-1 * (100% / var(--row-total)) * var(--row-index)));
	}

	.un-photo:hover .un-photo__popup {
		opacity: 1;
	}

	.un-photo:hover:before {
		opacity: 0.4;
	}

	.un-photo:hover .un-photo__row {
		animation-name: photo-bounce2;
		animation-duration: 0.3s;
		animation-iteration-count: 1;
		animation-direction: reverse;
		animation-timing-function: steps(1);
	}
}

@keyframes photo-bounce {
	25% {
		transform: translate(-10%, 0%) scale(1);
	}

	50% {
		transform: translate(10%, -2%) scale(1.3);
	}

	75% {
		transform: translate(-3%, 2%) scale(0.9);
	}
}

@keyframes photo-bounce2 {
	25% {
		transform: translate(5%, 0%) scale(1);
	}

	50% {
		transform: translate(-10%, -2%) scale(1.3);
	}

	75% {
		transform: translate(10%, 5%) scale(0.9);
	}
}

/* END Photo PDF */
/* Revolution Slider Styles */
.hesperiden .tp-tab {
	border-bottom: 0;
}

.hesperiden .tp-tab:hover,
.hesperiden .tp-tab.selected {
	background-color: #E5E5E5;
}

.rounded-well {
	border-radius: 1rem !important;
}

.centerAlign {
	align-items: center;
}
.d-Center{
    flex-wrap: wrap;
    text-align: -webkit-center;
	text-align: -moz-center;
    justify-content: center;
    align-content: center;
    flex-direction: row;
}
.textShadow {
	color: #fff !important;
	text-shadow: 1px 1px #000 !important;
}

.textLight {
	color: #000 !important;
	text-shadow: 1px 1px #fff !important;
}

.dark .textLight {
	color: #fff !important;
	text-shadow: 1px 1px #000 !important;
}
.textDark {
	color: #000 !important;
	text-shadow: 1px 1px #fff !important;
}

.dark .textLight:hover {
	color: #fff !important;
	text-shadow: 1px 1px #000 !important;
}

.outLine {
	color: #000;
	text-shadow: 1px 1px #fff;
	box-shadow: 0 0 0 0.25rem #FE1519;
}

.backShadow{
	background-color: #fff !important
}

.dark .backShadow {
	background-color: #212529 !important
}
.dark .outLine {
	color: #fff;
	text-shadow: 1px 1px #000;
	box-shadow: 0 0 0 0.25rem rgb(222 222 222 / 50%);
}

.outLine:hover {
	color: #fff;
	text-shadow: 1px 1px #000;
	box-shadow: 0 0 0 0.25rem rgb(55 55 55 / 50%);
}

.dark .outLine:hover {
	box-shadow: 0 0 0 0.25rem rgb(0 0 0 / 50%);
	border-color: #fff;
	box-shadow: 0 0 0 0.25rem #fff;
}

.todayPDF {
	padding-right: 10px;
	display: flex;
	align-items: flex-end;
}

/* common */
.ribbon {
	width: 147px;
	height: 150px;
	overflow: hidden;
	position: absolute;
}

.ribbon::before,
.ribbon::after {
	position: absolute;
	z-index: -1;
	content: '';
	display: block;
	border: 5px solid #8d242e;
}

.ribbon span {
	position: absolute;
	display: block;
	width: 225px;
	padding: 12px 0;
	background-color: #DC3545;
	/* box-shadow: 0 5px 10px rgba(0,0,0,.1); */
	box-shadow: 0 0 0 3px #DC3545, 0px 21px 5px -18px rgb(0 0 0 / 60%);
	color: #fff;
	line-height: 40px;
	font: 700 22px/1 'Lato', sans-serif;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
	text-transform: uppercase;
	text-align: center;
	border: 1px dashed;
}

/* top left*/
.ribbon-top-left {
	top: -10px;
	left: -10px;
}

.ribbon-top-left::before,
.ribbon-top-left::after {
	border-top-color: transparent;
	border-left-color: transparent;
}

.ribbon-top-left::before {
	top: 0;
	right: 0;
}

.ribbon-top-left::after {
	bottom: 0;
	left: 0;
}

.ribbon-top-left span {
	right: -25px;
	top: 30px;
	transform: rotate(-45deg);
}

.Urgent {
	position: fixed !important;
	z-index: 2000;
	bottom: 0px;
	right: 0;
	margin: 5px !important;
	width: fit-content;
	background: #DC3545;
	color: #fff;

}

.notif {
	background-image: linear-gradient(to bottom, #ff000080, #dc3545);
	color: #fff;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
	padding: 5px 10px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
	border: 1px solid;
	/* background-color: #dc3545; */
	border-color: #d10;
}

#urgentNews {
	position: fixed !important;
	z-index: 2000;
	bottom: -18px;
	right: 0;
	margin: 5px !important;
	width: -webkit-fill-available;
}

.preText {
	text-align: justify;
	text-align: justify;
	white-space: pre-wrap;
	white-space: -moz-pre-wrap;
	white-space: -pre-wrap;
	white-space: -o-pre-wrap;
	word-wrap: normal;
	line-height: 2;
}

.row:has(> .sticky-sidebar-wrap) {
	align-items: flex-start;
}

.sticky-sidebar-wrap {
	min-height: fit-content;
	margin-bottom: 5px;
}

.rev_slider li.tp-revslider-slidesli {
	background-color: white !important
}

.dark .rev_slider li.tp-revslider-slidesli {
	background-color: #333 !important
}

.pdfPic {
	width: 100%;
	height: 125px;
	
	background-repeat: no-repeat;
	background-size: cover;
	background-position: top;
	border: 1px solid;
	border-radius: 5px;
	transition: 1s ease;
	/* transform: rotate(-20deg) translateY(60px)  translateX(45px); */
}

.pdfPic:hover {
	background-position: bottom;
	border: 1px solid #FE1519;
	border-radius: 10px;
	box-shadow: 0px 0px 10px 1px #FE1519;
}

.fluid-width-video-wrapper {
	position: unset !important;
}

.theLogo {
	width: 88px;
	height: 88px;
	background-image: url("/static/images/logoHD.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	border-radius: 50%;
}

.HeaderCard {
	height: 125px;
	border: 1px solid #FE1519;
	border-radius: 10px;
	box-shadow: 0px 0px 3px 1px #FE1519;
}
.HeaderRed {
	height: auto;
	border: 2px solid #dc3545;
	border-radius: 5px;
	box-shadow: 0px 0px 3px 1px #dc3545;
}
.fixed-150 {
	height: 150px!important;
	object-fit: cover;
	object-position: top;
	transition: 0.5s ease-out;
}
.fixed-150:hover {
	object-position: bottom;
	transform: scale3d(1.1, 1.1, 1.1);
}
.fixed-200 {
	height: 200px!important;
	object-fit: cover;
	object-position: center;
	transition: 0.5s ease-out;
}
.fixed-200:hover {
	object-position: bottom;
	transform: scale3d(1.1, 1.1, 1.1);
}
.fixed-50 {
	/* width: 100px; */
	height: 75px!important;
	object-fit: cover;
	object-position: top;
	transition: 0.5s ease-out;
}
.fixed-50:hover {
	object-position: bottom;
	transform: scale3d(1.1, 1.1, 1.1);
}


.fixed-100 {
	/* width: 100px; */
	height: 100px!important;
	object-fit: cover;
	object-position: top;
	transition: 0.5s ease-out;
}
.fixed-100:hover {
	object-position: bottom;
	transform: scale3d(1.1, 1.1, 1.1);
}
.highlightNumber{
	font-style: italic;
	font-size: 24px!important;
	font-family: sans-serif!important;
	/* top | right | bottom | left */
	margin: 0 5px 10px 0  ;	
}
.rai2{
	background-image: url(/static/images/rai2.webp);
	background-color: #fff;
    background-repeat: no-repeat;
    background-size: contain;
	background-blend-mode: darken;
    text-align: right;
	font-size: 16px;
}
.vid2{
	background-image: url(/static/images/vid2.webp);
	background-color: #fff;
    background-repeat: no-repeat;
    background-size: contain;
	background-position: right;
	background-blend-mode: darken;
    text-align: left;
	font-size: 16px;
}

/* UI DatePicker */

	.ui-datepicker td span, .ui-datepicker td a{
		text-align: center;
	}
	.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
		border: 1px solid #495057;
		background: #FE1519!important;
		font-weight: bold;
		color: #ffffff!important;
		border-radius: 10px;
	}
	.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary {
		opacity: 1;
		font-weight: normal;
	}
	.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current, .ui-datepicker-rtl .ui-datepicker-group {
		float: none;
		font-family: 'Droid Arabic Kufi';
		border: 2px solid var(--themecolor);
	}
/* Gallery Home */
.week-posts {
	list-style: none;
}

.week-posts li .entry-image {
	display: none;
}

.week-posts > li {
	counter-increment: step-counter;
}

.week-posts > li .grid-inner::before {
	content: "0" counter(step-counter)'.';
	position: absolute;
	right: 0;
	font-size: 26px;
	font-weight: 700;
	color: #FE1519;
	line-height: 1;
}

.week-posts > li .grid-inner {
	padding-right: 48px;
}

.dark .week-posts > li::before { color: #00a0d64d; }

/* MISC */
.KW_progressContainer {
	left:0;
	width: 100%;
	height: 0.4em;
	margin-bottom: 0px;
	position: fixed;
	bottom: 0px;
	overflow: hidden;
	background-color: #fff;
	content: "";
	display: table;
	table-layout: fixed;
}
  
.KW_progressBar {
	width: 0%;
	float: left;
	height: 100%;
	z-index:999999;
	max-width: 100%;
	background-color:#FE1519;
	/* background-color:#d60000; */
	-webkit-transition: width .6s ease;
	-o-transition: width .6s ease;
	transition: width .6s ease;
}

/* Select 2 */

.dark .select2-search input{ background-color: #373738; color: #fff;}
.dark .select2-search { background-color: #2e2e31; }
.dark .select2-results { background-color: #2e2e31; }
.dark .select2-container--default .select2-selection--single{background-color: #373738;	}
.dark .select2-container--default .select2-results__option--selected{background-color:#fff ; color: #FE1519; font-weight: bold;}
.dark .select2-selection--single  .select2-selection__rendered  { color: #fff!important;  }
.dark .select2-selection--single { background-color: #383838!important;  }
.dark .nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {color: #fff;  background-color: #383838; border-color:  #686c6f  #686c6f #383838  #686c6f;}
.dark .nav-link { color: #EEE; 
	/* background-color: #646664;  */
	margin-left: 1px; }

/* Clock */

.dark .clockpicker-popover .popover-content{
	background-color: #212529;
}
.dark .clockpicker-popover .popover-title{
	background-color: #212529;
	color: #dfdbdb;
}
.dark .clockpicker-plate{
	background-color: #212529;
}
.dark .clockpicker-tick{
	color: #dfdbdb;
	text-shadow: 1px 1px #000;

}
.dark .popover.bottom>.arrow:after, .popover.bottom>.arrow:after{
	border-bottom-color : transparent
}

.unselectable {
	-webkit-user-select: none;
	-webkit-touch-callout: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
  }

/* HeadPulse Animation */
.HeadPulse {
	/* margin:100px; */
	/* display: block; */
	/* width: 22px; */
	/* height: 22px; */
	/* border-radius: 50%; */
	cursor: pointer;
	background-color: fade(red, 65%);
    box-shadow: 0 0 0 fade(red, 40%);
	animation: HeadPulse 1.5s infinite;
	
  }
  .HeadPulse:hover {
	animation: none;
  }
  
  @-webkit-keyframes HeadPulse {
	0% {
		-webkit-box-shadow: 0 0 0 0 fade(red, 40%);
	  }
	  70% {
		  -webkit-box-shadow: 0 0 0 10px transparent;
	  }
	  100% {
		  -webkit-box-shadow: 0 0 0 0 transparent;
	  }
  }
  @keyframes HeadPulse {
	0% {
		-moz-box-shadow: 0 0 0 0 fade(red, 40%);
		box-shadow: 0 0 0 0 fade(red, 40%);
	  }
	  70% {
		  -moz-box-shadow: 0 0 0 10px transparent;
		  box-shadow: 0 0 0 10px transparent;
	  }
	  100% {
		  -moz-box-shadow: 0 0 0 0 transparent;
		  box-shadow: 0 0 0 0 transparent;
	  }
  }
 
.button__badge {
	background-color: #d41527bf;
    color: white;
	font-weight: bold;
    border-radius: 0px 0px 0px 7px;
	letter-spacing: 1px;
    padding: 3px 10px;
    position: absolute;
    font-size: 12px;
    top: 0;
    right: 0;
}

/* ================================================================
   BOLA SPORTS — SITE-WIDE THEME OVERRIDES
   Makes Bola visually distinct from Bola.
   Covers: topbar, masthead, navigation, ticker, utility chrome.
   All index-page layout classes live in template/index.html.
   ================================================================ */

/* ── Page background ─────────────────────────────────────────── */
body:not(.dark) { background: #f7f7f5; }

/* ── Utility topbar: jet black ───────────────────────────────── */
#top-bar {
  background: #0C0C0C !important;
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
}
#top-bar a,
#top-bar .date-today { color: rgba(255,255,255,.62) !important; }
#top-bar a:hover    { color: #fff !important; }
#top-social li a {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,.15) !important;
  color: rgba(255,255,255,.65) !important;
}
#top-social li a:hover {
  background: var(--color-brand) !important;
  border-color: var(--color-brand) !important;
  color: #fff !important;
}
.top-links-item a { color: rgba(255,255,255,.62) !important; }
.top-links-item a:hover { color: #fff !important; }

/* ── Main header (logo zone): dark ──────────────────────────── */
body:not(.dark) #header {
  background: #111 !important;
  border-bottom: none !important;
}

/* Logo is a colour circular badge — no filter needed on either mode */
.theLogo { filter: none; }
.dark .theLogo { filter: none; }

/* PDF thumbnail border on dark header */
.pdfPic {
  border-color: rgba(255,255,255,.2) !important;
  box-shadow: none !important;
}
.pdfPic:hover {
  border-color: var(--color-brand) !important;
  box-shadow: 0 0 10px 1px var(--color-brand) !important;
}

/* Live video iframe border on dark header */
.HeaderCard {
  border-color: rgba(255,255,255,.2) !important;
  box-shadow: none !important;
}

/* ── Navigation bar: Bola red ────────────────────────────────── */
body:not(.dark) #header-wrap {
  background: var(--color-brand) !important;
  border-bottom: 3px solid #8B1A1A !important;
}

/* Nav links white text */
body:not(.dark) #header #header-wrap .menu-container > .menu-item > .menu-link,
body:not(.dark) #header #header-wrap .menu-container > .menu-item > .menu-link div {
  color: rgba(255,255,255,.92) !important;
  font-weight: 700;
  letter-spacing: .2px;
}
body:not(.dark) #header #header-wrap .menu-container > .menu-item:hover > .menu-link,
body:not(.dark) #header #header-wrap .menu-container > .menu-item.current > .menu-link {
  background: rgba(0,0,0,.22) !important;
  color: #fff !important;
}
body:not(.dark) #header #header-wrap .menu-container > .menu-item.current > .menu-link {
  border-bottom: 3px solid rgba(255,255,255,.6) !important;
}

/* Header misc icons (search, dark toggle) — white */
body:not(.dark) #header #header-wrap .header-misc-icon a,
body:not(.dark) #header #header-wrap .header-misc-icon i { color: rgba(255,255,255,.88) !important; }

/* Mobile hamburger — white strokes */
#primary-menu-trigger .svg-trigger path { stroke: rgba(255,255,255,.92) !important; }

/* Mega menus stay white (readable) */
.mega-menu-content {
  background: #fff !important;
  border-top: 3px solid var(--color-brand) !important;
}
.mega-menu-content .menu-link,
.sub-menu-container .menu-link { color: #222 !important; }
.mega-menu-content .menu-item:hover .menu-link,
.sub-menu-container .menu-item:hover .menu-link { color: var(--color-brand) !important; }

/* Dark mode: the dropdown surface must be dark too (overrides the forced-white above) */
.dark .mega-menu-content {
  background: #2a2a2a !important;
  border-top-color: var(--color-brand) !important;
}
.dark .mega-menu-content .menu-link,
.dark .sub-menu-container .menu-link { color: #E9E9E9 !important; }
.dark .mega-menu-content .menu-item:hover .menu-link,
.dark .sub-menu-container .menu-item:hover .menu-link { color: var(--color-brand) !important; }
.dark .mega-menu-content .menu-item:hover > .menu-link { background: rgba(255,255,255,0.06) !important; }
.bg-color-home { background: var(--color-brand) !important; color: #fff !important; }
.bg-color-home:hover,
.bg-color-home.active { background: #8B1A1A !important; }

/* ── Breaking ticker: very dark ─────────────────────────────── */
#breakingTicker {
  background: #0C0C0C !important;
  border-radius: 0 !important;
  margin-top: 0 !important;
  border: none !important;
}
.acme-news-ticker-label {
  background: var(--color-brand) !important;
  color: #fff !important;
  font-family: 'Markazi Text', serif !important;
}
#breakingTicker .acme-news-ticker-box a { color: rgba(255,255,255,.82) !important; }
.acme-news-ticker-controls button {
  border-color: rgba(255,255,255,.2) !important;
  background: rgba(255,255,255,.06) !important;
}

/* ── Search overlay ──────────────────────────────────────────── */
body:not(.dark) #top-search-trigger i { color: rgba(255,255,255,.88) !important; }
.top-search-form { background: #111 !important; border-top: 1px solid rgba(255,255,255,.1) !important; }
.top-search-form input {
  color: #fff !important;
  background: transparent !important;
  border-color: rgba(255,255,255,.15) !important;
}

/* ── Progress bar, Go-top, PDF hover ─────────────────────────── */
.KW_progressBar     { background-color: var(--color-brand) !important; }
#gotoTop            { background: var(--color-brand) !important; }
#gotoTop:hover      { background: #8B1A1A !important; }
.pdfPic:hover       { border-color: var(--color-brand) !important; box-shadow: 0 0 10px 1px var(--color-brand) !important; }

/* ── Header-wrap-clone height (nav bar) ──────────────────────── */
.header-wrap-clone  { height: 57px !important; }

/* ── line-home: use brand color ──────────────────────────────── */
.line-home { background: var(--color-brand) !important; }

/* ================================================================
   BOLA INDEX — LAYOUT COMPONENTS
   ================================================================ */

/* ── Full-width editorial section band ───────────────────────── */
.bola-band {
  background: var(--color-brand);
  color: #fff;
  padding: 9px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
.bola-band::after {
  content: '';
  position: absolute;
  bottom: -5px; right: 0; left: 0;
  height: 5px;
  background: linear-gradient(to bottom, rgba(180,20,20,.25), transparent);
  pointer-events: none;
}
.bola-band a, .bola-band a:hover { color: #fff; }
.bola-band__title {
  font-family: 'Markazi Text', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: .2px;
}
.bola-band__more {
  margin-right: auto;   /* RTL: push to left edge */
  font-size: .75rem;
  opacity: .78;
  border: 1px solid rgba(255,255,255,.38);
  padding: 2px 12px;
  border-radius: 20px;
  white-space: nowrap;
  transition: opacity .15s, background .15s;
  font-family: 'Noto Naskh Arabic', serif;
}
.bola-band__more:hover { opacity: 1; background: rgba(0,0,0,.18); }

/* Dark variant */
.bola-band--dark { background: #111; }

/* Inset variant (inside a .card — bleeds to edges) */
.bola-band--incard { margin: -16px -16px 14px; border-radius: 0; }

/* ── Hero feature (65 / 35 split) ────────────────────────────── */
.bola-feature {
  display: grid;
  grid-template-columns: 13fr 7fr;
  gap: 2px;
  background: #111;
  min-height: 480px;
}
.bola-feature__main {
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
  display: block;
}
.bola-feature__bg {
  position: absolute; inset: 0;
  background: center/cover no-repeat;
  transition: transform .65s ease;
}
.bola-feature__main:hover .bola-feature__bg { transform: scale(1.04); }
.bola-feature__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.92) 0%,
    rgba(0,0,0,.55) 40%,
    rgba(0,0,0,.05) 100%
  );
}
.bola-feature__body {
  position: absolute;
  bottom: 0; right: 0; left: 0;
  padding: 28px 32px;
}
.bola-feature__cat {
  display: inline-block;
  background: var(--color-brand);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .7px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 14px;
  font-family: 'Montserrat', sans-serif;
}
.bola-feature__title {
  font-family: 'Markazi Text', serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0,0,0,.65);
  margin-bottom: 10px;
}
.bola-feature__excerpt {
  color: rgba(255,255,255,.72);
  font-size: .88rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bola-feature__cta {
  display: inline-block;
  margin-top: 16px;
  color: var(--color-accent);
  font-family: 'Markazi Text', serif;
  font-size: 1.05rem;
  font-weight: 700;
  transition: color .15s;
}
.bola-feature__cta:hover { color: #fff; }

/* ── Hero sidebar (stacked article list) ─────────────────────── */
.bola-feature__side {
  display: flex;
  flex-direction: column;
  background: #fff;
}
.bola-side-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-bottom: 1px solid #ece8e8;
  flex: 1;
  position: relative;
  transition: background .15s;
  color: inherit;
}
.bola-side-item::before {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--color-brand);
  opacity: 0;
  transition: opacity .15s;
}
.bola-side-item:hover { background: #fff8f8; color: inherit; }
.bola-side-item:hover::before { opacity: 1; }
.bola-side-item:last-child { border-bottom: none; }
.bola-side-item__img {
  width: 82px;
  height: 62px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 2px;
}
.bola-side-item__cat {
  font-size: .62rem;
  font-weight: 700;
  color: var(--color-brand);
  text-transform: uppercase;
  letter-spacing: .5px;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 4px;
}
.bola-side-item__title {
  font-family: 'Markazi Text', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
}
.bola-side-item:hover .bola-side-item__title { color: var(--color-brand); }

/* ── 3-strip (Slider5/6/7) ───────────────────────────────────── */
.bola-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: #111;
  height: 230px;
}
.bola-strip__item {
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
  display: block;
}
.bola-strip__bg {
  position: absolute; inset: 0;
  background: center/cover no-repeat;
  transition: transform .5s ease;
}
.bola-strip__item:hover .bola-strip__bg { transform: scale(1.06); }
.bola-strip__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.18) 100%);
}
.bola-strip__body {
  position: absolute;
  bottom: 0; right: 0; left: 0;
  padding: 14px 18px;
}
.bola-strip__cat {
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--color-accent);
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 6px;
}
.bola-strip__title {
  font-family: 'Markazi Text', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  text-shadow: 0 1px 5px rgba(0,0,0,.7);
}

/* ── Live news bar ───────────────────────────────────────────── */
.bola-livebar {
  background: #111;
  display: flex;
  align-items: stretch;
  min-height: 48px;
  overflow: hidden;
}
.bola-livebar__label {
  background: var(--color-brand);
  color: #fff;
  font-family: 'Markazi Text', serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}
.bola-livebar__items {
  display: flex;
  align-items: center;
  overflow: hidden;
  flex: 1;
}
.bola-livebar__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-right: 1px solid rgba(255,255,255,.09);
  height: 100%;
  min-width: 0;
}
.bola-livebar__time {
  color: var(--color-accent);
  font-size: .72rem;
  font-weight: 700;
  white-space: nowrap;
  font-family: 'Montserrat', sans-serif;
  direction: ltr;
  flex-shrink: 0;
}
.bola-livebar__text {
  color: rgba(255,255,255,.78);
  font-size: .86rem;
  font-family: 'Noto Naskh Arabic', serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bola-livebar__text a { color: inherit; }
.bola-livebar__text a:hover { color: var(--color-accent); }

/* ── Article grid ────────────────────────────────────────────── */
.bola-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #ddd;
  border: 1px solid #ddd;
}
.bola-grid--3 { grid-template-columns: repeat(3, 1fr); }
.bola-grid--2 { grid-template-columns: repeat(2, 1fr); }
.bola-grid__item {
  background: #fff;
  padding: 14px;
  display: block;
  color: inherit;
  transition: background .15s;
}
.bola-grid__item:hover { background: #fff8f8; color: inherit; }
.bola-grid__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  margin-bottom: 10px;
}
.bola-grid__img--sm { height: 130px; }
.bola-grid__cat {
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--color-brand);
  margin-bottom: 5px;
  font-family: 'Montserrat', sans-serif;
}
.bola-grid__title {
  font-family: 'Markazi Text', serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
}
.bola-grid__item:hover .bola-grid__title { color: var(--color-brand); }
.bola-grid__excerpt { font-size: .82rem; color: #666; line-height: 1.55; margin-top: 6px; }

/* ── 2-column split section ──────────────────────────────────── */
.bola-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: #ddd;
}
.bola-split__col { background: #fff; }
.bola-split__col-inner { padding: 0 16px 16px; }

/* Side items inside split columns — no border-right (covered by grid gap) */
.bola-split__col .bola-side-item {
  border-right: none;
  padding-right: 0;
  padding-left: 0;
}
.bola-split__col .bola-side-item::before { display: none; }

/* ── Sidebar timeline (Latest) ───────────────────────────────── */
.bola-timeline__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 0;
  border-bottom: 1px solid #f0eded;
}
.bola-timeline__item:last-child { border-bottom: none; }
.bola-timeline__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-brand);
  flex-shrink: 0;
  margin-top: 6px;
}
.bola-timeline__time {
  font-size: .72rem;
  font-weight: 700;
  color: var(--color-brand);
  white-space: nowrap;
  font-family: 'Montserrat', sans-serif;
  direction: ltr;
  flex-shrink: 0;
  padding-top: 2px;
}
.bola-timeline__text {
  font-size: .88rem;
  color: #222;
  line-height: 1.45;
  font-family: 'Noto Naskh Arabic', serif;
}
.bola-timeline__text a:hover { color: var(--color-brand); }

/* ── Sidebar band inset (flush inside .card) ─────────────────── */
.bola-band--incard {
  margin: -16px -16px 14px;
  border-radius: 0;
}

/* ── Accent bar size variants ────────────────────────────────── */
.bola-accent-bar--band { height: 18px; }   /* inside .bola-band */

/* ── Section vertical spacing ────────────────────────────────── */
.bola-section { margin-top: 20px; }

/* ── Hero fallback (no slider data) ─────────────────────────── */
.bola-hero-fallback {
  background: #111;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 40px 16px;
}
.bola-hero-fallback__img {
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
}
.bola-hero-fallback__tagline {
  color: rgba(255,255,255,.65);
  font-size: 1.1rem;
  font-family: 'Noto Naskh Arabic', serif;
}
.bola-hero-fallback__badge {
  background: var(--color-brand);
  color: #fff;
  padding: 6px 22px;
  border-radius: 3px;
  font-family: 'Markazi Text', serif;
  font-size: 1rem;
  font-weight: 700;
}

/* ── Split col inner top padding ─────────────────────────────── */
.bola-split__col-inner--top { padding-top: 12px; }

/* ── Band inside card (flush edges) ─────────────────────────── */
.bola-band--incard { margin: -16px -16px 14px; border-radius: 0; }

/* ── Transparent band (over dark bg, for video/analysis) ─────── */
.bola-band--transparent {
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

/* ── Analysis section wrapper ────────────────────────────────── */
.bola-analysis-wrap {
  background: url('/static/images/footer-bg.webp') center/cover fixed;
  padding: 28px 0 36px;
  margin-top: 20px;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .bola-feature { grid-template-columns: 1fr; min-height: 0; }
  .bola-feature__main { min-height: 300px; }
  .bola-feature__side { flex-direction: row; flex-wrap: wrap; }
  .bola-side-item { flex: 1 1 46%; }
  .bola-strip { height: auto; }
  .bola-strip__item { height: 180px; }
  .bola-grid { grid-template-columns: repeat(2, 1fr); }
  .bola-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .bola-split { grid-template-columns: 1fr; }
  .bola-livebar__items { flex-wrap: wrap; overflow: visible; }
  .bola-livebar__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); height: auto; padding: 8px 16px; }
}
@media (max-width: 575.98px) {
  .bola-feature__title { font-size: 1.5rem; }
  .bola-strip { grid-template-columns: 1fr; }
  .bola-strip__item { height: 170px; }
  .bola-grid { grid-template-columns: 1fr; }
  .bola-grid--3 { grid-template-columns: 1fr; }
  .bola-side-item { flex: 1 1 100%; }
}

/* ── Accent bar base + sport category colors ─────────────────── */
.bola-accent-bar {
  display: inline-block;
  width: 16px;
  border-radius: 2px;
  flex-shrink: 0;
  background: rgba(255,255,255,.45);
}
.badge-ligue1    { background: #FFD700 !important; }
.badge-world     { background: #42A5F5 !important; }
.badge-cl        { background: #BA68C8 !important; }
.badge-caf       { background: #66BB6A !important; }
.badge-analysis  { background: #FF9800 !important; }
.badge-transfers { background: #FF7043 !important; }

/* ── Accent bar color overrides ──────────────────────────────── */
.bola-accent-bar--brand  { background: var(--color-brand) !important; }
.bola-accent-bar--accent { background: var(--color-accent) !important; }
.bola-accent-bar--muted  { background: #666 !important; }

/* ── Audio player ─────────────────────────────────────────────── */
.bola-audio { width: 100%; border-radius: 4px; outline: none; }

/* ── Album carousel padding ───────────────────────────────────── */
.bola-carousel-pad { padding: 0 20px; }

/* ── Opinion carousel height ──────────────────────────────────── */
#oc-news { height: 300px !important; }

/* ── Category tag chip (most-read, portfolio) ─────────────────── */
.bola-cat-tag {
  background-color: var(--color-brand) !important;
  color: #fff !important;
}
.bola-cat-tag:hover { background-color: #8B1A1A !important; color: #fff !important; }

/* ── Flip card brand back ─────────────────────────────────────── */
.flip-card-back--brand { background-color: var(--color-brand) !important; }
.flip-card-back--brand .flip-card-inner p { background-color: transparent !important; }

/* ── Urgent overlay chrome ────────────────────────────────────── */
.bola-alert-close { font-size: 32px; color: white; position: fixed; }
.bola-alert-time  { position: absolute; left: 20px; }

/* ── Portfolio image ──────────────────────────────────────────── */
.portfolio-img--contain { object-fit: contain; }

/* ── Split column title size ──────────────────────────────────── */
.bola-split__col .bola-side-item__title { font-size: .95rem; }