@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&display=swap');

/* =========================================================
   PLUS 1 ADS — PUBLIC MEMBER PROFILE SHOWCASE
   Promotional public profile: Attention → Curiosity → Action
   ========================================================= */

:root{
  --p6-navy:#07162d;
  --p6-navy-2:#0b2245;
  --p6-blue:#2f6df6;
  --p6-blue-2:#1f5be0;
  --p6-orange:#f59e0b;
  --p6-orange-2:#f97316;
  --p6-text:#0f172a;
  --p6-muted:#66788f;
  --p6-line:#dce5ef;
  --p6-soft:#f4f8fd;
  --p6-shadow:0 22px 52px rgba(15,23,42,.10);
}

.p1-public-main.p1-profile6{
  overflow:hidden;
  background:#fff;
}

.p1-profile6 *{box-sizing:border-box}
.p1-profile6 h1,.p1-profile6 h2,.p1-profile6 h3,.p1-profile6 p{margin-top:0}

/* Profile-only promotional header variant */
.p1-public-header--profile-showcase{
  border-bottom:1px solid rgba(255,255,255,.09)!important;
  background:rgba(6,19,40,.98)!important;
  box-shadow:0 10px 26px rgba(0,0,0,.14);
}
.p1-public-header--profile-showcase .p1-public-header__inner{min-height:74px}
.p1-public-header--profile-showcase .p1-public-brand img{display:none!important}
.p1-public-header--profile-showcase .p1-public-brand > span{display:none!important}
.p1-public-profile-brandmark{
  display:inline-flex;
  align-items:baseline;
  gap:5px;
  color:#fff;
  font-size:29px;
  font-weight:850;
  letter-spacing:-.055em;
  text-decoration:none;
}
.p1-public-profile-brandmark b{color:var(--p6-orange);font-size:1.12em}
.p1-public-header--profile-showcase .p1-public-nav a,
.p1-public-header--profile-showcase .p1-public-link{color:#d6e4f6!important}
.p1-public-header--profile-showcase .p1-public-nav a:hover,
.p1-public-header--profile-showcase .p1-public-link:hover{color:#fff!important}
.p1-public-header--profile-showcase .p1-public-button--primary{
  border-color:#e47717!important;
  background:linear-gradient(180deg,#fb923c 0%,#f97316 100%)!important;
  box-shadow:0 10px 24px rgba(249,115,22,.28)!important;
}

/* ---------- Avatar ---------- */
.p1-public-profile-avatar{
  --p1-profile-avatar-size:96px;
  position:relative;
  display:inline-flex;
  width:var(--p1-profile-avatar-size);
  height:var(--p1-profile-avatar-size);
  flex:0 0 var(--p1-profile-avatar-size);
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.26);
  border-radius:999px;
  background:#dce8fb;
  color:var(--p6-blue-2);
  box-shadow:0 0 0 7px rgba(255,255,255,.08),0 18px 38px rgba(0,0,0,.22);
}
.p1-public-profile-avatar__initials{
  position:absolute;inset:0;z-index:1;display:flex;align-items:center;justify-content:center;
  color:#1f5be0;font-size:calc(var(--p1-profile-avatar-size) * .27);font-weight:850;
}
.p1-public-profile-avatar img{position:absolute;inset:0;z-index:2;width:100%;height:100%;object-fit:cover;border-radius:inherit}

/* ---------- Hero ---------- */
.p1-profile6-hero{
  position:relative;
  overflow:hidden;
  min-height:610px;
  color:#fff;
  background:
    radial-gradient(700px 360px at 4% 15%,rgba(47,109,246,.34),transparent 68%),
    radial-gradient(560px 300px at 86% 18%,rgba(249,115,22,.13),transparent 70%),
    linear-gradient(118deg,#061327 0%,#0a2143 55%,#08275a 100%);
}
.p1-profile6-hero::before,
.p1-profile6-hero::after{
  position:absolute;border-radius:50%;content:"";filter:blur(2px);pointer-events:none
}
.p1-profile6-hero::before{width:380px;height:380px;left:-210px;top:80px;background:radial-gradient(circle,rgba(59,130,246,.26),transparent 68%)}
.p1-profile6-hero::after{width:440px;height:440px;right:-250px;bottom:-180px;background:radial-gradient(circle,rgba(14,165,233,.14),transparent 68%)}
.p1-profile6-hero__inner{
  position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,.98fr) minmax(480px,1.02fr);
  gap:38px;align-items:center;min-height:610px;padding-top:48px;padding-bottom:48px;
}
.p1-profile6-member-badge{
  display:inline-flex;align-items:center;min-height:27px;padding:5px 11px;border:1px solid rgba(255,255,255,.14);
  border-radius:7px;background:linear-gradient(180deg,#367bff,#2467ef);color:#fff;font-size:10px;font-weight:850;
  letter-spacing:.08em;text-transform:uppercase;box-shadow:0 8px 20px rgba(47,109,246,.28)
}
.p1-profile6-hero__identity{display:grid;grid-template-columns:174px minmax(0,1fr);gap:26px;align-items:center;margin-top:21px}
.p1-profile6-hero__identity-copy{min-width:0}
.p1-profile6-hero h1{
  max-width:720px;margin:0;color:#fff;font-size:clamp(43px,4.45vw,66px);font-weight:900;line-height:.99;letter-spacing:-.055em
}
.p1-profile6-hero h1 span{color:#fb923c}
.p1-profile6-hero__promise{margin:16px 0 0!important;color:#dbe7f6;font-size:16px;font-weight:600;line-height:1.55}
.p1-profile6-hero__member-name{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;margin-top:17px}
.p1-profile6-hero__member-name strong{color:#fff;font-size:24px;line-height:1.1}
.p1-profile6-hero__member-name span{color:#8fa9cc;font-size:12px;font-weight:700}
.p1-profile6-hero__headline{margin:6px 0 0!important;color:#b9cbe2;font-size:14px;font-weight:650;line-height:1.45}
.p1-profile6-hero__facts{display:flex;flex-wrap:wrap;gap:12px 26px;margin-top:28px}
.p1-profile6-hero__facts>div{display:grid;grid-template-columns:39px minmax(0,1fr);gap:10px;align-items:center;min-width:145px}
.p1-profile6-fact-icon{display:grid;width:39px;height:39px;place-items:center;border:1px solid rgba(255,255,255,.15);border-radius:11px;background:rgba(47,109,246,.18);color:#9fc0ff;font-size:13px;font-weight:900}
.p1-profile6-fact-icon--calendar{background:rgba(255,255,255,.06);color:#dbe7f6}
.p1-profile6-fact-icon--focus{background:rgba(245,158,11,.12);color:#f7bd55}
.p1-profile6-hero__facts p{margin:0!important}
.p1-profile6-hero__facts b{display:block;color:#fff;font-size:12px;line-height:1.2}
.p1-profile6-hero__facts small{display:block;margin-top:3px;color:#9db1cc;font-size:10px;line-height:1.3}
.p1-profile6-hero__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.p1-profile6-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 18px;border-radius:10px;font-size:13px;font-weight:850;text-decoration:none!important;transition:.18s ease}
.p1-profile6-btn--primary{border:1px solid #2764e0;background:linear-gradient(180deg,#3980ff,#2f6df6);color:#fff!important;box-shadow:0 14px 28px rgba(47,109,246,.28)}
.p1-profile6-btn--primary:hover{transform:translateY(-1px);box-shadow:0 18px 34px rgba(47,109,246,.34)}
.p1-profile6-btn--ghost{border:1px solid rgba(255,255,255,.45);background:rgba(5,16,35,.34);color:#fff!important}
.p1-profile6-btn--ghost:hover{background:rgba(255,255,255,.08)}

.p1-profile6-hero__visual{position:relative;min-width:0;padding:28px 0 6px 20px;perspective:1300px}
.p1-profile6-hero-program{
  position:relative;display:block;overflow:visible;min-height:430px;border:1px solid rgba(255,255,255,.26);border-radius:22px;
  background:#10294f;box-shadow:0 35px 70px rgba(0,0,0,.36);transform:rotateY(-3deg) rotateZ(-.45deg);transform-origin:center;text-decoration:none!important
}
.p1-profile6-hero-program__image{position:absolute;inset:0;overflow:hidden;border-radius:21px;background:#e9eff7}
.p1-profile6-hero-program__image img{width:100%;height:100%;object-fit:cover;object-position:top center;transition:transform .26s ease}
.p1-profile6-hero-program:hover .p1-profile6-hero-program__image img{transform:scale(1.012)}
.p1-profile6-hero-program__image.is-fallback{display:flex;align-items:center;justify-content:center;flex-direction:column;color:#37506f}
.p1-profile6-hero-program__shade{position:absolute;inset:0;border-radius:21px;background:linear-gradient(180deg,rgba(3,12,26,0) 54%,rgba(3,12,26,.84) 100%);pointer-events:none}
.p1-profile6-hero-program__caption{position:absolute;z-index:3;left:23px;right:23px;bottom:20px;color:#fff}
.p1-profile6-hero-program__caption small{display:block;color:#f8c46b;font-size:9px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.p1-profile6-hero-program__caption strong{display:block;margin-top:4px;color:#fff;font-size:27px;line-height:1.05}
.p1-profile6-hero-program__caption em{display:inline-flex;margin-top:8px;color:#dce9fb;font-size:11px;font-style:normal;font-weight:800}
.p1-profile6-pick-ribbon{
  position:absolute;z-index:5;top:-17px;left:34px;display:flex;min-width:110px;flex-direction:column;align-items:center;padding:12px 16px 20px;
  clip-path:polygon(0 0,100% 0,100% 82%,50% 100%,0 82%);background:linear-gradient(180deg,#ef4444 0%,#c91f1f 100%);color:#fff;
  text-align:center;box-shadow:0 16px 30px rgba(0,0,0,.25)
}
.p1-profile6-pick-ribbon b{font-size:14px;line-height:1.05}
.p1-profile6-pick-ribbon strong{font-size:19px;line-height:1.05}
.p1-profile6-pick-ribbon--blue{background:linear-gradient(180deg,#347bff,#215bd5)}
.p1-profile6-hero-empty{display:grid;min-height:390px;place-items:center;padding:40px;border:1px solid rgba(255,255,255,.14);border-radius:22px;background:rgba(255,255,255,.06);text-align:center}
.p1-profile6-hero-empty span{display:grid;width:72px;height:72px;place-items:center;border-radius:20px;background:rgba(47,109,246,.2);font-size:24px;font-weight:900}
.p1-profile6-hero-empty strong{font-size:24px}
.p1-profile6-hero-empty p{color:#9db1cc}


.p1-public-profile-program-fallback__browser{display:flex;gap:5px;margin-bottom:9px}.p1-public-profile-program-fallback__browser i{display:block;width:7px;height:7px;border-radius:50%;background:#9eb0c5}.p1-public-profile-program-fallback__browser+strong{font-size:15px}.p1-public-profile-program-fallback__browser+strong+span{margin-top:5px;font-size:10px}

/* ---------- Story / About + Feature ---------- */
.p1-profile6-story{padding:48px 0 52px;background:#fff}
.p1-profile6-story__grid{display:grid;grid-template-columns:minmax(250px,.34fr) minmax(0,.66fr);gap:34px;align-items:stretch}
.p1-profile6-story--solo .p1-profile6-story__grid{grid-template-columns:1fr}
.p1-profile6-about{position:relative;min-width:0;padding:22px 18px 18px 54px}
.p1-profile6-script{display:block;color:#f97316;font-family:'Caveat','Segoe Script',cursive;font-size:38px;font-weight:700;line-height:1}
.p1-profile6-about__quote-mark{position:absolute;left:6px;top:65px;color:#cfe0ff;font-family:Georgia,serif;font-size:76px;line-height:1}
.p1-profile6-about p{margin:23px 0 0!important;color:#40516a;font-size:14px;line-height:1.75}
.p1-profile6-about__signature{margin-top:24px;color:#2f6df6;font-family:'Caveat','Segoe Script',cursive;font-size:30px;font-weight:700}
.p1-profile6-about small{display:block;margin-top:2px;color:#7d8da0;font-size:10px}

.p1-profile6-featured{display:grid;grid-template-columns:minmax(250px,.43fr) minmax(0,.57fr);overflow:hidden;border:1px solid #d8e3ef;border-radius:20px;background:#fff;box-shadow:0 14px 34px rgba(15,23,42,.07)}
.p1-profile6-featured__label{grid-column:1/-1;display:flex;align-items:center;gap:7px;padding:12px 16px 10px;border-bottom:1px solid #e4eaf1;color:#2f6df6;font-size:10px;font-weight:850;letter-spacing:.07em;text-transform:uppercase}
.p1-profile6-featured__label span{color:#f59e0b}
.p1-profile6-featured__visual{display:block;overflow:hidden;background:#edf3f8;text-decoration:none!important}
.p1-profile6-featured__image{position:relative;width:100%;height:100%;min-height:310px;overflow:hidden;background:#edf3f8}
.p1-profile6-featured__image img{width:100%;height:100%;object-fit:cover;object-position:top center;transition:transform .2s ease}
.p1-profile6-featured__visual:hover img{transform:scale(1.012)}
.p1-profile6-featured__image.is-fallback{display:flex;align-items:center;justify-content:center;flex-direction:column;color:#52647b}
.p1-profile6-featured__body{display:flex;min-width:0;flex-direction:column;justify-content:center;padding:26px 28px}
.p1-profile6-category{display:block;color:#2f6df6;font-size:9px;font-weight:850;letter-spacing:.075em;text-transform:uppercase}
.p1-profile6-featured h2{margin:6px 0 0;color:#0f172a;font-size:29px;font-weight:900;letter-spacing:-.035em}
.p1-profile6-featured__description{margin:7px 0 0!important;color:#708196;font-size:12px;line-height:1.55}
.p1-profile6-why{margin-top:18px}
.p1-profile6-why>span{display:block;color:#f97316;font-family:'Caveat','Segoe Script',cursive;font-size:25px;font-weight:700}
.p1-profile6-why blockquote{margin:4px 0 0;padding:0;color:#26384f;font-size:13px;font-style:italic;font-weight:650;line-height:1.58}
.p1-profile6-featured__signals{display:flex;flex-wrap:wrap;gap:6px;margin-top:17px}
.p1-profile6-featured__signals span{display:inline-flex;align-items:center;min-height:26px;padding:4px 9px;border:1px solid #dce5ef;border-radius:999px;background:#f7faff;color:#60738b;font-size:9px;font-weight:800}
.p1-profile6-featured__button{align-self:flex-start;margin-top:18px}

/* ---------- Recommendations ---------- */
.p1-profile6-recs{padding:18px 0 50px;background:#fff}
.p1-profile6-section-heading{display:grid;grid-template-columns:minmax(30px,1fr) auto minmax(30px,1fr);gap:16px;align-items:center;margin-bottom:24px}
.p1-profile6-section-heading span{height:2px;background:linear-gradient(90deg,transparent,#f59e0b)}
.p1-profile6-section-heading span:last-child{background:linear-gradient(90deg,#f59e0b,transparent)}
.p1-profile6-section-heading h2{margin:0;color:#15213a;font-size:24px;font-weight:900;letter-spacing:.03em;text-align:center;text-transform:uppercase}
.p1-profile6-recs__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.p1-profile6-recs__grid--two{grid-template-columns:repeat(2,minmax(0,1fr))}
.p1-profile6-recs__grid--one{grid-template-columns:minmax(0,620px);justify-content:center}
.p1-profile6-rec-card{display:flex;min-width:0;flex-direction:column;overflow:hidden;border:1px solid #d8e3ef;border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.05);transition:.18s ease}
.p1-profile6-rec-card:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(15,23,42,.09)}
.p1-profile6-rec-card__visual{display:block;overflow:hidden;background:#edf3f8;text-decoration:none!important}
.p1-profile6-rec-card__image{position:relative;width:100%;aspect-ratio:16/9.2;overflow:hidden;background:#edf3f8}
.p1-profile6-rec-card__image img{width:100%;height:100%;object-fit:cover;object-position:top center;transition:transform .2s ease}
.p1-profile6-rec-card__visual:hover img{transform:scale(1.012)}
.p1-profile6-rec-card__image.is-fallback{display:flex;align-items:center;justify-content:center;flex-direction:column;color:#52647b}
.p1-profile6-rec-card__body{display:flex;min-height:230px;flex:1;flex-direction:column;padding:17px 18px 16px}
.p1-profile6-rec-card h3{margin:5px 0 0;color:#0f172a;font-size:18px;font-weight:900;letter-spacing:-.025em}
.p1-profile6-rec-card__body>p{margin:7px 0 0!important;color:#708196;font-size:11px;line-height:1.5}
.p1-profile6-rec-card__why{margin-top:13px}
.p1-profile6-rec-card__why span{display:block;color:#f97316;font-family:'Caveat','Segoe Script',cursive;font-size:21px;font-weight:700}
.p1-profile6-rec-card__why em{display:block;margin-top:2px;color:#4b5e76;font-size:11px;line-height:1.45}
.p1-profile6-rec-card__body>a{display:inline-flex;align-items:center;gap:6px;margin-top:auto;padding-top:14px;color:#2f6df6;font-size:10px;font-weight:850;text-decoration:none!important}
.p1-profile6-empty-portfolio{display:grid;grid-template-columns:56px minmax(0,1fr);gap:16px;align-items:center;padding:28px;border:1px solid #dce5ef;border-radius:16px;background:#f8fbff}
.p1-profile6-empty-portfolio>span{display:grid;width:56px;height:56px;place-items:center;border-radius:15px;background:#eaf2ff;color:#2f6df6;font-weight:900}
.p1-profile6-empty-portfolio h3{margin:0;font-size:20px}.p1-profile6-empty-portfolio p{margin:5px 0 0!important;color:#708196}

/* ---------- Current focus ---------- */
.p1-profile6-focus-strip{padding:0 0 34px;background:#fff}
.p1-profile6-focus-strip__inner{display:grid;grid-template-columns:minmax(260px,.44fr) minmax(0,.86fr) auto;gap:22px;align-items:center;padding:18px 22px;border:1px solid #cfe0f6;border-radius:15px;background:linear-gradient(90deg,#f4f9ff 0%,#eef5ff 55%,#f7fbff 100%)}
.p1-profile6-focus-strip__lead{display:flex;align-items:center;gap:13px}
.p1-profile6-focus-strip__target{display:grid;width:46px;height:46px;place-items:center;border:1px solid #bfd6fb;border-radius:14px;background:#fff;color:#2f6df6;font-size:23px;font-weight:900}
.p1-profile6-focus-strip__lead small{display:block;color:#2f6df6;font-size:9px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.p1-profile6-focus-strip__lead strong{display:block;margin-top:3px;color:#16243a;font-size:17px}
.p1-profile6-focus-strip p{margin:0!important;color:#60738b;font-size:12px;line-height:1.55}
.p1-profile6-focus-strip a{color:#2f6df6;font-size:10px;font-weight:850;text-decoration:none!important;white-space:nowrap}

/* ---------- Closing CTA ---------- */
.p1-profile6-join{position:relative;overflow:hidden;padding:52px 0 58px;color:#fff;background:
  radial-gradient(circle at 4% 88%,rgba(47,109,246,.24) 0 2px,transparent 3px),
  radial-gradient(circle at 96% 18%,rgba(47,109,246,.24) 0 2px,transparent 3px),
  linear-gradient(120deg,#07162d 0%,#0a2140 60%,#07162d 100%);background-size:180px 180px,220px 220px,auto}
.p1-profile6-join::before{position:absolute;inset:0;background-image:linear-gradient(115deg,transparent 0 47%,rgba(80,132,220,.07) 48% 49%,transparent 50%),linear-gradient(35deg,transparent 0 48%,rgba(80,132,220,.05) 49% 50%,transparent 51%);background-size:260px 260px;content:"";pointer-events:none}
.p1-profile6-join__grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:54px;align-items:center}
.p1-profile6-join__eyebrow{display:block;color:#8fb5ff;font-size:9px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}
.p1-profile6-join h2{max-width:760px;margin:6px 0 0;color:#fff;font-size:clamp(34px,3.5vw,48px);font-weight:900;line-height:1.03;letter-spacing:-.04em}
.p1-profile6-join__copy>p{max-width:780px;margin:12px 0 0!important;color:#b8c9dd;font-size:14px;line-height:1.65}
.p1-profile6-join__steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:26px}
.p1-profile6-join__steps>div{display:grid;grid-template-columns:36px minmax(0,1fr);gap:10px;align-items:center}
.p1-profile6-join__steps b{display:grid;width:36px;height:36px;place-items:center;border:2px solid #f59e0b;border-radius:50%;color:#f8be4e;font-size:14px}
.p1-profile6-join__steps span{color:#d5e0ef;font-size:11px;line-height:1.45}
.p1-profile6-join__action{padding-left:44px;border-left:1px solid rgba(255,255,255,.15)}
.p1-profile6-join__action>a:first-child{display:flex;align-items:center;justify-content:center;gap:8px;min-height:56px;padding:14px 22px;border:1px solid #e16f14;border-radius:10px;background:linear-gradient(180deg,#fb923c,#f97316);color:#fff!important;font-size:16px;font-weight:900;text-decoration:none!important;box-shadow:0 16px 34px rgba(249,115,22,.28)}
.p1-profile6-join__action>small{display:block;margin-top:8px;color:#9eb2cc;font-size:10px;text-align:center}
.p1-profile6-join__secondary{display:flex;justify-content:center;gap:15px;margin-top:17px}
.p1-profile6-join__secondary a{color:#9fc0ff!important;font-size:10px;font-weight:800;text-decoration:none!important}

/* ---------- Not found ---------- */
.p1-public-profile-empty-section{padding:64px 0 90px;background:#f5f8fc}.p1-public-profile-empty{max-width:700px;padding:36px;border:1px solid #dce5ef;border-radius:20px;background:#fff;box-shadow:var(--p6-shadow)}.p1-public-profile-empty h1{font-size:36px}.p1-public-profile-empty p{color:#66788f;line-height:1.65}

/* ---------- Responsive ---------- */
@media(max-width:1120px){
  .p1-profile6-hero{min-height:auto}
  .p1-profile6-hero__inner{grid-template-columns:1fr;min-height:auto;padding-top:42px;padding-bottom:44px}
  .p1-profile6-hero__visual{max-width:820px;width:100%;margin:0 auto;padding:10px 0 0}
  .p1-profile6-hero-program{min-height:420px;transform:none}
  .p1-profile6-story__grid{grid-template-columns:1fr}
  .p1-profile6-about{max-width:780px;margin:0 auto;padding-left:62px}
  .p1-profile6-join__grid{grid-template-columns:1fr}
  .p1-profile6-join__action{padding:0;border:0;max-width:420px}
}
@media(max-width:900px){
  .p1-profile6-featured{grid-template-columns:1fr}
  .p1-profile6-featured__image{min-height:0;aspect-ratio:16/8.5}
  .p1-profile6-recs__grid,.p1-profile6-recs__grid--two{grid-template-columns:repeat(2,minmax(0,1fr))}
  .p1-profile6-focus-strip__inner{grid-template-columns:1fr}
  .p1-profile6-focus-strip a{white-space:normal}
  .p1-profile6-join__steps{grid-template-columns:1fr}
}
@media(max-width:760px){
  .p1-public-header--profile-showcase .p1-public-nav{display:none!important}
  .p1-public-header--profile-showcase .p1-public-header__actions .p1-public-link{display:none}
  .p1-public-profile-brandmark{font-size:24px}
  .p1-profile6-hero__inner{padding-top:28px;padding-bottom:32px}
  .p1-profile6-hero__identity{grid-template-columns:1fr;gap:17px}
  .p1-profile6-avatar--hero{--p1-profile-avatar-size:126px!important}
  .p1-profile6-hero h1{font-size:42px}
  .p1-profile6-hero__promise{font-size:14px}
  .p1-profile6-hero__facts{gap:11px}
  .p1-profile6-hero__facts>div{min-width:calc(50% - 8px)}
  .p1-profile6-hero__actions{flex-direction:column;align-items:stretch}
  .p1-profile6-btn{width:100%}
  .p1-profile6-hero-program{min-height:330px}
  .p1-profile6-pick-ribbon{left:18px}
  .p1-profile6-story{padding:38px 0}
  .p1-profile6-about{padding:10px 8px 8px 46px}
  .p1-profile6-script{font-size:33px}
  .p1-profile6-about__quote-mark{left:0;top:52px;font-size:64px}
  .p1-profile6-section-heading h2{font-size:19px}
  .p1-profile6-recs__grid,.p1-profile6-recs__grid--two{grid-template-columns:1fr}
  .p1-profile6-recs__grid--one{grid-template-columns:1fr}
  .p1-profile6-join{padding:42px 0}
  .p1-profile6-join__steps{gap:15px}
}
@media(max-width:520px){
  .p1-public-header--profile-showcase .p1-public-header__inner{min-height:64px}
  .p1-public-header--profile-showcase .p1-public-button--primary{padding:9px 11px;font-size:11px}
  .p1-profile6-hero h1{font-size:34px}
  .p1-profile6-hero__member-name strong{font-size:21px}
  .p1-profile6-hero__facts>div{min-width:100%}
  .p1-profile6-hero-program{min-height:260px;border-radius:16px}
  .p1-profile6-hero-program__image,.p1-profile6-hero-program__shade{border-radius:15px}
  .p1-profile6-pick-ribbon{min-width:94px;padding:10px 12px 17px}.p1-profile6-pick-ribbon b{font-size:12px}.p1-profile6-pick-ribbon strong{font-size:16px}
  .p1-profile6-hero-program__caption{left:16px;right:16px;bottom:14px}.p1-profile6-hero-program__caption strong{font-size:22px}
  .p1-profile6-featured__body{padding:22px 18px}.p1-profile6-featured h2{font-size:25px}
  .p1-profile6-section-heading{grid-template-columns:28px minmax(0,1fr) 28px;gap:8px}.p1-profile6-section-heading h2{font-size:17px}
  .p1-profile6-focus-strip__inner{padding:17px}
  .p1-profile6-join h2{font-size:32px}
  .p1-profile6-join__secondary{flex-direction:column;align-items:center}
}


/* =========================================================
   SHOWCASE DEPTH PASS
   Lock the hero direction, improve proportion and continuity.
   ========================================================= */

/* ---------- Real logo in dark showcase header ---------- */
.p1-public-header--profile-showcase .p1-public-brand{
  display:flex!important;
  align-items:center!important;
  min-width:188px;
}
.p1-public-header--profile-showcase .p1-public-profile-showcase-logo{
  display:block!important;
  width:auto!important;
  height:38px!important;
  max-width:205px!important;
  object-fit:contain;
}
.p1-public-header--profile-showcase .p1-public-brand > span{
  display:none!important;
}

/* ---------- Hero: use the desktop canvas instead of squeezing the hook ---------- */
.p1-profile6-hero{
  min-height:650px;
  background:
    radial-gradient(780px 390px at 7% 16%,rgba(47,109,246,.34),transparent 68%),
    radial-gradient(620px 330px at 88% 16%,rgba(249,115,22,.15),transparent 70%),
    linear-gradient(116deg,#061327 0%,#0a2143 52%,#08275a 100%);
}

.p1-profile6-hero .p1-public-container{
  width:min(1660px,calc(100% - 64px));
  max-width:1660px;
}

.p1-profile6-hero__inner{
  grid-template-columns:minmax(0,1.18fr) minmax(560px,.82fr);
  gap:58px;
  min-height:650px;
  padding-top:46px;
  padding-bottom:52px;
}

.p1-profile6-hero__identity{
  grid-template-columns:190px minmax(0,1fr);
  gap:30px;
  margin-top:18px;
}

.p1-profile6-avatar--hero{
  --p1-profile-avatar-size:190px!important;
}

.p1-profile6-hero h1{
  max-width:770px;
  font-size:clamp(52px,4.2vw,74px);
  line-height:.97;
  letter-spacing:-.058em;
}

.p1-profile6-hero__promise{
  max-width:650px;
  margin-top:18px!important;
  font-size:17px;
}

.p1-profile6-hero__member-name{
  margin-top:19px;
}

.p1-profile6-hero__facts{
  gap:14px 30px;
  margin-top:30px;
}

.p1-profile6-hero__facts>div{
  min-width:156px;
}

.p1-profile6-hero__actions{
  margin-top:30px;
}

.p1-profile6-hero__visual{
  margin-right:-30px;
  padding:24px 0 8px 0;
}

.p1-profile6-hero-program{
  min-height:465px;
  transform:rotateY(-2deg) rotateZ(-.25deg);
  box-shadow:
    0 42px 86px rgba(0,0,0,.39),
    0 0 0 1px rgba(255,255,255,.05);
}

.p1-profile6-hero-program__caption{
  left:26px;
  right:26px;
  bottom:22px;
}

.p1-profile6-hero-program__caption strong{
  font-size:30px;
}

/* ---------- Prevent the "white flash" after the dark hero ---------- */
.p1-profile6-story{
  position:relative;
  padding:68px 0 70px;
  background:
    radial-gradient(600px 260px at 10% 12%,rgba(47,109,246,.075),transparent 70%),
    radial-gradient(520px 250px at 92% 20%,rgba(245,158,11,.075),transparent 72%),
    linear-gradient(180deg,#dfe8f3 0%,#edf2f7 24%,#f3f1eb 100%);
}

.p1-profile6-story::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:18px;
  background:linear-gradient(
    180deg,
    rgba(7,22,45,.24) 0%,
    rgba(7,22,45,.08) 42%,
    rgba(7,22,45,0) 100%
  );
  pointer-events:none;
}

.p1-profile6-story .p1-public-container,
.p1-profile6-recs .p1-public-container,
.p1-profile6-focus-strip .p1-public-container,
.p1-profile6-join .p1-public-container{
  width:min(1500px,calc(100% - 64px));
  max-width:1500px;
}

/* ---------- About: editorial, layered, not floating in a white void ---------- */
.p1-profile6-story__grid{
  grid-template-columns:minmax(300px,.34fr) minmax(0,.66fr);
  gap:42px;
}

.p1-profile6-about{
  align-self:stretch;
  padding:34px 30px 30px 72px;
  border:1px solid rgba(194,207,222,.78);
  border-radius:22px;
  background:
    radial-gradient(280px 180px at 0% 0%,rgba(47,109,246,.09),transparent 72%),
    rgba(255,255,255,.72);
  box-shadow:0 16px 38px rgba(15,23,42,.075);
  backdrop-filter:blur(3px);
}

.p1-profile6-script{
  font-size:42px;
}

.p1-profile6-about__quote-mark{
  left:18px;
  top:78px;
  color:#b9d1f5;
  font-size:86px;
}

.p1-profile6-about p{
  margin-top:26px!important;
  color:#34475f;
  font-size:15px;
  line-height:1.8;
}

.p1-profile6-about__signature{
  margin-top:28px;
  font-size:34px;
}

/* ---------- Featured recommendation: screenshot must truly fill its half ---------- */
.p1-profile6-featured{
  position:relative;
  grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr);
  overflow:hidden;
  border-color:#cfdae8;
  border-radius:24px;
  background:#fbfdff;
  box-shadow:
    0 24px 54px rgba(15,23,42,.11),
    0 0 0 1px rgba(255,255,255,.75) inset;
}

.p1-profile6-featured::after{
  content:"";
  position:absolute;
  z-index:0;
  top:-120px;
  right:-120px;
  width:320px;
  height:320px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(245,158,11,.13),transparent 68%);
  pointer-events:none;
}

.p1-profile6-featured__label{
  position:relative;
  z-index:2;
  padding:14px 18px 12px;
  background:rgba(255,255,255,.78);
}

.p1-profile6-featured__visual{
  position:relative;
  z-index:1;
  min-height:390px;
  height:100%;
  background:#dfe7f0;
}

.p1-profile6-featured__image{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  min-height:0;
  background:#dfe7f0;
}

.p1-profile6-featured__image img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:top center;
}

.p1-profile6-featured__image.is-fallback{
  position:absolute;
  inset:0;
  min-height:0;
}

.p1-profile6-featured__body{
  position:relative;
  z-index:1;
  padding:34px 34px 32px;
  background:
    radial-gradient(360px 180px at 100% 0%,rgba(245,158,11,.09),transparent 72%),
    linear-gradient(180deg,#fffdf9 0%,#fbfdff 100%);
}

.p1-profile6-featured h2{
  font-size:34px;
}

.p1-profile6-featured__description{
  max-width:520px;
  font-size:13px;
}

.p1-profile6-why{
  margin-top:20px;
  padding:13px 15px 14px;
  border-left:3px solid #f59e0b;
  border-radius:0 12px 12px 0;
  background:#fff8eb;
}

.p1-profile6-why>span{
  font-size:28px;
}

.p1-profile6-why blockquote{
  font-size:14px;
}

/* ---------- Continue the tonal story through recommendations ---------- */
.p1-profile6-recs{
  padding:52px 0 62px;
  border-top:1px solid #d9e2ec;
  background:
    radial-gradient(620px 300px at 100% 0%,rgba(47,109,246,.055),transparent 72%),
    linear-gradient(180deg,#f3f1eb 0%,#edf3fa 100%);
}

.p1-profile6-section-heading{
  margin-bottom:30px;
}

.p1-profile6-section-heading h2{
  color:#15213a;
  font-size:27px;
  letter-spacing:.045em;
}

.p1-profile6-rec-card{
  border-color:#cedbe9;
  border-radius:19px;
  background:rgba(255,255,255,.90);
  box-shadow:0 12px 30px rgba(15,23,42,.07);
}

.p1-profile6-rec-card__body{
  min-height:250px;
  padding:20px 21px 18px;
}

.p1-profile6-rec-card h3{
  font-size:20px;
}

.p1-profile6-rec-card__body>p{
  font-size:12px;
  line-height:1.58;
}

.p1-profile6-rec-card__why{
  margin-top:15px;
  padding-top:12px;
  border-top:1px solid #edf0f4;
}

.p1-profile6-rec-card__why span{
  font-size:23px;
}

.p1-profile6-rec-card__why em{
  font-size:12px;
}

.p1-profile6-rec-card__body>a{
  font-size:11px;
}

/* ---------- Current focus should bridge, not flash back to white ---------- */
.p1-profile6-focus-strip{
  padding:0 0 42px;
  background:#edf3fa;
}

.p1-profile6-focus-strip__inner{
  padding:21px 24px;
  border-color:#bed4ee;
  background:
    radial-gradient(260px 120px at 0% 50%,rgba(47,109,246,.08),transparent 74%),
    linear-gradient(90deg,#f7fbff 0%,#eef5ff 58%,#f8fbff 100%);
  box-shadow:0 10px 26px rgba(15,23,42,.055);
}

/* ---------- Closing CTA: more like a destination, less like a footer strip ---------- */
.p1-profile6-join{
  padding:68px 0 76px;
}

.p1-profile6-join__grid{
  grid-template-columns:minmax(0,1fr) 390px;
  gap:64px;
}

.p1-profile6-join h2{
  font-size:clamp(40px,3.5vw,54px);
}

.p1-profile6-join__copy>p{
  font-size:15px;
}

.p1-profile6-join__action>a:first-child{
  min-height:62px;
  font-size:17px;
}

/* ---------- Responsive depth pass ---------- */
@media(max-width:1450px){
  .p1-profile6-hero .p1-public-container{
    width:min(1500px,calc(100% - 52px));
  }
  .p1-profile6-hero__inner{
    grid-template-columns:minmax(0,1.12fr) minmax(520px,.88fr);
    gap:44px;
  }
  .p1-profile6-hero__identity{
    grid-template-columns:174px minmax(0,1fr);
  }
  .p1-profile6-avatar--hero{
    --p1-profile-avatar-size:174px!important;
  }
  .p1-profile6-hero h1{
    font-size:clamp(48px,4.05vw,66px);
  }
}

@media(max-width:1120px){
  .p1-profile6-hero .p1-public-container,
  .p1-profile6-story .p1-public-container,
  .p1-profile6-recs .p1-public-container,
  .p1-profile6-focus-strip .p1-public-container,
  .p1-profile6-join .p1-public-container{
    width:min(100% - 40px,900px);
  }

  .p1-profile6-hero__inner{
    grid-template-columns:1fr;
    gap:30px;
  }

  .p1-profile6-hero__visual{
    width:100%;
    max-width:860px;
    margin:0 auto;
    padding:10px 0 0;
  }

  .p1-profile6-hero-program{
    min-height:440px;
    transform:none;
  }

  .p1-profile6-story__grid{
    grid-template-columns:1fr;
  }

  .p1-profile6-about{
    max-width:none;
  }
}

@media(max-width:900px){
  .p1-profile6-featured{
    grid-template-columns:1fr;
  }

  .p1-profile6-featured__visual{
    min-height:0;
    aspect-ratio:16/8.8;
  }

  .p1-profile6-featured__image{
    position:absolute;
  }
}

@media(max-width:760px){
  .p1-public-header--profile-showcase .p1-public-profile-showcase-logo{
    height:32px!important;
    max-width:172px!important;
  }

  .p1-profile6-hero__identity{
    grid-template-columns:1fr;
  }

  .p1-profile6-avatar--hero{
    --p1-profile-avatar-size:132px!important;
  }

  .p1-profile6-about{
    padding:28px 22px 24px 58px;
  }

  .p1-profile6-about__quote-mark{
    left:12px;
    top:70px;
  }

  .p1-profile6-story,
  .p1-profile6-recs{
    padding-top:44px;
    padding-bottom:46px;
  }
}

@media(max-width:520px){
  .p1-profile6-hero .p1-public-container,
  .p1-profile6-story .p1-public-container,
  .p1-profile6-recs .p1-public-container,
  .p1-profile6-focus-strip .p1-public-container,
  .p1-profile6-join .p1-public-container{
    width:calc(100% - 28px);
  }

  .p1-public-header--profile-showcase .p1-public-profile-showcase-logo{
    height:28px!important;
    max-width:150px!important;
  }

  .p1-profile6-featured__visual{
    aspect-ratio:16/10;
  }
}


/* =========================================================
   SHOWCASE COMPACT RHYTHM PASS
   Keep everything big. Remove wasted vertical air.
   ========================================================= */

/* HERO — content determines height now; no 650px forced canvas */
.p1-profile6-hero{
  min-height:0!important;
}

.p1-profile6-hero__inner{
  min-height:0!important;
  padding-top:26px!important;
  padding-bottom:30px!important;
}

/* Keep the large visual pieces, but stack them more efficiently */
.p1-profile6-hero__identity{
  margin-top:10px!important;
}

.p1-profile6-hero__promise{
  margin-top:12px!important;
}

.p1-profile6-hero__member-name{
  margin-top:12px!important;
}

.p1-profile6-hero__facts{
  margin-top:20px!important;
}

.p1-profile6-hero__actions{
  margin-top:20px!important;
}

.p1-profile6-hero__visual{
  padding-top:8px!important;
  padding-bottom:0!important;
}

.p1-profile6-hero-program{
  min-height:445px!important;
}

/* Pull the first curiosity payoff closer to the hero */
.p1-profile6-story{
  padding-top:32px!important;
  padding-bottom:38px!important;
}

.p1-profile6-story__grid{
  gap:28px!important;
}

.p1-profile6-about{
  padding-top:27px!important;
  padding-bottom:24px!important;
}

.p1-profile6-about p{
  margin-top:18px!important;
}

.p1-profile6-about__signature{
  margin-top:18px!important;
}

/* Featured recommendation stays large, but wastes less space */
.p1-profile6-featured__body{
  padding-top:27px!important;
  padding-bottom:26px!important;
}

.p1-profile6-why{
  margin-top:14px!important;
}

.p1-profile6-featured__actions,
.p1-profile6-featured__action{
  margin-top:16px!important;
}

/* Portfolio follows immediately instead of feeling like another page */
.p1-profile6-recs{
  padding-top:34px!important;
  padding-bottom:42px!important;
}

.p1-profile6-section-heading{
  margin-bottom:22px!important;
}

/* Current Focus and closing action also keep momentum */
.p1-profile6-focus-strip{
  padding-bottom:28px!important;
}

.p1-profile6-join{
  padding-top:46px!important;
  padding-bottom:50px!important;
}

.p1-profile6-join__grid{
  gap:42px!important;
}

/* ---------------------------------------------------------
   SHORT DESKTOP / SURFBAR VIEWPORT
   Width stays desktop-sized; vertical gaps get even tighter.
   --------------------------------------------------------- */
@media (min-width:1000px) and (max-height:760px){
  .p1-public-header--profile-showcase .p1-public-header__inner{
    min-height:58px!important;
  }

  .p1-public-header--profile-showcase .p1-public-profile-showcase-logo{
    height:34px!important;
  }

  .p1-profile6-hero__inner{
    padding-top:18px!important;
    padding-bottom:22px!important;
  }

  .p1-profile6-hero__identity{
    margin-top:6px!important;
  }

  .p1-profile6-hero__promise{
    margin-top:9px!important;
  }

  .p1-profile6-hero__member-name{
    margin-top:9px!important;
  }

  .p1-profile6-hero__facts{
    margin-top:14px!important;
  }

  .p1-profile6-hero__actions{
    margin-top:14px!important;
  }

  .p1-profile6-hero-program{
    min-height:405px!important;
  }

  .p1-profile6-story{
    padding-top:24px!important;
    padding-bottom:30px!important;
  }

  .p1-profile6-recs{
    padding-top:28px!important;
    padding-bottom:34px!important;
  }

  .p1-profile6-join{
    padding-top:38px!important;
    padding-bottom:42px!important;
  }
}

/* Normal tablet/mobile rules still win on narrow screens. */
@media(max-width:760px){
  .p1-profile6-hero__inner{
    padding-top:20px!important;
    padding-bottom:24px!important;
  }

  .p1-profile6-story{
    padding-top:28px!important;
    padding-bottom:32px!important;
  }

  .p1-profile6-recs{
    padding-top:30px!important;
    padding-bottom:34px!important;
  }
}


/* =========================================================
   SHOWCASE ULTRA-TIGHT RHYTHM PASS
   Same scale. Less air. Faster path to the next curiosity cue.
   ========================================================= */

/* Public promotional header: compact without shrinking the important actions */
.p1-public-header--profile-showcase .p1-public-header__inner{
  min-height:56px!important;
}

/* HERO: start immediately, end immediately */
.p1-profile6-hero__inner{
  padding-top:12px!important;
  padding-bottom:14px!important;
}

/* Kill residual vertical drift inside the left column */
.p1-profile6-hero__identity{
  margin-top:2px!important;
}

.p1-profile6-hero__promise{
  margin-top:7px!important;
}

.p1-profile6-hero__member-name{
  margin-top:6px!important;
}

.p1-profile6-hero__member-headline{
  margin-top:3px!important;
}

.p1-profile6-hero__facts{
  margin-top:11px!important;
}

.p1-profile6-hero__actions{
  margin-top:12px!important;
}

/* Pull the right visual up flush with the composition */
.p1-profile6-hero__visual{
  padding-top:0!important;
  padding-bottom:0!important;
}

/* Still visually huge, but no longer forcing unnecessary hero height */
.p1-profile6-hero-program{
  min-height:420px!important;
}

/* The next content should visibly follow the hero */
.p1-profile6-story{
  padding-top:20px!important;
  padding-bottom:28px!important;
}

.p1-profile6-story__grid{
  gap:22px!important;
}

/* Keep About readable, remove unused panel height */
.p1-profile6-about{
  padding-top:22px!important;
  padding-bottom:20px!important;
}

.p1-profile6-about p{
  margin-top:12px!important;
}

.p1-profile6-about__signature{
  margin-top:12px!important;
}

/* Featured Recommendation: same visual weight, more efficient content stack */
.p1-profile6-featured__body{
  padding-top:22px!important;
  padding-bottom:22px!important;
}

.p1-profile6-featured__description{
  margin-top:8px!important;
}

.p1-profile6-why{
  margin-top:10px!important;
}

.p1-profile6-featured__actions,
.p1-profile6-featured__action{
  margin-top:12px!important;
}

/* Recommendation section should feel attached to the story above */
.p1-profile6-recs{
  padding-top:24px!important;
  padding-bottom:32px!important;
}

.p1-profile6-section-heading{
  margin-bottom:16px!important;
}

/* Keep momentum through the last two sections */
.p1-profile6-focus-strip{
  padding-bottom:20px!important;
}

.p1-profile6-join{
  padding-top:34px!important;
  padding-bottom:38px!important;
}

.p1-profile6-join__grid{
  gap:34px!important;
}

/* Short surfbar viewport: compress rhythm further, never the core typography */
@media (min-width:1000px) and (max-height:760px){
  .p1-public-header--profile-showcase .p1-public-header__inner{
    min-height:52px!important;
  }

  .p1-profile6-hero__inner{
    padding-top:8px!important;
    padding-bottom:10px!important;
  }

  .p1-profile6-hero__promise{
    margin-top:5px!important;
  }

  .p1-profile6-hero__member-name{
    margin-top:4px!important;
  }

  .p1-profile6-hero__facts{
    margin-top:8px!important;
  }

  .p1-profile6-hero__actions{
    margin-top:9px!important;
  }

  .p1-profile6-hero-program{
    min-height:395px!important;
  }

  .p1-profile6-story{
    padding-top:16px!important;
    padding-bottom:22px!important;
  }

  .p1-profile6-recs{
    padding-top:20px!important;
    padding-bottom:26px!important;
  }

  .p1-profile6-join{
    padding-top:28px!important;
    padding-bottom:32px!important;
  }
}

/* Large desktop: don't add the air back just because there is room */
@media (min-width:1600px) and (min-height:800px){
  .p1-profile6-hero__inner{
    padding-top:14px!important;
    padding-bottom:16px!important;
  }

  .p1-profile6-story{
    padding-top:22px!important;
  }
}


/* =========================================================
   STORY / FEATURED RECOMMENDATION FIX
   Compact editorial About + cinematic Featured crop.
   ========================================================= */

/* Stop the short About panel from inheriting the Featured card's height. */
.p1-profile6-story__grid{
  align-items:start!important;
}

.p1-profile6-about{
  align-self:start!important;
  height:auto!important;
  min-height:0!important;
}

/* Make the story row feel authored rather than like two equal dashboard tiles. */
.p1-profile6-story__grid{
  grid-template-columns:minmax(300px,.31fr) minmax(0,.69fr)!important;
  gap:26px!important;
}

.p1-profile6-about{
  padding:22px 24px 20px 64px!important;
}

.p1-profile6-about__quote-mark{
  top:68px!important;
}

.p1-profile6-about p{
  margin-top:12px!important;
}

.p1-profile6-about__signature{
  margin-top:13px!important;
}

/* Featured recommendation: shorter, wider, promotional. */
.p1-profile6-featured{
  grid-template-columns:minmax(0,1.06fr) minmax(360px,.94fr)!important;
  align-items:stretch!important;
}

.p1-profile6-featured__label{
  padding-top:11px!important;
  padding-bottom:9px!important;
}

/*
 * The stored program screenshot contains low-value page area near the bottom.
 * Present it as a promotional crop instead of a literal full-page capture.
 */
.p1-profile6-featured__visual{
  position:relative!important;
  align-self:stretch!important;
  min-height:300px!important;
  height:100%!important;
  overflow:hidden!important;
  background:#dfe7f0!important;
}

.p1-profile6-featured__image{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  overflow:hidden!important;
  background:#dfe7f0!important;
}

.p1-profile6-featured__image img{
  position:absolute!important;
  top:0!important;
  left:50%!important;
  width:112%!important;
  height:auto!important;
  min-height:112%!important;
  max-width:none!important;
  transform:translateX(-50%) scale(1.12)!important;
  transform-origin:top center!important;
  object-fit:cover!important;
  object-position:top center!important;
}

.p1-profile6-featured__visual:hover .p1-profile6-featured__image img{
  transform:translateX(-50%) scale(1.14)!important;
}

/* Remove any residual space reserved by the retired status-pill row. */
.p1-profile6-featured__signals{
  display:none!important;
}

.p1-profile6-featured__body{
  justify-content:center!important;
  padding:24px 30px 24px!important;
}

.p1-profile6-featured h2{
  margin-top:5px!important;
}

.p1-profile6-featured__description{
  margin-top:7px!important;
}

.p1-profile6-why{
  margin-top:11px!important;
  padding-top:11px!important;
  padding-bottom:12px!important;
}

.p1-profile6-featured__button{
  margin-top:15px!important;
}

/* Pull the next recommendation heading up as soon as the two content blocks finish. */
.p1-profile6-story{
  padding-bottom:22px!important;
}

.p1-profile6-recs{
  padding-top:20px!important;
}

/* Wide short screens: preserve the crop and compact story behavior. */
@media (min-width:1000px) and (max-height:760px){
  .p1-profile6-story__grid{
    gap:20px!important;
  }

  .p1-profile6-featured__visual{
    min-height:280px!important;
  }

  .p1-profile6-featured__body{
    padding:20px 26px!important;
  }

  .p1-profile6-story{
    padding-bottom:18px!important;
  }

  .p1-profile6-recs{
    padding-top:17px!important;
  }
}

@media(max-width:900px){
  .p1-profile6-story__grid{
    grid-template-columns:1fr!important;
  }

  .p1-profile6-about{
    width:100%!important;
  }

  .p1-profile6-featured{
    grid-template-columns:1fr!important;
  }

  .p1-profile6-featured__visual{
    min-height:0!important;
    height:auto!important;
    aspect-ratio:16/8.6!important;
  }

  .p1-profile6-featured__image img{
    width:108%!important;
    min-height:108%!important;
    transform:translateX(-50%) scale(1.08)!important;
  }

  .p1-profile6-featured__visual:hover .p1-profile6-featured__image img{
    transform:translateX(-50%) scale(1.10)!important;
  }
}


/* =========================================================
   DISCOVERY INTEGRATION
   Natural public exits from a member profile and empty states.
   ========================================================= */
.p1-profile6-discovery-link{
  margin-top:15px;
  color:#9fc0ff!important;
}
.p1-profile6-discovery-link:hover{color:#fff!important}

.p1-profile6-empty-portfolio__discovery{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:10px;
  color:#2f6df6!important;
  font-size:11px;
  font-weight:850;
  text-decoration:none!important;
}
.p1-profile6-empty-portfolio__discovery:hover{color:#1f5be0!important}

.p1-public-profile-empty__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:24px;
}

@media(max-width:520px){
  .p1-public-profile-empty__actions{flex-direction:column}
  .p1-public-profile-empty__actions .p1-public-button{width:100%}
}

/* Missing-profile pages use the shared main-shell minimum height already.
   Remove only the normal long-page footer spacing so the 404 state fits the
   viewport without an unnecessary scroll. */
.p1-public-main.p1-public-member-profile--not-found + .p1-public-footer{
  margin-top:0;
}
