/* ============================
   Homepage Insights / Blogs Section
   Layout reference: large featured card + 2x2 secondary grid
   ============================ */

.homeblogs-auto-section {
  position: relative;
  display: flex;
  background-color: #fff;
}

.homeblogs-auto-main {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.homeblogs-auto-header {
  max-width: 720px;
  margin-bottom: 48px;
}

.homeblogs-auto-header h4 {
  color: #f0493e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.homeblogs-auto-header h2 {
  font-size: 40px;
  line-height: 1.15;
  color: #1a1a1a;
}

.homeblogs-auto-header p {
  color: #555;
  font-size: 16px;
  max-width: 560px;
}

/* Category pills */
.homeblogs-auto-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.homeblogs-auto-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border: 1px solid #dcdcdc;
  border-radius: 999px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  background: #fff;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.homeblogs-auto-pill:hover {
  background: #f0493e;
  color: #fff;
  border-color: #f0493e;
}

/* Grid: featured (left) + 2x2 secondary (right) */
.homeblogs-auto-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: stretch;
}

/* Featured card */
.homeblogs-auto-featured {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fafafa;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.homeblogs-auto-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.homeblogs-auto-featured-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eaeaea;
}

.homeblogs-auto-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.homeblogs-auto-featured-content {
  padding: 28px 32px 32px;
}

.homeblogs-auto-featured-content h3 {
  font-size: 28px;
  color: #1a1a1a;
}

/* Secondary 2x2 grid */
.homeblogs-auto-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.homeblogs-auto-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fafafa;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.homeblogs-auto-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
}

.homeblogs-auto-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eaeaea;
}

.homeblogs-auto-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.homeblogs-auto-card-content {
  padding: 16px 18px 20px;
}

.homeblogs-auto-card-content h4 {
  color: #1a1a1a;
  font-weight: 600;
}

/* Category eyebrow */
.homeblogs-auto-category {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #f0493e, #941209);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Responsive */
@media (max-width: 1024px) {
  .homeblogs-auto-grid {
    grid-template-columns: 1fr;
  }
  .homeblogs-auto-secondary {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .homeblogs-auto-header h2 {
    font-size: 28px;
  }
  .homeblogs-auto-secondary {
    grid-template-columns: 1fr;
  }
  .homeblogs-auto-featured-content {
    padding: 20px;
  }
  .homeblogs-auto-featured-content h3 {
    font-size: 22px;
  }
}
