/** Color palette**/
/** brown: #f1d4b3 **/
/** lighter brown: #f7e8d6 **/
/** dark brown: #2e251c **/
/** blood red: 761f0b **/
/** blood red lighter: 7e2c19 **/


/* Kunder/samarbejdspartnere/fonde */
.columns-2 {
  column-count: 2;      /* 2 kolonner på desktop */
  column-gap: 2rem;
}

@media (max-width: 767.98px) {
  .columns-2 {
    column-count: 1;    /* én kolonne på mobil */
  }
}

.columns-2 li {
  margin-bottom: .5rem;
}



.breadcrumb {
  display: flex;          /* sæt elementerne på række */
  flex-wrap: nowrap;      /* ingen linjeskift */
  white-space: nowrap;    /* tving teksten til at blive på én linje */
  font-size: 0.9rem;
  background: transparent;
  padding: 0;
  margin-bottom: .5rem;
}




.breadcrumb a {
  color: #761f0b; /* blodrød */
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}



/* Kun hero på forsiden */
header.masthead {
  position: relative;
  background-color: white;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
}
/*header.masthead video {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  z-index: 0;
  transform: translate(-50%, -50%);
}*/
header.masthead .container { position: relative; z-index: 2; }
header.masthead .overlay {
  position: absolute; top: 0; left: 0;
  height: 100%; width: 100%;
  background-color: white; opacity: 0.3;
  z-index: 1;
}

/* Kompakt header til filmsider */
.section--compact header {
  min-height: auto;
  background: none;
  height: auto;
  padding: 0;
}




/* Kompakt sektion til undersider med breadcrumb */
.section--compact {
  padding-top: 1.25rem;   /* lille luft under navbar */
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .section--compact {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
  }
}

/* Hvis fixed navbar overlapper første linje */
.has-fixed-nav {
  padding-top: 80px; /* justér til din navbar-højde */
}

/* Breadcrumb styling (valgfrit finpudsning) */
.breadcrumb {
  font-size: 0.9rem;
  background: transparent;
  padding: 0;
  margin-bottom: .5rem;
}


.film-title{font-weight:800;margin-bottom:.25rem;}
.film-subtext{font-size:1.1rem;margin-bottom:.75rem;opacity:.9;}
.drop-shadow{box-shadow:0 8px 24px rgba(0,0,0,.15);border-radius:6px;overflow:hidden;}
.film-aside .card-body{padding:1.25rem;}



/* Titel og subtekst øverst */
.film-title {
  font-weight: 800;
  margin-bottom: .25rem;
}

.film-subtext {
  font-size: 1.1rem;
  margin-bottom: .75rem;
  opacity: .9;
}

.film-back {
  border-radius: 999px;
  padding: .25rem .75rem;
}

/* Sidekolonne */
.film-aside .card-body {
  padding: 1.25rem;
}
.film-aside h3 {
  margin-top: 0.25rem;
  margin-bottom: .75rem;
}

/* Video container */
.drop-shadow {
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  border-radius: 6px;
  overflow: hidden;
}



/* HERO på undersiden med baggrundsbillede */
.film-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 320px;                 /* kan justeres */
  margin-top: 70px;                  /* plads pga. fixed navbar */
}

.film-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0.2));
  display: flex;
  align-items: flex-end;
  padding: 2rem 0;
  color: #fff;
}

.film-title {
  margin: 0 0 .25rem 0;
  font-weight: 800;
}

.film-subtext {
  margin: 0 0 1rem 0;
  font-size: 1.05rem;
  opacity: .95;
}

.film-back {
  border-radius: 999px;
  padding: .25rem .75rem;
}

/* Sidekolonne-kort */
.film-aside .card-body {
  padding: 1.25rem;
}
.film-aside h3 {
  margin-top: 0.25rem;
  margin-bottom: .75rem;
}

/* Let skygge rundt om videoen, matcher dine drop-shadows */
.drop-shadow {
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  border-radius: 6px;
  overflow: hidden;
}

/* Småt responsivt tweak */
@media (max-width: 767.98px) {
  .film-hero { min-height: 240px; }
  .film-hero__overlay { padding: 1.25rem 0; }
}




/* STREAMING-STYLE CARDS */

/* Hele kortet (linket) */
.stream-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stream-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}

/* Baggrundsbillede */
.stream-bg {
  background-size: cover;
  background-position: center;
  height: 280px; /* juster efter smag */
  position: relative;
}

/* Gradient-overlay til tekst */
.stream-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
  color: #fff;
}

/* Titel og subtekst */
.stream-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.stream-subtext {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  opacity: 0.9;
}




/* Fjern containerens siderum på mobil så bokse går helt til kant */
@media (max-width: 767.98px) {
  .full-bleed-mobile {
    margin-left: -15px;
    margin-right: -15px;
  }
}




.fadein img{
opacity:0.5;
transition: 1s ease;
}

.fadein img:hover{
opacity:1;
transition: 1s ease;
}




.bg-dark{background-color:#000!important;} 			/** sort: #000 footer **/
.bg-primary{background-color: #761f0b!important;} 		/** blood red: 761f0b **/
.bg-dirt {background-color: #f1d4b3!important;}			/** brown: #f1d4b3 **/
.text-dirt {color: #f1d4b3!important;}					/** brown: #f1d4b3 **/

h1, h2, h3{
	-ms-word-break: break-all;
    	word-break: break-all;
    	word-break: break-word;
    	-webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

a{
	color: #761f0b; /** blood red: 761f0b **/
}

a:hover{
	color: #7e2c19; /** blood red: 761f0b **/
}

#mainNav .navbar-nav .nav-item .nav-link, .text-dark{
	color:#000!important;
	/**background-color: rgba(255, 255, 255, 0.3);	**/					/** hvid: #fff **/
} 

#mainNav .navbar-nav .nav-item .nav-link:hover{
	color:#000!important;						/** dark brown: #2e251c **/
	text-decoration:underline!important;

} 	

.bg-white-semi{
	background:rgba(255,255,255,0.75);
}

.bg-dark-semi{background-color: rgba(90, 90, 90, .75)!important;} 
.bg-dark-semi.hovereffect:hover{background-color: rgba(46, 37, 28, 1)!important;} 

.bg-primary-semi{background-color: rgba(30, 30, 30, .75)!important;} 
.bg-primary-semi.hovereffect:hover{background-color: rgba(161, 111, 74, 1)!important;} 

body, .btn, #mainNav .navbar-nav .nav-item .nav-link{font-family: 'Blinker', sans-serif;}

#mainNav .navbar-nav .nav-item .nav-link{font-size: 20px;}
#mainNav .navbar-nav .active .nav-link{text-decoration: underline;}

header.masthead {
	background: none; /** insert movie still **/
	padding-top: 0px;
}

.hovereffect{
	transition: transform .2s; /* Animation */
}

.hovereffect:hover{
	/**transform: scale(1.1);**/
	-webkit-box-shadow: 0px 0px 26px 0px rgba(0,0,0,0.29);
	-moz-box-shadow: 0px 0px 26px 0px rgba(0,0,0,0.29);
	box-shadow: 0px 0px 26px 0px rgba(0,0,0,0.29);	
}

#mainNav.navbar-scrolled, #page-top.drone-back, #mainNav.always-scrolled{
	background-color: #f6f3ed; 					
	background: #f6f3ed url('.../img/top.gif') no-repeat 160px top fixed; /** brown: #f1d4b3 **/
	background-size: auto 110px;
}

.drop-shadow{
	-webkit-box-shadow: 0px 0px 26px 0px rgba(0,0,0,0.29);
	-moz-box-shadow: 0px 0px 26px 0px rgba(0,0,0,0.29);
	box-shadow: 0px 0px 26px 0px rgba(0,0,0,0.29);
}

.ontop{
	float: left;
	width: 50px;
	height: 50px;
	font-size: 32px;
}

.footericon {
	width: 64px;
	height: auto;
	margin-left: 10px;
	margin-bottom: 10px;
}

header {
  position: relative;
  background-color: white;
  height: auto;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
}
/*
header video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}*/

header .container {
  position: relative;
  z-index: 2;
}

header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: white;
  opacity: 0.3;
  z-index: 1;
}



/** Raumschiff changed**/

@media (min-width: 576px){
	#mainNav.navbar-scrolled, #page-top.drone-back, #mainNav.always-scrolled{					
	background: #f6f3ed url('.../img/top.gif') no-repeat calc(50% + 110px) top fixed; /** brown: #f1d4b3 **/
	background-size: auto 110px;
	}
}


@media (min-width: 768px){
	#mainNav.navbar-scrolled, #page-top.drone-back, #mainNav.always-scrolled{					
	background: #f6f3ed url('.../img/top.gif') no-repeat calc(50% + 20px) top fixed; /** brown: #f1d4b3 **/
	background-size: auto 110px;
	}
}

@media (min-width: 992px){
	#mainNav.navbar-scrolled, #page-top.drone-back, #mainNav.always-scrolled{					
	background: #f6f3ed url('.../img/top.gif') no-repeat calc(50% - 90px) top fixed; /** brown: #f1d4b3 **/
	background-size: auto 110px;
	}
	
	#mainNav.navbar-scrolled .navbar-nav .nav-item .nav-link {
   		 color: #2e251c;
	}
	
	header.masthead {
		min-height: 50rem;
	}
}

@media (min-width: 1200px){
	#mainNav.navbar-scrolled, #page-top.drone-back, #mainNav.always-scrolled{					
	background: #f6f3ed /**url('../img/top.gif') no-repeat calc(50% - 180px) top fixed**/; /** brown: #f1d4b3 **/
	background-size: auto 110px;
	}
}


@media (max-width: 991px){
    #mainNav{	
    	background: #f6f3ed url('.../img/top.gif') no-repeat calc(50% + 20px) top fixed; /** brown: #f1d4b3 **/
	background-size: auto 110px;
	}
}

/*
@media (max-width: 767px){
    #mainNav{	
    	background: #f6f3ed /**url('../img/top.gif') no-repeat calc(50% + 110px) top fixed**/; /** brown: #f1d4b3 
	background-size: auto 110px;
	}
	
	video {
		display: none;
	}
	
	header.masthead{
		background: #f6f3ed url("..../img/baggrund1920_re.jpg") center top fixed;
	}
}
*/
@media (max-width: 575px){
    #mainNav{	
    	background: #f6f3ed url('.../img/top.gif') no-repeat 160px top fixed; /** brown: #f1d4b3 **/
	background-size: auto 110px;
	}
}

/* 1) Slå global 100vh fra for filmsider */
.section--compact header {
  min-height: unset !important;
  height: auto !important;
  background: none !important;
  padding: 0 !important;
}

/* 2) Sørg for at breadcrumb vises og har god kontrast */
.section--compact .breadcrumb {
  display: block !important;
  color: #6c757d;
  margin-bottom: .5rem;
}
.section--compact .breadcrumb a {
  color: #761f0b;
  text-decoration: none;
}
.section--compact .breadcrumb a:hover {
  text-decoration: underline;
}

/* 3) Giv indhold nok top-plads pga. fixed navbar (justér tallet hvis nødvendigt) */
.section--compact.has-fixed-nav {
  padding-top: 96px !important;  /* prøv 96–112px hvis navbar er højere */
}

/* ── Breadcrumb: altid én linje, kompakt separator, uden "wrap" ───────────── */
.section--compact .breadcrumb {
  display: flex !important;
  flex-wrap: nowrap !important;   /* forhindrer linjeskift */
  white-space: nowrap !important; /* tving alt til én linje */
  gap: 0 !important;
  padding: 0 !important;
  margin-bottom: .5rem !important;
}

.section--compact .breadcrumb-item {
  display: inline-flex !important;
  align-items: center;
  flex: 0 0 auto;                 /* må ikke krympe */
}

.section--compact .breadcrumb-item a,
.section--compact .breadcrumb-item span {
  white-space: nowrap !important; /* ingen brydning inde i link/tekst */
}

/* kompakt “/” separator */
.section--compact .breadcrumb-item + .breadcrumb-item::before {
  content: "/" !important;
  color: #999;
  padding: 0 .35rem !important;
}

/* (valgfrit) lidt mindre font på små skærme, men stadig én linje */
@media (max-width: 420px) {
  .section--compact .breadcrumb { font-size: .9rem !important; }
}

/* Om-siden: lidt kompakt visning */
.section--compact header { padding: 0; }
.card-header a { text-decoration: none; }
.card-header a:hover { text-decoration: underline; }

/* (valgfrit) lidt smallere drop-shadow på om-siden */
.drop-shadow { border-radius: 6px; overflow: hidden; }

/* Mindre topfoto: fylder bredden, men ikke for højt */
.photo-hero {
  width: 100%;
  max-height: 380px;      /* desktop-højde */
  object-fit: cover;      /* crop uden at forvrænge */
  object-position: top;
  display: block;
}

@media (max-width: 767.98px) {
  .photo-hero {
    max-height: 260px;    /* lidt lavere på mobil */
  }
}

/* Fuldbred liste i 2 kolonner på desktop, 1 på mobil */
.columns-2 {
  column-count: 2;
  column-gap: 2rem;
}
@media (max-width: 767.98px) {
  .columns-2 { column-count: 1; }
}
.columns-2 li { margin-bottom: .5rem; }

/* Foto i 2/3-kolonne: fylder bredden, moderat højde */
.photo-23 {
  width: 100%;
  max-height: 420px;     /* justér efter smag */
  object-fit: cover;     /* pæn crop */
  object-position: center;
  display: block;
}
@media (max-width: 767.98px) {
  .photo-23 { max-height: 260px; }
}

/* Lister i 2 kolonner på desktop, 1 på mobil */
.columns-2 {
  column-count: 2;
  column-gap: 2rem;
}
@media (max-width: 767.98px) {
  .columns-2 { column-count: 1; }
}
.columns-2 li { margin-bottom: .5rem; }

/* Fonde: mere tydelig del (diskret fremhævning) */
.funds-card {
  background: #f7e8d6;          /* din “lighter brown” fra paletten */
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-radius: 6px;
}
.funds-card .card-body { padding: 1.25rem; }

/* Foto i højre 2/3: fylder bredden, moderat højde */
.photo-23 {
  width: 100%;
  max-height: 420px;    /* justér efter smag */
  object-fit: cover;    /* pæn crop */
  object-position: center;
  display: block;
}
@media (max-width: 767.98px) {
  .photo-23 { max-height: 260px; }
}

/* Lister i 2 kolonner på desktop, 1 på mobil */
.columns-2 {
  column-count: 2;
  column-gap: 2rem;
}
@media (max-width: 767.98px) {
  .columns-2 { column-count: 1; }
}
.columns-2 li { margin-bottom: .5rem; }

/* Fonde: tydelig del */
.funds-card {
  background: #f7e8d6;         /* din “lighter brown” */
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-radius: 6px;
}
.funds-card .card-body { padding: 1.25rem; }

/* Foto der fylder højre 2/3 og som teksten flyder omkring */
.float-photo-23 {
  float: right;
  width: 66.666%;       /* 2/3 bredde */
  margin-left: 1.5rem;  /* luft mellem tekst og foto */
  max-height: 420px;    /* moderat højde */
  overflow: hidden;     /* crop overskud */
}
.float-photo-23 img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;    /* pæn crop */
  object-position: center;
}

/* Mobil: foto over teksten, ingen float */
@media (max-width: 767.98px) {
  .float-photo-23 {
    float: none;
    width: 100%;
    margin-left: 0;
    max-height: 260px;
  }
}

/* ── Vandret film-rail (robust FLEX, ingen overlap) ───────────── */
.film-rail {
  display: flex !important;
  align-items: stretch;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 1rem;
  padding: .25rem 0 0;
  -webkit-overflow-scrolling: touch;
}

.film-rail::-webkit-scrollbar { height: 8px; }
.film-rail::-webkit-scrollbar-thumb { background: rgba(0,0,0,.2); border-radius: 4px; }
@supports (scrollbar-width: thin) {
  .film-rail { scrollbar-width: thin; }
}

/* Hvert item er en “fast” bredde – flex-shrink:0 forhindrer sammenpres */
.rail-item {
  flex: 0 0 280px;             /* kortbredde (ændr fx til 300px hvis du vil) */
  scroll-snap-align: start;
  box-sizing: border-box;
}

/* Højde på kort i rail (samme for alle) */
.rail-item .stream-bg { height: 280px; }
@media (max-width: 575.98px) {
  .rail-item { flex-basis: 240px; }
  .rail-item .stream-bg { height: 240px; }
}

/* Hover-zoom uden grim overlap: giv z-index på hover */
.stream-card { will-change: transform; }
.stream-card:hover { z-index: 2; }

/* (valgfrit) lidt ekstra luft omkring sektionen */
.film-rail-section { margin-bottom: 2rem; position: relative; }

/* ──────────────────────────────────────────────── */
/* Header til hver film-rail                      */
/* ──────────────────────────────────────────────── */
.rail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;   /* Titel til venstre, knapper til højre */
  gap: 1rem;
  margin-bottom: 0.75rem;
  padding-right: 0.25rem;
}

/* Titel */
.rail-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
  color: #2e251c;
}

/* Knapper (smukke runde pile i højre side) */
.rail-controls {
  display: flex;
  gap: 0.5rem;
}

.rail-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background-color: #761f0b; /* blodrød fra din palette */
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
}

.rail-btn:hover {
  background-color: #7e2c19; /* lidt lysere rød */
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}

.rail-btn:focus {
  outline: 2px solid #f1d4b3;
  outline-offset: 2px;
}

.rail-btn.prev::before { content: "‹"; }
.rail-btn.next::before { content: "›"; }

/* Gør knapperne lidt mindre på mobil */
@media (max-width: 575.98px) {
  .rail-btn {
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
  }
}
/* ──────────────────────────────────────────────── */
/* Header til hver film-rail                      */
/* ──────────────────────────────────────────────── */
.rail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;   /* Titel til venstre, knapper til højre */
  gap: 1rem;
  margin-bottom: 0.75rem;
  padding-right: 0.25rem;
}

.rail-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
  color: #2e251c;
}

.rail-controls {
  display: flex;
  gap: 0.5rem;
}

.rail-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background-color: #761f0b; /* blodrød fra paletten */
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
  z-index: 3; /* ligger over fade */
}

.rail-btn:hover {
  background-color: #7e2c19;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}

.rail-btn:focus {
  outline: 2px solid #f1d4b3;
  outline-offset: 2px;
}

.rail-btn.prev::before { content: "‹"; }
.rail-btn.next::before { content: "›"; }

@media (max-width: 575.98px) {
  .rail-btn {
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
  }
}

/* ──────────────────────────────────────────────── */
/* Vandret film-rail layout                       */
/* ──────────────────────────────────────────────── */
.film-rail-section {
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden; /* fade-overlay vises pænt */
}

.film-rail {
  display: flex !important;
  align-items: stretch;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 1rem;
  padding: .25rem 0 .5rem;
  -webkit-overflow-scrolling: touch;
}

/* Fast bredde pr. kort */
.rail-item {
  flex: 0 0 280px;
  scroll-snap-align: start;
  box-sizing: border-box;
  padding: 2px;
}

.rail-item .stream-bg { height: 280px; }

@media (max-width: 575.98px) {
  .rail-item { flex-basis: 240px; }
  .rail-item .stream-bg { height: 240px; }
}

/* Hover og z-index */
.stream-card { will-change: transform; }
.stream-card:hover { z-index: 2; }

/* ──────────────────────────────────────────────── */
/* Fader i siderne — subtil Netflix-lignende look  */
/* ──────────────────────────────────────────────── */
.film-rail-section::before,
.film-rail-section::after {
  content: "";
  position: absolute;
  top: 2.4rem;   /* under overskriften */
  bottom: 0;
  width: 60px;
  pointer-events: none;
  z-index: 2;
}

/* venstre fade */
.film-rail-section::before {
  left: 0;
  background: linear-gradient(to right, rgba(246,243,237,1), rgba(246,243,237,0));
}

/* højre fade */
.film-rail-section::after {
  right: 0;
  background: linear-gradient(to left, rgba(246,243,237,1), rgba(246,243,237,0));
}
/* Basis: kun HØJRE fade (lys baggrund) */
.film-rail-section {
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden; /* så fade ikke viser scrolleren grimt */
}

/* kun højre side */
.film-rail-section::after {
  content: "";
  position: absolute;
  top: 2.4rem;   /* under overskriften/knapperne */
  bottom: 0;
  right: 0;
  width: 60px;
  pointer-events: none;
  z-index: 2;
  /* lys baggrunds-fade (matcher #f6f3ed) */
  background: linear-gradient(to left, rgba(246,243,237,1), rgba(246,243,237,0));
}

/* MØRK variant – brug når rail ligger på mørk baggrund */
.film-rail-section--dark::after {
  /* lidt mørkere fade der glider ind i mørk baggrund */
  background: linear-gradient(to left, rgba(0,0,0,0.55), rgba(0,0,0,0));
}

/* (valgfrit) deaktiver fade helt på en sektion */
.film-rail-section--nofade::after { display: none; }
/* Kill venstre fade globalt */
.film-rail-section::before {
  content: none !important;
  display: none !important;
  background: none !important;
}

/* Behold KUN højre fade (lys) */
.film-rail-section::after {
  content: "";
  position: absolute;
  top: 2.4rem;
  bottom: 0;
  right: 0;
  width: 60px;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(to left, rgba(246,243,237,1), rgba(246,243,237,0));
}

/* Mørk variant (til sektioner på mørk baggrund) */
.film-rail-section--dark::after {
  background: linear-gradient(to left, rgba(0,0,0,0.55), rgba(0,0,0,0));
}

/* (valgfrit) skjul fade når man er helt scrollet til højre */
.film-rail-section.is-end::after { opacity: 0; transition: opacity .2s ease; }
.film-rail-section::after { transition: opacity .2s ease; }

/* Honeypot felt: skjul for brugere men lad bots se det i DOM */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Bootstrap-primary i din palette */
.btn-primary { background:#761f0b; border-color:#761f0b; }
.btn-primary:hover { background:#7e2c19; border-color:#7e2c19; }

/* === NAVBAR: lidt ekstra luft til højre === */
@media (min-width: 992px) {
  #mainNav .navbar-nav {
    padding-right: 1.5rem; /* hvid luft efter sidste menulink */
  }
}

/* === Baggrundsvideo og overlay === */
header video {
  object-fit: cover;
  width: 100%;
  height: 100%;
  min-height: 100vh;
}

/* Overlay: som standard skjult */
.video-overlay {
  display: none;
}

/* Kun på mobil viser vi overlay */
@media (max-width: 767px) {
  .video-overlay {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(241, 212, 179, 0.55); /* varm tone */
    backdrop-filter: blur(1px);
    z-index: 1;
  }

  header .container {
    position: relative;
    z-index: 2;
  }
}
/* Full-bleed baggrundsvideo */
/* .hf-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2; /* bag alt indhold 
}*/

/* No-JS fallback-billede */
.hf-bg-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  display: block;
}

/* Overlay kun på mobil/tablet for læsbarhed */
.video-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0,0,0,0.35);
  display: none;
}

/* Små skærme: aktiver overlay og giv lidt ekstra spacing */
@media (max-width: 991.98px) {
  .video-overlay { display: block; }
  header.masthead .bg-white-semi { backdrop-filter: none; }
}

/* Desktop: behold let “glass” følelse, hvis .bg-white-semi har transparent hvid */
@media (min-width: 992px) {
  header.masthead .bg-white-semi {
    backdrop-filter: saturate(120%) blur(2px);
  }
}

/* Sikrer at masthead fylder viewport-højde pænt */
header.masthead {
  min-height: 100vh;
}
/* Full-bleed baggrundsvideo 
.hf-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}*/

/* Overlay: let mørkning på alle skærme (for kontrast) */
.video-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.25); /* let skygge, video stadig tydelig */
}

/* Tekstboks med svagt transparent hvid baggrund */
header.masthead .bg-white-semi {
  background-color: rgba(255, 255, 255, 0.75);
  border-radius: 0.5rem;
  backdrop-filter: blur(3px);
}

/* Masthead fylder hele skærmen */
header.masthead {
  min-height: 100vh;
  overflow: hidden;
}

/* Tilpas tekststørrelser for mobil */
@media (max-width: 768px) {
  header.masthead h1 {
    font-size: 1.8rem;
  }
  header.masthead p {
    font-size: 1rem;
  }
  header.masthead .bg-white-semi {
    padding: 1.5rem;
  }
}
/* --- HARD OVERRIDES: video skal altid være synlig --- */
header.masthead {
  position: relative !important;
  min-height: 100vh !important;
  background: transparent !important; /* nogle temaer dækker videoen */
  overflow: hidden !important;
}

/* Sørg for at containeren ikke skaber et nyt stacking context over videoen */
header.masthead .container,
header.masthead .row,
header.masthead [class*="col-"] {
  position: relative;
  z-index: 2; /* indhold over overlay og video */
  transform: none !important; /* undgå ny stacking context */
}

/* Selve baggrundsvideoen 
.hf-bg-video {
  position: absolute !important;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 0 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: none; /* klik går til indholdet, ikke videoen 
}*/

/* Nogle libs sætter video til display:none på små skærme — neutralisér det */
@media (max-width: 991.98px) {
  .hf-bg-video {
    display: block !important;
  }
}

/* Let overlay for kontrast, men bevar synlig video */
.video-overlay {
  position: absolute !important;
  inset: 0;
  z-index: 1 !important;
  background: rgba(0,0,0,0.18) !important; /* justér 0.10–0.30 efter smag */
  display: block !important;
}

/* Gør tekstboksen læsbar uden at skjule videoen */
header.masthead .bg-white-semi {
  background-color: rgba(255,255,255,0.78) !important;
  border-radius: .5rem;
  backdrop-filter: blur(3px);
}

/* Logo-topbar kan nogle gange lave overlay; sikr transparent baggrund */
#mainNav.navbar {
  background: rgba(255,255,255,0.92);
}
/* Sørg for at hele siden kan bruge fuld højde */
html, body { height: 100%; }

/* Masthead = altid fuld skærmhøjde (desktop) */
@media (min-width: 992px) {
  header.masthead {
    min-height: calc(var(--vh, 1vh) * 100) !important; /* fallback via JS-variabel */
  }
}


@media (min-width: 992px) {
  header.masthead {
    position: relative !important;
    padding: 0 !important;              /* fjern tema-padding der "spiser" højde */
    min-height: 100dvh !important;      /* moderne enhed = dynamisk viewport-højde */
    min-height: 100svh !important;      /* fallback til small viewport unit */
    min-height: 100vh !important;       /* sidste fallback */
  }
}

/* Baggrundsvideo skal spænde hele headeren 
.hf-bg-video {
  position: absolute !important;
  inset: 0 !important;                  /* top/right/bottom/left = 0 
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 0 !important;
}*/

/* Indhold over videoen */
header.masthead .container {
  position: relative;
  z-index: 2;
}

/* Let overlay (valgfrit) – dækker hele højden */
.video-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
}
/* === HISTORIEFABRIKKEN: Baggrundsvideo layout === */

/* Baggrundsvideo - fuld skærm, dækker hele headeren */
/*.hf-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;      /* dækker hele området uden forvrængning */
  z-index: -2;            /* bag alt indhold */
  display: block;
  visibility: visible;
  opacity: 1;
  pointer-events: none;   /* klik går til tekstindholdet 
}*/

/* Fallback-billede (vises hvis video ikke kan loades eller JS er slået fra) */
.hf-bg-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  display: block;
}

/* Let mørkning over video for at give kontrast til tekst */
.video-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.25); /* justér fx 0.15–0.35 efter smag */
}

/* Masthead – holder video og indhold på fuld højde */
header.masthead {
  position: relative;
  min-height: 100vh;       /* fyld hele skærmen */
  overflow: hidden;
  background: transparent;
  margin: 0;
  padding: 0;
}

/* Indhold skal ligge ovenpå video og overlay */
header.masthead .container,
header.masthead .row,
header.masthead [class*="col-"] {
  position: relative;
  z-index: 2;
}

/* Tekstboks – semitransparent baggrund for læsbarhed */
header.masthead .bg-white-semi {
  background-color: rgba(255, 255, 255, 0.75);
  border-radius: 0.5rem;
  backdrop-filter: blur(3px);
}

/* === Responsive justeringer === */
@media (max-width: 991.98px) {
  /* Sørg for at video og overlay stadig vises på mobil */
  .hf-bg-video {
    display: block !important;
    opacity: 1;
  }

  .video-overlay {
    background: rgba(0, 0, 0, 0.2);
  }

  header.masthead h1 {
    font-size: 1.8rem;
  }

  header.masthead p {
    font-size: 1rem;
  }

  header.masthead .bg-white-semi {
    padding: 1.5rem;
  }
}

/* === Navigation === */
#mainNav.navbar {
  background: rgba(255, 255, 255, 0.92);
  transition: background 0.3s ease;
}

/* Små detaljer */
.bg-white-semi {
  background-color: rgba(255, 255, 255, 0.8);
}
/* --- Force fuld-bleed video uanset globale video-regler --- */
header.masthead { 
  position: relative;
  height: 100vh;                 /* præcis viewport-højde på desktop */
  min-height: 100vh;
  overflow: hidden;
}

/* høj specifitet + !important for at slå theme-regler */
header.masthead > video.hf-bg-video {
  position: absolute !important;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;    /* neutraliserer video{max-width:100%} */
  max-height: none !important;   /* neutraliserer video{height:auto} */
  object-fit: cover !important;
  display: block !important;
  z-index: -2 !important;
}

/* overlay skal dække hele headeren */
header.masthead > .video-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: -1 !important;
}

/* indhold over videoen */
header.masthead .container { position: relative; z-index: 2; }

header.masthead { margin: 0 !important; padding: 0 !important; }

/* --- Centrér tekstboksen i headeren --- */
header.masthead .container {
  display: flex;
  justify-content: center;   /* vandret centreret */
  align-items: center;       /* lodret centreret */
  min-height: 100vh;         /* fyld hele skærmen, så centring virker pænt */
}

header.masthead .row {
  justify-content: center;   /* hold kolonnen i midten */
}

header.masthead .col-md-8 {
  margin: 0 auto;            /* ekstra sikkerhed */
  text-align: left;          /* behold venstrejusteret tekst */
}

/* === HERO (forside) — ren, samlet version === */

header.masthead {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  /* Fjern kommentaren herunder, hvis du også vil centrere lodret på skærmen:
     min-height: 100vh; */
}

/* Baggrundsvideo — dækker hele headeren */
header.masthead > video,
header.masthead > .hf-bg-video {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  max-width: none !important;
  max-height: none !important;
  z-index: 0;
  display: block;
  pointer-events: none;
}

/* Let mørkning over video for kontrast */
header.masthead > .video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0,0,0,0.20);
  display: block;
}

/* Indhold — centreres */
header.masthead .container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;   /* vandret centreret */
  align-items: center;       /* lodret centreret */
  /* min-height: 100vh;  <-- fjern kommentaren hvis du vil centrere lodret */
}

header.masthead .row {
  justify-content: center;
}

header.masthead .col-md-8 {
  margin: 0 auto;
  text-align: left;
}

/* Tekstboks */
header.masthead .bg-white-semi {
  background: rgba(255,255,255,0.75);
  border-radius: 8px;
  backdrop-filter: blur(3px);
}

/* Mobiltilpasning */
@media (max-width: 767.98px) {
  header.masthead .bg-white-semi { padding: 1.5rem; }
  header.masthead h1 { font-size: 1.8rem; }
  header.masthead p  { font-size: 1rem; }
}

/* Teksten i hero/headeren */
.hf-subtitle {
  font-family: 'Merriweather Sans', Arial, sans-serif;
  /*text-transform: uppercase;*/
  letter-spacing: 0.35em;
  font-weight: 400;
  font-size: clamp(0.9rem, 1.6vw, 1.2rem);
  color: #ffffff;
  margin-bottom: 0.3rem;
  opacity: 0.85;
}

.hf-title {
  font-family: 'Merriweather Sans', Arial, sans-serif;
  text-transform: uppercase;
  font-weight: 700;

  /* VIGTIGT: ingen linjeskift 
  white-space: nowrap;*/

  /* Størrelse – må gerne blive ret lille på små skærme */
  font-size: clamp(1.3rem, 7.2vw, 5rem);

  /* Mindre tracking end før = mindre bredde */
  letter-spacing: 0.12em;

  color: #ffffff;
  margin: 0;
  line-height: 1.05;
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.7);
}



/* Gør teksten “råere” og mere læsbar oven på videoen */
.hf-subtitle,
.hf-title {
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.7);
}

/* Titel-link må ALDRIG ligne et link */
.hf-title a,
.hf-title a:visited,
.hf-title a:hover,
.hf-title a:focus,
.hf-title a:active {
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Meget diskret feedback – filmisk */
.hf-title a:hover,
.hf-title a:focus {
  opacity: 0.65;
}

.mobile-break {
  display: none;
}

@media (max-width: 480px) {
  .mobile-break {
    display: inline;
  }
}

/* Sørg for at headeren fungerer som video-hero */
.masthead {
  position: relative;
  overflow: hidden;
}

/* Video fylder hele baggrunden */
.masthead video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* Mørk overlay (hvis du ikke allerede har noget lignende) */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.65));
  z-index: -1;
}

@media (max-width: 360px) {
  .hf-title {
    font-size: 1.1rem;
    letter-spacing: 0.08em;
  }
}

