/* Styles propres au livre d’or ; les bannières validées restent inchangées. */
.guestbook-index,.guestbook-latest,.guestbook-year-content{background:#fff;padding:65px 8%;}
.guestbook-index h2,.guestbook-latest h2,.guestbook-year-content h2{color:#302e68;font:600 44px/1.1 'Cormorant Garamond',Georgia,serif;margin:0 0 20px}
.guestbook-intro{max-width:800px;font-size:15px;margin-bottom:32px}
.guestbook-years{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:28px 0 35px}
.guestbook-years a{display:flex;flex-direction:column;gap:4px;text-decoration:none;padding:18px 20px;background:#fffaf0;border:1px solid #dfd3b9;color:#4a381f;border-radius:8px;transition:background .15s}
.guestbook-years strong{font:600 30px/1.1 'Cormorant Garamond',Georgia,serif}
.guestbook-years span{font-size:12px;color:#6d604d}
.guestbook-years a:hover,.guestbook-years a[aria-current=page]{background:#edf1e4;border-color:#8b956d}
.guestbook-search{padding:25px;background:#f1f3e9;border:1px solid #dce1cf;border-radius:10px;margin:30px 0 40px}
.guestbook-search label{font-weight:600;display:block;color:#41492f;margin-bottom:10px}
.guestbook-search-fields{display:flex;gap:10px}
.guestbook-search input{width:100%;min-width:0;border:1px solid #aaa78a;border-radius:5px;padding:12px 14px;background:#fff;font:inherit;color:#35291e;font-size:16px}
.guestbook-search button{background:#4b5736;color:white;border:0;padding:12px 15px;border-radius:5px;font:inherit;font-weight:500;cursor:pointer}
.guestbook-search [hidden]{display:none}
#guestbook-search-help{font-size:12px;color:#665c48;margin-bottom:0}
.guestbook-search-status{margin:15px 0 0;font-size:13px}
.guestbook-search-status:empty{display:none}
.guestbook-search-results{display:grid;gap:10px}
.guestbook-result{display:block;background:#fff;color:#35291e;border:1px solid #e1dfd2;border-radius:5px;padding:16px;text-decoration:none;margin-top:10px}
.guestbook-result strong{color:#4b5736;display:block}
.guestbook-result span{font-size:12px;color:#71654d}
.guestbook-result p{font-size:13px;line-height:1.65;margin:8px 0 0}
.guestbook-more{margin-top:15px}
.guestbook-entries{display:grid;grid-template-columns:minmax(0,1fr);gap:25px;max-width:900px;margin:30px auto 45px}
.guestbook-entry{padding:28px 32px;background:#fffaf0;border:1px solid #e7dcc5;border-radius:8px;scroll-margin-top:95px;overflow-wrap:break-word;min-width:0}
.guestbook-author{font:600 28px/1.2 'Cormorant Garamond',Georgia,serif;color:#4a381f;margin:0 0 6px;overflow-wrap:anywhere}
.guestbook-date{color:#756347;font-size:12px;margin:0 0 17px}
.guestbook-date:empty{display:none}
.guestbook-quote{margin:0;font-size:15px;line-height:1.85;font-weight:400}
.guestbook-quote p{margin:0 0 15px}
.guestbook-quote a{color:#685021;text-underline-offset:3px;overflow-wrap:anywhere}
.guestbook-quote ul,.guestbook-quote ol{padding-left:22px}
.guestbook-source{font-size:11px;margin:22px 0 0;border-top:1px solid #e4dbc8;padding-top:12px;color:#776850}
.guestbook-source a{color:#685021;text-underline-offset:3px}
.quote-image{display:block;max-width:100%;width:auto;max-height:650px;height:auto;object-fit:contain;margin:20px auto}
.quote-image-link{display:block}
.quote-emoji{display:inline;width:16px;height:16px;vertical-align:-3px}
.guestbook-quote .quote-gallery{list-style:none;padding:0;display:grid;gap:10px}
.quote-gallery li{min-width:0}
.guestbook-back{display:inline-block;color:#554122;font-weight:500;text-underline-offset:4px;margin-top:15px}
.guestbook-hero h1{font-size:clamp(42px,5vw,68px)}
.guestbook-year-menu{padding:15px 20px;border:1px solid #dfd3b9;border-radius:8px;background:#fffaf0}
.guestbook-year-menu summary{cursor:pointer;font-weight:500}
.guestbook-year-menu .guestbook-years{margin-bottom:5px}
.guestbook-latest{padding-top:35px;background:#fcfaf4}
.guestbook-entry:target{outline:3px solid #b49a54;outline-offset:4px}
.guestbook-index a:focus-visible,.guestbook-year-content a:focus-visible,.guestbook-search input:focus-visible,.guestbook-search button:focus-visible,.guestbook-year-menu summary:focus-visible{outline:3px solid #79541d;outline-offset:4px}
@media(max-width:760px){.guestbook-index,.guestbook-latest,.guestbook-year-content{padding:40px 6%}.guestbook-years{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.guestbook-years a{padding:16px}.guestbook-index h2,.guestbook-latest h2,.guestbook-year-content h2{font-size:36px}.guestbook-search{padding:20px 16px}.guestbook-search-fields{flex-wrap:wrap}.guestbook-entry{padding:22px 20px}.guestbook-author{font-size:26px}.source-copies{display:block}.guestbook-hero{padding:50px 7%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
