/* Shared city guide components. Imported city styles omit their old seasonal copies. */
body[data-city-guide] #seasons .city-season-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 30px;width:100%;max-width:none;margin:0;align-items:start}
body[data-city-guide] #seasons .city-season-card {display:flex;flex-direction:column;gap:0;min-width:0;width:100%;max-width:none;margin:0;padding:16px 0 0;border:0;border-top:1px solid var(--line,#d4dfd7);background:transparent;box-shadow:none;border-radius:0}
body[data-city-guide] #seasons :is(.season-visual,.season-copy,.v3-season-figure) {display:block;min-width:0;width:100%;max-width:none;margin:0;padding:0;background:transparent;border:0}
body[data-city-guide] #seasons .photo-wrap {position:relative;display:block;width:100%;max-width:none;height:auto;aspect-ratio:16/9;margin:0;overflow:hidden;border-radius:2px}
body[data-city-guide] #seasons .photo-wrap img {display:block;width:100%;height:100%;max-width:none;object-fit:cover;aspect-ratio:auto;margin:0}
body[data-city-guide] #seasons :is(.season-photo-caption,figcaption) {display:block;margin:7px 0 0;font-size:12px;line-height:1.7;color:var(--muted,#667b80)}
body[data-city-guide] #seasons :is(.season-tag,.v3-season-top) {display:block;margin:16px 0 7px;font-size:13px;line-height:1.6;color:var(--accent,#466b63)}
body[data-city-guide] #seasons .v3-season-top {order:0;margin:0 0 12px}
body[data-city-guide] #seasons .v3-season-dot {display:none}
body[data-city-guide] #seasons h3 {margin:0 0 10px;font-size:22px;line-height:1.55;color:var(--ink,#173c48)}
body[data-city-guide] #seasons .v3-season-figure+h3 {margin-top:16px}
body[data-city-guide] #seasons .city-season-card p {margin:0;font-size:15px;line-height:1.9}
body[data-city-guide] #seasons .v3-season-note {margin-top:22px;font-size:13px;color:var(--muted,#667b80)}
body[data-city-guide] :is(.section-title,.section-head) {min-width:0}
body[data-city-guide] .section-title {align-items:baseline;gap:20px}
body[data-city-guide] :is(.section-title,.section-head)>h2 {flex:0 1 auto;min-width:0}
body[data-city-guide] :is(.section-title,.section-head)>p {flex:0 1 auto;min-width:0;max-width:430px}
body[data-city-guide] :is(.feature,.feature-body,.feature-info,.other,.other-info,.other>div,.related-list>a,.related-list>a>span) {min-width:0;overflow-wrap:anywhere}
body[data-city-guide] :is(.feature-facts,.facts,.quickfacts) {min-width:0}
body[data-city-guide] :is(.feature-facts,.facts,.quickfacts)>div {min-width:0}
body[data-city-guide] .related-list {width:100%}
body[data-city-guide] .related-interactive {--article-related-accent:var(--accent,var(--moss,#276e60))}
body[data-city-guide] .city-place-caption {margin:7px 0 0;font-size:12px;line-height:1.7;color:var(--muted,#667b80)}
body[data-city-guide] .related.has-related-thumbnails .related-list > a {text-decoration:none}
body[data-city-guide] .related.has-related-thumbnails .related-list > a > span {display:block}
body[data-city-guide] .related-list :is(strong,small) {display:block}
body[data-city-guide] .related.has-related-thumbnails .related-list > a > .related-thumb {height:86px;width:100px}
body[data-city-guide] .article-photo-credits {font-size:12px;line-height:1.85}
body[data-city-guide] .article-photo-credits li {overflow-wrap:anywhere}
/* Imported guides use the same text hierarchy as the Sapporo guide. */
body[data-city-guide] .city-route-import {--city-route-heading:#365a49;--city-route-copy:#526963;--city-route-label:#899a8f;--city-route-note:#77897c}
body[data-city-guide] .city-route-text :is(.route-day,.dayblock) {border-bottom:1px solid var(--line,#dfe6e2);padding:10px 0 15px;margin:0 0 11px;min-width:0}
body[data-city-guide] .city-route-text :is(.route-day,.dayblock) h4 {font-family:inherit;font-size:17px;line-height:1.85;font-weight:700;color:var(--city-route-heading,inherit);margin:0 0 9px}
body[data-city-guide] .city-route-text :is(.route-row,.route-step,.rowstep) {display:grid;grid-template-columns:42px minmax(0,1fr);align-items:start;gap:10px;padding:5px 0;font-size:13px;line-height:1.85;color:var(--city-route-copy,inherit)}
body[data-city-guide] .city-route-text :is(.route-row,.route-step,.rowstep)>b {font-size:12px;line-height:1.85;color:var(--city-route-label,var(--muted,#677778))}
body[data-city-guide] .city-route-text :is(.route-row,.route-step,.rowstep)>:is(span,div) {min-width:0;overflow-wrap:anywhere}
body[data-city-guide] .city-route-text :is(.route-day,.dayblock) a {display:inline-block;font-size:12px;font-weight:400;max-width:100%;margin-left:6px;white-space:normal;overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:3px}
body[data-city-guide] .city-route-text :is(.route-note,.route-sub,.daynote) {font-size:12px;line-height:1.9;color:var(--city-route-note,var(--muted,#677778));margin:7px 0 0;overflow-wrap:anywhere}
body[data-city-guide] .city-route-text h4 :is(small,.date-label,.day-date) {font-size:12px;font-weight:500;color:var(--muted,#677778)}
body[data-city-guide] .city-reminders {padding-bottom:0;border-bottom:0}
body[data-city-guide] .city-tips-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}
body[data-city-guide] .city-tips-grid>article {min-width:0;border-top:2px solid var(--line,#cedbd3);padding-top:14px}
body[data-city-guide] .city-tips-grid h3 {font-size:17px;line-height:1.85;margin:0 0 7px}
body[data-city-guide] .city-tips-grid p {font-size:13px;line-height:1.85;color:#51656a;margin:0;overflow-wrap:anywhere}
body[data-city-guide] .city-tips-grid a {overflow-wrap:anywhere}
body[data-city-guide] .city-sources {font-size:12px;line-height:2.05;color:var(--muted,#677778);border-top:1px solid var(--line,#dfe6e2);border-bottom:0;padding:18px 0 0;margin:31px 0 0;min-width:0}
body[data-city-guide] .city-sources .section-title {display:block;margin:0 0 8px}
body[data-city-guide] .city-sources .section-title h2 {font-family:inherit;font-size:12px;line-height:2.05;font-weight:700;margin:0}
body[data-city-guide] .city-sources .section-title p {font-size:12px;line-height:2.05;max-width:none;margin:0}
body[data-city-guide] .city-sources>p {font-size:12px;line-height:2.05;margin:0}
body[data-city-guide] details.city-sources>summary {cursor:pointer;font-weight:600;width:fit-content;max-width:100%}
body[data-city-guide] details.city-sources>summary:focus-visible {outline:2px solid var(--ink,#163d4c);outline-offset:4px}
body[data-city-guide] details.city-sources[open]>summary {margin-bottom:10px}
body[data-city-guide] .city-sources a {font-size:12px;color:#5d7382;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
body[data-city-guide] .city-source-list {display:flex;flex-wrap:wrap;gap:4px 17px;list-style:none;margin:0;padding:0;min-width:0}
body[data-city-guide] .city-source-list>li {min-width:0;margin:0;padding:0}
/* A set of three seasonal scenes reads as one row on tablets and wider screens. */
@media(min-width:701px) {
  body[data-city-guide] #seasons .city-season-grid[data-season-count="3"] {grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,2vw,24px)}
}
@media(min-width:701px) and (max-width:900px) {
  body[data-city-guide] #seasons .city-season-grid[data-season-count="3"] h3 {font-size:18px}
  body[data-city-guide] #seasons .city-season-grid[data-season-count="3"] .city-season-card p {font-size:14px;line-height:1.8}
  body[data-city-guide] #seasons .city-season-grid[data-season-count="3"] :is(.season-photo-caption,figcaption) {font-size:11px}
  body[data-city-guide] #seasons .city-season-grid[data-season-count="3"] :is(.season-tag,.v3-season-top) {font-size:12px}
}
@media(max-width:780px) {
  body[data-city-guide] :is(.city-tips-grid,#tips .tips-grid) {grid-template-columns:minmax(0,1fr);gap:16px}
}
@media(max-width:1050px) {
  body[data-city-guide] .related.has-related-thumbnails .related-list > a > .related-thumb {width:86px;height:80px}
}
@media(max-width:700px) {
  body[data-city-guide] #seasons .city-season-grid {grid-template-columns:minmax(0,1fr);gap:28px}
  body[data-city-guide] :is(.section-title,.section-head) {flex-direction:column;align-items:flex-start;gap:10px}
  body[data-city-guide] :is(.section-title,.section-head)>p {flex:auto;max-width:none;width:100%}
  body[data-city-guide] #seasons h3 {font-size:21px}
}
