/* =========================================================
   05. Drupal Migration Checklist
   ========================================================= */

.drupal-checklist-section {
  background: #f3f6fb;
}

/* .drupal-checklist-wrap {
  padding: 52px 62px 38px;
  border: 1px solid #edf1f7;
  border-radius: 16px;
  background:
    radial-gradient(
      circle at 84% 17%,
      rgba(13, 110, 253, 0.07),
      transparent 28%
    ),
    #ffffff;
  box-shadow: 0 14px 34px rgba(17, 40, 80, 0.05);
} */

/* Heading */

.drupal-checklist-head {
  margin-bottom: 34px;
}

.drupal-checklist-head-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  min-width: 0;
}

.drupal-checklist-kicker {
  color: #ff5a00;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.drupal-checklist-kicker-line {
  width: 34px;
  height: 2px;
  border-radius: 10px;
  background: #ff5a00;
}

.drupal-checklist-head-content h2 {
  margin: 0;
  color: #071333;
  font-size: 44px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.drupal-checklist-head-content h2 span {
  color: #ff5a00;
}

.drupal-checklist-head-content > p {
  max-width: 680px;
  color: #34405c;
  font-size: 18px;
  line-height: 1.55;
  overflow-wrap: break-word;
}

/* Top Illustration */

.drupal-checklist-visual {
  width: 100%;
  max-width: 560px;
  margin: -46px auto -28px;
}

.drupal-checklist-visual img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 330px;
  display: block;
  object-fit: contain;
}

/* Main Columns */

.drupal-checklist-main {
  position: relative;
  z-index: 2;
}

.drupal-checklist-main > [class*="col-"] {
  min-width: 0;
}

/* Left Steps */

.drupal-checklist-steps {
  overflow: hidden;
  border: 1px solid #d8e4f4;
  border-radius: 11px;
  background: #ffffff;
}

.drupal-checklist-step {
  position: relative;
  flex: 1 1 0;
  min-height: 101px;
  padding: 13px 17px 13px 14px;
  border-bottom: 1px solid #dde6f2;
  background: #ffffff;
}

.drupal-checklist-step:last-child {
  border-bottom: 0;
}

/*
  This is only a visual highlight.
  It is NOT clickable and has no tab behaviour.
*/
.drupal-checklist-step-current {
  z-index: 2;
  border: 1px solid #0d6efd;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
}

.drupal-checklist-step-icon {
  width: 62px;
  min-width: 62px;
  height: 62px;
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 27px;
}

.drupal-checklist-step-content {
  flex: 1;
  min-width: 0;
}

.drupal-checklist-step-number {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
  line-height: 1;
  font-weight: 900;
}

.drupal-checklist-step-content h3 {
  margin: 0;
  color: #071333;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 800;
  overflow-wrap: break-word;
}

.drupal-checklist-step-arrow {
  width: 18px;
  margin-left: 9px;
  color: #071333;
  font-size: 17px;
  text-align: right;
}

/* Step 01 */

.drupal-checklist-step-blue .drupal-checklist-step-icon {
  color: #ffffff;
  background: linear-gradient(135deg, #1687ff, #075be8);
  box-shadow: 0 9px 22px rgba(13, 110, 253, 0.18);
}

.drupal-checklist-step-blue .drupal-checklist-step-number,
.drupal-checklist-step-blue .drupal-checklist-step-arrow {
  color: #0d6efd;
}

/* Step 02 */

.drupal-checklist-step-green .drupal-checklist-step-icon {
  color: #239f8b;
  background: #e8f6f4;
}

.drupal-checklist-step-green .drupal-checklist-step-number {
  color: #199d80;
}

/* Step 03 */

.drupal-checklist-step-purple .drupal-checklist-step-icon {
  color: #6841dd;
  background: #f1edff;
}

.drupal-checklist-step-purple .drupal-checklist-step-number {
  color: #6740df;
}

/* Step 04 */

.drupal-checklist-step-orange .drupal-checklist-step-icon {
  color: #ff5a00;
  background: #fff0e7;
}

.drupal-checklist-step-orange .drupal-checklist-step-number {
  color: #ff5a00;
}

/* Step 05 */

.drupal-checklist-step-cyan .drupal-checklist-step-icon {
  color: #0874f9;
  background: #eaf4ff;
}

.drupal-checklist-step-cyan .drupal-checklist-step-number {
  color: #0874f9;
}

/* Step 06 */

.drupal-checklist-step-pink .drupal-checklist-step-icon {
  color: #f3376d;
  background: #ffedf3;
}

.drupal-checklist-step-pink .drupal-checklist-step-number {
  color: #f3376d;
}

/* Middle Checklist Container */

.drupal-checklist-items {
  overflow: hidden;
  border: 1px solid #d8e4f4;
  border-radius: 11px;
  background: #ffffff;
}

/*
  Important fix:
  Each of the six rows shares the complete available height.
  This removes the large empty white area from your screenshot.
*/

.drupal-checklist-row {
  position: relative;
  flex: 1 1 0;
  min-height: 101px;
  border-bottom: 1px solid #dde6f2;
  background: #ffffff;
}

.drupal-checklist-row:last-child {
  border-bottom: 0;
}

.drupal-checklist-row::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
}

/* Checklist Accent Colors */

.drupal-checklist-row-blue::before {
  background: #1687ff;
}

.drupal-checklist-row-green::before {
  background: #25aa81;
}

.drupal-checklist-row-purple::before {
  background: #6740e5;
}

.drupal-checklist-row-orange::before {
  background: #ff7835;
}

.drupal-checklist-row-cyan::before {
  background: #1687ff;
}

.drupal-checklist-row-pink::before {
  background: #ff4878;
}

/* Checklist Items */

.drupal-checklist-task {
  position: relative;
  min-width: 0;
  min-height: 100%;
  padding: 24px 18px 20px 25px;
}

.drupal-checklist-task::after {
  content: "";
  position: absolute;
  top: 30%;
  right: 0;
  width: 1px;
  height: 40%;
  background: #d6e0ed;
}

.drupal-checklist-row .col-md-4:last-child .drupal-checklist-task::after {
  display: none;
}

.drupal-checklist-check {
  width: 17px;
  min-width: 17px;
  height: 17px;
  margin: 2px 13px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  font-size: 8px;
}

.drupal-checklist-task p {
  min-width: 0;
  margin: 0;
  color: #071333;
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: break-word;
}

/* Check Colors */

.drupal-checklist-row-blue .drupal-checklist-check,
.drupal-checklist-row-cyan .drupal-checklist-check {
  background: #2b87ed;
}

.drupal-checklist-row-green .drupal-checklist-check {
  background: #26a681;
}

.drupal-checklist-row-purple .drupal-checklist-check {
  background: #6240df;
}

.drupal-checklist-row-orange .drupal-checklist-check {
  background: #ff7938;
}

.drupal-checklist-row-pink .drupal-checklist-check {
  background: #ff4777;
}

/* Right Download Card */

.drupal-checklist-download {
  min-width: 0;
  padding: 33px 23px 24px;
  border: 1px solid #d3e1f5;
  border-radius: 11px;
  background:
    radial-gradient(
      circle at 50% 3%,
      rgba(13, 110, 253, 0.09),
      transparent 29%
    ),
    linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
}

.drupal-checklist-download-icon {
  width: 94px;
  height: 94px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #0d6efd;
  font-size: 41px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(17, 40, 80, 0.07);
}

.drupal-checklist-download h3 {
  margin: 0 0 15px;
  color: #071333;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.drupal-checklist-download-description {
  margin: 0 0 23px;
  color: #34405c;
  font-size: 16px;
  line-height: 1.65;
  overflow-wrap: break-word;
}

/* Buttons */

.drupal-checklist-download-btn,
.drupal-checklist-view-btn {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 12px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-radius: 7px;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 800;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: break-word;
}

.drupal-checklist-download-btn {
  margin-bottom: 13px;
  color: #ffffff;
  border: 1px solid transparent;
  background: linear-gradient(135deg, #ff7a00, #ff4d00);
  box-shadow: 0 10px 24px rgba(255, 90, 0, 0.2);
}

.drupal-checklist-download-btn:hover {
  color: #ffffff;
}

.drupal-checklist-view-btn {
  color: #082b82;
  border: 1px solid #0d6efd;
  background: #ffffff;
}

.drupal-checklist-view-btn:hover {
  color: #082b82;
}

.drupal-checklist-view-btn i {
  margin-left: auto;
  font-size: 13px;
}

/* Trust Area */

.drupal-checklist-trust {
  margin-top: 30px !important;
  padding-top: 24px;
  border-top: 1px solid #e0e8f3;
}

.drupal-checklist-trust-icon {
  width: 33px;
  min-width: 33px;
  height: 38px;
  margin-right: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1687ff;
  font-size: 27px;
}

.drupal-checklist-trust-content {
  min-width: 0;
}

.drupal-checklist-trust p {
  margin: 0 0 3px;
  color: #34405c;
  font-size: 13px;
  line-height: 1.45;
}

.drupal-checklist-trust span {
  display: block;
  color: #34405c;
  font-size: 13px;
  line-height: 1.45;
}

/* =========================================================
   Drupal Migration Checklist Responsive
   ========================================================= */

@media (max-width: 1600px) {
  /* .drupal-checklist-wrap {
    padding: 44px 38px 32px;
  } */

  .drupal-checklist-kicker {
    font-size: 14px;
  }

  .drupal-checklist-head-content h2 {
    font-size: 32px;
  }

  .drupal-checklist-head-content > p {
    font-size: 15px;
  }

  .drupal-checklist-visual {
    max-width: 470px;
    margin-top: -32px;
    margin-bottom: -20px;
  }

  .drupal-checklist-step,
  .drupal-checklist-row {
    min-height: 96px;
  }

  .drupal-checklist-step {
    padding: 12px 13px;
  }

  .drupal-checklist-step-icon {
    width: 53px;
    min-width: 53px;
    height: 53px;
    margin-right: 12px;
    font-size: 22px;
  }

    /* Don't inherit desktop equal-height behaviour */
  .drupal-checklist-steps {
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
  }

  /* Current mobile step must stay compact */
  .drupal-checklist-step {
    height: auto !important;
    min-height: 0 !important;
    flex: none !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;

    padding: 16px 12px !important;
  }

  .drupal-checklist-step-current {
    display: flex !important;
    align-items: center !important;
  }

  .drupal-checklist-step-number {
    font-size: 14px;
  }

  .drupal-checklist-step-content h3 {
    font-size: 14px;
  }

  .drupal-checklist-step-arrow {
    font-size: 14px;
  }

  .drupal-checklist-task {
    padding: 20px 12px 17px 17px;
  }

  .drupal-checklist-check {
    width: 15px;
    min-width: 15px;
    height: 15px;
    margin-right: 8px;
    font-size: 7px;
  }

  .drupal-checklist-task p {
    font-size: 14px;
    line-height: 1.45;
  }

  .drupal-checklist-download {
    padding: 27px 18px 21px;
  }

  .drupal-checklist-download-icon {
    width: 78px;
    height: 78px;
    margin-bottom: 17px;
    font-size: 34px;
  }

  .drupal-checklist-download h3 {
    font-size: 17px;
  }

  .drupal-checklist-download-description {
    font-size: 14px;
  }

  .drupal-checklist-download-btn,
  .drupal-checklist-view-btn {
    min-height: 48px;
    font-size: 14px;
  }

  .drupal-checklist-trust p,
  .drupal-checklist-trust span {
    font-size: 12px;
  }
}

@media (max-width: 1199px) {
  .drupal-checklist-main {
    row-gap: 24px;
  }

  .drupal-checklist-steps {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 12px;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .drupal-checklist-step {
    flex: 0 0 calc(33.333% - 8px);
    min-height: 100px;
    border: 1px solid #d8e4f4;
    border-radius: 10px;
  }

  .drupal-checklist-step:last-child {
    border-bottom: 1px solid #d8e4f4;
  }

  .drupal-checklist-step-current {
    border-color: #0d6efd;
  }

  .drupal-checklist-items {
    height: auto !important;
  }

  .drupal-checklist-row {
    flex: none;
    min-height: 100px;
  }

  .drupal-checklist-download {
    max-width: 720px;
    margin: 0 auto;
  }

  .drupal-checklist-download-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .drupal-checklist-download h3,
  .drupal-checklist-download-description {
    text-align: center;
  }

  .drupal-checklist-download-actions {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 991px) {
  /* .drupal-checklist-wrap {
    padding: 38px 26px 28px;
  } */

  .drupal-checklist-head-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
  }

  .drupal-checklist-kicker {
    justify-content: center;
  }

  .drupal-checklist-head-content > p {
    margin-left: auto;
    margin-right: auto;
  }

  .drupal-checklist-visual {
    max-width: 450px;
    margin: 5px auto 0;
  }

  .drupal-checklist-step {
    flex-basis: calc(50% - 6px);
  }
}

@media (max-width: 767px) {
  .drupal-checklist-section.py-5 {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }

  /* .drupal-checklist-wrap {
    padding: 32px 17px 20px;
    border-radius: 12px;
  } */

  .drupal-checklist-head {
    margin-bottom: 25px;
  }

  .drupal-checklist-kicker {
    gap: 10px !important;
    font-size: 13px;
  }
  .drupal-checklist-head-description p {
    font-size: 15px;
  }

  /* Don't inherit desktop equal-height behaviour */
  .drupal-checklist-steps {
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
  }

  /* Current mobile step must stay compact */
  .drupal-checklist-step {
    height: auto !important;
    min-height: 0 !important;
    flex: none !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;

    padding: 16px 12px !important;
  }

  .drupal-checklist-step-current {
    display: flex !important;
    align-items: center !important;
  }

  .drupal-checklist-kicker-line {
    width: 34px;
  }

  .drupal-checklist-head-content h2 {
    font-size: 22px;
    line-height: 1.17;
  }

  .drupal-checklist-head-content > p {
    font-size: 16px;
    line-height: 1.5;
  }

  .drupal-checklist-visual {
    max-width: 380px;
  }

  .drupal-checklist-visual img {
    max-height: 245px;
  }

  .drupal-checklist-step {
    flex-basis: 100%;
    min-height: 86px;
  }

  .drupal-checklist-step-icon {
    width: 50px;
    min-width: 50px;
    height: 50px;
    font-size: 21px;
  }

  .drupal-checklist-step-content h3 {
    font-size: 16px;
  }

  .drupal-checklist-items {
    border-radius: 10px;
  }

  .drupal-checklist-row {
    min-height: 0;
  }

  .drupal-checklist-task {
    min-height: 0;
    padding: 16px 17px 16px 21px;
  }

  .drupal-checklist-task::after {
    top: auto;
    right: 17px;
    bottom: 0;
    left: 21px;
    width: auto;
    height: 1px;
  }

  .drupal-checklist-row .col-md-4:last-child .drupal-checklist-task::after {
    display: none;
  }

  .drupal-checklist-task p,.drupal-checklist-task {
    font-size: 13px;
  }

  .drupal-checklist-download {
    padding: 25px 18px 20px;
  }

  .drupal-checklist-download-icon {
    width: 70px;
    height: 70px;
    font-size: 30px;
  }

  .drupal-checklist-download h3 {
    font-size: 18px;
  }

  .drupal-checklist-download-description {
    font-size: 14px;
  }

  .drupal-checklist-download-btn,
  .drupal-checklist-view-btn {
    min-height: 48px;
    padding: 12px 16px;
    font-size: 14px;
  }
}

@media (max-width: 575.98px) {
  /* .drupal-checklist-wrap {
    padding-left: 14px;
    padding-right: 14px;
  } */

  .drupal-checklist-head-content h2 br {
    display: none;
  }

  .drupal-checklist-visual {
    max-width: 320px;
  }

  .drupal-checklist-visual img {
    max-height: 210px;
  }

  .drupal-checklist-step {
    padding: 12px 13px;
  }

  .drupal-checklist-step-icon {
    width: 46px;
    min-width: 46px;
    height: 46px;
    margin-right: 11px;
    font-size: 19px;
  }

  .drupal-checklist-step-number {
    font-size: 13px;
  }

  .drupal-checklist-step-content h3 {
    font-size: 16px;
  }

  .drupal-checklist-task {
    padding-left: 18px;
    padding-right: 14px;
  }

  .drupal-checklist-download h3 br {
    display: none;
  }

  .drupal-checklist-trust p,
  .drupal-checklist-trust span {
    font-size: 12px;
  }
}

/* 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;
  }
}
