/* Destinations (2026-10-29, design C): two doors with pictures. Transfer extras (course, admissions, blogs) sit under
   the transfer door; the VERADICT door previews the six sites inside. Colors reuse style.css / hub.css values only. */
/* 2026-10-29 fix: doors size to their content in one shared row. A fixed door height against the width-scaled mosaic left
   a blank band below 1440px and covered the subtitle above 1920px. The transfer photo stretches to the VERADICT door's height. */
body.hub-home .route-doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 20px 24px; align-items: stretch; }
body.hub-home .door-col { display: contents; }
body.hub-home .door-transfer { grid-area: 1 / 1; }
body.hub-home .door-links { grid-area: 2 / 1; align-self: start; }
body.hub-home .door-veradict { grid-area: 1 / 2; }
body.hub-home .door-col .routes-note { grid-area: 2 / 2; align-self: start; }

body.hub-home .route.door { display: grid; grid-template-rows: auto minmax(0, 1fr); align-items: stretch; gap: 0; height: auto; padding: 36px 36px 32px; border-radius: 12px; overflow: hidden; isolation: isolate; }
body.hub-home .door-transfer { background: var(--brand-gradient); color: #fff; }
body.hub-home .door-veradict { background: #fff; color: var(--ink); grid-template-rows: auto auto auto; align-content: start; }
body.hub-home .door-copy { display: block; padding-right: 72px; }
body.hub-home .route.door h3 { display: block; margin: 0 0 12px; white-space: normal; font-size: 44px; line-height: 1.15; letter-spacing: -.035em; color: inherit; }
body.hub-home .route.door p { display: block; min-height: 0; -webkit-line-clamp: unset; overflow: visible; font-size: 19px; font-weight: 700; line-height: 1.5; }
body.hub-home .door-transfer p { color: #fff; }
body.hub-home .door-veradict p { color: var(--muted); }

body.hub-home .door-go { position: absolute; top: 32px; right: 32px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; }
body.hub-home .door-go svg { width: 22px; height: 22px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.hub-home .door-transfer .door-go { background: #fff; }
body.hub-home .door-transfer .door-go svg { stroke: #185ab7; }
body.hub-home .door-veradict .door-go { background: #185ab7; }
body.hub-home .door-veradict .door-go svg { stroke: #fff; }

body.hub-home .door-media { position: relative; display: block; min-height: 240px; margin-top: 32px; border-radius: 8px; overflow: hidden; }
body.hub-home .door-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
body.hub-home .door-mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 32px; }
body.hub-home .door-mosaic > span { display: block; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; }
body.hub-home .door-mosaic img { width: 100%; height: 100%; object-fit: cover; }
body.hub-home .door-names { display: block; margin-top: 16px; font-size: 16px; font-weight: 600; line-height: 1.5; color: var(--muted); }

body.hub-home .door-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
body.hub-home .door-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; border-top: 1px solid #c9d7e8; font-size: 18px; font-weight: 700; color: var(--ink); transition: color .15s ease-out; }
body.hub-home .door-col .routes-note { margin: 0; }

@media (prefers-reduced-motion: no-preference) {
  body.hub-home .door-go { transition: transform .45s cubic-bezier(.16, 1, .3, 1), background-color .15s ease-out; }
  body.hub-home .door-media img,
  body.hub-home .door-mosaic img { transition: transform .7s cubic-bezier(.16, 1, .3, 1); }
  body.hub-home .door-mosaic > span:nth-child(2) img { transition-delay: 40ms; }
  body.hub-home .door-mosaic > span:nth-child(3) img { transition-delay: 80ms; }
  body.hub-home .door-mosaic > span:nth-child(4) img { transition-delay: 60ms; }
  body.hub-home .door-mosaic > span:nth-child(5) img { transition-delay: 100ms; }
  body.hub-home .door-mosaic > span:nth-child(6) img { transition-delay: 140ms; }
}
@media (hover: hover) and (pointer: fine) {
  body.hub-home .door:hover .door-go { transform: translate(3px, -3px); }
  body.hub-home .door-veradict:hover .door-go { background: #2272eb; }
  body.hub-home .door:hover .door-media img,
  body.hub-home .door:hover .door-mosaic img { transform: scale(1.05); }
  body.hub-home .door-links a:hover { color: #165bbd; }
}
body.hub-home .door-links a:focus-visible { outline: 3px solid #185ab7; outline-offset: 3px; }

@media (max-width: 1000px) {
  body.hub-home .route.door { padding: 28px 24px 24px; }
  body.hub-home .route.door h3 { font-size: 34px; }
  body.hub-home .door-copy { padding-right: 56px; }
  body.hub-home .door-go { top: 24px; right: 20px; width: 44px; height: 44px; }
  body.hub-home .door-links { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  body.concept-a.hub-home .a-nav nav a.nav-about { display: none; }
  body.hub-home .route-doors { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 16px; }
  body.hub-home .door-transfer { grid-area: 1 / 1; }
  body.hub-home .door-links { grid-area: 2 / 1; }
  body.hub-home .door-veradict { grid-area: 3 / 1; margin-top: 12px; }
  body.hub-home .door-col .routes-note { grid-area: 4 / 1; }
  body.hub-home .route.door { height: auto; padding: 24px 20px 20px; }
  body.hub-home .route.door h3 { font-size: 30px; margin-bottom: 8px; }
  body.hub-home .door-media { height: 200px; min-height: 0; margin-top: 24px; }
  body.hub-home .door-mosaic { gap: 6px; margin-top: 24px; }
  body.hub-home .door-mosaic > span { border-radius: 6px; }
  body.hub-home .door-names { font-size: 15px; margin-top: 12px; }
  body.hub-home .door-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  body.hub-home .door-links a { min-height: 52px; font-size: 16px; }
}

/* 베라진 북스 entry strip under the two routes (2026-11-03). Existing tokens only. */
body.hub-home .books-entry { padding-top: 36px; }
body.hub-home .books-entry-link { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 22px 32px; border-radius: 12px; background: var(--page); color: var(--ink); }
body.hub-home .books-entry-covers { display: flex; }
body.hub-home .books-entry-covers img { width: 60px; height: 80px; border-radius: 4px; object-fit: cover; box-shadow: 0 6px 16px rgba(25,31,40,.14); background: #fff; }
body.hub-home .books-entry-covers img + img { margin-left: -14px; }
body.hub-home .books-entry-copy { display: grid; gap: 4px; }
body.hub-home .books-entry-copy b { font-size: 22px; font-weight: 750; letter-spacing: -.03em; }
body.hub-home .books-entry-copy > span { font-size: 15px; color: var(--muted); }
body.hub-home .books-entry-go { font-size: 15px; font-weight: 650; color: var(--brand-deep); white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 700px) {
  body.hub-home .books-entry-link { grid-template-columns: auto minmax(0, 1fr); gap: 14px 18px; padding: 18px 20px; }
  body.hub-home .books-entry-covers img { width: 46px; height: 62px; }
  body.concept-a.hub-home .a-nav .nav-books-pre { display: none; }
  body.hub-home .books-entry-copy b { font-size: 19px; }
  body.hub-home .books-entry-go { grid-column: 1 / -1; min-height: 32px; }
}
