@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&display=swap');

/* =========================================================
   Maire-info — styles (calées sur la maquette Figma)
   ========================================================= */

:root {
  /* Couleurs */
  --color-red: #bf2a37;
  --color-red-dark: #972828;
  --color-red-line: #af3838;
  --color-navy: #071c3c;
  --color-navy-dark: #08172c;
  --color-blue: #21529b;
  --color-blue-line: #29508b;
  --color-grey-muted: #9baecd;
  --color-gold: #e6dbbc;
  --color-border: #dee2e6;
  --color-border-2: #ced4da;
  --color-icon-grey: #6c757d;
  --color-text: #2a2a2a;
  --color-bg: #ebe7e3;

  /* Polices */
  --font-display: "Hubot Sans", "Segoe UI", Arial, sans-serif; /* gros titres */
  --font-text: "Inter", "Segoe UI", Arial, sans-serif; /* texte courant / UI */
  --font-label: "Public Sans", "Segoe UI", Arial, sans-serif; /* quelques libellés extrabold */
  --font-article-title: "Roboto Condensed", "Arial Narrow", Arial, sans-serif; /* titres d’articles */
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-text);
  color: var(--color-text);
  background: var(--color-bg);
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-display {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 86;
}


/* =========================================================
   ARTICLE - MODIFICATIONS CLIENT
   ========================================================= */

/* Titre article */
.article-title {
    font-family: 'Roboto Condensed', sans-serif !important;
    font-weight: 700;
}


/* WhatsApp */
.share-wa {
    background: #25d366;
}


/* Exposants sans modifier l'interlignage */
.article-body sup,
.article-lead sup,
.article-title sup,
.edition-label sup {
    font-size: 0.7em;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
    top: -0.5em;
}


/* Indices sans modifier l'interlignage */
.article-body sub,
.article-lead sub,
.article-title sub {
    font-size: 0.7em;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
    bottom: -0.2em;
}


/* Sur le même sujet : texte sur toute la largeur */
.related-articles .article-row .ar-content {
    width: 100%;
    flex: 1 1 100%;
}




/* Titres d'articles : Roboto Condensed Bold */
.article-title,
.headline-lg,
.mini-col .mini-title,
.logement-card h3,
.exceptional-card h3,
.article-row .ar-title,
.ra-title,
.most-read-item .mr-title {
  font-family: var(--font-article-title);
  font-weight: 700;
  font-variation-settings: normal;
}

.mini-col .mini-title,
.logement-card h3 {
    font-size: 1.125rem;
    line-height: 1.3;
}

a {
  text-decoration: none;
}
.footer-bottom a {
    color: white;
}
.container {
  max-width: 1000px;
}

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.logo .logo-mark {
  display: inline-flex;
  align-items: stretch;
  font-family: var(--font-display);
  font-variation-settings: "wdth" 80;
  font-weight: 800;
  font-size: 1.9rem;
  letter-spacing: 0.5px;
}
.logo-mark img {
    width: 340px;
}
.amf-badge img {
    width: 100px;
}

/* Image de pub en block : supprime l'espace sous l'image (baseline inline) */
.pub {
    display: block;
}
.logo .logo-mark .part-maire {
  color: var(--color-red);
  padding-right: 4px;
}

.logo .logo-mark .part-info {
  background: var(--color-red);
  color: #fff;
  padding: 0 8px;
  font-style: italic;
}

.logo .logo-tagline {
  margin-top: 4px;
	padding-left: 5px;
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--color-icon-grey);
}

.logo.logo-sm .logo-mark {
  font-size: 1.4rem;
}

.logo.logo-footer .logo-mark {
  font-size: 1.5rem;
}
.logo-footer img { width: 152px }
.logo.logo-footer .part-maire {
  color: #fff;
}

/* ---------- AMF badge (placeholder, remplacer par le vrai logo AMF) ---------- */
.amf-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-navy);
}

.amf-badge .amf-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.amf-badge .amf-text {
  font-family: var(--font-text);
  font-size: 0.65rem;
  line-height: 1.2;
  font-weight: 600;
  text-transform: uppercase;
}

.amf-badge.amf-badge-footer {
  color: #fff;
}

.amf-badge.amf-badge-footer .amf-text {
  color: var(--color-grey-muted);
}

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.15);
}

.header-top {
  padding: 18px 0;
}

.header-top .logo-mark {
  font-size: 2rem;
}

.header-icon {
  color: var(--color-icon-grey);
  font-size: 1.15rem;
  display: inline-flex;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.header-links {
  gap: 20px;
}

.header-links a {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 100;
  color: #000;
  font-weight: 600;
  font-size: 0.92rem;
}

.header-links a:hover {
  color: var(--color-red);
}

.header-links .sep {
  width: 1px;
  height: 19px;
  background: var(--color-border-2);
  display: inline-block;
}

/* Bouton hamburger */
.hamburger-btn {
  border: none;
  background: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--color-navy);
  padding: 4px 8px;
}

.hamburger-btn:focus {
  outline: none;
}

/* ---------- Navigation principale (desktop) ---------- */
.main-nav {
  background: var(--color-navy);
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  height: 52px;
}

.main-nav li {
  display: flex;
  align-items: center;
}

.main-nav li:not(:last-child)::after {
  content: "";
  width: 1px;
  height: 19px;
  background: var(--color-blue-line);
  margin: 0 11px;
}

/* Pas de separateur apres la derniere rubrique de la boucle */
.main-nav li.no-sep::after {
  display: none;
}

.main-nav li.no-sep {
  margin-right: 18px;
}

.main-nav li:last-child {
  margin-left: auto;
  height: 100%;
}

.main-nav a {
  display: flex;
  align-items: center;
  height: 100%;
  font-family: var(--font-text);
  color: #fff;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0px;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav a:hover {
  opacity: 0.85;
}

.main-nav li.highlight {
  height: 100%;
}

.main-nav li.highlight a {
  background: var(--color-blue);
  padding: 0 16px;
  filter: brightness(1);
  transition: filter 0.15s ease;
}

.main-nav li.highlight a:hover {
  filter: brightness(1.08);
}

/* ---------- Menu mobile (offcanvas maison) ---------- */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  z-index: 1040;
}

.mobile-menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: #fff;
  z-index: 1050;
  overflow-y: auto;
  transition: right 0.3s ease;
  box-shadow: -4px 0 16px rgba(0, 0, 0, 0.15);
}

.mobile-menu.is-open {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu-close {
  border: 1px solid var(--color-border-2);
  background: #fff;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  font-size: 1.3rem;
  color: var(--color-text);
}

.mobile-nav-links {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.mobile-nav-links li {
  border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-links a {
  display: block;
  padding: 14px 20px;
  font-family: var(--font-text);
  color: var(--color-navy);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.mobile-nav-links li.highlight a {
  color: var(--color-blue);
}

.mobile-menu-secondary {
  padding: 16px 20px;
}

.mobile-menu-secondary a {
  display: block;
  padding: 10px 0;
  font-family: var(--font-display);
  font-variation-settings: "wdth" 100;
  color: var(--color-text);
  font-weight: 600;
}

body.no-scroll {
  overflow: hidden;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-navy);
  color: var(--color-grey-muted);
}

.site-footer .footer-main {
  padding: 36px 0 20px;
}

.site-footer .footer-tagline {
  margin-top: 12px;
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 0.75rem;
  line-height: 1.5;
}

.site-footer .footer-publisher {
  margin-top: 10px;
  font-family: var(--font-text);
  color: var(--color-gold);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.3px;
}

.site-footer h6 {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 10px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer ul li {
  margin-bottom: 10px;
}

.site-footer ul li a {
  font-family: var(--font-text);
  font-weight: 500;
  color: var(--color-grey-muted);
  font-size: 0.8rem;
}

.site-footer ul li a:hover {
  color: #fff;
}

.footer-bottom {
  background: var(--color-navy-dark);
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-text);
  font-size: 0.75rem;
  color: #fff;
  flex-wrap: wrap;
}

.footer-bottom .dot {
  color: var(--color-red);
}

.footer-bottom strong {
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .footer-bottom {
    flex-direction: column;
    gap: 4px;
    padding: 10px 0;
    height: auto;
    text-align: center;
  }

  .footer-bottom .dot {
    display: none;
  }
}

/* =========================================================
   Page d'accueil
   ========================================================= */

.home-main {
  padding: 30px 0 30px;
}

.tag-red {
  display: inline-block;
  font-family: var(--font-text);
  color: var(--color-red);
  font-weight: 700;
  font-size: 0.69rem;
  letter-spacing: 0.55px;
  text-transform: uppercase;
  text-decoration: none;
}

.mini-col .mini-label {
  text-decoration: none;
}

/* ---------- Badge congrès / crédit photo / articles "cadre" ---------- */
.featured-article {
  position: relative;
}

.congres-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  height: 30px;
  z-index: 1;
}

.fa-image {
  position: relative;
  display: flex;
  flex-direction: column;
}

.fa-credit {
  position: absolute;
  left: 14px;
  bottom: 10px;
  font-family: var(--font-text);
  font-size: 0.65rem;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
}

.card-block.is-cadre,
.mini-news .mini-col.is-cadre,
.logement-card.is-cadre {
  box-shadow: inset 3px 0 0 var(--color-gold);
}

.mini-news .mini-col.is-cadre {
  padding-left: 12px;
}

/* ---------- Reste des articles du jour ---------- */
.more-articles-card {
  padding: 10px 25px;
}

.article-row {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.article-row:last-child {
  border-bottom: none;
}

.article-row .ar-image {
  flex: 0 0 150px;
}

.article-row .ar-image img {
  width: 150px;
  height: 110px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.article-row .ar-image .ar-credit {
  display: block;
  font-family: var(--font-text);
  font-size: 0.6rem;
  color: var(--color-icon-grey);
  margin-top: 4px;
}

.article-row .ar-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.article-row .ar-title {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 86;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3;
  color: #000;
  margin: 0;
}

.congres-badge-inline {
  position: static;
  float: right;
  height: 24px;
}

/* ---------- Liens des titres d'articles : noir, pas de soulignement ---------- */
.headline-lg a,
.mini-title a,
.ar-title a,
.u-link-v5 {
  color: inherit;
  text-decoration: none;
}

.headline-lg a:hover,
.mini-title a:hover,
.ar-title a:hover {
  color: var(--color-red);
}

.g-color-red {
  color: var(--color-red);
}

/* ---------- Modale de recherche ---------- */
.search-modal .modal-content {
  border: none;
  border-radius: 6px;
}

.search-modal .modal-header {
  border-bottom: 1px solid var(--color-border);
}

.search-modal .modal-title {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 90;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-navy);
}

.search-modal .modal-body {
  padding: 20px;
  min-height: 120px;
}

/* ==========================================================
   Fil d'Ariane
   ========================================================== */
.breadcrumb-nav {
  font-family: var(--font-text);
  font-size: 0.85rem;
  color: var(--color-icon-grey);
  margin: 20px 0;
}

.breadcrumb-nav a {
  color: var(--color-icon-grey);
  text-decoration: none;
}

.breadcrumb-nav a:hover {
  color: var(--color-red);
}

.breadcrumb-sep {
  margin: 0 8px;
  color: var(--color-border-2);
}

.breadcrumb-current {
  color: var(--color-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* ==========================================================
   Pages statiques (À propos, Contact, Rubriques, Rubrique)
   ========================================================== */
.static-card {
  padding: 35px;
}

.static-title {
  font-weight: 800;
  font-variation-settings: "wdth" 80;
  font-size: 1.8rem;
  color: #000;
  margin: 0 0 20px;
}

.static-subtitle {
  font-family: var(--font-text);
  font-size: 0.95rem;
  color: var(--color-text);
  margin: 0 0 24px;
}

.static-body {
  font-family: var(--font-text);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.static-body strong {
  color: #000;
}

@media (max-width: 767.98px) {
  .static-card {
    padding: 20px;
  }

  .static-title {
    font-size: 1.4rem;
  }
}

/* ---------- Sidebar éditoriale (À propos, Contact) ---------- */
.editorial-box {
  background: #fff;
  border-radius: 4px;
  padding: 28px 24px;
}

.eb-title {
  font-family: var(--font-label);
  color: var(--color-red);
  font-weight: 800;
  font-size: 1rem;
  margin: 0 0 10px;
}

.eb-director {
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 0.95rem;
  color: #000;
  margin: 0;
}

.eb-divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
  margin: 20px 0;
}

.eb-divider-member {
  margin: 16px 0;
}

.eb-role {
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-icon-grey);
  margin: 0 0 6px;
}

.eb-name {
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 0.92rem;
  color: #000;
  margin: 0 0 4px;
}

.eb-beat {
  font-family: var(--font-text);
  font-size: 0.8rem;
  color: var(--color-icon-grey);
  line-height: 1.4;
  margin: 0 0 4px;
}

.eb-email a {
  font-family: var(--font-text);
  font-size: 0.8rem;
  color: var(--color-icon-grey);
  text-decoration: none;
}

.eb-email a:hover {
  color: var(--color-red);
}

/* ---------- Formulaire de contact ---------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-input {
  font-family: var(--font-text);
  font-size: 0.9rem;
  border: 1px solid var(--color-border-2);
  border-radius: 6px;
  padding: 14px 16px;
  color: var(--color-text);
  width: 100%;
}

.contact-input:focus {
  outline: none;
  border-color: var(--color-red);
}

.contact-textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-submit {
  align-self: flex-start;
  border: none;
  cursor: pointer;
}

.contact-success {
  background: #e8f5e9;
  color: #2e7d32;
  border-radius: 6px;
  padding: 16px;
  font-family: var(--font-text);
  font-size: 0.9rem;
}

/* ---------- Index des rubriques (A-Z) ---------- */
.rubrique-index-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-text);
  font-size: 0.85rem;
}

.rubrique-index-nav > span:first-child {
  color: var(--color-icon-grey);
  font-weight: 600;
  margin-right: 4px;
}

.rubrique-index-nav a {
  color: var(--color-red);
  font-weight: 700;
  text-decoration: none;
}

.rubrique-index-nav a:hover {
  text-decoration: underline;
}

.rubrique-index-nav-disabled {
  color: var(--color-border-2);
  font-weight: 700;
}

.rubrique-index-group {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
  scroll-margin-top: 90px;
}

.rubrique-index-group:last-child {
  border-bottom: none;
}

.rubrique-index-letter {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--color-red);
  margin: 0 0 14px;
}

.rubrique-index-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 20px;
}

.rubrique-index-link {
  font-family: var(--font-text);
  font-size: 0.88rem;
  color: var(--color-text);
  text-decoration: none;
}

.rubrique-index-link:hover {
  color: var(--color-red);
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  .rubrique-index-cols {
    grid-template-columns: 1fr;
  }
}

/* ---------- Page Rubrique : filtres + liste d'articles ---------- */
.rubrique-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.rf-label {
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-text);
}

.rf-select {
  font-family: var(--font-text);
  font-size: 0.85rem;
  border: 1px solid var(--color-border-2);
  border-radius: 6px;
  padding: 8px 12px;
  color: var(--color-text);
  background: #fff;
}

.rf-search {
  font-family: var(--font-text);
  font-size: 0.85rem;
  border: 1px solid var(--color-border-2);
  border-radius: 6px;
  padding: 8px 14px;
  flex: 1;
  min-width: 160px;
}

.rf-search:focus,
.rf-select:focus {
  outline: none;
  border-color: var(--color-red);
}

@media (max-width: 767.98px) {
  .rubrique-filters {
    flex-direction: column;
    align-items: stretch;
  }
}

.rubrique-article-list {
  display: flex;
  flex-direction: column;
}

.rubrique-article {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.rubrique-article:last-child {
  border-bottom: none;
}

.ra-date {
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--color-red);
  text-transform: uppercase;
  margin: 0 0 8px;
}

.ra-title {
  border-left: 3px solid var(--color-red);
  padding-left: 14px;
  font-family: var(--font-display);
  font-variation-settings: "wdth" 86;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.35;
  margin: 0 0 8px;
}

.ra-excerpt {
  font-family: var(--font-text);
  font-size: 0.88rem;
  color: var(--color-text);
  line-height: 1.5;
  margin: 0 0 0 17px;
}

/* ---------- Calendrier "Parcourir les éditions" ---------- */
.ec-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.ec-month {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 90;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-navy);
  text-transform: capitalize;
}

.ec-nav {
  border: none;
  background: transparent;
  color: var(--color-icon-grey);
  font-size: 1.1rem;
  padding: 4px 8px;
  cursor: pointer;
}

.ec-nav:hover {
  color: var(--color-red);
}

.ec-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.ec-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-family: var(--font-text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--color-icon-grey);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.ec-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.ec-day {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  font-family: var(--font-text);
  font-size: 0.85rem;
  color: var(--color-text);
  text-decoration: none;
}

.ec-day:not(.ec-day-empty):not(.ec-day-disabled):hover {
  background: var(--color-red);
  color: #fff;
}

.ec-day-disabled {
  color: var(--color-border-2);
  cursor: not-allowed;
}

.ec-day-today {
  font-weight: 700;
  border: 1px solid var(--color-red);
  color: var(--color-red);
}

/* ==========================================================
   Page article
   ========================================================== */
.article-card {
  padding: 30px 35px;
}

.article-toprow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.article-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.article-share-label {
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-icon-grey);
}

.share-icons {
  display: flex;
  gap: 8px;
}

.share-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #fff;
  transition: filter 0.15s ease;
}

.share-icon:hover {
  filter: brightness(1.1);
}

.share-x {
  background: #000;
}

.share-fb {
  background: #1877f2;
}

.share-li {
  background: #0a66c2;
}

.share-copy {
  background: #f1f1f1;
  color: var(--color-icon-grey);
}

.article-actions-sep {
  width: 1px;
  height: 24px;
  background: var(--color-border-2);
}

.article-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.2;
    color: #000;
    margin: 0 0 20px;
}



.article-lead {
  border-left: 3px solid var(--color-red);
  padding-left: 16px;
  font-family: var(--font-text);
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--color-text);
  margin: 0 0 20px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-text);
  font-size: 0.85rem;
  color: var(--color-icon-grey);
  margin-bottom: 24px;
}

.article-meta i {
  margin-right: 4px;
}

.article-meta-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-border-2);
}

.article-hero {
  margin: 0 0 8px;
}

.article-hero img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.article-hero figcaption {
  font-family: var(--font-text);
  font-size: 0.8rem;
  color: var(--color-icon-grey);
  margin-top: 8px;
}

.article-body {
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--color-text);
  margin-top: 24px;
}

.article-body p {
  margin: 0 0 20px;
}

.article-body a {
  color: var(--color-red) !important;
  text-decoration: underline !important;
}

.article-pullquote {
  border-left: 4px solid var(--color-red);
  padding-left: 20px;
  margin: 28px 0;
}

.article-pullquote p {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 90;
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.4;
  color: #000;
  margin: 0 0 8px;
}

.article-pullquote cite {
  font-family: var(--font-text);
  font-style: normal;
  font-size: 0.85rem;
  color: var(--color-icon-grey);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.tag-pill-outline {
  display: inline-block;
  border: 1px solid var(--color-blue);
  color: var(--color-blue);
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.tag-pill-outline:hover {
  background: var(--color-blue);
  color: #fff;
}

.related-articles {
  margin-top: 24px;
}

.related-articles h3 {
  font-family: var(--font-label);
  color: var(--color-blue);
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  margin: 0;
}

.related-divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
  margin: 16px 0;
}

.related-articles a.article-row {
  text-decoration: none;
  color: inherit;
  border-bottom: none;
  padding: 0;
}

.related-articles .ar-content {
  gap: 8px;
}

.related-articles .ar-image {
  flex: 0 0 110px;
}

.related-articles .ar-image img {
  width: 110px;
  height: 80px;
}

.related-articles .ar-title {
  font-size: 0.92rem;
}

@media (max-width: 767.98px) {
  .article-card {
    padding: 20px;
  }

  .article-title {
    font-size: 1.5rem;
  }

  .article-hero img {
    max-height: 260px;
  }

  .article-toprow {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Barre d'édition ---------- */

.edition-bar .edition-label {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 200;
  font-size: 1.5rem;
  text-transform: uppercase;
}

.edition-bar .edition-label strong {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
}


.edition-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
    font-family: Bahnschrift\:Bold, "Archivo Expanded", sans-serif;
}



.edition-bar .edition-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-edition {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 10px;
  border-radius: 4px;
}

.btn-edition-outline {
  background: #fff;
  color: var(--color-red);
  border: 1px solid var(--color-red);
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-edition-outline:hover {
  background: var(--color-red);
  color: #fff;
}

.btn-edition-fill {
  background: var(--color-red);
  color: #fff;
  font-weight: 600;
  padding: 10px 16px;
  transition: filter 0.15s ease;
}

.btn-edition-fill:hover {
  filter: brightness(1.05);
  color: #fff;
}

/* ---------- Card générique ---------- */
.card-block {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}

/* ---------- Article vedette ---------- */
.featured-article {
  display: flex;
  flex-direction: column-reverse;
  border-radius: 3px;
}

.featured-article .fa-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.featured-article .fa-image {
  flex: 0 0 auto;
}

.featured-article .fa-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.headline-lg {
  font-weight: 800;
  font-variation-settings: "wdth" 80;
  font-size: 1.6rem;
  line-height: 1.2;
  color: #000;
  margin: 0;
}

.text-body {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 0.81rem;
  color: var(--color-text);
  line-height: 1.4;
  margin: 0;
}

/* ---------- Mini actus (3 colonnes) + logement ---------- */
.mini-news-card {
  background: #fff;
  border-radius: 4px;
  padding: 25px 0;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.mini-news {
  display: flex;
  padding: 0 25px;
}

.mini-news .mini-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mini-news .mini-divider {
  width: 1px;
  background: var(--color-border);
  flex-shrink: 0;
  margin: 0 20px;
}

.mini-col .mini-label {
  font-family: var(--font-text);
  color: var(--color-red);
  font-weight: 700;
  font-size: 0.69rem;
  text-transform: uppercase;
  letter-spacing: 0.55px;
}

.mini-col .mini-title {
  border-left: 2px solid var(--color-red);
  padding-left: 10px;
  font-family: var(--font-display);
  font-variation-settings: "wdth" 86;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.3;
  color: #000;
}

.mini-col .mini-text {
  font-family: var(--font-text);
  font-size: 0.81rem;
  color: var(--color-text);
  line-height: 1.4;
  margin: 0;
}

.mini-news-divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
}

/* ---------- Article encadré rouge ---------- */
.logement-card {
  margin: 0;
  width: auto;
  max-width: 100%;
  background: var(--color-red-dark);
  border-radius: 4px;
  overflow: hidden;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.logement-card.has-image {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 35%);
}

.logement-card .lc-content {
  min-width: 0;
  padding: 35px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.logement-card .lc-image {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: transparent;
}

.logement-card .lc-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  object-position: center;
  margin: auto;
  background: #fff;
}

.tag-pill-white {
  display: inline-block;
  background: #fff;
  color: var(--color-red);
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 4px;
}

.logement-card .lc-divider {
  width: 100%;
  height: 1px;
  background: var(--color-red-line);
}

.logement-card h3 {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

.logement-card h3 a {
  color: #fff;
  text-decoration: none;
}

.logement-card p {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 0.75rem;
  line-height: 1.5;
  margin: 0;
}

/* Sans photo : aucune colonne vide et paragraphe justifié. */
.logement-card.no-image {
  grid-template-columns: 1fr;
}

.logement-card.no-image .lc-content {
  width: 100%;
}

.logement-card.no-image p {
  text-align: justify;
}

/* ---------- 6e article exceptionnel ---------- */
.exceptional-card {
  margin: 0;
  background: #fff;
  color: #000;
  border-radius: 4px;
  overflow: hidden;
}

.exceptional-card .ec-content {
  padding: 35px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.exceptional-card .exceptional-tag {
  display: inline-block;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 0.75rem;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.exceptional-card .ec-divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
}

.exceptional-card h3 {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
  color: #000;
}

.exceptional-card h3 a {
  color: #000;
  text-decoration: none;
}

.exceptional-card p {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 0.75rem;
  line-height: 1.5;
  margin: 0;
  color: #000;
}

.exceptional-card .exceptional-read-more {
  color: #000;
  font-weight: 600;
  text-decoration: underline;
}

/* ---------- Bandeau publicitaire ---------- */
.ad-banner img {
  width: 100%;
  object-fit: cover;
  border-radius: 0px;
  display: block;
}

/* ---------- Articles les plus lus ---------- */
.most-read-card {
  background: #fff;
  border-radius: 4px;
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.most-read-card h3 {
  font-family: var(--font-label);
  color: var(--color-blue);
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  margin: 0;
}

.most-read-divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
}

.most-read-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
}

.most-read-num {
  font-family: var(--font-label);
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--color-border);
  flex: 0 0 32px;
  transition: color 0.15s ease;
}

.most-read-item:hover .most-read-num,
.most-read-item:hover .mr-title {
  color: var(--color-red);
}

.most-read-item .mr-tag {
  font-family: var(--font-text);
  color: var(--color-red);
  font-weight: 700;
  font-size: 0.69rem;
  text-transform: uppercase;
  letter-spacing: 0.55px;
  display: block;
  margin-bottom: 6px;
}

.most-read-item .mr-title {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 86;
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1.3;
  color: #000;
  margin: 0;
  transition: color 0.15s ease;
}

.see-more {
  display: flex;
  justify-content: flex-end;
}

.see-more span {
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 0.81rem;
  text-transform: uppercase;
  color: var(--color-red);
  cursor: pointer;
}

.see-more span:hover {
  filter: brightness(0.75);
}

/* ---------- Newsletter ---------- */
.newsletter-box {
  background: var(--color-navy);
  border-radius: 4px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.newsletter-box .nb-eyebrow-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.newsletter-box .nb-eyebrow {
  font-family: var(--font-text);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--color-grey-muted);
  margin: 0;
}

.newsletter-box .nb-divider {
  width: 100%;
  height: 1px;
  background: var(--color-blue-line);
  margin-top: 8px;
}

.newsletter-box .nb-heading-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-box h3 {
  color: #fff;
  font-weight: 700;
  font-variation-settings: "wdth" 86;
  font-size: 1.375rem;
  line-height: 1.2;
  margin: 0;
}

.newsletter-box p {
  font-family: var(--font-text);
  font-size: 0.81rem;
  color: #fff;
  opacity: 0.7;
  line-height: 1.4;
  margin: 0;
}

.btn-newsletter {
  display: block;
  text-align: center;
  background: var(--color-red);
  color: #fff;
  font-family: var(--font-text);
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 0.69rem;
  transition: filter 0.15s ease;
}

.btn-newsletter:hover {
  filter: brightness(1.05);
  color: #fff;
}

.newsletter-box .nb-checks {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--font-text);
  font-size: 0.69rem;
  color: var(--color-grey-muted);
}

.newsletter-box .nb-checks .check {
  color: var(--color-gold);
  margin-right: 4px;
}

.newsletter-box .nb-checks .nb-sep {
  color: var(--color-blue-line);
}

/* variante large (section rubriques + newsletter) */
.newsletter-box.newsletter-box-lg {
  padding: 32px;
  gap: 24px;
}

.newsletter-box.newsletter-box-lg h3 {
  font-size: 1.625rem;
}

.newsletter-box.newsletter-box-lg .btn-newsletter {
  padding: 14px 16px;
}

/* ---------- Carte magazine ---------- */
.magazine-card {
  position: relative;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 403 / 545;
}

.magazine-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Rubriques ---------- */
.rubriques-card {
  background: #fff;
  border-radius: 4px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.rubriques-card .rc-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rubriques-card h3 {
  font-family: var(--font-text);
  color: var(--color-blue);
  font-weight: 700;
  font-size: 0.81rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin: 0;
}

.rubriques-card .rc-divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
}

.rubriques-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.rubriques-list a {
  font-family: var(--font-text);
  color: var(--color-red);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.69rem;
  letter-spacing: 0.55px;
}

.rubriques-card .see-all {
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-text);
  white-space: nowrap;
}

/* ---------- Widgets sidebar (Sélection JO / Sur le site de l'AMF) ---------- */
.sidebar-widget {
  background: #fff;
  border-radius: 4px;
  padding: 30px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-widget h3 {
  font-family: var(--font-text);
  color: var(--color-blue);
  font-weight: 700;
  font-size: 0.81rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin: 0;
}

.sidebar-widget .sw-divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
}

.sidebar-widget .sw-body {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.sidebar-widget .sw-title {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1.4;
  color: #000;
  margin: 0;
}

.sidebar-widget p {
  font-family: var(--font-text);
  font-size: 0.81rem;
  color: var(--color-text);
  line-height: 1.4;
  margin: 0;
}

.sidebar-widget .sw-link-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.sidebar-widget .sw-link {
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 0.81rem;
  text-transform: uppercase;
  color: var(--color-icon-grey);
  cursor: pointer;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  display: inline-block;
}

.carousel-dots span.active {
  background: var(--color-red);
  width: 12px;
  height: 12px;
}

/* ---------- Slider "Sur le site de l'AMF" (Bootstrap carousel restylé) ---------- */
.sidebar-widget .carousel-item .sw-body {
  padding: 0;
}

.sidebar-widget .sw-title a,
.sidebar-widget .sw-link {
  color: inherit;
  text-decoration: none;
}

.sidebar-widget .sw-title a:hover {
  color: var(--color-red);
}

.sidebar-widget .sw-link-inline {
  color: #000;
  text-decoration: none;
}

.sidebar-widget .sw-link-inline:hover {
  color: var(--color-red);
}

.sw-carousel-dots {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.sw-carousel-dots [data-bs-target] {
  box-sizing: content-box;
  width: 8px;
  height: 8px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 50%;
  background-color: var(--color-border);
  opacity: 1;
  text-indent: -9999px;
  transition: background-color 0.15s ease, width 0.15s ease, height 0.15s ease;
}

.sw-carousel-dots [data-bs-target].active {
  background-color: var(--color-red);
  width: 12px;
  height: 12px;
}

/* ---------- Section basse : Rubriques + Newsletter ---------- */
.bottom-row {
  display: flex;
  gap: 30px;
  align-items: stretch;
  margin-top: 20px;
}

.bottom-row .newsletter-box-lg {
  flex: 0 0 auto;
  width: 100%;
  max-width: 485px;
}

/* ---------- Mise en page principale (colonne contenu / sidebar) ---------- */
.home-columns {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.home-main-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  flex: 1 1 700px;
}

.home-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1 1 300px;
  min-width: 0;
  position: sticky;
  top: 20px;
  align-self: flex-start;
}

/* ---------- Responsive ---------- */
@media (min-width: 768px) {
  .featured-article {
    flex-direction: row;
  }

  .featured-article .fa-content {
    flex: 1 1 60%;
  }

  .featured-article .fa-image {
    flex: 0 0 260px;
  }

  .featured-article .fa-image img {
    height: 100%;
  }

  .mini-news {
    flex-direction: row;
  }

  .mini-news .mini-divider {
    width: 1px;
    height: auto;
  }

}

@media (min-width: 992px) {
  .home-sidebar-col {
    top: 90px;
  }

  .bottom-row {
    flex-wrap: nowrap;
  }
}

@media (max-width: 991.98px) {
  .logement-card.has-image {
    grid-template-columns: 1fr;
  }

  .logement-card .lc-image {
    padding: 0 24px 24px;
  }

  .logement-card .lc-image img {
    width: auto;
    max-width: 100%;
    max-height: 350px;
  }

  .exceptional-card {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Pub 7 mobile masquée par défaut sur ordinateur */
.ad-pub-7-mobile {
  display: none;
}

@media (max-width: 991.98px) {

  /* Colonnes empilées en pleine largeur */
  .home-columns {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  /*
   * On aplatit les 2 colonnes afin de pouvoir
   * réordonner tous les blocs sur mobile
   */
  .home-main-col,
  .home-sidebar-col {
    display: contents;
  }

  /*
   * On aplatit également mini-news-card
   * pour pouvoir placer PUB 9 et PUB 10
   * autour du bloc Focus
   */
  .home-main-col > .mini-news-card {
    display: contents;
  }


  /* =====================================================
     ORDRE MOBILE
     ===================================================== */

  /* PUB 7 : tout en haut */
  .ad-pub-7-mobile {
    display: block;
    order: 1;
    width: 100%;
  }


  /* Article vedette */
  .home-main-col > .featured-article {
    order: 2;
  }


  /* PUB 5 juste sous l'article vedette */
  .home-main-col > .ad-pub-5 {
    order: 3;
  }


  /* PUB 8 juste après PUB 5 */
  .home-main-col > .ad-pub-8 {
    order: 4;
  }


  /* Les 3 articles côte à côte deviennent le bloc suivant */
  .mini-news-card > .mini-news {
    order: 5;

    background: #fff;
    border-radius: 4px;
    padding: 25px;
  }


  /* On masque le séparateur sur mobile */
  .mini-news-card > .mini-news-divider {
    display: none;
  }


  /* PUB 9 : juste au-dessus du bloc rouge Focus */
  .mini-news-card > .ad-pub-9 {
    order: 6;
  }


  /* Bloc rouge Focus */
  .mini-news-card > .logement-card {
    order: 7;
  }


  /* PUB 10 : juste sous le bloc rouge Focus */
  .mini-news-card > .ad-pub-10 {
    order: 8;
  }


  /* Éventuel 6e article */
  .mini-news-card > .exceptional-card {
    order: 9;
  }


  /* Articles les plus lus */
  .home-main-col > .most-read-card {
    order: 10;
  }


  /* =====================================================
     SIDEBAR
     ===================================================== */

  .home-sidebar-col > .newsletter-box {
    order: 20;
  }

  .home-sidebar-col > .magazine-card {
    order: 21;
  }

  .home-sidebar-col > .sidebar-widget {
    order: 22;
  }


  /* =====================================================
     PUBS 11 ET 12 : TOUT EN BAS
     ===================================================== */

  .home-sidebar-col > .ad-pub-11 {
    order: 98;
  }

  .home-sidebar-col > .ad-pub-12 {
    order: 99;
  }


  /* On masque la PUB 7 version desktop sur mobile */
  .ad-pub-7-desktop {
    display: none !important;
  }


  /* =====================================================
     TAILLE DES PUBLICITÉS MOBILE
     ===================================================== */

  .ad-banner {
    width: 100%;
    max-width: 100%;
  }

  .ad-banner img.pub {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }


  /* Sidebar non sticky sur mobile */
  .home-sidebar-col {
    position: static;
  }


  /* Partie basse */
  .bottom-row {
    flex-direction: column;
  }

  .bottom-row .newsletter-box-lg {
    max-width: none;
  }
}


/* =====================================================
   VERSION DESKTOP
   ===================================================== */

@media (min-width: 992px) {

  /* La PUB 7 mobile disparaît */
  .ad-pub-7-mobile {
    display: none !important;
  }

  /* La PUB 7 desktop reste visible */
  .ad-pub-7-desktop {
    display: block;
  }
}

/* Mini-actus empilees (une colonne) sur smartphone */
@media (max-width: 767.98px) {
  .mini-news {
    flex-direction: column;
    gap: 18px;
  }
  .mini-news .mini-divider {
    width: 100%;
    height: 1px;
    margin: 0;
  }

  /* Logo plus petit sur smartphone */
  .logo-mark img { width: 190px; }

  /* Pub du haut : plus de hauteur fixe (sinon gros vide sous la banniere) */
  .header-pub { height: auto !important; }
  .header-pub-wrap { margin-top: 16px !important; }
}


/* Pagination (Bootstrap) aux couleurs du site */
.pagination {
  --bs-pagination-color: var(--color-blue);
  --bs-pagination-hover-color: #fff;
  --bs-pagination-hover-bg: var(--color-blue);
  --bs-pagination-hover-border-color: var(--color-blue);
  --bs-pagination-focus-color: var(--color-blue);
  --bs-pagination-focus-box-shadow: 0 0 0 0.2rem rgba(33, 82, 155, 0.25);
  --bs-pagination-active-bg: var(--color-blue);
  --bs-pagination-active-border-color: var(--color-blue);
}


/* =========================================================
   TYPOGRAPHIE FINALE DES TITRES D'ARTICLES
   Placé en fin de fichier pour prendre le dessus sur
   les anciennes règles Hubot Sans de la maquette.
   ========================================================= */
.article-title,
.headline-lg,
.mini-col .mini-title,
.logement-card h3,
.exceptional-card h3,
.article-row .ar-title,
.ra-title,
.most-read-item .mr-title {
  font-family: var(--font-article-title) !important;
  font-weight: 700 !important;
  font-variation-settings: normal !important;
}

/* EXERGUE */
.article-pullquote {
    border-left: 4px solid #bf2a37;
    padding: 4px 0 4px 22px;
    margin: 32px 0;
}

.article-pullquote p {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    line-height: 1.4;
    color: #071c3c;
    margin: 0 0 12px;
}

.article-pullquote cite {
    display: block;
    font-family: var(--font-text);
    font-style: normal;
    font-size: 0.9rem;
    color: #6c757d;
}

/* =========================================================
   HOME - RUBRIQUES EN CAPSULE ROUGE
   ========================================================= */

/* Article vedette */
.home-main:not(.article-page) .featured-article .tag-red,

/* 3 petits articles */
.home-main:not(.article-page) .mini-news .mini-label,

/* Article exceptionnel éventuel */
.home-main:not(.article-page) .exceptional-tag {
    display: inline-block;
    align-self: flex-start;

    background: var(--color-red);
    color: #fff !important;

    font-family: var(--font-text);
    font-weight: 700;
    font-size: 0.69rem;
    line-height: 1;

    text-transform: uppercase;
    letter-spacing: 0.55px;

    padding: 7px 12px;
    border-radius: 20px;

    text-decoration: none;
}

.home-main:not(.article-page) .featured-article .tag-red:hover,
.home-main:not(.article-page) .mini-news .mini-label:hover,
.home-main:not(.article-page) .exceptional-tag:hover {
    background: var(--color-red-dark);
    color: #fff !important;
}

/* =========================================================
   CADRE ROUGE - BADGES FOCUS + RUBRIQUE
   ========================================================= */

.logement-card .lc-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.logement-card .focus-pill,
.logement-card .tag-pill-white {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    background: #fff;
    color: var(--color-red) !important;

    font-family: var(--font-text);
    font-weight: 700;
    font-size: 0.75rem;
    line-height: 1;

    padding: 7px 12px;
    border-radius: 20px;

    text-decoration: none;
}

.logement-card .focus-pill i {
    font-size: 0.8rem;
}

.logement-card .tag-pill-white:hover {
    background: #f5f5f5;
    color: var(--color-red-dark) !important;
}

/* Titre du bloc Focus : même taille que les 3 articles au-dessus */
.logement-card h3,
.logement-card h3 a {
    font-family: var(--font-article-title);
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.3;
}