:root {
  --white: #ffffff;
  --muted: #a1a1a1;
  --border: #ffffff1f;
  --chip: #2b2b2b;
}
body {
  background: #010101;
  color: #fff;
  font-family: "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}
.container {
  width: 100%;
  margin: 0 auto;
  padding: 100px 80px;
}

/* =========================
       HERO SECTION
    ========================= */

.top-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 120px;
}

.heading {
  font-size: clamp(68px, 10vw, 120px);
  line-height: 0.9;
  font-weight: 500;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.right-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.subheading {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
  letter-spacing: -0.5px;
  max-width: 400px;
  font-weight: 400;
  text-align: right;
}

/* =========================
       SEARCH BAR
    ========================= */

.search-filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 80px 0;
}

.search-wrapper {
  position: relative;
  width: 25%;
}

.search-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 0 40px 16px 0;
  font-size: 18px;
  outline: none;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.search-btn {
  position: absolute;
  right: 0;
  top: -2px;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.7;
}

/* =========================
       FILTERS
    ========================= */

.filters {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 60%;
}

.filter-btn {
  background:
    linear-gradient(145deg, #7e7e7e 0%, #2b2b2b 75%) padding-box,
    linear-gradient(145deg, #e5e5e5, #9a9a9a, #4a4a4a) border-box;
  border: 1px solid transparent;
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  transition: 0.3s ease;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
  background:
    linear-gradient(145deg, #e5e5e5 0%, #9a9a9a 75%, #4a4a4a) padding-box,
    linear-gradient(145deg, #7e7e7e 0%, #2b2b2b 75%) border-box;
  color: #000000;
}

/* =========================
       BLOG GRID
    ========================= */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 40px;
  row-gap: 80px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  cursor: pointer;
}

.blog-image-wrapper {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background: #111;
}

.blog-image {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-image {
  transform: scale(1.04);
}

.hover-arrow {
  position: absolute;
  right: 18px;
  bottom: -70px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.hover-arrow svg {
  width: 18px;
  height: 18px;
  color: #000;
}

.blog-card:hover .hover-arrow {
  bottom: 18px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 16px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-title {
  font-size: 32px;
  font-weight: 400;
}

.blog-desc {
  color: #d4d4d4;
  font-size: 15px;
  line-height: 1.4;
  max-width: 95%;
}

/* =========================
       MOBILE RESPONSIVE
    ========================= */

@media (max-width: 1100px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .top-section {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 80px;
  }

  .right-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 80px 20px 80px;
  }

  .top-section {
    gap: 28px;
    margin-bottom: 48px;
  }

  .heading {
    font-size: 62px;
    letter-spacing: -0.5px;
  }

  .subheading {
    font-size: 24px;
    line-height: 1.1;
    text-align: left;
  }

  .search-wrapper {
    order: 1;
  }

  .search-input {
    font-size: 16px;
  }

  .filters {
    margin-bottom: 48px;
    order: 2;
    max-width: 100%;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    row-gap: 56px;
  }

  .blog-title {
    font-size: 28px;
  }

  .blog-image-wrapper {
    border-radius: 25px;
  }

  .hover-arrow {
    bottom: 18px;
    width: 42px;
    height: 42px;
  }

  .search-filter {
    flex-direction: column;
    gap: 50px;
    margin: 20px 0 30px 0;
  }
  .search-wrapper {
    width: 100%;
  }

  .meta-row {
    font-size: 14px;
  }

  .blog-desc {
    font-size: 14px;
  }
}