/* Header dropdowns (Ireland, UK & US tax) */
.qd-dd { position: relative; }
.qd-dd > summary { list-style: none; cursor: pointer; color: var(--ink); font-size: 0.95rem; font-weight: 500; padding: 0 0 3px; border-bottom: 2px solid transparent; white-space: nowrap; font-family: -apple-system, 'Segoe UI', system-ui, sans-serif; }
.qd-dd > summary::-webkit-details-marker { display: none; }
.qd-dd > summary::after { content: "\25BE"; font-size: 0.75em; margin-left: 0.3rem; }
.qd-dd > summary:hover { color: var(--amber-deep); }
.qd-dd.active > summary { border-bottom-color: var(--amber); }
.qd-dd-menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; display: flex; flex-direction: column; padding: 0.4rem; background: var(--panel, #fff); border: 1px solid var(--line, #e8d9fb); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.14); z-index: 1000; }
.qd-nav .qd-dd-menu a { padding: 0.5rem 0.65rem; border-bottom: 0; border-radius: 6px; white-space: nowrap; font-size: 0.92rem; }
.qd-nav .qd-dd-menu a:hover { background: rgba(124, 58, 237, 0.09); }
.qd-nav .qd-dd-menu a.active { font-weight: 700; }
.qd-dd:last-child .qd-dd-menu { left: auto; right: 0; }
@media (max-width: 700px) {
  .qd-dd > summary { font-size: 0.88rem; }
  .qd-nav { position: relative; }
  .qd-dd { position: static; }
  .qd-dd-menu, .qd-dd:last-child .qd-dd-menu { left: 0; right: 0; min-width: 0; top: 100%; margin-top: 6px; }
}
