/* ============================================================
   Astra Child - Blog / Content Hub Base
   Clean neutral foundation. Orange variant loads after this.
   ============================================================ */

.faq-answer .iq-form {
  display: block !important;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-top: 16px;
  padding: 16px;
}

.content-hub {
  background: #ffffff;
  color: #1e293b;
  padding-bottom: 72px;
}

.hub-shell {
  margin: auto;
  width: min(1180px, calc(100% - 40px));
}

.hub-hero {
  background: linear-gradient(135deg, rgba(7, 17, 30, 0.92) 0%, rgba(10, 25, 47, 0.86) 100%), url('/site2/wp-content/plugins/insurance-site-builder/assets/images/hero-highway.jpg') center/cover no-repeat;
  color: #ffffff;
  padding: 80px 0 76px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.hub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 200, 83, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hub-hero-compact {
  padding: 56px 0 48px;
}

.hub-kicker {
  color: #10B981;
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hub-hero .hub-kicker {
  background: rgba(16, 185, 129, 0.15);
  color: #00E676;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 12px;
  border-radius: 99px;
}

.hub-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 16px;
  max-width: 720px;
  color: #ffffff !important;
  font-weight: 800;
}

.hub-hero p {
  color: #cbd5e1;
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
  max-width: 600px;
}

.hub-stats {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hub-stats div {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  min-width: 140px;
  padding: 14px 24px;
}

.hub-stats div:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  padding-left: 24px;
}

.hub-stats strong {
  color: #00E676;
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hub-stats span {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hub-layout {
  align-items: start;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 1fr) 280px;
  padding-top: 52px;
}

.hub-section-title {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

.hub-section-title h2 {
  color: #0f172a;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 6px 0 0;
}

.hub-result-count {
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
}

.article-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.article-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.article-card-link {
  color: inherit;
  display: block;
  height: 100%;
  text-decoration: none;
}

.article-card-art {
  aspect-ratio: 16 / 9;
  background: #f1f5f9;
  display: block;
  overflow: hidden;
  position: relative;
}

.article-card-art img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
  transition: transform 0.4s ease;
}

.article-card:hover .article-card-art img {
  transform: scale(1.04);
}

.article-card-art-placeholder {
  align-items: center;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  color: #64748b;
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.article-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #10B981;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.article-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 12.5px;
  font-weight: 500;
  margin-bottom: 10px;
}

.meta-dot {
  color: #cbd5e1;
}

.article-label {
  color: #1E3A5F;
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.article-card h3 {
  color: #0f172a;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
  margin: 0 0 10px;
  transition: color 0.2s ease;
}

.article-card:hover h3 {
  color: #1E3A5F;
}

.article-card p {
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 16px;
}

.article-card-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.article-more {
  color: #10B981;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  gap: 6px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.article-more b {
  font-size: 16px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.article-card:hover .article-more {
  gap: 10px;
  color: #0E9F6E;
}

.article-card:hover .article-more b {
  transform: translateX(3px);
}


/* Sidebar */
.sidebar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.sidebar-card h2 {
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sidebar-categories {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-categories li {
  margin-bottom: 4px;
}

.sidebar-categories a {
  color: #334155;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

.sidebar-categories a:hover {
  background: #F4F7FB;
  color: #1E3A5F;
}

.sidebar-categories b {
  background: #F4F7FB;
  border-radius: 20px;
  color: #14263F;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
}

.sidebar-summary {
  background: #0f172a;
  border-radius: 10px;
  color: #fff;
  padding: 22px;
  text-align: center;
}

.sidebar-summary strong {
  color: #10B981;
  display: block;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}

.sidebar-summary span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 500;
}

.sidebar-icon {
  background: rgba(16, 185, 129, 0.12);
  border-radius: 50%;
  color: #10B981;
  display: inline-flex;
  align-items: center;
  font-size: 18px;
  height: 40px;
  justify-content: center;
  margin-bottom: 12px;
  width: 40px;
}

/* FAQ */
.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-item summary {
  color: #0f172a;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  padding: 14px 16px;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary i {
  background: #F4F7FB;
  border-radius: 50%;
  color: #1E3A5F;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  height: 22px;
  justify-content: center;
  width: 22px;
}

.faq-answer {
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
  padding: 0 16px 16px 48px;
}

/* Pagination */
.hub-pagination {
  margin-top: 44px;
  text-align: center;
}

.hub-pagination .page-numbers {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #334155;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 15px;
  text-decoration: none;
  transition: all 0.2s ease;
  margin: 0 3px 8px;
  min-width: 40px;
  justify-content: center;
}

.hub-pagination .page-numbers:hover {
  border-color: #1E3A5F;
  color: #1E3A5F;
}

.hub-pagination .current {
  background: #1E3A5F;
  border-color: #1E3A5F;
  color: #fff;
  font-weight: 700;
}

.hub-pagination .prev,
.hub-pagination .next {
  padding: 9px 14px;
  font-weight: 600;
}

.hub-empty {
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  color: #64748b;
  padding: 48px;
  text-align: center;
}

/* ============================================================
   EDITORIAL MAGAZINE LIST LAYOUT (Replacing Card Grid View)
   ============================================================ */
.editorial-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Featured Top Guide Banner */
.editorial-featured {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.editorial-featured:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  border-color: #cbd5e1;
}

.editorial-featured-link {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  text-decoration: none;
  color: inherit;
}

.editorial-featured-art {
  position: relative;
  min-height: 280px;
  background: #f1f5f9;
  overflow: hidden;
}

.editorial-featured-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.editorial-featured:hover .editorial-featured-art img {
  transform: scale(1.04);
}

.editorial-featured-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #10B981;
  color: #0b1329;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 99px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.editorial-featured-body {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.editorial-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 12px;
}

.editorial-cat {
  color: #1E3A5F;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.editorial-featured-body h2 {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
}

.editorial-featured:hover .editorial-featured-body h2 {
  color: #1E3A5F;
}

.editorial-featured-body p {
  color: #475569;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 20px;
}

.editorial-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #10B981;
  font-size: 14px;
  font-weight: 700;
  transition: gap 0.2s ease;
}

.editorial-featured:hover .editorial-read-btn {
  gap: 10px;
  color: #0E9F6E;
}

/* Editorial List Rows */
.editorial-row {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.editorial-row:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  background: #f8fafc;
}

.editorial-row-link {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  text-decoration: none;
  color: inherit;
  padding: 20px;
  align-items: center;
}

.editorial-row-art {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
  position: relative;
}

.editorial-row-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.editorial-row:hover .editorial-row-art img {
  transform: scale(1.05);
}

.editorial-row-body {
  display: flex;
  flex-direction: column;
}

.editorial-row-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin: 4px 0 8px;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.editorial-row:hover .editorial-row-body h3 {
  color: #1E3A5F;
}

.editorial-row-body p {
  color: #475569;
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 12px;
}

.editorial-row-more {
  color: #10B981;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.editorial-row-more b {
  transition: transform 0.2s ease;
}

.editorial-row:hover .editorial-row-more {
  gap: 8px;
  color: #0E9F6E;
}

.editorial-row:hover .editorial-row-more b {
  transform: translateX(3px);
}

/* Responsive Editorial Layout */
@media (max-width: 768px) {
  .editorial-featured-link {
    grid-template-columns: 1fr;
  }
  .editorial-featured-body {
    padding: 24px 20px;
  }
  .editorial-row-link {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}


/* Responsive */
@media (max-width: 768px) {
  .hub-hero {
    padding: 48px 0 40px;
  }

  .hub-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .hub-stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .hub-stats div {
    border-left: 0;
    border-top: 1px solid #e2e8f0;
    min-width: auto;
    padding: 10px 0 0;
  }

  .hub-stats div:first-child {
    border-top: 0;
    padding-top: 0;
  }
}
