/* =========================================================
   SteelHead Addiction Pillar Page Styles
   Reusable for SEO pillar articles
   Root class: .sha-pillar
   ========================================================= */

.sha-pillar {
  --sha-bg: #f5f8f7;
  --sha-panel: #ffffff;
  --sha-ink: #14211f;
  --sha-muted: #5b6a66;
  --sha-green: #1f5f4a;
  --sha-green-2: #2f7d62;
  --sha-blue: #1e5f74;
  --sha-copper: #b87333;
  --sha-gold: #d8a94f;
  --sha-river: #dfeeed;
  --sha-border: rgba(20, 33, 31, .14);
  --sha-shadow: 0 16px 38px rgba(20, 33, 31, .12);

  max-width: 1120px;
  margin: 24px auto;
  padding: 0 16px;
  color: var(--sha-ink);
  font-family: inherit;
  line-height: 1.62;
}

.sha-pillar * {
  box-sizing: border-box;
}

.sha-pillar a {
  color: var(--sha-blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sha-pillar h1,
.sha-pillar h2,
.sha-pillar h3,
.sha-pillar h4 {
  line-height: 1.16;
  margin: 0 0 14px;
  color: inherit;
}

.sha-pillar h1 {
  margin-top: 18px;
  font-size: clamp(2.05rem, 5vw, 4.25rem);
  letter-spacing: -0.04em;
}

.sha-pillar h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  letter-spacing: -0.025em;
}

.sha-pillar h3 {
  font-size: clamp(1.22rem, 2vw, 1.55rem);
}

.sha-pillar h4 {
  font-size: 1.04rem;
  color: var(--sha-green);
}

/* Hero */

.sha-pillar .sha-hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 20%, rgba(216, 169, 79, .30), transparent 26%),
    radial-gradient(circle at 85% 15%, rgba(47, 125, 98, .28), transparent 30%),
    linear-gradient(135deg, #10251f 0%, #1f5f4a 48%, #143d4b 100%);
  color: #fff;
  padding: clamp(28px, 5vw, 58px);
  box-shadow: var(--sha-shadow);
}

.sha-pillar .sha-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 28px;
  align-items: center;
}

.sha-pillar .sha-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.sha-pillar .sha-hero p {
  max-width: 720px;
  font-size: clamp(1.04rem, 1.8vw, 1.25rem);
  color: rgba(255, 255, 255, .90);
  margin: 0 0 22px;
}

/* Buttons */

.sha-pillar .sha-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.sha-pillar .sha-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.sha-pillar .sha-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.sha-pillar .sha-btn-primary {
  background: #fff;
  color: #163a32;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
}

.sha-pillar .sha-btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .10);
}

/* Navigation */

.sha-pillar .sha-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}

.sha-pillar .sha-nav a {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .25);
  text-decoration: none;
  font-size: .92rem;
}

/* Sections and cards */

.sha-pillar .sha-card,
.sha-pillar .sha-section {
  background: var(--sha-panel);
  border: 1px solid var(--sha-border);
  border-radius: 24px;
  box-shadow: 0 10px 28px rgba(20, 33, 31, .08);
}

.sha-pillar .sha-section {
  padding: clamp(22px, 4vw, 36px);
  margin-top: 22px;
}

.sha-pillar .sha-tldr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.sha-pillar .sha-callout {
  border-left: 6px solid var(--sha-copper);
  background: linear-gradient(90deg, rgba(184, 115, 51, .13), rgba(255, 255, 255, 0));
  padding: 18px 18px 18px 20px;
  border-radius: 18px;
  margin: 20px 0;
}

.sha-pillar .sha-callout strong {
  color: var(--sha-green);
}

.sha-pillar .sha-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.sha-pillar .sha-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.sha-pillar .sha-species-card {
  padding: 20px;
  overflow: hidden;
}

.sha-pillar .sha-species-card svg {
  width: 100%;
  height: auto;
  margin-bottom: 12px;
  border-radius: 18px;
  background: var(--sha-river);
}

.sha-pillar .sha-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef6f2;
  color: var(--sha-green);
  font-weight: 900;
  font-size: .84rem;
  margin-bottom: 10px;
}

.sha-pillar .sha-muted {
  color: var(--sha-muted);
}

/* Timeline */

.sha-pillar .sha-timeline {
  margin-top: 22px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, #f2f8f6, #ffffff);
  border: 1px solid var(--sha-border);
}

.sha-pillar .sha-months {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 5px;
  margin-top: 12px;
}

.sha-pillar .sha-month {
  min-height: 84px;
  padding: 8px 5px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(20, 33, 31, .10);
  text-align: center;
  font-size: .78rem;
  font-weight: 900;
  color: var(--sha-muted);
}

.sha-pillar .sha-month span {
  display: block;
  margin: 6px auto 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.sha-pillar .sha-steel span {
  background: #7d95a1;
}

.sha-pillar .sha-mix span {
  background: var(--sha-gold);
}

.sha-pillar .sha-warm span {
  background: var(--sha-copper);
}

.sha-pillar .sha-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  color: var(--sha-muted);
  font-size: .92rem;
}

.sha-pillar .sha-legend b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sha-pillar .sha-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

/* Tables */

.sha-pillar .sha-table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid var(--sha-border);
  margin-top: 18px;
}

.sha-pillar table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: #fff;
}

.sha-pillar th,
.sha-pillar td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(20, 33, 31, .10);
  text-align: left;
  vertical-align: top;
}

.sha-pillar th {
  background: #edf6f2;
  color: var(--sha-green);
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.sha-pillar tr:last-child td {
  border-bottom: 0;
}

/* Condition meters */

.sha-pillar .sha-condition-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.sha-pillar .sha-condition {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: 18px;
  background: #f7faf9;
  border: 1px solid rgba(20, 33, 31, .10);
}

.sha-pillar .sha-meter {
  height: 12px;
  border-radius: 999px;
  background: #d9e8e3;
  overflow: hidden;
}

.sha-pillar .sha-meter > i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sha-green), var(--sha-copper));
}

/* FAQ */

.sha-pillar .sha-faq details {
  border: 1px solid var(--sha-border);
  border-radius: 18px;
  padding: 16px 18px;
  background: #fff;
  margin-top: 12px;
}

.sha-pillar .sha-faq summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--sha-green);
}

/* Sources */

.sha-pillar .sha-source-list {
  font-size: .94rem;
  color: var(--sha-muted);
}

/* Final CTA */

.sha-pillar .sha-final-cta {
  background:
    radial-gradient(circle at 85% 0%, rgba(216, 169, 79, .26), transparent 28%),
    linear-gradient(135deg, #153f35, #1e5f74);
  color: #fff;
}

.sha-pillar .sha-final-cta p {
  color: rgba(255, 255, 255, .90);
}

/* Responsive */

@media (max-width: 850px) {
  .sha-pillar .sha-hero-grid,
  .sha-pillar .sha-tldr,
  .sha-pillar .sha-grid-3,
  .sha-pillar .sha-grid-2 {
    grid-template-columns: 1fr;
  }

  .sha-pillar .sha-months {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 520px) {
  .sha-pillar {
    padding: 0 10px;
  }

  .sha-pillar .sha-hero {
    border-radius: 22px;
  }

  .sha-pillar .sha-months {
    grid-template-columns: repeat(3, 1fr);
  }

  .sha-pillar .sha-condition {
    grid-template-columns: 1fr;
  }
}
