/* ==========================================================================
   INDONESIA CASINO PORTAL — RESOURCES / SHOW PAGES
   Article & category detail styling (Clean Light Theme)
   ========================================================================== */

.page-container {
  padding-top: calc(var(--header-height) + 1.5rem);
  min-height: 80vh;
  background: var(--bg-body);
}

.ad-wrapper {
  margin-top: 1.5rem;
}

.ad-container {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  padding: 8px;
}

.page-hero {
  padding: 3rem 0 3.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 3rem;
  position: relative;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-primary), var(--gold-vibrant));
  border-radius: var(--radius-full);
}

.breadcrumb-nav {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  gap: 8px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
}

.breadcrumb-nav a {
  color: var(--blue-vibrant);
  transition: color var(--transition-fast);
}

.breadcrumb-nav a:hover {
  color: var(--blue-primary);
  text-decoration: underline;
}

.breadcrumb-nav span {
  color: var(--border-strong);
}

.page-title,
.landing-title,
.article-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 0.5rem;
  text-align: center;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.hero-badge {
  background: var(--blue-light);
  color: var(--blue-primary);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--blue-border);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-weight: 600;
}

.hero-meta-item i {
  color: var(--blue-vibrant);
}

.article-container {
  max-width: 960px;
  margin: 0 auto 5rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  padding: 2.5rem;
}

.article-main-visual {
  margin-bottom: 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #f8fafc;
}

.article-main-visual img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.article-body {
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.85;
}

.article-body h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--blue-light);
}

.article-body h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 2rem 0 0.85rem;
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body ul,
.article-body ol {
  margin: 1.25rem 0 1.5rem 1.5rem;
  list-style: disc;
}

.article-body li {
  margin-bottom: 0.65rem;
}

.article-body blockquote {
  border-left: 4px solid var(--blue-vibrant);
  background: var(--blue-light);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.75rem 0;
  font-style: italic;
  color: var(--text-primary);
}

.article-body a {
  color: var(--blue-vibrant);
  font-weight: 700;
  text-decoration: underline;
}

.article-body a:hover {
  color: var(--blue-primary);
}

/* Related News / Articles */
.news-grid-glow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 4rem;
}

.news-card-glow {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.news-card-glow:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-border);
}

.news-glow-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f1f5f9;
}

.news-glow-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform var(--transition-slow);
}

.news-card-glow:hover .news-glow-img img {
  transform: scale(1.05);
}

.news-glow-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-glow-content h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  line-height: 1.4;
}

.news-glow-content h3 a {
  color: var(--text-primary);
}

.news-glow-content h3 a:hover {
  color: var(--blue-vibrant);
}

.news-glow-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.read-more-glow {
  color: var(--blue-vibrant);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.read-more-glow:hover {
  color: var(--blue-primary);
  gap: 10px;
}

@media (max-width: 1024px) {
  .news-grid-glow {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .article-container {
    padding: 1.5rem;
    margin-bottom: 3rem;
  }

  .news-grid-glow {
    grid-template-columns: 1fr;
  }
}
