/*!
Theme Name: magazine-web-site
Theme URI: https://mikedevsolution.com/
Author: Mike Dev Solution
Author URI: https://mikedevsolution.com/
Description: Un thÃ¨me WordPress premium, moderne et extrÃªmement performant conÃ§u pour les web magazines, les portails d'actualitÃ©s et les blogs professionnels. Il offre une interface Ã©lÃ©gante, avec prise en charge native du mode sombre (Dark Mode), des options de personnalisation avancÃ©es et une page mÃ©tÃ©o dynamique. EntiÃ¨rement responsive, il assure une expÃ©rience utilisateur optimale sur tous les appareils.
Version: 2.0.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: magazine-web-site
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, dark-mode, news, magazine, weather-widget

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Variables CSS
# Generic (Reset, Normalize, Box-sizing)
# Base (Typography, Elements, Links, Forms)
# Layout (Container, Grid)
# Header (Logo, Navigation, Search, Social)
# Homepage (Ã€ la Une, Live TV, Blocks, Sidebar)
# Single Post (Article, Meta, Related)
# Category/Archive (Hero, Grid, Pagination)
# Footer
# Utilities (Accessibility, Alignments)
# Responsive (Media Queries)
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Variables CSS - Design RED/WHITE Modern
--------------------------------------------------------------*/
:root {
	/* Couleurs principales - ROUGE VIF & BLANC */
	--color-primary: #FF0000;
	--color-primary-dark: #E60000;
	--color-primary-light: #FF3333;
	--color-secondary: #FF1A1A;
	--color-accent: #FF4D4D;
	--color-text: #1a1a1a;
	--color-text-light: #4a4a4a;
	--color-text-lighter: #808080;
	--color-bg: #FFFFFF;
	--color-bg-light: #F9F9F9;
	--color-bg-dark: #050505;
	--color-border: #E0E0E0;
	--color-border-light: #F2F2F2;

	/* Typographie - Modernes */
	--font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	--font-display: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
	--font-size-base: 1rem;
	--font-size-small: 0.875rem;
	--font-size-large: 1.125rem;
	--line-height-base: 1.6;

	/* Espacements */
	--spacing-xs: 0.5rem;
	--spacing-sm: 1rem;
	--spacing-md: 1.5rem;
	--spacing-lg: 2rem;
	--spacing-xl: 3rem;
	--spacing-xxl: 4rem;

	/* Largeurs */
	--container-width: 1200px;
	--container-padding: 2rem;

	/* Transitions & Animations */
	--transition-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	--transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	--transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

	/* Ombres - Ombres rouges dynamiques */
	--shadow-sm: 0 2px 8px rgba(255, 0, 0, 0.08);
	--shadow-md: 0 4px 16px rgba(255, 0, 0, 0.12);
	--shadow-lg: 0 8px 24px rgba(255, 0, 0, 0.16);
	--shadow-xl: 0 12px 32px rgba(255, 0, 0, 0.2);

	/* Glow effects */
	--glow-sm: 0 0 8px rgba(255, 0, 0, 0.3);
	--glow-md: 0 0 16px rgba(255, 0, 0, 0.4);
	--glow-lg: 0 0 24px rgba(255, 0, 0, 0.5);
}

/*--------------------------------------------------------------
# Animations Modernes
--------------------------------------------------------------*/
@keyframes slideInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes slideInDown {
	from {
		opacity: 0;
		transform: translateY(-30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes slideInLeft {
	from {
		opacity: 0;
		transform: translateX(-30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes slideInRight {
	from {
		opacity: 0;
		transform: translateX(30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes scaleUp {
	from {
		transform: scale(0.95);
		opacity: 0;
	}
	to {
		transform: scale(1);
		opacity: 1;
	}
}

@keyframes pulse {
	0%, 100% {
		box-shadow: var(--glow-sm);
	}
	50% {
		box-shadow: var(--glow-md);
	}
}

@keyframes float {
	0%, 100% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-8px);
	}
}

@keyframes glow {
	0%, 100% {
		box-shadow: var(--glow-md);
	}
	50% {
		box-shadow: var(--glow-lg);
	}
}

@keyframes shimmer {
	0% {
		background-position: -1000px 0;
	}
	100% {
		background-position: 1000px 0;
	}
}

@keyframes rotate {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

/*--------------------------------------------------------------
# Mode Nuit (Dark Mode) - RED/WHITE Design
--------------------------------------------------------------*/
body.dark-mode {
	/* Couleurs - Mode Nuit inversÃ© */
	--color-primary: #FF3333;
	--color-primary-dark: #FF0000;
	--color-primary-light: #FF5555;
	--color-secondary: #FF4D4D;
	--color-accent: #FF6666;
	--color-text: #E8E8E8;
	--color-text-light: #B0B0B0;
	--color-text-lighter: #808080;
	--color-bg: #0F0F0F;
	--color-bg-light: #1A1A1A;
	--color-bg-dark: #030303;
	--color-border: #333333;
	--color-border-light: #242424;

	/* Ombres adaptÃ©es */
	--shadow-sm: 0 2px 8px rgba(255, 0, 0, 0.15);
	--shadow-md: 0 4px 16px rgba(255, 0, 0, 0.2);
	--shadow-lg: 0 8px 24px rgba(255, 0, 0, 0.3);
	--shadow-xl: 0 12px 32px rgba(255, 0, 0, 0.4);

	--glow-sm: 0 0 8px rgba(255, 0, 0, 0.5);
	--glow-md: 0 0 16px rgba(255, 0, 0, 0.6);
	--glow-lg: 0 0 24px rgba(255, 0, 0, 0.7);
}

body.dark-mode .header-main-section {
	background: linear-gradient(135deg, #0F0F0F 0%, #1A1A1A 100%);
}

body.dark-mode .header-left {
	background: linear-gradient(135deg, #FF0000 0%, #FF3333 100%);
}

body.dark-mode .site-header {
	background: var(--color-bg);
	background: linear-gradient(to bottom, #1A1A1A, #0F0F0F);
}

body.dark-mode .main-navigation-wrapper {
	background: var(--color-primary);
}

body.dark-mode .home-sidebar,
body.dark-mode .archive-sidebar-col {
	background: var(--color-bg-light);
}

body.dark-mode .site-footer {
	background: #050505;
	color: #E8E8E8;
}

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize */
/* Normalize */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	box-sizing: border-box;
	overflow-x: hidden;
}

/* Fix global overflow on mobile */
html,
body {
	overflow-x: hidden;
	position: relative;
	max-width: 100%;
	margin: 0;
}

*,
*::before,
*::after {
	box-sizing: border-box;
	/* Force border-box everywhere */
}

/* Ensure images and embeds never overflow */
img,
video,
iframe,
embed,
object {
	max-width: 100%;
	height: auto;
}

/* Make tables scrollable if too wide */
table {
	display: block;
	overflow-x: auto;
	max-width: 100%;
	border-collapse: collapse;
}

body {
	margin: 0;
	padding: 0;
	overflow-x: hidden;
	width: 100%;
	max-width: 100%;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-primary);
	font-size: var(--font-size-base);
	line-height: var(--line-height-base);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

main {
	display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	margin: 0 0 var(--spacing-sm) 0;
	font-weight: 700;
	line-height: 1.2;
}

h1 {
	font-size: 2.5rem;
}

h2 {
	font-size: 2rem;
}

h3 {
	font-size: 1.75rem;
}

h4 {
	font-size: 1.5rem;
}

h5 {
	font-size: 1.25rem;
}

h6 {
	font-size: 1rem;
}

p {
	margin: 0 0 var(--spacing-md) 0;
}

a {
	color: var(--color-secondary);
	text-decoration: none;
	transition: color var(--transition-fast);
}

a:hover,
a:focus {
	color: var(--color-accent);
}

a:focus {
	outline: 2px solid var(--color-primary);
	outline-offset: 2px;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
	border-style: none;
}

ul,
ol {
	margin: 0 0 var(--spacing-md) 0;
	padding-left: var(--spacing-lg);
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li>ul,
li>ol {
	margin-bottom: 0;
}

button,
input,
select,
textarea {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

button {
	cursor: pointer;
	border: none;
	background: transparent;
	padding: 0;
}

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/

.container {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 var(--container-padding);
	width: 100%;
}

.gazeti-container {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 var(--container-padding);
	width: 100%;
}

/*--------------------------------------------------------------
# Header - Modern RED/WHITE Design
--------------------------------------------------------------*/

.site-header {
	background: var(--color-bg);
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: var(--shadow-md);
	animation: slideInDown 0.6s var(--transition-base);
}

/* HEADER PRINCIPAL - Design Ã©purÃ© RED/WHITE */
.header-main-section {
	display: grid;
	grid-template-columns: auto 1fr;
	background: linear-gradient(135deg, #FFFFFF 0%, #F9F9F9 100%);
	border-bottom: 4px solid var(--color-primary);
	animation: fadeIn 0.8s var(--transition-base);
}

.header-left {
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
	padding: var(--spacing-md) var(--spacing-lg);
	display: flex;
	align-items: center;
	gap: var(--spacing-md);
	transition: all var(--transition-base);
	box-shadow: 0 4px 0 rgba(255, 0, 0, 0.1);
}

.header-left:hover {
	box-shadow: var(--glow-md), 0 4px 0 rgba(255, 0, 0, 0.2);
	transform: translateY(-2px);
}

.logo-area {
	display: flex;
	align-items: center;
	animation: slideInLeft 0.8s var(--transition-base);
}

.site-title {
	margin: 0;
	font-size: 1.75rem;
	line-height: 1.2;
	font-weight: 700;
}

.site-title a {
	color: #FFFFFF;
	font-weight: 700;
	text-decoration: none;
	display: inline-block;
	line-height: 1;
	transition: all var(--transition-fast);
	letter-spacing: -0.5px;
}

.site-title a:hover {
	color: #FFFFFF;
	transform: scale(1.05);
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.site-title a span:first-child {
	font-weight: 300;
	margin-right: 4px;
}

.site-title a span:last-child {
	font-weight: 700;
}

.site-title .custom-logo-header {
	max-height: 50px;
	width: auto;
	height: auto;
	display: block;
	object-fit: contain;
	animation: float 3s ease-in-out infinite;
}

.custom-logo {
	max-height: 60px;
	width: auto;
	height: auto;
	display: block;
	object-fit: contain;
	animation: float 3s ease-in-out infinite;
	transition: all var(--transition-fast);
}

.custom-logo:hover {
	transform: scale(1.05);
}

.header-site-name-link {
	text-decoration: none;
	color: #FFFFFF;
	transition: all var(--transition-fast);
}

.header-site-name-link:hover {
	transform: translateX(4px);
}

.header-site-name {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	line-height: 1.2;
}

.header-name-line {
	display: block;
	font-weight: 700;
	color: #FFFFFF;
	line-height: 1.1;
	letter-spacing: 0.5px;
}

.header-name-top {
	font-size: 1.25rem;
	margin-bottom: 0.125rem;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 1px;
}

.header-name-bottom {
	font-size: 1.5rem;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 0.5px;
}

.site-description {
	display: none;
}

.language-select--header {
	display: flex;
	align-items: center;
	animation: slideInRight 0.8s var(--transition-base);
}

.language-select {
	padding: 0.5rem 0.75rem;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.1);
	font-size: var(--font-size-base);
	font-weight: 600;
	color: #FFFFFF;
	cursor: pointer;
	appearance: none;
	transition: all var(--transition-fast);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.5rem center;
	padding-right: 1.75rem;
}

.language-select:hover,
.language-select:focus {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.5);
	box-shadow: var(--glow-sm);
}

.header-right {
	background: linear-gradient(135deg, #F9F9F9 0%, #FFFFFF 100%);
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: var(--spacing-md) var(--spacing-lg);
	gap: var(--spacing-lg);
	position: relative;
	animation: slideInRight 0.8s var(--transition-base);
}

.social-menu {
	display: flex;
	align-items: center;
	gap: var(--spacing-md);
	list-style: none;
	margin: 0;
	padding: 0;
	flex: 0 0 auto;
}

.social-menu li span {
	font-size: var(--font-size-small);
	color: var(--color-text);
	margin-right: var(--spacing-xs);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.social-menu a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--color-primary);
	transition: all var(--transition-fast);
	box-shadow: var(--shadow-sm);
	animation: scaleUp 0.6s var(--transition-base);
}

.social-menu a:hover {
	transform: translateY(-4px) scale(1.1);
	box-shadow: var(--glow-md);
	animation: pulse 1s infinite;
}

.social-menu svg {
	width: 20px;
	height: 20px;
	fill: #FFFFFF;
	transition: all var(--transition-fast);
}
}

/* Twitter/X */
.social-menu a[aria-label="X (Twitter)"] {
	background: #1da1f2;
	color: #ffffff;
}

.social-menu a[aria-label="X (Twitter)"] svg {
	fill: #ffffff;
}

/* YouTube */
.social-menu a[aria-label="YouTube"] {
	background: #ff0000;
	color: #ffffff;
}

.social-menu a[aria-label="YouTube"] svg {
	fill: #ffffff;
}

/* Instagram */
.social-menu a[aria-label="Instagram"] {
	background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
	color: #ffffff;
}

.social-menu a[aria-label="Instagram"] svg {
	stroke: #ffffff;
}

/* =========================================
   SECTION 2: BARRE DE NAVIGATION ORANGE-ROUGE
   Menu horizontal des rÃ©gions + utilitaires
   ========================================= */
.main-navigation-wrapper {
	background: var(--color-primary);
	border-top: none;
	position: relative;
}

.main-navigation {
	position: relative;
}

.main-navigation .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0;
	position: relative;
}

/* Sur mobile, le conteneur doit Ãªtre positionnÃ© relativement pour le menu absolu */
@media screen and (max-width: 768px) {
	.main-navigation .container {
		position: relative;
		min-height: 50px;
	}
}

/* Bouton Hamburger - CachÃ© sur desktop */
.menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: space-around;
	width: 40px;
	height: 40px;
	background: transparent;
	border: 2px solid #ffffff;
	border-radius: 4px;
	cursor: pointer;
	padding: 8px;
	z-index: 1001;
	transition: all var(--transition-fast);
}

.menu-toggle:hover {
	background: rgba(255, 255, 255, 0.1);
}

.menu-toggle .hamburger-line {
	width: 100%;
	height: 3px;
	background: #ffffff;
	border-radius: 2px;
	transition: all var(--transition-fast);
	transform-origin: center;
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
	transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
	transform: rotate(-45deg) translate(8px, -8px);
}

.menu-mobile-wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: var(--spacing-sm) var(--container-padding);
}

/* Logo du menu */
.menu-logo-area {
	display: none;
	/* MasquÃ© par dÃ©faut sur desktop */
	align-items: center;
	margin-bottom: var(--spacing-md);
	width: 100%;
	justify-content: center;
	padding: var(--spacing-sm) 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-logo-link {
	display: inline-block;
	line-height: 1;
	text-decoration: none;
	color: #ffffff;
}

.menu-site-name {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.menu-name-line {
	display: block;
	font-weight: 700;
	line-height: 1.2;
	color: #ffffff;
}

.menu-name-top {
	font-size: 1.5rem;
	margin-bottom: 0.25rem;
	text-transform: capitalize;
}

.menu-name-bottom {
	font-size: 1.75rem;
	text-transform: capitalize;
}

.menu-logo {
	max-height: 60px;
	width: auto;
	height: auto;
	display: block;
	object-fit: contain;
}

/* Sur desktop, le menu est toujours visible */
@media screen and (min-width: 769px) {
	.menu-mobile-wrapper {
		display: flex !important;
	}

	.menu-toggle {
		display: none !important;
	}

	.header-left .menu-toggle.mobile-only {
		display: none !important;
	}


	.header-left {
		display: flex !important;
		grid-template-columns: none !important;
	}
}

/* Menu principal - cachÃ© dans cette barre */
.africanews-menu {
	display: none;
}

/* Menu des rÃ©gions d'Afrique - horizontal */
.africa-regions-menu {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0;
	flex: 1;
}

.africa-region-item {
	position: relative;
}

.africa-region-item>a {
	display: block;
	padding: var(--spacing-sm) var(--spacing-md);
	color: #ffffff;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.875rem;
	letter-spacing: 0.5px;
	transition: all var(--transition-fast);
	white-space: nowrap;
}

.africa-region-item>a:hover {
	background: rgba(0, 0, 0, 0.1);
	color: #ffffff;
}

.africa-submenu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	list-style: none;
	margin: 0;
	padding: var(--spacing-xs) 0;
	background: #ffffff;
	border: 1px solid var(--color-border);
	border-radius: 4px;
	box-shadow: var(--shadow-md);
	min-width: 200px;
	z-index: 100;
}

.africa-submenu a {
	color: var(--color-text);
	text-transform: none;
	font-weight: 500;
	padding: var(--spacing-xs) var(--spacing-md);
	font-size: 0.875rem;
}

.africa-submenu a:hover {
	background: var(--color-bg-light);
	color: var(--color-primary);
}

/* Sur desktop : afficher au survol ET au clic */
@media screen and (min-width: 769px) {

	.africa-region-item:hover .africa-submenu,
	.africa-region-item.submenu-open .africa-submenu {
		display: block;
	}

	.africanews-menu>li:hover>.sub-menu,
	.africanews-menu>li.submenu-open>.sub-menu {
		display: block;
	}

	/* Curseur pointer pour indiquer que c'est cliquable */
	.africa-region-item>a,
	.africanews-menu>li>a {
		cursor: pointer;
	}
}

.secondary-tools {
	display: flex;
	align-items: center;
	gap: var(--spacing-sm);
	list-style: none;
	margin: 0;
	padding: 0;
	flex: 0 0 auto;
}

.secondary-tools>li:not(:first-child) {
	position: relative;
}

.secondary-tools>li:not(:first-child)::before {
	content: '';
	position: absolute;
	left: calc(-1 * var(--spacing-sm) / 2);
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 24px;
	background: rgba(255, 255, 255, 0.3);
}

.live-link {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.25rem;
	background: #1a1a1a;
	color: #ffffff !important;
	border: 2px solid #ffffff;
	border-radius: 4px;
	font-weight: 700;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: all var(--transition-fast);
	white-space: nowrap;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.live-link:hover {
	background: #2c2c2c;
	color: #ffffff !important;
	border-color: #ffffff;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
	transform: translateY(-1px);
}

.live-link span {
	text-transform: uppercase;
	font-weight: 700;
}

.live-icon {
	width: 18px;
	height: 18px;
	fill: #ffffff;
}

.search-item {
	position: relative;
}

.search-trigger {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	color: #ffffff;
	transition: color var(--transition-fast);
	background: transparent;
	border: none;
	cursor: pointer;
}

.search-trigger:hover {
	color: rgba(255, 255, 255, 0.8);
	background: rgba(255, 255, 255, 0.1);
}

.search-trigger svg {
	width: 20px;
	height: 20px;
	stroke: #ffffff;
	fill: none;
}

/* Bouton Toggle Mode Nuit */
.dark-mode-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	color: #ffffff;
	transition: all var(--transition-fast);
	background: transparent;
	border: none;
	cursor: pointer;
	margin-left: var(--spacing-xs);
	border-radius: 4px;
}

.dark-mode-toggle:hover {
	color: rgba(255, 255, 255, 0.8);
	background: rgba(255, 255, 255, 0.1);
	transform: scale(1.1);
}

.dark-mode-toggle:focus {
	outline: 2px solid rgba(255, 255, 255, 0.5);
	outline-offset: 2px;
}

.dark-mode-icon {
	width: 20px;
	height: 20px;
	stroke: currentColor;
	fill: none;
	transition: all var(--transition-fast);
}

.dark-mode-toggle .moon-icon {
	display: none;
}

body.dark-mode .dark-mode-toggle .sun-icon {
	display: none;
}

body.dark-mode .dark-mode-toggle .moon-icon {
	display: block;
}

.header-search-wrap {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	background: #ffffff;
	border: 1px solid var(--color-border);
	border-radius: 4px;
	box-shadow: var(--shadow-md);
	padding: var(--spacing-sm);
	min-width: 300px;
	z-index: 200;
	margin-top: var(--spacing-xs);
}

.header-search-wrap.active {
	display: block;
}

.header-search-wrap input[type="search"] {
	width: 100%;
	padding: 0.75rem;
	border: 1px solid var(--color-border);
	border-radius: 4px;
	font-size: var(--font-size-base);
}

.mobile-menu-extras {
	display: none;
	padding: var(--spacing-md);
	background: #2c2c2c;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-live {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: var(--spacing-md);
}

.live-dot {
	color: var(--color-primary);
	font-size: 1.2rem;
	animation: pulse 2s infinite;
}

@keyframes pulse {

	0%,
	100% {
		opacity: 1;
	}

	50% {
		opacity: 0.5;
	}
}

.mobile-socials {
	justify-content: flex-start;
}

/*--------------------------------------------------------------
# Homepage - Section Ã€ la Une
--------------------------------------------------------------*/

.top-stories-container {
	margin-top: var(--spacing-md);
	margin-bottom: var(--spacing-lg);
}

.section-title {
	border-bottom: 2px solid var(--color-border);
	margin-bottom: var(--spacing-md);
	padding-bottom: var(--spacing-xs);
}

.section-title h2 {
	display: inline-block;
	border-bottom: 2px solid var(--color-primary);
	padding-bottom: 0.5rem;
	margin-bottom: -2px;
	font-size: 1.75rem;
}

.africanews-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: var(--spacing-lg);
	margin-top: var(--spacing-md);
}

.col-main {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-md);
}

.col-side {
	display: flex;
	flex-direction: column;
}

/* Article Principal (Hero) */
.teaser--primary {
	position: relative;
}

.teaser--primary .teaser-image {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	margin-bottom: var(--spacing-sm);
}

.teaser--primary .teaser-image a {
	display: block;
	position: relative;
	padding-top: 56.25%;
	/* 16:9 */
	overflow: hidden;
}

.teaser--primary .teaser-image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.teaser-content {
	padding: var(--spacing-sm) 0;
}

.category-tag {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	background: var(--color-primary);
	color: var(--color-bg);
	font-size: var(--font-size-small);
	font-weight: 600;
	border-radius: 4px;
	margin-bottom: var(--spacing-xs);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.teaser-title {
	font-size: 1.75rem;
	line-height: 1.3;
	margin: var(--spacing-xs) 0;
}

.teaser-title a {
	color: var(--color-text);
	font-weight: 700;
}

.teaser-title a:hover {
	color: var(--color-primary);
}

.meta-time {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	color: var(--color-text-light);
	font-size: var(--font-size-small);
	margin-top: var(--spacing-xs);
}

/* Articles Secondaires */
.sub-stories-container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--spacing-md);
}

.teaser--secondary {
	position: relative;
}

.teaser--secondary .teaser-image {
	position: relative;
	overflow: hidden;
	border-radius: 6px;
	margin-bottom: var(--spacing-xs);
}

.teaser--secondary .teaser-image a {
	display: block;
	position: relative;
	padding-top: 56.25%;
	overflow: hidden;
}

.teaser--secondary .teaser-image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.teaser-title-small {
	font-size: 1rem;
	line-height: 1.4;
	margin: var(--spacing-xs) 0 0 0;
}

.teaser-title-small a {
	color: var(--color-text);
	font-weight: 600;
}

.teaser-title-small a:hover {
	color: var(--color-primary);
}

.cat-tag-live {
	display: inline-block;
	color: var(--color-primary);
	font-size: var(--font-size-small);
	font-weight: 600;
	margin-bottom: 0.25rem;
}

/* Watermark et Play Button */
.tv-watermark {
	position: absolute !important;
	top: 10px !important;
	left: 50% !important;
	right: auto !important;
	bottom: auto !important;
	transform: translateX(-50%) !important;
	max-width: 12% !important;
	min-width: 40px !important;
	max-height: 15% !important;
	width: auto !important;
	height: auto !important;
	z-index: 50 !important;
	opacity: 0.7 !important;
	pointer-events: none !important;
	object-fit: contain !important;
}

.tv-watermark-secondary,
img.tv-watermark-secondary,
.teaser--secondary img.tv-watermark-secondary,
.sub-stories-container img.tv-watermark-secondary {
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	right: auto !important;
	transform: translate(-50%, -50%) !important;
	max-width: 50px !important;
	z-index: 999 !important;
	opacity: 0.7 !important;
}

.play-button-secondary,
.sub-stories-container .play-button-secondary {
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	right: auto !important;
	bottom: auto !important;
	transform: translate(-50%, -50%) !important;
	background: rgba(0, 0, 0, 0.7) !important;
	color: var(--color-bg) !important;
	font-size: 0 !important;
	padding: 0 !important;
	border-radius: 50% !important;
	pointer-events: none !important;
	width: 50px !important;
	height: 50px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	z-index: 15 !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
	line-height: 1 !important;
}

.play-button-secondary::before,
.sub-stories-container .play-button-secondary::before {
	content: '';
	width: 0;
	height: 0;
	border-left: 16px solid var(--color-bg);
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	margin-left: 4px;
}

/* Slider Le Fil Info */
.side-header-title {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0 0 var(--spacing-md) 0;
	padding-bottom: var(--spacing-xs);
	border-bottom: 2px solid var(--color-border);
}

.css-slider-wrapper {
	overflow: hidden;
}

.css-slider {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-md);
	max-height: 600px;
	overflow-y: auto;
	padding-right: var(--spacing-xs);
}

.css-slider::-webkit-scrollbar {
	width: 6px;
}

.css-slider::-webkit-scrollbar-track {
	background: var(--color-bg-light);
	border-radius: 3px;
}

.css-slider::-webkit-scrollbar-thumb {
	background: var(--color-text-light);
	border-radius: 3px;
}

.css-slider::-webkit-scrollbar-thumb:hover {
	background: var(--color-text);
}

.slide-item {
	margin-bottom: var(--spacing-sm);
}


.teaser-slide {
	position: relative;
}

.teaser-slide .slide-image {
	position: relative;
	overflow: hidden;
	border-radius: 6px;
	margin-bottom: var(--spacing-xs);
}

.teaser-slide .slide-image a {
	display: block;
	position: relative;
	padding-top: 56.25%;
	overflow: hidden;
}

.teaser-slide .slide-image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.teaser-slide .play-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(0, 0, 0, 0.7);
	color: var(--color-bg);
	padding: 0;
	border-radius: 50%;
	font-size: 0;
	pointer-events: none;
	z-index: 10;
	width: 46px;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
	line-height: 1;
}

.teaser-slide .play-icon::before {
	content: '';
	width: 0;
	height: 0;
	border-left: 14px solid var(--color-bg);
	border-top: 9px solid transparent;
	border-bottom: 9px solid transparent;
	margin-left: 4px;
}

.teaser-slide .slide-content {
	padding: var(--spacing-xs) 0;
}

.teaser-slide h4 {
	font-size: 0.9375rem;
	line-height: 1.4;
	margin: 0;
}

.teaser-slide h4 a {
	color: var(--color-text);
	font-weight: 600;
}

.teaser-slide h4 a:hover {
	color: var(--color-primary);
}

/*--------------------------------------------------------------
# Homepage - Section Live TV
--------------------------------------------------------------*/

.section-live {
	background: var(--color-bg-dark);
	color: var(--color-bg);
	margin: var(--spacing-xl) 0;
	padding: var(--spacing-lg);
	border-radius: 8px;
}

.live-layout {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: var(--spacing-lg);
	align-items: start;
}

.live-player-container {
	position: relative;
}

.live-label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: var(--spacing-sm);
	font-weight: 700;
	font-size: var(--font-size-large);
	text-transform: uppercase;
	letter-spacing: 1px;
}

.pulsing-dot {
	display: inline-block;
	width: 12px;
	height: 12px;
	background: var(--color-primary);
	border-radius: 50%;
	animation: pulse 2s infinite;
}

.video-wrapper {
	position: relative;
	padding-top: 56.25%;
	overflow: hidden;
	border-radius: 8px;
	background: var(--color-bg-dark);
}

.video-wrapper iframe,
.video-wrapper img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.live-info {
	padding: var(--spacing-md);
}

.live-title {
	font-size: 1.5rem;
	margin-bottom: var(--spacing-sm);
}

.live-title a {
	color: var(--color-bg);
}

.live-title a:hover {
	color: var(--color-accent);
}

.live-excerpt {
	margin-bottom: var(--spacing-md);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.9);
}

.btn-live-action {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	background: var(--color-primary);
	color: var(--color-bg) !important;
	border-radius: 4px;
	font-weight: 600;
	transition: background var(--transition-fast);
}

.btn-live-action:hover {
	background: var(--color-primary-dark);
	color: var(--color-bg) !important;
}

/*--------------------------------------------------------------
# Homepage - Blocs CatÃ©gories
--------------------------------------------------------------*/

.dynamic-blocks-wrapper {
	margin-top: var(--spacing-lg);
}

.home-block-category {
	margin-bottom: var(--spacing-lg);
}

.block-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: var(--spacing-md);
	padding-bottom: var(--spacing-xs);
	border-bottom: 2px solid var(--color-border);
}

.block-title {
	font-size: 1.5rem;
	margin: 0;
}

.block-title a {
	color: var(--color-text);
	font-weight: 700;
}

.block-title a:hover {
	color: var(--color-primary);
}

.block-more {
	color: var(--color-primary);
	font-size: var(--font-size-small);
	font-weight: 600;
}

.block-more:hover {
	color: var(--color-primary-dark);
}

.block-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--spacing-lg);
}

.block-main-post {
	display: flex;
	flex-direction: column;
}

.block-main-post .thumb-container {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	margin-bottom: var(--spacing-sm);
}

.block-main-post .thumb-container a {
	display: block;
	position: relative;
	padding-top: 56.25%;
	overflow: hidden;
}

.block-main-post .thumb-container img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-content h3 {
	font-size: 1.25rem;
	line-height: 1.3;
	margin-bottom: var(--spacing-xs);
}

.post-content h3 a {
	color: var(--color-text);
	font-weight: 700;
}

.post-content h3 a:hover {
	color: var(--color-primary);
}

.post-content .excerpt {
	color: var(--color-text-light);
	margin-bottom: var(--spacing-xs);
	line-height: 1.6;
}

.block-sub-posts {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-md);
}

.block-small-post {
	display: flex;
	gap: var(--spacing-sm);
}

.block-small-post .teaser-image {
	flex: 0 0 40%;
	position: relative;
	overflow: hidden;
	border-radius: 6px;
}

.block-small-post .teaser-image a {
	display: block;
	position: relative;
	padding-top: 56.25%;
	overflow: hidden;
}

.block-small-post .teaser-image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.block-small-post .teaser-content {
	flex: 1;
}

.block-small-post h4 {
	font-size: 1rem;
	line-height: 1.4;
	margin: 0 0 var(--spacing-xs) 0;
}

.block-small-post h4 a {
	color: var(--color-text);
	font-weight: 600;
}

.block-small-post h4 a:hover {
	color: var(--color-primary);
}

/*--------------------------------------------------------------
# Homepage - Sidebar
--------------------------------------------------------------*/

.home-layout-grid {
	display: grid;
	grid-template-columns: 1fr 280px;
	gap: var(--spacing-lg);
	margin-top: var(--spacing-md);
}

.home-sidebar {
	background: var(--color-bg-light);
	border-radius: 8px;
	padding: var(--spacing-md);
	height: fit-content;
	position: sticky;
	top: 100px;
}

.sidebar-header {
	margin-bottom: var(--spacing-md);
	padding-bottom: var(--spacing-xs);
	border-bottom: 2px solid var(--color-primary);
}

.sidebar-header h3 {
	font-size: 1.25rem;
	margin: 0;
	color: var(--color-primary);
}

.sidebar-content {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-sm);
}

.sidebar-item {
	display: flex;
	gap: var(--spacing-sm);
	padding-bottom: var(--spacing-sm);
	border-bottom: 1px solid var(--color-border-light);
}

.sidebar-item:last-child {
	border-bottom: none;
}

.time-wrapper {
	flex: 0 0 50px;
}

.time {
	display: block;
	font-size: var(--font-size-small);
	font-weight: 600;
	color: var(--color-primary);
}

.info-wrapper {
	flex: 1;
}

.sidebar-title {
	font-size: 0.9375rem;
	line-height: 1.4;
	margin: 0;
}

.sidebar-title a {
	color: var(--color-text);
	font-weight: 600;
}

.sidebar-title a:hover {
	color: var(--color-primary);
}

/*--------------------------------------------------------------
# Single Post
--------------------------------------------------------------*/

.single-layout {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: var(--spacing-lg);
	margin-top: var(--spacing-md);
	margin-bottom: var(--spacing-xl);
}

.single-main {
	max-width: 100%;
}

.single-article {
	background: var(--color-bg);
}

.single-hero {
	margin-bottom: var(--spacing-xl);
}

.single-meta-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--spacing-sm);
	margin-bottom: var(--spacing-md);
}

.single-cats {
	display: flex;
	flex-wrap: wrap;
	gap: var(--spacing-xs);
}

.cat-badge {
	display: inline-block;
	padding: 0.375rem 0.75rem;
	background: var(--color-primary);
	color: var(--color-bg);
	font-size: var(--font-size-small);
	font-weight: 600;
	border-radius: 4px;
	text-transform: uppercase;
}

.cat-badge:hover {
	background: var(--color-primary-dark);
	color: var(--color-bg);
}

.single-time {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--color-text-light);
	font-size: var(--font-size-small);
}

.single-time .sep {
	margin: 0 0.25rem;
}

.single-title {
	font-size: 2.5rem;
	line-height: 1.2;
	margin-bottom: var(--spacing-md);
	color: var(--color-text);
}

.single-media {
	position: relative;
	margin-bottom: var(--spacing-md);
	border-radius: 8px;
	overflow: hidden;
}

.single-thumb {
	margin: 0;
	position: relative;
	padding-top: 56.25%;
	overflow: hidden;
}

.single-thumb img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.embed-container {
	position: relative;
	padding-top: 56.25%;
	height: 0;
	overflow: hidden;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.single-meta-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--spacing-md);
	padding: var(--spacing-md) 0;
	border-top: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
	margin-bottom: var(--spacing-md);
}

.single-author {
	display: flex;
	align-items: center;
	gap: var(--spacing-sm);
}

.single-author img {
	width: 48px;
	height: 48px;
	border-radius: 50%;
}

.byline {
	display: block;
	font-weight: 600;
	color: var(--color-text);
}

.pubdate {
	display: block;
	font-size: var(--font-size-small);
	color: var(--color-text-light);
}

.single-share {
	display: flex;
	align-items: center;
	gap: var(--spacing-sm);
}

.single-share span {
	font-size: var(--font-size-small);
	color: var(--color-text-light);
}

.single-share a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: var(--color-bg-light);
	color: var(--color-text);
	border-radius: 4px;
	font-weight: 600;
	font-size: var(--font-size-small);
	transition: all var(--transition-fast);
}

.single-share a:hover {
	background: var(--color-primary);
	color: var(--color-bg);
}

.single-content {
	font-size: var(--font-size-large);
	line-height: 1.8;
	color: var(--color-text);
	text-align: justify;
}

.single-content p {
	margin-bottom: var(--spacing-md);
	text-align: justify;
}

.single-content h2,
.single-content h3,
.single-content h4 {
	margin-top: var(--spacing-md);
	margin-bottom: var(--spacing-sm);
	text-align: left;
	/* Les titres restent alignÃ©s Ã  gauche */
}

.single-content img {
	margin: var(--spacing-lg) 0;
	border-radius: 8px;
	max-width: 100%;
	height: auto;
	display: block;
}

.single-content a {
	color: var(--color-primary);
	text-decoration: underline;
}

.single-content a:hover {
	color: var(--color-primary-dark);
}

.single-content ul,
.single-content ol {
	margin-bottom: var(--spacing-md);
	padding-left: var(--spacing-lg);
}

.single-content li {
	margin-bottom: var(--spacing-xs);
	text-align: justify;
}

.single-content blockquote {
	margin: var(--spacing-lg) 0;
	padding: var(--spacing-md);
	border-left: 4px solid var(--color-primary);
	background: var(--color-bg-light);
	font-style: italic;
	text-align: justify;
}

.single-content table {
	width: 100%;
	margin: var(--spacing-lg) 0;
	border-collapse: collapse;
	overflow-x: auto;
	display: block;
}

.single-content table td,
.single-content table th {
	padding: var(--spacing-xs);
	border: 1px solid var(--color-border);
	text-align: justify;
}

.single-footer {
	margin-top: var(--spacing-xl);
}

.related-posts {
	margin-bottom: var(--spacing-xl);
}

.related-posts h2 {
	font-size: 1.75rem;
	margin-bottom: var(--spacing-md);
	padding-bottom: var(--spacing-xs);
	border-bottom: 2px solid var(--color-border);
}

.related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--spacing-md);
}

.related-card {
	position: relative;
}

.related-card a {
	display: block;
}

.related-card img {
	width: 100%;
	height: auto;
	border-radius: 6px;
	margin-bottom: var(--spacing-xs);
}

.related-card h3 {
	font-size: 1rem;
	line-height: 1.4;
	margin: 0;
}

.related-card h3 a {
	color: var(--color-text);
	font-weight: 600;
}

.related-card h3 a:hover {
	color: var(--color-primary);
}

.related-embed {
	margin-bottom: var(--spacing-xs);
}

.single-nav {
	margin-top: var(--spacing-xl);
	padding-top: var(--spacing-lg);
	border-top: 1px solid var(--color-border);
}

.single-nav .nav-links {
	display: flex;
	justify-content: space-between;
	gap: var(--spacing-md);
}

.single-nav .nav-previous,
.single-nav .nav-next {
	flex: 1;
}

.single-nav .nav-subtitle {
	display: block;
	font-size: var(--font-size-small);
	color: var(--color-text-light);
	margin-bottom: 0.25rem;
}

.single-nav .nav-title {
	display: block;
	font-weight: 600;
	color: var(--color-text);
}

.single-nav a:hover .nav-title {
	color: var(--color-primary);
}

/*--------------------------------------------------------------
# Category/Archive
--------------------------------------------------------------*/

.category-archive {
	margin-bottom: var(--spacing-xl);
}

.archive-header-row {
	margin-bottom: var(--spacing-md);
	padding-bottom: var(--spacing-xs);
	border-bottom: 2px solid var(--color-border);
}

.archive-page-title {
	font-size: 2.5rem;
	margin-bottom: var(--spacing-sm);
}

.archive-description {
	font-size: var(--font-size-large);
	color: var(--color-text-light);
	margin: 0;
}

.archive-layout-grid {
	display: grid;
	grid-template-columns: 1fr 280px;
	gap: var(--spacing-lg);
	margin-top: var(--spacing-md);
}

.archive-main-col {
	max-width: 100%;
}

.archive-posts-list {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-lg);
}

/* Hero Article */
.cat-hero-article {
	margin-bottom: var(--spacing-xl);
}

.cat-hero-media {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	margin-bottom: var(--spacing-sm);
}

.cat-hero-media a {
	display: block;
	position: relative;
	overflow: hidden;
}

/* Padding uniquement pour les images, pas pour les vidÃ©os embed */
.cat-hero-media a:not(:has(.embed-container)) {
	padding-top: 56.25%;
}

.cat-hero-media img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.play-icon-overlay {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(0, 0, 0, 0.7);
	color: var(--color-bg);
	padding: 0;
	border-radius: 50%;
	font-size: 0;
	pointer-events: none;
	width: 54px;
	height: 54px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
	line-height: 1;
}

.play-icon-overlay::before {
	content: '';
	width: 0;
	height: 0;
	border-left: 18px solid var(--color-bg);
	border-top: 11px solid transparent;
	border-bottom: 11px solid transparent;
	margin-left: 5px;
}

.cat-hero-body {
	padding: 0 var(--spacing-sm);
}

.cat-hero-title {
	font-size: 2rem;
	line-height: 1.3;
	margin-bottom: var(--spacing-sm);
}

.cat-hero-title a {
	color: var(--color-text);
	font-weight: 700;
}

.cat-hero-title a:hover {
	color: var(--color-primary);
}

.cat-meta {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--color-text-light);
	font-size: var(--font-size-small);
	margin-bottom: var(--spacing-sm);
}

.cat-excerpt {
	color: var(--color-text-light);
	line-height: 1.6;
}

/* Grid Articles */
.cat-grid-wrapper {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--spacing-md);
}

.cat-grid-item {
	position: relative;
}

.cat-grid-media {
	position: relative;
	overflow: hidden;
	border-radius: 6px;
	margin-bottom: var(--spacing-xs);
}

.cat-grid-media a {
	display: block;
	position: relative;
	overflow: hidden;
}

/* Padding uniquement pour les images, pas pour les vidÃ©os embed */
.cat-grid-media a:not(:has(.embed-container)) {
	padding-top: 56.25%;
}

.cat-grid-media img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cat-grid-body {
	padding: 0 var(--spacing-xs);
}

.cat-grid-title {
	font-size: 1.125rem;
	line-height: 1.4;
	margin-bottom: var(--spacing-xs);
}

.cat-grid-title a {
	color: var(--color-text);
	font-weight: 600;
}

.cat-grid-title a:hover {
	color: var(--color-primary);
}

.cat-meta-small {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	color: var(--color-text-light);
	font-size: var(--font-size-small);
}

.archive-sidebar-col {
	background: var(--color-bg-light);
	border-radius: 8px;
	padding: var(--spacing-md);
	height: fit-content;
	position: sticky;
	top: 100px;
}

.sidebar-list {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-sm);
}

.sb-item {
	display: flex;
	gap: var(--spacing-sm);
	padding-bottom: var(--spacing-sm);
	border-bottom: 1px solid var(--color-border-light);
}

.sb-item:last-child {
	border-bottom: none;
}

.sb-time {
	flex: 0 0 50px;
	font-size: var(--font-size-small);
	font-weight: 600;
	color: var(--color-primary);
}

.sb-title {
	flex: 1;
	font-size: 0.9375rem;
	line-height: 1.4;
	margin: 0;
}

.sb-title a {
	color: var(--color-text);
	font-weight: 600;
}

.sb-title a:hover {
	color: var(--color-primary);
}

/* Pagination */
.gazeti-pagination {
	margin-top: var(--spacing-xl);
	padding-top: var(--spacing-lg);
	border-top: 1px solid var(--color-border);
}

.gazeti-pagination .nav-links {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: var(--spacing-sm);
	flex-wrap: wrap;
}

.gazeti-pagination .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 0.75rem;
	border: 1px solid var(--color-border);
	border-radius: 4px;
	color: var(--color-text);
	font-weight: 500;
	transition: all var(--transition-fast);
}

.gazeti-pagination .page-numbers:hover,
.gazeti-pagination .page-numbers.current {
	background: var(--color-primary);
	color: var(--color-bg);
	border-color: var(--color-primary);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.site-footer {
	background: #000000;
	color: #ffffff;
	margin-top: var(--spacing-xl);
	padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-container {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 var(--container-padding);
	text-align: center;
}

.footer-logo-area {
	margin-bottom: var(--spacing-lg);
	text-align: center;
}

.footer__logo img {
	max-width: 120px;
	height: auto;
}

.footer__logo {
	display: inline-block;
	text-decoration: none;
}

.footer-site-title {
	color: #ffffff;
	font-size: 1.5rem;
	margin: 0;
	font-weight: 400;
}

.footer-social {
	margin-bottom: var(--spacing-md);
	text-align: center;
}

.footer-social-wrapper {
	display: inline-flex;
	align-items: center;
	gap: var(--spacing-sm);
	flex-wrap: wrap;
	justify-content: center;
}

.footer-social-title {
	font-size: 0.875rem;
	font-weight: 400;
	margin: 0;
	color: #ffffff;
}

.footer-social-list {
	display: inline-flex;
	align-items: center;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-social-list li {
	display: flex;
	align-items: center;
}

.footer-social-list li:not(:last-child)::after {
	content: '';
	width: 1px;
	height: 20px;
	background: #ffffff;
	margin: 0 var(--spacing-xs);
	opacity: 0.3;
}

.footer-social-list a {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--spacing-xs);
	color: #ffffff;
	text-decoration: none;
	transition: opacity var(--transition-fast);
}

.footer-social-list a:hover {
	opacity: 0.7;
}

.footer-social-list svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.footer-nav {
	margin-bottom: var(--spacing-md);
	padding: var(--spacing-md) 0;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-menu-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
	justify-content: center;
	align-items: center;
}

.footer-menu-list li {
	display: flex;
	align-items: center;
}

.footer-menu-list li:not(:last-child)::after {
	content: '';
	width: 1px;
	height: 14px;
	background: #ffffff;
	margin: 0 var(--spacing-sm);
	opacity: 0.3;
}

.footer-menu-list a {
	color: #ffffff;
	font-size: 0.875rem;
	transition: opacity var(--transition-fast);
	text-decoration: none;
	padding: var(--spacing-xs) var(--spacing-sm);
}

.footer-menu-list a:hover {
	opacity: 0.7;
}

.footer-bottom {
	margin-top: 0;
	padding-top: var(--spacing-md);
	text-align: center;
}

.footer-bottom-content {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: var(--spacing-md);
	flex-wrap: wrap;
}

.footer-date,
.footer-language {
	font-size: 0.875rem;
	color: #ffffff;
}

.footer-copyright {
	font-size: 0.75rem;
	color: #ffffff;
	text-align: center;
	margin-top: var(--spacing-sm);
	opacity: 0.8;
}

.bottom-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: var(--spacing-sm);
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: var(--font-size-small);
	color: rgba(255, 255, 255, 0.7);
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

.clearfix::after {
	content: "";
	display: table;
	clear: both;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--color-bg-light);
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: var(--color-primary);
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

.alignleft {
	float: left;
	margin-right: var(--spacing-md);
	margin-bottom: var(--spacing-md);
}

.alignright {
	float: right;
	margin-left: var(--spacing-md);
	margin-bottom: var(--spacing-md);
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: var(--spacing-md);
}

/*--------------------------------------------------------------
# Responsive - Media Queries
--------------------------------------------------------------*/

/* Tablette (max-width: 1024px) */
@media screen and (max-width: 1024px) {
	:root {
		--container-padding: 0.75rem;
	}

	.africanews-grid {
		grid-template-columns: 1fr;
		gap: var(--spacing-md);
	}

	.sub-stories-container {
		grid-template-columns: 1fr;
		gap: var(--spacing-sm);
	}

	.teaser--secondary {
		display: flex;
		flex-direction: row;
		gap: var(--spacing-sm);
		align-items: flex-start;
	}

	.teaser--secondary .teaser-image {
		flex: 0 0 120px;
		margin-bottom: 0;
		min-width: 120px;
	}

	.teaser--secondary .teaser-image a {
		padding-top: 67.5%;
		/* Ratio 3:4 pour format vertical */
	}

	.teaser--secondary .teaser-content {
		flex: 1;
		padding: 0;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
	}

	.teaser-title-small {
		font-size: 0.875rem;
		line-height: 1.3;
		margin: 0;
	}

	.home-layout-grid,
	.single-layout,
	.archive-layout-grid {
		grid-template-columns: 1fr;
	}

	.home-main-content,
	.archive-main-content,
	.archive-main-col {
		order: 1;
	}

	.home-sidebar,
	.archive-sidebar-col {
		order: 2;
		position: static;
		margin-top: var(--spacing-md);
	}

	.block-grid {
		grid-template-columns: 1fr;
	}

	.related-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.cat-grid-wrapper {
		grid-template-columns: repeat(2, 1fr);
	}

	.live-layout {
		grid-template-columns: 1fr;
	}
}

/* Mobile (max-width: 768px) */
@media screen and (max-width: 768px) {
	:root {
		--font-size-base: 0.9375rem;
		--container-padding: 0.5rem;
	}

	.tv-watermark {
		max-width: 10% !important;
		min-width: 30px !important;
		max-height: 12% !important;
		opacity: 0.6 !important;
		top: 8px !important;
		left: 50% !important;
		transform: translateX(-50%) !important;
	}

	.tv-watermark-secondary,
	img.tv-watermark-secondary,
	.teaser--secondary img.tv-watermark-secondary,
	.sub-stories-container img.tv-watermark-secondary {
		max-width: 40px !important;
		opacity: 0.6 !important;
	}

	h1 {
		font-size: 2rem;
	}

	h2 {
		font-size: 1.75rem;
	}

	h3 {
		font-size: 1.5rem;
	}

	h4 {
		font-size: 1.25rem;
	}

	/* Header responsive */
	.header-main-section {
		grid-template-columns: 1fr;
		display: flex;
		flex-direction: column;
	}

	.header-left {
		padding: var(--spacing-xs) var(--spacing-sm);
		justify-content: space-between;
		align-items: center;
		background: #8B0000;
		width: 100%;
		position: relative;
		display: grid;
		grid-template-columns: auto 1fr auto;
		gap: var(--spacing-xs);
		align-items: center;
	}

	/* Hamburger dans header-left sur mobile - Ã  gauche */
	.header-left .menu-toggle.mobile-only {
		display: flex !important;
		position: relative;
		margin: 0;
		width: 32px;
		height: 32px;
		padding: 6px;
		border: 1px solid rgba(255, 255, 255, 0.5);
		grid-column: 1;
		z-index: 1000;
		cursor: pointer;
		pointer-events: auto;
		background: rgba(255, 255, 255, 0.1);
	}

	.header-left .menu-toggle.mobile-only:hover {
		background: rgba(255, 255, 255, 0.2);
	}

	.header-left .menu-toggle .hamburger-line {
		height: 2px;
	}

	.header-left .logo-area {
		grid-column: 2;
		text-align: center;
		position: relative;
	}

	.header-left .site-title {
		margin: 0;
	}

	.header-left .site-title a {
		color: #ffffff;
		font-size: 1rem;
	}

	.header-left .site-title .custom-logo-header {
		max-height: 35px;
	}

	.header-site-name {
		align-items: flex-start;
	}

	.header-name-top {
		font-size: 1.125rem;
	}

	.header-name-bottom {
		font-size: 1.375rem;
	}

	.header-left .language-select--header {
		grid-column: 3;
	}

	.header-left .language-select {
		color: #ffffff;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
		font-size: 0.875rem;
	}

	.header-right {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: center;
		gap: var(--spacing-xs);
		padding: var(--spacing-xs) var(--spacing-sm);
		background: #2c2c2c;
		width: 100%;
		min-height: 40px;
	}

	.site-title {
		font-size: 1rem;
	}

	.social-menu {
		justify-content: center;
		gap: var(--spacing-xs);
	}

	.social-menu li span {
		display: none;
	}

	.social-menu a {
		width: 28px;
		height: 28px;
	}

	.social-menu svg {
		width: 14px;
		height: 14px;
	}

	.main-navigation-wrapper {
		position: relative;
		overflow: visible;
	}

	/* Bouton Hamburger - gÃ©rÃ© dans header-left sur mobile */

	.main-navigation {
		position: relative;
		overflow: visible;
	}

	.main-navigation .container {
		flex-direction: column;
		align-items: stretch;
		padding: 0;
		min-height: 50px;
		position: relative;
		overflow: visible;
	}

	.menu-mobile-wrapper {
		display: none !important;
		flex-direction: column;
		width: 100%;
		padding: var(--spacing-md) var(--container-padding);
		background: var(--color-primary);
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
		z-index: 99999;
		max-height: calc(100vh - 200px);
		overflow-y: auto;
		border-top: 2px solid rgba(255, 255, 255, 0.1);
		margin: 0;
	}

	/* Logo du menu sur mobile */
	.menu-logo-area {
		display: flex !important;
		/* AffichÃ© sur mobile */
		margin-bottom: var(--spacing-md);
		padding: var(--spacing-sm) 0;
	}

	.menu-site-name {
		width: 100%;
	}

	.menu-name-top {
		font-size: 1.25rem;
	}

	.menu-name-bottom {
		font-size: 1.5rem;
	}

	.menu-logo {
		max-height: 50px;
	}

	/* Menu ouvert - FORCER l'affichage */
	.main-navigation.toggled .menu-mobile-wrapper,
	.menu-mobile-wrapper.show-menu,
	.menu-mobile-wrapper[style*="display: flex"],
	.menu-mobile-wrapper[style*="display:flex"] {
		display: flex !important;
		opacity: 1 !important;
		visibility: visible !important;
		pointer-events: auto !important;
	}

	.africa-regions-menu {
		flex-direction: column;
		width: 100%;
		gap: 0;
		margin-bottom: var(--spacing-md);
	}

	.africa-region-item {
		border-bottom: 1px solid rgba(255, 255, 255, 0.2);
		width: 100%;
	}

	.africa-region-item>a {
		padding: var(--spacing-sm) var(--spacing-md);
		width: 100%;
		font-size: 1rem;
	}

	.africa-submenu {
		display: none;
		position: static;
		box-shadow: none;
		border: none;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
		background: rgba(0, 0, 0, 0.2);
		width: 100%;
		margin-top: 0;
	}

	.africa-region-item.submenu-open .africa-submenu {
		display: block;
	}

	.africa-submenu a {
		color: #ffffff;
		padding: var(--spacing-xs) var(--spacing-lg);
	}

	/* Indicateur visuel pour les Ã©lÃ©ments avec sous-menu */
	.africa-region-item>a::after {
		content: 'â–¼';
		display: inline-block;
		margin-left: 0.5rem;
		font-size: 0.7rem;
		transition: transform 0.3s ease;
	}

	.africa-region-item.submenu-open>a::after {
		transform: rotate(180deg);
	}

	/* Menu principal avec sous-menu */
	.africanews-menu>li>.sub-menu {
		display: none;
		position: static;
		box-shadow: none;
		border: none;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
		background: rgba(0, 0, 0, 0.2);
		width: 100%;
		margin-top: 0;
	}

	.africanews-menu>li.submenu-open>.sub-menu {
		display: block;
	}

	.africanews-menu>li>a::after {
		content: 'â–¼';
		display: inline-block;
		margin-left: 0.5rem;
		font-size: 0.7rem;
		transition: transform 0.3s ease;
	}

	.africanews-menu>li.submenu-open>a::after {
		transform: rotate(180deg);
	}

	.secondary-tools {
		flex-direction: column;
		width: 100%;
		gap: var(--spacing-sm);
		margin-top: var(--spacing-md);
		padding-top: var(--spacing-md);
		border-top: 1px solid rgba(255, 255, 255, 0.2);
	}

	.secondary-tools>li:not(:first-child)::before {
		display: none;
	}

	.live-link {
		width: 100%;
		justify-content: center;
		padding: var(--spacing-sm) var(--spacing-md);
	}

	.search-item {
		width: 100%;
	}

	.search-trigger {
		width: 100%;
		justify-content: center;
		padding: var(--spacing-sm);
		border: 1px solid rgba(255, 255, 255, 0.3);
		border-radius: 4px;
	}

	.mobile-menu-extras {
		display: block;
		margin-top: var(--spacing-md);
		padding-top: var(--spacing-md);
		border-top: 1px solid rgba(255, 255, 255, 0.2);
	}

	.secondary-tools {
		flex-direction: column;
		width: 100%;
		padding: var(--spacing-sm) var(--container-padding);
		border-top: 1px solid rgba(255, 255, 255, 0.1);
		gap: var(--spacing-sm);
	}

	.secondary-tools::before {
		display: none;
	}

	.live-link {
		width: 100%;
		justify-content: center;
	}

	.search-item {
		width: 100%;
	}

	.search-item::before {
		display: none;
	}

	.search-trigger {
		width: 100%;
		justify-content: center;
		padding: var(--spacing-sm);
		border: 1px solid rgba(255, 255, 255, 0.3);
		border-radius: 4px;
	}

	.dark-mode-toggle {
		width: 32px;
		height: 32px;
		margin-left: var(--spacing-xs);
	}

	.desktop-search-only {
		display: none;
	}

	/* Afficher les actions mobiles dans le header-right */
	.header-right {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		padding: var(--spacing-sm);
	}

	.section-title h2 {
		font-size: 1.5rem;
	}

	.teaser-title {
		font-size: 1.5rem;
	}

	.single-layout {
		padding: 0 var(--spacing-sm);
		margin-top: var(--spacing-sm);
		margin-bottom: var(--spacing-md);
		gap: var(--spacing-md);
	}

	.single-main {
		width: 100%;
		padding: 0;
	}

	.single-article {
		padding: var(--spacing-sm);
	}

	.single-title {
		font-size: 1.75rem;
		line-height: 1.3;
		margin-bottom: var(--spacing-sm);
	}

	.single-meta-top {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--spacing-xs);
		margin-bottom: var(--spacing-sm);
	}

	.single-meta-bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--spacing-sm);
		padding: var(--spacing-sm) 0;
	}

	.single-time {
		font-size: 0.875rem;
		flex-wrap: wrap;
	}

	.single-nav .nav-links {
		flex-wrap: wrap;
	}

	.single-layout {
		overflow-x: hidden;
	}

	.single-content {
		font-size: 1rem;
		line-height: 1.7;
		padding: 0;
		overflow-wrap: break-word;
		word-break: break-word;
	}

	.single-content p {
		margin-bottom: var(--spacing-sm);
		text-align: justify;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}

	.single-media {
		margin-bottom: var(--spacing-sm);
		border-radius: 4px;
		width: 100%;
		overflow: hidden;
	}

	.single-thumb {
		padding-top: 56.25%;
		width: 100%;
	}

	.single-thumb img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.embed-container {
		width: 100%;
		position: relative;
	}

	.embed-container iframe {
		width: 100%;
		height: 100%;
	}

	.single-content img {
		width: 100%;
		max-width: 100%;
		height: auto;
		margin: var(--spacing-sm) 0;
	}

	.single-content table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.single-author {
		width: 100%;
	}

	.single-share {
		width: 100%;
		justify-content: flex-start;
		flex-wrap: wrap;
		gap: var(--spacing-xs);
	}

	.single-share span {
		width: 100%;
		margin-bottom: var(--spacing-xs);
	}

	.single-footer {
		margin-top: var(--spacing-md);
	}

	.related-posts h2 {
		font-size: 1.5rem;
		margin-bottom: var(--spacing-sm);
	}

	.related-grid {
		grid-template-columns: 1fr;
		gap: var(--spacing-sm);
	}

	.related-card {
		margin-bottom: var(--spacing-sm);
	}

	.related-card img {
		width: 100%;
		height: auto;
	}

	.related-card h3 {
		font-size: 0.9375rem;
		line-height: 1.4;
	}

	.cat-grid-wrapper {
		grid-template-columns: 1fr;
	}

	.archive-page-title {
		font-size: 2rem;
	}

	.footer-social-wrapper {
		flex-direction: column;
		gap: var(--spacing-xs);
	}

	.footer-social-list {
		flex-wrap: wrap;
		justify-content: center;
	}

	.footer-menu-list {
		flex-direction: column;
		gap: var(--spacing-xs);
	}

	.footer-menu-list li::after {
		display: none;
	}

	.footer-bottom-content {
		flex-direction: column;
		gap: var(--spacing-xs);
	}

	.bottom-list {
		flex-direction: column;
		text-align: center;
	}
}

/* Petit Mobile (max-width: 480px) */
@media screen and (max-width: 480px) {
	:root {
		--spacing-lg: 1.5rem;
		--spacing-xl: 2rem;
	}

	h1 {
		font-size: 1.75rem;
	}

	h2 {
		font-size: 1.5rem;
	}

	h3 {
		font-size: 1.25rem;
	}

	.site-title {
		font-size: 1.25rem;
	}

	.teaser-title {
		font-size: 1.25rem;
	}

	.single-layout {
		padding: 0 var(--spacing-xs);
		margin-top: var(--spacing-xs);
	}

	.single-article {
		padding: var(--spacing-xs);
	}

	.single-title {
		font-size: 1.5rem;
		line-height: 1.25;
	}

	.single-content {
		font-size: 0.9375rem;
		line-height: 1.6;
	}

	.single-content p {
		margin-bottom: var(--spacing-xs);
	}

	.single-meta-top,
	.single-meta-bottom {
		gap: var(--spacing-xs);
	}

	.single-share a {
		width: 32px;
		height: 32px;
		font-size: 0.75rem;
	}

	.block-header {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--spacing-xs);
	}

	.block-small-post {
		flex-direction: column;
	}

	.block-small-post .teaser-image {
		flex: 1 1 100%;
	}

	c .single-nav .nav-links {
		flex-direction: column;
	}

	.single-nav .nav-previous,
	.single-nav .nav-next {
		width: 100%;
	}
}







/* --- CORRECTIF CONTRAINTES MOBILE VIA PHP WRAPPER --- */
@media only screen and (max-width: 768px) {

	.mobile-safe-wrapper {
		/* Force la largeur Ã  ne jamais dÃ©passer l'Ã©cran */
		width: 100% !important;
		max-width: 100vw !important;

		/* Coupe tout ce qui dÃ©passe (le secret du fix) */
		overflow: hidden !important;

		/* Ajoute une petite marge de sÃ©curitÃ© interne sur les cÃ´tÃ©s */
		padding-left: 10px !important;
		padding-right: 10px !important;

		/* Assure que le padding ne fait pas gonfler la largeur */
		box-sizing: border-box !important;

		/* S'assure que c'est un bloc solide */
		display: block !important;
	}

	/* Force les images et vidÃ©os Ã  respecter la cage */
	.mobile-safe-wrapper img,
	.mobile-safe-wrapper iframe,
	.mobile-safe-wrapper video,
	.mobile-safe-wrapper embed {
		max-width: 100% !important;
		height: auto !important;
	}
}

/*--------------------------------------------------------------
# MÃ‰TÃ‰O PAGE â€” Africanews Style (Lightweight)
--------------------------------------------------------------*/

/* === Bouton MÃ©tÃ©o Navigation === */
.meteo-link {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.6rem 1rem;
	background: linear-gradient(135deg, #0277bd, #039be5);
	color: #ffffff !important;
	border: none;
	border-radius: 3px;
	font-weight: 700;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	transition: all 0.25s;
	white-space: nowrap;
	text-decoration: none;
}

.meteo-link:hover {
	background: linear-gradient(135deg, #01579b, #0288d1);
	color: #ffffff !important;
	transform: translateY(-1px);
	box-shadow: 0 3px 8px rgba(2, 119, 189, 0.4);
}

.meteo-icon {
	width: 16px;
	height: 16px;
	stroke: #fff;
	fill: none;
}

.mobile-meteo {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-bottom: var(--spacing-md);
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
}

@media screen and (max-width: 768px) {
	.meteo-link {
		padding: 0.45rem 0.6rem;
		font-size: 0.7rem;
	}
}

/*--------------------------------------------------------------
# PAGE CONTACT â€” Gazeti Africa 55 Premium
--------------------------------------------------------------*/
.gazeti-contact-page-wrapper {
	padding: 40px 0 80px;
	background-color: var(--color-background-alt);
}

.gazeti-contact-page-wrapper .container-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* En-tÃªte de page */
.contact-header {
	text-align: center;
	margin-bottom: 50px;
}
.contact-header .page-title {
	font-family: var(--font-heading);
	font-size: 3rem;
	font-weight: 800;
	color: var(--color-heading);
	margin-bottom: 15px;
	text-transform: uppercase;
}
.contact-header .page-subtitle {
	font-size: 1.1rem;
	color: var(--color-text);
	max-width: 700px;
	margin: 0 auto;
}

/* Alertes (SuccÃ¨s / Erreur) */
.contact-alert {
	padding: 15px 20px;
	border-radius: 4px;
	margin-bottom: 30px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 10px;
}
.contact-alert.success {
	background-color: #e8f5e9;
	color: #2e7d32;
	border-left: 4px solid #2e7d32;
}
.contact-alert.error {
	background-color: #ffebee;
	color: #c62828;
	border-left: 4px solid #c62828;
}

/* Layout Split */
.contact-split-layout {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 40px;
	align-items: flex-start;
}
@media screen and (max-width: 900px) {
	.contact-split-layout {
		grid-template-columns: 1fr;
	}
}

/* Cartes Info et Formulaire */
.info-card, .form-card {
	background: var(--color-background);
	border: 1px solid var(--color-border);
	padding: 40px;
	border-radius: 8px;
	box-shadow: 0 5px 20px rgba(0,0,0,0.05);	
}

body.dark-mode .info-card, 
body.dark-mode .form-card {
	box-shadow: 0 5px 20px rgba(0,0,0,0.3);	
}

.info-card-header h2, .form-card-header h2 {
	font-family: var(--font-heading);
	font-size: 1.8rem;
	color: var(--color-heading);
	margin: 0;
}
.title-underline {
	width: 60px;
	height: 4px;
	background-color: #e3000f; /* Rouge Gazeti */
	margin: 15px 0 25px;
}

/* Informations utiles */
.info-intro {
	margin-bottom: 30px;
	color: var(--color-text);
	line-height: 1.6;
}
.info-list {
	list-style: none;
	padding: 0;
	margin: 0 0 40px;
}
.info-list li {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	margin-bottom: 25px;
}
.info-icon {
	width: 45px;
	height: 45px;
	background-color: #e3000f;
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	flex-shrink: 0;
}
.info-details strong {
	display: block;
	font-family: var(--font-heading);
	color: var(--color-heading);
	margin-bottom: 5px;
	font-size: 1.1rem;
}
.info-details a, .info-details span {
	color: var(--color-text);
	text-decoration: none;
	font-size: 1rem;
}
.info-details a:hover {
	color: #e3000f;
}

/* RÃ©seaux sociaux contact */
.contact-social h3 {
	font-size: 1.3rem;
	margin-bottom: 15px;
	color: var(--color-heading);
}
.social-icons {
	display: flex;
	gap: 10px;
}
.social-icons .social-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: var(--color-heading);
	color: var(--color-background);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	transition: all 0.3s ease;
	text-decoration: none;
}
.social-icons .social-icon:hover {
	background-color: #e3000f;
	color: #fff;
	transform: translateY(-3px);
}
.social-icons .social-icon.whatsapp:hover {
	background-color: #25D366; /* Vert WhatsApp */
}

/* Formulaire */
.gazeti-contact-form .form-row {
	display: flex;
	gap: 20px;
}
.gazeti-contact-form .half-width {
	flex: 1;
}
@media screen and (max-width: 600px) {
	.gazeti-contact-form .form-row {
		flex-direction: column;
		gap: 0;
	}
}
.gazeti-contact-form .form-group {
	margin-bottom: 25px;
}
.gazeti-contact-form label {
	display: block;
	font-weight: 700;
	margin-bottom: 8px;
	color: var(--color-heading);
	font-family: var(--font-heading);
}
.gazeti-contact-form label .required {
	color: #e3000f;
}
.gazeti-contact-form input[type="text"],
.gazeti-contact-form input[type="email"],
.gazeti-contact-form textarea {
	width: 100%;
	padding: 14px 18px;
	border: 1px solid var(--color-border);
	background-color: var(--color-background);
	color: var(--color-text);
	border-radius: 4px;
	font-family: var(--font-body);
	font-size: 1rem;
	transition: border-color 0.3s;
}
.gazeti-contact-form input:focus,
.gazeti-contact-form textarea:focus {
	outline: none;
	border-color: #e3000f;
	box-shadow: 0 0 0 2px rgba(227, 0, 15, 0.1);
}

.gazeti-submit-btn {
	background-color: #e3000f;
	color: #fff;
	border: none;
	padding: 16px 35px;
	font-size: 1.1rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1px;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: var(--font-heading);
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.gazeti-submit-btn:hover {
	background-color: #000;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(227, 0, 15, 0.3);
}
body.dark-mode .gazeti-submit-btn:hover {
	background-color: #222;
}

/*--------------------------------------------------------------
# PAGE Ã€ PROPOS â€” Gazeti Africa 55 Premium
--------------------------------------------------------------*/
.gazeti-about-page-wrapper {
	background-color: var(--color-background);
}

.gazeti-about-page-wrapper section {
	padding: 80px 0;
}

.gazeti-about-page-wrapper .alternate-bg {
	background-color: var(--color-background-alt);
}

.text-primary {
	color: #e3000f;
}

/* Hero Section */
.about-hero-section {
	background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('https://via.placeholder.com/1920x600/333/fff?text=Africa+55') center/cover no-repeat;
	color: #ffffff;
	padding: 120px 0 !important;
}
.about-hero-title {
	font-family: var(--font-heading);
	font-size: 3.5rem;
	font-weight: 900;
	margin-bottom: 20px;
	color: #ffffff;
	text-transform: uppercase;
}
.about-hero-title .text-primary {
	color: #e3000f;
}
.about-hero-subtitle {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 30px;
	color: #ddd;
}
.about-hero-desc {
	font-size: 1.1rem;
	line-height: 1.8;
	max-width: 800px;
	margin: 0 auto;
	color: #ccc;
}

/* Common Titles */
.section-title {
	font-family: var(--font-heading);
	font-size: 2.5rem;
	font-weight: 800;
	margin-bottom: 10px;
	color: var(--color-heading);
}
.center-underline {
	width: 80px;
	height: 4px;
	background-color: #e3000f;
	margin: 15px auto 30px;
}

/* Mission Section */
.mission-card {
	background: var(--color-background);
	padding: 50px;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.05);   
	margin-top: -80px; /* Overlaps hero */
	position: relative;
	z-index: 10;
}
body.dark-mode .mission-card {
	box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.mission-icon {
	width: 80px;
	height: 80px;
	background-color: #e3000f;
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	margin: 0 auto 20px;
	box-shadow: 0 5px 15px rgba(227, 0, 15, 0.4);
}
.mission-text {
	font-size: 1.15rem;
	line-height: 1.8;
	color: var(--color-text);
	max-width: 800px;
	margin: 0 auto;
}

/* Pourquoi Grid */
.why-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	margin-bottom: 30px;
}
.why-item {
	background-color: var(--color-background);
	padding: 40px;
	border-radius: 8px;
	border-left: 5px solid #e3000f;
	box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}
body.dark-mode .why-item {
	box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.why-term {
	font-family: var(--font-heading);
	font-size: 1.8rem;
	font-weight: 800;
	color: var(--color-heading);
	margin-bottom: 15px;
}
.why-item p {
	color: var(--color-text);
	font-size: 1.05rem;
	line-height: 1.6;
}
.why-conclusion {
	font-size: 1.2rem;
	color: var(--color-heading);
}

/* Themes Grid */
.themes-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 25px;
}
.theme-card {
	text-align: center;
	padding: 30px 20px;
	background-color: var(--color-background-alt);
	border: 1px solid var(--color-border);
	border-radius: 8px;
	transition: all 0.3s ease;
}
.theme-card:hover {
	transform: translateY(-10px);
	border-color: #e3000f;
	box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
body.dark-mode .theme-card:hover {
	box-shadow: 0 10px 20px rgba(227, 0, 15, 0.1);
}
.theme-icon {
	width: 60px;
	height: 60px;
	background-color: var(--color-background);
	color: #e3000f;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	margin: 0 auto 20px;
	border: 1px solid var(--color-border);
	transition: all 0.3sease;
}
.theme-card:hover .theme-icon {
	background-color: #e3000f;
	color: #fff;
	border-color: #e3000f;
}
.theme-card h3 {
	font-family: var(--font-heading);
	font-size: 1.2rem;
	color: var(--color-heading);
	margin-bottom: 15px;
}
.theme-card p {
	color: var(--color-text);
	font-size: 0.95rem;
	line-height: 1.5;
}

/* Commitments List */
.commitments-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}
.commitment-item {
	background-color: var(--color-background);
	padding: 40px 30px;
	border-radius: 8px;
	position: relative;
	overflow: hidden;
	border: 1px solid var(--color-border);
	box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}
body.dark-mode .commitment-item {
	box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.commitment-number {
	position: absolute;
	top: -20px;
	right: -10px;
	font-family: var(--font-heading);
	font-size: 8rem;
	font-weight: 900;
	color: rgba(227, 0, 15, 0.05);
	line-height: 1;
	z-index: 0;
	pointer-events: none;
}
body.dark-mode .commitment-number {
	color: rgba(227, 0, 15, 0.08);
}
.commitment-content {
	position: relative;
	z-index: 1;
}
.commitment-content h3 {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	color: var(--color-heading);
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.commitment-content h3::before {
	content: '';
	display: inline-block;
	width: 15px;
	height: 15px;
	background-color: #e3000f;
	border-radius: 50%;
}
.commitment-content p {
	color: var(--color-text);
	font-size: 1rem;
	line-height: 1.6;
}

/* CTA Section */
.about-cta-section {
	background-color: #000; /* Dark background always for CTA */
	background-image: linear-gradient(45deg, #000 0%, #1a0000 100%);
	padding: 100px 0;
}
.about-cta-section .section-title {
	color: #fff;
}
.about-cta-section p {
	color: #ccc;
	font-size: 1.15rem;
	line-height: 1.6;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}
.cta-buttons {
	display: flex;
	gap: 20px;
	justify-content: center;
	margin-top: 30px;
}
.btn-premium {
	padding: 15px 35px;
	font-family: var(--font-heading);
	font-size: 1.1rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1px;
	border-radius: 4px;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.btn-whatsapp {
	background-color: #25D366;
	color: #fff;
}
.btn-whatsapp:hover {
	background-color: #1ebe57;
	color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}
.btn-outline {
	background-color: transparent;
	color: #fff;
	border: 2px solid #e3000f;
}
.btn-outline:hover {
	background-color: #e3000f;
	color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(227, 0, 15, 0.3);
}

/* Responsive About Page */
@media screen and (max-width: 992px) {
	.themes-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.commitments-list {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 768px) {
	.about-hero-title {
		font-size: 2.5rem;
	}
	.mission-card {
		padding: 30px 20px;
	}
	.why-grid {
		grid-template-columns: 1fr;
	}
	.themes-grid {
		grid-template-columns: 1fr;
	}
	.cta-buttons {
		flex-direction: column;
		gap: 15px;
	}
}

/*--------------------------------------------------------------
# Legal Pages & Cookie Banner
--------------------------------------------------------------*/
.gazeti-legal-page-wrapper {
	padding: 60px 0;
	background-color: var(--color-bg);
}
.legal-hero-section {
	padding: 60px 0;
	background-color: var(--color-bg-light);
	border-bottom: 1px solid var(--color-border);
	margin-bottom: 40px;
}
.legal-hero-title {
	font-size: 2.5rem;
	color: var(--color-primary);
	margin-bottom: 15px;
}
.legal-hero-subtitle {
	font-size: 1.2rem;
	color: var(--color-text-light);
}
.legal-block {
	margin-bottom: 40px;
	padding: 30px;
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: 8px;
	box-shadow: var(--shadow-sm);
}
.legal-section-title {
	color: var(--color-primary-dark);
	font-size: 1.8rem;
	margin-bottom: 15px;
}
.legal-subsection-title {
	color: var(--color-text);
	font-size: 1.3rem;
	margin-bottom: 15px;
	padding-bottom: 5px;
	border-bottom: 1px solid var(--color-border-light);
}
.legal-list {
	list-style: none;
	padding-left: 0;
}
.legal-list li {
	margin-bottom: 10px;
	display: flex;
	align-items: flex-start;
	gap: 10px;
}
.legal-list li i {
	margin-top: 5px;
}
.legal-details ul {
	list-style: none;
	padding-left: 0;
}
.legal-details li {
	margin-bottom: 8px;
}
body.dark-mode .legal-block {
	background: var(--color-bg-light);
	border-color: var(--color-border-light);
}

/* Cookie Banner */
.gazeti-cookie-banner {
	position: fixed;
	bottom: -100%;
	left: 0;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.95);
	color: #fff;
	padding: 20px 0;
	z-index: 9999;
	box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
	transition: bottom 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
	backdrop-filter: blur(10px);
}
.gazeti-cookie-banner.show {
	bottom: 0;
}
.cookie-banner-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.cookie-text {
	flex: 1;
	font-size: 0.95rem;
	line-height: 1.5;
	margin: 0;
	color: #eee;
}
.cookie-buttons {
	display: flex;
	gap: 15px;
	flex-shrink: 0;
}
.btn-cookie {
	padding: 10px 20px;
	border-radius: 4px;
	font-weight: 600;
	font-size: 0.9rem;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	text-align: center;
}
.btn-cookie-accept {
	background-color: var(--color-primary);
	color: #fff;
	border: 1px solid var(--color-primary);
}
.btn-cookie-accept:hover {
	background-color: var(--color-primary-dark);
	box-shadow: 0 4px 10px rgba(198, 45, 3, 0.3);
	color: #fff;
}
.btn-cookie-refuse {
	background-color: transparent;
	color: #ccc;
	border: 1px solid #666;
}
.btn-cookie-refuse:hover {
	background-color: rgba(255,255,255,0.1);
	color: #fff;
}
.btn-cookie-more {
	background-color: transparent;
	color: #fff;
	text-decoration: underline;
	padding: 10px 5px;
}
.btn-cookie-more:hover {
	color: var(--color-primary);
}

@media screen and (max-width: 768px) {
	.cookie-banner-content {
		flex-direction: column;
		text-align: center;
	}
	.cookie-buttons {
		flex-direction: column;
		width: 100%;
	}
	.btn-cookie {
		width: 100%;
	}
	.legal-hero-title {
		font-size: 2rem;
	}
}

/* ==============================================================
   # HOMEPAGE REDESIGN (France 24 Style)
   ============================================================== */

/* --- 1. Top Stories (A la une) --- */
.top-stories-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.sub-stories-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.hero-article .teaser-title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-top: 5px;
}

.category-tag-small {
    display: inline-block;
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

/* --- 2. Live Video Sidebar --- */
.sidebar-live-video {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    margin-bottom: var(--spacing-lg);
    overflow: hidden;
}

.sidebar-live-video .live-label {
    background: var(--color-primary);
    color: #fff;
    padding: 10px 15px;
    font-size: 0.9rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.pulsing-dot {
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.5; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1.2); }
}

.sidebar-live-video .live-sidebar-info {
    padding: 15px;
    background: #000;
    color: #fff;
}

.sidebar-live-video .live-title-small {
    font-size: 1.1rem;
    line-height: 1.3;
    margin: 0 0 10px 0;
}

.sidebar-live-video .live-title-small a {
    color: #fff;
}

.sidebar-live-video .btn-live-action {
    display: inline-block;
    background: var(--color-primary);
    color: #fff !important;
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background 0.2s;
}

.sidebar-live-video .btn-live-action:hover {
    background: #a02000;
}

/* --- 3. Category Blocks Modernization --- */
.home-block-category {
    background: var(--color-bg);
    margin-bottom: 40px;
}

.home-block-category .block-header {
    border-bottom: 2px solid var(--color-border);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.home-block-category .block-title {
    font-size: 1.5rem;
    margin: 0;
    padding-left: 12px;
    position: relative;
}

.home-block-category .block-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 80%;
    background-color: var(--color-primary);
    border-radius: 2px;
}

.home-block-category .block-title a {
    color: var(--color-text);
}

.home-block-category .block-title a:hover {
    color: var(--color-primary);
}

.btn-cookie {
	font-size: 0.9rem;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	text-align: center;
}
.btn-cookie-accept {
	background-color: var(--color-primary);
	color: #fff;
	border: 1px solid var(--color-primary);
}
.btn-cookie-accept:hover {
	background-color: var(--color-primary-dark);
	box-shadow: 0 4px 10px rgba(198, 45, 3, 0.3);
	color: #fff;
}
.btn-cookie-refuse {
	background-color: transparent;
	color: #ccc;
	border: 1px solid #666;
}
.btn-cookie-refuse:hover {
	background-color: rgba(255,255,255,0.1);
	color: #fff;
}
.btn-cookie-more {
	background-color: transparent;
	color: #fff;
	text-decoration: underline;
	padding: 10px 5px;
}
.btn-cookie-more:hover {
	color: var(--color-primary);
}

@media screen and (max-width: 768px) {
	.cookie-banner-content {
		flex-direction: column;
		text-align: center;
	}
	.cookie-buttons {
		flex-direction: column;
		width: 100%;
	}
	.btn-cookie {
		width: 100%;
	}
	.legal-hero-title {
		font-size: 2rem;
	}
}

/* ==============================================================
   # HOMEPAGE REDESIGN (France 24 Style)
   ============================================================== */

/* --- 1. Top Stories (A la une) --- */
.top-stories-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.sub-stories-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.hero-article .teaser-title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-top: 5px;
}

.category-tag-small {
    display: inline-block;
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

/* --- 2. Premium Live Block (Moved to main content) --- */
.pulsing-dot {
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.5; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1.2); }
}

/* --- 3. SOFT CATEGORY BLOCKS --- */
.soft-category-block {
    margin-bottom: 50px;
    background: var(--color-bg);
}

.soft-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 2px solid var(--color-text); /* Solid black top border for a serious/news feel */
    padding-top: 15px;
    margin-bottom: 25px;
}

.soft-block-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    color: var(--color-text);
}

.soft-block-title a {
    color: inherit;
    text-decoration: none;
}

.soft-block-title a:hover {
    color: var(--color-primary);
}

.soft-block-more {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.soft-block-more:hover {
    text-decoration: underline;
}

.soft-block-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.soft-card {
    display: flex;
    flex-direction: column;
}

.soft-card-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    margin-bottom: 12px;
    border-radius: 4px;
}

.soft-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.soft-card:hover .soft-card-thumb img {
    transform: scale(1.05);
}

.soft-card-date {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 6px;
}

/* --- Recent Posts Sidebar --- */
.recent-header {
	margin-bottom: var(--spacing-md);
	padding-bottom: var(--spacing-xs);
	border-bottom: 2px solid var(--color-primary);
}

.recent-header h3 {
	font-size: 1.25rem;
	font-weight: 800;
	margin: 0;
	color: var(--color-primary);
	text-transform: uppercase;
}

.recent-posts-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.recent-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding-bottom: 15px;
	border-bottom: 1px solid var(--color-border-light);
}

.recent-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.recent-thumb {
	flex: 0 0 85px;
	height: 65px;
	border-radius: 4px;
	overflow: hidden;
	display: block;
}

.recent-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}

.recent-item:hover .recent-thumb img {
	transform: scale(1.05);
}

.recent-info {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.recent-title {
	font-size: 0.95rem;
	line-height: 1.35;
	margin: 0 0 6px 0;
	font-weight: 700;
}

.recent-title a {
	color: var(--color-text);
	text-decoration: none;
	transition: color 0.2s;
}

.recent-item:hover .recent-title a {
	color: var(--color-primary);
}

.recent-time {
	font-size: 0.75rem;
	color: var(--color-text-light);
	font-weight: 600;
}

.soft-card-title {
    font-size: 1.05rem;
    line-height: 1.4;
    margin: 0;
    font-weight: 700;
}

.soft-card-title a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.soft-card:hover .soft-card-title a {
    color: var(--color-primary);
}

/* --- Responsive Adjustments --- */
@media screen and (max-width: 991px) {
    .home-layout-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar-live-video {
        margin-top: 20px;
    }
    
    .sub-stories-container {
        grid-template-columns: 1fr;
    }
    
    .soft-block-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .soft-block-grid {
        grid-template-columns: 1fr;
    }
}

/* --- 4. Main Live TV Section --- */
.main-live-tv-section {
    background: #111;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 40px;
    color: #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.live-tv-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #333;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.live-tv-header h2 {
    color: #fff;
    font-size: 1.6rem;
    margin: 0;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.live-tv-more {
    color: #ccc;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.2s;
}

.live-tv-more:hover {
    color: var(--color-primary);
}

.live-tv-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
}

/* Hero Section */
.live-tv-hero {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background: #000;
}

.live-tv-hero-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
    display: block;
    transition: transform 0.3s ease;
}

.live-tv-hero-link:hover .hero-bg-img {
    transform: scale(1.02);
}

.yt-play-button-big {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background-color: rgba(255, 0, 0, 0.85);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 2;
}

.yt-play-button-big::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #fff;
    margin-left: 4px;
}

.live-tv-hero-link:hover .yt-play-button-big {
    background-color: rgb(255, 0, 0);
    transform: translate(-50%, -50%) scale(1.05);
}

.tv-watermark {
    max-width: 80px;
    position: absolute;
    top: 15px;
    right: 15px;
    opacity: 0.8;
    z-index: 2;
}

.live-tv-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
    padding: 30px 20px 20px;
    z-index: 2;
    pointer-events: none;
}

.live-tv-hero-title {
    color: #fff;
    font-size: 1.4rem;
    line-height: 1.3;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

/* Playlist Right Column */
.live-tv-playlist {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.live-tv-playlist-item {
    display: flex;
    gap: 15px;
    background: #1a1a1a;
    border-radius: 6px;
    padding: 12px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    align-items: center;
}

.live-tv-playlist-item:hover {
    background: #2a2a2a;
    transform: translateY(-2px);
}

.playlist-thumb {
    flex: 0 0 100px;
    height: 65px;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.playlist-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(200, 40, 0, 0.85);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: background 0.2s;
    padding-left: 2px;
}

.live-tv-playlist-item:hover .play-overlay {
    background: var(--color-primary);
}

.playlist-info {
    flex: 1;
}

.playlist-title {
    color: #eee;
    font-size: 0.95rem;
    line-height: 1.3;
    margin: 0;
    font-weight: 500;
    transition: color 0.2s;
}

.live-tv-playlist-item:hover .playlist-title {
    color: #fff;
}

@media screen and (max-width: 991px) {
    .live-tv-grid {
        grid-template-columns: 1fr;
    }
}

/* ==============================================================================
   # SINGLE ARTICLE PREMIUM REDESIGN
   ============================================================================== */

/* --- HERO SECTION --- */
.single-hero-premium {
    margin-top: 2rem;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
    animation: fadeIn 0.8s ease-out;
}

.single-title-premium {
    font-family: var(--font-display, sans-serif);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-text, #1a1a1a);
    margin: 1.5rem 0;
    letter-spacing: -0.02em;
}

.single-meta-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--color-text-light, #4a4a4a);
    margin-bottom: 2rem;
    font-family: var(--font-primary, sans-serif);
}

.single-author-inline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.single-author-inline img {
    border-radius: 50%;
    width: 32px;
    height: 32px;
    object-fit: cover;
    border: 2px solid var(--color-primary, #FF0000);
}

.single-author-inline .byline strong {
    color: var(--color-text, #1a1a1a);
    font-weight: 700;
}

.sep-dot {
    color: var(--color-primary, #FF0000);
    font-weight: bold;
}

.single-media-premium {
    width: 100vw;
    max-width: 1200px;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 3rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    background: #000;
}

.single-thumb-premium {
    margin: 0;
    width: 100%;
    aspect-ratio: 16/9;
}

.premium-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fix for large screens to constrain the full-bleed */
@media screen and (min-width: 1200px) {
    .single-media-premium {
        margin-left: auto;
        margin-right: auto;
        left: auto;
        right: auto;
        width: 100%;
    }
}

/* --- RECENT POSTS (NOS ARTICLES RÉCENTS) --- */
.recent-posts-premium {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--color-border, #E0E0E0);
}

.premium-section-header {
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--color-primary, #FF0000);
    padding-bottom: 0.5rem;
}

.premium-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color-text, #1a1a1a);
    margin: 0;
}

.premium-section-title span {
    background: var(--color-primary, #FF0000);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

.recent-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.recent-card-premium {
    background: var(--color-bg, #FFFFFF);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recent-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.recent-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.recent-card-media {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    margin: 0;
    background: #000;
}

.recent-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.recent-card-premium:hover .recent-card-media img {
    transform: scale(1.05);
}

.recent-card-content {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.recent-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    cursor: pointer;
}

.recent-card-date {
    font-size: 0.85rem;
    color: var(--color-text-lighter, #808080);
    margin-top: auto;
}

/* Play button overlay */
.recent-card-media .video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 0, 0, 0.8);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: background 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.recent-card-premium:hover .video-play-overlay {
    background: rgba(255, 0, 0, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.recent-card-media .live-badge-overlay {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: #FF0000;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    animation: pulseLive 2s infinite;
    z-index: 2;
}

/* Dark mode support */
body.dark-mode .single-title-premium { color: #FFF; }
body.dark-mode .single-meta-inline { color: #AAA; }
body.dark-mode .single-author-inline .byline strong { color: #FFF; }
body.dark-mode .recent-posts-premium { border-top-color: #333; }
body.dark-mode .premium-section-title { color: #FFF; }
body.dark-mode .recent-card-premium { background: #111; box-shadow: 0 4px 12px rgba(0,0,0,0.5); }
body.dark-mode .recent-card-title { color: #FFF; }

