/* nove-europa.eu languages: approved look (pictures v4, 2026-10-30). */
span.ne-lang{position:relative;display:inline-flex;margin-left:12px}
.ne-lang-btn{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border:1px solid rgba(246,244,239,.45);border-radius:4px;background:transparent;color:inherit;font:600 15px Cabin,system-ui,sans-serif;white-space:nowrap;cursor:pointer}
.ne-lang-btn svg{width:16px;height:16px}
.ne-lang-btn .ne-caret{font-size:11px}
.ne-lang-btn:focus-visible{outline:2px solid #f6f4ef;outline-offset:2px}
.ne-lang-menu{position:absolute;right:0;top:calc(100% + 8px);background:#fbf8f1;border:1px solid #d9c9a6;border-radius:6px;box-shadow:0 12px 30px rgba(40,10,20,.28);min-width:200px;padding:6px 0;z-index:50}
.ne-lang-menu[hidden]{display:none}
.ne-lang-menu a{display:flex;justify-content:space-between;gap:18px;padding:7px 16px;color:#2b1a21!important;text-decoration:none!important;font:400 15.5px/1.4 Cabin,system-ui,sans-serif}
.ne-lang-menu a small{color:#8a6a3f;font-size:12px;letter-spacing:.07em;font-weight:700}
.ne-lang-menu a.cur{background:#efe5cf;font-weight:700}
.ne-lang-menu a:hover,.ne-lang-menu a:focus-visible{background:#f3ead6}
.ne-bar{background:#f3ead6;color:#3a2430;border:1px solid #d9c9a6;border-radius:6px;margin:0 0 14px;font:15.5px/1.4 Cabin,system-ui,sans-serif}
.ne-bar-in{display:flex;align-items:center;gap:10px 14px;flex-wrap:wrap;padding:10px 14px}
.ne-bar-flag{font-size:12.5px;letter-spacing:.06em;font-weight:700;color:#8a6a3f;border:1px solid #c9b07a;border-radius:3px;padding:1px 6px}
.ne-bar-txt{flex:1 1 220px;min-width:0}
.ne-bar-go{background:#552531;color:#f6f4ef!important;text-decoration:none!important;font-weight:600;padding:6px 14px;border-radius:4px}
.ne-bar-stay{color:#552531!important;text-decoration:underline;text-underline-offset:3px}
.ne-bar-x{background:none;border:0;font-size:21px;line-height:1;color:#7a5a64;padding:0 4px;cursor:pointer}
.ne-bar + *,.ne-note:first-child + *{margin-top:0!important;padding-top:6px!important}
.ne-note{display:flex;gap:12px;align-items:flex-start;margin:14px 0;padding:12px 16px;background:#f6efdf;border:1px solid #dcc9a0;border-left:4px solid #8a6a3f;border-radius:4px;font:15.5px/1.55 Cabin,system-ui,sans-serif;color:#4a3640;font-style:normal;text-align:left}
.ne-note:first-child{margin-top:0}
.ne-note svg{flex:0 0 18px;width:18px;height:18px;margin-top:3px;color:#8a6a3f}
.ne-note a{color:#552531;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.ne-note .ne-pending{margin:6px 0 0;font-weight:600}
mark.ne-doubt{background:#f5eedd;color:inherit;box-shadow:0 0 0 2px #f5eedd;border-radius:3px;outline:1px dashed #c4a873;outline-offset:2px;cursor:help;position:relative}
mark.ne-doubt:focus-visible{outline:2px solid #8a6a3f}
.ne-doubt-pop{position:absolute;left:0;top:calc(100% + 12px);width:340px;max-width:calc(100vw - 40px);z-index:60;background:#fffdf8;border:1px solid #d9c9a6;border-radius:8px;box-shadow:0 14px 34px rgba(40,10,20,.25);padding:13px 15px;font:400 15px/1.5 Cabin,system-ui,sans-serif;color:#2b1a21;font-style:normal;text-align:left;white-space:normal;cursor:auto}
.ne-doubt-pop .lbl{display:block;font-size:12px;letter-spacing:.07em;text-transform:uppercase;color:#8a6a3f;font-weight:700;margin-bottom:4px}
.ne-doubt-pop q{font-family:Spectral,Georgia,serif;font-size:17px}
.ne-doubt-pop .why{display:block;margin-top:8px;color:#6b5560;font-size:14px}
.ne-doubt-pop .open{display:inline-block;margin-top:9px;color:#552531;font-weight:600;text-decoration:underline;text-underline-offset:3px}
@media (max-width:600px){span.ne-lang{margin-left:0}.ne-lang-btn{padding:3px 8px;font-size:14px}.ne-doubt-pop{width:290px;left:-60px}}
@media (max-width:430px){.mast-in{position:relative}.mast-in>.ne-lang{position:absolute;left:14px;bottom:6px;margin:0;z-index:2}.mast-in>.ne-lang .ne-lang-btn{height:32px;padding:0 8px;font-size:14px}.mast-in>.ne-lang .ne-lang-menu{left:0;right:auto}html.mast-slim .mast-in>.ne-lang{left:auto;right:calc(var(--gutter) + 44px);bottom:9px}html.mast-slim .mast-in>.ne-lang .ne-lang-menu{left:auto;right:0}}
/* Short menus on phones: room for the logo above the language button. */
@media (max-width:430px){html:not(.mast-slim) .mast-in:has(>.ne-lang){min-height:136px}}

/* 439 (owner, 2026-11-12): while the language list is open, the top bar sits above the 'Why this point?' switch (z-index 60), so the list is never covered by it. */
header.mast:has(.ne-lang-btn[aria-expanded="true"]){z-index:61}

/* 2026-11-12 (owner): the Charter note (first in the text) sits ~16px under the dark banner instead of 60px, with a thin line between it and what follows (the donation line). */
.prose > .ne-note:first-child{position:relative;margin-top:-44px;margin-bottom:29px}
.prose > .ne-note:first-child::after{content:"";position:absolute;left:0;right:0;bottom:-16px;border-top:1px solid #d8c7a3}

/* 456 (owner, 2026-11-12): thin line between the language suggestion bar and the donation line, like the one under the translation note */
.prose > .ne-bar:has(+ .ne-don-slim){position:relative;margin-bottom:29px}
.prose > .ne-bar:has(+ .ne-don-slim)::after{content:"";position:absolute;left:-1px;right:-1px;bottom:-16px;border-top:1px solid #d8c7a3}

/* Phones: while the top bar shrinks, the language button (outside the menu here) fades in the first 16 px of scroll, like the menu,
   so the shrinking logo never sits on it; it comes back on the right of the slim bar (owner, 2026-11-21). */
@keyframes ne-lang-out { 0% { opacity: 1; visibility: visible; } 100% { opacity: 0; visibility: hidden; } }
@media (max-width: 430px) {
  html.mast-c:not(.mast-still):not(.mast-slim) .mast-in > .ne-lang { animation: ne-lang-out auto linear both; animation-timeline: scroll(root block); animation-range: 0px 16px; }
}

/* Owner 2026-11-24: language button as the last row of the open three-line menu (slim bar, up to 680 px; ne-i18n.js fitSlim). */
html.mast-slim.mast-menu .mast nav{flex-wrap:nowrap!important;justify-content:flex-start!important}
html.mast-slim.mast-menu .mast nav>.ne-lang{position:static!important;display:flex;flex-direction:column;align-items:flex-end;width:100%;margin:0!important;transform:none!important;padding:12px 0 8px;border-top:1px solid rgba(246,244,239,.14)}
html.mast-slim.mast-menu .mast nav>.ne-lang .ne-lang-menu{position:static;margin-top:8px;box-shadow:none;min-width:220px}
html.mast-slim.mast-menu .mast nav>.ne-lang .ne-lang-menu a{justify-content:space-between;text-align:left;width:auto;border-top:0;padding:7px 16px;font-size:15.5px}
html.mast-slim.mast-menu .mast nav>.ne-lang .ne-lang-menu a::after{display:none}
html.mast-slim.mast-menu .mast nav>.ne-lang{order:99}
html.mast-slim.mast-menu .mast nav>.ne-lang .ne-lang-menu a{display:flex!important;min-height:0}

/* Magnifier next to the language button, nouaromania.eu look (owner, 2026-11-26). */
span.ne-lang{align-items:center;gap:8px}
.ne-find{position:relative}
.ne-find>summary{list-style:none;cursor:pointer;width:34px;height:34px;border-radius:50%;background:rgba(246,244,239,.1);color:#f6f4ef;display:grid;place-items:center}
.ne-find>summary::-webkit-details-marker{display:none}
.ne-find>summary svg{width:19px;height:19px}
.ne-find>summary:hover,.ne-find[open]>summary{background:rgba(246,244,239,.22)}
.ne-find>summary:focus-visible{outline:2px solid #f6f4ef;outline-offset:2px}
.ne-find-panel{position:absolute;right:0;top:calc(100% + 10px);z-index:60;background:#fbf5ec;padding:16px;border-radius:10px;box-shadow:0 10px 30px rgba(38,16,26,.28);width:min(340px,calc(100vw - 24px))}
.ne-find-panel label{display:block;margin:0 0 8px;font:600 15px Cabin,system-ui,sans-serif;color:#1d1418}
.ne-find-panel .row{display:flex;gap:6px}
.ne-find-panel input{flex:1;min-width:0;padding:9px 10px;border:1px solid #d9c9a6;border-radius:6px;background:#fff;color:#1d1418;font:15px Cabin,system-ui,sans-serif}
.ne-find-panel button{background:#552531;color:#f6f4ef;border:0;border-radius:6px;padding:9px 16px;font:600 15px Cabin,system-ui,sans-serif;cursor:pointer}
.ne-find-panel button:hover{background:#6e3a4d}
@media (max-width:430px){.ne-find{position:static}.ne-find-panel{left:0;right:auto}}/* Owner 2026-11-26: 10px more between language button and magnifier; no thick gold ring on the search field, only its own thin border turns darker. */
span.ne-lang{gap:18px}
.ne-find-panel input:focus,.ne-find-panel input:focus-visible{outline:none!important;box-shadow:none!important;border-color:#8a6a3f}

/* Search box from the magnifier (owner, 2026-11-30): corners of the whole box less round (10px -> 6px, like the button), same as nouaromania.eu. */
.ne-find-panel{border-radius:6px}

/* All search fields (owner, 2026-11-30): site beige background #FBF5EC instead of white, and no dark burgundy ring when the cursor is in them, only a gold-brown edge #8a6a3f. Covers the magnifier box, the results page, the page-not-found search and any other search field. */
input[type="search"]{background:#FBF5EC !important}
input[type="search"]:focus,input[type="search"]:focus-visible{outline:none !important;box-shadow:none !important;border-color:#8a6a3f !important}
/* Typed text in all search fields: the site's dark burgundy #552531 (owner, 2026-11-30). */
input[type="search"]{color:#552531 !important}

/* Page-not-found page (owner, 2026-11-30, variant B): text, search field, four burgundy cards to the main sections. */
.ne-nf{max-width:640px;margin:8px auto 24px}
.ne-nf-lead{font-size:19px;line-height:1.55;margin:0 0 28px}
.ne-nf-s label{display:block;font-weight:600;font-size:15px;color:#552531;margin:0 0 8px}
.ne-nf-row{display:flex;gap:10px}
.ne-nf-row input{flex:1;min-width:0;font:17px Cabin,system-ui,sans-serif;padding:12px 14px;border:1px solid rgba(85,37,49,.25);border-radius:6px}
.ne-nf-row button{font:600 16px Cabin,system-ui,sans-serif;background:#552531;color:#f6f4ef;border:0;border-radius:6px;padding:0 22px;cursor:pointer}
.ne-nf-row button:hover{background:#6e3a4c}
.prose .ne-nf-h{font:600 13px Cabin,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#8a6a3f;margin:44px 0 14px}
.prose .ne-nf-cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:14px}
.prose .ne-nf-cards li{margin:0;padding:0}
.prose .ne-nf-cards li::before,.prose .ne-nf-cards li::marker{content:none}
.prose .ne-nf-cards a{display:flex;gap:14px;align-items:flex-start;height:100%;box-sizing:border-box;padding:18px;border-radius:6px;background:#552531;color:#f6f4ef;text-decoration:none;transition:background .15s}
.prose .ne-nf-cards a:hover{background:#6e3a4c}
.prose .ne-nf-cards a:focus-visible{outline:3px solid #8a6a3f;outline-offset:2px}
.ne-nf-i{flex:none;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:rgba(246,244,239,.12);color:#e9c98f}
.ne-nf-t b{display:block;font:600 18px 'Spectral Head',Spectral,Georgia,serif;margin-bottom:3px;color:#f6f4ef}
.ne-nf-t span{font-size:15px;color:#f6f4ef}
