/* Access guide. Shared headings, buttons, typography and colors: kids-design.css. */
.kids-access-page {
  --access-line: rgba(133, 98, 63, .2);
  --access-gingham: repeating-linear-gradient(0deg, var(--gingham-orange) 0 12px, transparent 12px 24px),
    repeating-linear-gradient(90deg, var(--gingham-orange-soft) 0 12px, transparent 12px 24px);
  --access-radius: 24px;
}
.kids-access-page [id] { scroll-margin-top: calc(var(--page-header-offset) + 24px); }
.kids-access-page :is(h1, h2, h3) { color: var(--heading-text); overflow-wrap: anywhere; }
.access-heading-phrase { display: inline-block; }
.access-eyebrow { margin: 0; color: var(--violet-deep); font-family: var(--font-ui); font-size: .75rem; font-weight: 700; letter-spacing: .13em; }

/* The same gingham and illustrated ivory sign as the admission guide. */
.access-intro {
  padding: calc(var(--page-header-offset) + 38px) 0 44px;
  border-bottom: 1px solid var(--access-line);
  background: var(--access-gingham), var(--gingham-cream-light);
}
.access-welcome {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  align-items: center;
  gap: 20px;
  padding: 44px 36px;
  border: 1px solid #e8d7bf;
  border-radius: 100px 24px 100px 24px / 50px 24px 50px 24px;
  background: url("../img/viora_parts07.png") left 18px bottom 16px / 82px auto no-repeat, #fffdf7;
  box-shadow: 0 8px 30px rgba(133, 98, 63, .06);
}
.access-welcome-copy { text-align: center; }
body.design-v2 .access-page-heading { padding-top: 20px; }
body.design-v2 .access-page-heading .content-heading-title { font-size: clamp(2rem, 3.5vw, 3rem); }
.access-page-heading .content-heading-title span { display: block; margin-bottom: 10px; font-size: .55em; font-weight: 500; letter-spacing: .1em; }
.access-intro-copy { max-width: 30em; margin: 24px auto 0; color: var(--text); font-size: .96rem; line-height: 2.1; }
.access-welcome-children { width: 100%; height: auto; }
.access-route-info { display: grid; margin: 0; border-top: 1px solid var(--access-line); }
.access-route-info > div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 16px; border-bottom: 1px solid var(--access-line); }
.access-route-info dt { color: var(--violet-deep); font-family: var(--font-ui); font-size: .75rem; font-weight: 700; }
.access-route-info dd { margin: 0; color: var(--heading-text); font-size: .94rem; line-height: 1.8; }
.access-overview { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; border-top: 0; }
.access-overview > div { grid-template-columns: 1fr; gap: 5px; padding: 18px 24px; border: 1px solid #e7cfae; border-radius: 12px; background: #fffefa; }
body.design-v2 .access-jump-nav { margin: 20px 0 0; gap: 16px; }
body.design-v2 .access-jump-nav a { padding: 23px 20px; border-color: #e7cfae; border-radius: 12px; box-shadow: 0 4px 12px rgba(133, 98, 63, .04); }
.access-jump-nav a > span { flex: 1; }
.access-jump-nav small { display: block; margin-bottom: 5px; color: var(--text); font-size: .7rem; font-weight: 400; }
.access-photo-note { margin: 24px 0 0; padding: 18px 22px; border-left: 3px solid var(--sign-orange); border-radius: 4px 12px 12px 4px; background: #fffaf0; font-family: var(--font-ui); font-size: .82rem; color: var(--text); line-height: 1.9; }
.access-intro-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }

/* Photo directions retain their large, pale 01–05 counters. */
.route-section { position: relative; padding-block: var(--page-section-y); }
.access-section-head { margin-bottom: 44px; text-align: center; }
body.design-v2 .route-section-heading { padding-top: 20px; }
body.design-v2 .route-section-heading .route-section-title { font-size: clamp(1.65rem, 2.8vw, 2.35rem); line-height: 1.6; }
.route-section-copy { max-width: 720px; margin: 24px auto 0; color: var(--text); font-size: .96rem; line-height: 2; }
.route-steps { display: grid; gap: 36px; counter-reset: route; }
.route-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, .88fr);
  align-items: center;
  padding: 14px 0 0;
  overflow: hidden;
  border: 1px solid var(--access-line);
  border-radius: var(--access-radius);
  background: #fffefa;
  box-shadow: 0 8px 24px rgba(133, 98, 63, .06);
  counter-increment: route;
}
.route-card::before, .access-transport-section::before { content: ""; position: absolute; inset: 0 0 auto; height: 14px; background: var(--access-gingham), var(--gingham-cream-light); }
.route-card:nth-child(even) { grid-template-columns: minmax(350px, .88fr) minmax(0, 1fr); }
.route-card:nth-child(even) .route-photo { order: 2; }
.route-photo { margin: 0; padding: 20px; min-width: 0; }
.route-photo a { display: block; border-radius: 12px; overflow: hidden; }
.route-photo img { display: block; width: 100%; height: auto; object-fit: contain; }
.route-photo figcaption { padding-top: 14px; text-align: center; color: var(--text); font-family: var(--font-ui); font-size: .76rem; }
.route-body {
  position: relative;
  display: grid;
  align-content: center;
  align-self: stretch;
  gap: 15px;
  min-height: 0;
  padding: clamp(42px, 5vw, 68px);
  background: url("../img/decor-kado-rose-soft.png") right 8px bottom 8px / 100px auto no-repeat, #fffefa;
}
body.design-v2 .route-body::before {
  content: counter(route, decimal-leading-zero);
  position: absolute;
  top: clamp(16px, 2vw, 28px);
  right: clamp(22px, 3vw, 42px);
  z-index: 0;
  color: var(--warm-accent-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.8rem, 7vw, 7.2rem);
  font-weight: 700;
  line-height: 1;
}
.route-body > * { position: relative; z-index: 1; }
.route-body h3 { margin: 2px 0 0; padding-right: clamp(72px, 9vw, 124px); font-size: clamp(1.3rem, 2.2vw, 1.82rem); font-weight: 800; letter-spacing: .03em; line-height: 1.48; }
.route-body p { margin: 0; color: var(--text); font-size: .96rem; line-height: 1.95; }
.route-tip { width: fit-content; margin-top: 2px; padding: 5px 11px; border: 1px solid rgba(224, 138, 85, .3); border-radius: 999px; background: var(--gingham-cream-light); color: var(--violet-deep); font-family: var(--font-ui); font-size: .77rem; font-weight: 700; }

/* Gingham frames leave quiet, uncropped surfaces for maps and annotations. */
.access-transport-section { border-top: 1px solid var(--access-line); background: #fffdf8; }
.access-transport-section::before { height: 24px; }
.access-transport-copy { display: flow-root; max-width: 860px; margin: 0 auto 36px; padding: 30px 36px; border: 10px solid transparent; border-radius: var(--access-radius); background: linear-gradient(#fffefa, #fffefa) padding-box, var(--access-gingham) border-box, var(--gingham-cream-light) border-box; }
.access-transport-illustration { float: right; width: 88px; height: 118px; object-fit: contain; margin: 0 0 18px 26px; }
.access-transport-copy p { margin: 0 0 18px; color: var(--text); line-height: 2; }
.access-transport-copy p:last-child { margin-bottom: 0; }
.access-transport-copy strong { color: var(--heading-text); }
.access-parking-info { clear: both; margin-top: 28px; }
.access-reference-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.access-reference-gallery figure, .access-bicycle-photo { margin: 0; padding: 20px; border: 1px solid var(--access-line); border-radius: var(--access-radius); background: #fffefa; box-shadow: 0 6px 20px rgba(133, 98, 63, .04); }
.access-reference-gallery .access-reference-map { grid-column: 1 / -1; width: min(100%, 860px); margin-inline: auto; }
.access-reference-gallery a, .access-bicycle-photo a { display: block; border-radius: 10px; overflow: hidden; }
.access-reference-gallery img, .access-bicycle-photo img { display: block; width: 100%; height: auto; }
.access-reference-gallery figcaption, .access-bicycle-photo figcaption { margin: 16px 4px 4px; color: var(--text); font-family: var(--font-ui); font-size: .8rem; line-height: 1.8; }
.access-bicycle-photo { max-width: 860px; margin-inline: auto; }

/* Illustrated address and phone cards, consistent with admission contacts. */
.route-section--contact { background: linear-gradient(180deg, #fffaf4, #fff5e5); }
.access-contact-flowers { display: block; width: 180px; height: auto; margin: 0 auto 28px; }
.access-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.access-panel { display: flex; flex-direction: column; gap: 24px; padding: 32px; border: 10px solid transparent; border-radius: var(--access-radius); background: linear-gradient(#fffefa, #fffefa) padding-box, var(--access-gingham) border-box, var(--gingham-cream-light) border-box; }
.access-panel-heading { display: flex; align-items: center; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--access-line); }
.access-panel-heading img { flex-shrink: 0; width: 76px; height: 100px; object-fit: contain; }
.access-panel h3 { margin: 12px 0 0; font-size: 1.2rem; line-height: 1.8; }
.access-panel > p { margin: 0; color: var(--text); font-size: .95rem; line-height: 1.95; }
.access-panel .button { align-self: flex-start; margin-top: auto; }
.kids-access-page :is(.route-photo a, .access-reference-gallery a, .access-bicycle-photo a):focus-visible { outline: 3px solid var(--violet-deep); outline-offset: 4px; }

/* Keep content clear of the existing right-side site tabs on tablet. */
@media (min-width: 681px) and (max-width: 1180px) {
  .kids-access-page { --content-gutter: 144px; }
}
@media (max-width: 980px) {
  .access-welcome { gap: 0; padding: 32px 26px; background-size: 60px auto; }
  .access-intro-copy { font-size: .92rem; }
  .access-overview { gap: 10px; }
  .access-overview > div { padding: 16px; }
  .access-overview dd { font-size: .85rem; }
  body.design-v2 .access-jump-nav { gap: 10px; }
  body.design-v2 .access-jump-nav a { flex-basis: 100%; padding: 18px 22px; }
  .access-jump-nav a > span { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .access-jump-nav small { margin: 0; }
  .route-card, .route-card:nth-child(even), .access-actions { grid-template-columns: 1fr; }
  .route-card:nth-child(even) .route-photo { order: initial; }
  .route-photo { padding-bottom: 0; }
  .access-panel { padding: 28px 36px; }
}
@media (max-width: 680px) {
  .kids-access-page { --access-radius: 18px; }
  .access-intro { padding-top: calc(var(--page-header-offset) + 20px); padding-bottom: 32px; }
  .access-welcome { grid-template-columns: 1fr; padding: 32px 22px 12px; border-radius: 48px 18px 48px 18px / 28px 18px 28px 18px; background-position: left 12px bottom 14px; background-size: 48px auto; }
  body.design-v2 .access-page-heading .content-heading-title { font-size: clamp(1.85rem, 8vw, 2.5rem); }
  .access-welcome-children { width: min(100%, 270px); margin: -8px auto 0; }
  .access-intro-copy { font-size: .92rem; line-height: 2; }
  .access-overview { grid-template-columns: 1fr; gap: 8px; margin-top: 22px; }
  .access-overview > div { grid-template-columns: 58px minmax(0, 1fr); padding: 12px 18px; gap: 10px; }
  .access-overview dd { font-size: .88rem; }
  body.design-v2 .access-jump-nav a { padding: 17px 18px; }
  .access-jump-nav a > span { display: block; }
  .access-jump-nav small { margin-bottom: 4px; }
  .access-photo-note { padding: 18px; }
  .access-intro-actions .button { width: 100%; }
  .access-section-head { margin-bottom: 32px; }
  .route-section-copy { font-size: .92rem; }
  .route-steps { gap: 24px; }
  .route-photo { padding: 14px 14px 0; }
  .route-body { padding: 30px 26px 38px; gap: 13px; }
  body.design-v2 .route-body::before { top: 14px; right: 18px; font-size: 4.5rem; }
  .route-body h3 { padding-right: 70px; font-size: 1.28rem; }
  .route-body p { font-size: .9rem; line-height: 1.85; }
  .access-transport-copy { padding: 24px 18px; border-width: 8px; }
  .access-transport-copy p { font-size: .92rem; }
  .access-transport-illustration { width: 64px; height: 90px; margin-left: 18px; }
  .access-parking-info > div { grid-template-columns: 58px minmax(0, 1fr); padding: 14px 0; }
  .access-parking-info dd { font-size: .88rem; }
  .access-reference-gallery { grid-template-columns: 1fr; gap: 20px; }
  .access-reference-gallery figure, .access-bicycle-photo { padding: 12px; }
  .access-panel { padding: 24px 20px; border-width: 8px; gap: 20px; }
  .access-panel-heading { gap: 18px; padding-bottom: 20px; }
  .access-panel-heading img { width: 60px; height: 88px; }
  .access-panel h3 { font-size: 1.05rem; }
  .access-panel .button { width: 100%; }
}
