section.u5m-blog-listing {
  --cols: 3;
  --gap: 30px;
  div.hero {
    padding-top: calc(max(var(--u5-header-height, 0px), var(--header-occupancy)) + 80px);
    margin-bottom: 50px;

    @media (max-width: 1024px) {
      padding-top: calc(max(var(--u5-header-height, 0px), var(--header-occupancy-mobile)) + 80px);
    }    
    .section-inner.center {
      max-width: 1320px;
        width: 100%;
      h1.heading {
        text-align: center;
        margin-bottom:0;
        color: var(--orange-1);
        body.author-listing & {
          
  
          .blog-title {
            margin-bottom: 0;
            display: block;
          }
        }
        .blog-title {
          span {
            color: var(--white);
            -webkit-text-stroke: 2px var(--orange-1);
            text-shadow:
              -1px -1px 0 var(--orange-1),
              1px -1px 0 var(--orange-1),
              -1px  1px 0 var(--orange-1),
              1px  1px 0 var(--orange-1);
          }
        }
      } /* ← close h1.heading */
  
      div.wrapper {
        margin: 50px auto 0 auto;
        
        &.none {
          display: none;
        }
  
       
  
        body.author-listing &,
        body.archive & {
          display: none;
        }

        @media(min-width: 768px) {
          div.card {
            /* referencing the featured-card class+styles in _05-cards.css */
            display:flex;
            flex-direction:row;
            padding: 30px;
            gap: 30px;
            justify-content: space-between;
            align-items: center;
            .image {            position: relative;
              aspect-ratio: 16 / 9;
              border-radius: var(--border3);
              overflow: hidden;
              width: 66.6666%;
              
            }
            .content {
              padding:0;
              width: 40%;
              .content-upper {
                .title {
                  font-size: 22px;
                  line-height:1.4;
                }
                .read-time {
                  margin-bottom:0;
                }
              }
            }
          }
        }
  
        
      }
    }


  }

  /*****************************************/
  /* div.filter                            */
  /*****************************************/
  div.filter {
    max-width: 860px;
    width: 100%;
    margin: 0 auto 65px;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    @media(max-width: 767px) {
      flex-direction: column;
    }
    body.author-listing & {
      display: none;
    }
    label {
      color: var(--purple);
      font-family: var(--font1);
      font-size: 13px;
      font-style: normal;
      font-weight: 700;
      line-height: 13px;
      letter-spacing: 1px;
      text-transform: uppercase;
    }
    .search {
      
      max-width: 500px;
      width: 100%;
      @media(max-width: 767px) {
        max-width: 100%;
      }
      form {
        position: relative;
        width: 100%;
        display: flex;
        align-items: center;
        margin-bottom: 0;
        input[type="text"] {
          border-radius: 10px;
          border: 1px solid var(--gray4);
          background: var(--white);
          box-shadow: var(--shadow-card);
          height: 60px;
          line-height: 60px;
          padding-left: 15px;
          padding-right: 50px;
          width: 100%;
        }
        .search-button {
          background: none;
          position: absolute;
          z-index: 10;
          outline: none;
          border: none;
          right: 15px;
        }
      }
    }

    div.mobile-menu {
      display: block;
      max-width: 300px;
      width: 100%;
      @media(max-width: 767px) {
        max-width: 100%;
      }
        select.menu-wrap {
          /* select style from forms.css */
          position: relative;
          border: 0;
          border-radius: var(--border1);
          margin-top: 0;
          margin-bottom: 0;
          font-size: 16px;
          background-color: var(--white);
          padding: 16px;
          cursor: pointer;
          width: 100% !important;
          appearance: none;
          background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="%23000"><path d="M480-357.85 253.85-584 296-626.15l184 184 184-184L706.15-584 480-357.85Z"/></svg>');
          background-repeat: no-repeat;
          background-position: right 16px center;
          background-size: 24px;
          border-radius: 10px;
          border: 1px solid var(--gray4);
          background-color: var(--white);
          box-shadow: var(--shadow-card);
          height: 60px;
          &::placeholder {
            color: var(--dark-gray);
          }
          &:hover,&:focus {
            
          }
        
      }
    }

    div.menu {
      margin: 0 auto;
      padding-left: 20px;
      padding-right: 20px;
      text-align: center;
      padding-top: 2px;

      @media (max-width: 768px) {
        &:not(.dynamic) {
          display: none;
        }
      }

      div.hs-menu-wrapper.hs-menu-flow-horizontal {
        ul {
          display: flex;
          justify-content: center;
          /* align-items: center; */
          gap: 10px;
          list-style: none;
          padding-left: 0;

          li {
            display:flex;
            justify-content: center;
            text-align: center;
            a {
              display:flex;
              justify-content: center;
              align-items: center;
              margin:0;
              border-radius: var(--border1);
              border: 1px solid var(--gray1);
              padding: 10px 20px;
              font-size: 16px;
              color: var(--black);
              background-color: var(--white);
              cursor: pointer;
              transition: all 0.3s ease;
              text-decoration:none;
              &:hover,&:focus {
                
                border-color: var(--black);
              }
            }
          }
        } /* ← this closing brace was missing */

        ul li.active a {
          background-color: var(--black);
          border-color: var(--black);
        }

        ul li:first-child.active a {
          background-color: var(--gray3);
          color: var(--white);
        }

        body:not(.topic) & ul li.active a {
          background-color: var(--black);
          color: var(--white);
          border-color: var(--black);
        }

        ul {
          padding: 0;
          margin: 0;
          line-height: normal;
        }

        li {
          margin: 0;
        }

        ul ul li {
          text-align: left;

          @media (max-width: 580px) {
            text-align: center;
          }

          a {
            margin: 0 15px 20px 15px;
          }
        }

        ul.hs-menu-children-wrapper {
          padding-top: 20px;
          background-color: var(--white);
        }

        li.hs-menu-depth-2 .hs-menu-children-wrapper {
          padding-top: 0;
        }
      }

      /* Caret after Menu items with dropdown */
      li.hs-menu-depth-1.hs-item-has-children > a:after {
        position: relative;
        top: -2px;
        content: "▼";
        display: inline-block;
        margin-left: 7px;
        font-size: 15px;
        font-weight: bold;
      }

      li.hs-menu-depth-2.hs-item-has-children > a:after {
        position: relative;
        top: 0;
        content: ">";
        margin-left: 7px;
        font-size: 15px;
      }

      &.dynamic {
        ul {
          display: flex;
          flex-wrap: wrap;
          align-items: center;
          justify-content: center;
          list-style: none;
          padding: 0;

          li {
            margin: 0 10px 10px;

            a {
              margin: 0;
            }
          }
        }
      }
    }
  }

  /*****************************************/
  /* display: .author;                     */
  /*****************************************/
  div.author {
    background-color: var(--light-gray);
    padding: 50px 0;
    margin-bottom: 50px;

    div.center {
      display: flex;
      align-items: flex-start;
      gap: 50px;
      @media(max-width: 768px) {
        gap: 30px;
      }
      @media(max-width: 580px) {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
      }
      div.avatar {
        
        width: 200px;
        height: 200px;
        background-position: 50% 50%;
        border-radius: var(--border3);
        flex: 0 0 200px;
        overflow: hidden;
        @media(max-width: 768px) {
          width: 150px;
          height: 150px;
          flex: 0 0 150px;
        }
        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          object-position: 50% 50%;
        }
      }

      .blog-author-text {
        h2.header {font-size: 20px; font-weight: 600;}
        p.bio {}
        div.social {
          display: flex;
          gap: 10px;
          align-items: center;
          justify-content: flex-start;
          @media(max-width: 580px) {
            justify-content: center;
          }
        a {
          display: flex;

          svg {
            path {
              transition: var(--animation1);
              fill: var(--black);
            }
            
          }

          &:hover {
            svg {
              path {
                fill: var(--action1);
              }
            }
          }
        }
      }
      }

      
      }

     
    }
  }

  /*****************************************/
  /* div.posts                              */
  /*****************************************/
  div.posts {
    margin: 0 auto;
    margin-top:50px;
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap);
    
    .resource-card {
      flex: 0 0 100%;
      margin: 100px 0;
      padding: 50px 20px;
      position: relative;
      overflow: visible;

      @media (max-width: 580px) {
        padding: 30px 0;
      }

      &:after {
        content: '';
        position: absolute;
        height: 100%;
        width: 1920px;
        z-index: 0;
        top: 0;
        background-color: var(--gray1);
        right: 50%;
        transform: translateX(50%);
      }

      a {
        position: relative;
        z-index: 10;
        display: flex;
        flex-wrap: nowrap;
        height: 100%;
        align-items: center;

        @media (max-width: 580px) {
          display: block;
        }

        .image {
          flex: 0 0 300px;
          height: 100%;
          margin-right: 50px;
          background-size: cover;
          background-position: 50%;

          @media (max-width: 580px) {
            height: 300px;
            margin: 0 auto 30px auto;
          }
        }

        .content {
          h2,
          span,
          p {
            color: var(--black);
          }

          span.type {
            display: block;
            margin-bottom: 0;
            text-transform: uppercase;
          }

          h2.title {
            margin-top: 0;
          }

          span.link {}
        }
      }
    }
    .card {
      @media (max-width: 1024px) {
        --cols: 2;
      }
      @media(max-width: 580px) {
        --cols: 1;
      }
    }
    &.center {
      max-width: 1280px;
      width: 100%;
      margin: 0 auto;
    }
  }

  /********************************************/
  /* .pagination-standard                     */
  /********************************************/
  div.pagination-standard {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 100px;

    ul.pages {
      display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 7px;
    margin:0 auto;
    gap: 10px;
    max-width: 260px;
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--gray4);
    background: var(--gray5);
    box-shadow: 0 15px 15px -10px rgba(0, 0, 0, 0.10);
      li {
        background: none;
        display: inline-block;
        list-style: none;
        background-image: none;

        a {
          display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      border: 0;
      background-color: transparent;
      border: 1px solid transparent;
      border-radius: var(--border1);
      color: var(--black);
      min-height: 55px;
      min-width: 55px;
      padding: 0;
      font-weight: bold;
      transition: .1s ease-in;
      text-transform: uppercase;
      font-size: 14px;
      line-height: 1.2;
      letter-spacing: .25px;
      text-decoration: none;
      cursor: pointer;
      

      @media (max-width: 580px) {
        min-height: 30px;
        min-width: 30px;
        font-size: 13px;
      }

      &:hover {
        border-color: var(--aqua);
        
      }

     
        }

        @media (max-width: 580px) {
          a {
            min-height: 35px;
            min-width: 35px;
          }
        }

       

        &.disabled {
          a {
            display: none;
          }
        }

        &.active {
          a {
            background-color: var(--aqua);
        color: var(--black);
        border-color: var(--aqua);
        pointer-events: none;
          }
        }
      }
    }
  }

  /********************************************/
  /* .pagination-infinite                     */
  /********************************************/
  div.pagination-infinite {
    text-align: center;

    a.pagination-infinite_button {
      .hide-next & {
        display: none;
      }
    }
  }
}
