
/* ==========================================================================
   Rule 6: Page Banner & Breadcrumb Styles
   ========================================================================== */

.page-banner {
  position: relative;
  padding: 85px 0 75px;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 60%, #312e81 100%);
  color: #ffffff;
  overflow: hidden;
  text-align: center;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.35) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-banner::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-banner .container {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.banner-breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 20px;
}

.banner-breadcrumb a {
  color: #cbd5e1;
  transition: var(--transition);
}

.banner-breadcrumb a:hover {
  color: var(--secondary);
}

.banner-breadcrumb span {
  color: #94a3b8;
}

.banner-breadcrumb .current {
  color: var(--white);
  font-weight: 700;
}

.page-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.page-subtitle {
  font-size: 1.1rem;
  color: #cbd5e1;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .page-banner {
    padding: 60px 0 50px;
  }

  .page-title {
    font-size: 2.1rem;
  }

  .page-subtitle {
    font-size: 0.98rem;
  }
}


/* ==========================================================================
   Page News Detail Custom Styles (Including Article Meta Bar)
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.news-detail-section {
  padding: 80px 0 100px;
  background: var(--light);
}

.news-detail-container {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: flex-start;
}

/* Main Article */
.article-main {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

/* Article Meta Bar (Dedicated Styling) */
.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.meta-item-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--light);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.meta-item-pill i {
  color: var(--brand);
}

.post-date i {
  color: var(--secondary);
}

.post-author i {
  color: var(--brand);
}

.post-category i {
  color: #f59e0b;
}

.post-reading-time i {
  color: var(--success);
}

/* Hero Image */
.article-hero-wrap {
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 420px;
  margin-bottom: 35px;
}

.article-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content Typography */
.article-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #334155;
}

.lead-paragraph {
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.7;
  color: var(--primary);
  margin-bottom: 25px;
}

.article-content h2 {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary);
  margin: 36px 0 16px;
  letter-spacing: -0.5px;
}

.article-content p {
  margin-bottom: 20px;
}

.article-quote {
  margin: 30px 0;
  padding: 24px 30px;
  background: var(--brand-light);
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  font-weight: 600;
  color: var(--primary);
  font-size: 1.1rem;
  line-height: 1.7;
}

.article-list {
  margin: 20px 0 25px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-list li {
  list-style: disc;
  line-height: 1.7;
}

.article-callout {
  display: flex;
  gap: 16px;
  background: #fefce8;
  border: 1px solid #fef08a;
  padding: 22px;
  border-radius: var(--radius-sm);
  margin: 30px 0;
}

.callout-icon {
  font-size: 1.5rem;
  color: #ca8a04;
  flex-shrink: 0;
}

.callout-text h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #854d0e;
  margin-bottom: 4px;
}

.callout-text p {
  font-size: 0.95rem;
  color: #713f12;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Article Footer Bar */
.article-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid var(--border-light);
}

.article-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tag-item {
  background: var(--light);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.82rem;
  color: var(--brand);
  font-weight: 600;
}

.tag-item:hover {
  background: var(--brand);
  color: var(--white);
}

.article-share {
  display: flex;
  align-items: center;
  gap: 10px;
}

.share-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.article-share a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--light);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.article-share a:hover {
  background: var(--brand);
  color: var(--white);
}

/* Sidebar Widgets */
.news-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}

.author-widget {
  text-align: center;
}

.sidebar-author-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 3px solid var(--brand-light);
}

.sidebar-author-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.sidebar-author-role {
  font-size: 0.82rem;
  color: var(--brand);
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
}

.sidebar-author-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.related-posts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.related-post-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.related-post-item img {
  width: 65px;
  height: 65px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.rp-info {
  display: flex;
  flex-direction: column;
}

.rp-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.rp-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
}

.related-post-item:hover .rp-title {
  color: var(--brand);
}

.cta-widget {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  color: var(--white);
}

.cta-widget-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.cta-widget-desc {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 18px;
}

@media (max-width: 1024px) {
  .news-detail-container {
    grid-template-columns: 1fr;
  }

  .news-sidebar {
    position: static;
  }

  .article-hero-wrap {
    height: 300px;
  }

  .article-main {
    padding: 26px 20px;
  }
}
