/* ============================================================
   DIRT SITES — Articles & News
   Scoped under .art-* so the rest of the site is never affected.
   Mobile-first. Uses the site's design tokens (styles.css / package.css).
   ============================================================ */

/* ---------- Listing hero ---------- */
.art-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 72px;
  background:
    radial-gradient(circle at top right, rgba(242, 197, 0, 0.16), transparent 38%),
    linear-gradient(180deg, #0d0c0a 0%, #12100d 100%);
}
.art-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(18, 16, 13, 0) 0%, rgba(13, 12, 10, 0.9) 100%);
  pointer-events: none;
}
.art-hero .container { position: relative; z-index: 1; }
.art-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-headline);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow-accent);
}
.art-eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--yellow-accent);
}
.art-hero-title {
  margin: 18px 0;
  font-family: var(--font-headline);
  font-size: clamp(2.9rem, 8vw, 5.6rem);
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--text-light-primary);
}
.art-hero-title span { color: var(--yellow-accent); }
.art-lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2.4vw, 1.18rem);
  line-height: 1.7;
  max-width: 640px;
  margin: 0;
}

/* ---------- Listing grid ---------- */
.art-listing {
  padding: 56px 0 88px;
  background: #0d0c0a;
}
.art-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.art-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--steel-border);
  background: var(--bg-black-card);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.art-card:hover { border-color: var(--yellow-accent); transform: translateY(-3px); }
.art-card:focus-visible { outline: 3px solid var(--yellow-accent); outline-offset: 2px; }
.art-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}
.art-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.art-card:hover .art-card-media img { transform: scale(1.04); }
.art-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  flex: 1;
}
.art-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.art-cat {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(242, 197, 0, 0.35);
  color: var(--yellow-accent);
  font-family: var(--font-headline);
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  line-height: 1;
}
.art-card-title {
  font-family: var(--font-headline);
  font-size: clamp(1.6rem, 3vw, 2rem);
  line-height: 1.02;
  text-transform: uppercase;
  color: var(--text-light-primary);
  margin: 0;
}
.art-card-excerpt {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0;
}
.art-card-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-headline);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow-accent);
  font-size: 0.95rem;
}
.art-card-more i { transition: transform 0.2s ease; }
.art-card:hover .art-card-more i { transform: translateX(4px); }

/* ---------- Post hero (reader) ---------- */
.art-post-hero {
  padding: 140px 0 16px;
  background:
    radial-gradient(circle at top right, rgba(242, 197, 0, 0.14), transparent 36%),
    #0d0c0a;
}
.art-post-hero .container { max-width: 820px; }
.art-breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 18px;
  padding: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.art-breadcrumb li { display: flex; align-items: center; gap: 8px; }
.art-breadcrumb li + li::before { content: "/"; color: var(--text-muted); opacity: 0.5; }
.art-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.art-breadcrumb a:hover { color: var(--yellow-accent); }
.art-breadcrumb [aria-current="page"] { color: var(--text-light-primary); }
.art-post-title {
  margin: 0 0 14px;
  font-family: var(--font-headline);
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--text-light-primary);
}
.art-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.art-post-meta > span + span::before {
  content: "\00B7";
  margin-right: 14px;
  opacity: 0.6;
}
.art-post-meta .art-cat { color: var(--yellow-accent); }

/* ---------- Post body (reader surface) ---------- */
.art-post-body {
  background: var(--bg-warm-bone);
  color: var(--text-dark-primary);
  padding: 0 0 80px;
}
.art-featured {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 0 0 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}
.art-post-inner {
  max-width: 740px;
  margin: 0 auto;
  padding: 20px 24px 0;
}
.art-post-inner h2 {
  font-family: var(--font-headline);
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  line-height: 1.02;
  text-transform: uppercase;
  color: var(--text-dark-primary);
  margin: 44px 0 16px;
}
.art-post-inner h3 {
  font-family: var(--font-headline);
  font-size: 1.6rem;
  line-height: 1.08;
  text-transform: uppercase;
  color: var(--text-dark-primary);
  margin: 32px 0 10px;
}
.art-post-inner p {
  color: var(--text-dark-secondary);
  font-size: 1.09rem;
  line-height: 1.8;
  margin: 0 0 20px;
}
.art-post-inner a { color: #8a6d00; text-decoration: underline; }
.art-post-inner a:hover { color: #5c4900; }
.art-post-inner strong { color: var(--text-dark-primary); }
.art-post-inner ul,
.art-post-inner ol {
  margin: 0 0 22px;
  padding-left: 24px;
  color: var(--text-dark-secondary);
  font-size: 1.06rem;
  line-height: 1.7;
}
.art-post-inner li { margin-bottom: 10px; }

.art-blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 4px solid var(--yellow-accent);
  background: var(--bg-warm-card);
  border-radius: 0 14px 14px 0;
  font-family: var(--font-headline);
  font-size: clamp(1.4rem, 3.4vw, 1.9rem);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--text-dark-primary);
}
.art-message {
  margin: 28px 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--steel-border-light);
  font-size: 1.08rem;
  line-height: 1.75;
  font-style: italic;
  color: var(--text-dark-secondary);
}
.art-note {
  margin: 28px 0;
  padding: 22px 26px;
  border: 1px solid rgba(242, 197, 0, 0.35);
  background: rgba(242, 197, 0, 0.08);
  border-radius: 14px;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-dark-secondary);
}
.art-figure {
  margin: 32px 0;
}
.art-figure img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}
.art-figure figcaption {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 10px;
  text-align: center;
}

/* ---------- Post footer / back ---------- */
.art-post-foot {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 72px;
}
.art-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-headline);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow-accent);
  text-decoration: none;
  font-size: 1rem;
}
.art-back:hover { color: var(--yellow-dark); }
.art-back i { transition: transform 0.2s ease; }
.art-back:hover i { transform: translateX(-4px); }

/* ---------- Shared CTA ---------- */
.art-cta {
  padding: 72px 0 88px;
  background: #0d0c0a;
}
.art-cta-box {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px;
  border-radius: 26px;
  border: 1px solid rgba(242, 197, 0, 0.2);
  background: linear-gradient(135deg, rgba(242, 197, 0, 0.12), rgba(255, 255, 255, 0.03)), rgba(255, 255, 255, 0.04);
}
.art-cta-title {
  margin: 14px 0 12px;
  font-family: var(--font-headline);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 0.98;
  text-transform: uppercase;
  color: var(--text-light-primary);
}
.art-cta-box p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 24px;
}
.art-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Empty state ---------- */
.art-empty {
  padding: 60px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ---------- Responsive ---------- */
@media (min-width: 700px) {
  .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 820px) {
  .art-featured {
    float: left;
    width: 44%;
    margin: 6px 28px 18px 0;
  }
}
@media (min-width: 1080px) {
  .art-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .art-listing { padding: 72px 0 100px; }
}
@media (max-width: 640px) {
  .art-hero { padding: 128px 0 60px; }
  .art-post-hero { padding: 112px 0 10px; }
  .art-breadcrumb { display: none; }
  .art-post-title { font-size: 1.9rem; margin-bottom: 10px; }
  .art-post-meta { gap: 6px 10px; font-size: 0.78rem; }
  .art-post-meta > span + span::before { margin-right: 10px; }
  .art-featured { border-radius: 14px; }
  .art-card-body { padding: 18px; }
  .art-cta-box { padding: 24px; border-radius: 22px; }
  .art-cta-actions .btn { width: 100%; }
  .art-post-inner p { font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  .art-card, .art-card-media img, .art-card-more i, .art-back i {
    transition: none;
  }
  .art-card:hover { transform: none; }
  .art-card:hover .art-card-media img { transform: none; }
}
