.elementor-1064 .elementor-element.elementor-element-dbaf483{--display:flex;--min-height:45px;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:space-between;--align-items:center;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--z-index:1000;}.elementor-1064 .elementor-element.elementor-element-dbaf483:not(.elementor-motion-effects-element-type-background), .elementor-1064 .elementor-element.elementor-element-dbaf483 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFCB07;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-1064 .elementor-element.elementor-element-667e0f9{width:var( --container-widget-width, 100% );max-width:100%;--container-widget-width:100%;--container-widget-flex-grow:0;}.elementor-1064 .elementor-element.elementor-element-667e0f9 > .elementor-widget-container{margin:0% 0% 0% 4%;}.elementor-1064 .elementor-element.elementor-element-667e0f9 .elementor-heading-title{font-family:"Public Sans", Sans-serif;font-size:15px;font-weight:400;color:#000000;}.elementor-widget-icon.elementor-view-stacked .elementor-icon{background-color:var( --e-global-color-primary );}.elementor-widget-icon.elementor-view-framed .elementor-icon, .elementor-widget-icon.elementor-view-default .elementor-icon{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-widget-icon.elementor-view-framed .elementor-icon, .elementor-widget-icon.elementor-view-default .elementor-icon svg{fill:var( --e-global-color-primary );}.elementor-1064 .elementor-element.elementor-element-6937c30 > .elementor-widget-container{margin:0px 16px 0px 0px;}.elementor-1064 .elementor-element.elementor-element-6937c30 .elementor-icon-wrapper{text-align:center;}.elementor-1064 .elementor-element.elementor-element-6937c30 .elementor-icon{font-size:14px;}.elementor-1064 .elementor-element.elementor-element-6937c30 .elementor-icon svg{height:14px;}.elementor-1064 .elementor-element.elementor-element-fee479f{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-1064 .elementor-element.elementor-element-fee479f:not(.elementor-motion-effects-element-type-background), .elementor-1064 .elementor-element.elementor-element-fee479f > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#252933;}.elementor-1064 .elementor-element.elementor-element-fee479f.e-con{--align-self:center;}.elementor-1064 .elementor-element.elementor-element-364552a > .elementor-widget-container{margin:0px 0px 0px 0px;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}@media(max-width:767px){.elementor-1064 .elementor-element.elementor-element-667e0f9{--container-widget-width:69%;--container-widget-flex-grow:0;width:var( --container-widget-width, 69% );max-width:69%;}}@media(min-width:768px){.elementor-1064 .elementor-element.elementor-element-dbaf483{--width:100%;}.elementor-1064 .elementor-element.elementor-element-fee479f{--width:100%;}}/* Start custom CSS for icon, class: .elementor-element-6937c30 */.close-bar {
    cursor: pointer;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-364552a */@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@300;400;500;600;700&display=swap');

.header-container {
background-color: #252933;
display: flex;
width: 100%;
max-width: none;
height: 80px;
padding: 0px 100px;
justify-content: space-between;
align-items: center;
flex-shrink: 0;
margin: 0;
}

.logo {
flex-shrink: 0;
}

.logo-link {
display: block;
text-decoration: none;
}

.logo-image {
height: 40px;
width: auto;
display: block;
}

.desktop-nav {
flex: 1;
display: flex;
justify-content: flex-end;
margin-right: 60px;
}

.desktop-nav-menu {
display: flex;
list-style: none;
gap: 60px;
align-items: center;
margin: 0;
padding: 0;
}

.desktop-nav-menu li a {
color: #F0EBE3;
text-decoration: none;
text-align: center;
font-family: "Public Sans";
font-size: 15px;
font-style: normal;
font-weight: 700;
line-height: 24px;
transition: color 0.3s ease;
position: relative;
padding: 10px 15px;
}

.desktop-nav-menu li a:hover,
.desktop-nav-menu li a.active {
color: #ffcb05;
}

.desktop-nav-menu li a.active::after {
content: '';
position: absolute;
bottom: -8px;
left: 0;
right: 0;
height: 2px;
background-color: #ffcb05;
}

.desktop-nav-menu .has-dropdown {
position: relative;
}

/* Dodanie nowego elementu łączącego tylko w obszarze odstępu */
.desktop-nav-menu .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -26px; /* Dokładnie wysokość odstępu */
    left: 0;
    right: 0;
    height: 26px;
    background: transparent;
    z-index: 99;
}

.desktop-nav-menu .dropdown-menu {
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
background-color: transparent;
width: 184.341px;
flex-shrink: 0;
opacity: 0;
visibility: hidden;
z-index: 100;
margin-top: 0;
padding: 26px 0 0 0;
text-align: center;
border: none;
border-radius: 0;
transition: opacity 0.1s ease, visibility 0.1s ease;
pointer-events: none;
}

.desktop-nav-menu .has-dropdown:hover .dropdown-menu {
opacity: 1;
visibility: visible;
pointer-events: auto;
}

.desktop-nav-menu .dropdown-menu:hover {
opacity: 1;
visibility: visible;
pointer-events: auto;
}

.desktop-nav-menu .dropdown-list {
  list-style: none;
  padding: 10px 0;
  margin: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background-color: #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


.desktop-nav-menu .dropdown-list li {
  padding: 0;
  margin: 0;
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
}

.desktop-nav-menu .dropdown-list li a {
  color: #252933;
  text-align: center;
  font-family: "Public Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px;
  text-decoration: none;
  display: block;
  padding: 15px;
  white-space: normal;
  word-wrap: break-word;
  hyphens: auto;
  transition: color 0.3s ease;
  width: 100%;
  box-sizing: border-box;
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

.desktop-nav-menu .dropdown-list li a:hover {
color: #937E54;
text-decoration-line: underline;
text-decoration-style: solid;
text-decoration-skip-ink: none;
text-decoration-thickness: auto;
text-underline-offset: auto;
text-underline-position: from-font;
transition: color 0.3s ease, text-decoration 0.3s ease;
outline: none !important;
border: none !important;
box-shadow: none !important;
}

.desktop-nav-menu .dropdown-list li a:focus,
.desktop-nav-menu .dropdown-list li a:focus-visible,
.desktop-nav-menu .dropdown-list li a:active {
color: #937E54;
text-decoration-line: underline;
outline: none !important;
border: none !important;
box-shadow: none !important;
transition: color 0.3s ease, text-decoration 0.3s ease;
}

.desktop-nav-menu .has-dropdown > a::after {
display: none;
}

.desktop-nav-menu .has-dropdown:hover > a {
color: #ffcb05;
}

.main-nav {
display: none;
}

.social-icons {
display: flex;
gap: 21px;
align-items: center;
flex-shrink: 0;
}

.social-link {
color: #ffffff;
transition: color 0.3s ease;
width: 20px;
height: 20px;
display: flex;
align-items: center;
justify-content: center;
text-decoration: none;
}

.social-link:hover {
color: #ffcb05;
}

.social-link svg {
width: 16px;
height: 16px;
}

.mobile-menu-btn {
display: none;
background: none;
border: none;
cursor: pointer;
padding: 0;
align-items: center;
justify-content: center;
}

@media (max-width: 1600px) {
.desktop-nav-menu {
    gap: 50px;
}
.desktop-nav {
    margin-right: 50px;
}
}

@media (max-width: 1500px) {
.desktop-nav-menu {
    gap: 40px;
}
.desktop-nav {
    margin-right: 40px;
}
}

@media (max-width: 1400px) {
.desktop-nav-menu {
    gap: 35px;
}
.desktop-nav {
    margin-right: 35px;
}
}

@media (max-width: 1350px) {
.desktop-nav-menu {
    gap: 30px;
}
.desktop-nav {
    margin-right: 30px;
}
}

@media (max-width: 1300px) {
.desktop-nav-menu {
    gap: 25px;
}
.desktop-nav {
    margin-right: 25px;
}
.header-container {
    padding: 0px 80px;
}
}

@media (max-width: 1270px) {
.desktop-nav-menu {
    gap: 20px;
}
.desktop-nav {
    margin-right: 20px;
}
.header-container {
    padding: 0px 60px;
}
}

@media (max-width: 1230px) {
.header-container {
    padding: 0 1rem;
    min-height: 80px;
    width: 100%;
    height: auto;
    gap: 0;
    justify-content: space-between;
}

.logo-image {
    height: 25px;
}

.desktop-nav {
    display: none;
}

.mobile-menu-btn {
    display: flex;
}

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background-color: #252933;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.main-nav.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem;
    min-height: 80px;
    flex-shrink: 0;
}

.mobile-logo {
    flex: 1;
    display: flex;
    align-items: center;
}

.mobile-logo-img {
    height: 15px;
    width: auto;
    max-width: 200px;
    display: block;
}

.mobile-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mobile-nav-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
}

.nav-item {
    position: relative;
}

.nav-item:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 1px;
    background-color: #797F8E;
}

.nav-link {
    display: block;
    color: #FFF;
    text-decoration: none;
    font-family: "Public Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: -0.24px;
    padding: 1rem 1.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #ffcb05;
}

/* UPDATED: Mobile submenu always visible */
.nav-item.has-submenu .submenu {
    display: block; /* Changed from 'none' to 'block' */
    max-height: none; /* Changed from '0' to 'none' */
    overflow: visible; /* Changed from 'hidden' to 'visible' */
    background-color: transparent;
}

.nav-item.has-submenu > .nav-link {
    position: relative;
    padding-bottom: 0.5rem; /* Reduce bottom padding of parent items */
}

.submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: transparent;
}

.submenu li {
    position: relative;
}

.submenu-link {
    display: block;
    color: #F0EBE3;
    text-decoration: none;
    font-family: "Public Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: -0.18px;
    padding: 0.7rem 1.5rem 0.7rem 3rem;
    transition: all 0.3s ease;
    border-left: none;
}

.submenu-link:hover {
    color: #ffcb05;
    background-color: transparent;
    border-left-color: transparent;
}


.mobile-social-icons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 50px;
    padding: 2rem 0;
    margin: 0 1.5rem;
    flex-shrink: 0;
    position: relative;
}

.mobile-social-icons::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #797F8E;
}

.mobile-social-link {
    color: #ffffff;
    transition: color 0.3s ease;
    text-decoration: none;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.mobile-social-link:hover {
    color: #ffcb05;
}

.mobile-social-link svg {
    width: 20px;
    height: 20px;
}

.mobile-social-link:first-child {
    margin-left: 0;
}

.social-icons {
    display: none;
}
}

@media (max-width: 768px) {
.logo-image {
    content: url('https://counteveryhero.org/wp-content/uploads/2025/06/CEH-logo-horiz-text-1.svg');
    height: 25px;
}

.mobile-logo-img {
    content: url('https://counteveryhero.org/wp-content/uploads/2025/06/CEH-logo-horiz-text-1.svg');
    height: 15px;
    max-width: 200px;
}
}

@media (max-width: 480px) {
.header-container {
    min-height: 80px;
    width: 100%;
    height: auto;
    gap: 0;
    justify-content: space-between;
}

.mobile-nav-header {
    min-height: 80px;
    padding: 1rem 1.5rem;
}

.logo-image {
    height: 20px;
}

.mobile-logo-img {
    height: 12px;
    max-width: 180px;
}

.mobile-menu-btn .menu-icon {
    width: 30px;
    height: 30px;
}

.nav-link {
    font-size: 24px;
    line-height: 120%;
    letter-spacing: -0.24px;
    padding: 1rem 1.5rem;
}

.submenu-link {
    font-size: 18px;
    line-height: 120%;
    letter-spacing: -0.18px;
    padding: 0.7rem 1.5rem 0.7rem 3rem;
}

.mobile-social-icons {
    gap: 50px;
    padding: 2rem 0;
    justify-content: flex-start;
    margin: 0 1.5rem;
}

.mobile-social-link {
    width: 20px;
    height: 20px;
    padding: 0;
    margin: 0;
}

.mobile-social-link svg {
    width: 20px;
    height: 20px;
}

.desktop-nav-menu .dropdown-menu {
    width: 184.341px;
    height: calc(215.929px + 26px);
    flex-shrink: 0;
}

.desktop-nav-menu .dropdown-list li a {
    font-size: 14px;
    padding: 8px 12px;
    white-space: normal;
    word-wrap: break-word;
    hyphens: auto;
}
}

@media (min-width: 769px) {
.logo-image {
    content: url('https://counteveryhero.org/wp-content/uploads/2025/05/CEH-logo-horiz-text-1-2.svg');
}
}

@media (max-width: 1024px) {
.desktop-nav-menu .dropdown-menu {
    width: 184.341px;
    height: calc(215.929px + 26px);
    flex-shrink: 0;
}
}

body.mobile-menu-open {
overflow: hidden;
}/* End custom CSS */