/* ============================================
   RESOURCES HERO
   ============================================ */
.resources-hero {
  background: var(--black);
  padding: 80px 0 72px;
}

.resources-hero .eyebrow {
  margin-bottom: 12px;
}

.resources-hero__title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 16px;
}

.resources-hero__lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 540px;
}

/* ============================================
   RESOURCE CARDS
   ============================================ */
.cards--3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card--resource {
  border: 1.5px solid var(--border);
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.card--resource:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 32px rgba(255, 122, 0, 0.09);
}

.card--resource:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.card__cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--gray);
}

.card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card__body {
  padding: 24px 24px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card__eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 8px;
}

.card__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
  margin-bottom: 10px;
}

.card__excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: #555555;
  flex: 1;
  margin-bottom: 20px;
}

.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-top: 1px solid var(--border);
}

.card__date {
  font-size: 13px;
  color: #888;
}

.card__readmore {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
}

.card--resource:hover .card__readmore,
.card--resource:focus-visible .card__readmore,
.card__readmore:hover {
  text-decoration: underline;
}

/* ============================================
   POST HERO
   ============================================ */
.post-hero {
  background: var(--black);
  padding: 64px 0 72px;
}

.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.15s;
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb span {
  margin: 0 6px;
}

.post-hero .eyebrow {
  margin-bottom: 14px;
}

.post__title {
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 18px;
}

.post__lead {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  max-width: 640px;
  margin-bottom: 28px;
}

.post__meta {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.post__meta-sep {
  opacity: 0.4;
}

/* ============================================
   POST BODY (prose)
   ============================================ */
.post-body {
  background: var(--white);
  padding: 64px 0 80px;
}

.post-body .container--narrow {
  max-width: 740px;
}

.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 32px 0;
}

.post-body h2 {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--black);
  margin: 48px 0 16px;
}

.post-body h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
  margin: 36px 0 12px;
}

.post-body h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin: 28px 0 10px;
}

.post-body p {
  font-size: 17px;
  line-height: 1.75;
  color: #222;
  margin-bottom: 22px;
}

.post-body ul,
.post-body ol {
  list-style: revert;
  margin: 0 0 22px 24px;
}

.post-body li {
  font-size: 17px;
  line-height: 1.75;
  color: #222;
  margin-bottom: 6px;
}

.post-body a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-body a:hover {
  color: #cc6200;
}

.post-body strong {
  font-weight: 700;
  color: var(--black);
}

.post-body em {
  font-style: italic;
}

.post-body blockquote {
  border-left: 4px solid var(--orange);
  background: var(--orange-dim);
  padding: 18px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 32px 0;
}

.post-body blockquote p {
  margin-bottom: 0;
  font-size: 17px;
  font-style: italic;
  color: #333;
}

.post-body code {
  font-family: 'Menlo', 'Monaco', 'Consolas', monospace;
  font-size: 14px;
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
  border-radius: 4px;
  padding: 2px 6px;
}

.post-body pre {
  background: #111;
  border-radius: var(--radius);
  padding: 24px;
  overflow-x: auto;
  margin: 32px 0;
}

.post-body pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 14px;
  color: #e5e7eb;
}

.post-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

/* ============================================
   POST CTA STRIP
   ============================================ */
.post-cta {
  background: var(--gray);
  padding: 56px 0;
  text-align: center;
}

.post-cta__title {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 24px;
}

/* ============================================
   RESOURCES RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .cards--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .cards--3 {
    grid-template-columns: 1fr;
  }

  .resources-hero {
    padding: 56px 0 48px;
  }

  .post-hero {
    padding: 48px 0 52px;
  }

  .post-body {
    padding: 48px 0 56px;
  }

  .post-cta {
    padding: 40px 0;
  }
}
