/* Article page (gz-art__*) — uses tokens from main.css */

/* ---------- Hero ---------- */
.gz-art__hero { background: var(--gz-ink); padding: 54px 0 56px; }
.gz-art__crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 26px; font-size: 14.5px; line-height: 1.4; color: var(--gz-muted); }
.gz-art__crumbs a { color: #fff; }
.gz-art__crumbs a:hover, .gz-art__crumbs a:focus-visible { color: var(--gz-yellow); text-decoration: underline; text-underline-offset: 3px; }
.gz-art__crumbs-sep { color: var(--gz-muted); }
.gz-art__header { max-width: 900px; }
.gz-art__category { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gz-yellow); }
.gz-art__category img { width: 16px; height: 16px; flex-shrink: 0; }
.gz-art__title { color: #fff; font-size: clamp(30px, 2vw + 22px, 46px); line-height: 1.12; }
.gz-art__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin-top: 24px; font-size: 15px; line-height: 1.4; color: rgba(255, 255, 255, .85); }
.gz-art__meta-item { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .85); }
.gz-art__meta-item img { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- Layout ---------- */
.gz-art__main { padding: 56px 0 100px; background: #fff; }
.gz-art__wrap { display: block; }
.gz-art { max-width: 820px; margin: 0 auto; min-width: 0; }

.gz-art__image { position: relative; margin: 0 0 36px; }
.gz-art__image img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--radius-4); background: var(--gz-grey); }
.gz-art__image-caption { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--gz-text); text-align: center; }

.gz-art__intro { margin-bottom: 34px; padding-left: 22px; border-left: 4px solid var(--gz-yellow); font-size: clamp(17px, .4vw + 16px, 20px); line-height: 1.65; font-weight: 500; color: var(--gz-ink); }
.gz-art__intro p + p { margin-top: 12px; }

/* ---------- Article body typography ---------- */
.gz-art__content { font-size: 17px; line-height: 1.75; color: var(--gz-text); overflow-wrap: break-word; }
.gz-art__content > *:first-child { margin-top: 0; }
.gz-art__content p { margin: 0 0 20px; color: var(--gz-text); }
.gz-art__content h2 { margin: 48px 0 18px; font-size: clamp(25px, 1vw + 19px, 33px); line-height: 1.2; color: var(--gz-ink); }
.gz-art__content h2::after { content: ""; display: block; width: 48px; height: 4px; margin-top: 12px; border-radius: 2px; background: var(--gz-yellow); }
.gz-art__content h3 { margin: 34px 0 12px; font-size: clamp(20px, .6vw + 17px, 24px); line-height: 1.28; color: var(--gz-ink); }
.gz-art__content h4 { margin: 26px 0 10px; color: var(--gz-ink); }
.gz-art__content strong { font-weight: 700; color: var(--gz-ink); }
.gz-art__content a { color: var(--gz-ink); text-decoration: underline; text-decoration-color: var(--gz-yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: pointer; }
.gz-art__content a:hover, .gz-art__content a:focus-visible { background: var(--gz-yellow); text-decoration-color: var(--gz-ink); }
.gz-art__content ul, .gz-art__content ol { margin: 0 0 22px; padding-left: 26px; }
.gz-art__content ul { list-style: disc; }
.gz-art__content ol { list-style: decimal; }
.gz-art__content li { margin: 0 0 8px; padding-left: 4px; }
.gz-art__content li::marker { color: var(--gz-ink); font-weight: 600; }
.gz-art__content li > ul, .gz-art__content li > ol { margin: 8px 0 4px; }
.gz-art__content li > ul { list-style: circle; }
.gz-art__content li p { margin-bottom: 8px; }
.gz-art__content blockquote { margin: 28px 0; padding: 22px 26px; border-left: 4px solid var(--gz-yellow); border-radius: 0 var(--radius-3) var(--radius-3) 0; background: var(--gz-soft); font-size: 18px; line-height: 1.65; color: var(--gz-ink); }
.gz-art__content blockquote p:last-child { margin-bottom: 0; }
.gz-art__content hr { margin: 40px 0; border: 0; border-top: 1px solid var(--gz-line); }
.gz-art__content img { margin: 24px 0; border-radius: var(--radius-3); }
.gz-art__content code { padding: 2px 7px; border-radius: 5px; background: var(--gz-grey); font-size: .92em; color: var(--gz-ink); }
.gz-art__content pre { margin: 0 0 22px; padding: 18px 20px; border-radius: var(--radius-2); background: var(--gz-ink); color: #fff; overflow-x: auto; }
.gz-art__content pre code { padding: 0; background: none; color: inherit; }
.gz-art__content table { display: block; width: 100%; max-width: 100%; margin: 0 0 26px; overflow-x: auto; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.gz-art__content th, .gz-art__content td { padding: 12px 16px; border: 1px solid var(--gz-line); text-align: left; vertical-align: top; }
.gz-art__content th { background: var(--gz-ink); color: #fff; font-weight: 600; white-space: nowrap; }
.gz-art__content tbody tr:nth-child(even) td { background: var(--gz-soft); }

/* ---------- Conclusion ---------- */
.gz-art__conclusion { margin-top: 44px; padding: 32px 34px 30px; border-radius: var(--radius-4); background: var(--gz-soft); border: 1px solid var(--gz-line); }
.gz-art__conclusion-title { font-size: clamp(22px, .8vw + 17px, 28px); color: var(--gz-ink); }
.gz-art__conclusion p { margin-top: 12px; font-size: 16.5px; line-height: 1.7; color: var(--gz-text); }
.gz-art__conclusion a { color: var(--gz-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gz-yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: pointer; }
.gz-art__conclusion a:hover, .gz-art__conclusion a:focus-visible { background: var(--gz-yellow); }

/* ---------- Tags ---------- */
.gz-art__tags { display: flex; align-items: flex-start; gap: 10px; margin-top: 26px; font-size: 14.5px; line-height: 1.5; color: var(--gz-text); }
.gz-art__tags img { width: 16px; height: 16px; margin-top: 4px; flex-shrink: 0; }
.gz-art__tags span { min-width: 0; overflow-wrap: anywhere; }

/* ---------- CTA (yellow band) ---------- */
.gz-art__cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 44px; padding: 36px 38px; border-radius: var(--radius-4); background: var(--gz-yellow); }
.gz-art__cta > * { min-width: 0; }
.gz-art__cta-content { flex: 1 1 0; }
.gz-art__cta-title { font-size: clamp(24px, .8vw + 18px, 30px); color: var(--gz-ink); }
.gz-art__cta-text { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--gz-ink); }
.gz-art__cta-actions { display: flex; flex-direction: column; gap: 12px; flex: 0 0 auto; }
.gz-art__cta .gz-btn--light { background: #fff; border-color: #fff; }
.gz-art__cta .gz-btn--light:hover, .gz-art__cta .gz-btn--light:focus-visible { background: var(--gz-ink); border-color: var(--gz-ink); color: #fff; }
.gz-art__cta .gz-btn--dark:hover, .gz-art__cta .gz-btn--dark:focus-visible { background: #fff; border-color: #fff; color: var(--gz-ink); }
.gz-art__cta .gz-btn--dark:hover img, .gz-art__cta .gz-btn--dark:focus-visible img { filter: invert(1); }

/* ---------- Related ---------- */
.gz-art__related { margin-top: 80px; padding-top: 56px; border-top: 1px solid var(--gz-line); }
.gz-art__related-title { margin-bottom: 30px; font-size: clamp(26px, 1vw + 20px, 34px); color: var(--gz-ink); }
.gz-art__related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gz-art__related-grid > * { min-width: 0; }
.gz-art__rel-card { display: flex; min-width: 0; overflow: hidden; border-radius: var(--radius-4); background: var(--gz-soft); border: 1px solid var(--gz-line); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.gz-art__rel-card:hover, .gz-art__rel-card:focus-within { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(0, 0, 0, .12); border-color: var(--gz-yellow); }
.gz-art__rel-link { display: flex; flex-direction: column; flex: 1; min-width: 0; cursor: pointer; }
.gz-art__rel-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--gz-grey); }
.gz-art__rel-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gz-art__rel-card:hover .gz-art__rel-img > img { transform: scale(1.05); }
.gz-art__rel-body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 20px 22px 22px; }
.gz-art__rel-title { font-size: 19px; line-height: 1.3; color: var(--gz-ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gz-art__rel-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--gz-ink); }
.gz-art__rel-more img { width: 14px; height: 14px; filter: brightness(0); transition: transform .3s ease; }
.gz-art__rel-card:hover .gz-art__rel-more, .gz-art__rel-link:focus-visible .gz-art__rel-more { text-decoration: underline; text-decoration-color: var(--gz-yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.gz-art__rel-card:hover .gz-art__rel-more img { transform: translateX(4px); }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .gz-art__related-grid { gap: 20px; }
}
@media (max-width: 1024px) {
  .gz-art__main { padding: 44px 0 80px; }
  .gz-art__related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gz-art__related { margin-top: 64px; padding-top: 44px; }
}
@media (max-width: 768px) {
  .gz-art__hero { padding: 40px 0 40px; }
  .gz-art__crumbs { margin-bottom: 20px; }
  .gz-art__meta { gap: 8px 20px; margin-top: 18px; }
  .gz-art__main { padding: 36px 0 64px; }
  .gz-art__content { font-size: 16.5px; line-height: 1.7; }
  .gz-art__content h2 { margin-top: 38px; }
  .gz-art__conclusion { padding: 26px 24px; }
  .gz-art__cta { flex-direction: column; align-items: stretch; padding: 30px 26px; }
  .gz-art__cta-content { flex: 0 1 auto; }
  .gz-art__image img { aspect-ratio: 16 / 9; }
}
@media (max-width: 480px) {
  .gz-art__hero { padding: 40px 0 34px; }
  .gz-art__image { margin-bottom: 26px; }
  .gz-art__intro { padding-left: 16px; margin-bottom: 26px; }
  .gz-art__content { font-size: 16px; }
  .gz-art__content ul, .gz-art__content ol { padding-left: 22px; }
  .gz-art__content blockquote { padding: 18px 18px; font-size: 16.5px; }
  .gz-art__content th, .gz-art__content td { padding: 10px 12px; }
  .gz-art__conclusion { padding: 22px 18px; }
  .gz-art__cta { padding: 26px 20px; }
  .gz-art__related-grid { grid-template-columns: minmax(0, 1fr); }
  .gz-art__rel-body { padding: 18px 16px 20px; }
}
@media (max-width: 375px) {
  .gz-art__crumbs { font-size: 13.5px; }
  .gz-art__meta { font-size: 14px; }
  .gz-art__cta { padding: 22px 16px; }
}
