/*
Theme Name: Tamazirt Child
Theme URI: https://tamazirt-evasion-maroc.com/
Description: Design refresh for Tamazirt Evasion — Inter headings, spacing, FAQ split, home testimonials. Parent: tamazirt.
Author: Tamazirt Evasion
Template: tamazirt
Version: 1.3.0
Text Domain: tamazirt-child
*/

/* ==========================================================================
   0. Design tokens (brand colours / orange CTAs unchanged)
   Strategy A: all readable sizes in px (parent html{font-size:10px} left alone).
   ========================================================================== */

:root {
	--tmz-brown: #532009;
	--tmz-orange: #e35b00;
	--tmz-text: #2b2b2b;
	--tmz-muted: #5c5348;
	--tmz-bg-soft: #faf7f2;
	--tmz-bg-soft-2: #f3eee6;
	--tmz-bg-soft-3: #f7f3ec;
	--tmz-line: #e8e0d4;
	--tmz-font-heading: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--tmz-font-body: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
	--tmz-fs-body: 17px;
	--tmz-fs-body-sm: 16px;
	--tmz-fs-min: 14px;
	--tmz-fs-card: 16px;
	--tmz-fs-meta: 14px;
	--tmz-lh-body: 1.65;
	--tmz-radius-card: 18px;
	--tmz-pad-card: 28px;
	--tmz-space-section: 64px;
	--tmz-space-section-sm: 40px;
	--tmz-split-title: minmax(220px, 32%);
	--tmz-split-content: minmax(0, 68%);
	--tmz-shadow-card: 0 4px 18px rgba(83, 32, 9, 0.06);
}

/* ==========================================================================
   0b. Header chrome parity (production Additional CSS, child-scoped)
   Parent .navHeadTop li a draws a right border for topbar text links;
   language flags must stay borderless while child theme is active.
   ========================================================================== */

/* Match the production language-switcher line box while the child theme is active. */
.navHeadTop #flags #sortable {
	font-size: 1.6rem;
}

/* Match production language-switcher spacing while the child theme is active. */
.navHeadTop #flags li {
	margin-left: 5px !important;
}

/* Preserve the production language-switcher appearance while the child theme is active.
   Parent topbar links have a right border; flags must remain borderless. */
.navHeadTop #flags li a {
	padding: 0 5px 0 0 !important;
	border: none !important;
}

/* Match production topbar menu sizing while the child theme is active.
   Do not apply this size to all lists sitewide. */
.navHeadTop #menu-top-menu {
	font-size: 1.6rem;
}

/* ==========================================================================
   1. Typography system (H1 / H2 / H3 — tags & texts unchanged)
   Parent html { font-size:10px } — use px for readable titles, not rem.
   Headings: self-hosted Inter. Body font unchanged (Roboto / system).
   Scope readable body type to #main only — never cascade into #header /
   .navbar / .btn-devis2 / logo / language switcher (production chrome).
   ========================================================================== */

#main {
	font-family: var(--tmz-font-body);
	color: var(--tmz-text);
	font-size: var(--tmz-fs-body);
	line-height: var(--tmz-lh-body);
}

#main .description-text,
#main .content-holder,
#main .tamazirt-desert-seo,
#main .tamazirt-desert-seo p,
#main .content-holder p,
#main .description-text p {
	font-family: var(--tmz-font-body);
	color: var(--tmz-text);
	font-size: var(--tmz-fs-body);
	line-height: var(--tmz-lh-body);
}

@media (max-width: 767px) {
	#main,
	#main .description-text,
	#main .content-holder,
	#main .tamazirt-desert-seo,
	#main .tamazirt-desert-seo p,
	#main .content-holder p,
	#main .description-text p {
		font-size: var(--tmz-fs-body-sm);
	}
}

/* Inter headings scoped to #main — never override footer / header chrome. */
#main h1,
#main h2,
#main h3,
#main h4,
#main h5,
#main h6,
#main .main-heading,
#main .banner .banner-text h1,
#main .content-heading .main-heading,
#main .inner-main-heading,
#main h1.content-main-heading,
#main h2.content-main-heading {
	font-family: var(--tmz-font-heading);
	font-weight: 600;
	letter-spacing: 0.01em; /* parent .main-heading used 2px — too wide for readability */
	color: var(--tmz-brown);
	line-height: 1.25;
	text-transform: none;
}

/* Section titles (.main-heading is used on both h1 and h2 in templates) */
#main h1,
#main h1.main-heading,
#main .content-heading h1.main-heading,
#main .banner .banner-text h1,
#main .banner-inner h1,
#main h1.content-main-heading {
	font-size: clamp(28px, 2.4vw + 18px, 40px);
	margin-bottom: 0.5em;
}

#main h2,
#main h2.main-heading,
#main .content-heading h2.main-heading,
#main .content-heading .main-heading,
#main h2.content-main-heading,
#main .inner-main-heading {
	font-size: clamp(24px, 1.8vw + 16px, 34px);
	font-weight: 600;
	margin-top: 0;
	margin-bottom: 0.65em;
}

#main h3,
#main .small-space {
	font-size: clamp(18px, 1vw + 14px, 22px);
	font-weight: 600;
	line-height: 1.3;
	margin-bottom: 0.5em;
}

/* Photo-overlay cards (.img-article .caption): keep parent white title.
   #main h3 / #main .small-space above would paint them brown & oversized
   (e.g. /circuit-maroc «Nos circuits incontournables»). */
#main .img-article .caption h3,
#main .img-article .caption a h3,
#main .img-article .caption .small-space {
	color: #fff;
	font-family: inherit;
	font-size: 17px;
	font-weight: 400;
	letter-spacing: normal;
	line-height: 1.25;
	margin-bottom: 5px;
}

/* /circuit-maroc «Pourquoi choisir…»: spacing + restore white text on dark bg.
   Child #main h3 / .main-subtitle otherwise paint titles/subtitle brown. */
#about-service-block.service-block2 {
	padding-top: 60px;
	padding-bottom: 40px;
	color: #fff;
}

#main #about-service-block.service-block2 .main-heading,
#main #about-service-block.service-block2 .main-subtitle,
#main #about-service-block.service-block2 h3.content-title,
#main #about-service-block.service-block2 .description,
#main #about-service-block.service-block2 .description p,
#main #about-service-block.service-block2 .ico-article a {
	color: #fff !important;
}

.main-subtitle {
	font-family: var(--tmz-font-body);
	font-style: normal; /* parent italic — cooler, less “template” */
	font-weight: 400;
	color: var(--tmz-muted);
	letter-spacing: 0;
	line-height: 1.45;
	font-size: clamp(16px, 0.6vw + 14px, 19px);
}

/* Beat parent .main-heading { font-family:'Martina Regular'; font-size:44px; font-weight:100 } */
#main .main-heading {
	font-family: var(--tmz-font-heading) !important; /* parent Martina Regular */
	font-weight: 600 !important;
	letter-spacing: 0.01em !important;
	font-size: clamp(24px, 1.8vw + 16px, 34px) !important;
}

#main h1.main-heading,
#main .content-heading h1.main-heading {
	font-size: clamp(28px, 2.4vw + 18px, 40px) !important;
}

/*
 * Listing-card titles only (Phase 1).
 * Archives (/circuit/*, /sejours/, /excursion-agadir/): H3 is
 * `.thumbnail > h3.small-space` — there is no `.description` wrapper.
 * Blog: H3 lives in `.blog-list article .description header.heading`.
 * Does not match overlay `.caption h3`, sidebar, FAQ, footer, or banner.
 */
#main .ListinCatI article.has-hover-s1 .thumbnail > h3.small-space,
#main .content-sub-holder.ListinCatI article.has-hover-s1 .thumbnail > h3.small-space,
#main .blog-list article.blog-article .description header.heading > h3 {
	/* px: parent html{font-size:10px} — rem would collapse (~11px). Intent ≈17–19px. */
	font-size: clamp(17px, 1.35vw, 19px);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

/*
 * Sidebar navigation/widget labels only (Phase 1).
 * Confirmed DOM: `.panel-title` (+ `.ttrSide`); «Notre Blog» is
 * `#sidebar .blcSideBlog h3.imgBtn` (not `.panel-title` / no `.widget-title`).
 */
#sidebar .panel-title,
#sidebar .panel-title.ttrSide,
#sidebar .panel-title a,
#sidebar .blcSideBlog h3.imgBtn,
#sidebar .blcSideBlog h3.imgBtn a {
	color: #532009;
	/* px: 0.9375rem@16px root → 15px (parent root is 10px). */
	font-size: 15px !important; /* beat parent .ttrSide { font-size:16px !important } */
	font-weight: 700;
	letter-spacing: 0.03em;
	line-height: 1.25;
	text-transform: uppercase;
}

/*
 * Phase 2A — homepage «Nos actualités» news-card titles only.
 * DOM: section.content-block.article-boxed … article.blog-article.slide
 *       > .description > header.heading > h3
 * Avoid #circ-slide in the selector: Owl leaves id="circ-slide" on the
 * carousel, but #circ-slide fails in querySelector/CSS matching here.
 * Class chain is stable and homepage-only (blog archive has no .slide).
 * !important required to beat home.css
 *   body.home .article-boxed #circ-slide .article .heading h3
 *   { font-size:17px; line-height:1.35 } (+ mobile 16px), which still
 * wins the cascade via its #id despite broken #circ-slide matching.
 * Color left to home.css (--tmz-text). Phase 1 selectors do not match.
 */
body.home .content-block.article-boxed article.blog-article.slide .heading h3 {
	font-size: clamp(16px, 1.2vw, 18px) !important;
	font-weight: 600;
	line-height: 1.28 !important;
	letter-spacing: -0.01em !important;
}

/*
 * Phase 2B — banner H1 mobile/tablet readability only.
 * Confirmed DOM (outside #main): section.banner.banner-inner > .banner-text
 *   > .center-text > .container > h1
 * Parent winning rules (main.css, no !important):
 *   .banner-inner .banner-text h1 { font-weight:300; font-size:50px; text-transform:uppercase }
 *   @media (max-width:768px) .banner-inner .banner-text h1 { font-size:40px; padding-bottom:90px }
 * section.banner-inner raises specificity above parent; !important not needed.
 * Does not set text-transform/color/font-family (keep Roboto/white/uppercase).
 */
@media (max-width: 768px) {
	section.banner-inner .banner-text h1 {
		font-size: clamp(28px, 8vw, 36px);
		font-weight: 400;
		line-height: 1.14;
		letter-spacing: -0.015em;
	}
}

/*
 * Production Customizer Additional CSS is theme-scoped to parent `tamazirt` and
 * does not print under the child. Restore only the Additional CSS `p` size for
 * footer paragraphs. Do not force #footer li/a — address-block contacts must
 * inherit the widget inline 18px (desktop) / parent MQ 15px (<=768).
 */
#footer p {
	font-size: 1.6rem;
}

/* Preserve production footer list sizing while the child theme is active.
   Do not apply this size to all lists sitewide. */
#footer #menu-votre-agence,
#footer .social-wrap {
	font-size: 1.6rem;
}

.content-heading {
	margin-bottom: 1.75rem;
}

/* ==========================================================================
   2. Remove decorative lines under headings
   Parent uses background:url(sep.png) — override needs !important.
   ========================================================================== */

.content-heading .seperator,
.content-heading .seperator2,
.content-heading .seperator3,
header.content-heading .seperator,
.seperator,
.seperator2,
.seperator3 {
	background-image: none !important; /* parent: sep.png / sep2.png */
	border: 0;
	padding-bottom: 0;
	margin-bottom: 0.35rem;
	height: 0;
	min-height: 0;
	overflow: hidden;
}

.content-heading .seperator:before,
.seperator:before,
.seperator2:before,
.seperator3:before {
	display: none !important; /* parent :before bar (commented but keep safe) */
	content: none !important;
}

/* ==========================================================================
   3. Home intro — dark text links (CTAs stay orange)
   Parent sets a { color:#e35b00 } — !important needed for intro only.
   ========================================================================== */

body.home #main .description-text a:not(.btn):not(.viewall0 a),
body.home #main .description-text a:not(.btn):not(.viewall0 a):visited,
body.front-page #main .description-text a:not(.btn):not(.viewall0 a) {
	color: #000 !important; /* beat parent global orange links — CTA buttons untouched */
	text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-thickness: 1px;
}

body.home #main .description-text a:not(.btn):hover,
body.front-page #main .description-text a:not(.btn):hover {
	color: #000 !important;
	text-decoration-thickness: 2px;
	opacity: 0.75;
}

/* ==========================================================================
   4. Home testimonials — readable multi-card row
   Root cause: parent .testimonial-holder blockquote { margin: 0 8.2%; }
   designed for singleItem full-width; with 3–4 Owl items it crushed .text.
   ========================================================================== */

#testimonial-home-page {
	background: var(--tmz-bg-soft);
	padding: 64px 0 56px;
	text-align: left;
}

#testimonial-home-page .content-heading {
	text-align: center;
	margin-bottom: 2rem;
}

#testimonial-home-page .container {
	max-width: 1240px;
}

/* Summary above row — Terra density + Serengeti TA metrics (brand colours) */
.te-reviews__layout {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
	align-items: stretch;
}

.te-reviews__summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.75rem 1.5rem;
	padding: 0.25rem 0.5rem;
	text-align: center;
}

.te-reviews__summary-label {
	margin: 0;
	font-family: var(--tmz-font-heading);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--tmz-text);
	line-height: 1.2;
}

.te-reviews__summary-rating {
	display: flex;
	gap: 4px;
	margin: 0;
}

.te-reviews__summary-count {
	margin: 0;
	font-size: 15px;
	line-height: 1.4;
	color: var(--tmz-muted);
}

.te-reviews__summary-logo {
	display: block;
	width: auto;
	height: 22px;
	max-width: 130px;
	object-fit: contain;
}

.te-reviews__slider-wrap {
	min-width: 0;
	width: 100%;
}

/* Kill parent single-item side margins on multi-card layout */
#testimonial-home-page.testimonial-holder blockquote,
#testimonial-home-page.testimonial-holder blockquote.testimonial-quote,
#testimonial-home-slide blockquote.testimonial-quote {
	margin: 0 10px;
	font-size: var(--tmz-fs-card);
	line-height: 1.55;
	width: auto;
	max-width: none;
}

#testimonial-home-slide {
	position: relative;
}

/* Stretch items in a row so cards share one height (Owl 1 keeps float widths). */
#testimonial-home-slide .owl-item {
	float: left;
	display: flex;
	flex-direction: column;
}

#testimonial-home-slide .slide,
#ta-reviews-results .te-reviews-grid__item {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	width: 100%;
	height: auto;
	min-height: 100%;
	padding: 0;
	box-sizing: border-box;
}

/* Compact Serengeti-style card: header row + full-width body (no left indent). */
#testimonial-home-slide .testimonial-quote,
#ta-reviews-results .testimonial-quote {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	flex: 1 1 auto;
	box-sizing: border-box;
	width: auto;
	max-width: none;
	min-width: 0;
	height: 100%;
	min-height: 0;
	margin: 0 10px 12px;
	padding: 16px 16px 14px;
	background: #fff;
	border: 1px solid var(--tmz-line);
	border-radius: var(--tmz-radius-card);
	text-align: left;
	box-shadow: var(--tmz-shadow-card);
	gap: 10px;
}

#testimonial-home-slide .te-reviews__top,
#ta-reviews-results .te-reviews__top {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) 28px;
	grid-template-areas: "avatar who badge";
	align-items: start;
	column-gap: 10px;
	width: 100%;
}

#testimonial-home-slide .testimonial-quote .img,
#ta-reviews-results .testimonial-quote .img {
	grid-area: avatar;
	flex: none;
	width: 48px;
	height: 48px;
	margin: 0;
	border-width: 1px;
	border-color: var(--tmz-line);
}

#testimonial-home-slide .testimonial-quote .img img,
#ta-reviews-results .testimonial-quote .img img {
	width: 48px;
	height: 48px;
	object-fit: cover;
}

#testimonial-home-slide .te-reviews__who,
#ta-reviews-results .te-reviews__who {
	grid-area: who;
	min-width: 0;
	padding-top: 2px;
}

#testimonial-home-slide .testimonial-quote cite,
#ta-reviews-results .testimonial-quote cite {
	display: block;
	font-family: var(--tmz-font-heading);
	font-style: normal;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.25;
	color: var(--tmz-text);
	text-align: left;
	margin: 0;
	padding: 0; /* kill parent blockquote cite { padding-bottom: 45px } */
	letter-spacing: 0;
}

#testimonial-home-slide .testimonial-quote cite:after,
#ta-reviews-results .testimonial-quote cite:after {
	display: none;
}

#testimonial-home-slide .te-reviews__meta,
#ta-reviews-results .te-reviews__meta {
	margin: 2px 0 0;
	padding: 0;
	font-size: 13px;
	font-style: italic;
	line-height: 1.35;
	color: var(--tmz-muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* TripAdvisor badge — top right, hover tip */
#testimonial-home-slide .te-reviews__badge,
#ta-reviews-results .te-reviews__badge {
	grid-area: badge;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin-top: 2px;
	border-radius: 50%;
	text-decoration: none;
	flex-shrink: 0;
}

#testimonial-home-slide .te-reviews__badge-icon,
#ta-reviews-results .te-reviews__badge-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #00aa6c;
	color: #fff;
}

#testimonial-home-slide .te-reviews__badge-icon .fa,
#ta-reviews-results .te-reviews__badge-icon .fa {
	font-size: 15px;
	line-height: 1;
	color: #fff;
}

#testimonial-home-slide .te-reviews__badge-tip,
#ta-reviews-results .te-reviews__badge-tip {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	z-index: 5;
	padding: 5px 8px;
	border-radius: 4px;
	background: #2b2b2b;
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-2px);
	transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
}

#testimonial-home-slide .te-reviews__badge-tip::before,
#ta-reviews-results .te-reviews__badge-tip::before {
	content: "";
	position: absolute;
	right: 10px;
	top: -5px;
	border: 5px solid transparent;
	border-bottom-color: #2b2b2b;
	border-top-width: 0;
}

#testimonial-home-slide .te-reviews__badge:hover .te-reviews__badge-tip,
#testimonial-home-slide .te-reviews__badge:focus .te-reviews__badge-tip,
#testimonial-home-slide .te-reviews__badge:focus-visible .te-reviews__badge-tip,
#ta-reviews-results .te-reviews__badge:hover .te-reviews__badge-tip,
#ta-reviews-results .te-reviews__badge:focus .te-reviews__badge-tip,
#ta-reviews-results .te-reviews__badge:focus-visible .te-reviews__badge-tip {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

#testimonial-home-slide .te-reviews__badge:focus,
#ta-reviews-results .te-reviews__badge:focus {
	outline: none;
}

#testimonial-home-slide .te-reviews__badge:focus-visible .te-reviews__badge-icon,
#ta-reviews-results .te-reviews__badge:focus-visible .te-reviews__badge-icon {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px #00aa6c;
}

/* Body: rating + title + text — full card width, no avatar indent */
#testimonial-home-slide .te-reviews__body,
#ta-reviews-results .te-reviews__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--tmz-muted);
	overflow-wrap: break-word;
	word-break: normal;
}

#testimonial-home-slide .te-reviews__rating-row,
#ta-reviews-results .te-reviews__rating-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 6px;
}

#testimonial-home-slide .te-reviews__rating,
#ta-reviews-results .te-reviews__rating {
	display: flex;
	align-items: center;
	gap: 3px;
	margin: 0;
}

#testimonial-home-slide .te-reviews__rating .ta-bubble,
#ta-reviews-results .te-reviews__rating .ta-bubble {
	width: 14px;
	height: 14px;
}

/* Verified badge — Trustindex-style icon + “vérifié” tooltip */
#testimonial-home-slide .te-reviews__verified,
#ta-reviews-results .te-reviews__verified {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	cursor: help;
}

#testimonial-home-slide .te-reviews__verified-icon,
#ta-reviews-results .te-reviews__verified-icon {
	display: block;
	width: 16px;
	height: 16px;
}

#testimonial-home-slide .te-reviews__verified-tip,
#ta-reviews-results .te-reviews__verified-tip {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 8px);
	z-index: 5;
	padding: 4px 8px;
	border-radius: 4px;
	background: #2b2b2b;
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateX(-50%) translateY(2px);
	transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
}

#testimonial-home-slide .te-reviews__verified-tip::after,
#ta-reviews-results .te-reviews__verified-tip::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 100%;
	margin-left: -5px;
	border: 5px solid transparent;
	border-top-color: #2b2b2b;
	border-bottom-width: 0;
}

#testimonial-home-slide .te-reviews__verified:hover .te-reviews__verified-tip,
#testimonial-home-slide .te-reviews__verified:focus .te-reviews__verified-tip,
#testimonial-home-slide .te-reviews__verified:focus-visible .te-reviews__verified-tip,
#ta-reviews-results .te-reviews__verified:hover .te-reviews__verified-tip,
#ta-reviews-results .te-reviews__verified:focus .te-reviews__verified-tip,
#ta-reviews-results .te-reviews__verified:focus-visible .te-reviews__verified-tip {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}

#testimonial-home-slide .te-reviews__verified:focus,
#ta-reviews-results .te-reviews__verified:focus {
	outline: none;
}

#testimonial-home-slide .te-reviews__verified:focus-visible,
#ta-reviews-results .te-reviews__verified:focus-visible {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px #4285f4;
	border-radius: 50%;
}

#testimonial-home-slide .te-reviews__title,
#ta-reviews-results .te-reviews__title {
	margin: 0 0 6px;
	padding: 0;
	font-family: var(--tmz-font-heading);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--tmz-text);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	overflow-wrap: break-word;
	word-break: normal;
}

#testimonial-home-slide .te-reviews__source,
#ta-reviews-results .te-reviews__source {
	display: inline-block;
	align-self: flex-start;
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--tmz-orange);
	text-decoration: none;
}

#testimonial-home-slide .te-reviews__source:hover,
#testimonial-home-slide .te-reviews__source:focus,
#ta-reviews-results .te-reviews__source:hover,
#ta-reviews-results .te-reviews__source:focus {
	color: var(--tmz-brown);
	text-decoration: underline;
	text-underline-offset: 2px;
	outline: none;
}

/* Visual 4-line clamp — full text in DOM; expand via .is-expanded + toggle. */
#testimonial-home-slide .testimonial-quote q,
#testimonial-home-slide .testimonial-quote .te-reviews__quote,
#ta-reviews-results .testimonial-quote q,
#ta-reviews-results .testimonial-quote .te-reviews__quote {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	line-clamp: 4;
	overflow: hidden;
	quotes: none;
	width: 100%;
	margin: 0;
	padding: 0;
	font-size: 15px;
	line-height: 1.5;
	min-height: calc(1.5em * 4);
	color: inherit;
	overflow-wrap: break-word;
	word-break: normal;
	white-space: normal;
}

#testimonial-home-slide .testimonial-quote.is-expanded q,
#testimonial-home-slide .testimonial-quote.is-expanded .te-reviews__quote,
#ta-reviews-results .testimonial-quote.is-expanded q,
#ta-reviews-results .testimonial-quote.is-expanded .te-reviews__quote {
	display: block;
	-webkit-line-clamp: unset;
	line-clamp: unset;
	overflow: visible;
	min-height: 0;
}

#testimonial-home-slide .testimonial-quote q:before,
#testimonial-home-slide .testimonial-quote q:after,
#ta-reviews-results .testimonial-quote q:before,
#ta-reviews-results .testimonial-quote q:after {
	content: none;
}

#testimonial-home-slide .te-reviews__toggle,
#ta-reviews-results .te-reviews__toggle {
	display: inline-block;
	align-self: flex-start;
	margin-top: 6px;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--tmz-orange);
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

#testimonial-home-slide .te-reviews__toggle[hidden],
#ta-reviews-results .te-reviews__toggle[hidden] {
	display: none;
}

#testimonial-home-slide .te-reviews__toggle:hover,
#testimonial-home-slide .te-reviews__toggle:focus,
#ta-reviews-results .te-reviews__toggle:hover,
#ta-reviews-results .te-reviews__toggle:focus {
	color: var(--tmz-brown);
	outline: none;
}

#testimonial-home-slide .testimonial-quote.is-expanded,
#ta-reviews-results .testimonial-quote.is-expanded {
	height: auto !important;
	align-self: stretch;
}

#testimonial-home-slide .owl-controls {
	margin-top: 8px;
}

#testimonial-home-slide .owl-controls .owl-buttons div {
	background: #fff;
	color: var(--tmz-brown);
	opacity: 1;
	font-size: 22px;
	line-height: 44px;
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	border-radius: 50%;
	border: 1px solid var(--tmz-line);
	box-shadow: 0 2px 8px rgba(83, 32, 9, 0.08);
	text-align: center;
}

/* Do not set display:flex on .owl-wrapper — Owl 1 uses floats/widths for sliding. */
#testimonial-home-slide .owl-item .slide {
	width: 100%;
	box-sizing: border-box;
}

@media (max-width: 767px) {
	#testimonial-home-page {
		padding: var(--tmz-space-section-sm) 0;
	}

	#testimonial-home-slide .testimonial-quote,
	#ta-reviews-results .testimonial-quote {
		margin: 0 4px 12px;
		padding: 14px 12px;
		gap: 8px;
	}

	#testimonial-home-slide .te-reviews__top,
	#ta-reviews-results .te-reviews__top {
		grid-template-columns: 44px minmax(0, 1fr) 26px;
		column-gap: 8px;
	}

	#testimonial-home-slide .testimonial-quote .img,
	#testimonial-home-slide .testimonial-quote .img img,
	#ta-reviews-results .testimonial-quote .img,
	#ta-reviews-results .testimonial-quote .img img {
		width: 44px;
		height: 44px;
	}

	#testimonial-home-slide .te-reviews__badge,
	#testimonial-home-slide .te-reviews__badge-icon,
	#ta-reviews-results .te-reviews__badge,
	#ta-reviews-results .te-reviews__badge-icon {
		width: 26px;
		height: 26px;
	}

	#testimonial-home-slide .te-reviews__body,
	#testimonial-home-slide .testimonial-quote q,
	#testimonial-home-slide .testimonial-quote .te-reviews__quote,
	#ta-reviews-results .te-reviews__body,
	#ta-reviews-results .testimonial-quote q,
	#ta-reviews-results .testimonial-quote .te-reviews__quote {
		font-size: 14px;
		line-height: 1.5;
	}

	#testimonial-home-slide .testimonial-quote cite,
	#ta-reviews-results .testimonial-quote cite {
		font-size: 14px;
	}
}

/* ==========================================================================
   4b. Témoignages archive — same cards, 3-column grid (filter IDs untouched)
   ========================================================================== */

#ta-reviews-results {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px 18px;
	align-items: stretch;
}

#ta-reviews-results > .ta-reviews-empty {
	grid-column: 1 / -1;
}

#ta-reviews-results .te-reviews-grid__item {
	min-width: 0;
	height: 100%;
}

#ta-reviews-results .testimonial-quote {
	margin: 0;
	width: 100%;
	max-width: none;
	height: 100%;
}

@media (max-width: 1199px) {
	#ta-reviews-results {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	#ta-reviews-results {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	#ta-reviews-results .testimonial-quote {
		margin: 0;
	}
}

/* ==========================================================================
   4c. Blog listing cards (/blog + category archives with .blog-list)
   CSS-only: kill float + min-height, CSS grid 2-col beside sidebar
   ========================================================================== */

.blog-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px 20px;
	align-items: stretch;
}

.blog-list .article.blog-article,
.blog-list .article.blog-article.col-md-6,
.blog-list .article.blog-article.col-lg-6 {
	float: none !important;
	clear: none !important;
	display: flex;
	flex-direction: column;
	width: 100% !important;
	max-width: none !important;
	min-height: 0 !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0;
	background: #fff;
	border: 1px solid var(--tmz-line);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: var(--tmz-shadow-card);
	box-sizing: border-box;
}

.blog-list .article.blog-article .img-wrap {
	position: relative;
	width: 100%;
	margin: 0;
	/* Media library thumbs are mostly 3:2 (e.g. 1536×1024), not 16:9 — cover+16:9 cropped top/bottom */
	aspect-ratio: 3 / 2;
	height: auto !important;
	overflow: hidden;
	border-radius: 0;
	background: var(--tmz-bg-soft-2);
}

.blog-list .article.blog-article .img-wrap > a {
	display: block;
	width: 100%;
	height: 100%;
}

.blog-list .article.blog-article .img-wrap img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	border-radius: 0;
	object-fit: cover;
	object-position: center;
	transition: transform 0.35s ease;
}

.blog-list .article.blog-article:hover .img-wrap img {
	transform: scale(1.04);
}

.blog-list .article.blog-article .description {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0 !important;
	padding: 1rem 1.15rem 1.15rem;
	border: 0;
	background: transparent;
}

.blog-list .article.blog-article footer.meta,
.blog-list .article.blog-article footer {
	margin: 0 0 0.55rem;
	padding: 0;
	border: 0;
}

.blog-list .article.blog-article .footer-sub {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.85rem;
	margin: 0;
	min-height: 0 !important;
	font-size: 13px;
	line-height: 1.35;
	color: var(--tmz-muted);
}

.blog-list .article.blog-article .footer-sub > * {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0;
	border: 0;
}

.blog-list .article.blog-article .footer-sub .comment {
	font-size: 13px;
	color: var(--tmz-muted);
}

.blog-list .article.blog-article .footer-sub .fa {
	color: var(--tmz-orange);
	font-size: 12px;
}

/* Hide comment count on listing cards only (dates/categories kept). */
.blog-list .article.blog-article .footer-sub .comment:has(.fa-comments) {
	display: none;
}

.blog-list .article.blog-article .heading {
	margin: 0 0 0.45rem;
	padding: 0;
}

.blog-list .article.blog-article .heading h3 {
	margin: 0;
	padding: 0;
	font-family: var(--tmz-font-heading);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--tmz-text);
}

.blog-list .article.blog-article .heading h3 a {
	color: inherit;
	text-decoration: none;
	display: -webkit-box !important;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	max-height: calc(1.35em * 2);
}

.blog-list .article.blog-article:hover .heading h3 a {
	color: var(--tmz-brown);
}

.blog-list .article.blog-article .txtDescriptionBlog {
	flex: 1 1 auto;
	margin: 0 0 0.85rem;
	padding: 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--tmz-muted);
	display: -webkit-box !important;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
	max-height: calc(1.5em * 3);
}

.blog-list .article.blog-article .link-view {
	margin-top: auto;
	padding: 0;
}

.blog-list .article.blog-article .link-view a {
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--tmz-orange);
	text-decoration: none;
}

.blog-list .article.blog-article .link-view a:hover,
.blog-list .article.blog-article .link-view a:focus,
.blog-list .article.blog-article:hover .link-view a {
	color: var(--tmz-brown);
	text-decoration: underline;
	text-underline-offset: 2px;
}

@media (max-width: 1023px) {
	.content-with-sidebar .blog-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.blog-list {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.blog-list .article.blog-article .heading h3 {
		font-size: 16px;
	}
}

/* Narrow content column with sidebar: prefer 1 col under ~992 */
@media (max-width: 991px) {
	.content-with-sidebar #content .blog-list {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ==========================================================================
   5. Reusable section utilities (internal pages + home)
   ========================================================================== */

.tmz-section,
.tmz-section--white {
	background-color: #fff;
	padding-top: var(--tmz-space-section);
	padding-bottom: var(--tmz-space-section);
}

.tmz-section--soft {
	background-color: var(--tmz-bg-soft);
	padding-top: var(--tmz-space-section);
	padding-bottom: var(--tmz-space-section);
}

.tmz-section--soft-2 {
	background-color: var(--tmz-bg-soft-2);
	padding-top: var(--tmz-space-section);
	padding-bottom: var(--tmz-space-section);
}

.tmz-section--airy {
	padding-top: 72px;
	padding-bottom: 72px;
}

.tmz-text-measure {
	max-width: 720px;
}

.tmz-text-measure--wide {
	max-width: 880px;
}

.tmz-cta-block {
	background-color: var(--tmz-bg-soft-2);
	padding-top: var(--tmz-space-section);
	padding-bottom: var(--tmz-space-section);
	text-align: center;
}

.tmz-cta-block .btn.btn-default.viewall0 {
	float: none;
	display: inline-block;
	margin-top: 1.25rem;
}

/* Auto soft banding on circuit SEO archives (no HTML change) */
body.tax-circuit #main > .content-block.bg-white,
body.tax-circuit #main > .tamazirt-desert-seo.bg-white {
	background-color: #fff;
	padding-top: var(--tmz-space-section);
	padding-bottom: var(--tmz-space-section);
}

body.tax-circuit #main > .content-block.bg-white:nth-of-type(even),
body.tax-circuit #main > .tamazirt-desert-seo.bg-white:nth-of-type(even) {
	background-color: var(--tmz-bg-soft);
}

body.tax-circuit #main > .bg-gray,
body.tax-circuit #main > .tamazirt-desert-seo.bg-gray,
body.tax-circuit #main > .content-with-sidebar.bg-gray {
	/* parent .bg-gray has own background */
	background-color: var(--tmz-bg-soft-2) !important;
}

body.tax-circuit .content-block .container,
body.tax-circuit .tamazirt-desert-seo .container {
	max-width: 1140px;
}

body.tax-circuit .tamazirt-desert-seo .content-heading {
	margin-top: 0;
	margin-bottom: 1.5rem;
}

body.tax-circuit .tamazirt-desert-compare__table {
	background: #fff;
	border: 1px solid var(--tmz-line);
}

body.tax-circuit .tamazirt-desert-compare__table th {
	background: var(--tmz-bg-soft-3);
}

body.home #main .content-block.bg-white {
	padding-top: var(--tmz-space-section);
	padding-bottom: var(--tmz-space-section);
}

body.home #main .content-block.bg-white:nth-of-type(even) {
	background-color: var(--tmz-bg-soft);
}

body.home #main .description-text {
	margin-top: 1.5rem;
}

/* ==========================================================================
   06. Internal pages — FAQ two columns (Shanti-inspired)
   Opt-in: .tamazirt-desert-faq, .tamazirt-faq-layout, .tmz-split-block
   ========================================================================== */

.tamazirt-desert-faq,
.tamazirt-faq-layout,
.tmz-split-stack {
	border-top: 1px solid var(--tmz-line);
}

.tamazirt-desert-faq details,
.tamazirt-faq-layout details,
.tmz-split-block {
	border-bottom: 1px solid var(--tmz-line);
	padding: 1.25rem 0;
	margin: 0;
}

.tamazirt-desert-faq summary,
.tamazirt-faq-layout summary,
.tmz-split-block__title {
	font-family: var(--tmz-font-heading);
	font-weight: 600;
	font-size: 17px;
	line-height: 1.35;
	color: var(--tmz-brown);
	cursor: pointer;
	list-style: none;
}

.tamazirt-desert-faq summary::-webkit-details-marker,
.tamazirt-faq-layout summary::-webkit-details-marker {
	display: none;
}

.tamazirt-desert-faq summary::before,
.tamazirt-faq-layout summary::before {
	content: "+";
	display: inline-block;
	width: 1.25em;
	color: var(--tmz-orange);
	font-weight: 700;
	margin-right: 0.35em;
}

.tamazirt-desert-faq details[open] summary::before,
.tamazirt-faq-layout details[open] summary::before {
	content: "–";
}

.tamazirt-desert-faq__answer,
.tamazirt-faq-layout .tamazirt-desert-faq__answer,
.tmz-split-block__body {
	padding-top: 0.75rem;
	color: var(--tmz-muted);
	line-height: 1.7;
}

.tamazirt-desert-faq__answer p:last-child,
.tamazirt-faq-layout .tamazirt-desert-faq__answer p:last-child,
.tmz-split-block__body p:last-child {
	margin-bottom: 0;
}

/* Per-item FAQ: question ~32% / answer ~68% (default opt-in) */
@media (min-width: 768px) {
	.tamazirt-desert-faq details,
	.tamazirt-faq-layout details,
	.tmz-split-block {
		display: grid;
		grid-template-columns: var(--tmz-split-title) 1fr;
		column-gap: 2.75rem;
		align-items: start;
		padding: 1.5rem 0;
	}

	.tamazirt-desert-faq summary,
	.tamazirt-faq-layout summary,
	.tmz-split-block__title {
		grid-column: 1;
		grid-row: 1;
		padding-right: 0.5rem;
	}

	.tamazirt-desert-faq details[open] .tamazirt-desert-faq__answer,
	.tamazirt-faq-layout details[open] .tamazirt-desert-faq__answer,
	.tmz-split-block__body {
		grid-column: 2;
		grid-row: 1;
		padding-top: 0.15rem;
	}

	.tamazirt-desert-faq details:not([open]) summary,
	.tamazirt-faq-layout details:not([open]) summary {
		grid-column: 1 / -1;
	}
}

/* Shanti-style FAQ: section title left (~32%), accordion right (~68%).
   Opt-in via structure: .content-heading + .tamazirt-desert-faq in same .container */
@media (min-width: 768px) {
	.tamazirt-desert-seo .container:has(> .content-heading + .tamazirt-desert-faq),
	.tmz-faq-section.container,
	.container.tmz-faq-section {
		display: grid;
		grid-template-columns: var(--tmz-split-title) var(--tmz-split-content);
		column-gap: 2.75rem;
		align-items: start;
	}

	.tamazirt-desert-seo .container:has(> .content-heading + .tamazirt-desert-faq) > .content-heading,
	.container.tmz-faq-section > .content-heading,
	.tmz-faq-section.container > .content-heading {
		grid-column: 1;
		margin-bottom: 0;
		text-align: left;
	}

	.tamazirt-desert-seo .container:has(> .content-heading + .tamazirt-desert-faq) > .tamazirt-desert-faq,
	.container.tmz-faq-section > .tamazirt-desert-faq,
	.tmz-faq-section.container > .tamazirt-desert-faq {
		grid-column: 2;
		border-top: 0;
	}

	/* Inside section split, Q/A stack vertically (not nested 32/68) */
	.tamazirt-desert-seo .container:has(> .content-heading + .tamazirt-desert-faq) .tamazirt-desert-faq details,
	.container.tmz-faq-section .tamazirt-desert-faq details,
	.tmz-faq-section.container .tamazirt-desert-faq details {
		display: block;
	}

	.tamazirt-desert-seo .container:has(> .content-heading + .tamazirt-desert-faq) .tamazirt-desert-faq__answer,
	.container.tmz-faq-section .tamazirt-desert-faq__answer {
		padding-top: 0.75rem;
	}
}

@media (max-width: 767px) {
	.tamazirt-desert-seo .container:has(> .content-heading + .tamazirt-desert-faq),
	.container.tmz-faq-section {
		display: block;
	}
}

/* --- Buttons: keep orange brand CTAs --- */

.btn.btn-default.viewall0 a {
	background-color: var(--tmz-orange);
	border-color: var(--tmz-orange);
}

.btn.btn-default.viewall0 a:hover {
	background-color: #c94e00;
	border-color: #c94e00;
}

/* ==========================================================================
   07. Responsiveness
   ========================================================================== */

@media (max-width: 767px) {
	body.tax-circuit #main > .content-block.bg-white,
	body.tax-circuit #main > .tamazirt-desert-seo.bg-white,
	body.home #main .content-block.bg-white,
	.tmz-section,
	.tmz-section--soft,
	.tmz-section--soft-2,
	.tmz-section--airy,
	.tmz-cta-block {
		padding-top: var(--tmz-space-section-sm);
		padding-bottom: var(--tmz-space-section-sm);
	}

	.tamazirt-desert-faq summary,
	.tmz-split-block__title,
	.te-split__title {
		font-size: 16px;
	}
}

/* ==========================================================================
   08. Utility aliases .te-split* (opt-in, same as Shanti 32/68)
   Apply via WPBakery extra class or wrapper — does not rewrite content.
   ========================================================================== */

.te-split {
	/* marker class — layout via children */
}

@media (min-width: 768px) {
	.te-split {
		display: grid;
		grid-template-columns: var(--tmz-split-title) var(--tmz-split-content);
		column-gap: 2.75rem;
		align-items: start;
	}

	.te-split__title {
		grid-column: 1;
		margin-bottom: 0;
	}

	.te-split__content {
		grid-column: 2;
		min-width: 0;
	}
}

@media (max-width: 767px) {
	.te-split {
		display: block;
	}

	.te-split__title {
		margin-bottom: 1rem;
	}
}

/* Soft section banding aliases (same tokens as home) */
.te-section-soft {
	background-color: var(--tmz-bg-soft);
	padding-top: var(--tmz-space-section);
	padding-bottom: var(--tmz-space-section);
}

.te-section-soft-2 {
	background-color: var(--tmz-bg-soft-2);
	padding-top: var(--tmz-space-section);
	padding-bottom: var(--tmz-space-section);
}

/* ==========================================================================
   09. Circuit / trip cards (internal archives) — equal media height, readable type
   Content, links, photos unchanged.
   ========================================================================== */

body.tax-circuit .img-article .holder,
body.tax-circuit .article.has-hover-s3 {
	background: #fff;
	border: 1px solid var(--tmz-line);
	border-radius: 4px;
	overflow: hidden;
	height: 100%;
}

body.tax-circuit .img-article .img-wrap,
body.tax-circuit .article .img-wrap {
	height: 220px;
	overflow: hidden;
	background: var(--tmz-bg-soft-2);
}

body.tax-circuit .img-article .img-wrap img,
body.tax-circuit .article .img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

body.tax-circuit .img-article .caption,
body.tax-circuit .article .description {
	padding: 1rem 1.15rem 1.25rem;
}

body.tax-circuit .img-article .caption h3,
body.tax-circuit .article .description h3 {
	font-size: 18px;
	line-height: 1.3;
	margin-bottom: 0.45em;
}

body.tax-circuit .img-article .caption .designation,
body.tax-circuit .article .description p {
	font-size: 15px;
	line-height: 1.55;
	color: var(--tmz-muted);
}

body.tax-circuit .img-article .imgBtn3 a,
body.tax-circuit .article .btn.btn-default.viewall0 a {
	color: #fff;
	background-color: var(--tmz-orange);
}

body.tax-circuit .boxday .txtday {
	font-size: var(--tmz-fs-min) !important;
}

body.tax-circuit .boxday .numdays {
	font-size: 18px !important;
}

@media (max-width: 991px) and (min-width: 768px) {
	body.tax-circuit .img-article.col-md-4,
	body.tax-circuit .img-article.col-md-6,
	body.tax-circuit .article.col-md-4,
	body.tax-circuit .article.col-sm-6 {
		width: 50%;
		float: left;
	}
}

@media (max-width: 767px) {
	body.tax-circuit .img-article.col-md-4,
	body.tax-circuit .img-article.col-md-6,
	body.tax-circuit .img-article.col-sm-6,
	body.tax-circuit .article.col-md-4,
	body.tax-circuit .article.col-sm-6 {
		width: 100%;
		float: none;
	}
}

/* ==========================================================================
   4d. Sidebar «Derniers articles» (/blog + single + archives)
   Match blog card look: rounded cover image, Inter title, tighter spacing
   ========================================================================== */

.sidebar .side-list.post-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sidebar .side-list.post-list li {
	position: relative;
	margin: 0 0 1.25rem;
	padding: 0 0 1.25rem;
	border-bottom: 1px solid var(--tmz-line);
}

.sidebar .side-list.post-list li:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

/* Kill parent underline bar */
.sidebar .side-list.post-list li:before {
	display: none;
	content: none;
}

.sidebar .side-list.post-list li > a {
	display: block;
	text-decoration: none;
	color: inherit;
	outline: none;
}

.sidebar .side-list.post-list li > a:focus-visible {
	outline: 2px solid var(--tmz-orange);
	outline-offset: 3px;
	border-radius: 4px;
}

.sidebar .side-list.post-list li > a br {
	display: none;
}

.sidebar .side-list.post-list li img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	object-position: center;
	margin: 0 0 0.55rem;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: var(--tmz-bg-soft-2);
}

.sidebar .side-list.post-list .text-block.ttrSideB,
.sidebar .side-list.post-list .ttrSideB {
	margin: 0;
	padding: 0;
	font-family: var(--tmz-font-heading);
	font-size: 16px; /* near blog card titles (17px), fits narrow sidebar */
	font-weight: 600;
	line-height: 1.35;
	color: var(--tmz-text);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
	max-height: calc(1.35em * 3);
	transition: color 0.2s ease;
}

.sidebar .side-list.post-list li > a:hover .ttrSideB,
.sidebar .side-list.post-list li > a:focus .ttrSideB,
.sidebar .side-list.post-list li > a:hover .text-block.ttrSideB,
.sidebar .side-list.post-list li > a:focus .text-block.ttrSideB {
	color: var(--tmz-brown);
}

/*
 * Legacy inline-title containment.
 *
 * Original WordPress content deliberately remains unchanged so disabling
 * the child theme restores the legacy inline appearance.
 *
 * Scope: direct span children of content H2 elements whose inline style
 * explicitly contains the copied Comic Sans declaration.
 */
#main h2 > span[style*="comic sans" i] {
	font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
	color: #532009 !important;
}

/*
 * Témoignages archive containment.
 *
 * The legacy TripAdvisor archive renderer nests homepage testimonial
 * wrappers inside each archive grid item. Constrain those wrappers only
 * on the testimonials archive so they fit the archive grid cells.
 *
 * Original plugin markup, review content and database values remain
 * unchanged. Removing this block restores the legacy archive appearance.
 */
body.post-type-archive-temoignages #ta-reviews-results .testimonial-holder {
	margin: 0;
	padding: 0;
	background: transparent;
}

body.post-type-archive-temoignages #ta-reviews-results .testimonial-holder > .container {
	width: 100%;
	max-width: none;
	margin: 0;
	padding-right: 0;
	padding-left: 0;
}

body.post-type-archive-temoignages #ta-reviews-results .testimonial-holder .slide {
	width: 100%;
	margin: 0;
}

body.post-type-archive-temoignages #ta-reviews-results .testimonial-holder blockquote.testimonial-quote {
	width: 100%;
	margin: 0;
}
