.aviation-handbook-detail-page {
  --manual-navy: #17365d;
  --manual-deep: #102c4d;
  --manual-blue: #0088cc;
  --manual-sky: #eaf6fc;
  --manual-ink: #273f52;
  --manual-muted: #607487;
  --manual-line: #d7e3eb;
  background: #f6f9fb;
  color: var(--manual-ink);
  font-family: "Open Sans", Arial, sans-serif;
}

.aviation-handbook-detail-page .page-header { margin-bottom: 0; }
.aviation-handbook-detail-page .breadcrumb > li.fsl-handbook-siblings::before { content: none; padding: 0; }
.aviation-handbook-detail-page .breadcrumb > li.fsl-handbook-siblings { float: right; }
.fsl-handbook-siblings-sep { margin: 0 8px; color: #aab5bf; }

.handbook-hero {
  padding: 25px 0 clamp(48px, 6vw, 72px);
  border-bottom: 1px solid var(--manual-line);
  background:
    radial-gradient(circle at 82% 18%, rgba(0, 136, 204, .10), transparent 28%),
    linear-gradient(135deg, #fff 0%, #f9fcfe 100%);
}

.handbook-hero-grid { display: grid; grid-template-columns: minmax(250px, .62fr) minmax(0, 1.38fr); align-items: center; gap: clamp(44px, 7vw, 86px); }
.handbook-cover-stage { margin: 0; text-align: center; perspective: 1200px; }
.handbook-cover {
  position: relative;
  width: min(100%, 330px);
  margin: 0 auto;
  padding: 8px 9px 9px 13px;
  border-radius: 4px 12px 12px 4px;
  background: linear-gradient(90deg, #102b48 0, #315474 9px, #f7f4ec 10px, #fff 100%);
  box-shadow: -13px 17px 30px rgba(15, 38, 59, .20), 13px 20px 44px rgba(15, 38, 59, .14);
  transform: rotateY(5deg) rotateZ(-1deg);
}
.handbook-cover::after { position: absolute; right: 7px; bottom: 2px; left: 13px; height: 8px; border-radius: 50%; background: rgba(20, 43, 64, .11); content: ''; filter: blur(3px); }
.handbook-cover img { position: relative; z-index: 1; display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; border: 1px solid rgba(16, 44, 77, .15); border-radius: 2px 7px 7px 2px; background: #eef3f6; object-fit: cover; }
.handbook-cover-stage figcaption { margin-top: 22px; color: #728393; font-size: 11px; font-weight: 700; letter-spacing: .04em; }

.handbook-eyebrow { margin: 0 0 9px; color: #087ca9; font-size: 11px; font-weight: 800; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; }
.handbook-hero-copy h2 { margin: 0; color: var(--manual-navy); font-size: clamp(31px, 4vw, 49px); font-weight: 800; line-height: 1.09; letter-spacing: -.035em; }
.handbook-lead { max-width: 760px; margin: 19px 0 20px; color: #405b70; font-size: 18px; line-height: 1.67; }
.handbook-verified { display: inline-grid; grid-template-columns: 30px auto; grid-template-rows: auto auto; align-items: center; margin-bottom: 23px; padding: 9px 14px 9px 10px; border: 1px solid #b9ddce; border-radius: 999px; background: #f2fbf7; color: #2e6250; }
.handbook-verified > span { display: inline-flex; grid-row: 1 / 3; width: 24px; height: 24px; align-items: center; justify-content: center; border-radius: 50%; background: #318965; color: #fff; font-size: 10px; }
.handbook-verified strong { font-size: 11px; line-height: 1.2; }
.handbook-verified small { color: #547365; font-size: 9px; line-height: 1.25; }
.handbook-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin: 0; overflow: hidden; border: 1px solid var(--manual-line); border-radius: 9px; background: #fff; }
.handbook-facts div { min-width: 0; padding: 15px 17px; }
.handbook-facts div:nth-child(even) { border-left: 1px solid var(--manual-line); }
.handbook-facts div:nth-child(n+3) { border-top: 1px solid var(--manual-line); }
.handbook-facts dt { margin-bottom: 4px; color: var(--manual-muted); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.handbook-facts dd { margin: 0; color: var(--manual-navy); font-size: 13px; font-weight: 800; line-height: 1.45; }
.handbook-actions { display: flex; align-items: center; gap: 14px 22px; margin-top: 24px; }
.handbook-primary-action { min-height: 47px; padding: 12px 20px; border-radius: 6px; font-size: 13px; font-weight: 800; }
.handbook-secondary-action { display: inline-flex; min-height: 44px; align-items: center; gap: 6px; color: #0878ae; font-size: 12px; font-weight: 800; }
.handbook-secondary-action:hover, .handbook-secondary-action:focus { color: #005b86; text-decoration: underline; }

.handbook-content { padding-top: clamp(42px, 6vw, 64px); padding-bottom: clamp(48px, 6vw, 72px); scroll-margin-top: 85px; }
.handbook-content-card { margin-bottom: 22px; border: 1px solid var(--manual-line); border-radius: 9px; background: #fff; box-shadow: 0 7px 22px rgba(23, 54, 93, .055); }
.handbook-content-card-inner { padding: 27px 29px 29px; }
.handbook-content-card h2, .handbook-source-card h2, .handbook-sidebar-note h2 { position: relative; margin: 0 0 18px; padding-bottom: 13px; color: var(--manual-navy); font-size: 24px; font-weight: 800; line-height: 1.3; }
.handbook-content-card h2::after, .handbook-source-card h2::after { position: absolute; bottom: 0; left: 0; width: 50px; height: 3px; border-radius: 99px; background: var(--manual-blue); content: ''; }
.handbook-content-card h3 { margin: 25px 0 8px; color: #26465f; font-size: 16px; font-weight: 800; }
.handbook-content-card p, .handbook-content-card li { color: #465f72; font-size: 15px; line-height: 1.73; }
.handbook-topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.handbook-topic-grid > div { display: flex; min-height: 78px; align-items: center; gap: 13px; padding: 14px; border: 1px solid #dbe8ef; border-radius: 7px; background: #f8fcfe; }
.handbook-topic-grid span { display: inline-flex; width: 29px; height: 29px; flex: 0 0 29px; align-items: center; justify-content: center; border-radius: 50%; background: #dff2fa; color: #0878ae; font-size: 10px; font-weight: 800; }
.handbook-topic-grid p { margin: 0; color: #294a64; font-size: 13px; font-weight: 700; line-height: 1.45; }
.handbook-study-steps { margin: 20px 0 0; padding: 0; list-style: none; counter-reset: study-step; }
.handbook-study-steps li { position: relative; margin-bottom: 12px; padding-left: 40px; counter-increment: study-step; }
.handbook-study-steps li::before { position: absolute; top: 0; left: 0; display: inline-flex; width: 27px; height: 27px; align-items: center; justify-content: center; border: 1px solid #b9d9e9; border-radius: 4px; background: #eef8fc; color: #0878ae; content: counter(study-step); font-size: 10px; font-weight: 800; }
.handbook-revision-card { border-left: 4px solid #d7ad55; background: #fffdf8; }
.handbook-reviewed-line { margin-bottom: 0; color: #687989 !important; font-size: 12px !important; }

.handbook-sidebar { position: sticky; top: 20px; }
.handbook-sidebar-note, .handbook-source-card { margin-bottom: 20px; padding: 23px; border: 1px solid var(--manual-line); border-radius: 8px; background: #fff; }
.handbook-sidebar-note { border-top: 4px solid var(--manual-blue); }
.handbook-sidebar-icon { display: inline-flex; width: 34px; height: 34px; margin-bottom: 13px; align-items: center; justify-content: center; border-radius: 50%; background: #e5f4fa; color: #0878ae; }
.handbook-sidebar-note h2, .handbook-source-card h2 { font-size: 18px; }
.handbook-sidebar-note h2 { padding: 0; }
.handbook-sidebar-note p, .handbook-source-card p { margin-bottom: 0; color: #536a7b; font-size: 13px; line-height: 1.68; }
.handbook-source-card p { margin-bottom: 14px; }
.handbook-source-card a { display: inline-flex; min-height: 44px; align-items: center; gap: 7px; color: #0878ae; font-size: 12px; font-weight: 800; }

.handbook-related { padding-top: 25px; }
.handbook-related > h2 { position: relative; margin: 0 0 25px; padding-bottom: 14px; color: var(--manual-navy); font-size: clamp(26px, 3vw, 35px); font-weight: 400; }
.handbook-related > h2 strong { font-weight: 800; }
.handbook-related > h2::after { position: absolute; bottom: 0; left: 0; width: 68px; height: 3px; background: var(--manual-blue); content: ''; }
.handbook-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.handbook-related-card { display: grid; grid-template-columns: 74px minmax(0, 1fr); min-height: 156px; gap: 16px; padding: 16px; border: 1px solid var(--manual-line); border-radius: 8px; background: #fff; color: inherit; box-shadow: 0 5px 16px rgba(23, 54, 93, .045); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.handbook-related-card:hover, .handbook-related-card:focus { border-color: #8fc8e7; color: inherit; box-shadow: 0 10px 24px rgba(23,54,93,.10); text-decoration: none; transform: translateY(-2px); }
.handbook-related-card img { width: 74px; height: 99px; border: 1px solid #d3dee5; border-radius: 2px; object-fit: cover; box-shadow: 0 5px 12px rgba(16, 44, 77, .14); }
.handbook-related-card span { min-width: 0; }
.handbook-related-card small { display: block; margin-bottom: 6px; color: #087ca9; font-size: 9px; font-style: normal; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.handbook-related-card strong { display: block; color: var(--manual-navy); font-size: 14px; line-height: 1.35; }
.handbook-related-card em { display: block; margin-top: 8px; color: #6d7e8c; font-family: "Courier New", monospace; font-size: 10px; font-style: normal; font-weight: 700; }
.handbook-not-found { padding: 55px 15px 70px; text-align: center; }
.aviation-handbook-detail-page > .call-to-action-in-footer { margin-top: 0; }

.aviation-handbook-detail-page a:focus-visible { outline: 3px solid rgba(0, 136, 204, .38); outline-offset: 3px; }

@media (max-width: 991px) {
  .handbook-hero-grid { grid-template-columns: 235px minmax(0, 1fr); gap: 36px; }
  .handbook-cover { width: 225px; }
  .handbook-related-grid { grid-template-columns: 1fr; }
  .handbook-sidebar { position: static; }
}

@media (max-width: 767px) {
  .aviation-handbook-detail-page .breadcrumb > li.fsl-handbook-siblings { display: block; float: none; margin-top: 8px; }
  .handbook-hero { padding-top: 20px; }
  .handbook-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .handbook-cover { width: min(72vw, 275px); transform: rotateY(3deg) rotateZ(-1deg); }
  .handbook-hero-copy { text-align: left; }
  .handbook-hero-copy h2 { font-size: 31px; }
  .handbook-lead { font-size: 16px; }
  .handbook-facts { grid-template-columns: minmax(0, 1fr); }
  .handbook-facts div:nth-child(even) { border-left: 0; }
  .handbook-facts div + div { border-top: 1px solid var(--manual-line); }
  .handbook-actions { align-items: stretch; flex-direction: column; }
  .handbook-primary-action, .handbook-secondary-action { width: 100%; justify-content: center; text-align: center; }
  .handbook-content-card-inner { padding: 23px 20px 24px; }
  .handbook-topic-grid { grid-template-columns: minmax(0, 1fr); }
  .handbook-related-card { grid-template-columns: 68px minmax(0, 1fr); }
  .handbook-related-card img { width: 68px; height: 91px; }
}

@media (prefers-reduced-motion: reduce) {
  .handbook-related-card { transition: none; }
  .handbook-cover { transform: none; }
}

