/*
 * CONV-01E / A-05 — etapas de atendimento.
 * Fonte homologada: dist/styles.css + assistance-tablet.css +
 * assistance-mobile.css @ a90cb888. Sem alteração de Gutenberg persistido.
 */
body.wp-theme-technolife .tl-a-main .tl-a-process-grid.wp-block-group {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  margin: 58px 0 0;
  padding: 0;
  counter-reset: tl-a-step;
}
body.wp-theme-technolife .tl-a-main .tl-a-process-grid::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 25px;
  right: 10%;
  left: 10%;
  height: 1px;
  background: rgba(58, 67, 134, .2);
}
body.wp-theme-technolife .tl-a-main .tl-a-process-grid > .tl-a-step.wp-block-group {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 196px;
  margin: 0;
  padding: 0 24px;
  text-align: center;
  counter-increment: tl-a-step;
}
body.wp-theme-technolife .tl-a-main .tl-a-process-grid > .tl-a-step.wp-block-group::before {
  content: counter(tl-a-step, decimal-leading-zero);
  position: relative;
  z-index: 1;
  flex: 0 0 50px;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin: 0 0 26px;
  border: 1px solid rgba(58,67,134,.28);
  border-radius: 50%;
  color: #3a4386;
  background: #fff;
  font-size: 14px;
  font-weight: 780;
  line-height: 1;
}
body.wp-theme-technolife .tl-a-main .tl-a-process-grid > .tl-a-step.wp-block-group > h3.tl-a-step-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}
body.wp-theme-technolife .tl-a-main .tl-a-process-grid > .tl-a-step.wp-block-group > p.tl-a-step-text {
  max-width: 220px;
  margin: 10px auto 0;
  font-size: 15px;
  line-height: 1.5;
}
@media (min-width: 768px) and (max-width: 959px) {
  body.wp-theme-technolife .tl-a-main .tl-a-process-grid.wp-block-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 28px;
    margin-top: 46px;
  }
  body.wp-theme-technolife .tl-a-main .tl-a-process-grid::before {
    display: none;
  }
  body.wp-theme-technolife .tl-a-main .tl-a-process-grid > .tl-a-step.wp-block-group {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    align-items: start;
    column-gap: 18px;
    row-gap: 0;
    min-height: 132px;
    padding: 24px;
    border: 1px solid rgba(58,67,134,.12);
    border-radius: 16px;
    text-align: left;
    background: #f8f9fc;
  }
  body.wp-theme-technolife .tl-a-main .tl-a-process-grid > .tl-a-step.wp-block-group:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 14px);
    justify-self: center;
  }
  body.wp-theme-technolife .tl-a-main .tl-a-process-grid > .tl-a-step.wp-block-group::before {
    grid-column: 1;
    grid-row: 1 / 3;
    margin: 0;
  }
  body.wp-theme-technolife .tl-a-main .tl-a-process-grid > .tl-a-step.wp-block-group > h3.tl-a-step-title {
    grid-column: 2;
    grid-row: 1;
    margin: 2px 0 0;
  }
  body.wp-theme-technolife .tl-a-main .tl-a-process-grid > .tl-a-step.wp-block-group > p.tl-a-step-text {
    grid-column: 2;
    grid-row: 2;
    max-width: none;
    margin: 8px 0 0;
  }
}
@media (min-width: 960px) and (max-width: 1179px) {
  body.wp-theme-technolife .tl-a-main .tl-a-process-grid.wp-block-group {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    margin-top: 46px;
  }
  body.wp-theme-technolife .tl-a-main .tl-a-process-grid > .tl-a-step.wp-block-group {
    min-height: 190px;
    padding: 0 13px;
  }
  body.wp-theme-technolife .tl-a-main .tl-a-process-grid > .tl-a-step.wp-block-group::before {
    margin-bottom: 24px;
  }
  body.wp-theme-technolife .tl-a-main .tl-a-process-grid > .tl-a-step.wp-block-group > h3.tl-a-step-title {
    font-size: 18px;
  }
  body.wp-theme-technolife .tl-a-main .tl-a-process-grid > .tl-a-step.wp-block-group > p.tl-a-step-text {
    margin: 9px auto 0;
    font-size: 14px;
  }
}
@media (max-width: 767px) {
  body.wp-theme-technolife .tl-a-main .tl-a-process-grid.wp-block-group {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: 34px;
  }
  body.wp-theme-technolife .tl-a-main .tl-a-process-grid::before {
    display: block;
    top: 27px;
    right: auto;
    bottom: 27px;
    left: 25px;
    width: 1px;
    height: auto;
  }
  body.wp-theme-technolife .tl-a-main .tl-a-process-grid > .tl-a-step.wp-block-group {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: start;
    column-gap: 18px;
    row-gap: 0;
    min-height: 0;
    padding: 0 0 28px;
    text-align: left;
  }
  body.wp-theme-technolife .tl-a-main .tl-a-process-grid > .tl-a-step.wp-block-group:last-child {
    padding-bottom: 0;
  }
  body.wp-theme-technolife .tl-a-main .tl-a-process-grid > .tl-a-step.wp-block-group::before {
    grid-column: 1;
    grid-row: 1 / 3;
    margin: 0;
  }
  body.wp-theme-technolife .tl-a-main .tl-a-process-grid > .tl-a-step.wp-block-group > h3.tl-a-step-title {
    grid-column: 2;
    grid-row: 1;
    margin: 3px 0 0;
    font-size: 20px;
  }
  body.wp-theme-technolife .tl-a-main .tl-a-process-grid > .tl-a-step.wp-block-group > p.tl-a-step-text {
    grid-column: 2;
    grid-row: 2;
    max-width: none;
    margin: 8px 0 0;
    font-size: 15px;
  }
}
