/* Bognár Stúdió 2026 — modernization layer */
:root{--bs-ink:#172126;--bs-muted:#5f6b70;--bs-paper:#fbfaf7;--bs-panel:#fff;--bs-accent:#8f321f;--bs-line:#e5e0d8}
body{background:var(--bs-paper);color:var(--bs-ink);font-size:17px;line-height:1.72}
.boxed-wrapper{max-width:1180px}
#page-header .entry-header{padding:46px 24px 40px;background-image:linear-gradient(rgba(255,255,255,.10),rgba(255,255,255,.10)),url('https://bognarstudio.hu/wp-content/uploads/2023/08/cropped-Bognar-Studio-fejlec.webp')!important;background-size:cover!important;background-position:center center!important;background-repeat:no-repeat!important}
.header-logo h1,.header-logo .site-title{letter-spacing:-.025em}.header-logo a{color:var(--bs-ink)}
.site-description{max-width:760px;margin:10px auto 0;color:var(--bs-muted);font-size:16px;line-height:1.55}
#main-nav{border-top:1px solid var(--bs-line);border-bottom:1px solid var(--bs-line);box-shadow:0 8px 24px rgba(23,33,38,.05)}
#main-menu>li>a{font-size:13px;font-weight:600;letter-spacing:.02em}
.page-content{padding-top:48px}.main-container{background:var(--bs-panel);border:1px solid var(--bs-line);border-radius:14px;box-shadow:0 18px 50px rgba(23,33,38,.07);padding:34px 38px 40px;box-sizing:border-box}
.post-content{color:#283337}.post-content p,.post-content li{max-width:76ch}.post-content a{text-decoration-thickness:1px;text-underline-offset:3px}.post-content h2,.post-content h3{color:var(--bs-ink);line-height:1.25}.post-content h2{margin-top:1.8em}
.page-title,.post-title{color:var(--bs-ink);font-size:clamp(30px,4vw,46px);line-height:1.12;letter-spacing:-.025em}
.wp-block-button__link,input[type="submit"],button{border-radius:7px}
@media(max-width:768px){#page-header .entry-header{padding:30px 18px 26px}.site-description{font-size:14px;padding:0 10px}.page-content{padding-top:24px}.main-content.boxed-wrapper{padding-left:14px;padding-right:14px}.main-container{border-radius:10px;padding:22px 18px 26px}.post-content{font-size:16px}.page-title,.post-title{font-size:30px}}



/* Former header inline overrides, moved into child CSS */
        :root{--bs-ink:#172126;--bs-muted:#5f6b70;--bs-paper:#fbfaf7;--bs-panel:#fff;--bs-line:#e5e0d8}
        body{background:var(--bs-paper);color:var(--bs-ink)}
        .header-logo a,.header-logo a:hover,.header-logo a:focus{text-decoration:none!important;border-bottom:0!important;box-shadow:none!important}
        #page-header .entry-header{height:210px!important;min-height:210px!important;max-height:210px!important;padding-top:0!important;padding-bottom:0!important;overflow:hidden!important;background-image:linear-gradient(rgba(255,255,255,.10),rgba(255,255,255,.10)),url('https://bognarstudio.hu/wp-content/uploads/2023/08/cropped-Bognar-Studio-fejlec.webp')!important;background-size:cover!important;background-position:center center!important;background-repeat:no-repeat!important}
        #page-header .entry-header .cv-outer,#page-header .entry-header .cv-inner{height:100%!important;min-height:0!important}
        @media(max-width:768px){#page-header .entry-header{height:145px!important;min-height:145px!important;max-height:145px!important}}
        .main-container{background:var(--bs-panel);border:1px solid var(--bs-line);border-radius:14px;box-shadow:0 18px 50px rgba(23,33,38,.07);padding:34px 38px!important;box-sizing:border-box}
        .main-container .page-title,.main-container .post-title{color:var(--bs-ink);font-size:clamp(34px,3.35vw,44px);line-height:1.12;letter-spacing:-.025em;margin-bottom:28px}
        .main-container .post-content{color:#283337;font-size:18px;line-height:1.78}
        .main-container .post-content p{margin:0 0 1.15em}
        .main-container .post-content h2{color:var(--bs-ink);font-size:clamp(27px,2.3vw,34px);line-height:1.24;letter-spacing:-.015em;margin:1.8em 0 .62em}
        .main-container .post-content h3{color:var(--bs-ink);font-size:clamp(22px,1.8vw,27px);line-height:1.3;margin:1.55em 0 .55em}
        .main-container .post-content ul,.main-container .post-content ol{padding-left:1.35em;margin:0 0 1.35em}
        .main-container .post-content li{margin:.42em 0}
        .main-container .post-content a{text-underline-offset:3px;text-decoration-thickness:1px}
        .sidebar-right{padding-left:34px}
        .sidebar-right .ashe-widget{margin-bottom:32px}
        .sidebar-right .widget-title{margin-bottom:15px;text-align:left}
        .sidebar-right .widget-title h2,.sidebar-right .widget_block h5,.sidebar-right #block-10>p{color:var(--bs-ink);font-size:13px;line-height:1.35;font-weight:700;letter-spacing:.11em;text-transform:uppercase;margin:0 0 14px}
        .sidebar-right .widget-title h2:before,.sidebar-right .widget-title h2:after{display:none!important}
        .sidebar-right .ashe-widget ul{margin:0;padding:0;list-style:none}
        .sidebar-right .ashe-widget li{padding:9px 0;border-bottom:1px solid var(--bs-line);line-height:1.45}
        .sidebar-right #recent-posts-2 li a{font-size:15px;line-height:1.42}
        .sidebar-right #recent-posts-2 li:nth-child(n+7){display:none}
        .sidebar-right .ashe-widget a{text-decoration:none;text-underline-offset:3px}
        .sidebar-right .ashe-widget a:hover{text-decoration:underline}
        .sidebar-right .widget_search form{position:relative}
        .sidebar-right .widget_search input[type="search"]{width:100%;height:52px;padding:0 58px 0 15px!important;border:1px solid #dcd7cf!important;border-radius:9px!important;background:#fff!important;box-sizing:border-box;box-shadow:0 8px 24px rgba(23,33,38,.05)}
        .sidebar-right .widget_search i{position:absolute!important;right:0!important;top:0!important;width:52px!important;height:52px!important;padding:0!important;display:flex!important;align-items:center;justify-content:center;background:#283337!important;color:#fff!important;border-radius:0 9px 9px 0;z-index:2}
        .sidebar-right .widget_search #searchsubmit{position:absolute!important;right:0!important;top:0!important;width:52px!important;height:52px!important;padding:0!important;opacity:0;z-index:3;cursor:pointer}
        .sidebar-right .wp-block-tag-cloud{line-height:1.2}
        .sidebar-right .wp-block-tag-cloud a{font-size:13px!important;display:inline-block;padding:6px 9px;margin:0 5px 7px 0;border:1px solid var(--bs-line);border-radius:999px;background:#fff;color:#4e5b60!important;text-decoration:none!important}
        .sidebar-right .wp-block-tag-cloud a:hover{border-color:#b8afa4;color:var(--bs-ink)!important;background:#fbfaf7}
        #main-nav{border-top:1px solid var(--bs-line);border-bottom:1px solid var(--bs-line);box-shadow:0 8px 24px rgba(23,33,38,.05)}
        #main-nav .boxed-wrapper{padding-left:26px;padding-right:26px}
        #main-menu>li>a{font-size:12.5px;font-weight:700;letter-spacing:.045em;line-height:58px;padding:0 11px;position:relative;text-decoration:none}
        #main-menu>li.current-menu-item>a:after,#main-menu>li.current-menu-ancestor>a:after,#main-menu>li>a:hover:after{content:"";position:absolute;left:11px;right:11px;bottom:9px;height:2px;background:#8f321f;border-radius:2px}
        #main-menu .sub-menu{border:1px solid var(--bs-line);box-shadow:0 16px 36px rgba(23,33,38,.12);border-radius:0 0 9px 9px;overflow:hidden}
        #main-menu .sub-menu a{font-size:13px;line-height:1.45;padding-top:10px;padding-bottom:10px;text-transform:none!important;letter-spacing:0}
        #main-nav .main-nav-icons{right:26px}
        #main-nav .main-nav-search>i{font-size:15px}
        .mobile-menu-btn{font-size:15px}
        #page-footer{margin-top:54px;border-top:1px solid var(--bs-line);background:#f3f0ea!important;color:#39454a!important}
        #page-footer .page-footer-inner{padding-top:38px;padding-bottom:24px}
        #page-footer .footer-widgets>.ashe-widget{width:100%!important;margin:0!important;float:none!important}
        #page-footer .footer-widgets{padding-bottom:24px;border-bottom:1px solid #ddd6cc}
        #page-footer .footer-widgets .textwidget{max-width:900px;font-size:14px;line-height:1.72;color:#465258}
        #page-footer .footer-widgets a{color:#283337!important;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
        #page-footer .footer-copyright{display:flex;gap:24px;justify-content:space-between;align-items:flex-start;padding-top:18px;font-size:12.5px;line-height:1.55;color:#697479}
        #page-footer .copyright-info{float:none;max-width:760px}
        #page-footer .credit{float:none;margin-left:auto;text-align:right;opacity:.72}
        #page-footer .scrolltop{background:#283337;color:#fff;border-radius:999px;box-shadow:0 8px 22px rgba(23,33,38,.16)}
        .bs-home-intro{margin:4px 0 34px;padding:24px 26px;background:#f4f0e8;border-left:4px solid #8f321f;border-radius:0 12px 12px 0}
        .bs-home-intro .bs-kicker{margin-bottom:10px;color:#8f321f;font-size:16px}
        .home .bs-home-intro::after{display:none!important}
        .bs-home-photo{margin:24px auto 4px;max-width:520px;text-align:center}
        .bs-home-photo img{display:block;width:100%;height:auto;margin:0 auto;border-radius:14px;box-shadow:0 10px 28px rgba(23,33,38,.10)}
        .bs-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:28px 0 40px}
        .bs-service-card{padding:22px;border:1px solid var(--bs-line);border-radius:12px;background:#fbfaf7;box-shadow:0 8px 24px rgba(23,33,38,.04)}
        .bs-service-card h3{margin-top:0!important;font-size:22px!important}
        .bs-service-card p:last-child{margin-bottom:0}
        .bs-home-cta{margin:34px 0;padding:24px 26px;border:1px solid #d9cfc3;border-radius:12px;background:#fffaf4}
        .bs-home-cta p:last-child{margin-bottom:0}
        .bs-cta-button{display:inline-block;padding:11px 17px;border-radius:8px;background:#8f321f;color:#fff!important;text-decoration:none!important;font-weight:700}
        .bs-cta-button:hover{background:#702719;color:#fff!important;text-decoration:none!important}
        .bs-faq{margin:20px 0 34px;border-top:1px solid var(--bs-line)}
        .bs-faq details{padding:15px 0;border-bottom:1px solid var(--bs-line)}
        .bs-faq summary{cursor:pointer;color:var(--bs-ink);font-weight:700;line-height:1.45}
        .bs-faq details p{margin:12px 0 0}
        #custom_html-4,#custom_html-5{display:none!important}
        @media(max-width:768px){.bs-home-intro,.bs-home-cta{padding:19px 18px}.bs-service-grid{grid-template-columns:1fr;gap:14px;margin:22px 0 32px}.bs-service-card{padding:18px}.bs-service-card h3{font-size:21px!important}.bs-faq details{padding:13px 0}}
        @media(max-width:768px){#page-footer{margin-top:38px}#page-footer .page-footer-inner{padding-top:28px;padding-bottom:20px}#page-footer .footer-widgets .textwidget{font-size:13.5px;line-height:1.68}#page-footer .footer-copyright{display:block;padding-top:16px}#page-footer .copyright-info{max-width:none}#page-footer .credit{margin-top:12px;text-align:left}}
        @media(max-width:768px){#main-nav .boxed-wrapper{padding-left:18px!important;padding-right:18px!important}.mobile-menu-btn{line-height:52px}.mobile-menu-container{padding-bottom:10px}.mobile-menu-container a{font-size:14px;line-height:1.45;padding-top:11px!important;padding-bottom:11px!important;text-decoration:none}.mobile-menu-container .sub-menu a{font-size:13px}}
        @media(max-width:768px){.main-container{padding:22px 18px!important;border-radius:10px}.main-content.boxed-wrapper{padding-left:14px!important;padding-right:14px!important}.main-container .page-title,.main-container .post-title{font-size:30px;margin-bottom:22px}.main-container .post-content{font-size:17px;line-height:1.72}.main-container .post-content h2{font-size:26px}.main-container .post-content h3{font-size:22px}.sidebar-right{padding-left:0!important;margin-top:30px}.sidebar-right .ashe-widget{margin-bottom:26px}.sidebar-right .widget_search input[type="search"]{height:50px}.sidebar-right .widget_search i,.sidebar-right .widget_search #searchsubmit{width:50px!important;height:50px!important}}

