:root {
  --strommen-soft: #b8caa9;
  --strommen-cards: #F2EAC7; 
  --strommen-deep: #294b64;
  --strommen-sand: #e8e3c9;
  --strommen-accent: #e7c75e;
  --strommen-ink: #1f3142;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #172534;
  background: #fff;
}

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

.navbar .nav-link {
  color: #12212d;
}

.navbar .nav-link:hover {
  color: #213f55;
}

.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: 40px;
}

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

.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 #22496a;
  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;
}

.hero-image .carousel-item img {
  width: 100%;
  height: min(76vw, 830px);
  object-fit: cover;
  display: block;
}

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

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

.shape-divider img {
  width: 100%;
  min-height: 140px;
  max-height: 210px;
  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: 1600px;
  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: #86b6b3;
  border: 0;
  color: #22496a;
  display: flex;
  flex-direction: column;
}

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

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

.info-card h2 {
  color: #22496a;
  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;
  color: #22496a;

  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: #22496a;

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

.info-card .btn {
  border: 3px solid #22496a;
  color: #22496a;
  background: transparent;
  border-radius: 0;
  padding: 0.7rem 1.35rem;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
  margin-top: auto;
  align-self: flex-start;
}

.feature-btn {
  border: 3px solid currentColor;
  border-radius: 0;
  padding: 0.7rem 1.35rem;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
  margin-top: auto;
  align-self: flex-start;
  background: transparent;
}

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

.feature-btn-blue {
  color: #22496a;
}

.info-card .btn:hover,
.info-card .btn:focus {
  color: #173954;
  border-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: 0.82rem;

  line-height: 1.45;

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

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

  line-height: 1.45;

  letter-spacing: 0.02em;
  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;
}

.content-box {
  background: #ffffff;
  color: #22496a;
  padding: 2.25rem 2rem;
  min-height: 360px;
}

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

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

}

.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: #22496a;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.55rem 0.95rem;
  border: 2px solid #22496a;
  border-bottom: 0;
  background: #f4f7f1;
}

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

.content-box .contextual > ul > li > a:hover,
.content-box .contextual > ul > li > a:focus {
  background: #22496a;
  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: #22496a;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.55rem 0.95rem;
  border: 2px solid #22496a;
  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: #22496a;
  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: #22496a;
  color: #ffffff;
}

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

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

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

@media (max-width: 991.98px) {
  .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;
  }

  .hero-image .carousel-item img {
    height: min(70vw, 420px);
  }

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

  .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) {
  .hero-overlay-mark {
    display: none;
  }

  .footer-mark {
    display: none;
  }

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

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

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