/*
Theme Name: Paweł Modrzyński — strona osobista
Theme URI: https://pawelmodrzynski.com/
Author: Projekt strony osobistej
Description: Autorski motyw klasyczny przygotowany na podstawie zaakceptowanego projektu HTML v29. Dziewięć podstron, własna typografia i układ editorial, logotypy, zdjęcia i trzy raporty PDF.
Version: 1.0.2
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: pawel-modrzynski
*/

/* PAWEŁ MODRZYŃSKI — EDITORIAL PERSONAL SITE 2026 */
:root { --paper:#f8f7f3; --canvas:#f1f0eb; --ink:#282a2b; --muted:#73736e; --line:#dcd9d1; --dark:#222424; --max:1180px; --font: system-ui,-apple-system,"Segoe UI",Arial,sans-serif; }
* {box-sizing:border-box} html{scroll-behavior:smooth} body{margin:0;background:#dad8d2;color:var(--ink);font:15px/1.75 var(--font);-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible{outline:2px solid #8c8982;outline-offset:3px}
button{font:inherit}[hidden]{display:none!important}
.shell{max-width:var(--max);min-height:100vh;margin:0 auto;background:var(--paper);box-shadow:0 0 0 1px rgba(40,40,40,.035)}
.site-header{position:relative;z-index:5;background:var(--dark);color:#fff}
.header-inner{min-height:80px;padding:0 54px;display:flex;align-items:center;justify-content:space-between;gap:22px}
.brand{font-weight:540;font-size:14px;letter-spacing:.001em;white-space:nowrap;line-height:1.25}
.brand small{display:block;color:#a5a7a3;font-size:9px;letter-spacing:.18em;text-transform:uppercase;font-weight:500;margin-top:6px}
.site-nav{display:flex;align-items:center;gap:20px;white-space:nowrap}
.site-nav a{font-size:11px;line-height:1.3;color:#d2d2cf;padding:31px 0;border-bottom:2px solid transparent}
.site-nav a[aria-current=page],.site-nav a:hover{color:#fff;border-bottom-color:#fff}
.nav-toggle{display:none;background:transparent;color:white;border:1px solid #797a77;padding:7px 12px;cursor:pointer}
.content-pad{padding-left:74px;padding-right:74px}
.eyebrow{display:inline-block;color:#656660;font-size:10px;font-weight:600;letter-spacing:.155em;text-transform:uppercase}
/* home, fixed proportions. Portrait is never zoomed/cropped unexpectedly. */
.hero{min-height:606px;display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);align-items:center;gap:20px;padding:65px 74px 72px;background:var(--paper);border-bottom:1px solid var(--line)}
.hero-copy{min-width:0;align-self:center;padding:10px 5px 10px 0}
.hero-rule{width:55px;height:1px;background:#83837f;margin:29px 0 42px}
.hero h1{font-size:clamp(39px,3.6vw,51px);letter-spacing:-.052em;line-height:1.14;font-weight:490;margin:0 0 25px}
.hero h1 span{display:block}
.hero-lead{font-size:16px;line-height:1.65;font-weight:530;margin:0 0 16px;max-width:390px}
.hero-desc{font-size:13.5px;color:#61635e;line-height:1.88;max-width:420px;margin:0 0 30px}
.hero-quick{display:flex;flex-wrap:wrap;gap:12px 25px;margin-top:34px;padding-top:18px;border-top:1px solid var(--line);max-width:360px}
.hero-quick a{font-size:12px;border-bottom:1px solid #898983;padding-bottom:2px}
.hero-quick a:hover{border-color:var(--ink)}
.portrait-area{display:flex;justify-content:center;align-items:center;min-width:0}
.portrait-figure{margin:0;width:min(100%,434px);aspect-ratio:1/1;border-radius:50%;overflow:hidden;background:#b5b5b4}
.portrait-figure img{width:100%;height:100%;display:block;object-fit:cover;object-position:50% 50%}
.portrait-caption{font-size:11px;color:#656560;letter-spacing:.01em;text-align:center;margin-top:16px}
.portrait-wrap{width:100%;max-width:434px}
/* alternative comparison */
.hero--formal{gap:28px}
.hero--formal .portrait-wrap{max-width:350px}
.hero--formal .portrait-figure{width:100%;height:auto;aspect-ratio:1462/2048;border-radius:0;background:transparent}
.hero--formal .portrait-figure img{width:100%;height:auto;object-fit:contain}
/* homepage lists; factual, not promotional */
.section-meta{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:32px}
.section-title{font-size:clamp(28px,3vw,37px);font-weight:490;letter-spacing:-.037em;line-height:1.23;margin:0}
.section-lead{font-size:15px;color:#62635f;line-height:1.88;max-width:740px;margin:18px 0 32px}
.intro{padding-top:82px;padding-bottom:89px}
.directory{margin-top:35px;border-top:1px solid var(--line)}
.directory a{display:grid;grid-template-columns:38px minmax(0,1fr) 180px;gap:16px;align-items:center;padding:20px 0;border-bottom:1px solid var(--line)}
.dir-num{font-size:11px;color:#8e8d87}.dir-title{font-size:21px;font-weight:460;letter-spacing:-.035em}.dir-description{font-size:12px;color:#777771;text-align:right}
.directory a:hover .dir-title{text-decoration:underline;text-underline-offset:4px}
.excerpt{padding:72px 74px 92px;background:#eeede8;border-top:1px solid var(--line)}
.publications-list{margin-top:30px;border-top:1px solid #cac7c1}
.publication-row{display:grid;grid-template-columns:65px 1fr;gap:20px;padding:24px 0;border-bottom:1px solid #cac7c1}
.pub-year{color:#898780;font-size:12px}.pub-title{font-size:16px;font-weight:520;line-height:1.6;margin:0 0 7px}.pub-meta{font-size:12px;color:#6c6c68;margin:0;line-height:1.7}
.publication-row a:hover .pub-title{text-decoration:underline;text-underline-offset:4px}
.small-next{display:inline-block;margin-top:25px;font-size:12px;border-bottom:1px solid #77776f}
/* informational subpages */
.page-top{background:var(--canvas);padding-top:66px;padding-bottom:62px;border-bottom:1px solid var(--line)}
.page-top h1{font-size:clamp(34px,4vw,49px);line-height:1.18;letter-spacing:-.045em;font-weight:480;margin:15px 0 13px}
.page-top p{max-width:730px;color:#5d5d59;font-size:15px;margin:0}
.page-body{padding-top:64px;padding-bottom:100px}
.editorial{display:grid;grid-template-columns:minmax(145px,215px) minmax(0,1fr);gap:44px}
.side-label{font-size:10px;letter-spacing:.14em;color:#77776f;text-transform:uppercase;padding-top:5px}
.prose{max-width:748px}.prose p{font-size:15px;line-height:1.9;color:#494b48;margin:0 0 21px}
.prose h2,.subhead{font-size:25px;font-weight:510;letter-spacing:-.03em;line-height:1.32;margin:48px 0 16px}.prose h2:first-child{margin-top:0}
.details{border-top:1px solid var(--line);margin-top:27px}.detail{display:grid;grid-template-columns:130px 1fr;gap:15px;padding:16px 0;border-bottom:1px solid var(--line)}
.detail small{font-size:12px;color:#77776f}.detail strong{font-weight:520}.detail p{font-size:13px;color:#666760;margin:4px 0}
.info-list{border-top:1px solid var(--line);margin-top:30px}.info-row{display:grid;grid-template-columns:60px minmax(0,1fr);gap:25px;padding:24px 0;border-bottom:1px solid var(--line)}
.info-row .n{font-size:12px;color:#85847e}.info-row h3{font-size:18px;font-weight:520;margin:0 0 7px;line-height:1.44}.info-row p{font-size:13px;color:#61625f;margin:0;line-height:1.7}
.about-photo{max-width:370px;margin-top:31px}.about-photo img{display:block;width:100%;height:auto}.about-photo figcaption{font-size:11px;color:#74736b;margin-top:9px}
.contact-row{display:grid;grid-template-columns:145px 1fr;gap:24px;padding:24px 0;border-bottom:1px solid var(--line)}.contact-row:first-child{border-top:1px solid var(--line)}.contact-row span{font-size:12px;color:#77776e}.contact-row a{font-size:16px;overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:5px}
/* A personal editorial, no photo tiles */
.personal-top{padding:70px 74px 74px;display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:65px;align-items:center;background:var(--paper)}
.personal-top h1{font-size:clamp(41px,4.3vw,53px);font-weight:480;line-height:1.16;letter-spacing:-.055em;margin:17px 0 21px}
.personal-top .personal-intro{font-size:16px;color:#4a4a47;line-height:1.87;max-width:360px;margin:0 0 20px}
.personal-top .personal-secondary{font-size:13.5px;color:#79786e;max-width:340px;line-height:1.85;margin:0}
.personal-top figure{margin:0;min-width:0}.personal-top img{display:block;width:100%;height:auto;aspect-ratio:1.4;object-fit:cover;object-position:center}
.editorial-caption{font-size:11px;line-height:1.65;color:#828078;margin-top:12px;letter-spacing:.01em}
.personal-line{margin:0 74px;border:0;border-top:1px solid var(--line)}
.story{padding:88px 74px;display:grid;grid-template-columns:minmax(0,.45fr) minmax(0,.55fr);gap:64px;align-items:center}
.story-heading{font-size:clamp(24px,3vw,32px);font-weight:490;line-height:1.24;letter-spacing:-.039em;margin:12px 0 20px}
.story p{font-size:14px;line-height:1.94;color:#60615c;max-width:340px;margin:0 0 16px}
.story figure{margin:0;min-width:0}.story img{display:block;width:100%;height:auto}
.story--landscape{grid-template-columns:minmax(0,.35fr) minmax(0,.65fr);gap:60px}
.story--landscape img{aspect-ratio:1.6;object-fit:cover;object-position:center}
.story--run{padding-top:70px;padding-bottom:80px;grid-template-columns:minmax(0,.45fr) minmax(0,.55fr);background:#efeee8;gap:80px}
.story--run figure{max-width:335px;justify-self:center}.story--run img{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;object-position:center 20%}
.story--run .story-copy{align-self:center}
.story--photo{padding-bottom:110px;grid-template-columns:minmax(0,.37fr) minmax(0,.63fr);gap:90px}
.story--photo figure{max-width:355px;justify-self:end}.story--photo img{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover}
.footer{display:flex;align-items:center;justify-content:space-between;gap:18px;background:var(--dark);color:#e5e4e0;padding:33px 74px;font-size:11px}
.footer span{color:#aaa9a3}.footer a{text-decoration:underline;text-underline-offset:4px}
/* preview-only variant chooser */
.comparison{display:flex;justify-content:center;gap:13px;background:#e5e4df;border-bottom:1px solid #d3d1c9;padding:10px 15px;font-size:11px;color:#686862}
.comparison a{text-decoration:underline;text-underline-offset:3px}.comparison strong{font-weight:600;color:#262626}
@media(max-width:1050px){.header-inner{padding:0 34px}.site-nav{gap:13px}.site-nav a{font-size:10px}.content-pad{padding-left:51px;padding-right:51px}.hero{padding-left:52px;padding-right:52px;min-height:570px;gap:12px}.hero h1{font-size:clamp(37px,4vw,48px)}.portrait-figure{max-width:380px}.excerpt{padding-left:51px;padding-right:51px}.personal-top,.story{padding-left:51px;padding-right:51px}.personal-line{margin-left:51px;margin-right:51px}.footer{padding-left:51px;padding-right:51px}}
@media(max-width:860px){.site-header{min-height:72px}.header-inner{min-height:72px;padding:0 26px;flex-wrap:wrap}.brand small{display:none}.nav-toggle{display:block}.site-nav{display:none;flex-basis:100%;width:100%;padding:0 0 20px;gap:0;flex-wrap:wrap}.site-nav.open{display:flex}.site-nav a{width:50%;font-size:13px;padding:9px 0;border-bottom:0}.site-nav a[aria-current=page]{text-decoration:underline;text-underline-offset:5px}.hero{grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);padding:53px 42px 55px;min-height:500px}.hero h1{font-size:clamp(32px,4.8vw,42px)}.hero-desc{font-size:12.5px}.hero-lead{font-size:14px}.portrait-figure{max-width:320px}.personal-top{gap:26px}.story{gap:38px}.story--run{gap:40px}.story--photo{gap:38px}}
@media(max-width:640px){.header-inner{padding:0 21px}.hero{grid-template-columns:1fr;padding:44px 28px 58px;gap:30px}.hero-copy{padding:0}.hero-rule{margin:20px 0 30px}.hero h1{font-size:clamp(35px,9vw,49px);margin-bottom:19px}.hero-desc{max-width:none}.hero-lead{font-size:16px}.portrait-wrap{max-width:370px}.portrait-figure{width:100%;max-width:370px}.portrait-caption{margin-top:11px}.hero--formal .portrait-wrap{max-width:300px}.content-pad{padding-left:27px;padding-right:27px}.intro{padding-top:58px;padding-bottom:70px}.excerpt{padding:58px 27px 65px}.directory a{grid-template-columns:27px minmax(0,1fr);gap:10px}.dir-title{font-size:19px}.dir-description{grid-column:2;text-align:left;margin-top:-10px}.page-top{padding-top:46px;padding-bottom:47px}.page-body{padding-top:46px;padding-bottom:70px}.editorial{grid-template-columns:1fr;gap:22px}.side-label{border-bottom:1px solid var(--line);padding-bottom:10px}.publication-row,.info-row{grid-template-columns:51px 1fr;gap:10px}.detail{grid-template-columns:1fr;gap:3px}.personal-top{grid-template-columns:1fr;padding:49px 27px 50px;gap:30px}.personal-top h1{font-size:42px}.personal-top .personal-intro{font-size:15px}.personal-top figure{max-width:540px}.personal-line{margin:0 27px}.story,.story--landscape,.story--run,.story--photo{grid-template-columns:1fr;padding:58px 27px;gap:25px}.story--landscape figure{order:-1}.story--run figure{justify-self:start;max-width:320px}.story--photo figure{justify-self:start;max-width:330px}.footer{display:block;padding:26px 27px}.footer div+div{margin-top:5px}.contact-row{grid-template-columns:1fr;gap:5px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}


/* V9 / EDITORIAL PERSONAL INTERESTS: one reading column and a quiet vertical image rail */
.heading-dot { color: #9b9a92; }
.life-editorial { padding: 80px 90px 108px 76px; display:grid; grid-template-columns:minmax(0, 1fr) 206px; gap:clamp(45px,6vw,95px); align-items:start; }
.life-prose { max-width:700px; }
.life-prose h1,.contact-editorial h1 {font-size:clamp(43px,4.2vw,58px); font-weight:490; letter-spacing:-.045em;line-height:1.17;margin:15px 0 29px}
.life-opening {font-size:20px!important; line-height:1.68!important; color:#353634!important; letter-spacing:-.018em; max-width:680px; margin:0 0 34px!important; }
.life-divider {width:100%;height:1px;background:var(--line);margin:38px 0 42px}
.life-chapter {padding:0 0 30px;margin:0 0 27px;border-bottom:1px solid var(--line)}
.life-chapter:last-child {border-bottom:0;margin-bottom:0;padding-bottom:0}
.life-kicker {font-size:11px;letter-spacing:.10em;text-transform:uppercase;color:#787970;font-weight:570}
.life-kicker span {font-size:15px;color:#a09d96;margin:0 7px}
.life-chapter h2 {font-size:28px;line-height:1.27;letter-spacing:-.035em;font-weight:500;margin:12px 0 22px}
.life-chapter p {font-size:14px;line-height:1.97;color:#535550;max-width:635px;margin:0 0 16px}
.life-photo-column {display:flex;align-items:center;flex-direction:column;gap:33px;min-width:0;padding-top:13px}
.photo-rail-heading {font-size:10px;letter-spacing:.11em;text-transform:uppercase;font-weight:600;color:#666761;text-align:center;line-height:1.6;margin:0 0 2px}
.photo-rail-heading span {display:block; font-size:10px;color:#9a9a94;margin-top:4px}
.photo-medallion {margin:0; display:flex; flex-direction:column; align-items:center; width:100%; gap:11px}
.circle-photo {display:block; width:175px;height:175px;max-width:100%;aspect-ratio:1;border:0;padding:0; margin:0;border-radius:50%;overflow:hidden;background:#d5d3ce; cursor:zoom-in; box-shadow:0 0 0 1px rgba(35,35,35,.08); transition:transform .2s ease,box-shadow .2s ease}
.circle-photo:hover {transform:scale(1.035);box-shadow:0 0 0 1px rgba(35,35,35,.22)}
.circle-photo img {width:100%;height:100%;display:block;object-fit:cover;object-position:center}
.photo-medallion:nth-of-type(2) img {object-position:50% 22%}
.photo-medallion figcaption {font-size:11px;color:#62635e;letter-spacing:.015em;line-height:1.65;text-align:center}
.photo-medallion figcaption span {color:#a0a099; margin-right:6px;font-size:10px}
.photo-hint {font-size:11px;color:#8b8a83;line-height:1.65;text-align:center;max-width:160px;margin:3px 0 0}
.photo-hint span{margin-right:4px;font-size:14px}
/* unobstructed full-size images shown on the overlay. Real image dimensions; never crop. */
.photo-viewer {width:min(1100px,calc(100vw - 28px));max-width:1100px;max-height:calc(100vh - 28px);margin:auto;overflow:hidden;color:#f7f7f6;background:#161715;border:1px solid #484944;box-shadow:0 20px 90px rgba(0,0,0,.5);padding:0}
.photo-viewer::backdrop{background:rgba(7,9,9,.88)}
.lightbox-top{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 22px;color:#b7b9b5;font-size:12px;letter-spacing:.08em}
.lightbox-close{border:0;background:transparent;color:#f8f8f8;cursor:pointer;padding:0;font-size:12px}
.lightbox-close span{font-size:23px;vertical-align:middle;margin-left:13px}
.lightbox-stage{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;gap:10px;padding:3px 16px 0;min-height:100px}
.lightbox-stage img{display:block;width:100%;max-height:calc(100vh - 164px);height:auto;object-fit:contain;justify-self:center;min-width:0}
.lightbox-arrow{border:0;background:none;color:#eeeeeb;font-size:38px;cursor:pointer;min-width:32px;line-height:1.4}
.photo-viewer #lightbox-caption{text-align:center;font-size:12px;color:#c9c9c5;margin:7px 0 20px;padding:0 12px}
/* contact / refined linked rows with graphical icons */
.contact-editorial{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:80px;padding:90px 76px 120px;min-height:620px;align-items:start}
.contact-editorial h1{margin-bottom:28px}
.contact-lead > p{max-width:340px;color:#565852;font-size:15px;line-height:1.9;margin:0}
.contact-rule{width:48px;height:1px;background:#99998f;margin:36px 0}
.contact-lead .contact-note{font-size:13px;color:#81827a;line-height:1.85}
.contact-methods{border-top:1px solid var(--line);align-self:start}
.contact-method {display:grid;grid-template-columns:58px minmax(0,1fr) 22px;gap:21px;align-items:center;padding:25px 4px;border-bottom:1px solid var(--line);min-width:0;transition:background .18s ease,padding .18s ease}
.contact-method:hover{background:rgba(38,41,40,.035);padding-left:12px;padding-right:12px}
.contact-symbol{display:grid;place-items:center;width:54px;height:54px;border:1px solid #d7d5cd;border-radius:50%;color:#3d403e}
.contact-symbol svg{width:25px;height:25px;display:block}
.contact-method-body{display:flex;flex-direction:column;min-width:0;gap:1px}
.contact-method-body small{font-size:10px;color:#8b8b83;text-transform:uppercase;letter-spacing:.11em;margin-bottom:2px}
.contact-method-body strong{font-size:16px;font-weight:520;line-height:1.5;letter-spacing:-.02em;overflow-wrap:anywhere}
.contact-method-body > span{font-size:12px;color:#81817a}
.contact-go{align-self:center;color:#81837e;font-size:17px}
.contact-under{padding:30px 4px 0;max-width:450px}
.contact-under p{font-size:12px;color:#898981;line-height:1.8;margin:8px 0}
@media(max-width:1030px){.life-editorial{padding-left:52px;padding-right:52px;grid-template-columns:minmax(0,1fr) 175px;gap:42px}.circle-photo{width:155px;height:155px}.contact-editorial{padding-left:52px;padding-right:52px;gap:45px}}
@media(max-width:700px){.life-editorial{padding:53px 28px 75px;grid-template-columns:1fr;gap:40px}.life-prose h1,.contact-editorial h1{font-size:42px}.life-opening{font-size:17px!important}.life-chapter h2{font-size:25px}.life-photo-column{border-top:1px solid var(--line);padding-top:32px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 15px;justify-items:center}.photo-rail-heading{grid-column:1/-1;margin-bottom:8px}.photo-medallion{max-width:175px}.circle-photo{width:min(37vw,160px);height:auto;aspect-ratio:1}.photo-hint{grid-column:1/-1;max-width:none}.contact-editorial{grid-template-columns:1fr;padding:54px 28px 80px;gap:34px;min-height:0}.contact-rule{margin:23px 0}.contact-lead > p{max-width:550px}.contact-method{grid-template-columns:52px minmax(0,1fr) 16px;gap:15px;padding:22px 0}.contact-symbol{height:49px;width:49px}.contact-method-body strong{font-size:15px}.lightbox-stage{grid-template-columns:30px minmax(0,1fr) 30px;gap:3px;padding:0 7px}.lightbox-arrow{font-size:28px}.lightbox-top{padding:12px 14px}}
@media(prefers-reduced-motion:reduce){.circle-photo,.contact-method{transition:none}}


/* v10: layout revision - content/photo pairing, factual home subtitle, identity + subtle icon colors */
.hero-fields{display:flex;flex-wrap:wrap;gap:7px 18px;margin:-5px 0 20px;font-size:14px;line-height:1.5;color:#686a66}
.hero-fields span:first-child{white-space:nowrap}
.hero-lead{max-width:455px;line-height:1.65}
.editorial--about{grid-template-columns:minmax(180px,215px) minmax(0,1fr);gap:56px;align-items:start}
.about-identity{align-self:start;padding-top:2px}
.about-identity-photo{width:min(100%,212px);aspect-ratio:1;border-radius:50%;overflow:hidden;margin:0 0 22px;background:#d9d8d2}
.about-identity-photo img{width:100%;height:100%;object-fit:cover;object-position:center 23%;display:block}
.about-identity-name{font-weight:560;font-size:17px;line-height:1.45;letter-spacing:-.025em}
.about-identity-affiliation{color:#77776e;font-size:12px;line-height:1.5;margin-top:5px}
.leisure-opening{padding:72px 84px 72px;display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:76px;align-items:center;border-bottom:1px solid var(--line)}
.leisure-opening h1{font-size:clamp(35px,4vw,49px);font-weight:480;line-height:1.2;letter-spacing:-.048em;margin:12px 0 24px}
.leisure-intro{font-size:16px;line-height:1.95;color:#52544f;max-width:580px;margin:0}
.leisure-figure{margin:0;text-align:center;justify-self:center;width:218px;max-width:100%}
.leisure-figure--hero{width:280px}
.leisure-circle{appearance:none;border:0;padding:0;display:block;cursor:zoom-in;width:100%;aspect-ratio:1;border-radius:50%;overflow:hidden;background:#dedcd6;box-shadow:none;transition:transform .22s ease}
.leisure-circle:hover{transform:scale(1.025)}
.leisure-circle img{width:100%;height:100%;display:block;object-fit:cover;object-position:center}
.leisure-figure--hero .leisure-circle img{object-position:50% 44%}
.leisure-entry:nth-child(2) .leisure-circle img{object-position:50% 28%}
.leisure-figure figcaption{font-size:11px;color:#77766e;letter-spacing:.015em;margin-top:13px}
.leisure-sections{padding:0 84px}
.leisure-entry{display:grid;grid-template-columns:minmax(0,1fr) 280px;column-gap:76px;align-items:center;padding:66px 0 68px;border-bottom:1px solid var(--line)}
.leisure-entry-copy{min-width:0}
.leisure-number{font-size:10px;font-weight:620;color:#8b8b83;letter-spacing:.15em}
.leisure-entry h2{font-size:29px;font-weight:490;letter-spacing:-.037em;line-height:1.25;margin:11px 0 20px}
.leisure-entry p{font-size:14px;line-height:1.98;color:#555752;max-width:615px;margin:0 0 17px}
.leisure-entry p:last-child{margin-bottom:0}
.leisure-hint{padding:20px 84px 65px;margin:0;color:#8b8b84;font-size:11px;text-align:right}
.contact-method--email .contact-symbol{color:#a06b57;border-color:#d7bdb1;background:#f6efea}
.contact-method--linkedin .contact-symbol{color:#0a66c2;border-color:#bdd4ee;background:#eaf2fa}
.contact-method--orcid .contact-symbol{color:#6b971c;border-color:#d1e3b5;background:#f1f7e8}
.contact-method--university .contact-symbol{color:#456a73;border-color:#bfd1d6;background:#eaf1f1}
.contact-method--scholar .contact-symbol{color:#477ab8;border-color:#bfcfe4;background:#edf3f9}
.contact-scholar-note{font-size:11px;color:#85857e;line-height:1.6;padding:13px 4px 0;margin:0}
@media(max-width:1030px){.leisure-opening{padding:62px 54px;grid-template-columns:minmax(0,1fr) 215px;gap:42px}.leisure-sections{padding:0 54px}.leisure-entry{grid-template-columns:minmax(0,1fr) 215px;gap:42px}.leisure-figure{width:185px}.leisure-figure--hero{width:215px}.leisure-hint{padding-right:54px;padding-left:54px}}
@media(max-width:700px){.hero-fields{font-size:13px}.editorial--about{grid-template-columns:1fr;gap:29px}.about-identity{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.about-identity-photo{width:122px;margin:0;flex:none}.about-identity-name{margin-right:0}.about-identity-affiliation{width:100%;margin-top:-8px;padding-left:140px}.leisure-opening{grid-template-columns:1fr;gap:27px;padding:52px 28px 46px}.leisure-opening h1{font-size:40px}.leisure-figure--hero{width:min(70vw,245px);justify-self:start}.leisure-sections{padding:0 28px}.leisure-entry{grid-template-columns:1fr;gap:26px;padding:50px 0}.leisure-entry h2{font-size:26px}.leisure-entry p{font-size:14px}.leisure-entry .leisure-figure{width:min(62vw,205px);justify-self:center}.leisure-hint{padding:16px 28px 44px;text-align:center}}
@media(prefers-reduced-motion:reduce){.leisure-circle{transition:none}}
.hero-fields span + span::before{content:'·';display:inline-block;color:#aaa89f;margin-right:18px}


/* V11 — wyłącznie strona główna: typografia, hierarchia, naprzemienne odcienie */
.hero{background:#eeede8;min-height:624px;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);column-gap:32px;padding-top:72px;padding-bottom:76px}
.hero-copy{padding-right:0}
.hero-rule{margin:24px 0 31px}
.hero h1{font-family:"Inter Display","Inter","Avenir Next","Helvetica Neue",Arial,sans-serif;font-size:clamp(45px,4.35vw,55px);font-weight:650;letter-spacing:-.042em;line-height:1.08;margin:0 0 28px}
.hero h1 .first-name{display:block;font-size:.75em;font-weight:450;letter-spacing:-.027em;line-height:1.32}
.hero h1 .last-name{display:block;font-weight:650;letter-spacing:-.048em}
.hero-roles{color:#2f3130;margin:0 0 18px}
.hero-roles p{font-size:14.5px;font-weight:520;line-height:1.65;margin:0}
.hero-roles p + p{margin-top:5px}
.hero-roles p span{font-weight:400;color:#85857e;margin:0 4px}
.hero-specialties{display:flex;flex-wrap:wrap;align-items:center;column-gap:18px;row-gap:4px;padding-bottom:21px;margin:0 0 18px;border-bottom:1px solid #d5d2ca}
.hero-specialties span{font-size:12.3px;line-height:1.7;font-weight:490;color:#545751;white-space:nowrap}
.hero-specialties span + span:before{content:none}
.hero-description{max-width:405px}
.hero-description p{font-size:13.2px;color:#666760;line-height:1.77;margin:0}
.hero-description p + p{margin-top:12px}
.intro{background:#f8f7f3}
.excerpt{background:#eeede8}
@media(max-width:1050px){.hero{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:20px;padding-top:64px;padding-bottom:65px}.hero h1{font-size:clamp(41px,4.8vw,54px)}.hero-roles p{font-size:13.5px}.hero-specialties span{font-size:11.8px}}
@media(max-width:860px){.hero{padding-top:55px;padding-bottom:56px;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:12px;min-height:520px}.hero h1{font-size:clamp(35px,5.1vw,43px)}.hero-roles p{font-size:13px}.hero-specialties{column-gap:14px}.hero-specialties span + span:before{margin-right:8px}.hero-description p{font-size:12.4px}}
@media(max-width:640px){.hero{grid-template-columns:1fr;padding:46px 28px 58px;gap:34px}.hero-rule{margin:18px 0 26px}.hero h1{font-size:clamp(38px,9.7vw,52px);margin-bottom:24px}.hero-roles p{font-size:14px}.hero-specialties span{font-size:12px}.hero-description{max-width:480px}.hero-description p{font-size:13px}}


/* V12 — korekta wyłącznie strony głównej: ujednolicone nazwisko, afiliacje i krótki opis */
.hero h1{
  font-family:"Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size:clamp(38px,3.85vw,47px);
  font-weight:650;
  letter-spacing:-.038em;
  line-height:1.18;
  color:#600a20;
  margin:0 0 25px;
}
.hero-roles{margin:0 0 18px;color:#30312f}
.hero-roles p{font-size:14.3px;line-height:1.57;font-weight:510;margin:0;max-width:485px}
.hero-roles .hero-cuw{font-size:13.5px;line-height:1.68;font-weight:470;margin-top:8px;max-width:468px}
.hero-roles .dot{margin:0 6px;color:#9e9b96;font-weight:400}
.hero-specialties{margin:0 0 17px;padding:0 0 17px;gap:5px 17px}
.hero-specialties span{font-size:12px;letter-spacing:.004em;font-weight:490;color:#666762}
.hero-affiliations{max-width:465px}
.hero-affiliations p{font-size:12.6px;line-height:1.62;color:#535650;margin:0}
.hero-affiliations p + p{margin-top:7px}
.hero-summary{max-width:455px;color:#77766f;font-size:12.5px;line-height:1.74;margin:17px 0 0}
@media(max-width:1050px){
 .hero h1{font-size:clamp(34px,4.2vw,44px)}
 .hero-roles p{font-size:13.5px}
 .hero-roles .hero-cuw{font-size:12.8px}
 .hero-affiliations p,.hero-summary{font-size:12px}
}
@media(max-width:860px){
 .hero h1{font-size:clamp(32px,4.5vw,39px)}
 .hero-specialties{gap:3px 12px}
 .hero-specialties span{font-size:11.7px}
 .hero-roles p{font-size:13px}
 .hero-roles .hero-cuw{font-size:12.3px}
}
@media(max-width:640px){
 .hero h1{font-size:clamp(36px,9.2vw,45px);line-height:1.14;overflow-wrap:normal}
 .hero-roles p{font-size:14px}
 .hero-roles .hero-cuw{font-size:13.5px}
 .hero-affiliations p{font-size:12.8px}
 .hero-summary{font-size:12.7px}
}

/* V14 — publications: thematic bibliography, no author surnames of collaborators. */
.pub-overview{padding-top:40px;padding-bottom:56px;background:#f8f7f3}
.pub-overview-lead{display:flex;justify-content:space-between;align-items:baseline;gap:24px;margin-bottom:24px}
.pub-overview-lead p{color:#555752;font-size:14px;line-height:1.8;max-width:665px;margin:0}
.pub-overview-lead strong{font-weight:620;color:#303230}
.pub-overview-lead>span{font-size:10px;letter-spacing:.1em;color:#7e7d76;white-space:nowrap;text-transform:uppercase}
.pub-topic-nav{border-top:1px solid #d7d4cc}
.pub-topic-link{width:100%;padding:15px 4px;border:0;border-bottom:1px solid #d7d4cc;background:transparent;display:grid;grid-template-columns:34px minmax(0,1fr) 30px;text-align:left;align-items:center;gap:15px;color:#343635;cursor:pointer;font-size:14.5px;line-height:1.5;transition:color .15s ease,background .15s ease}
.pub-topic-link:hover{color:#600a20;background:#f0eeea}
.pub-topic-n,.pub-topic-count{font-size:11px;color:#8c8983}
.pub-topic-count{text-align:right}
.pub-topic-section{padding-top:66px;padding-bottom:66px;scroll-margin-top:25px;background:#f8f7f3;border-top:1px solid #dedbd4}
.pub-topic-section:nth-of-type(2n){background:#efeee9}
.pub-topic-heading{max-width:740px;padding:0 0 29px}
.pub-topic-heading h2{font-size:clamp(26px,3.2vw,36px);letter-spacing:-.035em;line-height:1.25;font-weight:510;color:#272928;margin:13px 0 11px}
.pub-topic-heading p{max-width:670px;color:#6a6b66;font-size:13.4px;line-height:1.8;margin:0}
.pub-records{border-top:1px solid #d3d0c9}
.pub-record{display:grid;grid-template-columns:65px minmax(0,1fr);gap:25px;border-bottom:1px solid #d3d0c9;padding:21px 0 22px}
.pub-record-year{color:#88867d;font-size:12px;padding-top:4px;font-variant-numeric:tabular-nums}
.pub-record h3{font-size:16px;font-weight:570;letter-spacing:-.01em;color:#2d302e;line-height:1.57;margin:0 0 6px;overflow-wrap:anywhere}
.pub-record h3 a:hover{color:#600a20;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.pub-ext{display:inline-block;margin-left:7px;font-size:12px;font-weight:400;color:#87857e}
.pub-record-detail>p{font-size:11.6px;color:#71726e;line-height:1.7;margin:0}
.pub-separator{margin:0 9px;color:#a4a198}
.pub-endnote{padding-top:27px;padding-bottom:46px;background:#f8f7f3}
.pub-endnote p{font-size:11px;color:#77766f;line-height:1.7;max-width:745px;margin:0}
@media(max-width:700px){
 .pub-overview{padding-top:29px;padding-bottom:39px}
 .pub-overview-lead{display:block}
 .pub-overview-lead>span{display:block;margin-top:14px}
 .pub-topic-link{font-size:13px;gap:9px;grid-template-columns:25px minmax(0,1fr) 24px;padding:15px 1px}
 .pub-topic-section{padding-top:47px;padding-bottom:45px}
 .pub-record{grid-template-columns:42px minmax(0,1fr);gap:11px;padding:17px 0 19px}
 .pub-record h3{font-size:14.5px}
 .pub-record-detail>p{font-size:11px}
 .pub-separator{margin:0 6px}
}

/* V16: stronger burgundy heading. Teaching descriptions without external syllabus links. */
.hero h1{color:#B4123D}
.teaching-top p{max-width:790px}
.teach-intro{padding-top:30px;padding-bottom:31px;background:var(--paper)}
.teach-outline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.teach-outline a{padding:18px 15px 18px 0;display:flex;align-items:center;gap:10px;border-right:1px solid var(--line);font-size:12px;line-height:1.5;color:#373936}
.teach-outline a:nth-child(n+2){padding-left:15px}
.teach-outline a:last-child{border-right:0}
.teach-outline a:hover{color:#982840}
.teach-outline-n{font-size:10px;color:#939087}
.teach-outline-arrow{margin-left:auto;color:#a19e95}
.teaching-section{padding-top:54px;padding-bottom:67px;border-top:1px solid #dedbd4;scroll-margin-top:24px}
.teaching-section:nth-of-type(even){background:#efeee9}
.teaching-section-head{margin-bottom:26px;max-width:700px}
.teaching-section-head h2{font-size:clamp(27px,3vw,36px);font-weight:510;line-height:1.23;letter-spacing:-.03em;margin:11px 0 10px;color:#2c2d2a}
.teaching-section-head p{font-size:13px;line-height:1.75;color:#73746f;margin:0}
.teaching-courses{border-top:1px solid #d4d2cb}
.teaching-course{display:grid;grid-template-columns:64px minmax(0,1fr);gap:28px;padding:24px 0 24px;border-bottom:1px solid #d4d2cb}
.teaching-num{font-size:11px;letter-spacing:.04em;color:#929088;padding-top:4px;font-variant-numeric:tabular-nums}
.teaching-course h3{font-size:18px;font-weight:580;letter-spacing:-.015em;line-height:1.5;margin:0 0 8px;color:#2d302e}
.teaching-course p{font-size:13.4px;line-height:1.8;color:#626460;margin:0 0 7px;max-width:735px}
/* Publication topic navigation has no fixed count. */
.pub-topic-link{grid-template-columns:34px minmax(0,1fr)}
@media(max-width:860px){.teach-outline{grid-template-columns:1fr}.teach-outline a,.teach-outline a:nth-child(n+2){border-right:0;border-bottom:1px solid var(--line);padding:12px 0}.teach-outline a:last-child{border-bottom:0}}
@media(max-width:640px){.teach-intro{padding-top:20px;padding-bottom:24px}.teaching-section{padding-top:42px;padding-bottom:48px}.teaching-course{grid-template-columns:42px minmax(0,1fr);gap:11px;padding:20px 0}.teaching-course h3{font-size:16px}.teaching-course p{font-size:12.8px}}

/* V17: logos only in relevant role-based areas. Do not use colorized cards. */
.teach-brand-lead{display:grid;grid-template-columns:minmax(0,1fr) 170px;align-items:center;gap:40px}
.teach-brand-copy{min-width:0}
.teach-brand-copy h1{margin-bottom:16px}
.identity-figure{display:flex;justify-content:center;align-items:center;position:relative;flex-shrink:0;min-width:0;text-decoration:none;transition:opacity .15s ease}
.identity-figure:hover{opacity:.82}
.identity-figure img{display:block;width:100%;height:100%;object-fit:contain;position:relative;z-index:1;filter:none;mix-blend-mode:multiply}
.identity-wz{width:170px;max-width:100%;height:170px}
.identity-ey{width:158px;max-width:100%;height:91px}
.identity-skwp{width:108px;max-width:100%;height:108px}

.identity-figure img:not([src]){display:none}
.training-affiliations{margin-top:24px;border-top:1px solid #d5d3cc}
.training-affiliation{display:grid;grid-template-columns:174px minmax(0,1fr);align-items:center;gap:27px;border-bottom:1px solid #d5d3cc;padding:30px 0}
.affiliation-copy h3{font-size:18px;font-weight:560;line-height:1.3;color:#2b2e2c;margin:5px 0 8px}
.affiliation-copy .affiliation-role{font-size:11px;font-weight:600;letter-spacing:.085em;text-transform:uppercase;color:#8a6a70;margin:0}
.affiliation-copy>p:last-child{font-size:13px;line-height:1.7;color:#686a66;max-width:570px;margin:0}
@media(max-width:700px){.teach-brand-lead{grid-template-columns:1fr;gap:15px}.identity-wz{width:125px;height:125px}.training-affiliation{grid-template-columns:120px minmax(0,1fr);gap:17px}.identity-ey{width:112px;height:65px}.identity-skwp{width:80px;height:80px}.affiliation-copy h3{font-size:15px}.affiliation-copy>p:last-child{font-size:12px}}
@media(max-width:420px){.training-affiliation{grid-template-columns:1fr;gap:12px}.identity-ey{width:144px;height:83px}.identity-skwp{width:100px;height:100px}}


/* V18 — cleanup logos and stronger homepage identity */


/* V19 — final, locally bundled logos; no text overlay; exact burgundy for main name. */
.hero h1{color:#600A20;}
.identity-figure{isolation:isolate;}
.identity-figure img{position:static;z-index:auto;width:100%;height:100%;object-fit:contain;mix-blend-mode:normal;filter:none;}

/* V20 — wiersze afiliacji: oryginalne, małe logotypy po prawej, optycznie wyśrodkowane. */
.editorial--about .details > .detail{
  grid-template-columns:116px minmax(0,1fr) 112px;
  gap:16px;
  align-items:center;
  min-height:99px;
}
.detail-logo{
  justify-self:end;
  display:flex;
  align-items:center;
  justify-content:center;
  width:108px;
  height:70px;
  line-height:0;
}
.detail-logo img{display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:normal;filter:none}
.detail-logo--wz{width:64px;height:79px;margin-right:23px}
.detail-logo--ey{width:110px;height:55px}
.detail-logo--skwp{width:110px;height:55px}
.detail-logo:hover{opacity:.8}
@media(max-width:920px){
 .editorial--about .details > .detail{grid-template-columns:99px minmax(0,1fr) 82px;gap:12px}
 .detail-logo--wz{width:56px;height:71px;margin-right:12px}
 .detail-logo--ey,.detail-logo--skwp{width:81px;height:48px}
}
@media(max-width:470px){
 .editorial--about .details > .detail{grid-template-columns:minmax(0,1fr) 78px;gap:2px 15px;align-items:center;padding:17px 0}
 .editorial--about .details > .detail > small{grid-column:1;grid-row:1}
 .editorial--about .details > .detail > div{grid-column:1;grid-row:2}
 .editorial--about .details > .detail > .detail-logo{grid-column:2;grid-row:1/3}
 .detail-logo--wz{width:49px;height:65px;margin-right:14px}
 .detail-logo--ey,.detail-logo--skwp{width:78px;height:44px}
}


/* V21: consistent, background-free institution signatures, identical visual slots. */
.logo-fallback{display:none!important}
.identity-figure, .detail-logo{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  isolation:isolate;
}
.identity-figure img, .detail-logo img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  mix-blend-mode:normal!important;
  filter:none!important;
}
/* Each logo has exactly the same available canvas, regardless of its aspect ratio. */
.identity-ey, .identity-skwp, .identity-wz{
  width:160px!important;
  height:114px!important;
  max-width:100%;
  margin:0!important;
}
.training-affiliation{
  grid-template-columns:174px minmax(0,1fr);
  align-items:center;
}
.editorial--about .details > .detail{
  grid-template-columns:116px minmax(0,1fr) 130px;
  align-items:center;
}
.detail-logo, .detail-logo--wz, .detail-logo--ey, .detail-logo--skwp{
  width:130px!important;
  height:94px!important;
  margin:0!important;
  justify-self:center;
}
/* Library portrait: the original has an intact head, show its top rather than cropping it. */
.about-identity-photo img{
  object-fit:cover!important;
  object-position:50% 0%!important;
}
@media(max-width:920px){
 .editorial--about .details > .detail{grid-template-columns:99px minmax(0,1fr) 94px}
 .detail-logo,.detail-logo--wz,.detail-logo--ey,.detail-logo--skwp{width:94px!important;height:76px!important}
}
@media(max-width:700px){
 .identity-ey, .identity-skwp, .identity-wz{width:132px!important;height:95px!important}
 .training-affiliation{grid-template-columns:140px minmax(0,1fr);gap:17px}
}
@media(max-width:470px){
 .editorial--about .details > .detail{grid-template-columns:minmax(0,1fr) 84px}
 .detail-logo,.detail-logo--wz,.detail-logo--ey,.detail-logo--skwp{width:84px!important;height:73px!important}
 .training-affiliation{grid-template-columns:1fr}
 .identity-ey, .identity-skwp, .identity-wz{width:154px!important;height:109px!important}
}

/* V22 — Conferences: quiet editorial layout, no promotional tile UI */
@media (min-width: 1061px){.site-nav{gap:15px}.site-nav a{font-size:10.5px}.header-inner{gap:12px}}
.conf-header{padding-top:76px;padding-bottom:72px}
.conf-header h1{font-size:clamp(37px,4vw,52px)}
.conf-header p{max-width:760px;line-height:1.85}
.conf-context{background:#f8f7f3;padding-top:62px;padding-bottom:70px;display:grid;grid-template-columns:minmax(185px,.75fr) minmax(0,1.25fr);gap:75px;align-items:start;border-bottom:1px solid var(--line)}
.conf-context h2{font-weight:510;font-size:27px;line-height:1.38;letter-spacing:-.038em;margin:14px 0 0;max-width:330px}
.conf-context-copy p{font-size:14px;line-height:1.9;color:#555751;margin:0 0 18px}
.conf-context-copy p:last-child{margin-bottom:0}.conf-context strong{font-weight:610;color:#343532}
.conf-index{padding-top:29px;padding-bottom:29px;display:flex;gap:52px;align-items:center;border-bottom:1px solid var(--line);background:#f8f7f3}
.conf-index nav{display:flex;gap:35px;flex-wrap:wrap}.conf-index a{font-size:13px;font-weight:510;border-bottom:1px solid #9b9a92;padding-bottom:3px}.conf-index a:hover{color:#600A20;border-color:#600A20}
.conf-section{padding-top:72px;padding-bottom:83px;scroll-margin-top:20px}
.conf-section--shade{background:#eeede8}
.conf-section-head{padding-bottom:31px;border-bottom:1px solid var(--line)}
.conf-section-head h2{font-size:clamp(29px,3.3vw,37px);font-weight:510;letter-spacing:-.042em;line-height:1.3;margin:13px 0 12px}
.conf-section-head p{font-size:13.5px;color:#77766f;line-height:1.8;max-width:690px;margin:0}
.conf-year-group{display:grid;grid-template-columns:115px minmax(0,1fr);gap:28px;margin-top:40px}
.conf-year{grid-column:1;grid-row:1;margin:0;color:#600A20;font-weight:580;letter-spacing:-.035em;font-size:25px;line-height:1.45}
.conf-year-group > .conf-entry{grid-column:2}
.conf-entry{display:grid;grid-template-columns:minmax(120px,.45fr) minmax(0,1fr);column-gap:26px;padding:23px 0 26px;border-bottom:1px solid #d5d3cc;align-items:start}
.conf-year-group > .conf-entry:nth-child(2){padding-top:4px}
.conf-location{font-size:12.5px;color:#676861;line-height:1.75;padding-top:3px}
.conf-details h4{font-size:17px;line-height:1.38;font-weight:570;letter-spacing:-.012em;margin:0 0 7px}
.conf-details h4 a:hover{color:#600A20}
.conf-details h4 a span{font-size:12px;color:#88867f}
.conf-role{color:#600A20!important;font-size:12px!important;font-weight:560;margin:0 0 8px!important;line-height:1.7}
.conf-desc{color:#60615b;font-size:13px;line-height:1.85;margin:0;max-width:610px}
.conf-note{font-size:11.5px;line-height:1.85;color:#8b8882;padding-top:14px;padding-bottom:60px;margin:0;background:#f8f7f3}
@media(max-width:990px){.conf-context{gap:42px}.conf-year-group{grid-template-columns:80px 1fr;gap:18px}.conf-entry{grid-template-columns:minmax(110px,.42fr) minmax(0,1fr);gap:18px}.conf-index{gap:30px}.conf-index nav{gap:23px}}
@media(max-width:700px){.conf-header{padding-top:48px;padding-bottom:47px}.conf-context{padding-top:50px;padding-bottom:55px;grid-template-columns:1fr;gap:21px}.conf-context h2{max-width:none}.conf-index{display:block}.conf-index nav{margin-top:18px;gap:15px 22px}.conf-section{padding-top:53px;padding-bottom:61px}.conf-year-group{display:block;margin-top:31px}.conf-year{font-size:23px;margin-bottom:9px}.conf-year-group > .conf-entry{grid-column:auto}.conf-entry{grid-template-columns:1fr;gap:2px;padding:20px 0}.conf-entry:first-child{padding-top:13px}.conf-location{font-size:11.5px;letter-spacing:.015em;padding-top:0}.conf-details h4{font-size:16px}.conf-details .conf-role{margin-bottom:6px!important}}

/* v23 — stronger home bio; research and practical projects */
.hero{min-height:665px}
.hero-copy{max-width:520px}
.hero-roles{margin-bottom:18px}
.hero-roles--expanded p{max-width:510px;line-height:1.65}
.hero-roles--expanded strong{font-weight:610}
.hero-roles--expanded .hero-professional{font-size:13.4px;margin-top:5px;color:#444743}
.hero-roles--expanded .dot{margin:0 8px;color:#a6a39c}
.hero-summary--extended{max-width:490px;margin-top:17px}
.hero-summary--extended p{font-size:12.25px;line-height:1.73;color:#666760;margin:0}
.hero-summary--extended p+p{margin-top:12px}
.hero-summary--extended strong{color:#454644;font-weight:610}
.project-opening{display:grid;grid-template-columns:minmax(200px,.72fr) minmax(0,1.28fr);gap:70px;padding-top:74px;padding-bottom:75px;border-bottom:1px solid var(--line);background:#f8f7f3}
.project-opening-side h2{font-size:clamp(25px,3vw,35px);font-weight:510;letter-spacing:-.04em;line-height:1.25;margin:16px 0 0}
.project-opening-copy p{font-size:14.2px;line-height:1.95;color:#50534e;margin:0 0 17px}
.project-opening-copy p:last-child{margin-bottom:0}
.project-section{padding-top:75px;padding-bottom:86px;background:#f8f7f3}
.project-shaded{background:#eeede8}
.project-section-top{border-bottom:1px solid #d3d0c9;padding-bottom:29px}
.project-section-top h2{font-size:clamp(28px,3vw,37px);font-weight:510;line-height:1.32;letter-spacing:-.04em;margin:15px 0 13px}
.project-section-top p{max-width:735px;font-size:13.5px;line-height:1.82;color:#656760;margin:0}
.project-entries{max-width:990px}
.project-entry{display:grid;grid-template-columns:minmax(125px,.27fr) minmax(0,1fr);column-gap:36px;padding:24px 0 25px;border-bottom:1px solid #d8d5ce}
.project-date{font-size:12.5px;font-weight:590;color:#600a20;line-height:1.75;padding-top:2px}
.project-entry h3,.project-columns h3{font-size:18px;font-weight:560;letter-spacing:-.015em;margin:0 0 8px;line-height:1.42}
.project-entry p,.project-columns p{font-size:13px;color:#60615d;line-height:1.82;margin:0;max-width:710px}
.project-entry p strong{font-weight:590;color:#373a36}
.project-columns{display:grid;grid-template-columns:1fr 1fr;gap:55px;padding-top:32px}
@media(max-width:920px){.hero{min-height:0}.hero-roles--expanded .hero-professional{font-size:12.2px}.project-opening{gap:35px}}
@media(max-width:700px){.hero-roles--expanded .hero-professional{font-size:13.3px}.hero-summary--extended p{font-size:12.65px}.project-opening{grid-template-columns:1fr;gap:25px;padding-top:54px;padding-bottom:60px}.project-section{padding-top:57px;padding-bottom:70px}.project-entry{grid-template-columns:1fr;gap:5px;padding:21px 0}.project-date{padding:0}.project-columns{grid-template-columns:1fr;gap:31px}}


/* V25 — typographic polish (comparative proposal): readable nav, comfortable copy, calm imagery. */
@media (min-width: 1061px) {
  .header-inner {padding-left:44px; padding-right:44px; gap:17px;}
  .site-nav {gap:13px;}
  .site-nav a {font-size:12.2px; font-weight:480; letter-spacing:-.015em;}
}
@media (min-width: 861px) and (max-width: 1060px) {
  .header-inner {padding-left:26px; padding-right:26px; gap:12px;}
  .brand {font-size:13px;}
  .site-nav {gap:9px;}
  .site-nav a {font-size:11.2px; letter-spacing:-.015em;}
}
@media (max-width: 860px) {
  .site-nav a {font-size:15px; line-height:1.65; padding:11px 0;}
  .nav-toggle {font-size:13px;}
}
/* An unobtrusive visual divider in place of a third role/category row. */
.hero {min-height:630px;}
.hero-roles {margin-bottom:23px;}
.hero-roles p {font-size:15.4px;line-height:1.65;}
.hero-roles--expanded .hero-professional {font-size:14.5px;line-height:1.65;}
.hero-affiliations {border-top:1px solid #d5d2ca;padding-top:18px;max-width:510px;}
.hero-affiliations p {font-size:14px;line-height:1.7;color:#52544f;}
.hero-affiliations p + p {margin-top:8px;}
.hero-summary--extended {max-width:510px;margin-top:20px;}
.hero-summary--extended p {font-size:14.5px;line-height:1.76;color:#4f514d;}
.hero-summary--extended strong {color:#30322f;}
.section-lead {color:#53554f;}
.dir-description {font-size:13px;color:#62645e;}
/* Slightly more legible supporting text across content-heavy pages. */
.project-entry p,.project-columns p {font-size:14.1px;line-height:1.83;color:#535650;}
.teaching-course p {font-size:14.2px;line-height:1.85;color:#565952;}
.leisure-entry p {font-size:15px;line-height:1.86;color:#535651;}
.leisure-figure figcaption {display:none;}
/* The enlarged photograph needs no redundant label either; the counter remains. */
#lightbox-caption {display:none;}
@media (max-width: 1050px) {
  .hero {min-height:575px;}
  .hero-affiliations p {font-size:13.7px;}
  .hero-summary--extended p {font-size:14px;}
}
@media (max-width: 860px) {
  .hero {min-height:0;}
  .hero-roles p {font-size:14.1px;}
  .hero-roles--expanded .hero-professional {font-size:13.6px;}
  .hero-affiliations p {font-size:13.7px;}
}
@media (max-width: 700px) {
  .leisure-entry p {font-size:15px;}
  .teaching-course p {font-size:14px;}
}
@media (max-width: 640px) {
  .hero-affiliations {padding-top:19px;}
  .hero-affiliations p {font-size:14.2px;line-height:1.75;}
  .hero-summary--extended p {font-size:14.4px;line-height:1.77;}
  .hero-roles p {font-size:14.7px;}
  .hero-roles--expanded .hero-professional {font-size:13.7px;}
}

/* v27 — PDF download marks: same restrained visual language as the site. */
.pub-topic-link {text-decoration:none;}
.pub-topic-link:focus-visible {outline:2px solid #600a20;outline-offset:3px;border-radius:2px;}
.project-report-body {display:grid;grid-template-columns:minmax(0,1fr) 56px;column-gap:18px;align-items:center;}
.project-report-body > h3, .project-report-body > p {grid-column:1;}
.report-download {
 grid-column:2;grid-row:1 / span 2;justify-self:center;align-self:center;
 display:flex;align-items:center;justify-content:center;
 width:48px;height:48px;border-radius:50%;border:1.5px solid #600a20;
 color:#600a20;background:transparent;position:relative;text-decoration:none;
 transition:background .18s ease,color .18s ease,transform .18s ease;
}
.report-download svg {display:block;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;}
.report-download:hover,.report-download:focus-visible {background:#600a20;color:#fff;transform:translateY(-1px);}
.report-download:focus-visible {outline:2px solid #600a20;outline-offset:4px;}
.report-download::after {content:'Pobierz raport PDF';position:absolute;bottom:calc(100% + 9px);right:0;
 background:#292b28;color:#fff;border-radius:3px;padding:7px 11px;white-space:nowrap;
 font-size:12px;line-height:1.3;opacity:0;pointer-events:none;transform:translateY(3px);
 transition:opacity .16s ease,transform .16s ease;}
.report-download:hover::after,.report-download:focus-visible::after {opacity:1;transform:translateY(0);}
@media(max-width:640px){.project-report-body{grid-template-columns:minmax(0,1fr) 50px;column-gap:12px}.report-download{width:45px;height:45px}.report-download::after{display:none;}}
@media(prefers-reduced-motion:reduce){.report-download,.report-download::after{transition:none;}}

/* v28: International university teaching and Palermo scientific internship. */
.teach-outline{grid-template-columns:repeat(4,minmax(0,1fr));}
.teach-outline a{font-size:12.3px;min-width:0}
.international-teaching{padding-top:66px;padding-bottom:82px;border-top:1px solid #dad8d1;background:#eeede8;scroll-margin-top:26px}
.international-teaching .teaching-section-head{max-width:850px;margin-bottom:35px}
.international-teaching .teaching-section-head p{font-size:15px;line-height:1.78;color:#575a55;max-width:820px}
.international-list{border-top:1px solid #d0cfc8}
.international-entry{display:grid;grid-template-columns:62px minmax(0,1fr);gap:26px;padding:27px 0 30px;border-bottom:1px solid #d0cfc8}
.international-number{font-size:12px;color:#9b8e8c;letter-spacing:.06em;padding-top:3px;font-variant-numeric:tabular-nums}
.international-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;font-size:12px;line-height:1.45;letter-spacing:.075em;text-transform:uppercase;color:#7d656a;font-weight:580}
.international-year{color:#797b74}
.international-copy h3{font-size:21px;font-weight:590;line-height:1.33;color:#2c2d2a;letter-spacing:-.016em;margin:10px 0 8px}
.international-role{color:#600a20;font-size:13.5px;font-weight:550;margin:0 0 8px;line-height:1.6}
.international-description{color:#535651;font-size:14.7px;line-height:1.85;max-width:800px;margin:0}
@media(max-width:1000px){.teach-outline{grid-template-columns:repeat(2,minmax(0,1fr));}.teach-outline a:nth-child(2){border-right:0}.teach-outline a:nth-child(3),.teach-outline a:nth-child(4){border-top:1px solid var(--line)}.teach-outline a:nth-child(3){padding-left:0}}
@media(max-width:860px){.teach-outline{grid-template-columns:1fr}.teach-outline a:nth-child(3),.teach-outline a:nth-child(4){border-top:0}.teach-outline a:nth-child(n){padding:13px 0;border-right:0;border-bottom:1px solid var(--line)}.teach-outline a:last-child{border-bottom:0}}
@media(max-width:640px){.international-teaching{padding-top:48px;padding-bottom:53px}.international-entry{grid-template-columns:37px minmax(0,1fr);gap:13px;padding:22px 0}.international-copy h3{font-size:17px}.international-meta{font-size:10.6px;gap:7px 12px}.international-role{font-size:12.9px}.international-description{font-size:14px}.international-teaching .teaching-section-head p{font-size:14.3px}}


/* WP: avoid theme default margins for inner content */
#wpadminbar{position:fixed}
