/*
Theme Name: Trooz Info Bleu
Theme URI: https://trooz.info
Author: Olivier Wilhelmus
Description: Thème clair pour le portail local indépendant Trooz.info
Version: 1.1.44
Text Domain: trooz-info
*/

/* === GLOBAL === */
body {
background: #eaf5fc;
color: #222222;
font-family: "Poppins", sans-serif;
margin: 0;
}

a {
color: #087cc8;
text-decoration: none;
transition: 0.3s;
}
a:hover { color: #07365b; }

h1,h2,h3,h4,h5,h6 {
color: #07365b;
margin: 0 0 12px;
font-weight: 600;
}

h1 { font-size: 24px; }
h2 { font-size: 20px; }
h3 { font-size: 18px; }
h4 { font-size: 16px; }
h5 { font-size: 14px; }
h6 { font-size: 13px; }

.container {
width: 92%;
max-width: 1200px;
margin: 0 auto;
box-sizing: border-box;
}

figure { margin: 0; }

/* === HEADER === */
header.site-header {
background: #ffffff;
padding: 12px 20px;
border-bottom: 1px solid #1682c8;
display: flex;
justify-content: space-between;
align-items: center;
position: relative;
z-index: 1000;
}

.site-branding {
display: flex;
align-items: center;
gap: 12px;
}

.site-logo {
width: 38px;
height: auto;
display: block;
}

.site-title-text {
font-size: 30px;
font-weight: 500;
color: #07365b;
line-height: 1;
}
.site-title-text:hover { color: #087cc8; }

/* === NAVIGATION === */
.main-nav {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
max-width: 70%;
}
.main-nav ul {
list-style: none;
display: flex;
gap: 16px;
margin: 0;
padding: 0;
}
.main-nav a { color: #087cc8; }
.main-nav a:hover { color: #07365b; }

.menu-toggle {
display: none;
font-size: 26px;
cursor: pointer;
color: #07365b;
background: none;
border: none;
}

/* === TITRE PRINCIPAL (home/cat/tag) === */
.container > h1 {
margin: 20px 0 15px;
font-size: 24px;
text-align: center;
}
.container > h1 small {
font-size: 0.5em;
color: #777;
margin-left: 8px;
}

/* === ARTICLES GRID === */
.articles-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
margin: 15px 0;
}
.articles-grid article {
background: #ffffff;
border-radius: 8px;
padding: 12px;
display: flex;
flex-direction: column;
transition: transform 0.2s, box-shadow 0.2s;
}
.articles-grid article:hover {
transform: translateY(-4px);
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.articles-grid article h2 {
margin-bottom: 6px;
}
.articles-grid article p {
margin-top: 0;
}

/* === VIGNETTES (16/9) === */
.thumb,
.single-thumb {
position: relative;
width: 100%;
padding-top: 56.25%;
overflow: hidden;
border-radius: 6px;
margin-bottom: 12px;
background: #eeeeee;
}
.thumb img,
.single-thumb img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
display: block;
}

/* === HERO === */
.hero-article {
position: relative;
margin: 15px 0 30px;
border-radius: 10px;
overflow: hidden;
}
.hero-thumb img {
width: 100%;
aspect-ratio: 16/9;
object-fit: cover;
display: block;
filter: brightness(70%);
transition: transform 0.4s ease;
}
.hero-article:hover .hero-thumb img { transform: scale(1.05); }
.hero-content {
position: absolute;
bottom: 15px;
left: 15px;
right: 15px;
color: #ffffff;
text-shadow: 0 2px 6px rgba(0,0,0,0.8);
}
.hero-content h1,
.hero-content h2 {
font-size: 22px;
margin: 0 0 6px;
color: #1682c8;
}
.hero-content p { font-size: 15px; margin: 0; }
/* === PAGINATION === */
.articles-pagination {
margin: 15px 0;
text-align: center;
}
.articles-pagination .nav-links {
display: flex;
justify-content: center;
align-items: center;
gap: 6px;
flex-wrap: nowrap;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
.articles-pagination .page-numbers {
flex: 0 0 auto;
padding: 6px 10px;
background: #ffffff;
border-radius: 4px;
color: #07365b;
font-size: 14px;
white-space: nowrap;
}
.articles-pagination .page-numbers:hover {
background: #1682c8;
color: #ffffff;
}
.articles-pagination .page-numbers.current {
background: #07365b;
color: #ffffff;
font-weight: bold;
}

/* === FOOTER === */
.site-footer {
background: #ffffff;
color: #777777;
text-align: center;
padding: 18px;
margin-top: 30px;
font-size: 14px;
}

.footer-menu {
list-style: none;
display: flex;
justify-content: center;
gap: 20px;
margin: 10px 0 0;
padding: 0;
}
.footer-menu li { display: inline; }
.footer-menu a {
color: #087cc8;
text-decoration: none;
font-size: 14px;
}
.footer-menu a:hover { color: #07365b; }

/* === BOUTON REMONTER EN HAUT === */
.back-to-top {
position: fixed;
bottom: 25px;
right: 25px;
width: 45px;
height: 45px;
background: #07365b;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
text-decoration: none;
box-shadow: 0 4px 10px rgba(0,0,0,0.4);
transition: opacity 0.3s, transform 0.3s;
opacity: 0;
pointer-events: none;
z-index: 999;
}
.back-to-top::before {
content: "";
display: block;
width: 12px;
height: 12px;
border-left: 3px solid #ffffff;
border-bottom: 3px solid #ffffff;
transform: rotate(135deg);
}
.back-to-top.show {
opacity: 1;
pointer-events: auto;
}
.back-to-top:hover {
background: #087cc8;
transform: translateY(-3px);
}

/* === MENU MOBILE ET TABLETTE PORTRAIT === */
@media (max-width: 1024px) {
.menu-toggle { display: block; }
.main-nav {
display: none;
position: absolute;
top: 100%;
left: 0;
width: 100%;
background: #ffffff;
border-top: 1px solid #e5e5e5;
z-index: 999;
flex-direction: column;
}
.main-nav.active { display: flex; }
.main-nav a {
display: block;
padding: 12px 16px;
color: #087cc8;
}
.main-nav a:hover {
background: #eaf5fc;
color: #07365b;
}
}

/* === MENU DESKTOP === */
@media (min-width: 1025px) {
.menu-toggle { display: none; }
.main-nav { display: flex; background: transparent; border: 0; position: static; }
.main-nav ul { flex-direction: row; gap: 20px; }
}

/* === SINGLE AVEC SIDEBAR === */
.single-layout {
display: flex;
flex-wrap: wrap;
gap: 25px;
align-items: flex-start;
margin-top: 20px;
}

.single-article {
flex: 1 1 700px;
background: #ffffff;
padding: 18px;
border-radius: 8px;
border: 1px solid #e5e5e5;
box-sizing: border-box;
}

.single-header h1 {
color: #07365b;
font-size: 24px;
margin-bottom: 10px;
}

.single-header .meta {
font-size: 13px;
color: #777777;
margin-bottom: 15px;
}

.single-content p {
line-height: 1.7;
margin-bottom: 0.8em;
}

.single-footer {
margin-top: 30px;
border-top: 1px solid #e5e5e5;
padding-top: 15px;
}

.post-nav {
display: flex;
justify-content: space-between;
}

/* === SIDEBAR === */
.sidebar {
flex: 0 0 300px;
background: #ffffff;
padding: 15px;
border-radius: 8px;
border: 1px solid #e5e5e5;
color: #777777;
position: sticky;
top: 25px;
height: fit-content;
box-sizing: border-box;
}

.sidebar h3 {
color: #07365b;
margin-bottom: 10px;
font-size: 16px;
border-bottom: 1px solid #e5e5e5;
padding-bottom: 6px;
}

.widget { margin-bottom: 20px; }

/* === AUTEUR === */
.author-box {
display: flex;
align-items: center;
gap: 10px;
margin-top: 20px;
}
.author-photo {
width: 45px;
height: 45px;
border-radius: 50%;
object-fit: cover;
border: 2px solid #1682c8;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
.single-layout {
flex-direction: column;
}
.sidebar {
width: 100%;
margin-top: 20px;
position: static;
}
}

/* === CORRECTION ALIGNEMENT LOGO + TITRE === */
.site-branding {
display: flex !important;
flex-direction: row !important;
align-items: center !important;
justify-content: flex-start;
gap: 10px;
flex-wrap: nowrap !important;
}

.site-logo {
width: 38px;
height: auto;
display: block;
flex-shrink: 0;
}

.site-title-text {
font-size: 30px;
font-weight: 500;
color: #07365b;
line-height: 1;
white-space: nowrap;
display: flex;
align-items: center;
}
.site-title-text:hover { color: #087cc8; }

/* === MENU NAVIGATION === */
.main-nav {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 20px;
flex-wrap: nowrap;
}

.main-nav ul {
list-style: none;
display: flex;
gap: 18px;
margin: 0;
padding: 0;
}

/* === MENU BURGER (MOBILE) === */
@media (max-width: 768px) {
.main-nav {
display: none;
flex-direction: column;
align-items: center;
background: #ffffff;
border-top: 1px solid #e5e5e5;
width: 100%;
position: absolute;
top: 100%;
left: 0;
z-index: 999;
padding: 10px 0;
}

.main-nav.active {
display: flex !important;
animation: fadeIn 0.3s ease-in-out;
}

.main-nav ul {
flex-direction: column;
width: 100%;
text-align: center;
}

.main-nav li {
width: 100%;
border-top: 1px solid #e5e5e5;
}

.main-nav li:first-child {
border-top: none;
}

.main-nav a {
display: block;
padding: 14px;
font-size: 16px;
color: #087cc8;
}

.main-nav a:hover {
background: #eaf5fc;
color: #07365b;
}

@keyframes fadeIn {
from { opacity: 0; transform: translateY(-5px); }
to { opacity: 1; transform: translateY(0); }
}
}

/* === HEADER ALIGNEMENT GLOBAL === */
.site-header {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: nowrap;
background: #ffffff;
padding: 12px 20px;
border-bottom: 1px solid #1682c8;
}

.site-branding {
display: flex;
align-items: center;
flex-wrap: nowrap;
gap: 10px;
}

.logo-link {
display: flex;
align-items: center;
text-decoration: none;
}

.site-logo {
width: 38px;
height: auto;
display: block;
flex-shrink: 0;
}

.site-title-text {
font-size: 30px;
font-weight: 500;
color: #07365b;
line-height: 1;
white-space: nowrap;
}
.site-title-text:hover { color: #087cc8; }

/* === MENU BURGER MOBILE (textes à gauche) === */
@media (max-width: 768px) {
.main-nav {
display: none;
flex-direction: column;
align-items: flex-start;
justify-content: flex-start;
background: #ffffff;
border-top: 1px solid #e5e5e5;
width: 100%;
position: absolute;
top: 100%;
left: 0;
z-index: 999;
padding: 0;
}

.main-nav.active {
display: flex;
animation: fadeIn 0.3s ease-in-out;
}

.main-nav ul {
list-style: none;
margin: 0;
padding: 0;
width: 100%;
}

.main-nav li {
width: 100%;
border-top: 1px solid #e5e5e5;
}

.main-nav li:first-child {
border-top: none;
}

.main-nav a {
display: block;
width: 100%;
padding: 14px 20px;
font-size: 16px;
color: #087cc8;
text-align: left;
}

.main-nav a:hover {
background: #eaf5fc;
color: #07365b;
}
}

/* === SIDEBAR RESPONSIVE (fix overflow) === */
.sidebar {
background: #ffffff;
padding: 15px;
border-radius: 8px;
border: 1px solid #e5e5e5;
color: #777777;
position: sticky;
top: 25px;
height: fit-content;
box-sizing: border-box;
max-width: 100%;
}

@media (max-width: 900px) {
.single-layout {
flex-direction: column;
}
.sidebar {
position: static;
margin-top: 20px;
width: 100%;
}
}

/* Animation */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(-5px); }
to { opacity: 1; transform: translateY(0); }
}

.adsbygoogle {
background-color: #ffffff !important;
color: #222222 !important;
border: 0px solid #e5e5e5 !important;
border-radius: 8px;
padding: 10px;
}

.adsbygoogle a {
color: #087cc8 !important;
}

.thumb, .post-thumb, .featured-image, .wp-post-image {
position: relative;
}

article a figure,
article a .thumb,
article a .post-thumb,
article a .featured-image {
position: relative;
overflow: hidden;
border-radius: 14px;
}

/* =========================================================
INFOP PUB ADS
========================================================= */
#sf-popup {
position: fixed;
inset: 0;
background: rgba(0,0,0,0.85);
display: none;
align-items: center;
justify-content: center;
z-index: 9999;
}

.sf-box {
background: #ffffff;
padding: 25px;
border-radius: 10px;
text-align: center;
max-width: 300px;
}

.sf-btn {
display: block;
margin-top: 15px;
padding: 12px;
background: #07365b;
color: #ffffff;
border-radius: 8px;
text-decoration: none;
}

#sf-popup {
position: fixed;
inset: 0;
background: rgba(0,0,0,0.85);
display: none;
align-items: center;
justify-content: center;
z-index: 9999;
}

/* BOX */
.sf-box {
position: relative;
background: #ffffff;
padding: 25px;
border-radius: 12px;
text-align: center;
max-width: 300px;
width: 85%;
}

/* texte */
.sf-text {
font-size: 14px;
color: #777777;
margin: 10px 0;
}

/* bouton fermer */
.sf-close {
position: absolute;
top: 10px;
right: 15px;
font-size: 25px;
color: #777777;
cursor: pointer;
}

.sf-box {
animation: popIn 0.3s ease;
}

@keyframes popIn {
from {
transform: scale(0.8);
opacity: 0;
}
to {
transform: scale(1);
opacity: 1;
}
}

.related-posts {
margin-top: 40px;
}

/* GRID */
.related-grid {
display: grid;
gap: 20px;
}

/* MOBILE */
@media (max-width: 600px) {
.related-grid {
grid-template-columns: 1fr;
}
}

/* TABLET */
@media (min-width: 601px) and (max-width: 1024px) {
.related-grid {
grid-template-columns: repeat(2, 1fr);
}
}

/* DESKTOP */
@media (min-width: 1025px) {
.related-grid {
grid-template-columns: repeat(3, 1fr);
}
}

/* CARD */
.related-card {
display: block;
background: #ffffff;
border-radius: 12px;
overflow: hidden;
text-decoration: none;
transition: transform 0.2s ease;
border: 1px solid #e5e5e5;
}

.related-card:hover {
transform: translateY(-4px);
}

/* IMAGE */
.related-image {
width: 100%;
aspect-ratio: 16/9;
background-size: cover;
background-position: center;
}

/* CONTENU */
.related-content {
padding: 15px;
}

/* TITRE */
.related-content h3 {
font-size: 16px;
color: #07365b;
margin-bottom: 8px;
line-height: 1.3;
}

/* TEXTE */
.related-content p {
font-size: 13px;
color: #777777;
line-height: 1.4;
}

/* FIL D'ARIANE */

.breadcrumb,
.breadcrumb a,
.breadcrumb span,
.breadcrumbs,
.breadcrumbs a,
.breadcrumbs span {

    color: #777777 !important;

}

.breadcrumb a,
.breadcrumbs a {

    color: #087cc8 !important;

}

.breadcrumb a:hover,
.breadcrumbs a:hover {

    color: #07365b !important;

}
/* Identité Trooz.info : logo responsive */
.site-branding img {max-width: 340px; width: 100%; height: auto; display:block;}
@media (max-width: 600px) {.site-branding img {max-width: 235px;}}

/* Trooz.info 1.1.1 — logo plus visible et menu mobile explicite */
@media (max-width: 1024px) {
  header.site-header { padding: 12px 12px; gap: 8px; }
  .site-branding { flex: 1 1 auto; min-width: 0; }
  .site-branding a { display: block; width: 100%; }
  .site-branding img { width: 100%; max-width: 340px; height: auto; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 7px; flex: 0 0 auto; padding: 10px 5px;
    font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1.2;
    color: #07365b; cursor: pointer; background: transparent; border: 0;
  }
  .menu-chevron {
    display: inline-block; width: 8px; height: 8px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg); transition: transform .2s ease;
  }
  .menu-toggle[aria-expanded="true"] .menu-chevron { transform: translateY(2px) rotate(225deg); }
  .menu-toggle:focus-visible { outline: 2px solid #087cc8; outline-offset: 3px; border-radius: 4px; }
}


/* Pages sans sidebar : le contenu prend toute la largeur du conteneur. */
.single-layout.trooz-no-sidebar > .single-article {
  flex: 1 1 100%;
  width: 100%;
  min-width: 0;
}

/* Trooz.info 1.1.4 — sidebar pleine largeur sous 900px */
@media (max-width: 900px) {
  .single-layout { flex-direction: column; align-items: stretch; }
  .single-layout > .single-article,
  .single-layout > .sidebar {
    flex: 0 1 auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .single-layout > .sidebar {
    position: static;
    margin-top: 0;
  }
  .sidebar .widget,
  .sidebar img,
  .sidebar iframe { max-width: 100%; }
  .sidebar img { height: auto; }
  .sidebar input,
  .sidebar textarea,
  .sidebar select { max-width: 100%; box-sizing: border-box; }
}

/* Recherche WordPress : supprimer le CTA superposé, conserver les liens des vignettes. */
body.search .articles-grid article a figure::after,
body.search .articles-grid article a .thumb::after,
body.search .articles-grid article a .post-thumb::after,
body.search .articles-grid article a .featured-image::after {
  content: none;
  display: none;
}

/* Trooz.info 1.1.7 — en-tête de recherche WordPress uniquement. */
body.search .trooz-search-intro {
  margin: 24px 0 22px;
  padding: 22px 26px 26px;
  background: #fff;
  border: 1px solid #d6e8f4;
  border-radius: 14px;
  box-shadow: 0 5px 20px rgba(7, 54, 91, .045);
}
body.search .trooz-search-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 17px;
  font-size: 13px;
  color: #61788a;
}
body.search .trooz-search-breadcrumb a { color: #087cc8; font-weight: 600; }
body.search .trooz-search-breadcrumb a:hover { text-decoration: underline; }
body.search .trooz-search-intro-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1.1fr);
  gap: 28px;
  align-items: end;
}
body.search .trooz-search-copy h1 {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.25;
  color: #07365b;
}
body.search .trooz-search-copy p { margin: 0; color: #4d6373; font-size: 15px; overflow-wrap: anywhere; }
body.search .trooz-search-copy strong { color: #07365b; }
body.search .trooz-search-page { font-size: 13px; }
body.search .trooz-search-form label {
  display: block;
  margin-bottom: 8px;
  color: #07365b;
  font-size: 13px;
  font-weight: 600;
}
body.search .trooz-search-form-row { display: flex; gap: 9px; }
body.search .trooz-search-form input[type="search"] {
  min-width: 0;
  width: 100%;
  flex: 1 1 auto;
  padding: 12px 14px;
  border: 1px solid #c8dce9;
  border-radius: 8px;
  background: #f8fbfd;
  color: #173a53;
  font: inherit;
  box-sizing: border-box;
}
body.search .trooz-search-form button {
  padding: 11px 18px;
  border: 1px solid #087cc8;
  border-radius: 8px;
  background: #087cc8;
  color: white;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
body.search .trooz-search-form button:hover { background: #075f9b; }
body.search .trooz-search-form input:focus-visible,
body.search .trooz-search-form button:focus-visible { outline: 2px solid #07365b; outline-offset: 2px; }
@media (max-width: 760px) {
  body.search .trooz-search-intro { padding: 18px; margin: 16px 0 20px; }
  body.search .trooz-search-intro-content { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 420px) {
  body.search .trooz-search-form-row { flex-direction: column; }
  body.search .trooz-search-form button { width: 100%; }
}

/* Trooz.info 1.1.8 — Accueil annuaire, styles strictement limités à la page d'accueil */
.trooz-home {padding-top:24px;padding-bottom:42px;}
.trooz-home *, .trooz-home *::before, .trooz-home *::after {box-sizing:border-box;}
.trooz-home-hero {display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,1fr);align-items:end;gap:30px;background:#fff;border:1px solid #d6e8f4;border-radius:16px;padding:28px 30px;box-shadow:0 5px 20px rgba(7,54,91,.045);margin-bottom:24px;}
.trooz-home-hero h1 {font-size:clamp(23px,2.6vw,32px);line-height:1.25;margin:0 0 10px;color:#07365b;}
.trooz-home-hero p {font-size:15px;line-height:1.6;margin:0;color:#4d6373;}
.trooz-home-search label {display:block;font-weight:700;font-size:13px;color:#07365b;margin-bottom:9px;}
.trooz-home-search-row {display:flex;gap:9px;}
.trooz-home-search input {flex:1;min-width:0;border:1px solid #c8dce9;border-radius:8px;padding:13px;background:#f8fbfd;font:inherit;color:#173a53;}
.trooz-home-search button,.trooz-home-cta {display:inline-block;border:1px solid #087cc8;border-radius:8px;padding:12px 17px;background:#087cc8;color:#fff;font:inherit;font-weight:700;cursor:pointer;text-align:center;}
.trooz-home-search button:hover,.trooz-home-cta:hover {background:#075f9b;color:#fff;}
.trooz-home-columns {display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,28%);gap:26px;align-items:start;}
.trooz-home-columns.trooz-home-full {grid-template-columns:1fr;}
.trooz-home-primary {min-width:0;}
.trooz-home-section {margin-bottom:28px;}
.trooz-home-section-head {display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:14px;}
.trooz-home-section h2,.trooz-home-join h2 {font-size:clamp(20px,2vw,25px);line-height:1.3;color:#07365b;margin:0;}
.trooz-home-small {font-size:13px;color:#607c90;}
.trooz-home-categories {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;}
.trooz-home-category {display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:66px;padding:14px 16px;border:1px solid #d6e8f4;border-radius:11px;background:#fff;color:#07365b;font-weight:650;overflow-wrap:anywhere;}
.trooz-home-category:hover {border-color:#087cc8;color:#087cc8;}
.trooz-home-category span:last-child {font-size:23px;color:#087cc8;}
.trooz-home-establishments {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.trooz-home-establishment {min-width:0;background:#fff;border:1px solid #d6e8f4;border-radius:12px;padding:12px;overflow:hidden;}
.trooz-home-establishment img,.trooz-home-placeholder {display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:8px;background:#dcecf6;}
.trooz-home-establishment h3 {font-size:17px;line-height:1.35;color:#07365b;margin:12px 0 4px;}
.trooz-home-establishment p {font-size:14px;line-height:1.5;color:#4d6373;margin:4px 0 0;}
.trooz-home-join {background:#fff;border:1px solid #d6e8f4;border-radius:13px;padding:24px;margin:8px 0 24px;}
.trooz-home-join p {margin:10px 0 18px;color:#4d6373;}
.trooz-home-editor-content {margin-top:25px;}
.trooz-home-sidebar {min-width:0;}
.trooz-home-sidebar .widget {overflow-wrap:anywhere;}
.trooz-home-sidebar img,.trooz-home-sidebar iframe {max-width:100%;height:auto;}
.trooz-home a:focus-visible,.trooz-home button:focus-visible,.trooz-home input:focus-visible {outline:2px solid #07365b;outline-offset:3px;}
@media(max-width:900px){.trooz-home-columns {grid-template-columns:1fr;}.trooz-home-sidebar {width:100%;}.trooz-home-hero {grid-template-columns:1fr;gap:20px;}}
@media(max-width:620px){.trooz-home {padding-top:16px;}.trooz-home-hero {padding:20px 17px;}.trooz-home-categories {grid-template-columns:repeat(2,minmax(0,1fr));}.trooz-home-establishments {grid-template-columns:1fr;}.trooz-home-search-row {flex-direction:column;}.trooz-home-search button {width:100%;}}

/* 1.1.9 — Actualités locales et lien de proposition */
.trooz-home-news {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
.trooz-home-news-card {min-width:0;background:#fff;border:1px solid #d6e8f4;border-radius:12px;padding:11px;overflow:hidden;}
.trooz-home-news-media {display:block;position:relative;width:100%;aspect-ratio:4/3;overflow:hidden;border-radius:8px;background:#dcecf6;}
.trooz-home-news-media img,.trooz-home-news-media .trooz-home-placeholder {display:block;position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;border-radius:0;}
.trooz-home-news-card h3 {font-size:16px;line-height:1.35;color:#07365b;margin:10px 0 6px;}
.trooz-home-news-card p {font-size:13px;line-height:1.5;color:#4d6373;margin:0;}
.trooz-home-more {font-size:13px;color:#087cc8;font-weight:650;}
.trooz-home-admin-note {font-size:13px;color:#80601c;}
@media(max-width:720px){.trooz-home-news {grid-template-columns:1fr 1fr;}}
@media(max-width:480px){.trooz-home-news {grid-template-columns:1fr;}}

/* 1.1.10 — présentation des archives avec recherche, sans toucher aux autres modèles */
body.category .trooz-archive-intro {margin:24px 0 25px;padding:27px 30px;background:linear-gradient(115deg,#fff 0%,#fff 72%,#eff8fe 100%);border:1px solid #d6e8f4;border-radius:16px;box-shadow:0 7px 24px rgba(7,54,91,.055);}
body.category .trooz-search-breadcrumb {display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-bottom:22px;font-size:13px;color:#61788a;}
body.category .trooz-search-breadcrumb a {color:#087cc8;font-weight:650;}
body.category .trooz-search-intro-content {display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,1fr);gap:28px;align-items:end;}
body.category .trooz-search-copy h1 {font-size:clamp(24px,2.5vw,33px);line-height:1.2;color:#07365b;margin:0 0 10px;}
body.category .trooz-search-copy p {font-size:15px;color:#4d6373;margin:0;line-height:1.55;}
body.category .trooz-search-copy .trooz-archive-eyebrow {font-size:12px;font-weight:750;letter-spacing:.09em;text-transform:uppercase;color:#087cc8;margin:0 0 9px;}
body.category .trooz-search-form label {display:block;margin-bottom:8px;font-size:13px;font-weight:700;color:#07365b;}
body.category .trooz-search-form-row {display:flex;gap:9px;}
body.category .trooz-search-form input[type="search"] {min-width:0;flex:1;width:100%;padding:12px 14px;border:1px solid #c8dce9;border-radius:8px;background:#f8fbfd;color:#173a53;font:inherit;box-sizing:border-box;}
body.category .trooz-search-form button {padding:11px 18px;border:1px solid #087cc8;border-radius:8px;background:#087cc8;color:#fff;font:inherit;font-weight:700;cursor:pointer;}
body.category .trooz-search-form button:hover {background:#075f9b;}
body.category .trooz-search-form input:focus-visible,body.category .trooz-search-form button:focus-visible {outline:2px solid #07365b;outline-offset:2px;}
@media(max-width:760px){body.category .trooz-archive-intro{padding:20px 18px;margin:16px 0 20px;}body.category .trooz-search-intro-content{grid-template-columns:1fr;gap:19px;}}
@media(max-width:420px){body.category .trooz-search-form-row{flex-direction:column;}body.category .trooz-search-form button{width:100%;}}


/* Trooz.info 1.1.13 — cartes compactes et navigation plus lisible. */
/* Photos d'établissements : conserver une vignette panoramique, même si
   WordPress fournit des dimensions intrinsèques ou une image portrait. */
.trooz-home-establishment img,
.trooz-home-establishment .trooz-home-placeholder {
  display: block;
  width: 100%;
  height: 165px;
  max-height: 165px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

/* Navigation desktop : liens en boutons sobres et cohérents avec la home. */
@media (min-width: 1025px) {
  .site-header .main-nav ul { gap: 10px; align-items: center; }
  .site-header .main-nav li { margin: 0; }
  .site-header .main-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 14px;
    border: 1px solid #cfe3f1;
    border-radius: 9px;
    background: #f8fbfe;
    color: #075f9b;
    font-weight: 650;
    line-height: 1.25;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
  }
  .site-header .main-nav a:hover,
  .site-header .main-nav a:focus-visible {
    background: #eaf5fc;
    border-color: #087cc8;
    color: #07365b;
  }
}

/* Mobile et tablette : bouton Menu identifié et panneau de liens clairement délimité. */
@media (max-width: 1024px) {
  .site-header .menu-toggle {
    padding: 10px 12px;
    border: 1px solid #bcd9ec;
    border-radius: 10px;
    background: #f1f8fd;
    color: #07365b;
    min-height: 42px;
    box-shadow: 0 1px 3px rgba(7,54,91,.07);
  }
  .site-header .menu-toggle[aria-expanded="true"] {
    background: #087cc8;
    border-color: #087cc8;
    color: #fff;
  }
  .site-header .main-nav.active {
    display: flex;
    align-items: stretch;
    width: 100%;
    padding: 12px;
    background: #f1f8fd;
    border-top: 2px solid #087cc8;
    border-bottom: 1px solid #cfe3f1;
    box-shadow: 0 9px 18px rgba(7,54,91,.13);
    box-sizing: border-box;
  }
  .site-header .main-nav.active ul { display: flex; flex-direction: column; gap: 8px; width: 100%; }
  .site-header .main-nav.active li { border: 0; margin: 0; }
  .site-header .main-nav.active a {
    display: block;
    padding: 13px 15px;
    border: 1px solid #d0e4f2;
    border-radius: 9px;
    background: #fff;
    color: #07365b;
    font-weight: 650;
    text-align: left;
    text-decoration: none;
  }
  .site-header .main-nav.active a:hover,
  .site-header .main-nav.active a:focus-visible {
    background: #e4f3fc;
    border-color: #087cc8;
    color: #075f9b;
  }
  .trooz-home-establishment img,
  .trooz-home-establishment .trooz-home-placeholder {
    height: 170px;
    max-height: 170px;
  }
}
@media (max-width: 380px) {
  .trooz-home-establishment img,
  .trooz-home-establishment .trooz-home-placeholder { height: 150px; max-height: 150px; }
}

/* 1.1.14 — retour à l’accueil visible et accessible sur les fils d’Ariane */
.trooz-breadcrumb, .trooz-search-breadcrumb {display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:14px;line-height:1.5;}
.trooz-breadcrumb .trooz-breadcrumb-home, .trooz-search-breadcrumb .trooz-breadcrumb-home {
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  padding:7px 11px;min-height:38px;box-sizing:border-box;
  background:#fff;border:1px solid #a8d3ed;border-radius:9px;
  color:#075c99 !important;font-weight:700;text-decoration:none;
  box-shadow:0 2px 6px rgba(7,54,91,.06);
  transition:background-color .15s,border-color .15s;
}
.trooz-breadcrumb .trooz-breadcrumb-home:hover, .trooz-search-breadcrumb .trooz-breadcrumb-home:hover {
  background:#e7f5ff;border-color:#087cc8;color:#07365b !important;
}
.trooz-breadcrumb .trooz-breadcrumb-home:focus-visible, .trooz-search-breadcrumb .trooz-breadcrumb-home:focus-visible {
  outline:3px solid #087cc8;outline-offset:3px;
}
.trooz-breadcrumb-house {flex:none;display:block;}
.trooz-breadcrumb-separator {color:#6d8190;}
@media(max-width:600px){
  .trooz-breadcrumb .trooz-breadcrumb-home,.trooz-search-breadcrumb .trooz-breadcrumb-home {min-height:44px;padding:9px 12px;}
}

/* Trooz.info 1.1.15 — sidebar cohérente avec la page d'accueil.
   La largeur de 28 % reprend exactement la grille de .trooz-home-columns.
   Empêche le flex-basis de 700px du contenu de comprimer les publicités. */
@media (min-width: 901px) {
  .single-layout:not(.trooz-no-sidebar) {
    flex-wrap: nowrap;
    gap: 26px;
  }
  .single-layout:not(.trooz-no-sidebar) > .single-article {
    flex: 1 1 0;
    min-width: 0;
  }
  .single-layout:not(.trooz-no-sidebar) > .sidebar {
    flex: 0 0 28%;
    width: 28%;
    min-width: 0;
    max-width: 28%;
  }
}

/* 1.1.16 — Zone de widgets facultative du pied de page */
.trooz-footer-widgets {
  max-width: 1280px;
  margin: 0 auto 22px;
  padding: 10px 0 24px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
  text-align: left;
  border-bottom: 1px solid #dce8f1;
}
.trooz-footer-widgets .trooz-footer-widget {
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: 0;
  color: #24445d;
}
.trooz-footer-widget-title,
.trooz-footer-widgets .wp-block-heading {
  color: #07365b;
  font-size: 17px;
  line-height: 1.35;
  margin: 0 0 12px;
}
.trooz-footer-widgets ul,
.trooz-footer-widgets .wp-block-navigation__container {
  list-style: none;
  margin: 0;
  padding: 0;
}
.trooz-footer-widgets li { margin: 0 0 8px; }
.trooz-footer-widgets a { color: #086eae; text-decoration: none; }
.trooz-footer-widgets a:hover,
.trooz-footer-widgets a:focus-visible { color: #07365b; text-decoration: underline; }
@media (max-width: 600px) {
  .trooz-footer-widgets { gap: 18px; padding-bottom: 18px; }
}

/* Trooz.info 1.1.18 — navigation tablette/mobile : neutralise les anciennes
   règles à 768 px et contient tous les liens dans le panneau déroulant. */
@media (max-width: 1024px) {
  .site-header .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    flex-direction: column;
    align-items: stretch;
    overflow-wrap: anywhere;
  }
  .site-header .main-nav.active {
    display: flex;
    padding: 12px;
  }
  .site-header .main-nav ul,
  .site-header .main-nav.active ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  .site-header .main-nav li,
  .site-header .main-nav.active li {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .site-header .main-nav a,
  .site-header .main-nav.active a {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* Trooz.info 1.1.19 — menu déroulant universel, y compris sur ordinateur. */
@media (min-width: 1025px) {
  .site-header { gap: 16px; }
  .site-header .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex: 0 0 auto;
    padding: 10px 12px;
    min-height: 42px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    border: 1px solid #bcd9ec;
    border-radius: 10px;
    background: #f1f8fd;
    color: #07365b;
    box-shadow: 0 1px 3px rgba(7,54,91,.07);
  }
  .site-header .menu-toggle[aria-expanded="true"] {
    background: #087cc8;
    border-color: #087cc8;
    color: #fff;
  }
  .site-header .menu-chevron {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .2s ease;
  }
  .site-header .menu-toggle[aria-expanded="true"] .menu-chevron {
    transform: translateY(2px) rotate(225deg);
  }
  .site-header .menu-toggle:focus-visible {
    outline: 2px solid #087cc8;
    outline-offset: 3px;
  }
  .site-header .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 12px;
    left: auto;
    width: min(360px, calc(100vw - 24px));
    max-width: none;
    padding: 12px;
    box-sizing: border-box;
    flex-direction: column;
    align-items: stretch;
    background: #f1f8fd;
    border: 1px solid #cfe3f1;
    border-top: 2px solid #087cc8;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 9px 18px rgba(7,54,91,.13);
    z-index: 999;
  }
  .site-header .main-nav.active { display: flex; }
  .site-header .main-nav ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  .site-header .main-nav li { width: 100%; min-width: 0; box-sizing: border-box; }
  .site-header .main-nav a {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    padding: 13px 15px;
    box-sizing: border-box;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: left;
    background: #fff;
    border: 1px solid #d0e4f2;
    border-radius: 9px;
    color: #07365b;
  }
}


/* Consentement cookies : panneau léger et responsive */
.trooz-cookie-banner[hidden] { display: none !important; }
.trooz-cookie-banner { position: fixed; z-index: 99999; bottom: 16px; left: 16px; right: 16px; max-width: 850px; margin: 0 auto; box-sizing: border-box; background: #fff; border: 2px solid #1682c8; border-radius: 12px; padding: 18px 20px; box-shadow: 0 8px 30px rgba(0,0,0,.20); display: flex; align-items: center; justify-content: space-between; gap: 22px; color: #223746; }
.trooz-cookie-copy { flex: 1; min-width: 0; }
.trooz-cookie-copy strong { display: block; margin-bottom: 6px; font-size: 1.05rem; }
.trooz-cookie-copy p { margin: 0; font-size: .92rem; line-height: 1.5; }
.trooz-cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.trooz-cookie-actions button { border: 1px solid #1682c8; border-radius: 6px; padding: 10px 15px; font: inherit; font-weight: 600; cursor: pointer; min-width: 90px; }
.trooz-cookie-reject { color: #126ba5; background: #fff; }
.trooz-cookie-accept { color: #fff; background: #1682c8; }
.trooz-cookie-actions button:focus-visible, .trooz-cookie-settings:focus-visible { outline: 3px solid #f1a429; outline-offset: 2px; }
.trooz-cookie-settings { background: none; border: 0; padding: 5px 10px; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }
@media (max-width: 680px) { .trooz-cookie-banner { flex-direction: column; align-items: stretch; gap: 14px; bottom: 8px; left: 8px; right: 8px; padding: 15px; } .trooz-cookie-actions { width: 100%; } .trooz-cookie-actions button { flex: 1; } }

/* === 1.1.21 : choix clair / sombre, menu universel === */
.site-header .trooz-theme-toggle {display:inline-flex;align-items:center;justify-content:center;order:1;flex:0 0 auto;width:43px;height:43px;margin-left:auto;margin-right:9px;border:1px solid #bcd9ec;border-radius:10px;background:#f1f8fd;color:#07365b;font:26px/1 sans-serif;cursor:pointer;}
.site-header .menu-toggle {order:2;flex:0 0 auto;margin-left:0;}
.site-header .main-nav {order:3;}
.site-header .trooz-theme-toggle:hover,.site-header .trooz-theme-toggle:focus-visible {background:#e4f3fc;border-color:#087cc8;}
.site-header .trooz-theme-toggle:focus-visible,.trooz-mobile-theme-toggle:focus-visible {outline:2px solid #1682c8;outline-offset:3px;}
.trooz-mobile-appearance {display:none;}
@media(max-width:600px) {
  .site-header .trooz-theme-toggle {display:none;}
  .site-header .main-nav.active .trooz-mobile-appearance {display:flex;flex-direction:column;align-items:stretch;gap:8px;width:100%;box-sizing:border-box;padding-top:12px;margin-top:8px;border-top:1px solid #cfe3f1;color:#07365b;font-weight:650;}
  .trooz-mobile-theme-toggle {display:flex;align-items:center;justify-content:center;gap:8px;min-height:42px;width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid #bcd9ec;border-radius:9px;background:#fff;color:#07365b;font:inherit;font-weight:650;cursor:pointer;}
}
/* Le thème clair demeure le choix par défaut. Les photos et les annonces conservent leurs couleurs. */
html.trooz-dark {color-scheme:dark;}
html.trooz-dark body {background:#111c2b;color:#dce8f2;}
html.trooz-dark h1,html.trooz-dark h2,html.trooz-dark h3,html.trooz-dark h4,html.trooz-dark h5,html.trooz-dark h6 {color:#e5f3ff;}
html.trooz-dark a {color:#7bc3ff;}
html.trooz-dark a:hover {color:#b6e1ff;}
html.trooz-dark .site-header,html.trooz-dark .site-footer,html.trooz-dark .sidebar,
html.trooz-dark .articles-grid article,html.trooz-dark .single-article,
html.trooz-dark .related-card,html.trooz-dark .trooz-home-hero,
html.trooz-dark .trooz-home-category,html.trooz-dark .trooz-home-establishment,
html.trooz-dark .trooz-home-join,html.trooz-dark .trooz-home-news-card,
html.trooz-dark body.category .trooz-archive-intro,
html.trooz-dark body.search .trooz-search-intro,
html.trooz-dark .trooz-cookie-banner {background:#1d2d40;color:#dce8f2;border-color:#40566d;}
html.trooz-dark .trooz-home-hero,html.trooz-dark body.category .trooz-archive-intro {background-image:none;}
html.trooz-dark .trooz-home-category,html.trooz-dark .trooz-home-news-card h3,
html.trooz-dark .trooz-search-copy h1,html.trooz-dark .trooz-footer-widget-title,
html.trooz-dark .sidebar h3,html.trooz-dark .trooz-home-section-head h2 {color:#e5f3ff;}
html.trooz-dark .trooz-home-news-card p,html.trooz-dark .trooz-search-copy p,
html.trooz-dark .trooz-home-hero p,html.trooz-dark .meta {color:#b7cadb;}
html.trooz-dark .site-header .menu-toggle,html.trooz-dark .site-header .trooz-theme-toggle,
html.trooz-dark .site-header .main-nav,html.trooz-dark .site-header .main-nav.active,
html.trooz-dark .site-header .main-nav a,html.trooz-dark .site-header .main-nav.active a,
html.trooz-dark .trooz-mobile-theme-toggle {background:#24384e;color:#e5f3ff;border-color:#40566d;}
html.trooz-dark .site-header .menu-toggle[aria-expanded=true] {background:#087cc8;color:#fff;border-color:#1682c8;}
html.trooz-dark .trooz-home-search input,html.trooz-dark .trooz-search-form input,
html.trooz-dark input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),
html.trooz-dark textarea,html.trooz-dark select {background:#142437;color:#e5f3ff;border-color:#40566d;}
html.trooz-dark input::placeholder,html.trooz-dark textarea::placeholder {color:#a8bbcb;opacity:1;}
html.trooz-dark .trooz-breadcrumb-home {background:#24384e;color:#b6e1ff!important;border-color:#40566d;}
html.trooz-dark .trooz-cookie-reject {background:#24384e;color:#e5f3ff;border-color:#7bc3ff;}
html.trooz-dark .trooz-footer-widgets a {color:#7bc3ff;}
/* Éléments génériques des extensions dans la zone de contenu, sans altérer les images. */
html.trooz-dark .widget,html.trooz-dark .trooz-home-sidebar {color:#dce8f2;}
html.trooz-dark :focus-visible {outline-color:#7bc3ff;}

/* Trooz.info 1.1.23 — contraste des pages de recherche et d'archives en mode sombre uniquement. */
html.trooz-dark body.search .trooz-search-breadcrumb,
html.trooz-dark body.category .trooz-search-breadcrumb,
html.trooz-dark .trooz-breadcrumb-separator { color: #b7cadb; }
html.trooz-dark body.search .trooz-search-breadcrumb [aria-current="page"],
html.trooz-dark body.category .trooz-search-breadcrumb [aria-current="page"] { color: #dce8f2; }
html.trooz-dark body.search .trooz-search-breadcrumb a,
html.trooz-dark body.category .trooz-search-breadcrumb a { color: #8ed0ff; }
html.trooz-dark body.search .trooz-search-copy h1,
html.trooz-dark body.category .trooz-search-copy h1 { color: #e5f3ff; }
html.trooz-dark body.search .trooz-search-copy p,
html.trooz-dark body.category .trooz-search-copy p { color: #c0d1df; }
html.trooz-dark body.search .trooz-search-copy strong { color: #e5f3ff; background: #304b65; padding: 0 3px; border-radius: 3px; }
html.trooz-dark body.search .trooz-search-form label,
html.trooz-dark body.category .trooz-search-form label { color: #e5f3ff; }
html.trooz-dark body.category .trooz-search-copy .trooz-archive-eyebrow { color: #8ed0ff; }
html.trooz-dark body.search .trooz-search-form input:focus-visible,
html.trooz-dark body.search .trooz-search-form button:focus-visible,
html.trooz-dark body.category .trooz-search-form input:focus-visible,
html.trooz-dark body.category .trooz-search-form button:focus-visible { outline-color: #8ed0ff; }
html.trooz-dark .articles-grid article p { color: #c0d1df; }

/* Trooz.info 1.1.24 — lisibilité du fil d’Ariane en mode sombre. */
html.trooz-dark .trooz-breadcrumb > span[aria-current="page"],
html.trooz-dark .trooz-breadcrumb > span[style*="color:#1682c8"],
html.trooz-dark .trooz-breadcrumb > span[style*="color: #1682c8"] { color: #8ed0ff !important; }
html.trooz-dark .trooz-breadcrumb > span[style*="color:#aaa"],
html.trooz-dark .trooz-breadcrumb > span[style*="color: #aaa"] { color: #b7cadb !important; }

/* Trooz.info 1.1.25 — header compact, logo sans slogan. */
header.site-header { padding-top: 9px; padding-bottom: 9px; }
.site-header .site-branding img { max-width: 290px; width: 100%; height: auto; }
@media (max-width: 1024px) {
  header.site-header { padding-top: 9px; padding-bottom: 9px; }
  .site-header .site-branding img { max-width: 290px; }
}
@media (max-width: 600px) {
  .site-header .site-branding img { max-width: 235px; }
}

/* Trooz.info 1.1.26 — lisibilité du libellé de recherche en mode sombre. */
html.trooz-dark .trooz-home-search label { color: #e8f2ff; }

/* Trooz.info 1.1.30 — séparateurs bleu clair harmonisés dans les deux modes. */
html hr,
html.trooz-dark hr {
  border: 0;
  border-top: 1px solid #b7cadb;
  background: transparent;
}

/* Séparateur du footer : bordure du conteneur de widgets, et non balise hr. */
html .site-footer .trooz-footer-widgets,
html.trooz-dark .site-footer .trooz-footer-widgets {
  border-bottom: 1px solid #b7cadb;
}


/* === PARTAGE SOCIAL ARTICLES ET PAGES : style harmonisé avec Trooz Annuaire === */
.trooz-social-share{margin-top:28px;padding:20px 0 0;border-top:1px solid #b7cadb}
.trooz-social-share-label{margin:0 0 12px;font-weight:600;color:#174c70}
.trooz-social-share-actions{display:flex;flex-wrap:wrap;gap:10px}
.trooz-social-share .trooz-social-share-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;max-width:100%;min-height:44px;padding:10px 14px;border:1px solid #dce5ee;border-radius:10px;background:#fff;color:#1682c8;font:inherit;font-size:14px;line-height:1.4;text-decoration:none;cursor:pointer;transition:background .15s,border-color .15s}
.trooz-social-share .trooz-social-share-button:hover{background:#eff7fc;border-color:currentColor}
.trooz-social-share .trooz-social-share-button:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.trooz-social-share .trooz-social-share-button:disabled{opacity:.65;cursor:wait}
.trooz-social-share .trooz-social-share-button svg{width:20px;height:20px;flex:none}
.trooz-social-share-status{margin:10px 0 0;min-height:1.4em;font-size:13px;color:#526477}
.trooz-social-share-manual{display:block;margin-top:8px;font-size:14px}
.trooz-social-share-manual input{display:block;box-sizing:border-box;width:100%;min-width:0;margin-top:6px;padding:8px;border:1px solid #dce5ee;border-radius:6px;font:inherit}
.trooz-social-share [hidden]{display:none!important}
html.trooz-dark .trooz-social-share-label{color:#e5f3ff}
html.trooz-dark .trooz-social-share .trooz-social-share-button{background:#293f57;color:#eaf3ff;border-color:#48637d;box-shadow:none}
html.trooz-dark .trooz-social-share .trooz-social-share-button:hover{background:#36536e;color:#fff;border-color:#7799b7}
html.trooz-dark .trooz-social-share .trooz-social-share-button:focus-visible{outline:2px solid #a9d8ff;outline-offset:3px}
html.trooz-dark .trooz-social-share .trooz-social-share-button svg{color:#9bd1ff}
html.trooz-dark .trooz-social-share-status{color:#b7cadb}
@media(max-width:540px){.trooz-social-share .trooz-social-share-button{flex:1 1 100%}}


/* === FORMULAIRE DE CONTACT NATIF === */
.trooz-contact { max-width: 720px; margin: 1.5rem 0; }
.trooz-contact-form { display: grid; gap: 1.1rem; }
.trooz-contact-field { display: grid; gap: .4rem; }
.trooz-contact-field label { font-weight: 600; }
.trooz-contact-field input, .trooz-contact-field textarea { box-sizing: border-box; width: 100%; padding: .8rem .9rem; border: 1px solid #b7cadb; border-radius: 8px; background: #fff; color: #1b354b; font: inherit; }
.trooz-contact-field input:focus-visible, .trooz-contact-field textarea:focus-visible { outline: 2px solid #087cc8; outline-offset: 2px; }
.trooz-contact-privacy { margin: 0; font-size: .9rem; opacity: .85; }
.trooz-contact-submit { justify-self: start; border: 0; border-radius: 8px; background: #087cc8; color: #fff; padding: .85rem 1.3rem; font: inherit; font-weight: 600; cursor: pointer; }
.trooz-contact-submit:hover { background: #075e99; }
.trooz-contact-notice { padding: .85rem 1rem; border: 1px solid #b7cadb; border-radius: 8px; }
.trooz-contact-notice.is-success { border-color: #348363; }
.trooz-contact-notice.is-error { border-color: #b56b6b; }
.trooz-contact-trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
html.trooz-dark .trooz-contact-field input, html.trooz-dark .trooz-contact-field textarea { background: #172b3f; color: #eaf5fc; border-color: #6b8499; }
html.trooz-dark .trooz-contact-submit { background: #1684c9; color: #fff; }
html.trooz-dark .trooz-contact-submit:hover { background: #267ab0; }

/* Trooz.info 1.1.34 — formulaire de contact harmonisé, sans modification du traitement SMTP. */
.trooz-contact{max-width:760px;margin:1.2rem 0 1.5rem;font-family:inherit}
.trooz-contact,.trooz-contact input,.trooz-contact textarea,.trooz-contact button{font-family:inherit!important;letter-spacing:normal}
.trooz-contact-intro{margin:0 0 1.6rem}
.trooz-contact-intro h2{font-size:1.35rem;line-height:1.3;margin:0 0 .6rem;color:#174c70}
.trooz-contact-intro p{margin:0;color:#526477;line-height:1.65}
.trooz-contact-form{gap:1.25rem}
.trooz-contact-field{gap:.5rem}
.trooz-contact-field label{font-size:.95rem;font-weight:600;color:#183d58}
.trooz-contact-field input,.trooz-contact-field textarea{padding:13px 15px;border:1px solid #c6d7e5;border-radius:10px;background:#fff;line-height:1.5;font-size:1rem;transition:border-color .15s,box-shadow .15s}
.trooz-contact-field input:focus,.trooz-contact-field textarea:focus{border-color:#1682c8;box-shadow:0 0 0 3px rgba(22,130,200,.12);outline:0}
.trooz-contact-field textarea{min-height:145px;resize:vertical}
.trooz-contact-privacy{font-size:.875rem;line-height:1.6;color:#526477;opacity:1}
.trooz-contact-confirm{display:flex;align-items:flex-start;gap:11px;padding:14px 16px;border:1px solid #dce5ee;border-radius:10px;background:#f5f9fc;color:#183d58;cursor:pointer;font-size:.95rem;line-height:1.5}
.trooz-contact-confirm input{width:18px;height:18px;flex:none;margin:2px 0 0;accent-color:#087cc8;cursor:pointer}
.trooz-contact-submit{min-height:46px;padding:12px 20px;border-radius:10px;font-size:.95rem}
.trooz-contact-submit:focus-visible{outline:2px solid #1682c8;outline-offset:3px}
.trooz-contact-notice{line-height:1.6;margin-bottom:1.5rem}
.trooz-contact-notice.is-success{background:#f1faf5;color:#225c42}
.trooz-contact-notice.is-error{background:#fff6f5;color:#8a3434}
html.trooz-dark .trooz-contact-intro h2,html.trooz-dark .trooz-contact-field label{color:#e5f3ff}
html.trooz-dark .trooz-contact-intro p,html.trooz-dark .trooz-contact-privacy{color:#b7cadb}
html.trooz-dark .trooz-contact-confirm{background:#243a50;color:#eaf3ff;border-color:#48637d}
html.trooz-dark .trooz-contact-notice.is-success{background:#193c35;color:#d2f3e0}
html.trooz-dark .trooz-contact-notice.is-error{background:#472d34;color:#ffe0e0}
@media(max-width:540px){.trooz-contact-submit{width:100%;justify-self:stretch}}


/* 1.1.39 — Suggestions de lecture sur les articles uniquement. */
.trooz-related-news {margin-top:30px;padding-top:22px;border-top:1px solid #B7CADB;}
.trooz-related-news h2 {margin:0 0 16px;}
.trooz-related-news .trooz-related-news-grid {grid-template-columns:repeat(3,minmax(0,1fr));}
.trooz-related-news .trooz-home-news-card a {display:block;}
.trooz-related-news .trooz-home-news-card h3 {overflow-wrap:anywhere;}
@media(max-width:700px){.trooz-related-news .trooz-related-news-grid {grid-template-columns:minmax(0,1fr);}}

/* 1.1.40 — Activité principale des établissements sur l’accueil. */
.trooz-home-establishment .trooz-home-establishment-activity {display:block;font-size:14px;font-weight:400;line-height:1.4;color:#4d6373;overflow-wrap:anywhere;}
html.trooz-dark .trooz-home-establishment .trooz-home-establishment-activity {color:#b7cadb;}
