.scenic-drives-body {
  margin: 0;
  background: #f4f7f1;
  color: #162636;
  font-family: Arial, Helvetica, sans-serif;
}

.scenic-drives-page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 42px;
}

.scenic-top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.scenic-top-nav a {
  color: #17456b;
  font-weight: 800;
  text-decoration: none;
}

.scenic-top-nav a:hover {
  text-decoration: underline;
}

.scenic-hero,
.scenic-route-card,
.scenic-footer-note {
  background: #ffffff;
  border: 1px solid rgba(23, 69, 107, 0.16);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(16, 35, 51, 0.08);
}

.scenic-hero {
  padding: 24px;
}

.scenic-eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  color: #526b7c;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scenic-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2.15rem, 7vw, 4.2rem);
  line-height: 0.98;
}

.scenic-hero p,
.scenic-route-card p,
.scenic-footer-note p {
  color: #465d6e;
  font-size: 1rem;
  line-height: 1.65;
}

.scenic-disclaimer {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 4px solid #d98a00;
  border-radius: 12px;
  background: #fff7e6;
}

.scenic-route-jump-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 20px;
}

.scenic-route-jump-list a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 1px solid rgba(23, 69, 107, 0.18);
  border-radius: 999px;
  background: #ffffff;
  color: #17456b;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 0 14px;
  text-decoration: none;
}

.scenic-page-status {
  margin: 16px 0;
  border: 1px solid rgba(23, 69, 107, 0.16);
  border-radius: 14px;
  background: #ffffff;
  color: #17456b;
  font-weight: 900;
  padding: 12px 14px;
}

.scenic-route-card {
  display: grid;
  gap: 18px;
  margin: 18px 0;
  padding: 18px;
}

.scenic-route-map {
  margin: 0;
}

.scenic-map-expand {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  padding: 0;
  text-align: inherit;
}

.scenic-route-map img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(23, 69, 107, 0.12);
  background: #edf3e8;
}

.scenic-map-expand-label {
  position: absolute;
  right: 12px;
  bottom: 12px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(23, 69, 107, 0.92);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  padding: 0 12px;
}

.scenic-map-expand:focus-visible {
  outline: 3px solid #d98a00;
  outline-offset: 4px;
  border-radius: 16px;
}

.scenic-route-card h2 {
  margin: 0 0 8px;
  font-size: clamp(1.55rem, 5vw, 2.4rem);
  line-height: 1.05;
}

.scenic-route-meta {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.scenic-route-meta div,
.scenic-route-sequence,
.scenic-route-list {
  border: 1px solid rgba(23, 69, 107, 0.13);
  border-radius: 14px;
  background: #f8faf6;
  padding: 12px;
}

.scenic-route-meta span,
.scenic-section-label {
  display: block;
  margin-bottom: 6px;
  color: #526b7c;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.scenic-route-meta strong {
  display: block;
  color: #172b3d;
  line-height: 1.35;
}

.scenic-time-estimate {
  grid-column: 1 / -1;
}

.scenic-route-meta small {
  display: block;
  margin-top: 6px;
  color: #647888;
  font-size: 0.88rem;
  line-height: 1.45;
}

.scenic-route-sequence {
  color: #20394d;
  font-weight: 800;
  line-height: 1.7;
}

.scenic-route-list ul {
  margin: 0;
  padding-left: 20px;
  color: #465d6e;
  line-height: 1.65;
}

.scenic-route-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.scenic-map-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid #17456b;
  border-radius: 999px;
  background: #17456b;
  color: #ffffff;
  font-weight: 900;
  padding: 0 16px;
  text-decoration: none;
}

.scenic-map-button-secondary {
  background: #ffffff;
  color: #17456b;
}

.scenic-map-note {
  margin-top: 10px;
  color: #647888;
  font-size: 0.92rem;
  line-height: 1.55;
}

.scenic-feedback-panel {
  margin-top: 16px;
  border: 1px solid rgba(23, 69, 107, 0.13);
  border-radius: 14px;
  background: #f8faf6;
  padding: 12px;
}

.scenic-feedback-form {
  display: grid;
  gap: 12px;
}

.scenic-feedback-grid {
  display: grid;
  gap: 12px;
}

.scenic-field {
  display: grid;
  gap: 6px;
  color: #526b7c;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.scenic-field-hidden {
  display: none;
}

.scenic-field input,
.scenic-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(23, 69, 107, 0.22);
  border-radius: 10px;
  background: #ffffff;
  color: #172b3d;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  padding: 11px 12px;
  text-transform: none;
}

.scenic-field textarea {
  min-height: 96px;
  resize: vertical;
}

.scenic-rating-field {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.scenic-rating-field legend {
  margin-bottom: 6px;
  color: #526b7c;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.scenic-rating-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.scenic-rating-options label {
  min-width: 0;
}

.scenic-rating-options input {
  position: absolute;
  opacity: 0;
}

.scenic-rating-options span {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(23, 69, 107, 0.22);
  border-radius: 10px;
  background: #ffffff;
  color: #17456b;
  font-size: 0.9rem;
  font-weight: 900;
}

.scenic-rating-options input:checked + span,
.scenic-rating-options input:focus-visible + span {
  border-color: #d98a00;
  background: #fff7e6;
  color: #8a5600;
}

.scenic-submit-button,
.scenic-dialog-close {
  min-height: 46px;
  border: 1px solid #17456b;
  border-radius: 999px;
  background: #17456b;
  color: #ffffff;
  font-weight: 900;
  padding: 0 16px;
}

.scenic-submit-button {
  justify-self: start;
}

.scenic-submit-button:disabled {
  cursor: progress;
  opacity: 0.72;
}

.scenic-feedback-status {
  min-height: 1.4em;
  margin: 0;
  color: #17456b;
  font-size: 0.92rem;
  font-weight: 800;
}

.scenic-map-dialog {
  width: min(1180px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  border: 0;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  padding: 0;
}

.scenic-map-dialog::backdrop {
  background: rgba(9, 20, 31, 0.72);
}

.scenic-map-dialog-inner {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.scenic-map-dialog-header {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.scenic-map-dialog-header strong {
  color: #172b3d;
  font-size: 1rem;
  line-height: 1.25;
}

.scenic-dialog-close {
  min-height: 40px;
  cursor: pointer;
}

.scenic-map-dialog img {
  display: block;
  width: 100%;
  max-height: calc(100dvh - 112px);
  object-fit: contain;
  border-radius: 10px;
  background: #edf3e8;
}

.scenic-footer-note {
  margin-top: 22px;
  padding: 18px;
}

.scenic-footer-note a {
  color: #17456b;
  font-weight: 900;
}

@media (min-width: 760px) {
  .scenic-drives-page {
    width: min(1160px, calc(100% - 48px));
    padding-top: 26px;
  }

  .scenic-hero {
    padding: 34px;
  }

  .scenic-route-card {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    align-items: start;
    padding: 24px;
  }

  .scenic-route-card:nth-of-type(even) .scenic-route-map {
    order: 2;
  }

  .scenic-route-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scenic-feedback-grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.82fr);
    align-items: end;
  }
}

@media (max-width: 520px) {
  .scenic-drives-page {
    width: min(100% - 22px, 1120px);
    padding-top: 12px;
  }

  .scenic-hero,
  .scenic-route-card {
    border-radius: 14px;
    padding: 16px;
  }

  .scenic-route-buttons {
    display: grid;
  }

  .scenic-map-expand-label {
    min-height: 32px;
    right: 8px;
    bottom: 8px;
    font-size: 0.76rem;
    padding: 0 10px;
  }

  .scenic-submit-button {
    width: 100%;
  }
}
