/* lucapranay.blog: Multilanguage box (language accordion under a video), added 2026-10-15.
   Same markup as on nove-europa.eu (a core Details block with class ne-lang); colours and fonts follow this blog (Cabin, sage article, plum accent #592c3c).
   Loaded only on posts whose content contains the box (see novamira-sandbox/lp-lang-box.php). */
.entry-content details.ne-lang { background: rgba(188, 182, 182, 0.22); border: 1px solid rgba(188, 182, 182, 0.55); border-radius: 2px; margin: 14px 0 22px; color: #161a11; text-align: left; hyphens: manual; -webkit-hyphens: manual; }
.entry-content details.ne-lang > summary { display: flex; align-items: center; gap: 14px; padding: 14px 16px; cursor: pointer; list-style: none; font-weight: 500; line-height: 1.45; color: #161a11; text-align: left; }
.entry-content details.ne-lang > summary::-webkit-details-marker { display: none; }
.entry-content details.ne-lang > summary::before { content: ''; flex: none; width: 9px; height: 9px; margin: 0 4px 3px 2px; border-right: 2px solid #592c3c; border-bottom: 2px solid #592c3c; transform: rotate(45deg); transition: transform 0.25s; }
.entry-content details.ne-lang[open] > summary::before { transform: rotate(225deg); margin-bottom: 0; margin-top: 3px; }
.entry-content details.ne-lang > summary::after { content: ''; flex: none; margin-left: auto; width: 24px; height: 24px; background: #592c3c; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 0 0-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 0 0-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 0 0-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 0 0-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 0 0 1.066-2.573c-.94-1.543.826-3.31 2.37-2.37 1 .608 2.296.07 2.572-1.065z'/%3E%3Cpath d='M9 12a3 3 0 1 0 6 0a3 3 0 0 0-6 0'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 0 0-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 0 0-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 0 0-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 0 0-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 0 0 1.066-2.573c-.94-1.543.826-3.31 2.37-2.37 1 .608 2.296.07 2.572-1.065z'/%3E%3Cpath d='M9 12a3 3 0 1 0 6 0a3 3 0 0 0-6 0'/%3E%3C/svg%3E") center / contain no-repeat; }
.entry-content details.ne-lang > summary strong { font-weight: 700; }
.entry-content details.ne-lang[open] > summary { border-bottom: 1px solid rgba(89, 44, 60, 0.18); margin-bottom: 14px; }
.entry-content details.ne-lang > :not(summary) { margin-left: 16px; margin-right: 16px; text-align: left; hyphens: manual; -webkit-hyphens: manual; }
.entry-content details.ne-lang > :last-child { margin-bottom: 18px; }
.entry-content details.ne-lang .ne-lang-h { margin-top: 18px; margin-bottom: 8px; font-weight: 500; line-height: 1.4; }
.entry-content details.ne-lang .ne-lang-note { margin-top: 10px; margin-bottom: 4px; font-size: 0.9em; line-height: 1.5; color: #4a5043; }
.entry-content details.ne-lang .ne-lang-how { margin-top: 16px; margin-bottom: 0; font-size: 0.95em; line-height: 1.5; }
.entry-content details.ne-lang .ne-lang-how + .ne-lang-note { margin-top: 8px; }
.entry-content details.ne-lang > .ne-lang-note:last-child { margin-bottom: 18px; }
.entry-content details.ne-lang ul.ne-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin-top: 0; margin-bottom: 0; }
.entry-content details.ne-lang ul.ne-chips li { margin: 0; padding: 3px 11px; border: 1px solid rgba(89, 44, 60, 0.28); border-radius: 999px; background: rgba(255, 255, 255, 0.6); font-size: 0.85em; font-weight: 500; line-height: 1.4; color: #3b1a28; text-align: left; }
.entry-content details.ne-lang ul.ne-chips li[data-lang] { cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.entry-content details.ne-lang ul.ne-chips li[data-lang]:hover { border-color: #592c3c; }
.entry-content details.ne-lang ul.ne-chips li[data-lang]:focus-visible { outline: 2px solid #592c3c; outline-offset: 2px; }
.entry-content details.ne-lang ul.ne-chips li.on { background: #592c3c; border-color: #592c3c; color: #fff; }
.entry-content details.ne-lang .ne-ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.22em; }
.entry-content details.ne-lang .ne-ic-gear { margin: 0 0.1em; color: #592c3c; }
.entry-content details.ne-lang .ne-mi { display: inline-flex; align-items: center; gap: 5px; padding: 1px 9px 1px 7px; margin: 1px; border: 1px solid rgba(89, 44, 60, 0.28); border-radius: 6px; background: rgba(255, 255, 255, 0.6); color: #3b1a28; font-weight: 600; white-space: nowrap; }
.entry-content details.ne-lang .ne-mi .ne-ic { vertical-align: 0; color: #592c3c; }
.entry-content figure.wp-block-embed:has(+ details.ne-lang) { margin-bottom: 0; }
.entry-content details.ne-lang ul.ne-chips li:not([data-lang]) { opacity: 0.6; font-weight: 400; }
/* Header on two or more lines (2026-10-16): summary is an ordinary block, arrow and gear sit in reserved side padding so a long header never runs over them */
.entry-content details.ne-lang > summary { display: block; position: relative; padding: 14px 58px 14px 46px; }
.entry-content details.ne-lang > summary::before { position: absolute; left: 18px; top: 50%; margin: -7px 0 0 0; }
.entry-content details.ne-lang[open] > summary::before { margin: -3px 0 0 0; }
.entry-content details.ne-lang > summary::after { position: absolute; right: 16px; top: 50%; margin: -12px 0 0 0; }
/* Header on phones: at most 3 lines (2026-10-16) */
@media (max-width: 680px) { .entry-content details.ne-lang > summary { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; } }
/* Phones: nothing of a cut-off 4th line may show under the 3-line header (2026-10-16): the vertical spacing is a transparent border, outside the clipped area */
@media (max-width: 680px) {
  .entry-content details.ne-lang > summary { padding-top: 0; padding-bottom: 0; border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
  .entry-content details.ne-lang[open] > summary { border-bottom: 14px solid transparent; box-shadow: 0 1px 0 rgba(89, 44, 60, 0.18); margin-bottom: 15px; }
}
/* Header: at most 3 lines at every width on this blog (the post column is narrow), clipped cleanly (2026-10-16) */
.entry-content details.ne-lang > summary { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; padding-top: 0; padding-bottom: 0; border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.entry-content details.ne-lang[open] > summary { border-bottom: 14px solid transparent; box-shadow: 0 1px 0 rgba(89, 44, 60, 0.18); margin-bottom: 15px; }
