

.c-portfolio-card__header {
  border-bottom: 0px;
  background-color: rgb(0 0 0 / 0%) !important;
  position: relative;
}

.c-portfolio-card__header::after {
  position: absolute;
  content: "";
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 90%;
  height: 1px;
  background: var(--semi-gray);
}

.suggested-portfolio .card-header,
.explore-investment-portfolio .card-header {
  border-bottom: 0px;
  background-color: rgb(0 0 0 / 0%) !important;
  position: relative;
}

.suggested-portfolio .card-header::after,
.explore-investment-portfolio .card-header::after {
  position: absolute;
  content: "";
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 90%;
  height: 1px;
  background: var(--semi-gray);
}

.c-portfolio-card__cta {
  color: var(--white-blue-shade);
  border-color: var(--semi-gray);
  font-size: var(--font-size-14);
  font-weight: 600;
  padding: 10px 32px 10px 48px;
  border-radius: 10px;
  width: 186px;
  height: 44px;
}

.suggested-portfolio .btn-outline-light,
.explore-investment-portfolio .btn-outline-light,
.recommened-subscription-portfolio .btn-outline-light {
  color: var(--white-blue-shade);
  border-color: var(--semi-gray);
  font-size: var(--font-size-14);
  font-weight: 600;
  padding: 10px 32px 10px 48px;
  border-radius: 10px;
  width: 186px;
  height: 44px;
}

.suggested-portfolio .btn-outline-light:hover,
.explore-investment-portfolio .btn-outline-light:hover,
.recommened-subscription-portfolio .btn-outline-light:hover {
  color: var(--black-grey-shade);
  border-color: var(--btn-outline-light);
}

.suggested-portfolio .btn-outline-light:hover img,
.explore-investment-portfolio .btn-outline-light:hover img,
.recommened-subscription-portfolio .btn-outline-light:hover img {
  filter: invert(1);
}

.explore-investment-portfolio .btn-outline-wright {
  padding: 10px 70px 10px 80px;
  font-size: var(--font-size-20);
  box-shadow: none !important;
  font-weight: 600;
  background-color: #252121;
  margin-top: 1rem;
}

.explore-investment-portfolio .btn-outline-wright:hover img,
.explore-investment-portfolio .load-more-port-stock:hover img,
.suggested-portfolio .btn-outline-wright:hover img {
  filter: invert(1);
}

/* Portfolio card shell (shared across many pages). */
.explore-investment-portfolio .card,
.suggested-portfolio .card {
  background-color: var(--dark-grey-blue);
  border: 1px solid var(--semi-gray);
  border-radius: 10px;
  height: 248px;
}

.explore-investment-portfolio .card p {
  margin-bottom: 0;
  color: var(--light_gray);
  
  font-size: var(--font-size-13);
}

.explore-investment-portfolio .card .card-body p {
  font-size: var(--font-size-12);
}

/* Portfolio card grid spacing (deduped where identical). */
.explore-investment-portfolio .col-md-4 {
  margin-bottom: 1rem;
}

.suggested-portfolio .col-md-4 {
  margin-bottom: 2rem;
}

/* Portfolio card body layout (deduped where identical). */
.suggested-portfolio .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

/* Portfolio card headings (deduped where identical). */
.suggested-portfolio .card .card-body h6 {
  font-size: var(--font-size-16);
  font-weight: 600;
  line-height: 21.86px;
  color: var(--Grey-light-blue);
}

/* Portfolio card inner layout (shared). */
.explore-investment-portfolio .card-body .inner-box-data {
  display: flex;
  justify-content: space-between;
}

/* Portfolio card header badges (shared where identical). */
.explore-investment-portfolio .card-header .badge {
  
  border: 1px solid var(--teal-extra-light);
  border-radius: 40px;
  font-size: var(--font-size-12);
  font-weight: 600;
  line-height: 16.39px;
  background-color: var(--Grey-shade);
  padding: 4px 12px;
  color: var(--cyan-medium);
  position: absolute;
  right: 17px;
  top: 15px;
}

.suggested-portfolio .card-header .badge {
  
  border: 1px solid var(--teal-extra-light);
  border-radius: 40px;
  font-size: var(--font-size-12);
  font-weight: 600;
  line-height: 16.39px;
  background-color: var(--Grey-shade);
  padding: 4px 12px;
  color: var(--cyan-medium);
}

/* Portfolio card CTA buttons (deduped where identical). */
.explore-investment-portfolio .card-body button {
  
  padding: 14px 24px 14px 24px;
  font-size: var(--font-size-16);
  font-weight: 600;
  border-radius: 5px;
}


/* Suggested portfolio secondary CTA (deduped where identical). */
.suggested-portfolio .btn-light {
  padding: 14px 24px;
  color: var(--Grey-900, #101828);
  font-size: var(--font-size-16);
  font-weight: 600;
}

/* Portfolio card button container layout (deduped where identical). */
.button-watchlist {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

/* Social share icons in portfolio sections (deduped where identical). */
.social-icons a {
  padding: 10px;
  background-color: #dad8eb;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

/* Suggested portfolio grid centering (deduped where identical). */
.suggested-portfolio .col-md-12 {
  display: flex;
  justify-content: center;
}

/* Suggested portfolio section heading (deduped where identical). */
.suggested-portfolio .suggested-portfolio-heading {
  margin-bottom: 64px;
}

.suggested-portfolio .suggested-portfolio-heading h2 {
  color: var(--White, #FFF);
  
  font-size: var(--font-size-36);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 16px;
}

.suggested-portfolio .suggested-portfolio-heading p {
  color: var(--Grey-300, #D0D5DD);
  
  font-size: var(--font-size-16);
  font-style: normal;
  font-weight: 400;
  margin-bottom: 0;
  line-height: 150%;
}

.suggested-portfolio .suggested-portfolio-heading .btn-light {
  color: var(--Grey-900, #101828);
  text-align: center;
  
  font-size: var(--font-size-16);
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

/* Mobile portfolio card button (deduped). */
@media (max-width: 768px) {
  .explore-investment-portfolio .card-body button {
    font-size: var(--font-size-16);
    font-weight: 600;
    padding: 14px 24px;
    border-radius: 8px;
  }

  .explore-investment-portfolio-heading p {
    font-size: var(--font-size-12);
    font-weight: 400;
    line-height: 24px;
    text-align: center;
    margin: 1rem 0rem;
    color: #98A2B3;
  }
}

/* Hide portfolio container images and graph class (deduped). */
#portfolioContainer img,
.graphClass {
  display: none;
}

/* Show graph images in portfolio cards (deduped). */
.img-graph {
  display: block !important;
  width: 100%;
}

.img-graph img {
  max-width: 100%;
}

/* Portfolio card border colors (deduped). */
.explore-investment-portfolio #pink-border {
  border-top: 5px solid var(--pink_medium);
  border-radius: 10px;
}

.explore-investment-portfolio #teal-border {
  border-top: 5px solid var(--teal_dark);
  border-radius: 10px;
}

.explore-investment-portfolio #purple-border {
  border-top: 5px solid var(--purple_dark);
  border-radius: 10px;
}

/* PMS portfolio gradient border colors (deduped). */
.explore-investment-portfolios .card.pink-border .card-header::after {
  background: linear-gradient(94.03deg, #FFD6E9 0%, #FF9BD3 52.62%, #FFD6E9 100%);
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  height: 6px;
  width: 100%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.explore-investment-portfolios .card.purple-border .card-header::after {
  background: linear-gradient(94.03deg, #E6D8FF 0%, #C3A6FF 52.62%, #E6D8FF 100%);
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  height: 6px;
  width: 100%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.explore-investment-portfolios .card.green-border .card-header::after {
  background: linear-gradient(94.03deg, #D9F9F4 0%, #96DDCC 52.62%, #D9F9F4 100%);
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  height: 6px;
  width: 100%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

/* Mobile portfolio card header div (deduped). */
@media (max-width: 768px) {
  .explore-investment-portfolio .card-header div {
    flex: 2;
  }
}
