/* Menu a tendina del sito (select.js): pulsante a pillola e elenco con i colori del tema */
.idh-dd { position: relative; display: inline-block; font-family: var(--igdp-font-sans), system-ui, sans-serif; }
.idh-dd-btn { appearance: none; -webkit-appearance: none; box-sizing: border-box; min-height: 40px; max-width: 260px; padding: 0 40px 0 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--igdp-ink, #0F1D2D); background-color: #fff; color: var(--igdp-ink, #0F1D2D); font: inherit; font-size: 15px; font-weight: 700; text-align: left;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%230F1D2D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; transition: background-color .2s ease; }
.idh-dd-btn:hover, .idh-dd.is-open .idh-dd-btn { background-color: var(--igdp-sand, #EFE8DE); }
.idh-dd-btn:focus-visible { outline: 2px solid var(--igdp-lava, #C4521F); outline-offset: 2px; }
.idh-dd-list { position: absolute; z-index: 50; top: calc(100% + 6px); left: 0; min-width: 100%; width: max-content; max-width: 320px; max-height: 320px; overflow-y: auto; margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid var(--igdp-ink, #0F1D2D); border-radius: 16px; box-shadow: 0 12px 28px rgba(15, 29, 45, .18); outline: none; }
.idh-dd-list[hidden] { display: none; }
.idh-dd-opt { padding: 9px 14px; border-radius: 10px; color: var(--igdp-ink, #0F1D2D); font-size: 15px; font-weight: 500; line-height: 1.3; cursor: pointer; font-variant-numeric: tabular-nums; }
.idh-dd-opt.is-active { background: var(--igdp-sand, #EFE8DE); }
.idh-dd-opt.is-on { font-weight: 800; color: var(--igdp-lava-text, #B4471B); }
@media (max-width: 767px) { .idh-dd-list { max-width: calc(100vw - 48px); } }
@media (prefers-reduced-motion: reduce) { .idh-dd-btn { transition: none; } }
