.kc-project{max-width:1100px;margin:auto}.kc-project .kc-project-lead{font-size:clamp(20px,2vw,27px);line-height:1.6;padding:20px 0 36px;border-bottom:1px solid #dcd9e3}.kc-project h2{font-size:clamp(26px,3vw,38px);line-height:1.2;margin:48px 0 20px}.kc-project h3{font-size:24px;line-height:1.3}.kc-project p{font-size:18px;line-height:1.75}.kc-project .wp-block-columns{display:flex;gap:40px;margin:36px 0}.kc-project .wp-block-column{min-width:0}.kc-project .kc-project-aside{background:#f2f0f5;border-left:4px solid #574574;padding:24px}.kc-project img{max-width:100%;height:auto}@media(max-width:760px){.kc-project .wp-block-columns{display:block}.kc-project .kc-project-aside{margin-top:24px}.kc-project h2{margin-top:32px}}
.km-project .kc-news-card{padding:0 0 28px;margin:0 0 28px;border-bottom:1px solid #b3ced3;min-width:0}
.km-project .kc-news-card:last-child{padding-bottom:0;margin-bottom:0;border:0}
.km-project .kc-news-card time{font-size:14px;color:#52627a}
.km-project .kc-news-card h3{font-size:clamp(23px,2.5vw,29px);line-height:1.25;margin:12px 0 18px;text-transform:none;color:#07184b}
.km-project .kc-news-card h3 a{color:inherit;text-decoration:none}
.km-project .kc-news-card h3 a:hover{text-decoration:underline}
.km-project .kc-news-more{display:inline-block;color:#07184b;font-weight:700;text-decoration:underline;text-underline-offset:5px;padding:8px 0}
.kc-news-pages{display:flex;gap:16px;flex-wrap:wrap}
.kc-news-single{background:#f4f8fa;padding:60px 24px 80px;color:#07184b}
.kc-news-single article{max-width:860px;margin:auto;background:#fff;padding:48px}
.kc-news-single h1{font-size:clamp(32px,4vw,48px);line-height:1.15;text-transform:none;color:#07184b;margin:20px 0 36px;overflow-wrap:break-word}
.kc-news-single p,.kc-news-single li{font-size:18px;line-height:1.8;color:#07184b;overflow-wrap:anywhere}
.kc-news-single .kc-news-back,.kc-news-single a{color:#07184b;text-decoration:underline;text-underline-offset:4px}
.kc-news-single .kc-news-back{font-size:16px;display:inline-block;padding:10px 0}
.kc-news-single .kc-news-date{font-size:14px;color:#52627a;margin:25px 0 0}
.kc-news-single img{max-width:100%;height:auto}
.kc-news-single a:focus-visible{outline:3px solid #ff571f;outline-offset:4px}
@media(max-width:600px){.kc-news-single{padding:24px 16px 40px}.kc-news-single article{padding:24px 18px}.kc-news-single h1{font-size:32px}}

/* Optional native-block layout. Applies only to explicitly marked project posts. */
.kc-youth-project .atf-post{display:none}
.kc-youth-project .main-content-post{padding-top:0!important;padding-bottom:0!important}
.kc-youth-project .main-content-post>.container-xxl{max-width:1320px;padding:0}
.kc-youth-project .main-content-post>.container-xxl>.pb-5{display:none}
.km-project{--km-navy:#07184b;--km-orange:#ff571f;--km-cyan:#b8e1e5;color:var(--km-navy);font-family:inherit;line-height:1.65;margin:0 auto;max-width:1320px;text-align:left}
.km-project *{box-sizing:border-box}
.km-project p{font-size:18px;line-height:1.75;margin:0 0 20px;overflow-wrap:break-word}
.km-project h1,.km-project h2{font-family:inherit;font-weight:700;text-transform:none;color:inherit;letter-spacing:-.035em;margin:0}
.km-project h1{font-size:clamp(38px,5vw,68px);line-height:1.05;margin-bottom:30px;max-width:550px}
.km-project h2{font-size:clamp(27px,3vw,38px);line-height:1.16;max-width:330px}
.km-project .km-hero{display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:48px;background:var(--km-navy);color:white;padding:64px 64px 68px;position:relative;border-bottom:8px solid var(--km-orange)}
.km-project .km-lead{color:#edf8f9;margin:0;font-size:19px;line-height:1.7}
.km-project .km-brand-panel{background:white;padding:32px 12px;border-radius:2px;transform:rotate(-2deg)}
.km-project .km-brand{margin:0;width:100%;aspect-ratio:2.5;position:relative;overflow:hidden}
.km-project .km-brand img{display:block;position:absolute;width:125%;max-width:none;height:auto;left:-12.5%;top:-89%;margin:0}
.km-project .km-facts{display:grid;grid-template-columns:repeat(3,1fr);background:var(--km-cyan);padding:30px 64px;gap:32px}
.km-project .km-fact{display:flex;flex-direction:column;justify-content:center;border-right:1px solid #7cafb6;padding-right:20px}
.km-project .km-fact:last-child{border:0}
.km-project .km-fact p{margin:0;font-size:17px}
.km-project .km-fact .km-value{font-size:34px;font-weight:750;line-height:1.2;letter-spacing:-.03em;margin-bottom:3px}
.km-project .km-section{display:grid;grid-template-columns:1fr 1.75fr;gap:50px;padding:54px 64px;background:#fff;border-bottom:1px solid #e0e5ed}
.km-project .km-section:nth-child(even){background:#f4f8fa}
.km-project .km-section p:last-child{margin-bottom:0}
.km-project .km-cities{background:#eaf5f6!important}
.km-project .km-city-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}
.km-project .km-city-list p{padding:7px 14px;margin:0;border:1px solid #86afb5;font-size:16px;background:white;color:var(--km-navy)}
.km-project .km-results{background:var(--km-navy)!important;color:white;border-left:8px solid var(--km-orange)}
.km-project .km-draft-note{font-size:15px;color:#5e3f05;background:#fff5dc;padding:12px 16px;margin-top:20px;border-left:3px solid #b97b0d}
@media(max-width:800px){.km-project .km-hero{grid-template-columns:1fr;gap:32px;padding:36px 24px}.km-project .km-brand-panel{max-width:480px;width:100%;margin:auto;transform:none}.km-project .km-facts{padding:26px 24px;gap:14px}.km-project .km-fact{padding-right:8px}.km-project .km-fact .km-value{font-size:26px}.km-project .km-fact p{font-size:15px}.km-project .km-section{grid-template-columns:1fr;gap:22px;padding:36px 24px}.km-project h2{max-width:none}.km-project p,.km-project .km-lead{font-size:18px}.kc-youth-project .main-content-post{padding-left:0;padding-right:0}}
@media(max-width:360px){.km-project .km-facts{padding-left:16px;padding-right:16px;gap:10px}.km-project .km-fact .km-value{font-size:23px}}
.km-project .wp-block-group__inner-container{display:contents}
.km-project .km-schedule{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:28px}
.km-project .km-meeting{min-width:0;background:white;border:1px solid #b3ced3;border-top:4px solid var(--km-orange);padding:24px}
.km-project .km-meeting h3{font-size:23px;line-height:1.25;color:var(--km-navy);margin:0 0 16px;text-transform:none;font-weight:700}
.km-project .km-meeting p{font-size:16px;margin:0 0 12px}
.km-project .km-meeting-date{font-weight:700}
.km-project .km-meeting-date span{display:block}
.km-project .km-meeting-pending{color:#52627a}
.km-project .km-meeting-files{list-style:none;margin:18px 0 0;padding:0}
.km-project .km-meeting-files li{margin-top:10px}
.km-project .km-meeting-files a{color:#07184b;font-size:16px;font-weight:700;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.km-project a:focus-visible{outline:3px solid #ff571f;outline-offset:4px}
@media(max-width:600px){.km-project .km-schedule{grid-template-columns:1fr}}
.km-project .km-brand{aspect-ratio:3}
.km-project .km-brand img{top:-105%}
/* InstytutKC uses an overlapping 500px header and global div colours. */
.kc-youth-project #main-header{height:auto;margin-bottom:0;background:#07184b}
.kc-youth-project #main-header .navbar{padding-top:20px!important;padding-bottom:20px!important;gap:24px}
.kc-youth-project #main-header .brand-name{position:relative;margin:0 18px 0 0;flex-shrink:0}
.kc-youth-project #main-header .brand-name img{width:140px;height:auto!important}
.kc-youth-project .main-content-post{background:#f4f8fa}
.km-project div,.km-project p,.km-project span,.km-project strong{color:inherit}
.km-project .km-hero{color:#fff}
.km-project .km-hero .km-lead{color:#edf8f9}
.km-project .km-results{color:#fff}
.km-project .km-draft-note{color:#5e3f05}
@media(max-width:992px){.kc-youth-project #main-header .brand-name img{width:100px}.kc-youth-project #main-header .navbar{padding:16px 24px!important}}

/* Scope against InstytutKC global article/anchor styles. */
.km-project .kc-news-card,.km-project .kc-news-card p{color:#07184b}
.km-project .kc-news-card h3 a{font-size:inherit;line-height:inherit;font-weight:700}
.kc-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
/* Project news: an editorial layout shared by current and future projects. */
.kc-news-single{padding:32px 24px 80px;background:#f3f7f8}
.kc-news-single article.kc-news-story{max-width:1220px;padding:0;background:transparent;color:#07184b}
.kc-news-single .kc-news-hero{background:#07184b;border-bottom:8px solid #ff571f;display:grid;padding:0;overflow:hidden}
.kc-news-single .kc-news-hero.has-image{grid-template-columns:1.2fr 1fr}
.kc-news-single .kc-news-heading{padding:48px;align-self:center}
.kc-news-single .kc-news-heading h1{color:#fff;margin:30px 0;font-size:clamp(32px,3.5vw,54px);line-height:1.12;font-weight:700}
.kc-news-single .kc-news-heading .kc-news-date{color:#b8e1e5;margin:0;font-size:15px}
.kc-news-single .kc-news-heading .kc-news-back{display:inline-flex;align-items:center;gap:12px;color:#fff;font-size:16px;text-decoration:none;line-height:1.4}
.kc-news-single svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;flex:none}
.kc-news-single .kc-news-photo{margin:0;min-height:330px;height:100%}
.kc-news-single .kc-news-photo img{width:100%;height:100%;object-fit:cover;display:block}
.kc-news-single .kc-news-reading{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:64px;padding:54px 48px;background:#fff}
.kc-news-single .kc-news-content p{font-size:18px;line-height:1.8;margin:0 0 24px;text-align:left}
.kc-news-single .kc-news-content>p:first-child{font-size:24px;line-height:1.5;font-weight:600;margin-bottom:32px}
.kc-news-single .kc-news-content p:has(>strong>a){background:#e4f2f3;border-left:4px solid #ff571f;padding:24px;margin-top:32px}
.kc-news-single .kc-news-content a{font-size:inherit;overflow-wrap:anywhere;font-weight:600}
.kc-news-single .kc-news-context{align-self:start;border-top:4px solid #ff571f;padding-top:20px}
.kc-news-single .kc-news-context h2{font-size:24px;line-height:1.25;color:#07184b;margin:0 0 24px;text-transform:none}
.kc-news-single .kc-news-context a{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:16px;line-height:1.5;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #ccdce1;text-decoration:none}
.kc-news-single a:hover{text-decoration:underline}
.kc-project-updates{max-width:1120px;margin:48px auto;padding:32px;background:#edf7f7;color:#07184b}
.kc-project-updates h2{color:#07184b;font-size:30px;text-transform:none}
.kc-project-updates .kc-news-card{background:transparent;color:#07184b;padding:24px 0;border-bottom:1px solid #b3ced3}
.kc-project-updates .kc-news-card h3,.kc-project-updates .kc-news-card h3 a{color:#07184b;font-size:26px;line-height:1.3}
.kc-project-updates .kc-news-card p,.kc-project-updates .kc-news-card a{color:#07184b;font-size:18px}
@media(max-width:900px){.kc-news-single .kc-news-heading{padding:32px}.kc-news-single .kc-news-reading{padding:36px 28px;gap:32px;grid-template-columns:minmax(0,1fr) 210px}}
@media(max-width:650px){.kc-news-single{padding:16px 12px 40px}.kc-news-single .kc-news-hero.has-image{grid-template-columns:1fr}.kc-news-single .kc-news-heading{padding:28px 24px}.kc-news-single .kc-news-heading h1{font-size:36px;margin:24px 0}.kc-news-single .kc-news-photo{height:210px;min-height:0}.kc-news-single .kc-news-reading{display:block;padding:30px 24px}.kc-news-single .kc-news-content>p:first-child{font-size:22px}.kc-news-single .kc-news-context{margin-top:36px}.kc-news-single .kc-news-content p:has(>strong>a){padding:18px}.kc-project-updates{padding:24px}}

/* 2026-11-24: override the theme white strong text only in the white news body. */
.kc-news-single .kc-news-content strong,.kc-news-single .kc-news-content b{color:inherit}
.kc-news-single .kc-news-content p:has(>strong>a),.kc-news-single .kc-news-content p:has(>strong>a) strong{color:#07184b}
.kc-news-single .kc-news-content p:has(>strong>a) a{color:#07184b;text-decoration:underline;text-underline-offset:3px}
.kc-news-single .kc-news-content p:has(>strong>a) a:hover,.kc-news-single .kc-news-content p:has(>strong>a) a:focus-visible{color:#9b3011}
/* Category labels belong to the thumbnail; cards without photos keep normal flow. */
article:has(>.post-category-badge):has(>.card-post .card-article-img){position:relative}
article:has(>.card-post .card-article-img)>.post-category-badge{position:absolute;top:16px;left:16px;z-index:2;margin:0;padding:6px 12px;max-width:calc(100% - 32px);box-sizing:border-box;background:#07184b;color:#fff;border:1px solid rgba(255,255,255,.7);border-radius:999px;font-size:13px;line-height:1.3;pointer-events:none}

article:has(>.post-category-badge)>.card-post:has(.card-article-img){padding-top:0}

/* Project-news pagination: long titles, readable controls and anchored navigation. */
.kc-news-list{min-width:0;scroll-margin-top:32px}
.kc-news-card h3,.kc-news-card p{overflow-wrap:anywhere}
.km-project .kc-news-count,.kc-project-updates .kc-news-count{font-size:14px;color:#52627a;margin:0 0 28px}
.kc-news-list .kc-news-pages{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:28px}
.kc-news-list .kc-news-pages .page-numbers{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px 14px;border:1px solid #8eafb8;background:#fff;color:#07184b;font-size:16px;line-height:1.4;text-decoration:none;border-radius:3px}
.kc-news-list .kc-news-pages .current{background:#07184b;border-color:#07184b;color:#fff;font-weight:700}
.kc-news-list .kc-news-pages a:hover{background:#e4f2f3}
.kc-news-list .kc-news-pages a:focus-visible{outline:3px solid #ff571f;outline-offset:3px}
.kc-news-list .kc-news-pages .dots{border-color:transparent;background:transparent;min-width:24px;padding:8px 0}
