/* ================================================================
   GEI-SIBSC 2026 — Stile portale congressuale
   Palette: Blu notte #0a1628 · Blu medio #12254a · Oro #c9a84c
   ================================================================ */

/* ── Reset & base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blu-scuro:  #0a1628;
  --blu-medio:  #12254a;
  --blu-chiaro: #1e3a6e;
  --oro:        #c9a84c;
  --oro-chiaro: #e0c06a;
  --bianco:     #ffffff;
  --grigio-ch:  #f4f6f9;
  --grigio:     #6c757d;
  --testo:      #1a1a2e;
  --font-sans:  'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;
  --radius:     6px;
  --shadow:     0 4px 18px rgba(0,0,0,.14);
  --transition: .2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--testo);
  background: var(--grigio-ch);
}

a { color: var(--blu-chiaro); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--oro); }

img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4 { font-family: var(--font-sans); font-weight: 700; line-height: 1.25; }

/* ── Navbar ────────────────────────────────────────────────────── */
.navbar {
  background: var(--blu-scuro);
  border-bottom: 3px solid var(--oro);
  position: sticky; top: 0; z-index: 1000;
}
.navbar-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: .8rem 1.5rem;
  gap: 1rem;
}
.navbar-brand {
  display: flex; flex-direction: row; align-items: center;
  gap: .75rem;
  text-decoration: none;
}
.navbar-brand .brand-main {
  color: var(--oro);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: .03em;
}
.navbar-brand .brand-sub {
  color: rgba(255,255,255,.65);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .05em;
}
.navbar-logo {
  height: 64px;
  width: auto;
  flex-shrink: 0;
}
.navbar-brand-text {
  display: flex;
  flex-direction: column;
}
.nav-links {
  display: flex; align-items: center;
  list-style: none; gap: .15rem;
}
.nav-links a {
  color: rgba(255,255,255,.85);
  padding: .5rem .85rem;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  background: var(--oro);
  color: var(--blu-scuro);
}
.nav-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: .4rem;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--bianco); margin: 5px 0;
  transition: var(--transition);
}

/* ── Hero ──────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--blu-scuro) 0%, var(--blu-medio) 60%, var(--blu-chiaro) 100%);
  color: var(--bianco);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: .4;
}
.hero-content { position: relative; max-width: 800px; margin: 0 auto; }
.hero-label {
  display: inline-block;
  background: var(--oro);
  color: var(--blu-scuro);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .9rem; border-radius: 20px;
  margin-bottom: 1.2rem;
}
.hero h1 {
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: .6rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.hero-date {
  font-size: 1.15rem;
  color: var(--oro-chiaro);
  font-weight: 600;
  margin-bottom: .4rem;
}
.hero-luogo {
  font-size: 1rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 2rem;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Bottoni ───────────────────────────────────────────────────── */
/* ── Bootstrap 5: override variabili CSS primarie con oro ─────── */
:root {
  --bs-primary:                var(--oro);
  --bs-primary-rgb:            201, 168, 76;
  --bs-primary-text-emphasis:  var(--blu-scuro);
  --bs-primary-bg-subtle:      rgba(201,168,76,.12);
  --bs-primary-border-subtle:  rgba(201,168,76,.35);
  --bs-link-color:             var(--oro);
  --bs-link-hover-color:       var(--oro-chiaro);
}

.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .7rem 1.6rem; border-radius: var(--radius);
  font-size: .95rem; font-weight: 600;
  cursor: pointer; border: 2px solid transparent;
  transition: all var(--transition); text-decoration: none;
}
/* Sovrascrive Bootstrap 5 tramite CSS variables + proprietà dirette */
.btn-primary {
  --bs-btn-bg:               var(--oro);
  --bs-btn-border-color:     var(--oro);
  --bs-btn-color:            var(--blu-scuro);
  --bs-btn-hover-bg:         var(--oro-chiaro);
  --bs-btn-hover-border-color: var(--oro-chiaro);
  --bs-btn-hover-color:      var(--blu-scuro);
  --bs-btn-active-bg:        #b8963e;
  --bs-btn-active-border-color: #b8963e;
  --bs-btn-active-color:     var(--blu-scuro);
  background: var(--oro) !important; color: var(--blu-scuro) !important;
  border-color: var(--oro) !important; font-weight: 700;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--oro-chiaro) !important;
  border-color: var(--oro-chiaro) !important;
  color: var(--blu-scuro) !important;
}
.btn-outline   { background: transparent; border-color: rgba(255,255,255,.5); color: var(--bianco); }
.btn-outline:hover { border-color: var(--oro); color: var(--oro); background: transparent; }
.btn-secondary {
  --bs-btn-bg: var(--blu-medio); --bs-btn-border-color: var(--blu-medio);
  --bs-btn-color: var(--bianco);
  background: var(--blu-medio); color: var(--bianco);
}
.btn-secondary:hover { background: var(--blu-chiaro); border-color: var(--blu-chiaro); }
.btn-danger    { background: #c0392b; color: var(--bianco); }
.btn-danger:hover { background: #a93226; }
.btn-sm { padding: .35rem .9rem; font-size: .82rem; }
.btn-success { background: #27ae60; color: var(--bianco); }
/* bg-primary / badge bootstrap → oro */
.bg-primary { background-color: var(--oro) !important; color: var(--blu-scuro) !important; }
.text-primary { color: var(--oro) !important; }
.badge.bg-primary { background-color: var(--oro) !important; color: var(--blu-scuro) !important; }
.border-primary { border-color: var(--oro) !important; }
/* Progress bar */
.progress-bar { background-color: var(--oro) !important; }

/* ── Layout principale ─────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.content-area { padding: 3rem 0 4rem; }

/* ── Sezione titolata ──────────────────────────────────────────── */
.section { padding: 4rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--blu-scuro);
}
.section-header .divider {
  width: 60px; height: 4px;
  background: var(--oro);
  margin: .8rem auto 1rem;
  border-radius: 2px;
}
.section-header p { color: var(--grigio); font-size: 1.05rem; }

/* ── Card base ─────────────────────────────────────────────────── */
.card {
  background: var(--bianco);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.18); }
.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 1.4rem; }
.card-label {
  display: inline-block; background: var(--blu-scuro);
  color: var(--oro); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  padding: .25rem .7rem; border-radius: 3px; margin-bottom: .7rem;
}
.card-body h3 { font-size: 1.1rem; margin-bottom: .5rem; color: var(--testo); }
.card-body p  { color: var(--grigio); font-size: .93rem; line-height: 1.55; }
.card-footer { padding: .8rem 1.4rem; border-top: 1px solid #eee; font-size: .83rem; color: var(--grigio); }

/* ── Grid notizie ──────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.6rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.6rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; }

/* ── Stats bar ─────────────────────────────────────────────────── */
.stats-bar {
  background: var(--blu-medio);
  color: var(--bianco);
  padding: 2.5rem 0;
}
.stats-bar .container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 1.5rem; }
.stat-item { text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--oro); line-height: 1; }
.stat-label  { font-size: .85rem; color: rgba(255,255,255,.65); margin-top: .3rem; text-transform: uppercase; letter-spacing: .05em; }

/* ── Programma ─────────────────────────────────────────────────── */
.prog-giorno { margin-bottom: 2.5rem; }
.prog-giorno h3 {
  background: var(--blu-medio);
  color: var(--bianco); padding: .8rem 1.2rem;
  border-left: 5px solid var(--oro);
  border-radius: var(--radius) var(--radius) 0 0;
  font-size: 1.05rem;
}
.prog-sessione {
  display: flex; gap: 1rem; padding: 1rem 1.2rem;
  border: 1px solid #e5e8ee; border-top: none;
  background: var(--bianco);
  transition: background var(--transition);
}
.prog-sessione:hover { background: #f8f9ff; }
.prog-ora  { min-width: 100px; color: var(--grigio); font-size: .88rem; font-weight: 600; }
.prog-info { flex: 1; }
.prog-info strong { display: block; margin-bottom: .2rem; }
.prog-oratore { color: var(--blu-chiaro); font-size: .88rem; }
.tipo-badge {
  display: inline-block; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; padding: .2rem .6rem;
  border-radius: 3px; margin-bottom: .3rem;
}
.tipo-keynote    { background: #fff3cd; color: #856404; }
.tipo-comunicazione { background: #d1ecf1; color: #0c5460; }
.tipo-pausa      { background: #e8f4e8; color: #155724; }
.tipo-social     { background: #f8d7da; color: #721c24; }

/* ── Oratori ───────────────────────────────────────────────────── */
.oratore-card { display: flex; gap: 1.2rem; padding: 1.4rem; }
.oratore-foto { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid var(--oro); }
.oratore-foto-placeholder {
  width: 80px; height: 80px; border-radius: 50%; flex-shrink: 0;
  background: var(--blu-medio); display: flex; align-items: center; justify-content: center;
  color: var(--oro); font-size: 1.8rem; font-weight: 700;
  border: 3px solid var(--oro);
}
.keynote-badge { display: inline-block; background: var(--oro); color: var(--blu-scuro); font-size: .7rem; font-weight: 700; padding: .15rem .6rem; border-radius: 3px; text-transform: uppercase; margin-bottom: .3rem; }

/* ── Pagina contenuto ──────────────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--blu-scuro), var(--blu-medio));
  color: var(--bianco); padding: 3rem 1.5rem;
}
.page-header h1 { font-size: clamp(1.6rem,4vw,2.5rem); }
.page-header .page-sub { color: var(--oro-chiaro); margin-top: .4rem; }
.content-body { max-width: 820px; margin: 0 auto; }
.content-body h2 { color: var(--blu-scuro); margin: 2rem 0 .8rem; border-bottom: 2px solid var(--oro); padding-bottom: .4rem; }
.content-body h3 { color: var(--blu-medio); margin: 1.5rem 0 .5rem; }
.content-body p  { margin-bottom: 1rem; }
.content-body ul, .content-body ol { margin: 0 0 1rem 1.5rem; }

/* ── Notizia singola ───────────────────────────────────────────── */
.notizia-img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); margin-bottom: 2rem; }
.notizia-meta { color: var(--grigio); font-size: .88rem; margin-bottom: 1.5rem; }

/* ── Flash messages ────────────────────────────────────────────── */
.flash-container { position: fixed; top: 70px; right: 1.5rem; z-index: 2000; display: flex; flex-direction: column; gap: .5rem; }
.flash {
  padding: .85rem 1.2rem; border-radius: var(--radius);
  font-size: .9rem; font-weight: 500; min-width: 260px; max-width: 420px;
  box-shadow: var(--shadow); animation: slideIn .25s ease;
}
@keyframes slideIn { from { opacity:0; transform:translateX(30px); } to { opacity:1; transform:translateX(0); } }
.flash-success { background: #d4edda; color: #155724; border-left: 4px solid #28a745; }
.flash-danger  { background: #f8d7da; color: #721c24; border-left: 4px solid #dc3545; }
.flash-warning { background: #fff3cd; color: #856404; border-left: 4px solid #ffc107; }
.flash-info    { background: #d1ecf1; color: #0c5460; border-left: 4px solid #17a2b8; }

/* ── Footer ────────────────────────────────────────────────────── */
.site-footer {
  background: var(--blu-scuro);
  color: rgba(255,255,255,.6);
  border-top: 3px solid var(--oro);
  padding: 3rem 0 1.5rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-brand { color: var(--oro); font-size: 1.1rem; font-weight: 700; margin-bottom: .6rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: .4rem; }
.footer-links a { color: rgba(255,255,255,.55); font-size: .9rem; }
.footer-links a:hover { color: var(--oro); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1rem; text-align: center; font-size: .83rem; }
.footer-title { color: rgba(255,255,255,.85); font-weight: 600; margin-bottom: .8rem; font-size: .88rem; text-transform: uppercase; letter-spacing: .06em; }

/* ── Sponsor ───────────────────────────────────────────────────── */
.sponsor-section { background: var(--bianco); padding: 3rem 0; border-top: 1px solid #e5e8ee; }
.sponsor-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2rem; }
.sponsor-logo { height: 60px; object-fit: contain; filter: grayscale(40%); transition: filter var(--transition); }
.sponsor-logo:hover { filter: none; }

/* ── Redazione (admin) ─────────────────────────────────────────── */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px; flex-shrink: 0;
  background: var(--blu-scuro);
  border-right: 3px solid var(--oro);
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-logo {
  padding: 1.4rem 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.admin-logo span { color: var(--oro); font-weight: 800; font-size: .95rem; display: block; }
.admin-logo small { color: rgba(255,255,255,.4); font-size: .72rem; }
.admin-nav { flex: 1; padding: 1rem 0; }
.admin-nav a {
  display: flex; align-items: center; gap: .7rem;
  color: rgba(255,255,255,.7); font-size: .88rem;
  padding: .65rem 1.2rem; transition: all var(--transition);
  border-left: 3px solid transparent;
}
.admin-nav a:hover, .admin-nav a.active {
  background: rgba(201,168,76,.12);
  color: var(--oro);
  border-left-color: var(--oro);
}
.admin-nav .nav-group-title {
  color: rgba(255,255,255,.3); font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  padding: 1rem 1.2rem .3rem;
}
.admin-main { flex: 1; background: var(--grigio-ch); }
.admin-topbar {
  background: var(--bianco); border-bottom: 1px solid #e5e8ee;
  padding: .9rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.admin-topbar h1 { font-size: 1.1rem; color: var(--blu-scuro); }
.admin-content { padding: 1.8rem 1.5rem; }

/* ── Tabella admin ─────────────────────────────────────────────── */
.table-wrap { background: var(--bianco); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
thead { background: var(--blu-scuro); color: var(--bianco); }
thead th { padding: .85rem 1rem; text-align: left; font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
tbody tr { border-bottom: 1px solid #eef0f3; }
tbody tr:last-child { border-bottom: none; }
tbody td { padding: .8rem 1rem; vertical-align: middle; }
tbody tr:hover { background: #f7f8fc; }

/* ── Form ──────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: .4rem; color: var(--testo); }
.form-control {
  width: 100%; padding: .65rem .9rem;
  border: 1px solid #ced4da; border-radius: var(--radius);
  font-size: .93rem; font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus, .form-select:focus {
  outline: none;
  border-color: var(--oro);
  box-shadow: 0 0 0 3px rgba(201,168,76,.22);
}
textarea.form-control { min-height: 200px; resize: vertical; font-family: monospace; }
.form-check { display: flex; align-items: center; gap: .5rem; }
.form-text { color: var(--grigio); font-size: .8rem; margin-top: .3rem; }
.form-card { background: var(--bianco); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.8rem; }

/* ── Badge stato ───────────────────────────────────────────────── */
.badge { display: inline-block; padding: .25rem .7rem; border-radius: 20px; font-size: .75rem; font-weight: 700; }
.badge-success { background: #d4edda; color: #155724; }
.badge-warning { background: #fff3cd; color: #856404; }
.badge-danger  { background: #f8d7da; color: #721c24; }
.badge-info    { background: #d1ecf1; color: #0c5460; }

/* ── Login page ─────────────────────────────────────────────────── */
.login-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blu-scuro) 0%, var(--blu-medio) 100%);
  padding: 2rem;
}
.login-box {
  background: var(--bianco); border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  width: 100%; max-width: 420px; padding: 2.5rem;
}
.login-logo { text-align: center; margin-bottom: 2rem; }
.login-logo .login-title { color: var(--blu-scuro); font-size: 1.1rem; font-weight: 700; }
.login-logo .login-sub   { color: var(--grigio); font-size: .83rem; }
.login-oro { display: block; width: 50px; height: 4px; background: var(--oro); margin: .6rem auto .8rem; border-radius: 2px; }

/* ── Paginazione ───────────────────────────────────────────────── */
.pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 2rem; }
.pagination a, .pagination span {
  padding: .5rem .85rem; border-radius: var(--radius);
  font-size: .88rem; border: 1px solid #dee2e6;
  background: var(--bianco); color: var(--testo);
}
.pagination a:hover { background: var(--blu-scuro); color: var(--bianco); border-color: var(--blu-scuro); }
.pagination .current { background: var(--blu-scuro); color: var(--bianco); border-color: var(--blu-scuro); font-weight: 700; }

/* ── Responive ─────────────────────────────────────────────────── */
@media (max-width: 992px) {
  .grid-3  { grid-template-columns: repeat(2,1fr); }
  .grid-4  { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--blu-scuro); padding: 1rem; gap: .2rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .navbar { position: relative; }
  .navbar-logo { height: 44px; }
  .navbar-inner { padding: .6rem 1rem; }
  .navbar-brand .brand-main { font-size: 1rem; }
  .navbar-brand .brand-sub { display: none; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; position: static; }
  .admin-nav { display: flex; flex-wrap: wrap; padding: .5rem; }
  .admin-nav a { padding: .5rem .8rem; font-size: .8rem; }
  .oratore-card { flex-direction: column; align-items: center; text-align: center; }
  .hero { padding: 3.5rem 1rem 3rem; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .stats-bar .container { flex-direction: column; gap: 1rem; }
}

/* ================================================================
   HERO POSTER — replica grafica locandina GEI-SIBSC 2026
   ================================================================ */

.hero-poster {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(30,58,130,.6) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(12,37,74,.8) 0%, transparent 55%),
    linear-gradient(160deg, #04102b 0%, #0a1a45 35%, #0d2257 65%, #0a1628 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding-bottom: 2.5rem;
}

/* Subtle dot pattern overlay */
.hero-poster::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(201,168,76,.07) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Farther decorative glow rings */
.hero-poster::after {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,.08);
  top: -200px; left: -150px;
  pointer-events: none;
}

.hp-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
}

/* ── Logos bar ─────────────────────────────────────────────────── */
.hero-logos-bar {
  border-bottom: 1px solid rgba(201,168,76,.25);
  padding: 1rem 0;
}
.hero-logos-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.hero-logo-box {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.hero-logo-box--right { flex-direction: row-reverse; }
.logo-gei-icon, .logo-uniba-icon {
  width: 44px; height: 44px; flex-shrink: 0;
}
.logo-gei-img,
.logo-uniba-img {
  height: 48px;
  width: auto;
  flex-shrink: 0;
}
.hero-logo-text {
  font-size: .72rem;
  line-height: 1.45;
  color: rgba(255,255,255,.85);
}
.hero-logo-text strong { display: block; font-size: .85rem; font-weight: 800; color: #fff; }
.hero-logo-text--right { text-align: right; color: #ffffff; }
.hero-logo-text--right strong { color: #ffffff; }

/* ── Main title block ──────────────────────────────────────────── */
.hero-poster-main {
  text-align: center;
  padding: 2.5rem 0 2rem;
  position: relative;
}

.hero-numero {
  font-size: clamp(5.5rem, 17vw, 11rem);
  font-weight: 900;
  color: var(--oro);
  line-height: .85;
  letter-spacing: -.03em;
  text-shadow: 0 0 60px rgba(201,168,76,.35), 0 4px 20px rgba(0,0,0,.5);
  font-family: var(--font-sans);
}

.hero-titolo-convegno {
  font-size: clamp(1.5rem, 5.5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: .22em;
  margin-top: -.3rem;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

.hero-nome-conv {
  font-size: clamp(2.8rem, 10vw, 6.5rem);
  font-weight: 900;
  color: var(--oro);
  letter-spacing: .06em;
  line-height: 1;
  text-shadow: 0 0 40px rgba(201,168,76,.3), 0 3px 16px rgba(0,0,0,.5);
  font-family: var(--font-sans);
}

.hero-data-luogo {
  font-size: clamp(1rem, 3.5vw, 1.75rem);
  font-weight: 700;
  color: #fff;
  margin-top: .9rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

.hero-citta {
  color: #e74c3c;
  font-weight: 900;
}

.hero-poster-cta {
  display: flex;
  gap: .9rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ── Location cards ────────────────────────────────────────────── */
.hero-location {
  padding-top: 1.5rem;
}

.location-pill-label {
  text-align: center;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 1.2rem;
}
.location-pill-label i {
  color: var(--oro);
  margin-right: .3rem;
}

.location-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.location-card {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: 14px;
  padding: 1.4rem 2rem;
  text-align: center;
  min-width: 190px;
  transition: background .25s, transform .25s;
}
.location-card:hover {
  background: rgba(201,168,76,.1);
  transform: translateY(-3px);
}
.location-card-icon {
  font-size: 1.8rem;
  margin-bottom: .5rem;
}
.location-card-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .3rem;
}
.location-card-addr {
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  line-height: 1.55;
}

.location-arrow {
  font-size: 2rem;
  color: var(--oro);
  opacity: .85;
  flex-shrink: 0;
}

/* ── Organizzatori band ────────────────────────────────────────── */
.organizzatori-band {
  background: #e8edf7;
  border-top: 3px solid rgba(201,168,76,.4);
  border-bottom: 1px solid #cdd5e8;
  padding: 1.4rem 0;
  text-align: center;
}

.org-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--blu-medio);
  margin-bottom: .5rem;
}
.org-label i { margin-right: .35rem; }

.org-names {
  font-size: .9rem;
  color: var(--testo);
  line-height: 1.8;
  font-weight: 500;
}

/* ── Responsive poster ─────────────────────────────────────────── */
@media (max-width: 640px) {
  .hero-logos-inner { flex-direction: column; gap: .8rem; text-align: center; }
  .hero-logo-box--right { flex-direction: row; }
  .hero-logo-text--right { text-align: left; }
  .location-cards { gap: .8rem; }
  .location-card { min-width: 140px; padding: 1rem 1.2rem; }
  .location-arrow { font-size: 1.4rem; }
  .hero-poster-cta { gap: .6rem; }
  .logo-gei-img,
  .logo-uniba-img { height: 32px; }
}
