/*
Theme Name: IWBF Relaunch
Description: Institut für Wohnbauforschung – Relaunch auf Basis von Twenty Twenty-Five.
Template: twentytwentyfive
Version: 1.3.4
Requires at least: 6.7
Requires PHP: 8.3
Text Domain: iwbf-relaunch
License: GPL-2.0-or-later
*/

:root{--ink:#173c39;--muted:#55716c;--paper:#fff;--lime:#dbe66c;--line:#d6dfd9;--white:#fff;--max:1200px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:160px}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.65}a{color:inherit;text-underline-offset:.23em}a:hover{text-decoration-thickness:2px}button,a{touch-action:manipulation}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #bc682f;outline-offset:5px}.skip{position:absolute;left:20px;top:-100px;background:white;padding:15px;z-index:99}.skip:focus{top:10px}.wrap{width:min(var(--max),calc(100% - 80px));margin:auto}.header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.98);border-bottom:1px solid var(--line)}.head-main{display:flex;align-items:center;justify-content:space-between;gap:25px;min-height:105px}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;line-height:1.15;font-size:16px;font-weight:700;letter-spacing:-.35px}.brand-mark{font-size:29px;border:2px solid var(--ink);padding:9px 6px;letter-spacing:-2px}.brand small{display:block;font-size:10px;letter-spacing:1.3px;font-weight:400;margin-top:7px}.nav{display:flex;gap:24px;font-size:13px;align-items:center}.nav a{text-decoration:none}.nav a[aria-current]{border-bottom:2px solid var(--ink)}.utility{display:flex;gap:0;border-top:1px solid var(--line)}.utility a{flex:1;padding:12px 20px;text-decoration:none;font-size:13px;font-weight:700;display:flex;justify-content:space-between;align-items:center}.utility a:first-child{background:var(--ink);color:white}.utility a:last-child{background:var(--lime)}.arrow{font-size:20px}.mobile-nav{display:none}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:2px;font-weight:700;margin:0 0 21px}.hero{padding:79px 0 66px;display:grid;grid-template-columns:1.2fr .8fr;gap:55px;align-items:center}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(42px,5.2vw,69px);line-height:1.08;letter-spacing:-2.6px;font-weight:500;margin-bottom:27px}h2{font-size:clamp(30px,3.2vw,43px);line-height:1.15;letter-spacing:-1.2px;font-weight:500}h3{font-size:24px;line-height:1.25;font-weight:500;letter-spacing:-.6px}.lead{font-size:18px;line-height:1.6;max-width:610px;color:var(--muted)}.button{display:inline-flex;gap:36px;align-items:center;background:var(--ink);color:white;border:1px solid var(--ink);text-decoration:none;font-size:13px;font-weight:700;padding:15px 22px}.button.light{background:transparent;color:var(--ink)}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.diagram{position:relative;height:360px;overflow:hidden;background:#e3e8d9;border:1px solid #cbd7c9}.diagram svg{width:100%;height:100%}.diagram-label{position:absolute;bottom:19px;left:22px;font-size:10px;text-transform:uppercase;letter-spacing:2px}.hero-caption{border-top:1px solid var(--line);padding:17px 0 0;font-size:11px;letter-spacing:1.6px;text-transform:uppercase;display:flex;justify-content:space-between;gap:20px}.section{padding:74px 0;border-top:1px solid var(--line)}.section-head{display:flex;justify-content:space-between;gap:40px;align-items:end;margin-bottom:40px}.section-head h2{margin-bottom:0}.section-head p{font-size:14px;max-width:440px;margin-bottom:0;color:var(--muted)}.topics{display:grid;grid-template-columns:repeat(4,1fr);gap:25px}.topic{border-top:2px solid var(--ink);padding-top:20px}.number{font-size:11px;letter-spacing:2px}.topic h3{margin:22px 0 15px;font-size:22px}.topic p{font-size:14px;color:var(--muted)}.projects{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.project{display:flex;flex-direction:column;text-decoration:none;background:white;border:1px solid var(--line);min-width:0}.project:hover{border-color:var(--ink)}.project-cover{height:200px;background:#e4e9dc;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:25px}.project-cover img{max-width:100%;max-height:100%;object-fit:contain}.project-cover.photo{padding:0}.project-cover.photo img{width:100%;height:100%;max-height:none;object-fit:cover}.project-cover.type{font-size:60px;letter-spacing:-4px}.project-body{padding:26px;flex:1;display:flex;flex-direction:column}.project-body .eyebrow{font-size:9px;margin-bottom:13px}.project-body h3{margin-bottom:13px}.project-body p{font-size:14px;color:var(--muted)}.project-more{margin-top:auto;font-size:12px;font-weight:700}.events{display:grid;grid-template-columns:1fr 1fr;gap:24px}.event{padding:37px;background:var(--ink);color:white;display:flex;flex-direction:column;min-height:280px}.event.lime{background:var(--lime);color:var(--ink)}.event h3{font-size:34px;max-width:450px}.event p{font-size:15px;max-width:450px}.event a{margin-top:auto;font-size:13px;font-weight:700;align-self:flex-start}.contact-band{display:flex;justify-content:space-between;align-items:center;gap:40px}.contact-band h2{max-width:650px}.footer{background:var(--ink);color:white;padding:45px 0 25px;font-size:12px}.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:35px}.footer h3{font-size:17px;letter-spacing:0}.footer a{display:inline-block;margin-bottom:8px}.footer-bottom{border-top:1px solid #56706c;margin-top:30px;padding-top:17px;display:flex;justify-content:space-between;color:#c6d4cf}.page-head{padding:60px 0 40px;border-bottom:1px solid var(--line)}.page-head h1{font-size:clamp(36px,4.5vw,58px);max-width:950px}.breadcrumb{font-size:11px;letter-spacing:1px;margin-bottom:30px;color:var(--muted)}.content{padding:55px 0 80px}.legacy{max-width:830px;font-size:17px}.legacy p,.legacy .classic-paragraph{margin:0 0 24px}.legacy div:empty{display:none}.legacy img{max-width:100%;height:auto}.legacy figure{margin:24px 0}.legacy figure img{max-height:550px;object-fit:contain}.legacy table{width:100%;border-collapse:collapse;margin-bottom:30px}.legacy td{padding:16px;vertical-align:top}.legacy td img{max-width:210px}.legacy ul{padding-left:23px}.legacy .wp-block-file{background:#e6ebdf;padding:20px;margin:25px 0;font-size:14px}.legacy .wp-block-file a{display:block;margin-bottom:8px}.legacy .wp-block-file__button{font-weight:700}.legacy .gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.legacy .gallery figure{margin:0}.legacy .gallery img{height:180px;width:100%;object-fit:cover}.legacy .references-logos img{max-width:190px;max-height:100px;object-fit:contain}.listing{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.list-item{border-top:1px solid var(--line);padding:24px 0;display:flex;justify-content:space-between;gap:25px;text-decoration:none}.list-item h3{font-size:21px;margin-bottom:7px}.list-item p{font-size:13px;margin:0;color:var(--muted)}.report-tag{font-size:10px;white-space:nowrap}.notice{font-size:12px;color:var(--muted);border-top:1px solid var(--line);padding-top:20px;margin-top:35px}.preview-label{font-size:10px;background:#e6ebdf;padding:5px 12px;text-transform:uppercase;letter-spacing:1px}.legacy.team-content{max-width:1000px}.legacy.team-content table,.legacy.team-content tbody{display:block}.legacy.team-content tr{display:grid;grid-template-columns:230px 1fr;gap:30px;border-top:1px solid var(--line);padding:30px 0}.legacy.team-content td{padding:0}.legacy.team-content td img{width:210px}.legacy.team-content tr:has(td:only-child){display:block}.legacy.team-content p em{color:var(--muted)}
@media(min-width:1500px){.hero{padding-top:95px}.diagram{height:395px}}
@media(max-width:1000px){.wrap{width:calc(100% - 48px)}.nav{gap:14px;font-size:12px}.brand{font-size:13px}.hero{gap:30px}.topics{grid-template-columns:repeat(2,1fr)}.project-cover{height:180px}.project-body{padding:20px}}
@media(max-width:760px){.wrap{width:calc(100% - 36px)}.head-main{min-height:82px}.brand{font-size:12px}.brand-mark{font-size:24px}.brand small{font-size:8px}.nav{display:none}.mobile-nav{display:block;font-size:13px}.mobile-nav summary{cursor:pointer;list-style:none;border:1px solid var(--ink);padding:7px 10px}.mobile-nav[open] nav{position:absolute;left:0;right:0;top:82px;background:var(--paper);padding:20px;border-bottom:1px solid var(--line);display:grid;gap:15px}.mobile-nav nav a{text-decoration:none}.utility a{font-size:10px;padding:11px 10px;line-height:1.35;gap:8px}.utility a:last-child{max-width:56%}.arrow{font-size:16px}.hero{grid-template-columns:1fr;padding:45px 0 35px;gap:35px}h1{font-size:46px;letter-spacing:-1.8px}.lead{font-size:16px}.diagram{height:255px}.hero-caption{font-size:9px;flex-wrap:wrap;gap:10px}.section{padding:48px 0}.section-head{display:block;margin-bottom:28px}.section-head p{margin-top:18px}.topics{gap:25px 18px}.topic h3{font-size:21px}.projects{grid-template-columns:1fr}.project-cover{height:235px}.events{grid-template-columns:1fr}.event{padding:28px;min-height:290px}.event h3{font-size:30px}.contact-band{display:block}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>:first-child{grid-column:1 / -1}.footer-bottom{display:block}.footer-bottom span{display:block;margin-top:8px}.page-head{padding-top:36px}.page-head h1{font-size:39px;letter-spacing:-1.5px}.content{padding:35px 0 55px}.legacy{font-size:16px}.legacy table,.legacy tbody,.legacy tr,.legacy td{display:block;width:auto}.legacy td{padding:10px 0}.legacy .gallery{grid-template-columns:repeat(2,1fr)}.legacy.team-content tr{grid-template-columns:1fr;gap:16px}.legacy.team-content td img{width:160px}.listing{grid-template-columns:1fr}.button{font-size:12px;padding:14px 18px}.actions{gap:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.wp-site-blocks{padding:0!important}.wp-site-blocks>*{margin-block-start:0!important}body{--wp--style--global--content-size:1200px}body .wp-block-post-content{font-family:Arial,Helvetica,sans-serif}body .wp-block-post-title{margin:0}body.admin-bar .header{top:32px}.iwbf-content{max-width:830px!important;margin:0!important}.iwbf-content>p{margin-block:0 24px}body .wp-block-post-content a{color:inherit}body .wp-block-post-content img{height:auto;max-width:100%}body .wp-block-post-content iframe{max-width:100%}body .wp-block-post-content .wp-block-file a{display:inline-block}.wp-block-search input{font-family:inherit}.wp-block-search button{background:var(--ink);color:white}.wp-block-post-content table{overflow-x:auto;display:block}@media(max-width:782px){body.admin-bar .header{top:46px}}@media(max-width:600px){body.admin-bar .header{position:relative;top:0}}

/* White canvas, supplied identities and compact research cards. */
.brand-logo{width:300px;max-width:100%;height:auto;display:block}.head-main{gap:18px}.nav{gap:18px}.languages{display:flex;gap:8px;align-items:center;font-size:12px;white-space:nowrap}.languages a{padding:6px 7px;text-decoration:none;border:1px solid transparent}.languages a[aria-current]{border-color:var(--ink);font-weight:700}.hero-caption{display:block;border:0;padding:0;margin:22px 0 0;font-size:10px;line-height:1.9;letter-spacing:1px}.hero .actions{margin-top:20px}.topics{gap:20px}.topic{padding-top:14px}.topic h3{font-size:20px;margin:12px 0 10px}.topic p{font-size:13px;line-height:1.55;margin-bottom:12px}.topic>a{font-size:12px}.section{padding:58px 0}.section-head{margin-bottom:30px}.project-cover{background:white;height:180px}.event{position:relative;padding:28px;gap:10px}.event-logo{background:white;width:94px;height:94px;object-fit:contain;padding:5px;margin-bottom:8px}.event-poster{float:right;align-self:flex-end;width:100px;margin:0 0 -120px 15px}.event-poster img{width:100%;display:block}.event-poster figcaption{font-size:8px;line-height:1.3;margin-top:5px}.event.lime>p,.event.lime>h3{padding-right:115px}.partner{display:grid;grid-template-columns:260px 1fr;gap:55px;align-items:center}.partner-logo{display:block;background:white;padding:12px}.partner-logo img{display:block;width:100%;height:auto}.partner p:not(.eyebrow){max-width:720px;font-size:15px}.partner .actions{gap:25px;font-size:13px}.project-detail-logo{max-width:340px;max-height:170px;object-fit:contain;margin:0 0 30px}.archive-poster{max-width:290px}.archive-poster img{width:100%}.archive-poster figcaption{font-size:12px}.event .eyebrow{margin-bottom:5px}
@media(max-width:1000px){.brand-logo{width:240px}.nav{gap:12px}.head-main{flex-wrap:wrap;padding:18px 0}.nav{margin-left:auto}.languages{margin-left:auto}.partner{grid-template-columns:210px 1fr;gap:30px}}
@media(max-width:760px){.head-main{flex-wrap:nowrap;padding:12px 0;gap:8px}.brand-logo{width:210px}.brand{min-width:0;flex:1}.languages{gap:2px}.languages a{padding:4px}.mobile-nav summary{font-size:11px;padding:6px}.topics{gap:20px 16px}.topic h3{font-size:18px}.section{padding:40px 0}.partner{grid-template-columns:1fr;gap:25px}.partner-logo{max-width:240px;padding:0}.partner h2 br{display:none}.hero{padding-top:38px}.hero h1{font-size:43px}.event.lime>h3{font-size:25px}.event-poster{width:90px}.event.lime>p,.event.lime>h3{padding-right:100px}}

/* Ignore empty paragraphs inserted by WordPress around linked layout cards. */
.projects>p,.partner>p,.listing>p,.project>p:empty,.event>p:empty{display:none}

/* Stable project/report rows and biographies, including narrow screens. */
.list-item{align-items:flex-start;min-width:0}.list-item>div{flex:1;min-width:0}.list-item>span{flex:none;padding-top:4px}.list-item>p:empty{display:none}.listing h3{overflow-wrap:anywhere}.report-tag{align-self:flex-start}.content>.wrap>.section:first-child{padding-top:0;border-top:0}.team-list{max-width:1000px}.team-card{display:grid;grid-template-columns:160px minmax(0,1fr);gap:32px;align-items:start;padding:30px 0;border-top:1px solid var(--line)}.team-card img{width:160px;height:auto;display:block;margin:0}.team-card h2{font-size:27px;letter-spacing:-.6px;margin-bottom:16px}.team-card p{margin:0 0 16px}.team-former{margin-top:35px}.team-former>h2{font-size:22px}.team-former .team-card h2{font-size:25px}
@media(max-width:760px){.team-card{grid-template-columns:1fr;gap:20px}.team-card img{width:135px}.team-card h2{font-size:25px}.listing{gap:0}.list-item{padding:22px 0}.content>.wrap>.section:first-child{padding-top:0}.list-item h3{font-size:20px}}

/* Compact institutional details and prominent gathering sign-up. */
.compact-info{max-width:720px}.compact-info p{margin:0 0 18px}.compact-info .info-name{font-size:24px;font-weight:500}.newsletter-callout{background:var(--lime,#dbe66c);padding:30px 34px;margin:0 0 34px;border-radius:2px}.newsletter-callout h2{font-size:32px;line-height:1.15;margin:12px 0 16px}.newsletter-callout p{max-width:720px;margin:0 0 20px}.newsletter-callout .eyebrow{font-size:12px;margin:0}.newsletter-callout .button{color:#fff}.newsletter-callout~.wp-block-image img{max-width:100%;height:auto!important}@media(max-width:650px){.newsletter-callout{padding:24px}.newsletter-callout h2{font-size:27px}}

.coordination{line-height:1.55}.dialogue-callout-logo{display:block;width:280px;max-width:100%;height:auto;margin:0 0 24px;background:#fff;padding:14px}.download-note{font-size:14px;margin-top:12px!important;margin-bottom:0!important}

/* Identical bilingual project layouts and results. */
.partner-logo-row{display:flex;align-items:center;gap:28px;flex-wrap:nowrap;margin:30px 0}.partner-logo-row figure{margin:0;max-width:45%;flex:0 1 280px}.partner-logo-row img{width:100%;max-height:72px;object-fit:contain;object-position:left center}.page-title-with-logo{display:flex;align-items:center;justify-content:space-between;gap:32px}.page-title-with-logo h1{margin:0;flex:1}.page-title-with-logo>img{width:150px;max-width:22%;height:auto}.project-results{margin:30px 0}.project-results h3{font-size:23px;line-height:1.25;margin:12px 0 16px}.result-links{display:grid;gap:24px}.iwbf-content table{max-width:100%;width:100%;table-layout:fixed}.iwbf-content table img{max-width:100%;height:auto}.iwbf-content .gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.iwbf-content .gallery-item{float:none!important;width:auto!important;margin:0!important}.iwbf-content .gallery img{width:100%;height:auto;border:0!important}.iwbf-content .gallery br{display:none}@media(max-width:650px){.page-title-with-logo{gap:18px}.page-title-with-logo>img{width:100px}.partner-logo-row{gap:15px}.iwbf-content .gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}

.results-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.results-grid .project-results{margin:0}.results-grid h2{font-size:26px}@media(max-width:760px){.results-grid{grid-template-columns:1fr}}

/* Left-aligned project illustrations and compact desktop project index. */
.iwbf-content figure.project-figure-left{float:none!important;margin-left:0!important;margin-right:auto!important;text-align:left}.iwbf-content figure.project-figure-left img{display:block;margin-left:0;margin-right:auto}
@media(min-width:761px){.projects-index{padding-top:34px;padding-bottom:50px}.projects-index>.wrap>.section{padding:30px 0}.projects-index>.wrap>.section:first-child{padding-top:0}.projects-index h2{font-size:32px;margin-bottom:20px}.projects-index .listing{gap:0 26px}.projects-index .list-item{padding:16px 0}.projects-index .list-item h3{font-size:20px}.projects-index .section>p{margin-bottom:18px}}

.hero-photo{margin:0;width:100%}.hero-photo img{display:block;width:100%;height:auto;border:1px solid var(--line)}
