/* A simple, image-led homepage in the MPQ / LMU green palette. */
body[data-page="home"] { --home-green: #035f80; background: #ffffff; }
body[data-page="home"] main { overflow: clip; }
body[data-page="home"] .brand { flex-shrink: 1; }
body[data-page="home"] .brand-unit { white-space: normal; }
body[data-page="home"] .site-header { border-top: 4px solid var(--petrol); background: #ffffff; }
body[data-page="home"] .button { background: var(--home-green); border-color: var(--home-green); font-size: var(--t-sm); padding: 12px 20px; gap: 10px; }
body[data-page="home"] .button:hover { background: var(--petrol-dark); transform: none; }
body[data-page="home"] .text-link { color: var(--home-green); border-bottom: 0; padding-bottom: 0; font-size: var(--t-sm); }
body[data-page="home"] .text-link:hover { text-decoration: underline; }
.home-hero { position: relative; isolation: isolate; min-height: 340px; display: flex; align-items: center; background: #02212d; color: #ffffff; }
.home-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 49%; z-index: -2; }
.home-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(2,33,45,.88),rgba(2,33,45,.62) 38%,rgba(2,33,45,.06) 78%); }
.home-hero-content { padding-block: 40px 46px; }
.home-hero .eyebrow { font-size: var(--t-xs); letter-spacing: .14em; color: #a4d4e6; }
.home-hero h1 { font-size: var(--fs-display); line-height: 1.04; letter-spacing: -.035em; margin: 14px 0; }
.home-hero-content > p:last-child { font-size: var(--t-xl); line-height: 1.6; color: #ffffff; }
.hero-caption { position: absolute; right: 28px; bottom: 18px; font-size: var(--t-xs); background: #02212dc9; padding: 4px 9px; }
.home-about { display: grid; grid-template-columns: 1.15fr 1fr; gap: 100px; padding-block: 60px 64px; }
.home-about .eyebrow { color: var(--home-green); margin-bottom: 16px; }
.home-about h2 { font-size: var(--t-3xl); line-height: 1.12; letter-spacing: -.025em; margin-bottom: 23px; }
.home-about-copy > p:not(.eyebrow) { font-size: var(--t-md); line-height: 1.75; color: #5d5d5d; max-width: 560px; }
.home-about-copy strong { font-weight: 600; color: var(--ink); }
.home-about-links { display: flex; align-items: center; gap: 28px; margin-top: 25px; flex-wrap: wrap; }
.home-labs{margin-top:36px;max-width:480px}
.home-labs h3{font-family:var(--sans);font-size:var(--t-xs);font-weight:600;letter-spacing:.1em;text-transform:uppercase;margin-bottom:12px}
.home-labs ul{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.home-labs li{border-bottom:1px solid var(--line)}
.home-labs a{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:13px 0;text-decoration:none;color:var(--home-green)}
.home-labs strong{font-size:var(--t-md);font-weight:600}
.home-labs small{display:block;font-size:var(--t-xs);line-height:1.5;color:var(--muted);margin-top:2px}
.home-labs a:hover strong{text-decoration:underline;text-underline-offset:4px}
.home-labs .lab-tags{display:flex;margin:0 0 5px}
.home-labs .lab-tag{font-size:var(--t-sm);padding:2px 9px 1px}
.home-labs a>span:first-child{flex:1;min-width:0}
.home-lab-logos{display:flex;align-items:center;gap:14px;flex:none}
.home-lab-logos img{height:34px;width:auto;max-width:130px;object-fit:contain}.home-lab-logos img[src$="bmftr.png"]{height:46px}.home-lab-logos img[src$="erc.webp"]{height:42px}
@media(max-width:600px){.home-lab-logos{gap:10px}.home-lab-logos img{height:24px;max-width:92px}}
.home-experiments { padding-top: 4px; }
.home-experiments h2 { font-size: var(--t-2xl); margin-bottom: 18px; }
.home-experiments ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.home-experiments li { border-bottom: 1px solid var(--line); }
.home-experiments li a { display: flex; justify-content: space-between; align-items: center; gap: 20px; text-decoration: none; padding: 11px 0; font-size: var(--t-sm); line-height: 1.5; }
.home-experiments li a span { color: var(--home-green); }
.home-experiments li a:hover { color: var(--home-green); text-decoration: underline; }
.home-news-section { padding-block: 48px 50px; background: var(--band); border-block: 1px solid #dddddd; }
.home-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.home-section-heading h2 { font-size: var(--t-3xl); letter-spacing: -.025em; }
.home-section-heading .text-link { flex-shrink: 0; }
.home-news-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 27px; }
.home-news-image { display: block; aspect-ratio: 3/2; overflow: hidden; background: #e3e3e3; margin-bottom: 19px; }
.home-news-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.news-image-placeholder { display: flex; height: 100%; align-items: center; justify-content: center; font-family: var(--serif); font-size: var(--t-xl); color: #31515c; }
.home-meta { font-size: var(--t-xs); line-height: 1.6; color: #616161; margin-bottom: 8px; }
.home-meta > span:not(.paper-year) { margin-inline: 3px; }
.home-news-card h3 { font-family: var(--sans); font-weight: 600; font-size: var(--t-lg); line-height: 1.35; letter-spacing: -.02em; margin-bottom: 12px; }
.home-news-card h3 a, .home-paper h3 a { text-decoration: none; }
.home-news-card h3 a:hover, .home-paper h3 a:hover { color: var(--home-green); text-decoration: underline; }
.home-news-summary { font-size: var(--t-sm); line-height: 1.65; color: #5d5d5d; }
.home-guest-affiliation { font-size: var(--t-xs); color: #616161; line-height: 1.6; margin-top: 10px; }
.home-credit { font-size: var(--t-xs); color: #616161; }
.home-publications { padding-block: 52px 38px; }
.home-publications .home-section-heading { flex-wrap: wrap; }
.home-publication-actions { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.home-paper { display: grid; grid-template-columns: 160px minmax(0,1fr) 100px; gap: 28px; padding-block: 23px; border-top: 1px solid var(--line); align-items: start; }
.home-paper.paper-no-image { grid-template-columns: minmax(0,1fr) 100px; }
.home-paper .home-meta { margin: 0 0 7px; }
.home-paper .home-meta .lab-tags { display: inline-flex; margin: 0 0 0 10px; vertical-align: 1px; }
.home-paper .home-meta .lab-tag { font-size: var(--t-xs); padding: 1px 9px 0; }
.paper-teaser-image { display: flex; height: 112px; background: #fff; border: 1px solid #e7e7e7; align-items: center; justify-content: center; }
.paper-teaser img { width: 100%; height: 100%; object-fit: contain; }
.paper-teaser figcaption { font-size: var(--t-xs); line-height: 1.5; color: #616161; margin-top: 5px; }
.paper-teaser figcaption a { text-decoration: none; }
.paper-teaser figcaption a:hover { text-decoration: underline; }
.home-paper h3 { font-size: var(--t-xl); font-weight: 500; line-height: 1.4; letter-spacing: -.015em; }
.paper-venue { font-size: var(--t-sm); color: #616161; margin-top: 8px; }
.paper-links { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 3px; }
.paper-links a { color: var(--home-green); text-decoration: none; font-size: var(--t-sm); font-weight: 600; }
.paper-links a:hover { text-decoration: underline; }
.home-join { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: 32px 45px; border-top: 1px solid var(--line); }
.home-join .eyebrow { color: var(--home-green); font-size: var(--t-xs); margin-bottom: 10px; }
.home-join h2 { font-size: var(--t-2xl); letter-spacing: -.025em; margin-bottom: 12px; }
.home-join p:not(.eyebrow) { color: #5d5d5d; font-size: var(--t-sm); }
.home-join-links { display: flex; flex-direction: column; align-items: center; gap: 15px; flex-shrink: 0; }
.home-seminars { padding-block: 15px 38px; }
.home-seminars > a { display: flex; align-items: baseline; gap: 25px; border-top: 1px solid var(--line); padding-block: 16px; text-decoration: none; }
.home-seminars time { flex-shrink: 0; font-size: var(--t-sm); color: #616161; }
.home-seminars a:hover { text-decoration: underline; }
@media (max-width: 1050px) {
  .home-about { gap: 50px; }
  .home-news-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 36px 28px; }
  .home-hero { min-height: 320px; }
}
@media (max-width: 700px) {
  .home-hero { min-height: 280px; }
  .home-hero-content { padding-block: 30px 48px; }
  .home-hero-image { object-position: 60% 50%; }
  .home-hero::after { background: linear-gradient(90deg,#02212de6,#02212d73); }
  .home-hero h1 { font-size: var(--t-4xl); }
  .home-hero .eyebrow { font-size: var(--t-xs); letter-spacing: .1em; }
  .home-hero-content > p:last-child { font-size: var(--t-lg); }
  .hero-caption { right: 20px; bottom: 12px; font-size: var(--t-xs); }
  .home-about { grid-template-columns: 1fr; gap: 38px; padding-block: 36px 40px; }
  .home-about h2 { font-size: var(--t-3xl); }
  .home-about h2 br { display: none; }
  .home-about-copy > p:not(.eyebrow) { font-size: var(--t-md); }
  .home-experiments h2 { font-size: var(--t-2xl); }
  .home-experiments li a { padding-block: 12px; }
  .home-section-heading { gap: 15px; margin-bottom: 23px; }
  .home-section-heading h2 { font-size: var(--t-2xl); }
  .home-section-heading .text-link { font-size: var(--t-xs); }
  .home-news-section { padding-block: 35px; }
  .home-news-grid { gap: 30px 20px; }
  .home-news-card h3 { font-size: var(--t-lg); }
  .home-publications { padding-block: 36px 24px; }
  .home-paper, .home-paper.paper-no-image { grid-template-columns: minmax(0,1fr); gap: 14px; padding-block: 22px; }
  .paper-teaser { width: 150px; }
  .paper-teaser-image { height: 104px; }
  .home-paper h3 { font-size: var(--t-lg); }
  .paper-links { flex-direction: row; gap: 22px; }
  .home-join { flex-direction: column; align-items: flex-start; gap: 22px; padding-block: 30px 36px; }
  .home-join h2 { font-size: var(--t-2xl); }
  .home-join-links { flex-direction: row; flex-wrap: wrap; gap: 20px; }
  .home-seminars > a { flex-wrap: wrap; gap: 8px; }
}
@media (max-width: 480px) {
  .home-news-grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .home-news-image { aspect-ratio: 16/10; margin-bottom: 14px; }
  .home-news-card h3 { font-size: var(--t-xl); }
  .home-news-summary { font-size: var(--t-md); }
  .home-section-heading { align-items: center; }
  .home-publications .home-section-heading h2 { max-width: none; }
  .home-about-links { gap: 22px; }
}
@media print {
  .home-hero { min-height: 240px; }
  .home-hero::after { background: #02212dbb; }
  .home-news-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-about { gap: 30px; }
}

/* Science-led opening and connected research highlights. */
.home-hero h1{font-size:var(--fs-title);max-width:700px}
.home-hero-content .hero-science{font-size:var(--t-lg);line-height:1.65;max-width:610px;color:#ffffff}
.hero-actions{display:flex;align-items:center;gap:27px;flex-wrap:wrap;margin-top:20px}
.hero-join-link{color:#ffffff;font-size:var(--t-md);font-weight:600;text-decoration:underline;text-underline-offset:5px}
.home-experiments li a .experiment-link-copy{color:var(--ink)}
.experiment-link-copy small{display:block;font-size:var(--t-xs);line-height:1.5;color:var(--muted);margin-top:3px;font-weight:400}
.experiment-link-copy small .lab-tags{display:inline-flex;margin:0 8px 0 0;vertical-align:1px}.experiment-link-copy small .lab-tag{font-size:var(--t-xs);padding:1px 7px 0}
.paper-venue,.paper-links a{font-size:var(--t-sm)}
.paper-summary{font-size:var(--t-md);line-height:1.65;color:#5d5d5d;margin-top:12px}
.paper-related{font-size:var(--t-sm);line-height:1.7;margin-top:11px;color:var(--home-green)}
.paper-related a{text-decoration:none}.paper-related a:hover{text-decoration:underline}
.paper-teaser-image{overflow:hidden}
.teaser-detail-gates img{object-fit:cover;transform:scale(1.7);transform-origin:bottom right}
.paper-teaser-image.teaser-detail-strontium{display:block;height:auto;aspect-ratio:410/273}
.teaser-detail-strontium img{width:165.366%;max-width:none;height:auto;object-fit:initial}
@media(max-width:700px){.home-hero h1{font-size:var(--fs-section)}.home-hero-content .hero-science{font-size:var(--t-md)}.home-hero-content{padding-block:28px 46px}.hero-actions{gap:20px}.home-hero .button{font-size:var(--t-sm);padding:11px 15px}.home-hero::after{background:linear-gradient(90deg,#02212df2,#02212db3)}}

/* Refined news cards: consistent 4:3 frame, soft corners, category chip on the image, gentle hover zoom. */
.home-news-image{position:relative;aspect-ratio:4/3;border-radius:6px;border:1px solid rgba(0,0,0,.08);background:#e3e3e3;margin-bottom:14px}
.home-news-image img{transition:transform .6s ease}
.home-news-card:hover .home-news-image img,.home-news-card:focus-within .home-news-image img{transform:scale(1.04)}
.home-news-chip{position:absolute;left:10px;top:10px;background:rgba(255,255,255,.94);color:var(--home-green);font-size:var(--t-xs);font-weight:600;letter-spacing:.08em;text-transform:uppercase;line-height:1;padding:6px 8px;border-radius:3px}
.home-news-card .home-meta{margin-bottom:6px}
@media(max-width:480px){.home-news-image{aspect-ratio:16/10}}

.home-news-split{display:grid;grid-template-columns:1fr 1fr;gap:2px}
.home-news-split img{min-width:0}
.home-news-group h3 a{text-decoration:none}
.home-news-card .home-credit{margin-top:8px}
.home-news-card .home-credit a{color:inherit}

.home-experiments li a .experiment-link-copy{flex:1}
.home-news-chip{border-radius:999px;padding:5px 10px}
