/* Miłosław: audited theme components, 2026-09-14. */
.miloslaw-visually-hidden { position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important; }
.miloslaw-skip-link { position:fixed;left:12px;top:-200px;z-index:2147483647;background:#fff;color:#111!important;padding:14px 20px;border:3px solid #111;font:700 18px/1.5 sans-serif;text-decoration:underline!important; }
.miloslaw-skip-link:focus { top:12px; }
body a:focus-visible, body button:focus-visible, body input:focus-visible, body textarea:focus-visible, body select:focus-visible, body [tabindex]:focus-visible { outline:3px solid #111!important;outline-offset:3px!important;box-shadow:0 0 0 6px #ffdf00!important;transition:none!important; }
#miloslaw-main { scroll-margin-top:160px; }
body :focus-visible { scroll-margin-block:160px 100px; }
.miloslaw-search-label { display:block;font-size:16px;line-height:1.5;font-weight:600;color:inherit;margin:0 0 6px; }
body .search-form .form-control, body .wpcf7 input:not([type=submit]), body .wpcf7 textarea { color:#242424;background:#fff;border:1px solid #666; }
body .search-form .form-control::placeholder, body .wpcf7 input::placeholder, body .wpcf7 textarea::placeholder { color:#595959;opacity:1; }
body .search-form .btn { background:#a82028;color:#fff;min-width:44px;min-height:44px; }
body .wpcf7 label { display:block;color:#242424;font-weight:600; }
body .wpcf7-not-valid-tip { color:#a41414;font-weight:600; }
body .entry-content p a, body .elementor-widget-text-editor a { text-decoration:underline;text-underline-offset:.18em; }
body .post-meta, body .post-meta a, body .top-meta, body .top-meta a, body .bottom-meta, body .bottom-meta a { color:#595959; }
body .footer-middle-wrap { background-color:#171717;color:#fff; }
body .footer-middle-wrap a, body .footer-middle-wrap p, body .footer-middle-wrap .widget-title, body .footer-middle-wrap dt, body .footer-middle-wrap dd { color:#fff; }
body .footer-bottom, body .footer-bottom a { color:#fff; }
body .social-icons a.social-instagram { color:#b32046; }
body .footer-middle-wrap .social-icons a { color:#242424!important;background:#fff!important; }
body .egovenz-header li:focus-within > .dropdown-menu { opacity:1;visibility:visible;transform:scaleY(1); }
body .mobile-bar[inert], body .secondary-menu-area[inert] { visibility:hidden!important; }
body .mobile-bar { max-width:100vw; }
body .bottom-search-wrap .search-form { background:#fff;color:#242424;padding:12px; }
body .full-search-wrapper .miloslaw-search-label { color:#fff; }
.miloslaw-motion-control { background:#242424!important;color:#fff!important;min-height:44px;margin:8px;font-size:16px!important;line-height:1.5!important; }
body .home h2.feature-box-title { font-size:24px;line-height:1.4; }
body.home h3.feature-box-title { font-size:18px;line-height:1.5; }
body.home h3.post-title-head { font-size:20px;line-height:1.5; }
body .site-footer h2.widget-title { font-size:22px;line-height:1.4; }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto!important; } body *,body *::before,body *::after { animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important; } }
@media (max-width:600px) { body .wpcf7 input,body .wpcf7 textarea { max-width:100%; } body .page-title { overflow-wrap:anywhere; } }

/* Verified mobile and contrast corrections. */
body.home h2.feature-box-title { font-size:24px!important;line-height:1.4!important; }
body .egovenz-header .social-icons a.social-instagram { background:#a82046!important;color:#fff!important; }
body.home .elementor-heading-title, body.home .feature-box-title, body.home .post-title-head { overflow-wrap:anywhere; }
body.home #slider-4-slide-4-layer-1,body.home #slider-4-slide-4-layer-2 { background:rgba(0,0,0,.75)!important;color:#fff!important; }
body.home #slider-4-slide-4-layer-3 { background:#242424!important;color:#fff!important; }
@media (max-width:1024px) {
 .mobile-header-inner .sticky-outer { height:auto!important;min-height:80px; }
 .mobile-header-inner .sticky-head { position:relative!important; }
 .mobile-header-inner .sticky-head > .container { display:flex;align-items:center;justify-content:space-between;min-height:80px; }
 .mobile-header-inner .mobile-header-items { float:none!important;margin:0!important; }
 .mobile-header-inner .mobile-logo img { max-width:170px; }
 .mobile-header-inner .mobile-bar-toggle,.mobile-header-inner .full-search-toggle { display:inline-block;min-width:44px;min-height:44px;line-height:44px;text-align:center;color:#242424;background:#fff; }
}
@media (max-width:600px) {
 body.home .feature-box-inner { min-width:0;max-width:100%; }
 body.home .feature-box-wrapper { padding-left:20px!important;padding-right:20px!important; }
 body.home .elementor-inner-section > .elementor-container { margin-left:0!important;margin-right:0!important; }
}

.zozo-horizontal-slider-wrap { line-height:1.5; }
.zozo-horizontal-slider-wrap .miloslaw-motion-control { padding:6px 10px;margin:2px;min-height:32px;font-size:12px!important; }
.zozo-horizontal-slider.miloslaw-static-news { overflow-x:auto!important;overflow-y:hidden!important; }
.zozo-horizontal-slider.miloslaw-static-news > ul { left:0!important;transform:none!important;position:relative!important; }

/* Full-width Elementor sections and Slider Revolution retain their native sizing. */
#miloslaw-main .elementor-widget-text-editor,
#miloslaw-main .post-content {overflow-wrap:anywhere;}
#miloslaw-main .elementor-column,
#miloslaw-main .elementor-widget {min-width:0;}
.miloslaw-motion-control {min-height:44px;}
#miloslaw-main :target {scroll-margin-top:110px;}

body.home .elementor-heading-title a {color:#a82028!important;text-decoration:underline;text-underline-offset:.15em;}

/* Compact navigation panels: only these three homepage sections. */
body.home :is(.elementor-element-7ec5035,.elementor-element-5fc4c7b,.elementor-element-df401d6) {padding:8px 0!important;}
body.home .elementor-element-7ec5035 {margin-top:32px;}
body.home .elementor-element-df401d6 {margin-bottom:32px;}
body.home :is(.elementor-element-7ec5035,.elementor-element-5fc4c7b,.elementor-element-df401d6) .elementor-widget-wrap {padding:0 10px!important;}
body.home :is(.elementor-element-7ec5035,.elementor-element-5fc4c7b,.elementor-element-df401d6) .elementor-heading-title {font-size:22px!important;line-height:1.45!important;font-weight:600!important;text-align:left!important;}
body.home :is(.elementor-element-7ec5035,.elementor-element-5fc4c7b,.elementor-element-df401d6) .elementor-heading-title a {display:block;padding:20px 24px;background:#f7f7f7;border:1px solid #ddd;border-left:4px solid #a82028;border-radius:4px;color:#842027!important;text-decoration:none!important;overflow-wrap:break-word;}
body.home :is(.elementor-element-7ec5035,.elementor-element-5fc4c7b,.elementor-element-df401d6) .elementor-heading-title a:hover,
body.home :is(.elementor-element-7ec5035,.elementor-element-5fc4c7b,.elementor-element-df401d6) .elementor-heading-title a:focus-visible {background:#f5e9e9;text-decoration:underline!important;text-decoration-thickness:1px;}
@media(max-width:600px){body.home :is(.elementor-element-7ec5035,.elementor-element-5fc4c7b,.elementor-element-df401d6) .elementor-heading-title {font-size:18px!important;}body.home :is(.elementor-element-7ec5035,.elementor-element-5fc4c7b,.elementor-element-df401d6) .elementor-heading-title a {padding:16px;}}

/* Approved static homepage hero, 14 September 2026. */
#miloslaw-hero-shell {color:#222b27;background:#fff;font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.5;}
#miloslaw-hero-shell * {box-sizing:border-box;}
#miloslaw-hero-shell .wrap {width:100%;max-width:1240px;margin:0 auto;padding-left:36px;padding-right:36px;}
#miloslaw-hero-shell .hero {background:#f7f8f3;border-block:1px solid #eef0e8;}
#miloslaw-hero-shell .hero-grid {display:grid;grid-template-columns:1fr 1.12fr;gap:58px;align-items:center;padding-top:52px;padding-bottom:52px;}
#miloslaw-hero-shell .eyebrow {display:flex;gap:10px;align-items:center;color:#54665a;font-size:12px;font-weight:700;letter-spacing:2px;text-transform:uppercase;}
#miloslaw-hero-shell .eyebrow:before {content:"";width:24px;height:2px;background:#a82028;}
#miloslaw-hero-shell h1 {font-family:inherit;font-size:clamp(40px,4.3vw,64px);line-height:1.08;letter-spacing:-2.6px;font-weight:650;margin:25px 0 22px;text-transform:none;color:#222b27;}
#miloslaw-hero-shell h1 span {color:#a82028;}
#miloslaw-hero-shell .intro {font-size:18px;line-height:1.7;color:#526157;max-width:390px;margin:0 0 30px;}
#miloslaw-hero-shell .actions {display:flex;align-items:center;gap:22px;flex-wrap:wrap;}
#miloslaw-hero-shell .primary {padding:17px 22px;background:#a82028;color:#fff;text-decoration:none;border-radius:8px;font-size:14px;font-weight:600;display:inline-flex;gap:24px;align-items:center;}
#miloslaw-hero-shell .secondary {display:flex;align-items:center;gap:9px;text-decoration:none;font-size:14px;font-weight:600;color:#222b27;}
#miloslaw-hero-shell .play {width:30px;height:30px;border:1px solid #788779;border-radius:100%;display:grid;place-items:center;font-size:11px;}
#miloslaw-hero-shell .picture {position:relative;margin:0;min-width:0;}
#miloslaw-hero-shell .picture img {display:block;width:100%;height:420px;max-width:100%;object-fit:cover;border-radius:20px;}
#miloslaw-hero-shell .picture figcaption {position:absolute;left:20px;bottom:20px;background:#ffffffed;border-radius:8px;padding:12px 16px;color:#263b31;font-size:12px;line-height:1.5;}
#miloslaw-hero-shell .picture figcaption span {display:block;font-size:10px;color:#536152;margin-top:4px;letter-spacing:1px;text-transform:uppercase;}
#miloslaw-hero-shell .services {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding-top:28px;padding-bottom:32px;}
#miloslaw-hero-shell .service {display:grid;grid-template-columns:44px minmax(0,1fr) 20px;align-items:center;gap:16px;padding:22px 20px;border:1px solid #e2e7de;border-radius:12px;text-decoration:none;background:#fff;color:#222b27;}
#miloslaw-hero-shell .service:hover {background:#f7f8f3;border-color:#8c9f8e;}
#miloslaw-hero-shell .icon {height:42px;width:42px;border-radius:10px;background:#f0f3ed;display:grid;place-items:center;color:#455c4b;}
#miloslaw-hero-shell .icon svg {width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;}
#miloslaw-hero-shell .service strong {font-size:17px;display:block;margin-bottom:6px;line-height:1.4;}
#miloslaw-hero-shell .service small {color:#58665d;font-size:12px;line-height:1.5;display:block;}
#miloslaw-hero-shell .arrow {color:#a82028;font-size:22px;}
#miloslaw-hero-shell a:hover {text-decoration:underline;}
@media(max-width:800px){
#miloslaw-hero-shell .wrap {padding-left:22px;padding-right:22px;}
#miloslaw-hero-shell .hero-grid {grid-template-columns:1fr;gap:30px;padding-top:36px;padding-bottom:30px;}
#miloslaw-hero-shell h1 {font-size:46px;letter-spacing:-1.8px;}
#miloslaw-hero-shell .intro {font-size:17px;max-width:100%;}
#miloslaw-hero-shell .picture img {height:280px;}
#miloslaw-hero-shell .services {grid-template-columns:1fr;gap:12px;}
#miloslaw-hero-shell .service {padding:18px;}
}

/* Homepage photo carousel. */
#miloslaw-hero-shell .hero-slide-viewport {overflow:hidden;border-radius:20px;}
#miloslaw-hero-shell .hero-slide-track {display:flex;transition:transform .65s ease;}
#miloslaw-hero-shell .hero-slide-track img {flex:0 0 100%;min-width:100%;border-radius:0;}
#miloslaw-hero-shell .picture:has(.hero-slide-controls) figcaption {top:16px;bottom:auto;left:16px;}
#miloslaw-hero-shell .hero-slide-controls {position:absolute;bottom:16px;right:16px;display:flex;align-items:center;gap:4px;padding:5px;background:#fff;border-radius:10px;color:#222b27;box-shadow:0 2px 12px #0002;}
#miloslaw-hero-shell .hero-slide-controls button {min-width:44px;min-height:44px;padding:8px 12px;border:0;border-radius:6px;background:#fff;color:#222b27;font:600 14px Arial,sans-serif;cursor:pointer;}
#miloslaw-hero-shell .hero-slide-controls button:hover {background:#edf0e9;}
#miloslaw-hero-shell .hero-slide-count {font-size:13px;min-width:40px;text-align:center;}
@media(prefers-reduced-motion:reduce){#miloslaw-hero-shell .hero-slide-track {transition:none;}}
