/* ==========================================================
   POLAT BLOG HUB V1
   Approved Polat components + blog-specific layout only.
   ========================================================== */


/* HERO ---------------------------------------------------- */

body.polat-site.polat-blog-hub-page .polat-blog-hub-hero{
  border-bottom:1px solid #e6e9e7;
}

body.polat-site.polat-blog-hub-page .polat-blog-hero-visual{
  position:relative;
  display:block;
  overflow:hidden;
  min-width:0;
  height:100%;
  min-height:540px;
  background:#ecebe7;
}

body.polat-site.polat-blog-hub-page .polat-blog-hero-visual img{
  display:block;
  width:100%;
  height:100%;
  min-height:540px;
  object-fit:cover;
}

body.polat-site.polat-blog-hub-page .polat-blog-hero-label{
  position:absolute;
  left:24px;
  right:24px;
  bottom:24px;
  display:grid;
  gap:5px;
  max-width:520px;
  padding:16px 18px;
  border-radius:8px;
  background:rgba(8,47,61,.94);
  color:#fff;
}

body.polat-site.polat-blog-hub-page .polat-blog-hero-label strong{
  color:#fff;
  font-size:18px;
  font-weight:800;
  line-height:1.3;
}

body.polat-site.polat-blog-hub-page .polat-blog-hero-label span{
  color:#dbe5e7;
  font-size:15.5px;
  font-weight:600;
  line-height:1.4;
}


/* CATEGORY FILTER ---------------------------------------- */

body.polat-site.polat-blog-hub-page .polat-blog-filter{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin:0 0 30px;
}

body.polat-site.polat-blog-hub-page .polat-blog-filter a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 17px;
  border:1px solid #dce3e0;
  border-radius:7px;
  background:#fff;
  color:#425b62;
  font-size:15.5px;
  font-weight:800;
  line-height:1.15;
  text-decoration:none;
  transition:
    background .2s ease,
    color .2s ease,
    border-color .2s ease,
    transform .2s ease;
}

body.polat-site.polat-blog-hub-page .polat-blog-filter a:hover{
  transform:translateY(-1px);
  border-color:#f5a276;
  color:var(--polat-orange);
}

body.polat-site.polat-blog-hub-page .polat-blog-filter a.is-active{
  border-color:var(--polat-orange);
  background:var(--polat-orange);
  color:#fff;
}


/* BLOG GRID ---------------------------------------------- */

body.polat-site.polat-blog-hub-page .polat-blog-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

body.polat-site.polat-blog-hub-page .polat-blog-card-media{
  height:236px;
}

body.polat-site.polat-blog-hub-page .polat-blog-card-media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

body.polat-site.polat-blog-hub-page .polat-blog-card-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:0 0 11px;
  color:#667b81;
  font-size:15px;
  font-weight:700;
  line-height:1.35;
}

body.polat-site.polat-blog-hub-page .polat-blog-card-meta span{
  color:var(--polat-orange);
  font-weight:800;
}

body.polat-site.polat-blog-hub-page .polat-blog-card-meta time{
  white-space:nowrap;
}

body.polat-site.polat-blog-hub-page .polat-blog-card h3 a{
  color:inherit;
  text-decoration:none;
}

body.polat-site.polat-blog-hub-page .polat-blog-card .polat-service-copy p{
  display:-webkit-box;
  overflow:hidden;
  min-height:72px!important;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
}

body.polat-site.polat-blog-hub-page .polat-blog-empty{
  padding:28px;
  border:1px solid #dfe5e2;
  border-radius:11px;
  background:#fff;
  color:#536970;
  font-size:16.5px;
  font-weight:500;
  line-height:1.6;
}

body.polat-site.polat-blog-hub-page .polat-blog-back{
  margin-top:30px;
}


/* DESKTOP HERO HEIGHT ------------------------------------ */

@media (min-width:981px){

  body.polat-site.polat-blog-hub-page .polat-blog-hub-hero{
    overflow:visible!important;
  }

  body.polat-site.polat-blog-hub-page .polat-blog-hub-hero .polat-hero-grid{
    height:auto!important;
    min-height:540px!important;
    overflow:visible!important;
  }

  body.polat-site.polat-blog-hub-page .polat-blog-hub-hero .polat-hero-copy{
    min-height:540px!important;
    height:auto!important;
  }

}


/* TABLET -------------------------------------------------- */

@media (min-width:681px) and (max-width:1180px){

  body.polat-site.polat-blog-hub-page .polat-blog-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
  }

  body.polat-site.polat-blog-hub-page .polat-blog-hero-visual{
    min-height:0;
    aspect-ratio:1.38/1;
  }

  body.polat-site.polat-blog-hub-page .polat-blog-hero-visual img{
    min-height:0;
    height:100%;
  }

}


/* MOBILE -------------------------------------------------- */

@media (max-width:680px){

  body.polat-site.polat-blog-hub-page .polat-blog-hero-visual{
    min-height:0;
    aspect-ratio:1.38/1;
  }

  body.polat-site.polat-blog-hub-page .polat-blog-hero-visual img{
    min-height:0;
    height:100%;
  }

  body.polat-site.polat-blog-hub-page .polat-blog-hero-label{
    left:14px;
    right:14px;
    bottom:14px;
    padding:13px 15px;
  }

  body.polat-site.polat-blog-hub-page .polat-blog-hero-label strong{
    font-size:17px;
  }

  body.polat-site.polat-blog-hub-page .polat-blog-hero-label span{
    font-size:15.5px;
  }

  body.polat-site.polat-blog-hub-page .polat-blog-filter{
    gap:8px;
    margin-bottom:24px;
  }

  body.polat-site.polat-blog-hub-page .polat-blog-filter a{
    min-height:48px;
    padding:0 14px;
    font-size:15px;
  }

  body.polat-site.polat-blog-hub-page .polat-blog-grid{
    grid-template-columns:1fr;
    gap:14px;
  }

  body.polat-site.polat-blog-hub-page .polat-blog-card-media{
    height:226px;
  }

  body.polat-site.polat-blog-hub-page .polat-blog-card-meta{
    font-size:15px;
  }

  body.polat-site.polat-blog-hub-page .polat-blog-card .polat-service-copy p{
    min-height:0!important;
    -webkit-line-clamp:initial;
  }

}
