/* /aircraft-guides (app/aircraft-guides/page.tsx): every Textron aircraft
   family, grouped by make. Looks like the information pages it lists: their
   navy hero under a navy in-flow header (aircraft-info-page.css paints
   `.aircraft-info-page > .site-header`), the owner's fonts and colours, light
   cards. Every rule is scoped to .aircraft-guides-page, so nothing follows a
   visitor to another page after a client navigation. Served unhashed: bump
   the ?v= in page.tsx with any edit. */

.aircraft-guides-page {
  --ag-navy: #0e1a2b;
  --ag-royal: #2843a7;
  --ag-text: #0e1a2b;
  --ag-body: #3d5166;
  --ag-muted: #5f7f91;
  --ag-border: #e2e4e8;
  --ag-bg: #ededed;
  --ag-display: "Libre Baskerville", Georgia, serif;
  --ag-sans: "Plus Jakarta Sans", sans-serif;
  background: var(--ag-bg);
}

.aircraft-guides-page .ag {
  color: var(--ag-body);
  font-family: var(--ag-sans);
  padding-bottom: 56px;
}

.aircraft-guides-page .ag-inner {
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 1280px;
  padding: 0 24px;
}

/* ── Hero: the information pages' navy ── */
.aircraft-guides-page .ag-hero {
  background-image:
    radial-gradient(
      ellipse 70% 50% at 20% 30%,
      rgba(58, 88, 196, 0.35),
      transparent 60%
    ),
    radial-gradient(
      ellipse 50% 70% at 90% 80%,
      rgba(90, 138, 167, 0.25),
      transparent 60%
    ),
    linear-gradient(180deg, #0e1a2b 0%, #152444 60%, #1a2f52 100%);
  color: #ffffff;
  padding: 8px 0 44px;
}

.aircraft-guides-page .ag-crumbs {
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 500;
  gap: 10px;
  letter-spacing: 0.02em;
  padding: 4px 0 24px;
}

.aircraft-guides-page .ag-crumbs a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.aircraft-guides-page .ag-crumbs a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.aircraft-guides-page .ag-crumbs [aria-current="page"] {
  color: #ffffff;
  font-weight: 600;
}

.aircraft-guides-page .ag-eyebrow {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.aircraft-guides-page .ag-hero h1 {
  color: #ffffff;
  font-family: var(--ag-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 14px;
}

.aircraft-guides-page .ag-sub {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 26px;
  max-width: 640px;
}

.aircraft-guides-page .ag-makes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.aircraft-guides-page .ag-makes a {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  gap: 8px;
  padding: 9px 16px;
  text-decoration: none;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease;
}

.aircraft-guides-page .ag-makes a span {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

.aircraft-guides-page .ag-makes a:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #ffffff;
}

.aircraft-guides-page .ag-makes a:focus-visible,
.aircraft-guides-page .ag-crumbs a:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

/* ── One section per make ── */
.aircraft-guides-page .ag-make {
  padding-top: 40px;
  scroll-margin-top: 16px;
}

.aircraft-guides-page .ag-make h2 {
  align-items: baseline;
  color: var(--ag-text);
  display: flex;
  flex-wrap: wrap;
  font-family: var(--ag-display);
  font-size: 28px;
  font-weight: 400;
  gap: 12px;
  line-height: 1.2;
  margin: 0 0 18px;
}

.aircraft-guides-page .ag-make h2 span {
  color: var(--ag-muted);
  font-family: var(--ag-sans);
  font-size: 14px;
  font-weight: 500;
}

.aircraft-guides-page .ag-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.aircraft-guides-page .ag-card {
  background: #ffffff;
  border: 1px solid var(--ag-border);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(14, 26, 43, 0.04);
  color: var(--ag-text);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  text-decoration: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.aircraft-guides-page .ag-card:hover {
  border-color: #c7ccd4;
  box-shadow: 0 4px 14px rgba(14, 26, 43, 0.08);
}

.aircraft-guides-page .ag-card:focus-visible {
  outline: 3px solid var(--ag-royal);
  outline-offset: 2px;
}

.aircraft-guides-page .ag-card picture,
.aircraft-guides-page .ag-card img {
  display: block;
  width: 100%;
}

.aircraft-guides-page .ag-card img {
  aspect-ratio: 3 / 2;
  background: #dfe3e8;
  height: auto;
  object-fit: cover;
}

.aircraft-guides-page .ag-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  padding: 12px 14px 0;
}

.aircraft-guides-page .ag-card:hover .ag-name {
  color: var(--ag-royal);
}

.aircraft-guides-page .ag-count {
  color: var(--ag-muted);
  font-size: 13px;
  padding: 2px 14px 0;
}

.aircraft-guides-page .ag-card::after {
  content: "";
  padding-bottom: 14px;
}

.aircraft-guides-page .ag-credits {
  color: var(--ag-muted);
  font-size: 13px;
  margin-top: 36px;
}

.aircraft-guides-page .ag-credits a {
  color: var(--ag-royal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 640px) {
  .aircraft-guides-page .ag-inner {
    padding: 0 16px;
  }

  .aircraft-guides-page .ag-hero {
    padding-bottom: 32px;
  }

  .aircraft-guides-page .ag-sub {
    font-size: 15px;
  }

  .aircraft-guides-page .ag-grid {
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aircraft-guides-page .ag-name {
    font-size: 14px;
    padding: 10px 10px 0;
  }

  .aircraft-guides-page .ag-count {
    font-size: 12px;
    padding: 2px 10px 0;
  }

  .aircraft-guides-page .ag-make h2 {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aircraft-guides-page .ag-makes a,
  .aircraft-guides-page .ag-card {
    transition: none;
  }
}
