* {
  margin: 0;
  padding: 0;
  border: 0;
}

h4,
p {
  margin: 0 !important;
}

a {
  text-decoration: none !important;
}

body {
  height: fit-content;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* number of lines to show */
  /* line-clamp: 2; */
  -webkit-box-orient: vertical;
}

/* Small devices */


.navigation-section {
  display: flex;
  flex-direction: column;
  padding: 24px 16px;
  gap: 24px;
}

.d-md-flex {
  gap: 16px;
}

.offer-container {
  /* flex-direction: column;
  width: 100%;
  display: flex;
  gap: 16px;
  flex-shrink: 0;
  flex-wrap: wrap;*/

  /*added for new change*/

  width: 100%;
  /* padding-top: 32px; */
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}

.offer-container .card {
  width: 100%;
  max-width: 100% !important;
  /* min-height: 392px !important;*/

  border: none !important;
  box-shadow: 0px 8px 16px 0px #1018281a;

}

.card-img-top-offers {
  border-radius: 8px 8px 0px 0px;
  width: 100%;
}

.card-body-offers {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px !important;
}

.card-title-offers {
  color: var(--gray-text-strong, #2c3059) !important;

  /* Desktop/H4 — Bold; */
  font-family: "InterBold";
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  text-align: left;
}

.card-text-offers {
  color: var(--gray-text-strong, #2c3059) !important;

  /* Body/Body — Regular; */
  font-family: "Inter";
  font-size: 16px;
  font-weight: 400;
  line-height: 25.6px;
  text-align: left;
}

.card-footnote {
  color: var(--gray-text-strong, #2c3059) !important;

  /* Small/Small — Regular; */
  font-family: "Inter";
  font-size: 14px;
  font-weight: 400;
  line-height: 22.4px;
  text-align: left;
}

.more-container {
  padding: 24px 0px 40px 0px;

  display: flex;
  justify-content: center;
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {


  .navigation-section {
    /* padding: 0px 150px; */
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .d-md-flex {
    gap: 24px;
  }

  .offer-container {
    /*flex-direction: row;
    width: 100%;
    display: flex;
    gap: 24px;
    flex-shrink: 0;
    flex-wrap: wrap;*/

    width: 100%;
    /* padding-top: 32px; */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .offer-container .card {
    /*width: 32% !important;*/

    /* max-width: 364px !important;
    min-height: 422px !important;*/
  }

  .card-img-top-offers {
    width: 100%;
    /*min-height: 240px !important;*/
    background-size: contain !important;
    aspect-ratio: 3 / 2;
    object-fit: fill;

  }

  .more-container {
    padding: 56px 0px;

    display: flex;
    justify-content: center;
  }
}


.form-select {
  color: var(--gray-text-strong, #2c3059);

  /* Body1/Body 1 — Regular */
  font-family: "Inter";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  /* 25.6px */
}

.navigation-section {
  width: 100%;
}

.navigation-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.navigation-section .nav-underline {
  width: 100%;
  row-gap: unset;
  column-gap: unset;
}

.navigation-section li {
  width: 20%;
}

.navigation-section li a {
  text-align: center;
  font-family: "Inter";
  font-size: 18px;
  font-weight: 700;
  line-height: 27px;
  text-align: center;
  color: var(--primary-text, #9596ac);
}

.navigation-section1 {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  gap: 32px;
}

.navigation-section2 {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  gap: 24px;
}

.nav-underline {
  row-gap: unset;
  column-gap: unset;
}

.navigation-section .nav-underline .nav-link {
  overflow: hidden;
  color: var(--gray-text-weak, #9596ac);
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  /* Desktop/H5 — Medium */
  font-family: "InterMedium";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  padding: 0 8px;
  /* 27px */

  border-bottom: 1px solid var(--gray-stroke-strong, #cacad9);
}

.navigation-section .nav-underline .nav-link.active {
  overflow: hidden;
  color: var(--primary-text, #684b9b);
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  /* Desktop/H5 — Bold */
  font-family: "InterBold";
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  padding: 0 8px;
  /* 27px */

  border-bottom: 3px solid var(--primary-icon, #684b9b);
}

nav ul {
  margin: 0px;
}

.nav-links {
  list-style: none;
  padding: 12px 0px;
  display: flex;
  justify-content: start;
}

.nav-links li {
  margin: 0px;
}

.nav-links a {
  display: flex;
  min-width: 140px;
  padding: var(--spacing-sm, 12px) 24px;
  justify-content: center;
  align-items: center;
  gap: 10px;

  color: var(--gray-text, #6a6d87);
  text-align: center;

  /* Desktop/H5 — Medium */
  font-family: "InterMedium";
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  /* 27px */
}

.nav-links a.active {
  color: var(--gray-text-strong, #2c3059);
  text-align: center;

  /* Desktop/H5 — Bold */
  font-family: "InterBold";
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  /* 27px */

  border-radius: 8px;
  background: var(--gray-surface, #f2f2fa);
}

.card-img-top-offers {
  background: linear-gradient(360deg,
      rgba(0, 0, 0, 0) 16.87%,
      rgba(0, 0, 0, 0.5) 100%);
}



.more-button {
  width: auto;
  height: 48px;

  display: flex;
  flex-direction: row;
  padding: 8px 24px;
  justify-content: center;
  align-items: center;
  gap: 8px;

  color: var(--primary-text, #684b9b);
  text-align: center;

  /* Body1/Body 1 — Bold */
  font-family: "InterBold";
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 160%;
  /* 25.6px */

  border-radius: 30px;
  background: var(--primary-surface-weak, #f5efff);

  /* Shadow/xs */
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}

@media (min-width: 768px) {
  .nav-text {
    white-space: nowrap;
  }
}