/* Language menu: a quiet chip that opens a short list. */
.langmenu { position: relative; font-family: Inter, system-ui, sans-serif; }
.langmenu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.35rem 0.6rem; border-radius: 8px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #5A6570; }
.langmenu summary::-webkit-details-marker { display: none; }
.langmenu summary::after { content: ""; width: 0.4rem; height: 0.4rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.langmenu summary:hover, .langmenu[open] summary { color: #283038; background: rgba(40, 48, 56, 0.06); }
.langmenu__list { position: absolute; right: 0; top: calc(100% + 0.35rem); min-width: 10rem; display: grid; padding: 0.35rem; border-radius: 12px; background: #fff; border: 1px solid #E8E4DE; box-shadow: 0 8px 24px -8px rgba(40, 48, 56, 0.25); z-index: 80; }
.langmenu__list a { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0.7rem; border-radius: 8px; text-decoration: none; font-size: 0.875rem; color: #283038; }
.langmenu__list a:hover { background: #FDF9F2; }
.langmenu__list a[aria-current="page"] { font-weight: 600; color: #4f8a72; }
.langmenu--up .langmenu__list { top: auto; bottom: calc(100% + 0.35rem); }
.langmenu--left .langmenu__list { right: auto; left: 0; }

/* Cookie consent: one card, two honest choices, a link to the policy. */
.consent { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 90; margin: 0 auto; max-width: 44rem; padding: 1rem 1.1rem; border-radius: 16px; background: #fff; border: 1px solid #E8E4DE; box-shadow: 0 16px 40px -12px rgba(40, 48, 56, 0.3); font-family: Inter, system-ui, sans-serif; color: #283038; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.75rem 1.25rem; align-items: center; }
.consent[hidden] { display: none; }
.consent p { margin: 0; font-size: 0.875rem; line-height: 1.5; color: #5A6570; }
.consent p a { color: #4f8a72; font-weight: 600; text-decoration: none; border-bottom: 1px solid #8dc3ae; }
.consent__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.consent button { font: inherit; font-size: 0.875rem; font-weight: 600; min-height: 2.6rem; padding: 0.5rem 1rem; border-radius: 10px; cursor: pointer; border: 2px solid transparent; }
.consent [data-consent="all"] { background: #8dc3ae; color: #283038; }
.consent [data-consent="all"]:hover { background: #7ab39d; }
.consent [data-consent="essential"] { background: transparent; color: #283038; border-color: #283038; }
.consent [data-consent="essential"]:hover { background: rgba(40, 48, 56, 0.06); }
@media (max-width: 640px) { .consent { grid-template-columns: 1fr; left: 0.6rem; right: 0.6rem; bottom: 0.6rem; } .consent__actions button { flex: 1; } }
body.has-consent .sticky { display: none; }
