/* ================= Mobile ================= */
.insiderone-generic-description-grid p {
  color: #261A28;
  font-family: Figtree;
  font-size: 5vw;
  font-style: normal;
  font-weight: 400;
  line-height: 7.75vw;
  margin-bottom: 3vw;
}

.ebook-flex-wrapper .ebook-image img {
  box-shadow: 0 0 6.25vw #9d9d9d;
}

.ebook-container {
  background: #EFEBE4;
  padding: 17.5vw 0;
}
.ebook-container .ebook-btn {
  border-radius: 20vw;
  background: linear-gradient(0deg, #E92E2F 0%, #FF6126 100%);
  box-shadow: 0 -1px 1px 1px var(--Shadow-Dark-M, rgba(38, 26, 40, 0.1)) inset, 0 1px 1px 1px var(--Shadow-Light-XL, rgba(239, 235, 228, 0.2)) inset, 0 6px 6px -3px var(--Shadow-Dark-S, rgba(38, 26, 40, 0.05)), 0 3px 3px -1.5px var(--Shadow-Dark-S, rgba(38, 26, 40, 0.05)), 0 1px 1px -0.5px var(--Shadow-Dark-S, rgba(38, 26, 40, 0.05)), 0 0 0 1px var(--Shadow-Light-M, rgba(239, 235, 228, 0.1));
  padding: 3vw;
  color: #EFEBE4;
  font-family: Figtree;
  font-size: 4vw;
  font-style: normal;
  font-weight: 500;
  line-height: 5vw;
  letter-spacing: 0.05vw;
  display: flex;
  align-items: center;
  gap: 2vw;
  margin: 0;
  justify-content: center;
  width: fit-content;
  transition: all 0.3s ease-in-out;
}
.ebook-container .ebook-btn:after {
  content: "";
  width: 4vw;
  height: 4vw;
  background: url("../img/button-icon.svg");
  display: inline-flex;
  background-repeat: no-repeat;
  background-size: 100%;
}
.ebook-container .ebook-desc-outher {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 5vw;
}
.ebook-container .ebook-desc-outher:before {
  content: "";
  background: #F4482B;
  width: 2.25vw;
  height: 2.25vw;
  background-size: 100%;
  border-radius: 100px;
  flex: 0 0 2.25vw;
  margin-top: 1.75vw;
}
.ebook-container .ebook-desc {
  color: #000;
  text-align: center;
  font-family: Figtree;
  font-size: 4.5vw;
  font-weight: 400;
  line-height: 6.25vw;
  text-align: center;
  margin-bottom: 0;
  position: relative;
}
.ebook-container .ebook-desc-flex {
  color: #000;
  text-align: center;
  font-family: Figtree;
  font-size: 4.5vw;
  font-weight: 400;
  line-height: 6.25vw;
  text-align: left;
  margin-bottom: 0;
  position: relative;
}

/* Layout 1 - Mobile */
.ebook-grid_top .ebook-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10vw;
  align-items: center;
  text-align: center;
}
.ebook-grid_top h2 {
  color: #051235;
  font-family: Figtree;
  font-size: 5.5vw;
  font-weight: 700;
  line-height: 7.5vw;
}

/* Layout 2 - Mobile */
.ebook-image_side .ebook-flex-wrapper {
  display: flex;
  flex-direction: column;
  gap: 7.5vw;
  align-items: center;
  text-align: center;
}
.ebook-image_side .ebook-image img {
  max-width: 45vw;
  height: auto;
  border-radius: 1vw;
}
.ebook-image_side .ebook-details {
  display: flex;
  flex-direction: column;
  gap: 5vw;
}
.ebook-image_side .ebook-details .ebook-details-inner {
  display: flex;
  flex-direction: column;
  gap: 5vw;
}
.ebook-image_side .ebook-details .ebook-button-area {
  display: flex;
  justify-content: center;
}

/* ================= Desktop ================= */
@media screen and (min-width: 769px) {
  .insiderone-generic-description-grid p {
    color: #261A28;
    font-family: Figtree;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 165%;
    margin-bottom: 50px;
  }
  .ebook-container {
    padding: 80px 0;
  }
  .ebook-container .ebook-desc-outher {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
  }
  .ebook-container .ebook-desc-outher:before {
    content: "";
    background: #F4482B;
    width: 9px;
    height: 9px;
    background-size: 100%;
    border-radius: 100px;
    flex: 0 0 9px;
    margin-top: 0;
  }
  .ebook-container .ebook-btn {
    border-radius: 80px;
    background: linear-gradient(0deg, #E92E2F 0%, #FF6126 100%);
    box-shadow: 0 -1px 1px 1px var(--Shadow-Dark-M, rgba(38, 26, 40, 0.1)) inset, 0 1px 1px 1px var(--Shadow-Light-XL, rgba(239, 235, 228, 0.2)) inset, 0 6px 6px -3px var(--Shadow-Dark-S, rgba(38, 26, 40, 0.05)), 0 3px 3px -1.5px var(--Shadow-Dark-S, rgba(38, 26, 40, 0.05)), 0 1px 1px -0.5px var(--Shadow-Dark-S, rgba(38, 26, 40, 0.05)), 0 0 0 1px var(--Shadow-Light-M, rgba(239, 235, 228, 0.1));
    padding: 12px;
    color: #EFEBE4;
    font-family: Figtree;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    justify-content: center;
    width: fit-content;
    transition: all 0.3s ease-in-out;
  }
  .ebook-container .ebook-btn:hover {
    border-radius: 12px;
    transition: all 0.3s ease-in-out;
  }
  .ebook-container .ebook-btn:after {
    content: "";
    width: 16px;
    height: 16px;
    background: url("../img/button-icon.svg");
    display: inline-flex;
  }
  .ebook-container .ebook-desc {
    color: #474048;
    text-align: left;
    font-size: 20px;
    line-height: 35px;
  }
  .ebook-container .ebook-desc-flex {
    color: #474048;
    text-align: left;
    font-size: 20px;
    line-height: 35px;
  }
  .ebook-grid_top .ebook-content-wrapper {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 0;
  }
  .ebook-grid_top .ebook-text {
    flex: 0 0 60%;
  }
  .ebook-grid_top h2 {
    margin-bottom: 19px;
    color: #261A28;
    font-family: "Red Hat Display";
    font-size: 35px;
    font-weight: 500;
    line-height: 45px;
    text-align: left;
  }
  .ebook-image_side .ebook-flex-wrapper {
    flex-direction: row;
    align-items: stretch;
    gap: 130px;
    text-align: left;
  }
  .ebook-image_side .ebook-flex-wrapper .ebook-image {
    display: flex;
    align-items: center;
  }
  .ebook-image_side .ebook-image img {
    max-width: 276px;
    object-fit: cover;
    overflow: hidden;
    height: auto;
    box-shadow: 0 0 25px #9d9d9d;
  }
  .ebook-image_side .ebook-details {
    justify-content: space-between;
    gap: 0;
  }
  .ebook-image_side .ebook-details .ebook-details-inner {
    margin-bottom: 20px;
    gap: 10px;
  }
  .ebook-image_side .ebook-details .ebook-button-area {
    display: flex;
    justify-content: flex-start;
  }
  .ebook-image_side .ebook-details .ebook-desc {
    position: relative;
    color: #261A28;
    font-family: Figtree;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 220.5%;
    margin: 0;
  }
  .ebook-image_side .ebook-details .ebook-desc strong {
    color: #261A28;
    font-family: Figtree;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 220.5%;
  }
}