/* Requested page-only fixes, independent of the homepage. */
main:not(#start)>.footer-flush{padding-bottom:0!important;margin-bottom:0!important}
.knowledge-note{max-width:900px;margin:0 auto;padding:28px 32px;background:#eefdff;border:1px solid #dcebee;border-left:4px solid #00afcb;border-radius:12px;text-align:left}
.knowledge-note .knowledge-title,.designed-page .knowledge-note .knowledge-title{font:700 18px/1.4 Arial,Helvetica,sans-serif;letter-spacing:0;color:#142439;margin:0 0 14px}
.knowledge-note p,.knowledge-note li{font:400 16px/1.7 Arial,Helvetica,sans-serif}.knowledge-note p:last-child{margin-bottom:0}.knowledge-note a{overflow-wrap:anywhere;color:#00afcb}
.designed-page .knowledge-band{padding-top:40px;padding-bottom:40px}.knowledge-band .knowledge-note{background:white}.knowledge-note img{display:none}
.partner-heading{display:flex;align-items:flex-start;gap:16px;margin-bottom:20px}.partner-heading .section-icon{width:32px;height:32px;flex:0 0 32px;margin:0}.partner-heading h3{margin:0;line-height:1.3}.partner-panel .partner-heading+ p{margin-top:0}
@media(max-width:600px){.knowledge-note{padding:24px}.designed-page .knowledge-band{padding-top:28px;padding-bottom:28px}.partner-heading{gap:12px}}
/* Five requested follow-up adjustments, on subpages only. */
.knowledge-note{margin-left:0;margin-right:0}
.designed-page .inner-hero-image,.designed-page .support-image img,.designed-page .topic-image img,.designed-page .project-card img,.designed-page .challenge-card img{object-fit:contain;object-position:center;background:#fff}
.designed-page .partner-logo{display:block;width:auto!important;height:100px!important;max-width:100%;object-fit:contain;margin:24px 0!important;border-radius:0}
.designed-page>.contact-bottom-space{padding-bottom:80px!important}
@media(max-width:600px){.designed-page>.contact-bottom-space{padding-bottom:52px!important}}
/* Requested portfolio-card layout, fitted frames and horizontal partner logos. */
.designed-page .inner-hero-image,.designed-page .support-image img{height:auto!important;max-height:none;aspect-ratio:auto;object-fit:cover;background:transparent}
.designed-page .inner-hero-visual{overflow:hidden;border-radius:110px 12px 12px 60px}.designed-page .inner-hero-image{border-radius:0}
.designed-page .inner-image-badge{right:20px;bottom:20px;max-width:calc(100% - 40px);display:flex;align-items:center;gap:12px;padding:16px 20px;box-sizing:border-box}
.designed-page .inner-image-badge .section-icon{display:block;flex:0 0 28px;width:28px;height:28px;margin:0}.designed-page .inner-image-badge span{display:block;line-height:1.4}
.portfolio-page .project-card{display:flex;flex-direction:column;border:1px solid #dcebee;border-radius:10px;background:white;box-shadow:none}
.portfolio-page .portfolio-image{display:flex;align-items:center;justify-content:center;height:260px;padding:20px;background:#eefdff;overflow:hidden}
.designed-page.portfolio-page .portfolio-image img{width:100%;height:100%;max-height:none;object-fit:contain;object-position:center;background:transparent}
.portfolio-page .project-body{display:flex;flex-direction:column;flex:1;padding:26px;background:white}
.portfolio-page .project-body h3{font-size:25px;line-height:1.3;margin:0 0 14px}.portfolio-page .project-body h3 a{color:#142439;text-decoration:none}
.portfolio-page .project-body p{font-size:16px;line-height:1.6;margin-bottom:22px}.portfolio-page .portfolio-action{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:auto;font:400 16px/1.5 Arial,Helvetica,sans-serif;color:#00afcb;text-decoration:none}.portfolio-action span{font-size:24px;line-height:1}
.partner-logo-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:28px 0;align-items:center}
.partner-logo-cell{display:flex;align-items:center;justify-content:center;width:100%;height:110px;min-width:0}.designed-page .partner-logo-cell .partner-logo{width:100%!important;height:100%!important;max-width:100%;max-height:100%;object-fit:contain;margin:0!important}
@media(max-width:760px){.designed-page .inner-hero-visual{border-radius:60px 12px 12px 30px}.portfolio-page .portfolio-image{height:240px}.partner-logo-row{gap:12px}.partner-logo-cell{height:90px}}
@media(max-width:600px){.designed-page .inner-image-badge{right:14px;bottom:14px;max-width:calc(100% - 28px);padding:12px 16px;gap:10px}.designed-page .inner-image-badge .section-icon{width:24px;height:24px;flex-basis:24px}.portfolio-page .project-body{padding:24px}.partner-logo-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.partner-logo-cell{height:72px}}

/* Consistent subpage heading sizes; homepage remains unchanged. */
main:not(#start){--heading-hero:64px;--heading-section:40px;--heading-card:25px;--heading-small:18px}
main:not(#start) h1{font-size:var(--heading-hero)!important}
main:not(#start) h2{font-size:var(--heading-section)!important}
main:not(#start) h3,main:not(#start) .topic-copy h2,main:not(#start) .topic-card h2,main:not(#start) .project-card h2,main:not(#start) .contact-options h2,main:not(#start) .contact-panel h2,main:not(#start) .disclosure-body h2{font-size:var(--heading-card)!important}
main:not(#start) h4,main:not(#start) h5,main:not(#start) h6,main:not(#start) .knowledge-title,main:not(#start) .page-sidebar h2{font-size:var(--heading-small)!important}
@media(max-width:1024px){main:not(#start){--heading-hero:48px;--heading-section:34px;--heading-card:25px;--heading-small:18px}}
@media(max-width:600px){main:not(#start){--heading-hero:36px;--heading-section:28px;--heading-card:22px;--heading-small:18px}}

/* Requested full container width for Gut zu wissen boxes. */
.knowledge-note.knowledge-full-width{width:100%;max-width:none}

/* Transparent monitor backgrounds for the three requested template images. */
.designed-page .project-card img[src$="-transparent.png"]{background:transparent}
