/*
Theme Name: NTHS Lab
Theme URI: https://www.unlv.edu/
Author: NTHS Laboratory
Description: Custom classic WordPress theme for the Nuclear Thermal-Hydraulics & Safety Laboratory at UNLV.
Version: 1.8.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: nths-lab
*/

:root{
  --red:#b32025;--red-bright:#cf2f35;--red-dark:#7f1116;--ink:#111;--ink-2:#242424;--muted:#555a60;--paper:#fff;--soft:#f4f4f2;--soft-2:#ececea;--line:#d7d7d4;--max:1220px;--shadow:0 12px 30px rgba(0,0,0,.10)
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--paper);color:var(--ink);line-height:1.55}a{color:inherit}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:16px;top:16px;z-index:999;background:#fff;padding:10px 14px;border:2px solid var(--red)}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid rgba(0,0,0,.10)}.header-inner{max-width:var(--max);margin:auto;padding:11px 20px;display:flex;align-items:center;justify-content:space-between;gap:22px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;min-width:270px}.brand-mark{display:grid;place-items:center;width:44px;height:44px;background:var(--red);color:#fff;font-weight:900;letter-spacing:-1px;font-size:13px}.brand-copy{display:flex;flex-direction:column;line-height:1.12}.brand-copy strong{font-size:13px}.brand-copy small{margin-top:4px;color:#666;font-size:10px;text-transform:uppercase;letter-spacing:.10em}.site-nav{display:flex;align-items:center;gap:15px}.site-nav a{text-decoration:none;font-size:12px;font-weight:750;letter-spacing:.015em;padding:9px 0;border-bottom:2px solid transparent}.site-nav a:hover,.site-nav a.active{color:var(--red);border-color:var(--red)}.nav-toggle{display:none;border:1px solid var(--line);background:#fff;padding:8px 11px;font-weight:700}
.hero{position:relative;overflow:hidden;background:#111;color:#fff;min-height:550px;display:flex;align-items:center}.hero:before{content:"";position:absolute;inset:-24% -8% auto auto;width:580px;height:580px;border-radius:50%;background:radial-gradient(circle at 35% 35%,rgba(179,32,37,.84),rgba(179,32,37,.05) 64%,transparent 70%)}.hero:after{content:"";position:absolute;right:8%;bottom:-180px;width:500px;height:500px;border:1px solid rgba(255,255,255,.11);border-radius:50%;box-shadow:0 0 0 64px rgba(255,255,255,.022),0 0 0 128px rgba(255,255,255,.014)}.hero-grid{position:relative;z-index:2;width:min(var(--max),calc(100% - 44px));margin:auto;display:grid;grid-template-columns:1.45fr .72fr;gap:72px;align-items:center}.eyebrow{text-transform:uppercase;letter-spacing:.15em;font-size:11px;font-weight:850;color:var(--red);margin:0 0 10px}.hero .eyebrow{color:#ff9295}.hero h1{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:clamp(40px,5.2vw,66px);line-height:1;letter-spacing:-.042em;margin:0;max-width:860px}.hero-lede{font-size:16px;max-width:730px;color:#d7d7d7;margin:22px 0 26px}.hero-actions{display:flex;gap:10px;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:800;font-size:12px;padding:11px 16px;border:1px solid transparent}.button-primary{background:var(--red);color:#fff}.button-primary:hover{background:var(--red-bright)}.button-ghost{border-color:rgba(255,255,255,.45);color:#fff}.button-light{background:#fff;color:#111}.hero-panel{border-left:1px solid rgba(255,255,255,.25);padding-left:24px}.hero-panel-kicker{font-size:10px;letter-spacing:.17em;text-transform:uppercase;color:#aaa;font-weight:800;margin-bottom:14px}.hero-panel ul{list-style:none;padding:0;margin:0}.hero-panel li{padding:10px 0;border-top:1px solid rgba(255,255,255,.13);font-size:14px}.hero-panel li:last-child{border-bottom:1px solid rgba(255,255,255,.13)}
.stat-band{background:var(--red);color:#fff}.stat-grid{max-width:var(--max);margin:auto;display:grid;grid-template-columns:repeat(4,1fr)}.stat{padding:18px 20px;border-right:1px solid rgba(255,255,255,.24)}.stat:last-child{border-right:0}.stat strong{display:block;font-size:16px;letter-spacing:-.015em}.stat span{font-size:10px;text-transform:uppercase;letter-spacing:.12em;opacity:.84}
.section{padding:66px 20px}.section-tight{padding:34px 20px}.section-compact{padding:34px 20px}.section-soft{background:var(--soft)}.section-dark{background:#151515;color:#fff}.container{max-width:var(--max);margin:auto}.section-head{max-width:760px;margin-bottom:30px}.section-head h2,.page-hero h1,.simple-title h1{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.035em}.section-head h2{font-size:clamp(30px,3.3vw,45px);line-height:1.07;margin:0 0 10px}.section-head p{font-size:15px;color:var(--muted);margin:0}.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.card{background:#fff;border:1px solid var(--line);padding:24px;min-height:220px;position:relative;transition:.2s ease}.card:hover{transform:translateY(-2px);box-shadow:var(--shadow);border-color:#bebebb}.card-number{font-weight:900;color:var(--red);font-size:11px;letter-spacing:.13em}.card h3{font-size:20px;line-height:1.2;margin:32px 0 10px}.card p{color:#555a60;margin:0;font-size:14px}.card-link,.text-link{display:inline-block;margin-top:16px;text-decoration:none;color:var(--red);font-weight:800;font-size:12px}.text-link{margin:0}.text-link.light{color:#fff}.home-two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:stretch}.news-panel,.projects-panel{border:1px solid var(--line);min-height:100%;padding:26px}.news-panel{background:#fff}.projects-panel{background:#151515;color:#fff;border-color:#151515}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:14px;border-bottom:2px solid #171717}.panel-head.dark{border-color:#444}.news-list{display:grid}.news-row{display:grid;grid-template-columns:64px 1fr;gap:16px;padding:17px 0;border-bottom:1px solid var(--line)}.news-row:last-child{border-bottom:0}.news-row time{font-size:11px;color:var(--red);font-weight:900}.news-row h3{font-size:16px;line-height:1.3;margin:0 0 5px}.news-row p{font-size:13px;color:#60656a;margin:0}.project-list{display:grid}.project-row{display:grid;grid-template-columns:88px 1fr auto;gap:14px;align-items:center;padding:17px 0;border-bottom:1px solid #393939}.project-row:last-child{border-bottom:0}.project-year{font-size:11px;font-weight:900;color:#ff8b8f;letter-spacing:.06em}.project-row h3{font-size:15px;line-height:1.28;margin:0}.project-meta{font-size:11px;color:#bcbcbc;text-align:right;white-space:nowrap}.compact-band{display:grid;grid-template-columns:1fr auto;align-items:center;gap:28px}.compact-band h2{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:32px;margin:0 0 6px}.compact-band p{margin:0;max-width:850px;color:#bdbdbd;font-size:14px}.cta{background:var(--red);color:#fff;padding:40px;display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center}.cta-compact{padding:30px 34px}.cta h2{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:34px;margin:0 0 5px;line-height:1.05}.cta p{margin:0;color:#f1dfe0;font-size:14px}
.page-hero{background:#171717;color:#fff;padding:58px 20px 52px;position:relative;overflow:hidden}.page-hero:after{content:"";position:absolute;right:-60px;top:-145px;width:400px;height:400px;border-radius:50%;border:68px solid rgba(179,32,37,.42)}.page-hero .container{position:relative;z-index:2}.page-hero h1{font-size:clamp(38px,5.3vw,64px);line-height:1;margin:4px 0 13px;max-width:930px}.page-hero p{max-width:780px;color:#d0d0d0;font-size:16px;margin:0}.page-intro-white{padding-top:50px}.simple-title{margin-bottom:28px;border-bottom:1px solid var(--line);padding-bottom:20px}.simple-title h1{font-size:46px;line-height:1;margin:0 0 8px}.simple-title p:last-child{color:var(--muted);max-width:820px;margin:0}
.research-section{padding-top:44px}.research-program{padding:10px 0 44px;border-bottom:1px solid var(--line);margin-bottom:38px}.research-program:last-child{border-bottom:0;margin-bottom:0}.program-heading h2{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:34px;line-height:1.1;margin:0 0 20px}.topic-grid{display:grid;gap:16px}.topic-grid.three{grid-template-columns:repeat(3,1fr)}.topic-grid.two{grid-template-columns:repeat(2,1fr)}.topic-card{border:1px solid var(--line);background:#fff;overflow:hidden}.topic-image{aspect-ratio:16/8;background:linear-gradient(135deg,#202020,#444);display:grid;place-items:center;color:#bdbdbd;font-size:11px;text-transform:uppercase;letter-spacing:.12em}.topic-copy{padding:18px}.topic-copy h3{font-size:19px;margin:0 0 7px}.topic-copy p{font-size:13px;color:#5c6166;margin:0}
.project-stack{display:grid;gap:10px}.project-card{border:1px solid var(--line);background:#fff;padding:20px 22px;display:grid;grid-template-columns:120px 1fr;gap:22px}.project-card .side{border-right:1px solid var(--line);padding-right:18px}.project-card .side strong{display:block;color:var(--red);font-size:17px}.project-card .side span{display:block;font-size:11px;color:#777;margin-top:4px}.project-card h2{font-size:19px;line-height:1.25;margin:0 0 5px}.project-card .eyebrow{margin-bottom:6px}.project-role{font-size:12px;color:#666;margin:0}
.people-section{padding:28px 0;border-top:1px solid var(--line)}.people-section>h2,.section-title-row h2{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:29px;margin:0 0 18px}.pi-profile{display:grid;grid-template-columns:250px 1fr;gap:34px;align-items:start}.portrait-placeholder{aspect-ratio:4/4.7;background:linear-gradient(145deg,#242424,#090909);position:relative;overflow:hidden;display:grid;place-items:end start;padding:22px;color:white}.portrait-placeholder:before{content:"WJ";position:absolute;right:-6px;top:5px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:125px;line-height:1;color:rgba(255,255,255,.06)}.portrait-placeholder strong{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:25px;line-height:1}.profile-copy h3{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:34px;line-height:1.05;margin:0 0 6px}.profile-copy .role{color:var(--red);font-weight:800;margin-bottom:14px;font-size:13px}.profile-copy p{color:#555a60;font-size:14px}.bio-facts{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:18px}.fact{border-top:2px solid #222;padding-top:9px}.fact strong{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.12em}.fact span{display:block;margin-top:4px;color:#666;font-size:12px}.member-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.member-empty{border:1px solid var(--line);padding:14px;background:#fafafa;min-height:160px}.member-photo{height:78px;background:#e5e5e2;color:#888;display:grid;place-items:center;font-size:10px;text-transform:uppercase;letter-spacing:.1em}.member-empty h3{font-size:15px;margin:12px 0 4px}.member-empty p{color:#777;font-size:12px;margin:0}.section-title-row{display:flex;justify-content:space-between;gap:16px;align-items:baseline}.section-title-row span{font-size:11px;color:#888}.alumni-table{border-top:2px solid #222}.alumni-head,.alumni-row{display:grid;grid-template-columns:1.1fr .7fr 1.2fr;gap:20px;padding:11px 8px;border-bottom:1px solid var(--line);font-size:13px}.alumni-head{font-size:10px;text-transform:uppercase;letter-spacing:.1em;font-weight:800;color:#777;background:#f6f6f4}.source-note{font-size:11px;color:#888;margin-top:10px}
.publications-section{padding-top:40px}.publication-tools{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px;position:sticky;top:67px;background:#fff;padding:10px 0;z-index:5}.filter-button{border:1px solid var(--line);background:#fff;padding:7px 10px;font-size:11px;font-weight:750;cursor:pointer}.filter-button.active{background:#111;color:#fff;border-color:#111}.publication-list{list-style:none;padding:0;margin:0}.publication-item{display:grid;grid-template-columns:66px 1fr;gap:18px;border-top:1px solid var(--line);padding:13px 0}.publication-item:last-child{border-bottom:1px solid var(--line)}.publication-item .year{font-weight:900;color:var(--red);font-size:12px}.publication-item h3{font-size:14px;line-height:1.35;margin:0;font-weight:750}.publication-item p{font-size:11.5px;color:#70757a;margin:3px 0 0}.publication-item em{font-style:normal;color:#444}
.news-archive{display:grid;gap:12px}.news-card{display:grid;grid-template-columns:130px 1fr;gap:26px;padding:22px;border:1px solid var(--line)}.news-card time{font-size:12px;font-weight:900;color:var(--red)}.news-card h2{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:27px;line-height:1.1;margin:0 0 8px}.news-card p{color:#5c6166;margin:0;font-size:14px}
.opportunity-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.op-card{border:1px solid var(--line);padding:24px;background:#fff}.op-card h2{font-size:20px;margin:0 0 10px}.op-card p,.op-card li{color:#555a60;font-size:13px}.op-card ul{padding-left:18px}.contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:34px}.contact-card{background:#171717;color:#fff;padding:30px}.contact-card h2{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:32px;margin:0 0 14px}.contact-card a{color:#fff}.contact-detail{padding:14px 0;border-top:1px solid rgba(255,255,255,.14);font-size:13px}.contact-detail:last-child{border-bottom:1px solid rgba(255,255,255,.14)}.contact-note{background:var(--soft);padding:28px}.contact-note h2{margin-top:0}
.site-footer{background:#0d0d0d;color:#d3d3d3;padding:38px 20px 20px}.footer-grid{max-width:var(--max);margin:auto;display:grid;grid-template-columns:1.4fr .8fr .8fr;gap:36px}.footer-brand{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:21px;color:#fff;line-height:1.15}.footer-copy{color:#888;max-width:420px;font-size:12px}.footer-grid h3{font-size:10px;text-transform:uppercase;letter-spacing:.13em;color:#fff}.footer-grid a{display:block;text-decoration:none;color:#bbb;margin:5px 0;font-size:12px}.footer-grid a:hover{color:#fff}.footer-bottom{max-width:var(--max);margin:24px auto 0;padding-top:13px;border-top:1px solid #292929;font-size:10px;color:#777;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
@media(max-width:1100px){.site-nav{display:none;position:absolute;left:0;right:0;top:67px;background:#fff;border-bottom:1px solid var(--line);padding:14px 20px;flex-direction:column;align-items:flex-start}.site-nav.open{display:flex}.nav-toggle{display:block}.hero-grid{grid-template-columns:1fr;gap:28px;padding:56px 0}.hero{min-height:560px}.hero-panel{max-width:700px}.home-two-col,.pi-profile,.contact-grid{grid-template-columns:1fr}.topic-grid.three{grid-template-columns:repeat(2,1fr)}.stat-grid{grid-template-columns:repeat(2,1fr)}.member-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.header-inner{padding:10px 14px}.brand-copy strong{font-size:11px}.brand-copy small{display:none}.brand{min-width:auto}.brand-mark{width:40px;height:40px}.section{padding:48px 16px}.section-tight,.section-compact{padding:28px 16px}.page-hero{padding:46px 16px 42px}.hero-grid{width:calc(100% - 32px)}.hero h1{font-size:39px}.hero-lede{font-size:15px}.stat-grid,.card-grid,.topic-grid.three,.topic-grid.two,.opportunity-grid,.bio-facts,.member-grid{grid-template-columns:1fr}.stat{border-bottom:1px solid rgba(255,255,255,.2)}.home-two-col{gap:12px}.project-row{grid-template-columns:1fr;gap:6px}.project-meta{text-align:left}.compact-band,.cta{grid-template-columns:1fr}.project-card{grid-template-columns:1fr}.project-card .side{border-right:0;border-bottom:1px solid var(--line);padding:0 0 9px}.simple-title h1{font-size:38px}.program-heading h2{font-size:29px}.publication-item{grid-template-columns:52px 1fr}.publication-tools{top:61px}.alumni-head{display:none}.alumni-row{grid-template-columns:1fr;gap:2px;padding:12px 5px}.news-card{grid-template-columns:1fr;gap:6px}.footer-grid{grid-template-columns:1fr}.cta h2{font-size:29px}}

/* === v4: compactness + visibility refinements === */
:root{
  --muted:#454a4f;
  --line:#c9c9c6;
  --soft:#f1f1ef;
  --shadow:0 8px 22px rgba(0,0,0,.09)
}
body{line-height:1.46}
.header-inner{padding-top:9px;padding-bottom:9px}
.site-nav{gap:14px}
.site-nav a{font-size:12.5px;font-weight:800}
.hero{min-height:485px}
.hero-grid{gap:52px}
.hero h1{max-width:820px}
.hero-lede{margin:16px 0 0;color:#e1e1e1;line-height:1.5}
.hero-panel{padding-left:22px}
.hero-panel li{color:#f1f1f1}
.stat{padding:15px 18px}
.section{padding:48px 20px}
.section-tight,.section-compact{padding:24px 20px}
.section-head{margin-bottom:22px}
.section-head p{color:#4b5055}
.card-grid{gap:12px}
.card{padding:19px;min-height:188px;border-color:#c7c7c3;box-shadow:0 2px 0 rgba(0,0,0,.02)}
.card h3{margin-top:9px;margin-bottom:8px}
.card p{color:#484d52}
.home-two-col{gap:14px}
.news-panel,.projects-panel{padding:20px}
.panel-head{padding-bottom:10px}
.news-row{grid-template-columns:58px 1fr;gap:13px;padding:13px 0}
.news-row h3{font-size:15.5px}
.news-row p{color:#4c5156}
.project-row{grid-template-columns:80px 1fr auto;gap:12px;padding:13px 0}
.compact-band{gap:22px}
.compact-band h2{font-size:29px}
.compact-band p{color:#d1d1d1}
.page-hero{padding:44px 20px 40px}
.page-hero h1{font-size:clamp(34px,4.7vw,56px)}
.page-hero p{color:#dddddd}
.page-intro-white{padding-top:34px}
.simple-title{margin-bottom:20px;padding-bottom:14px}
.simple-title h1{font-size:40px}
.research-section{padding-top:32px}
.research-program{padding:6px 0 30px;margin-bottom:26px}
.program-heading h2{font-size:31px;margin-bottom:14px}
.topic-grid{gap:12px}
.topic-copy{padding:14px 15px}
.topic-copy h3{font-size:17px;margin-bottom:5px}
.topic-copy p{color:#484d52}
.project-stack{gap:8px}
.project-card{padding:15px 18px;grid-template-columns:108px 1fr;gap:18px}
.project-card h2{font-size:17px}
.project-card .side span,.project-role{color:#555b60}
.people-section{padding:20px 0}
.people-section>h2,.section-title-row h2{font-size:27px;margin-bottom:14px}
.pi-profile{grid-template-columns:220px 1fr;gap:26px}
.profile-copy h3{font-size:31px}
.profile-copy p{color:#494e53}
.bio-facts{gap:10px;margin-top:13px}
.member-grid{gap:11px}
.member-empty{min-height:140px;padding:12px}
.alumni-head,.alumni-row{padding-top:9px;padding-bottom:9px}
.no-hero-top{padding-top:22px}
.publications-section{padding-bottom:42px}
.publication-tools{top:63px;margin-bottom:8px;padding:8px 0;border-bottom:1px solid #dededb}
.filter-button{font-size:11.5px;padding:7px 11px;border-color:#bdbdb9}
.publication-item{grid-template-columns:60px 1fr;gap:14px;padding:10px 0}
.publication-item .year{font-size:12.5px}
.publication-item h3{font-size:14px;line-height:1.3;color:#151515}
.publication-item p{font-size:11.5px;color:#555b60;margin-top:2px}
.news-page-section{padding-bottom:42px}
.news-archive{gap:8px}
.news-card{grid-template-columns:112px 1fr;gap:20px;padding:16px 18px;border-color:#c6c6c2;background:#fff}
.news-card h2{font-size:23px;margin-bottom:5px}
.news-card p{font-size:13.5px;color:#4c5156}
.opportunity-grid{gap:11px}
.op-card{padding:18px}
.op-card p,.op-card li{color:#484d52}
.contact-grid{gap:24px}
.contact-card{padding:24px}
.contact-note{padding:22px}
.site-footer{padding:28px 20px 16px}
.footer-grid{gap:28px}
.footer-copy{color:#a2a2a2}
.footer-bottom{margin-top:18px}
@media(max-width:1100px){.hero{min-height:500px}.hero-grid{padding:44px 0;gap:22px}}
@media(max-width:720px){.section{padding:38px 16px}.section-tight,.section-compact{padding:22px 16px}.hero{min-height:auto}.hero-grid{padding:42px 0}.hero h1{font-size:36px}.hero-lede{font-size:14.5px}.page-hero{padding:38px 16px 34px}.no-hero-top{padding-top:16px}.project-row{grid-template-columns:1fr}.pi-profile{grid-template-columns:1fr}.news-card{grid-template-columns:1fr;gap:4px;padding:14px}.publications-section{padding-bottom:34px}}


/* WordPress integration */
html{scroll-behavior:smooth}
body.admin-bar .site-header{top:32px}
@media(max-width:782px){body.admin-bar .site-header{top:46px}}
.site-nav .current-menu-item>a,.site-nav .current_page_item>a,.site-nav a.active{color:var(--red)}
.site-nav .current-menu-item>a:after,.site-nav .current_page_item>a:after,.site-nav a.active:after{width:100%}
.topic-image img,.member-photo img,.nths-featured-image img{width:100%;height:100%;display:block;object-fit:cover}
.member-card{border:1px solid var(--line);background:#fff;overflow:hidden}
.member-card .member-photo{height:150px;background:#e5e5e2}
.member-card .member-copy{padding:13px}
.member-card h3{font-size:16px;margin:0 0 4px}
.member-card .member-role{font-size:11px;color:var(--red);font-weight:800;margin:0 0 6px}
.member-card p{font-size:12px;color:#555b60;margin:0}
.pi-profile .portrait-placeholder.has-image{padding:0;background:#222;overflow:hidden}
.pi-profile .portrait-placeholder.has-image:before{display:none}
.pi-profile .portrait-placeholder.has-image img{width:100%;height:100%;object-fit:cover}
.news-card.has-image{grid-template-columns:112px minmax(0,1fr) 180px}
.news-card .news-thumb{height:105px;overflow:hidden;background:#eee}
.news-card .news-thumb img{width:100%;height:100%;object-fit:cover}
.wp-content{color:#333}.wp-content>*:first-child{margin-top:0}.wp-content>*:last-child{margin-bottom:0}
.admin-setup-note{padding:18px;border:1px dashed #aaa;background:#fafafa;color:#555}
.pagination{display:flex;gap:8px;margin-top:18px}.pagination .page-numbers{padding:6px 9px;border:1px solid var(--line);text-decoration:none}.pagination .current{background:#111;color:#fff}
@media(max-width:720px){.news-card.has-image{grid-template-columns:1fr}.news-card .news-thumb{height:180px}}
/* WordPress menu markup */
.site-nav>ul{display:flex;align-items:center;gap:14px;list-style:none;margin:0;padding:0}
@media(max-width:1100px){.site-nav>ul{flex-direction:column;align-items:flex-start;gap:4px;width:100%}}


/* === v5: larger primary navigation + official UNLV identity === */
.header-inner{max-width:1480px;padding:12px 24px;gap:28px}
.header-identity{display:flex;align-items:center;gap:18px;min-width:430px}
.unlv-logo-link{display:flex;align-items:center;justify-content:center;flex:0 0 auto;padding:4px 12px 4px 0;text-decoration:none}
.unlv-logo{display:block;width:108px;height:auto;object-fit:contain}
.header-divider{width:1px;height:42px;background:#d1d1ce;flex:0 0 auto}
.brand{min-width:0;gap:0}
.brand-copy strong{font-size:14px;line-height:1.18;font-weight:850;max-width:290px}
.brand-copy small{font-size:10.5px;margin-top:4px;color:#555;letter-spacing:.095em}
.site-nav{gap:22px;margin-left:auto}
.site-nav>ul{gap:22px}
.site-nav a{font-size:16.5px;font-weight:800;letter-spacing:.005em;padding:12px 0 10px;white-space:nowrap}
.nav-toggle{font-size:15px;padding:9px 13px}

@media(max-width:1280px){
  .header-inner{padding:10px 20px}
  .header-identity{min-width:0}
  .site-nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--line);padding:14px 20px;flex-direction:column;align-items:flex-start;margin-left:0}
  .site-nav.open{display:flex}
  .site-nav>ul{flex-direction:column;align-items:flex-start;gap:2px;width:100%}
  .site-nav a{font-size:17px;padding:10px 0}
  .nav-toggle{display:block}
}
@media(max-width:720px){
  .header-inner{padding:9px 14px;gap:12px}
  .header-identity{gap:10px;max-width:calc(100% - 74px)}
  .unlv-logo-link{padding-right:8px}
  .unlv-logo{width:82px}
  .header-divider{height:34px}
  .brand-copy strong{font-size:11.5px;line-height:1.15;max-width:190px}
  .brand-copy small{display:none}
  .site-nav{top:100%}
}


/* === v1.2: unified Inter typography === */
:root{--font-sans:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
html,body,button,input,textarea,select{font-family:var(--font-sans)}
h1,h2,h3,h4,h5,h6,.hero h1,.section-head h2,.page-hero h1,.simple-title h1,.compact-band h2,.cta h2,.program-heading h2,.people-section>h2,.section-title-row h2,.profile-copy h3,.portrait-placeholder strong,.news-card h2,.contact-card h2,.footer-brand{font-family:var(--font-sans)}
.hero h1,.page-hero h1,.simple-title h1{font-weight:800;letter-spacing:-.045em}
.section-head h2,.program-heading h2,.profile-copy h3,.news-card h2,.contact-card h2,.footer-brand{font-weight:750;letter-spacing:-.025em}
.card h3,.topic-copy h3,.project-card h2,.project-row h3,.news-row h3,.op-card h2,.member-card h3{font-weight:750;letter-spacing:-.01em}
.site-nav a,.button,.filter-button,.eyebrow,.card-number,.project-year,.publication-item .year{font-family:var(--font-sans)}

/* === v1.3: research media galleries, stacked topics, compact contact, linked publications, Home images === */
.home-research-cards{padding-top:36px;padding-bottom:42px}
.home-card-grid{align-items:stretch}
.home-research-card{padding:0;overflow:hidden;display:flex;flex-direction:column;min-height:0;background:#fff}
.home-card-image-wrap,.home-card-image-placeholder{height:178px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:center;overflow:hidden}
.home-card-image-wrap img.home-card-media{width:100%;height:100%;display:block;object-fit:cover;background:#fff}
.home-card-image-placeholder span{font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#777}
.home-card-copy{padding:16px 18px 17px;display:flex;flex-direction:column;flex:1}
.home-card-copy .card-link{margin-top:auto;padding-top:10px}

.research-section{padding-top:28px}
.research-program{padding:4px 0 28px;margin-bottom:24px}
.topic-stack{display:flex;flex-direction:column;gap:14px}
.research-topic-row{border:1px solid var(--line);background:#fff;box-shadow:0 2px 0 rgba(0,0,0,.02);padding:18px 18px 16px}
.research-topic-row .topic-copy{padding:0 0 14px;border-bottom:1px solid #e1e1de;margin-bottom:14px}
.research-topic-row .topic-copy h3{font-size:21px;margin:0 0 6px;font-weight:800;color:#111}
.topic-description,.topic-description p{font-size:13.5px;line-height:1.5;color:#444a4f;margin:0}
.research-media-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;background:#fff}
.research-media-gallery.has-single{grid-template-columns:minmax(260px,760px)}
.research-media-item{margin:0;background:#fff;border:1px solid #e1e1de;min-height:160px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.research-media-item img.research-media{display:block;width:100%;height:auto;max-height:480px;object-fit:contain;background:#fff}
.research-media-placeholder{min-height:180px;background:#fff;border:1px dashed #c3c3bf;display:flex;align-items:center;justify-content:center;color:#777;font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
/* Explicitly neutralize the former dark/gradient image background. */
.topic-image,.research-media-item,.research-media-gallery{background:#fff!important}

.contact-section{padding-top:34px;padding-bottom:42px}
.contact-stack{display:flex;flex-direction:column;gap:10px;max-width:780px}
.contact-card{padding:22px 24px;max-width:780px}
.contact-card h2{font-size:29px;margin-bottom:10px}
.contact-detail{padding:10px 0}
.contact-note-compact{padding:12px 15px;background:#f3f3f1;border:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:18px;max-width:780px}
.contact-note-compact .eyebrow{margin-bottom:4px}
.contact-address{font-size:12px;color:#4c5156;margin:0;line-height:1.4}
.profile-links{display:flex;gap:14px;flex-wrap:wrap;justify-content:flex-end}
.profile-links .card-link{white-space:nowrap;font-size:12px}
.contact-extra{margin-top:14px}

.publication-title-link{color:#111;text-decoration:none;border-bottom:1px solid transparent;transition:color .18s ease,border-color .18s ease}
.publication-title-link:hover,.publication-title-link:focus{color:var(--red);border-color:var(--red)}
.external-mark{font-size:.82em;margin-left:4px;color:var(--red);font-weight:800}

@media(max-width:720px){
  .home-research-cards{padding-top:26px;padding-bottom:30px}
  .home-card-image-wrap,.home-card-image-placeholder{height:190px}
  .research-topic-row{padding:14px}
  .research-media-gallery,.research-media-gallery.has-single{grid-template-columns:1fr}
  .research-media-item img.research-media{max-height:none}
  .contact-note-compact{align-items:flex-start;flex-direction:column;gap:8px}
  .profile-links{justify-content:flex-start}
}


/* === v1.4: direct-list inner pages, shorter Home hero, title-only news, softer projects, larger CTAs === */
/* Footer intentionally has no visible site-footer block in v1.4. */

/* Home hero: retain the core-theme panel but remove the long explanatory paragraph and reduce height. */
.hero{min-height:390px}
.hero-grid{gap:42px;padding:38px 0}
.hero h1{font-size:clamp(38px,4.7vw,58px);max-width:800px}
.hero-panel li{padding:8px 0}

/* Home news: titles only. */
.news-row-title-only{display:block;padding:14px 0}
.news-row-title-only h3{font-size:16.5px;line-height:1.35;margin:0}
.news-row-title-only h3 a{color:#171717;text-decoration:none}
.news-row-title-only h3 a:hover,.news-row-title-only h3 a:focus{color:var(--red)}

/* Home selected projects: lighter charcoal instead of near-black. */
.projects-panel{background:#303235;color:#fff;border-color:#303235}
.panel-head.dark{border-color:#5b5d60}
.project-row{border-bottom-color:#505255}
.project-meta{color:#d0d1d2}
.project-year{color:#ff9ca0}

/* Larger Home action boxes/buttons. */
.home-large-button{font-size:16px;padding:15px 23px;min-height:52px;font-weight:850;letter-spacing:-.01em}
.compact-band{min-height:94px}
.cta-compact{padding:34px 38px}

/* Projects and People begin immediately below the site header. */
.direct-list-page{padding-top:24px;padding-bottom:42px}
.projects-direct .project-stack{margin-top:0}
.people-direct>.container>.people-section:first-of-type{border-top:0;padding-top:0}

/* Opportunities begin directly with the three cards, and card typography is larger. */
.opportunities-direct{padding-top:26px;padding-bottom:38px}
.opportunities-direct .op-card{padding:24px 25px}
.opportunities-direct .op-card h2{font-size:24px;line-height:1.18;margin-bottom:12px}
.opportunities-direct .op-card p,.opportunities-direct .op-card li{font-size:15px;line-height:1.62;color:#3f4449}
.opportunities-direct .op-card .card-link{font-size:14px}

@media(max-width:1100px){
  .hero{min-height:auto}
  .hero-grid{padding:34px 0}
}
@media(max-width:720px){
  .hero-grid{padding:30px 0}
  .hero h1{font-size:34px}
  .direct-list-page{padding-top:18px;padding-bottom:30px}
  .opportunities-direct{padding-top:18px}
  .home-large-button{font-size:15px;padding:14px 20px;min-height:48px}
  .cta-compact{padding:28px 24px}
}


/* === v1.5: dated Home news, higher-contrast active projects, larger Research typography, year-grouped Publications === */
/* Home News: restore the publication date while keeping the compact title-first layout. */
.news-row-title-only{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:baseline;gap:14px;padding:13px 0}
.news-row-title-only time{font-size:12px;line-height:1.3;font-weight:800;color:#8d1b20;letter-spacing:.01em;white-space:nowrap}
.news-row-title-only h3{font-size:17px;line-height:1.35;margin:0}

/* Selected Active Projects: improve contrast and hierarchy. */
.projects-panel{background:#3b3e42;color:#fff;border-color:#3b3e42}
.projects-panel .panel-head.dark{border-bottom-color:#71747a}
.projects-panel .panel-head .eyebrow{color:#fff;font-size:13px;letter-spacing:.11em;font-weight:900;margin:0}
.projects-panel .text-link.light{color:#fff;font-size:12.5px;font-weight:800;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.projects-panel .project-row{border-bottom-color:#5b5e63}
.projects-panel .project-row h3{color:#fff;font-size:16.5px;line-height:1.3;font-weight:800}
.projects-panel .project-meta{color:#f0f1f2;font-size:12px;font-weight:650}
.projects-panel .project-year{color:#ffb5b8;font-size:12px;font-weight:900}

/* Research: make each topic title and description unmistakably prominent. */
.research-program .program-heading h2{font-size:38px;line-height:1.12;font-weight:850;margin-bottom:22px;color:#111}
.research-topic-row{padding:22px 22px 18px;border-color:#c9c9c5}
.research-topic-row .topic-copy{padding:0 2px 18px 15px;border-left:4px solid var(--red);border-bottom:1px solid #d7d7d3;margin-bottom:16px}
.research-topic-row .topic-copy h3{font-size:27px;line-height:1.18;margin:0 0 9px;font-weight:850;letter-spacing:-.025em;color:#101010}
.topic-description,.topic-description p{font-size:16px;line-height:1.62;color:#34383c;margin:0}

/* Publications: large year-based grouping while retaining type filters. */
.publications-section{padding-top:20px}
.publication-year-group{margin:0 0 34px}
.publication-year-group:last-child{margin-bottom:0}
.publication-year-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;border-bottom:3px solid #171717;padding:20px 0 9px;margin-bottom:0}
.publication-year-heading h2{font-size:38px;line-height:1;font-weight:900;letter-spacing:-.045em;margin:0;color:#111}
.publication-year-count{font-size:11px;font-weight:800;color:#6b7075;text-transform:uppercase;letter-spacing:.08em;padding-bottom:2px}
.publication-item{grid-template-columns:92px minmax(0,1fr);gap:16px;padding:13px 0}
.publication-type-label{font-size:10px;font-weight:850;color:var(--red);text-transform:uppercase;letter-spacing:.08em;padding-top:3px}
.publication-item h3{font-size:15px;line-height:1.38;font-weight:750}
.publication-item p{font-size:12px;line-height:1.42}

@media(max-width:720px){
  .news-row-title-only{grid-template-columns:1fr;gap:3px}
  .research-program .program-heading h2{font-size:31px}
  .research-topic-row{padding:17px 16px 15px}
  .research-topic-row .topic-copy{padding-left:12px}
  .research-topic-row .topic-copy h3{font-size:23px}
  .topic-description,.topic-description p{font-size:15px}
  .publication-year-heading h2{font-size:32px}
  .publication-item{grid-template-columns:1fr;gap:3px}
  .publication-type-label{padding-top:0}
}


/* v1.6 — People photo geometry and non-overlapping copy */
.member-card{
  display:flex;
  flex-direction:column;
  height:100%;
  overflow:hidden;
}
.member-card .member-photo{
  width:100%;
  height:auto;
  aspect-ratio:1 / 1;
  flex:0 0 auto;
  overflow:hidden;
  position:relative;
  background:#f0f0ee;
}
.member-card .member-photo img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
}
.member-card .member-copy{
  position:static;
  z-index:auto;
  flex:1 1 auto;
  width:100%;
  padding:15px 14px 16px;
  background:#fff;
}
.member-card .member-copy h3,
.member-card .member-copy p{
  position:static;
  max-width:100%;
  overflow-wrap:anywhere;
}
.member-card h3{font-size:17px;line-height:1.25;margin:0 0 5px}
.member-card .member-role{font-size:12px;line-height:1.35;margin:0 0 7px}
.member-card p{font-size:13px;line-height:1.5;margin:0;color:#4c5156}

/* PI portrait follows the same 1:1 photo convention. */
.pi-profile .portrait-placeholder{
  aspect-ratio:1 / 1;
  width:100%;
  min-height:0;
}
.pi-profile .portrait-placeholder.has-image img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
}

@media(max-width:1100px){
  .pi-profile{grid-template-columns:minmax(190px,220px) minmax(0,1fr)}
}
@media(max-width:720px){
  .pi-profile{grid-template-columns:1fr}
  .pi-profile .portrait-placeholder{max-width:360px}
}


/* v1.7 — compact People cards; members fill horizontally before wrapping */
.people-section .member-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(170px,190px));
  gap:16px;
  justify-content:start;
  align-items:start;
}
.people-section .member-card{
  width:100%;
  max-width:190px;
}
.people-section .member-card .member-photo{
  width:100%;
  aspect-ratio:1 / 1;
}
.people-section .member-card .member-copy{
  padding:12px 12px 13px;
}
.people-section .member-card h3{font-size:15px}
.people-section .member-card .member-role{font-size:11px}
.people-section .member-card p{font-size:12px;line-height:1.42}
.people-section .member-empty{
  width:100%;
  max-width:190px;
  min-height:0;
}
.people-section .member-empty .member-photo{
  width:100%;
  height:auto;
  aspect-ratio:1 / 1;
}
/* Keep PI visually distinct, but reduce the portrait footprint as well. */
.pi-profile{
  grid-template-columns:170px minmax(0,1fr);
  gap:24px;
}
.pi-profile .portrait-placeholder{
  width:170px;
  max-width:170px;
}
@media(max-width:1100px){
  .people-section .member-grid{grid-template-columns:repeat(auto-fill,minmax(165px,185px))}
  .people-section .member-card,.people-section .member-empty{max-width:185px}
  .pi-profile{grid-template-columns:160px minmax(0,1fr)}
  .pi-profile .portrait-placeholder{width:160px;max-width:160px}
}
@media(max-width:720px){
  .people-section .member-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }
  .people-section .member-card,.people-section .member-empty{max-width:none}
  .pi-profile{grid-template-columns:1fr}
  .pi-profile .portrait-placeholder{width:150px;max-width:150px}
}
@media(max-width:390px){
  .people-section .member-grid{grid-template-columns:1fr}
  .people-section .member-card,.people-section .member-empty{max-width:180px}
}

/* v1.8 — People portrait sizing */
/* Regular group members use an exact 150 x 150 px portrait on desktop/tablet. */
.people-section .member-grid{
  grid-template-columns:repeat(auto-fill,150px);
  gap:18px;
  justify-content:start;
  align-items:start;
}
.people-section .member-card,
.people-section .member-empty{
  width:150px;
  max-width:150px;
}
.people-section .member-card .member-photo,
.people-section .member-empty .member-photo{
  width:150px;
  height:150px;
  aspect-ratio:1 / 1;
}

/* PI portrait is 2x the previous v1.7 desktop size: 340 x 340 px. */
.pi-profile{
  grid-template-columns:340px minmax(0,1fr);
  gap:32px;
  align-items:start;
}
.pi-profile .portrait-placeholder{
  width:340px;
  max-width:340px;
  height:340px;
  aspect-ratio:1 / 1;
}

@media(max-width:900px){
  .pi-profile{
    grid-template-columns:280px minmax(0,1fr);
    gap:26px;
  }
  .pi-profile .portrait-placeholder{
    width:280px;
    max-width:280px;
    height:280px;
  }
}

@media(max-width:720px){
  .people-section .member-grid{
    grid-template-columns:repeat(auto-fill,150px);
    gap:14px;
  }
  .people-section .member-card,
  .people-section .member-empty{
    width:150px;
    max-width:150px;
  }
  .pi-profile{grid-template-columns:1fr}
  .pi-profile .portrait-placeholder{
    width:min(340px,100%);
    max-width:340px;
    height:auto;
    aspect-ratio:1 / 1;
  }
}
