/*
Theme Name: 2G Médias
Theme URI: https://2gmedia.com
Author: 2G Médias
Description: Thème WordPress d'actualités pour 2G Médias — « Informer aujourd'hui, Impacter demain ». Slider à la une, bandeau d'infos, espace vidéo Goudiry Web TV, espaces publicitaires, newsletter.
Version: 1.1.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: g2medias
Tags: news, blog, two-columns, custom-menu, custom-logo, featured-images, translation-ready
*/

/* =========================================================================
   Variables & base
   ========================================================================= */
:root {
	--g2-yellow: #ffc400;
	--g2-yellow-d: #e6ae00;
	--g2-yellow-l: #fff4cc;
	--g2-black: #0b0b0b;
	--g2-ink: #1a1a1a;
	--g2-text: #2b2b2b;
	--g2-muted: #6b6b6b;
	--g2-line: #e7e7e7;
	--g2-bg: #ffffff;
	--g2-soft: #f6f6f4;
	--g2-radius: 6px;
	--g2-shadow: 0 2px 10px rgba(0, 0, 0, .08);
	--g2-font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--g2-head: 'Montserrat', 'Poppins', sans-serif;
	--g2-wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--g2-font);
	font-size: 15px;
	line-height: 1.6;
	color: var(--g2-text);
	background: var(--g2-bg);
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--g2-yellow-d); }
h1, h2, h3, h4 { font-family: var(--g2-head); color: var(--g2-ink); line-height: 1.25; margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--g2-yellow-d); outline-offset: 2px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 9999; background: var(--g2-yellow); color: #000; padding: 10px 16px; margin: 0; }
.g2-wrap { width: 100%; max-width: var(--g2-wrap); margin: 0 auto; padding: 0 20px; }
.g2-hp { position: absolute; left: -9999px; opacity: 0; }

/* =========================================================================
   Barre supérieure
   ========================================================================= */
.g2-topbar { background: #fff; border-bottom: 1px solid var(--g2-line); font-size: 12px; }
.g2-topbar__in { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 16px; }
.g2-topbar__left, .g2-topbar__right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.g2-topbar__date { font-weight: 500; }
.g2-topbar__time { color: var(--g2-yellow-d); font-weight: 700; padding-left: 12px; border-left: 1px solid var(--g2-line); }
.g2-topbar__city, .g2-topbar__weather { display: inline-flex; align-items: center; gap: 4px; padding-left: 12px; border-left: 1px solid var(--g2-line); }
.g2-topbar__city svg { color: var(--g2-ink); }
.g2-topbar__follow { color: var(--g2-muted); }
.g2-topbar__site { font-weight: 700; letter-spacing: .02em; padding-left: 14px; border-left: 1px solid var(--g2-line); }

.g2-socials { display: flex; gap: 8px; align-items: center; }
.g2-soc { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; transition: transform .15s; }
.g2-soc:hover { transform: translateY(-2px); color: #fff; }
.g2-soc svg { width: 13px; height: 13px; }
.g2-soc--facebook { background: #1877f2; }
.g2-soc--x { background: #000; }
.g2-soc--tiktok { background: #000; }
.g2-soc--youtube { background: #ff0000; }
.g2-soc--instagram { background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); }
.g2-socials--footer { gap: 12px; }
.g2-socials--footer .g2-soc { width: 34px; height: 34px; }
.g2-socials--footer .g2-soc svg { width: 18px; height: 18px; }

/* =========================================================================
   En-tête & logo
   ========================================================================= */
.g2-header { background: #fff; }
.g2-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 12px; padding-bottom: 12px; }
.g2-brand { flex: 0 0 auto; }
.g2-brand .custom-logo { max-height: 84px; width: auto; }

.g2-logo { display: inline-flex; align-items: center; gap: 8px; }
.g2-logo__mark { position: relative; display: inline-block; font-family: var(--g2-head); font-weight: 800; font-size: 54px; line-height: 1; color: var(--g2-yellow); letter-spacing: -2px; padding-right: 6px; text-shadow: 2px 2px 0 #000; }
.g2-logo__mark b { font-weight: 800; }
.g2-logo__mark i { position: absolute; left: -4px; right: 0; bottom: -4px; height: 8px; border-radius: 50%; background: #000; transform: rotate(-6deg); }
.g2-logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.g2-logo__text strong { font-family: var(--g2-head); font-weight: 800; font-size: 30px; color: var(--g2-ink); letter-spacing: .5px; }
.g2-logo__text small { font-size: 10.5px; font-weight: 600; color: var(--g2-ink); margin-top: 4px; }
.g2-footer .g2-logo__text strong, .g2-footer .g2-logo__text small { color: #fff; }

.g2-header__ad { flex: 1 1 auto; display: flex; justify-content: flex-end; min-width: 0; }
.g2-header__ad .g2-ad { margin: 0; max-width: 728px; width: 100%; }
.g2-promo {
	display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; max-width: 728px; min-height: 90px; padding: 10px 28px;
	border-radius: var(--g2-radius);
	background: radial-gradient(circle at 85% 40%, rgba(255, 196, 0, .35), transparent 45%), linear-gradient(110deg, #3b2a12, #0b0b0b 55%, #11213a);
	color: #fff;
}
.g2-promo div { display: flex; flex-direction: column; text-align: center; }
.g2-promo strong { font-family: var(--g2-head); color: var(--g2-yellow); font-size: 22px; font-weight: 800; }
.g2-promo span { font-size: 12px; }
.g2-promo em { font-family: Georgia, serif; font-size: 20px; color: var(--g2-yellow); max-width: 220px; line-height: 1.2; }

/* =========================================================================
   Navigation
   ========================================================================= */
.g2-nav { background: var(--g2-black); position: sticky; top: 0; z-index: 100; }
.admin-bar .g2-nav { top: 32px; }
.g2-nav__in { display: flex; align-items: stretch; min-height: 52px; }
.g2-nav__home { display: flex; align-items: center; justify-content: center; width: 52px; background: var(--g2-yellow); color: #000; }
.g2-nav__home:hover { background: var(--g2-yellow-d); color: #000; }
.g2-nav__menu { flex: 1 1 auto; min-width: 0; }
.g2-menu { display: flex; flex-wrap: wrap; height: 100%; }
.g2-menu > li { position: relative; display: flex; }
.g2-menu a { display: flex; align-items: center; padding: 0 14px; color: #fff; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.g2-menu > li > a:hover,
.g2-menu > .current-menu-item > a,
.g2-menu > .current-menu-ancestor > a,
.g2-menu > .current-cat > a,
.g2-menu > .current-menu-parent > a { background: var(--g2-yellow); color: #000; }
.g2-menu .sub-menu { position: absolute; left: 0; top: 100%; min-width: 220px; background: var(--g2-black); display: none; box-shadow: var(--g2-shadow); z-index: 10; }
.g2-menu li:hover > .sub-menu, .g2-menu li:focus-within > .sub-menu { display: block; }
.g2-menu .sub-menu a { padding: 12px 16px; border-bottom: 1px solid #222; }
.g2-menu .sub-menu a:hover { background: var(--g2-yellow); color: #000; }

.g2-nav__search { display: flex; align-items: center; justify-content: center; width: 52px; background: none; border: 0; color: #fff; }
.g2-nav__search:hover { color: var(--g2-yellow); }
.g2-live { display: flex; align-items: center; gap: 8px; margin: 8px 0 8px 8px; padding: 0 22px; background: var(--g2-yellow); color: #000; font-weight: 800; font-size: 13px; border-radius: 4px; letter-spacing: .04em; }
.g2-live:hover { background: var(--g2-yellow-d); color: #000; }
.g2-nav__toggle { display: none; background: none; border: 0; padding: 0 16px; flex-direction: column; justify-content: center; gap: 5px; }
.g2-nav__toggle span { display: block; width: 22px; height: 2px; background: #fff; }
.g2-searchbox { background: #151515; padding: 14px 0; }

/* =========================================================================
   Bandeau « Dernières infos »
   ========================================================================= */
.g2-ticker { background: var(--g2-yellow-l); border-bottom: 1px solid #f0dc8c; }
.g2-ticker__in { display: flex; align-items: center; gap: 14px; min-height: 40px; }
.g2-ticker__label { display: flex; align-items: center; gap: 8px; background: var(--g2-yellow); padding: 8px 14px; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; color: #000; border-radius: 3px; }
.g2-ticker__track { flex: 1; display: flex; gap: 28px; overflow: hidden; white-space: nowrap; font-size: 12px; scrollbar-width: none; }
.g2-ticker__track::-webkit-scrollbar { display: none; }
.g2-ticker__track a { flex: 0 0 auto; }
.g2-ticker__track b { font-weight: 700; }
.g2-ticker__nav { display: flex; gap: 6px; }
.g2-ticker__nav button { width: 24px; height: 24px; background: #fff; border: 1px solid #e3cf80; border-radius: 3px; line-height: 1; font-size: 16px; padding: 0; }
.g2-ticker__nav button:hover { background: var(--g2-yellow); }

/* =========================================================================
   Composants communs
   ========================================================================= */
.g2-main { padding-bottom: 40px; }
.g2-badge { display: inline-block; background: var(--g2-yellow); color: #000; font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 3px 8px; border-radius: 2px; line-height: 1.3; }
a.g2-badge:hover { background: var(--g2-yellow-d); color: #000; }
.g2-badge--dark { background: var(--g2-yellow); }
.g2-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 11px; color: var(--g2-muted); }
.g2-meta span { display: inline-flex; align-items: center; gap: 5px; }
.g2-meta--light { color: rgba(255, 255, 255, .9); }

.g2-sec { margin-top: 30px; }
.g2-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.g2-sec-head h2 { font-size: 20px; font-weight: 800; }
.g2-sec-head--bar h2 { border-left: 5px solid var(--g2-yellow); padding-left: 10px; }
.g2-sec-head--sm h2 { font-size: 13px; }
.g2-sec-head--sm { border-bottom: 1px solid var(--g2-line); padding-bottom: 8px; }
.g2-more { font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.g2-more span { color: var(--g2-yellow-d); }
.g2-empty { color: var(--g2-muted); font-size: 13px; padding: 12px 0; }

.g2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--g2-yellow); color: #000; font-weight: 700; font-size: 13px; padding: 11px 22px; border: 0; border-radius: 4px; transition: background .15s; }
.g2-btn:hover { background: var(--g2-yellow-d); color: #000; }
.g2-btn--block { display: flex; width: 100%; }

.g2-noimg { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #222, #000); }
.g2-noimg b { color: var(--g2-yellow); font-family: var(--g2-head); font-size: 36px; }

.g2-play { position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: rgba(0, 0, 0, .65); border: 2px solid #fff; transition: transform .15s, background .15s; }
.g2-play::after { content: ''; position: absolute; left: 14px; top: 9px; border-left: 12px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.g2-play--lg { width: 70px; height: 70px; margin: -35px 0 0 -35px; border-width: 3px; }
.g2-play--lg::after { left: 26px; top: 17px; border-left-width: 20px; border-top-width: 13px; border-bottom-width: 13px; }
a:hover > .g2-play { background: var(--g2-yellow); transform: scale(1.08); }

/* Publicité */
.g2-ad { position: relative; margin: 20px auto; text-align: center; max-width: 100%; }
.g2-ad__label { display: block; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: #9a9a9a; margin-bottom: 3px; }
.g2-ad__body { display: flex; justify-content: center; overflow: hidden; }
.g2-ad__body img { margin: 0 auto; border-radius: 3px; }
.g2-ad__empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 100%; min-height: 90px; border: 2px dashed #d6c36a; background: var(--g2-yellow-l); color: #6b5a00; font-size: 12px; border-radius: var(--g2-radius); padding: 10px; }
.g2-ad__empty em { font-size: 10.5px; opacity: .8; }
.g2-ad--sidebar .g2-ad__empty, .g2-ad--sidebar_2 .g2-ad__empty { min-height: 250px; }
.g2-sidebar .g2-ad { margin: 0; }

/* =========================================================================
   Accueil : slider + À la une
   ========================================================================= */
.g2-top { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 24px; margin-top: 18px; }
.g2-hero { position: relative; background: #000; border-radius: var(--g2-radius); overflow: hidden; aspect-ratio: 16 / 9.4; }
.g2-hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s; }
.g2-hero__slide.is-active { opacity: 1; visibility: visible; }
.g2-hero__img, .g2-hero__img img, .g2-hero__img .g2-noimg { display: block; width: 100%; height: 100%; object-fit: cover; }
.g2-hero__slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .35) 42%, transparent 70%); pointer-events: none; }
.g2-hero__txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 28px 40px 38px; color: #fff; }
.g2-hero__txt h2 { color: #fff; font-size: 27px; font-weight: 800; margin: 10px 0 8px; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.g2-hero__txt h2 a:hover { color: var(--g2-yellow); }
.g2-hero__txt p { margin: 0 0 10px; font-size: 13px; color: rgba(255, 255, 255, .9); max-width: 90%; }
.g2-hero__arrow { position: absolute; top: 42%; z-index: 3; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #fff; color: #000; font-size: 22px; line-height: 1; box-shadow: var(--g2-shadow); padding: 0 0 3px; }
.g2-hero__arrow:hover { background: var(--g2-yellow); }
.g2-hero__arrow--prev { left: 14px; }
.g2-hero__arrow--next { right: 14px; }
.g2-hero__dots { position: absolute; right: 22px; bottom: 14px; z-index: 3; display: flex; gap: 6px; }
.g2-hero__dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .7); }
.g2-hero__dots button.is-active { background: var(--g2-yellow); width: 20px; border-radius: 6px; }

.g2-une { display: flex; flex-direction: column; }
.g2-une .g2-sec-head { margin-bottom: 8px; }
.g2-une .g2-sec-head h2 { font-size: 17px; }
.g2-side { display: grid; grid-template-columns: 38% 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--g2-line); }
.g2-side:last-child { border-bottom: 0; }
.g2-side__img { display: block; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 3; }
.g2-side__img img, .g2-side__img .g2-noimg { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.g2-side__title { font-size: 13px; font-weight: 700; margin: 5px 0 6px; line-height: 1.35; }
.g2-side__body .g2-meta { font-size: 10.5px; }

/* =========================================================================
   Colonnes : principal + latérale
   ========================================================================= */
.g2-cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; margin-top: 8px; align-items: start; }
.g2-cols__main { min-width: 0; }
.g2-sidebar { display: flex; flex-direction: column; gap: 20px; margin-top: 30px; }

.g2-grid { display: grid; gap: 14px; }
.g2-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g2-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.g2-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--g2-line); border-radius: 4px; overflow: hidden; height: 100%; transition: box-shadow .2s, transform .2s; }
.g2-card:hover { box-shadow: var(--g2-shadow); transform: translateY(-2px); }
.g2-card__img { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; background: #111; }
.g2-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.g2-card:hover .g2-card__img img { transform: scale(1.05); }
.g2-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding: 10px 10px 12px; flex: 1; }
.g2-card__title { font-size: 12.5px; font-weight: 700; line-height: 1.4; }
.g2-card__body .g2-meta { margin-top: auto; padding-top: 4px; font-size: 10.5px; }

/* Boîtes latérales */
.g2-box { border: 1px solid var(--g2-line); border-radius: var(--g2-radius); padding: 14px; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .04); }
.g2-box__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.g2-box__title { font-size: 14px; font-weight: 800; border-left: 4px solid var(--g2-yellow); padding-left: 8px; }
.g2-timeline { position: relative; margin: 6px 0 14px; padding-left: 14px; border-left: 2px solid #f1e3a3; }
.g2-timeline li { position: relative; padding: 9px 0 9px 12px; font-size: 11.5px; line-height: 1.4; border-bottom: 1px solid var(--g2-line); display: grid; grid-template-columns: 38px 1fr; gap: 8px; }
.g2-timeline li:last-child { border-bottom: 0; }
.g2-timeline li::before { content: ''; position: absolute; left: -21px; top: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--g2-yellow); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--g2-yellow-d); }
.g2-timeline time { color: var(--g2-muted); font-size: 11px; }
.g2-timeline a { font-weight: 500; }

.g2-news { display: flex; flex-direction: column; gap: 10px; }
.g2-news h3 { font-size: 13.5px; font-weight: 800; }
.g2-news__icon { margin-bottom: -2px; }
.g2-news form { display: flex; flex-direction: column; gap: 10px; }
.g2-news input[type="email"], .g2-search input[type="search"] {
	width: 100%; padding: 11px 12px; font: inherit; font-size: 13px; border: 1px solid #d9d9d9; border-radius: 4px; background: #fff;
}
.g2-news input:focus, .g2-search input:focus { border-color: var(--g2-yellow-d); outline: 0; box-shadow: 0 0 0 3px rgba(255, 196, 0, .25); }
.g2-news__msg { margin: 0; font-size: 12px; padding: 8px 10px; border-radius: 4px; }
.g2-news__msg.is-ok { background: #e9f8ee; color: #176a35; }
.g2-news__msg.is-err { background: #fdecec; color: #a02121; }

.widget ul { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }

/* =========================================================================
   Goudiry Web TV
   ========================================================================= */
.g2-tv__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; }
.g2-tv__thumb { position: relative; display: block; overflow: hidden; border-radius: 4px; background: #000; height: 100%; min-height: 280px; }
.g2-tv__thumb > img, .g2-tv__thumb > .g2-noimg { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.g2-tv__thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .85), transparent 55%); }
.g2-tv__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px 18px; color: #fff; }
.g2-tv__cap h3 { color: #fff; font-size: 17px; font-weight: 800; margin: 8px 0 6px; }
.g2-tv__thumb .g2-play { z-index: 2; }
.g2-tv__list { display: flex; flex-direction: column; gap: 10px; }
.g2-vitem { display: grid; grid-template-columns: 38% 1fr; gap: 10px; align-items: center; }
.g2-vitem__img { position: relative; display: block; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 3; background: #000; }
.g2-vitem__img img, .g2-vitem__img .g2-noimg { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.g2-vitem__img .g2-play { width: 28px; height: 28px; margin: -14px 0 0 -14px; border-width: 1.5px; }
.g2-vitem__img .g2-play::after { left: 10px; top: 6px; border-left-width: 9px; border-top-width: 6px; border-bottom-width: 6px; }
.g2-vitem h3 { font-size: 12.5px; font-weight: 700; line-height: 1.35; margin-bottom: 4px; }

/* =========================================================================
   4 rubriques
   ========================================================================= */
.g2-quad { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.g2-quad .g2-card { border: 0; }
.g2-quad .g2-card:hover { box-shadow: none; transform: none; }
.g2-quad .g2-card__body { padding: 8px 0 0; }
.g2-quad .g2-badge { display: none; }
.g2-quad .g2-card__title { font-size: 13px; }

/* =========================================================================
   Archives, articles, pages
   ========================================================================= */
.g2-archive-head { margin: 26px 0 6px; padding-bottom: 12px; border-bottom: 3px solid var(--g2-yellow); }
.g2-archive-head h1 { font-size: 28px; font-weight: 800; }
.g2-archive-head h1 span { color: var(--g2-yellow-d); }
.g2-archive-desc { color: var(--g2-muted); margin-top: 6px; }
.g2-archive-head + .g2-ad, .g2-archive-head ~ .g2-cols { margin-top: 20px; }
.g2-archive-head ~ .g2-cols .g2-sidebar { margin-top: 0; }

.navigation.pagination { margin: 30px 0 0; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.page-numbers { display: inline-block; padding: 8px 14px; border: 1px solid var(--g2-line); border-radius: 4px; font-size: 13px; font-weight: 600; }
.page-numbers.current, a.page-numbers:hover { background: var(--g2-yellow); border-color: var(--g2-yellow); color: #000; }

.g2-article { margin-top: 26px; }
.g2-crumbs { font-size: 12px; color: var(--g2-muted); margin-bottom: 10px; }
.g2-crumbs a:hover { color: var(--g2-yellow-d); }
.g2-article__title { font-size: 34px; font-weight: 800; margin: 10px 0 12px; }
.g2-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 12.5px; color: var(--g2-muted); padding-bottom: 14px; border-bottom: 1px solid var(--g2-line); margin-bottom: 18px; }
.g2-article__img { margin: 0 0 20px; }
.g2-article__img img { width: 100%; border-radius: var(--g2-radius); }
.g2-article__img figcaption { font-size: 12px; color: var(--g2-muted); margin-top: 6px; }
.g2-video { margin-bottom: 22px; position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--g2-radius); overflow: hidden; }
.g2-video iframe, .g2-video video, .g2-video .wp-video, .g2-video .wp-video-shortcode { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
.g2-content { font-size: 16.5px; line-height: 1.8; overflow-wrap: break-word; }
.g2-content p { margin: 0 0 1.2em; }
.g2-content h2, .g2-content h3 { margin: 1.6em 0 .6em; }
.g2-content a { color: #a87d00; text-decoration: underline; }
.g2-content img { border-radius: 4px; }
.g2-content blockquote { margin: 1.4em 0; padding: 12px 20px; border-left: 4px solid var(--g2-yellow); background: var(--g2-soft); font-style: italic; }
.g2-content .alignleft { float: left; margin: 0 20px 10px 0; }
.g2-content .alignright { float: right; margin: 0 0 10px 20px; }
.g2-content .aligncenter { margin-left: auto; margin-right: auto; }
.g2-tags { margin: 20px 0; font-size: 13px; }
.g2-tags a { display: inline-block; background: var(--g2-soft); padding: 3px 10px; border-radius: 20px; margin: 0 4px 4px 0; }
.g2-tags a:hover { background: var(--g2-yellow); color: #000; }
.g2-share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 18px 0; font-size: 13px; font-weight: 600; }
.g2-share a { background: var(--g2-black); color: #fff; padding: 6px 14px; border-radius: 4px; font-size: 12px; }
.g2-share a:hover { background: var(--g2-yellow); color: #000; }

.g2-comments { margin-top: 36px; }
.g2-comments__title, .comment-reply-title { font-size: 20px; margin-bottom: 14px; }
.g2-comments__list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.g2-comments__list .children { margin: 12px 0 0 28px; display: flex; flex-direction: column; gap: 12px; }
.g2-comments .comment-body { background: var(--g2-soft); padding: 14px; border-radius: var(--g2-radius); font-size: 14px; }
.g2-comments .avatar { float: left; margin-right: 10px; border-radius: 50%; }
.g2-comments input[type="text"], .g2-comments input[type="email"], .g2-comments input[type="url"], .g2-comments textarea { width: 100%; padding: 10px 12px; border: 1px solid #d9d9d9; border-radius: 4px; font: inherit; }
.g2-comments input[type="submit"] { background: var(--g2-yellow); border: 0; padding: 11px 24px; font-weight: 700; border-radius: 4px; }

.g2-search { display: flex; gap: 8px; margin: 14px 0; }
.g2-search input { flex: 1; }
.g2-404 { text-align: center; padding: 70px 0; }
.g2-404__code { display: block; font-family: var(--g2-head); font-weight: 800; font-size: 110px; color: var(--g2-yellow); line-height: 1; text-shadow: 3px 3px 0 #000; }
.g2-404 .g2-search { max-width: 480px; margin: 20px auto; }

/* =========================================================================
   Pied de page
   ========================================================================= */
.g2-footer { background: var(--g2-black); color: #ddd; background-image: radial-gradient(circle at 95% 60%, rgba(255, 196, 0, .12), transparent 35%); }
.g2-footer__grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1.2fr .9fr; gap: 28px; padding-top: 34px; padding-bottom: 30px; }
.g2-footer__tv { margin-top: 18px; padding-left: 12px; border-left: 4px solid var(--g2-yellow); display: flex; flex-direction: column; }
.g2-footer__tv strong { font-family: var(--g2-head); font-size: 19px; color: #fff; }
.g2-footer__tv span { font-size: 13px; }
.g2-footer__col h3 { color: #fff; font-size: 13px; font-weight: 800; margin-bottom: 14px; }
.g2-footer__col { padding-left: 24px; border-left: 1px solid #2c2c2c; }
.g2-footer__links { columns: 2; column-gap: 28px; font-size: 12px; }
.g2-footer__links li { margin-bottom: 9px; break-inside: avoid; }
.g2-footer__links a:hover { color: var(--g2-yellow); }
.g2-footer__links a::before { content: '›  '; color: var(--g2-yellow); }
.g2-footer__links li:first-child a::before { content: ''; }
.g2-footer__terr-in { display: flex; align-items: center; gap: 22px; }
.g2-map { width: 100px; flex: 0 0 100px; }
.g2-footer__terr ul { display: flex; flex-direction: column; gap: 10px; font-size: 12px; }
.g2-footer__bar { border-top: 2px solid var(--g2-yellow); font-size: 11.5px; }
.g2-footer__bar-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.g2-footer__bar strong { color: #fff; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1100px) {
	.g2-menu a { padding: 0 10px; font-size: 11px; }
	.g2-grid--4, .g2-quad { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.g2-footer__grid { grid-template-columns: 1fr 1fr; }
	.g2-footer__col { border-left: 0; padding-left: 0; }
}
@media (max-width: 960px) {
	.g2-top { grid-template-columns: 1fr; }
	.g2-cols { grid-template-columns: 1fr; }
	.g2-sidebar { margin-top: 10px; }
	.g2-header__ad { display: none; }
	.g2-header__in { justify-content: center; }

	.g2-nav__in { flex-wrap: wrap; }
	.g2-nav__toggle { display: flex; }
	.g2-nav__menu { order: 5; flex: 0 0 100%; display: none; background: #111; }
	.g2-nav.is-open .g2-nav__menu { display: block; }
	.g2-menu { flex-direction: column; }
	.g2-menu > li { display: block; border-top: 1px solid #222; }
	.g2-menu a { padding: 14px 18px; }
	.g2-menu .sub-menu { position: static; display: block; box-shadow: none; background: #1a1a1a; }
	.g2-nav__home { margin-right: auto; }
	.g2-nav__search { width: 48px; }
	.admin-bar .g2-nav { top: 46px; }
}
@media (max-width: 720px) {
	.g2-topbar__follow, .g2-topbar__site, .g2-topbar__city { display: none; }
	.g2-grid--4, .g2-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.g2-tv__grid { grid-template-columns: 1fr; }
	.g2-tv__thumb { min-height: 220px; }
	.g2-hero { aspect-ratio: 4 / 3.6; }
	.g2-hero__txt { padding: 18px 18px 34px; }
	.g2-hero__txt h2 { font-size: 18px; }
	.g2-hero__txt p { display: none; }
	.g2-article__title { font-size: 25px; }
	.g2-ticker__label { font-size: 10px; padding: 6px 8px; }
	.g2-ticker__nav { display: none; }
	.g2-live { padding: 0 12px; }
}
@media (max-width: 480px) {
	.g2-grid--4, .g2-grid--3, .g2-quad { grid-template-columns: 1fr; }
	.g2-footer__grid { grid-template-columns: 1fr; }
	.g2-footer__bar-in { flex-direction: column; }
	.g2-logo__mark { font-size: 44px; }
	.g2-logo__text strong { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================================
   v1.1 — Menu (cahier des charges), bouton DIRECT rouge, contact
   ========================================================================= */
.g2-soc--threads { background: #000; }
.g2-soc--threads svg { fill: #fff; }
.g2-menu > li.menu-item-has-children > a::after { content: ''; margin-left: 6px; border: 4px solid transparent; border-top-color: currentColor; border-bottom: 0; }
.g2-live { background: #e11d2e; color: #fff; position: relative; }
.g2-live:hover { background: #bf1020; color: #fff; }
.g2-live svg rect { fill: #fff; }
.g2-live svg path { fill: #e11d2e; }
.g2-live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: g2-blink 1.1s infinite; }
@keyframes g2-blink { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }
.g2-contact { display: grid; gap: 12px; max-width: 640px; margin: 24px 0; }
.g2-contact label { font-weight: 600; font-size: 13px; }
.g2-contact input[type="text"], .g2-contact input[type="email"], .g2-contact textarea { width: 100%; padding: 11px 12px; font: inherit; border: 1px solid #d9d9d9; border-radius: 4px; }
.g2-contact input:focus, .g2-contact textarea:focus { border-color: var(--g2-yellow-d); outline: 0; box-shadow: 0 0 0 3px rgba(255, 196, 0, .25); }
.g2-contact .g2-btn { justify-self: start; }
@media (prefers-reduced-motion: reduce) { .g2-live::before { animation: none; } }