.blog-feature {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 24px;
  align-items: stretch;
}

.featured-post {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: 34px;
  color: var(--white);
  box-shadow: 0 28px 80px rgba(26, 26, 26, 0.16);
}

.featured-post img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-post:hover img {
  transform: scale(1.08);
}

.featured-post::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 26, 26, 0.1), rgba(26, 26, 26, 0.82)),
    radial-gradient(circle at 15% 20%, rgba(244, 123, 32, 0.36), transparent 26%);
}

.featured-content {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 38px;
}

.blog-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.16);
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.featured-content h2 {
  max-width: 620px;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.featured-content p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  margin-bottom: 22px;
}

.blog-side {
  display: grid;
  gap: 18px;
}

.side-post {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(244, 123, 32, 0.1);
  box-shadow: 0 16px 42px rgba(26, 26, 26, 0.06);
  transform: perspective(850px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.28s ease, box-shadow 0.35s ease;
}

.side-post:hover,
.side-post.is-tilting {
  box-shadow: 0 28px 70px rgba(212, 105, 26, 0.15);
}

.side-post span {
  display: inline-flex;
  color: var(--orange);
  font-weight: 900;
  font-size: 0.78rem;
  margin-bottom: 12px;
}

.side-post h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.side-post p {
  color: var(--gray);
  line-height: 1.65;
}

.blog-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 34px;
}

.blog-filter span {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  background: rgba(244, 123, 32, 0.1);
  color: var(--dark);
  font-weight: 850;
}

.blog-filter span:first-child {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(244, 123, 32, 0.25);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.post-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(244, 123, 32, 0.1);
  box-shadow: 0 18px 48px rgba(26, 26, 26, 0.07);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.28s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.post-card:hover,
.post-card.is-tilting {
  border-color: rgba(244, 123, 32, 0.28);
  box-shadow: 0 30px 74px rgba(212, 105, 26, 0.16);
}

.post-image {
  height: 220px;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-card:hover .post-image img {
  transform: scale(1.08);
}

.post-body {
  padding: 24px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.post-body h3 {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  line-height: 1.22;
  margin-bottom: 10px;
}

.post-body p {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 18px;
}

.post-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-weight: 900;
}

.post-link::after {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: var(--radius-full);
  background: currentColor;
  transition: width 0.3s ease;
}

.post-link:hover::after {
  width: 44px;
}

.blog-newsletter {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: 46px;
  background:
    radial-gradient(circle at 92% 18%, rgba(255, 255, 255, 0.2), transparent 24%),
    linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  box-shadow: 0 26px 76px rgba(212, 105, 26, 0.22);
}

.blog-newsletter h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.08;
  margin-bottom: 12px;
}

.blog-newsletter p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.75;
  margin-bottom: 24px;
}

.newsletter-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  max-width: 680px;
}

.newsletter-row input {
  width: 100%;
  border: 0;
  border-radius: var(--radius-full);
  padding: 16px 18px;
  font: inherit;
  color: var(--dark);
}

@media (max-width: 1100px) {
  .blog-feature,
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .featured-post {
    min-height: 440px;
  }
}

@media (max-width: 720px) {
  .blog-feature,
  .blog-grid,
  .newsletter-row {
    grid-template-columns: 1fr;
  }

  .featured-content,
  .blog-newsletter {
    padding: 28px;
  }
}
