/*
Theme Name: EWIM Base
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
Description: Niezależny motyw blokowy EWIM. Wygląd projektu wersjonowany oddzielnie od Core.
License: GPL-2.0-or-later
*/
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}a{color:inherit;text-underline-offset:5px}img{max-width:100%;height:auto}button,a{-webkit-tap-highlight-color:transparent}a:focus-visible,summary:focus-visible{outline:3px solid #bb5a34;outline-offset:6px}.ewim-header,.ewim-footer{max-width:1440px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:32px;padding:32px 5vw}.ewim-brand{display:flex;align-items:center;gap:14px;text-decoration:none;font-size:21px;font-weight:650;letter-spacing:-.8px}.ewim-brand img{width:50px;height:50px;object-fit:contain}.ewim-header nav{display:flex;gap:36px;font-size:14px}.ewim-header nav a{text-decoration:none}.ewim-hero{max-width:1440px;margin:0 auto 100px;padding:24px 5vw;display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:4vw;min-height:660px}.ewim-eyebrow{text-transform:uppercase;letter-spacing:.2em;font-size:11px;font-weight:700}.ewim-hero h1{font-family:Georgia,serif;font-size:clamp(48px,5.5vw,84px);font-weight:400;line-height:1.06;letter-spacing:-.055em;margin:38px 0 28px}.ewim-hero h1 em{color:#777665;font-weight:400}.ewim-hero-copy>p:not(.ewim-eyebrow){max-width:350px;font-size:18px;color:#66685c;line-height:1.6}.ewim-button{display:inline-flex;gap:40px;align-items:center;background:#293d31;color:#fff;padding:17px 25px;text-decoration:none;border-radius:3px;margin-top:22px;font-size:14px}.ewim-button:hover{background:#445b47}.ewim-hero-art{height:560px;position:relative;background:#d5d1bf;overflow:hidden;border-radius:180px 4px 4px 4px}.ewim-hero-art>img{width:100%;height:100%;object-fit:cover}.ewim-art-caption{position:absolute;bottom:22px;left:25px;right:25px;font-size:12px;color:#fff;text-shadow:0 1px 6px #000;background:#293d31b0;padding:10px 14px;border-radius:2px}.ewim-architecture{position:absolute;inset:0;background:linear-gradient(120deg,#d3cdbc,#eee7d8 48%,#b7b49e);overflow:hidden}.ewim-architecture:before{content:'';position:absolute;width:50%;height:76%;background:linear-gradient(90deg,#7d7d64,#323e2e);left:24%;bottom:0;border-radius:200px 200px 0 0;box-shadow:25px 14px 40px #484c3b50}.ewim-architecture:after{content:'';position:absolute;height:32%;left:0;right:0;bottom:0;background:linear-gradient(155deg,#d4cdba,#a3a18b);clip-path:polygon(0 70%,100% 0,100% 100%,0 100%)}.ewim-architecture i{position:absolute;width:85px;height:220px;border-radius:50% 50% 7% 7%;background:linear-gradient(90deg,#743f2b,#b88c63);z-index:1;bottom:80px;left:32%;transform:rotate(-8deg);box-shadow:26px 30px 30px #3334}.ewim-architecture b{position:absolute;right:-55px;top:80px;width:180px;height:180px;background:#ece9dc;border-radius:50%;box-shadow:-20px 30px 70px #5553}.wp-site-blocks>div.wp-block-group{padding:0 5vw;max-width:1180px;margin:0 auto 110px}.wp-site-blocks>.wp-block-group>h2{max-width:700px}.wp-site-blocks>.wp-block-group>p{max-width:610px;margin-left:0;color:#62675c;font-size:19px;line-height:1.8}.ewim-module{margin:60px 0}.ewim-services article{display:flex;justify-content:space-between;align-items:center;gap:30px;border-top:1px solid #bfc3b3;padding:24px 0}.ewim-services article h3{margin:0;font-size:25px}.ewim-services article p{font-size:15px;color:#62675c}.ewim-services article>strong{white-space:nowrap;font-size:16px}.ewim-faq details{border-bottom:1px solid #bfc3b3;padding:22px 0}.ewim-faq summary{font-size:20px;cursor:pointer}.ewim-faq details>div{max-width:750px;line-height:1.7}.ewim-locations{display:grid;grid-template-columns:repeat(2,1fr);gap:32px}.ewim-locations article{border-left:2px solid #a6ad92;padding-left:26px}.ewim-gallery{display:grid;grid-template-columns:1.3fr 1fr;gap:24px;margin:60px 0}.ewim-gallery figure{margin:0}.ewim-gallery img{display:block;width:100%;height:330px;object-fit:cover}.ewim-contact{background:#293d31;color:#f7f5ec;display:grid;grid-template-columns:1.2fr 1fr;gap:50px;padding:80px max(5vw,calc((100vw - 1180px)/2));}.ewim-contact h2{font-family:Georgia,serif;font-size:clamp(40px,4vw,64px);font-weight:400;line-height:1.1;letter-spacing:-.04em}.ewim-contact address{align-self:center;font-style:normal;line-height:1.8}.ewim-contact .ewim-button{background:#e2e4bd;color:#293d31}.ewim-footer{font-size:13px;min-height:120px;flex-wrap:wrap}.wp-site-blocks>*{margin-block-start:0}.wp-block-post-content{padding-inline:5vw}.wp-block-post-content>.ewim-hero,.wp-block-post-content>.ewim-contact{margin-inline:-5vw}.wp-block-post-content>.wp-block-group{max-width:1100px;margin:0 auto 90px}
@media(max-width:750px){.ewim-header{padding:22px 6vw;align-items:flex-start}.ewim-brand{font-size:18px}.ewim-header nav{gap:12px;font-size:12px;flex-direction:column}.ewim-hero{grid-template-columns:1fr;padding:20px 6vw;gap:40px;margin-bottom:50px;min-height:0}.ewim-hero h1{font-size:54px;margin:25px 0}.ewim-hero-art{height:420px;border-radius:140px 4px 4px 4px}.ewim-contact{grid-template-columns:1fr;padding:55px 6vw;gap:20px}.ewim-gallery{gap:12px}.ewim-gallery img{height:220px}.ewim-locations{grid-template-columns:1fr}.ewim-services article{align-items:flex-start;gap:12px}.ewim-services article h3{font-size:22px}.ewim-services article>strong{font-size:13px}.ewim-footer{gap:15px;padding:30px 6vw}.wp-site-blocks>div.wp-block-group{margin-bottom:65px} .ewim-brand img{width:35px;height:35px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.ewim-hero-copy,.ewim-hero-art{min-width:0}.ewim-hero h1{overflow-wrap:anywhere}@media(max-width:360px){.ewim-hero h1{font-size:44px}.ewim-header{gap:12px}}
