/* ==============================
   HOA HOA LÁ LÁ - NEWS PAGE
   File: assets/css/hhl-news-page.css
============================== */

.hhl-news-page{
  background:#F9F4EF;
  color:#263941;
  overflow:hidden;
  padding:0 0 40px;
}

.hhl-news-container{
  width:92%;
  max-width:1180px;
  margin:0 auto;
}

/* HERO */
.hhl-news-hero{
  padding:58px 0 28px;
}

.hhl-news-kicker,
.hhl-news-intro{
  display:none !important;
}

.hhl-news-breadcrumb{
  display:flex;
  align-items:center;
  gap:8px;
  color:#6A777C;
  font-size:15px;
  line-height:1.4;
  margin-bottom:12px;
}

.hhl-news-breadcrumb a{
  color:#29617C;
  text-decoration:none;
  font-weight:700;
}

.hhl-news-hero h1{
  color:#1F4E66;
  font-size:clamp(44px,6vw,86px);
  line-height:1.02;
  margin:0 0 24px;
  font-weight:800;
  letter-spacing:-1.5px;
}

.hhl-news-seo-text{
  max-width:920px;
  color:#4D5D63;
  font-size:20px;
  line-height:1.75;
  margin:0 0 42px;
}

/* CATEGORY TABS - DESKTOP */
.hhl-news-tabs{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:0;
  margin:0 0 34px;
}

.hhl-news-tab{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 22px;
  color:#29617C;
  text-decoration:none !important;
  font-size:16px;
  font-weight:800;
  border-right:1px solid rgba(41,97,124,.18);
  transition:all .25s ease;
}

.hhl-news-tab:last-child{
  border-right:0;
}

.hhl-news-tab:after{
  content:"";
  position:absolute;
  left:22px;
  right:22px;
  bottom:0;
  height:2px;
  background:#29617C;
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .25s ease;
}

.hhl-news-tab:hover,
.hhl-news-tab.is-active{
  color:#1F4E66;
}

.hhl-news-tab:hover:after,
.hhl-news-tab.is-active:after{
  transform:scaleX(1);
}

/* NEWS LIST */
.hhl-news-list{
  padding:32px 0 90px;
}

.hhl-news-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:56px 34px;
}

.hhl-news-card{
  position:relative;
  min-width:0;
}

.hhl-news-thumb{
  display:block;
  position:relative;
  height:178px;
  border-radius:18px;
  overflow:visible;
  text-decoration:none !important;
  margin-bottom:22px;
}

.hhl-news-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  border-radius:18px;
  box-shadow:0 16px 34px rgba(41,97,124,.12);
  transition:transform .45s ease, box-shadow .45s ease, filter .45s ease;
}

.hhl-news-card:hover .hhl-news-thumb img{
  transform:translateY(-4px) scale(1.025);
  box-shadow:0 22px 48px rgba(41,97,124,.20);
  filter:saturate(1.06) contrast(1.02);
}

/* DATE BADGE */
.hhl-news-date{
  position:absolute;
  left:-10px;
  top:22px;
  width:52px;
  min-height:58px;
  border-radius:10px;
  background:#fff;
  border:2px solid #29617C;
  color:#29617C;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  box-shadow:0 10px 24px rgba(41,97,124,.15);
  z-index:3;
}

.hhl-news-date strong{
  display:block;
  font-size:20px;
  line-height:1;
  font-weight:900;
}

.hhl-news-date small{
  display:block;
  font-size:12px;
  line-height:1.2;
  font-weight:800;
  text-transform:uppercase;
}

/* CONTENT */
.hhl-news-content{
  padding:0 2px;
}

.hhl-news-meta{
  color:#789198;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:1px;
  margin-bottom:8px;
}

.hhl-news-content h2{
  margin:0;
  font-size:18px;
  line-height:1.35;
  font-weight:800;
}

.hhl-news-content h2 a{
  color:#1F4E66;
  text-decoration:none !important;
}

.hhl-news-content h2 a:hover{
  color:#29617C;
}

.hhl-news-line{
  width:38px;
  height:2px;
  background:#29617C;
  margin:14px 0 12px;
}

.hhl-news-content p{
  color:#3F4E53;
  font-size:15px;
  line-height:1.75;
  margin:0;
}

/* PAGINATION */
.hhl-news-pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px;
  margin-top:60px;
}

.hhl-news-pagination .page-numbers{
  width:42px;
  height:42px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  color:#29617C;
  border:1px solid rgba(41,97,124,.16);
  text-decoration:none !important;
  font-weight:800;
  box-shadow:0 8px 22px rgba(41,97,124,.08);
  transition:all .25s ease;
}

.hhl-news-pagination .page-numbers.current,
.hhl-news-pagination .page-numbers:hover{
  background:#29617C;
  color:#fff;
  border-color:#29617C;
}

/* EMPTY */
.hhl-news-empty{
  background:#fff;
  border-radius:24px;
  padding:50px;
  text-align:center;
  border:1px solid rgba(41,97,124,.12);
  box-shadow:0 18px 44px rgba(41,97,124,.08);
}

.hhl-news-empty h2{
  color:#1F4E66;
  margin:0 0 10px;
  font-size:28px;
}

.hhl-news-empty p{
  margin:0;
  color:#5D686D;
}

/* REVEAL */
.hhl-news-reveal{
  opacity:0;
  transform:translateY(28px);
  transition:opacity .75s ease, transform .75s ease;
}

.hhl-news-reveal.is-visible{
  opacity:1;
  transform:translateY(0);
}

/* RESPONSIVE - TABLET */
@media(max-width:1100px){
  .hhl-news-grid{
    grid-template-columns:repeat(3,1fr);
  }

  .hhl-news-thumb{
    height:190px;
  }
}

/* RESPONSIVE - MOBILE + TAB SCROLL */
@media(max-width:850px){
  .hhl-news-container{
    width:90%;
  }

  .hhl-news-hero{
    padding:42px 0 20px;
  }

  .hhl-news-hero h1{
    font-size:46px;
    letter-spacing:-.8px;
  }

  .hhl-news-seo-text{
    font-size:16px;
    line-height:1.75;
    margin-bottom:26px;
  }

  .hhl-news-tabs{
    width:100%;
    max-width:100%;
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    justify-content:flex-start !important;
    align-items:center !important;
    gap:10px !important;

    overflow-x:auto !important;
    overflow-y:hidden !important;

    padding:2px 2px 10px !important;
    margin:0 0 26px !important;

    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }

  .hhl-news-tabs::-webkit-scrollbar{
    display:none;
    height:0;
  }

  .hhl-news-tab{
    flex:0 0 auto !important;
    white-space:nowrap !important;

    border:1px solid rgba(41,97,124,.14) !important;
    border-radius:999px !important;
    background:#fff !important;

    min-height:42px !important;
    padding:0 18px !important;

    color:#29617C !important;
    font-size:14px !important;
    font-weight:800 !important;
    line-height:1 !important;

    box-shadow:0 6px 18px rgba(41,97,124,.08);
  }

  .hhl-news-tab:after{
    display:none !important;
  }

  .hhl-news-tab.is-active{
    background:#29617C !important;
    color:#fff !important;
    border-color:#29617C !important;
    box-shadow:0 10px 24px rgba(41,97,124,.24);
  }

  .hhl-news-grid{
    grid-template-columns:repeat(2,1fr);
    gap:42px 24px;
  }

  .hhl-news-thumb{
    height:210px;
  }
}

/* RESPONSIVE - SMALL MOBILE */
@media(max-width:560px){
  .hhl-news-hero h1{
    font-size:42px;
  }

  .hhl-news-breadcrumb{
    font-size:14px;
  }

  .hhl-news-grid{
    grid-template-columns:1fr;
  }

  .hhl-news-thumb{
    height:230px;
  }

  .hhl-news-date{
    left:-6px;
    top:18px;
  }

  .hhl-news-content h2{
    font-size:20px;
  }

  .hhl-news-content p{
    font-size:15px;
  }

  .hhl-news-empty{
    padding:36px 22px;
  }
}