/* Day Trips from Zürich — "Lakeside" theme
   Source of truth: theme/ (copied to public/theme/ by tools/build.mjs).
   Fonts are self-hosted; no third-party CSS or JS in the shell. */

@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 500 800; font-display: swap; src: url(/theme/fonts/BricolageGrotesque.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/theme/fonts/Figtree.woff2) format("woff2"); }

:root {
  --bg: #fbfcfd; --ink: #0f1c2e; --muted: #5b6b80; --line: #e3e9f0; --soft: #f2f5f9;
  --lake: #1d63d6; --lake-deep: #0d3f96; --lake-soft: #e6efff;
  --sun: #ffc531; --sun-soft: #fff3c9; --sun-ink: #7a5200; --mint: #e4f7ef; --mint-ink: #0a7a4e;
  --r: 18px; --r-sm: 12px;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--lake); text-decoration: none; }
a:hover { color: var(--lake-deep); }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
h1 strong, h2 strong, h3 strong, h4 strong { font-weight: inherit; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg { flex: none; }

/* ---------- reading progress (CSS scroll-driven; harmless where unsupported) */
.progress { position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 60; background: var(--line); }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--lake), var(--sun)); transform-origin: left; transform: scaleX(0); }
@supports (animation-timeline: scroll()) {
  .progress i { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { to { transform: scaleX(1); } }
}

/* ---------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 252, 253, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.mark { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.nav { display: flex; gap: 4px; }
.nav > li { list-style: none; position: relative; }
.nav, .nav ul { margin: 0; padding: 0; }
.nav a { display: block; padding: 10px 12px; color: var(--ink); font-weight: 600; font-size: 15px; border-radius: 10px; position: relative; }
.nav > li > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--sun); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav > li:hover > a::after, .nav > li:focus-within > a::after, .nav > li.on > a::after { transform: scaleX(1); }
.nav .sub { position: absolute; left: 0; top: 100%; min-width: 240px; padding: 8px; margin-top: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 50px -24px rgba(13, 63, 150, .45); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.nav > li:hover .sub, .nav > li:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.nav .sub li { list-style: none; }
.nav .sub a { font-weight: 500; padding: 9px 12px; }
.nav .sub a:hover { background: var(--soft); }
.tools { display: flex; align-items: center; gap: 10px; }
.search { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: 0 4px 0 12px; height: 40px; }
.search input { border: 0; outline: 0; background: none; font: inherit; font-size: 14px; width: 130px; color: var(--ink); }
.search button { border: 0; background: none; padding: 6px; display: grid; cursor: pointer; color: var(--ink); }
.cta { background: var(--ink); color: #fff !important; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; white-space: nowrap; transition: transform .2s, background .2s; }
.cta:hover { background: var(--lake-deep); transform: translateY(-1px); }
.burger { display: none; }
.burger summary { list-style: none; cursor: pointer; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.burger summary::-webkit-details-marker { display: none; }
.burger .sheet { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px 20px; box-shadow: 0 30px 40px -30px rgba(13, 63, 150, .4); }
.burger .sheet ul { list-style: none; margin: 0; padding: 0; }
.burger .sheet > ul > li { border-top: 1px solid var(--line); padding: 6px 0; }
.burger .sheet a { display: block; padding: 8px 4px; color: var(--ink); font-weight: 600; }
.burger .sheet .sub a { font-weight: 400; padding-left: 16px; color: var(--muted); }
.burger .sheet form { margin-top: 10px; }

/* ---------- hero */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin: 24px 0 16px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--lake); }
.crumbs span[aria-current] { color: var(--ink); }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 6px; background: var(--sun-soft); color: var(--sun-ink); font-weight: 700; font-size: 12px; padding: 5px 11px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.pill.blue { background: var(--lake-soft); color: var(--lake-deep); }
.pill.green { background: var(--mint); color: var(--mint-ink); }
.hero h1 { font-size: clamp(34px, 4vw, 52px); font-weight: 800; margin: 16px 0 14px; text-wrap: balance; }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, var(--sun), var(--sun)) no-repeat 0 78% / 100% 38%; }
.lede { font-size: 19px; color: var(--muted); line-height: 1.5; margin: 0; }
.meta { display: flex; align-items: center; gap: 14px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.meta strong { color: var(--ink); }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--lake), #7fb0ff); display: grid; place-items: center; color: #fff; font-weight: 700; font-family: var(--display); flex: none; }
.heroimg { border-radius: 26px; overflow: hidden; aspect-ratio: 5 / 4; box-shadow: 0 30px 60px -30px rgba(13, 63, 150, .45); background: var(--soft); }
.heroimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rise { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .15s; } .d3 { animation-delay: .25s; } .d4 { animation-delay: .35s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.blob { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(80px); opacity: .32; pointer-events: none; z-index: -1; animation: float 10s ease-in-out infinite alternate; }
@keyframes float { to { transform: translate(40px, -30px); } }
.page { position: relative; overflow: clip; }

/* ---------- layout */
.cols { display: grid; grid-template-columns: minmax(0, 740px) minmax(280px, 1fr); gap: 56px; margin-top: 56px; align-items: start; }
.cols.single { grid-template-columns: minmax(0, 780px); justify-content: center; }
aside.side { display: flex; flex-direction: column; gap: 22px; }
.box { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.box h2, .box h4 { margin: 0 0 12px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.toc { display: flex; flex-direction: column; gap: 2px; counter-reset: toc; }
.toc a { color: var(--ink); font-size: 14.5px; padding: 7px 12px; border-radius: 10px; border-left: 3px solid transparent; line-height: 1.35; }
.toc a:hover { background: var(--lake-soft); border-left-color: var(--lake); color: var(--lake-deep); }
.mini { display: flex; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); color: var(--ink); }
.mini:first-of-type { border-top: 0; padding-top: 0; }
.mini img { width: 68px; height: 54px; object-fit: cover; border-radius: 10px; flex: none; }
.mini b { display: block; font-size: 14px; line-height: 1.3; font-weight: 600; }
.mini:hover b { color: var(--lake); }
.mini span { font-size: 12px; color: var(--muted); }
.sunbox { background: linear-gradient(135deg, var(--sun), #ffdd7a); border: 0; }
.sunbox h4 { color: var(--sun-ink); }
.sunbox p { font-size: 15px; margin: 0 0 14px; color: #3d2a00; }
.btn { display: inline-block; background: var(--ink); color: #fff !important; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.btn:hover { background: var(--lake-deep); }
.gyg { min-height: 120px; }
.gyg > div > span { font-size: 12px; color: var(--muted); }

/* ---------- article body (WordPress block markup) */
.answer { border-radius: var(--r); background: var(--lake-soft); border-left: 6px solid var(--lake); padding: 20px 24px; margin: 0 0 28px; }
.answer b.label { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--lake-deep); margin-bottom: 8px; }
.answer p { margin: 0; font-size: 18px; line-height: 1.55; }
.entry-content { font-size: 17.5px; }
.entry-content > p:first-child { font-size: 19px; }
.entry-content p { margin: 0 0 18px; }
.entry-content a { text-decoration: underline; text-decoration-color: rgba(29, 99, 214, .35); text-underline-offset: 3px; }
.entry-content a:hover { text-decoration-color: currentColor; }
.entry-content h2 { font-size: clamp(26px, 3vw, 32px); font-weight: 700; margin: 48px 0 16px; counter-increment: sec; }
.entry-content h2::before { content: counter(sec, decimal-leading-zero); display: block; font-family: var(--body); font-size: 12px; font-weight: 700; color: var(--lake); letter-spacing: .12em; margin-bottom: 8px; }
.entry-content h3 { font-size: 21px; font-weight: 700; margin: 30px 0 10px; }
.entry-content h4 { font-size: 18px; margin: 24px 0 8px; }
.entry-content ul, .entry-content ol { padding-left: 24px; margin: 0 0 18px; }
.entry-content li { margin: 6px 0; }
.entry-content li::marker { color: var(--lake); }
.entry-content figure, .entry-content .wp-block-image { margin: 26px 0; }
.entry-content .wp-block-image img, .entry-content figure > img, .entry-content > img { border-radius: var(--r); display: block; width: 100%; height: auto; }
.entry-content figcaption, .entry-content .wp-element-caption { font-size: 13px; color: var(--muted); margin-top: 10px; text-align: left; }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 0; }
.entry-content th { background: var(--ink); color: #fff; text-align: left; padding: 11px 14px; font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.entry-content td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.entry-content tbody tr:nth-child(even) td { background: var(--soft); }
.entry-content table a { text-decoration: none; }
.entry-content blockquote, .entry-content .wp-block-quote { margin: 26px 0; padding: 18px 22px; border-left: 4px solid var(--sun); background: var(--sun-soft); border-radius: 0 var(--r) var(--r) 0; }
.entry-content blockquote p:last-child { margin: 0; }
.entry-content hr, .entry-content .wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.entry-content iframe { max-width: 100%; border-radius: var(--r); }
.entry-content .wp-block-embed iframe, .entry-content .wp-block-embed__wrapper iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.entry-content .wp-block-button__link, .entry-content .elementor-button { display: inline-block; background: var(--lake); color: #fff !important; padding: 12px 20px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.entry-content .alignleft, .entry-content .alignright { float: none; margin: 0; }
.entry-content strong { font-weight: 700; }
.entry-content .has-text-align-center { text-align: center; }
.entry-content .wp-block-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
/* Gutenberg's "Category: Zurich" line duplicates the pill in the hero */
.entry-content .wp-block-post-terms, .entry-content .wp-block-spacer { display: none; }
/* FAQ questions inside the body */
.entry-content h3 + p { margin-bottom: 22px; }
.entry-content .eael-data-table, .entry-content .wp-block-group { margin: 0 0 18px; }
.entry-content details { border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin: 0 0 10px; background: #fff; }
.entry-content summary { font-weight: 600; cursor: pointer; }
.tip { display: flex; gap: 14px; background: var(--mint); border-radius: var(--r); padding: 18px 20px; margin: 26px 0; }

/* share / author / prev-next */
.share { display: flex; align-items: center; gap: 10px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.share a { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--ink); transition: .2s; }
.share a:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.author-box { display: flex; gap: 20px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; margin-top: 32px; }
.author-box .avatar { width: 64px; height: 64px; font-size: 22px; }
.author-box h2 { font-size: 19px; font-weight: 700; }
.author-box p { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.author-box .links { display: flex; gap: 16px; margin-top: 12px; font-size: 14px; font-weight: 600; }
.pn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.pn a { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; color: var(--ink); background: #fff; font-weight: 600; line-height: 1.3; transition: .2s; }
.pn a:hover { border-color: var(--lake); transform: translateY(-2px); }
.pn a.next { text-align: right; }
.pn small { display: block; color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 5px; font-weight: 700; }

/* ---------- cards */
.related { margin-top: 72px; }
.related h2, .section-title { font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: transform .25s, box-shadow .25s; color: var(--ink); display: flex; flex-direction: column; }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(13, 63, 150, .5); color: var(--ink); }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; background: var(--soft); }
.card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.card h3 { font-size: 18px; font-weight: 700; line-height: 1.25; }
.card p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card time, .card .when { font-size: 13px; color: var(--muted); }

/* ---------- archive */
.archive-head { padding: 40px 0 8px; }
.archive-head h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 800; margin: 12px 0 12px; }
.archive-head h1 em { font-style: normal; background: linear-gradient(120deg, var(--sun), var(--sun)) no-repeat 0 78% / 100% 38%; }
.archive-head .lede { max-width: 720px; }
.archive-head .count { font-size: 14px; color: var(--muted); margin-top: 12px; }
.list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.list .card.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; }
.list .card.wide img { aspect-ratio: auto; height: 100%; min-height: 300px; }
.list .card.wide .body { padding: 32px; justify-content: center; }
.list .card.wide h3 { font-size: 26px; }
.list .card.wide p { -webkit-line-clamp: 4; font-size: 15px; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 42px; height: 42px; padding: 0 14px; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; }
.pager a:hover { border-color: var(--lake); color: var(--lake); }
.pager .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager .disabled { opacity: .4; }
.cats { list-style: none; margin: 0; padding: 0; }
.cats li { border-top: 1px solid var(--line); }
.cats > li:first-child { border-top: 0; }
.cats a { display: flex; justify-content: space-between; padding: 9px 4px; color: var(--ink); font-weight: 500; font-size: 15px; border-radius: 8px; }
.cats a:hover { color: var(--lake); }
.cats a span { color: var(--muted); font-size: 13px; }
.cats ul { list-style: none; padding-left: 16px; margin: 0; }
.cats ul li { border: 0; }
.cats ul a { font-size: 14px; font-weight: 400; padding: 5px 4px; }
.cats .current-cat > a { color: var(--lake-deep); font-weight: 700; }
.author-hero { display: flex; gap: 28px; align-items: center; margin-top: 16px; }
.author-hero img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 20px 40px -20px rgba(13, 63, 150, .5); }
.author-hero .links { display: flex; gap: 14px; margin-top: 10px; font-size: 14px; font-weight: 600; }

/* ---------- static page */
.page-head { padding: 40px 0 0; }
.page-head h1 { font-size: clamp(34px, 4.5vw, 52px); font-weight: 800; margin: 12px 0 0; }
.entry-content.plain h2::before { content: none; }
.entry-content.plain h2 { margin-top: 36px; font-size: 26px; }
.contact-card { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; margin: 24px 0; }
.contact-card svg { color: var(--lake); }
.err { text-align: center; padding: 80px 0 40px; }
.err h1 { font-size: clamp(40px, 8vw, 96px); font-weight: 800; }
.err p { color: var(--muted); font-size: 19px; }

/* ---------- footer */
.site-footer { margin-top: 90px; background: var(--ink); color: #c9d4e3; padding: 56px 0 36px; font-size: 14px; }
.site-footer .grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.site-footer b { color: #fff; display: block; margin-bottom: 10px; font-family: var(--display); font-size: 16px; }
.site-footer a { color: #c9d4e3; display: block; padding: 3px 0; }
.site-footer a:hover { color: var(--sun); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer .about p { margin: 0 0 14px; max-width: 360px; }
.social { display: flex; gap: 8px; }
.social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; padding: 0; color: #fff; }
.social a:hover { background: var(--sun); color: var(--ink); }
.site-footer .legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; color: #8b9ab0; }
.site-footer .legal a { display: inline; color: #c9d4e3; }

/* ---------- responsive */
@media (max-width: 1040px) {
  .nav > li > a { padding: 10px 9px; font-size: 14px; }
  .search input { width: 90px; }
}
@media (max-width: 900px) {
  .nav, .search, .site-header .cta { display: none; }
  .burger { display: block; }
  .hero { grid-template-columns: 1fr; gap: 24px; }
  .heroimg { aspect-ratio: 16 / 10; }
  .cols { grid-template-columns: 1fr; gap: 40px; }
  aside.side { position: static; }
  .cards { grid-template-columns: 1fr 1fr; }
  .site-footer .grid { grid-template-columns: 1fr 1fr; }
  .list .card.wide { grid-template-columns: 1fr; }
  .list .card.wide img { min-height: 0; aspect-ratio: 16 / 10; }
  .list .card.wide .body { padding: 20px; }
}
@media (max-width: 600px) {
  .wrap { width: min(1200px, 100% - 32px); }
  body { font-size: 16px; }
  .entry-content { font-size: 16.5px; }
  .cards, .list, .site-footer .grid { grid-template-columns: 1fr; }
  .pn { grid-template-columns: 1fr; }
  .pn a.next { text-align: left; }
  .meta { flex-wrap: wrap; }
  .author-hero { flex-direction: column; text-align: center; align-items: center; }
  .author-hero .links { justify-content: center; }
  .blob { width: 300px; height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  .rise, .blob, .progress i { animation: none !important; }
  .card, .pn a, .cta, .share a { transition: none; }
  html { scroll-behavior: auto; }
}
