/* =========================
   BLOG / RESOURCES SECTION
========================= */

.rg-resource-section {
  padding: 90px 0 100px;
  background: #f5f7fb;
}

.rg-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.rg-resource-card {
  background: var(--glass);
  backdrop-filter: var(--blur);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}

.rg-resource-card::before {
  content: "";
  position: relative;
  z-index: 2;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.25));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.rg-resource-card:hover::before {
  opacity: 1;
}

.rg-resource-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.18);
}

.rg-resource-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--dark);
}

.rg-resource-card p {
  font-size: 15px;
  color: #2c3e60;
  line-height: 1.6;
  margin-bottom: 20px;
}

.rg-resource-link {
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.rg-resource-link:hover {
  color: #000;
}

/* =========================
   RESPONSIVE – RESOURCES
========================= */

@media (max-width: 1024px) {
  .rg-resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .rg-resource-section {
    padding: 70px 0;
  }

  .rg-resource-grid {
    grid-template-columns: 1fr;
  }

  .rg-resource-card {
    padding: 26px;
  }

  .rg-resource-card h3 {
    font-size: 18px;
  }

  .rg-resource-card p {
    font-size: 14px;
  }
}
