.section-rebrand .rebrand-wrapper {
  position: relative;
  overflow: hidden;
}

.section-rebrand .rebrand-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: linear-gradient(180deg, #ffffff 0%, #d5b6a166 35%);
  pointer-events: none;
}

.section-rebrand .rebrand-wrapper::before {
  content: "";
  background-image: url(../../img/sadaf-rebrand.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left bottom;
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: -64px;
  left: 0;
  z-index: -1;
  pointer-events: none;
}

.section-rebrand .rebrand-content {
  position: relative;
  z-index: 5;
  padding-bottom: 12rem;
}

.section-rebrand .rebrand-crop-svg {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  display: block;
  width: 100%;
  min-width: 100%;
  height: auto;
  pointer-events: none;
  z-index: 5;
}

@media screen and (max-width: 991.99px) {
  .section-rebrand .rebrand-wrapper::before {
    bottom: -28px;
  }

  .section-rebrand .rebrand-content {
    padding-bottom: 6rem;
  }

  .section-rebrand .section-title {
    text-align: center;
  }

  .section-rebrand .rebrand-desc-panel {
    position: relative;
    overflow: hidden;
    transition: max-height 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .section-rebrand .rebrand-desc-wrap.is-collapsed .rebrand-desc-panel {
    max-height: calc(9 * clamp(1.8rem, 7vw, 2rem));
  }

  /* .section-rebrand .rebrand-desc-wrap.has-toggle.is-collapsed .rebrand-desc-panel::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: calc(3.5 * clamp(1.8rem, 7vw, 2rem));
        background: linear-gradient(
            180deg,
            rgba(240, 229, 222, 0) 0%,
            rgba(236, 223, 214, 0.45) 45%,
            rgba(236, 223, 214, 0.92) 78%,
            #ECDFD6 100%
        );
        pointer-events: none;
        z-index: 1;
        opacity: 1;
        transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    } */

  .section-rebrand .rebrand-desc-wrap.is-expanded .rebrand-desc-panel::after {
    opacity: 0;
  }

  .section-rebrand .rebrand-show-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    color: var(--color1);
    font-family: var(--bold);
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: color 0.3s;
  }

  .section-rebrand .rebrand-show-more .icon-arrow-down {
    font-size: 7px;
  }

  .section-rebrand .rebrand-show-more:hover,
  .section-rebrand .rebrand-show-more:focus-visible {
    color: var(--color2);
    outline: none;
  }

  .section-rebrand .rebrand-desc-wrap.is-expanded .rebrand-show-more {
    display: none;
  }
}

@media screen and (min-width: 992px) and (max-width: 1200px) {
  .section-rebrand .rebrand-content {
    padding-bottom: 3.5rem;
  }
}
