.member-entry { margin: 22px 12px 14px; text-align: center; }
.member-entry a { color: #354d23; font: 16px/1.4 Arial, sans-serif; text-decoration: underline; text-underline-offset: 4px; opacity: .9; }
.member-entry a:hover { opacity: 1; }
.member-entry a:focus-visible { outline: 2px solid white; outline-offset: 5px; }
.member-entry-mobile { display: none; }
.member-modal-open { overflow: hidden; }
.member-dialog { width: min(530px, calc(100vw - 28px)); max-height: calc(100dvh - 28px); padding: 0; border: 0; border-radius: 22px; background: #fff; color: #263622; box-shadow: 0 18px 80px #0006; }
.member-dialog::backdrop { background: #15230bb3; backdrop-filter: blur(3px); }
.member-dialog-shell { padding: 24px; font: 16px/1.5 Arial, sans-serif; }
.member-dialog header { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.member-dialog h2 { margin: 0; font: 36px/1.1 Coolvetica, Arial, sans-serif; }
.member-close { flex: 0 0 40px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #eef2e7; color: #375c2d; font: 28px Arial,sans-serif; cursor: pointer; }
.member-dialog iframe { display: block; width: 100%; height: 405px; border: 0; }
.member-dialog a, .member-card a { color: #375c2d; }
.member-help, .member-fallback { font-size: 14px; }
.member-fallback { margin-bottom: 0; }
.member-actions { display: grid; gap: 12px; margin: 22px 0; }
.member-actions a, .news-form button, .news-actions a { border: 1px solid #9aa986; border-radius: 10px; padding: 12px 18px; text-decoration: none; background: #f2f5ec; color: #2d4824; font: 17px/1.4 Arial,sans-serif; cursor: pointer; }
.member-actions a:hover { background: #e4edd8; }
.member-card, .news-card { padding: clamp(22px, 4vw, 48px); background: rgb(255 255 255 / .89); border-radius: 26px; margin: 0 0 28px; color: #263622; }
.news-card h2 { font: clamp(32px,4vw,52px)/1.12 "Zai Pencil Typewriter","Courier New",monospace; text-align:center; letter-spacing:-.045em; margin: 0 0 24px; overflow-wrap: anywhere; }
#contenu.actualites-page .news-card .actualites-content { padding: 0; margin: 0; background: none; border: 0; border-radius: 0; box-shadow: none; max-width: none; }
.news-text { font: 20px/1.5 Coolvetica,"Arial Narrow",Arial,sans-serif; color:#485142; white-space: pre-wrap; overflow-wrap: anywhere; }
.news-photos { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-top: 28px; }
.news-photos:empty { display:none; }
.news-photos img { display: block; width: 100%; height: auto; max-height: 720px; object-fit: contain; border-radius: 12px; }
.news-photos img:only-child { grid-column: 1 / -1; }
.news-form { font: 17px/1.5 Arial,sans-serif; }
.news-form label { display: block; font-weight: bold; margin: 24px 0 8px; }
.news-form input[type=text], .news-form textarea { box-sizing: border-box; display:block; width:100%; border:1px solid #9aa986; border-radius:10px; padding:12px; font:17px/1.5 Arial,sans-serif; background:#fff; color:#263622; }
.news-form textarea { min-height:260px; resize:vertical; }
.news-form input[type=file] { max-width:100%; }
.news-form .news-help { font-size:14px; color:#536148; }
.news-form .news-submit { display:flex; flex-wrap:wrap; gap:12px; margin-top:24px; }
.news-form button.main { background:#526c35; color:#fff; }
.news-form button:disabled { opacity:.5; cursor:wait; }
.news-error, .member-card .block.error { border-left:4px solid #a73523; background:#fff1ec; padding:14px; }
.news-success { padding:14px; border-left:4px solid #526c35; background:#eef5e6; }
.photo-selection { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:20px; }
.photo-selection figure { margin:0; }
.photo-selection img { display:block; width:100%; height:130px; object-fit:contain; border-radius:8px; background:#edf1e7; }
.photo-selection button { font-size:14px; padding:6px 9px; margin-top:6px; }
.news-list { display:grid; gap:16px; padding:0; list-style:none; }
.news-list li { padding:18px 0; border-bottom:1px solid #cad3bd; }
.news-list h2 { margin:0 0 8px; font-size:25px; }
.news-actions { display:flex; gap:14px; align-items:center; flex-wrap:wrap; margin:18px 0; }
@media(max-width:600px) {
  .member-entry-desktop { display:none; }
  .member-entry-mobile { display:block; margin:18px 0 25px; }
  .mobile-nav .member-entry a, .mobile-nav .member-entry a:hover { display:inline-block; margin:0; padding:8px 4px; background:none; border:0; border-radius:0; color:#354d23; font:16px/1.4 Arial,sans-serif; text-decoration:underline; filter:none; }
  .member-dialog-shell { padding:18px; }
  .member-dialog h2 { font-size:31px; }
  .news-photos { grid-template-columns:1fr; }
  .photo-selection { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
