/* -------------------------------------------------------------------------------- */
/* ! Palette */
/* -------------------------------------------------------------------------------- *//* Tavolozza colore */

:root {
    --cal-poly-green: #275334ff;
    --fern-green: #678349ff;
    --olivine: #8fae6fff;
    --tea-green: #ccdabeff;
    --desert-sand: #f2d2bbff;
    } 
    
/* -------------------------------------------------------------------------------- */
/* ! Reset & Struttura */
/* -------------------------------------------------------------------------------- */
  
  * {
    margin: 0;
    padding: 0;
  }
  
  a {
    text-decoration: none;
  }
  
  li {
    list-style-type: none;
  }
  
  /* Utility */
  
  html {
    scroll-behavior: smooth;
  }
  
  .res {
    width: 100%;
    max-width: 380px;
  }
  
  .container {
    padding-top: 10px;
    max-width: 1200px;
    margin: 0 auto;
    /* border: 1px solid rgb(255, 0, 0);  Bordini rossi: ricorda di disattivarli x consegna!*/
  }
  
  section {
    margin: 20px 0;
  }

/* -------------------------------------------------------------------------------- */
/* ! Font & Testo */
/* -------------------------------------------------------------------------------- */  

body {
    font-family: 'Inria Serif', serif;
  }

  
  /* Logo */ 

.cover__logo h2{
    font-size: 24px;
    font-weight: 400;
    color: white;
    letter-spacing: 0.6px;
  }
  /* Voci del menu */ 

  .cover__menu h3{
    font-size: 18px;
    color: white;
    font-size: 300;
  }
  
  /* Testo generale */

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: 'Inria Serif', serif;
  }
  
  p {
    font-size: 15px;
    line-height: 18px;
    padding: 8px;
  }
  
  /* Titoli sezioni */ 

  h2{
    font-size: 24px;
    font-weight: 600;
    color: var(--cal-poly-green);
  }

 
/* -------------------------------------------------------------------------------- */
/* ! Navigazione */
/* -------------------------------------------------------------------------------- */

/* Header */

header.cover {
    background: var(--cal-poly-green);
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    height: 40px;
    overflow: hidden;
    transition: 0.5s cubic-bezier(.59, 0, 1, .99);
    font-size: 0.8em;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.cover.active {
    height: 110px;
}


div.cover__logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cover__menu {
    order: 3;
    width: 100%;
    visibility: hidden;
    color: white;
}

.cover.active .cover__menu {
    visibility: visible;
}

/* Voci Menu & Hamburger */

.cover__menu a {
    font-size: 1.8em;
}

.cover__menu li {
    text-align: right;
}

.cover__hb {
    color: white;
    font-size: 2em;
}

/* -------------------------------------------------------------------------------- */
/* ! Hero */
/* -------------------------------------------------------------------------------- */

/* Hero Style */

.hero-section {
    padding: 20px;
    display: flex;
    flex-direction: column; /* layout verticale */
    justify-content: center;
    align-items: center;
}
  
  .hero-content {
    display: flex;
    flex-wrap: wrap; 
    align-items: center; 
    justify-content: space-between;
    width: 100%;
  }
  
  .hero-text {
    flex: 1; /* Sinistra */
    max-width: 100%; 
    margin-bottom: 20px; /* Spazio quando la foto è sotto */
  }

  /* Hero Image */
  
  .hero-img {
    flex: 1; 
    max-width: 100%; 
    display: flex;
    justify-content: center;
    align-items: center;

  }

  .hero-img figure {
    margin: auto;
  }
  
  .hero-img img {
    width: 100%; 
    display: block;
    height: auto; 
  }
  
  /* Text Style */

  .hero-text {
    position: relative;
    z-index: 2;
    color:var(--cal-poly-green);
    padding: 20px; 
  }
  
  /* Hero Style */
  
  .hero-text h1 {
    font-size: 2.5rem; 
    margin: 0;
  }
  
  .hero-text h2 {
    font-size: 1.5rem; 
    margin: 0.5rem 0;
  }
  
  .hero-text p.leading {
    font-size: 18px; 
    margin: 1rem 0;
  }
  
/* -------------------------------------------------------------------------------- */
/* ! Bottoni delle CTA > Hero */
/* -------------------------------------------------------------------------------- */
  
  .cta-group {
        margin-top: 20px;
      }
  
  .cta-group {
    position: relative;
    z-index: 2;
    margin-top: 20px;
  }
  
  .cta__primary, .cta__secondary {
    display: inline-block;
    margin: 0 10px;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 50px;
  }
  
  .cta__primary {
    background-color: transparent;
    color: var(--cal-poly-green);
    border: 3px solid var(--cal-poly-green);
  }
  
  .cta__secondary {
    background-color: var(--tea-green);
    color: var(--cal-poly-green);
    border: 3px solid var(--cal-poly-green);
    font-family: 'Inria Serif', serif;
  }

  .cta__primary:hover, .cta__secondary:hover {
    opacity: 0.8; 
  }

  .cta__primary:hover {
    background-color: var(--desert-sand); 
    color: var(--cal-poly-green);
  }
  
  .cta__secondary:hover {
    background-color: var(--desert-sand);
    color: var(--cal-poly-green); 
  }
  
  /* -------------------------------------------------------------------------------- */
  /* ! Sinossi & Autore */
  /* -------------------------------------------------------------------------------- */
  
  .box-a {
    display: flex;
    flex-wrap: wrap; /* Va su più righe se necessario */
    justify-content: space-between;
    gap: 20px; /* Spazio tra le colonne */
    padding: 10px;
  }

  .content-sinossi {
    flex-basis: 60%;
  }

  .content-autore {
    flex-basis: 30%;
  }
   
/* -------------------------------------------------------------------------------- */
/* ! Sinossi */
/* -------------------------------------------------------------------------------- */

  .content-sinossi-text {
    margin-bottom: 20px;
  }

  .content-sinossi-text h3 {
    padding: 10px;
    font-size: 20px;
    font-weight: 400;
    font-style: italic;
    color: var(--cal-poly-green);
  }

  .content-sinossi-text p{
    color: var(--cal-poly-green);
    font-size: 17px;

  }

  /* -------------------------------------------------------------------------------- */
  /* ! Appuntamenti */
  /* -------------------------------------------------------------------------------- */
  
  .content-sinossi-appuntamenti {
    margin-top: 25px;
    flex-basis: 40%; /* Lunghezza che voglio */
    max-width: 600px;
   }

  .content-sinossi-appuntamenti h2{
    padding-bottom: 25px;
  }

  .content-sinossi-appuntamenti h5{
    text-align: center;
    font-size: 20px;
    font-weight: 400;
    margin: 0 10px;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 50px;
    background-color: transparent;
    color: var(--cal-poly-green);
    border: 3px solid var(--cal-poly-green);
  }

  .content-sinossi-appuntamenti h5:hover{
    background-color: var(--tea-green); 
    color: var(--cal-poly-green);
  }

/* -------------------------------------------------------------------------------- */
/* ! Immagine Sinossi */
/* -------------------------------------------------------------------------------- */

  .content-sinossi-image {
    flex: 1; /* Occupa lo spazio rimanente */
  }
  
  .content-sinossi-image img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Mantiene le proporzioni dell'immagine */
    display: block; /* Rimuove spazi bianchi attorno all’immagine */
  }
  

  /* Bottone Torna su */ 
  
  .content-sinossi h4{
    color: var(--cal-poly-green);  
    font-size: 17px;
    font-weight: 400;
    font-style: italic;
    padding: 35px;
    }
  
/* -------------------------------------------------------------------------------- */
/* ! Autore */
/* -------------------------------------------------------------------------------- */

  .content-autore {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Centra verticalmente */
    align-items: center; /* Centra orizzontalmente */
    background-color: var(--cal-poly-green);
    padding: 15px;
    height: 1000px; 
  }
  
  .autore-text {
    text-align: center;
    margin-bottom: 20px;
  }

  /* Autore Photo */
  
  .cover__autore img {
    max-width: 80%;
    height: auto;
    display: block; /* Rimuove spazi bianchi attorno all’immagine */
    align-items: center;
    margin: 0 auto;
  }

  /* Autore Text */

  .autore-text h2 {
    color: white;
  }

  .autore-text h3{
    padding: 5px;
    color: white;
    font-size: 20px;
    font-style: italic;
    font-weight: 400;
  }

  .autore-text p{
    font-size: 17px;
    color: white;
    text-align: left;
  }

    /* Torna su */ 
  
  .content-autore h4{
    color: white;  
    font-size: 17px;
    font-weight: 400;
    font-style: italic;
    padding: 35px;
    }

  /* -------------------------------------------------------------------------------- */
  /* ! Libri */
  /* -------------------------------------------------------------------------------- */
  
  /* Testo */

  .content-libri h2 {
    color: white;
    text-align: left;
  }

  .content-libri h3{
    font-size: 17px;
    font-style: italic;
    font-weight: 400;
    color: white;
    padding-bottom: 20px;
  }

  /* Lista altri libri */ 

  .content-libri {
    padding-top: 8px;
  }

  ul {
    list-style: none; 
    padding: 0; 
    margin: 0; 
  }
  
  li {
    margin: 0; /* Rimuove il margine predefinito  */
    flex: 0 0 auto; /* Mantengono la loro larghezza */
    padding-bottom: 10px;
  }

  .libri-voci h5{
    color: white;
    font-size: 20px;
    font-style: italic;
    font-weight: 400;
  }

  .libri-voci p{
    color: white;
    font-size: 17px;
    font-weight: 400;
  }
  
  /* Marker emoji */
  
  summary::marker {
    font-size: 70px;
    content: "📗";
  }
  
  [open] summary::marker {
    content: "📖";
  }

  .content-sinossi-appuntamenti h5:hover{
    background-color: var(--tea-green); 
    color: var(--cal-poly-green);
  }

  /* Banner */

  .content-sinossi-image {
    flex: 1; /* Occupa lo spazio rimanente */
  }
  
  .content-sinossi-image img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Mantiene le proporzioni dell'immagine */
    display: block; /* Rimuove spazi bianchi attorno all’immagine */
    margin: 0 auto;
  }
  
  /* Torna su */ 
  
  .content-sinossi h4{
    color: var(--cal-poly-green);  
    font-size: 18px;
    font-weight: 400;
    font-style: italic;
    padding: 15px;
    }
  
/* -------------------------------------------------------------------------------- */
/* ! Autore */
/* -------------------------------------------------------------------------------- */

  .content-autore, .content-libri {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra orizzontalmente */
    background-color: var(--cal-poly-green);
    padding: 15px;
    height: 1000px; 
  }
  
  .autore-text {
    text-align: center;
    margin-bottom: 20px;
  }

  /* Autore Photo */
  
  .cover__autore img {
    max-width: 80%;
    height: auto;
    display: block; /* Rimuove spazi bianchi attorno all’immagine */
    align-items: center;
    margin: 0 auto;
  }

  /* Autore Text */

  .autore-text h2 {
    color: white;
  }

  .autore-text h3{
    padding: 5px;
    color: white;
    font-size: 20px;
    font-style: italic;
    font-weight: 400;
  }

  .autore-text p{
    font-size: 15px;
    color: white;
    text-align: left;
  }

    /* Torna su */ 
  
  .content-autore h4{
    color: white;  
    font-size: 18px;
    font-weight: 400;
    font-style: italic;
    padding: 35px;
    }

  /* -------------------------------------------------------------------------------- */
  /* ! Libri */
  /* -------------------------------------------------------------------------------- */
  
  /* Titoletto */

  .content-libri h3{
    padding-top: 15px;
    font-size: 18px;
    font-style: italic;
    font-weight: 400;
    color: white;
  }

  /* Lista altri libri */ 

  .content-libri {
    padding-top: 8px;
  }

  ul {
    list-style: none; 
    padding: 0; 
    margin: 0; 
  }
  
  li {
    margin: 0; /* Rimuove il margine predefinito  */
    flex: 0 0 auto; /* Mantengono la loro larghezza */
    padding: 5px;
  }

  .libri-voci a{
    color: white;
    font-size: 18px;
    font-style: italic;
    font-weight: 400px;
  }
  
  /* Marker emoji */
  
  summary::marker {
    font-size: 45px;
    content: "📗";
    text-align: center;
  }
  
  [open] summary::marker {
    font-size: 45px;
    content: "📖";
    text-align: center;
  }
  
/* -------------------------------------------------------------------------------- */
/* ! Pop-up & Newsletter*/
/* -------------------------------------------------------------------------------- */

.content__newsletter{
    display: flex;
    justify-content: center;
    padding: 50px;

}

.popup-wrapper {
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 3; /* sennò si vede il bottonaccio malefico */
}

.popup {
    background: var(--fern-green);
    color: white;
    width: 100%;
    max-width: 500px;
    margin: 5% auto;
    padding: 15px;
    z-index: 2;
    position: relative;
    /* per dare una posizione devo dire che è relative */
}

.popup__close {
    position: absolute;
    top: 8px;
    right: 8px;
    cursor: pointer;
}

/* -------------------------------------------------------------------------------- */
/* ! Footer */
/* -------------------------------------------------------------------------------- */

footer {
    background-color: var(--cal-poly-green); 
    padding: 20px;
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap; 
    align-items: center;
    gap: 20px; 
    justify-content: center; /* Centra tutte le colonne del footer */
  }
  
  .footer-col {
    flex: 1;
    min-width: 200px;
    max-width: 250px; /* Imposta una larghezza massima uniforme */
    display: flex;
    flex-direction: column;
    align-items: center;
}

  
  /* Testi Footer */

  .footer-col h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
  }

  .footer-col h6 {
    margin: 0;
    font-size: 1em;
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 10px;
    color: white;
    text-align: center;
  }

  /* Footer > ul */
  
  .footer-col ul {
    list-style: none; 
    padding: 0;
    margin: 0;
  }
  
  .footer-col li {
    margin-bottom: 8px;
  }
  
  .footer-col a {
    text-decoration: none;
    color: white; 
  }
  
  .footer-col a:hover {
    text-decoration: underline; 
  }
  
/* -------------------------------------------------------------------------------- */
/* ! Footer */
/* -------------------------------------------------------------------------------- */  

/* Medium */
@media (max-width: 1199px) and (min-width: 768px) {
    .footer-col {
      flex-basis: 45%;
      margin-bottom: 20px;
    }
  }

/* -------------------------------------------------------------------------------- */
/* ! Mobile Menu */
/* -------------------------------------------------------------------------------- */

@media(min-width: 992px) {


    .cover__menu {
        all: unset;
    }

    .cover__menu li {
        display: inline-block;
        margin-left: 15px;
    }

    .cover__hb {
        display: none;
            
    }

}

/* -------------------------------------------------------------------------------- */
/* ! Medium */
/* -------------------------------------------------------------------------------- */

@media (max-width: 768px) {

  /* Hero */

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text h2 {
    font-size: 1.5rem;
  }

  .hero-text p.leading {
    font-size: 1rem;
  }

  .cta__primary, .cta__secondary {
    padding: 8px 16px;
    font-size: 17px;
    font-family: 'Inria Serif', serif;
  }

  /* Hero */

    .hero-content {
      flex-direction: column; /* Riorganizza gli elementi in colonna */
      align-items: flex-start; /* Allinea gli elementi all'inizio */
    }
  
    .hero-img {
      margin-top: 20px; 
      max-width: 100%; 
      align-self: center;
    }
  
    .hero-text {
      text-align: left; 
    }
  
    .hero-text h1 {
      font-size: 2rem; 
    }
  
    .hero-text h2 {
      font-size: 20px; 
    }
  
    .hero-text p.leading {
      font-size: 17px; 
    }

    /* Sinossi & Autore */

    .box-a {
        flex-direction: column;
      }
      .content-sinossi, .content-autore {
        flex-basis: 100%; /* occupa tutto lo spazio disponibile */
        background-color: transparent;
      }

    /* Sinossi */

    /* Autore */

    .autore-text {
        text-align: left;
      }

    .autore-text h2, .autore-text h3, .autore-text p{ 
        color: var(--cal-poly-green);
      }

      .content-autore {
        align-items: flex-start;
      }

      .autore-text p{
        font-size: 17px; 
      }

    /* Libri */

    .content-autore, .content-libri {
        text-align: left;
        height: auto; 
    }

    .content-libri{
        background-color: transparent;
    }

    .content-libri h3{
        color: var(--cal-poly-green);
        font-size: 20px;
    }
    
    .libri-voci h5{
        color: var(--cal-poly-green);
        font-size: 18px;
    }

    .libri-voci p{
        color: var(--cal-poly-green);
        font-size: 18px;
    }

    /* Footer */

    .footer-col {
        flex-basis: 100%;
        margin-bottom: 20px;
      }

    .footer-col h3 {
        font-size: 20px;
      }
    
      .footer-col h6 {
        font-size: 17px;
      } 
    
    }
  
/* -------------------------------------------------------------------------------- */
/* ! Small */
/* -------------------------------------------------------------------------------- */


@media (max-width: 480px) {

    /* Hero */

    .hero-text h1 {
      font-size: 1.5rem; /* Ulteriormente ridotto per schermi molto piccoli */
    }
  
    .hero-text h2 {
      font-size: 1rem; /* Ulteriormente ridotto per schermi molto piccoli */
    }
  
    .hero-text p.leading {
      font-size: 0.8rem; /* Ulteriormente ridotto per schermi molto piccoli */
    }

    .footer-col {
        flex-basis: 100%;
        margin-bottom: 20px;
      }
  }
/* -------------------------------------------------------------------------------- */
/* ! Mailchimp */
/* -------------------------------------------------------------------------------- */

/* MailChimp Form Embed Code - Classic - 12/17/2015 v10.7 */

#mc_embed_signup form {
    display: block;
    position: relative;
    text-align: left;
    margin: 20px
}

#mc_embed_signup h2 {
    font-weight: bold;
    padding: 0;
    margin: 15px 0;
    font-size: 1.4em;
}

#mc_embed_signup input {
    border: 1px solid #ABB0B2;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

#mc_embed_signup input[type=checkbox] {
    -webkit-appearance: checkbox;
}

#mc_embed_signup input[type=radio] {
    -webkit-appearance: radio;
}

#mc_embed_signup input:focus {
    border-color: #333;
}

#mc_embed_signup .button {
    clear: both;
    background-color: var(--primary);
    border: 0 none;
    border-radius: 10px;
    transition: all 1s ease-in-out 0s;
    color: var(--accent);
    cursor: pointer;
    display: inline-block;
    font-size: 20px;
    font-weight: normal;
    height: 32px;
    line-height: 32px;
    margin: 0 5px 10px 0;
    padding: 0 22px;
    text-align: center;
    text-decoration: none;
    vertical-align: top;
    white-space: nowrap;
    width: fit-content;
    width: -moz-fit-content;
}

#mc_embed_signup .button:hover {
    background-color: var(--secondary);
}

#mc_embed_signup .small-meta {
    font-size: 11px;
}

#mc_embed_signup .nowrap {
    white-space: nowrap;
}

#mc_embed_signup .mc-field-group {
    clear: left;
    position: relative;
    width: 96%;
    padding-bottom: 3%;
    min-height: 50px;
    display: grid;
}

#mc_embed_signup .size1of2 {
    clear: none;
    display: inline-block;
    width: 46%;
    margin-right: 4%;
}

* html #mc_embed_signup .size1of2 {
    margin-right: 2%;
    /* Fix for IE6 double margins. */
}

#mc_embed_signup .mc-field-group label {
    display: block;
    margin-bottom: 3px;
}

#mc_embed_signup .mc-field-group input {
    display: block;
    /* width: 100%; */
    padding: 8px 0;
    text-indent: 2%;
}

#mc_embed_signup .mc-field-group select {
    display: inline-block;
    width: 99%;
    padding: 5px 0;
    margin-bottom: 2px;
}

#mc_embed_signup .mc-address-fields-group {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 96%;
    gap: 15px;
}

#mc_embed_signup .mc-sms-phone-group {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 96%;
    gap: 15px;
    padding-top: 5px;
}

#mc_embed_signup .datefield,
#mc_embed_signup .phonefield-us {
    padding: 5px 0;
}

#mc_embed_signup .datefield input,
#mc_embed_signup .phonefield-us input {
    display: inline;
    width: 60px;
    margin: 0 2px;
    letter-spacing: 1px;
    text-align: center;
    padding: 5px 0 2px 0;
}

#mc_embed_signup .phonefield-us .phonearea input,
#mc_embed_signup .phonefield-us .phonedetail1 input {
    width: 40px;
}

#mc_embed_signup .datefield .monthfield input,
#mc_embed_signup .datefield .dayfield input {
    width: 30px;
}

#mc_embed_signup .datefield label,
#mc_embed_signup .phonefield-us label {
    display: none;
}

#mc_embed_signup .indicates-required {
    text-align: right;
    font-size: 11px;
    margin-right: 4%;
}

#mc_embed_signup .asterisk {
    color: var(--accent);
    font-size: 150%;
    font-weight: normal;
    position: relative;
    top: 5px;
}

#mc_embed_signup .clear {
    clear: both;
}

#mc_embed_signup .foot {
    display: grid;
    grid-template-columns: 3fr 1fr;
    width: 96%;
    align-items: center;
}

@media screen and (max-width:400px) {
    #mc_embed_signup .foot {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        align-items: center;
    }
}

@media screen and (max-width:400px) {
    #mc_embed_signup .referralBadge {
        width: 50%;
    }
}

#mc_embed_signup .brandingLogo {
    justify-self: right;
}

@media screen and (max-width:400px) {
    #mc_embed_signup .brandingLogo {
        justify-self: left;
    }
}

#mc_embed_signup .mc-field-group.input-group ul {
    margin: 0;
    padding: 5px 0;
    list-style: none;
}

#mc_embed_signup .mc-field-group.input-group ul li {
    display: block;
    padding: 3px 0;
    margin: 0;
}

#mc_embed_signup .mc-field-group.input-group label {
    display: inline;
}

#mc_embed_signup .mc-field-group.input-group input {
    display: inline;
    width: auto;
    border: none;
}

#mc_embed_signup div#mce-responses {
    float: left;
    top: -1.4em;
    padding: 0em .5em 0em .5em;
    overflow: hidden;
    width: 90%;
    margin: 0 5%;
    clear: both;
}

#mc_embed_signup div.response {
    margin: 1em 0;
    padding: 1em .5em .5em 0;
    font-weight: bold;
    float: left;
    top: -1.5em;
    z-index: 1;
    width: 80%;
}

#mc_embed_signup #mce-error-response {
    display: none;
}

#mc_embed_signup #mce-success-response {
    color: var(--dark);
    display: none;
}

#mc_embed_signup label.error {
    display: block;
    float: none;
    width: auto;
    margin-left: 1.05em;
    text-align: left;
    padding: .5em 0;
}

#mc_embed_signup .helper_text {
    color: #8d8985;
    margin-top: 2px;
    display: inline-block;
    padding: 3px;
    background-color: rgba(255, 255, 255, 0.85);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: normal;
    z-index: 1;
}

#mc-embedded-subscribe {
    clear: both;
    width: auto;
    display: block;
    margin: 1em 0 1em 5%;
}

#mc_embed_signup #num-subscribers {
    font-size: 1.1em;
}

#mc_embed_signup #num-subscribers span {
    padding: .5em;
    border: 1px solid #ccc;
    margin-right: .5em;
    font-weight: bold;
}

#mc_embed_signup #mc-embedded-subscribe-form div.mce_inline_error {
    display: inline-block;
    margin: 2px 0 1em 0;
    padding: 3px;
    background-color: rgba(255, 255, 255, 0.85);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: normal;
    z-index: 1;
    color: var(--secondary);
}

#mc_embed_signup #mc-embedded-subscribe-form input.mce_inline_error {
    border: 2px solid var(--secondary);
}

#mc-embedded-subscribe-form input[type=checkbox] {
    display: inline;
    width: auto;
    margin-right: 10px;
}

#mergeRow-gdpr {
    margin-top: 20px;
}

#mergeRow-gdpr fieldset label {
    font-weight: normal;
}

#mc-embedded-subscribe-form .mc_fieldset {
    border: none;
    min-height: 0px;
    padding-bottom: 0px;
}