/* ════════════════════════════════════════════════════════════
   VALR POST — Single article (post_type=post)
   Inspiré du proto-post-v1, aligné sur les conventions
   des autres singles VALR (event, service, rental).

   Tout est scopé sous #valrpost. Le contenu éditorial est rendu
   via the_content() (.valrpost-content) avec une typographie
   éditoriale dédiée.
════════════════════════════════════════════════════════════ */

html { scroll-behavior: smooth; }

#valrpost {
  --bg: #FFFFFF;
  --bg-soft: #F7F7F8;
  --bg-subtle: #FAFAFB;
  --border: #ECECEE;
  --border-md: #DDDDE0;
  --ink: #14131F;
  --ink-soft: #3A3850;
  --ink-muted: #74738A;
  --ink-light: #ADAABF;
  --accent: #F91942;
  --accent-soft: #FEE7EC;
  --accent-hover: #E20D36;
  --green: #16A34A;
  --green-soft: #DCFCE7;
  --amber: #D97706;
  --shadow-xs: 0 1px 2px rgba(20,19,31,.04);
  --shadow-sm: 0 1px 3px rgba(20,19,31,.06), 0 1px 2px rgba(20,19,31,.04);
  --shadow-md: 0 4px 12px rgba(20,19,31,.06), 0 2px 4px rgba(20,19,31,.04);
  --shadow-lg: 0 12px 32px rgba(20,19,31,.10), 0 4px 8px rgba(20,19,31,.04);
  --r-sm: 8px; --r: 12px; --r-lg: 16px; --r-xl: 20px; --r-pill: 999px;
  font-family: 'Raleway', system-ui, sans-serif;
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'cv11';
  display: block;
  position: relative;
}
/* Reset border-box universel, mais reset margin/padding limité aux éléments
 * de chrome (hors .valrpost-content où Gutenberg/the_content() pose ses
 * propres paddings — listes à puces, tables, blockquotes, etc.). */
#valrpost *, #valrpost *::before, #valrpost *::after { box-sizing: border-box; }
#valrpost h1, #valrpost h2, #valrpost h3, #valrpost h4, #valrpost h5, #valrpost h6,
#valrpost p, #valrpost figure, #valrpost blockquote, #valrpost ul, #valrpost ol,
#valrpost dl, #valrpost dd { margin: 0; padding: 0; }
#valrpost img { max-width: 100%; height: auto; }
#valrpost a { color: inherit; text-decoration: none; }
#valrpost button { font-family: inherit; }
/* Listes hors .valrpost-content : bullets désactivés (chrome only) */
#valrpost > *:not(.page) ul, #valrpost > *:not(.page) ol, #valrpost > *:not(.page) li,
#valrpost .title-block ul, #valrpost .title-block ol,
#valrpost .tag-row, #valrpost .breadcrumb, #valrpost .share-row,
#valrpost .foot-links, #valrpost .author-card ul,
#valrpost .sidebar > * ul { list-style: none; }

/* ── Reset anti-collision (Bootstrap/Listeo définissent .container,
   .btn, .page, .row… globalement) ── */
#valrpost .container,
#valrpost .page,
#valrpost .page-wrap,
#valrpost .sidebar,
#valrpost .hero,
#valrpost .btn,
#valrpost .tag,
#valrpost .sec,
#valrpost .row,
#valrpost .card {
  width: auto; max-width: none; min-width: 0;
  margin: 0; float: none; clear: none;
  background: none; border: 0; box-shadow: none;
}

#valrpost h1, #valrpost h2, #valrpost h3, #valrpost h4 {
  font-family: 'Poppins', 'Raleway', sans-serif;
  letter-spacing: -0.02em;
}
#valrpost .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-feature-settings: 'tnum'; }

/* ════════════════════════════════════════
   PAGE WRAP (1 col mobile, 2 cols desktop ≥1024px)
════════════════════════════════════════ */
#valrpost .page { background: var(--bg-soft); padding: 14px 0 0; min-height: 60vh; }
#valrpost .page-wrap { max-width: 100%; }
#valrpost .container { padding: 0 16px; max-width: 100%; }

/* Reveal on scroll */
#valrpost .reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .55s cubic-bezier(.22,.61,.36,1), transform .55s cubic-bezier(.22,.61,.36,1);
}
#valrpost .reveal.in { opacity: 1; transform: none; }

/* ════════════════════════════════════════
   HERO — inline image (featured)
════════════════════════════════════════ */
#valrpost .hero {
  position: relative;
  height: 260px;
  background: #1c1b27;
  overflow: hidden;
  margin-bottom: 16px;
  border-radius: 0; /* full-bleed sur mobile */
}
#valrpost .hero-img-wrap { position: absolute; inset: 0; overflow: hidden; }
#valrpost .hero-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
#valrpost .hero-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,.4) 100%);
}
#valrpost .hero-empty {
  display: flex; align-items: center; justify-content: center;
  height: 100%; color: #56556a;
}
#valrpost .hero-empty svg { width: 54px; height: 54px; }
#valrpost .hero-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(255,255,255,.95); color: var(--ink);
  padding: 5px 11px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
}
#valrpost .hero-badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 3px rgba(249,25,66,.25);
}

/* ────────────────────────────────────────
   TITLE BLOCK
────────────────────────────────────────── */
#valrpost .title-block { padding: 4px 0 18px; }
#valrpost .breadcrumb {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 12px; font-weight: 600;
}
#valrpost .breadcrumb a { color: var(--ink-muted); transition: color .15s; }
#valrpost .breadcrumb a:hover { color: var(--accent); }
#valrpost .breadcrumb span { color: var(--ink-light); }

#valrpost .tag-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
#valrpost .tag {
  font-size: 11px; font-weight: 600; padding: 4px 10px;
  border-radius: var(--r-pill); letter-spacing: .02em;
  display: inline-flex; align-items: center; gap: 5px; text-decoration: none;
}
#valrpost .tag.accent { background: var(--accent-soft); color: var(--accent); }
#valrpost .tag.outline { background: white; color: var(--ink-soft); border: 1px solid var(--border); }

#valrpost h1.property-title {
  font-size: 22px; font-weight: 600; line-height: 1.2;
  color: var(--ink); margin-bottom: 8px;
}
#valrpost .title-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  color: var(--ink-muted); font-size: 13.5px;
}
#valrpost .title-meta svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }
#valrpost .title-meta strong { color: var(--ink-soft); font-weight: 600; }
#valrpost .title-meta a { color: var(--ink-soft); font-weight: 600; }
#valrpost .title-meta a:hover { color: var(--accent); }

/* ════════════════════════════════════════
   THE_CONTENT() — typographie éditoriale
════════════════════════════════════════ */
#valrpost .valrpost-content {
  font-size: 16px; line-height: 1.7; color: var(--ink-soft);
  padding-bottom: 8px;
}
#valrpost .valrpost-content > * { margin-bottom: 1.1em; }
#valrpost .valrpost-content > *:last-child { margin-bottom: 0; }

#valrpost .valrpost-content h2 {
  font-size: 22px; font-weight: 600; color: var(--ink);
  line-height: 1.25; margin-top: 1.8em; margin-bottom: .6em;
  scroll-margin-top: 70px;
}
#valrpost .valrpost-content h3 {
  font-size: 18px; font-weight: 600; color: var(--ink);
  line-height: 1.3; margin-top: 1.4em; margin-bottom: .5em;
  scroll-margin-top: 70px;
}
#valrpost .valrpost-content h4 {
  font-size: 15px; font-weight: 700; color: var(--ink);
  text-transform: uppercase; letter-spacing: .04em;
  margin-top: 1.2em; margin-bottom: .4em;
}
#valrpost .valrpost-content p { margin-bottom: 1.1em; }
/* Liens éditoriaux : soulignés UNIQUEMENT dans les contextes texte
 * (paragraphes, listes, titres, citations). Les liens insérés par des
 * widgets/blocs (cards de listings, boutons Gutenberg, galeries…) ne
 * sont pas affectés. */
#valrpost .valrpost-content p a,
#valrpost .valrpost-content li a,
#valrpost .valrpost-content h2 a,
#valrpost .valrpost-content h3 a,
#valrpost .valrpost-content h4 a,
#valrpost .valrpost-content blockquote a,
#valrpost .valrpost-content td a {
  color: var(--accent); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px;
}
#valrpost .valrpost-content p a:hover,
#valrpost .valrpost-content li a:hover,
#valrpost .valrpost-content h2 a:hover,
#valrpost .valrpost-content h3 a:hover,
#valrpost .valrpost-content h4 a:hover,
#valrpost .valrpost-content blockquote a:hover,
#valrpost .valrpost-content td a:hover { color: var(--accent-hover); }
#valrpost .valrpost-content strong { color: var(--ink); font-weight: 700; }
#valrpost .valrpost-content em { font-style: italic; }

#valrpost .valrpost-content ul,
#valrpost .valrpost-content ol { margin-left: 1.4em; margin-bottom: 1.2em; }
#valrpost .valrpost-content ul li { list-style: disc; margin-bottom: .35em; }
#valrpost .valrpost-content ol li { list-style: decimal; margin-bottom: .35em; }
#valrpost .valrpost-content ul li::marker { color: var(--accent); }
#valrpost .valrpost-content ol li::marker { color: var(--accent); font-weight: 600; }

#valrpost .valrpost-content blockquote {
  margin: 1.4em 0; padding: 4px 0 4px 18px;
  border-left: 3px solid var(--accent);
  font-size: 18px; font-style: italic; color: var(--ink);
  line-height: 1.45; font-family: 'Poppins', 'Raleway', sans-serif;
}
#valrpost .valrpost-content blockquote cite,
#valrpost .valrpost-content blockquote footer {
  display: block; margin-top: .6em; font-size: 13px;
  font-style: normal; color: var(--ink-muted); font-weight: 500;
  font-family: 'Raleway', sans-serif;
}

/* Pas de margin/border-radius forcés sur img/figure : on laisse Gutenberg
 * gérer les alignements (alignwide, alignfull, colonnes, galeries…). */
#valrpost .valrpost-content figcaption {
  font-size: 12.5px; color: var(--ink-muted); margin-top: 8px;
  text-align: center; font-style: italic;
}

#valrpost .valrpost-content hr {
  border: none; height: 1px;
  background: linear-gradient(to right, transparent, var(--border-md), transparent);
  margin: 2.4em auto;
}

#valrpost .valrpost-content table {
  width: 100%; border-collapse: collapse;
  background: white; border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow-xs); margin: 1.6em 0; font-size: 14px;
}
#valrpost .valrpost-content th,
#valrpost .valrpost-content td {
  padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left;
}
#valrpost .valrpost-content th {
  background: var(--bg-soft); font-weight: 600; color: var(--ink);
  font-family: 'Poppins', sans-serif;
}

#valrpost .valrpost-content pre {
  background: var(--ink); color: #f7f7f8;
  padding: 14px 16px; border-radius: var(--r);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px; line-height: 1.5; overflow-x: auto;
}
#valrpost .valrpost-content code {
  background: var(--bg-soft); color: var(--accent);
  padding: 2px 6px; border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9em;
}
#valrpost .valrpost-content pre code { background: none; color: inherit; padding: 0; }

/* Gutenberg / WP core blocks */
#valrpost .valrpost-content .wp-block-image { margin: 1.6em 0; }
#valrpost .valrpost-content .wp-block-image img { width: 100%; height: auto; }
#valrpost .valrpost-content .wp-block-pullquote {
  margin: 2em 0; padding: 20px; border-top: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent); text-align: center;
  font-family: 'Poppins', sans-serif; font-size: 19px; color: var(--ink);
}
#valrpost .valrpost-content .wp-block-button__link {
  display: inline-block; background: var(--accent); color: white !important;
  padding: 12px 22px; border-radius: var(--r); font-weight: 600;
  text-decoration: none; box-shadow: 0 6px 18px rgba(249,25,66,.35);
}
#valrpost .valrpost-content .wp-block-separator { margin: 2.4em auto; max-width: 200px; }

/* ════════════════════════════════════════
   ANCHOR BAR MOBILE (TOC auto depuis h2/h3)
════════════════════════════════════════ */
.valrpost-anchbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 49;
  background: #1d1f3c;
  border-bottom: 1px solid rgba(255,255,255,.08);
  opacity: 0; transform: translateY(-100%);
  transition: opacity .35s ease, transform .35s cubic-bezier(.22,.68,0,1.2);
  pointer-events: none;
  font-family: 'Raleway', system-ui, sans-serif;
}
.valrpost-anchbar.is-on { opacity: 1; transform: translateY(0); pointer-events: auto; }
.valrpost-anchbar-track {
  display: flex; align-items: center; height: 48px;
  padding: 0 12px; gap: 2px;
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
}
.valrpost-anchbar-track::-webkit-scrollbar { display: none; }
.valrpost-anchbar a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0 11px; height: 48px;
  font-size: 11.5px; font-weight: 500; letter-spacing: .03em;
  color: rgba(255,255,255,.55); text-decoration: none;
  white-space: nowrap; flex-shrink: 0;
  border-bottom: 2px solid transparent;
  transition: color .4s ease, border-bottom-color .4s ease;
}
.valrpost-anchbar a:hover { color: rgba(255,255,255,.9); }
.valrpost-anchbar a.is-active { color: #da667b; border-bottom-color: #da667b; }
.valrpost-anchbar .sep {
  width: 1px; height: 14px; background: rgba(255,255,255,.1);
  flex-shrink: 0; align-self: center;
}

/* ════════════════════════════════════════
   AUTHOR / SHARE / POST NAV / COMMENTS / FOOTER
════════════════════════════════════════ */
#valrpost .sec { margin-bottom: 26px; }
#valrpost .sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
#valrpost .sec-title {
  font-family: 'Poppins', sans-serif;
  font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em;
}
#valrpost .sec-link {
  font-size: 12.5px; color: var(--accent); font-weight: 600; text-decoration: none;
}

#valrpost .author-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 16px;
  display: flex; gap: 14px; align-items: flex-start;
  box-shadow: var(--shadow-xs);
}
#valrpost .author-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden;
}
#valrpost .author-avatar img { width: 100%; height: 100%; object-fit: cover; }
#valrpost .author-avatar svg { width: 26px; height: 26px; }
#valrpost .author-lab {
  font-size: 10px; font-weight: 600; color: var(--ink-muted);
  letter-spacing: .12em; text-transform: uppercase;
}
#valrpost .author-name {
  font-family: 'Poppins', sans-serif;
  font-size: 15px; font-weight: 700; color: var(--ink);
  letter-spacing: -0.01em; margin: 2px 0 6px;
}
#valrpost .author-bio { font-size: 13px; color: var(--ink-soft); line-height: 1.55; }
#valrpost .author-bio a { color: var(--accent); font-weight: 600; }
#valrpost .author-bio a:hover { text-decoration: underline; }

#valrpost .share-row { display: flex; gap: 8px; flex-wrap: wrap; }
#valrpost .share-btn {
  flex: 1; min-width: 72px;
  background: white; border: 1px solid var(--border);
  border-radius: var(--r); padding: 12px 8px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 500; color: var(--ink-soft);
  text-decoration: none; cursor: pointer;
  transition: background .15s, transform .12s;
  box-shadow: var(--shadow-xs); font-family: inherit;
}
#valrpost .share-btn:hover, #valrpost .share-btn:active { background: var(--bg-soft); transform: translateY(-1px); }
#valrpost .share-btn svg { width: 18px; height: 18px; }
#valrpost .share-btn.wa { color: #25D366; }
#valrpost .share-btn.x  { color: #14131F; }
#valrpost .share-btn.fb { color: #1877F2; }
#valrpost .share-btn.em { color: var(--accent); }
#valrpost .share-btn.link { color: var(--ink-soft); }

/* Foot card (pros + connectés) */
#valrpost .foot-block { margin-top: 12px; }
#valrpost .foot-card {
  background: var(--ink); color: white;
  border-radius: var(--r-lg); padding: 24px;
  display: grid; grid-template-columns: 1fr; gap: 22px;
  position: relative; overflow: hidden;
}
#valrpost .foot-card::after {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249,25,66,.22), transparent 70%);
  pointer-events: none;
}
@media (min-width: 560px) {
  #valrpost .foot-card { grid-template-columns: 1fr 1fr; gap: 32px; padding: 26px 28px; }
}
#valrpost .foot-col { position: relative; z-index: 1; }
#valrpost .foot-col + .foot-col {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px;
}
@media (min-width: 560px) {
  #valrpost .foot-col + .foot-col {
    border-top: none; border-left: 1px solid rgba(255,255,255,.1);
    padding-top: 0; padding-left: 32px;
  }
}
#valrpost .foot-col-h {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
#valrpost .foot-col-h svg { width: 14px; height: 14px; }
#valrpost .foot-links { display: flex; flex-direction: column; gap: 2px; }
#valrpost .foot-link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  color: white; text-decoration: none; padding: 9px 0;
  font-family: 'Poppins', sans-serif;
  font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color .15s, padding .15s;
}
#valrpost .foot-link:last-child { border-bottom: none; }
#valrpost .foot-link:hover { color: var(--accent); padding-left: 4px; }
#valrpost .foot-link svg {
  width: 14px; height: 14px; opacity: .5;
  transition: transform .15s, opacity .15s; flex-shrink: 0;
}
#valrpost .foot-link:hover svg { opacity: 1; transform: translateX(3px); }
#valrpost .foot-socials { display: flex; gap: 10px; margin-top: 16px; }
#valrpost .foot-social {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  display: flex; align-items: center; justify-content: center;
  color: white; text-decoration: none;
  transition: background .15s, transform .12s, border-color .15s;
}
#valrpost .foot-social:hover {
  background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.24);
  transform: translateY(-1px);
}
#valrpost .foot-social svg { width: 17px; height: 17px; }

/* Comments WP natifs */
#valrpost .valrpost-comments {
  background: white; border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 18px;
  box-shadow: var(--shadow-xs);
}
#valrpost .valrpost-comments .comment-list,
#valrpost .valrpost-comments ol.comment-list { list-style: none; padding: 0; margin: 0; }
#valrpost .valrpost-comments .comment-list li { list-style: none; }
#valrpost .valrpost-comments .comment-body {
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
#valrpost .valrpost-comments .comment-author { font-weight: 600; color: var(--ink); font-family: 'Poppins', sans-serif; }
#valrpost .valrpost-comments .comment-meta { font-size: 12px; color: var(--ink-muted); margin-bottom: 6px; }
#valrpost .valrpost-comments .comment-form input[type="text"],
#valrpost .valrpost-comments .comment-form input[type="email"],
#valrpost .valrpost-comments .comment-form input[type="url"],
#valrpost .valrpost-comments .comment-form textarea {
  width: 100%; background: var(--bg-soft); border: 1px solid transparent;
  border-radius: var(--r); padding: 11px 13px; font-family: inherit;
  font-size: 14px; color: var(--ink); outline: none;
  transition: all .2s; margin-bottom: 10px;
}
#valrpost .valrpost-comments .comment-form input:focus,
#valrpost .valrpost-comments .comment-form textarea:focus {
  background: white; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249,25,66,.12);
}
#valrpost .valrpost-comments .form-submit input[type="submit"] {
  background: var(--accent); color: white; border: none;
  border-radius: var(--r); font-weight: 600;
  cursor: pointer; box-shadow: 0 4px 12px rgba(249,25,66,.35);
}

/* Post navigation */
#valrpost .valrpost-nav { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 640px) { #valrpost .valrpost-nav { grid-template-columns: 1fr 1fr; } }
#valrpost .valrpost-nav a {
  display: flex; flex-direction: column; gap: 4px;
  background: white; border: 1px solid var(--border);
  border-radius: var(--r); padding: 12px 14px;
  text-decoration: none; box-shadow: var(--shadow-xs);
  transition: transform .15s, box-shadow .15s;
}
#valrpost .valrpost-nav a:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
#valrpost .valrpost-nav .lab {
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent);
}
#valrpost .valrpost-nav .ttl {
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.3;
}
#valrpost .valrpost-nav .next { text-align: right; }

/* ════════════════════════════════════════
   SIDEBAR (desktop only — hidden on mobile)
   Widgets WordPress restylés pour matcher le proto
════════════════════════════════════════ */
#valrpost .sidebar { display: none; }

#valrpost .sidebar .widget {
  background: white; border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 18px;
  box-shadow: var(--shadow-xs);
}
#valrpost .sidebar .widgettitle,
#valrpost .sidebar h2.widget-title,
#valrpost .sidebar h3.widget-title {
  font-family: 'Poppins', sans-serif;
  font-size: 11px; font-weight: 700; color: var(--ink-muted);
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 14px; padding: 0; border: none; background: none;
}
#valrpost .sidebar .widget_search form { display: flex; gap: 6px; }
#valrpost .sidebar .widget_search input[type="search"],
#valrpost .sidebar .widget_search input[type="text"] {
  flex: 1; background: var(--bg-soft); border: 1px solid transparent;
  border-radius: var(--r); padding: 10px 12px; font-family: inherit;
  font-size: 13px; color: var(--ink); outline: none; transition: all .2s;
}
#valrpost .sidebar .widget_search input:focus {
  background: white; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249,25,66,.12);
}
#valrpost .sidebar .widget_search input[type="submit"],
#valrpost .sidebar .widget_search button {
  background: var(--accent); color: white; border: none;
  border-radius: var(--r); padding: 0 14px; font-weight: 600; cursor: pointer;
}
#valrpost .sidebar .widget ul { list-style: none; padding: 0; margin: 0; }
#valrpost .sidebar .widget ul li {
  list-style: none; padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px; color: var(--ink-soft);
}
#valrpost .sidebar .widget ul li:first-child { padding-top: 0; }
#valrpost .sidebar .widget ul li:last-child { padding-bottom: 0; border-bottom: none; }
#valrpost .sidebar .widget ul li a {
  color: var(--ink); font-weight: 500; font-family: 'Poppins', sans-serif;
  letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .15s;
}
#valrpost .sidebar .widget ul li a:hover { color: var(--accent); }
#valrpost .sidebar .widget ul li ul { margin-top: 6px; margin-left: 12px; }
#valrpost .sidebar .widget ul li ul li { border-bottom: none; padding: 3px 0; }
#valrpost .sidebar .widget .count,
#valrpost .sidebar .widget .post-date {
  font-family: ui-monospace, monospace;
  font-size: 11px; color: var(--ink-muted); font-weight: 500;
  margin-left: auto;
}
#valrpost .sidebar .widget_tag_cloud .tagcloud { display: flex; flex-wrap: wrap; gap: 6px; }
#valrpost .sidebar .widget_tag_cloud a {
  display: inline-block; padding: 5px 11px;
  background: var(--bg-soft); border-radius: var(--r-pill);
  font-size: 12px !important; color: var(--ink-soft); font-weight: 500;
  border: 1px solid var(--border); transition: all .15s;
}
#valrpost .sidebar .widget_tag_cloud a:hover {
  background: var(--accent-soft); color: var(--accent); border-color: var(--accent-soft);
}
#valrpost .sidebar .wp-block-latest-posts__list { list-style: none; padding: 0; margin: 0; }
#valrpost .sidebar .wp-block-latest-posts__list li {
  padding: 9px 0; border-bottom: 1px solid var(--border);
}
#valrpost .sidebar .wp-block-latest-posts__list li:first-child { padding-top: 0; }
#valrpost .sidebar .wp-block-latest-posts__list li:last-child { padding-bottom: 0; border-bottom: none; }
#valrpost .sidebar .wp-block-latest-posts__post-title {
  font-family: 'Poppins', sans-serif;
  font-size: 13px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.01em; line-height: 1.3;
}
#valrpost .sidebar .wp-block-latest-posts__post-date {
  font-family: ui-monospace, monospace;
  font-size: 10.5px; color: var(--ink-muted);
  display: block; margin-top: 3px;
}
#valrpost .sidebar .widget_calendar table {
  width: 100%; border-collapse: collapse; font-size: 12px;
}
#valrpost .sidebar .widget_calendar th,
#valrpost .sidebar .widget_calendar td { padding: 6px; text-align: center; }
#valrpost .sidebar .widget_calendar th { color: var(--ink-muted); font-weight: 600; }
#valrpost .sidebar .widget_calendar td a {
  color: var(--accent); font-weight: 600; text-decoration: none;
}
#valrpost .sidebar .widget.widget-dark,
#valrpost .sidebar .widget.widget-ink {
  background: var(--ink); color: white; border-color: var(--ink); position: relative; overflow: hidden;
}
#valrpost .sidebar .widget.widget-dark::after,
#valrpost .sidebar .widget.widget-ink::after {
  content: ""; position: absolute; right: -50px; top: -50px;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249,25,66,.28), transparent 70%);
  pointer-events: none;
}
#valrpost .sidebar .widget.widget-dark .widgettitle,
#valrpost .sidebar .widget.widget-ink .widgettitle { color: rgba(255,255,255,.55); }
#valrpost .sidebar .widget.widget-dark > *,
#valrpost .sidebar .widget.widget-ink > * { position: relative; z-index: 1; }

#valrpost .bottom-pad { height: 32px; }

/* ════════════════════════════════════════
   DESKTOP — 2 column layout (≥1024px)
   max-width 1360px, hero contraint dans la colonne de gauche
════════════════════════════════════════ */
@media (min-width: 1024px) {
  #valrpost .page-wrap {
    max-width: 1360px; margin: 0 auto; padding: 28px 32px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 36px; align-items: start;
  }
  #valrpost .container { padding: 0; min-width: 0; }
  #valrpost .hero {
    height: 420px; border-radius: var(--r-lg); margin-bottom: 22px;
  }
  #valrpost .hero-badge { top: 16px; }

  .valrpost-anchbar { display: none !important; }

  #valrpost .sidebar {
    display: flex; flex-direction: column; gap: 14px; padding-right: 2px;
    position: sticky; top: 16px; align-self: start;
  }

  #valrpost h1.property-title { font-size: 32px; line-height: 1.15; }
  #valrpost .sec-title { font-size: 19px; }
  #valrpost .valrpost-content { font-size: 17px; }
  #valrpost .valrpost-content h2 { font-size: 26px; }
  #valrpost .valrpost-content h3 { font-size: 20px; }
}
