/* ==========================================================================
   Estone Industrial Features Slider Block CSS (Dynamic Background Upload)
   ========================================================================== */

section.estonetech-ind-features-wrapper,
div.estonetech-ind-features-wrapper,
.entry-content > section.estonetech-ind-features-wrapper,
.wp-block-post-content > section.estonetech-ind-features-wrapper,
.wp-site-blocks section.estonetech-ind-features-wrapper {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  left: auto !important;
  right: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: #143053;
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
  box-sizing: border-box !important;
  overflow: hidden !important;
  z-index: 10 !important;
}

.estonetech-ind-features-container {
  width: 100% !important;
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
  position: relative !important;
  z-index: 2 !important;
  box-sizing: border-box !important;
}

/* Header Title */
.estonetech-ind-features-header {
  margin-bottom: 28px !important;
  width: 100% !important;
}

.estonetech-ind-features-title {
  margin: 0 !important;
  font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', Tahoma, Arial, sans-serif !important;
  font-size: 30px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.25 !important;
  letter-spacing: -0.01em !important;
}

/* Slider Track & Cards Outer */
.estonetech-ind-features-slider-outer {
  position: relative !important;
  width: 100% !important;
  overflow: hidden !important;
  padding: 8px 0 !important;
}

.estonetech-ind-features-track {
  display: flex !important;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.estonetech-ind-features-slide {
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
}

/* Individual Square Feature Card */
.estonetech-ind-features-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
  height: 210px;
  min-height: 210px;
  background-color: #ffffff;
  border-radius: 4px;
  padding: 20px 16px;
  box-sizing: border-box !important;
  text-decoration: none !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
}

.estonetech-ind-features-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22) !important;
}

/* Icon Wrap */
.estonetech-ind-features-icon-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 16px !important;
  width: 52px !important;
  height: 52px !important;
  flex-shrink: 0 !important;
  color: #003875 !important;
}

.estonetech-ind-features-icon-wrap svg {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

.estonetech-ind-features-icon-wrap img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

/* Card Title */
.estonetech-ind-features-card-title {
  margin: 0 !important;
  font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', Tahoma, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  line-height: 1.35 !important;
  width: 100% !important;
  word-break: break-word !important;
}

/* Pagination Dashes (Exact Horizontal Pill Style) */
.estonetech-ind-features-dots {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin-top: 28px !important;
}

.estonetech-ind-features-dot {
  width: 20px !important;
  height: 4px !important;
  border-radius: 2px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  border: none !important;
  padding: 0 !important;
  outline: none !important;
  background-color: rgba(255, 255, 255, 0.35) !important;
}

.estonetech-ind-features-dot.active {
  width: 32px !important;
  background-color: #ffffff !important;
}

/* Editor Specific Styles */
.wp-admin .estonetech-ind-features-wrapper,
.editor-styles-wrapper .estonetech-ind-features-wrapper,
.wp-admin section.estonetech-ind-features-wrapper,
.editor-styles-wrapper section.estonetech-ind-features-wrapper {
  margin: 20px 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  left: 0 !important;
  right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  background-color: #143053 !important;
}

.estonetech-ind-features-editor-card-ctrls {
  margin-top: 10px !important;
  display: flex !important;
  gap: 4px !important;
  justify-content: center !important;
}

/* Responsive Typography & Container */
@media (max-width: 1024px) {
  .estonetech-ind-features-title {
    font-size: 26px !important;
    line-height: 1.3 !important;
  }
  .estonetech-ind-features-container {
    padding: 0 30px !important;
  }
}

@media (max-width: 768px) {
  section.estonetech-ind-features-wrapper,
  div.estonetech-ind-features-wrapper {
    padding-top: 45px;
    padding-bottom: 45px;
  }
  .estonetech-ind-features-title {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }
  .estonetech-ind-features-container {
    padding: 0 20px !important;
  }
  .estonetech-ind-features-header {
    margin-bottom: 20px !important;
  }
  .estonetech-ind-features-card {
    height: auto;
    min-height: 195px;
  }
}

@media (max-width: 480px) {
  section.estonetech-ind-features-wrapper,
  div.estonetech-ind-features-wrapper {
    padding-top: 35px;
    padding-bottom: 35px;
  }
  .estonetech-ind-features-title {
    font-size: 20px !important;
    line-height: 1.25 !important;
  }
  .estonetech-ind-features-container {
    padding: 0 16px !important;
  }
  .estonetech-ind-features-card {
    height: auto;
    min-height: 185px;
    padding: 16px 12px;
  }
  .estonetech-ind-features-card-title {
    font-size: 13px !important;
  }
}


