/* Hallmark v2.0.0 · theme: wohin.jetzt locked Loom · shape: year explorer · hero: monthly travel preview · signature: twelve real months · genre: editorial */
/* Critique: the calendar becomes the main browsing action; the existing finder and verified travel facts remain available. */
:root { --month-duration: 220ms; --month-ease: cubic-bezier(0.22, 1, 0.36, 1); }
.month-explorer { padding-bottom: var(--space-xl); }
.month-explorer-bar { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); }
.month-explorer-bar > p { margin: 0; font-size: 18px; font-weight: 600; }
.month-explorer-controls { display: flex; gap: var(--space-xs); }
.month-explorer-controls[hidden], .month-discovery-filter[hidden], .month-story-grid [hidden] { display: none; }
.month-explorer-controls button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--rule); color: var(--blue); background: var(--paper); font: 600 22px var(--font-body); cursor: pointer; }
.month-explorer-months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); margin-block: var(--space-sm) var(--space-lg); border-block: 1px solid var(--rule); }
.month-explorer-months a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 72px; color: var(--text); font-size: 15px; text-decoration: none; transition: transform var(--month-duration) var(--month-ease); }
.month-explorer-months a > span { font-size: 14px; color: var(--muted); }
.month-explorer-months a[aria-current] { background: var(--yellow); color: var(--ink); }
.month-explorer-months a:hover { background: var(--paper-well); transform: translateY(-2px); }
.month-explorer-months a[aria-current]:hover { background: var(--yellow); }
.month-preview { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--gap-columns); align-items: center; min-height: 315px; }
.month-preview-photo, .month-preview-copy { min-width: 0; }
.month-preview-photo .travel-photo { margin: 0; }
.month-preview-photo .travel-photo img { width: 100%; aspect-ratio: 1.8; object-fit: cover; }
.month-preview-copy h2 { text-wrap: balance; font-size: clamp(32px, 3.6vw, 48px); margin: var(--space-xs) 0 var(--space-sm); overflow-wrap: break-word; }
.month-preview-copy > p { font-size: 18px; line-height: 1.5; margin-block: var(--space-sm); max-width: 48ch; }
.month-preview-copy .month-preview-month { font-size: 16px; font-weight: 600; color: var(--blue); margin: 0; }
.month-preview-copy .button { margin-block: var(--space-xs); }
.month-preview-copy .month-preview-other { font-size: 16px; }
.month-preview-copy .text-link { font-size: 16px; }
.month-explorer-note { color: var(--muted); font-size: 14px; margin-top: var(--space-md); }
.month-explorer :is(a, button):focus-visible, .month-discovery :is(a, button):focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.month-explorer-controls button:active { transform: scale(0.95); }
.finder-section-heading { margin-top: var(--space-xl); padding-top: var(--space-xl); border-top: 1px solid var(--rule); }
.finder-section-heading h2 { margin: 0 0 var(--space-xs); font-size: var(--text-section); }
.finder-section-heading p { margin: 0; }
.month-discovery .page-heading { margin-bottom: var(--space-lg); }
.month-discovery .month-navigation { margin-block: var(--space-lg); }
.month-discovery-filter { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-bottom: var(--space-md); }
.month-discovery-filter button { padding: var(--space-sm) var(--space-md); min-height: 44px; font: 600 16px var(--font-body); color: var(--text); background: var(--paper); border: 1px solid var(--rule); cursor: pointer; }
.month-discovery-filter button[aria-pressed="true"] { color: var(--ink); background: var(--yellow); border-color: var(--ink); }
.month-discovery-filter button:hover { border-color: var(--blue); }
.month-filter-status { color: var(--muted); font-size: 16px; }
.month-story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl); margin-bottom: var(--space-xl); }
.month-story-grid .directory-item { display: flex; flex-direction: column; align-items: stretch; gap: var(--space-md); padding-block: 0 var(--space-lg); min-width: 0; }
.month-story-grid .directory-item .travel-photo { margin-bottom: var(--space-md); }
.month-story-grid .directory-item h3 { font-size: 36px; }
.month-story-grid .directory-item .small { font-size: 16px; }
.month-story-grid .directory-item p { font-size: 16px; line-height: 1.6; }
.month-story-grid .directory-item > .text-link { margin-top: auto; align-self: start; }
.month-story-grid .month-suitability { font-size: 16px; padding-left: var(--space-lg); }
.month-discovery .month-finder { scroll-margin-top: var(--space-xl); }
.after-search { padding-block: var(--space-xl); }
.after-search-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); }
.after-search-list article { border-top: 1px solid var(--rule); padding-top: var(--space-lg); min-width: 0; }
.after-search-list h3 { font-size: 32px; margin: 0 0 var(--space-md); }
.after-search-list nav { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-md); margin-top: var(--space-md); font-size: 16px; }
.after-search-list nav a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 900px) {
    .month-explorer-months { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .month-explorer-months a { min-height: 60px; }
    .month-preview { gap: var(--space-lg); }
    .after-search-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
    .month-explorer-months { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .month-explorer-months a { font-size: 16px; min-height: 44px; gap: 0; }
    .month-explorer-months a > span { display: none; }
    .month-preview { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
    .month-preview-copy > p { font-size: 16px; }
    .month-preview-copy h2 { text-wrap: balance; font-size: 36px; }
    .month-story-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .month-explorer * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
    .month-explorer-controls, .month-discovery-filter { display: none !important; }
    .month-preview, .month-story-grid { display: block; }
}

/* One swipeable month row replaces four rows on small screens. */
@media (max-width: 680px) {
    .month-explorer-bar { display: none; }
    .month-explorer-months { display: flex; overflow-x: auto; scroll-snap-type: x proximity; margin-block: 0 var(--space-sm); padding-block: 4px; }
    .month-explorer-months a { flex: 0 0 auto; padding-inline: var(--space-md); min-height: 44px; scroll-snap-align: center; }
    .month-preview { gap: var(--space-xs); min-height: 0; }
    .month-preview-photo .travel-photo img { aspect-ratio: 2; }
    .month-preview-copy h2 { font-size: 32px; margin-block: 4px var(--space-xs); }
    .month-preview-copy > p { margin-block: var(--space-xs); }
    .month-preview-copy .month-preview-month { display: none; }
}

/* The same selection carries discovery into a compact comparison workspace. */
.finder-section-heading { margin-top: var(--space-md); padding-top: var(--space-lg); }
.finder-section-heading h2 { font: 600 24px/1.3 var(--font-body); }
.app-finder.kiosk { display: block; margin-block: var(--space-md) var(--space-xl); }
.app-finder .kiosk-request { padding: var(--space-lg); background: var(--paper-raised); border: 1px solid var(--rule); border-radius: 16px; }
.app-finder .finder-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: var(--space-md) var(--space-lg); }
.app-finder .finder-time-fields { display: contents; }
.app-finder .finder-form > label, .app-finder .finder-time-fields > label { margin: 0; min-width: 0; }
.app-finder .finder-form select { width: 100%; min-height: 48px; }
.app-finder .finder-form .checkbox-label { grid-column: 1 / 3; align-self: center; }
.app-finder .finder-submit { grid-column: 3; margin: 0; width: 100%; }
.app-finder .finder-help { grid-column: 1 / -1; font-size: 15px; }
.app-finder .finder-help summary { width: fit-content; min-height: 44px; display: list-item; cursor: pointer; padding-block: var(--space-xs); }
.finder-results { padding-bottom: var(--space-xl); scroll-margin-top: var(--space-lg); }
.finder-results .output-heading { margin-bottom: var(--space-sm); }
.finder-results .output-heading h2 { font: 600 28px/1.2 var(--font-body); }
.finder-result-context { margin-top: 0; color: var(--muted); font-size: 16px; }
.finder-result-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); }
.finder-result { min-width: 0; display: flex; flex-direction: column; }
.finder-result .travel-photo { margin: 0; }
.finder-result .travel-photo img { width: 100%; height: 200px; object-fit: cover; border-radius: 14px; }
.finder-result-body { display: flex; flex-direction: column; align-items: stretch; flex: 1; padding-top: var(--space-md); }
.finder-result-body h3 { font: 600 28px/1.2 var(--font-body); margin: 0; }
.finder-result-body p { font-size: 16px; line-height: 1.55; margin-block: var(--space-sm); }
.finder-result-body .finder-result-country { margin-top: var(--space-xs); color: var(--muted); }
.finder-result-caveat { border-top: 1px solid var(--rule); padding-top: var(--space-sm); }
.finder-result-body .button { margin-top: auto; }
.finder-result-body nav { display: flex; flex-wrap: wrap; gap: 0 var(--space-md); margin-top: var(--space-xs); font-size: 14px; }
.finder-result-body nav a { display: inline-flex; align-items: center; min-height: 44px; }
.finder-comparison > summary { font: 600 22px/1.4 var(--font-body); cursor: pointer; min-height: 48px; padding-block: var(--space-xs); }
.finder-results :is(a, button):focus-visible, .app-finder :is(a, button, summary, select, input):focus-visible, .finder-comparison > summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
@media (max-width: 1000px) {
    .finder-result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
    .app-finder .kiosk-request { padding: var(--space-md); }
    .app-finder .finder-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); }
    .app-finder .finder-form > label[for="wish"] { grid-column: 1 / -1; }
    .app-finder .finder-form .checkbox-label, .app-finder .finder-submit { grid-column: 1 / -1; }
    .finder-result-grid { grid-template-columns: minmax(0, 1fr); }
    .finder-result .travel-photo img { height: 210px; }
}
