body {
  font-family: "Inter", sans-serif;
}

a {
  color: #0066cc;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 120%;
}

img {
  max-width: 100%;
}

header .top-header {
  background: #f9f9f9;
  border-bottom: 1px solid #cfd8dc;
  padding: 0.8rem 0;
}
header .top-header a {
  color: #757575;
  text-decoration: none;
  font-weight: 500;
}
header .top-header a:hover {
  text-decoration: underline;
}
header .top-header a svg {
  color: #0066cc;
}
header .top-header .wrapper {
  display: flex;
  justify-content: space-between;
}
header .main-header {
  position: relative;
  padding: 2rem 0;
  box-shadow: 0 4px 1rem rgba(0, 0, 0, 0.1);
}
header .main-header .container {
  position: relative;
}
header .main-header .wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1rem;
  align-items: center;
}
header .main-header .logo-wrapper {
  display: flex;
  align-items: center;
  gap: 2rem;
}
header .main-header .logo-wrapper .burger-menu-toggle {
  position: relative;
  background: none;
  border: none;
  font-size: 2.5rem;
  padding: 0;
}
header .main-header .logo-wrapper .burger-menu-toggle svg {
  width: 3rem;
}
header .main-header .logo-wrapper .burger-menu-toggle svg rect {
  fill: #005491;
}
header .main-header .main-menu {
  position: relative;
  justify-self: end;
}
header .main-header .main-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
header .main-header .main-menu ul li {
  display: inline-block;
  margin-left: 0.8rem;
}
header .main-header .main-menu ul li a {
  color: #262626;
  text-decoration: none;
  font-weight: 500;
}
header .main-header .main-menu ul li a:hover {
  text-decoration: underline;
}
header .main-header .main-menu .btn-search-header {
  background: none;
  border: none;
}
header .main-header .main-menu .main-menu-mobile {
  display: none;
  font-size: 1.8rem;
}
header .main-header .main-menu .main-menu-mobile .btn-search-header svg {
  width: 3rem;
  height: 3rem;
  stroke: #005491;
}
header .form-ricerca-header {
  position: absolute;
  width: 30rem;
  bottom: -4rem;
  right: 0;
  background: #fff;
  padding: 1rem;
  border-radius: 1rem;
  gap: 1rem;
  box-shadow: 0 4px 1rem rgba(0, 0, 0, 0.1);
  display: none;
}
header .form-ricerca-header.active {
  display: flex;
}

.risorse-importanti-home {
  padding: 2rem 0;
  background-color: #fff;
  background-image: linear-gradient(45deg, #ffe1ee 0%, #f1fefa 52%, #eef2fc 90%);
}
.risorse-importanti-home .wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(18rem, 100%), 1fr));
  gap: 1rem;
}
.risorse-importanti-home .wrapper .box {
  background: #fff;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 1rem rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.risorse-importanti-home .wrapper .box .icona {
  width: 2.5rem;
  height: auto;
}
.risorse-importanti-home .wrapper .box .icona-fa {
  width: 2.5rem;
  height: auto;
  color: #0066cc;
}
.risorse-importanti-home .wrapper .box h3 {
  font-size: 1.25rem;
  font-weight: 600;
}
.risorse-importanti-home .wrapper .box h3 a {
  color: #262626;
  text-decoration: none;
}
.risorse-importanti-home .wrapper .box h3 a:hover {
  text-decoration: underline;
}

.eventi-home {
  padding: 3rem 0;
}
.eventi-home .wrapper {
  padding: 1rem 0;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  align-items: start;
}
.eventi-home .wrapper .elenco {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(20rem, 100%), 1fr));
  gap: 1rem;
}
.eventi-home .calendario {
  padding: 2rem;
  border: 1px solid #757575;
  border-radius: 1rem;
}

.istanza-evento {
  box-shadow: 0 4px 1rem rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
}
.istanza-evento .header {
  background: #219ebc;
  padding: 0.5rem 1rem;
  border-radius: 1rem 1rem 0 0;
}
.istanza-evento .header .data {
  font-size: 0.85rem;
  color: #262626;
  font-weight: 600;
  background: #fff;
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 1rem;
}
.istanza-evento .contenuto {
  padding: 1rem;
}
.istanza-evento .contenuto .categorie {
  list-style: none;
  padding: 0.2rem 0;
  margin: 0;
}
.istanza-evento .contenuto .categorie li {
  display: inline-block;
  margin-right: 0.5rem;
}
.istanza-evento .contenuto .categorie li .categoria {
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
  color: #757575;
  font-size: 0.85rem;
}
.istanza-evento .contenuto .categorie li .categoria:hover {
  text-decoration: underline;
}
.istanza-evento .contenuto h3 {
  font-size: 1.25rem;
}
.istanza-evento .contenuto h3 a {
  color: #262626;
  text-decoration: none;
}
.istanza-evento .contenuto h3 a:hover {
  text-decoration: underline;
}
.istanza-evento .contenuto .descrizione {
  font-size: 0.85rem;
  color: #757575;
}

.archivio-eventi {
  padding: 3rem 0;
}
.archivio-eventi .wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}
.archivio-eventi .elenco-eventi {
  padding: 1rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(22rem, 100%), 1fr));
  gap: 1rem;
}

.come-fare-per-home {
  background: #fafafa;
  padding: 3rem 0;
}
.come-fare-per-home .wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(18rem, 100%), 1fr));
  gap: 1rem;
  padding: 1rem 0;
}
.come-fare-per-home .wrapper .box {
  padding: 1.5rem;
  background: #fff;
  box-shadow: 0 4px 1rem rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.come-fare-per-home .wrapper .box .icona-fa {
  width: 1.5rem;
  height: auto;
  flex-shrink: 0;
  flex-grow: 0;
  color: #0066cc;
}
.come-fare-per-home .wrapper .box h3 {
  margin: 0;
  font-size: 1.2rem;
}
.come-fare-per-home .wrapper .box h3 a {
  color: #262626;
  text-decoration: none;
}
.come-fare-per-home .wrapper .box h3 a:hover {
  text-decoration: underline;
}

.notizie-home {
  padding: 3rem 0;
}
.notizie-home .sliderNewsHome {
  position: relative;
  padding: 1rem;
}
.notizie-home .sliderNewsHome .box {
  margin: 0 1rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 4px 1rem rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
}
.notizie-home .sliderNewsHome .box .contenuto {
  padding: 1.5rem 1.5rem 4rem 1.5rem;
}
.notizie-home .sliderNewsHome .box .contenuto .data {
  margin-bottom: 0.5rem;
}
.notizie-home .sliderNewsHome .box .contenuto .categoria {
  background: #0066cc;
  padding: 0.2rem 0.65rem;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.notizie-home .sliderNewsHome .box .contenuto .categoria:hover {
  text-decoration: underline;
}
.notizie-home .sliderNewsHome .box .contenuto h3 {
  font-size: 1.8rem;
}
.notizie-home .sliderNewsHome .box .contenuto h3 a {
  color: #262626;
  text-decoration: none;
}
.notizie-home .sliderNewsHome .box .contenuto h3 a:hover {
  text-decoration: underline;
}
.notizie-home .sliderNewsHome .box .contenuto .descrizione {
  color: #757575;
}
.notizie-home .sliderNewsHome .box .cover {
  border-radius: 0 1rem 1rem 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.notizie-home .sliderNewsHome .swiper-pagination {
  left: 3rem;
  bottom: 2rem;
  transform: unset;
  width: auto;
}
.notizie-home .sliderNewsHome .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
}
.notizie-home .elenco-notizie {
  padding: 1rem 0;
}
.notizie-home .elenco-notizie .wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(20rem, 100%), 1fr));
  gap: 1rem;
}

.istanza-notizia {
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 4px 1rem rgba(0, 0, 0, 0.1);
  padding: 1rem;
}
.istanza-notizia .data {
  margin-bottom: 0.5rem;
}
.istanza-notizia .categorie {
  list-style: none;
  margin: 0;
  padding: 0.3rem 0;
}
.istanza-notizia .categorie li {
  display: inline-block;
  margin-right: 0.3rem;
}
.istanza-notizia .categorie li .categoria {
  background: #0066cc;
  padding: 0.3rem 0.65rem;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.istanza-notizia .categorie li .categoria:hover {
  text-decoration: underline;
}
.istanza-notizia h3 {
  font-size: 1.35rem;
}
.istanza-notizia h3 a {
  color: #262626;
  text-decoration: none;
}
.istanza-notizia h3 a:hover {
  text-decoration: underline;
}
.istanza-notizia .descrizione {
  color: #757575;
  font-size: 0.85rem;
}

.archivio-notizie {
  padding: 3rem 0;
}
.archivio-notizie .elenco-notizie {
  padding: 1rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(22rem, 100%), 1fr));
  gap: 1rem;
}
.archivio-notizie .sidebar a {
  color: #616875;
  text-decoration: none;
}
.archivio-notizie .sidebar a:hover {
  text-decoration: underline;
}
.archivio-notizie .sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0 0 1rem 0;
}
.archivio-notizie .sidebar ul li {
  border-bottom: 1px solid #d1d1d1;
  padding-bottom: 0.5rem;
}
.archivio-notizie .sidebar h2 {
  font-size: 1.4rem;
}
.archivio-notizie .sidebar .data {
  font-size: 0.85rem;
  color: #5d7083;
  font-weight: 600;
}
.archivio-notizie .sidebar h3 {
  font-size: 1rem;
}

.brescia-medica-home {
  padding: 3rem 0;
  background: #fafafa;
}
.brescia-medica-home .wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: center;
}
.brescia-medica-home .titolo-bm h2 {
  font-size: 2.25rem;
}
.brescia-medica-home .titolo-bm h3 {
  font-size: 1.25rem;
}
.brescia-medica-home .titolo-bm .descrizione {
  font-size: 0.9rem;
}
.brescia-medica-home .wrapper-bm {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(20rem, 100%), 1fr));
  gap: 1rem;
}
.brescia-medica-home .wrapper-bm .brescia-medica {
  padding: 1rem;
  border-radius: 1rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.brescia-medica-home .wrapper-bm .brescia-medica h3 {
  font-size: 1.5rem;
}
.brescia-medica-home .wrapper-bm .brescia-medica h3 a {
  color: #fff;
  text-decoration: none;
}
.brescia-medica-home .wrapper-bm .brescia-medica h3 a:hover {
  text-decoration: underline;
}
.brescia-medica-home .wrapper-bm .brescia-medica.bm-rosso {
  background: #f50127;
}
.brescia-medica-home .wrapper-bm .brescia-medica.bm-blu {
  background: #0066cc;
}

.banner-home {
  padding: 3rem 0;
  position: relative;
}
.banner-home .sliderBannerHome {
  padding: 1rem 1rem 2rem 1rem;
}
.banner-home .sliderBannerHome .box {
  color: #262626;
  text-decoration: none;
  box-shadow: 0 4px 1rem rgba(0, 0, 0, 0.1);
  background: #fff;
  display: block;
  border-radius: 0 0 1rem 1rem;
}
.banner-home .sliderBannerHome .box img {
  height: 150px;
  width: 100%;
  object-fit: cover;
}
.banner-home .sliderBannerHome .box:hover {
  text-decoration: underline;
}
.banner-home .sliderBannerHome .box h3 {
  font-size: 1.1rem;
  text-align: center;
  padding: 1rem;
}
.banner-home .swiper-pagination {
  bottom: 0;
}
.banner-home .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
}

.sezione-lettura {
  padding: 3rem 0;
}
.sezione-lettura .wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}
.sezione-lettura .sezioni-correlate h2 {
  font-size: 1.4rem;
}
.sezione-lettura .sezioni-correlate ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sezione-lettura .sezioni-correlate ul li {
  padding: 0.4rem 0;
  border-bottom: 1px solid #d1d1d1;
}
.sezione-lettura .sezioni-correlate ul li a {
  color: #757575;
  text-decoration: none;
}
.sezione-lettura .sezioni-correlate ul li a:hover {
  text-decoration: underline;
}

.pagina-servizi {
  padding: 3rem 0;
}
.pagina-servizi .sidebar a {
  color: #616875;
  text-decoration: none;
}
.pagina-servizi .sidebar a:hover {
  text-decoration: underline;
}
.pagina-servizi .sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0 0 1rem 0;
}
.pagina-servizi .sidebar ul li {
  border-bottom: 1px solid #d1d1d1;
  padding-bottom: 0.5rem;
}
.pagina-servizi .sidebar h2 {
  font-size: 1.4rem;
}
.pagina-servizi .sidebar .data {
  font-size: 0.85rem;
  color: #5d7083;
  font-weight: 600;
}
.pagina-servizi .sidebar h3 {
  font-size: 1rem;
}

.istanza-servizio {
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 4px 1rem rgba(0, 0, 0, 0.1);
  padding: 1rem;
  margin-bottom: 1rem;
}
.istanza-servizio h3 {
  font-size: 1.35rem;
}
.istanza-servizio h3 a {
  color: #262626;
  text-decoration: none;
}
.istanza-servizio h3 a:hover {
  text-decoration: underline;
}
.istanza-servizio .descrizione {
  color: #757575;
  font-size: 0.85rem;
}

footer {
  background: #262626;
  color: #fff;
  padding: 4rem 0;
}
footer a {
  color: #fff;
}
footer a:hover {
  color: #fff;
}
footer .top {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 700;
}
footer .top .logo-footer {
  width: 4rem;
}
footer .main {
  padding: 2rem 0;
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 1rem;
}
footer .main .wrapper-contatti {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(18rem, 100%), 1fr));
  gap: 1rem;
}
footer .main ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
footer .main .social .lista-social li {
  display: inline-block;
  margin-right: 0.5rem;
}
footer .bottom {
  border-top: 1px solid #fff;
  padding: 1rem 0;
}
footer .bottom ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
footer .bottom ul li {
  display: inline-block;
  margin-right: 0.5rem;
}

/* Componenti */
.titolo-sezione {
  font-size: 2.25rem;
  font-weight: 700;
}

.titolo-footer {
  font-size: 0.85rem;
  padding: 1rem 0;
  text-transform: uppercase;
  border-bottom: 1px solid #fff;
  margin-bottom: 1rem;
}

.breadcrumbs {
  background: #fafafa;
  padding: 1rem 0;
}

.form-ricerca-elemento {
  width: 100%;
  display: flex;
  gap: 1rem;
}

.sidebar {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 1rem rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

/* Override */
.btn {
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.wrapper-pagina-sidebar {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* Responsive */
@media (min-width: 1400px) {
  .container-slider {
    max-width: 1380px;
  }
}
@media (max-width: 1200px) {
  header .main-header .main-menu ul {
    font-size: 1rem;
  }
  .eventi-home .wrapper {
    grid-template-columns: 1fr;
  }
  .notizie-home .sliderNewsHome .box {
    grid-template-columns: 1fr;
  }
  .notizie-home .sliderNewsHome .box .cover {
    order: 1;
    border-radius: 1rem 1rem 0 0;
    height: 180px;
  }
  .notizie-home .sliderNewsHome .box .contenuto {
    padding: 1.5rem 1.5rem 4rem 1.5rem;
    order: 2;
  }
  .notizie-home .sliderNewsHome .box .contenuto .categoria {
    font-size: 0.85rem;
  }
  .notizie-home .sliderNewsHome .box .contenuto h3 {
    font-size: 1.4rem;
  }
  .notizie-home .sliderNewsHome .box .contenuto .descrizione {
    font-size: 0.9rem;
  }
  .notizie-home .container-slider {
    max-width: 1020px;
  }
  .wrapper-pagina-sidebar {
    grid-template-columns: 1fr;
  }
  .brescia-medica-home .wrapper {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 992px) {
  header .main-header .wrapper {
    grid-template-columns: 1fr 1fr;
  }
  header .main-header .main-menu ul {
    display: none;
  }
  header .main-header .main-menu .main-menu-mobile {
    display: block;
  }
  .notizie-home .container-slider {
    max-width: 780px;
  }
  .brescia-medica-home .wrapper-bm .brescia-medica h3 {
    font-size: 1.2rem;
  }
  .titolo-sezione {
    font-size: 2rem;
  }
}
@media (max-width: 768px) {
  header .main-header .wrapper {
    grid-template-columns: 3fr 1fr;
  }
  header .main-header .logo-wrapper .burger-menu-toggle svg {
    width: 2.5rem;
  }
  header .main-header .main-menu .main-menu-mobile .btn-search-header svg {
    width: 2rem;
    height: 2rem;
  }
  header .form-ricerca-header {
    width: 100%;
  }
  .notizie-home .container-slider {
    max-width: 600px;
  }
  .brescia-medica-home .wrapper {
    grid-template-columns: 1fr;
  }
  .brescia-medica-home .wrapper-bm .brescia-medica h3 {
    font-size: 1.4rem;
  }
  footer .main {
    grid-template-columns: 1fr;
  }
  .titolo-sezione {
    font-size: 1.8rem;
  }
}
@media (max-width: 576px) {
  .notizie-home .sliderNewsHome {
    padding: 1rem 0;
  }
  .notizie-home .sliderNewsHome .box {
    margin: 0;
  }
  .notizie-home .sliderNewsHome .swiper-pagination {
    left: 1rem;
  }
  .notizie-home .container-slider {
    max-width: unset;
  }
  .brescia-medica-home .wrapper-bm .brescia-medica h3 {
    font-size: 1.25rem;
  }
  .titolo-sezione {
    font-size: 1.6rem;
  }
}