/* ==========================================================================
   DASH INTERNATIONAL — INSIGHTS HUB PAGE STYLES (LIGHT THEME)
   All 6 Articles Index & Category Filters
   ========================================================================== */

.insightshub-page-root {
  min-height: 100vh;
  /* Dark band behind the transparent fixed header, light page below */
  background: linear-gradient(to bottom, var(--dash-navy-950, #070e1a) 0, var(--dash-navy-950, #070e1a) 5.5rem, #f8fafc 5.5rem);
  color: var(--dash-navy-900, #0f172a);
  padding-top: 5.5rem;
}

/* --------------------------------------------------------------------------
   01. Hero Banner (Atmospheric Top Navy Banner with Search Controls)
   -------------------------------------------------------------------------- */
.insightshub-hero {
  position: relative;
  padding: clamp(3.5rem, 3rem + 2vw, 5.5rem) 0 3.5rem;
  background: radial-gradient(circle at 50% 15%, rgba(16, 38, 68, 0.96), rgba(7, 14, 26, 0.98));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  text-align: center;
  color: #ffffff;
}

.insightshub-hero-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 460px;
  background: radial-gradient(circle, rgba(0, 168, 107, 0.22) 0%, rgba(56, 189, 248, 0.1) 45%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.insightshub-title {
  font-family: var(--font-display, inherit);
  font-size: clamp(2.2rem, 1.8rem + 2vw, 3.6rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.insightshub-subtitle {
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.25rem);
  color: var(--dash-slate-300, #cbd5e1);
  line-height: 1.68;
  max-width: 820px;
  margin: 0 auto 2.5rem;
}

/* Search and Filters Bar */
.insightshub-controls {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.insightshub-search-wrap {
  position: relative;
  width: 100%;
}

.insightshub-search-input {
  width: 100%;
  padding: 1rem 1.25rem 1rem 3.25rem;
  background: rgba(11, 25, 44, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill, 9999px);
  color: #ffffff;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

[dir="rtl"] .insightshub-search-input {
  padding: 1rem 3.25rem 1rem 1.25rem;
}

.insightshub-search-input:focus {
  outline: none;
  border-color: #00a86b;
  box-shadow: 0 0 0 3px rgba(0, 168, 107, 0.3);
  background: rgba(16, 38, 68, 0.95);
}

.insightshub-search-icon {
  position: absolute;
  top: 50%;
  left: 1.25rem;
  transform: translateY(-50%);
  color: var(--dash-slate-400, #94a3b8);
  pointer-events: none;
}

[dir="rtl"] .insightshub-search-icon {
  left: auto;
  right: 1.25rem;
}

.insightshub-filter-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.insightshub-pill {
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill, 9999px);
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--dash-slate-300, #cbd5e1);
  cursor: pointer;
  transition: all 0.2s ease;
}

.insightshub-pill:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.insightshub-pill.active {
  background: #00a86b;
  border-color: #00a86b;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 168, 107, 0.35);
}

/* --------------------------------------------------------------------------
   02. Articles Grid Section (LIGHT THEME)
   -------------------------------------------------------------------------- */
.insightshub-grid-section {
  padding: 4.5rem 0 6rem;
  background-color: #f8fafc;
}

.insightshub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Article Card in Hub (LIGHT THEME) */
.insightshub-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl, 1rem);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.insightshub-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 168, 107, 0.4);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08), 0 0 20px rgba(0, 168, 107, 0.06);
}

.insightshub-card-imgwrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.insightshub-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.insightshub-card:hover .insightshub-card-img {
  transform: scale(1.06);
}

.insightshub-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(7, 14, 26, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #34d399;
  border: 1px solid rgba(0, 168, 107, 0.35);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill, 9999px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

[dir="rtl"] .insightshub-card-badge {
  left: auto;
  right: 1rem;
}

.insightshub-card-body {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.insightshub-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.insightshub-card-title {
  font-family: var(--font-display, inherit);
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.insightshub-card-excerpt {
  font-size: 0.925rem;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.insightshub-card-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.insightshub-card-tag {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  font-size: 0.725rem;
  font-weight: 600;
  color: #64748b;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.insightshub-card-footer {
  padding-top: 1.25rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.insightshub-read-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #008755;
  font-weight: 800;
  font-size: 0.875rem;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.insightshub-read-link:hover {
  color: #00a86b;
  gap: 0.65rem;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .insightshub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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