/* Profilo pubblico (organizzatore.php, /organizzatore/<slug>): testata, numeri in righe da scheda tecnica,
   elenchi di raduni con le righe .dash-row di style.css, garage. */
.op-wrap { max-width: 1100px; margin: 0 auto; padding: 1.25rem 16px 3rem; }
.op-crumbs { display: flex; flex-wrap: nowrap; gap: .4rem; overflow-x: auto; scrollbar-width: none; margin: 0 0 1rem; font-size: .78rem; color: var(--text-muted); white-space: nowrap; }
.op-crumbs::-webkit-scrollbar { display: none; }
.op-crumbs a { color: var(--text-muted); text-decoration: none; }
.op-crumbs a:hover { color: var(--primary); }
.op-crumbs [aria-current] { color: var(--text); }

/* Testata */
.op-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem 1.25rem; align-items: center; }
.op-avatar { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--bg-panel); border: 1px solid var(--border-light); font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 1.7rem; color: var(--text); }
.op-h1 { margin: 0; font-family: 'Barlow Condensed', sans-serif; font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 7vw, 3rem); line-height: .95; letter-spacing: -.005em; color: var(--text); overflow-wrap: anywhere; }
.op-ruolo { margin: .35rem 0 0; font-size: .95rem; color: var(--text-muted); }
.op-ruolo b { color: var(--text); font-weight: 600; }
.op-bio { grid-column: 1 / -1; margin: 0; max-width: 68ch; font-size: 1rem; line-height: 1.65; color: var(--text); }
.op-azioni { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.op-btn { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 1rem; border: 1.5px solid var(--border); border-radius: 6px; background: var(--bg-card); color: var(--text); font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; transition: border-color .15s, color .15s, background .15s; }
.op-btn svg { flex: none; color: var(--text-muted); transition: color .15s; }
.op-btn:hover { border-color: var(--primary); color: var(--primary); }
.op-btn:hover svg { color: var(--primary); }
.op-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.op-btn--primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.op-btn--primary svg { color: #fff; }
.op-btn--primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.op-btn--primary:hover svg { color: #fff; }

/* Numeri: righe etichettate, non riquadri */
.op-num { margin: 1.5rem 0 0; border-top: 2px solid var(--primary); display: grid; grid-template-columns: 1fr; }
.op-num div { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--border); }
.op-num dt { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.op-num dd { margin: 0; font-weight: 700; font-size: 1.05rem; color: var(--text); font-variant-numeric: tabular-nums; text-align: right; }
.op-num dd small { font-weight: 400; font-size: .85rem; color: var(--text-muted); margin-left: .3rem; }
.op-stelle { display: inline-flex; gap: 2px; vertical-align: -2px; margin-right: .35rem; color: var(--border-light); }
.op-stelle .on { color: var(--orange); }
@media (min-width: 700px) {
  .op-num { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
}

/* Sezioni */
.op-sez { margin-top: 2.25rem; }
.op-sez-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-top: 2px solid var(--primary); padding: .75rem 0 .5rem; }
.op-sez-t { margin: 0; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.35rem; letter-spacing: .03em; text-transform: uppercase; color: var(--text); }
.op-sez-n { font-size: .88rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.op-sez-sub { margin: .25rem 0 .75rem; font-size: .92rem; color: var(--text-muted); max-width: 68ch; }
.op-past { margin-top: .5rem; }
.op-past summary { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; cursor: pointer; font-weight: 700; font-size: .92rem; color: var(--text-muted); }
.op-past summary b { font-weight: 600; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.op-past summary:hover { color: var(--text); }
.op-past summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.op-past .dash-row > a { opacity: .75; }
.op-past .dash-row > a:hover { opacity: 1; }

/* Garage */
.op-garage { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: .5rem; }
.op-auto { display: block; overflow: hidden; border: 1px solid var(--border); border-radius: 6px; background: var(--bg-card); color: var(--text); text-decoration: none; transition: border-color .15s; }
.op-auto:hover { border-color: var(--primary); }
.op-auto:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.op-auto-img { aspect-ratio: 16 / 10; background: var(--bg-panel); display: flex; align-items: center; justify-content: center; color: var(--text-dim); }
.op-auto-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.op-auto-t { padding: .7rem .85rem .2rem; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.05rem; text-transform: uppercase; }
.op-auto-m { padding: 0 .85rem .75rem; font-size: .85rem; color: var(--text-muted); }

.op-vuoto { margin-top: 2rem; padding: 1rem; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-panel); color: var(--text-muted); }
.op-vuoto strong { color: var(--text); }

@media (max-width: 600px) { .dash-row-tipo { display: none; } }
