@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Source+Sans+3:wght@300;400;500;600&display=swap');

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

:root {
  --black:      #000000;
  --navy:       #1a2744;
  --navy-deep:  #0f1a30;
  --navy-mid:   #243154;
  --gold:       #b8962e;
  --gold-light: #d4af55;
  --gold-pale:  #f5edd8;
  --yellow:     #ece185 ;
  --cream:      #faf8f3;
  --white:      #ffffff;
  
  --arancio:    #FF8000;
  
  --text:       #1a2744;
  --muted:      #6b7280;
  --border:     rgba(26,39,68,0.12);
  --radius:     3px;
  --ff-serif:   'Playfair Display', Georgia, serif;
  --ff-sans:    'Source Sans 3', sans-serif;
  --shadow-sm:  0 2px 8px rgba(26,39,68,0.08);
  --shadow-md:  0 6px 24px rgba(26,39,68,0.12);
  --shadow-lg:  0 16px 48px rgba(26,39,68,0.16);
}

html { scroll-behavior: smooth; }
body { font-family: var(--ff-sans); background: var(--cream); color: var(--text); line-height: 1.6; font-size: 16px; }

/* ─── TYPOGRAPHY ────────────────────────────────────────── */
h1,h2,h3,h4 { font-family: var(--ff-serif); line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── LAYOUT ────────────────────────────────────────────── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 15px 0; }
.section--comm { background: var(--navy-mid); color: var(--white); }
.section--alt { background: var(--white); }
.section--dark { background: var(--navy); color: var(--white); }

/* ─── LABEL / HEADING PATTERN ───────────────────────────── */
.eyebrow { font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase; font-weight: 600; color: var(--gold); display: block; margin-bottom: 0.4rem; }
.section-title { font-size: 2.1rem; color: var(--navy); margin-bottom: 0.4rem; }
.section--dark .section-title { color: var(--white); }
.section-lead { font-size: 1rem; color: var(--muted); max-width: 540px; }
.section--dark .section-lead { color: rgba(255,255,255,0.6); }
.rule { width: 36px; height: 2px; background: var(--gold); margin: 0.9rem 0 1.6rem; }
.section-header { margin-bottom: 3rem; }

/* ─── BUTTONS ───────────────────────────────────────────── */
.btn { display: inline-block; font-family: var(--ff-sans); font-size: 0.88rem; font-weight: 600; letter-spacing: 0.4px; padding: 11px 26px; border-radius: var(--radius); border: none; cursor: pointer; transition: all 0.2s; }
.btn--gold  { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: var(--gold-light); }
.btn--outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.4); }
.btn--outline:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn--navy  { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-mid); }
.btn--yellow  { background: var(--yellow ); color: var(--b); }
.btn--yellow :hover { background: var(--yellow -mid); }

/* ─── NAVBAR ────────────────────────────────────────────── */
.navbar {
  background: var(--navy-deep);
  border-bottom: 2px solid var(--gold);
  position: sticky; top: 0; z-index: 200;
  height: 62px;
}
.navbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.navbar__logo {
  font-family: var(--ff-serif); color: var(--white);
  font-size: 1.45rem; font-weight: 700; letter-spacing: 3px;
}
.navbar__logo span { color: var(--gold-light); }
.navbar__links { display: flex; gap: 0.2rem; list-style: none; }
.navbar__links a {
  display: block; padding: 8px 14px;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.6px;
  text-transform: uppercase; color: rgba(255,255,255,0.75);
  border-radius: var(--radius); transition: color 0.18s, background 0.18s;
}
.navbar__links a:hover,
.navbar__links a.active { color: var(--gold-light); background: rgba(255,255,255,0.06); }
.navbar__cta { font-size: 0.82rem; padding: 8px 20px; }

/* ─── HERO ──────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  min-height: 560px; display: flex; align-items: center;
  background: var(--navy-deep);
}
.hero__bg {
  position: absolute; inset: 0;
  background-image: url('../images/hero.jpg');
  background-size: cover; background-position: center;
  opacity: 0.55;
}
.hero__overlay {
  position: absolute; inset: 0;
/*  background: linear-gradient(105deg, rgba(15,26,48,0.85) 45%, rgba(15,26,48,0.3) 100%);*/
  background: linear-gradient(105deg, rgba(15,26,48,0.60) 45%, rgba(15,26,48,0.15) 100%);

}
.hero__bottom-line {
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, transparent 100%);
}
.hero__content { position: relative; z-index: 2; padding: 80px 0; max-width: 640px; }
.hero__badge {
  display: inline-block; border: 1px solid var(--gold);
  color: var(--gold-light); font-size: 0.68rem; letter-spacing: 3px;
  text-transform: uppercase; padding: 4px 14px; border-radius: 1px; margin-bottom: 1.4rem;
}
.hero__title { font-size: clamp(2.2rem, 4vw, 3.4rem); color: var(--white); font-weight: 700; margin-bottom: 1rem; }
.hero__title em { color: var(--gold-light); font-style: normal; }
.hero__sub { font-size: 1.05rem; font-weight: 300; color: rgba(255,255,255,0.78); margin-bottom: 2.2rem; line-height: 1.8; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ─── PAGE HERO (inner pages) ───────────────────────────── */
.page-hero {
  background: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding: 48px 0;
}
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero h1 { font-size: 2.4rem; color: var(--white); }

/* ─── CARDS ─────────────────────────────────────────────── */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* ─── COURSE CARDS ──────────────────────────────────────── */
.courses-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; }
.course-card__head { background: var(--navy); padding: 1.3rem 1.4rem 1rem; }
.course-card__area { font-size: 0.86rem; letter-spacing: 2px; text-transform: uppercase; color: var(--arancio); margin-bottom: 0.35rem;font-weight: bold;  }
.course-card__codice { font-size: 0.9rem; letter-spacing: 2px; text-transform: uppercase; color: var(--yellow); margin-bottom: 0.35rem; font-weight: bold;  }
.course-card__name { font-family: var(--ff-serif); font-size: 1.0rem; color: var(--white); font-weight: 600; line-height: 1.3; }
.course-card__body { padding: 1.2rem 1.4rem; }
.course-meta { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 0.9rem; }
.course-meta li { display: flex; gap: 8px; font-size: 0.84rem; color: var(--muted); }
.course-meta__label { font-weight: 600; color: var(--text); min-width: 58px; font-size: 0.8rem; }
.course-prog { border-top: 1px solid var(--border); padding-top: 0.8rem; font-size: 0.82rem; color: var(--muted); line-height: 1.65; }
.course-prog strong { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--navy); margin-bottom: 4px; }

/* ─── ACTIVITY CARDS ────────────────────────────────────── */
.activities-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.activity-card__img {
  height: 200px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem; position: relative; overflow: hidden;
}
.activity-card__img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,26,48,0.7) 0%, transparent 60%);
}
 
.activity-card__img_musei {
  background-image:
    linear-gradient(to bottom, rgba(15,26,48,0.0) 0%, rgba(15,26,48,0.30) 100%),
    url('../images/musei.jpg');
  background-size: cover;
  background-position: center;
  height: 240px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem;
  position: relative; overflow: hidden;
}
.activity-card__img_viaggi {
  background-image:
    linear-gradient(to bottom, rgba(15,26,48,0.0) 0%, rgba(15,26,48,0.30) 100%),
    url('../images/viaggi.jpg');
  background-size: cover;
  background-position: center;
  height: 240px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem;
  position: relative; overflow: hidden;
}

.activity-card__title { font-family: var(--ff-serif); font-size: 1.5rem; color: var(--white); position: relative; z-index: 1; }
.activity-card__badge { position: absolute; top: 1rem; right: 1rem; z-index: 2; background: var(--gold); color: var(--white); font-size: 0.68rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; padding: 3px 10px; border-radius: 1px; }
.activity-card__body { padding: 1.5rem; }
.activity-card__body p { font-size: 0.95rem; color: var(--muted); line-height: 1.75; margin-bottom: 1.2rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag { background: var(--gold-pale); color: var(--navy); font-size: 0.76rem; font-weight: 500; padding: 3px 11px; border-radius: 20px; }

/* ─── ISCRIZIONE ────────────────────────────────────────── */
.iscr-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }
.steps { list-style: none; display: flex; flex-direction: column; gap: 1.6rem; margin-top: 1.5rem; }
.step { display: flex; gap: 1rem; }
.step__num { width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; flex-shrink: 0; }
.step__text strong { display: block; font-weight: 600; margin-bottom: 2px; }
.step__text span { font-size: 0.88rem; color: rgba(255,255,255,0.58); }
.contact-box { margin-top: 2.5rem; border: 1px solid rgba(184,150,46,0.25); border-radius: var(--radius); padding: 1.4rem; font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.8; }
.contact-box strong { color: rgba(255,255,255,0.8); }

/* ─── FORM ──────────────────────────────────────────────── */
.form-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(184,150,46,0.25); border-radius: var(--radius); padding: 2rem; }
.form-card h3 { font-family: var(--ff-serif); font-size: 1.35rem; color: var(--gold-light); margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { margin-bottom: 1rem; }
.form-field label { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 5px; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  color: var(--white); padding: 10px 12px; font-family: var(--ff-sans); font-size: 0.92rem;
  border-radius: var(--radius); outline: none; transition: border-color 0.2s;
  -webkit-appearance: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--gold); }
.form-field select option { background: var(--navy-deep); color: var(--white); }
.quota-box { background: rgba(184,150,46,0.1); border: 1px solid rgba(184,150,46,0.3); border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 1.5rem; display: flex; justify-content: space-between; align-items: center; }
.quota-box__label { font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.quota-box__amount { font-family: var(--ff-serif); font-size: 1.9rem; color: var(--gold-light); font-weight: 700; }
.quota-box__note { font-size: 0.72rem; color: rgba(255,255,255,0.38); margin-top: 2px; }
.btn--submit { width: 100%; padding: 13px; font-size: 0.95rem; letter-spacing: 0.5px; }

/* Messaggio flash */
.flash { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 1.2rem; font-size: 0.9rem; }
.flash--ok  { background: rgba(34,197,94,0.15); border: 1px solid rgba(34,197,94,0.3); color: #4ade80; }
.flash--err { background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.3); color: #f87171; }

/* ─── FOOTER ────────────────────────────────────────────── */
.footer {
  background: var(--navy-deep); color: rgba(255,255,255,0.45);
  border-top: 1px solid rgba(184,150,46,0.2);
  padding: 2rem 0; font-size: 0.84rem;
}
.footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer__logo { font-family: var(--ff-serif); color: var(--white); font-size: 1.1rem; letter-spacing: 3px; }
.footer__logo span { color: var(--gold-light); }

/* ─── UTILS ─────────────────────────────────────────────── */
.text-gold { color: var(--gold-light); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

/* ─── NAV DROPDOWN (Admin) ──────────────────────────────── */
.nav-dropdown { position: relative; }
.nav-dropdown__toggle { display: flex; align-items: center; gap: 5px; cursor: pointer; }
.nav-dropdown__arrow { font-size: 0.65rem; opacity: 0.6; transition: transform 0.2s; }
.nav-dropdown__menu {
  display: none;
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--navy-deep);
  border: 1px solid rgba(184,150,46,0.3);
  border-top: 2px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
  min-width: 190px;
  list-style: none;
  box-shadow: var(--shadow-md);
  z-index: 300;
}
.nav-dropdown__menu li a {
  display: block; padding: 9px 16px;
  font-size: 0.82rem; color: rgba(255,255,255,0.75);
  white-space: nowrap; text-transform: none; letter-spacing: 0;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown__menu li a:hover { background: rgba(255,255,255,0.07); color: var(--gold-light); }
.nav-dropdown__sep { border-top: 1px solid rgba(255,255,255,0.1); margin: 4px 0; }
.nav-dropdown__logout { color: rgba(239,68,68,0.75) !important; }
.nav-dropdown__logout:hover { color: #f87171 !important; }
.nav-dropdown:hover .nav-dropdown__menu { display: block; }
.nav-dropdown:hover .nav-dropdown__arrow { transform: rotate(180deg); }

/* ─── ADMIN LAYOUT ──────────────────────────────────────── */
.admin-wrap { display: flex; min-height: calc(100vh - 62px); }

.admin-sidebar {
  width: 220px; flex-shrink: 0;
  background: var(--navy-deep);
  border-right: 1px solid rgba(184,150,46,0.2);
  padding: 1.8rem 0;
}
.admin-sidebar__title {
  font-size: 0.65rem; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold); padding: 0 1.4rem 0.8rem; border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 0.6rem;
}
.admin-sidebar__nav { list-style: none; }
.admin-sidebar__nav a {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 1.4rem; font-size: 0.86rem;
  color: rgba(255,255,255,0.65);
  transition: background 0.15s, color 0.15s;
}
.admin-sidebar__nav a:hover,
.admin-sidebar__nav a.active {
  background: rgba(255,255,255,0.06);
  color: var(--gold-light);
  border-left: 2px solid var(--gold);
  padding-left: calc(1.4rem - 2px);
}
.admin-sidebar__nav .nav-icon { font-size: 1rem; width: 20px; text-align: center; }

.admin-main { flex: 1; background: var(--cream); padding: 2.4rem 2.8rem; }
.admin-topbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 2rem;
}
.admin-topbar h1 { font-size: 1.6rem; color: var(--navy); }
.admin-topbar small { font-size: 0.8rem; color: var(--muted); }

/* Cards statistiche dashboard */
.admin-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; margin-bottom: 2.4rem; }
.stat-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.4rem 1.6rem;
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow-sm);
}
.stat-card__label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin-bottom: 0.4rem; }
.stat-card__value { font-family: var(--ff-serif); font-size: 2rem; color: var(--navy); font-weight: 700; }

/* Tabella admin */
.admin-table-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.admin-table-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.4rem; border-bottom: 1px solid var(--border); }
.admin-table-header h2 { font-size: 1rem; color: var(--navy); }
table.admin-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
table.admin-table th { background: var(--navy); color: rgba(255,255,255,0.8); font-size: 0.72rem; letter-spacing: 1px; text-transform: uppercase; padding: 10px 14px; text-align: left; }
table.admin-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--text); vertical-align: middle; }
table.admin-table tr:last-child td { border-bottom: none; }
table.admin-table tr:hover td { background: var(--gold-pale); }
.tbl-actions { display: flex; gap: 6px; }
.btn--xs { font-size: 0.75rem; padding: 4px 10px; border-radius: var(--radius); border: none; cursor: pointer; font-weight: 600; }
.btn--edit { background: var(--navy); color: var(--white); }
.btn--edit:hover { background: var(--navy-mid); }
.btn--del  { background: rgba(239,68,68,0.12); color: #dc2626; border: 1px solid rgba(239,68,68,0.25); }
.btn--del:hover { background: rgba(239,68,68,0.22); }

/* Form admin */
.admin-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); max-width: 680px; }
.admin-form h2 { font-size: 1.2rem; color: var(--navy); margin-bottom: 1.5rem; border-bottom: 1px solid var(--border); padding-bottom: 0.8rem; }
.admin-form .form-field label { color: var(--muted); }
.admin-form .form-field input,
.admin-form .form-field select,
.admin-form .form-field textarea {
  background: var(--white); border: 1px solid var(--border);
  color: var(--text);
}
.admin-form .form-field input:focus,
.admin-form .form-field select:focus,
.admin-form .form-field textarea:focus { border-color: var(--gold); }
.admin-form .form-field input::placeholder { color: var(--muted); }

/* Login admin */
.admin-login-wrap {
  min-height: calc(100vh - 62px);
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-deep);
}
.admin-login-box {
  width: 100%; max-width: 400px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(184,150,46,0.3);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
}
.admin-login-box h1 {
  font-family: var(--ff-serif); font-size: 1.5rem;
  color: var(--white); margin-bottom: 0.3rem;
}
.admin-login-box p { font-size: 0.85rem; color: rgba(255,255,255,0.45); margin-bottom: 1.8rem; }

// mappa

.mappa__bg {
/*  position: absolute; inset: 0;*/
  background-image: url('../images/mappa.jpg');
/*  background-size: cover; background-position: center;
  opacity: 0.55;*/
}
/* ─── RESPONSIVE ────────────────────────────────────────── */

/* Tablet (max 900px) */
@media (max-width: 900px) {
  .courses-grid        { grid-template-columns: repeat(2, 1fr); }
  .activities-grid     { grid-template-columns: 1fr; }
  .iscr-grid           { grid-template-columns: 1fr; gap: 2rem; }
  .admin-stats         { grid-template-columns: repeat(2, 1fr); }
  .admin-sidebar       { width: 180px; }
}

/* Mobile (max 640px) */
@media (max-width: 640px) {
  /* Layout */
  .container           { padding: 0 1rem; }
  .section             { padding: 48px 0; }

  /* Navbar */
  .navbar__links       { display: none; }
  .navbar__cta         { display: none; }

  /* Hero */
  .hero                { min-height: 420px; }
  .hero__content       { padding: 48px 0; }
  .hero__title         { font-size: 2rem; }
  .hero__sub           { font-size: 0.95rem; }
  .hero__actions       { flex-direction: column; gap: 0.75rem; }
  .hero__actions .btn  { width: 100%; text-align: center; }

  /* Tipografia sezioni */
  .section-title       { font-size: 1.6rem; }
  .section-lead        { font-size: 0.92rem; }

  /* Griglie */
  .courses-grid        { grid-template-columns: 1fr; gap: 1rem; }
  .activities-grid     { grid-template-columns: 1fr; gap: 1.2rem; }
  .form-row            { grid-template-columns: 1fr; }
  .admin-stats         { grid-template-columns: 1fr; }

  /* Admin */
  .admin-wrap          { flex-direction: column; }
  .admin-sidebar       { width: 100%; padding: 0.8rem 0; }
  .admin-main          { padding: 1.4rem 1rem; }
  .admin-topbar        { flex-direction: column; align-items: flex-start; gap: 0.4rem; }

  /* Footer */
  .footer__inner       { flex-direction: column; text-align: center; }

  /* Page hero */
  .page-hero h1        { font-size: 1.7rem; }
}ba(255,255,255,0.45); margin-bottom: 1.8rem; }
/* ─── COMUNICAZIONI HOME ────────────────────────────────── */
+
.section--comm .section-header {
  margin-bottom: 1rem;

}
.section--comm .section-title {
  font-size: 1.4rem;
}

.comm-list {
  display: grid;
  grid-template-columns: 1fr;   /* una colonna, larghezza piena */
  gap: 1rem;
  max-width: 860px;             /* puoi alzarlo o toglierlo */
  margin: 0 auto;
}


/*.comm-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  border-bottom: 1px solid #ccc;  La linea grigia 
  
}*/

.comm-card {
  padding: 10px 14px;
  border-radius: var(--radius);
  border-left: 3px solid transparent;
  font-size: .82rem;
  line-height: 1.5;
}
.comm-card--notizia { background: #e8f4ee; border-color: #2a7a50; }
.comm-card--avviso  { background: #fef6e4; border-color: #b07a20; }

.comm-badge {
  display: inline-block;
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 2px 9px;
  border-radius: 20px;
  margin-bottom: 6px;
}
.comm-badge--notizia { background: #b8dfc8; color: #1a5035; }
.comm-badge--avviso  { background: #fad791; color: #6b4800; }

.comm-card__title { margin: 0 0 3px; font-size: .84rem; font-weight: 600; color: var(--navy); }
.comm-card__text  { margin: 0 0 5px; font-size: .79rem; color: var(--muted); line-height: 1.55; }
.comm-card__date  { margin: 0; font-size: .71rem; color: #9aa5b1; }

@media (max-width: 600px) {
  .comm-list { grid-template-columns: 1fr; }
}
