.skipLink {
  background: #ffffff;
  border: 2px solid #b8944a;
  border-radius: 8px;
  color: #10243e;
  font-weight: 800;
  left: 12px;
  padding: 10px 14px;
  position: fixed;
  top: -80px;
  z-index: 1000;
}

.skipLink:focus {
  top: 12px;
}

.authMsg.success {
  color: #365c3b;
}

.sourceControl {
  background: #f7f1e5;
  border-left: 3px solid #b8944a;
  color: #3f4f61;
  font-size: 12px;
  line-height: 1.6;
  padding: 8px 10px;
}

.sourceControl a {
  color: #12386f;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

button,
[role="button"],
input,
select,
a {
  outline-offset: 3px;
}

:focus-visible {
  outline: 3px solid #d9ad45;
}

@media (max-width: 620px) {
  .modal {
    border-radius: 16px;
    max-height: 94vh;
    padding: 18px;
    width: 100%;
  }

  .authGate {
    align-items: flex-start;
    overflow-y: auto;
    padding: 10px;
  }

  .authShell {
    margin: 10px 0;
    width: 100%;
  }

  .adminTableWrap {
    max-width: calc(100vw - 44px);
  }

  button,
  .chip,
  .filter,
  .authTab {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Defer layout and paint work for the long-form curriculum below the dashboard. */
main > section:not(:first-child),
body > section {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

@media print {
  .skipLink {
    display: none !important;
  }
}

/* Version 45.7: Busy Professional Experience Layer. */
.busyDesk {
  background: linear-gradient(135deg, #10243e 0%, #193d68 64%, #1d716f 100%);
  border: 1px solid #c8a34a;
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(16, 36, 62, 0.16);
  color: #fff;
  margin-bottom: 22px;
  padding: clamp(22px, 3vw, 34px);
}

.busyDeskTop,
.busyTimeRow,
.busyRecommendation,
.busyNew {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.busyDesk h2 {
  color: #fff;
  font-family: Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  margin: 5px 0 7px;
}

.busyDesk p { color: #e8eef6; margin: 0; }
.busyDesk .eyebrow { color: #efd98f; }

.busyRole,
.recommendLabel {
  color: #f3d875;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.busyRole {
  border: 1px solid rgba(243, 216, 117, 0.7);
  border-radius: 999px;
  padding: 8px 12px;
}

.busyIntentGrid {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 22px 0 16px;
}

.busyIntentGrid button,
.busyTimeRow button,
.resourceAudienceFilters button {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  min-height: 42px;
  padding: 9px 13px;
}

.busyIntentGrid button.active,
.busyTimeRow button.active {
  background: #d7ad4d;
  border-color: #d7ad4d;
  color: #10243e;
}

.busyTimeRow > div { display: flex; flex-wrap: wrap; gap: 8px; }

.busyTimeStatus {
  color: #f8e9b1 !important;
  font-size: 0.82rem;
  font-weight: 800;
  margin-top: 9px !important;
  text-align: right;
}

.busyRecommendation {
  background: #fff;
  border-radius: 15px;
  color: #142641;
  margin-top: 18px;
  padding: 18px 20px;
}

.busyRecommendation h3 {
  color: #142641;
  font-family: Georgia, serif;
  font-size: 1.35rem;
  margin: 3px 0 4px;
}

.busyRecommendation p { color: #45556d; }
.busyRecommendation small { color: #65748a; display: block; margin-top: 5px; }
.recommendTime {
  background: #f6eed9;
  border: 1px solid #d7ad4d;
  border-radius: 999px;
  color: #6d5318;
  display: inline-block;
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-left: 9px;
  padding: 4px 8px;
}

.busyRecommendationUpdated {
  animation: busyRecommendationPulse 650ms ease-out;
}

@keyframes busyRecommendationPulse {
  0% { box-shadow: 0 0 0 0 rgba(243, 216, 117, 0.95); transform: translateY(-2px); }
  100% { box-shadow: 0 0 0 12px rgba(243, 216, 117, 0); transform: translateY(0); }
}
.busyRecommendation button {
  background: #10243e;
  border: 1px solid #10243e;
  border-radius: 10px;
  color: #fff;
  flex: 0 0 auto;
  font-weight: 900;
  min-height: 44px;
  padding: 11px 16px;
}

.busyNew {
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.84rem;
  margin-top: 17px;
  padding-top: 14px;
}

.busyNew span { color: #e8eef6; }
.busyNew a { color: #f3d875; font-weight: 900; }

.experienceMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -1px 0 10px;
}

.experienceMeta span {
  background: #edf3f8;
  border-radius: 999px;
  color: #3d526d;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 5px 8px;
}

.saveCourse,
.saveResource {
  background: #fff;
  border: 1px solid #b8944a;
  border-radius: 9px;
  color: #10243e;
  font-weight: 800;
  min-height: 40px;
  padding: 8px 12px;
}

.activityAction {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  text-align: left;
  width: 100%;
}

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

.memberWorkspace > div {
  background: #fff;
  border: 1px solid #d8dfeb;
  border-radius: 15px;
  padding: 18px;
}

.memberWorkspace h3 { color: #142641; font-family: Georgia, serif; margin: 0 0 12px; }
.memberWorkspace p { color: #65748a; }

.workspaceItem,
.workspaceItem > button:first-child {
  align-items: center;
  background: #f7f9fc;
  border: 1px solid #dce3ed;
  border-radius: 10px;
  color: #142641;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 8px;
  padding: 11px 12px;
  text-align: left;
  width: 100%;
}

.workspaceItem span { display: grid; gap: 3px; }
.workspaceItem small { color: #65748a; }
.workspaceItem strong { color: #9a7624; white-space: nowrap; }
.workspaceItem > button:first-child { border: 0; margin: 0; padding: 0; }
.workspaceRemove { background: transparent; border: 0; color: #7a3c3c; font-size: 1.3rem; }

.resourceAudienceFilters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.resourceAudienceFilters button { background: #fff; border-color: #b9c5d5; color: #203753; }
.resourceAudienceFilters button.active { background: #10243e; border-color: #10243e; color: #fff; }

.modalExperienceSummary {
  background: #f3f7fb;
  border: 1px solid #d4deea;
  border-left: 4px solid #c8a34a;
  border-radius: 12px;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 0.7fr 1.3fr auto;
  margin: 16px 0 22px;
  padding: 14px;
}

.modalExperienceSummary div { display: grid; gap: 4px; }
.modalExperienceSummary span { color: #8a6b26; font-size: 0.67rem; font-weight: 900; letter-spacing: 0.07em; }
.modalExperienceSummary b { color: #203753; font-size: 0.83rem; }
.modalExperienceSummary button { align-self: center; background: #10243e; border: 0; border-radius: 9px; color: #fff; font-weight: 900; min-height: 40px; padding: 8px 12px; }

abbr[data-glossary] {
  border-bottom: 2px dotted #9a7624;
  cursor: help;
  text-decoration: none;
}

.learningFeedback {
  align-items: center;
  background: #f7f1e5;
  border: 1px solid #dec988;
  border-radius: 12px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin: 24px 0 12px;
  padding: 15px;
}

.learningFeedback > div:first-child { display: grid; gap: 3px; }
.learningFeedback small { color: #5f6c7d; }
.learningFeedback button { background: #fff; border: 1px solid #b8944a; border-radius: 999px; color: #10243e; font-weight: 800; min-height: 38px; padding: 7px 12px; }

.academyGlossary,
.capabilityGrid { display: grid; gap: 12px; }
.academyGlossary > div { background: #f6f8fb; border-radius: 9px; padding: 12px; }
.academyGlossary dt { color: #142641; font-family: Georgia, serif; font-size: 1.05rem; font-weight: 800; }
.academyGlossary dd { color: #45556d; line-height: 1.5; margin: 5px 0 0; }
.capabilityGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 20px 0; }
.capabilityGrid article { border: 1px solid #d8dfeb; border-radius: 12px; padding: 15px; }
.capabilityGrid h3 { color: #142641; font-family: Georgia, serif; margin: 0 0 11px; }
.capabilityGrid article div { align-items: baseline; display: flex; gap: 8px; }
.capabilityGrid strong { color: #9a7624; font-size: 1.5rem; }
.capabilityGrid span { color: #5c6a7d; }

.bmcCommunityChoices > div {
  align-items: start;
  display: grid;
  gap: 10px;
}

.bmcCommunityChoices button {
  justify-self: start;
  margin-top: 4px;
}

.bmcCommunityPrimary {
  margin-top: 20px;
}

.bmcCommunityPrimary > div {
  border-top: 4px solid #b8944a;
  padding: 18px;
}

.communityGuideFeature {
  align-items: stretch;
  background: linear-gradient(135deg, #10243e 0%, #163b5d 100%);
  border: 1px solid #b8944a;
  border-radius: 18px;
  color: #fff;
  display: grid;
  gap: 22px;
  grid-template-columns: 180px minmax(0, 1fr);
  margin: 20px 0;
  overflow: hidden;
  padding: 18px;
}

.communityGuideFeature > img {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  height: 100%;
  max-height: 235px;
  object-fit: cover;
  object-position: top;
  width: 100%;
}

.communityGuideFeature h3 {
  color: #fff;
  font: 700 1.55rem Georgia, serif;
  margin: 7px 0 8px;
}

.communityGuideFeature p { color: #dbe6ef; line-height: 1.55; margin: 0 0 12px; }
.communityGuideFeatureSecondary {
  grid-template-columns: 120px minmax(0, 1fr);
  margin-bottom: 8px;
}
.communityGuideFeatureSecondary > img {
  max-height: 165px;
  object-fit: cover;
  object-position: top;
}
.communityGuideTag { color: #e5c66d; font-size: 0.7rem; font-weight: 900; letter-spacing: 0.08em; }
.communityAudienceGrid,
.communityDecisionStrip,
.committeeWelcomePaths { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.communityAudienceGrid > div { background: rgba(255, 255, 255, 0.09); border-radius: 10px; display: grid; gap: 5px; padding: 11px; }
.communityAudienceGrid span { color: #dbe6ef; font-size: 0.82rem; line-height: 1.45; }
.communityGuideActions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.communityGuideActions a { text-decoration: none; }
.communityGuideActions .secondary { background: transparent; border-color: #d9bf83; color: #fff; }
.communityDecisionStrip { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 18px 0; }
.communityDecisionStrip > div { background: #fff; border: 1px solid #d8dfeb; border-top: 3px solid #b8944a; border-radius: 11px; display: grid; gap: 5px; padding: 12px; }
.communityDecisionStrip b { color: #10243e; font-size: 0.82rem; }
.communityDecisionStrip span { color: #5c6875; font-size: 0.76rem; line-height: 1.4; }
.communityShareNote { border-top: 1px solid #ded3b6; color: #5c6875; font-size: 0.78rem; line-height: 1.5; margin: 18px 0 0; padding-top: 12px; }

.committeeWelcomeGuide {
  align-items: stretch;
  background: linear-gradient(135deg, #fff 0%, #f7f0df 100%);
  border: 1px solid #d9bf83;
  border-radius: 22px;
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(180px, 0.36fr) minmax(0, 1fr);
  margin: 0 0 20px;
  overflow: hidden;
  padding: 22px;
}
.committeeWelcomeCover { background: #fff; border: 1px solid #d8dfeb; border-radius: 12px; min-height: 280px; overflow: hidden; }
.committeeWelcomeCover img { display: block; height: 100%; object-fit: cover; object-position: top; transition: transform 180ms ease; width: 100%; }
.committeeWelcomeCover:hover img,
.committeeWelcomeCover:focus-visible img { transform: scale(1.025); }
.committeeWelcomeGuide h3 { color: #10243e; font: 700 1.8rem Georgia, serif; margin: 8px 0; }
.committeeWelcomeGuide p { color: #5c6875; line-height: 1.6; }
.committeeWelcomePaths > div { background: #fff; border: 1px solid #d8dfeb; border-radius: 11px; display: grid; gap: 5px; padding: 12px; }
.committeeWelcomePaths b { color: #10243e; }
.committeeWelcomePaths span { color: #5c6875; font-size: 0.82rem; line-height: 1.45; }
.committeeWelcomeLicence { color: #5c6875; display: block; line-height: 1.45; margin-top: 12px; }

@media (max-width: 980px) {
  .busyIntentGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modalExperienceSummary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .busyDeskTop,
  .busyTimeRow,
  .busyRecommendation,
  .busyNew,
  .learningFeedback { align-items: stretch; flex-direction: column; }
  .busyIntentGrid,
  .memberWorkspace,
  .capabilityGrid,
  .modalExperienceSummary { grid-template-columns: 1fr; }
  .busyIntentGrid button { text-align: left; }
  .busyRecommendation button { width: 100%; }
  .busyRole { align-self: flex-start; }
  .busyTimeStatus { text-align: left; }
  .communityGuideFeature,
  .committeeWelcomeGuide { grid-template-columns: 1fr; }
  .communityGuideFeature > img { max-height: 320px; object-fit: contain; }
  .communityDecisionStrip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .committeeWelcomeCover { max-height: 360px; }
  .communityGuideActions a,
  .communityGuideActions button { text-align: center; width: 100%; }
}

@media (max-width: 480px) {
  .communityAudienceGrid,
  .communityDecisionStrip,
  .committeeWelcomePaths { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .busyRecommendationUpdated { animation: none; }
}
.authRecoveryLink {
  color: #12386f;
  font-size: 0.82rem;
  font-weight: 800;
  justify-self: start;
}

.captchaHost {
  margin: 4px 0 8px;
  min-height: 65px;
}

.accountSecurityLink {
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.adminShortcut[hidden] {
  display: none !important;
}

/* Production alignment: keep the approved welcome composition centred. */
.welcomePanel {
  padding-left: clamp(18px, 3.5vw, 46px) !important;
  padding-right: clamp(18px, 3.5vw, 46px) !important;
}

.welcomePanel .heroCrest {
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 18px !important;
  width: min(355px, 38vw) !important;
}

@media (max-width: 820px) {
  .welcomePanel .heroCrest {
    width: min(300px, 68vw) !important;
  }
}

@media (max-width: 520px) {
  .welcomePanel .heroCrest {
    margin-bottom: 16px !important;
    width: min(250px, 76vw) !important;
  }
}

/* Production navigation: balanced desktop spacing and clear account controls. */
.top .nav {
  gap: 16px;
  height: 76px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1500px;
  padding: 0 20px;
  width: min(1500px, 96vw);
}

.top .brand {
  flex: 0 0 auto;
  white-space: nowrap;
}

.top .dashSearchTop {
  flex: 1 1 320px;
  margin-left: 8px;
  max-width: 430px;
  min-width: 240px;
}

.top .links {
  flex: 0 0 auto;
  gap: 14px;
  margin-left: 0;
  white-space: nowrap;
}

.top .memberMenu {
  flex: 0 0 auto;
  gap: 10px;
  margin-left: auto;
  white-space: nowrap;
}

.top .memberTag {
  color: #ffffff;
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top .accountSecurityLink {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  min-height: 38px;
  padding: 8px 12px;
  text-decoration: none;
}

.top .memberBtn {
  background: #d9ad45;
  color: #10243e;
  min-height: 40px;
  padding: 9px 14px;
}

@media (max-width: 1300px) {
  .top .nav {
    gap: 12px;
    padding: 0 14px;
  }

  .top .dashSearchTop {
    flex-basis: 260px;
    margin-left: 4px;
    min-width: 220px;
  }

  .top .links {
    gap: 10px;
    font-size: 13px;
  }

  .top .memberTag {
    max-width: 150px;
  }
}

@media (max-width: 1120px) {
  .top .nav {
    gap: 11px;
    padding: 0 14px;
  }

  .top .dashSearchTop {
    flex-basis: 230px;
    min-width: 180px;
  }

  .top .links {
    gap: 10px;
    font-size: 12px;
  }

  .top .memberTag {
    max-width: 125px;
  }
}

@media (max-width: 900px) {
  .top .dashSearchTop,
  .top .links {
    display: none;
  }

  .top .memberMenu {
    margin-left: auto;
  }
}

@media (max-width: 620px) {
  .top .nav {
    padding: 0 10px;
  }

  .top .memberTag,
  .top .accountSecurityLink {
    display: none;
  }
}

/* Production responsive QA: keep secondary controls clear of learner content. */
@media (max-width: 1100px) {
  .v32MidNav {
    display: none !important;
  }

  .floating.askSilvestroV34 {
    bottom: calc(14px + env(safe-area-inset-bottom)) !important;
    height: 60px !important;
    left: auto !important;
    min-width: 60px !important;
    padding: 5px !important;
    right: 14px !important;
    transform: none !important;
    width: 60px !important;
  }

  .floating.askSilvestroV34:hover {
    transform: translateY(-2px) !important;
  }

  .floating.askSilvestroV34 .mini {
    flex: 0 0 48px !important;
    height: 48px !important;
    width: 48px !important;
  }

  .floating.askSilvestroV34 .askSilvestroCopy {
    display: none !important;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(86px + env(safe-area-inset-bottom)) !important;
  }
}

/* Version 21: member Workplace Resource Library. */
.workplaceResources {
  background: linear-gradient(180deg, #f7f3e8 0%, #fff 48%, #f6f8fb 100%);
}

.resourceTypeGrid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 24px 0 32px;
}

.resourceTypeGrid > div {
  background: #fff;
  border: 1px solid #d8dfeb;
  border-top: 4px solid #c8a34a;
  border-radius: 14px;
  display: grid;
  gap: 6px;
  min-height: 128px;
  padding: 20px;
}

.resourceTypeGrid span,
.resourceShelfHead span {
  color: #9a7624;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.resourceTypeGrid b {
  color: #142641;
  font-family: Georgia, serif;
  font-size: 1.2rem;
}

.resourceTypeGrid small {
  color: #53627a;
  font-size: 0.9rem;
  line-height: 1.45;
}

.resourceShelfHead,
.relatedResourceHead {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 30px 0 16px;
}

.resourceShelfHead h3,
.relatedResourceHead h3 {
  color: #142641;
  font-family: Georgia, serif;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  margin: 4px 0 0;
}

.resourceShelfHead p,
.relatedResourceHead p {
  color: #53627a;
  line-height: 1.55;
  margin: 0;
  max-width: 620px;
}

.downloadResourceCard {
  background: #fff;
  border: 1px solid #d8dfeb;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(20, 38, 65, 0.08);
  display: grid;
  gap: clamp(22px, 4vw, 42px);
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.35fr);
  overflow: hidden;
  padding: clamp(18px, 3vw, 32px);
}

.resourcePreview {
  align-items: center;
  background: #f6f2e8;
  border: 1px solid #dfc989;
  border-radius: 14px;
  display: flex;
  justify-content: center;
  min-height: 360px;
  overflow: hidden;
  padding: 12px;
}

.resourcePreview img {
  display: block;
  height: auto;
  max-height: 520px;
  max-width: 100%;
  object-fit: contain;
}

.resourceDetails {
  align-self: center;
}

.resourceDetails h3,
.resourceFileCard h3 {
  color: #142641;
  font-family: Georgia, serif;
  line-height: 1.14;
}

.resourceDetails h3 {
  font-size: clamp(1.55rem, 2.8vw, 2.4rem);
  margin: 14px 0 12px;
}

.resourceDetails > p,
.resourceFileCard > p {
  color: #45556d;
  line-height: 1.65;
}

.sourceControl {
  background: #f7f3e8;
  border-left: 4px solid #c8a34a;
  border-radius: 8px;
  color: #36465f;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 18px 0;
  padding: 12px 14px;
}

.resourceActions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.resourceActions a,
.resourceActions button {
  box-sizing: border-box;
  font-size: 0.84rem;
  min-height: 42px;
  text-align: center;
  text-decoration: none;
}

.resourceDownloadGrid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resourceFileCard {
  background: #fff;
  border: 1px solid #d8dfeb;
  border-top: 4px solid #c8a34a;
  border-radius: 15px;
  box-shadow: 0 12px 30px rgba(20, 38, 65, 0.07);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: 0 20px 20px;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.resourceFileCard:hover {
  box-shadow: 0 18px 38px rgba(20, 38, 65, 0.13);
  transform: translateY(-3px);
}

.resourceFileCard h3 {
  font-size: 1.2rem;
  margin: 18px 0 8px;
}

.resourceFileCard > p {
  flex: 1 1 auto;
  font-size: 0.92rem;
  margin: 0;
}

.resourceFileCard .sourceControl {
  font-size: 0.82rem;
  margin: 14px 0 0;
}

.fileKind {
  align-self: flex-start;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  padding: 7px 10px;
  text-transform: uppercase;
}

.fileKindGuide {
  background: #eaf1f8;
  color: #173c70;
}

.fileKindSheet {
  background: #e4f3ef;
  color: #176653;
}

.resourceCardPreview {
  align-items: center;
  background: linear-gradient(150deg, #edf3f9, #f8f4e9);
  border-bottom: 1px solid #d8dfeb;
  display: flex;
  height: 280px;
  justify-content: center;
  margin: 0 -20px;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.resourceCardPreview::after {
  background: linear-gradient(180deg, transparent 55%, rgba(12, 36, 66, 0.16));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.resourceCardPreview img {
  display: block;
  height: 100%;
  object-fit: cover;
  position: relative;
  transform: scale(1.002);
  transition: transform 180ms ease;
  width: 100%;
  z-index: 1;
}

.resourceCardPreview:hover img,
.resourceCardPreview:focus-visible img {
  transform: scale(1.035);
}

.resourceCardPreview .fileKind {
  left: 14px;
  position: absolute;
  top: 14px;
  z-index: 2;
}

.resourcePdfCard .resourceActions {
  border-top: 1px solid #edf0f5;
  padding-top: 16px;
}

.resourceSheetCard {
  border-top-color: #1b887d;
  padding-top: 0;
}

/* Use the approved full Academy crest wherever the compact brand mark appears. */
.brand > .crest,
.authBrand > div > .crest {
  background: center / contain no-repeat url("/academy-assets/606c15ada437575f3148.webp");
  border: 0;
  color: transparent;
  flex: 0 0 auto;
  font-size: 0;
  height: 48px;
  overflow: visible;
  width: 48px;
}

.top .brand > .crest {
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.22));
}

.authBrand > div > .crest {
  height: 64px;
  width: 64px;
}

footer .brand > .crest {
  height: 58px;
  width: 58px;
}

@media (max-width: 980px) {
  .resourceDownloadGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .resourceTypeGrid,
  .downloadResourceCard,
  .resourceDownloadGrid {
    grid-template-columns: 1fr;
  }

  .resourceShelfHead,
  .relatedResourceHead {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .resourcePreview {
    min-height: 0;
  }

  .resourcePreview img {
    max-height: 460px;
  }

  .resourceCardPreview {
    height: 250px;
  }

  .resourceActions a,
  .resourceActions button {
    width: 100%;
  }

  .top .brand > .crest {
    height: 38px;
    width: 38px;
  }
}
