/* Study areas occupy equal halves; details stay within the reading flow. */
.studies-section--inline .studies-heading{display:block;margin-bottom:48px}
.studies-section--inline .studies-heading h2{max-width:1140px;font-size:clamp(43px,5.2vw,76px);line-height:1.06}
.studies-section--inline .study-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;border:0;margin-bottom:42px}
.studies-section--inline .study-tabs>button{position:relative;min-width:0;min-height:140px;margin:0;padding:30px 36px;border:1px solid #21483f4d;border-radius:3px;gap:24px;background:var(--ivory);color:var(--green);font:500 clamp(29px,3vw,43px)/1.1 var(--serif);letter-spacing:-.025em;text-align:left;transition:background .2s,color .2s,border-color .2s}
.studies-section--inline .study-tabs>button:hover{background:#e8ecdf;border-color:var(--green)}
.studies-section--inline .study-tabs>button[aria-selected=true]{background:var(--green);border-color:var(--green);color:var(--ivory)}
.studies-section--inline .study-tabs .icon{width:25px;height:25px;flex:none}
.studies-section--inline .panel-description{max-width:760px;margin-bottom:35px}
.studies-section--inline .study-card{position:relative;border-color:#21483f70}
.studies-section--inline .study-card.is-expanded{border-color:var(--sand)}
.studies-section--inline .study-more:after{content:"";position:absolute;inset:0}
.studies-section--inline .study-card:hover h3{color:#477261}
.studies-section--inline .study-card:has(.study-more:focus-visible){outline:2px solid var(--sand);outline-offset:8px}
.studies-section--inline .study-more[aria-expanded=true] .icon{transform:rotate(45deg)}
.study-detail-panel{grid-column:1/-1;order:1;padding:clamp(24px,3.4vw,48px);background:var(--ivory);border-top:1px solid #b38d6080;border-radius:3px;scroll-margin-top:calc(var(--header-height) + 24px)}
.study-detail-panel[hidden]{display:none}
.study-detail-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:32px}
.study-detail-heading .eyebrow{font-size:10px;letter-spacing:.1em;line-height:1.8;margin-bottom:12px}
.study-detail-heading h4{margin:0;font:500 clamp(39px,4.3vw,62px)/1.05 var(--serif);letter-spacing:-.03em}
.study-detail-close{display:inline-flex;align-items:center;justify-content:center;gap:10px;flex:none;min-height:44px;padding:10px 0 10px 12px;font-size:11px}
.study-detail-close .icon{width:18px;height:18px}
.study-detail-close:hover span{text-decoration:underline;text-underline-offset:4px}
.study-detail-body{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:clamp(28px,4vw,64px);align-items:start}
.study-detail-figure{margin:0;min-width:0}
.study-detail-image{aspect-ratio:1.18;overflow:hidden;background:#152326;border-radius:3px}
.study-detail-image img{width:100%;height:100%;object-fit:cover}
.study-detail-image--gold img{object-position:50% 43%}
.study-detail-image.study-detail-image--cells{aspect-ratio:594/394;background:transparent}
.study-detail-image--cells img{object-fit:contain;mask-image:radial-gradient(ellipse 65% 65% at 50% 50%,#000 58%,transparent 100%);-webkit-mask-image:radial-gradient(ellipse 65% 65% at 50% 50%,#000 58%,transparent 100%)}
.study-detail-image.study-detail-image--tumoral{background:transparent;aspect-ratio:590/390;border-radius:0}
.study-detail-image--tumoral img{object-fit:cover;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent),linear-gradient(180deg,transparent,#000 7%,#000 93%,transparent);-webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent),linear-gradient(180deg,transparent,#000 7%,#000 93%,transparent);mask-composite:intersect}
.study-detail-figure figcaption{font-size:10px;line-height:1.7;color:var(--muted);margin-top:12px}
.study-detail-copy{min-width:0}
.study-detail-copy>p{font-size:13px;line-height:1.9;color:var(--muted)}
.study-detail-copy .study-detail-intro{font-size:14px;color:var(--green)}
.study-detail-copy h5{font-size:13px;line-height:1.7;font-weight:500;margin:24px 0 13px}
.study-detail-copy ul{padding:0;margin:0 0 22px;list-style:none}
.study-detail-copy li{position:relative;padding-left:17px;margin:12px 0;font-size:12px;line-height:1.85;color:var(--muted)}
.study-detail-copy li:before{content:"";position:absolute;left:0;top:.8em;width:4px;height:4px;background:var(--sand);border-radius:50%}
.study-detail-copy .study-detail-note{font-size:12px}
.study-detail-copy .text-link{margin-top:18px;font-size:12px}
@media(max-width:1000px){.studies-section--inline .study-tabs>button{min-height:124px;padding:26px}.study-detail-body{gap:30px}.study-detail-image{aspect-ratio:1}}
@media(max-width:700px){.studies-section--inline .studies-heading{margin-bottom:32px}.studies-section--inline .studies-heading h2{font-size:clamp(39px,10.8vw,56px);line-height:1.08}.studies-section--inline .studies-heading h2>br{display:none}.studies-section--inline .study-tabs{gap:12px;margin-bottom:29px}.studies-section--inline .study-tabs>button{min-height:112px;padding:20px 14px;gap:0;font-size:clamp(21px,5.6vw,30px);line-height:1.15}.studies-section--inline .study-tabs .icon{display:none}.studies-section--inline .panel-description{font-size:12px;margin-bottom:30px}.studies-section--inline .study-grid{gap:30px}.study-detail-panel{order:0;margin-top:-12px;padding:24px;scroll-margin-top:calc(var(--header-height) + 18px)}.study-detail-heading{gap:14px;margin-bottom:23px}.study-detail-heading .eyebrow{font-size:9px;letter-spacing:.06em;margin-bottom:10px}.study-detail-heading h4{font-size:39px}.study-detail-close{padding:0;width:32px;min-height:32px}.study-detail-close>span{display:none}.study-detail-body{grid-template-columns:1fr;gap:25px}.study-detail-image{aspect-ratio:1.38;max-height:300px}.study-detail-copy .study-detail-intro{font-size:13px}.study-detail-copy h5{margin-top:22px}.study-detail-copy li{font-size:12px}.study-detail-figure figcaption{font-size:9px;margin-top:9px}.study-detail-copy .text-link{font-size:11px;gap:14px}}
@media(max-width:380px){.studies-section--inline .study-tabs>button{font-size:19px;padding:18px 10px}}
@media(prefers-reduced-motion:reduce){.studies-section--inline .study-tabs>button{transition:none}}

/* Preimplantation studies: the visual and purpose are readable before expansion. */
.studies-section--inline .reproductive-study-card{padding:0;border:1px solid #21483f29;border-radius:4px;overflow:hidden;background:var(--ivory)}
.studies-section--inline .reproductive-study-card.is-expanded{border-color:var(--sand)}
.study-card-visual{position:relative;margin:0;aspect-ratio:420/288;background:#e6ebdd;overflow:hidden}
.study-card-visual img{width:100%;height:100%;object-fit:contain}
.study-visual-category{position:absolute;right:16px;bottom:15px;padding:5px 8px;background:#f5f3e8e6;color:var(--green);font-size:9px;line-height:1.4;letter-spacing:.1em;border:1px solid #21483f1a;border-radius:2px}
.study-card-copy{display:flex;flex:1;flex-direction:column;min-width:0;padding:25px clamp(20px,2vw,30px) 23px;container-type:inline-size}
.studies-section--inline .reproductive-study-card h3{margin:0 0 17px;color:var(--green);font-family:var(--serif);font-size:inherit;line-height:1.1;letter-spacing:0}
.reproductive-study-card .study-code{display:block;font-size:clamp(40px,4vw,55px);letter-spacing:-.035em;margin-bottom:14px}
.reproductive-study-card .study-card-title{display:block;white-space:nowrap;font-size:clamp(16px,7cqw,26px);line-height:1.2;letter-spacing:-.025em}
.reproductive-study-card .study-card-summary{flex:1;margin:0 0 27px;font-size:13px;line-height:1.8;color:var(--muted)}
.study-card-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:18px}
.study-consult{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;font-size:12px;font-weight:500;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}
.study-consult .icon{width:16px;height:16px;transition:transform .2s}
.study-consult:hover .icon{transform:translate(2px,-2px)}
.studies-section--inline .reproductive-study-card .study-more{flex:none;width:auto;gap:8px;margin:0;padding:0;border:0;min-height:44px;font-size:11px;color:var(--muted)}
.studies-section--inline .reproductive-study-card .study-more:after{content:none}
.reproductive-study-card .study-more .icon{width:14px;height:14px}
.reproductive-study-card .study-more:hover{color:var(--green)}
.study-visual-note{margin:24px 0 0;font-size:11px;line-height:1.7;color:var(--muted)}
.study-detail-panel--reproductive .study-detail-heading{margin-bottom:20px}
.study-detail-panel--reproductive .study-detail-body{grid-template-columns:minmax(0,1fr) auto;gap:40px;align-items:end}
.study-detail-panel--reproductive .study-detail-copy{max-width:740px}
.study-detail-panel--reproductive .study-detail-copy ul{margin-top:15px;margin-bottom:15px}
.study-detail-panel--reproductive .study-detail-body>.text-link{white-space:nowrap;font-size:12px}
.a11y-text-large .reproductive-study-card .study-card-summary{font-size:17px;line-height:1.8}
.a11y-text-large :is(.study-consult,.reproductive-study-card .study-more){font-size:14px!important}
.a11y-text-large .study-card-actions{flex-wrap:wrap}
.a11y-high-contrast .reproductive-study-card{border-color:var(--green)}
.reproductive-page .specialty-studies .section-heading{flex-wrap:wrap;gap:24px 40px}
.reproductive-page .specialty-studies .section-heading>div{flex:1 1 650px;min-width:0;container-type:inline-size}
.reproductive-page #specialty-studies-heading{white-space:nowrap;font-size:clamp(23px,8cqw,80px);line-height:1.08}
@media(min-width:701px) and (max-width:1000px){
  .study-card-copy{padding:22px 19px 19px}
  .study-card-actions{flex-wrap:wrap;gap:0}
}
@media(min-width:701px) and (max-width:900px){
  .studies-section--inline .reproductive-study-grid{grid-template-columns:1fr}
  .studies-section--inline .reproductive-study-card{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
  .reproductive-study-card .study-card-visual{aspect-ratio:auto;min-height:240px}
}
@media(max-width:700px){
  .studies-section--inline .reproductive-study-grid{gap:26px}
  .study-card-visual{aspect-ratio:420/268}
  .study-card-copy{padding:25px 25px 21px}
  .reproductive-study-card .study-code{font-size:49px;margin-bottom:12px}
  .reproductive-study-card .study-card-summary{margin-bottom:23px;font-size:13px}
  .study-detail-panel--reproductive .study-detail-body{grid-template-columns:1fr;gap:12px}
  .study-visual-note{margin-top:20px}
}
@media(max-width:380px){
  .study-card-copy{padding:23px 20px 19px}
  .study-card-actions{flex-wrap:wrap;gap:0 14px}
}

/* Oncology: genuine photographs and concise purposes stay visible on each card. */
.studies-section--inline .oncology-study-card{padding:0;border:1px solid #21483f29;border-radius:4px;overflow:hidden;background:var(--ivory)}
.studies-section--inline .oncology-study-card.is-expanded{border-color:var(--sand)}
.oncology-study-card .study-card-visual img{object-fit:cover}
.oncology-study-card:first-child .study-card-visual img{object-position:50% 37%}
.studies-section--inline .oncology-study-card h3{margin:0 0 17px;color:var(--green);font:500 1em/1.1 var(--serif);letter-spacing:0}
.oncology-study-card .study-code{display:block;white-space:nowrap;font-size:clamp(23px,10.5cqw,43px);letter-spacing:-.035em;margin-bottom:14px}
.oncology-study-card .study-card-title{display:block;white-space:nowrap;font-size:clamp(16px,6.8cqw,25px);line-height:1.2;letter-spacing:-.025em}
.oncology-study-card .study-card-summary{flex:1;margin:0 0 27px;font-size:13px;line-height:1.8;color:var(--muted)}
.studies-section--inline .oncology-study-card .study-more{flex:none;width:auto;gap:8px;margin:0;padding:0;border:0;min-height:44px;font-size:11px;color:var(--muted)}
.studies-section--inline .oncology-study-card .study-more:after{content:none}
.oncology-study-card .study-more .icon{width:14px;height:14px}
.oncology-study-card .study-more:hover{color:var(--green)}
.study-detail-panel--compact .study-detail-heading{margin-bottom:20px}
.study-detail-panel--compact .study-detail-body{grid-template-columns:minmax(0,1fr) auto;gap:40px;align-items:end}
.study-detail-panel--compact .study-detail-copy{max-width:740px}
.study-detail-panel--compact .study-detail-copy ul{margin-block:15px}
.study-detail-panel--compact .study-detail-body>.text-link{white-space:nowrap;font-size:12px}
.study-detail-panel--compact .study-detail-heading h4{white-space:nowrap;font-size:clamp(25px,5vw,56px)}
.a11y-text-large .oncology-study-card .study-card-summary{font-size:17px;line-height:1.8}
.a11y-text-large .oncology-study-card .study-more{font-size:14px!important}
.a11y-high-contrast .oncology-study-card{border-color:var(--green)}
.oncology-page .specialty-hero-copy{container-type:inline-size}
.oncology-page .specialty-hero-copy>h1{max-width:none;white-space:nowrap;font-size:clamp(28px,9.2cqw,104px);line-height:1.06;letter-spacing:-.035em}
.oncology-page .specialty-hero-photo{object-position:65% 50%}
.oncology-page .specialty-intro>div:first-child{min-width:0;container-type:inline-size}
.oncology-page .faq-heading{min-width:0;container-type:inline-size}
.oncology-page .faq-heading h2{white-space:nowrap;font-size:clamp(25px,11cqw,60px);line-height:1.12}
.oncology-page .specialty-intro h2{white-space:nowrap;font-size:clamp(25px,10cqw,64px);line-height:1.12}
.oncology-page .specialty-studies .section-heading{flex-wrap:wrap;gap:24px 40px}
.oncology-page .specialty-studies .section-heading>div{flex:1 1 650px;min-width:0;container-type:inline-size}
.oncology-page #specialty-studies-heading{white-space:nowrap;font-size:clamp(23px,8cqw,80px);line-height:1.08}
@media(min-width:701px) and (max-width:900px){
  .studies-section--inline .oncology-grid{grid-template-columns:1fr}
  .studies-section--inline .oncology-study-card{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
  .oncology-study-card .study-card-visual{aspect-ratio:auto;min-height:260px}
}
@media(max-width:700px){
  .studies-section--inline .oncology-grid{gap:26px}
  .oncology-study-card .study-card-summary{margin-bottom:23px}
  .study-detail-panel--compact .study-detail-body{grid-template-columns:1fr;gap:12px}
  .study-detail-panel--compact .study-detail-body>.text-link{white-space:normal}
  .study-detail-panel--compact .study-detail-heading>div{min-width:0;flex:1;container-type:inline-size}
  .study-detail-panel--compact .study-detail-heading h4{font-size:clamp(20px,10cqw,39px)}
}

/* Keep the reproductive hero phrase on a single line at each viewport width. */
.reproductive-page .specialty-hero-copy{container-type:inline-size}
.reproductive-page .specialty-hero-copy>h1{max-width:none;white-space:nowrap;font-size:clamp(22px,9cqw,104px);line-height:1.06;letter-spacing:-.035em}

/* Let the oncology introduction use the available row width. */
.studies-section--inline #panel-oncologia .panel-description{max-width:none}
