/* Start custom CSS *//* Historien: tidslinje som trekkspill (native <details>). */
.fl-tl-acc summary { list-style: none; }
.fl-tl-acc summary::-webkit-details-marker { display: none; }
.fl-tl-acc .fl-i-plus { transition: transform .25s ease; }
.fl-tl-acc details[open] .fl-i-plus { transform: rotate(45deg); }

/* Hero: fiskebåtene (fokuspunkt 50 % / 61 % i "Bilde på toppen") i optisk sentrum på desktop, nettbrett og mobil.
   Bildet er 4:3. Høyden låses til --hh, og posisjonen regnes ut fra bredde og høyde og begrenses så det aldri blir tomrom.
   Bytter du bilde: endre url(...) og de to fokusverdiene (0.5 og 0.61) under. */
body .elementor section[data-id="21672a0a"].fl-hero {
  --hw: 100vw; --hh: clamp(440px, 64vh, 660px);
  --iw: max(var(--hw), calc(var(--hh) * 1.3333));
  --ih: max(calc(var(--hw) * 0.75), var(--hh));
  min-height: var(--hh);
  background-image: url("https://www.freskluft.com/wp-content/uploads/2026/10/Bilde-pa-toppen--scaled.jpeg"), linear-gradient(180deg, rgba(10,21,32,0.55) 0%, rgba(10,21,32,0.15) 40%, rgba(10,21,32,0.92) 100%), linear-gradient(170deg, #b8572a 0%, #3a3346 45%, #0A1520 100%);
  /* Skarp på alle skjermer: 2560 px for vanlige skjermer, originalen (4032 px) for retina. */
  background-image: -webkit-image-set(url("https://www.freskluft.com/wp-content/uploads/2026/10/Bilde-pa-toppen--scaled.jpeg") 1x, url("https://www.freskluft.com/wp-content/uploads/2026/10/Bilde-pa-toppen-.jpeg") 2x), linear-gradient(180deg, rgba(10,21,32,0.55) 0%, rgba(10,21,32,0.15) 40%, rgba(10,21,32,0.92) 100%), linear-gradient(170deg, #b8572a 0%, #3a3346 45%, #0A1520 100%);
  background-image: image-set(url("https://www.freskluft.com/wp-content/uploads/2026/10/Bilde-pa-toppen--scaled.jpeg") 1x, url("https://www.freskluft.com/wp-content/uploads/2026/10/Bilde-pa-toppen-.jpeg") 2x), linear-gradient(180deg, rgba(10,21,32,0.55) 0%, rgba(10,21,32,0.15) 40%, rgba(10,21,32,0.92) 100%), linear-gradient(170deg, #b8572a 0%, #3a3346 45%, #0A1520 100%);
  background-repeat: no-repeat, repeat, repeat;
  background-size: cover, auto, auto;
  background-position:
    clamp(calc(var(--hw) - var(--iw)), calc(var(--hw) * 0.5 - var(--iw) * 0.5), 0px)
    clamp(calc(var(--hh) - var(--ih)), calc(var(--hh) * 0.45 - var(--ih) * 0.61), 0px),
    0% 0%, 0% 0%;
}
@media (max-width: 767px) {
  body .elementor section[data-id="21672a0a"].fl-hero { --hh: 480px; }
}

/* +knapp: oransje i ro (og når modulen er åpen), sort/transparent ved hover. */
body .fl-tl-acc .fl-tl-plus { background-color: #E8662A; border-color: #E8662A; }
body .fl-tl-acc summary:hover .fl-tl-plus, body .fl-tl-acc summary:focus-visible .fl-tl-plus { background-color: rgba(0,0,0,0.45); border-color: rgba(255,255,255,0.75); }

/* Lesbarhet: mørk gradient mellom bildet og teksten på venstre side. */
.fl-tl-acc details.fl-tl-item::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(11,23,36,0.94) 0%, rgba(11,23,36,0.82) 30%, rgba(11,23,36,0.4) 52%, rgba(11,23,36,0) 70%);
  transition: background .4s ease;
}

/* Utvidet modul: høyere, større bilde og ekstra mørk tekstflate. */
.fl-tl-acc details.fl-tl-item[open] { min-height: clamp(420px, 28vw + 140px, 620px); }
.fl-tl-acc details.fl-tl-item[open] .fl-tl-band-img { width: 80%; }
.fl-tl-acc details.fl-tl-item[open]::after {
  background: linear-gradient(90deg, rgba(11,23,36,0.96) 0%, rgba(11,23,36,0.9) 36%, rgba(11,23,36,0.55) 56%, rgba(11,23,36,0) 76%);
}
.fl-tl-acc .fl-tl-more p { color: rgba(255,255,255,0.9); text-shadow: 0 1px 10px rgba(0,0,0,0.6); }

/* Bildepunkt: motivet i hver årsmodul plassert midt sideveis og i optisk sentrum (45 %) i høyden.
   Egne verdier for lukket/åpen modul og desktop/nettbrett/mobil. Bytter du bilde i en modul, må verdiene for den modulen regnes ut på nytt.
   Fokuspunkt: 2022 ansiktet til gutten med krabben, 2024 gutten i midten som sløyer (nytt bilde, ansiktet på ca. 47 % / 31 %), 2025 båten MALO 35, 2026 gruppebildet, Fresk Luft de to mennene foran. */
/* 2022 */
body .fl-tl-acc img[data-id="67a59bc7"] { object-position: 50% 41.2%; }
body .fl-tl-acc details[open] img[data-id="67a59bc7"] { object-position: 50% 40.2%; }
/* 2024 */
body .fl-tl-acc img[data-id="2bc3e487"] { object-position: 50% 25%; }
body .fl-tl-acc details[open] img[data-id="2bc3e487"] { object-position: 50% 15%; }
/* 2025 */
body .fl-tl-acc img[data-id="1ed3d574"] { object-position: 50% 53.5%; }
body .fl-tl-acc details[open] img[data-id="1ed3d574"] { object-position: 50% 66.7%; }
/* 2026 */
body .fl-tl-acc img[data-id="3b7cb665"] { object-position: 50% 64.2%; }
body .fl-tl-acc details[open] img[data-id="3b7cb665"] { object-position: 50% 100%; }
/* Fresk Luft */
body .fl-tl-acc img[data-id="12f9e4c2"] { object-position: 50% 49.4%; }
body .fl-tl-acc details[open] img[data-id="12f9e4c2"] { object-position: 50% 61.7%; }

@media (max-width: 1023px) {
  body .fl-tl-acc img[data-id="67a59bc7"] { object-position: 50% 41%; }
  body .fl-tl-acc details[open] img[data-id="67a59bc7"] { object-position: 50% 39.2%; }
  body .fl-tl-acc img[data-id="2bc3e487"] { object-position: 50% 25%; }
  body .fl-tl-acc details[open] img[data-id="2bc3e487"] { object-position: 47% 30%; }
  body .fl-tl-acc img[data-id="1ed3d574"] { object-position: 50% 57.1%; }
  body .fl-tl-acc details[open] img[data-id="1ed3d574"] { object-position: 100% 50%; }
  body .fl-tl-acc img[data-id="3b7cb665"] { object-position: 50% 69.8%; }
  body .fl-tl-acc details[open] img[data-id="3b7cb665"] { object-position: 43.2% 50%; }
  body .fl-tl-acc img[data-id="12f9e4c2"] { object-position: 50% 53.9%; }
  body .fl-tl-acc details[open] img[data-id="12f9e4c2"] { object-position: 33.6% 50%; }
}

@media (max-width: 767px) {
  .fl-tl-acc details.fl-tl-item::after { background: linear-gradient(90deg, rgba(11,23,36,0.9) 0%, rgba(11,23,36,0.6) 100%); }
  .fl-tl-acc details.fl-tl-item[open]::after { background: rgba(11,23,36,0.82); }
  .fl-tl-acc details.fl-tl-item[open] .fl-tl-band-img { width: 100%; }
  .fl-tl-acc details.fl-tl-item[open] { min-height: 0; }
  body .fl-tl-acc img[data-id="67a59bc7"] { object-position: 50% 40.2%; }
  body .fl-tl-acc details[open] img[data-id="67a59bc7"] { object-position: 50% 33.9%; }
  body .fl-tl-acc img[data-id="2bc3e487"] { object-position: 50% 25%; }
  body .fl-tl-acc details[open] img[data-id="2bc3e487"] { object-position: 46% 30%; }
  body .fl-tl-acc img[data-id="1ed3d574"] { object-position: 50% 76.8%; }
  body .fl-tl-acc details[open] img[data-id="1ed3d574"] { object-position: 57.7% 50%; }
  body .fl-tl-acc img[data-id="3b7cb665"] { object-position: 50% 100%; }
  body .fl-tl-acc details[open] img[data-id="3b7cb665"] { object-position: 48.3% 50%; }
  body .fl-tl-acc img[data-id="12f9e4c2"] { object-position: 15.1% 50%; }
  body .fl-tl-acc details[open] img[data-id="12f9e4c2"] { object-position: 15.1% 50%; }
}

@media (prefers-reduced-motion: reduce) { .fl-tl-acc .fl-i-plus, .fl-tl-acc .fl-tl-band-img, .fl-tl-acc details.fl-tl-item::after { transition: none; } }/* End custom CSS */