/**
 * DivaLounge Spa – Franchise page process section
 * Transforms the 5-card layout into an arrow-flow process diagram.
 */

body.page-franchise .elementor-element-3673129 {
  background: #ffffff !important;
  padding-top: 48px !important;
  padding-bottom: 56px !important;
}

body.page-franchise .elementor-element-3673129 .elementor-element-0f16489 .elementor-heading-title {
  text-align: center;
  color: #6b6b6b;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 40px;
}

body.page-franchise .elementor-element-72c4d2a.e-con {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0 !important;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

body.page-franchise .elementor-element-72c4d2a > .e-con.e-child {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  position: relative;
  z-index: 1;
}

body.page-franchise .elementor-element-72c4d2a > .e-con.e-child:not(:first-child) {
  margin-left: -14px !important;
  z-index: auto;
}

body.page-franchise .elementor-element-72c4d2a .elementor-widget-icon {
  width: 100%;
  margin-bottom: 14px;
}

body.page-franchise .elementor-element-72c4d2a .elementor-icon-wrapper {
  display: flex;
  justify-content: center;
}

body.page-franchise .elementor-element-72c4d2a .elementor-view-framed .elementor-icon {
  border: none !important;
  background: transparent !important;
  color: #222727 !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
}

body.page-franchise .elementor-element-72c4d2a .elementor-icon svg {
  width: 46px;
  height: 46px;
  fill: #222727;
}

body.page-franchise .elementor-element-72c4d2a .elementor-widget-cmsmasters-title {
  width: 100%;
  margin: 0;
}

body.page-franchise .elementor-element-72c4d2a .cmsmasters-widget-title__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  margin: 0;
  padding: 14px 30px 14px 38px;
  background: #84bd00;
  color: #222727 !important;
  font-size: clamp(0.72rem, 1.1vw, 0.92rem) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  text-align: center;
  text-transform: none;
  letter-spacing: 0.01em;
  clip-path: polygon(
    0 0,
    calc(100% - 22px) 0,
    100% 50%,
    calc(100% - 22px) 100%,
    0 100%,
    22px 50%
  );
}

body.page-franchise .elementor-element-72c4d2a > .e-con.e-child:first-child .cmsmasters-widget-title__heading {
  clip-path: polygon(
    0 0,
    calc(100% - 22px) 0,
    100% 50%,
    calc(100% - 22px) 100%,
    0 100%
  );
  padding-left: 18px;
}

body.page-franchise .elementor-element-72c4d2a > .e-con.e-child:last-child .cmsmasters-widget-title__heading {
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    0 100%,
    22px 50%
  );
  padding-right: 18px;
}

body.page-franchise .elementor-element-72c4d2a .elementor-widget-text-editor {
  width: 100%;
  margin-top: 18px;
  padding: 0 10px;
  text-align: center;
}

body.page-franchise .elementor-element-72c4d2a .elementor-widget-text-editor p {
  margin: 0;
  color: #333;
  font-size: 0.82rem;
  line-height: 1.55;
}

@media (max-width: 1024px) {
  body.page-franchise .elementor-element-72c4d2a.e-con {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px !important;
  }

  body.page-franchise .elementor-element-72c4d2a > .e-con.e-child:not(:first-child) {
    margin-left: 0 !important;
  }

  body.page-franchise .elementor-element-72c4d2a .cmsmasters-widget-title__heading,
  body.page-franchise .elementor-element-72c4d2a > .e-con.e-child:first-child .cmsmasters-widget-title__heading,
  body.page-franchise .elementor-element-72c4d2a > .e-con.e-child:last-child .cmsmasters-widget-title__heading {
    clip-path: none;
    border-radius: 8px;
    min-height: 60px;
    padding: 14px 16px;
  }
}

@media (max-width: 640px) {
  body.page-franchise .elementor-element-72c4d2a.e-con {
    grid-template-columns: 1fr;
    gap: 32px !important;
  }

  body.page-franchise .elementor-element-72c4d2a .elementor-icon svg {
    width: 40px;
    height: 40px;
  }
}
