/* Spaziatura fluida per monitor desktop, mantenendo la griglia Bootstrap esistente. */
@media (min-width: 1280px) {
  .container {
    width: calc(100% - 48px);
    max-width: 1320px;
  }
  .container .container {
    width: auto;
    max-width: none;
  }
}

@media (min-width: 1400px) {
  .container > .row > .post-list.col-sm-8,
  .container > .row > .entry-content.col-sm-8,
  .container > .row > .content-page.col-sm-8 {
    width: 75%;
  }
  .container > .row > .sponsor-sidebar.col-sm-4 {
    width: 25%;
  }
}

@media (min-width: 1600px) {
  .container {
    width: calc(100% - 96px);
    max-width: 1440px;
  }
}

@media (min-width: 1824px) {
  body .wrap {
    max-width: 1600px;
  }
}

/* Correzioni focus: lo stato non aggiunge outline, offset, bordi o colori. */
a:focus,
a:focus-visible {
  outline: 0 !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
}
a:focus *,
a:focus-visible * {
  text-decoration-color: inherit !important;
}

/* Ripristina per il focus lo stesso colore usato dal collegamento a riposo. */
a:focus,
a:focus-visible { color: #005daa !important; }
header.navbar nav ul.navbar-nav > li > a:focus,
header.navbar nav ul.navbar-nav > li > a:focus-visible { color: #333 !important; background: none !important; }
.navbar-offcanvas-mobile ul.nav.navbar-nav > li > a:focus,
.navbar-offcanvas-mobile ul.nav.navbar-nav > li > a:focus-visible { color: #ffcf03 !important; background: none !important; }
header.navbar .navbar-offcanvas ul.navbar-nav li a:focus,
header.navbar .navbar-offcanvas ul.navbar-nav li a:focus-visible { color: #333 !important; background: none !important; }
.content-info a:focus,
.content-info a:focus-visible { color: #ffcf03 !important; }
.lions-event-card > a:focus,
.lions-event-card > a:focus-visible { color: #333 !important; }
.lions-hero .lions-hero-copy > a:focus,
.lions-hero .lions-hero-copy > a:focus-visible { color: #fff !important; }
a.btn-primary:focus,
a.btn-primary:focus-visible { color: #fff !important; background: #005daa !important; border-color: #004f91 !important; }
a.btn-yellow:focus,
a.btn-yellow:focus-visible { color: #333 !important; background: #ffcf03 !important; border-color: #e9bc00 !important; }
