





/* =========================
   GUIDES & RESOURCES HUB
   Scoped – Safe for MRP
========================= */

.gr-hub {
  padding: 60px 20px;
  background: #ffffff;
}

.gr-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* CARDS */

.gr-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 36px 32px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

/* TEXT */

.gr-card h3 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 14px;
  color: #0f172a;
}

.gr-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 26px;
}

/* BUTTON – DEFAULT (WHITE) */

.gr-btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;

  background: #ffffff;
  color: #1e293b;
  border: 1px solid #cbd5e1;

  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;

  cursor: pointer;

  /* MOBILE TAP OPTIMIZATION */
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* HOVER – DESKTOP */

@media (hover: hover) {
  .gr-btn:hover {
    background: #1e293b;
    color: #ffffff;
    border-color: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
  }
}

/* ACTIVE STATE – MOBILE (CLASS-BASED FIX) */

.gr-btn.is-active {
  background: #1e293b;
  color: #ffffff;
  border-color: #1e293b;
}

/* MOBILE LAYOUT */

@media (max-width: 900px) {
  .gr-grid {
    grid-template-columns: 1fr;
  }

  .gr-card {
    padding: 28px 24px;
  }

  .gr-btn {
    width: 100%;
    text-align: center;
  }
}

/* MOBILE HERO IMAGE FIX */

@media (max-width: 768px) {
  .gr-hero img {
    height: 280px !important;
    object-position: center center;
  }
}