/* Minimal style inspired by lorenzkuhn.com (WordPress Cyanotype theme vibes) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');
:root{--bg:#ffffff;--text:#000000;--muted:#444;--link:#000;--border:#eaeaea}
*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:"Inter",system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;color:var(--text);background:var(--bg);line-height:1.7}
.container{max-width:900px;margin:0 auto;padding:24px}
.site-header{padding:24px 0;border-bottom:1px solid var(--border)}
.site-title{font-size:28px;margin:0}
.site-title a{color:var(--text);text-decoration:none}
.social{display:flex;gap:12px;margin-top:8px}
.social a{color:var(--text);text-decoration:none}

.columns{display:flex;gap:24px;align-items:flex-start}
.column-left{flex:0 0 25%;max-width:25%}
.column-right{flex:1}
@media(max-width:800px){.columns{flex-direction:column}.column-left,.column-right{max-width:100%}}

img.profile{display:block;max-width:100%;height:auto;border-radius:4px}

h2{font-size:22px;margin:28px 0 10px}
a{color:var(--link)}
p{margin:0 0 14px}
ul{margin:0 0 14px;padding-left:20px}
.small{color:var(--muted);font-size:14px}
.site-footer{border-top:1px solid var(--border);margin-top:36px;padding:16px 0;color:var(--muted)}

/* Icons */
.icon{width:18px;height:18px;display:inline-block;vertical-align:text-bottom;fill:currentColor}

/* Publications */
.pub-item{margin:0 0 18px}
.pub-title{font-weight:700}
.pub-meta{color:var(--muted);display:inline}
.badge-teal{color:#118a8a;font-weight:700}

/* Buttons */
.btn-group{display:inline-flex;gap:4px;flex-wrap:wrap;margin-top:0;margin-left:8px;vertical-align:baseline;align-items:center}
.btn{display:inline-block;padding:2px 6px;border:1px solid #000;border-radius:12px;background:transparent;color:#000;text-decoration:none;font-size:11px;line-height:1.3;height:20px;min-width:32px;text-align:center;white-space:nowrap}
.btn:hover{background:#f5f5f5}

/* BibTeX dropdown */
details.bibtex{display:inline-block}
details.bibtex summary{list-style:none;cursor:pointer;display:inline-block;padding:2px 6px;border:1px solid #000;border-radius:12px;font-size:11px;line-height:1.3;height:20px;min-width:32px;text-align:center;white-space:nowrap}
details.bibtex[open] summary{background:#f7f7f7}
details.bibtex pre{background:#fafafa;border:1px solid var(--border);padding:8px;margin-top:8px;white-space:pre-wrap;overflow:auto;font-size:11px;line-height:1.4;position:absolute;z-index:10;min-width:300px}

/* Accessibility */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}


p.tight {
  margin-top: -0.3em; /* pulls it closer to the line above */
}

/* Fluid media. */
img,svg,video{max-width:100%;height:auto}

/* Make content images block-level and centered nicely. */
.pub-item img{display:block;width:100%;height:auto;margin:16px auto}

/* Optional: cap very wide figures while staying fluid. */
.pub-item img{max-width:.400px}

.pub-item img{display:block;max-width:100%;height:auto;margin:16px auto}
@media (max-width:600px){
  .pub-item img{width:min(88vw,520px)!important}
}