/* =========================================================
   04. Drupal Specialists and Team Options
   ========================================================= */

.drupal-specialists-section {
  background:
    radial-gradient(
      circle at top left,
      rgba(0, 97, 255, 0.05),
      transparent 24%
    ),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.drupal-specialists-head {
  max-width: 1180px;
  margin: 0 auto 28px;
}

.drupal-specialists-kicker {
  margin-bottom: 8px;
  color: #ff4d00;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.drupal-specialists-kicker span {
  width: 34px;
  height: 1px;
  display: inline-block;
  background: #ff4d00;
}

.drupal-specialists-head h2 {
  margin-bottom: 5px;
  color: #071333;
  font-size: 44px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.drupal-specialists-head p {
  max-width: 850px;
  color: #26345d;
  font-size: 18px;
  line-height: 1.45;
}

.drupal-specialists-role-card {
  --role-color: #075be8;
  --role-soft: #eaf2ff;
  --role-border: #cfe1fa;

  min-height: 470px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  border: 1px solid #dbe5f1;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(17, 40, 80, 0.06);
}

.drupal-specialists-role-card.is-green {
  --role-color: #008a68;
  --role-soft: #e6f7f2;
  --role-border: #bee8dc;
}

.drupal-specialists-role-card.is-purple {
  --role-color: #6330db;
  --role-soft: #f0eaff;
  --role-border: #d8c9ff;
}

.drupal-specialists-role-card.is-orange {
  --role-color: #ff4d00;
  --role-soft: #fff0e8;
  --role-border: #ffd2bf;
}

.drupal-specialists-role-card.is-sky {
  --role-color: #0786d8;
  --role-soft: #e7f5ff;
  --role-border: #bee4fa;
}

.drupal-specialists-role-card.is-emerald {
  --role-color: #138c50;
  --role-soft: #e8f7ee;
  --role-border: #c2e8d0;
}

.drupal-specialists-role-icon {
  width: 62px;
  min-width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--role-color);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--role-color) 28%, transparent);
  font-size: 28px;
}

.drupal-specialists-role-content {
  min-width: 0;
}

.drupal-specialists-role-content h3 {
  margin-bottom: 5px;
  color: var(--role-color);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 900;
}

.drupal-specialists-role-content p {
  margin-bottom: 0;
  color: #071333;
  font-size: 15px;
  line-height: 1.42;
  overflow-wrap: break-word;
}

.drupal-specialists-skill-list {
  margin-top: 17px;
}

.drupal-specialists-skill-list h4 {
  margin-bottom: 7px;
  color: var(--role-color);
  font-size: 15px;
  line-height: 1.3;
  font-weight: 900;
}

.drupal-specialists-skill-list ul {
  padding-left: 20px;
}

.drupal-specialists-skill-list li {
  margin-bottom: 3px;
  color: #071333;
  font-size: 15px;
  line-height: 1.35;
}

.drupal-specialists-skill-list li::marker {
  color: var(--role-color);
}

.drupal-specialists-tags {
  margin-top: auto;
  padding-top: 15px;
}

.drupal-specialists-tags span,
.drupal-specialists-stack-tags span {
  min-height: 28px;
  padding: 5px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--role-border);
  border-radius: 6px;
  color: var(--role-color);
  background: var(--role-soft);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
}

.drupal-specialists-team-block,
.drupal-specialists-stack-block,
.drupal-specialists-benefits-block,
.drupal-specialists-flexible-block {
  margin-top: 20px;
  padding: 14px;
  border: 1px solid #d5e2f1;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 30px rgba(17, 40, 80, 0.045);
}

.drupal-specialists-team-title {
  margin-bottom: 14px;
  color: #071333;
}

.drupal-specialists-team-title i {
  font-size: 26px;
}

.drupal-specialists-team-title h3 {
  color: #071333;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 900;
}

.drupal-specialists-team-card {
  --team-color: #075be8;
  --team-soft: #edf4ff;

  min-height: 300px;
  padding: 17px;
  display: flex;
  flex-direction: column;
  border: 1px solid #dbe5f1;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(17, 40, 80, 0.05);
}

.drupal-specialists-team-card.is-green {
  --team-color: #15955b;
  --team-soft: #eaf7ef;
}

.drupal-specialists-team-card.is-purple {
  --team-color: #6c33df;
  --team-soft: #f1eaff;
}

.drupal-specialists-team-card.is-orange {
  --team-color: #ff4d00;
  --team-soft: #fff0e8;
}

.drupal-specialists-team-card h4 {
  margin-bottom: 16px;
  color: var(--team-color);
  font-size: 17px;
  line-height: 1.3;
  font-weight: 900;
}

.drupal-specialists-team-card h4 i {
  margin-right: 8px;
  font-size: 23px;
}

.drupal-specialists-team-card li {
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #071333;
  font-size: 14px;
  line-height: 1.35;
}

.drupal-specialists-team-card li i {
  margin-top: 2px;
  color: var(--team-color);
}

.drupal-specialists-best-for {
  margin-top: 14px;
  padding: 12px;
  border-radius: 9px;
  color: #071333;
  background: var(--team-soft);
  font-size: 14px;
  line-height: 1.35;
}

.drupal-specialists-best-for strong {
  display: block;
  color: var(--team-color);
}

.drupal-specialists-stack-block,
.drupal-specialists-benefits-block {
  padding: 0;
  overflow: hidden;
}

.drupal-specialists-stack-item,
.drupal-specialists-benefit-item {
  padding: 18px;
}

.drupal-specialists-stack-block
  .col-xl-3:not(:last-child)
  .drupal-specialists-stack-item,
.drupal-specialists-benefits-block
  .col-xl-3:not(:last-child)
  .drupal-specialists-benefit-item {
  border-right: 1px solid #d5e2f1;
}

.drupal-specialists-stack-icon,
.drupal-specialists-benefit-icon {
  width: 54px;
  min-width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  font-size: 25px;
}

.drupal-specialists-stack-icon.is-blue,
.drupal-specialists-benefit-icon.is-blue {
  background: #075be8;
}

.drupal-specialists-stack-icon.is-green,
.drupal-specialists-benefit-icon.is-green {
  background: #15955b;
}

.drupal-specialists-stack-icon.is-purple,
.drupal-specialists-benefit-icon.is-purple {
  background: #6c33df;
}

.drupal-specialists-stack-icon.is-orange,
.drupal-specialists-benefit-icon.is-orange {
  background: #ff5a00;
}

.drupal-specialists-stack-content {
  min-width: 0;
}

.drupal-specialists-stack-content h3,
.drupal-specialists-benefit-item h3 {
  margin-bottom: 5px;
  color: #071333;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 900;
}

.drupal-specialists-stack-content p,
.drupal-specialists-benefit-item p {
  color: #071333;
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: break-word;
}

.drupal-specialists-stack-tags {
  --role-color: #075be8;
  --role-soft: #edf4ff;
  --role-border: #cfe1fa;

  margin-top: 12px;
}

.drupal-specialists-stack-item .drupal-specialists-stack-tags span {
  min-width: 40px;
  padding: 4px 9px;
  font-size: 12px;
}

.drupal-specialists-stack-block
  .col-xl-3:nth-child(2)
  .drupal-specialists-stack-tags {
  --role-color: #138c50;
  --role-soft: #e8f7ee;
  --role-border: #c2e8d0;
}

.drupal-specialists-stack-block
  .col-xl-3:nth-child(3)
  .drupal-specialists-stack-tags {
  --role-color: #6330db;
  --role-soft: #f0eaff;
  --role-border: #d8c9ff;
}

.drupal-specialists-stack-block
  .col-xl-3:nth-child(4)
  .drupal-specialists-stack-tags {
  --role-color: #ff4d00;
  --role-soft: #fff0e8;
  --role-border: #ffd2bf;
}

.drupal-specialists-benefit-item {
  min-height: 128px;
}

.drupal-specialists-flexible-block {
  padding: 18px;
  background:
    radial-gradient(circle at left, rgba(13, 110, 253, 0.07), transparent 30%),
    linear-gradient(135deg, #f5f9ff 0%, #ffffff 100%);
}

.drupal-specialists-flexible-main {
  min-width: 0;
}

.drupal-specialists-flexible-image {
  width: 210px;
}

.drupal-specialists-flexible-image img,
.drupal-specialists-cta-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.drupal-specialists-flexible-content {
  min-width: 0;
}

.drupal-specialists-flexible-content h3 {
  margin-bottom: 8px;
  color: #071333;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 900;
}

.drupal-specialists-flexible-content p {
  margin-bottom: 14px;
  color: #071333;
  font-size: 15px;
  line-height: 1.45;
}

.drupal-specialists-recommend-btn {
  min-height: 46px;
  padding: 11px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border-radius: 8px;
  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: 900;
  text-decoration: none;
}

.drupal-specialists-recommend-btn:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.drupal-specialists-flexible-options {
  border-left: 1px solid #cfdbea;
}

.drupal-specialists-flexible-option {
  min-height: 86px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #071333;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}

.drupal-specialists-flexible-option i {
  width: 38px;
  flex-shrink: 0;
  color: #07946e;
  font-size: 28px;
  text-align: center;
}

.drupal-specialists-flexible-options
  .col-sm-6:nth-child(odd)
  .drupal-specialists-flexible-option {
  border-right: 1px solid #cfdbea;
}

.drupal-specialists-flexible-options
  .col-sm-6:nth-child(-n + 4)
  .drupal-specialists-flexible-option {
  border-bottom: 1px solid #cfdbea;
}

.drupal-specialists-cta {
  margin-top: 20px;
  padding: 20px 28px;
  overflow: hidden;
  border-radius: 15px;
  color: #ffffff;
  background:
    radial-gradient(
      circle at top right,
      rgba(0, 91, 255, 0.28),
      transparent 30%
    ),
    linear-gradient(135deg, #020b25 0%, #061d49 55%, #020b25 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.drupal-specialists-cta-image {
  max-width: 280px;
  margin: 0 auto;
}

.drupal-specialists-cta-content h3 {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 900;
}

.drupal-specialists-cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.45;
}

.drupal-specialists-cta-primary,
.drupal-specialists-cta-secondary {
  min-height: 50px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-radius: 8px;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 900;
  text-decoration: none;
}

.drupal-specialists-cta-primary {
  background: linear-gradient(135deg, #ff7a00, #ff4d00);
  box-shadow: 0 12px 28px rgba(255, 90, 0, 0.25);
}

.drupal-specialists-cta-secondary {
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: transparent;
}

.drupal-specialists-cta-primary:hover,
.drupal-specialists-cta-secondary:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

/* =========================================================
   Drupal Specialists and Team Options Responsive
   ========================================================= */

@media (max-width: 1600px) {
  .drupal-specialists-kicker {
    font-size: 14px;
  }

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

  .drupal-specialists-head p {
    font-size: 15px;
  }

  .drupal-specialists-role-card {
    min-height: 100%;
  }

  .drupal-specialists-role-content h3 {
    font-size: 17px;
  }

  .drupal-specialists-role-content p,
  .drupal-specialists-skill-list li {
    font-size: 14px;
  }

  .drupal-specialists-team-title h3,
  .drupal-specialists-flexible-content h3,
  .drupal-specialists-cta-content h3 {
    font-size: 22px;
  }

  .drupal-specialists-team-card h4,
  .drupal-specialists-stack-content h3,
  .drupal-specialists-benefit-item h3 {
    font-size: 16px;
  }

  .drupal-specialists-best-for,
  .drupal-specialists-flexible-content p,
  .drupal-specialists-recommend-btn,
  .drupal-specialists-cta-content p,
  .drupal-specialists-cta-primary,
  .drupal-specialists-cta-secondary {
    font-size: 14px;
  }

  .drupal-specialists-flexible-image {
    width: 185px;
  }
}

@media (max-width: 1199px) {
  .drupal-specialists-stack-block
    .col-xl-3:nth-child(2)
    .drupal-specialists-stack-item,
  .drupal-specialists-benefits-block
    .col-xl-3:nth-child(2)
    .drupal-specialists-benefit-item {
    border-right: 0;
  }

  .drupal-specialists-stack-block
    .col-xl-3:nth-child(-n + 2)
    .drupal-specialists-stack-item,
  .drupal-specialists-benefits-block
    .col-xl-3:nth-child(-n + 2)
    .drupal-specialists-benefit-item {
    border-bottom: 1px solid #d5e2f1;
  }

  .drupal-specialists-flexible-options {
    margin-top: 4px;
    border-top: 1px solid #cfdbea;
    border-left: 0;
  }
}

@media (max-width: 991px) {
  .drupal-specialists-role-card {
    min-height: 0;
  }

  .drupal-specialists-flexible-main {
    align-items: flex-start !important;
  }

  .drupal-specialists-flexible-image {
    width: 170px;
  }

  .drupal-specialists-cta {
    text-align: center;
  }

  .drupal-specialists-cta-image {
    max-width: 230px;
  }

  .drupal-specialists-cta-actions {
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .drupal-specialists-section {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }

  .drupal-specialists-kicker {
    gap: 8px !important;
    font-size: 13px;
  }

  .drupal-specialists-kicker span {
    width: 24px;
  }

  .drupal-specialists-head h2 {
    font-size: 22px;
    line-height: 1.2;
  }

  .drupal-specialists-head p {
    font-size: 15px;
  }

  .drupal-specialists-role-row {
    --bs-gutter-y: 16px;
  }

  .drupal-specialists-role-card {
    padding: 16px;
  }

  .drupal-specialists-role-icon {
    width: 54px;
    min-width: 54px;
    height: 54px;
    font-size: 24px;
  }

  .drupal-specialists-role-content h3 {
    font-size: 16px;
  }

  .drupal-specialists-role-content p,
  .drupal-specialists-skill-list li {
    font-size: 13px;
  }

  .drupal-specialists-team-title {
    align-items: flex-start !important;
    text-align: left;
  }

  .drupal-specialists-team-title h3,
  .drupal-specialists-flexible-content h3,
  .drupal-specialists-cta-content h3 {
    font-size: 18px;
  }

  .drupal-specialists-flexible-main {
    flex-direction: column;
  }

  .drupal-specialists-flexible-image {
    width: min(240px, 100%);
    margin: 0 auto;
  }

  .drupal-specialists-flexible-content {
    text-align: center;
  }

  .drupal-specialists-recommend-btn,
  .drupal-specialists-cta-primary,
  .drupal-specialists-cta-secondary {
    width: 100%;
    min-width: 0;
    padding: 12px 16px;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .drupal-specialists-cta {
    padding: 20px;
  }
  .drupal-specialists-team-card li {
    font-size: 13px;
  }
  .drupal-specialists-best-for,
  .drupal-specialists-flexible-content p,
  .drupal-specialists-recommend-btn,
  .drupal-specialists-cta-content p,
  .drupal-specialists-cta-primary,
  .drupal-specialists-cta-secondary {
    font-size: 13px;
  }
}

@media (max-width: 575.98px) {
  .drupal-specialists-role-card > .d-flex {
    flex-direction: column;
  }

  .drupal-specialists-role-icon {
    margin: 0 auto;
  }

  .drupal-specialists-role-content {
    text-align: center;
  }

  .drupal-specialists-team-block,
  .drupal-specialists-flexible-block {
    padding: 12px;
  }

  .drupal-specialists-stack-block .col-xl-3 .drupal-specialists-stack-item,
  .drupal-specialists-benefits-block
    .col-xl-3
    .drupal-specialists-benefit-item {
    border-right: 0 !important;
    border-bottom: 1px solid #d5e2f1;
  }

  .drupal-specialists-stack-block
    .col-xl-3:last-child
    .drupal-specialists-stack-item,
  .drupal-specialists-benefits-block
    .col-xl-3:last-child
    .drupal-specialists-benefit-item {
    border-bottom: 0;
  }

  .drupal-specialists-flexible-options
    .col-sm-6
    .drupal-specialists-flexible-option {
    border-right: 0 !important;
    border-bottom: 1px solid #cfdbea !important;
  }

  .drupal-specialists-flexible-options
    .col-sm-6:last-child
    .drupal-specialists-flexible-option {
    border-bottom: 0 !important;
  }

  .drupal-specialists-flexible-option {
    min-height: 74px;
  }

  .drupal-specialists-cta-primary,
  .drupal-specialists-cta-secondary {
    justify-content: center;
  }
}

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

