/* ==========================================================
   ARTICLE HERO
   File: article-hero.css
========================================================== */

.tpc-article-hero {
  position: relative;

  overflow: hidden;
  margin: 20px;
  margin-top: 70px;

  padding: 70px;

  border-radius: 36px;

  background: linear-gradient(135deg, #14532d 0%, #166534 45%, #15803d 100%);

  isolation: isolate;
}

/* ==========================================
   BACKGROUND SHAPES
========================================== */

.tpc-hero-bg-shape {
  position: absolute;

  border-radius: 50%;

  filter: blur(80px);

  opacity: 0.18;

  z-index: -1;
}

.tpc-shape-1 {
  width: 420px;

  height: 420px;

  background: #22c55e;

  top: -150px;

  left: -120px;
}

.tpc-shape-2 {
  width: 320px;

  height: 320px;

  background: #86efac;

  bottom: -100px;

  right: -80px;
}

/* ==========================================
   GRID
========================================== */

.tpc-hero-grid {
  display: grid;

  grid-template-columns: 46% 54%;

  gap: 55px;

  align-items: center;
}

/* ==========================================
   CONTENT
========================================== */

.tpc-hero-content {
  color: #fff;
}

.tpc-hero-title {
  margin: 24px 0;

  font-size: 58px;

  font-weight: 800;

  line-height: 1.05;

  letter-spacing: -2px;

  color: #fff;
}

.tpc-hero-excerpt {
  margin-bottom: 35px;

  font-size: 20px;

  line-height: 1.8;

  color: rgba(255, 255, 255, 0.92);

  max-width: 580px;
}

/* ==========================================
   CATEGORY PILLS
========================================== */

.tpc-hero-categories {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;
}

.tpc-category-pill {
  display: inline-flex;

  align-items: center;

  padding: 10px 18px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.12);

  border: 1px solid rgba(255, 255, 255, 0.15);

  backdrop-filter: blur(12px);

  color: #fff;

  text-decoration: none;

  font-size: 14px;

  font-weight: 700;

  transition: 0.25s;
}

.tpc-category-pill:hover {
  background: #fff;

  color: #166534;
}

/* ==========================================
   META
========================================== */

.tpc-hero-meta {
  display: flex;

  flex-wrap: wrap;

  gap: 18px;

  margin-bottom: 40px;
}

.tpc-meta-item {
  display: flex;

  align-items: center;

  gap: 10px;

  padding: 10px 16px;

  border-radius: 14px;

  background: rgba(255, 255, 255, 0.08);

  border: 1px solid rgba(255, 255, 255, 0.1);

  color: #fff;

  font-size: 15px;

  font-weight: 600;
}

.tpc-meta-icon {
  font-size: 16px;
}

/* ==========================================
   BUTTON
========================================== */

.tpc-hero-actions {
  margin-top: 20px;
}

.tpc-btn-light {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 16px 30px;

  border-radius: 16px;

  background: #fff;

  color: #166534;

  font-weight: 700;

  text-decoration: none;

  transition: 0.3s;

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
}

.tpc-btn-light:hover {
  transform: translateY(-3px);

  background: #f8fafc;
}

/* ==========================================
   IMAGE
========================================== */

.tpc-hero-image {
  position: relative;
}

.tpc-featured-image {
  width: 100%;

  height: 560px;

  object-fit: cover;

  display: block;

  border-radius: 28px;

  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);

  transition: 0.4s ease;
}

.tpc-featured-image:hover {
  transform: scale(1.02);
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1024px) {
  .tpc-article-hero {
    padding: 50px;
  }

  .tpc-hero-grid {
    grid-template-columns: 1fr;
  }

  .tpc-featured-image {
    height: 460px;
  }

  .tpc-hero-title {
    font-size: 46px;
  }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 768px) {
  .tpc-article-hero {
    padding: 24px;

    border-radius: 28px;

    margin-bottom: 50px;
  }

  .tpc-hero-grid {
    gap: 35px;
  }

  .tpc-hero-title {
    font-size: 32px;

    line-height: 1.15;

    letter-spacing: -1px;

    margin: 18px 0;
  }

  .tpc-hero-excerpt {
    font-size: 17px;
  }

  .tpc-hero-meta {
    flex-direction: column;

    gap: 12px;
  }

  .tpc-meta-item {
    width: 100%;
  }

  .tpc-btn-light {
    width: 100%;
  }

  .tpc-featured-image {
    height: 220px;

    object-fit: cover;
  }

  .tpc-hero-content {
    align-items: flex-start;
    text-align: left;
  }

  .tpc-hero-categories {
    justify-content: flex-start;
  }

  .tpc-hero-title {
    text-align: left;
  }

  .tpc-hero-excerpt {
    text-align: left;
  }

  .tpc-hero-meta {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .tpc-meta-item {
    width: 100%;
    justify-content: flex-start;
  }

  .tpc-hero-actions {
    width: 100%;
    justify-content: flex-start;
  }
}
