/* ========================================
   Featured Sections (MetaDNS + Academy)
   ======================================== */

.featured {
  padding: 80px 0;
}

.featured-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
}

.featured-block:first-child {
  margin-bottom: 100px;
}

/* --- Image --- */
.featured-img img {
  width: 100%;
  border-radius: var(--radius);
  transition: transform var(--transition);
}

.featured-block:hover .featured-img img {
  transform: scale(1.03);
}

/* --- Text --- */
.featured-text .section-label {
  margin-bottom: 12px;
}

.featured-text h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 16px;
}

.featured-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 24px;
}

/* --- Tags --- */
.featured-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.featured-tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(255, 107, 43, 0.08);
  color: var(--primary);
  border: 1px solid rgba(255, 107, 43, 0.15);
}

/* --- Reverse block --- */
.featured-block.reverse {
  direction: ltr;
}

.featured-block.reverse .featured-text {
  direction: rtl;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .featured-block {
    grid-template-columns: 1fr;
    padding: 32px;
  }

  .featured-block.reverse {
    direction: rtl;
  }

  .featured-img {
    order: -1;
  }
}
