﻿
/* Single article visual styles — layout rules in single-article-fixes.css */

body.single-lachtv {
	overflow-x: clip;
}

body.single-lachtv .site-content {
	background: var(--news-canvas);
}

body.single-lachtv .site-main.single-layout--lachtv {
	width: 100%;
	max-width: var(--container-width, 1280px) !important;
	margin-inline: auto !important;
	padding-inline: clamp(12px, 2.5vw, 20px) !important;
	padding-block: clamp(12px, 2vw, 20px) !important;
	box-sizing: border-box;
}

body.single-lachtv .single-layout {
	padding-block: 0 !important;
}

body.single-lachtv .lachtv-breadcrumb,
body.single-lachtv .lachtv-breadcrumb.container {
	max-width: none;
	width: 100%;
	padding-inline: 0;
	margin-block-end: 12px;
	box-sizing: border-box;
}

.single-lachtv__inner {
	position: relative;
	z-index: 1;
	min-width: 0;
	width: 100%;
}

body.single-lachtv .single-lachtv__skin,
body.single-lachtv .single-layout--has-skin,
body.single-lachtv .header-ad {
	display: none !important;
}

/* Layout shell → single-article-fixes.css (charge en dernier) */

.single-aside__inner {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	min-width: 0;
	max-width: 100%;
}

/* Sticky sidebar → single-article-fixes.css */

body.single-lachtv .single-main .single-post {
	width: 100%;
	max-width: 100%;
	padding: clamp(16px, 2.5vw, 24px) !important;
	background: #fff;
	border: 1px solid var(--news-border);
	border-radius: var(--news-radius-md);
	box-shadow: var(--news-shadow);
	box-sizing: border-box;
}

body.single-lachtv .single-post .entry-header,
body.single-lachtv .single-post .entry-content,
body.single-lachtv .single-post .entry-footer {
	width: 100%;
	max-width: 100%;
}

body.single-lachtv .single-post .entry-title {
	margin: 0 0 10px !important;
	word-wrap: break-word;
	overflow-wrap: anywhere;
	line-height: 1.35 !important;
}

body.single-lachtv .single-post .entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	margin: 0;
	padding-top: 12px;
	border-top: 1px solid var(--news-border);
}

body.single-lachtv .single-post .entry-meta > span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
}

body.single-lachtv .single-post .entry-meta__views {
	color: var(--brand-red, var(--news-red)) !important;
	font-weight: 700;
}

body.single-lachtv .single-post .entry-content {
	max-width: 100% !important;
	width: 100%;
	overflow-wrap: anywhere;
	word-wrap: break-word;
	font-size: clamp(1rem, 1.2vw, 1.0625rem);
	line-height: 1.85 !important;
	color: var(--news-text);
}

body.single-lachtv .single-post .entry-content p {
	text-align: justify;
	hyphens: auto;
	margin-bottom: 1.15em;
}

body.single-lachtv .single-post .entry-content img,
body.single-lachtv .single-post .entry-content video,
body.single-lachtv .single-post .entry-content iframe,
body.single-lachtv .single-post .entry-content embed,
body.single-lachtv .single-post .entry-content object {
	display: block;
	max-width: 100%;
	width: 100%;
	height: auto;
}

body.single-lachtv .single-post .entry-content .alignleft,
body.single-lachtv .single-post .entry-content .alignright {
	float: none !important;
	margin-inline: 0 !important;
}

body.single-lachtv .single-post .entry-content .wp-block-embed,
body.single-lachtv .single-post .entry-content .wp-block-video,
body.single-lachtv .single-post .entry-content figure {
	max-width: 100%;
	margin-inline: 0;
}

body.single-lachtv .single-post .entry-content table {
	display: block;
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

body.single-lachtv .single-post .entry-content pre {
	max-width: 100%;
	overflow-x: auto;
}

body.single-lachtv .single-post .entry-thumbnail {
	margin: clamp(12px, 2vw, 16px) 0;
	width: 100%;
	border-radius: var(--news-radius-sm);
	overflow: hidden;
}

body.single-lachtv .single-post .entry-thumbnail__img {
	display: block;
	width: 100%;
	height: auto;
	max-height: min(58vh, 540px);
	object-fit: cover;
}

body.single-lachtv .single-post .entry-share,
body.single-lachtv .entry-share--top {
	margin: 0 0 14px !important;
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
}

body.single-lachtv .entry-share--top .entry-share__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.single-lachtv .entry-share__btn {
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--news-radius-sm);
	border: 1px solid var(--news-border);
	background: var(--news-canvas);
	transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

body.single-lachtv .entry-share__btn:hover {
	border-color: var(--brand-yellow, var(--news-gold));
	background: var(--brand-yellow-soft, var(--news-gold-soft));
}

body.single-lachtv .entry-share__btn:active {
	transform: scale(0.96);
}

body.single-lachtv .entry-cta {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: clamp(16px, 2vw, 22px);
}

body.single-lachtv .entry-cta__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 16px;
	border-radius: var(--news-radius-sm);
	font-size: var(--type-small);
	font-weight: 700;
	text-decoration: none;
	color: #fff !important;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

body.single-lachtv .entry-cta__btn:hover {
	opacity: 0.92;
	transform: translateY(-1px);
}

body.single-lachtv .entry-cta__btn--whatsapp { background: #25d366; }
body.single-lachtv .entry-cta__btn--telegram { background: #26a5e4; }

body.single-lachtv .single-widget {
	background: #fff;
	border: 1px solid var(--news-border);
	border-radius: var(--news-radius-md);
	box-shadow: var(--news-shadow);
	overflow: visible;
}

body.single-lachtv .single-widget__header {
	padding: 10px 14px;
	background: linear-gradient(118deg, #0d0d0d 0%, var(--news-charcoal) 100%);
	border-bottom: 2px solid var(--brand-yellow, var(--news-gold));
}

body.single-lachtv .single-widget__title {
	margin: 0;
	font-size: var(--type-small);
	font-weight: 800;
	color: #fff;
	line-height: 1.35;
}

body.single-lachtv .single-feed-list {
	margin: 0;
	padding: 4px 0;
	list-style: none;
	max-height: none;
	overflow: visible;
}

body.single-lachtv .single-feed-item {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
	padding: 8px 14px;
	border-bottom: 1px solid var(--news-border-subtle);
}

body.single-lachtv .single-feed-link {
	flex: 1;
	min-width: 0;
	font-size: var(--type-meta);
	font-weight: 600;
	line-height: 1.45;
	color: var(--news-ink);
	text-decoration: none;
}

body.single-lachtv .single-feed-link:hover {
	color: var(--brand-red, var(--news-red));
}

body.single-lachtv .single-feed-time {
	flex-shrink: 0;
	font-size: var(--type-caption);
	font-weight: 700;
	color: var(--brand-red, var(--news-red));
}

body.single-lachtv .single-video-list {
	margin: 0;
	padding: 10px;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	min-width: 0;
}

body.single-lachtv .single-video-item {
	min-width: 0;
	width: 100%;
}

body.single-lachtv .single-video-thumb {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--news-radius-sm);
	aspect-ratio: 16 / 10;
	background: var(--news-charcoal);
}

body.single-lachtv .single-video-img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 120px;
	object-fit: cover;
}

body.single-lachtv .single-video-play {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	transform: translate(-50%, -50%);
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--brand-red, var(--news-red));
	color: #fff;
	border: 2px solid var(--brand-yellow, var(--news-gold));
	border-radius: 50%;
	pointer-events: none;
}

body.single-lachtv .single-video-title {
	display: block;
	margin-top: 6px;
	font-size: var(--type-meta);
	font-weight: 700;
	line-height: 1.45;
	color: var(--news-ink);
	text-decoration: none;
}

body.single-lachtv .related-posts--lachtv,
body.single-lachtv .comments-area {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

body.single-lachtv .related-posts--lachtv {
	margin-top: 0;
	padding: clamp(14px, 2vw, 18px);
	background: #fff;
	border: 1px solid var(--news-border);
	border-radius: var(--news-radius-md);
	box-shadow: var(--news-shadow);
}

body.single-lachtv .related-posts--lachtv .related-posts__header {
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 3px solid var(--brand-yellow, var(--news-gold));
}

body.single-lachtv .related-posts--lachtv .related-posts__title {
	margin: 0;
	font-size: var(--type-section);
	font-weight: 900;
	color: var(--news-charcoal);
}

body.single-lachtv .related-posts__grid--mosaic {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(10px, 1.5vw, 14px);
}

body.single-lachtv .related-post--mosaic .related-post__link {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--news-radius-sm);
	aspect-ratio: 16 / 10;
	text-decoration: none;
	background: var(--news-charcoal);
}

body.single-lachtv .related-post--mosaic .related-post__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.single-lachtv .related-post--mosaic .related-post__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
	pointer-events: none;
}

body.single-lachtv .related-post--mosaic .related-post__title {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	margin: 0;
	padding: 10px 12px;
	font-size: var(--type-meta);
	font-weight: 700;
	line-height: 1.45;
	color: #fff;
}

body.single-lachtv .comments-area {
	margin-top: 0;
	padding: clamp(14px, 2.5vw, 20px);
	background: #fff;
	border: 1px solid var(--news-border);
	border-radius: var(--news-radius-md);
	box-shadow: var(--news-shadow);
}

body.single-lachtv .comment-reply-title {
	font-size: var(--type-section) !important;
	font-weight: 900 !important;
	color: var(--news-charcoal) !important;
	margin: 0 0 14px !important;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--brand-yellow, var(--news-gold));
}

body.single-lachtv .comment-form input[type="text"],
body.single-lachtv .comment-form input[type="email"],
body.single-lachtv .comment-form input[type="url"],
body.single-lachtv .comment-form textarea {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	font-size: 16px;
}

body.single-lachtv .form-submit .submit {
	min-height: 44px;
	padding: 10px 24px;
	font-weight: 700;
	background: var(--news-charcoal);
	color: #fff;
	border: none;
	border-radius: var(--news-radius-sm);
	cursor: pointer;
}

body.single-lachtv .form-submit .submit:hover {
	background: var(--brand-yellow, var(--news-gold));
	color: var(--news-charcoal);
}

body.single-lachtv .comments-closed {
	margin: 0;
	padding: 12px 14px;
	font-size: var(--type-meta);
	color: var(--news-muted);
	background: var(--news-canvas);
	border-radius: var(--news-radius-sm);
}

@media (max-width: 991px) {
	body.single-lachtv .related-posts__grid--mosaic {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	body.single-lachtv .site-main.single-layout--lachtv {
		padding-inline: max(10px, env(safe-area-inset-left, 0px)) !important;
		padding-inline-end: max(10px, env(safe-area-inset-right, 0px)) !important;
		padding-block: 10px !important;
	}

	body.single-lachtv .single-main .single-post {
		padding: 14px !important;
		border-radius: var(--news-radius-sm);
	}

	body.single-lachtv .single-post .entry-title {
		font-size: clamp(1.2rem, 5.5vw, 1.45rem) !important;
	}

	body.single-lachtv .single-post .entry-meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}

	body.single-lachtv .entry-share__btn {
		width: 44px;
		height: 44px;
	}

	.single-aside__inner {
		grid-template-columns: 1fr;
	}

	body.single-lachtv .single-feed-list {
		max-height: none;
	}

	body.single-lachtv .single-video-list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
		padding: 8px;
	}

	body.single-lachtv .entry-cta {
		grid-template-columns: 1fr;
	}

	body.single-lachtv .lachtv-breadcrumb {
		overflow: visible;
		white-space: normal;
	}

	body.single-lachtv .lachtv-breadcrumb__current {
		max-width: none;
		white-space: normal;
		overflow: visible;
		text-overflow: unset;
	}
}

@media (max-width: 480px) {
	body.single-lachtv .related-posts__grid--mosaic {
		grid-template-columns: 1fr;
	}

	body.single-lachtv .single-video-list {
		grid-template-columns: 1fr;
	}

	body.single-lachtv .single-post .entry-content {
		font-size: 1.0625rem;
		line-height: 1.78 !important;
	}

	body.single-lachtv .single-post .entry-thumbnail__img {
		max-height: none;
		aspect-ratio: 16 / 10;
	}
}
