:root {
  --strommen-soft: #769a71;
  --strommen-cards: #f3eac7; 
  --strommen-deep: #1f485e;
  --strommen-sand: #e8e3c9;
  --strommen-accent: #f7d261;
  --strommen-ink: #1f3142;
}

body {
  font-family: "proxima-nova", sans-serif;
font-weight: 400;
font-style: normal;
  color: var(--strommen-deep);
  background: #fff;
}
h1, h2, h3, h4, h5, h6 {
 text-transform: uppercase;
 letter-spacing: 0.06em;
 font-weight: 700;
}

.logo-main {
  width: 500px;
  height: auto;
}

/* lg */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .logo-main {
    width: 360px;
  }
}

/* xl */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .logo-main {
    width: 420px;
  }
}

.navbar .nav-link {
  color: var(--strommen-deep);
  text-transform: uppercase;
}

.navbar .nav-link:hover {
  color: var(--strommen-ink);
}

.navbar .dropdown-menu {
  border-radius: 0;
  border-color: rgba(33, 63, 85, 0.2);
}

.strommen-main-menu .contextual {
  display: none;
}

.strommen-main-menu .block-title,
.strommen-main-menu h2 {
  display: none;
}

.strommen-main-menu nav {
  width: 100%;
}

.strommen-main-menu nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.strommen-main-menu nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: flex-end;
}

.strommen-main-menu nav > ul > li {
  position: relative;
  margin-left: 10px;
}

.strommen-main-menu nav a {
  color: #12212d;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 600;
  display: inline-block;
  padding: 0.5rem 0;
}

/* lg */
@media (min-width: 992px) and (max-width: 1199.98px) {
 .strommen-main-menu nav a {
    font-size: 1.2rem;
  }

  .strommen-main-menu nav > ul > li {
    margin-left: 0px;
  }
}

/* xl */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .strommen-main-menu nav a {
    font-size: 1.3rem;
  }
    .strommen-main-menu nav > ul > li {
    margin-left: 0px;
  }
}

.strommen-main-menu nav a:hover,
.strommen-main-menu nav a:focus,
.strommen-main-menu nav a.is-active {
  color: #213f55;
}

.strommen-main-menu nav > ul > li > ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--strommen-soft);
  border: 3px solid var(--strommen-deep);
  padding: 0.4rem 0;
  margin: 0;
  z-index: 20;
}

.strommen-main-menu nav > ul > li:hover > ul,
.strommen-main-menu nav > ul > li:focus-within > ul {
  display: flex;
}

.strommen-main-menu nav > ul > li > ul > li > a {
  padding: 0.5rem 0.9rem;
  width: 100%;
  font-size: 0.85rem;
}

.hero-image {
  position: relative;
}

.frontpage-hero {
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.frontpage-hero #heroCarousel,
.frontpage-hero .carousel-inner,
.frontpage-hero .carousel-item {
  height: 100vh;
  height: 100svh;
}




.site-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: transparent;
}

.site-header-overlay .navbar {
  background: transparent;
}

.site-header-overlay .navbar > .container {
  align-items: flex-start;
}

.site-header-overlay .navbar-brand {
  margin-top: 100px;
}

.site-header-overlay .navbar-collapse {
  margin-top: 20px;
}

.site-header-overlay .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(14, 29, 40, 0.18);
}

.site-header-overlay .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.site-header-overlay .navbar-toggler-icon {
  filter: invert(1);
}

.site-header-overlay .strommen-main-menu nav a {
  color: #ffffff;
  
  text-transform: uppercase;
}

.site-header-overlay .strommen-main-menu nav a:hover,
.site-header-overlay .strommen-main-menu nav a:focus,
.site-header-overlay .strommen-main-menu nav a.is-active {
  color: #f2eac7;
}

.site-header-overlay .strommen-main-menu nav > ul > li > ul {
  background: rgba(30, 51, 67, 0.96);
  border-color: rgba(255, 255, 255, 0.25);
}

.site-header-overlay .strommen-main-menu nav > ul > li > ul > li > a {
  color: #ffffff;
  text-shadow: none;
}

.hero-image .carousel-item.active:first-child img {
  animation: heroPulseZoom 5s ease-in-out infinite alternate;
}

@keyframes heroPulseZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

.hero-image .carousel-item img {
  width: 100%;
  height: 100vh;
  height: 100svh;
  object-fit: cover;
  display: block;
}

/*
@media (max-width: 767.98px) {
  .frontpage-hero {
  min-height: 40vh;
  min-height: 40svh;
  overflow: hidden;
}
.frontpage-hero #heroCarousel,
.frontpage-hero .carousel-inner,
.frontpage-hero .carousel-item {
  height: 40vh;
  height: 40svh;
}

.hero-image .carousel-item img  {
  height: 40vh !important;
  height: 40svh !important;
}

}
*/



.hero-image .carousel-item img {
  transform: scale(1);
  transition: transform 4.5s ease;
}

.hero-image .carousel-item.active img {
  transform: scale(1.08);
}

.subpage-hero img {
  width: 100%;
  height: min(28vw, 265px);
  object-fit: cover;
  display: block;
}

.subpage-header {
  background: #d7e5e6;
}

.subpage-header .navbar {
  background: transparent;
}

.subpage-header .logo-main {
  width: 260px;
}

.subpage-main {
  background: #d7e5e6;
}

.subpage-shell {
  background: #d7e5e6;
}

.subpage-hero-media {
  max-width: 760px;
  margin: 0 auto;
}

.subpage-hero-media img {
  width: 100%;
  height: auto;
  display: block;
}

.subpage-title {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: var(--strommen-deep);
  font-size: clamp(2.1rem, 2.8vw, 2.1rem);
  line-height: 1.08;
  text-transform: none;
  letter-spacing: 0;
}

.subpage-content {
  max-width: 760px;
  margin: 0 auto;
  color: var(--strommen-deep);
}

.subpage-content .block-page-title-block,
.subpage-content .node__title,
.subpage-content .field--name-field-hero,
.subpage-content .field--name-field-hero-bilede {
  display: none;
}

.subpage-content h1,
.subpage-content h2,
.subpage-content h3,
.subpage-content h4,
.subpage-content h5,
.subpage-content h6 {
  color: var(--strommen-deep);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.subpage-content p,
.subpage-content li {
  font-size: 1rem;
  line-height: 1.7;
}

.subpage-content img {
  max-width: 100%;
  height: auto;
  display: block;

}

.subpage-content .field,
.subpage-content .field__item {
  max-width: 100%;
}

.shape-divider {
  max-width: 1150px;
  margin: 0 auto;
  line-height: 0;
}

.shape-divider img {
  width: 100%;
  min-height: 140px;
  max-height: 410px;
  object-fit: cover;
  display: block;
}

.hero-overlay-mark {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  pointer-events: none;
  width: 100%;
  max-width: 1016px;
  height: auto;
  margin: 0 auto;
}

.section-soft {
  background: var(--strommen-soft);
}

.section-cards {
    background: var(--strommen-cards);
}


.section-dark {
  background: var(--strommen-deep);
}

.info-card {
  background: #8cbeba;
  border: 0;
  color: var(--strommen-deep);
  display: flex;
  flex-direction: column;
}

.info-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.info-card .p-3 {
  padding: 2rem 2rem 2.25rem 2rem !important;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.info-card h2 {
 
  font-size: clamp(2rem, 1.4vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 1.8rem !important;
}

.info-card p {
  font-size: 0.83rem;
  line-height: 1.65;
 

  letter-spacing: 0.03em;
  max-width: 28ch;
  margin-bottom: 2rem;
}

.info-card .rich-text,
.info-card .rich-text p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--strommen-deep);

  letter-spacing: 0.03em;
  max-width: 28ch;
  margin-bottom: 2rem;
}

.info-card .btn {
  border: 2px solid var(--strommen-deep);
  color: var(--strommen-deep);
  background: transparent;
  border-radius: 0;
  padding: 0.9rem 1.7rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  margin-top: auto;
  align-self: flex-start;
  position: relative;
  overflow: hidden;
}

.feature-btn {
  border: 2px solid currentColor;
  border-radius: 0;
  padding: 0.9rem 1.7rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  margin-top: auto;
  align-self: flex-start;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.info-card .btn,
.feature-btn {
  border-color: transparent;
  transition: background-color 200ms ease, color 200ms ease;
}

.info-card .btn::before,
.info-card .btn::after,
.feature-btn::before,
.feature-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.info-card .btn::before,
.feature-btn::before {
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: scaleX(1);
  transform-origin: left center;
}

.info-card .btn::after,
.feature-btn::after {
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: scaleY(1);
  transform-origin: center top;
}

.info-card .btn:hover::before,
.info-card .btn:focus::before,
.feature-btn:hover::before,
.feature-btn:focus::before {
  animation: goldBorderDrawX 500ms ease-out;
}

.info-card .btn:hover::after,
.info-card .btn:focus::after,
.feature-btn:hover::after,
.feature-btn:focus::after {
  animation: goldBorderDrawY 500ms ease-out 120ms;
}

.feature-btn-gold {
  color: #ffd95b;
}

.feature-btn-blue {
  color: var(--strommen-deep);
}

.info-card .btn:hover,
.info-card .btn:focus {
  color: #173954;
  background: rgba(255, 255, 255, 0.15);
}

.feature-image {
  display: block;
  object-fit: cover;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 620px;
}

.feature-copy {
  color: #d8e0ca;
  min-height: min(620px, 75vw);
  display: flex;
  flex-direction: column;
  padding-top: 0.2rem;
}

.feature-copy h2 {
  color: var(--strommen-accent);
  font-size: clamp(2rem, 2.2vw, 2.7rem);
  font-weight: 700;
  margin-bottom: 1.1rem;

}

.feature-copy p {
  font-size: 1.5rem;

  line-height: 1.65;

  letter-spacing: 0.07em;
  margin-bottom: 1.25rem;
}

.feature-copy .rich-text,
.feature-copy .rich-text p {
  font-size: 1rem;

  line-height: 1.65;

  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}

.feature-copy-dark {
  color: #253949;
}

.feature-copy-dark h2 {
  color: #2e536e;
}

.feature-btn:hover,
.feature-btn:focus {
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
}

@keyframes goldBorderDrawX {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

@keyframes goldBorderDrawY {
  0% {
    transform: scaleY(0);
  }
  100% {
    transform: scaleY(1);
  }
}

.content-box {
  background: #ffffff;
  color: var(--strommen-deep);
  padding: 2.25rem 2rem;
  min-height: 360px;
}

.content-box h1 {
  font-size: clamp(1.8rem, 2.2vw, 2.6rem);
  margin-bottom: 1.2rem;
  color: var(--strommen-deep);
}

.content-box p {
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1rem;

}


.content-box img {
  max-width: 100%;
  height:auto;
}

.content-box .contextual > ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-bottom: 2px solid #d9e2d3;
}

.content-box .contextual > ul > li {
  margin: 0;
}

.content-box .contextual > ul > li > a {
  display: inline-block;
  text-decoration: none;
  color: var(--strommen-deep);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.55rem 0.95rem;
  border: 2px solid var(--strommen-deep);
  border-bottom: 0;
  background: #f4f7f1;
}

.content-box .contextual > ul > li > a.is-active,
.content-box .contextual > ul > li > a[aria-current="page"] {
  background: var(--strommen-deep);
  color: #ffffff;
}

.content-box .contextual > ul > li > a:hover,
.content-box .contextual > ul > li > a:focus {
  background: var(--strommen-deep);
  color: #ffffff;
}

/* Drupal primary local tasks (View/Edit/Delete/Revisions) as tabs */
#block-strommen-theme-primary-local-tasks > ul,
[id*="primary-local-tasks"] > ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-bottom: 2px solid #d9e2d3;
}

#block-strommen-theme-primary-local-tasks > ul > li,
[id*="primary-local-tasks"] > ul > li {
  margin: 0;
}

#block-strommen-theme-primary-local-tasks > ul > li > a,
[id*="primary-local-tasks"] > ul > li > a {
  display: inline-block;
  text-decoration: none;
  color: var(--strommen-deep);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.55rem 0.95rem;
  border: 2px solid var(--strommen-deep);
  border-bottom: 0;
  background: #f4f7f1;
}

#block-strommen-theme-primary-local-tasks > ul > li > a.is-active,
#block-strommen-theme-primary-local-tasks > ul > li > a[aria-current="page"],
[id*="primary-local-tasks"] > ul > li > a.is-active,
[id*="primary-local-tasks"] > ul > li > a[aria-current="page"] {
  background: var(--strommen-deep);
  color: #ffffff;
}

#block-strommen-theme-primary-local-tasks > ul > li > a:hover,
#block-strommen-theme-primary-local-tasks > ul > li > a:focus,
[id*="primary-local-tasks"] > ul > li > a:hover,
[id*="primary-local-tasks"] > ul > li > a:focus {
  background: var(--strommen-deep);
  color: #ffffff;
}

.site-footer {
  background: var(--strommen-sand);
}

.footer-mark {
  width: 100%;
  max-width: 1178px;
  margin: 0 auto;
}

.footer-mark img {
  width: 100%;
  min-height: 120px;
  max-height: 1800px;
  object-fit: cover;
  display: block;
}

@media (max-width: 991.98px) {
  .subpage-header .logo-main {
    width: 220px;
  }

  .site-header-overlay .navbar > .container {
    align-items: center;
  }

  .site-header-overlay .navbar-brand {
    margin-top: 0;
  }

  .site-header-overlay .navbar-collapse {
    margin-top: 0.6rem;
  }

  .strommen-main-menu nav > ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding-top: 0.8rem;
    margin-left: 0;
  }

  .strommen-main-menu nav > ul > li {
    width: 100%;
  }

  .strommen-main-menu nav > ul > li > a {
    width: 100%;
    padding: 0.45rem 0;
  }

  .strommen-main-menu nav > ul > li > ul {
    position: static;
    display: flex;
    border: 0;
    background: transparent;
    min-width: 0;
    padding: 0 0 0.2rem 1rem;
  }

  .strommen-main-menu nav > ul > li > ul > li > a {
    padding: 0.35rem 0;
    font-size: 1rem;
  }

  .frontpage-hero .navbar-collapse {
    padding: 0.75rem 1rem;
    background: rgba(25, 42, 57, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.18);
  }

  .site-header-overlay .strommen-main-menu nav > ul > li {
    margin-left: 0;
  }

  .site-header-overlay .strommen-main-menu nav > ul > li > ul {
    background: transparent;
    border-color: transparent;
    padding-left: 1rem;
  }

  .hero-image .carousel-item img {
    height: 100vh;
    height: 100svh;
  }

  .subpage-hero img {
    height: min(42vw, 240px);
  }

  .subpage-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }

  .hero-overlay-mark {
    bottom: 0;
  }

  .feature-copy {
    min-height: 0;
    padding-top: 0;
  }

  .info-card .p-3 {
    min-height: 300px;
  }

}

@media (max-width: 767.98px) {
  .site-header-overlay .logo-main {
    width: 220px;
  }

  .hero-overlay-mark {
    display: none;
  }

  .footer-mark {
    display: none;
  }

  .subpage-hero img {
    height: 180px;
  }

  .subpage-header .logo-main {
    width: 180px;
  }

  .subpage-hero-media,
  .subpage-title,
  .subpage-content {
    max-width: 100%;
  }

  .content-box {
    padding: 1.5rem 1.2rem;
    min-height: 0;
  }

  .info-card .p-3 {
    min-height: 0;
  }
}

@media (min-width: 992px) {
  .subpage-header .navbar > .container {
    max-width: 760px;
    padding-left: 0;
    padding-right: 0;
  }

  .subpage-header .navbar > .container {
    align-items: flex-start;
  }

  .subpage-header .strommen-main-menu nav > ul {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
  }

  .subpage-header .strommen-main-menu nav > ul > li {
    margin-left: 0;
  }

  .subpage-header .strommen-main-menu nav a {
    color: var(--strommen-deep);
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.05;
    text-align: right;
    padding: 0.1rem 0;
    text-transform: uppercase;
  }

  .subpage-header .strommen-main-menu nav > ul > li > ul {
    left: auto;
    right: 0;
    margin-top: 0.2rem;
  }
}


[data-drupal-messages] {
 display: none;

}


.subpage-content iframe {
  width: 100% !important;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
}


.timeline-page {
  color: #1b2f3f;
}

.timeline-shell {
  max-width: 1020px;
  margin: 0 auto;
}

.timeline-intro {
  margin-bottom: 1.5rem;
}

.timeline-intro h1 {
  font-size: clamp(1.9rem, 6vw, 3rem);
  line-height: 1.08;
  margin-bottom: 0.6rem;
  color: #112535;
}

.timeline-intro p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 62ch;
}

.timeline-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.timeline-list::before {
  content: "";
  position: absolute;
  left: 0.95rem;
  top: 0.6rem;
  bottom: 0.6rem;
  width: 2px;
  background: rgba(41, 75, 100, 0.24);
}

.timeline-item {
  position: relative;
  padding-left: 2.8rem;
  margin-bottom: 0.95rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0.63rem;
  top: 1.25rem;
  width: 0.66rem;
  height: 0.66rem;
  border-radius: 50%;
  background: #294b64;
  border: 2px solid #f6f2dd;
}

.timeline-year {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.24rem 0.62rem;
  border-radius: 999px;
  background: #294b64;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.03em;
}

.timeline-card {
  background: transparent;

  padding: 0.9rem 1rem;
}

.timeline-card h2 {
  font-size: 1.02rem;
  margin-bottom: 0.42rem;
  color: #12283a;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.25;
}

.timeline-card p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.5;
}

.timeline-media {
  margin: 0.62rem 0 0;
  position: relative;
  display: block;
  width: 100%;
}

.timeline-media img {
  display: block;
  width: 100%;
  max-width: none;
  aspect-ratio: 3 / 2;
  object-fit: cover;
 

  background: #d7dee3;
  margin-bottom: 10px;
}

.timeline-media-bubble {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.1rem;
  height: 3.1rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  background: #f3eac7;
  color: #1f485e;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.03em;

}



@media (max-width: 767.98px) {
  .container,
  .container-fluid,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl {
    --bs-gutter-x: 3rem; /* dobbelt af 1.5rem */
  }
}

.subpage-hero-media video {
  width: 100%;
  height: auto;
  display: block;
}