/* =====================================================
   BLOG LISTING PAGE
===================================================== */

.nh-body {
  background: #FFFFFF;
  color: #101214;
  -webkit-font-smoothing: antialiased;
}

.nh-body .container-xl {
  width: min(100% - 40px, 1280px);
  margin-inline: auto;
}

.bl-eyebrow {
  font-size: 17px;
  text-transform: uppercase;
  color: #D91C1C;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
}

.bl-eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: #D91C1C;
  display: inline-block;
}

.bl-section {
  position: relative;
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .bl-section {
    padding: 3.2rem 0;
  }
}

.bl-section--light {
  background: #F3F5F7;
  border-top: 1px solid #E3E6E9;
  border-bottom: 1px solid #E3E6E9;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---- H1 (hero-title): 40px desktop / 32px tablet / 25px phone ---- */
.nh-body .pg-hero .hero-title {
  font-size: 40px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

@media (max-width: 768px) {
  .nh-body .pg-hero .hero-title {
    font-size: 32px;
  }
}

@media (max-width: 576px) {
  .nh-body .pg-hero .hero-title {
    font-size: 25px;
  }
}

.nh-body .pg-hero .hero-desc {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .62);
  max-width: 58ch;
  margin: 0 0 1.8rem;
}

@media (max-width: 768px) {
  .nh-body .pg-hero .hero-desc {
    font-size: 15px;
    line-height: 1.6;
  }
}

/* ---- H2: 35px desktop / 30px tablet / 23px mobile ---- */
.nh-body h2 {
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  color: #101214;
  font-size: 35px;
}

@media (max-width: 992px) {
  .nh-body h2 {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .nh-body h2 {
    font-size: 23px;
  }
}

/* =====================================================
   FEATURED POST
===================================================== */
.bl-featured {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #E3E6E9;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
}

.bl-featured img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.bl-featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10, 11, 13, .94) 100%);
  z-index: 1;
}

.bl-featured__body {
  position: relative;
  z-index: 2;
  padding: 2.2rem 2.2rem 2rem;
}

.bl-featured__cat {
  display: inline-block;
  background: #D91C1C;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 3px;
  margin-bottom: .9rem;
}

.bl-featured__body h2 {
  color: #fff;
  max-width: 38ch;
  line-height: 1.15;
}

.bl-featured__body p {
  max-width: 55ch;
  margin: .8rem 0 1.1rem;
  color: rgba(255, 255, 255, .82);
}

.bl-featured__meta {
  display: flex;
  gap: 1.2rem;
  font-size: 15px;
  color: #9AA6AE;
  margin-bottom: 1rem;
}

.bl-featured__meta span {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.bl-btn-red {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #D91C1C;
  border: 1.5px solid #D91C1C;
  color: #fff;
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  padding: .82rem 1.7rem;
  border-radius: 4px;
  transition: .2s;
  text-decoration: none;
  cursor: pointer;
}

.bl-btn-red:hover {
  background: #a01515;
  border-color: #a01515;
}

/* =====================================================
   CATEGORY TABS
===================================================== */
.bl-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.bl-tab {
  background: #fff;
  border: 1px solid #E3E6E9;
  color: #5b6470;
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  padding: .65rem 1.4rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all .22s ease;
}

.bl-tab.active,
.bl-tab:hover {
  background: #D91C1C;
  border-color: #D91C1C;
  color: #fff;
}

/* =====================================================
   BLOG CARD
===================================================== */
.bl-card {
  background: #fff;
  border: 1px solid #E3E6E9;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all .3s cubic-bezier(.16, 1, .3, 1);
  box-shadow: 0 6px 20px rgba(16, 18, 20, .05);
}

.bl-card:hover {
  border-color: rgba(217, 28, 28, .3);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(16, 18, 20, .12);
}

.bl-card__media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.bl-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.bl-card:hover .bl-card__media img {
  transform: scale(1.06);
}

.bl-card__cat {
  position: absolute;
  top: .7rem;
  left: .7rem;
  background: #D91C1C;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  padding: .28rem .65rem;
  border-radius: 3px;
  z-index: 2;
}

.bl-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.bl-card__meta {
  display: flex;
  gap: 1rem;
  font-size: 15px;
  color: #5b6470;
  margin-bottom: .7rem;
}

.bl-card__meta span {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.bl-card h3 {
  font-size: 18px;
  font-weight: 700;
  text-transform: none;
  line-height: 1.3;
  margin-bottom: .6rem;
  color: #101214;
}

.bl-card p {
  font-size: 15px;
  line-height: 1.5;
  color: #5b6470;
  margin: 0 0 1.1rem;
  flex-grow: 1;
}

.bl-card__link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  color: #101214;
  text-decoration: none;
}

.bl-card__link i {
  color: #D91C1C;
  transition: transform .2s;
}

.bl-card:hover .bl-card__link i {
  transform: translateX(4px);
}

/* =====================================================
   CTA BOX
===================================================== */
.bl-cta-box {
  background: linear-gradient(135deg, #D91C1C 0%, #8f0f0f 100%);
  border-radius: 10px;
  padding: 3.5rem 3rem;
  text-align: center;
}

.bl-cta-box h2 {
  color: #fff;
}

.bl-cta-box p {
  color: rgba(255, 255, 255, .82);
  max-width: 55ch;
  margin: .8rem auto 1.8rem;
  font-size: 17px;
}

@media (max-width: 768px) {
  .bl-cta-box p {
    font-size: 15px;
  }
}

.bl-btn-white {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  border: 1.5px solid #fff;
  color: #D91C1C;
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  padding: .82rem 1.8rem;
  border-radius: 4px;
  text-decoration: none;
  transition: .2s;
}

.bl-btn-white:hover {
  background: transparent;
  color: #fff;
}

/* =====================================================
   BLOG POST — SINGLE ARTICLE (variant of the blog listing page)
===================================================== */
.bp-post-body {
  max-width: 760px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.9;
}

.bp-post-body p {
  color: #5b6470;
  margin-bottom: 1.4rem;
}

.bp-post-body h2 {
  font-size: 24px !important;
  margin: 2.6rem 0 1rem;
}

.bp-post-body h3 {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: #101214;
  margin: 2rem 0 .9rem;
}

.bp-post-body ul {
  margin: 0 0 1.4rem;
  padding-left: 1.3rem;
}

.bp-post-body li {
  color: #5b6470;
  margin-bottom: .6rem;
  line-height: 1.7;
  font-size: 17px;
}

@media (max-width: 768px) {
  .bp-post-body,
  .bp-post-body p,
  .bp-post-body li {
    font-size: 15px;
  }
}

.bp-blockquote {
  border-left: 3px solid #D91C1C;
  background: #F3F5F7;
  border-radius: 0 8px 8px 0;
  padding: 1.4rem 1.7rem;
  margin: 2rem 0;
  font-size: 17px;
  font-style: italic;
  color: #101214;
}

.bp-callout {
  background: #F3F5F7;
  border: 1px solid #E3E6E9;
  border-radius: 8px;
  padding: 1.6rem 1.8rem;
  margin: 2.2rem 0;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.bp-callout i {
  color: #D91C1C;
  font-size: 22px;
  flex-shrink: 0;
  margin-top: .1rem;
}

.bp-callout p {
  margin: 0 !important;
  font-size: 15px !important;
}

.bp-post-share {
  display: flex;
  align-items: center;
  gap: .8rem;
  max-width: 760px;
  margin: 2.5rem auto;
  padding: 1.3rem 0;
  border-top: 1px solid #E3E6E9;
  border-bottom: 1px solid #E3E6E9;
}

.bp-post-share span {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #5b6470;
}

.bp-post-share a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F3F5F7;
  border: 1px solid #E3E6E9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #101214;
  text-decoration: none;
  transition: .2s;
}

.bp-post-share a:hover {
  background: #D91C1C;
  border-color: #D91C1C;
  color: #fff;
}

.bp-post-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #F3F5F7;
  border: 1px solid #E3E6E9;
  border-radius: 8px;
  padding: 1.4rem 1.6rem;
  max-width: 760px;
  margin: 0 auto 1rem;
}

.bp-post-author__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #D91C1C;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #fff;
  font-size: 17px;
  flex-shrink: 0;
}

.bp-post-author strong {
  display: block;
  font-size: 15px;
  color: #101214;
}

.bp-post-author span {
  font-size: 15px;
  color: #5b6470;
}
