/* Keep the added navigation entry on one row before Astra switches to mobile. */
@media (min-width: 922px) and (max-width: 1200px) {
  header .custom-logo { max-width: 170px !important; height: auto; }
  header #ast-hf-menu-1 > .menu-item > .menu-link {
    padding-left: 9px !important;
    padding-right: 9px !important;
    font-size: 14px !important;
  }
  header .ast-custom-button {
    padding: 12px 14px !important;
    font-size: 14px !important;
    white-space: nowrap;
  }
}

/* Explicit PL / EN choice; only this control and compact Astra spacing. */
#masthead .b360-language-link{display:flex!important;align-items:center!important;justify-content:flex-start;}
#masthead .b360-lang-options{display:inline-flex!important;align-items:center;gap:2px;padding:3px;border:1px solid rgba(255,255,255,.5);border-radius:999px;white-space:nowrap;line-height:1;}
#masthead .b360-lang-options>.b360-lang-choice{display:inline-flex!important;align-items:center;justify-content:center;min-width:32px;min-height:32px;height:32px!important;padding:0 7px!important;margin:0!important;font-family:Inter,sans-serif;font-size:12px!important;font-weight:600!important;letter-spacing:.02em;line-height:1!important;color:#fff!important;border-radius:999px;text-decoration:none!important;background:transparent;border:0;}
#masthead .b360-lang-options>.is-current{background:#fff;color:#344b1d!important;cursor:default;}
#masthead .b360-lang-options>a:hover{background:rgba(255,255,255,.18);}
#masthead .b360-lang-options>a:focus-visible{outline:2px solid #fff;outline-offset:3px;}
.b360-polish-marker{font-size:.75em;white-space:nowrap;opacity:.8;}
.b360-mobile-language{display:none;}
@media(min-width:922px) and (max-width:1250px){
 #masthead .ast-primary-header-bar .ast-container{padding-left:24px;padding-right:24px;}
 #masthead .main-header-menu>.menu-item>.menu-link{padding-left:10px;padding-right:10px;font-size:14px;}
 #masthead .ast-custom-button{font-size:14px;padding:14px 16px;white-space:nowrap;}
 #masthead .custom-logo-link img{max-width:180px!important;width:180px!important;}
}
@media(max-width:921px){
 #masthead .b360-mobile-language{display:inline-flex;margin-right:12px;}
 #masthead .ast-mobile-header-content .b360-language-link{padding:12px 20px;}
 #masthead .ast-mobile-header-content .b360-lang-options{border-color:#bccbad;}
 #masthead .ast-mobile-header-content .b360-lang-options>.b360-lang-choice{color:#344b1d!important;min-width:44px;min-height:44px;height:44px!important;}
 #masthead .ast-mobile-header-content .b360-lang-options>.is-current{background:#46512a;color:#fff!important;}
 #masthead .ast-mobile-header-content .b360-lang-options>a:hover{background:#eef3e4;}
 #masthead .ast-mobile-header-content .b360-lang-options>a:focus-visible{outline-color:#46512a;}
}
@media(max-width:359px){#masthead .b360-mobile-language{margin-right:6px;}#masthead .b360-mobile-language .b360-lang-choice{min-width:28px;padding:0 5px!important;}#masthead .custom-logo-link img{max-width:140px!important;}}

/* Attribution stays visible against the existing dark footer. */
footer a[href^="https://storyset.com/"]{color:#c7d0be!important}

/* Small, scoped readability and form improvements; existing brand styles stay. */
main h1,main h2{text-wrap:balance}
.elementor-836 .elementor-widget-icon .elementor-icon,.elementor-2217 .elementor-widget-icon .elementor-icon{max-inline-size:100%}
.elementor-836 .elementor-widget-icon .elementor-icon svg,.elementor-2217 .elementor-widget-icon .elementor-icon svg{max-inline-size:100%;block-size:auto}
.b360-form-v2 textarea{min-block-size:88px;max-block-size:24rem;overflow:auto}
@supports(field-sizing:content){.b360-form-v2 textarea{field-sizing:content;block-size:auto}}
@media(prefers-reduced-motion:reduce){.e-accordion-item-base::details-content{transition:none!important}.b360-form-v2 *{scroll-behavior:auto!important}}
