/* ==========================================
   ADDITIONAL PAGE-SPECIFIC STYLES
   ========================================== */

/* Industry Analysis Charts */
.chart-bar-wrap {
  margin-bottom: 20px;
}
.chart-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.chart-bar {
  height: 12px;
  background: var(--color-border);
  border-radius: 6px;
  overflow: hidden;
}
.chart-bar-fill {
  height: 100%;
  background: var(--color-accent);
  border-radius: 6px;
  transition: width 1.2s ease;
}

/* Expert Profile Cards */
.expert-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: all var(--transition);
}
.expert-card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
}
.expert-card-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top center;
}
.expert-card-body {
  padding: 24px 28px;
}
.expert-card-body .role {
  font-size: 12px;
  color: var(--color-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.expert-card-body h4 {
  font-size: 20px;
  margin-bottom: 10px;
}
.expert-card-body p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Case Study Cards */
.case-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}
.case-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.case-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.case-card-body h4 {
  font-size: 19px;
  margin-bottom: 10px;
}
.case-card-body p {
  font-size: 14px;
  color: var(--color-text-muted);
  flex: 1;
  margin-bottom: 16px;
}
.case-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.case-meta span {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 3px;
  background: #F0F3F4;
  color: var(--color-text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 46px;
  height: 46px;
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(26,188,156,0.4);
  transition: all var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}
.back-to-top:hover {
  transform: translateY(-3px);
  background: #16a085;
}

/* Notification bar */
.info-bar {
  background: #1a252f;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  padding: 10px 0;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.info-bar a {
  color: var(--color-accent);
}

/* Article meta row */
.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.article-meta-item {
  font-size: 13px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.article-meta-item strong {
  color: var(--color-primary);
}

/* Progress bar for reading */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--color-accent);
  z-index: 9999;
  transition: width 0.1s linear;
  width: 0%;
}

/* Sitemap styles */
.sitemap-category {
  margin-bottom: 48px;
}
.sitemap-category h3 {
  font-size: 20px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-accent);
  color: var(--color-primary);
}
.sitemap-links {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 24px;
}
.sitemap-links li a {
  font-size: 15px;
  color: var(--color-primary);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #f0f0f0;
  transition: all var(--transition);
}
.sitemap-links li a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}
.sitemap-links li a::before {
  content: '›';
  color: var(--color-accent);
  font-size: 18px;
  flex-shrink: 0;
}

/* Related articles section */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Image caption */
.img-caption {
  font-size: 13px;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}

/* Number list accent */
.num-list {
  list-style: none;
  padding: 0;
  counter-reset: num-counter;
}
.num-list li {
  counter-increment: num-counter;
  padding: 16px 0 16px 56px;
  position: relative;
  border-bottom: 1px solid var(--color-border);
  font-size: 16px;
  color: var(--color-primary);
}
.num-list li:last-child { border-bottom: none; }
.num-list li::before {
  content: counter(num-counter);
  position: absolute;
  left: 0;
  top: 14px;
  width: 36px;
  height: 36px;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  font-family: var(--font-heading);
}

/* Pull quote */
.pull-quote {
  font-family: var(--font-heading);
  font-size: 22px;
  font-style: italic;
  color: var(--color-accent);
  border-top: 3px solid var(--color-accent);
  border-bottom: 3px solid var(--color-accent);
  padding: 28px 0;
  margin: 40px 0;
  text-align: center;
  line-height: 1.5;
}

/* Key fact box */
.key-fact {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 28px 32px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.key-fact .kf-num {
  font-family: var(--font-heading);
  font-size: 42px;
  color: var(--color-accent);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}
.key-fact .kf-label {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
}

/* Responsive extras */
@media (max-width: 768px) {
  .related-grid { grid-template-columns: 1fr; }
  .sitemap-links { grid-template-columns: 1fr; }
  .search-bar { flex-direction: column; }
  .search-bar .form-control { border-radius: var(--radius); border-right: 1px solid var(--color-border); }
  .search-bar .btn { border-radius: var(--radius); width: 100%; }
  .full-banner img { height: 260px; }
  .full-banner .banner-content h2 { font-size: 28px; }
}
