/* =========================================================
   FÆLLES KOMPONENT – Kontakt-slider CTA
   Shortcode: [ng_contact_slider]
   Bruges på: Forside, Kirker og kommende undersider
   Oprindelig Elementor widget-id på forsiden: 5c24195
   ========================================================= */
.craft-feature-slider {
  background: #021326;
  padding: 90px 0;
  overflow: hidden;
  border-radius: 8px;
  font-family: "Times New Roman", Times, serif;
}

.craft-feature-inner {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
}

/* Image */
.craft-feature-image {
  position: absolute;
  right: 0;
  top: 0;
  width: 74%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #011640;
  box-shadow: 0 24px 60px rgba(1,22,64,0.22);
}

.craft-feature-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1s ease, transform 5s ease;
}

.craft-feature-bg.active {
  opacity: 1;
  transform: scale(1);
}

.craft-feature-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(1,22,64,0.45) 0%,
    rgba(1,22,64,0.08) 55%,
    rgba(1,22,64,0.18) 100%
  );
  z-index: 2;
}

/* kortet */
.craft-feature-card {
  position: relative;
  z-index: 4;
  width: 50%;
  min-height: 360px;
  background: rgba(255,255,255,0.94);
  border-radius: 8px;
  padding: 80px;
  box-shadow:
    0 24px 60px rgba(1,22,64,0.14),
    inset 0 1px 0 rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: "Times New Roman", Times, serif;
}


.craft-feature-card .premium-kicker {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(118,82,56,0.10);
  color: #765238 !important;
  font-family: "Times New Roman", Times, serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .045em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.craft-feature-card span {
  display: inline-block;
  color: #c7a27a;
  font-family: "Times New Roman", Times, serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}


.craft-feature-card h2 {
  margin: 0;
  color: #011640;
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 750;
  max-width: 11ch;
}

.craft-feature-card h2 span {
  display: block;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-transform: none;
  margin-bottom: 0;
}

.craft-feature-card p {
  margin: 22px 0 0;
  color: rgba(1,22,64,0.72);
  font-family: "Times New Roman", Times, serif;
  font-size: 17px;
  line-height: 1.55;
  max-width: 430px;
}

.craft-feature-btn {
  display: inline-flex;
  margin-top: 34px;
  background: #012848;
  color: #fff !important;
  text-decoration: none !important;
  padding: 15px 42px;
  border-radius: 8px;
  font-family: "Times New Roman", Times, serif;
  font-size: 18px;
  font-weight: 700;
  transition: transform .3s ease, background .3s ease;
}

.craft-feature-btn:hover {
  transform: translateY(-2px);
  background: #071D2E;
}

/* Dots */
.craft-feature-dots {
  position: absolute;
  left: 0;
  bottom: -34px;
  display: flex;
  gap: 8px;
  z-index: 5;
}

.craft-feature-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(1,22,64,0.22);
  cursor: pointer;
}

.craft-feature-dots button.active {
  background: #011640;
}

/* Tablet */
@media (max-width: 1024px) {
  .craft-feature-inner {
    min-height: 500px;
  }

  .craft-feature-card {
    width: 54%;
    padding: 42px;
  }

  .craft-feature-image {
    width: 72%;
  }
}

/* Mobil */
@media (max-width: 767px) {
  .craft-feature-slider {
    padding: 56px 0 72px;
  }

  .craft-feature-inner {
    width: 92%;
    min-height: auto;
    display: flex;
    flex-direction: column;
  }

  .craft-feature-image {
    position: relative;
    width: 100%;
    height: 330px;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(1,22,64,0.18);
  }

  .craft-feature-image::after {
    background: linear-gradient(
      180deg,
      rgba(1,22,64,0.05) 0%,
      rgba(1,22,64,0.12) 55%,
      rgba(1,22,64,0.32) 100%
    );
  }

  .craft-feature-card {
    width: calc(100% - 12px);
    min-height: auto;
    margin: -84px auto 0;
    padding: 32px 24px 34px;
    border-radius: 8px;
    background: rgba(255,255,255,0.96);
    text-align: center;
    box-shadow:
      0 18px 45px rgba(1,22,64,0.16),
      inset 0 1px 0 rgba(255,255,255,0.9);
  }

  .craft-feature-card span {
    font-size: 12px;
    margin-bottom: 14px;
    text-align: center;
  }

  .craft-feature-card h2 {
    font-size: 36px;
    line-height: 1.02;
    letter-spacing: -0.05em;
    max-width: 100%;
    text-align: center;
  }

  .craft-feature-card h2 span {
    display: block;
    font-size: inherit;
    margin-bottom: 0;
  }

  .craft-feature-card p {
    margin: 20px auto 0;
    font-size: 17px;
    line-height: 1.55;
    max-width: 100%;
    text-align: center;
  }

  .craft-feature-btn {
    margin: 28px auto 0;
    width: 100%;
    justify-content: center;
    padding: 16px 20px;
    font-size: 16px;
  }

  .craft-feature-dots {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 22px;
    justify-content: center;
  }
}
