[data-component-id="tec_prepa:mas_visitados"] {
  padding: 16px;
  background-color: #122CDE;
  border-radius: 24px;
  display: none;

  &:has(.views-row) {
    display: block;
  }


  h2 {
    color: #FFF;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    transition: all .3s ease;

    + * {
      margin-top: 16px;
    }
  }

  .views-row {
    .node--view-mode-card {
      border-bottom: #FFF solid 2px;
      padding-bottom: 8px;

      a {
        display: inline-block;

        &:hover {
          h3 {
            text-decoration: underline;
            color: rgba(255, 255, 255, 0.75);
          }
        }

        h3 {
          color:#FFF;
          font-family: 'DM Sans';
          font-size: 14px;
          font-style: normal;
          font-weight: 700;
          line-height: 20px;

          + * {
            margin-top: 8px;
          }
        }

        .node--author {
          p {
            color: #FFF;
            font-family: 'DM Sans';
            font-size: 12px;
            font-style: normal;
            font-weight: 600;
            line-height: 18px;
          }
        }
      }
    }

    + * {
      margin-top: 16px;
    }
  }
}

@media screen and (min-width: 1024px) {
  [data-component-id="tec_prepa:mas_visitados"] {
    h2 {
      font-size: 24px;
      line-height: 30px;
    }
  }
}

@media screen and (min-width: 1280px) {
  [data-component-id="tec_prepa:mas_visitados"] {
    padding: 32px;
  }
}
