/* Common reading layout for the editorial PPL guides. */
body.gcm-editorial-guide {
  background:var(--gray-100,#f0f2f5);
}

.gcm-editorial-guide .gcm-article-page {
  padding-block:12px 32px;
}

.gcm-editorial-guide .gcm-shell { width:100% }

.gcm-editorial-guide .secondary-header .back-link-secondary {
  min-height:32px;
}

.gcm-guide-header {
  --fd-public-heading:#135dac;
  grid-template-columns:minmax(0,1fr) auto;
  padding:12px 16px;
  border-radius:12px;
  background:linear-gradient(110deg,#f3f8ff,#e5f0fc);
  box-shadow:none;
}
.gcm-guide-header .fd-compact-header-copy h1 {
  font-size:clamp(21px,1.65vw,25px);
  font-weight:700;
  letter-spacing:-.015em;
}

.gcm-guide-header .fd-compact-header-copy > p {
  margin:4px 0 0;
  color:#3d6386;
  font-size:14px;
  line-height:1.45;
  font-weight:400;
}

.gcm-guide-header .gcm-article-meta {
  gap:2px 12px;
  margin-top:4px;
  font-size:12px;
  font-weight:600;
}

.gcm-guide-index {
  display:flex;
  flex-wrap:wrap;
  gap:4px;
  justify-self:end;
  min-width:0;
}
.gcm-guide-index a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:4px 8px;
  border:1px solid #d4e3f2;
  border-radius:7px;
  background:#fff;
  color:#175b98;
  font-size:13px;
  font-weight:600;
  text-align:center;
  text-decoration:none;
}
.gcm-guide-index a:hover { background:#e8f1fc;border-color:#b9d1e9 }

.gcm-editorial-guide :is(#guide-reading,#metar-lab-title,#guide-sources-title,#guide-faq-title) {
  scroll-margin-top:16px;
}

.gcm-editorial-guide .gcm-article-layout {
  grid-template-columns:minmax(0,1fr) minmax(210px,265px);
  gap:12px;
  padding:0;
}

.gcm-editorial-guide :is(.gcm-article-content,.gcm-article-aside,.gcm-interactive-band,
  .gcm-sources-band,.gcm-faq-band,.gcm-related-band,.gcm-article-cta,.gcm-worked-examples) {
  min-width:0;
  padding:clamp(12px,1.2vw,18px);
  border:1px solid #dbe7f3;
  border-radius:14px;
  background:#fff;
}

.gcm-editorial-guide .gcm-article-content {
  font-size:16px;
  line-height:1.65;
}
.gcm-editorial-guide .gcm-article-content h2 {
  margin:24px 0 8px;
  font-size:clamp(19px,1.6vw,22px);
  font-weight:700;
}
.gcm-editorial-guide .gcm-article-content h2:first-child { margin-top:0 }
.gcm-editorial-guide .gcm-article-content h3 { margin:18px 0 6px;font-size:17px;font-weight:700 }
.gcm-editorial-guide .gcm-article-content p { margin-bottom:13px }
.gcm-editorial-guide .gcm-article-content blockquote {
  margin:18px 0;
  padding:10px 13px;
  border-left-width:3px;
  border-radius:6px;
  font-weight:600;
}
.gcm-editorial-guide .gcm-article-content > :last-child { margin-bottom:0 }
.gcm-editorial-guide .gcm-article-content table { font-size:14px }
.gcm-editorial-guide .gcm-article-content th { font-weight:700 }
.gcm-editorial-guide .gcm-article-aside { gap:8px;background:#f8fbff }
.gcm-editorial-guide .gcm-article-aside :is(p,small) { font-size:13px }

.gcm-editorial-guide :is(.gcm-interactive-band,.gcm-sources-band,.gcm-faq-band,.gcm-related-band,.gcm-article-cta,.gcm-worked-examples) {
  margin-top:12px;
}
.gcm-editorial-guide .gcm-section-head { margin-bottom:12px }
.gcm-editorial-guide :is(.gcm-section-head,.gcm-article-cta,.gcm-worked-examples) h2 {
  font-size:clamp(19px,1.6vw,22px);
  font-weight:700;
}
.gcm-editorial-guide .gcm-decoder {
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  border-radius:10px;
  box-shadow:none;
}
.gcm-editorial-guide .gcm-decoder :is(.gcm-decoder-controls,.gcm-decoder-output) { min-width:0;padding:14px }
.gcm-editorial-guide .gcm-decoder textarea { font-size:16px;min-height:120px }
.gcm-editorial-guide .gcm-decoder-actions button { font-size:13px;min-height:44px }
.gcm-editorial-guide .gcm-token-legend span { font-size:11px }
.gcm-editorial-guide .gcm-token-stream { font-size:15px }
.gcm-editorial-guide .gcm-token { font-size:14px;min-height:35px }
.gcm-editorial-guide .gcm-token-detail strong { font-size:16px }
.gcm-editorial-guide .gcm-token-detail p { font-size:15px }
.gcm-editorial-guide .gcm-interactive-warning { font-size:13px }

@media (max-width:980px) {
  .gcm-editorial-guide :is(.gcm-article-layout,.gcm-decoder) { grid-template-columns:minmax(0,1fr) }
}
@media (max-width:720px) {
  .gcm-editorial-guide .secondary-header .back-link-secondary { min-height:44px }
  .gcm-guide-header { grid-template-columns:minmax(0,1fr);row-gap:6px;padding:10px 12px }
  .gcm-guide-index { justify-self:stretch }
  .gcm-guide-index a { min-height:44px }
}
@media (max-width:480px) {
  .gcm-guide-header .fd-compact-header-copy > p { font-size:13px;line-height:1.4 }
  .gcm-guide-index { display:grid;grid-template-columns:repeat(auto-fit,minmax(54px,1fr)) }
  .gcm-guide-index a { min-width:0;padding-inline:2px;font-size:12px }
}

.gcm-worked-examples > h2 { margin:0 0 10px }
.gcm-example-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px }
.gcm-example {
  min-width:0;
  padding:12px;
  border:1px solid #dce8f4;
  border-radius:10px;
  background:#f8fbff;
}
.gcm-example h3 { margin:0 0 8px;font-size:16px;font-weight:700 }
.gcm-example pre {
  margin:0;
  padding:8px 10px;
  border-radius:7px;
  background:#eaf3fd;
  color:#174f88;
  font-size:13px;
  line-height:1.5;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
.gcm-example dl { display:grid;gap:7px;margin:10px 0 0;font-size:14px;line-height:1.5 }
.gcm-example dt { color:#174f88;font-weight:700;overflow-wrap:anywhere }
.gcm-example dd { margin:2px 0 0 }
@media (max-width:720px) {
  .gcm-example-grid { grid-template-columns:minmax(0,1fr) }
}
