:root {
  color-scheme: light;
  --ink: #061d46;
  --navy: #03263e;
  --muted: #40576b;
  --line: #d6e3ec;
  --cyan: #39e5f5;
  --lime: #b6ea00;
  font-family: "Avenir Next", Avenir, system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #f7f9fa; }
[hidden] { display: none !important; }
a { color: inherit; }
a:focus-visible, input:focus-visible { outline: 3px solid #087ba3; outline-offset: 3px; }
h1, h2, p, ul, ol { margin: 0; }
.shell { width: min(1240px, calc(100% - clamp(32px, 7vw, 112px))); margin-inline: auto; }
.skip { position: absolute; top: 12px; left: 16px; padding: 10px; z-index: 2; background: #fff; }
.skip:not(:focus) { clip-path: inset(50%); }
.header { background: #fff; }
.header-inner, .header nav { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.header-inner { min-height: 72px; }
.brand img { display: block; width: 182px; height: auto; }
.header a { font-weight: 700; }
.button { display: inline-flex; min-height: 42px; align-items: center; padding: 8px 15px; border-radius: 9px; background: var(--lime); text-decoration: none; }
.button:hover { background: #c6f22d; }
.hero { background: linear-gradient(115deg, #032238 48%, #07425c); color: #fff; }
.hero-inner { padding-block: clamp(22px, 4vw, 48px) clamp(26px, 5vw, 54px); }
.breadcrumb ol { display: flex; gap: 10px; list-style: none; padding: 0; font-size: .9rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: var(--cyan); }
.hero h1 { margin-top: 18px; font-size: clamp(2.15rem, 6vw, 4.5rem); line-height: 1.05; letter-spacing: -.045em; }
.hero p { margin-top: 12px; max-width: 60ch; line-height: 1.55; color: #e0f2fa; }
.find { display: grid; gap: 7px; max-width: 570px; margin-top: 22px; }
.find label { font-weight: 720; }
.find input { display: block; width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid #92b9cd; border-radius: 9px; color: var(--ink); font: inherit; font-size: 1rem; }
#risultati { display: block; min-height: 1.4em; margin: 0; font-size: .9rem; }
.directory { display: grid; grid-template-columns: minmax(180px, 235px) minmax(0, 1fr); gap: clamp(23px, 4vw, 62px); align-items: start; padding-block: clamp(24px, 4vw, 46px) 56px; }
.categories h2 { margin-bottom: 10px; font-size: 1.13rem; }
.categories ul { padding: 0; list-style: none; }
.categories a { display: block; padding: 7px 0; color: #0b5272; font-size: .92rem; text-underline-offset: 3px; }
.category { scroll-margin-top: 15px; }
.category + .category { margin-top: 34px; }
.category h2 { padding-bottom: 10px; font-size: clamp(1.22rem, 2.25vw, 1.7rem); line-height: 1.2; letter-spacing: -.025em; border-bottom: 2px solid #26bfcf; }
.activities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding: 12px 0 0; list-style: none; }
.activity { display: flex; flex-direction: column; align-items: start; gap: 4px; min-height: 67px; height: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; text-decoration: none; overflow-wrap: anywhere; }
.activity:hover { border-color: #73b2c9; background: #edf8fc; }
.activity-name { font-weight: 710; line-height: 1.34; }
.activity-action { font-size: .86rem; line-height: 1.28; font-weight: 630; text-underline-offset: 3px; text-decoration: underline; color: #20556e; }
.activity-quote .activity-action { color: #226719; }
#nessun-risultato { line-height: 1.55; }
.footer { color: #e7f4fc; background: var(--navy); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; padding-block: 20px; font-size: .9rem; }
.footer a { text-underline-offset: 3px; }
@media (max-width: 760px) {
  .directory { grid-template-columns: minmax(0, 1fr); }
  .categories ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 13px; }
  .categories a { padding-block: 8px; }
}
@media (max-width: 540px) {
  .header-inner, .header nav { gap: 9px; }
  .header-inner { min-height: 61px; }
  .header nav > a:not(.button) { display: none; }
  .brand img { width: 135px; }
  .button { padding-inline: 10px; font-size: .82rem; }
  .activities { grid-template-columns: minmax(0, 1fr); }
  .activity { min-height: 56px; }
}

.activity-detail { display:inline-flex; padding:.35rem .6rem; color:#075a8e; font-size:.85rem; font-weight:700; text-underline-offset:.18em; }
.directory-more { color:inherit; text-underline-offset:.18em; }
