.ec-hero-magazine {
  background: #0a0d14;
  padding: 0;
}

.ec-hero-big {
  position: relative;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-color: #111827;
  display: flex;
  align-items: flex-end;
}

.ec-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,13,20,0.1) 0%,
    rgba(10,13,20,0.4) 40%,
    rgba(10,13,20,0.92) 100%
  );
  z-index: 1;
}

.ec-hero-big-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 40px 32px;
}

.ec-hero-big-content {
  max-width: 700px;
}

.ec-hero-big-title {
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  margin: 12px 0 16px;
}

.ec-hero-big-title a {
  color: #ffffff;
  text-decoration: none;
}

.ec-hero-big-title a:hover {
  color: var(--ec-accent-blue);
}

.ec-hero-big-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: #c8d0dc;
}

.ec-hero-big-meta .ec-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ec-hero-big-meta .ec-author img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.ec-hero-sub-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ec-border);
}

.ec-hero-sub-card {
  border-right: 0.5px solid var(--ec-border);
  overflow: hidden;
}

.ec-hero-sub-card:last-child { border-right: none; }

.ec-hero-sub-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.ec-hero-sub-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ec-hero-sub-card:hover .ec-hero-sub-img img {
  transform: scale(1.04);
}

.ec-hero-sub-img .ec-cat-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

.ec-hero-sub-body {
  padding: 14px 16px;
  background: #111827;
}

.ec-hero-sub-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 8px;
}

.ec-hero-sub-title a {
  color: var(--ec-text-body);
  text-decoration: none;
}

.ec-hero-sub-title a:hover { color: var(--ec-accent-blue); }

.ec-card-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: #8892a4;
}

@media (max-width: 767px) {
  .ec-hero-big { min-height: 300px; }
  .ec-hero-big-inner { padding: 24px 16px; }
  .ec-hero-sub-row { grid-template-columns: 1fr; }
  .ec-hero-sub-card { border-right: none; border-bottom: 0.5px solid var(--ec-border); }
}
