.routes {
  color-scheme: light;
  --routes-ink: #172326;
  --routes-accent: #286063;
  --routes-line: #dce2da;
  padding-block: clamp(55px, 10dvh, 95px) clamp(48px, 9dvh, 82px);
  background: var(--paper);
  color: var(--routes-ink);
}

.routes-heading {
  display: grid;
  grid-template-columns: 1fr minmax(235px, 320px);
  align-items: end;
  gap: 24px;
  margin-bottom: clamp(25px, 5dvh, 44px);
}

.routes .eyebrow {
  margin-bottom: 14px;
  color: var(--routes-accent);
}

.routes h2 {
  margin: 0;
  font: 400 clamp(38px, min(4.55vw, 8.3dvh), 68px)/1.01 Georgia, "Times New Roman", serif;
  letter-spacing: -.047em;
}

.routes-intro {
  max-width: 310px;
  margin: 0 0 4px;
  color: #465455;
  font-size: 16px;
  line-height: 1.55;
}

.routes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(13px, 1.65vw, 25px);
}

.route {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--routes-line);
  border-radius: 5px;
  background: #fffefa;
  overflow: hidden;
}

.route-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.92;
  object-fit: cover;
  object-position: center 52%;
}

.route-photo-rio { object-position: center 28%; }
.route-photo-itaipava { object-position: center 43%; }

.route-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: clamp(16px, 1.95vw, 28px);
}

.route-airport {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 9px;
  margin: 0 0 12px;
  color: var(--routes-accent);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .09em;
}

.route-airport span {
  color: #4d5c5d;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .015em;
}

.route h3 {
  margin: 0 0 16px;
  font: 400 clamp(24px, 2.13vw, 34px)/1.05 Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
}

.route h3 span { color: var(--routes-accent); }

.route-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 43px;
  width: 100%;
  margin-top: auto;
  padding: 7px 0 0;
  border: 0;
  border-top: 1px solid var(--routes-line);
  background: transparent;
  color: #18484b;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
}

.route-button span { font-size: 18px; line-height: 1; }
.route-button:hover { color: #102526; text-decoration: underline; text-underline-offset: 4px; }
.route-button:focus-visible { outline-color: var(--routes-accent); }

@media (max-width: 800px) {
  .routes-heading { grid-template-columns: 1fr minmax(190px, 235px); }
  .route-content { padding: 16px 14px; }
}

@media (max-width: 680px) {
  .routes-heading { grid-template-columns: 1fr; gap: 12px; }
  .routes-break { display: none; }
  .routes-grid { grid-template-columns: 1fr; gap: 17px; }
  .route-content { padding: 18px 20px 12px; }
  .route-photo { aspect-ratio: 1.98; }
  .route h3 { font-size: 29px; }
}

