/* ===================================
=========== Tierlists.css ============
=================================== */

/* ── Page hero (matches site-wide tdps-hero pattern) ── */
.tdps-hero {
  max-width: 2000px;
  margin: 0 auto;
  padding: 1rem 1rem 0;
}

.tdps-hero__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem 2.5rem;
  border-radius: 20px;
  background:
    radial-gradient(circle at top left, rgba(184, 68, 74, 0.13), transparent 55%),
    linear-gradient(160deg, var(--aw-bg-3, #1a1a1f) 0%, var(--aw-bg-2, #141417) 100%);
  border: 1px solid rgba(184, 68, 74, 0.18);
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(184, 68, 74, 0.08) inset;
}

.tdps-hero__inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--aw-accent, #b8444a) 35%, #c84b52 65%, transparent 100%);
}

.tdps-hero__left {
  flex: 1;
  min-width: 0;
}

.tdps-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--aw-accent, #b8444a);
}

.tdps-hero__kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aw-accent, #b8444a);
  box-shadow: 0 0 10px rgba(184, 68, 74, 0.75);
  animation: tdps-pulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes tdps-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.65); }
}

.tdps-hero__title {
  margin: 0 0 0.85rem 0;
  font-family: var(--aw-font-display, 'Playfair Display', serif);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--aw-ink, #f4ede4);
  letter-spacing: -0.02em;
}

.tdps-hero__desc {
  margin: 0;
  font-size: 0.975rem;
  line-height: 1.75;
  color: var(--aw-ink-dim, #cdc6bd);
  max-width: none;
  width: 100%;
}

@media (max-width: 600px) {
  .tdps-hero { padding: 0.75rem 0.75rem 0; }
  .tdps-hero__inner { padding: 1.5rem 1.25rem; }
}

/* ── Root variables ── */
.tlhub-root {
  --tlhub-bg-base:          var(--aw-bg, #0e0e10);
  --tlhub-bg-surface:       var(--aw-bg-2, #141417);
  --tlhub-bg-surface-alt:   var(--aw-bg-3, #1a1a1f);
  --tlhub-border-subtle:    var(--aw-line, rgba(244, 237, 228, 0.08));
  --tlhub-text-primary:     var(--aw-ink, #f4ede4);
  --tlhub-text-secondary:   var(--aw-ink-dim, #cdc6bd);
  --tlhub-text-dim:         var(--aw-ink-mute, #908a82);
  --tlhub-radius-md:        14px;
  --tlhub-radius-lg:        22px;
  --tlhub-accent-primary:   var(--aw-accent, #b8444a);
  --tlhub-accent-secondary: var(--aw-accent-soft, #d97078);
  color: var(--tlhub-text-primary);
  font-family: var(--aw-font-en, 'Inter Tight', system-ui, sans-serif);
}

@keyframes tlhub-fade-in-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes tlhub-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes tlhub-scale-in {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

.tlhub-container {
  max-width: 2000px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===================================
      Main + Sections
=================================== */

/* ===================================
      Main + Sections
=================================== */

.tlhub-section {
  padding: 3.5rem 0;
}

.tlhub-section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.6rem;
  max-width: 760px;
}

.tlhub-section-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tlhub-accent-secondary);
}

.tlhub-section-title {
  font-family: var(--aw-font-display, 'Playfair Display', serif);
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 700;
  color: var(--tlhub-text-primary);
  margin: 0;
}

.tlhub-section-description {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--tlhub-text-secondary);
}

/* ===================================
      Cards Grid
=================================== */

.tlhub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.35rem;
}

.tlhub-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, var(--aw-bg-3, #1a1a1f) 0%, var(--aw-bg-2, #141417) 100%);
  border-radius: var(--tlhub-radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(184, 68, 74, 0.14);
  position: relative;
  animation: tlhub-fade-in-up 0.6s ease-out backwards;
  height: 100%;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.tlhub-card:nth-child(1) { animation-delay: 0.10s; }
.tlhub-card:nth-child(2) { animation-delay: 0.18s; }
.tlhub-card:nth-child(3) { animation-delay: 0.26s; }
.tlhub-card:nth-child(4) { animation-delay: 0.34s; }
.tlhub-card:nth-child(5) { animation-delay: 0.42s; }
.tlhub-card:nth-child(6) { animation-delay: 0.50s; }

.tlhub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.32);
  border-color: var(--tlhub-accent-primary);
}

.tlhub-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 68, 74, 0.55), transparent);
  opacity: 0.7;
}

.tlhub-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 54%;
  overflow: hidden;
  background: var(--tlhub-bg-surface-alt);
}

.tlhub-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(7,10,14,0.05) 0%, rgba(7,10,14,0.24) 45%, rgba(7,10,14,0.72) 100%);
  z-index: 1;
  transition: opacity 0.3s ease;
  opacity: 1;
}

.tlhub-card:hover .tlhub-image-wrapper::after {
  opacity: 0.38;
}

.tlhub-image-wrapper img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.88) saturate(0.82);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.tlhub-card:hover .tlhub-image-wrapper img {
  transform: scale(1.05);
  filter: brightness(1.08) saturate(1.02);
}

.tlhub-info-panel {
  padding: 1rem 1rem 1.1rem;
  background: linear-gradient(180deg, rgba(26, 26, 31, 0.96), rgba(20, 20, 23, 1));
  text-align: left;
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative;
  z-index: 2;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.tlhub-card-meta {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--tlhub-accent-secondary);
}

.tlhub-title-ar {
  font-family: var(--aw-font-ar, 'Tajawal', sans-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--tlhub-text-primary);
  margin: 0;
  direction: rtl;
  transition: color 0.3s ease;
}

.tlhub-card:hover .tlhub-title-ar {
  color: var(--tlhub-accent-secondary);
}

.tlhub-title-en {
  font-family: var(--aw-font-en, 'Inter Tight', sans-serif);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--tlhub-text-dim);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.3s ease;
}

.tlhub-card:hover .tlhub-title-en {
  color: var(--tlhub-text-primary);
}

.tlhub-description {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--tlhub-text-secondary);
  flex-grow: 1;
}

.tlhub-footer {
  margin-top: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--tlhub-accent-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===================================
      Responsive
=================================== */

@media (max-width: 600px) {
  .tlhub-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tlhub-container {
    padding: 0 1rem;
  }

  .tlhub-hero {
    min-height: auto;
    padding: 2.2rem 0 1.8rem;
  }

  .tlhub-section {
    padding: 2.5rem 0;
  }

  .tlhub-section-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .tlhub-info-panel {
    padding: 0.9rem;
  }
}
