/* ==========================================================================
   Blogs page (blogs.html) — page-specific styles only.
   Shared header/nav/footer/root/eyebrow/buttons live in css/global.css.
   Everything here is scoped under .blogs-page, classes prefixed .blogs-*
   ========================================================================== */

/* ---------- Hero ---------- */
.blogs-page .blogs-hero{
  padding:32px 0 28px;
  text-align:center;
  background:#FAF9F6;
}
.blogs-page .blogs-hero h1 {
    font-size: 55px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--ink);
    margin: 0 auto 14px;
    padding-top: 20px;
    padding-bottom: 20px;
}
.blogs-page .blogs-hero p {
    font-size: 16px;
    line-height: 160%;
    color: var(--muted);
    margin: 0 auto 26px;
    font-weight: 600;
}
.blogs-page .blogs-hero-actions{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:32px;
  margin-top: 38px;
}
.blogs-page .blogs-hero-actions .btn-primary, .blogs-page .blogs-hero-actions .btn-outline {
    padding: 14px 24px 14px 23px;
    font-size: 17px;
    gap: 6px;
    font-weight: 600;
}
.blogs-page .blogs-hero-actions .btn-arrow{
  width:18px;height:18px;
  font-size:10px;
}

/* ---------- Hero card (stats) ---------- */
.blogs-page .blogs-hero-card {
    background: var(--white);
    border-radius: 90px;
    box-shadow: 0 20px 45px rgba(20, 40, 45, .08);
    max-width: 756px;
    margin: 0 auto;
    padding: 20px 48px;
}

/* ---------- Hero stats ---------- */
.blogs-page .blogs-hero-stats{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:8px;
}
.blogs-page .blogs-stat{
  display:flex;
  flex-direction:column;
  align-items:center;
  flex:1;
  gap:6px;
}
.blogs-page .blogs-stat-icon{
  width:50px;height:50px;

  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.blogs-page .blogs-stat-icon img{
  width:100%;
  height:auto;
}
.blogs-page .blogs-stat-text{
  display:flex;
  align-items:baseline;
  justify-content:center;
  flex-wrap:wrap;
  gap:3px;
  text-align:center;
}
.blogs-page .blogs-stat-num {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
}
.blogs-page .blogs-stat-label {
    font-size: 17px;
    font-weight: 700;
    color: var(--muted);
    line-height: 1.3;
}
/* ---------- Hero topic tags (sit below the stats card) ---------- */
.blogs-page .blogs-hero-tags{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
  margin-top:25px;
}
.blogs-page .blogs-tag {
    background: var(--teal-dark);
    color: var(--white);
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 5px;
    font-size: 17px;
}
/* ---------- Featured Article ---------- */
.blogs-page .blogs-featured{
  padding:68px 0 64px;
  background-color: #FAF9F6;
}
.blogs-page .blogs-featured-grid{
  display:grid;
  grid-template-columns:5fr 6fr;
  align-items:stretch;
  gap:48px;
}
.blogs-page .blogs-featured-image{
  position:relative;
  border-radius:20px;
  overflow:hidden;
  background:var(--sky-2);
}
.blogs-page .blogs-featured-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  min-height:320px;
}
.blogs-page .blogs-featured-badge{
  position:absolute;
  top:18px;
  left:18px;
  background:var(--teal-dark);
  color:var(--white);
  font-size:12.5px;
  font-weight:600;
  padding:8px 16px;
  border-radius:30px;
}
.blogs-page .blogs-featured-content{
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.blogs-page .blogs-featured-category{
  margin-bottom:12px;
}
.blogs-page .blogs-featured-title {
    font-size: 35px;
    font-weight: 700;
    line-height: 120%;
    color: var(--ink);
    margin-bottom: 16px;
    max-width: 492px;
}
.blogs-page .blogs-featured-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--muted);
    max-width: 460px;
    margin-bottom: 26px;
    font-weight: 600;
}
.blogs-page .blogs-featured-info {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 36px;
    max-width: 460px;
    margin-bottom: 26px;
}
.blogs-page .blogs-featured-author {
    display: flex;
    align-items: center;
    gap: 17px;
    background: #fff;
    padding: 10px 21px;
    border-radius: 50px;
}
.blogs-page .blogs-featured-author img{
  width:40px;height:40px;
  border-radius:50%;
  object-fit:cover;
  flex-shrink:0;
}
.blogs-page .blogs-featured-author-name{
  font-size:20px;
  font-weight:700;
  color:var(--ink);
}
.blogs-page .blogs-featured-author-role {
    font-size: 16px;
    color: var(--muted);
    font-weight: 400;
}
.blogs-page .blogs-featured-meta{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.blogs-page .blogs-featured-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    color: var(--muted);
    white-space: nowrap;
    font-weight: 600;
}
.blogs-page .blogs-featured-meta-item svg{
  width:14px;height:14px;
  color:var(--teal);
  flex-shrink:0;
}
.blogs-page .blogs-featured-button{
  align-self:flex-start;
}

/* ---------- Blog Listing ---------- */
.blogs-page .blogs-listing{
  padding:40px 0 72px;
}
.blogs-page .blogs-listing-label{
  display:block;
  margin-bottom:16px;
}

/* Filter bar: chips + search */
.blogs-page .blogs-filter-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
  margin-bottom:32px;
}
.blogs-page .blogs-filter{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.blogs-page .blogs-filter-chip{
  font-family:'Manrope', Arial, sans-serif;
  background:var(--white);
  border:1.5px solid var(--sky-1);
  color:var(--teal-dark);
  font-size:13px;
  font-weight:600;
  padding:9px 20px;
  border-radius:30px;
  cursor:pointer;
  white-space:nowrap;
  transition:background .2s ease, border-color .2s ease, color .2s ease;
}
.blogs-page .blogs-filter-chip:hover{border-color:var(--teal);background:var(--sky-2);}
.blogs-page .blogs-filter-chip.is-active{
  background:var(--teal);
  border-color:var(--teal);
  color:var(--white);
}
.blogs-page .blogs-search{
  display:flex;
  align-items:center;
  border:1px solid var(--line);
  border-radius:30px;
  padding:4px 4px 4px 20px;
  min-width:240px;
}
.blogs-page .blogs-search-input{
  flex:1;
  border:none;
  outline:none;
  background:transparent;
  font-family:'Manrope', Arial, sans-serif;
  font-size:13px;
  color:var(--ink);
}
.blogs-page .blogs-search-input::placeholder{color:#8a8f90;}
.blogs-page .blogs-search-btn{
  width:34px;height:34px;
  border-radius:50%;
  border:none;
  background:var(--teal);
  color:var(--white);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  flex-shrink:0;
}
.blogs-page .blogs-search-btn svg{width:15px;height:15px;}

/* Grid + sidebar */
.blogs-page .blogs-listing-grid{
  display:grid;
  grid-template-columns:1fr 300px;
  gap:40px;
  align-items:start;
  margin-bottom:40px;
}
.blogs-page .blogs-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
}
.blogs-page .blogs-empty{
  grid-column:1/-1;
  text-align:center;
  padding:48px 20px;
  font-size:14px;
  color:var(--muted);
  background:var(--sky-2);
  border-radius:18px;
}

/* Blog card */
.blogs-page .blogs-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 12px 30px rgba(20,40,45,.05);
  transition:transform .3s ease, box-shadow .3s ease;
}
.blogs-page .blogs-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 40px rgba(20,40,45,.09);
}
.blogs-page .blogs-card-image{
  aspect-ratio:16/11;
}
.blogs-page .blogs-card-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.blogs-page .blogs-card-body{
  padding:18px 20px 20px;
}
.blogs-page .blogs-card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.blogs-page .blogs-card-category{
  font-size:12px;
  font-weight:700;
}
.blogs-page .blogs-cat-mental-health{color:#B5651D;}
.blogs-page .blogs-cat-mindfulness{color:var(--teal);}
.blogs-page .blogs-cat-workplace{color:#7C5CBF;}
.blogs-page .blogs-cat-self-growth{color:#3FA65A;}
.blogs-page .blogs-cat-sleep{color:#3B82C4;}
.blogs-page .blogs-cat-relationships{color:#D6577A;}
.blogs-page .blogs-card-readtime{
  display:flex;
  align-items:center;
  gap:5px;
  font-size:11.5px;
  color:var(--muted);
  white-space:nowrap;
}
.blogs-page .blogs-card-readtime svg{width:13px;height:13px;color:var(--teal);}
.blogs-page .blogs-card-title{
  font-size:15px;
  font-weight:800;
  color:var(--ink);
  line-height:1.35;
  margin-bottom:8px;
}
.blogs-page .blogs-card-desc{
  font-size:12.5px;
  line-height:1.6;
  color:var(--muted);
  margin-bottom:16px;
}
.blogs-page .blogs-card-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding-top:14px;
  border-top:1px solid var(--line);
}
.blogs-page .blogs-card-author{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}
.blogs-page .blogs-card-author-avatar{
  width:26px;height:26px;
  border-radius:50%;
  object-fit:cover;
  flex-shrink:0;
  background:var(--sky-2);
}
.blogs-page .blogs-card-author-name{
  font-size:12px;
  font-weight:700;
  color:var(--ink);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.blogs-page .blogs-card-date{
  display:flex;
  align-items:center;
  gap:5px;
  font-size:11px;
  color:var(--muted);
  white-space:nowrap;
  flex-shrink:0;
}
.blogs-page .blogs-card-date svg{width:12px;height:12px;color:var(--teal);}

/* Sidebar */
.blogs-page .blogs-sidebar{
  display:flex;
  flex-direction:column;
  gap:32px;
}
.blogs-page .blogs-popular,
.blogs-page .blogs-categories{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:18px;
  padding:22px;
}
.blogs-page .blogs-sidebar-label{
  display:block;
  margin-bottom:16px;
}
.blogs-page .blogs-popular-item{
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 0;
  border-bottom:1px solid var(--line);
}
.blogs-page .blogs-popular-item:last-child{border-bottom:none;padding-bottom:0;}
.blogs-page .blogs-popular-item:first-child{padding-top:0;}
.blogs-page .blogs-popular-thumb{
  width:56px;height:56px;
  border-radius:10px;
  object-fit:cover;
  flex-shrink:0;
  background:var(--sky-2);
}
.blogs-page .blogs-popular-title{
  font-size:12.5px;
  font-weight:700;
  line-height:1.4;
  color:var(--ink);
  margin-bottom:4px;
}
.blogs-page .blogs-popular-meta{
  display:flex;
  align-items:center;
  gap:5px;
  font-size:11px;
  color:var(--muted);
}
.blogs-page .blogs-popular-meta svg{width:12px;height:12px;color:var(--teal);}

.blogs-page .blogs-categories-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 0;
  border-bottom:1px solid var(--line);
}
.blogs-page .blogs-categories-item:last-of-type{border-bottom:none;}
.blogs-page .blogs-categories-name{
  font-size:13.5px;
  font-weight:600;
  color:var(--ink);
}
.blogs-page .blogs-categories-count{
  font-size:12.5px;
  color:var(--muted);
}
.blogs-page .blogs-categories-viewall{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:14px;
  font-size:13px;
  font-weight:700;
  color:var(--teal);
}
.blogs-page .blogs-categories-viewall .btn-arrow{
  background:var(--sky-2);
  color:var(--teal);
  width:20px;height:20px;
  font-size:10px;
}

/* Pagination */
.blogs-page .blogs-pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
}
.blogs-page .blogs-pagination-btn{
  font-size:13px;
  font-weight:600;
  color:var(--teal-dark);
  padding:10px 18px;
  border-radius:30px;
  border:1.5px solid var(--sky-1);
  transition:background .2s ease, border-color .2s ease;
}
.blogs-page .blogs-pagination-btn:hover{border-color:var(--teal);background:var(--sky-2);}
.blogs-page .blogs-pagination-page{
  width:38px;height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  font-size:13px;
  font-weight:700;
  color:var(--ink);
  border:1.5px solid transparent;
  transition:background .2s ease, border-color .2s ease, color .2s ease;
}
.blogs-page .blogs-pagination-page:hover{border-color:var(--sky-1);background:var(--sky-2);}
.blogs-page .blogs-pagination-page.is-active{
  background:var(--teal);
  color:var(--white);
}
.blogs-page .blogs-pagination-ellipsis{
  color:var(--muted);
  font-size:13px;
  padding:0 4px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .blogs-page .blogs-hero h1{font-size:23px;}
  .blogs-page .blogs-hero-card{padding:16px 20px;}
  .blogs-page .blogs-hero-stats{gap:6px;}
  .blogs-page .blogs-featured-grid{grid-template-columns:1fr;gap:28px;}
  .blogs-page .blogs-featured-image img{min-height:280px;}
  .blogs-page .blogs-featured-title,
  .blogs-page .blogs-featured-desc,
  .blogs-page .blogs-featured-info{max-width:none;}
  .blogs-page .blogs-listing-grid{grid-template-columns:1fr;}
  .blogs-page .blogs-sidebar{flex-direction:row;}
  .blogs-page .blogs-popular,
  .blogs-page .blogs-categories{flex:1;}
}
@media (max-width: 760px){
  .blogs-page .blogs-grid{grid-template-columns:repeat(2, 1fr);}
  .blogs-page .blogs-sidebar{flex-direction:column;}
}
@media (max-width: 620px){
  .blogs-page .blogs-hero h1{font-size:20px;}
  .blogs-page .blogs-hero-card{border-radius:22px;}
  .blogs-page .blogs-hero-stats{flex-wrap:wrap;row-gap:16px;}
  .blogs-page .blogs-stat{flex:0 0 45%;}
  .blogs-page .blogs-hero-tags{gap:8px;}
  .blogs-page .blogs-featured-title{font-size:22px;}
  .blogs-page .blogs-featured-info{flex-direction:column;align-items:flex-start;gap:12px;}
  .blogs-page .blogs-grid{grid-template-columns:1fr;}
  .blogs-page .blogs-filter-bar{flex-direction:column;align-items:stretch;}
  .blogs-page .blogs-filter{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:4px;}
  .blogs-page .blogs-search{min-width:0;}
}
