/*
Theme Name:   TIC-TAC HEBDO
Theme URI:    https://tictachebdo.com
Description:  Thème enfant de PopularFX pour le portail de presse TIC-TAC HEBDO — STICK RDC SARLU. Au-delà des faits.
Author:       STICK RDC SARLU
Author URI:   https://stickrdc.com
Template:     popularfx
Version:      1.8.2
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  tictachebdo
Tags:         news, blog, custom-menu, featured-images, translation-ready, rtl-language-support
*/

/* ==========================================================================
   Variables & base
   ========================================================================== */

:root {
	--tth-brand: #1a56db;
	--tth-primary: #1a56db;
	--tth-brand-dark: #1648c4;
	--tth-accent: #c62828;
	--tth-dark: #1f1f1f;
	--tth-muted: #666;
	--tth-border: #e8e8e8;
	--tth-bg: #fafafa;
	--tth-white: #fff;
	--tth-max: 1140px;
	--tth-read: 720px;
	--tth-radius: 6px;
	--tth-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

body {
	font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--tth-dark);
	background: var(--tth-bg);
	line-height: 1.6;
}

h1, h2, h3, .tth-site-title, .tth-featured-title, .tth-card-title, .tth-article-title {
	font-family: Merriweather, Georgia, "Times New Roman", serif;
	line-height: 1.25;
}

a {
	color: var(--tth-primary);
	text-decoration: none;
}

a:hover,
a:focus {
	color: var(--tth-accent);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* ==========================================================================
   Header portail (logo magazine + barre contact + navigation)
   ========================================================================== */

/* Remplacer l’en-tête template CorporateZ / Pagelayer. */
header.pagelayer-header,
footer.pagelayer-footer {
	display: none !important;
}

.tth-portal-header {
	background: var(--tth-white);
}

.tth-topbar {
	background: var(--tth-accent);
	color: var(--tth-white);
	font-size: 0.8125rem;
	font-weight: 600;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.tth-topbar-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0.5rem 1rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1rem;
}

.tth-topbar-location {
	margin: 0;
	color: var(--tth-white);
	letter-spacing: 0.01em;
}

.tth-topbar-contact {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 1.25rem;
}

.tth-topbar-contact a {
	color: var(--tth-white);
	font-weight: 700;
	text-decoration: none;
}

.tth-topbar-contact a:hover {
	color: var(--tth-white);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.tth-header-main {
	border-bottom: 1px solid var(--tth-border);
}

.tth-header-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0.85rem 1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.tth-branding {
	display: flex;
	align-items: center;
	gap: 1rem 1.25rem;
	min-width: 0;
	flex: 1;
}

.tth-logo-heading {
	margin: 0;
	line-height: 0;
	flex-shrink: 0;
}

.tth-logo-link {
	display: block;
}

.tth-logo-img {
	display: block;
	width: auto;
	height: auto;
	max-width: min(280px, 42vw);
	max-height: 72px;
}

.tth-identity {
	min-width: 0;
}

.tth-tagline {
	margin: 0;
	font-family: Merriweather, Georgia, serif;
	font-size: 1rem;
	font-weight: 700;
	color: var(--tth-primary);
	line-height: 1.2;
}

.tth-kicker {
	margin: 0;
	font-size: 0.875rem;
	color: var(--tth-muted);
	line-height: 1.45;
}

.tth-header-kicker--inline {
	max-width: 36rem;
	font-size: 0.9rem;
	color: var(--tth-dark);
}

.tth-header-kicker {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 1rem 0.75rem;
}

.tth-header-actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-shrink: 0;
}

.tth-btn {
	display: inline-flex;
	align-items: center;
	padding: 0.45rem 0.85rem;
	border-radius: var(--tth-radius);
	font-size: 0.875rem;
	font-weight: 600;
	border: 1px solid transparent;
}

.tth-btn-radio {
	background: var(--tth-accent);
	color: var(--tth-white) !important;
}

.tth-btn-radio:hover {
	background: #a31f1f;
	color: var(--tth-white) !important;
}

.tth-menu-toggle {
	background: var(--tth-brand-dark);
	border: none;
	border-radius: var(--tth-radius);
	padding: 0.55rem 0.65rem;
	cursor: pointer;
}

.tth-menu-icon,
.tth-menu-icon::before,
.tth-menu-icon::after {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--tth-white);
	position: relative;
}

.tth-menu-icon::before,
.tth-menu-icon::after {
	content: "";
	position: absolute;
	left: 0;
}

.tth-menu-icon::before { top: -6px; }
.tth-menu-icon::after { top: 6px; }

/* Navigation principale — seule barre fixe au défilement (hors du header pour que sticky fonctionne). */
.tth-portal-nav {
	position: sticky;
	top: 0;
	z-index: 200;
	background: var(--tth-primary);
	box-shadow: 0 2px 10px rgba(26, 86, 219, 0.18);
	overflow: visible;
}

.tth-nav-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 1rem;
	display: flex;
	align-items: stretch;
}

.tth-nav-menu {
	flex: 1;
	min-width: 0;
}

.tth-nav-logo-compact {
	display: none;
}

.tth-nav-tagline {
	display: none;
}

.tth-portal-nav ul,
.tth-footer-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0;
}

.tth-portal-nav a,
.tth-footer-nav a {
	display: block;
	padding: 0.8rem 1rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.92);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.tth-portal-nav a:hover,
.tth-portal-nav .current-menu-item > a,
.tth-portal-nav .current_page_item > a {
	background: rgba(255, 255, 255, 0.08);
	color: var(--tth-white);
}

.tth-footer-nav a {
	color: var(--tth-dark);
	padding: 0.75rem 0;
	text-transform: none;
	letter-spacing: 0;
}

.tth-footer-nav a:hover {
	color: var(--tth-accent);
}

@media (max-width: 768px) {
	/* Mobile : logo + phrase éditoriale dans la barre bleue (max 2 lignes). */
	.tth-header-main {
		display: none;
	}

	.tth-topbar-inner {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		gap: 0.4rem;
	}

	.tth-topbar-location {
		display: block;
		width: 100%;
		text-align: center;
		line-height: 1.4;
	}

	.tth-topbar-contact {
		justify-content: center;
		width: 100%;
	}

	.tth-nav-inner {
		align-items: center;
		justify-content: flex-start;
		gap: 0.45rem;
		padding: 0.4rem 0.85rem;
		position: relative;
	}

	.tth-nav-logo-compact {
		display: block;
		flex-shrink: 0;
		line-height: 0;
	}

	.tth-nav-logo-compact .tth-nav-logo-img {
		display: block;
		max-height: 32px;
		width: auto;
	}

	.tth-nav-tagline {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		overflow: hidden;
		flex: 1;
		min-width: 0;
		margin: 0;
		padding: 0 0.15rem;
		color: rgba(255, 255, 255, 0.95);
		font-family: "Source Sans 3", sans-serif;
		font-size: clamp(0.58rem, 2.65vw, 0.67rem);
		font-weight: 600;
		line-height: 1.3;
		text-align: center;
	}

	.tth-menu-toggle {
		display: inline-flex;
		flex-shrink: 0;
		margin-left: auto;
	}

	.tth-nav-menu {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background: var(--tth-primary);
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
		z-index: 210;
	}

	.tth-nav-menu.tth-nav-open {
		display: block;
	}

	.tth-portal-nav.tth-nav-is-open {
		z-index: 250;
	}

	.tth-portal-nav ul {
		flex-direction: column;
	}

	.tth-portal-nav a {
		border-top: 1px solid rgba(255, 255, 255, 0.08);
	}
}

@media (min-width: 769px) {
	.tth-menu-toggle {
		display: none;
	}

	.tth-nav-logo-compact {
		display: none !important;
	}
}

/* ==========================================================================
   Layout principal
   ========================================================================== */

.tth-main {
	max-width: var(--tth-max);
	margin: 0 auto;
	padding: 1.5rem 1.25rem 3rem;
}

.tth-section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.tth-section-title {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--tth-muted);
}

.tth-section-link {
	font-size: 0.875rem;
	font-weight: 600;
	white-space: nowrap;
}

/* ==========================================================================
   Accueil — une + grille
   ========================================================================== */

.tth-home-featured {
	margin-bottom: 2rem;
}

.tth-featured {
	background: var(--tth-white);
	border: 1px solid var(--tth-border);
	border-radius: var(--tth-radius);
	overflow: hidden;
	box-shadow: var(--tth-shadow);
}

.tth-featured-media img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.tth-featured-body {
	padding: 1.25rem 1.5rem 1.5rem;
}

.tth-featured-title {
	margin: 0.5rem 0;
	font-size: clamp(1.35rem, 3vw, 1.85rem);
}

.tth-featured-title a {
	color: var(--tth-dark);
}

.tth-featured-excerpt {
	margin: 0.75rem 0 1rem;
	color: var(--tth-muted);
	font-size: 1.05rem;
}

.tth-read-more {
	font-weight: 700;
	font-size: 0.925rem;
}

.tth-home-layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 2rem;
	align-items: start;
}

.tth-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.25rem;
}

.tth-card {
	background: var(--tth-white);
	border: 1px solid var(--tth-border);
	border-radius: var(--tth-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.15s ease;
}

.tth-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tth-card-media img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.tth-post-media--video,
.tth-featured-media.tth-post-media--video,
.tth-card-media.tth-post-media--video {
	position: relative;
	display: block;
}

.tth-post-media--video img {
	display: block;
}

.tth-play-badge {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.35) 100%);
	pointer-events: none;
}

.tth-play-badge::after {
	content: '';
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
	clip-path: polygon(38% 28%, 38% 72%, 72% 50%);
}

.tth-card-body {
	padding: 1rem 1.1rem 1.15rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.tth-card-title {
	margin: 0.4rem 0;
	font-size: 1.05rem;
}

.tth-card-title a {
	color: var(--tth-dark);
}

.tth-card-excerpt {
	margin: 0.5rem 0 0;
	font-size: 0.9rem;
	color: var(--tth-muted);
	flex: 1;
}

.tth-category {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--tth-accent) !important;
}

.tth-meta-date,
.tth-card-meta,
.tth-featured-meta,
.tth-article-meta {
	font-size: 0.8rem;
	color: var(--tth-muted);
}

.tth-meta-sep {
	margin: 0 0.35rem;
}

/* Aside accueil */
.tth-home-aside {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.tth-facebook,
.tth-about-box {
	background: var(--tth-white);
	border: 1px solid var(--tth-border);
	border-radius: var(--tth-radius);
	padding: 1rem;
}

.tth-facebook-frame iframe {
	width: 100% !important;
	max-width: 100%;
}

.tth-about-box p {
	margin: 0.5rem 0 0;
	font-size: 0.925rem;
	color: var(--tth-muted);
}

.tth-slogan {
	color: var(--tth-accent) !important;
	font-weight: 600;
}

/* ==========================================================================
   Article single
   ========================================================================== */

.tth-single-layout {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0.5rem 1rem 2.5rem;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 2rem;
	align-items: start;
}

.tth-single-layout .tth-main {
	max-width: none;
	margin: 0;
	padding: 0;
}

.tth-single {
	max-width: none;
	background: var(--tth-white);
	border: 1px solid var(--tth-border);
	border-radius: var(--tth-radius);
	box-shadow: var(--tth-shadow);
	padding: 1.75rem 1.5rem 2rem;
	margin-top: 0;
}

.tth-single-aside {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.tth-aside-block {
	background: var(--tth-white);
	border: 1px solid var(--tth-border);
	border-radius: var(--tth-radius);
	padding: 1rem;
}

.tth-aside-title {
	margin: 0 0 0.85rem;
	font-family: "Source Sans 3", sans-serif;
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--tth-primary);
	border-bottom: 2px solid var(--tth-primary);
	padding-bottom: 0.45rem;
}

.tth-aside-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.65rem;
}

.tth-aside-list .tth-headline-item {
	grid-template-columns: 64px 1fr;
	padding: 0.5rem 0;
	border: none;
	border-radius: 0;
	background: transparent;
	border-bottom: 1px solid var(--tth-border);
}

.tth-aside-list .tth-headline-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.tth-aside-list .tth-headline-thumb img {
	width: 64px;
	height: 48px;
}

.tth-aside-list .tth-headline-title {
	font-size: 0.88rem;
}

.tth-aside-more {
	margin: 0.75rem 0 0;
	font-size: 0.875rem;
	font-weight: 700;
}

.tth-aside-rubrics-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.tth-aside-rubrics-nav a {
	display: inline-block;
	padding: 0.35rem 0.7rem;
	background: var(--tth-bg);
	border: 1px solid var(--tth-border);
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--tth-primary);
}

.tth-aside-rubrics-nav a:hover {
	background: var(--tth-primary);
	border-color: var(--tth-primary);
	color: var(--tth-white);
}

@media (min-width: 961px) {
	.tth-single-aside {
		position: sticky;
		top: 3.75rem;
	}
}

@media (max-width: 960px) {
	.tth-single-layout {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		padding-left: 0.85rem;
		padding-right: 0.85rem;
	}

	.tth-single-aside {
		order: 2;
	}

	.tth-main.tth-single {
		order: 1;
	}
}

.tth-article {
	background: transparent;
}

.tth-article-header {
	margin-bottom: 1.25rem;
}

.tth-article-title {
	margin: 0.5rem 0;
	font-size: clamp(1.5rem, 4vw, 2rem);
}

.tth-article-thumb {
	margin: 0 0 1.5rem;
	border-radius: var(--tth-radius);
	overflow: hidden;
}

.tth-article-content {
	font-size: 1.0625rem;
	line-height: 1.75;
}

.tth-article-content p {
	margin-bottom: 1.15rem;
}

.post-navigation {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--tth-border);
	display: grid;
	gap: 1rem;
}

.post-navigation a {
	display: block;
	padding: 0.75rem;
	background: var(--tth-white);
	border: 1px solid var(--tth-border);
	border-radius: var(--tth-radius);
}

.nav-label {
	display: block;
	font-size: 0.75rem;
	text-transform: uppercase;
	color: var(--tth-muted);
	margin-bottom: 0.25rem;
}

/* ==========================================================================
   Archives & pages
   ========================================================================== */

.tth-archive-header {
	margin-bottom: 1.5rem;
}

.tth-archive-title {
	margin: 0;
	font-size: 1.75rem;
}

.tth-archive-desc {
	margin-top: 0.5rem;
	color: var(--tth-muted);
}

.tth-page-title {
	margin: 0 0 1.25rem;
	font-size: 1.75rem;
}

.tth-empty {
	padding: 2rem;
	text-align: center;
	color: var(--tth-muted);
	background: var(--tth-white);
	border: 1px dashed var(--tth-border);
	border-radius: var(--tth-radius);
}

.tth-pagination {
	margin-top: 2rem;
}

.tth-pagination .nav-links {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.tth-pagination a,
.tth-pagination span {
	padding: 0.4rem 0.75rem;
	background: var(--tth-white);
	border: 1px solid var(--tth-border);
	border-radius: var(--tth-radius);
}

.tth-fb-video,
.tth-fb-video-player {
	margin: 1.5rem 0;
	width: 100%;
}

.tth-fb-video__embed {
	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	overflow: hidden;
	background: #000;
}

.tth-fb-video__embed:not(.is-loaded) {
	aspect-ratio: 16 / 9;
	min-height: 220px;
}

.tth-fb-video__poster {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.35s ease;
}

.tth-fb-video__embed.is-loaded .tth-fb-video__poster {
	opacity: 0;
	pointer-events: none;
}

.tth-fb-video__embed .fb-video {
	position: relative;
	z-index: 2;
}

.tth-fb-video__embed .fb-video,
.tth-fb-video__embed .fb-video > span,
.tth-fb-video__embed iframe {
	max-width: 100% !important;
}

body.tth-has-fb-video .pagelayer-featured_img,
body.tth-has-fb-video .tth-article-thumb {
	display: none !important;
}

.tth-fb-video-link {
	margin: 0.75rem 0 0;
	font-size: 0.875rem;
	text-align: center;
}

.tth-fb-partial-notice {
	margin: 1.25rem 0;
	padding: 1rem 1.1rem;
	border-left: 4px solid var(--tth-accent, #c41e3a);
	background: #f8f9fb;
	border-radius: 0 var(--tth-radius, 4px) var(--tth-radius, 4px) 0;
	font-size: 0.95rem;
}

.tth-fb-partial-notice p {
	margin: 0 0 0.65rem;
}

.tth-fb-partial-notice p:last-child {
	margin-bottom: 0;
}

.tth-fb-partial-notice__link {
	font-weight: 700;
	color: var(--tth-accent, #c41e3a) !important;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.tth-footer {
	background: var(--tth-primary);
	color: rgba(255, 255, 255, 0.88);
	margin-top: 2rem;
}

.tth-footer-main {
	max-width: 1180px;
	margin: 0 auto;
	padding: 2.5rem 1rem 1.5rem;
}

.tth-footer-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.9fr 0.9fr;
	gap: 2rem 2.5rem;
}

.tth-footer-heading {
	margin: 0 0 0.85rem;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--tth-white);
}

.tth-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tth-footer-links li {
	margin: 0 0 0.45rem;
	font-size: 0.875rem;
	line-height: 1.45;
}

.tth-footer-links a {
	color: rgba(255, 255, 255, 0.88);
}

.tth-footer-links a:hover {
	color: var(--tth-white);
}

.tth-footer-contact li:first-child {
	color: rgba(255, 255, 255, 0.72);
}

.tth-footer-logo {
	display: inline-block;
	margin-bottom: 0.85rem;
}

.tth-footer-logo img {
	display: block;
	max-width: 180px;
	height: auto;
}

.tth-footer-baseline {
	margin: 0 0 0.85rem;
	font-size: 0.875rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.82);
	max-width: 28rem;
}

.tth-footer-group {
	margin: 0;
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.65);
}

.tth-footer-inner {
	max-width: var(--tth-max);
	margin: 0 auto;
	padding: 2rem 1.25rem 1rem;
	display: grid;
	grid-template-columns: 1fr auto auto;
	gap: 1.5rem;
	align-items: start;
}

.tth-footer-name {
	margin: 0;
	font-family: Merriweather, serif;
	font-size: 1.1rem;
	color: var(--tth-white);
	font-weight: 700;
}

.tth-footer-slogan {
	margin: 0.25rem 0 0;
	font-size: 0.85rem;
	color: var(--tth-accent);
	font-style: italic;
}

.tth-footer-nav a,
.tth-footer-social a {
	color: #ccc;
	font-size: 0.875rem;
}

.tth-footer-nav a:hover,
.tth-footer-social a:hover {
	color: var(--tth-white);
}

.tth-footer-copy {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding: 1rem;
	text-align: center;
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.55);
	max-width: 1180px;
	margin: 0 auto;
}

.tth-footer-legal {
	margin-top: 0.65rem;
}

.tth-footer-legal a {
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
}

.tth-footer-legal a:hover,
.tth-footer-legal a:focus-visible {
	color: #fff;
	text-decoration: underline;
}

.tth-footer-legal-sep {
	opacity: 0.45;
}

/* ==========================================================================
   Overrides parent PopularFX
   ========================================================================== */

.tth-site #primary {
	width: 100%;
	float: none;
}

.tth-site .site-main {
	width: 100%;
}

/* Masquer le layout Pagelayer si encore injecté (articles, archives). */
body.single-post .pagelayer-content,
body.single .pagelayer-content,
body.archive .pagelayer-content,
body.category .pagelayer-content,
body.search .pagelayer-content {
	display: none !important;
}

/* Sidebar WordPress par défaut (widgets démo) — pas la colonne éditoriale du thème. */
#secondary.widget-area {
	display: none !important;
}

.tth-content {
	width: 100%;
	clear: both;
}

/* Menu mobile parent */
@media (max-width: 768px) {
	.tth-nav.hidden-mobile {
		display: none;
		width: 100%;
		padding-bottom: 0.75rem;
	}

	.tth-nav.hidden-mobile.is-open {
		display: block;
	}

	.tth-nav ul {
		flex-direction: column;
		gap: 0;
	}

	.tth-home-layout {
		grid-template-columns: 1fr;
	}

	.tth-grid {
		grid-template-columns: 1fr;
	}

	.tth-footer-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.tth-footer-inner {
		grid-template-columns: 1fr;
	}
}

@media (min-width: 900px) {
	.tth-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ==========================================================================
   Accueil — portail d’actualités + nettoyage Pagelayer
   ========================================================================== */

/* Masquer le hero corporate Pagelayer : l’à-la-une éditoriale le remplace. */
body.home .p-voj7345 {
	display: none !important;
}

/* Réseaux fictifs du template. */
.p-wgp8701,
.p-iav3209,
.p-mmw8193 {
	display: none !important;
}

/* Newsletter non configurée. */
.p-5zi8447 {
	display: none !important;
}

/* Conteneur éditorial */
.tth-home-news {
	background: var(--tth-bg);
	padding: 0 0 2.5rem;
}

.tth-home-wrap {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 1rem;
}

/* Bandeau rédaction */
.tth-masthead {
	background: var(--tth-primary);
	color: var(--tth-white);
	font-size: 0.85rem;
	margin: 0 -1rem 1rem;
	padding: 0.55rem 1rem;
}

.tth-masthead-inner {
	max-width: 1180px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.tth-masthead-tagline {
	margin: 0;
}

.tth-masthead-sep {
	margin: 0 0.35rem;
	opacity: 0.7;
}

.tth-masthead-contact {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
}

.tth-masthead-contact a {
	color: var(--tth-white);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.tth-masthead-contact a:hover {
	color: #fff;
	opacity: 0.9;
}

/* Fil info — ticker défilant */
.tth-breaking {
	display: flex;
	align-items: stretch;
	background: var(--tth-white);
	border: 1px solid var(--tth-border);
	border-left: 4px solid var(--tth-accent);
	margin-bottom: 1rem;
	overflow: hidden;
	min-height: 2.5rem;
}

.tth-breaking-label {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	background: var(--tth-accent);
	color: var(--tth-white);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	padding: 0 0.85rem;
	text-transform: uppercase;
}

.tth-breaking-viewport {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	position: relative;
}

.tth-breaking-viewport::before,
.tth-breaking-viewport::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 1.25rem;
	z-index: 1;
	pointer-events: none;
}

.tth-breaking-viewport::before {
	left: 0;
	background: linear-gradient(to right, var(--tth-white), transparent);
}

.tth-breaking-viewport::after {
	right: 0;
	background: linear-gradient(to left, var(--tth-white), transparent);
}

.tth-breaking-track {
	height: 100%;
	display: flex;
	align-items: center;
}

.tth-breaking-scroll {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	width: max-content;
	animation: tth-ticker-scroll 45s linear infinite;
}

.tth-breaking-scroll:hover {
	animation-play-state: paused;
}

.tth-breaking-item {
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--tth-dark);
	white-space: nowrap;
	padding: 0.65rem 0;
}

.tth-breaking-item:hover {
	color: var(--tth-primary);
}

.tth-breaking-sep {
	color: var(--tth-border);
	font-weight: 400;
	padding: 0 0.85rem;
	user-select: none;
}

@keyframes tth-ticker-scroll {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.tth-breaking-scroll {
		animation: none;
		flex-wrap: wrap;
		max-width: 100%;
		white-space: normal;
	}

	.tth-breaking-viewport {
		overflow-x: auto;
	}
}

/* Rubriques */
.tth-rubrics {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.25rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--tth-border);
}

.tth-rubrics a {
	display: inline-block;
	padding: 0.35rem 0.75rem;
	background: var(--tth-white);
	border: 1px solid var(--tth-border);
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--tth-primary);
}

.tth-rubrics a:hover {
	background: var(--tth-primary);
	border-color: var(--tth-primary);
	color: var(--tth-white);
}

/* À la une — hero */
.tth-home-hero {
	margin-bottom: 1.5rem;
}

.tth-hero {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	background: var(--tth-white);
	border: 1px solid var(--tth-border);
	border-radius: var(--tth-radius);
	overflow: hidden;
	box-shadow: var(--tth-shadow);
}

.tth-hero-media-link,
.tth-hero-media-link img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 280px;
	object-fit: cover;
}

.tth-hero-body {
	padding: 1.35rem 1.5rem 1.5rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.tth-hero-kicker {
	margin: 0 0 0.35rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--tth-accent);
}

.tth-hero-title {
	margin: 0.45rem 0;
	font-size: clamp(1.35rem, 2.5vw, 2rem);
	line-height: 1.2;
}

.tth-hero-title a {
	color: var(--tth-dark);
}

.tth-hero-excerpt {
	margin: 0.75rem 0 1rem;
	color: var(--tth-muted);
	font-size: 1rem;
	line-height: 1.55;
}

/* Titres secondaires */
.tth-home-secondary {
	margin-bottom: 1.75rem;
}

.tth-secondary-grid,
.tth-headline-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

.tth-secondary-grid {
	grid-template-columns: repeat(3, 1fr);
}

.tth-headline-list {
	grid-template-columns: 1fr;
}

.tth-headline-item {
	display: grid;
	grid-template-columns: 88px 1fr;
	gap: 0.85rem;
	align-items: start;
	background: var(--tth-white);
	border: 1px solid var(--tth-border);
	border-radius: var(--tth-radius);
	padding: 0.75rem;
}

.tth-secondary-grid .tth-headline-item {
	grid-template-columns: 1fr;
}

.tth-secondary-grid .tth-headline-thumb img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 4px;
}

.tth-headline-thumb img {
	width: 88px;
	height: 66px;
	object-fit: cover;
	border-radius: 4px;
}

.tth-headline-title {
	margin: 0.25rem 0 0;
	font-size: 0.98rem;
	line-height: 1.3;
}

.tth-headline-title a {
	color: var(--tth-dark);
}

.tth-headline-meta {
	font-size: 0.75rem;
	color: var(--tth-muted);
	margin-top: 0.25rem;
}

.tth-home-main-col {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.tth-home-block {
	margin-top: 0;
}

.tth-section-head--line {
	border-bottom: 2px solid var(--tth-primary);
	padding-bottom: 0.45rem;
	margin-bottom: 1rem;
}

.tth-section-head--line .tth-section-title {
	color: var(--tth-primary);
	margin: 0;
}

.tth-aside-contact a {
	font-weight: 700;
	color: var(--tth-primary);
}

/* Liens footer Pagelayer inactifs */
.p-vhp8975 .pagelayer-list-url[href="#"] {
	pointer-events: none;
	opacity: 0.45;
}

@media (max-width: 900px) {
	.tth-hero {
		grid-template-columns: 1fr;
	}

	.tth-secondary-grid {
		grid-template-columns: 1fr;
	}

	.tth-secondary-grid .tth-headline-item {
		grid-template-columns: 88px 1fr;
	}

	.tth-secondary-grid .tth-headline-thumb img {
		width: 88px;
		height: 66px;
	}
}

@media (max-width: 768px) {
	.tth-masthead-inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* ==========================================================================
   Point C — mobile (accueil, lecture, chrome)
   ========================================================================== */

@media (max-width: 768px) {
	body {
		overflow-x: clip;
	}

	.tth-main {
		padding: 1rem 0.85rem 2rem;
	}

	.tth-home-news {
		padding-bottom: 1.75rem;
	}

	.tth-home-wrap {
		padding: 0 0.85rem;
	}

	.tth-breaking {
		margin-left: -0.85rem;
		margin-right: -0.85rem;
		border-left-width: 3px;
	}

	.tth-breaking-label {
		font-size: 0.65rem;
		padding: 0 0.65rem;
	}

	.tth-breaking-item {
		font-size: 0.82rem;
	}

	.tth-rubrics {
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding-bottom: 0.5rem;
		margin-bottom: 1rem;
	}

	.tth-rubrics::-webkit-scrollbar {
		display: none;
	}

	.tth-rubrics a {
		flex-shrink: 0;
	}

	.tth-hero-media-link,
	.tth-hero-media-link img {
		min-height: 200px;
	}

	.tth-hero-body {
		padding: 1rem 1.1rem 1.15rem;
	}

	.tth-hero-title {
		font-size: 1.25rem;
	}

	.tth-hero-excerpt {
		font-size: 0.925rem;
		margin-bottom: 0.75rem;
	}

	.tth-headline-item {
		grid-template-columns: 72px 1fr;
		padding: 0.65rem;
	}

	.tth-headline-thumb img,
	.tth-secondary-grid .tth-headline-thumb img {
		width: 72px;
		height: 54px;
	}

	.tth-headline-title {
		font-size: 0.9rem;
	}

	.tth-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.tth-card-title {
		font-size: 1rem;
	}

	.tth-home-aside {
		gap: 1rem;
	}

	.tth-facebook,
	.tth-about-box {
		padding: 0.85rem;
	}

	.tth-footer-main {
		padding: 2rem 0.85rem 1.25rem;
	}

	.tth-footer-copy {
		padding: 0.85rem;
		font-size: 0.75rem;
		line-height: 1.45;
	}

	.tth-article-content {
		font-size: 1rem;
	}

	.tth-article-content img,
	.tth-article-content iframe,
	.tth-article-content video {
		max-width: 100%;
		height: auto;
	}

	.post-navigation {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.tth-topbar {
		font-size: 0.75rem;
	}

	.tth-topbar-inner {
		padding: 0.45rem 0.85rem;
	}

	.tth-topbar-location {
		font-size: 0.72rem;
		line-height: 1.45;
		text-align: center;
	}

	.tth-nav-tagline {
		font-size: 0.56rem;
		line-height: 1.28;
	}

	.tth-portal-nav a {
		padding: 0.75rem 1rem;
		font-size: 0.85rem;
	}

	.tth-breaking-scroll {
		animation-duration: 55s;
	}
}
