/* #231, #242, #235 (maquette docs/maquettes/247) : horaire des marées, fiche affiche en colonne, gabarit unique. Aucun cadre, filet, ombre ni coin arrondi. */
html:not(#btp-tide) body .btp-tide { --tide-c: var(--btp-text, #8EA4B8); padding-bottom: 64px; }
html:not(#btp-tide) body .btp-tide-row { position: relative; display: grid; grid-template-columns: 150px 74px minmax(0, 1fr) auto; column-gap: 26px; align-items: baseline; padding: 13px 0; margin: 0; background: none; }
html:not(#btp-tide) body .btp-tide-row[hidden], html:not(#btp-tide) body .btp-tide-mo[hidden] { display: none !important; }
html:not(#btp-tide) body .btp-tide-dt { display: inline-flex; align-items: baseline; font-family: Anton, Impact, sans-serif; font-weight: 400; line-height: 1; white-space: nowrap; font-size: 54px; color: var(--btp-white); }
html:not(#btp-tide) body .btp-tide-mon { font-size: 0.38em; color: var(--tide-c); margin-left: 0.18em; letter-spacing: 0.04em; }
html:not(#btp-tide) body .btp-tide-dowt { font-size: 0.3em; color: var(--btp-red-light); margin-right: 0.3em; }
html:not(#btp-tide) body .btp-tide-hr { font: 400 28px/1 Anton, Impact, sans-serif; color: var(--btp-red-light); text-transform: uppercase; }
html:not(#btp-tide) body .btp-tide-tx { min-width: 0; }
html:not(#btp-tide) body .btp-tide .btp-tide-ti, html:not(#btp-tide) body .btp-tide-home .btp-tide-ti { display: block; margin: 0 !important; padding: 0 !important; font: 400 28px/1.06 Anton, Impact, sans-serif !important; letter-spacing: 0 !important; text-transform: uppercase !important; color: var(--btp-white) !important; }
html:not(#btp-tide) body .btp-tide-ti a { color: inherit !important; text-decoration: none !important; }
html:not(#btp-tide) body .btp-tide-ti a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
html:not(#btp-tide) body .btp-tide-row:is(:hover, :focus-within) .btp-tide-ti { color: var(--btp-red-light) !important; }
html:not(#btp-tide) body .btp-tide-st { display: block; font: 400 14px/1.4 Outfit, sans-serif; color: var(--tide-c); margin-top: 7px; }
html:not(#btp-tide) body .btp-tide-hm { display: none; }
html:not(#btp-tide) body .btp-tide-ac { position: relative; z-index: 1; appearance: none; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; font: 400 16px/1 Anton, Impact, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--btp-red-light); white-space: nowrap; text-decoration: none; }
html:not(#btp-tide) body .btp-tide-ac:is(:hover, :focus-visible) { color: var(--btp-white); }
html:not(#btp-tide) body .btp-tide-row.is-soldout .btp-tide-ac { opacity: 0.75; }
html:not(#btp-tide) body .btp-tide-row.is-past { padding: 9px 0; }
html:not(#btp-tide) body .btp-tide-row.is-past .btp-tide-dt { font-size: 44px; }
html:not(#btp-tide) body .btp-tide .btp-tide-row.is-past .btp-tide-ti { font-size: 24px !important; }
html:not(#btp-tide) body .btp-tide .btp-tide-mo { font: 400 30px/1 Anton, Impact, sans-serif !important; letter-spacing: 0 !important; text-transform: uppercase !important; color: var(--btp-red-light) !important; margin: 0 0 14px !important; padding: 0 !important; }
html:not(#btp-tide) body .btp-tide .btp-tide-mo.is-gap { margin-top: 46px !important; }
html:not(#btp-tide) body .btp-tide-more { display: inline-block; margin: 34px 34px 0 0; font: 400 18px/1 Anton, Impact, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--btp-red-light); text-decoration: none; }
html:not(#btp-tide) body .btp-tide-more:is(:hover, :focus-visible) { color: var(--btp-white); }
html:not(#btp-tide) body .btp-tide-stick { margin-top: 28px; }
/* #257 : l'affiche garde sa forme réelle, sans fond ni recadrage. */
html:not(#btp-tide) body .btp-tide-stick img { display: block; width: 100%; height: auto; max-width: 100%; aspect-ratio: auto; object-fit: fill; background: none; }
html:not(#btp-tide) body .btp-tide-top, html:not(#btp-tide) body .btp-tide-faff { display: none; }
/* Accueil : titre et affiche à gauche, trois lignes à droite. */
html:not(#btp-tide) body .btp-tide-home { display: grid; grid-template-columns: min(21vw, 300px) minmax(0, 1fr); column-gap: clamp(40px, 7.2vw, 103px); padding: 44px 0 64px; }
html:not(#btp-tide) body .btp-tide-home .btp-tide-homeh { font: 400 40px/1.04 Anton, Impact, sans-serif !important; letter-spacing: 0 !important; text-transform: uppercase !important; margin: 0 !important; color: var(--btp-white) !important; }
html:not(#btp-tide) body .btp-tide-ln { display: inline-flex; align-items: baseline; white-space: nowrap; }
html:not(#btp-tide) body .btp-tide-home .btp-tide-stick { position: sticky; top: 24px; }
/* Fiche soirée : affiche dans la colonne de gauche, date, titre et billets à droite. */
html:not(#btp-tide) body .btp-tide-f .btp-tide-dt { font-size: 56px; color: var(--btp-red-light); }
html:not(#btp-tide) body .btp-tide-f .btp-tide-yr { margin-left: 0.3em; }
html:not(#btp-tide) body .btp-tide-fh { font: 400 28px/1 Anton, Impact, sans-serif; color: var(--btp-white); margin-left: 0.5em; text-transform: uppercase; }
html:not(#btp-tide) body .btp-tide .btp-tide-ftitle { font: 400 64px/1 Anton, Impact, sans-serif !important; letter-spacing: 0 !important; text-transform: uppercase !important; margin: 16px 0 0 !important; padding: 0 !important; color: var(--btp-white) !important; text-wrap: balance; }
html:not(#btp-tide) body .btp-tide-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin-top: 30px; }
html:not(#btp-tide) body .btp-tide-cta { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 15px 20px; background: var(--btp-red-light); color: var(--btp-dark) !important; font: 400 19px/1 Anton, Impact, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }
html:not(#btp-tide) body .btp-tide-cta:is(:hover, :focus-visible) { background: var(--btp-white); }
html:not(#btp-tide) body .btp-tide-lk { display: inline-block; font: 400 17px/1 Anton, Impact, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--btp-red-light) !important; text-decoration: none !important; }
html:not(#btp-tide) body .btp-tide-lk:is(:hover, :focus-visible) { color: var(--btp-white) !important; }
html:not(#btp-tide) body .btp-tide-passe { display: inline-flex; align-items: center; gap: 10px; font: 400 19px/1 Anton, Impact, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--btp-red-light); }
html:not(#btp-tide) body .btp-tide-passe::before { content: ""; width: 10px; height: 10px; background: var(--btp-red); clip-path: circle(50%); }
html:not(#btp-tide) body .btp-tide-infos { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 26px; margin: 30px 0 0; align-items: baseline; }
html:not(#btp-tide) body .btp-tide-infos dt { font: 400 15px/1.2 Anton, Impact, sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tide-c); }
html:not(#btp-tide) body .btp-tide-infos dd { margin: 0; font-size: 17px; color: var(--btp-white); }
html:not(#btp-tide) body .btp-tide-prose { max-width: 62ch; margin-top: 34px; font-size: 17px; line-height: 1.6; color: var(--btp-white); }
html:not(#btp-tide) body .btp-tide-prose p { margin: 0 0 14px; font-size: 17px; line-height: 1.6; color: var(--btp-white); }
html:not(#btp-tide) body .btp-tide-prose .btp-tide-lk { margin: 8px 26px 0 0; }
html:not(#btp-tide) body .btp-tide-prose img { max-width: 100%; height: auto; }
/* Pages de texte : sommaire à gauche, titres beiges. */
html:not(#btp-tide) body .btp-tide-som { list-style: none; margin: 0; padding: 0; font: 400 14px/1.35 Outfit, sans-serif; color: var(--tide-c); }
html:not(#btp-tide) body .btp-tide-som li { padding: 6px 0; margin: 0; }
html:not(#btp-tide) body .btp-tide-som li.on, html:not(#btp-tide) body .btp-tide-som a:is(:hover, :focus-visible) { color: var(--btp-red-light); }
html:not(#btp-tide) body .btp-tide-som a { color: inherit; text-decoration: none; }
html:not(#btp-tide) body .btp-tide-lg { max-width: 76ch; }
html:not(#btp-tide) body .btp-tide-lg h2 { font: 400 26px/1.1 Anton, Impact, sans-serif !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--btp-red-light) !important; margin: 30px 0 8px !important; padding: 0 !important; scroll-margin-top: 140px; }
html:not(#btp-tide) body .btp-tide-lg > h2:first-child { margin-top: 0 !important; }
html:not(#btp-tide) body .btp-tide-lg :is(p, li) { margin: 0 0 10px; font-size: 17px; line-height: 1.6; color: var(--tide-c); }
html:not(#btp-tide) body .btp-tide-lg a { color: var(--btp-red-light); }
html:not(#btp-tide) body .btp-tide-lg :is(strong, b) { color: var(--btp-white); }
/* Ancien Batofar : une année, une phrase. */
html:not(#btp-tide) body .btp-tide-yrs { display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 40px; row-gap: 26px; align-items: baseline; margin: 0; }
html:not(#btp-tide) body .btp-tide-yrs .btp-tide-y { font: 400 44px/1 Anton, Impact, sans-serif; color: var(--btp-red-light); }
html:not(#btp-tide) body .btp-tide-yrs p { margin: 0; font-size: 18px; line-height: 1.55; max-width: 62ch; color: var(--btp-white); }
/* 404 */
html:not(#btp-tide) body .btp-tide .btp-tide-e404 { font: 400 64px/1.02 Anton, Impact, sans-serif !important; letter-spacing: 0 !important; text-transform: uppercase !important; margin: 0 !important; color: var(--btp-white) !important; text-wrap: balance; }
html:not(#btp-tide) body .btp-tide-lead { font-size: 18px; color: var(--tide-c); margin: 16px 0 0; max-width: 60ch; }
html:not(#btp-tide) body .btp-tide-r404 { display: grid; gap: 6px; justify-items: start; margin-top: 34px; }
html:not(#btp-tide) body .btp-tide-r404 a { display: inline-flex; align-items: baseline; font: 400 58px/1.1 Anton, Impact, sans-serif; color: var(--btp-white); white-space: nowrap; text-decoration: none; text-transform: uppercase; }
html:not(#btp-tide) body .btp-tide-r404 a .btp-nav-prefix-wrap { color: var(--btp-red-light); }
html:not(#btp-tide) body .btp-tide-r404 a:is(:hover, :focus-visible) { color: var(--btp-red-light); }
html:not(#btp-tide) body .btp-tide-r404 .btp-tide-arr { margin-left: 0.3em; }
@media (prefers-reduced-motion: no-preference) { html:not(#btp-tide) body :is(.btp-tide-ti, .btp-tide-r404 a, .btp-tide-ac, .btp-tide-more) { transition: color 0.2s ease; } }
/* Téléphone et tablette (< 1024 px) : la colonne de gauche passe au-dessus ; l'affiche de la première soirée ouvre la liste. */
@media (max-width: 1023px) {
    html:not(#btp-tide) body .btp-tide-top { display: block; width: calc(100% + 32px); max-width: none; margin: 0 -16px 22px; aspect-ratio: 16 / 9; object-fit: cover; }
    html:not(#btp-tide) body .btp-tide-faff { display: block; width: calc(100% + 32px); max-width: none; height: auto; margin: 0 -16px 22px; }
    html:not(#btp-tide) body .btp-tide-row { grid-template-columns: 84px minmax(0, 1fr); column-gap: 14px; padding: 12px 0; }
    html:not(#btp-tide) body .btp-tide-dt { font-size: 40px; }
    html:not(#btp-tide) body .btp-tide-row.is-past .btp-tide-dt { font-size: 34px; }
    html:not(#btp-tide) body .btp-tide .btp-tide-ti, html:not(#btp-tide) body .btp-tide-home .btp-tide-ti { font-size: 22px !important; }
    html:not(#btp-tide) body .btp-tide .btp-tide-row.is-past .btp-tide-ti { font-size: 19px !important; }
    html:not(#btp-tide) body .btp-tide-hr { display: none; }
    html:not(#btp-tide) body .btp-tide-hm { display: inline; }
    html:not(#btp-tide) body .btp-tide-ac { grid-column: 2; justify-self: start; margin-top: 10px; font-size: 15px; }
    html:not(#btp-tide) body .btp-tide .btp-tide-mo { font-size: 24px !important; }
    html:not(#btp-tide) body .btp-tide-home { grid-template-columns: minmax(0, 1fr); padding: 28px 0 44px; }
    html:not(#btp-tide) body .btp-tide-home .btp-tide-homeh { font-size: 34px !important; margin-bottom: 20px !important; }
    html:not(#btp-tide) body .btp-tide-home .btp-tide-stick { display: none; }
    html:not(#btp-tide) body .btp-tide-f .btp-tide-dt { font-size: 40px; }
    html:not(#btp-tide) body .btp-tide-fh { font-size: 22px; }
    html:not(#btp-tide) body .btp-tide .btp-tide-ftitle { font-size: 40px !important; }
    html:not(#btp-tide) body .btp-tide-yrs { grid-template-columns: 76px minmax(0, 1fr); column-gap: 14px; }
    html:not(#btp-tide) body .btp-tide-yrs .btp-tide-y { font-size: 26px; }
    html:not(#btp-tide) body .btp-tide-yrs p { font-size: 16px; }
    html:not(#btp-tide) body .btp-tide .btp-tide-e404 { font-size: 38px !important; }
    html:not(#btp-tide) body .btp-tide-r404 a { font-size: 40px; }
}
html:not(#btp-tide) body .btp-tide-intro { margin: 0 0 28px; }
/* La colonne de gauche garde la largeur du titre : l'affiche suit sans l'élargir. */
html:not(#btp-tide) body .btp-side-col .btp-tide-stick { contain: inline-size; width: 100%; }
/* Pages sans bandeau : le gabarit commence sous le menu du haut. */
html:not(#btp-tide) body section.btp-rub { padding-top: 96px !important; }
@media (max-width: 1023px) { html:not(#btp-tide) body section.btp-rub { padding-top: 56px !important; } }
