/* INFERTILITY ARTICLES PAGE («Άρθρα για Υπογονιμότητα», LIVE /ypogonimotita-2/). Loaded after tokens.css + site-chrome.css
   (locked global header/footer, untouched here). Owner rule (2026-09-28): content locked, presentation free.
   Personality: a quiet, scientific knowledge hub. Dark petrol hero with a custom abstract artwork (cell/ovum + gold orbit),
   the first article as a featured story rising out of the hero, the other three as one connected reading path
   (a gold line with a node per article). Mobile: the path turns vertical, cards become compact rows. */
:root{--y-gutter:clamp(20px,4vw,72px);--y-max:1240px;--y-ov:clamp(96px,10vw,176px)}
.page-ypogonimotita .callband{margin:0}

/* ---------- hero ---------- */
/* owner (2026-09-28): not flat/monochrome — light falls in from the top (brighter petrol under the header), fades into
   deep graphite at the bottom, with a soft aqua bloom top-left, a faint warm gold haze low-left and flowing contour lines */
.yh{position:relative;isolation:isolate;overflow:hidden;color:#fff;
  background:radial-gradient(ellipse 48% 62% at 8% -6%,rgba(120,206,216,.34) 0%,rgba(120,206,216,0) 70%),
             radial-gradient(ellipse 42% 48% at 26% 104%,rgba(232,201,90,.13) 0%,rgba(232,201,90,0) 70%),
             radial-gradient(ellipse 55% 75% at 76% 45%,rgba(11,143,163,.34) 0%,rgba(11,143,163,0) 70%),
             linear-gradient(180deg,#0B5B68 0%,#07464F 30%,#0A3036 64%,#121C1F 100%)}
.yh::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.55;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 700' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.09' stroke-width='1.2'%3E%3Cpath d='M-40 520C220 430 380 610 640 520S1060 330 1480 420'/%3E%3Cpath d='M-40 560C230 470 390 650 650 560S1070 370 1480 460'/%3E%3Cpath d='M-40 600C240 510 400 690 660 600S1080 410 1480 500'/%3E%3Cpath d='M-40 640C250 550 410 730 670 640S1090 450 1480 540'/%3E%3C/g%3E%3Cpath d='M-40 480C210 390 370 570 630 480S1050 290 1480 380' fill='none' stroke='%23E8C95A' stroke-opacity='.22' stroke-width='1.4'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  -webkit-mask:linear-gradient(90deg,#000 0%,#000 45%,rgba(0,0,0,.25) 75%,transparent 100%);mask:linear-gradient(90deg,#000 0%,#000 45%,rgba(0,0,0,.25) 75%,transparent 100%)}
.yh::after{content:"";position:absolute;inset:auto 0 0 0;height:1px;background:linear-gradient(90deg,transparent,rgba(232,201,90,.35),transparent)}
.yh__in{width:min(100% - 2 * var(--y-gutter),var(--y-max));margin-inline:auto;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);
  align-items:center;gap:clamp(24px,4vw,72px);min-height:clamp(440px,40vw,620px);padding:clamp(40px,4vw,64px) 0 calc(var(--y-ov) + clamp(24px,3vw,48px))}
.yh .crumbs ol{color:#A9C3C7;margin-bottom:clamp(18px,2.2vw,30px)}
.yh .crumbs a{color:#fff;text-decoration-color:rgba(255,255,255,.35);text-underline-offset:3px}
.yh .crumbs a:hover{color:var(--gold)}
/* final QA 2026-09-28: max 88px (was 96px) — at 1920 «Υπογονιμότητα» was 20px wider than its column */
.yh__h{margin:0;max-width:11ch;font-size:clamp(44px,6.2vw,88px);line-height:1.02;letter-spacing:-.03em;font-weight:var(--fw-h);color:#fff;text-wrap:balance}
.yh__h::after{content:"";display:block;width:clamp(56px,6vw,96px);height:3px;border-radius:3px;background:var(--gold);margin-top:clamp(22px,2.6vw,36px)}
.yh__visual{position:relative;justify-self:end;width:min(118%,680px);aspect-ratio:1;margin-block:-10%;margin-right:-6%}
.yh__art{display:block;width:100%;height:100%;overflow:visible}
.yh__grid{-webkit-mask:radial-gradient(circle at 50% 50%,#000 30%,transparent 70%);mask:radial-gradient(circle at 50% 50%,#000 30%,transparent 70%)}
.yh__art .m1,.yh__art .m2,.yh__art .m3{fill:none;stroke:#fff}
.yh__art .m1{stroke-opacity:.38;stroke-width:1.6}
.yh__art .m2{stroke-opacity:.1;stroke-width:22}
.yh__art .m3{stroke-opacity:.2;stroke-width:1;stroke-dasharray:1 6}
.yh__art .orb{fill:none;stroke:var(--gold);stroke-opacity:.7;stroke-width:1.6}
.yh__art .sat{fill:var(--gold)}.yh__art .sat--s{fill-opacity:.7}
.yh__orbit{transform-origin:400px 400px;animation:y-orbit 60s linear infinite}
@keyframes y-orbit{to{transform:rotate(360deg)}}

/* ---------- library ---------- */
/* the library rises out of the hero on a soft arch (same gentle-curve language as the approved pages) */
.ylib{--y-arch:clamp(24px,4vw,64px);display:flow-root;position:relative;background:var(--off);padding-bottom:clamp(64px,8vw,128px);margin-top:calc(-1 * var(--y-arch));border-radius:50% 50% 0 0 / var(--y-arch) var(--y-arch) 0 0}
.ylib__in{margin-top:var(--y-arch)}
.ylib__in{width:min(100% - 2 * var(--y-gutter),var(--y-max));margin-inline:auto;position:relative;top:calc(-1 * var(--y-ov));margin-bottom:calc(-1 * var(--y-ov))}
.ylib ol{list-style:none;margin:0;padding:0}
.yart__card{position:relative;background:#fff;border-radius:28px;overflow:hidden;box-shadow:0 30px 60px -36px rgba(17,25,34,.35),0 2px 6px rgba(17,25,34,.04);
  transition:transform var(--m-normal,.3s) var(--ease-std,ease),box-shadow var(--m-normal,.3s) var(--ease-std,ease)}
.yart__card:hover{transform:translateY(-4px);box-shadow:0 36px 70px -34px rgba(17,25,34,.42),0 2px 6px rgba(17,25,34,.05)}
.yart__media{display:block;overflow:hidden;background:#dfe7e8}
.yart__media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease-std,ease)}
.yart__card:hover .yart__media img{transform:scale(1.035)}
.yart__body{position:relative;display:flex;flex-direction:column;align-items:flex-start}
.yart__n{margin:0 0 10px;display:flex;align-items:center;gap:12px;font-size:14px;font-weight:var(--fw-h);letter-spacing:.12em;color:var(--gold-t);font-variant-numeric:tabular-nums}
.yart__n::after{content:"";width:36px;height:2px;border-radius:2px;background:var(--gold)}
.yart__t{margin:0;font-weight:var(--fw-h);letter-spacing:-.015em;line-height:1.2;color:var(--ink)}
.yart__t a{color:inherit;text-decoration:none}
.yart__t a::after{content:"";position:absolute;inset:0;z-index:1}            /* whole card = the title link (one tab stop) */
.yart__t a:focus-visible{outline:none}
.yart__card:focus-within{outline:3px solid var(--focus);outline-offset:3px}
.yart__card:hover .yart__t{color:var(--petrol)}
.yart__arr{flex:none;margin-top:auto;box-sizing:content-box;padding:12px;border-radius:50%;color:var(--petrol);border:1.5px solid rgba(5,116,133,.35);
  transition:background var(--m-fast,.15s) ease,color var(--m-fast,.15s) ease,transform var(--m-fast,.15s) ease}
.yart__card:hover .yart__arr{background:var(--petrol);color:#fff;transform:translateX(3px)}

/* featured story */
.yart--feat .yart__card{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)}
.yart--feat .yart__media{aspect-ratio:16/10}
.yart--feat .yart__body{padding:clamp(28px,3.4vw,56px);justify-content:center;gap:0}
.yart--feat .yart__t{font-size:clamp(26px,2.7vw,40px);margin-bottom:clamp(24px,3vw,40px)}
.yart--feat .yart__arr{margin-top:0}

/* reading path */
.ylib__path{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,2.4vw,36px);margin-top:clamp(56px,6vw,96px)!important;padding-top:44px!important}
.ylib__path::before{content:"";position:absolute;top:8px;left:calc(100% / 6);right:calc(100% / 6);height:2px;border-radius:2px;
  background:linear-gradient(90deg,var(--gold),rgba(232,201,90,.45))}
.yart--step{position:relative}
.yart--step::before{content:"";position:absolute;top:-44px;left:50%;width:18px;height:18px;margin-left:-9px;border-radius:50%;background:var(--off);border:2px solid var(--gold);box-sizing:border-box}
.yart--step .yart__card{height:100%;display:flex;flex-direction:column}
.yart--step .yart__media{aspect-ratio:4/3}
.yart--step .yart__body{flex:1;padding:clamp(22px,2vw,30px)}
.yart--step .yart__t{font-size:clamp(20px,1.6vw,24px);margin-bottom:22px}

/* ---------- tablet ---------- */
@media (max-width:1023px){
  .yart--feat .yart__card{grid-template-columns:1fr}
  .yart--feat .yart__media{aspect-ratio:16/9}
  .yart--feat .yart__body{flex-direction:row;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;column-gap:24px}
  .yart--feat .yart__n{flex-basis:100%}
  .yart--feat .yart__t{flex:1;margin-bottom:0}
}
/* ---------- path turns vertical: compact rows on a gold line ---------- */
@media (max-width:899px){
  .ylib__path{grid-template-columns:1fr;gap:18px;padding:0 0 0 34px!important;margin-top:40px!important}
  .ylib__path::before{top:24px;bottom:24px;left:8px;right:auto;width:2px;height:auto;background:linear-gradient(180deg,var(--gold),rgba(232,201,90,.45))}
  .yart--step::before{top:50%;left:-34px;margin:-9px 0 0 0}
  .yart--step .yart__card{flex-direction:row;border-radius:22px}
  .yart--step .yart__media{flex:0 0 38%;aspect-ratio:auto;min-height:132px}
  .yart--step .yart__body{padding:18px 18px 18px 20px}
  .yart--step .yart__n{margin-bottom:6px}
  .yart--step .yart__t{font-size:18px;margin-bottom:12px}
  .yart--step .yart__arr{padding:9px;width:18px;height:18px}
}
/* ---------- mobile: its own composition ---------- */
@media (max-width:767px){
  :root{--y-ov:72px}
  .yh__in{grid-template-columns:1fr;min-height:0;gap:0;padding:22px 0 calc(var(--y-ov) + 30px)}
  .yh__text{position:relative;z-index:1}
  .yh .crumbs ol{margin-bottom:16px}
  .yh__h{font-size:clamp(38px,11.2vw,52px);max-width:none}
  .yh__visual{position:absolute;z-index:-1;right:-34%;top:-6%;width:92%;margin:0;opacity:.75}
  .yart__card{border-radius:22px}
  .yart--feat .yart__media{aspect-ratio:16/10}
  .yart--feat .yart__body{padding:22px 20px 24px}
  .yart--feat .yart__t{font-size:clamp(23px,6.6vw,28px)}
  .ylib__path{padding-left:28px!important}
  .ylib__path::before{left:6px}
  .yart--step::before{left:-28px;width:16px;height:16px;margin-top:-8px}
  .yart--step .yart__media{flex-basis:36%;min-height:118px}
  .yart--step .yart__body{padding:14px 14px 14px 16px}
  .yart--step .yart__t{font-size:16.5px;line-height:1.25;margin-bottom:10px;hyphens:auto}
}
@media (prefers-reduced-motion:reduce){
  .yh__orbit{animation:none}
  .yart__card,.yart__media img,.yart__arr{transition:none}
  .yart__card:hover,.yart__card:hover .yart__media img{transform:none}
}
