/* Archives → Resources blog article */
.resource-article .crumbs {
  margin-bottom: 0.5rem;
}

.resource-hero {
  margin: 0 0 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
  max-width: 46rem;
}

.resource-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1rem;
  margin: 0.35rem 0 0.55rem;
  font-size: 0.82rem;
  color: var(--ink-500);
}

.resource-hero-meta .dot::before {
  content: "·";
  margin-right: 0.55rem;
  color: var(--ink-300);
}

.resource-hero .lede {
  margin-top: 0.65rem;
  font-size: 1.08rem;
  line-height: 1.6;
  max-width: 44rem;
}

.resource-hero-fig {
  margin: 1.15rem 0 0;
  max-width: 46rem;
}

.resource-hero-fig img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--rule);
  box-shadow: 0 12px 40px color-mix(in srgb, #0b1f33 8%, transparent);
}

.resource-hero-fig figcaption {
  margin-top: 0.45rem;
  font-size: 0.78rem;
  color: var(--ink-500);
  line-height: 1.4;
}

.resource-layout {
  display: grid;
  grid-template-columns: 14.5rem minmax(0, 1fr);
  gap: 1.75rem 2rem;
  align-items: start;
}

.resource-toc {
  position: sticky;
  top: 5.25rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--rule);
  background: #fffdf9;
  border-radius: 10px;
}

.resource-toc-label {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a4a1a;
}

.resource-toc ol {
  margin: 0;
  padding-left: 1.15rem;
}

.resource-toc li {
  margin: 0.32rem 0;
  font-size: 0.8rem;
  line-height: 1.35;
}

.resource-toc a {
  color: #243447;
  text-decoration: none;
}

.resource-toc a:hover {
  color: #0b1f33;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.resource-body {
  max-width: 46rem;
  min-width: 0;
}

.resource-body .resource-h2 {
  font-size: 1.45rem;
  margin: 2rem 0 0.75rem;
  line-height: 1.25;
  scroll-margin-top: 5.5rem;
}

.resource-body .resource-h2:first-child {
  margin-top: 0;
}

.resource-body .resource-h3 {
  font-size: 1.08rem;
  margin: 1.35rem 0 0.45rem;
  line-height: 1.35;
  scroll-margin-top: 5.5rem;
}

.resource-body p {
  line-height: 1.65;
  margin: 0 0 0.85rem;
}

.resource-callout {
  margin: 0 0 1.1rem;
  padding: 0.85rem 1rem;
  border-left: 4px solid #b87333;
  background: color-mix(in srgb, #b87333 8%, #fffdf9);
  border-radius: 0 10px 10px 0;
  font-size: 0.98rem;
  line-height: 1.55;
}

.resource-table-wrap {
  overflow-x: auto;
  margin: 0 0 1.1rem;
}

.resource-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.resource-table th,
.resource-table td {
  border: 1px solid var(--rule);
  padding: 0.55rem 0.65rem;
  text-align: left;
  vertical-align: top;
}

.resource-table th {
  background: #fffdf9;
  font-weight: 650;
}

.resource-table tr:nth-child(even) td {
  background: color-mix(in srgb, var(--paper) 60%, white);
}

.resource-list {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.resource-list li {
  margin: 0.4rem 0;
  line-height: 1.55;
}

.resource-list-ol {
  list-style: decimal;
}

.resource-figure {
  margin: 1rem 0 1.25rem;
}

.resource-figure img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--rule);
}

.resource-faq {
  margin-top: 2.5rem;
  max-width: 46rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}

.resource-faq h2 {
  font-size: 1.35rem;
  margin: 0 0 0.85rem;
}

.resource-faq-item {
  margin: 0 0 0.55rem;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: #fff;
  padding: 0.15rem 0.85rem;
}

.resource-faq-item summary {
  cursor: pointer;
  font-weight: 650;
  padding: 0.55rem 0;
  list-style: none;
}

.resource-faq-item summary::-webkit-details-marker {
  display: none;
}

.resource-faq-item p {
  margin: 0 0 0.75rem;
  color: var(--ink-500);
  font-size: 0.95rem;
  line-height: 1.55;
}

.resource-cta {
  margin: 2rem 0 0;
  max-width: 46rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid color-mix(in srgb, #b87333 35%, var(--rule));
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, #b87333 12%, #fffdf9) 0%,
    #fff 55%
  );
}

.resource-cta h2 {
  font-size: 1.2rem;
  margin: 0 0 0.45rem;
}

.resource-cta p {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.resource-cta .btn {
  margin-top: 0.25rem;
}

@media (max-width: 860px) {
  .resource-layout {
    grid-template-columns: 1fr;
  }
  .resource-toc {
    position: static;
    order: -1;
  }
}