.expending-card {
 background-color: var(--wp--preset--color--dark-blue, #1D4479);
 color: var(--wp--preset--color--white, #ffffff);
 padding: 1.5rem;
 border-radius: 30px;
 position: relative;
 max-width: 500px;
 overflow: hidden;

 @media (max-width: 767px) {
    padding: 1.25rem 1.25rem calc(1.25rem + 58px) 1.25rem;
 }

 & .subline {
  text-transform: uppercase;
  letter-spacing: 4%;
  font-weight: 400;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
 }

 & .title {
  font-weight: 800;
  font-size: 1.5rem;
  margin: 0;
 }

 & button {
  border-radius: 100%;
  border: 2px solid var(--wp--preset--color--white, #ffffff);
  height: 58px;
  width: 58px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  position: absolute;
  top: 100px;
  right: 10px;
  transition: 0.2s;
  background-color: transparent;
 }

 @media (max-width: 767px) {
    & button {
        bottom: 10px;
        top: unset;
    }
 }

 & button:hover {
  background-color: unset;
  transform: scale(1.05);
  color: var(--wp--preset--color--mid-blue, #B7D2F7);
  border-color: var(--wp--preset--color--mid-blue, #B7D2F7);
 }

 & .text-container {
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  transition: 0.3s;

  & .btn {
   display: flex;
   align-items: center;
   gap: 13px;
   background-color:  var(--wp--preset--color--mid-blue, #B7D2F7);
   padding: 0.8rem 1.25rem;
   width: max-content;
   border-radius: 40px;
   color:  var(--wp--preset--color--dark-blue, #1D4479);
   font-size: 1.125rem;
   margin-top: 1.5rem;
   text-decoration: none;
  }
 }

 & .text-container.expanded {
  opacity: 1;
  visibility: visible;
  max-height: 100vh;
  padding-bottom: 1rem;
 }

 & .toggle-expand.active svg path {
  transition: 0.2s;
  transform-origin: center;
  transform: rotate(0deg);
 }

 & .toggle-expand.active svg path:first-child {
  transform: rotate(90deg);
 }
}

@media (max-width: 768px) {
 .expending-card {
  & .title {
   max-width: 85%;
  }
 }
}
