/* Affinage 3 de la DA (16/11/2026, #395 à #403) : défauts du contrôle aveugle 2. Chargée après da27-affinage.css.
   Aucune carte, aucun cadre, aucun bord d'accent : aplats, filets neutres de 1 px entre les éléments, propriétés logiques (RTL). */

/* ---------- Accueil (#395) ---------- */
/* « Découvrir le Val-d'Oise » : index de quatre entrées, comme « Que cherchez-vous ? » ; ni tuile, ni pictogramme en carré */
html.da27 .home-pourquoi__liste.da-grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
html.da27 .home-pourquoi__liste > li { min-width: 0; }
html.da27 .home-pourquoi__liste > li + li { border-block-start: 1px solid var(--c-border); }
html.da27 #main-content .home-pourquoi__liste .home-tuile.da-carte { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 16px; row-gap: 2px; align-items: center; height: auto; padding: 16px 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
html.da27 .home-pourquoi__liste .home-tuile .da-ico { grid-row: span 2; width: 32px; height: 32px; margin: 0; background: none; color: var(--c-brand); align-self: center; }
html.da27 .home-pourquoi__liste .home-tuile__nom { margin: 0; text-wrap: pretty; }
html.da27 .home-pourquoi__liste .home-tuile__txt { font-size: .9375rem; line-height: 1.45; }
html.da27 #main-content .home-pourquoi__liste .home-tuile:hover { background: none; }
html.da27 .home-pourquoi__liste .home-tuile:hover .home-tuile__nom { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
@media (min-width: 768px) and (max-width: 1023.98px) {
    html.da27 .home-pourquoi__liste.da-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
    html.da27 .home-pourquoi__liste > li + li { border-block-start: 0; }
    html.da27 .home-pourquoi__liste > li:nth-child(n+3) { border-block-start: 1px solid var(--c-border); }
    html.da27 #main-content .home-pourquoi__liste .home-tuile.da-carte { align-items: start; padding: 20px 0; }
    html.da27 .home-pourquoi__liste .home-tuile .da-ico { align-self: start; }
}
@media (min-width: 1024px) {
    html.da27 .home-pourquoi__liste.da-grille { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-inline: -24px; }
    html.da27 .home-pourquoi__liste > li { padding-inline: 24px; }
    html.da27 .home-pourquoi__liste > li + li { border-block-start: 0; border-inline-start: 1px solid var(--c-border); }
    html.da27 #main-content .home-pourquoi__liste .home-tuile.da-carte { grid-template-columns: minmax(0, 1fr); row-gap: 8px; align-content: start; padding: 0; }
    html.da27 .home-pourquoi__liste .home-tuile .da-ico { grid-row: auto; margin-block-end: 8px; }
}

/* « Le Val-d'Oise en chiffres » : graphiques sans panneau ; chaque graphique tient sa hauteur, aucun vide */
html.da27 .da-mag .da-mag__graphes { align-items: start; }
html.da27 .da-mag .da-mag__graphe { display: block; min-width: 0; }
html.da27 #main-content .da-mag .da-mag__graphe > .ui-chart { display: flex; flex-direction: column; gap: 12px; height: auto; padding: 20px 0 0; background: none; border: 0; border-block-start: 1px solid var(--c-border); border-radius: 0; box-shadow: none; }
html.da27 #main-content .da-mag .da-mag__graphe > .ui-chart > .ui-chart__donnees { margin-block-start: 4px; }
html.da27 #main-content .da-mag .da-mag__graphe > .ui-chart > .ui-source { margin-block-start: 0; }
html.da27 .da-mag .da-jauge .da-jauge__anneau { margin-block: 8px 0; }
@media (min-width: 768px) {   /* deux colonnes en flux : chaque graphique suit le précédent, sans case vide sous le plus court */
    html.da27 .da-mag .da-mag__graphes, html.da27 .da-mag .da-mag__graphes--2 { display: block; columns: 2; column-gap: 48px; }
    html.da27 .da-mag .da-mag__graphes > .da-mag__graphe { break-inside: avoid; margin-block-end: 32px; }
}
@media (min-width: 1200px) { html.da27 .da-mag .da-mag__graphes:has(> :nth-child(3):last-child) { columns: 3; } }
@media (max-width: 767.98px) { html.da27 .da-mag .da-mag__graphes { align-items: flex-start; } }

/* Vidéos : vignette et texte posés sur la bande, sans fond blanc ni ombre ; titres entiers */
html.da27 #main-content .da-mag .da-video, html.da27 #main-content .da-bande--alt.da-mag .da-video { height: auto; background: none; box-shadow: none; }
html.da27 #main-content .da-mag .da-video:hover { transform: none; box-shadow: none; }
html.da27 #main-content .da-mag .da-video:hover .da-video__media img { transform: none; }
html.da27 #main-content .da-mag .da-video__corps { padding: 12px 0 0; gap: 4px; }
html.da27 #main-content .da-mag .da-video__titre { display: block; -webkit-line-clamp: unset; overflow: visible; text-wrap: pretty; }
html.da27 #main-content .da-mag .da-video:hover .da-video__titre { text-decoration: underline; text-underline-offset: 3px; }
html.da27 .da-mag .da-videos-piece { align-items: start; }
@media (min-width: 640px) and (max-width: 1199.98px) {
    html.da27 .da-mag .da-videos-piece--vignette { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
}
@media (min-width: 640px) {
    html.da27 #main-content .da-mag .da-video--grand { align-items: center; column-gap: 32px; }
    html.da27 #main-content .da-mag .da-video--grand .da-video__corps { padding: 0; }
}

/* Actualités de l'accueil : titres entiers, jamais coupés par des points de suspension */
html.da27 .da-actus .da-h3 { display: block; -webkit-line-clamp: unset; overflow: visible; text-wrap: pretty; }

/* « Nouvelles offres cette semaine » : ligne propre, détachée de la bande précédente */
html.da27 .home--da .home-nouvelles { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-block: 0; padding-block: 24px; }
html.da27 .home--da .home-nouvelles a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
@media (min-width: 768px) { html.da27 .home--da .home-nouvelles a { min-height: 0; } }

/* Bloc sombre : pictogramme du téléphone et du courriel à 12 px du texte, comme l'adresse et les horaires */
html.da27 #main-content .da-appel .da-appel__coord > a:is([href^="tel:"], [href^="mailto:"]) { display: flex; align-items: center; gap: 12px; min-height: 44px; padding-block: 0; margin-block: 0; }

/* Ressources : pictogramme à 8 px du nom, cible de 44 px */
html.da27 .home-resources ul { display: flex; flex-wrap: wrap; gap: 0 24px; }
html.da27 .home-resources li a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
html.da27 .home-resources li a svg { flex: none; }

/* ---------- FAQ (#396) ---------- */
/* colonne unique à la largeur de l'écran : la grille ne s'élargit plus sur la largeur propre d'une photo */
html.da27 .da-faq .da-faq__corps, html.da27 .da-faq .da-faq__corps .da-faq__theme { grid-template-columns: minmax(0, 1fr); min-width: 0; }
html.da27 .da-faq .da-faq__corps .vz-piece, html.da27 .da-faq .da-faq__corps .da-videos-piece, html.da27 .da-faq .da-faq__corps .da-faq__q { min-width: 0; max-width: 100%; }
html.da27 .da-faq .da-faq__corps .vz-piece img { max-width: 100%; }

/* ---------- Bandeaux (#396, #399) : crédit photo en ligne sous le texte et les boutons, à toutes les largeurs ---------- */
html.da27 .ui-bandeau__credit { position: relative; inset: auto; display: block; width: fit-content; max-width: 100%; margin-inline-start: auto; }
html.da27 .ui-bandeau:not(.ui-bandeau--uni) .ui-hero__corps { padding-block-end: 12px; }

/* ---------- Fiche offre (#397) ---------- */
/* « En un coup d'œil » : les chiffres remplissent la ligne, aucun chiffre seul sur une demi-largeur */
html.da27 #main-content .fr .fr__liste { display: flex; flex-wrap: wrap; gap: 12px; }
html.da27 #main-content .fr .fr__liste > .fr__item { flex: 1 1 150px; min-width: 0; }
/* « À proximité » : nom en entier ; la distance passe sous le nom sur smartphone, jamais de mot coupé */
html.da27 .fp__titre, html.da27 .fp__titre small { overflow-wrap: normal; word-break: normal; hyphens: manual; }
@media (max-width: 479.98px) {
    html.da27 .fp__item { grid-template-columns: 24px minmax(0, 1fr); column-gap: 12px; row-gap: 4px; align-items: start; padding-inline: 0; }
    html.da27 .fp__picto { grid-row: span 2; margin-block-start: 2px; }
    html.da27 .fp__val { grid-column: 2; max-width: none; white-space: normal; text-align: start; }
}
/* colonne latérale : pictogramme centré sur son lien quand le lien prend 44 px de haut (tablette) */
html.da27 .ui-contact__line:has(> a) { align-items: center; }
html.da27 .ui-contact__line:has(> a) > .ui-icon { margin-block-start: 0; flex: none; }

/* ---------- Offres (#398) : liste d'offres en lignes, filets de 1 px ; ni carte, ni fond blanc ---------- */
html.da27 #main-content .ui-resultats .ui-offer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
html.da27 #main-content .ui-resultats .ui-offer-grid > .ui-offer-card { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; padding-block: 20px; background: none; border: 0; border-radius: 0; box-shadow: none; }
html.da27 #main-content .ui-resultats .ui-offer-grid > .ui-offer-card + .ui-offer-card { border-block-start: 1px solid var(--c-border); }
html.da27 #main-content .ui-resultats .ui-offer-grid > .ui-offer-card:first-child { padding-block-start: 4px; }
html.da27 #main-content .ui-resultats .ui-offer-card:hover { transform: none; box-shadow: none; }
html.da27 #main-content .ui-resultats .ui-offer-card__body { padding: 14px 0 0; gap: 6px; }
html.da27 #main-content .ui-resultats .ui-offer-card__title { min-height: 0; margin: 0; }
html.da27 #main-content .ui-resultats .ui-offer-card__place { margin: 0; }
html.da27 #main-content .ui-resultats .ui-offer-card__foot { margin-block-start: 6px; }
html.da27 #main-content .ui-resultats .cmp-actions { padding: 6px 0 0; background: none; }
html.da27 #main-content .ui-resultats .ui-offer-card:hover .ui-offer-card__title a { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 640px) {
    html.da27 #main-content .ui-resultats .ui-offer-grid > .ui-offer-card { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); grid-template-rows: auto 1fr; column-gap: 28px; }
    html.da27 #main-content .ui-resultats .ui-offer-card__media { grid-row: 1 / span 2; align-self: start; }
    html.da27 #main-content .ui-resultats .ui-offer-card__body { grid-column: 2; padding-block-start: 0; }
    html.da27 #main-content .ui-resultats .cmp-actions { grid-column: 2; align-self: end; }
    html.da27 #main-content .ui-resultats .ui-offer-card__foot { justify-content: flex-start; gap: 24px; }
}
/* flèche du diaporama : carré sombre, ni cercle ni pastille blanche */
html.da27 .ofr-slides__fl { border-radius: 2px; background: rgba(11, 18, 25, .78); color: #fff; box-shadow: none; border: 0; }
html.da27 .ofr-slides__fl:hover { background: var(--c-nuit, #111a23); }

/* ---------- Commercialisateurs (#398) : liste de partenaires en lignes ; photos réelles seulement, logo lisible, textes entiers ---------- */
html.da27 #main-content .cm27-grille { grid-template-columns: minmax(0, 1fr); gap: 0; align-items: start; }
html.da27 #main-content .cm27-carte { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; padding-block: 24px; background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
html.da27 #main-content .cm27-carte + .cm27-carte { border-block-start: 1px solid var(--c-border); }
html.da27 #main-content .cm27-carte:hover, html.da27 #main-content .cm27-carte:focus-within { transform: none; box-shadow: none; }
html.da27 .cm27-media { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); height: 132px; background: none; }
html.da27 .cm27-media:not(:has(img)) { display: none; }
html.da27 .cm27-media:has(img) > .cm27-vue--vide { display: none; }
html.da27 .cm27-logo { position: static; justify-self: start; width: auto; min-width: 56px; max-width: 168px; height: 56px; margin-block-start: 16px; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none; place-items: center start; }
html.da27 .cm27-logo img { max-width: 168px; max-height: 56px; }
html.da27 .cm27-logo--sombre { padding-inline: 10px; background: var(--c-nuit); }
html.da27 .cm27-logo--mono { width: 56px; place-items: center; background: var(--c-brand); }
html.da27 .cm27-corps { padding: 12px 0 0; gap: 10px; }
html.da27 .cm27-nom { display: block; min-height: 0; -webkit-line-clamp: unset; overflow: visible; overflow-wrap: normal; font-size: 1.1875rem; }
html.da27 .cm27-offres { min-height: 0; gap: 0; flex: none; }
html.da27 .cm27-offres li { background: none; }
html.da27 .cm27-offres li + li { border-block-start: 1px solid var(--c-border); }
html.da27 .cm27-offres a { padding: 8px 0; }
html.da27 .cm27-offres__t, html.da27 .cm27-offres__m { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: normal; }
html.da27 .cm27-offres a:hover .cm27-offres__t { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 768px) {
    html.da27 #main-content .cm27-carte { grid-template-columns: 240px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 32px; }
    html.da27 .cm27-media { grid-column: 1; grid-row: 1; height: 160px; }
    html.da27 .cm27-logo { grid-column: 1; grid-row: 2; align-self: start; }
    html.da27 .cm27-media:not(:has(img)) + .cm27-logo { grid-row: 1; margin-block-start: 0; }
    html.da27 .cm27-corps { grid-column: 2; grid-row: 1 / span 2; padding: 0; }
}
@media (min-width: 1200px) {
    html.da27 #main-content .cm27-carte { grid-template-columns: 300px minmax(0, 1fr); column-gap: 40px; }
    html.da27 .cm27-media { height: 180px; }
    html.da27 .cm27-offres { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
    html.da27 .cm27-offres li + li { border-block-start: 0; }
    html.da27 .cm27-offres li:nth-child(n+3) { border-block-start: 1px solid var(--c-border); }
}

/* ---------- Coupures et troncatures (#399) ---------- */
html.da27 .da-insec, html.da27 #main-content .da-insec { white-space: nowrap; }
/* sommaire flottant : intitulé de la section en entier, sur deux lignes au besoin */
html.da27 .sf-bouton__courant { white-space: normal; overflow: visible; text-overflow: clip; text-wrap: balance; line-height: 1.25; }
/* barre mobile des offres : recherche sur toute la ligne, « Filtres » et « Carte » dessous */
@media (max-width: 1023.98px) {
    html.da27 .ui-catalogue__bar { flex-wrap: wrap; row-gap: 8px; }
    html.da27 .ui-catalogue__bar > .ui-search { flex: 1 1 100%; min-width: 0; }
    html.da27 .ui-catalogue__bar > .ui-btn { flex: 1 1 0; justify-content: center; }
}
/* recherche des commercialisateurs : le bouton passe sous le champ sur smartphone */
@media (max-width: 479.98px) {
    html.da27 #main-content :has(> .ui-search > #filtre-commercializer-q) { flex-wrap: wrap; row-gap: 8px; }
    html.da27 #main-content :has(> #filtre-commercializer-q).ui-search { flex: 1 1 100%; min-width: 0; }
    html.da27 #main-content :has(> .ui-search > #filtre-commercializer-q) > :is(button, .ui-btn, .da-btn) { flex: 1 1 100%; justify-content: center; }
}
/* filtres d'Actualités : libellés sur une colonne de même largeur, menus alignés */
html.da27 #main-content .acr-filtres .acr-filtre { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); align-items: center; column-gap: 12px; }
html.da27 #main-content .acr-filtres .acr-filtre > select { width: 100%; min-width: 0; }
@media (max-width: 479.98px) { html.da27 #main-content .acr-filtres .acr-filtre { grid-template-columns: minmax(0, 1fr); row-gap: 4px; } }
/* filtres des commercialisateurs : une colonne sur smartphone, libellés et menus alignés en bas de ligne ailleurs */
html.da27 .cm27-barre__f { align-items: end; }
html.da27 .cm27-champ { display: grid; grid-template-rows: auto auto; align-content: end; row-gap: 4px; min-width: 0; }
html.da27 .cm27-champ > select { height: 44px; }
@media (max-width: 479.98px) { html.da27 .cm27-barre__f { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Zones tactiles (#401) : 44 px sur tout écran tactile, tablette paysage comprise ---------- */
@media (pointer: coarse), (max-width: 1023.98px) {
    html.da27 .ui-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 10px; margin-block: -10px; }
    html.da27 #main-content :is(.da-btn--lien, .ui-btn--link, .ui-suggestion, .sf-haut a, .sf-a, .home-credits > summary, .ui-pagination a, .sp-lien, .sp-essentiel__plus) { display: inline-flex; align-items: center; min-height: 44px; }
    html.da27 #main-content label:has(> input[type="checkbox"]), html.da27 #main-content label:has(> input[type="radio"]) { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
    html.da27 #main-content summary, html.da27 #main-content :is(.ui-btn, .da-btn, .nb-btn, .da-pastille, .ui-select, select, .ui-input) { min-height: 44px; }
    html.da27 #main-content :is(.ui-btn, .da-btn, .nb-btn, .da-pastille) { display: inline-flex; align-items: center; }
    html.da27 #main-content :is(.nb-partage__liste a, .nb-btn, a[data-reseau], .ui-btn--icon) { min-width: 44px; justify-content: center; }
    html.da27 #main-content input:is([type="text"], [type="email"], [type="tel"], [type="search"], [type="number"], [type="url"], [type="password"], :not([type])) { min-height: 44px; }
    html.da27 :is(.fx-nav, .fx-pause, .fx-pt) { width: 44px; height: 44px; }
    html.da27 .fx-bas { height: 44px; }
    html.da27 .ofr-slides__fl { width: 44px; height: 44px; }
    html.da27 .ui-footer :is(select, .ui-footer__ok, button) { min-height: 44px; }
    html.da27 .ui-footer a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
    html.da27 .ui-footer a:has(> img) { min-width: 0; }
    html.da27 .ui-contactpage__link { display: inline-flex; align-items: center; min-height: 44px; }
    /* cases à cocher et boutons radio : zone de 44 px, case dessinée de 22 px au centre */
    html.da27 #main-content :is(.cmp-case, label, .ui-fiche) > input:is([type="checkbox"], [type="radio"]),
    html.da27 #main-content form input:is([type="checkbox"], [type="radio"]) {
        appearance: none; -webkit-appearance: none; flex: none; width: 44px; height: 44px; margin: 0 -11px; border: 0; border-radius: 0; cursor: pointer;
        background: no-repeat center / 22px 22px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Crect x='1' y='1' width='20' height='20' rx='2' fill='%23fff' stroke='%236E7A87' stroke-width='2'/%3E%3C/svg%3E"); }
    html.da27 #main-content :is(.cmp-case, label, .ui-fiche) > input[type="checkbox"]:checked,
    html.da27 #main-content form input[type="checkbox"]:checked {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Crect x='1' y='1' width='20' height='20' rx='2' fill='%23111A23' stroke='%23111A23' stroke-width='2'/%3E%3Cpath d='M6 11.5l3.2 3.2L16 8' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
    html.da27 #main-content :is(.cmp-case, label, .ui-fiche) > input[type="radio"],
    html.da27 #main-content form input[type="radio"] {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='10' fill='%23fff' stroke='%236E7A87' stroke-width='2'/%3E%3C/svg%3E"); }
    html.da27 #main-content :is(.cmp-case, label, .ui-fiche) > input[type="radio"]:checked,
    html.da27 #main-content form input[type="radio"]:checked {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='10' fill='%23fff' stroke='%23111A23' stroke-width='2'/%3E%3Ccircle cx='11' cy='11' r='5.5' fill='%23111A23'/%3E%3C/svg%3E"); }
    html.da27 #main-content form input:is([type="checkbox"], [type="radio"]):focus-visible { outline: 3px solid var(--ui-focus, #ffbf47); outline-offset: -8px; }
}
@media (pointer: coarse), (max-width: 1023.98px) {
    /* titres-liens des cartes : 44 px de zone sans décaler le texte */
    html.da27 #main-content :is(.ui-offer-card__link, .act-carte__titre a, .act-ent__nom a, .cm27-nom a, .ui-card__lien, :is(h2, h3, h4) > a:not(.ui-btn):not(.da-btn):not(.da-pastille):not(.da-carte):not(.da-carte-corps), th > a, :is(ul, ol):not([class]) > li > a:not([class]), .a11y-plan a, .pc-liees__l a, figcaption a, .ui-figure__credit a) { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; margin-block: -10px; }
    html.da27 #main-content :is(.act-personnes a, .da-faq__rail-liste a, .nb-partage__liste a) { display: flex; align-items: center; min-height: 44px; }
    html.da27 .ui-breadcrumb a { min-width: 44px; justify-content: center; }
    html.da27 .leaflet-control-attribution a { display: inline-block; padding: 14px 12px; margin: -14px -12px; }
    html.da27 img.leaflet-marker-icon[src*="marker-icon"] { box-sizing: content-box; padding: 3px 10px 0; margin-left: -22px !important; margin-top: -44px !important; }
    html.da27 #main-content :is(.act-carte__liens a, .act-carte__source a) { min-height: 44px; align-items: center; }
    html.da27 #main-content .ui-renvois a { min-height: 44px; min-width: 44px; display: flex; align-items: center; }
}

/* Colonne figée des tableaux défilants : filet de séparation dessiné en fond, sans ombre (#399) */
@media (max-width: 767.98px) {
    html.da27 .ui-table--defile :is(tbody, thead) th:first-child { box-shadow: none; background-image: linear-gradient(to left, var(--c-border) 1px, transparent 1px); }
    html.da27[dir="rtl"] .ui-table--defile :is(tbody, thead) th:first-child { box-shadow: none; background-image: linear-gradient(to right, var(--c-border) 1px, transparent 1px); }
}

/* Textes entiers dans les cartes d'offres et les listes (#399) : retour à la ligne au lieu de points de suspension */
html.da27 .ui-offer-card__place > span { white-space: normal; overflow: visible; text-overflow: clip; }
html.da27 .ui-offer-card__mention { white-space: normal; overflow: visible; text-overflow: clip; text-wrap: balance; }
html.da27 .cm27-barres a { white-space: normal; overflow: visible; text-overflow: clip; text-wrap: balance; }

/* Collectivités des commercialisateurs : index en lignes séparées par un filet, plus de grille de tuiles (#396) */
html.da27 #main-content .cm27-collec { gap: 0 48px; }
html.da27 #main-content .cm27-collec > li { border-block-start: 1px solid var(--c-border); }
html.da27 #main-content .cm27-collec > li > a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 2px 16px; max-width: none; min-height: 44px; margin: 0; padding: 12px 0; background: none; border: 0; border-radius: 0; box-shadow: none; transform: none; }
html.da27 #main-content .cm27-collec > li > a:hover { background: none; box-shadow: none; transform: none; }
html.da27 #main-content .cm27-collec > li > a:hover .cm27-collec__n { text-decoration: underline; text-underline-offset: 3px; }
html.da27 #main-content .cm27-collec__n { grid-column: 1; overflow-wrap: normal; }
html.da27 #main-content .cm27-collec__t { grid-column: 1; }
html.da27 #main-content .cm27-collec > li > a > strong { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (min-width: 640px) { html.da27 #main-content .cm27-collec { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { html.da27 #main-content .cm27-collec { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Vidéo sans vignette haute définition (#402) : la vignette ne dépasse pas ses 640 px d'origine, jamais agrandie floue */
html.da27 .da-video--sd .da-video__media { max-inline-size: 640px; }
@media (pointer: coarse), (max-width: 1023.98px) { html.da27 #main-content .da-video__yt { display: inline-flex; align-items: center; min-height: 44px; } }

/* Photo d'offre plus petite que son cadre (#402) : montrée à sa taille, centrée sur l'aplat, jamais agrandie floue */
html.da27 .ui-offer-card__media img.is-petite { inset: 0; width: auto; height: auto; max-width: 100%; max-height: 100%; margin: auto; object-fit: contain; background: none; }
