/* A shared, single-column reading layout for articles, lessons and learning paths. */
.resource-detail {
  background: #fff;
  color: #17243b;
}
.resource-shell {
  width: min(1120px, calc(100% - 4rem));
  margin-inline: auto;
}
.resource-hero {
  padding: 112px 0 32px;
  border-bottom: 1px solid #26344e;
  background: #071126;
  color: #fff;
}
.resource-breadcrumb {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.resource-breadcrumb a {
  color: #c0cee5;
  text-decoration: none;
}
.resource-breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}
.resource-hero h1 {
  max-width: 1060px;
  margin: 0;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.045em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.resource-summary {
  margin: 0 0 2rem;
  color: #53627a;
  font-size: 1.0625rem;
  line-height: 1.75;
}
.resource-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin-top: 1.25rem;
  color: #c0cee5;
  font-size: 0.8125rem;
  line-height: 1.6;
}
.resource-meta:empty {
  display: none;
}
.resource-header-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 1.5rem;
}
.resource-header-tools .resource-meta,
.resource-header-tools .resource-actions {
  margin-top: 0;
}
.resource-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}
.resource-read-link {
  color: #adcaff;
  font-size: 0.875rem;
  font-weight: 700;
  text-underline-offset: 0.2em;
}
.resource-hero .academy-button {
  min-height: 42px;
  padding: 0.65rem 1rem;
  border: 1px solid #ccd5e3;
  background: #fff;
  color: #283e60;
  box-shadow: none;
  font-size: 0.8125rem;
}
.resource-hero .academy-button:hover {
  border-color: #2e63cb;
  background: #eef3fc;
  color: #224fa6;
}
.resource-hero .academy-button--light {
  margin-top: 1.5rem;
  border-color: #fff;
  background: #fff;
  color: #17243b;
}
.resource-hero .academy-path-progress {
  margin: 0.75rem 0 0;
  color: #c0cee5;
  font-size: 0.8125rem;
}
.resource-actions [role="status"] {
  color: #53627a;
  font-size: 0.8125rem;
}
.resource-actions [role="status"]:empty {
  display: none;
}
.resource-main {
  padding: 2.5rem 0 4rem;
}
.resource-cover {
  margin: 0 0 2rem;
  overflow: hidden;
  border: 1px solid #e3e8ef;
  background: #f7f9fc;
}
.resource-cover > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
}
.resource-cover:has(.resource-video-player) {
  max-width: 900px;
  margin-inline: auto;
}
.resource-reading-layout {
  display: block;
  min-width: 0;
}
.resource-path-context {
  margin: 0 0 1.5rem;
  color: #65728a;
  font-size: 0.875rem;
}
.resource-path-context a {
  color: #285dc9;
  text-underline-offset: 0.2em;
}
.resource-contents {
  margin: 0 0 2rem;
  padding: 1rem 1.25rem;
  border: 1px solid #e0e6ef;
  background: #f7f9fc;
}
.resource-contents summary {
  width: fit-content;
  color: #283e60;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
}
.resource-contents summary:focus-visible {
  outline: 3px solid #6299ff;
  outline-offset: 4px;
}
.resource-contents ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}
.resource-contents a {
  color: #285dc9;
  font-size: 0.875rem;
  text-underline-offset: 0.2em;
}
.resource-detail .academy-prose {
  width: 100%;
  max-width: none;
  overflow-wrap: anywhere;
}
.resource-detail .academy-prose h2 {
  margin: 2.5rem 0 1rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.25;
}
.resource-detail .academy-prose h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1.375rem;
  line-height: 1.3;
}
.resource-detail .academy-prose p,
.resource-detail .academy-prose li {
  color: #45536a;
  font-size: 1.0625rem;
  line-height: 1.8;
}
.resource-detail .academy-prose p {
  margin: 1rem 0;
}
.resource-detail .academy-prose .article-markdown > p:first-child {
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.8;
}
.resource-detail .academy-prose .article-block {
  margin-block: 1.75rem;
}
.resource-detail .academy-prose .article-block > :first-child {
  margin-top: 0;
}
.resource-detail .academy-prose img {
  box-shadow: none;
}
.resource-detail .academy-prose table {
  display: block;
  width: 100%;
  overflow-x: auto;
}
.resource-detail .academy-prose pre {
  max-width: 100%;
}
.resource-detail .academy-completion {
  margin-top: 2.5rem;
  padding: 1.75rem;
  box-shadow: none;
  background: #f7f9fc;
}
.resource-detail .academy-completion h2 {
  font-size: 1.5rem;
  line-height: 1.3;
}
.resource-detail .academy-completion p {
  font-size: 0.9375rem;
}
.resource-detail .academy-completion [role="status"]:empty {
  display: none;
}
.resource-detail .academy-related {
  padding: 3rem 0;
  background: #f7f9fc;
}
.resource-detail .academy-related h2,
.resource-section-title,
.resource-outcomes h2 {
  margin: 0 0 1.25rem;
  color: #17243b;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.035em;
}
.resource-outcomes {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e3e8ef;
}
.resource-path-overview {
  margin-bottom: 2.5rem;
}
.resource-outcomes p,
.resource-outcomes li {
  color: #53627a;
  font-size: 1rem;
  line-height: 1.75;
}
.resource-outcomes .academy-outcome-list {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  list-style: disc;
}
.resource-outcomes .academy-outcome-list li {
  display: list-item;
}
.resource-empty {
  margin: 0;
  padding: 1.5rem;
  border: 1px solid #e3e8ef;
  background: #f7f9fc;
  color: #53627a;
  line-height: 1.75;
}
.resource-empty a {
  color: #285dc9;
}
.resource-detail .academy-module-list {
  display: grid;
  gap: 1rem;
}
.resource-detail .academy-module-card {
  grid-template-columns: 2.5rem minmax(0, 1fr);
  min-height: 0;
  padding: 1.5rem;
  gap: 1rem;
  box-shadow: none;
}
.resource-detail .academy-module-number {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  background: #eef3fc;
  color: #2e63cb;
  font-size: 0.875rem;
  font-weight: 700;
}
.resource-detail .academy-module-card h3 {
  margin: 0.25rem 0 0;
  font-size: 1.375rem;
  line-height: 1.3;
}
.resource-detail .academy-module-card h3 a {
  color: inherit;
}
.resource-detail .academy-module-card p {
  font-size: 0.9375rem;
  line-height: 1.75;
}
.resource-detail .academy-module-arrow {
  margin-top: 0.75rem;
  font-size: 0.875rem;
}
.resource-share {
  width: min(480px, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 1.5rem;
  border: 1px solid #dce4ef;
  border-radius: 12px;
  color: #14233d;
  background: #fff;
  box-shadow: 0 24px 80px rgba(10, 25, 50, 0.2);
}
.resource-share::backdrop { background: rgba(10, 25, 50, 0.45); }
.resource-share-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.resource-share-heading h2 { margin: 0; font-size: 1.25rem; line-height: 1.4; }
.resource-share-close { flex: 0 0 40px; height: 40px; border: 0; border-radius: 6px; background: #f1f4f9; color: #14233d; font-size: 1.5rem; cursor: pointer; }
.resource-share p { margin: 1rem 0; color: #526078; font-size: 0.9375rem; line-height: 1.6; }
.resource-share label { display: block; margin-bottom: 0.5rem; font-size: 0.875rem; font-weight: 700; }
.resource-share input { width: 100%; min-width: 0; padding: 0.75rem; border: 1px solid #b7c5d8; border-radius: 6px; background: #f7f9fc; color: #26344e; font-size: 0.875rem; }
.resource-share-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.resource-share-actions .academy-button--primary { color: #fff; background: #2f63dc; }
.resource-share :is(button, input):focus-visible { outline: 3px solid #315fd3; outline-offset: 3px; }
.resource-share .resource-share-status { margin-bottom: 0; }
.resource-share-status:empty { display: none; }
@media (max-width: 767px) {
  .resource-shell {
    width: calc(100% - 2.5rem);
  }
  .resource-hero {
    padding: 108px 0 2rem;
  }
  .resource-breadcrumb {
    margin-bottom: 1.25rem;
  }
  .resource-summary {
    font-size: 1rem;
    line-height: 1.7;
  }
  .resource-main {
    padding: 2rem 0 3rem;
  }
  .resource-detail .academy-prose p,
  .resource-detail .academy-prose li,
  .resource-detail .academy-prose .article-markdown > p:first-child {
    font-size: 1rem;
    line-height: 1.75;
  }
  .resource-detail .academy-completion {
    padding: 1.25rem;
  }
  .resource-detail .academy-module-card {
    padding: 1.25rem;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.75rem;
  }
  .resource-detail .academy-module-number {
    width: 2rem;
    height: 2rem;
  }
  .resource-detail .academy-prose .resource-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
