/* Jaktbikkja: standalone landing-page hunting diary preview.
   Scoped under jb-tour-v1; does not affect customer pages or the Luna demo. */
#demoTrips tr.jb-tour-v1-row { background: #f5f7ef; }
#demoTrips tr.jb-tour-v1-row:hover { background: #eef2e5; }
#demoTrips .jb-tour-v1-entry { display: flex; gap: 13px; align-items: center; min-height: 66px; text-align: left; }
#demoTrips .jb-tour-v1-entry > span { display: flex; flex-direction: column; gap: 5px; }
#demoTrips .jb-tour-v1-entry > img { width: 76px; height: 64px; border-radius: 9px; object-fit: contain; background: #dce3d6; flex: 0 0 auto; border: 1px solid #cbd5c0; }
#demoTrips .jb-tour-v1-row .open-trip { background: #e4e9d7; color: #173b2f; font-weight: 700; border-radius: 999px; padding: 9px 12px; white-space: nowrap; }
#mobileDiary .jb-tour-v1-mobile { position: relative; padding-left: 98px; min-height: 130px; background: #f5f7ef; }
#mobileDiary .jb-tour-v1-mobile > img { position: absolute; left: 12px; top: 15px; width: 74px; height: 86px; border-radius: 8px; object-fit: contain; background: #dce3d6; }
#mobileDiary .jb-tour-v1-mobile .mobile-trip-top { gap: 5px; }
.jb-tour-v1-dialog { margin: auto; width: min(1120px, calc(100vw - 22px)); max-width: none; max-height: min(94vh, 1080px); height: auto; border: 1px solid #d8dfcf; border-radius: 18px; box-shadow: 0 30px 100px #0d291e55; padding: 0; background: #f8f8f3; color: #17382d; overflow: auto; overscroll-behavior: contain; }
.jb-tour-v1-dialog::backdrop { background: #0b2018b8; backdrop-filter: blur(5px); }
.jb-tour-v1-dialog *, .jb-tour-v1-dialog *::before, .jb-tour-v1-dialog *::after { box-sizing: border-box; }
.jb-tour-v1-shell { width: 100%; }
.jb-tour-v1-toolbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 22px; background: #f9f9f5f0; border-bottom: 1px solid #e0e5d8; backdrop-filter: blur(14px); }
.jb-tour-v1-back { border: 0; background: transparent; color: #264e3b; font: inherit; font-weight: 700; cursor: pointer; padding: 7px 0; }
.jb-tour-v1-toolbar-note { color: #697567; font-size: 12px; text-align: center; }
.jb-tour-v1-close { border: 0; border-radius: 50%; width: 36px; height: 36px; font: inherit; font-size: 24px; background: #e8ebe1; color: #1d4738; cursor: pointer; }
.jb-tour-v1-cover { position: relative; min-height: 270px; height: clamp(265px, 30vw, 370px); overflow: hidden; background: #213b30; }
.jb-tour-v1-cover > img { display: block; width: 100%; height: 100%; }
.jb-tour-v1-cover > img.jb-tour-v1-cover-bg { position: absolute; inset: 0; object-fit: cover; filter: blur(13px) brightness(.6); transform: scale(1.06); opacity: .8; }
.jb-tour-v1-cover > img.jb-tour-v1-cover-photo { position: absolute; right: 0; top: 0; width: 64%; height: 100%; object-fit: contain; object-position: center center; }
.jb-tour-v1-cover::after { content: ''; pointer-events: none; position: absolute; inset: 0; background: linear-gradient(90deg, #09251ee8 0%, #09251e75 49%, transparent 95%), linear-gradient(0deg,#091d166b,transparent 48%); }
.jb-tour-v1-cover-copy { position: absolute; z-index: 2; left: clamp(20px, 4vw, 45px); bottom: clamp(18px, 3vw, 35px); color: white; max-width: 620px; }
.jb-tour-v1-kicker { margin: 0 0 8px; color: #ead2a0; font-size: 11px; font-weight: 800; letter-spacing: .17em; }
.jb-tour-v1-cover h2 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(32px, 4vw, 54px); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 10px; color: #fffaf0; }
.jb-tour-v1-cover-copy > p:last-child { font-size: 15px; margin: 0; color: #eaf0e6; line-height: 1.55; }
.jb-tour-v1-intro { padding: 15px 25px; background: #edf1e7; border-bottom: 1px solid #dde5d6; color: #4e624f; font-size: 12px; line-height: 1.5; }
.jb-tour-v1-content { padding: clamp(16px, 3vw, 30px); display: grid; gap: 22px; }
.jb-tour-v1-facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.jb-tour-v1-fact { background: #fffefa; border: 1px solid #e2e7da; border-radius: 12px; padding: 15px 12px; min-width: 0; }
.jb-tour-v1-fact strong { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(18px, 2.1vw, 25px); font-weight: 600; display: block; margin-bottom: 6px; color: #123c2c; }
.jb-tour-v1-fact span { color: #657768; font-size: 12px; line-height: 1.35; }
.jb-tour-v1-main { display: grid; grid-template-columns: minmax(0, 1.48fr) minmax(285px, 1fr); gap: 16px; align-items: stretch; }
.jb-tour-v1-panel { background: #fffefa; border: 1px solid #e0e5d9; border-radius: 14px; min-width: 0; overflow: hidden; }
.jb-tour-v1-panel-head { padding: 18px 19px 12px; }
.jb-tour-v1-panel h3 { margin: 0 0 6px; color: #173a2a; font-family: Georgia, 'Times New Roman', serif; font-size: 24px; font-weight: 500; }
.jb-tour-v1-panel-head p { margin: 0; color: #738275; font-size: 12px; }
.jb-tour-v1-map { position: relative; background: #e7eadf; width: 100%; aspect-ratio: 1.48 / 1; overflow: hidden; border-block: 1px solid #e4e7db; }
.jb-tour-v1-map svg { display: block; width: 100%; height: 100%; }
.jb-tour-v1-map .jb-tour-v1-contour { fill: none; stroke: #b3c6a8; stroke-width: 1.3; opacity: .72; }
.jb-tour-v1-map .jb-tour-v1-track { fill: none; stroke: #214a3b; stroke-width: 4.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 1px #fffc); }
.jb-tour-v1-map .jb-tour-v1-handler { fill: none; stroke: #d29c58; stroke-width: 3.5; stroke-dasharray: 8 7; stroke-linecap: round; opacity: .9; }
.jb-tour-v1-map .jb-tour-v1-point { cursor: pointer; outline: none; }
.jb-tour-v1-map .jb-tour-v1-point circle { fill: #af7546; stroke: #fffdf3; stroke-width: 3; transition: transform .15s ease, fill .15s; transform-box: fill-box; transform-origin: center; }
.jb-tour-v1-map .jb-tour-v1-point[data-kind="empty"] circle { fill: #567b7e; }
.jb-tour-v1-map .jb-tour-v1-point[aria-pressed="true"] circle, .jb-tour-v1-map .jb-tour-v1-point:focus-visible circle { fill: #0d503b; stroke: #f5d9a4; transform: scale(1.25); stroke-width: 4; }
.jb-tour-v1-map .jb-tour-v1-point text { text-anchor: middle; dominant-baseline: central; fill: white; font: 800 17px system-ui, sans-serif; pointer-events: none; }
.jb-tour-v1-map .jb-tour-v1-place { font: 600 16px Georgia, serif; letter-spacing: .02em; fill: #65816f; opacity: .95; }
.jb-tour-v1-map .jb-tour-v1-map-note { font: 12px system-ui, sans-serif; fill: #718a77; }
.jb-tour-v1-map .jb-tour-v1-lake { fill: #b7d6d3; stroke: #90b9b5; stroke-width: 2; }
.jb-tour-v1-map .jb-tour-v1-bog { fill: #bed2aa; opacity: .55; }
.jb-tour-v1-map-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; padding: 12px 16px; color: #5d7264; font-size: 12px; }
.jb-tour-v1-key { display: inline-block; width: 19px; vertical-align: middle; margin-right: 4px; border-top: 3px solid #214a3b; }
.jb-tour-v1-key.handler { border-top-color: #d29c58; border-top-style: dashed; }
.jb-tour-v1-key.point { width: 9px; height: 9px; border: 0; border-radius: 50%; background: #ad7546; }
.jb-tour-v1-point-detail { padding: 14px 17px 16px; border-top: 1px solid #e3e6d9; display: grid; grid-template-columns: 1fr 92px; gap: 15px; align-items: center; min-height: 118px; }
.jb-tour-v1-point-detail strong { display: block; font-size: 14px; color: #173a2b; margin-bottom: 5px; }
.jb-tour-v1-point-detail p { margin: 0; color: #5a6d5d; line-height: 1.45; font-size: 12px; }
.jb-tour-v1-point-detail img { width: 92px; height: 85px; object-fit: contain; background: #dfe8db; border-radius: 8px; }
.jb-tour-v1-events { padding: 0 16px 15px; max-height: 660px; overflow: auto; }
.jb-tour-v1-events button { display: grid; grid-template-columns: 51px 1fr; align-items: start; gap: 11px; text-align: left; border: 0; border-left: 2px solid #d9e0d3; background: transparent; padding: 11px 9px; width: 100%; cursor: pointer; color: inherit; font: inherit; border-radius: 0 9px 9px 0; }
.jb-tour-v1-events button[aria-pressed="true"], .jb-tour-v1-events button:hover, .jb-tour-v1-events button:focus-visible { background: #edf2e7; border-left-color: #bb8d53; outline: none; }
.jb-tour-v1-events time { color: #7f8a76; font-size: 11px; margin-top: 3px; }
.jb-tour-v1-events strong { font-size: 13px; color: #17412d; display: block; margin-bottom: 4px; }
.jb-tour-v1-events small { display: block; line-height: 1.35; color: #6d7c6b; font-size: 11px; }
.jb-tour-v1-lower { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; }
.jb-tour-v1-elevation { padding: 0 14px 12px; }
.jb-tour-v1-elevation svg { width: 100%; display: block; background: linear-gradient(#fcfdf9,#f6f7ee); border: 1px solid #e6e8dd; border-radius: 9px; }
.jb-tour-v1-elevation-note { display: flex; justify-content: space-between; color: #6d7e71; font-size: 12px; gap: 8px; padding-top: 8px; }
.jb-tour-v1-weather { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding: 5px 16px 17px; }
.jb-tour-v1-weather div { padding: 12px; background: #f1f3e9; border-radius: 9px; }
.jb-tour-v1-weather strong, .jb-tour-v1-weather small { display: block; }
.jb-tour-v1-weather strong { font-size: 17px; color: #1b4532; }
.jb-tour-v1-weather small { margin-top: 3px; font-size: 11px; color: #6a796c; }
.jb-tour-v1-photos, .jb-tour-v1-story { padding: 18px; }
.jb-tour-v1-photos > p, .jb-tour-v1-story > p { color: #627364; line-height: 1.6; font-size: 13px; }
.jb-tour-v1-photo-large { display: block; width: 100%; height: min(52vw,440px); min-height: 260px; object-fit: contain; object-position: center; background: #21392e; border-radius: 10px; }
.jb-tour-v1-thumbs { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; margin-top: 10px; }
.jb-tour-v1-thumbs button { display: block; padding: 0; border-radius: 8px; border: 2px solid transparent; overflow: hidden; cursor: pointer; background: #e5ebdb; min-width: 0; }
.jb-tour-v1-thumbs button[aria-pressed="true"] { border-color: #af8150; }
.jb-tour-v1-thumbs button:focus-visible { outline: 3px solid #194b36; }
.jb-tour-v1-thumbs img { display: block; width: 100%; height: 63px; object-fit: contain; object-position: center; background: #dde6da; }
.jb-tour-v1-note { border-left: 3px solid #b99a65; padding: 2px 0 2px 16px; margin-top: 12px; font-family: Georgia, serif; color: #254936; font-size: 17px; line-height: 1.5; }
.jb-tour-v1-footer { text-align: center; font-size: 12px; color: #7b887c; padding: 0 10px 6px; }
@media (max-width: 860px) {
  .jb-tour-v1-main, .jb-tour-v1-lower { grid-template-columns: 1fr; }
  .jb-tour-v1-events { max-height: none; }
  .jb-tour-v1-facts { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .jb-tour-v1-dialog { width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; border: 0; }
  .jb-tour-v1-toolbar { padding: 10px 14px; }
  .jb-tour-v1-toolbar-note { display: none; }
  .jb-tour-v1-cover { height: 260px; }
  .jb-tour-v1-cover > img.jb-tour-v1-cover-photo { width: 100%; height: 82%; opacity: .97; }
  .jb-tour-v1-cover::after { background: linear-gradient(0deg,#091d16e8 0%,#091d166b 45%,transparent 90%); }
  .jb-tour-v1-facts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .jb-tour-v1-content { gap: 15px; }
  .jb-tour-v1-map { aspect-ratio: 1.15 / 1; }
  .jb-tour-v1-point-detail { grid-template-columns: minmax(0,1fr) 70px; }
  .jb-tour-v1-point-detail img { width: 70px; height: 80px; }
  .jb-tour-v1-cover h2 { font-size: 34px; }
  .jb-tour-v1-thumbs img { height: 49px; }
  .jb-tour-v1-photo-large { height: 235px; }
}
@media (prefers-reduced-motion: reduce) {
  .jb-tour-v1-dialog *, .jb-tour-v1-dialog *::before, .jb-tour-v1-dialog *::after { animation: none !important; transition: none !important; }
}
/* Only three richer examples are listed for the latest example season; other years retain the original comparison demo. */
#demoTrips tr.jb-tour-v1-unfeatured, #mobileDiary .jb-tour-v1-unfeatured { display: none !important; }
