.informative-table-section {
  display: flex;
  width: 100%;
  padding-top: 100px;
  padding-bottom: 40px;
  padding-inline: 26px;
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #91bdfc;
  position: relative;
  margin-top: -70px;

  @media screen and (min-width: 768px) {
    padding-top: 140px;
    padding-bottom: 80px;
    margin-top: -80px;
  }

  .informative-table-bg-image-right {
    position: absolute;
    bottom: 0;
    right: 0;
    width: auto;
    height: auto;
    z-index: 0;
    display: none;

    @media screen and (min-width: 768px) {
      display: block;
    }
  }

  .informative-table-bg-image-left {
    position: absolute;
    top: 140px;
    left: 0;
    width: auto;
    height: auto;
    z-index: 0;
    display: none;

    @media screen and (min-width: 768px) {
      display: block;
    }
  }

  .informative-table-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: calc(24px + 20px);
    position: relative;
    z-index: 1;

    @media screen and (min-width: 768px) {
      margin-bottom: calc(40px + 20px);
    }

    .informative-table-heading-title {
      margin: 0;
      text-align: center;
      color: #29314E;
      font-family: "Highgate", serif;
      font-size: 27px;
      font-style: normal;
      font-weight: 700;
      line-height: 107%;

      @media screen and (min-width: 768px) {
        font-size: 48px;
      }
    }
    .informative-table-heading-description {
      :is(p) {
        margin: 0;
        text-align: center;
        color: #29314E;
        text-align: center;
        font-family: "Highgate", serif;
        font-size: 20px;
        font-style: normal;
        font-weight: 500;
        line-height: 107%;

        @media screen and (min-width: 768px) {
          font-size: 24px;
        }
      }
    }
  }

  .informative-table-content {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    display: block;
    border: 1.11px solid #472b1a;
    box-shadow: none !important;
    border-radius: 8.88px;
    overflow: unset;
    position: relative;
    z-index: 1;

    :is(thead) {
      .informative-table-header {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 222px));

        &:first-child {
          .informative-table-header-cell {
            &:first-child {
              border-top-left-radius: 8.88px;
            }
            &:last-child {
              border-top-right-radius: 8.88px;
            }

            &.informative-table-header-cell--2 {
              position: relative;
              padding-top: calc(6px + 20px);
              margin-top: -20px;
              border-top-left-radius: 8.88px;
              border-top-right-radius: 8.88px;
              padding-bottom: 32px;

              @media screen and (min-width: 768px) {
                padding-top: calc(12px + 20px);
              }

              &::before {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                height: 20px;
                background-color: #ffe400;
                border-top-left-radius: 8.88px;
                border-top-right-radius: 8.88px;
              }
            }
          }
        }

        .informative-table-header-cell {
          padding: 6px;
          display: flex;
          align-items: center;
          justify-content: center;
          font-family: "Highgate", serif;
          font-weight: 700;
          font-style: normal;
          font-size: 12px;
          line-height: normal;
          letter-spacing: normal;
          text-align: center;
          text-transform: uppercase;
          min-width: unset;
          border-block: 1.11px solid #472b1a;

          @media screen and (min-width: 768px) {
            padding: 12px;
            font-size: 18px;
          }

          :is(p) {
            font-family: "Highgate", serif;
            font-weight: 700;
            font-style: normal;
            font-size: 12px;
            line-height: normal;
            letter-spacing: normal;
            text-align: center;
            text-transform: uppercase;

            @media screen and (min-width: 768px) {
              font-size: 18px;
            }
          }

          &:not(:first-of-type, :last-of-type) {
            border-inline: 1.5px solid #472b1a;
          }

          &:first-of-type {
            border-right: none;
            border-left: 1.11px solid #472b1a;
          }
          &:last-of-type {
            border-left: none;
            border-right: 1.11px solid #472b1a;
          }

          &.informative-table-header-cell--1 {
            background-color: #fff;
            :is(p) {
              color: #472b1a;
            }
          }
          &.informative-table-header-cell--2 {
            background-color: #ffe400;
            :is(p) {
              color: #472b1a;
            }
          }
          &.informative-table-header-cell--3 {
            background-color: #fff;
            :is(p) {
              color: #6b6b6b;
            }
          }

          &:has(.informative-table-header-image) {
            padding-top: 0;
          }

          .informative-table-header-image {
            display: flex;
            max-width: 92px;
            width: 100%;
            height: auto;
            object-fit: contain;

            @media screen and (min-width: 768px) {
              max-width: 134px;
            }
          }
        }
      }
    }
    :is(tbody) {
      .informative-table-row {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 222px));
        border: none;

        &:first-child {
          .informative-table-cell {
            /* border-top: 2.22px solid; */
          }
        }
        &:last-child {
          .informative-table-cell {
            /* border-bottom: none; */

            &:first-child {
              border-bottom-left-radius: 8.88px;
            }
            &:last-child {
              border-bottom-right-radius: 8.88px;
            }

            &.informative-table-cell--2 {
              position: relative;
              padding-bottom: calc(6px + 20px);
              margin-bottom: -20px;
              border-bottom-left-radius: 8.88px;
              border-bottom-right-radius: 8.88px;

              @media screen and (min-width: 768px) {
                padding-bottom: calc(12px + 20px);
              }

              &::after {
                content: "";
                position: absolute;
                bottom: 0;
                left: 0;
                right: 0;
                height: 20px;
                background-color: #ffe400;
                border-bottom-left-radius: 8.88px;
                border-bottom-right-radius: 8.88px;
              }
            }
          }
        }

        .informative-table-cell {
          padding: 6px;
          display: flex;
          align-items: center;
          justify-content: center;
          font-family: "Highgate", serif;
          font-weight: 800;
          font-style: normal;
          font-size: 14px;
          line-height: normal;
          letter-spacing: normal;
          text-align: center;
          text-transform: uppercase;
          min-width: unset;
          border-block: 1.11px solid #472b1a;

          @media screen and (min-width: 768px) {
            padding: 12px;
            font-size: 18px;
          }

          &:not(:first-of-type, :last-of-type) {
            border-inline: 1.5px solid #472b1a;
          }

          &:first-of-type {
            border-right: none;
            border-left: 1.11px solid #472b1a;
          }
          &:last-of-type {
            border-left: none;
            border-right: 1.11px solid #472b1a;
          }

          :is(p) {
            font-family: "Highgate", serif;
            font-weight: 800;
            font-style: normal;
            font-size: 14px;
            line-height: normal;
            letter-spacing: normal;
            text-align: center;
            text-transform: uppercase;

            @media screen and (min-width: 768px) {
              font-size: 18px;
            }

            :is(strong) {
              font-weight: 700;
              font-size: 12px;
            }
          }

          &.informative-table-cell--1 {
            background-color: #fff;
            :is(p) {
              color: #472b1a;
            }
          }
          &.informative-table-cell--2 {
            background-color: #ffe400;
            border-color: #472b1a;
            :is(p) {
              color: #472b1a;
            }
          }
          &.informative-table-cell--3 {
            background-color: #fff;
            :is(p) {
              color: #6b6b6b;
              font-size: 12px;

              @media screen and (min-width: 768px) {
                font-size: 15px;
              }
            }
          }
        }
      }
    }
  }

  .informative-table-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #ffe400;
    border-radius: 4px;
    border: none;
    padding: 12px 40px;
    margin-top: calc(24px + 20px);
    font-weight: 600;
    color: #472b1a;
    font-family: "Highgate", serif;
    font-size: 20.045px;
    font-style: normal;
    font-weight: 700;
    line-height: 95%;
    text-transform: uppercase;
    width: fit-content;
    position: relative;
    z-index: 1;

    @media screen and (min-width: 768px) {
      padding: 17px 45px;
      margin-top: calc(40px + 20px);
    }

    .informative-table-cta-icon {
      max-width: 16px;
      min-width: 16px;
      height: auto;
      object-fit: contain;
    }
  }
}
