/* Islamic Resources — matches Bolton Pro list screen */

.ir-page {
  background: var(--cream, #f5f4f1);
  min-height: 60vh;
  padding-bottom: 48px;
}

.ir-hero {
  background: linear-gradient(135deg, var(--primary, #2d5a3d), var(--primary-dark, #1a3a2a));
  padding: 28px clamp(16px, 4vw, 28px) 24px;
  color: #fff;
}

.ir-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  margin: 0 0 6px;
  font-weight: 700;
}

.ir-hero p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.85;
  max-width: 520px;
  line-height: 1.5;
}

.ir-list {
  max-width: 640px;
  margin: 0 auto;
  padding: 16px clamp(12px, 3vw, 20px) 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ir-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--card, #fff);
  border-radius: var(--r-lg, 16px);
  border: 1px solid var(--border, #e8e6e1);
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.04));
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
}

.ir-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md, 0 6px 20px rgba(0, 0, 0, 0.08));
}

.ir-tile-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.ir-tile-icon.green { background: rgba(45, 90, 61, 0.1); }
.ir-tile-icon.gold { background: rgba(201, 168, 76, 0.15); }

.ir-tile-label {
  flex: 1;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark, #1a1a1a);
}

.ir-tile-chevron {
  color: var(--text-light, #999);
  font-size: 1.1rem;
}

.ir-tile.soon {
  opacity: 0.72;
  cursor: default;
  pointer-events: none;
}

.ir-tile.soon .ir-tile-chevron {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

body.dark-mode .ir-page { background: var(--bg-dark, #0f1412); }
body.dark-mode .ir-tile {
  background: #161f1a;
  border-color: #27352d;
}
body.dark-mode .ir-tile-label { color: #f0f0f0; }

@media (max-width: 480px) {
  .ir-tile { padding: 12px 14px; }
  .ir-tile-icon { width: 40px; height: 40px; font-size: 1.2rem; }
}
