/* Contact controls retain breathing room, including when a list is expanded. */
html body #kontaktai #brief-form .form-grid { row-gap: 14px !important; }
html body #kontaktai #brief-form label { gap: 7px !important; }
html body #kontaktai #brief-form .brand-select { margin-bottom: 0 !important; }
html body #kontaktai #brief-form .brand-select-list { position: relative !important; top: auto !important; margin-top: 8px !important; }
html body #kontaktai #brief-form .brand-select-scroll-rail { display: none !important; }
html body #kontaktai #brief-form .required-project-fields { padding-top: 12px !important; padding-bottom: 4px !important; }
html body #kontaktai #brief-form button[type=submit] { margin-top: 14px !important; }
html body footer#footer.site-footer a:hover,
html body footer#footer.site-footer a:focus-visible { background: #c1ff00 !important; color: #000 !important; -webkit-text-fill-color: #000 !important; }

html body #kontaktai #brief-form .required-project-fields .form-grid { grid-template-columns: minmax(0,1fr) !important; }

/* Shared left-aligned footer; links and copyright occupy one mobile row. */
html body footer#footer .footer-contact-row { display:flex!important; flex-wrap:wrap!important; justify-content:flex-start!important; align-items:center!important; gap:20px!important; }
html body footer#footer .footer-contact-row>nav { display:flex!important; flex-wrap:nowrap!important; justify-content:flex-start!important; width:auto!important; margin:0!important; gap:20px!important; text-align:left!important; }
html body footer#footer .footer-contact-row>nav>a { text-align:left!important; }
html body .founder-certifications img[alt="ISM"],html body #footer img[alt*="ISM"] { filter:brightness(0) invert(1)!important; object-fit:contain!important; width:130px!important; height:56px!important; max-height:56px!important; }
@media(max-width:760px){
html body footer#footer .footer-contact-row { display:grid!important; grid-template-columns:minmax(0,1fr) auto!important; gap:16px 10px!important; }
html body footer#footer .footer-contact-row>a { grid-column:1 / -1!important; }
html body footer#footer .footer-contact-row>nav { grid-column:1!important; gap:clamp(8px,2.5vw,14px)!important; overflow:visible!important; }
html body footer#footer .footer-contact-row>nav>a { padding:8px 0!important; min-height:0!important; font-size:clamp(9px,2.6vw,11px)!important; white-space:nowrap!important; }
html body footer#footer .footer-contact-row>span { grid-column:2!important; font-size:12px!important; margin:0!important; white-space:nowrap!important; }
}

/* Restore the desktop editorial rule and contain the perspective wordmark. */
@media(min-width:801px){html body .restored-page-rule{display:block!important}}
html body #home .hero-agency-title { box-sizing:border-box!important; min-width:0!important; isolation:isolate; }
html body #home .hero-agency-title .agency-title-plane { transform-origin:100% 50%; }
html body img,html body video,html body canvas { -webkit-touch-callout:none; -webkit-user-drag:none; user-select:none; }
@media(max-width:760px){
html body #poziuris .founder-results { gap:12px!important; }
html body #poziuris .founder-results>div { text-align:left!important; align-items:flex-start!important; min-width:0!important; }
html body #poziuris .founder-results>div>span::before { content:none!important; }
}

/* Compact media and stable logo proportions on both layouts. */
html body #media #media-mentoryste .mentoring-gallery{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:24px!important;align-items:start!important;max-width:960px!important;margin:24px 0!important}
html body #media #media-mentoryste .mentoring-gallery>figure{margin:0!important;min-width:0!important;height:300px!important}
html body #media #media-mentoryste .mentoring-gallery>figure img{width:100%!important;height:300px!important;max-height:300px!important;object-fit:contain!important}
html body #media #media-mentoryste .mentoring-reels-aligned{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin:0!important}
html body #media #media-mentoryste video{width:100%!important;height:300px!important;max-height:300px!important;object-fit:contain!important;background:#111!important}
html body .collaborate-strip .collaborate-viewport{width:100%!important;overflow:hidden!important;mask-image:none!important;-webkit-mask-image:none!important}
html body .collaborate-strip .collaborate-logo{width:190px!important;min-width:190px!important;height:90px!important;padding:18px 24px!important;flex:0 0 190px!important}
html body .collaborate-strip .collaborate-logo img{width:auto!important;max-width:142px!important;height:auto!important;max-height:54px!important;object-fit:contain!important}
@media(max-width:760px){
html body #media #media-mentoryste .mentoring-gallery{grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
html body #media #media-mentoryste .mentoring-gallery>figure,html body #media #media-mentoryste .mentoring-gallery>figure img{height:210px!important;max-height:210px!important}
html body #media #media-mentoryste video{height:240px!important;max-height:240px!important}
html body .cm-reveal-pending,html body .cm-portal-pending{opacity:1!important;visibility:visible!important;translate:none!important}
html body .cm-reading-scroll{-webkit-text-fill-color:currentColor!important;background-image:none!important;background-clip:initial!important}
html body .collaborate-strip .collaborate-logo{width:150px!important;min-width:150px!important;flex-basis:150px!important;height:78px!important;padding:16px!important}
html body .collaborate-strip .collaborate-logo img{max-width:118px!important;max-height:46px!important}
}

/* Desktop logos scroll within the editorial content column, never behind its rule. */
@media(min-width:761px){
html body #media-collaborate.collaborate-strip>.collaborate-viewport,
html body #proud-to-collaborate.collaborate-strip>.collaborate-viewport{
width:calc(100% - 14vw)!important;max-width:calc(100% - 14vw)!important;margin-left:8.8vw!important;margin-right:5.2vw!important;overflow:hidden!important;clip-path:inset(0)!important;box-sizing:border-box!important;
mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent)!important;-webkit-mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent)!important;
}
html body #media-collaborate.collaborate-strip>.collaborate-viewport .collaborate-logo,
html body #proud-to-collaborate.collaborate-strip>.collaborate-viewport .collaborate-logo{width:190px!important;min-width:190px!important;flex:0 0 190px!important;height:90px!important;padding:18px 24px!important}
html body #media-collaborate.collaborate-strip>.collaborate-viewport .collaborate-logo img,
html body #proud-to-collaborate.collaborate-strip>.collaborate-viewport .collaborate-logo img{width:auto!important;max-width:142px!important;height:auto!important;max-height:54px!important;object-fit:contain!important}
}
