/* =========================================================
   KREATIVE SOLUTION — Articles Stylesheet
   Shared styles for /articles/ index + article pages.
   Depends on css/style.css custom properties.
   ========================================================= */

/* ---- Breadcrumb ---- */
.breadcrumb {
  padding: calc(var(--nav-height) + 32px) 0 0;
  font-size: 0.85rem;
  color: var(--text-mid);
}

.breadcrumb a { color: var(--gold-dark); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { margin: 0 8px; color: var(--text-light); }

/* ---- Articles Index ---- */
#articles-hero {
  padding: 24px 0 40px;
  text-align: center;
}

#articles-hero .section-title { margin-top: 12px; }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-bottom: var(--section-gap);
}

.article-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.article-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-card-meta {
  font-size: 0.78rem;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 10px;
}

.article-card-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.35;
  margin-bottom: 10px;
}

.article-card-title a { color: inherit; }
.article-card-title a:hover { color: var(--gold-dark); }

.article-card-excerpt {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

.article-card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.articles-empty-note {
  text-align: center;
  color: var(--text-mid);
  font-size: 0.92rem;
  max-width: 480px;
  margin: 0 auto;
}

/* ---- Article Page ---- */
.article-header {
  padding: 20px 0 40px;
  max-width: 760px;
  margin: 0 auto;
}

.article-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.article-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.article-lede {
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 24px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 0.86rem;
  color: var(--text-light);
  padding-top: 20px;
  border-top: 1px solid var(--cream-2);
}

.article-meta strong { color: var(--text-dark); }

.article-hero-image {
  max-width: 900px;
  margin: 0 auto 8px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.article-hero-image img { width: 100%; }

.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: 40px;
  color: var(--text-mid);
  font-size: 1.02rem;
  line-height: 1.8;
}

.article-body h2 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 44px 0 16px;
}

.article-body h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--charcoal);
  margin: 32px 0 10px;
}

.article-body p { margin-bottom: 18px; }

.article-body ul {
  margin: 0 0 20px;
  padding-left: 4px;
}

.article-body ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
}

.article-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.article-body strong { color: var(--text-dark); }

.article-checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-checklist > li {
  display: flex;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--cream-2);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}

.checklist-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold-dark);
  font-family: var(--font-head);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checklist-content h3 { margin-top: 0; }
.checklist-content > p:last-child { margin-bottom: 0; }

.article-faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0 40px;
}

.article-cta {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-3) 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
  margin: 40px 0;
  text-align: center;
}

.article-cta h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 12px;
}

.article-cta p {
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto 24px;
}

.article-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.article-disclaimer {
  font-size: 0.84rem;
  color: var(--text-light);
  border-top: 1px solid var(--cream-2);
  padding-top: 20px;
  margin-top: 32px;
}

.article-footer-nav {
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: var(--section-gap);
}

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

@media (max-width: 640px) {
  .articles-grid { grid-template-columns: 1fr; }
  .article-checklist > li { flex-direction: column; gap: 10px; }
  .article-cta { padding: 28px 20px; }
}
