/* Tourisme Thaïlande : styles globaux (header, footer, composants partagés).
   Les couleurs et tailles viennent de theme.json (variables --wp--preset--*). */

:root {
	--tt-ink: var(--wp--preset--color--contrast, #1E1B36);
	--tt-indigo: var(--wp--preset--color--indigo, #2D2A4A);
	--tt-gold: var(--wp--preset--color--gold, #C9A227);
	--tt-gold-soft: var(--wp--preset--color--gold-soft, #F6EED3);
	--tt-red: var(--wp--preset--color--red, #A51931);
	--tt-mist: var(--wp--preset--color--mist, #F4F3F8);
	--tt-line: var(--wp--preset--color--line, #E5E3EE);
	--tt-muted: var(--wp--preset--color--muted, #5F5B78);
	--tt-green: var(--wp--preset--color--green, #1E7A4B);
	--tt-gutter: clamp(16px, 4vw, 56px);
	--tt-wide: 1240px;
	--tt-shadow: 0 24px 44px -26px rgba(30, 27, 54, .5);
	--tt-night: #24213F; /* header et footer */
}

/* Le style du thème parent est désactivé : on rétablit le modèle de boîte habituel. */
*, *::before, *::after { box-sizing: border-box; }
/* Filet de sécurité : rien ne doit élargir la page sur mobile. */
html, body { overflow-x: clip; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, .tt-cx { font-stretch: 78%; text-wrap: balance; letter-spacing: -.005em; }
h3, h4 { font-stretch: 85%; }
img { height: auto; }
b, strong { font-weight: 700; }
.tt-wdg, .tt-wdg * { box-sizing: border-box; }
[hidden] { display: none !important; } /* un élément en flex ou grid resterait visible malgré l'attribut hidden */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
:where(a, button, input, select, summary):focus-visible { outline: 2px solid var(--tt-gold); outline-offset: 2px; }

/* ---------- Boutons ---------- */
.tt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 8px; padding: 12px 20px; font: inherit; font-size: .9375rem; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; text-align: center; }
.tt-btn--gold { background: var(--tt-gold); color: var(--tt-ink); }
.tt-btn--gold:hover { background: #B8921C; color: var(--tt-ink); }
.tt-btn--indigo { background: var(--tt-indigo); color: #fff; }
.tt-btn--indigo:hover { background: var(--tt-ink); color: #fff; }
.is-style-outline .wp-block-button__link, .tt-btn--out { background: transparent; color: var(--tt-indigo); border: 1.5px solid var(--tt-indigo); }

/* ---------- Header ---------- */
.tt-header { position: relative; z-index: 50; background: var(--tt-night); }
/* La barre n'a pas de marge verticale : chaque rubrique du menu occupe toute la hauteur du header et touche son panneau. */
.tt-header__bar { max-width: var(--tt-wide); margin-inline: auto; padding: 0 var(--tt-gutter); min-height: 64px; display: flex; align-items: center; gap: 24px; }
.tt-header__logo { display: block; flex: none; text-decoration: none; padding-block: 12px; }
/* Logo : emblème et nom en texte (blanc sur le header et le footer de nuit). */
.tt-brand { display: flex; align-items: center; gap: 10px; }
.tt-brand__mark { width: auto; height: 40px; display: block; }
.tt-brand__name { font-weight: 800; font-stretch: 78%; font-size: 24px; line-height: 1; letter-spacing: -.005em; color: #fff; white-space: nowrap; }
.tt-brand-link { display: inline-block; text-decoration: none; }
.tt-nav { display: flex; gap: 2px; }
.tt-nav__top { display: flex; align-items: center; gap: 5px; padding: 9px 10px; border-radius: 8px; color: #fff; text-decoration: none; font-weight: 600; font-stretch: 85%; font-size: 16.5px; letter-spacing: .01em; white-space: nowrap; }
.tt-nav__top svg { width: 11px; height: 11px; opacity: .75; }
.tt-nav__item:hover > .tt-nav__top, .tt-nav__item:focus-within > .tt-nav__top { background: rgba(255, 255, 255, .1); color: #fff; }
.tt-nav { align-self: stretch; }
.tt-nav__item { display: flex; align-items: center; }
/* Panneau : reste ouvert 0,2 s après la sortie de la souris, pour tolérer un trajet imprécis. */
.tt-mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--tt-line); border-bottom: 1px solid var(--tt-line); box-shadow: var(--tt-shadow); visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity .15s ease, transform .15s ease, visibility 0s linear .2s; }
.tt-nav:not(.is-js) .tt-nav__item:hover .tt-mega, .tt-nav__item:focus-within .tt-mega, .tt-nav__item.is-open .tt-mega { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
/* Sans script : passage à une autre rubrique, le panneau précédent se ferme tout de suite. */
.tt-nav:not(.is-js):hover .tt-nav__item:not(:hover) .tt-mega { visibility: hidden; opacity: 0; transition: none; }
/* Avec script (souris) : les délais d'ouverture et de fermeture sont gérés dans front.js. */
.tt-nav.is-js .tt-mega { transition: opacity .12s ease, transform .12s ease, visibility 0s; }
.tt-nav.is-js .tt-nav__item.is-open > .tt-nav__top { background: rgba(255, 255, 255, .1); }
.tt-nav.is-js:has(.is-open) .tt-nav__item:not(.is-open) .tt-mega { visibility: hidden; opacity: 0; }
@media (prefers-reduced-motion: reduce) { .tt-mega { transition: visibility 0s linear .2s; transform: none; } }
.tt-mega__in { max-width: var(--tt-wide); margin-inline: auto; padding: 26px var(--tt-gutter) 30px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 28px; }
.tt-mega__h { margin: 0 0 10px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--tt-muted); }
.tt-mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.tt-mega ul.two { grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.tt-mega a { color: var(--tt-ink); text-decoration: none; }
.tt-mega a:hover { color: var(--tt-red); }
.tt-feat { display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; background: var(--tt-mist); text-decoration: none; }
.tt-feat .ph img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tt-feat .t { padding: 12px 14px 14px; }
.tt-feat b { display: block; font-size: 15px; line-height: 1.3; color: var(--tt-ink); }
.tt-feat .t span { font-size: 13px; color: var(--tt-muted); }
.tt-header__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
/* Mode carte : lien vers la grande carte des activités */
.tt-header__map { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; color: #fff; font-weight: 600; font-stretch: 85%; font-size: 16px; text-decoration: none; white-space: nowrap; }
.tt-header__map:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); }
.tt-mappage .wp-block-post-content > * { margin-block: 0; }
.tt-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 0; background: transparent; color: var(--tt-indigo); cursor: pointer; }
.tt-ico:hover { background: var(--tt-mist); }
.tt-header .tt-ico { color: #fff; }
.tt-header .tt-ico:hover { background: rgba(255, 255, 255, .1); }
.tt-ico svg { width: 20px; height: 20px; }
.tt-burger { display: none; }
.tt-search-panel { border-top: 1px solid rgba(255, 255, 255, .12); padding: 12px var(--tt-gutter) 14px; }
.tt-search-panel .tt-search { max-width: 720px; margin-inline: auto; }
.tt-search-panel .tt-search__bar { border: 1px solid var(--tt-line); }
.tt-drawer { border-top: 1px solid var(--tt-line); padding: 0 var(--tt-gutter) 16px; background: #fff; }
.tt-drawer details, .tt-drawer__link { display: block; border-bottom: 1px solid var(--tt-line); }
.tt-drawer summary, .tt-drawer__link { list-style: none; padding: 14px 0; font-weight: 600; display: flex; justify-content: space-between; cursor: pointer; color: var(--tt-ink); text-decoration: none; }
.tt-drawer summary::-webkit-details-marker { display: none; }
.tt-drawer summary::after { content: "+"; font-weight: 400; color: var(--tt-muted); }
.tt-drawer details[open] summary::after { content: "–"; }
.tt-drawer ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.tt-drawer ul a { color: #3C3958; text-decoration: none; }
.tt-drawer .tt-btn { width: 100%; margin-top: 16px; }
@media (max-width: 1080px) {
	.tt-nav { display: none; }
	.tt-burger { display: grid; }
}
@media (max-width: 520px) {
	.tt-header__cta { display: none; }
	.tt-header__map { width: 40px; padding: 0; justify-content: center; border: 0; }
	.tt-header__map span { display: none; }
	.tt-brand__mark { height: 36px; }
	.tt-brand__name { font-size: 21px; }
	.tt-header__bar { gap: 12px; }
}

/* ---------- Recherche ---------- */
.tt-search { position: relative; }
.tt-search__bar { display: flex; align-items: center; gap: 6px; background: #fff; border-radius: 10px; padding: 6px; }
.tt-search__bar:focus-within { box-shadow: 0 0 0 3px rgba(201, 162, 39, .55); }
.tt-search__bar svg { width: 20px; height: 20px; flex: none; margin-left: 10px; color: var(--tt-muted); }
.tt-search__bar input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; color: var(--tt-ink); padding: 9px 6px; }
.tt-search__sugg { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border-radius: 10px; box-shadow: var(--tt-shadow); padding: 6px; z-index: 60; max-height: 440px; overflow: auto; text-align: left; }
.tt-search__sugg .h { margin: 10px 10px 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--tt-muted); }
.tt-search__sugg a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--tt-ink); text-decoration: none; font-size: 15px; line-height: 1.35; }
.tt-search__sugg a small { color: var(--tt-muted); font-size: 13px; white-space: nowrap; }
.tt-search__sugg a:hover, .tt-search__sugg a.is-on { background: var(--tt-mist); }
.tt-search__sugg a.gyg { border-top: 1px solid var(--tt-line); margin-top: 6px; border-radius: 0 0 8px 8px; color: var(--tt-red); font-weight: 600; }

/* ---------- Hero ---------- */
.tt-hero { position: relative; z-index: 2; color: #fff; background: var(--tt-indigo); overflow-x: clip; margin-block: 0 !important; } /* z-index et pas de coupe verticale : la liste de la recherche passe par-dessus la suite de la page */
.tt-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tt-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 27, 54, .8) 0%, rgba(30, 27, 54, .42) 55%, rgba(30, 27, 54, .1) 100%), linear-gradient(0deg, rgba(30, 27, 54, .5), rgba(30, 27, 54, 0) 60%); }
.tt-hero__in { position: relative; z-index: 1; max-width: var(--tt-wide); margin-inline: auto; padding: 18px var(--tt-gutter) 44px; min-height: 480px; display: flex; flex-direction: column; }
.tt-hero--home .tt-hero__in { min-height: 540px; justify-content: flex-end; padding-bottom: 56px; }
.tt-hero__grid { margin-top: auto; display: grid; gap: clamp(24px, 4vw, 56px); align-items: end; padding-top: 48px; }
.tt-hero__grid.has-widget { grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); }
.tt-hero h1 { color: #fff; font-stretch: 75%; margin: 0; max-width: 14ch; font-size: clamp(2.5rem, 6.4vw, 4.75rem); line-height: .94; }
.tt-hero--home h1 { font-size: clamp(2.75rem, 8vw, 6rem); max-width: 11ch; }
.tt-hero h1.is-long { max-width: 19ch; font-size: clamp(2.125rem, 4.6vw, 3.625rem); line-height: 1; }
.tt-hero h1 span { display: block; font-stretch: 100%; font-weight: 500; font-size: clamp(1.125rem, 2vw, 1.5rem); line-height: 1.3; margin-top: 14px; max-width: 30ch; color: #E9E7F5; letter-spacing: 0; }
.tt-hero__txt p { margin: 14px 0 0; font-size: 18px; color: #ECEAF7; max-width: 44ch; }
.tt-hero .tt-search { max-width: 580px; margin-top: 28px; }
.tt-hero__box { background: #fff; color: var(--tt-ink); border-radius: 14px; padding: 18px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.tt-crumb { font-size: 13px; color: #D9D6EC; }
.tt-crumb a { color: #fff; text-decoration: none; }
.tt-crumb .breadcrumb_last { color: #D9D6EC; }
@media (max-width: 900px) {
	.tt-hero__grid.has-widget { grid-template-columns: 1fr; }
	.tt-hero__in { min-height: 0; padding-bottom: 20px; }
}

/* ---------- Formulaires partenaires ---------- */
.tt-wdg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tt-wdg .is-full, .tt-wdg__t { grid-column: 1 / -1; }
.tt-wdg__t { margin: 0; font-stretch: 85%; font-weight: 800; font-size: 21px; line-height: 1.15; color: var(--tt-indigo); }
.tt-f { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: var(--tt-muted); text-transform: uppercase; letter-spacing: .04em; min-width: 0; }
.tt-f select, .tt-f input { font: inherit; font-size: 15px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--tt-ink); border: 1px solid #D9D6E6; border-radius: 8px; padding: 10px; background: #fff; width: 100%; min-width: 0; }
.tt-step { display: flex; align-items: center; border: 1px solid #D9D6E6; border-radius: 8px; padding: 4px; background: #fff; }
.tt-step input { border: 0; text-align: center; padding: 6px 0; -moz-appearance: textfield; }
.tt-step input::-webkit-inner-spin-button { -webkit-appearance: none; }
.tt-step button { width: 34px; height: 34px; flex: none; border: 0; border-radius: 6px; background: var(--tt-mist); color: var(--tt-indigo); font-size: 18px; cursor: pointer; }
.tt-wdg__ages { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tt-wdg__ages:empty { display: none; }
.tt-wdg .tt-btn { padding: 14px 18px; font-size: 16px; }
.tt-ac { position: relative; } /* recherche d'activités : suggestions sous le champ */
.tt-ac .tt-search__sugg { top: calc(100% + 4px); max-height: 320px; text-transform: none; letter-spacing: 0; }
.tt-wdg.is-compact { gap: 8px; }
.tt-wdg.is-compact .tt-wdg__t { font-size: 18px; }
.tt-wdg.is-compact label.tt-f:not(:has([data-tt-step])) { grid-column: 1 / -1; }
.tt-wdg-wrap.is-band { border: 1px solid var(--tt-line); border-radius: 14px; padding: 20px; background: var(--tt-gold-soft); }
.tt-wdg-wrap.is-band .tt-wdg { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tt-wdg-wrap.is-band .tt-f.is-full { grid-column: span 2; }
.tt-wdg-wrap.is-card, .tt-rail .tt-wdg-wrap { border: 1px solid var(--tt-line); border-radius: 14px; padding: 16px; background: #fff; box-shadow: 0 14px 30px -24px rgba(30, 27, 54, .5); }
@media (max-width: 700px) {
	.tt-wdg-wrap.is-band .tt-wdg { grid-template-columns: 1fr 1fr; }
}

/* ---------- Carte activité ---------- */
.tt-act { border: 1px solid var(--tt-line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; background: #fff; margin: 0; }
.tt-act__media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--tt-mist); }
.tt-act__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tt-tag { position: absolute; top: 10px; left: 10px; background: #fff; color: var(--tt-indigo); font-size: 12px; font-weight: 600; border-radius: 6px; padding: 3px 8px; }
.tt-act__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tt-kicker { font-size: 12px; font-weight: 600; color: var(--tt-muted); text-transform: uppercase; letter-spacing: .05em; }
.tt-act__title { margin: 0; font-size: 16px; font-stretch: 100%; font-weight: 700; line-height: 1.3; }
.tt-act__title a { color: var(--tt-ink); text-decoration: none; }
.tt-stars { color: var(--tt-gold); font-size: 13px; letter-spacing: 1px; }
.tt-stars em { font-style: normal; color: var(--tt-muted); letter-spacing: 0; margin-left: 4px; }
.tt-act__meta { font-size: 13px; color: var(--tt-muted); }
.tt-act__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px dashed var(--tt-line); font-size: 14px; }
.tt-act__foot a { color: var(--tt-red); font-weight: 700; text-decoration: none; }

/* ---------- Mise en page des pages longues : sommaire + contenu ---------- */
/* Sommaire à gauche, contenu au centre, réservation à droite. Sous 1180px, la réservation passe sous le sommaire. */
.tt-layout { max-width: var(--tt-wide); margin-inline: auto; padding: 36px var(--tt-gutter); display: grid !important; grid-template-columns: 220px minmax(0, 1fr) 270px; gap: 44px; }
.tt-rail { grid-column: 1; grid-row: 1; position: sticky; top: 16px; align-self: start; display: flex; flex-direction: column; gap: 20px; }
.tt-side { grid-column: 3; grid-row: 1; position: sticky; top: 16px; align-self: start; }
.tt-side .tt-wdg-wrap { border: 1px solid var(--tt-line); border-radius: 14px; padding: 16px; background: #fff; box-shadow: 0 14px 30px -24px rgba(30, 27, 54, .5); }
.tt-toc { font-size: 14px; display: flex; flex-direction: column; border-left: 2px solid var(--tt-line); }
.tt-toc__t { margin: 0 0 8px; padding-left: 14px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--tt-indigo); }
.tt-toc a { padding: 5px 0 5px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--tt-muted); text-decoration: none; line-height: 1.35; }
.tt-toc a.is-on { border-left-color: var(--tt-red); color: var(--tt-indigo); font-weight: 600; }
.tt-prose { grid-column: 2; grid-row: 1; max-width: 760px; min-width: 0; }
.tt-prose > * + * { margin-block-start: 1rem; }
.tt-prose h2 { margin-top: 2.25rem; scroll-margin-top: 16px; }
.tt-prose h3 { margin-top: 1.5rem; scroll-margin-top: 16px; }
.tt-prose :where(h2, h3, h4) { text-wrap: pretty; } /* intertitres sur toute la largeur de la colonne (pas de lignes équilibrées) */
.tt-prose p, .tt-prose li { color: #34314F; }
.tt-prose strong { color: var(--tt-ink); }
/* Liens du contenu : un seul style, qu'ils soient en gras ou non dans le texte d'origine. */
.tt-prose :where(p, li, td, th, dd, blockquote) a { color: var(--tt-red); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tt-prose :where(p, li, td, th, dd, blockquote) a :is(strong, b, em) { color: inherit; font-weight: inherit; }
.tt-prose :where(p, li, td, th, dd, blockquote) a:hover { text-decoration-thickness: 2px; }
@media (max-width: 1180px) {
	.tt-layout { grid-template-columns: 220px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 40px; row-gap: 28px; }
	.tt-prose { grid-row: 1 / span 2; }
	.tt-rail { position: static; }
	.tt-side { grid-column: 1; grid-row: 2; }
}
@media (max-width: 900px) {
	.tt-layout { grid-template-columns: 1fr; grid-template-rows: none; gap: 0; }
	.tt-prose { grid-column: 1; grid-row: auto; }
	.tt-rail, .tt-side { display: none; }
}

/* ---------- Tableaux et FAQ ---------- */
.wp-block-table { overflow-x: auto; border: 1px solid var(--tt-line); border-radius: 12px; }
.wp-block-table table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 1.45; }
.wp-block-table thead { border: 0; }
.wp-block-table th { background: var(--tt-indigo); color: #fff; text-align: left; padding: 10px 14px; font-weight: 600; border: 0; }
.wp-block-table th * { color: #fff; }
.wp-block-table td { padding: 10px 14px; border: 0; border-top: 1px solid var(--tt-line); vertical-align: top; }
.wp-block-table tbody tr:nth-child(even) td { background: #FAFAFC; }
.wp-block-table td:first-child { font-weight: 600; color: var(--tt-ink); }
.wp-block-table table.has-fixed-layout { table-layout: auto; }
.wp-block-table .has-fixed-layout td, .wp-block-table .has-fixed-layout th { word-break: normal; overflow-wrap: normal; hyphens: manual; }
@media (max-width: 700px) { .wp-block-table:has(tr > :nth-child(4)) table { min-width: 620px; } }
mark.tt-st { display: inline-flex; align-items: baseline; gap: 6px; padding: 2px 9px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.4; }
mark.tt-st::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; transform: translateY(-1px); }
mark.tt-st.is-good { background: #E6F3EB; color: #1E6B42; }
mark.tt-st.is-ok { background: #FBF0DA; color: #8A5200; }
mark.tt-st.is-bad { background: #FAE8EB; color: var(--tt-red); }
.schema-faq-section, .wp-block-details { border-bottom: 1px solid var(--tt-line); padding-block: 12px; }
.schema-faq-question, .wp-block-details summary { display: block; font-weight: 600; color: var(--tt-indigo); cursor: pointer; }
.schema-faq-answer { margin: 6px 0 0; }

/* ---------- Barre mobile ---------- */
.tt-mbar { display: none; }
@media (max-width: 700px) {
	.tt-mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--tt-line); padding: 10px max(16px, env(safe-area-inset-left, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)); gap: 12px; align-items: center; justify-content: space-between; box-shadow: 0 -10px 24px -18px rgba(30, 27, 54, .4); transform: translateY(120%); transition: transform .25s ease; margin: 0 !important; }
	.tt-mbar.is-visible { transform: none; }
	.tt-mbar p { margin: 0; line-height: 1.25; }
	.tt-mbar b { display: block; font-size: 14px; color: var(--tt-indigo); }
	.tt-mbar span { font-size: 12px; color: var(--tt-muted); }
	.tt-mbar .tt-btn { padding: 10px 14px; flex: none; }
}
@media (prefers-reduced-motion: reduce) { .tt-mbar { transition: none; } }

/* ---------- Sections de la home ---------- */
.tt-section { padding-block: var(--wp--preset--spacing--60) !important; margin-block: 0 !important; }
.tt-section .wp-block-buttons { margin-top: 28px; }
.tt-must-grid { gap: 14px !important; }
.tt-must .wp-block-image img { aspect-ratio: 1; object-fit: cover; border-radius: 12px; width: 100%; }
.tt-must p { margin: 8px 0 0 !important; font-size: 15px; line-height: 1.3; }
.tt-must a { color: var(--tt-ink) !important; text-decoration: none !important; }
.tt-team .wp-block-media-text__media img { border-radius: 14px; aspect-ratio: 3 / 2; object-fit: cover; }
.tt-team h2 { font-size: var(--wp--preset--font-size--xx-large); }
.tt-head { text-align: center; max-width: 640px; margin-inline: auto !important; }
.tt-head h2 { margin: 0; }
.tt-head p { color: var(--tt-muted); font-size: 17px; margin-top: 12px; }
.tt-quick { background: var(--tt-indigo); color: #fff; }
.tt-quick p { margin: 0; max-width: var(--tt-wide); margin-inline: auto; padding: 14px var(--tt-gutter); display: flex; gap: 26px; overflow-x: auto; white-space: nowrap; font-size: 15px; }
.tt-quick a { color: #fff; text-decoration: none; }
.tt-quick strong { color: var(--tt-gold); font-weight: 600; }
.tt-region .wp-block-image img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; width: 100%; }
.tt-region h3 { margin: 14px 0 0; font-size: 22px; }
.tt-region p { margin: 4px 0 0; font-size: 14px; color: var(--tt-muted); }
.tt-region p a { color: var(--tt-ink); text-decoration-color: var(--tt-line); text-underline-offset: 3px; }
.tt-months { gap: 0 24px !important; }
.tt-months > * { border-top: 1px solid #D9D6E6; padding-block: 12px 16px; margin: 0 !important; }
.tt-months h3 { margin: 0; font-size: 19px; font-stretch: 80%; }
.tt-months h3 a { color: var(--tt-indigo); text-decoration: none; }
.tt-months p { margin: 2px 0 0; font-size: 14px; color: var(--tt-muted); line-height: 1.45; }
.tt-latest .wp-block-post-template { display: grid !important; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto auto 1fr; gap: 18px 28px; }
.tt-latest .wp-block-post-template > li:first-child { grid-row: 1 / span 4; } /* les petits articles restent serrés en haut, à côté de la photo ; la place en trop va dans la dernière rangée */
.tt-latest .wp-block-post-template > li { margin: 0; } /* l'écart entre articles, c'est le gap de la grille */
.tt-latest .wp-block-post-template > li:not(:first-child) { display: grid; grid-template-columns: 128px 1fr; gap: 14px; align-items: center; }
.tt-latest li:not(:first-child) .wp-block-post-featured-image { margin: 0; }
.tt-latest .wp-block-post-featured-image img { border-radius: 14px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.tt-latest li:not(:first-child) .wp-block-post-featured-image img { aspect-ratio: 1; border-radius: 10px; }
.tt-latest .wp-block-post-terms { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.tt-latest .wp-block-post-terms a { color: var(--tt-red); text-decoration: none; }
.tt-latest .wp-block-post-title { margin: 4px 0 0; font-size: 16px; font-stretch: 100%; font-weight: 700; line-height: 1.3; }
.tt-latest li:first-child .wp-block-post-title { font-size: clamp(24px, 3vw, 32px); font-stretch: 80%; font-weight: 800; line-height: 1.05; }
.tt-latest .wp-block-post-title a { color: var(--tt-indigo); text-decoration: none; }
.tt-latest li:not(:first-child) .wp-block-post-excerpt { display: none; }
@media (max-width: 900px) {
	.tt-latest .wp-block-post-template { grid-template-columns: 1fr; }
	.tt-latest .wp-block-post-template { grid-template-rows: none; }
	.tt-latest .wp-block-post-template > li:first-child { grid-row: auto; }
}
@media (max-width: 520px) {
	.tt-latest .wp-block-post-template > li:not(:first-child) { grid-template-columns: 92px 1fr; }
}

/* ---------- Footer ---------- */
.tt-footer { font-size: 14px; background: var(--tt-night); color: #C9C6E0; }
.tt-footer__intro { color: #B9B5D3; }
.tt-footer .tt-brand-link { margin-bottom: 4px; }
.tt-footer .tt-nl { background: var(--tt-gold-soft); }
.tt-footer h4 { margin: 0 0 12px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-stretch: 100%; color: #E3C35A; }
.tt-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.tt-footer ul a { color: #E9E7F5; text-decoration: none; }
.tt-footer ul a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.tt-footer .tt-bar a { color: #C9C6E0; text-decoration: none; }

/* ---------- Article ---------- */
.tt-ahead { max-width: var(--tt-wide); margin-inline: auto; }
.tt-ahead .wp-block-post-title { margin-top: 10px; text-wrap: pretty; } /* titre sur toute la largeur, sans lignes équilibrées */
.tt-cat { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.tt-cat a { color: var(--tt-red); text-decoration: none; }
.tt-byline { gap: 8px 16px; align-items: center; font-size: 14px; color: var(--tt-muted); margin-block: 16px 22px !important; }
.tt-byline > * { margin: 0 !important; }
.tt-byline .wp-block-post-author { align-items: center; }
.tt-byline .wp-block-post-author__avatar img { border-radius: 50%; }
.tt-byline .wp-block-post-author__name { font-weight: 600; color: var(--tt-ink); }
.tt-authorbox { border: 1px solid var(--tt-line); border-radius: 16px; padding: 20px; gap: 16px; margin-top: 2.5rem !important; }
.tt-authorbox .wp-block-post-author__avatar img { border-radius: 50%; }
.tt-authorbox .wp-block-post-author__name { font-size: 20px; font-weight: 800; font-stretch: 90%; color: var(--tt-indigo); }
.tt-authorbox .wp-block-post-author__bio { font-size: 15px; color: #34314F; margin-top: 6px; }

.tt-ahead .wp-block-post-title, .tt-ahead .tt-cat, .tt-ahead .tt-byline { margin-left: max(0px, calc((100% - 1240px) / 2)) !important; margin-right: auto !important; }
.tt-byline .wp-block-post-author__byline { display: inline; font-size: inherit; margin: 0 4px 0 0; }
.tt-byline .wp-block-post-author__content { display: flex; align-items: baseline; }
.tt-byline .rmp-results-widget { margin: 0; font-size: 14px; }
.tt-byline .rmp-results-widget__visual-rating { font-size: 14px; }
.tt-byline .rmp-results-widget__avg-rating, .tt-byline .rmp-results-widget__vote-count { font-size: 14px; }
.tt-rate { background: var(--tt-mist); border-radius: 12px; padding: 16px 18px; margin-top: 2rem !important; }
.tt-rate .rmp-widgets-container { margin: 0; padding: 0; }
.tt-rate .rmp-heading { font-size: 18px; font-stretch: 85%; color: var(--tt-indigo); }
.tt-footer .wp-block-social-links { display: flex; gap: 10px; margin-top: 16px; }
.tt-authorbox .wp-block-post-author__avatar { flex: none; }

/* ---------- Listes d'articles (blog, catégories, recherche) ---------- */
.tt-cards { margin-top: 2rem !important; }
.tt-cards .wp-block-post-title { margin: 6px 0 0; font-stretch: 90%; }
.tt-cards .wp-block-post-title a { color: var(--tt-indigo); text-decoration: none; }
.tt-cards .wp-block-post-title a:hover { color: var(--tt-red); }
.tt-cards .tt-cat { margin-top: 12px; }
.tt-cards .wp-block-query-pagination { margin-top: 2.5rem; gap: 8px; font-weight: 600; }
.tt-cards .wp-block-query-pagination a { color: var(--tt-indigo); }

/* ---------- Alignements et marges globales ---------- */
.wp-site-blocks > * + * { margin-block-start: 0; }
.wp-block-post-content > .alignfull { margin-block: 0; }
.tt-header__bar, .tt-hero__in, .tt-quick p, .tt-mega__in, .tt-layout, .tt-ahead { box-sizing: content-box; }
.tt-layout { max-width: var(--tt-wide); }
@media (max-width: 700px) {
	/* Cartes activités : carrousel horizontal sur mobile, la carte suivante reste visible. */
	.is-layout-grid:has(> .tt-act) { grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
	.is-layout-grid:has(> .tt-act) > .tt-act { scroll-snap-align: start; }
}
.tt-hero__grid > * { min-width: 0; }
.tt-hero .tt-search, .tt-hero .tt-search__bar { width: 100%; box-sizing: border-box; }
:where(.tt-prose, .wp-block-post-content) img { max-width: 100%; height: auto; }

/* ---------- Hero de la home : composition centrée ---------- */
.tt-hero--home .tt-hero__in { min-height: clamp(440px, 60vh, 600px); justify-content: center; padding-block: 64px 72px; }
.tt-hero--home .tt-hero__grid { margin-top: 0; padding-top: 0; justify-items: center; text-align: center; }
.tt-hero--home .tt-hero__txt { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 860px; }
.tt-hero--home h1 { max-width: none; font-size: clamp(2.75rem, 7.2vw, 6.25rem); }
.tt-hero--home h1 span { margin: 16px auto 0; max-width: 36ch; }
.tt-hero--home .tt-search { width: min(680px, 100%); margin-top: 32px; }
.tt-hero--home .tt-search__bar { padding: 8px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); }
.tt-hero--home::after { background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(30, 27, 54, .62) 0%, rgba(30, 27, 54, .4) 65%, rgba(30, 27, 54, .55) 100%); }

/* ---------- Bandeau des destinations : défilement continu ---------- */
.tt-quick.is-marquee p { display: flex; align-items: center; gap: 0; padding-block: 0; overflow: hidden; }
.tt-marquee__label { flex: none; padding: 14px 24px 14px 0; position: relative; z-index: 1; background: var(--tt-indigo); color: var(--tt-gold); font-weight: 600; }
.tt-marquee { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%); }
.tt-marquee__track { display: flex; width: max-content; animation: tt-marquee 45s linear infinite; }
.tt-marquee__set { display: flex; gap: 32px; padding: 14px 32px 14px 0; flex: none; }
.tt-marquee:hover .tt-marquee__track, .tt-marquee:focus-within .tt-marquee__track { animation-play-state: paused; }
.tt-marquee a:hover { color: var(--tt-gold); }
@keyframes tt-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.tt-marquee { overflow-x: auto; mask-image: none; }
	.tt-marquee__track { animation: none; }
	.tt-marquee__set[aria-hidden] { display: none; }
}
.tt-hero .tt-hero__img { height: 100%; max-width: none; }
@media (max-width: 700px) {
	.tt-hero--home .tt-hero__in { min-height: 0; padding-block: 56px 48px; }
}
.tt-btn--out { background: transparent; color: var(--tt-indigo); border: 1.5px solid var(--tt-indigo); }
.tt-btn--out:hover { background: var(--tt-indigo); color: #fff; }

/* ---------- Contenu des guides (destinations, lieux) ---------- */
.tt-prose .is-style-tt-tip { background: var(--tt-gold-soft); border-radius: 12px; padding: 14px 18px; color: var(--tt-ink); }
.tt-prose .is-style-tt-tip > strong:first-child { color: var(--tt-indigo); }

.tt-prose h2 { padding-top: .25rem; }
.tt-prose > .wp-block-buttons { margin-block: 1.25rem; }
.tt-prose .wp-block-button__link { background: var(--tt-gold); color: var(--tt-ink); font-weight: 700; font-size: 16px; padding: 14px 26px; border-radius: 10px; text-decoration: none; box-shadow: 0 10px 22px -16px rgba(30, 27, 54, .7); }
@media (max-width: 700px) { .tt-prose .wp-block-buttons, .tt-prose .wp-block-button, .tt-prose .wp-block-button__link { width: 100%; text-align: center; } }
.tt-prose .wp-block-button__link:hover { background: var(--tt-indigo); color: #fff; }
.tt-prose > .tt-wdg-wrap, .tt-prose > .tt-map, .tt-prose > .tt-cards2, .tt-prose > .tt-spot, .tt-prose > .tt-cmp { margin-block: 1.5rem; }
.tt-prose > .is-layout-grid:has(> .tt-act) { margin-block: 1rem 1.5rem; }
/* Galerie : bande de photos défilante, agrandissement au clic. */
.tt-prose .tt-gallery.wp-block-gallery { display: grid !important; grid-auto-flow: column; grid-auto-columns: minmax(220px, 32%); gap: 10px !important; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-block: 1.5rem; scroll-margin-top: 16px; }
.tt-prose .tt-gallery .wp-block-image { margin: 0 !important; width: auto !important; scroll-snap-align: start; }
.tt-prose .tt-gallery .wp-block-image img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; height: 100%; border-radius: 12px; }
.tt-prose figure.wp-block-image:not(.tt-gallery figure) img { border-radius: 14px; }
/* FAQ en blocs Détails */
.tt-prose .wp-block-details { border-bottom: 1px solid var(--tt-line); padding-block: 14px; margin: 0 !important; }
.tt-prose .wp-block-details summary { font-weight: 600; color: var(--tt-indigo); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.tt-prose .wp-block-details summary::-webkit-details-marker { display: none; }
.tt-prose .wp-block-details summary::after { content: "+"; color: var(--tt-muted); font-weight: 400; font-size: 20px; line-height: 1; }
.tt-prose .wp-block-details[open] summary::after { content: "–"; }
.tt-prose .wp-block-details > :not(summary) { margin-top: 8px; }
@media (max-width: 700px) {
	.tt-prose .tt-gallery.wp-block-gallery { grid-auto-columns: 78%; }
}

/* Encadré « À lire aussi » */
.tt-prose .tt-related { border-left: 3px solid var(--tt-gold); background: var(--tt-mist); border-radius: 0 12px 12px 0; padding: 14px 18px; }
.tt-prose .tt-related > * + * { margin-block-start: 6px; }
.tt-prose .tt-related p { margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.tt-prose .tt-related p strong { color: var(--tt-indigo); }
.tt-prose .tt-related ul { margin: 0; padding-left: 18px; }
.tt-prose .tt-related li { margin: 2px 0; }
.tt-prose .tt-related li a { font-weight: 600; }

/* Hero des pages : même respiration en haut et en bas, texte centré verticalement face au formulaire */
.tt-hero--page .tt-hero__in { min-height: 0; padding-block: 16px 44px; }
.tt-hero--page .tt-hero__grid { margin-top: 0; padding-top: 10px; align-items: center; }
@media (max-width: 900px) {
	.tt-hero--page .tt-hero__in { padding-block: 14px 20px; }
	.tt-hero--page .tt-hero__grid { padding-top: 14px; gap: 20px; }
}

/* Sommaire mobile : barre fixe en haut pendant la lecture, sections en pastilles à faire glisser */
.tt-tocbar { display: none; }
@media (max-width: 900px) {
	.tt-tocbar { display: block; position: fixed; top: 0; left: 0; right: 0; z-index: 45; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--tt-line); box-shadow: 0 8px 20px -16px rgba(30, 27, 54, .5); transform: translateY(-110%); transition: transform .25s ease; }
	.tt-tocbar.is-visible { transform: none; }
	.tt-tocbar__track { display: flex; gap: 8px; overflow-x: auto; padding: 10px 40px 10px 16px; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14px, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14px, #000 85%, transparent); }
	.tt-tocbar__track::-webkit-scrollbar { display: none; }
	.tt-tocbar a { flex: none; max-width: 75vw; overflow: hidden; text-overflow: ellipsis; scroll-snap-align: start; padding: 7px 14px; border-radius: 999px; background: var(--tt-mist); color: var(--tt-indigo); font-size: 14px; font-weight: 600; line-height: 1.2; white-space: nowrap; text-decoration: none; }
	.tt-tocbar a.is-on { background: var(--tt-indigo); color: #fff; }
	.tt-tocbar__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--tt-red); transform: scaleX(0); transform-origin: left; }
}
@media (prefers-reduced-motion: reduce) { .tt-tocbar { transition: none; } }

/* Encadrés d'article (groupes) : le premier paragraphe en gras sert de titre */
.tt-prose :is(.is-style-tt-savais, .is-style-tt-retenir, .is-style-tt-alerte) { border-radius: 12px; padding: 16px 20px; margin-block: 1.5rem; }
.tt-prose :is(.is-style-tt-savais, .is-style-tt-retenir, .is-style-tt-alerte) > * + * { margin-block-start: .6rem; }
.tt-prose :is(.is-style-tt-savais, .is-style-tt-retenir, .is-style-tt-alerte) > p:first-child { margin: 0; font-size: 17px; font-stretch: 85%; font-weight: 800; }
.tt-prose :is(.is-style-tt-savais, .is-style-tt-retenir, .is-style-tt-alerte) ul { margin: 0; padding-left: 20px; }
.tt-prose .is-style-tt-savais { background: var(--tt-gold-soft); }
.tt-prose .is-style-tt-savais > p:first-child, .tt-prose .is-style-tt-savais > p:first-child strong { color: #7A5E07; }
.tt-prose .is-style-tt-retenir { background: var(--tt-mist); border-left: 4px solid var(--tt-indigo); }
.tt-prose .is-style-tt-retenir > p:first-child strong { color: var(--tt-indigo); }
.tt-prose .is-style-tt-alerte { background: #FBEEF0; border-left: 4px solid var(--tt-red); }
.tt-prose .is-style-tt-alerte > p:first-child strong { color: var(--tt-red); }

/* Programme horaire : titre, étapes reliées par un fil, heure au-dessus de chaque étape */
.tt-prose .is-style-tt-timeline { border: 1px solid var(--tt-line); border-radius: 14px; padding: 20px 22px; margin-block: 1.75rem; }
.tt-prose .is-style-tt-timeline > p:first-child { margin: 0; font-size: 19px; font-stretch: 85%; font-weight: 800; color: var(--tt-indigo); }
.tt-prose .is-style-tt-timeline .tt-tl-day { margin-top: 1.25rem; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--tt-red); }
.tt-prose .is-style-tt-timeline ol { list-style: none; margin: .75rem 0 0; padding: 0 0 0 22px; border-left: 2px solid var(--tt-line); }
.tt-prose .is-style-tt-timeline ol > li { position: relative; margin: 0 0 18px; }
.tt-prose .is-style-tt-timeline ol > li::before { content: ""; position: absolute; left: -29px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--tt-gold); }
.tt-prose .is-style-tt-timeline .tt-tl-time { display: block; font-size: 13px; font-weight: 700; color: var(--tt-muted); }
.tt-prose .is-style-tt-timeline ol > li > strong:first-of-type { display: block; color: var(--tt-indigo); }
.tt-prose .is-style-tt-timeline ol ul { margin: 6px 0 0; padding-left: 18px; }

/* FAQ Yoast rendue en questions repliables : mêmes espacements que la FAQ des destinations */
.tt-prose .tt-faq { margin-block-start: 0 !important; }
.tt-prose .tt-faq .wp-block-details > p { margin-bottom: 0; }

/* ---------- Blog, catégories, auteurs ---------- */
.tt-blog { padding: 40px var(--tt-gutter) 72px; }
.tt-bloghead h1 { margin: 0; font-size: clamp(2.25rem, 5vw, 3.5rem); }
.tt-bloghead__intro { margin: 10px 0 0; max-width: 62ch; font-size: 18px; color: var(--tt-muted); }
.tt-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tt-topics a { padding: 7px 14px; border-radius: 999px; background: var(--tt-mist); color: var(--tt-indigo); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.tt-topics a:hover { background: #E9E6F2; }
.tt-topics a.is-on { background: var(--tt-indigo); color: #fff; }
@media (max-width: 700px) {
	.tt-topics { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--tt-gutter)); padding-inline: var(--tt-gutter); scrollbar-width: none; }
	.tt-topics::-webkit-scrollbar { display: none; }
}
.tt-cards .wp-block-post-template { row-gap: 32px !important; }
.tt-cards .wp-block-post-featured-image { margin: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; }
.tt-cards .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.tt-cards li:hover .wp-block-post-featured-image img { transform: scale(1.03); }
.tt-cards .tt-noimg { background: linear-gradient(135deg, var(--tt-mist), #E4E1EE); }
.tt-cards .tt-noimg a { display: block; width: 100%; height: 100%; }
.tt-cards .tt-cat a ~ a, .tt-cards .tt-cat .wp-block-post-terms__separator { display: none; }
.tt-cards .wp-block-post-title { font-size: 17px; line-height: 1.25; }
.tt-cards .tt-excerpt { display: none; }
/* Page 1 : le dernier article en grand (2 colonnes sur 2 rangées), avec son résumé */
body:not(.paged) .tt-cards--feature .wp-block-post-template > li:first-child { grid-column: span 2; grid-row: span 2; }
body:not(.paged) .tt-cards--feature li:first-child .wp-block-post-featured-image { aspect-ratio: 16 / 10.6; }
body:not(.paged) .tt-cards--feature li:first-child .wp-block-post-title { font-size: clamp(22px, 2.4vw, 30px); }
body:not(.paged) .tt-cards--feature li:first-child .tt-excerpt { display: block; margin-top: 8px; color: var(--tt-muted); font-size: 16px; }
body:not(.paged) .tt-cards--feature li:first-child .wp-block-post-excerpt__more-text { display: none; }
@media (max-width: 900px) { body:not(.paged) .tt-cards--feature .wp-block-post-template > li:first-child { grid-column: auto; grid-row: auto; } }
.tt-cards .wp-block-query-pagination { margin-top: 3rem; gap: 6px; flex-wrap: wrap; }
.tt-cards .wp-block-query-pagination-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.tt-cards .wp-block-query-pagination .page-numbers, .tt-cards .wp-block-query-pagination > a { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--tt-line); border-radius: 10px; color: var(--tt-indigo); font-weight: 600; text-decoration: none; }
.tt-cards .wp-block-query-pagination .page-numbers.current { background: var(--tt-indigo); border-color: var(--tt-indigo); color: #fff; }
.tt-cards .wp-block-query-pagination .page-numbers.dots { border: 0; min-width: 0; }
.tt-blog__h2 { margin-top: 3rem !important; font-size: clamp(1.5rem, 3vw, 2rem); }

/* Présentation de l'auteur : profil centré */
.tt-author { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 36px 28px; border: 1px solid var(--tt-line); border-radius: 18px; background: #fff; }
.tt-author .tt-author__img { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; }
.tt-author__body { display: flex; flex-direction: column; align-items: center; max-width: 72ch; }
.tt-author__role { margin: 16px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--tt-red); }
.tt-author__name { margin: 10px 0 0; font-size: clamp(2rem, 4vw, 2.75rem); }
.tt-author__role + .tt-author__name { margin-top: 4px; }
.tt-author__bio { margin-top: 12px; color: #34314F; }
.tt-author__bio p { margin: 0 0 .6rem; }
.tt-author__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 12px 0 0; font-size: 14px; color: var(--tt-muted); }
.tt-author__meta a { color: var(--tt-red); font-weight: 600; }
@media (max-width: 700px) {
	.tt-author { padding: 24px 18px; }
	.tt-author .tt-author__img { width: 104px; height: 104px; }
}

/* ---------- Catalogue d'activités ---------- */
.tt-catpage .wp-block-post-content > :not(.tt-catalog) { width: min(980px, calc(100% - 2 * var(--tt-gutter))); margin-inline: auto; box-sizing: border-box; }
.tt-catpage .wp-block-post-content > :last-child { margin-block-end: clamp(40px, 6vw, 72px); }
.tt-catalog { max-width: var(--tt-wide); margin: 0 auto; padding: 0 var(--tt-gutter) clamp(32px, 5vw, 56px); box-sizing: content-box; }
.tt-catalog__head { display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: clamp(28px, 4vw, 48px) clamp(22px, 3vw, 32px); }
.tt-catalog__head .tt-crumb, .tt-catalog__head .tt-crumb a, .tt-catalog__head .tt-crumb .breadcrumb_last { color: var(--tt-muted); }
.tt-catalog__head h1 { margin: 12px 0 0; font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1; }
.tt-catalog__head > p { margin: 14px 0 0; max-width: 60ch; font-size: 18px; color: var(--tt-muted); }
.tt-catalog__search { position: relative; display: block; width: min(640px, 100%); margin-top: 24px; }
.tt-catalog__search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--tt-muted); pointer-events: none; }
.tt-catalog__search input { width: 100%; box-sizing: border-box; height: 56px; border: 1px solid var(--tt-line); border-radius: 12px; padding: 0 18px 0 50px; background: #fff; font: inherit; font-size: 16px; color: var(--tt-ink); box-shadow: 0 10px 24px -18px rgba(30, 27, 54, .45); }
.tt-catalog__search input:focus { outline: 0; border-color: var(--tt-gold); box-shadow: 0 0 0 3px rgba(201, 162, 39, .35); }

.tt-catalog__tiles { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; margin-bottom: clamp(28px, 4vw, 40px); }
.tt-catalog__tile { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0 0 12px; border: 1px solid var(--tt-line); border-radius: 14px; background: #fff; font: inherit; color: var(--tt-ink); cursor: pointer; overflow: hidden; text-align: center; transition: border-color .15s, box-shadow .15s; }
.tt-catalog__tile:hover { border-color: #CFCBE0; box-shadow: 0 10px 22px -18px rgba(30, 27, 54, .5); }
.tt-catalog__tile[aria-pressed="true"] { border-color: var(--tt-indigo); box-shadow: inset 0 0 0 1px var(--tt-indigo); }
.tt-catalog__tileimg { display: block; width: 100%; aspect-ratio: 4 / 3; margin-bottom: 8px; background: var(--tt-mist); }
.tt-catalog__tileimg img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tt-catalog__tile b { padding-inline: 8px; font-size: 14px; line-height: 1.25; }
.tt-catalog__tile em { font-style: normal; font-size: 12px; color: var(--tt-muted); }

.tt-catalog__body { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; }
.tt-catalog__side { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; border: 1px solid var(--tt-line); border-radius: 14px; background: #fff; }
.tt-catalog__sidehead { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--tt-line); }
.tt-catalog__sidehead b { flex: 1; font-size: 16px; }
.tt-catalog__clear { border: 0; background: none; padding: 0; font: inherit; font-size: 13px; color: var(--tt-red); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.tt-catalog__x, .tt-catalog__sidefoot { display: none; }
.tt-catalog__sidebody { padding: 4px 16px 16px; }
.tt-catalog fieldset { border: 0; margin: 0; padding: 12px 0 0; }
.tt-catalog fieldset + fieldset { margin-top: 12px; border-top: 1px solid var(--tt-line); }
.tt-catalog legend { padding: 0; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--tt-indigo); }
.tt-catalog__group { margin: 10px 0 2px; font-size: 13px; color: var(--tt-muted); }
.tt-catalog__check { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 15px; cursor: pointer; }
.tt-catalog__check input { width: 18px; height: 18px; margin: 0; accent-color: var(--tt-indigo); flex: none; }
.tt-catalog__check span { flex: 1; }
.tt-catalog__check em { font-style: normal; font-size: 13px; color: var(--tt-muted); }

.tt-catalog__bar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 18px; }
.tt-catalog__count { margin: 0; font-weight: 700; font-size: 16px; }
.tt-catalog__chips { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.tt-catalog__chips button { border: 1px solid var(--tt-line); background: var(--tt-mist); border-radius: 999px; padding: 5px 12px; font: inherit; font-size: 13px; color: var(--tt-ink); cursor: pointer; }
.tt-catalog__chips button:hover { border-color: var(--tt-indigo); }
.tt-catalog__open { display: none; }
.tt-catalog__maplink { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border: 1px solid var(--tt-indigo); border-radius: 8px; color: var(--tt-indigo); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.tt-catalog__maplink:hover { background: var(--tt-mist); }
.tt-catalog__ml.is-short { display: none; }
@media (max-width: 600px) { .tt-catalog__ml { display: none; } .tt-catalog__ml.is-short { display: inline; } }
.tt-catalog__sort { display: flex; align-items: center; gap: 8px; margin-left: auto; font-size: 14px; color: var(--tt-muted); }
.tt-catalog__sort select { height: 38px; border: 1px solid var(--tt-line); border-radius: 8px; padding: 0 10px; background: #fff; font: inherit; font-size: 14px; color: var(--tt-ink); }

.tt-catalog__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.tt-catalog__grid .tt-act { position: relative; transition: box-shadow .15s, transform .15s; }
.tt-catalog__grid .tt-act:hover { box-shadow: 0 16px 30px -22px rgba(30, 27, 54, .55); transform: translateY(-2px); }
.tt-catalog__grid .tt-act__title a::after { content: ""; position: absolute; inset: 0; } /* toute la carte est cliquable, un seul lien */
.tt-catalog__grid .tt-act__foot { justify-content: flex-end; }
.tt-act__go { color: var(--tt-red); font-weight: 700; }
.tt-catalog__grid .tt-act:focus-within { outline: 2px solid var(--tt-gold); outline-offset: 2px; }
.tt-catalog__grid .tt-act__title a:focus { outline: 0; }
.tt-catalog__empty { padding: 36px 20px; border: 1px dashed var(--tt-line); border-radius: 14px; text-align: center; }
.tt-catalog__empty p { margin: 0 0 16px; color: var(--tt-muted); }
.tt-catalog__empty b { color: var(--tt-ink); }

@media (max-width: 1100px) {
	.tt-catalog__tiles { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 150px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
	.tt-catalog__tile { scroll-snap-align: start; }
}
@media (max-width: 900px) {
	.tt-catalog__body { grid-template-columns: minmax(0, 1fr); }
	/* Filtres en panneau plein écran, ouvert par le bouton « Filtrer ». */
	.tt-catalog__side { display: none; position: fixed; inset: 0; top: auto; z-index: 90; max-height: 88vh; border-radius: 16px 16px 0 0; flex-direction: column; box-shadow: 0 -20px 40px -10px rgba(30, 27, 54, .35); }
	.tt-catalog.is-filtering .tt-catalog__side { display: flex; }
	.tt-catalog.is-filtering::before { content: ""; position: fixed; inset: 0; z-index: 89; background: rgba(30, 27, 54, .45); }
	.tt-catalog__sidebody { flex: 1; overflow: auto; }
	.tt-catalog__x { display: block; border: 0; background: none; font-size: 28px; line-height: 1; padding: 0 4px; color: var(--tt-ink); cursor: pointer; }
	.tt-catalog__sidefoot { display: block; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--tt-line); }
	.tt-catalog__sidefoot .tt-btn { width: 100%; }
	.tt-catalog__open { display: inline-flex; align-items: center; height: 38px; border: 1px solid var(--tt-indigo); border-radius: 8px; padding: 0 14px; background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: var(--tt-indigo); cursor: pointer; }
	.tt-catalog__chips { order: 5; flex-basis: 100%; }
	html.tt-lock, html.tt-lock body { overflow: hidden; }
}
@media (max-width: 600px) {
	/* Deux cartes par ligne, comme une boutique : on voit plus d'activités d'un coup d'œil. */
	.tt-catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.tt-catalog__grid .tt-act__body { padding: 10px 12px 12px; gap: 4px; }
	.tt-catalog__grid .tt-act__title { font-size: 15px; }
	.tt-catalog__grid .tt-kicker { font-size: 11px; }
	.tt-catalog__grid .tt-act__foot { display: none; }
	.tt-catalog__grid .tt-tag { top: 8px; left: 8px; font-size: 11px; }
	.tt-catalog__head > p { font-size: 16px; }
	.tt-catalog__sort { margin-left: 0; }
}

/* ---------- Pages simples, recherche, 404 ---------- */
.tt-page { padding: 0 var(--tt-gutter) clamp(48px, 6vw, 80px); }
.tt-pagehead { display: flex; flex-direction: column; align-items: center; max-width: 820px; margin: 0 auto; padding-block: clamp(32px, 5vw, 56px) clamp(20px, 3vw, 32px); text-align: center; }
.tt-pagehead .tt-crumb, .tt-pagehead .tt-crumb a, .tt-pagehead .tt-crumb .breadcrumb_last { color: var(--tt-muted); }
.tt-pagehead h1 { margin: 12px 0 0; font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.02; }
.tt-pagehead > p { margin: 14px 0 0; max-width: 60ch; font-size: 18px; color: var(--tt-muted); }
.tt-pagehead__search { width: min(640px, 100%); margin-top: 24px; text-align: left; }
.tt-pagehead__search .tt-search__bar { border: 1px solid var(--tt-line); box-shadow: 0 10px 24px -18px rgba(30, 27, 54, .45); }
.tt-page__body { max-width: 720px; margin: 0 auto; }
.tt-page__body > .wp-block-post-content > :first-child { margin-top: 0; }
.tt-page--wide .tt-cards { max-width: var(--tt-wide); margin-inline: auto; }
.tt-cat span { color: var(--tt-red); }

.tt-authors { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-block: 2rem; }
.tt-authors__card { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px 22px 22px; border: 1px solid var(--tt-line); border-radius: 14px; background: #fff; text-align: center; }
.tt-authors__img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; }
.tt-authors__card h3 { margin: 12px 0 0; font-size: 1.25rem; }
.tt-authors__role { margin: 0; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--tt-muted); }
.tt-authors__bio { margin: 6px 0 10px; font-size: 15px; line-height: 1.5; color: var(--tt-muted); }
.tt-authors__card a { margin-top: auto; color: var(--tt-red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.tt-suggest { max-width: 860px; margin: 8px auto 0; text-align: center; }
.tt-suggest h2 { margin: 0 0 14px; font-size: 1.25rem; }
.tt-suggest__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tt-suggest__chips a { display: inline-block; padding: 8px 14px; border: 1px solid var(--tt-line); border-radius: 999px; background: #fff; color: var(--tt-indigo); font-weight: 600; font-size: 15px; text-decoration: none; }
.tt-suggest__chips a:hover { border-color: var(--tt-indigo); }
.tt-suggest__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }

/* ---------- Bandeau cookies ---------- */
.tt-consent { position: fixed; left: 16px; bottom: 16px; z-index: 100; width: min(420px, calc(100% - 32px)); box-sizing: border-box; padding: 20px; border: 1px solid var(--tt-line); border-radius: 16px; background: #fff; box-shadow: 0 24px 60px -20px rgba(30, 27, 54, .55); }
.tt-consent__t { margin: 0 0 6px; font-size: 1.15rem; font-weight: 800; font-stretch: 85%; color: var(--tt-indigo); }
.tt-consent p { margin: 0 0 14px; font-size: 14px; line-height: 1.5; color: #34314F; }
.tt-consent__choices { margin: 0 0 14px; }
.tt-consent__choices label { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: start; padding: 10px 0; border-top: 1px solid var(--tt-line); font-size: 14px; cursor: pointer; }
.tt-consent__choices input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--tt-indigo); }
.tt-consent__choices span { grid-column: 2; font-size: 13px; line-height: 1.45; color: var(--tt-muted); }
.tt-consent__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tt-consent__acts .tt-btn { width: 100%; }
p.tt-consent__more { display: flex; justify-content: space-between; align-items: center; margin: 12px 0 0; font-size: 13px; }
.tt-consent__more button { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--tt-indigo); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.tt-consent__more a { color: var(--tt-muted); }
@media (max-width: 600px) {
	.tt-consent { left: 0; right: 0; bottom: 0; width: auto; padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); border-radius: 16px 16px 0 0; }
}

/* ---------- Commentaires des articles ---------- */
.tt-comments { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--tt-line); }
.tt-comments .wp-block-comments-title { margin: 0 0 1.25rem; font-size: 1.5rem; }
.tt-comments ol.wp-block-comment-template { list-style: none; margin: 0 0 2rem; padding: 0; }
.tt-comments ol.wp-block-comment-template ol { list-style: none; margin: 0; padding-left: clamp(16px, 4vw, 40px); border-left: 2px solid var(--tt-line); }
.tt-comment { padding: 14px 0; }
.tt-comment__meta { gap: 10px; align-items: center; }
.tt-comment__meta .wp-block-avatar img { border-radius: 50%; }
.tt-comment .wp-block-comment-author-name { font-weight: 700; color: var(--tt-ink); }
.tt-comment .wp-block-comment-author-name a { color: inherit; text-decoration: none; }
.tt-comment .wp-block-comment-date { font-size: 13px; color: var(--tt-muted); }
.tt-comment .wp-block-comment-date a { color: inherit; text-decoration: none; }
.tt-comment .wp-block-comment-content { margin: 8px 0 6px; }
.tt-comment .wp-block-comment-content p { margin: 0 0 .6em; }
.tt-comment .wp-block-comment-reply-link a { font-size: 14px; font-weight: 600; color: var(--tt-red); }
.tt-comments .comment-reply-title { font-size: 1.25rem; margin: 0 0 .75rem; }
.tt-comments .comment-form { display: grid; gap: 12px; }
.tt-comments .comment-form p { margin: 0; }
.tt-comments .comment-form label { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 600; }
.tt-comments .comment-form input[type="text"], .tt-comments .comment-form input[type="email"], .tt-comments .comment-form input[type="url"], .tt-comments .comment-form textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--tt-line); border-radius: 8px; font: inherit; font-size: 16px; }
.tt-comments .comment-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.tt-comments .comment-form .comment-form-cookies-consent label { font-weight: 400; }
.tt-comments .form-submit .submit, .tt-comments .wp-block-button__link { border: 0; border-radius: 8px; padding: 12px 20px; background: var(--tt-indigo); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }

/* ---------- Notes des lecteurs (pages destination, lieux, activités) ---------- */
.tt-hero__rate { display: inline-flex; align-items: baseline; gap: 6px; margin-top: 14px; color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; }
.tt-hero__rate span:first-child { color: var(--tt-gold); font-size: 17px; }
.tt-hero__rate span:last-child { color: #E9E7F5; font-weight: 500; }
.tt-hero__rate:hover span:last-child { text-decoration: underline; text-underline-offset: 3px; }
.tt-rating { margin-top: clamp(32px, 5vw, 56px); scroll-margin-top: 90px; }
.tt-rateask { position: fixed; left: 16px; bottom: 16px; z-index: 95; width: min(340px, calc(100% - 32px)); box-sizing: border-box; padding: 18px 20px; border: 1px solid var(--tt-line); border-radius: 16px; background: #fff; box-shadow: 0 24px 60px -20px rgba(30, 27, 54, .55); }
.tt-rateask__t { margin: 0 28px 8px 0; font-weight: 700; color: var(--tt-indigo); }
.tt-rateask__x { position: absolute; top: 8px; right: 10px; padding: 4px; border: 0; background: none; font-size: 22px; line-height: 1; color: var(--tt-muted); cursor: pointer; }
.tt-rateask__stars { display: flex; gap: 2px; }
.tt-rateask__stars button { padding: 2px; border: 0; background: none; font-size: 34px; line-height: 1; color: #D9D6E6; cursor: pointer; }
.tt-rateask__stars button.is-on { color: var(--tt-gold); }
@media (max-width: 900px) { .tt-rateask { bottom: 92px; } } /* au-dessus de la barre mobile */
