/* Ziarama — the community page, v5 (after every community layer).
   · The words as a wall: a masonry without gaps, the latest word « à la une »
     across the top, cards in three soft tones (ivory, blush, champagne).
   · A long word folds after a few lines (« Lire la suite »).
   · « Laissez votre empreinte » laid out on two columns, readable again. */
body.v3.zi-community-page.zi-couple-v5{--cv5-ink:#2f1d12;--cv5-body:#4f3a2c;--cv5-muted:#8a7260;--cv5-gold:#b48853;--cv5-line:rgba(138,98,52,.14)}

/* The wall. */
body.v3.zi-community-page.zi-couple-v5 .zi-community-message-grid{display:block!important;columns:3 300px;column-gap:20px;grid-template-columns:none!important}
body.v3.zi-community-page.zi-couple-v5 .zi-community-message-grid > .zi-community-note{
  break-inside:avoid;-webkit-column-break-inside:avoid;page-break-inside:avoid;width:100%!important;margin:0 0 20px!important;
  border-radius:24px!important;border:1px solid var(--cv5-line)!important;background:#fffdf9!important;
  box-shadow:0 14px 34px -24px rgba(60,38,20,.45)!important;transition:transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s ease!important;
}
body.v3.zi-community-page.zi-couple-v5 .zi-community-message-grid > .zi-community-note:hover{transform:translateY(-3px);box-shadow:0 22px 44px -24px rgba(60,38,20,.55)!important}
body.v3.zi-community-page.zi-couple-v5 .zi-community-message-grid > .zi-community-note:nth-of-type(3n+2){background:linear-gradient(180deg,#fff7f4,#fdf0ec)!important}
body.v3.zi-community-page.zi-couple-v5 .zi-community-message-grid > .zi-community-note:nth-of-type(3n+3){background:linear-gradient(180deg,#fffaf1,#f8efe0)!important}
body.v3.zi-community-page.zi-couple-v5 .zi-community-note-body{font-size:clamp(17px,1.5vw,19px)!important;line-height:1.55!important;color:var(--cv5-body)!important}
/* « À la une »: the latest word, across the wall. */
body.v3.zi-community-page.zi-couple-v5 .zi-community-message-grid > .zi-community-note:first-of-type{
  column-span:all;-webkit-column-span:all;margin-bottom:26px!important;padding:clamp(24px,3.4vw,40px)!important;
  background:radial-gradient(ellipse at 15% 0%,rgba(225,200,165,.35),transparent 60%),linear-gradient(135deg,#fffaf3,#f6ead9)!important;
  border-color:rgba(180,136,83,.38)!important;box-shadow:0 30px 60px -34px rgba(60,38,20,.55)!important;
}
body.v3.zi-community-page.zi-couple-v5 .zi-cv5-une{
  position:absolute;z-index:2;top:16px;left:50%;transform:translateX(-50%);padding:7px 12px;border-radius:999px;
  background:linear-gradient(135deg,#dcb571,#a8793e);color:#fff;font:800 9.5px/1 "DM Sans",sans-serif;letter-spacing:.18em;text-transform:uppercase;
  box-shadow:0 8px 18px -8px rgba(168,121,62,.9);
}
body.v3.zi-community-page.zi-couple-v5 .zi-community-message-grid > .zi-community-note{position:relative}
body.v3.zi-community-page.zi-couple-v5 .zi-community-message-grid > .zi-community-note:first-of-type .zi-community-note-body{
  font:italic 500 clamp(22px,2.6vw,30px)/1.4 "Cormorant Garamond",Georgia,serif!important;color:var(--cv5-ink)!important;max-width:60ch;
}
body.v3.zi-community-page.zi-couple-v5 .zi-community-message-grid > .zi-community-note:first-of-type .zi-community-quote{font-size:72px!important;color:var(--cv5-gold)!important;opacity:.55}
/* A long word folds; « Lire la suite » opens it. */
body.v3.zi-community-page.zi-couple-v5 .zi-community-note.is-folded .zi-community-note-body{display:-webkit-box!important;-webkit-line-clamp:7;-webkit-box-orient:vertical;overflow:hidden}
body.v3.zi-community-page.zi-couple-v5 .zi-community-message-grid > .zi-community-note:first-of-type.is-folded .zi-community-note-body{-webkit-line-clamp:6}
body.v3.zi-community-page.zi-couple-v5 .zi-cv5-more{display:inline-flex;align-items:center;gap:6px;margin:8px 0 2px;padding:0;border:0;background:none;cursor:pointer;
  font:700 12.5px/1 "DM Sans",sans-serif;letter-spacing:.04em;color:var(--cv5-gold)}
body.v3.zi-community-page.zi-couple-v5 .zi-cv5-more::after{content:"";width:7px;height:7px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .2s ease}
body.v3.zi-community-page.zi-couple-v5 .zi-community-note:not(.is-folded) .zi-cv5-more::after{transform:rotate(-135deg) translate(-1px,-1px)}
body.v3.zi-community-page.zi-couple-v5 .zi-cv5-more:focus-visible{outline:2px solid var(--cv5-gold);outline-offset:3px;border-radius:4px}

/* « Laissez votre empreinte »: two readable columns. */
body.v3.zi-community-page.zi-couple-v5 .zi-community-compose{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)!important;gap:clamp(24px,5vw,64px)!important;align-items:center!important;
  border-radius:30px!important;background:radial-gradient(ellipse at 0% 0%,rgba(225,200,165,.4),transparent 55%),linear-gradient(135deg,#f6ead9,#efe0cb)!important;border:1px solid rgba(180,136,83,.25)!important}
body.v3.zi-community-page.zi-couple-v5 .zi-community-compose > *{min-width:0!important;width:auto!important;max-width:none!important}
body.v3.zi-community-page.zi-couple-v5 .zi-community-compose > div:first-child{display:block!important;writing-mode:horizontal-tb!important;columns:auto!important}
body.v3.zi-community-page.zi-couple-v5 .zi-community-compose > div:first-child > *{max-width:46ch}
body.v3.zi-community-page.zi-couple-v5 .zi-community-compose h3{margin:10px 0 12px!important}
body.v3.zi-community-page.zi-couple-v5 .zi-community-compose .zi-community-btn{justify-self:start;min-height:52px;padding:0 28px;border-radius:999px;border:0;background:linear-gradient(135deg,#3b281b,#5c3c27);color:#fffaf3;font:700 14px/1 "DM Sans",sans-serif;letter-spacing:.03em;box-shadow:0 18px 34px -18px rgba(59,40,27,.9);cursor:pointer}
body.v3.zi-community-page.zi-couple-v5 .zi-community-login-card{border-radius:22px!important;background:#fffdf9!important;border:1px solid var(--cv5-line)!important;box-shadow:0 18px 40px -28px rgba(60,38,20,.45)!important}

@media (max-width:760px){
  body.v3.zi-community-page.zi-couple-v5 .zi-community-message-grid{columns:1}
  body.v3.zi-community-page.zi-couple-v5 .zi-community-message-grid > .zi-community-note{margin-bottom:14px!important}
  body.v3.zi-community-page.zi-couple-v5 .zi-community-note.is-folded .zi-community-note-body{-webkit-line-clamp:6}
  body.v3.zi-community-page.zi-couple-v5 .zi-community-compose{grid-template-columns:1fr!important}
}
html[data-zi-theme="dark"] body.v3.zi-community-page.zi-couple-v5{--cv5-ink:#fbf2e4;--cv5-body:#e6d6c2;--cv5-muted:#c9b6a2;--cv5-line:rgba(244,233,218,.12)}
html[data-zi-theme="dark"] body.v3.zi-community-page.zi-couple-v5 .zi-community-message-grid > .zi-community-note{background:#241d19!important}
html[data-zi-theme="dark"] body.v3.zi-community-page.zi-couple-v5 .zi-community-message-grid > .zi-community-note:nth-of-type(3n+2){background:linear-gradient(180deg,#2a201d,#261d1a)!important}
html[data-zi-theme="dark"] body.v3.zi-community-page.zi-couple-v5 .zi-community-message-grid > .zi-community-note:nth-of-type(3n+3){background:linear-gradient(180deg,#2a2219,#251e17)!important}
html[data-zi-theme="dark"] body.v3.zi-community-page.zi-couple-v5 .zi-community-message-grid > .zi-community-note:first-of-type{background:radial-gradient(ellipse at 15% 0%,rgba(217,188,134,.16),transparent 60%),linear-gradient(135deg,#2b221c,#211a15)!important;border-color:rgba(217,188,134,.3)!important}
html[data-zi-theme="dark"] body.v3.zi-community-page.zi-couple-v5 .zi-community-compose{background:radial-gradient(ellipse at 0% 0%,rgba(217,188,134,.14),transparent 55%),linear-gradient(135deg,#2a221c,#1f1915)!important;border-color:rgba(217,188,134,.2)!important}
html[data-zi-theme="dark"] body.v3.zi-community-page.zi-couple-v5 .zi-community-compose .zi-community-btn{background:linear-gradient(135deg,#e1c8a5,#c9a36b);color:#2f1d12}
html[data-zi-theme="dark"] body.v3.zi-community-page.zi-couple-v5 .zi-community-login-card{background:#241d19!important}
@media (prefers-reduced-motion:reduce){body.v3.zi-community-page.zi-couple-v5 .zi-community-note{transition:none!important}}
