.blog-section {
  background: #ffffff;
  padding: 80px 24px;
  text-align: center;
}

.blog-title {
  font-family: "Raleway"!important;
  font-weight: 700;
  font-style: normal;
  font-size: 48px;
  /* Heading 1 */
  line-height: 100%;
  letter-spacing: -1%;
  text-transform: uppercase;
  color: #0d0a00;
  margin-bottom: 24px;
}

.blog-subtitle {
  font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif !important;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  /* Text Medium */
  line-height: 150%;
  letter-spacing: 0%;
  color: #0d0a00;
  max-width: 720px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .blog-section {
    padding: 80px 20px;
  }

  .blog-title {
    font-size: 32px;
  }
}

/* Blog filter nav */
.blog-filter {
  max-width: 1200px;
  margin: 48px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
}

.blog-filter-left {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.filter {
  background: #f2f2f2;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-family: Century Gothic, sans-serif;
  font-size: 14px;
  cursor: pointer;
}

.filter.active {
  background: #eaeaea;
  font-weight: 600;
}

.blog-filter-right {
  display: flex;
  gap: 24px;
  align-items: center;
  font-family: Century Gothic, sans-serif;
  font-size: 14px;
}

.search {
  background: #f2f2f2;
  border-radius: 20px;
  padding: 8px 16px;
}

/* Blog cards */
.blog-cards {
  max-width: 1400px;
  margin: 0 auto 120px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.blog-card {
  box-shadow: 0px 0.95px 1.9px 0px #00000040;
  border-radius: 26.26px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.blog-card-top {
  background: #fefefe;
  padding: 20px 20px 16px;
}

.blog-card-title {
  font-family:"Raleway", sans-serif !important;
  font-weight: 700;
  font-size: 18px;
  line-height: 120%;
  margin-bottom: 12px;
  color: #0d0a00;
}

.blog-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  font-family: Century Gothic, sans-serif;
  font-size: 12px;
  color: #6b6b6b;
}

.blog-card-bottom {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  background: #f8f8f8;
  align-items: stretch;
}

.blog-card-bottom img {
  width: 317.7px;
  height: 227.5px;
  object-fit: cover;
  border-top-left-radius: 26.26px;
  border-top-right-radius: 26.26px;
}

.blog-description {
  background: #f8f8f8;
  padding: 20px;
}

.blog-description p {
  font-family: Century Gothic, sans-serif;
  font-size: 14px;
  line-height: 150%;
  color: #0d0a00;
}

@media (max-width: 1200px) {
  .blog-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-cards {
    grid-template-columns: 1fr;
  }

  .blog-card-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .blog-filter {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .blog-content {
    grid-template-columns: 1fr;
  }

  .blog-meta {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.blog-cta {
  display: flex;
  justify-content: center;
  margin: 40px 0 120px;
}

.blog-cta-btn {
  background: #faf9f6;
  border: none;
  border-radius: 30px;
  padding: 16px 36px;
  font-family: Raleway, sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #0d0a00;
  box-shadow: 0px 1px 2px 0px #00000040;
  cursor: pointer;
}

.blog-cta-btn:hover {
  transform: translateY(-1px);
}

.blog-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-card {
  position: relative;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.blog-card::after {
  content: "View article →";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  border-radius: 12px;
}

.blog-card:hover::after {
  opacity: 1;
}

.blog-card.is-clicked {
  transform: scale(0.97);
}
