/* =========================================================
   Gluegun Usage & Manual Guide (/gluegun/guide/)
   - Scoped strictly under .gg-manual (zero bleed to other pages)
   - Print-friendly layout included for shop-floor reference
   ========================================================= */

.gg-manual {
  --gm-navy: #0e2f47;
  --gm-navy-dark: #081c2c;
  --gm-navy-mid: #164060;
  --gm-orange: #e97730;
  --gm-orange-dark: #c95d1a;
  --gm-red: #b91c1c;
  --gm-red-bg: #fef2f2;
  --gm-red-border: #fecaca;
  --gm-amber: #b45309;
  --gm-amber-bg: #fffbeb;
  --gm-amber-border: #fde68a;
  --gm-green: #0f766e;
  --gm-green-bg: #f0fdfa;
  --gm-green-border: #99f6e4;
  --gm-blue: #1d4ed8;
  --gm-blue-bg: #eff6ff;
  --gm-blue-border: #bfdbfe;
  --gm-text: #1e293b;
  --gm-muted: #52677a;
  --gm-border: #d7e3ee;
  --gm-surface: #f8fafc;
  --gm-shadow: 0 10px 28px rgba(14, 47, 71, 0.07);
  --gm-radius: 16px;

  color: var(--gm-text);
  background: #ffffff;
}

.gg-manual h1,
.gg-manual h2,
.gg-manual h3,
.gg-manual h4 {
  font-feature-settings: "palt" 1;
  letter-spacing: 0.02em;
}

.gg-manual section[id] {
  scroll-margin-top: 96px;
}

.gm-container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

/* --- Breadcrumb --- */
.gm-breadcrumb-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--gm-border);
  padding: 10px 0;
}

.gg-manual .gm-breadcrumb-bar .breadcrumb {
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Hero --- */
.gm-hero {
  position: relative;
  overflow: hidden;
  padding: 52px 0 48px;
  background: linear-gradient(135deg, var(--gm-navy-dark) 0%, var(--gm-navy) 55%, var(--gm-navy-mid) 100%);
  color: #ffffff;
}

.gm-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(233, 119, 48, 0.22) 0%, rgba(233, 119, 48, 0) 55%);
  pointer-events: none;
}

.gm-hero__inner {
  position: relative;
  z-index: 1;
}

.gm-hero__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-bottom: 16px;
}

.gm-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fde68a;
}

.gm-print-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.gm-print-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
}

.gm-hero__title {
  margin: 0 0 14px;
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
}

.gm-hero__lead {
  max-width: 820px;
  margin: 0 0 16px;
  font-size: 0.98rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
}

.gm-hero__note {
  margin: 0 0 26px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.09);
  border-left: 4px solid var(--gm-orange);
  font-size: 0.84rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

/* --- Quick TOC --- */
.gm-toc {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.gm-toc__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.gm-toc__link:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
}

.gm-toc__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--gm-orange);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
}

/* --- Section Base --- */
.gm-section {
  padding: 56px 0;
}

.gm-section--tinted {
  background: var(--gm-surface);
  border-top: 1px solid var(--gm-border);
  border-bottom: 1px solid var(--gm-border);
}

.gm-section__head {
  margin-bottom: 28px;
}

.gm-section__eyebrow {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 11px;
  border-radius: 999px;
  background: #e6f0f8;
  color: var(--gm-navy);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.gm-section__eyebrow--danger {
  background: #fee2e2;
  color: var(--gm-red);
}

.gm-section__title {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 800;
  color: var(--gm-navy);
  line-height: 1.35;
}

.gm-section__lead {
  margin: 0;
  font-size: 0.94rem;
  color: var(--gm-muted);
  line-height: 1.75;
}

/* --- 1. Safety Warning Grid --- */
.gm-warning-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--gm-red);
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
}

.gm-warning-banner i {
  font-size: 1.25rem;
  color: #fde047;
}

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

.gm-warning-card {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 20px;
  border-radius: var(--gm-radius);
  background: #ffffff;
  border: 2px solid var(--gm-red-border);
  box-shadow: var(--gm-shadow);
}

.gm-warning-card--caution {
  border-color: var(--gm-amber-border);
}

.gm-warning-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.gm-warning-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gm-red-bg);
  color: var(--gm-red);
  font-size: 1.25rem;
}

.gm-warning-card--caution .gm-warning-icon {
  background: var(--gm-amber-bg);
  color: var(--gm-amber);
}

.gm-warning-badge {
  display: inline-block;
  margin-bottom: 3px;
  padding: 1px 8px;
  border-radius: 4px;
  background: var(--gm-red);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
}

.gm-warning-card--caution .gm-warning-badge {
  background: var(--gm-amber);
}

.gm-warning-card__title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--gm-navy);
  line-height: 1.35;
}

.gm-warning-card__body {
  margin: 0 0 12px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--gm-text);
}

.gm-warning-card__sub {
  margin: auto 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--gm-red-bg);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.6;
  color: #7f1d1d;
}

.gm-warning-card--caution .gm-warning-card__sub {
  background: var(--gm-amber-bg);
  color: #78350f;
}

/* --- 2. Basic Steps --- */
.gm-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.gm-step-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 22px 24px;
  border-radius: var(--gm-radius);
  background: #ffffff;
  border: 1px solid var(--gm-border);
  box-shadow: var(--gm-shadow);
}

.gm-step-card__num {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  border-radius: 12px;
  background: var(--gm-navy);
  color: #ffffff;
  text-align: center;
}

.gm-step-card__num span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.82;
}

.gm-step-card__num strong {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.1;
}

.gm-step-card__title {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--gm-navy);
  line-height: 1.4;
}

.gm-step-card__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--gm-text);
}

/* 手順イラストは比率を保ち、文字の横に全体を表示する。 */
.gm-step-card:has(.gm-step-card__figure) {
  grid-template-columns: 76px minmax(0, 1fr) minmax(200px, 320px);
}

.gm-step-card__figure,
.gm-cardboard-figure {
  margin: 0;
  min-width: 0;
}

.gm-step-card__figure img,
.gm-amount-card__image,
.gm-cardboard-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.gm-step-card__figure img {
  object-fit: contain;
}

.gm-cardboard-figure {
  max-width: 960px;
  margin: 0 auto 24px;
}

.gm-cardboard-figure figcaption {
  margin-top: 8px;
  color: var(--gm-text);
  font-size: 0.86rem;
  text-align: center;
}

.gm-amount-card__image {
  margin-bottom: 12px;
}

.gm-callout {
  margin-top: 12px;
  padding: 12px 15px;
  border-radius: 10px;
  font-size: 0.86rem;
  line-height: 1.65;
}

.gm-callout--danger {
  background: var(--gm-red-bg);
  border-left: 4px solid var(--gm-red);
  color: #7f1d1d;
}

.gm-callout--tip {
  background: var(--gm-blue-bg);
  border-left: 4px solid var(--gm-blue);
  color: #1e3a8a;
}

.gm-callout--warn {
  background: var(--gm-amber-bg);
  border-left: 4px solid var(--gm-amber);
  color: #78350f;
}

.gm-callout strong {
  font-weight: 800;
}

/* --- 3. Amount Control & Comparison --- */
.gm-control-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 24px;
}

.gm-control-pill {
  padding: 14px 14px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--gm-border);
  text-align: center;
}

.gm-control-pill__action {
  display: block;
  margin-bottom: 6px;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--gm-navy);
}

.gm-control-pill__result {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: #e6f0f8;
  color: var(--gm-navy);
  font-size: 0.8rem;
  font-weight: 700;
}

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

.gm-amount-card {
  padding: 20px;
  border-radius: var(--gm-radius);
  background: #ffffff;
  border: 2px solid var(--gm-border);
  text-align: center;
  box-shadow: var(--gm-shadow);
}

.gm-amount-card--bad {
  border-color: var(--gm-red-border);
}

.gm-amount-card--good {
  border-color: var(--gm-green);
  background: var(--gm-green-bg);
}

.gm-amount-card__svg {
  width: 100%;
  max-width: 240px;
  height: auto;
  margin: 0 auto 12px;
  display: block;
}

.gm-amount-card__label {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
}

.gm-amount-card--bad .gm-amount-card__label {
  background: var(--gm-red-bg);
  color: var(--gm-red);
}

.gm-amount-card--good .gm-amount-card__label {
  background: var(--gm-green);
  color: #ffffff;
}

.gm-amount-card p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--gm-text);
  text-align: left;
}

.gm-oneside-note {
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--gm-border);
  border-left: 5px solid var(--gm-orange);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* --- 4. Cardboard Sealing --- */
.gm-cardboard-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.gm-mini-step {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: var(--gm-radius);
  background: #ffffff;
  border: 1px solid var(--gm-border);
  box-shadow: var(--gm-shadow);
}

.gm-mini-step__badge {
  display: inline-block;
  width: fit-content;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--gm-orange);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
}

.gm-mini-step__svg {
  width: 100%;
  height: auto;
  margin-bottom: 12px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.gm-mini-step h4 {
  margin: 0 0 8px;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--gm-navy);
}

.gm-mini-step p {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.7;
  color: var(--gm-text);
}

.gm-point-box {
  padding: 24px 26px;
  border-radius: var(--gm-radius);
  background: #ffffff;
  border: 2px solid var(--gm-navy);
  margin-bottom: 32px;
}

.gm-point-box__title {
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--gm-navy);
}

.gm-point-box__title i {
  color: var(--gm-orange);
}

.gm-point-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.gm-point-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.91rem;
  line-height: 1.75;
}

.gm-point-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gm-orange);
}

.gm-top-patterns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.gm-pattern-card {
  padding: 22px 24px;
  border-radius: var(--gm-radius);
  background: #ffffff;
  border: 1px solid var(--gm-border);
  box-shadow: var(--gm-shadow);
}

.gm-pattern-card__tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #e6f0f8;
  color: var(--gm-navy);
  font-size: 0.76rem;
  font-weight: 800;
}

.gm-pattern-card h4 {
  margin: 0 0 12px;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--gm-navy);
  line-height: 1.45;
}

.gm-pattern-card__svg {
  width: 100%;
  height: auto;
  margin-bottom: 14px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.gm-pattern-card p {
  margin: 0 0 10px;
  font-size: 0.89rem;
  line-height: 1.72;
}

.gm-pattern-card p:last-child {
  margin-bottom: 0;
}

/* --- 5. Finish & Other Rules --- */
.gm-finish-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.85fr);
  gap: 24px;
  align-items: center;
  padding: 24px 26px;
  margin-bottom: 24px;
  border-radius: var(--gm-radius);
  background: #ffffff;
  border: 2px solid var(--gm-red-border);
  box-shadow: var(--gm-shadow);
}

.gm-finish-hero h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--gm-navy);
}

.gm-finish-hero p {
  margin: 0 0 12px;
  font-size: 0.92rem;
  line-height: 1.75;
}

.gm-finish-hero__svg {
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.gm-rules-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gm-rule-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--gm-border);
}

.gm-rule-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--gm-amber-bg);
  color: var(--gm-amber);
  font-size: 0.95rem;
}

.gm-rule-item h4 {
  margin: 0 0 4px;
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--gm-navy);
}

.gm-rule-item p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--gm-text);
}

/* --- 6. Nozzle Handling --- */
.gm-nozzle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.gm-nozzle-card {
  padding: 22px 24px;
  border-radius: var(--gm-radius);
  background: #ffffff;
  border: 1px solid var(--gm-border);
  box-shadow: var(--gm-shadow);
}

.gm-nozzle-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.gm-nozzle-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gm-red);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  flex-shrink: 0;
}

.gm-nozzle-card h3 {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--gm-navy);
}

.gm-nozzle-card__svg {
  width: 100%;
  height: auto;
  margin: 10px 0 14px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.gm-nozzle-card p {
  margin: 0 0 10px;
  font-size: 0.9rem;
  line-height: 1.75;
}

.gm-nozzle-card p:last-child {
  margin-bottom: 0;
}

/* --- 7. Troubleshooting & After-service --- */
.gm-trouble-box {
  padding: 24px 26px;
  margin-bottom: 24px;
  border-radius: var(--gm-radius);
  background: var(--gm-blue-bg);
  border: 1px solid var(--gm-blue-border);
}

.gm-trouble-box h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 800;
  color: #1e3a8a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gm-trouble-box p {
  margin: 0 0 8px;
  font-size: 0.91rem;
  line-height: 1.75;
  color: var(--gm-text);
}

.gm-trouble-box p:last-child {
  margin-bottom: 0;
}

.gm-service-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.gm-service-list li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 16px 18px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--gm-border);
  font-size: 0.9rem;
  line-height: 1.72;
}

.gm-service-list__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #e6f0f8;
  color: var(--gm-navy);
  font-size: 0.82rem;
  font-weight: 800;
}

/* --- Related Links --- */
.gm-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.gm-related-card {
  display: flex;
  flex-direction: column;
  padding: 18px 16px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--gm-border);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.gm-related-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--gm-shadow);
  border-color: var(--gm-orange);
  text-decoration: none;
}

.gm-related-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: var(--gm-navy);
}

.gm-related-card span {
  font-size: 0.82rem;
  color: var(--gm-muted);
  line-height: 1.55;
  flex-grow: 1;
}

.gm-related-card em {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--gm-orange-dark);
}

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

  .gm-control-grid,
  .gm-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gm-cardboard-steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .gm-container {
    width: calc(100% - 28px);
  }

  .gm-hero {
    padding: 36px 0 34px;
  }

  .gm-section {
    padding: 40px 0;
  }

  .gm-toc,
  .gm-warning-grid,
  .gm-amount-grid,
  .gm-top-patterns,
  .gm-finish-hero,
  .gm-rules-list,
  .gm-nozzle-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gm-step-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 18px 16px;
  }

  .gm-step-card:has(.gm-step-card__figure) {
    grid-template-columns: minmax(0, 1fr);
  }

  .gm-step-card__figure {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }

  .gm-step-card__num {
    flex-direction: row;
    gap: 8px;
    width: fit-content;
    padding: 6px 14px;
  }

  .gm-step-card__num strong {
    font-size: 1.05rem;
  }

  .gm-control-grid,
  .gm-related-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gm-point-box,
  .gm-pattern-card,
  .gm-nozzle-card,
  .gm-trouble-box,
  .gm-finish-hero {
    padding: 18px 16px;
  }
}

/* --- Print Styles --- */
@media print {
  header#global-header,
  footer#site-footer,
  .gm-breadcrumb-bar,
  .gm-print-btn,
  .gm-toc,
  .gm-related-grid,
  .cta-nav-section {
    display: none !important;
  }

  .gm-hero {
    background: #ffffff !important;
    color: #000000 !important;
    padding: 0 0 16px !important;
    border-bottom: 2px solid #0e2f47;
  }

  .gm-hero__title,
  .gm-hero__lead,
  .gm-hero__note {
    color: #000000 !important;
  }

  .gm-section {
    padding: 20px 0 !important;
    break-inside: avoid;
  }

  .gm-warning-card,
  .gm-step-card,
  .gm-pattern-card,
  .gm-nozzle-card {
    box-shadow: none !important;
    break-inside: avoid;
  }
}
