/* Aizkorri Hikes – public site. No external resources. */
:root {
  --bg: #ffffff; --fg: #23262b; --muted: #6b7078; --line: #e5e7eb; --card: #ffffff; --soft: #f4f6f8;
  --accent: #3498db; --accent-2: #006bda; --accent-ink: #0a5fb0;
  --hdr: #000000; --hdr-fg: #ffffff;
  --shadow: 0 2px 4px rgba(0,0,0,.04), 0 6px 20px rgba(0,0,0,.08);
  --radius: 15px;
  --font: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --hero-btn: #4fb6dd;
  color-scheme: light;
}
/* Dark: follows the device, unless the visitor picked a theme with the toggle (stored per browser). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0f1114; --fg: #e7e9ec; --muted: #9ba2ab; --line: #2a2f36; --card: #171a1f; --soft: #1c2026;
    --accent: #5aaef0; --accent-2: #4d9cf0; --accent-ink: #8cc6f5; --shadow: 0 2px 4px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35); color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #0f1114; --fg: #e7e9ec; --muted: #9ba2ab; --line: #2a2f36; --card: #171a1f; --soft: #1c2026;
  --accent: #5aaef0; --accent-2: #4d9cf0; --accent-ink: #8cc6f5; --shadow: 0 2px 4px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35); color-scheme: dark; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.65 var(--font); text-rendering: optimizeLegibility; display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }
img { max-width: 100%; height: auto; }
a { color: var(--accent-ink); text-underline-offset: 2px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.25; font-weight: 600; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--accent); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; top: 8px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.wrap { max-width: 1140px; margin: 0 auto; padding: 28px 20px 56px; }
.wrap.narrow { max-width: 860px; }

/* ---------- header ---------- */
.site-header { background: var(--hdr); color: var(--hdr-fg); position: sticky; top: 0; z-index: 20; }
.hdr { margin: 0 auto; padding: 10px 2%; display: flex; align-items: center; gap: 20px; min-height: 86px; }
.brand { display: flex; align-items: center; gap: 20px; color: var(--hdr-fg); text-decoration: none; font-weight: 500; font-size: 2.3rem; line-height: 1.2; letter-spacing: .2px; }
.brand:hover { color: var(--hdr-fg); }
.brand img { width: auto; height: 55px; max-width: 70px; object-fit: contain; }
.theme-toggle { margin-left: 6px; background: none; border: 0; color: var(--hdr-fg); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; opacity: .8; flex: none; }
.theme-toggle:hover { opacity: 1; background: rgba(255,255,255,.12); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: none; }
}
.no-js .theme-toggle { display: none; }
.site-header nav { margin-left: auto; }
.site-header nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-header nav a { color: var(--hdr-fg); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: .97rem; display: block; }
.site-header nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.site-header nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; color: #fff; }
.nav-toggle span:first-child, .nav-toggle span:first-child::before, .nav-toggle span:first-child::after { position: absolute; left: 11px; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; content: ""; }
.nav-toggle span:first-child { top: 21px; }
.nav-toggle span:first-child::before { left: 0; top: -7px; }
.nav-toggle span:first-child::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] span:first-child { background: transparent; }
.nav-toggle[aria-expanded="true"] span:first-child::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:first-child::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 900px) {
  .brand { font-size: 1.6rem; gap: 12px; }
  .brand img { height: 44px; }
  .theme-toggle { margin-left: auto; }
  .nav-toggle { margin-left: 4px; }
  .hdr { min-height: 70px; }
  .nav-toggle { display: block; }
  .site-header nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--hdr); max-height: 0; overflow: hidden; transition: max-height .25s ease; }
  .site-header nav.open { max-height: 400px; }
  .site-header nav ul { flex-direction: column; padding: 6px 12px 14px; }
  .site-header nav a { padding: 12px; font-size: 1.05rem; }
  .site-header nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); }
  .no-js .site-header nav { position: static; max-height: none; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--hdr); color: #fff; margin-top: 40px; }
.ftr { max-width: 1140px; margin: 0 auto; padding: 36px 20px; display: grid; gap: 18px; grid-template-columns: 1fr auto; align-items: center; }
.ftr .brand { font-size: 1.2rem; }
.ftr .tagline { margin: 2px 0 0; color: #c9cdd2; font-size: .92rem; }
.ftr ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; }
.ftr a { color: #fff; text-decoration: none; font-size: .93rem; }
.ftr a:hover { color: var(--accent); }
.ftr .copy { grid-column: 1 / -1; margin: 0; padding-top: 16px; border-top: 1px solid #262626; color: #9ea4ab; font-size: .85rem; }
.ftr .copy a { color: #9ea4ab; }
@media (max-width: 700px) { .ftr { grid-template-columns: 1fr; } }

/* ---------- section titles ---------- */
.section-title { text-transform: uppercase; letter-spacing: 1px; font-weight: 800; font-size: 1.9rem; border-left: 4px solid var(--accent); padding-left: 12px; margin: 10px 0 28px; line-height: 1.2; }
.section-title.small { font-size: 1.15rem; margin-top: 40px; }
.intro { max-width: 760px; color: var(--muted); margin: -10px 0 30px; }

/* ---------- hero ---------- */
.hero { position: relative; max-width: 1200px; margin: 20px auto 0; height: 60vh; min-height: 300px; max-height: 500px; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; background: #1d2228; box-shadow: var(--shadow); }
@media (min-width: 1240px) { .hero { margin-top: 24px; } }
@media (max-width: 1240px) { .hero { margin-left: 16px; margin-right: 16px; } }
.hero.plain { height: auto; min-height: 220px; background: linear-gradient(135deg, #023169, #006bda); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.55)); animation: darken 1s ease forwards; }
.hero-in { position: relative; z-index: 1; text-align: center; color: #fff; padding: 30px 24px; max-width: 1140px; animation: fadein .9s ease .3s both; }
.hero h1 { font-size: clamp(1.9rem, 5vw, 3rem); margin: 0; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; text-shadow: 0 2px 12px rgba(0,0,0,.35); text-wrap: balance; }
.hero-sub { font-size: clamp(1rem, 2.2vw, 1.25rem); margin: 10px 0 0; font-weight: 400; opacity: .95; }
.hero-meta { font-size: 1.1rem; margin: 12px 0 0; font-weight: 300; }
.hero-meta a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.5); }
.hero-meta a:hover { border-color: #fff; color: #fff; }
@keyframes darken { from { opacity: .4; } to { opacity: 1; } }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.hero + .prose { margin-top: 44px; }
.coffee { text-align: center; color: var(--muted); font-size: .88rem; margin: 14px 0 34px; }

/* ---------- prose ---------- */
.prose { max-width: 800px; margin: 0 auto; padding: 0 20px; line-height: 1.8; font-size: 1.04rem; }
.prose > p { text-align: justify; hyphens: auto; margin: 0 0 20px; }
.prose h2 { text-transform: uppercase; letter-spacing: 2px; margin: 44px 0 22px; font-size: 1.45rem; font-weight: 500; }
.prose h3 { margin: 32px 0 14px; font-size: 1.2rem; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 22px; }
.prose li { margin: 6px 0; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 44px auto; width: 60%; }
.prose blockquote { margin: 30px 0; padding: 14px 22px; border-left: 4px solid var(--accent); background: var(--soft); border-radius: 0 10px 10px 0; font-style: italic; }
.prose blockquote p { margin: 0; }
.prose blockquote cite { display: block; margin-top: 8px; font-style: normal; color: var(--muted); font-size: .92rem; }
.prose figure { margin: 26px 0; }
.prose figure.img a { display: block; width: 90%; margin: 0 auto; }
.prose figure.img.wide a { width: 100%; }
.prose figure.img img { display: block; width: 100%; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,.12); }
.prose figcaption { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 8px; line-height: 1.5; }
.gallery { display: grid; gap: 12px; width: 90%; margin: 24px auto; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.gallery.g1 { grid-template-columns: 1fr; }
.gallery figure { margin: 0; }
.gallery a { display: block; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,.12); aspect-ratio: 4 / 3; background: var(--soft); }
.gallery.g1 a { aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.gallery a:hover img, .prose figure.img a:hover img { transform: scale(1.02); }
.prose figure.img a { overflow: hidden; border-radius: 8px; }
a.lb { cursor: zoom-in; }
@media (max-width: 600px) {
  .prose > p { text-align: left; }
  .prose figure.img a, .gallery { width: 100%; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery.g1 { grid-template-columns: 1fr; }
}

/* hike facts */
.facts { margin: 30px 0; background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.facts dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.facts div { display: grid; grid-template-columns: 30px 1fr; align-items: center; column-gap: 10px; }
.facts svg { width: 28px; height: 28px; color: var(--accent); grid-row: span 2; }
.facts dt { font-size: .75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); line-height: 1.2; }
.facts dd { margin: 0; font-weight: 600; font-size: 1.05rem; line-height: 1.3; }

/* post bottom */
.crew, .tags, .pn { max-width: 800px; margin: 36px auto 0; padding: 0 20px; }
.crew h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 600; }
.crew ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.crew a { display: flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border: 1px solid var(--line); border-radius: 30px; text-decoration: none; color: var(--fg); font-size: .9rem; }
.crew a:hover { border-color: var(--accent); }
.crew img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { background: var(--soft); color: var(--muted); padding: 4px 12px; border-radius: 6px; font-size: .85rem; }
.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.pn a { text-decoration: none; color: var(--fg); padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; font-weight: 500; line-height: 1.4; }
.pn a:hover { border-color: var(--accent); color: var(--accent-ink); }
.pn small { display: block; color: var(--muted); font-weight: 400; font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.pn .next { text-align: right; }
@media (max-width: 600px) { .pn { grid-template-columns: 1fr; } .pn .next { text-align: left; } }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-6px); }
.card-img { display: block; aspect-ratio: 4 / 3; background: var(--soft); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-img .ph { display: block; height: 100%; background: linear-gradient(135deg, #023169, #006bda); }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin: 0 0 6px; font-size: 1.2rem; }
.card h3 a { color: var(--fg); text-decoration: none; }
.card h3 a:hover { color: var(--accent-ink); }
.card .meta { margin: 0 0 10px; color: var(--muted); font-size: .85rem; }
.card .meta a { color: var(--muted); }
.card .ex { margin: 0 0 14px; color: var(--muted); font-size: .95rem; flex: 1; }
.more { font-weight: 600; text-decoration: none; align-self: flex-start; }
.more::after { content: " →"; transition: margin .2s; }
.more:hover::after { margin-left: 4px; }

/* ---------- home ---------- */
.home-hero { position: relative; height: clamp(440px, 62vh, 650px); background: #000; display: flex; align-items: center; overflow: hidden; }
.home-hero .hero-bg { opacity: .8; }
.home-in { position: relative; color: #fff; width: 100%; max-width: 1140px; margin: 0 auto; padding: 40px 24px; animation: fadein 1s ease .2s both; }
.home-in h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 500; margin: 0 0 16px; line-height: 1.15; text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.home-in p { font-size: clamp(.98rem, 1.6vw, 1.06rem); line-height: 1.6; margin: 0 0 26px; max-width: 1100px; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.btn.hero-btn { background: var(--hero-btn); border-radius: 3px; padding: 10px 24px; font-size: .95rem; }
.btn.hero-btn:hover { background: #38a6cf; }
.home-gallery { background: #000; padding: 10px 0 0; }
.hg { columns: 4 260px; column-gap: 8px; }
.hg a { display: block; margin: 0 0 8px; break-inside: avoid; overflow: hidden; background: #111; }
.hg img { display: block; width: 100%; height: auto; transition: transform .4s ease, opacity .4s ease; }
.hg a:hover img { transform: scale(1.03); }
.hg.js { columns: auto; display: flex; gap: 8px; align-items: flex-start; }
.hg-col { flex: 1; min-width: 0; }
.hg-more { height: 1px; }
@media (max-width: 600px) { .hg.js { gap: 4px; } }
@media (max-width: 600px) { .hg { columns: 2; column-gap: 4px; } .hg a { margin-bottom: 4px; } }
.btn { display: inline-block; background: var(--accent-2); color: #fff; text-decoration: none; padding: 12px 30px; border-radius: 30px; font-weight: 500; letter-spacing: .3px; transition: background .2s, transform .2s; border: 2px solid transparent; }
.btn:hover { background: #0558b3; color: #fff; transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--accent-ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent-ink); }
.latest { padding-top: 56px; }
.latest .center { margin-top: 34px; }

/* ---------- hall of fame ---------- */
.hof { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 960px) { .hof { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .hof { grid-template-columns: 1fr; } }
.hiker { position: relative; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; text-align: center; display: flex; flex-direction: column; transition: transform .3s ease; }
.hiker:hover { transform: translateY(-8px); }
.hiker-img { display: block; }
.hiker-img img { width: 100%; height: 200px; object-fit: cover; border-radius: 10px; display: block; }
.hiker h2 { font-size: 1.35rem; margin: 16px 0 4px; }
.hiker h2 a { color: var(--fg); text-decoration: none; }
.hiker h2 a:hover { color: var(--accent-ink); }
.nick { margin: 0 0 6px; color: var(--muted); font-style: italic; }
.hiker .bio { font-size: .9rem; color: var(--muted); margin: 6px 0 4px; }
.count { display: inline-flex; align-items: center; gap: 10px; margin: 14px auto 0; border: 1px solid var(--line); border-radius: 20px; padding: 4px 6px 4px 14px; font-size: .85rem; }
.count span { text-transform: uppercase; letter-spacing: .5px; }
.count b { background: var(--accent-2); color: #fff; border-radius: 14px; min-width: 28px; padding: 1px 8px; font-size: .9rem; }
.hiker .count { margin-top: auto; position: relative; top: 8px; }
.hiker h2 + .count, .hiker .nick + .count { margin-top: 12px; }
.rank { position: absolute; top: 10px; right: 10px; background: #000; color: #fff; font-weight: 700; font-size: .8rem; border-radius: 20px; padding: 3px 10px; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.rank.r1 { background: linear-gradient(135deg, #f5c542, #d49b14); color: #000; }
.rank.r2 { background: linear-gradient(135deg, #e3e6ea, #a9b0b8); color: #000; }
.rank.r3 { background: linear-gradient(135deg, #e0a774, #b46f35); color: #000; }
.person-head { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: center; margin: 10px 0 34px; }
.person-photo img { width: 280px; height: 280px; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); display: block; }
.person-head h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin: 0 0 6px; }
.person-head .count { margin: 10px 0 0; }
.person .prose { padding: 0; }
@media (max-width: 680px) { .person-head { grid-template-columns: 1fr; text-align: center; } .person-photo img { margin: 0 auto; width: 220px; height: 220px; } .person-head .count { margin: 10px auto 0; } }
.mini { list-style: none; padding: 0; margin: 0; }
.mini li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mini time { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.author-head { display: flex; align-items: center; gap: 20px; margin-bottom: 26px; }
.author-head .section-title { margin: 0 0 4px; }
.author-head p { margin: 0 0 0 16px; }
img.round { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }

/* ---------- contract ---------- */
.contract { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.contract li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow); }
.contract .art-n { display: inline-block; font-weight: 700; color: var(--accent-2); text-transform: uppercase; letter-spacing: 1.5px; font-size: .8rem; margin-bottom: 6px; }
.contract p { margin: 0; font-size: 1.08rem; line-height: 1.6; text-align: left; }
.layout-contract .prose { max-width: 980px; }

/* ---------- 404 ---------- */
.notfound { padding-top: 80px; }
.notfound h1 { font-size: 2.4rem; }

/* ---------- lightbox ---------- */
.lbx { position: fixed; inset: 0; z-index: 1000; background: rgba(8,9,11,.94); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; transition: opacity .2s ease; touch-action: none; }
.lbx.on { opacity: 1; }
.lbx-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; color: #ddd; font-size: .9rem; }
.lbx-stage { position: relative; display: grid; place-items: center; overflow: hidden; min-height: 0; }
.lbx-stage img { max-width: calc(100vw - 24px); max-height: calc(100vh - 130px); max-height: calc(100dvh - 130px); width: auto; height: auto; object-fit: contain; border-radius: 4px; box-shadow: 0 10px 40px rgba(0,0,0,.5); transition: transform .25s ease, opacity .2s ease; user-select: none; -webkit-user-drag: none; }
.lbx-stage img.low { filter: blur(2px); }
.lbx-stage img.out-l { transform: translateX(-40px); opacity: 0; }
.lbx-stage img.out-r { transform: translateX(40px); opacity: 0; }
.lbx-cap { color: #e6e6e6; text-align: center; padding: 10px 60px 16px; font-size: .92rem; min-height: 44px; }
.lbx button { background: rgba(255,255,255,.08); color: #fff; border: 0; border-radius: 50%; width: 46px; height: 46px; cursor: pointer; display: grid; place-items: center; transition: background .15s; }
.lbx button:hover { background: rgba(255,255,255,.2); }
.lbx button svg { width: 24px; height: 24px; }
.lbx .nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lbx .prev { left: 12px; } .lbx .next { right: 12px; }
.lbx .nav[hidden] { display: none; }
.lbx-spin { position: absolute; width: 34px; height: 34px; border: 3px solid rgba(255,255,255,.25); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; opacity: 0; transition: opacity .2s .25s; pointer-events: none; }
.lbx.loading .lbx-spin { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) { .lbx .nav { display: none; } .lbx-cap { padding: 10px 16px 16px; } }
html.lbx-open { overflow: hidden; }
.lbx[hidden] { display: none; }
