/* ============================
   ARTICLE PAGES – STYLES
   ============================ */

.article-page {}

.article-hero {
  padding: 80px 0 60px;
  color: white;
  position: relative;
}
.article-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40px;
  background: var(--blue-sky);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.article-tag-hero {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.article-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: white;
  max-width: 760px;
  margin-bottom: 20px;
}
.article-intro {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 640px;
}

.article-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  padding: 64px 24px;
  background: var(--blue-sky);
  max-width: 1120px;
  margin: 0 auto;
}

.article-content {
  background: white;
  border-radius: var(--radius);
  padding: 48px 44px;
  box-shadow: var(--shadow);
}
.article-content h2 {
  font-size: 1.5rem;
  color: var(--blue-deep);
  margin: 36px 0 16px;
  padding-top: 8px;
  border-top: 2px solid var(--blue-pale);
}
.article-content h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.article-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}
.article-content ul, .article-content ol {
  margin: 16px 0 24px 20px;
  color: var(--text-light);
  line-height: 1.9;
}
.article-content li { margin-bottom: 6px; }
.article-content strong { color: var(--text); }

.article-box {
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 28px 0;
}
.article-box.info { background: var(--blue-pale); border-left: 4px solid var(--blue-bright); }
.article-box.warning { background: #fff8e1; border-left: 4px solid #f59e0b; }
.article-box.success { background: #f0fdf4; border-left: 4px solid #22c55e; }
.article-box strong { display: block; margin-bottom: 8px; color: var(--text); }
.article-box p { margin: 0; font-size: 0.92rem; }

.article-cta {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
  color: white;
  border-radius: var(--radius);
  padding: 36px;
  margin-top: 48px;
  text-align: center;
}
.article-cta h3 { color: white; margin-bottom: 12px; }
.article-cta p { color: rgba(255,255,255,0.82); margin-bottom: 24px; }

/* ---- SIDEBAR ---- */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.sidebar-card h4 {
  font-family: var(--font-head);
  color: var(--blue-deep);
  font-size: 1rem;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--blue-pale);
}
.sidebar-card a {
  display: block;
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.88rem;
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-200);
  transition: color .2s;
}
.sidebar-card a:last-child { border-bottom: none; }
.sidebar-card a:hover { color: var(--blue-mid); }
.sidebar-card p { font-size: 0.88rem; color: var(--text-light); margin-bottom: 14px; }
.sidebar-link {
  color: var(--blue-bright) !important;
  font-weight: 600;
  font-size: 0.85rem !important;
  border: none !important;
}
.sidebar-card.cta-card {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
  text-align: center;
}
.sidebar-card.cta-card h4 {
  color: white;
  border-bottom-color: rgba(255,255,255,0.2);
}
.sidebar-card.cta-card p { color: rgba(255,255,255,0.8); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .article-body {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 24px;
  }
  .article-sidebar { order: -1; }
  .article-sidebar { flex-direction: row; flex-wrap: wrap; }
  .sidebar-card { flex: 1; min-width: 220px; }
}
@media (max-width: 600px) {
  .article-content { padding: 28px 20px; }
  .article-hero { padding: 60px 0 50px; }
}

/* ---- READ MORE LINK ---- */
a.read-more {
  display: inline-block;
  color: var(--blue-bright);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color .2s;
  cursor: pointer;
}
a.read-more:hover { color: var(--blue-mid); }
