/* =========================================================
   DRUPAL INSIGHTS CTA
   ========================================================= */

.drupal-insights-cta {
  position: relative;
  overflow: hidden;
  padding-top: 68px !important;
  padding-bottom: 58px !important;
  background:
    radial-gradient(
      circle at 24% 42%,
      rgba(0, 119, 255, 0.17),
      transparent 31%
    ),
    radial-gradient(
      circle at 80% 35%,
      rgba(32, 68, 185, 0.12),
      transparent 32%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(255, 90, 0, 0.08),
      transparent 24%
    ),
    linear-gradient(
      135deg,
      #020617 0%,
      #061638 48%,
      #020617 100%
    );
}


/* Soft background glow */
.drupal-insights-cta::before {
  content: "";
  position: absolute;
  top: -140px;
  right: 13%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgba(19, 91, 255, 0.08);
  filter: blur(100px);
  pointer-events: none;
}


/* =========================================================
   LEFT VISUAL
   ========================================================= */

.drupal-insights-cta-visual {
  position: relative;
  max-width: 750px;
  margin: 0 auto;
}


.drupal-insights-cta-visual::after {
  content: "";
  position: absolute;
  right: 8%;
  bottom: 4%;
  left: 8%;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 78, 255, 0.22);
  filter: blur(44px);
  pointer-events: none;
}


.drupal-insights-cta-visual img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}


/* =========================================================
   RIGHT CONTENT
   ========================================================= */

.drupal-insights-cta-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 700px;
  min-width: 0;
  margin-left: auto;
}


/* =========================================================
   KICKER
   ========================================================= */

.drupal-insights-cta-kicker {
  position: relative;
  width: fit-content;
  margin-bottom: 34px;
  padding-bottom: 15px;
  color: #ff8a31;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.15em;
}


.drupal-insights-cta-kicker::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 105px;
  height: 3px;
  border-radius: 20px;
  background:
    linear-gradient(
      90deg,
      #ff7a00,
      #ff4d00
    );
}


/* =========================================================
   HEADING
   ========================================================= */

.drupal-insights-cta-content h2 {
  max-width: 690px;
  margin: 0;
  color: #ffffff;
  font-size: 44px;
  line-height: 1.13;
  font-weight: 900;
  letter-spacing: -0.035em;
  overflow-wrap: break-word;
  word-break: normal;
}


.drupal-insights-cta-content h2 > span {
  color: #1687ff;
}


.drupal-insights-cta-dot {
  color: #ff6800;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.drupal-insights-cta-description {
  max-width: 660px;
  margin: 22px 0 26px;
  color: #bdc8de;
  font-size: 18px;
  line-height: 1.55;
  overflow-wrap: break-word;
}


/* =========================================================
   NEWSLETTER NOTE
   ========================================================= */

.drupal-insights-cta-newsletter-note {
  margin-bottom: 18px;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.4;
}


.drupal-insights-cta-note-icon {
  width: 38px;
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(109, 153, 236, 0.24);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(38, 75, 142, 0.23);
  font-size: 17px;
}


/* =========================================================
   SUBSCRIBE FORM
   ========================================================= */

.drupal-insights-cta-form {
  margin: 0;
}


.drupal-insights-cta-form-inner {
  width: 100%;
  min-width: 0;
  min-height: 66px;
  overflow: hidden;
  border: 1px solid rgba(151, 177, 224, 0.56);
  border-radius: 11px;
  background: rgba(20, 38, 76, 0.68);
}


.drupal-insights-cta-input-wrap {
  min-width: 0;
  padding: 0 18px 0 22px;
  gap: 14px;
}


.drupal-insights-cta-input-wrap > i {
  flex-shrink: 0;
  color: #96a9cc;
  font-size: 20px;
}


.drupal-insights-cta-input-wrap input {
  width: 100%;
  min-width: 0;
  height: 64px;
  padding: 0;
  border: 0;
  outline: 0;
  color: #ffffff;
  background: transparent;
  font-size: 16px;
  line-height: 1.4;
}


.drupal-insights-cta-input-wrap input::placeholder {
  color: #9ba9c5;
  opacity: 1;
}


/* Subscribe button */
.drupal-insights-cta-subscribe-btn {
  min-width: 260px;
  min-height: 64px;
  padding: 14px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-shrink: 0;
  border: 0;
  border-radius: 10px;
  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      #ff7a00,
      #ff4d00
    );
  box-shadow:
    0 12px 28px rgba(255, 90, 0, 0.25);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}


.drupal-insights-cta-subscribe-btn:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow:
    0 16px 32px rgba(255, 90, 0, 0.3);
}


.drupal-insights-cta-subscribe-btn i {
  transition: transform 0.25s ease;
}


.drupal-insights-cta-subscribe-btn:hover i {
  transform: translateX(4px);
}


/* =========================================================
   TRUST ITEMS
   ========================================================= */

.drupal-insights-cta-trust {
  margin-top: 20px;
  gap: 26px;
}


.drupal-insights-cta-trust-item {
  min-width: 0;
  color: #aebbd3;
  font-size: 17px;
  line-height: 1.3;
  white-space: nowrap;
}


.drupal-insights-cta-trust-item i {
  flex-shrink: 0;
  color: #4292ff;
  font-size: 21px;
}


/* =========================================================
   OR DIVIDER
   ========================================================= */

.drupal-insights-cta-divider {
  margin: 31px 0 20px;
  gap: 13px;
}


.drupal-insights-cta-divider > span {
  height: 1px;
  flex: 1 1 auto;
  background: rgba(184, 199, 225, 0.28);
}


.drupal-insights-cta-divider strong {
  width: 38px;
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #075be8;
  border-radius: 50%;
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
}


/* =========================================================
   TALK TO EXPERT BUTTON
   ========================================================= */

.drupal-insights-cta-expert-btn {
  width: 330px;
  max-width: 100%;
  min-height: 60px;
  padding: 13px 20px;
  border: 1px solid #0878ff;
  border-radius: 9px;
  color: #ffffff;
  background: rgba(5, 30, 75, 0.24);
  box-shadow:
    inset 0 0 20px rgba(0, 92, 255, 0.05);
  font-size: 16px;
  line-height: 1.3;
  font-weight: 800;
  text-decoration: none;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}


.drupal-insights-cta-expert-btn > i {
  color: #1687ff;
}


.drupal-insights-cta-expert-btn .fa-comment-dots {
  font-size: 23px;
}


.drupal-insights-cta-expert-btn:hover {
  color: #ffffff;
  border-color: #2992ff;
  background: rgba(13, 110, 253, 0.12);
  transform: translateY(-2px);
}


/* =========================================================
   BOTTOM TOPICS
   ========================================================= */

.drupal-insights-cta-topics {
  position: relative;
  z-index: 3;
  margin-top: 38px;
  overflow: hidden;
  border: 1px solid rgba(111, 143, 200, 0.22);
  border-radius: 14px;
  background:
    linear-gradient(
      180deg,
      rgba(11, 28, 63, 0.82),
      rgba(6, 20, 50, 0.82)
    );
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.12);
}


.drupal-insights-cta-topic {
  position: relative;
  min-height: 90px;
  padding: 16px 22px;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
}


.drupal-insights-cta-topic::after {
  content: "";
  position: absolute;
  top: 24%;
  right: 0;
  width: 1px;
  height: 52%;
  background: rgba(151, 174, 218, 0.21);
}


.drupal-insights-cta-topic-last::after {
  display: none;
}


/* Topic icon */
.drupal-insights-cta-topic-icon {
  width: 46px;
  min-width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  font-size: 21px;
}


/* Blue */
.drupal-insights-cta-topic-blue {
  color: #3397ff;
  border: 1px solid rgba(45, 137, 255, 0.42);
  background: rgba(25, 87, 210, 0.16);
}


/* Orange */
.drupal-insights-cta-topic-orange {
  color: #ff821e;
  border: 1px solid rgba(255, 112, 0, 0.38);
  background: rgba(210, 81, 0, 0.14);
}


/* Teal */
.drupal-insights-cta-topic-teal {
  color: #25d6ce;
  border: 1px solid rgba(35, 212, 202, 0.38);
  background: rgba(13, 156, 157, 0.13);
}


/* Purple */
.drupal-insights-cta-topic-purple {
  color: #bc50ff;
  border: 1px solid rgba(167, 61, 255, 0.42);
  background: rgba(126, 37, 213, 0.16);
}


/* =========================================================
   DRUPAL INSIGHTS CTA RESPONSIVE
   ========================================================= */


/* =========================================================
   LAPTOP
   ========================================================= */

@media (max-width: 1600px) {

  .drupal-insights-cta {
    padding-top: 56px !important;
    padding-bottom: 50px !important;
  }


  .drupal-insights-cta-visual {
    max-width: 680px;
  }


  .drupal-insights-cta-content {
    max-width: 650px;
  }


  .drupal-insights-cta-kicker {
    margin-bottom: 28px;
    font-size: 14px;
  }


  .drupal-insights-cta-content h2 {
    font-size: 42px;
  }


  .drupal-insights-cta-description {
    margin: 18px 0 22px;
    font-size: 15px;
  }


  .drupal-insights-cta-newsletter-note,
  .drupal-insights-cta-trust-item {
    font-size: 14px;
  }


  .drupal-insights-cta-form-inner {
    min-height: 60px;
  }


  .drupal-insights-cta-input-wrap input {
    height: 58px;
    font-size: 14px;
  }


  .drupal-insights-cta-subscribe-btn {
    min-width: 215px;
    min-height: 58px;
    padding: 12px 18px;
    font-size: 14px;
  }


  .drupal-insights-cta-trust {
    gap: 16px;
  }


  .drupal-insights-cta-trust-item {
    white-space: normal;
  }


  .drupal-insights-cta-expert-btn {
    min-height: 58px;
    font-size: 14px;
  }


  .drupal-insights-cta-topic {
    min-height: 84px;
    padding: 15px 16px;
    font-size: 14px;
  }


  .drupal-insights-cta-topic-icon {
    width: 42px;
    min-width: 42px;
    height: 42px;
    font-size: 18px;
  }

}


/* =========================================================
   MEDIUM LAPTOP
   992px - 1199px
   ========================================================= */

@media (min-width: 992px) and (max-width: 1199.98px) {

  .drupal-insights-cta-content h2 {
    font-size: 38px;
  }


  /*
   * Keep email input and subscribe button
   * on the same row at this breakpoint.
   */
  .drupal-insights-cta-form-inner {
    flex-direction: row !important;
    overflow: hidden !important;
    gap: 0 !important;
    border: 1px solid rgba(151, 177, 224, 0.56) !important;
    background: rgba(20, 38, 76, 0.68) !important;
  }


  .drupal-insights-cta-input-wrap {
    min-height: 58px;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }


  .drupal-insights-cta-subscribe-btn {
    width: auto !important;
    min-width: 195px;
  }


  .drupal-insights-cta-topic::after {
    display: none;
  }


  .drupal-insights-cta-topic {
    border-bottom:
      1px solid rgba(151, 174, 218, 0.14);
  }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

  .drupal-insights-cta {
    padding-top: 48px !important;
    padding-bottom: 46px !important;
  }


  .drupal-insights-cta-visual {
    max-width: 620px;
    margin: 0 auto 30px;
  }


  .drupal-insights-cta-content {
    max-width: 720px;
    margin: 0 auto;
  }


  .drupal-insights-cta-content h2 {
    font-size: 36px;
  }


  .drupal-insights-cta-description {
    max-width: 720px;
  }


  /*
   * Tablet still has enough width to keep
   * input and button in one row.
   */
  .drupal-insights-cta-form-inner {
    flex-direction: row;
    overflow: hidden;
    gap: 0;
    border: 1px solid rgba(151, 177, 224, 0.56);
    background: rgba(20, 38, 76, 0.68);
  }


  .drupal-insights-cta-input-wrap {
    min-height: 60px;
    border: 0;
    border-radius: 0;
    background: transparent;
  }


  .drupal-insights-cta-subscribe-btn {
    width: auto;
    min-width: 205px;
  }


  .drupal-insights-cta-topics {
    margin-top: 32px;
  }


  .drupal-insights-cta-topic::after {
    display: none;
  }


  .drupal-insights-cta-topic {
    border-bottom:
      1px solid rgba(151, 174, 218, 0.14);
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

  .drupal-insights-cta {
    padding-top: 38px !important;
    padding-bottom: 38px !important;
  }


  .drupal-insights-cta-visual {
    max-width: 520px;
    margin: 0 auto 28px;
  }


  .drupal-insights-cta-content {
    max-width: 100%;
  }


  .drupal-insights-cta-kicker {
    margin-bottom: 22px;
    padding-bottom: 12px;
    font-size: 13px;
  }


  .drupal-insights-cta-kicker::after {
    width: 78px;
  }


  .drupal-insights-cta-content h2 {
    font-size: 28px;
    line-height: 1.18;
    letter-spacing: -0.025em;
  }


  .drupal-insights-cta-description {
    margin: 16px 0 22px;
    font-size: 15px;
    line-height: 1.55;
  }


  .drupal-insights-cta-newsletter-note {
    align-items: flex-start !important;
    font-size: 13px;
  }


  .drupal-insights-cta-note-icon {
    width: 34px;
    min-width: 34px;
    height: 34px;
    font-size: 15px;
  }


  /*
   * Mobile:
   * stack input and button.
   */
  .drupal-insights-cta-form-inner {
    flex-direction: column;
    overflow: visible;
    border: 0;
    background: transparent;
    gap: 12px;
  }


  .drupal-insights-cta-input-wrap {
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid rgba(151, 177, 224, 0.56);
    border-radius: 9px;
    background: rgba(20, 38, 76, 0.68);
  }


  .drupal-insights-cta-input-wrap input {
    height: 52px;
    font-size: 14px;
  }


  .drupal-insights-cta-subscribe-btn {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 12px 16px;
    font-size: 14px;
    white-space: normal;
    overflow-wrap: break-word;
  }


  .drupal-insights-cta-trust {
    align-items: flex-start !important;
    gap: 13px 18px;
  }


  .drupal-insights-cta-trust-item {
    font-size: 14px;
  }


  .drupal-insights-cta-divider {
    margin: 26px 0 20px;
  }


  .drupal-insights-cta-expert-btn {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    padding: 12px 16px;
    font-size: 14px;
    white-space: normal;
    overflow-wrap: break-word;
  }


  .drupal-insights-cta-topics {
    margin-top: 28px;
  }


  .drupal-insights-cta-topic {
    min-height: 74px;
    padding: 12px 14px;
    font-size: 14px;
  }


  .drupal-insights-cta-topic-icon {
    width: 38px;
    min-width: 38px;
    height: 38px;
    font-size: 16px;
  }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 575.98px) {

  .drupal-insights-cta-visual {
    max-width: 430px;
  }


  .drupal-insights-cta-content h2 {
    font-size: 28px;
  }


  .drupal-insights-cta-trust {
    flex-direction: column;
    align-items: flex-start !important;
  }


  .drupal-insights-cta-divider strong {
    width: 34px;
    min-width: 34px;
    height: 34px;
    font-size: 11px;
  }


  .drupal-insights-cta-topic {
    min-height: 70px;
    padding: 11px 10px;
    gap: 9px !important;
    font-size: 13px;
  }


  .drupal-insights-cta-topic-icon {
    width: 34px;
    min-width: 34px;
    height: 34px;
    font-size: 14px;
  }

}