/*
Theme Name: Pro Carpenter One
Theme URI: https://www.procarpenter.hu/
Author: Pro Carpenter
Description: Egyedi, mobiloptimalizált Pro Carpenter téma a referencia-pluginhoz, visszafordítható aktiválással. Valódi médiatári projektfotókat használ.
Version: 1.9.4
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: procarpenter-one
*/
:root{--red:#bd0926;--ink:#151b22;--muted:#5c6570;--soft:#f3f4f5;--line:#e5e8ea;--wrap:1180px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font:15px/1.6 system-ui,-apple-system,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}img{max-width:100%;height:auto}a{text-decoration:none;color:inherit}a:hover{color:var(--red)}:focus-visible{outline:3px solid var(--red);outline-offset:3px}p{margin:0 0 15px;color:var(--muted)}h1,h2,h3{letter-spacing:-.04em;line-height:1.12;margin:0 0 18px}h1{font-size:clamp(37px,4.3vw,62px);font-weight:850}h2{font-size:clamp(27px,3vw,39px)}h3{font-size:20px}.redtext{color:var(--red)}.wrap{width:min(var(--wrap),calc(100% - 40px));margin:0 auto}.eyebrow{text-transform:uppercase;letter-spacing:.19em;font-size:10px;font-weight:800;color:#737a82;margin:0 0 10px}.btn{background:var(--red);color:#fff;display:inline-flex;gap:12px;align-items:center;justify-content:center;padding:13px 21px;border-radius:3px;font-weight:750;font-size:13px;transition:transform .2s,background .2s}.btn:hover{background:#990a20;color:white;transform:translateY(-1px)}.btn-outline{background:white;color:var(--ink);border:1px solid #9199a0}.btn-outline:hover{background:#f4f5f6;color:var(--ink)}.btn-white{background:white;color:var(--red)}.btn-white:hover{background:#f4f4f4;color:var(--red)}.header{background:#fff;position:sticky;top:0;z-index:100;box-shadow:0 3px 24px #11182712}.admin-bar .header{top:32px}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:77px}.logo{width:172px;height:auto;display:block}.nav ul{display:flex;align-items:center;gap:26px;list-style:none;margin:0;padding:0}.nav a{font-size:13px;font-weight:750}.nav .current-menu-item>a{color:var(--red)}.header-right{display:flex;align-items:center;gap:16px}.phone{white-space:nowrap;font-weight:700;font-size:13px}.mobile-toggle{display:none;background:#fff;border:1px solid var(--line);border-radius:4px;padding:7px 11px;font-size:24px;cursor:pointer}.mobile-nav{display:none}.hero{position:relative;overflow:hidden;min-height:450px;background:linear-gradient(90deg,#fff 0%,#f7f8f9 55%,#e6ebef 100%)}.hero>.wrap{position:relative;z-index:2;padding:65px 0 32px}.hero-copy{max-width:52%;position:relative;z-index:2}.hero-copy h1{margin-bottom:17px}.hero-copy .lead{font-size:15px;max-width:455px;line-height:1.7}.hero-actions{display:flex;flex-wrap:wrap;gap:11px;margin:23px 0 30px}.hero-img{position:absolute;right:0;top:0;bottom:0;width:63%;overflow:hidden;background:linear-gradient(140deg,#d9dee3,#8d9ba7)}.hero-img img{width:100%;height:100%;object-fit:cover;display:block}.hero-img:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fff 1%,#ffffffed 9%,#ffffff00 53%)}.hero-img:before{content:"";position:absolute;z-index:2;top:0;left:20%;width:200px;height:24px;transform:skew(-48deg);background:var(--red)}.hero-img-empty{display:flex;align-items:center;justify-content:center;text-align:center;font-weight:850;font-size:27px;color:#55616c;padding:30px}.values{display:flex;gap:17px;margin-top:22px}.value{border-left:3px solid var(--red);padding-left:11px;line-height:1.3;font-size:12px;font-weight:800}.value small{display:block;color:var(--muted);font-weight:500;font-size:11px;margin-top:3px}.section{padding:63px 0}.soft{background:var(--soft)}.section-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:28px}.section-head h2{margin:0}.subtle-link{color:var(--red);font-size:12px;font-weight:800}.service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.service-card,.project-card{background:#fff;border:1px solid var(--line);overflow:hidden;border-radius:5px;transition:box-shadow .2s,transform .2s}.service-card:hover,.project-card:hover{box-shadow:0 12px 30px #17243119;transform:translateY(-2px)}.service-image{height:157px;background:linear-gradient(135deg,#e2e5e8,#b5bfc6);display:flex;align-items:center;justify-content:center;color:#5e6871;font-size:12px}.service-image img{width:100%;height:100%;object-fit:cover}.service-copy,.project-copy{padding:17px}.service-copy h3,.project-copy h3{font-size:17px;margin:0 0 7px}.service-copy p,.project-copy p{font-size:12px;margin:0 0 13px}.service-copy .subtle-link{font-size:12px}.process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:29px}.process-step{border-top:2px solid #edb3bf;padding:25px 16px 4px 0;position:relative}.process-step .num{position:absolute;top:-17px;left:0;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--red);color:#fff;font-weight:850;font-size:12px}.process-step h3{margin:0 0 7px;font-size:16px}.process-step p{font-size:12px}.process-layout{display:grid;grid-template-columns:2fr 1fr;gap:28px;align-items:stretch}.process-cta{background:linear-gradient(140deg,#c70727,#810a1e);padding:34px;color:white;clip-path:polygon(15% 0,100% 0,100% 100%,0 100%,0 19%);display:flex;flex-direction:column;justify-content:center;min-height:270px}.process-cta h3{font-size:29px;color:white}.process-cta p{color:#ffe9ed}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.project-image{height:195px;background:linear-gradient(135deg,#ddd,#a6afb5);overflow:hidden}.project-image img{width:100%;height:100%;object-fit:cover}.empty-message{background:#f4f4f4;color:#5d646c;padding:25px;font-size:13px}.quotes-and-blog{display:grid;grid-template-columns:1fr 1fr;gap:32px}.quotes-and-blog h2{font-size:27px}.blog-mini{display:flex;gap:14px;align-items:center;border-bottom:1px solid var(--line);padding:11px 0}.blog-mini img{width:94px;height:65px;object-fit:cover}.blog-mini strong{font-size:14px;line-height:1.35}.blog-mini small{display:block;color:var(--muted)}.cta-band{background:linear-gradient(110deg,#111d27,#24313a);color:#fff;padding:36px 0;position:relative;overflow:hidden}.cta-band:after{content:"";position:absolute;right:0;top:0;width:32%;height:100%;background:var(--red);clip-path:polygon(36% 0,100% 0,100% 100%,0 100%);opacity:.7}.cta-band .wrap{display:flex;align-items:center;justify-content:space-between;gap:25px;position:relative;z-index:2}.cta-band h2{font-size:26px;color:white;margin:0}.cta-band p{color:#e5e9ec;margin:7px 0 0}.footer{background:#101b23;color:#e4e8eb;padding:52px 0 20px}.footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:35px}.footer .logo{filter:none;object-fit:contain;object-position:left center;max-width:185px}.footer h3{font-size:14px;color:white}.footer a,.footer p{display:block;font-size:12px;color:#bdc7ce;margin:6px 0}.footer-bottom{border-top:1px solid #34424a;margin-top:35px;padding-top:18px;font-size:11px;color:#aab6bf}.intro{background:#f3f5f6;padding:52px 0}.intro h1{font-size:clamp(35px,4vw,53px)}.content-shell{padding:50px 0 75px;min-height:260px}.content-shell .entry-content{max-width:930px}.entry-content p,.entry-content li{line-height:1.8}.entry-content h2{margin-top:34px}.entry-content img{height:auto}.archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:19px}.archive-grid article{border:1px solid var(--line);background:white}.archive-grid .post-image{height:190px;background:#eceeef;display:block}.archive-grid .post-image img{width:100%;height:100%;object-fit:cover}.archive-grid .post-body{padding:19px}.archive-grid .post-body h2{font-size:20px}.archive-grid .post-body p{font-size:13px}.mobile-cta{display:none}.pcr-references,.pcr-detail{max-width:var(--wrap);margin:0 auto}.pcr-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.pcr-card{border-radius:5px!important}.pcr-card-photo img{object-fit:cover}.pcr-filters{gap:10px}.no-image{background:#eff1f2;height:100%;display:grid;place-items:center;text-align:center;color:#56616b;font-size:12px;padding:12px}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1000px){.nav ul{gap:13px}.nav a{font-size:12px}.header-right .phone{display:none}.hero-copy{max-width:57%}.service-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:800px){.admin-bar .header{top:46px}.wrap{width:calc(100% - 32px)}.header-inner{min-height:65px}.logo{width:154px}.nav,.header-right>.btn,.header-right>.phone{display:none}.mobile-toggle{display:block}.mobile-nav.is-open{display:block;border-top:1px solid var(--line);padding:10px 20px 20px}.mobile-nav a{display:block;padding:11px 4px;font-weight:750;font-size:14px}.hero{display:flex;flex-direction:column;min-height:unset}.hero>.wrap{padding:39px 0 20px;order:1}.hero-copy{max-width:100%}.hero-img{position:relative;width:100%;height:240px;order:2}.hero-img:after{display:none}.hero-img:before{left:10%;width:150px;height:15px}.hero-copy h1{font-size:clamp(36px,8vw,48px)}.hero-copy .lead{font-size:14px}.hero-actions{margin:20px 0}.values{gap:10px}.value{flex:1;font-size:10px}.value small{font-size:9px}.section{padding:43px 0}.section-head{align-items:flex-start;gap:14px}.section-head h2{font-size:28px}.service-grid{grid-template-columns:1fr;gap:10px}.service-card{display:grid;grid-template-columns:39% 61%;min-height:115px}.service-image{height:100%;min-height:115px}.service-copy{padding:13px}.service-copy h3{font-size:15px}.service-copy p{font-size:11px}.process-layout{grid-template-columns:1fr}.process-grid{grid-template-columns:1fr;gap:0;margin-top:10px}.process-step{border-top:0;border-left:2px solid #efb2bd;padding:0 0 22px 35px;margin-left:15px}.process-step .num{left:-17px;top:0}.process-cta{clip-path:none;min-height:170px;padding:25px}.process-cta h3{font-size:25px}.project-grid,.archive-grid,.pcr-grid{grid-template-columns:1fr!important}.quotes-and-blog{grid-template-columns:1fr}.cta-band .wrap{display:block}.cta-band .btn{margin-top:18px}.footer-grid{grid-template-columns:1fr 1fr;gap:25px}.footer-grid>:first-child{grid-column:span 2}.footer{padding-bottom:90px}.mobile-cta{display:block;position:fixed;z-index:90;bottom:0;left:0;right:0;background:white;padding:9px 16px;box-shadow:0 -4px 22px #11182722}.mobile-cta .btn{width:100%}.intro{padding:34px 0}.content-shell{padding:34px 0 60px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

/* Brand arch: full-width curved top, square bottom corners. */
body.blog .archive-grid article, body.archive:not(.post-type-archive-portfolio) .archive-grid article{
 --pc-card-arch:32px;
 border-radius:50% 50% 0 0 / var(--pc-card-arch) var(--pc-card-arch) 0 0;
 overflow:hidden;
}
@media(max-width:660px){body.blog .archive-grid article, body.archive:not(.post-type-archive-portfolio) .archive-grid article{--pc-card-arch:22px}}
