main.mod_home_visitor {

  section {
    margin: 0 auto 6rem auto;
  }

  @media only screen and (max-width: 711px) {
    section {
      margin-bottom: 5rem;
    }
  }

  section.promo-banners {
    position: relative;

    width: 100%;
    aspect-ratio: 116 / 45;
    overflow: hidden;

    .promo-banner {

      position: absolute;
      inset: 0;

      display: block;

      opacity: 0;
      transition: opacity 1.5s ease;
      pointer-events: none;

      img {
        display: block;

        width: 100%;
        height: 100%;
        object-fit: contain;
      }

    }

    .promo-banner.active {
      opacity: 1;
      pointer-events: auto;
    }

    @media (prefers-reduced-motion: reduce) {

      .promo-banner {
        transition: none;
      }

    }

  }


  section.brand-intro {

    /* padding: 5rem 1rem; */

    text-align: center;

    .brand-intro-name {

      display: inline-block;
      padding-bottom: 0.25rem;

      font-family: "Ubuntu Min", sans-serif;
      font-size: 6.3vw;
      font-weight: 400;
      line-height: 0.9;
      white-space: nowrap;

      border-bottom: 0.18rem solid var(--baseDecoration);

    }

    .brand-intro-slogan {

      margin-top: 0.45rem;
      margin-bottom: 3rem;

      font-family: "Ubuntu Min", sans-serif;
      font-size: 2.95vw;
      font-weight: 500;
      line-height: 1;
      letter-spacing: 0.04em;

    }

    > p {
        width: min(85%, 48rem);
        margin: 0 auto 1.2rem;
        line-height: 1.6;
        text-align: center;
        hyphens: none;
    }

    @media only screen and (max-width: 711px) {

      /* padding: 4rem 1rem 2.5rem; */

      .brand-intro-name {
        font-size: 9.4vw;
      }

      .brand-intro-slogan {
        margin-top: 0.3rem;
        font-size: 4.7vw;
      }

    }

  }


  section.reading-benefits {

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    width: min(90%, 75rem);
    /* margin: 2rem auto 4rem; */

    text-align: center;
    hyphens: none;

    .reading-benefit {

      padding: 1rem 2rem;

      text-align: center;
      hyphens: none;

      & + .reading-benefit {
          position: relative;

          &::before {
              content: "";
              position: absolute;

              left: 0;
              top: 15%;
              height: 70%;

              width: 1px;
              background-color: var(--baseDecoration);
          }
      }


      .reading-benefit-icon {

        display: block;
        margin-bottom: 0.6rem;

        font-size: 2.25rem;
        font-weight: 300;
        color: var(--baseDecoration);

      }

      h2 {

        margin: 0 0 0.7rem;

        font-size: 1.2rem;
        font-weight: 800;
        line-height: 1.2;

        text-align: center;
        hyphens: none;

      }

      p {

        margin: 0 0 1rem 0;
        width: 100%;

        font-size: 0.9rem;
        font-weight: 400;
        line-height: 1.45;

        text-align: center;
        hyphens: none;

      }

    }

    @media only screen and (max-width: 711px) {

      display: block;
      width: 85%;
      margin-bottom: 3rem;

      .reading-benefit {

        padding: 2rem 0;

        & + .reading-benefit::before {
            left: 15%;
            top: 0;

            width: 70%;
            height: 1px;
        }

        .reading-benefit-icon {
          font-size: 2.1rem;
        }

      }

    }

  }


   /*
   * Standard Home sections
   */

  section.home-section {
    text-align: center;
    hyphens: none;
  }


  .home-section-icon {
    display: block;
    margin-bottom: 1rem;

    font-size: 2.75rem;
    font-weight: 300;

    color: var(--baseDecoration);
  }


  .home-section-title {
    margin: 0 0 2.5rem;

    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.2;

    text-align: center;
    hyphens: none;
  }


  .home-section-lead {
    margin: 0 auto 2.5rem;

    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;

    text-align: center;
    hyphens: none;
  }


  .home-content {
    width: min(100%, 48rem);
    margin: 0 auto;

    text-align: center;
  }


  .home-content p {
    margin: 0 auto 1.2rem;

    line-height: 1.6;
    text-align: center;
  }


  /*
   * Read with confidence
   */

  section.benefit-confidence {
    width: 100%;


    > .home-section-title {
      margin-bottom: 0.7rem;
    }


    > p {
      width: 85%;
      margin: 2rem auto;

      font-size: 0.9rem;
      font-weight: 400;
      line-height: 1.45;

      text-align: center;
      hyphens: none;
    }


    div.lang-comparison {
      display: grid;
      grid-template-columns: 1fr 1fr;
      column-gap: 3rem;
      align-items: center;

      width: min(85%, 70rem);
      margin: 1.5rem auto 3rem;
      padding: 0;


      .lang-content {
        align-self: center;

        display: flex;
        flex-direction: column;
        justify-content: center;
      }


      .lang-images {
        position: relative;
        width: 100%;


        img {
          display: block;

          width: 100%;
          height: auto;

          border-radius: 0.4rem;
          box-shadow: 0 0 0.4rem var(--baseShadow);

          transition: opacity 0.6s ease;
        }


        img + img {
          position: absolute;
          inset: 0;
        }


        img:not(.current) {
          opacity: 0;
        }


        img.current {
          opacity: 1;
        }
      }


      div.lang-texts {
        /*
         * Reserve enough room for the longer version.
         */
        min-height: 13rem;

        display: flex;
        align-items: center;


        > div {
          width: 100%;


          p {
            width: 100%;
            margin: 0;
            padding: 0;

            font-size: 1rem;
            line-height: 1.6;

            text-align: left;
            hyphens: none;
          }


          p.small {
            margin-top: 1rem;

            font-size: 0.8rem;
            line-height: 1.3;

            text-align: right;
          }
        }


        > div.hidden {
          display: none;
        }
      }


      .lang-images,
      .lang-texts {
        opacity: 1;
        transition: opacity 0.25s ease;
      }


      .lang-images.lang-fading,
      .lang-texts.lang-fading {
        opacity: 0;
      }


      div.lang-selector {
        display: flex;
        justify-content: center;
        gap: 1rem;

        width: fit-content;
        margin: 1rem auto 0;


        button {
          display: block;

          width: fit-content;
          min-width: 0;
          height: auto;

          margin: 0;
          padding: 0 0 0.25rem;

          border: 0;
          border-bottom: 2px solid transparent;
          border-radius: 0;

          background: none;
          cursor: pointer;


          img {
            display: block;

            width: 2rem;
            height: 2rem;
          }
        }


        button.current {
          border-bottom-color: var(--baseDecoration);
        }
      }


      @media (prefers-reduced-motion: reduce) {

        .lang-images,
        .lang-texts {
          transition: none;
        }

      }


      @media only screen and (max-width: 711px) {
        display: block;

        width: 85%;


        .lang-images {

          img {
            width: 75%;
            margin: 0 auto;
          }

        }


        div.lang-texts {
          min-height: 0;

          display: block;
          margin-top: 1.5rem;


          > div {

            p {
              text-align: center;
            }


            p.small {
              margin-top: 0.75rem;
              text-align: center;
            }

          }

        }


        div.lang-selector {
          margin: 1.5rem auto 0;


          button img {
            width: 1.8rem;
            height: 1.8rem;
          }

        }

      }

    }

  }


  /*
   * Recent releases
   */

  section.recent-releases {
    width: min(90%, 75rem);


    .books-recent-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 3rem;

      width: 85%;
      margin: 0 auto;


      .grid-cell {
        min-width: 0;


        a {
          display: block;
          width: 100%;


          img {
            display: block;

            width: 100%;
            height: auto;

            border-radius: 0.25rem;
            box-shadow: 0 0 0.4rem var(--baseShadow);
          }

        }

      }

    }


    .catalog-cta {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;

      margin-top: 2.5rem;

      font-size: 0.9rem;
      font-weight: 800;

      color: var(--linkLink);
      text-decoration: none;


      &:visited {
        color: var(--linkLink);
      }


      &:hover,
      &:focus {
        color: var(--linkHover);
      }


      .mso {
        font-size: 1.1rem;
      }

    }


    @media only screen and (max-width: 711px) {
      width: 100%;


      .books-recent-grid {
        display: flex;
        gap: 1rem;

        width: 100%;
        padding: 0 7.5%;

        overflow-x: auto;
        scroll-snap-type: x mandatory;


        .grid-cell {
          flex: 0 0 42%;
          scroll-snap-align: start;
        }

      }


      .catalog-cta {
        margin-top: 2rem;
      }

    }

  }


  /*
   * Readers' Club
   */

  section.readers-club {
    width: min(85%, 60rem);


    > p:not(.home-section-lead) {
      width: min(100%, 48rem);
      margin: 0 auto;

      line-height: 1.6;
      text-align: center;
    }

  }


  /*
   * How it works
   */

  section.how-it-works {
    width: min(85%, 60rem);


    .home-section-title {
      margin-bottom: 2rem;
    }

  }


  /*
   * Registration
   */

  .home-register {
    position: relative;

    width: min(100%, 48rem);
    margin: 5rem auto 0;
    padding: 2.5rem clamp(0.75rem, 3vw, 2.5rem);

    text-align: left;


    &::before,
    &::after {
      content: "";
      position: absolute;

      left: 15%;

      width: 70%;
      height: 0.06rem;

      background-color: var(--baseDecoration);
    }


    &::before {
      top: 0;
    }


    &::after {
      bottom: 0;
    }


    .member-register-widget {
      text-align: left;
    }

  }


  /*
   * Mobile adjustments
   */

  @media only screen and (max-width: 711px) {

    .home-section-icon {
      font-size: 2.1rem;
    }


    .home-section-title {
      margin-bottom: 2rem;
    }

  }

}


  section.readers-club {
    width: min(85%, 60rem);
    /* margin: 5rem auto; */
    text-align: center;
    hyphens: none;

    > .readers-club-icon {
      display: block;
      margin-bottom: 0.6rem;
      font-size: 2.75rem;
      font-weight: 300;
      color: var(--baseDecoration);
    }

    > h2 {
      margin: 0 0 1.5rem;
      font-size: 1.4rem;
      font-weight: 800;
      line-height: 1.2;
      text-align: center;
    }

    > .readers-club-lead {
      margin: 0 auto 2.5rem;
      font-size: 1rem;
      font-weight: 500;
      line-height: 1.6;
      text-align: center;
    }

    .readers-club-how {
      width: min(100%, 48rem);
      margin: 2.5rem auto 0;

      h3 {
        display: table;
        margin: 0 auto 2rem;
        padding: 0 0.75rem 0.15rem;

        font-size: 1.15rem;
        font-weight: 800;
        letter-spacing: 0.125rem;
        line-height: 1.2;
        text-align: center;

        border-bottom: 0.06rem solid var(--baseDecoration);
      }

      p {
        margin: 0 auto 1.2rem;
        line-height: 1.6;
        text-align: center;
      }
    }

    .readers-club-special {
      font-size: 0.9rem;
    }

    .readers-club-register {
        position: relative;

        width: min(100%, 48rem);
        margin: 5rem auto 0;
        padding: 2.5rem clamp(0.75rem, 3vw, 2.5rem);

        text-align: left;

        &::before,
        &::after {
            content: "";
            position: absolute;

            left: 15%;
            width: 70%;
            height: 0.06rem;

            background-color: var(--baseDecoration);
        }

        &::before {
            top: 0;
        }

        &::after {
            bottom: 0;
        }

        .member-register-widget {
            text-align: left;
        }
    }


    .readers-club-community {
      width:      min(100%, 48rem);
      margin:     5rem auto 0;
      text-align: center;

      h3 {
        display: table;
        margin: 0 auto 2rem;
        padding: 0 0.75rem 0.15rem;

        font-size: 1.15rem;
        font-weight: 800;
        letter-spacing: 0.125rem;
        line-height: 1.2;
        text-align: center;

        border-bottom: 0.06rem solid var(--baseDecoration);
      }

      p {
        margin: 0 auto 1.2rem;
        line-height: 1.6;
        text-align: center;
      }

      .whatsapp-logo {
        display: block;
        width: 3.5rem;
        margin: 1rem auto 0;
      }

    }

  }


