@charset "utf-8";
/* CSS Document */

/* --- Tiempos fonts --- */
@font-face {
  font-family: "TiemposHeadline";
  src: url("https://cdn.borsen.cloud/sites/borsendk/fonts/borsen-fonts/tiempos/headline/tiempos-headline-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TiemposText";
  src: url("https://cdn.borsen.cloud/sites/borsendk/fonts/borsen-fonts/tiempos/text/tiempos-text-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TiemposText";
  src: url("https://cdn.borsen.cloud/sites/borsendk/fonts/borsen-fonts/tiempos/text/tiempos-text-regular-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "TiemposText";
  src: url("https://cdn.borsen.cloud/sites/borsendk/fonts/borsen-fonts/tiempos/text/tiempos-text-semibold.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TiemposText";
  src: url("https://cdn.borsen.cloud/sites/borsendk/fonts/borsen-fonts/tiempos/text/tiempos-text-semibold-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/* --- Globals --- */
html, body {
  background-color: #cbd3cf !important;
  height: 100%;
  margin: 0 !important;
  font-family: "TiemposText", Georgia, serif;
  font-weight: 400;
  color: #292929;
}

footer,
.container-fluid {
  background-color: #edded5;
}

/* --- Header --- */
.header-content {
  position: absolute;
  top: 20%;
  left: 40%;
  transform: translate(-30%, -30%);
  text-align: center;
  z-index: 10;
}

.header-content h1 {
  display: inline;
  background-color: rgba(40, 40, 40, 0);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  text-shadow: 3px 3px 4px rgba(92, 92, 92, 0.6);
  padding: 0.05em 0.05em;
  font-size: clamp(2rem, 4.5vw, 5.5rem);
  color: #fa5c00 !important;
  border-bottom: none;
  line-height: 1.2;

  /* H1 = bold */
  font-family: "TiemposHeadline", Georgia, serif;
  font-weight: 500;
}

.header-content h2 {
  font-size: 1.5em;
  text-align: center;
  z-index: 3;

  /* H2 = normal */
  font-family: "TiemposText", Georgia, serif;
  font-weight: 400;

  color: #292929 !important; /* din senere override samlet her */
}

/* --- Desktop/mobil toggles (samlet ét sted) --- */
.desktop { display: none !important; }
.mobil   { display: block !important; }

@media (min-width: 768px) {
  .desktop { display: block !important; }
  .mobil   { display: none !important; }
}

/* --- Top billeder --- */
.top-mobil-billede { display: none; }
.top-desktop-billede { display: inline; }

/* --- Images (fade-in) --- */
.fullwidth-image,
.img-responsive {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
  object-fit: cover;

  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.fullwidth-image { width: 100vw !important; }

.img-responsive.in-view,
.fullwidth-image.in-view {
  opacity: 1;
  transform: translateY(0);
}

.fullwidth-image:first-of-type { margin-top: 0; }

/* --- Mobile-only helper --- */
.mobile-only { display: none; }

@media only screen and (max-width: 768px) {
  .desktop-only { display: none; }
  .mobile-only  { display: block; width: 100%; }
}

/* --- Article text --- */
.artikeltekst {
  margin: auto;
  max-width: 100%;
  padding: 2% 0;
}

.artikeltekst p {
  max-width: 40%;
  white-space: pre-line;
  text-align: left;

  font-family: "TiemposText", Georgia, serif;
  font-weight: 400;
  font-style: normal;

  line-height: 150% !important;
  font-size: 1.4rem;
  color: #292929;
}

.artikeltekst a {
  font-family: "TiemposText", Georgia, serif;
  font-weight: 400;
  font-style: normal;

  line-height: 150% !important;
  font-size: 18px;
  color: #db3d7f;
}

/* Artikel-overskrift inde i teksten */
.artikeltekst h2 {
  font-size: 2.4rem;
  text-align: center;
  color: #292929 !important;

  font-family: "TiemposText", Georgia, serif;
  font-weight: 400;
}

/* --- Captions --- */
.image-caption,
.image-caption-para {
  position: relative;
  padding: 0;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0%;
  max-width: 720px;
  color: #292929 !important;
  font-family: "TiemposText", Georgia, serif;
  font-weight: 400;
}

.image-caption img {
  top: 0;
  left: 0;
  width: 100%;
}

.infogram-embed { max-width: 720px; }

.billedtekst {
  text-align: center !important;
  max-width: 720px;
  margin-top: -1.5rem;
  color: #292929;
  font-style: italic;
  margin-left: auto;
  margin-right: auto;

  font-family: Constantia, "Lucida Bright", "DejaVu Serif", Georgia, serif;
  font-weight: 400;
}

/* --- Parallax --- */
.billedparallax01-desk {
  height: 1200px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* --- Responsive widths --- */
@media only screen and (max-width: 1500px) {
  .header-content { top: 35%; }
  .artikeltekst p { max-width: 50%; }
}

@media only screen and (max-width: 1200px) {
  .header-content { top: 25%; }
  .artikeltekst p { max-width: 60%; }
}

@media only screen and (max-width: 992px) {
  .header-content { top: 20%; }
  .artikeltekst p { max-width: 70%; }
}

@media only screen and (max-width: 768px) {
  .top-mobil-billede {
    display: block;
    background-repeat: no-repeat;
    background-attachment: scroll;
    width: 100%;
  }

  .top-desktop-billede { display: none; }

  .header-content { top: 50%; }

  .billedparallax01-desk { display: none; }

  .artikeltekst p { max-width: 95%; }

  .juxtapose { display: none; }
}

@media only screen and (max-width: 576px) {
  .logo-bar {
    overflow: hidden;
    background-color: none;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 3;
    height: 45px;
  }

  .header-content {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
  }

  .header-content h2 {
    font-size: 1.5rem;
    margin: 2%;
  }

  .artikeltekst p {
    max-width: 95%;
    margin-bottom: 0;
  }

  .image-caption { padding: 3% 3% 0 3%; width: 100%; margin-top: -1%; }
  .image-caption-para { padding: 2% 5% 0 5%; width: 100%; margin-top: -1%; }

  .image-caption-grafik { width: 100%; }
}
