/* Oplev Viborg 2026: one coherent task-first design layer.
   Intent: readability, honest decisions, clear actions, responsive results.
   The existing /hero2blur.jpg image is intentionally untouched. */
:root {
  --bg:#f8f7f2;
  --surface:#fffefa;
  --surface-soft:#f4f6f0;
  --text:#17372e;
  --muted:#53665e;
  --border:#dce5de;
  --accent:#21664d;
  --accent-strong:#164e3d;
  --accent-soft:#edf5ef;
  --event:#99602f;
  --event-soft:#fff4e6;
  --font-display:"DM Serif Display",Georgia,serif;
  --font-body:Manrope,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --radius-xl:1.35rem;
  --radius-lg:1rem;
  --radius-md:.8rem;
}
html { scroll-padding-top:5rem; }
body { font-family:var(--font-body); color:var(--text); background:var(--bg); }
button,input,select,textarea { font-family:var(--font-body); }
p,li { overflow-wrap:break-word; }
:where(button,a,input,select,textarea,summary):focus-visible { outline:3px solid #237f5e; outline-offset:3px; }
:where(button,[role="button"]):disabled { cursor:not-allowed; opacity:.6; }
.site-header { border-bottom:1px solid #e7ece7; }
.site-header-inner { min-height:64px!important; }
.primary-nav .nav-link { min-height:44px; display:inline-flex; align-items:center; }
.primary-nav .nav-link:focus-visible { border-radius:.5rem; }
.home-hero { min-height:405px!important; padding:1.65rem 1rem 1.25rem!important; }
.home-hero-overlay { background:linear-gradient(180deg,rgba(4,29,22,.2),rgba(4,29,22,.69))!important; }
.home-hero-content { max-width:820px; }
.home-hero h1 { font-family:var(--font-display);font-weight:400; font-size:clamp(2.5rem,5.1vw,4.35rem)!important;line-height:1.08!important;letter-spacing:-.02em!important;text-wrap:balance; }
.home-hero h1 span { display:block; font-family:var(--font-body); font-size:clamp(.98rem,1.8vw,1.3rem);font-weight:600;line-height:1.35;margin:.52rem auto 0;letter-spacing:0; }
.home-hero-content>p:not(.home-hero-kicker):not(.home-hero-reassurance) { margin:.7rem auto .95rem!important;max-width:57ch;font-size:1rem!important;line-height:1.55!important; }
.hero-search-label { font-size:.95rem;letter-spacing:0; }
.hero-search-field { border-radius:.95rem; padding:.35rem .35rem .35rem .9rem; }
.hero-search-field input { font-size:1rem; min-height:48px; }
.hero-search-field button { min-height:48px; padding:.75rem 1.12rem;background:var(--accent-strong);font-size:.93rem; }
.hero-search-shortcuts { gap:.5rem; }
.hero-search-shortcuts button { min-height:40px; font-size:.83rem; border-color:rgba(255,255,255,.75); }
.home-hero-map-link { min-height:44px; font-size:.86rem; }
.home-hero .home-hero-reassurance { font-size:.82rem!important;line-height:1.5; }
.results-shell { padding:1.1rem!important; background:var(--surface); }
.results-intro { display:flex;justify-content:space-between;align-items:end;gap:1rem;margin:0 0 .85rem; }
.results-intro .section-kicker { color:#597265;letter-spacing:.09em;font-size:.73rem; }
.results-intro h2 {font-family:var(--font-display);font-weight:400; font-size:clamp(1.5rem,2.25vw,2.2rem);line-height:1.1;margin:.3rem 0 0;color:var(--text);}
.weekend-guide-link {display:inline-flex;align-items:center;gap:.45rem;flex:0 0 auto;min-height:44px;padding:.58rem .75rem;border-radius:.65rem;color:var(--accent-strong);font-size:.86rem;font-weight:750;text-underline-offset:.2rem;}
.weekend-guide-link:hover {background:var(--accent-soft);}
.filters-shell { background:var(--surface-soft)!important; }
.quick-discovery-toolbar {gap:.8rem;}
.intent-chip {min-height:44px;line-height:1.25;}
.intent-chip>span[aria-hidden="true"] {display:none;}
.quick-toolbar-tools :is(button,input) {min-height:44px;}
#filter-settings {min-height:44px;}
.more-filters :is(button,select,input) {min-height:44px;}
.more-filters [type="checkbox"] {min-height:18px;}
#result-count {display:inline-flex!important;align-items:center;color:var(--text);font-size:.88rem;font-weight:800;line-height:1.45;}
.list-toolbar {align-items:center;gap:.65rem;flex-wrap:wrap;}
.list-context-tools {flex-wrap:wrap;gap:.55rem;}
#place-list {scrollbar-color:#a0bbad transparent;}
.results-layout {grid-template-columns:minmax(0,1.8fr) minmax(360px,1fr);gap:1rem;}
#map {box-shadow:none;border:1px solid var(--border);}
.place-card-wrap {border-radius:1rem;overflow:visible;}
.place-card {background:#fff; border:1px solid var(--border)!important;box-shadow:none!important;min-height:132px;}
.place-card:hover {border-color:#9bbbac!important;box-shadow:0 4px 16px rgba(19,55,39,.07)!important;}
.place-card:focus-visible {outline:3px solid #237f5e;outline-offset:3px;}
.place-card-title {color:var(--text);font-size:clamp(.99rem,1.2vw,1.1rem);font-weight:800;line-height:1.3;}
.place-card-description {color:var(--muted);font-size:.82rem;line-height:1.5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;}
.place-card-decision {align-items:start;gap:.35rem;}
.place-decision-fact {background:#edf4ed;border-color:#d4e4d8;}
.place-card-meta-row {row-gap:.32rem;}
.place-card-actions :is(button,a),.favorite-toggle,.planner-toggle {min-height:44px;min-width:44px;}
.place-card-details-action {background:#edf5ef;color:#164e3d;font-weight:800;}
.place-card-directions {font-weight:750;}
.place-image-disclaimer {background:rgba(255,255,255,.94);color:#334b41;}
.availability-chip {white-space:normal;}
.free-badge {background:#164e3d;color:#fff;}
.recent-places-section,.favorites-section,.planner-section,.inspiration-section {border:1px solid var(--border);}
.inspiration-teaser {transition:transform .15s ease,border-color .15s ease;}
.inspiration-teaser:focus-visible {outline:3px solid #237f5e;}
.inspiration-teaser strong {line-height:1.25;}
.newsletter-section {border-radius:1.15rem;}
.newsletter-copy p {line-height:1.55;}
.newsletter-form label {font-size:.9rem;}
.newsletter-input-row input {min-height:48px;}
.newsletter-input-row button {min-height:48px;font-size:.88rem;}
.newsletter-status {min-height:1.2em;}
.site-footer {line-height:1.5;}
@media (max-width:1120px) {
  .results-layout {grid-template-columns:minmax(0,1.5fr) minmax(320px,1fr);}
}
@media (max-width:920px) {
  .results-layout {display:block;}
  body.mobile-view-list .map-column {display:none!important;}
  body.mobile-view-map .map-column {display:block!important;}
  body.mobile-view-map .list-column .place-list {display:none!important;}
  body.mobile-view-list .list-column .place-list {display:grid!important;}
  .mobile-segmented {display:flex;position:sticky;top:0;z-index:5;gap:.55rem;background:var(--surface);padding:.4rem 0;}
  .mobile-segmented button {min-height:48px;flex:1;}
  .list-toolbar {position:relative;top:auto;}
  .place-list {max-height:none;}
}
@media (max-width:760px) {
  .page-shell {width:min(100% - .5rem,1760px);}
  .home-hero {min-height:405px!important;padding:1.25rem .65rem!important;}
  .home-hero h1 {font-size:clamp(2.05rem,9.2vw,3.1rem)!important;line-height:1.12!important;}
  .home-hero-content {width:calc(100% - .6rem)!important;}
  .home-hero-content>p:not(.home-hero-kicker):not(.home-hero-reassurance) {font-size:.9rem!important;line-height:1.45!important;}
  .hero-search-field {flex-wrap:wrap;padding:.32rem .35rem;}
  .hero-search-field input {font-size:1rem;flex-basis:calc(100% - 2.6rem);min-height:44px;}
  .hero-search-field button {width:100%;font-size:.94rem;min-height:46px;}
  .hero-search-shortcuts {gap:.34rem;}
  .hero-search-shortcuts button {min-height:42px;padding:.45rem .63rem;}
  .results-shell {padding:.75rem!important;}
  .results-intro {align-items:start;flex-direction:column;gap:.2rem;}
  .results-intro h2 {font-size:1.65rem;}
  .weekend-guide-link {padding:.45rem .2rem;}
  .quick-discovery-toolbar {gap:.55rem;}
  .place-card-description {font-size:.82rem;}
  #map {height:56vh;min-height:370px;}
  .newsletter-section .newsletter-input-row {grid-template-columns:minmax(0,1fr);gap:.4rem;padding:.35rem;}
  .newsletter-section .newsletter-input-row button {width:100%;font-size:.92rem;}
}
@media (max-width:400px) {
  .site-header .primary-nav {justify-content:flex-start!important;}
  .hero-search-shortcuts span:first-child {display:none;}
  .home-hero {min-height:445px!important;}
  .home-hero h1 {font-size:2rem!important;}
  .home-hero-map-link {font-size:.81rem;}
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after {scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important;}
}

/* Honest live event module: no empty event theatre and no fabricated sessions. */
#events[hidden] {display:none!important;}
#events {margin:1rem 0; padding:1.2rem 1.35rem; background:#fffefa; border:1px solid var(--border); border-radius:1.1rem;}
#events .section-heading-row {gap:1rem;}
#events .section-lead {color:var(--muted);line-height:1.5;}
#events .event-periods {display:flex;flex-wrap:wrap;gap:.5rem;margin:.9rem 0 1rem;}
#events .event-period-button {min-height:44px;border:1px solid var(--border);background:#fff;color:var(--text);font:700 .88rem var(--font-body);padding:.55rem .85rem;border-radius:999px;cursor:pointer;}
#events .event-period-button.active {background:var(--accent-strong);border-color:var(--accent-strong);color:white;}
#events .events-grid {gap:.85rem;}
#events .event-card {border-radius:.95rem;min-height:96px;}
#events .event-card:focus-visible {outline:3px solid #237f5e;outline-offset:3px;}
#events .events-empty {font-size:.9rem;color:var(--muted);}
#events .events-empty a {color:var(--accent-strong);font-weight:800;}
@media(max-width:760px){#events {padding:1rem .85rem;}#events .event-period-button {font-size:.8rem;}}

/* Mobile switch stays above the map in both reading and visual order. */
@media(max-width:920px){
  #oplevelser>.mobile-segmented{position:sticky;top:0;z-index:10;display:flex;gap:.55rem;background:var(--surface);padding:.45rem 0;margin:0 0 .65rem;border-bottom:1px solid var(--border)}
  #oplevelser>.mobile-segmented .segment-button{flex:1;min-height:48px}
  #oplevelser>.mobile-segmented .segment-button[aria-pressed="true"]{background:var(--accent-strong);color:#fff;border-color:var(--accent-strong)}
}
@media(min-width:921px){#oplevelser>.mobile-segmented{display:none!important}}

/* Server-rendered calendar guides remain usable without JavaScript, including QR/Facebook visits. */
.calendar-landing {max-width:1180px;margin:1rem auto;padding:1.2rem;border:1px solid var(--border);border-radius:1rem;background:var(--surface);}
.calendar-landing h1 {margin:.4rem 0 .9rem;color:var(--text);font:400 clamp(1.65rem,3vw,2.6rem)/1.15 var(--font-display);}
.calendar-landing h2 {color:var(--text);font:400 clamp(1.25rem,2vw,1.65rem)/1.2 var(--font-display);margin:1.1rem 0 .45rem;}
.calendar-landing p {color:var(--muted);line-height:1.55;}
.calendar-landing .server-area-links {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:.75rem;padding:0;list-style:none;}
.calendar-landing .server-area-links li {padding:.8rem;border:1px solid var(--border);border-radius:.8rem;background:#fff;}
.calendar-landing a {color:var(--accent-strong);font-weight:750;text-underline-offset:3px;}
.calendar-landing a:focus-visible {outline:3px solid #237f5e;outline-offset:3px;}

/* Remove filler modules and reclaim the first screen without changing hero photo. */
.home-hero{min-height:335px!important;padding:1.3rem 1rem 1rem!important;}
.home-hero-content>p:not(.home-hero-kicker):not(.home-hero-reassurance){margin:.48rem auto .72rem!important;}
#hero-search-form .hero-search-field{column-gap:1rem!important;row-gap:.7rem!important;}
#hero-search-form .hero-search-field button{margin-left:.4rem;flex-shrink:0;}
#hero-search-form .hero-search-field input{min-width:0;}
.home-hero-actions{margin:.2rem 0 0;}
#saved-tools[hidden],#saved-tools .favorites-section[hidden],#saved-tools .planner-section[hidden]{display:none!important;}
#saved-tools{display:block;max-width:100%;margin:1rem 0;padding:0;border:0;background:transparent;}
#saved-tools .home-personal-main{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,350px),1fr));gap:1rem;}
#saved-tools .favorites-section,#saved-tools .planner-section{margin:0;min-width:0;}
.newsletter-section{margin:1rem 0;}
.inspiration-section .section-heading-row{margin-bottom:.65rem;}
#events .section-heading-row{margin-bottom:.65rem;}
@media(max-width:760px){
 .home-hero{min-height:350px!important;padding:1rem .65rem .9rem!important;}
 #hero-search-form .hero-search-field{column-gap:.55rem!important;row-gap:.7rem!important;}
 #hero-search-form .hero-search-field button{margin:.2rem 0 0;width:100%;}
 #hero-search-form .hero-search-field input{flex-basis:calc(100% - 2.8rem);}
 #saved-tools .home-personal-main{grid-template-columns:minmax(0,1fr);}
}
@media(max-width:400px){.home-hero{min-height:390px!important;}}
