/* Styles for content / guide pages and homepage guide cards */
.guides-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 80px 0;
}
.guides-intro {
  max-width: 640px;
  margin-bottom: 40px;
}
.guides-intro h2 {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 8px 0 16px;
  color: #08111f;
}
.guides-intro p {
  color: #49626f;
  font-size: 1.05rem;
  line-height: 1.6;
}
.guides-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.guide-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #dce5e2;
  border-radius: 16px;
  padding: 32px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.guide-card:hover {
  transform: translateY(-2px);
  border-color: #368d73;
  box-shadow: 0 12px 28px rgba(8, 17, 31, 0.06);
  text-decoration: none;
}
.guide-card-tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #246a55;
  background: rgba(185, 242, 219, 0.4);
  padding: 4px 10px;
  border-radius: 6px;
  align-self: flex-start;
  margin-bottom: 16px;
}
.guide-card h3 {
  font-size: 1.3rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: #08111f;
}
.guide-card p {
  color: #49626f;
  font-size: 0.95rem;
  line-height: 1.55;
  flex-grow: 1;
  margin-bottom: 20px;
}
.guide-card-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: #246a55;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.guide-card:hover .guide-card-link {
  text-decoration: underline;
}

/* Individual Content Page Layout */
.content-page {
  --ln: #08111f;
  --mint: #b9f2db;
  --cream: #f5f7f3;
  position: relative;
  color: var(--ln);
  background: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.content-container {
  width: min(840px, calc(100% - 48px));
  margin: 0 auto;
  padding: 40px 0 80px;
  flex-grow: 1;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #627780;
  margin-bottom: 24px;
}
.breadcrumbs a {
  color: #246a55;
}
.breadcrumbs span {
  opacity: 0.6;
}
.content-header {
  margin-bottom: 40px;
}
.content-tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #246a55;
  display: block;
  margin-bottom: 12px;
}
.content-header h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #08111f;
  margin-bottom: 16px;
}
.content-header h1 em {
  font-style: normal;
  color: #246a55;
}
.content-lede {
  font-size: 1.18rem;
  line-height: 1.6;
  color: #3b505a;
  border-left: 3px solid #b9f2db;
  padding-left: 16px;
  margin-bottom: 24px;
}
.content-note-dev {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #dce5e2;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.88rem;
  color: #49626f;
  margin-bottom: 32px;
}
.content-note-dev span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #368d73;
}
.content-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #2c3e47;
}
.content-body h2 {
  font-size: 1.65rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #08111f;
  margin: 40px 0 16px;
}
.content-body h3 {
  font-size: 1.25rem;
  line-height: 1.35;
  color: #08111f;
  margin: 28px 0 12px;
}
.content-body p {
  margin-bottom: 20px;
}
.content-body ul, .content-body ol {
  margin: 0 0 24px 20px;
  padding: 0;
}
.content-body li {
  margin-bottom: 10px;
}
.content-body a {
  color: #246a55;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.content-body a:hover {
  color: #08111f;
}

/* Callout Box */
.content-callout {
  background: #ffffff;
  border: 1px solid #dce5e2;
  border-left: 4px solid #368d73;
  border-radius: 12px;
  padding: 24px;
  margin: 32px 0;
}
.content-callout h3 {
  margin-top: 0;
  margin-bottom: 8px;
}
.content-callout p:last-child {
  margin-bottom: 0;
}

/* Data / Matrix Table */
.content-table-hint {
  font-size: 0.9rem;
  color: #627780;
  margin: 12px 0 8px;
}
.content-table-wrapper {
  overflow-x: auto;
  margin: 28px 0;
  border: 1px solid #dce5e2;
  border-radius: 12px;
  background: #ffffff;
}
.content-table-wrapper:focus-visible {
  outline: 3px solid #246a55;
  outline-offset: 2px;
}
.content-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}
.content-table th {
  background: #f0f4f2;
  padding: 14px 16px;
  font-weight: 600;
  color: #08111f;
  border-bottom: 1px solid #dce5e2;
  white-space: nowrap;
}
.content-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #edf2ef;
  color: #3b505a;
  vertical-align: top;
}
.content-table tr:last-child td {
  border-bottom: none;
}

/* Content Page Inline CTA */
.content-cta-box {
  background: #08111f;
  color: #ffffff;
  border-radius: 16px;
  padding: 36px 32px;
  margin: 48px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.content-cta-box p.kicker {
  color: #b9f2db;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.content-cta-box h3 {
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1.25;
  margin: 0;
}
.content-cta-box p {
  color: #c0ced6;
  font-size: 0.98rem;
  line-height: 1.5;
  margin: 0;
  max-width: 580px;
}
.content-cta-box .landing-button {
  background: #b9f2db;
  color: #08111f;
  border: none;
  font-weight: 600;
  border-radius: 8px;
  padding: 12px 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.content-cta-box .landing-button:hover {
  background: #a1e8cd;
  transform: translateY(-1px);
}

/* Related Guides */
.related-guides {
  border-top: 1px solid #dce5e2;
  padding-top: 40px;
  margin-top: 56px;
}
.related-guides h3 {
  font-size: 1.25rem;
  margin-bottom: 20px;
}
.related-guides-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.related-guide-item {
  background: #ffffff;
  border: 1px solid #dce5e2;
  border-radius: 10px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  display: block;
}
.related-guide-item:hover {
  border-color: #368d73;
  text-decoration: none;
}
.related-guide-item strong {
  display: block;
  font-size: 0.95rem;
  color: #08111f;
  margin-bottom: 4px;
}
.related-guide-item span {
  font-size: 0.82rem;
  color: #627780;
}

@media (max-width: 820px) {
  .guides-grid {
    grid-template-columns: 1fr;
  }
  .related-guides-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 650px) {
  .guides-section {
    width: calc(100% - 32px);
    padding: 48px 0;
  }
  .content-container {
    width: calc(100% - 32px);
    padding: 24px 0 56px;
  }
  .content-cta-box {
    padding: 24px 20px;
  }
}
