/* ==========================================================================
   Model Portfolio Detail Pages Styling
   ========================================================================== */

/* Hero Section */
.pfd-hero {
  padding-top: clamp(60px, 7vw, 110px);
  padding-bottom: clamp(60px, 7vw, 110px);
  position: relative;
  overflow: hidden;
}

.pfd-hero__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.pfd-hero__breadcrumbs {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #151515;
  margin-bottom: 20px;
}

.pfd-hero__breadcrumbs span {
  color: #555ddb;
}

.pfd-nav-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 28px;
}

.pfd-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--transition-base);
  border: 1px solid #797979;
  background-color: var(--color-white);
  color: #4b4b4b;
}

.pfd-pill:hover {
  background-color: var(--bg-lavender-tint);
  border-color: #15157d;
  color: #15157d;
}

.pfd-pill.is-active {
  background-color: #0d0c73;
  border-color: #0d0c73;
  color: var(--color-white);
}

.pfd-hero__title {
  font-size: clamp(4rem, 7vw + 1rem, 6.25rem);
  font-weight: 800;
  line-height: 0.9;
  color: #0d0c73;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: -0.02em;
}

.pfd-hero__meta {
  max-width: 440px;
}

.pfd-hero__horizon {
  font-size: 1.125rem;
  font-weight: 600;
  color: #555ddb;
  margin-bottom: 16px;
}

.pfd-hero__who {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #4b4b4b;
}

.pfd-hero__who strong {
  font-weight: 700;
  color: #151515;
}

@media (max-width: 991px) {
  .pfd-hero__right {
    align-items: flex-start;
    text-align: left;
    margin-top: 32px;
  }

  .pfd-nav-pills {
    justify-content: flex-start;
  }
}

/* Details Sections */
.pfd-section {
  background-color: #f3f3ff;
  background-image: url("../../assets/bg.jpg");
  background-repeat: repeat;
  background-position: center top;
  background-size: 1440px auto;
  background-blend-mode: multiply;
  padding-block: clamp(64px, 7vw + 20px, 112px);
}

.pfd-row {
  border-bottom: none;
  margin-bottom: clamp(40px, 4vw + 10px, 64px);
  padding-block: 0;
}

.pfd-row:last-of-type {
  margin-bottom: 0;
}

.pfd-row__label {
  font-size: clamp(1.85rem, 2.2vw + 1rem, 2.35rem);
  font-weight: 800;
  color: #0d0c73;
  line-height: 1.1;
  margin: 0;
}

.pfd-row__body {
  max-width: 560px;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #4b4b4b;
}

.pfd-row__body p {
  margin-bottom: 16px;
}

.pfd-row__body p:last-child {
  margin-bottom: 0;
}

.pfd-list {
  margin: 0;
  padding-left: 20px;
  color: #4b4b4b;
  font-size: 0.875rem;
  line-height: 1.65;
}

.pfd-list li {
  margin-bottom: 8px;
}

.pfd-list li:last-child {
  margin-bottom: 0;
}

/* Portfolio Facts Card */
.pfd-facts-card {
  background-color: #ffffff;
  border-radius: 28px;
  border: 1px solid rgba(21, 21, 125, 0.12);
  box-shadow: 0 16px 48px rgba(21, 21, 125, 0.04);
  padding: 0;
  margin-top: clamp(64px, 7vw, 96px);
  max-width: 1040px;
  margin-inline: auto;
  overflow: hidden;
}

.pfd-facts-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid rgba(21, 21, 125, 0.12);
  padding: 44px 56px 32px 56px;
  margin-bottom: 0;
}

.pfd-facts-card__title-label,
.pfd-facts-card__risk-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #797979;
  margin-bottom: 8px;
}

.pfd-facts-card__title {
  font-size: clamp(2rem, 2.5vw + 1rem, 2.5rem);
  font-weight: 800;
  color: #15157d;
  margin: 0;
  line-height: 1.1;
}

.pfd-facts-card__risk {
  font-size: clamp(1.65rem, 2vw + 0.8rem, 2.125rem);
  font-weight: 800;
  color: #555ddb;
  margin: 0;
  text-align: right;
  line-height: 1.1;
}

.pfd-facts-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .pfd-facts-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pfd-fact-item {
  padding: 32px 56px;
  border-bottom: 1px solid rgba(21, 21, 125, 0.12);
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .pfd-fact-item:nth-child(odd) {
    padding: 32px 40px 32px 56px;
    border-right: 1px solid rgba(21, 21, 125, 0.12);
  }

  .pfd-fact-item:nth-child(even) {
    padding: 32px 56px 32px 40px;
  }

  .pfd-fact-item:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

.pfd-fact-item__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #797979;
  margin-bottom: 10px;
}

.pfd-fact-item__value {
  font-size: 14px;
  line-height: 1.5;
  color: #15157d;
  font-weight: 700;
}

/* Explore Other Portfolios */
.pfd-explore {
  background-color: var(--color-white);
  background-image: url("../../assets/bg.jpg");
  background-repeat: repeat;
  background-position: center top;
  background-size: 1440px auto;
  padding-block: clamp(64px, 7vw, 104px);
}

.pfd-explore__head {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 56px);
}

.pfd-explore__head .eyebrow {
  color: #797979;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.pfd-explore__head h2 {
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
  font-weight: 800;
  color: #0d0c73;
  margin: 0;
  line-height: 1.15;
}

.pfd-explore__head h2 span {
  color: #555ddb;
}

.pfd-explore-card {
  background-color: #ffffff;
  border-radius: 20px;
  border: 1px solid #4B4B4B;
  padding: 26px 20px 26px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.pfd-explore-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(21, 21, 125, 0.1);
  border-color: rgba(21, 21, 125, 0.4);
}

.pfd-explore-card__title {
  font-size: clamp(2rem, 2.2vw + 1rem, 2.35rem);
  font-weight: 800;
  color: #15157d;
  margin-bottom: 14px;
  line-height: 1.05;
}

.pfd-explore-card__tagline {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000000;
  margin-bottom: 28px;
}

.pfd-explore-card__body {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #4b4b4b;
  flex-grow: 1;
  margin-bottom: 36px;
}

.pfd-explore-card__arrow {
  align-self: flex-end;
  color: #333333;
  line-height: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.pfd-explore-card:hover .pfd-explore-card__arrow {
  transform: translateX(4px);
  color: #15157d;
}