/* Start custom CSS *//* Film og media: samme designsystem som Dokumenter. Gjelder kun denne siden. */
body .fl-lr-grid .fl-card { border-radius: 4px; border-color: rgba(255,255,255,0.08); background-color: #0D1823; }
body .fl-lr-grid video { max-height: 520px; }
body .fl-lr-grid .fl-card-body { padding: 14px 16px 16px; gap: 4px; }
body .fl-lr-grid .fl-card-title { font-family: var(--fl-font-display); font-weight: 500; font-size: clamp(1.15rem, 0.95rem + 0.55vw, 1.45rem); line-height: 1.15; }
body .fl-lr-grid .fl-card-text { font-size: 0.875rem; line-height: 1.45; color: rgba(255,255,255,0.78); }

/* Knapper i nyhets- og radio/TV-modulene: lenkeikon og pil (samme oppsett som dokumentknappene på Dokumenter). */
body .fl-btn-doc::before, body .fl-btn-doc::after {
  content: ""; flex-shrink: 0; width: 18px; height: 18px; background-color: currentColor;
  -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center;
}
body .fl-btn-doc::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6'/%3E%3Cpath d='M20 4l-9 9'/%3E%3Cpath d='M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6'/%3E%3Cpath d='M20 4l-9 9'/%3E%3Cpath d='M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E");
}
body .fl-btn-doc::after {
  margin-left: 6px; width: 16px; height: 16px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}

@media (max-width: 767px) {
  body .fl-lr-grid video { max-height: 340px; }
  body .fl-lr-grid .fl-card-body { padding: 10px 10px 12px; }
  body .fl-lr-grid .fl-card-title { font-size: 1rem; }
  body .fl-lr-grid .fl-card-text { font-size: 0.78rem; }
}

/* Bildepunkt: motivet i hvert bilde plassert midt sideveis og i optisk sentrum (45 %) i høyden, så langt bildet tillater.
   Egne verdier for desktop, nettbrett og mobil. Bakgrunnene får også cover og no-repeat her.
   Bytter du et bilde, må verdien for det bildet regnes ut på nytt. */
body .elementor [data-id="5e361cf7"] { background-size: cover, auto, auto; background-repeat: no-repeat, repeat, repeat; background-position: 50% 45%, 0% 0%, 0% 0%; }
body .elementor [data-id="1aa1779f"] { background-size: auto, auto, cover; background-repeat: repeat, repeat, no-repeat; background-position: 0% 0%, 0% 0%, 47.5% 47.8%; }
body .elementor img[data-id="4d24c460"] { object-position: 50% 48.3%; }
body .elementor img[data-id="42562993"] { object-position: 50% 44.7%; }
body .elementor img[data-id="44832314"] { object-position: 57.7% 25.1%; }
body .elementor img[data-id="1520fa11"] { object-position: 33.3% 22.3%; }
@media (max-width: 1023px) {
  body .elementor [data-id="1aa1779f"] { background-size: auto, auto, cover; background-repeat: repeat, repeat, no-repeat; background-position: 0% 0%, 0% 0%, 44.6% 50%; }
  body .elementor img[data-id="4d24c460"] { object-position: 50% 50%; }
  body .elementor img[data-id="42562993"] { object-position: 50% 29.8%; }
  body .elementor img[data-id="44832314"] { object-position: 50% 9%; }
  body .elementor img[data-id="1520fa11"] { object-position: 50% 0%; }
}
@media (max-width: 767px) {
  body .elementor [data-id="1aa1779f"] { background-size: auto, auto, cover; background-repeat: repeat, repeat, no-repeat; background-position: 0% 0%, 0% 0%, 47.8% 50%; }
  body .elementor img[data-id="4d24c460"] { object-position: 50% 45%; }
  body .elementor img[data-id="42562993"] { object-position: 50% 35.6%; }
  body .elementor img[data-id="44832314"] { object-position: 50% 29%; }
  body .elementor img[data-id="1520fa11"] { object-position: 50% 22.1%; }
}

/* Nyhetssaker-banneret (335cfb71): IMG_4148 på alle flater (skarp versjon fl-medier-nyheter-2560, laget fra originalen).
   Rockelåt-banneret (2bf234a7): de to guttene på dekk (fl-jaevlig-bolgat-gutta-2560, 2560 × 812) på alle flater, guttene til høyre for teksten på desktop.
   Bannerne er kopier og deler lokal stil i Elementor, derfor settes bakgrunnene her per element. */
body .elementor [data-id="335cfb71"] { background-color: #0A1520; background-image: linear-gradient(90deg, rgba(4,8,13,0.95) 0%, rgba(4,8,13,0.84) 34%, rgba(4,8,13,0.4) 60%, rgba(4,8,13,0.12) 100%), linear-gradient(180deg, rgba(10,21,32,0) 55%, rgba(10,21,32,0.92) 100%), url("https://www.freskluft.com/wp-content/uploads/2026/10/fl-medier-nyheter-2560.jpg"); background-size: cover, cover, cover; background-repeat: no-repeat; background-position: center, center, 50% 40%; }
body .elementor [data-id="2bf234a7"] { min-height: 460px; background-color: #0A1520; background-image: linear-gradient(90deg, rgba(10,21,32,0.6) 0%, rgba(10,21,32,0.3) 45%, rgba(10,21,32,0) 62%), linear-gradient(180deg, rgba(10,21,32,0) 60%, rgba(10,21,32,0.9) 100%), url("https://www.freskluft.com/wp-content/uploads/2026/10/fl-jaevlig-bolgat-gutta-v2-2560.jpg"); background-size: cover, cover, cover; background-repeat: no-repeat; background-position: center, center, 100% 30%; }
@media (max-width: 1023px) {
  body .elementor [data-id="335cfb71"] { background-image: linear-gradient(90deg, rgba(4,8,13,0.9) 0%, rgba(4,8,13,0.7) 55%, rgba(4,8,13,0.4) 100%), linear-gradient(180deg, rgba(10,21,32,0) 50%, rgba(10,21,32,0.92) 100%), url("https://www.freskluft.com/wp-content/uploads/2026/10/fl-medier-nyheter-2560.jpg"); background-position: center, center, 50% 40%; }
  body .elementor [data-id="2bf234a7"] { min-height: 420px; background-image: linear-gradient(90deg, rgba(10,21,32,0.82) 0%, rgba(10,21,32,0.6) 55%, rgba(10,21,32,0.35) 100%), linear-gradient(180deg, rgba(10,21,32,0) 50%, rgba(10,21,32,0.9) 100%), url("https://www.freskluft.com/wp-content/uploads/2026/10/fl-jaevlig-bolgat-gutta-v2-2560.jpg"); background-position: center, center, 82% 30%; }
}
@media (max-width: 767px) {
  body .elementor [data-id="335cfb71"] { background-image: linear-gradient(180deg, rgba(4,8,13,0.6) 0%, rgba(4,8,13,0.78) 40%, rgba(10,21,32,0.92) 100%), url("https://www.freskluft.com/wp-content/uploads/2026/10/fl-medier-nyheter-2560.jpg"); background-size: cover, cover; background-position: center, 50% 40%; }
  body .elementor [data-id="2bf234a7"] { min-height: 0; background-image: linear-gradient(180deg, rgba(10,21,32,0.55) 0%, rgba(10,21,32,0.75) 40%, rgba(10,21,32,0.9) 100%), url("https://www.freskluft.com/wp-content/uploads/2026/10/fl-jaevlig-bolgat-gutta-v2-2560.jpg"); background-size: cover, cover; background-position: center, 80% 30%; }
}

/* Luft mellom moduler: tett innenfor en modul (overskrift, banner og kort), tydelig luft mellom ulike moduler.
   Seksjoner uten egen bakgrunn får ingen indre luft; avstanden mellom modulene settes som margin, så den alltid er lik. */
body .elementor [data-id="f12001b"], body .elementor [data-id="6a2f3654"], body .elementor [data-id="3cf06a1"], body .elementor [data-id="34ce56c2"] { padding-top: 0; padding-bottom: 0; }
body .elementor [data-id="f12001b"] { margin-top: clamp(48px, 6vw, 88px); }
body .elementor [data-id="3cf06a1"], body .elementor [data-id="1aa1779f"], body .elementor [data-id="34ce56c2"] { margin-top: clamp(64px, 9vw, 136px); }
/* Radio og TV ligger nå inne i nyhetsmodulen: ingen ekstra luft, kortene har lik avstand (32 px) i begge retninger. */
body .elementor [data-id="6a2f3654"] { margin-top: 0; margin-bottom: 0; }
body .elementor [data-id="34ce56c2"] { margin-bottom: clamp(64px, 9vw, 136px); }
body .elementor [data-id="7abae4f1"], body .elementor [data-id="79705509"] { row-gap: 24px; }
body .elementor [data-id="77766275"] { row-gap: 32px; }
@media (max-width: 767px) {
  body .elementor [data-id="7abae4f1"], body .elementor [data-id="79705509"] { row-gap: 18px; }
}

/* Film fra forprosjektet: 16:9-plakat med play-knapp. Klikk åpner filmen i pop-up (Elementor-popup 789). */
body .elementor [data-id="3a61ba8d"] { display: block; position: relative; text-decoration: none; }
body .elementor [data-id="3a61ba8d"]::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,21,32,0) 40%, rgba(10,21,32,0.45) 100%); transition: background-color 0.25s; pointer-events: none; }
body .elementor [data-id="3a61ba8d"]::after {
  content: ""; position: absolute; left: 50%; top: 50%; z-index: 2; width: 84px; height: 84px; transform: translate(-50%, -50%);
  border-radius: 50%; border: 2px solid #FFFFFF; background-color: rgba(10,21,32,0.55);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='white'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 56% 50%; background-size: 46%;
  box-shadow: 0 6px 24px rgba(0,0,0,0.35); transition: transform 0.25s, background-color 0.25s, border-color 0.25s; pointer-events: none;
}
body .elementor [data-id="3a61ba8d"]:hover::after, body .elementor [data-id="3a61ba8d"]:focus-visible::after { background-color: #E9A23B; border-color: #E9A23B; transform: translate(-50%, -50%) scale(1.06); }
body .elementor [data-id="3a61ba8d"]:hover::before { background-color: rgba(10,21,32,0.15); }
body .elementor [data-id="3a61ba8d"]:focus-visible { outline: 2px solid #E9A23B; outline-offset: 4px; }
@media (max-width: 767px) {
  body .elementor [data-id="3a61ba8d"]::after { width: 64px; height: 64px; }
}

/* Skarpe bilder (okt. 2026): bakgrunnene er laget på nytt fra originalfilene i sRGB med høy kvalitet,
   i stedet for WordPress' komprimerte kopier (nettbrett/mobil brukte før en 768 px-versjon av toppbildet). */
body .elementor [data-id="5e361cf7"] { background-image: url("https://www.freskluft.com/wp-content/uploads/2026/10/fl-medier-hero-1920.jpg"), linear-gradient(180deg, rgba(10,21,32,0.5) 0%, rgba(10,21,32,0.1) 40%, rgba(10,21,32,0.92) 100%), linear-gradient(170deg, #d0632a 0%, #4a3a44 45%, #0A1520 100%); }
body .elementor [data-id="1aa1779f"] { background-image: linear-gradient(90deg, rgba(4,8,13,0.95) 0%, rgba(4,8,13,0.86) 40%, rgba(4,8,13,0.55) 70%, rgba(4,8,13,0.45) 100%), linear-gradient(180deg, rgba(10,21,32,0) 70%, rgba(10,21,32,0.95) 100%), url("https://www.freskluft.com/wp-content/uploads/2026/10/fl-medier-film-2560.jpg"); }
@media (max-width: 1023px) {
  body .elementor [data-id="5e361cf7"] { background-image: url("https://www.freskluft.com/wp-content/uploads/2026/10/fl-medier-hero-1200.jpg"); background-size: cover; background-repeat: no-repeat; background-position: center center; }
}/* End custom CSS */