/* =========================================================
   03. Drupal Migration Banner
   ========================================================= */

.drupal-migration-banner {
  padding: 38px 0 30px;
  background:
    radial-gradient(
      circle at top right,
      rgba(13, 110, 253, 0.06),
      transparent 26%
    ),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.drupal-migration-content {
  max-width: 620px;
}

.drupal-migration-badge {
  color: #f04f00;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.drupal-migration-badge-line {
  width: 22px;
  height: 2px;
  background: #f04f00;
}

.drupal-migration-title {
  color: #071333;
  font-size: 55px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.drupal-migration-description {
  max-width: 590px;
  color: #26345d;
  font-size: 18px;
  line-height: 1.65;
}

.drupal-migration-primary-btn,
.drupal-migration-secondary-btn,
.drupal-migration-bottom-btn {
  min-height: 56px;
  padding: 13px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid;
  border-radius: 8px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.drupal-migration-primary-btn {
  color: #ffffff;
  border-color: #062f78;
  background: linear-gradient(135deg, #062f78, #001d59);
  box-shadow: 0 10px 24px rgba(5, 45, 112, 0.18);
}

.drupal-migration-secondary-btn {
  color: #071333;
  border-color: #082a67;
  background: #ffffff;
}

.drupal-migration-primary-btn:hover,
.drupal-migration-secondary-btn:hover,
.drupal-migration-bottom-btn:hover {
  transform: translateY(-2px);
}

.drupal-migration-primary-btn:hover {
  color: #ffffff;
}

.drupal-migration-secondary-btn:hover {
  color: #075be8;
}

.drupal-migration-benefits {
  max-width: 590px;
}

.drupal-migration-benefit {
  padding: 14px 8px;
  border-bottom: 1px solid #d5dfed;
}

.drupal-migration-benefit:last-child {
  border-bottom: 0;
}

.drupal-migration-benefit-icon {
  position: relative;
  width: 78px;
  min-width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d7e2f2;
  border-radius: 50%;
  color: #075be8;
  background: #f3f7fd;
  font-size: 43px;
}

.drupal-migration-benefit-icon span {
  position: absolute;
  right: 14px;
  bottom: 10px;
  width: 23px;
  height: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: #075be8;
  font-size: 11px;
  font-weight: 900;
}

.drupal-migration-benefit-icon-green {
  color: #15913a;
}

.drupal-migration-benefit-content {
  min-width: 0;
}

.drupal-migration-benefit-content h2 {
  color: #071333;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 800;
}

.drupal-migration-benefit-content p {
  color: #26345d;
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: break-word;
}

.drupal-migration-flow {
  min-width: 0;
}

.drupal-migration-flow-title {
  max-width: 440px;
  min-height: 52px;
  margin-right: auto;
  margin-left: auto;
  padding: 12px 18px;
  border-radius: 9px;
  color: #ffffff;
  background: linear-gradient(135deg, #1268d8, #074bb4);
  box-shadow: 0 10px 22px rgba(13, 93, 201, 0.22);
  font-size: 18px;
  font-weight: 900;
}

.drupal-migration-flow-title i {
  margin: 0 10px;
}

.drupal-migration-platform-card {
  position: relative;
  overflow: visible;
  border: 1px solid #176af1;
  border-radius: 11px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(17, 40, 80, 0.09);
}

.drupal-migration-target-card {
  border-color: #2a9a48;
}

.drupal-migration-platform-head {
  padding: 9px 12px;
  border-radius: 9px 9px 0 0;
  color: #ffffff;
  background: linear-gradient(135deg, #0750af, #0e60d0);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.drupal-migration-target-card .drupal-migration-platform-head {
  background: linear-gradient(135deg, #16873a, #269e48);
}

.drupal-migration-platform-body {
  padding: 18px;
}

.drupal-migration-platform-name {
  color: #071333;
}

.drupal-migration-platform-name > i {
  color: #1767d9;
  font-size: 38px;
}

.drupal-migration-platform-name strong {
  color: #125cc4;
  font-size: 20px;
}

.drupal-migration-platform-name span {
  font-size: 13px;
}

.drupal-migration-browser {
  overflow: hidden;
  border: 1px solid #d8e3f3;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(17, 40, 80, 0.08);
}

.drupal-migration-browser-top {
  height: 20px;
  padding: 0 9px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: #cfd9e8;
}

.drupal-migration-browser-modern .drupal-migration-browser-top {
  background: #0753b9;
}

.drupal-migration-browser-top span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffffff;
}

.drupal-migration-browser-body {
  height: 145px;
}

.drupal-migration-browser-sidebar {
  width: 42px;
  background: #33445f;
}

.drupal-migration-browser-modern .drupal-migration-browser-sidebar {
  background: #063b83;
}

.drupal-migration-browser-content {
  flex: 1;
  min-width: 0;
  padding: 18px 12px;
  background: #f6f8fb;
}

.drupal-migration-browser-placeholder {
  height: 11px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: #d7dfeb;
}

.drupal-migration-browser-placeholder.short {
  width: 65%;
}

.drupal-migration-modern-chart {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4e88dd;
  font-size: 70px;
}

.drupal-migration-platform-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.drupal-migration-platform-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #071333;
  font-size: 13px;
  line-height: 1.35;
}

.drupal-migration-platform-list i {
  width: 18px;
  color: #1262d2;
  text-align: center;
}

.drupal-migration-target-list i {
  color: #239643;
}

.drupal-migration-status {
  padding: 10px;
  border-radius: 7px;
  color: #137632;
  background: #eaf7ed;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.drupal-migration-status i {
  font-size: 24px;
}

.drupal-migration-flow-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 60px;
  align-items: center;
  justify-content: center;
  color: #075be8;
  font-size: 25px;
  transform: translateY(-50%);
}

.drupal-migration-flow-arrow::before {
  content: "";
  position: absolute;
  width: 50px;
  border-top: 2px dashed currentColor;
}

.drupal-migration-flow-arrow i {
  position: absolute;
  right: 0;
}

.drupal-migration-flow-arrow-left {
  right: -61px;
}

.drupal-migration-flow-arrow-right {
  left: -61px;
  color: #147f73;
}

.drupal-migration-process {
  position: relative;
}

.drupal-migration-process > h2 {
  color: #071333;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.drupal-migration-process-line {
  position: absolute;
  top: 35px;
  bottom: 15px;
  left: 50%;
  border-left: 3px dotted #095fc7;
  transform: translateX(-50%);
}

.drupal-migration-process-item {
  position: relative;
  z-index: 2;
  min-height: 102px;
  padding: 17px 16px;
  border: 1px solid #d8e3f3;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(17, 40, 80, 0.09);
}

.drupal-migration-process-number {
  width: 29px;
  height: 29px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: #0757bd;
  font-size: 13px;
  font-weight: 900;
}

.drupal-migration-process-icon {
  width: 30px;
  color: #0757bd;
  font-size: 27px;
  text-align: center;
}

.drupal-migration-process-content {
  min-width: 0;
}

.drupal-migration-process-content h3 {
  color: #071333;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 900;
}

.drupal-migration-process-content p {
  color: #071333;
  font-size: 11px;
  line-height: 1.4;
  overflow-wrap: break-word;
}

.drupal-migration-process-check {
  position: absolute;
  top: 50%;
  right: -12px;
  color: #219343;
  background: #ffffff;
  border-radius: 50%;
  font-size: 27px;
  transform: translateY(-50%);
}

.drupal-migration-warning {
  padding: 14px 20px;
  border: 1px solid #ffc284;
  border-radius: 10px;
  background: #fffaf4;
}

.drupal-migration-warning > i {
  color: #ef5d00;
  font-size: 42px;
}

.drupal-migration-warning p {
  color: #071333;
  font-size: 13px;
  line-height: 1.5;
}

.drupal-migration-warning strong {
  color: #e65000;
}

.drupal-migration-services {
  overflow: hidden;
  border: 1px solid #d6e3f5;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(17, 40, 80, 0.05);
}

.drupal-migration-service {
  padding: 25px 30px;
  border-right: 1px solid #d6e1f0;
}

.drupal-migration-services .col-xl-3:last-child .drupal-migration-service {
  border-right: 0;
}

.drupal-migration-service-icon {
  width: 78px;
  min-width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d6e3f5;
  border-radius: 50%;
  color: #0758c7;
  background: #f2f7ff;
  font-size: 40px;
}

.drupal-migration-service h2 {
  color: #071333;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 900;
}

.drupal-migration-service p {
  color: #26345d;
  font-size: 14px;
  line-height: 1.5;
}

.drupal-migration-bottom-cta {
  padding: 17px 30px;
  border: 1px solid #c4dafa;
  border-radius: 12px;
  background:
    radial-gradient(circle at left, rgba(13, 110, 253, 0.07), transparent 25%),
    linear-gradient(135deg, #f4f9ff, #ffffff);
  box-shadow: 0 10px 28px rgba(17, 40, 80, 0.05);
}

.drupal-migration-bottom-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #a7c8f7;
  border-radius: 50%;
  color: #0758c7;
  font-size: 39px;
}

.drupal-migration-bottom-cta h2 {
  color: #07135c;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 900;
}

.drupal-migration-bottom-cta p {
  color: #26345d;
  font-size: 14px;
  line-height: 1.5;
}

.drupal-migration-bottom-btn {
  color: #ffffff;
  border-color: #062f78;
  background: linear-gradient(135deg, #0b438f, #001e5e);
  font-size: 16px;
}

.drupal-migration-bottom-btn:hover {
  color: #ffffff;
}

/* =========================================================
   Drupal Migration Banner dynamic-field compatibility
   ========================================================= */

.drupal-migration-banner-image {
  overflow: hidden;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(17, 40, 80, 0.1);
}

.drupal-migration-banner-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Main description. */
.drupal-migration-description p {
  margin-bottom: 0;
  color: #26345d;
  font-size: 18px;
  line-height: 1.65;
}

/* Benefit descriptions. */
.drupal-migration-benefit-description p {
  margin-bottom: 0;
  color: #26345d;
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: break-word;
}

/* Warning formatted field. */
.drupal-migration-warning-content {
  min-width: 0;
}

.drupal-migration-warning-content p {
  margin-bottom: 0;
  color: #071333;
  font-size: 13px;
  line-height: 1.5;
}

.drupal-migration-warning-content strong {
  color: #e65000;
}

/* Service descriptions. */
.drupal-migration-service-description p {
  margin-bottom: 0;
  color: #26345d;
  font-size: 14px;
  line-height: 1.5;
}

/* Bottom CTA description. */
.drupal-migration-bottom-description p {
  margin-bottom: 0;
  color: #26345d;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 1600px) {
  .drupal-migration-description p {
    font-size: 15px;
  }

  .drupal-migration-benefit-description p {
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .drupal-migration-description p {
    font-size: 15px;
  }

  .drupal-migration-banner-image {
    border-radius: 10px;
  }
}

/* =========================================================
   Drupal Migration Banner Responsive
   ========================================================= */

@media (max-width: 1600px) {
  .drupal-migration-badge {
    font-size: 14px;
  }

  .drupal-migration-title {
    font-size: 40px;
  }
  .drupal-migration-bottom-cta h2 {
    font-size: 22px;
  }
  .drupal-migration-bottom-description p {
    font-size: 15px;
  }
  .drupal-migration-bottom-btn {
     font-size: 14px;
  }

  .drupal-migration-description {
    font-size: 15px;
  }

  .drupal-migration-primary-btn,
  .drupal-migration-secondary-btn {
    min-height: 52px;
    padding: 12px 16px;
    font-size: 14px;
  }

  .drupal-migration-benefit-content h2 {
    font-size: 16px;
  }

  .drupal-migration-benefit-content p {
    font-size: 14px;
  }

  .drupal-migration-flow-title {
    font-size: 16px;
  }

  .drupal-migration-platform-body {
    padding: 14px;
  }

  .drupal-migration-process-item {
    padding: 14px 12px;
  }

  .drupal-migration-service {
    padding: 22px 18px;
  }
}

@media (max-width: 1199px) {
  .drupal-migration-content {
    max-width: 100%;
    text-align: center;
  }

  .drupal-migration-badge,
  .drupal-migration-actions {
    justify-content: center;
  }

  .drupal-migration-description,
  .drupal-migration-benefits {
    margin-right: auto;
    margin-left: auto;
  }

  .drupal-migration-benefit {
    text-align: left;
  }

  .drupal-migration-flow {
    max-width: 950px;
    margin: 0 auto;
  }

  .drupal-migration-service {
    border-bottom: 1px solid #d6e1f0;
  }

  .drupal-migration-services .col-md-6:nth-child(2n) .drupal-migration-service {
    border-right: 0;
  }

  .drupal-migration-services
    .col-md-6:nth-last-child(-n + 2)
    .drupal-migration-service {
    border-bottom: 0;
  }

  .drupal-migration-bottom-cta {
    text-align: center;
  }
}

@media (max-width: 991px) {
  .drupal-migration-platform-card,
  .drupal-migration-process {
    max-width: 500px;
    margin-right: auto;
    margin-left: auto;
  }

  .drupal-migration-warning {
    align-items: flex-start !important;
  }
}

@media (max-width: 767px) {
  .drupal-migration-banner {
    padding: 34px 0 24px;
  }

  .drupal-migration-badge {
    justify-content: flex-start;
    font-size: 13px;
    text-align: left;
  }
  .drupal-migration-service h2 {
    color: #071333;
    font-size: 16px;
  }
  .drupal-migration-service-description p {
    font-size: 13px;
  }
  .drupal-migration-bottom-cta h2 {
    color: #07135c;
    font-size: 18px;
  }
  .drupal-migration-title {
    font-size: 32px !important;
  }

  .drupal-migration-title {
    font-size: 32px;
  }

  .drupal-migration-description {
    font-size: 15px;
  }

  .drupal-migration-actions {
    flex-direction: column;
  }

  .drupal-migration-primary-btn,
  .drupal-migration-secondary-btn {
    width: 100%;
    min-width: 0;
    padding: 12px 16px;
    font-size: 14px;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .drupal-migration-benefit-content p {
    font-size: 13px;
  }

  .drupal-migration-benefit {
    align-items: flex-start !important;
  }

  .drupal-migration-benefit-icon {
    width: 62px;
    min-width: 62px;
    height: 62px;
    font-size: 34px;
  }

  .drupal-migration-benefit-content h2 {
    font-size: 16px;
  }

  .drupal-migration-flow-title {
    font-size: 15px;
  }

  .drupal-migration-process-line {
    display: none;
  }

  .drupal-migration-warning {
    flex-direction: column;
    text-align: left;
  }

  .drupal-migration-service {
    border-right: 0 !important;
    border-bottom: 1px solid #d6e1f0 !important;
  }

  .drupal-migration-services .col-md-6:last-child .drupal-migration-service {
    border-bottom: 0 !important;
  }

  .drupal-migration-bottom-btn {
    width: 100%;
    min-width: 0;
    padding: 12px 16px;
    font-size: 14px;
    white-space: normal;
    overflow-wrap: break-word;
  }
}

@media (max-width: 575.98px) {
  .drupal-migration-title {
    font-size: 29px;
  }

  .drupal-migration-badge-line {
    width: 18px;
  }

  .drupal-migration-benefit {
    flex-direction: column;
  }

  .drupal-migration-platform-body,
  .drupal-migration-process-item,
  .drupal-migration-warning,
  .drupal-migration-service,
  .drupal-migration-bottom-cta {
    padding-right: 16px;
    padding-left: 16px;
  }
}

/* base styles */
h2 {
  font-size: 44px !important;
}

@media (max-width: 1599.98px) {
  h2 {
    font-size: 32px !important;
  }
}

@media (max-width: 1399.98px) {
  h2 {
    font-size: 30px !important;
  }
}

@media (max-width: 1199.98px) {
  h2 {
    font-size: 28px !important;
  }
}

@media (max-width: 991.98px) {
  h2 {
    font-size: 26px !important;
  }
}

@media (max-width: 767.98px) {
  h2 {
    font-size: 22px !important;
  }
}

@media (max-width: 575.98px) {
  h2 {
    font-size: 21px !important;
  }
}

@media (max-width: 374.98px) {
  h2 {
    font-size: 20px !important;
  }
}

