:root {
  --question-ttma-green: #66b078;
  --question-ttma-green-light: #f0f6ef;
  --question-ttma-green-dark: #427f51;
  --question-ttma-grey: #494c4a;
  --question-ttma-white: #ffffff;
  --question-ttma-hover: #20c93c;
}

.question-ttma {
  font-family: "Gilroy", sans-serif;
  padding: 0;
  margin: 0;
}

.question-ttma__header-container {
  padding: 0 17px;
}

.question-ttma__title {
  margin-bottom: 1.5rem;
  text-align: start;
}

.question-ttma__title h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  color: var(--question-ttma-green-dark);
}

.question-ttma__tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin-bottom: 1.5rem;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.question-ttma__tabs::-webkit-scrollbar {
  height: 0;
  background: transparent;
}
.question-ttma__tabs::-webkit-scrollbar-track {
  background: transparent;
}
.question-ttma__tabs::-webkit-scrollbar-thumb {
  background: transparent;
}

.question-ttma__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 12px;
  flex-shrink: 0;
  font-size: 16px;
  min-height: 39px;
  min-width: 137px;
  border-radius: 12px;
  border: 1px solid var(--question-ttma-green);
  background: transparent;
  color: var(--question-ttma-green-dark);
}

.question-ttma__tab.question-ttma--is-active {
  background: var(--question-ttma-green-light);
}

.question-ttma__label {
  display: inline-block;
}

.question-ttma__panel {
  display: none;
}
.question-ttma__panel.question-ttma--is-active {
  display: block;
}

.question-ttma__layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 0 21px;
}

.question-ttma__questions-col {
  position: relative;
}

.question-ttma__mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 5px 12px;
  background: #f2f7f3 !important;
  border-radius: 12px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  min-height: 63px;
}

.question-ttma__mobile-toggle > .question-ttma__question-icon {
  background-color: var(--question-ttma-white);
}

.question-ttma__mobile-label {
  display: inline-flex;
  align-items: center;
  text-align: left;
  gap: 0.5rem;
  font-size: 16px;
  line-height: 23px;
  font-weight: 400;
  color: var(--question-ttma-grey);
  padding-right: 10px;
}
.question-ttma__mobile-arrow {
  width: 24px;
  height: 24px;
  display: inline-block;
  flex: 0 0 24px;
  transition: transform 0.24s ease;
  transform-origin: center;
  object-fit: contain;
}
.question-ttma__mobile-toggle.question-ttma--is-open
  .question-ttma__mobile-arrow {
  transform: rotate(180deg);
}

.question-ttma__mobile-toggle.question-ttma--is-open
  .question-ttma__question-icon {
  background-color: var(--question-ttma-white);
}

.question-ttma__questions-wrapper {
  overflow: hidden;
  max-height: 0;
  margin-top: 8px;
  transition: max-height 0.26s ease;
}
.question-ttma__questions-wrapper.question-ttma--is-open {
  max-height: 1200px;
  background-color: var(--question-ttma-white);
  box-shadow: #427f5140 0px 4px 20px 0px;
  border-radius: 10px;
}

.question-ttma__questions {
  display: flex;
  flex-direction: column;
}

.question-ttma__question {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 63px;
  gap: 11px;
  padding: 5px 12px;
  border-radius: 12px;
  background: var(--question-ttma-white);
  font-weight: 400;
  font-size: 16px;
  line-height: 23px;
  color: var(--question-ttma-grey);
  text-align: left;
  box-sizing: border-box;
}

.question-ttma__question-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 6px;
  background: var(--question-ttma-green-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  line-height: 0;
}
.question-ttma__question-icon img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.question-ttma__question-label {
  flex: 1 1 auto;
}

.question-ttma__question.question-ttma--is-active {
  background: #e1efe6;
}
.question-ttma__question.question-ttma--is-hidden-in-list {
  display: none;
}

.question-ttma__answers {
  display: flex;
  flex-direction: column;
  box-shadow: 0px 4px 20px #427f5140;
  border-radius: 20px;
}

.question-ttma__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #fff;
  border-radius: 0.75rem;
}

.question-ttma__answer > h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: var(--question-ttma-green-dark);
  line-height: 31px;
}
.question-ttma__steps {
  color: var(--question-ttma-grey);
}

.question-ttma__steps ::marker {
  background-color: #427f51;
}

.question-ttma__answer.question-ttma--is-active {
  max-height: 500px;
  padding: 1rem;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.question-ttma__cta {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.question-ttma__cta-card {
  min-width: 150px;
  height: 142px;
  border-radius: 11px;
  padding: 10px;
  color: #fff;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.question-ttma__cta-card--light {
  background-color: #7ab88a;
}

.question-ttma__cta-card--light.question-ttma__btn-square {
  background-color: #4e7a57;
}
.question-ttma__cta-card--dark {
  background-color: #2c5558;
}

.question-ttma__cta-card--dark.question-ttma__btn-square {
  background-color: #4e7a57;
}

.question-ttma__card-body > p {
  font-size: 12px;
  line-height: 16px;
  margin: 0;
  font-weight: 200;
}

.question-ttma__card-body strong {
  font-weight: 600;
}

.question-ttma__card-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 0.5rem;
}

.question-ttma__card-title {
  font-size: 21px;
  line-height: 1;
  font-weight: 600;
  margin: 0;
  color: #fff;
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 46px;
  overflow: hidden;
}

.question-ttma__btn-square {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  box-sizing: border-box;
  background: var(--question-ttma-green-dark);
  transition: transform 0.12s ease;

  position: absolute;
  right: 0;
  top: 90%;
  transform: translateY(-50%);
  z-index: 2;
}

.question-ttma__btn-square:hover {
  cursor: pointer;
}

.question-ttma__btn-square svg {
  width: 14px;
  height: 14px;
  display: block;
}

.question-ttma__panel-header {
  display: none;
  margin-bottom: 8px;
}
.question-ttma__panel-title {
  margin: 0 0 6px 0;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--question-ttma-green-dark);
  display: none;
}
.question-ttma__panel-desc {
  margin: 0 0 12px 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--question-ttma-grey);
}

.question-ttma
  .question-ttma__question.question-ttma--is-active
  > .question-ttma__question-icon,
.question-ttma__mobile-label .question-ttma__question-icon {
  background: var(--question-ttma-white) !important;
}

.question-ttma__answer ol {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
}

.question-ttma__answer ol li {
  counter-increment: step;
  position: relative;
  padding-left: 54px;
  margin-bottom: 0.75rem;
  min-height: 38px;
  display: flex;
  align-items: center;
  line-height: 17px;
  font-size: 14px;
}

.question-ttma__answer ol li::before {
  content: counter(step, decimal);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--question-ttma-green-light);
  color: var(--question-ttma-green-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 25px;
}

.question-ttma__answer ol li.zero::before,
.question-ttma__answer ol.zero-leading li::before {
  content: counter(step, decimal-leading-zero);
}

@media (min-width: 768px) {
  .question-ttma__header-container {
    padding: 0 19px;
  }

  .question-ttma__title h2 {
    font-size: 32px;
  }

  .question-ttma__layout {
    padding: 0 69px;
  }

  .question-ttma__tabs {
    padding: 0;
    margin: 0 69px 1.5rem 69px;
    justify-content: space-between;
  }

  .question-ttma__tab {
    width: 191px;
    height: 53px;
    font-size: 20px;
  }

  .question-ttma__mobile-label {
    font-size: 20px;
  }

  .question-ttma__question {
    font-size: 20px;
  }

  .question-ttma__answer ol li {
    font-size: 16px;
    line-height: 20px;
  }

  .question-ttma__card-body > p {
    font-size: 16px;
    line-height: 20px;
  }

  .question-ttma__card-title {
    font-size: 36px;
    line-height: 37px;
  }

  .question-ttma__cta-card {
    height: 179px;
    padding: 19px;
  }

  .question-ttma__cta {
    gap: 38px;
  }

  .question-ttma__btn-square {
    width: 42px;
    height: 42px;
  }

  .question-ttma__btn-square svg {
    width: 18px;
    height: 18px;
  }
}

@media (min-width: 1024px) {
  .question-ttma__header-container {
    padding: 0 30px;
  }

  .question-ttma__title h2 {
    font-size: 36px;
  }

  .question-ttma__tabs {
    gap: 40px;
    margin: 0 69px 1.5rem 69px;
    justify-content: center;
    margin-bottom: 39px;
  }

  .question-ttma__panel-header {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
  }

  .question-ttma__panel-title {
    display: block;
    font-size: 38px;
    margin-bottom: 20px;
    font-weight: 600;
    padding: 0 56px;
  }

  .question-ttma__panel-desc {
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 200;
    line-height: 20px;
  }

  .question-ttma__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "questions answers"
      "cta       cta";
    gap: 2rem;
    padding: 0 56px !important;
  }
  .question-ttma__question {
    height: 77px;
  }

  .question-ttma__questions {
    gap: 23px;
  }

  .question-ttma__question-label {
    font-size: 16px;
  }

  .question-ttma__answer > h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: var(--question-ttma-green-dark);
    line-height: 31px;
  }

  .question-ttma__answers {
    display: grid;
    justify-content: center;
    align-items: center;
    height: 519px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .question-ttma__cta-card {
    min-height: 245px;
    padding: 26px;
  }

  .question-ttma__card-body > p {
    font-size: 20px;
    line-height: 28px;
  }

  .question-ttma__card-title {
    font-size: 50px;
    line-height: 50px;
    margin-right: 10px;
  }

  .question-ttma__btn-square {
    width: 58px;
    height: 58px;
    top: 90%;
  }

  .question-ttma__btn-square svg {
    width: 25px;
    height: 25px;
  }

  .question-ttma__questions-col {
    grid-area: questions;
  }

  .question-ttma__answers {
    grid-area: answers;
  }

  .question-ttma__cta {
    grid-area: cta;
    gap: 53px;
  }

  .question-ttma__btn-square:hover {
    background-color: var(--question-ttma-hover);
  }

  .question-ttma__question {
    background: #fff;
    box-shadow: 0px 4px 20px #427f5140;
    border-radius: 12px;
    align-items: center;
    display: flex;
    padding: 0;
  }

  .question-ttma__answer ol li::before {
    width: 50px;
    height: 50px;
    font-size: 32px;
  }

  .question-ttma__answer ol li {
    min-height: 50px;
    padding-left: 60px;
  }

  .question-ttma__question.question-ttma--is-active {
    background: var(--question-ttma-green-light);
    box-shadow: 0 6px 26px rgba(66, 127, 81, 0.14);
  }

  .question-ttma__question .question-ttma__question-icon {
    width: 85px !important;
    height: 100% !important;
    min-width: 38px !important;
    flex: 85px 0 0 !important;
    max-width: 85px !important;
    border-radius: 12px 0 0 12px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  .question-ttma__question .question-ttma__question-icon img {
    width: 43px;
    height: 43px;
    display: block;
    object-fit: contain;
  }

  .question-ttma__question.question-ttma--is-active
    > .question-ttma__question-icon {
    background: var(--question-ttma-white) !important;
  }

  .question-ttma__question:not(.question-ttma--is-active)
    > .question-ttma__question-icon {
    background: var(--question-ttma-green-light);
  }

  .question-ttma__cta {
    width: 100%;
    justify-self: stretch;
  }

  .question-ttma__questions-wrapper {
    max-height: none;
    overflow: visible;
  }
  .question-ttma__mobile-toggle {
    display: none;
  }

  .question-ttma__panel {
    display: none;
  }
  .question-ttma__panel.question-ttma--is-active {
    display: block;
  }

  .question-ttma__answers {
    display: block;
  }
  .question-ttma__answer {
    max-height: none;
    padding: 0;
    display: none;
  }
  .question-ttma__answer.question-ttma--is-active {
    display: block;
    padding: 1.5rem;
  }

  .question-ttma__tabs {
    padding: 0;
  }

  .question-ttma__question.question-ttma--is-hidden-in-list {
    display: flex !important;
  }

  .question-ttma__questions {
    display: flex !important;
    flex-direction: column !important;
  }

  .question-ttma__answer.question-ttma--is-active {
    display: block !important;
    max-height: none !important;
    padding: 1.5rem !important;
    overflow: visible !important;
  }

  .question-ttma__questions-wrapper {
    max-height: none !important;
    overflow: visible !important;
  }
}

@media (min-width: 1440px) {
  .question-ttma__layout {
    display: grid;
    grid-template-columns: minmax(498px, 40%) minmax(477px, 40%) minmax(
        259px,
        20%
      );
    grid-template-areas: "questions answers cta";
    gap: 2rem;
    padding: 0 66px !important;
  }

  .question-ttma__questions-col {
    grid-area: questions;
  }

  .question-ttma__answers {
    grid-area: answers;
    justify-self: stretch;
  }

  .question-ttma__cta {
    grid-area: cta;
    justify-self: stretch;
    grid-template-columns: 1fr;
    gap: 29px;
  }

  .question-ttma__header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 34px 0;
    padding: 0 66px;
  }

  .question-ttma__tabs {
    margin: 0;
    gap: 8px;
  }

  .question-ttma__tab {
    width: 171px;
    height: 48px;
    font-size: 20px;
    border-radius: 16px;
  }

  .question-ttma__title {
    margin: 0;
  }

  .question-ttma__title h2 {
    margin: 0;
    font-size: 40px;
  }

  .question-ttma__panel-title {
    font-size: 44px;
    line-height: 57px;
    padding: 0 66px;
  }

  .question-ttma__question-label {
    font-size: 20px;
    line-height: 31px;
  }

  .question-ttma__cta-card {
    padding: 26px 14px 14px 26px;
    min-height: 245px;
    min-width: auto;
  }

  .question-ttma__card-body > p {
    font-size: 16px;
    line-height: 20px;
  }

  .question-ttma__card-title {
    font-size: 40px;
    line-height: 41px;
  }

  .question-ttma__btn-square {
    top: 100%;
    border-radius: 12px;
  }
}
