:root {
  --youth-blue: #2d73cf;
  --youth-blue-dark: #175aa9;
  --youth-text: #20293a;
  --youth-muted: #69768a;
  --youth-line: #d9e8f8;
}

.study-travel-page {
  --container: 1720px;
  --youth-content-gutter: clamp(48px, 6vw, 120px);
  overflow-x: hidden;
  background: #fff;
  color: var(--youth-text);
}

.study-travel-page .container {
  width: min(100% - var(--youth-content-gutter), var(--container));
}

.study-travel-page .site-header {
  position: sticky;
  top: 0;
  z-index: 80;
}

.study-travel-page .site-header .nav-shell {
  width: calc(100% - clamp(32px, 3.4vw, 56px));
  max-width: none;
  min-height: 82px;
  gap: clamp(24px, 3vw, 52px);
}

.study-travel-page .brand img {
  width: 150px;
}

.study-travel-page .primary-nav {
  gap: clamp(26px, 2.5vw, 46px);
  font-size: 15px;
  font-weight: 500;
}

.study-travel-page .round-action {
  width: 40px;
  height: 40px;
}

.youth-hero {
  width: 100%;
  overflow: hidden;
  background: #eaf5ff;
}

.youth-hero img {
  display: block;
  width: 100%;
  min-height: 250px;
  max-height: 390px;
  object-fit: cover;
  object-position: center;
}

.youth-stats {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: -58px;
  padding: 22px 54px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(42, 84, 129, 0.16);
}

.youth-stats article {
  display: grid;
  grid-template-columns: 56px max-content;
  justify-content: center;
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 0 32px;
}

.youth-stats article + article {
  border-left: 2px solid #e4e7eb;
}

.youth-stats img {
  grid-row: span 2;
  width: 48px;
  height: 48px;
  filter: brightness(0) saturate(100%) invert(46%) sepia(82%) saturate(1548%) hue-rotate(190deg)
    brightness(91%) contrast(88%);
}

.youth-stats strong,
.youth-stats span {
  display: block;
}

.youth-stats strong {
  color: var(--youth-blue);
  font-size: 25px;
  line-height: 1.1;
}

.youth-stats span {
  margin-top: 4px;
  color: #3f4b5b;
  font-size: 14px;
}

.youth-section {
  padding: 50px 0 0;
}

.ornament-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
  text-align: center;
}

.ornament-title > span {
  position: relative;
  width: 54px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--youth-blue));
}

.ornament-title > span:last-child {
  background: linear-gradient(90deg, var(--youth-blue), transparent);
}

.ornament-title > span::after {
  position: absolute;
  top: 50%;
  right: -10px;
  width: 7px;
  height: 7px;
  background: var(--youth-blue);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.ornament-title > span:last-child::after {
  right: auto;
  left: -10px;
}

.ornament-title h1,
.ornament-title h2 {
  margin: 0;
  color: #161d2b;
  font-size: 26px;
  line-height: 1.2;
}

.ornament-title p {
  margin: 6px 0 0;
  color: #5c687a;
  font-size: 13px;
}

.ornament-title.compact {
  margin-bottom: 28px;
}

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

.theme-card {
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(43, 78, 117, 0.12);
}

.theme-card > img {
  display: block;
  width: 100%;
}

.theme-card .theme-label {
  height: 82px;
  object-fit: cover;
}

.theme-card > img:last-child {
  aspect-ratio: 1.85 / 1;
  object-fit: cover;
}

.advantage-band {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  overflow: hidden;
  padding: 24px 20px;
  border-radius: 24px;
  background: var(--youth-blue);
  color: #fff;
}

.advantage-band article {
  min-width: 0;
  padding: 0 12px;
  text-align: center;
}

.advantage-band article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.55);
}

.advantage-band img {
  width: 56px;
  height: 56px;
  margin: 0 auto 8px;
  object-fit: contain;
}

.advantage-band strong,
.advantage-band span {
  display: block;
}

.advantage-band strong {
  font-size: 18px;
}

.advantage-band span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 11px;
  line-height: 1.4;
}

.route-carousel {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  gap: 14px;
  align-items: center;
}

.route-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--youth-blue);
  cursor: pointer;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.route-arrow:hover {
  background: var(--youth-blue-dark);
  transform: scale(1.05);
}

.route-arrow:focus-visible {
  outline: 3px solid rgba(45, 115, 207, 0.3);
  outline-offset: 3px;
}

.route-arrow img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.route-track {
  display: grid;
  grid-auto-columns: calc((100% - 42px) / 4);
  grid-auto-flow: column;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 16px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.route-track::-webkit-scrollbar {
  display: none;
}

.route-card {
  overflow: hidden;
  min-width: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(37, 72, 109, 0.14);
  scroll-snap-align: start;
}

.route-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 1.72 / 1;
  object-fit: cover;
}

.route-card div {
  position: relative;
  min-height: 100px;
  padding: 14px 16px;
}

.route-card h3 {
  margin: 0 0 6px;
  color: #20242d;
  font-size: 17px;
  line-height: 1.3;
}

.route-card p {
  margin: 0;
  color: #5f6877;
  font-size: 12px;
}

.route-card span {
  position: absolute;
  right: 14px;
  bottom: 12px;
  color: var(--youth-blue);
  font-size: 12px;
}

.routes-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  min-height: 36px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: var(--youth-blue);
  color: #fff;
  font-size: 13px;
  transition: background 180ms ease;
}

.routes-more:hover {
  background: var(--youth-blue-dark);
}

.journal-section {
  padding-bottom: 48px;
}

.journal-section .container {
  width: min(100% - var(--youth-content-gutter), var(--container));
}

.journal-section .ornament-title {
  margin-bottom: 20px;
}

.journal-section .ornament-title h2 {
  font-size: 21px;
}

.journal-section .ornament-title p {
  margin-top: 3px;
  font-size: 11px;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 8px 10px;
}

.journal-grid blockquote {
  min-height: 70px;
  margin: 0;
  padding: 14px 20px;
  border-radius: 14px;
  color: #2870bb;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
}

.journal-grid blockquote:nth-child(4n + 1),
.journal-grid blockquote:nth-child(4n + 4) {
  grid-column: span 7;
}

.journal-grid blockquote:nth-child(4n + 2),
.journal-grid blockquote:nth-child(4n + 3) {
  grid-column: span 5;
}

.journal-grid .peach {
  background: #fff0ea;
  color: #c95d38;
}

.journal-grid .blue {
  background: #d9eaff;
}

.journal-grid .green {
  background: #e4f4e5;
  color: #3a8b4d;
}

.journal-grid cite {
  display: block;
  margin-top: 2px;
  text-align: right;
  font-style: normal;
}

.youth-footer {
  background: var(--youth-blue);
  color: #fff;
}

.youth-footer-grid {
  display: grid;
  grid-template-columns: 1.55fr repeat(4, 0.7fr) 1.25fr;
  gap: 34px;
  align-items: start;
  padding: 42px 0 32px;
}

.youth-footer .footer-logo {
  width: 150px;
  filter: brightness(0) invert(1);
}

.youth-footer nav {
  display: grid;
  gap: 5px;
}

.youth-footer nav strong {
  margin-bottom: 3px;
  font-size: 14px;
}

.youth-footer nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.footer-qr {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.footer-qr img {
  width: 76px;
  height: 76px;
  padding: 4px;
  border-radius: 6px;
  background: #fff;
}

.footer-qr span {
  font-size: 12px;
  line-height: 1.7;
}

.youth-copyright {
  padding: 12px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.76);
  text-align: center;
  font-size: 11px;
}

@media (max-width: 1100px) {
  .youth-stats {
    padding: 20px 26px;
  }

  .youth-stats article {
    padding: 0 18px;
  }

  .advantage-band {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 24px;
  }

  .advantage-band article:nth-child(4) {
    border-left: 0;
  }

  .route-track {
    grid-auto-columns: calc((100% - 28px) / 3);
  }

  .youth-footer-grid {
    grid-template-columns: 1.4fr repeat(2, 1fr);
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  .study-travel-page .site-header .nav-shell {
    flex-wrap: nowrap;
    gap: 22px;
    min-height: 70px;
    padding: 0;
  }

  .study-travel-page .brand img {
    width: 118px;
  }

  .study-travel-page .primary-nav {
    order: initial;
    justify-content: center;
    width: auto;
    gap: 24px;
    overflow: visible;
    font-size: 15px;
  }

  .study-travel-page .round-action {
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  .study-travel-page {
    --youth-content-gutter: 28px;
  }

  .study-travel-page .brand img {
    width: 118px;
  }

  .study-travel-page .site-header .nav-shell {
    min-height: 70px;
  }

  .study-travel-page .primary-nav {
    gap: 24px;
    overflow-x: auto;
    font-size: 15px;
    scrollbar-width: none;
  }

  .youth-hero img {
    width: auto;
    min-width: 100%;
    height: 230px;
    min-height: 230px;
    max-height: 230px;
    object-position: left center;
  }

  .youth-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: -34px;
    padding: 18px;
    border-radius: 18px;
  }

  .youth-stats article {
    padding: 12px;
  }

  .youth-stats article:nth-child(3) {
    border-left: 0;
  }

  .youth-stats article:nth-child(n + 3) {
    border-top: 1px solid #e4e7eb;
  }

  .theme-grid,
  .journal-grid {
    grid-template-columns: 1fr;
  }

  .journal-section .container {
    width: min(100% - 28px, var(--container));
  }

  .journal-grid blockquote:nth-child(n) {
    grid-column: auto;
  }

  .advantage-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 18px;
  }

  .advantage-band article:nth-child(4) {
    border-left: 1px solid rgba(255, 255, 255, 0.55);
  }

  .advantage-band article:nth-child(odd) {
    border-left: 0;
  }

  .route-carousel {
    grid-template-columns: minmax(0, 1fr);
  }

  .route-arrow {
    display: none;
  }

  .route-track {
    grid-auto-columns: 82%;
  }

  .youth-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

@media (max-width: 560px) {
  .study-travel-page .primary-nav {
    gap: 18px;
  }
}

@media (max-width: 480px) {
  .youth-section {
    padding-top: 38px;
  }

  .ornament-title {
    gap: 12px;
  }

  .ornament-title > span {
    width: 30px;
  }

  .ornament-title h1,
  .ornament-title h2 {
    font-size: 22px;
  }

  .youth-stats img {
    width: 38px;
    height: 38px;
  }

  .youth-stats strong {
    font-size: 20px;
  }

  .advantage-band {
    padding: 22px 12px;
  }

  .journal-grid blockquote {
    padding: 14px 16px;
    font-size: 12px;
  }

  .youth-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .youth-footer .footer-logo,
  .footer-qr {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .route-track,
  .route-arrow,
  .routes-more {
    scroll-behavior: auto;
    transition: none;
  }
}
.journal-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
}

.journal-gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.journal-gallery figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.journal-gallery figcaption {
  min-height: 68px;
  padding: 16px 18px;
  color: #1e3a5f;
  font-weight: 600;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .journal-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .journal-gallery {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}
