/* Fil personnel : aperçu local Espagne / Lyra. Styles limités à ce composant. */
.fs-profile-news{--news-ink:#32253f;--news-muted:#72667e;--news-line:#eaddec;--news-accent:#aa1f70;color:var(--news-ink)}
.fs-profile-news a{text-decoration:none}
.fs-profile-news a:focus-visible{outline:3px solid #a347c0;outline-offset:4px}
.fs-profile-news--preview{margin-top:24px;padding:20px;border:1px solid var(--news-line);border-radius:12px;background:#fcf8fd;scroll-margin-top:28px}
.fs-profile-news__preview-grid>.fs-profile-news__post{min-width:0}
.fs-profile-news--preview .fs-profile-news__heading h3 .fs-profile-news__preview-title-single,.fs-profile-news--preview .fs-profile-news__heading h3 .fs-profile-news__preview-title-multiple{color:var(--news-accent);font:inherit}
.fs-profile-news__preview-title-multiple{display:none}
@media(max-width:1199.98px){.fs-profile-news__preview-grid>.fs-profile-news__post:nth-child(n+2){display:none}}
@media(min-width:1200px){
  .fs-profile-news__preview-grid--multiple{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
  .fs-profile-news__preview-grid--multiple>.fs-profile-news__post{display:block;padding:16px;border:1px solid var(--news-line);border-radius:10px;background:#fff}
  .fs-profile-news__heading h3:has(.fs-profile-news__preview-title-multiple) .fs-profile-news__preview-title-single{display:none}
  .fs-profile-news__heading .fs-profile-news__preview-title-multiple{display:inline}
  .fs-profile-news__preview-grid--multiple .fs-profile-news__reactions{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}
  .fs-profile-news__preview-grid--multiple .fs-profile-news__reaction{min-width:0;gap:3px;padding:7px 2px;flex-wrap:wrap}
  .fs-profile-news__preview-grid--multiple .fs-profile-news__reaction-count{max-width:100%;overflow-wrap:anywhere}
  .fs-profile-news__preview-grid--multiple .fs-news-social-status{grid-column:1/-1}
  .fs-profile-news__preview-grid--multiple .fs-news-social-status:empty{display:none}
}
.fs-profile-news__heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:16px}
.fs-profile-news__heading h3{margin:0;font-size:17px;line-height:1.4;font-weight:700;text-transform:none;letter-spacing:0}
.fs-profile-news__heading h3>span[aria-hidden]{color:var(--news-accent);margin-right:5px}
.fs-profile-news__author{display:flex;align-items:center;gap:11px;margin-bottom:15px}
.fs-profile-news__author img{flex:none;width:44px;height:44px;border-radius:50%;object-fit:cover;object-position:center 20%;border:2px solid #f3e5f0}
.fs-profile-news__author strong{display:block;font-size:15px;font-weight:700;line-height:1.4}
.fs-profile-news__author time{display:block;margin-top:2px;color:var(--news-muted);font-size:12px;line-height:1.4}
.fs-profile-news__body{margin:0;color:var(--news-ink);font-size:15px;line-height:1.85;overflow-wrap:anywhere}
.fs-profile-news__link{display:inline-flex;gap:8px;align-items:center;margin-top:17px;padding:9px 14px;border:1px solid #e5bfd6;border-radius:8px;color:var(--news-accent);background:#fff;font-size:13px;font-weight:700;line-height:1.5;transition:background .15s,border-color .15s}
.fs-profile-news__link:hover{background:#fceaf4;color:#881657;border-color:#ce8db4}
.fs-profile-news__link--all{background:#f6dff3;border-color:#edc7e6;color:#881657}
.fs-profile-news__link--all:hover,.fs-profile-news__link--all:focus-visible{background:#edc7e6;border-color:#dba7d2;color:#721249}
.fs-profile-news-page .fs-profile-content{padding-top:30px;padding-bottom:40px}
.fs-profile-news__feed{padding:8px 0}
.fs-profile-news__hero{display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding:0 0 20px;border-bottom:1px solid var(--news-line)}
.fs-profile-news__identity{min-width:0;flex:1}
.fs-profile-news__identity h2{margin:0 0 6px;font-size:23px;font-weight:700;line-height:1.3;letter-spacing:0;color:var(--news-ink);overflow-wrap:anywhere;text-transform:none}
.fs-profile-news__identity h2 span{color:var(--news-accent)}
.fs-profile-news__identity p{margin:0;color:var(--news-muted);font-size:13px;line-height:1.5}
.fs-profile-news__back{display:inline-flex;align-items:center;gap:5px;padding:10px 14px;border:1px solid var(--news-line);border-radius:8px;color:var(--news-accent);font-size:13px;font-weight:600;line-height:1.5}
.fs-profile-news__back:hover{color:#881657;background:#fcf0f8}
.fs-profile-news__back--profile{background:#f6dff3;border-color:#edc7e6;color:#881657}
.fs-profile-news__back--profile:hover,.fs-profile-news__back--profile:focus-visible{background:#edc7e6;border-color:#dba7d2;color:#721249}
.fs-profile-news__timeline{--news-rail-x:7px;--news-gutter:29px;position:relative;margin-top:24px;padding-left:var(--news-gutter);display:grid;gap:18px}
.fs-profile-news__timeline:before{content:"";position:absolute;left:var(--news-rail-x);transform:translateX(-50%);top:30px;bottom:30px;width:2px;background:#e7d6ea}
.fs-profile-news__timeline>.fs-profile-news__post{position:relative;background:#fff;border:1px solid var(--news-line);border-radius:12px;padding:20px;box-shadow:0 4px 16px #40214704}
.fs-profile-news__timeline>.fs-profile-news__post:before{content:"";position:absolute;left:calc(var(--news-rail-x) - var(--news-gutter) - 1px);transform:translateX(-50%);top:31px;width:12px;height:12px;background:#be71ae;border:3px solid #fff;border-radius:50%;box-sizing:content-box}
.fs-profile-news__timeline>.fs-profile-news__post:first-child:before{background:#ee55a4}
@media(max-width:600px){
.fs-profile-news__identity h2{font-size:21px}
.fs-profile-news__back{width:100%;justify-content:center}
.fs-profile-news__timeline{--news-rail-x:4px;--news-gutter:20px;gap:14px}
.fs-profile-news__timeline>.fs-profile-news__post{padding:18px}
.fs-profile-news--preview{padding:16px}
.fs-profile-news__body{font-size:14px;line-height:1.8}
}

.fs-profile-news__reactions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:18px;padding-top:14px;border-top:1px solid var(--news-line)}
.fs-profile-news .fs-profile-news__reaction{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:44px;min-height:44px;padding:7px 10px;border:1px solid var(--news-line);border-radius:24px;background:#fff;color:var(--news-accent);font:inherit;line-height:1;cursor:pointer;transition:background .15s,border-color .15s}
.fs-profile-news .fs-profile-news__reaction:hover:not(:disabled){background:#fff0f7;border-color:#cf8cb3}
.fs-profile-news .fs-profile-news__reaction[aria-pressed="true"]{background:#ffe6f2;border-color:#db64a3;box-shadow:0 0 0 1px #db64a3;font-weight:700}
.fs-profile-news .fs-profile-news__reaction:focus-visible{outline:3px solid #a347c0;outline-offset:3px}
.fs-profile-news__reaction:disabled{opacity:.5;cursor:default}
.fs-profile-news__emoji{font-size:20px;line-height:1}
.fs-profile-news__reaction-count{font-size:12px;line-height:1}

/* Mobile news opens directly on the feed; keep all six reactions together. */
@media(max-width:767.98px){
  .fs-profile-news-page .fs-profile-sidebar{display:none}
  .fs-profile-news-page .fs-profile-content{padding-top:20px}
  :is(.fs-profile-content,.fs-news-global) .fs-profile-news__reactions{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:stretch;gap:4px}
  :is(.fs-profile-content,.fs-news-global) .fs-profile-news__reaction{flex-direction:column;gap:3px;min-width:0;width:100%;min-height:44px;padding:6px 2px}
  :is(.fs-profile-content,.fs-news-global) .fs-profile-news__reaction-count{max-width:100%;font-size:11px;overflow-wrap:anywhere}
  :is(.fs-profile-content,.fs-news-global) .fs-news-social-status{grid-column:1/-1}
  :is(.fs-profile-content,.fs-news-global) .fs-news-social-status:empty{display:none}
}

.fs-profile-news__media{display:block;max-width:100%;width:auto;max-height:480px;object-fit:contain;margin:18px auto 0;border-radius:10px;background:#f6f0f8}
.fs-profile-news--preview .fs-profile-news__media{max-height:320px}

/* Pagination shared by the public feed and the publication editor. */
#profile-news-feed,#news-list{scroll-margin-top:24px}
.fs-news-pagination{margin-top:24px;text-align:center;color:#72667e;font-size:13px}
.fs-news-pagination__summary{margin:0 0 12px;line-height:1.5}
.fs-news-pagination__links{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:6px;list-style:none;margin:0;padding:0}
.fs-news-pagination__links li{margin:0;padding:0}
.fs-news-pagination__links a,.fs-news-pagination__links [aria-current]{display:flex;align-items:center;justify-content:center;min-height:42px;min-width:42px;padding:8px 12px;border:1px solid #e5bfd6;border-radius:8px;background:#fff;color:#aa1f70;line-height:1.4;text-decoration:none;font-weight:600}
.fs-news-pagination__links a:hover{background:#fceaf4;border-color:#ce8db4;color:#881657}
.fs-news-pagination__links a:focus-visible{outline:3px solid #a347c0;outline-offset:3px}
.fs-news-pagination__links [aria-current]{background:#aa1f70;border-color:#aa1f70;color:#fff}
.fs-news-pagination__gap{color:#72667e}
@media(max-width:600px){.fs-news-pagination__links{gap:4px}.fs-news-pagination__links a,.fs-news-pagination__links [aria-current]{min-width:40px;padding:8px 10px}}

.fs-profile-news__gift{margin-top:12px}
.fs-profile-news .fs-profile-news__rose{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;max-width:310px;min-height:48px;padding:9px 14px;border:1px solid #e5bfd6;border-radius:8px;background:#fff3f8;color:#98145e;font:inherit;font-size:14px;line-height:1.4;text-align:left;cursor:pointer}
.fs-profile-news .fs-profile-news__rose:hover{background:#ffe6f2;border-color:#db64a3}
.fs-profile-news .fs-profile-news__rose:focus-visible{outline:3px solid #a347c0;outline-offset:3px}
.fs-profile-news__rose small{font-size:12px;font-weight:400}
.fs-profile-news__gift .alert{margin:12px 0 0!important}
@media(max-width:600px){.fs-profile-news .fs-profile-news__rose{max-width:none}}

/* Common country feed uses the same outer shell as cookies and the legal pages. */
.fs-news-global-wrap{padding:32px 0 44px;background:#efdbf8}
.fs-news-global{max-width:980px;margin:0 auto}
.fs-news-global .fs-profile-news__identity h1{margin:0 0 10px;font-size:28px;font-weight:700;line-height:1.3;text-transform:none;letter-spacing:0;color:var(--news-ink)}
.fs-news-global .fs-profile-news__identity h1 span{color:var(--news-accent)}
.fs-news-global .fs-profile-news__identity p{max-width:680px;font-size:14px;line-height:1.6}
.fs-news-global .fs-profile-news__author a{color:var(--news-ink)}
.fs-news-global .fs-profile-news__author a:hover{color:var(--news-accent)}
.fs-news-global__empty{margin:24px 0 0;padding:28px;background:#fff;border:1px solid var(--news-line);border-radius:12px}
.fs-news-global__empty h2{font-size:20px;line-height:1.4;margin:0 0 8px;text-transform:none;letter-spacing:0}
.fs-news-global__empty p{margin:0}
.fs-profile-news__page-actions{display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:600px){.fs-news-global-wrap{padding:24px 0 36px}.fs-news-global .fs-profile-news__identity h1{font-size:24px}.fs-profile-news__page-actions{width:100%}}
/* Small report affordance, native dialog covering the page. */
.fs-profile-news__author>div{min-width:0}
.fs-profile-news__author .fs-news-report-button{margin-left:auto;flex:none;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:1px solid #eaddec;border-radius:50%;background:#fffaf2;font:inherit;font-size:16px;cursor:pointer}
.fs-news-report-button:disabled{opacity:.45;cursor:default}
.fs-news-report-button:focus-visible{outline:3px solid #a347c0;outline-offset:3px}
.fs-news-social-status:not(:empty){flex-basis:100%;font-size:13px;color:#72667e;line-height:1.5}
.fs-news-report-dialog{width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid #d7c7df;border-radius:12px;background:#fff;color:#32253f;box-shadow:0 18px 80px #0005;overflow:auto}
.fs-news-report-dialog::backdrop{background:rgb(20 12 28 / 70%)}
.fs-news-report-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;background:#f6ecfa}
.fs-news-report-dialog h2{margin:0;font-size:18px;line-height:1.4;text-transform:none;letter-spacing:0}
.fs-news-report-close{display:flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;padding:0;border:1px solid #d7c7df;border-radius:50%;background:white;color:#684077;cursor:pointer}
.fs-news-report-close svg{display:block}
.fs-news-report-dialog form{padding:20px}
.fs-news-report-dialog label{display:block;margin:16px 0 6px;text-transform:none;letter-spacing:0}
.fs-news-report-dialog select,.fs-news-report-dialog textarea{width:100%;max-width:100%;padding:10px;border:1px solid #d7c7df;border-radius:6px;font:inherit;background:#fff;color:#32253f}
.fs-news-report-dialog p{font-size:14px;line-height:1.6;margin:0 0 12px}
.fs-news-report-dialog .fs-news-report-hint{font-size:12px;margin-top:6px;color:#72667e}
.fs-news-report-dialog footer{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:18px}
.fs-news-report-dialog footer button{padding:10px 14px;border:1px solid #d7c7df;border-radius:7px;background:#fff;color:#9d1b68;font:inherit;cursor:pointer}
.fs-news-report-dialog footer [type=submit]{background:#aa1f70;color:#fff;border-color:#aa1f70}
.fs-news-report-dialog button:disabled{opacity:.5;cursor:wait}
.fs-news-report-dialog :focus-visible{outline:3px solid #a347c0;outline-offset:2px}
