/*
  Theme Name: Asgood
  Author: -
  Version: 1.0
*/

:root {
  --ag-primary-color: #FF0001;
  --ag-light-color: #FFF;
  --ag-dark-color: #000;
  --ag-text-darker-color: #252525;
  --ag-text-dark-color: #4E4E4E;
  --ag-text-lighter-color: #A9A9A9;
  --ag-bg-medium-light-color: #EDEDED;
  --ag-bg-light-color: #F8F8F8;
  --ag-bg-light-transparent-color: rgba(255, 255, 255, 0.8);
  --ag-text-medium-color: #B3B3B3;
  --ag-grey-color: #808080;
  --ag-linkedin-color: #3965ad;
}

html {
  scroll-padding-top: 125px;
}

body {
  box-sizing: border-box;
  color: var(--ag-text-darker-color);
  font-family: 'Mulish', sans-serif;
  font-weight: 400;
  margin: 0;
  overflow: hidden;
  overflow-y: visible;
  padding: 0;
}

body.admin-bar>header {
  top: 32px;
}

body.no-scroll {
  overflow: hidden;
}

.wp-block,
.wp-block-cover {
  color: var(--ag-text-darker-color) !important;
}

.has-text-color {
  color: var(--ag-text-darker-color);
}

.has-text-default-color {
  color: var(--ag-text-darker-color);
}

.has-text-dark-color {
  color: var(--ag-text-dark-color);
}

.has-red-color {
  color: var(--ag-primary-color);
}

.has-black-color {
  color: var(--ag-dark-color);
}

.has-light-color {
  color: var(--ag-light-color);
}

.has-light-gray-color {
  color: var(--ag-text-lighter-color);
}


.has-gigantic-font-size {
  font-size: clamp(32px, 3.1vw, 44px) !important;
  line-height: 1.2;
}

.has-huge-font-size {
  font-size: clamp(28px, 1.8vw, 34px) !important;
  line-height: 1.2;
}

.has-large-font-size {
  font-size: clamp(24px, 3.1vw, 28px) !important;
  line-height: 1.2;
}

.has-medium-large-font-size {
  font-size: clamp(20px, 3.1vw, 22px) !important;
  line-height: 1.2;
}

.has-medium-font-size {
  font-size: 20px;
  line-height: 1.2;
}

.has-regular-font-size {
  font-size: 16px;
}

.has-small-font-size {
  font-size: 14px;
}

.has-extra-small-font-size {
  font-size: 12px;
}

.has-red-background-color {
  background-color: var(--ag-primary-color);
}

.has-text-default-background-color {
  background-color: var(--ag-text-dark-color);
}

.has-black-background-color {
  background-color: var(--ag-dark-color);
}

.has-light-background-color {
  background-color: var(--ag-light-color);
}

.rows-equal-height {
  grid-auto-rows: 1fr
}

.page .page-title,
.subpage .page-title,
#about_title .page-title,
#about_title .heading-big {
  padding-top: 50px;
}

/* .page-header-with-bg .page-title {
  font-weight: 200;
  margin-bottom: 30px;
}

.page-header-with-bg p {
  padding-bottom: 20px;
} */

#forwho_title .page-title {
  padding-top: 0;
}


.site-main.page-template h1.wp-block-heading {
  margin-bottom: 30px;
}

.site-main.page-template h2.wp-block-heading,
.site-main.page-template h3.wp-block-heading,
.site-main.page-template h4.wp-block-heading,
.site-main.page-template h5.wp-block-heading,
.site-main.page-template h6.wp-block-heading {
  color: var(--ag-primary-color);
  margin-bottom: 25px;
  margin-top: 35px;
}

@media screen and (max-width: 782px) {
  body.admin-bar>header {
    top: 46px;
  }
}

@media screen and (max-width: 600px) {
  #wpadminbar {
    position: fixed;
  }
}

#main a,
header a,
footer a,
#main .btn,
header .btn,
footer .btn {
  transition: all 0.25s ease-in-out;
}

p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  padding-bottom: 10px;

}

a {
  color: var(--ag-primary-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a.btn,
a.btn.btn-on-light,
.wp-block-button .wp-block-button__link {
  background-color: var(--ag-primary-color);
  border-radius: 6px;
  color: var(--ag-light-color);
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

a.btn:hover,
.wp-block-button.is-style-on-dark .wp-block-button__link:hover {
  background-color: var(--ag-light-color);
  color: var(--ag-primary-color);
  text-decoration: none;
}

a.btn.btn-on-light:hover,
.wp-block-button .wp-block-button__link:hover {
  background-color: var(--ag-dark-color);
  color: var(--ag-light-color);
}

a.btn.white {
  background-color: var(--ag-light-color);
  color: rgb(128, 0, 0);
}

a.btn.white:hover {
  background-color: var(--ag-bg-light-transparent-color);
  color: var(--ag-dark-color)
}

a.btn.link {
  background: none;
  color: var(--ag-primary-color);
}

a.btn.link:hover {
  color: var(--ag-dark-color);
  text-decoration: underline;
}

a.btn.outline,
button.btn.outline,
.wp-block-button.is-style-outline .wp-block-button__link {
  background-color: var(--ag-light-color);
  border: 2px solid var(--ag-primary-color);
  color: var(--ag-primary-color);
}

a.btn.outline:hover,
button.btn.outline:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  border-color: var(--ag-dark-color);
  color: var(--ag-dark-color);
}

.btn.btn-icon {
  background-color: var(--ag-light-color);
  border: 2px solid var(--ag-dark-color);
  color: var(--ag-dark-color);
  display: flex;
  height: 50px;
  padding: 5px;
  width: 50px;
}

.btn.btn-icon:hover {
  border-color: var(--ag-primary-color);
  color: var(--ag-dark-color);
}

.btn.btn-icon .icon {
  height: 30px;
  margin: auto;
}

.icon-linkedin {
  color: var(--ag-linkedin-color) !important;
}

img {
  height: auto;
  max-width: 100%;
}

h1,
.subpage .page-title,
.single .page-title,
.page .page-title,
.heading-big {
  color: var(--ag-primary-color);
  font-size: clamp(32px, 3.1vw, 44px);
  line-height: 1.2;
  margin: 0 0 10px;
}

.heading-big {
  font-weight: 400;
  padding: 0;
}

.subpage .page-subtitle,
.single .page-subtitle,
.page .page-subtitle,
h2 {
  color: var(--ag-dark-color);
  font-weight: 600;
  padding: 20px 0 30px 0;
}

.subpage .page-title-light,
.single .page-title-light {
  color: var(--ag-text-lighter-color);
  padding-bottom: 20px;
}

.page-header {
  background: none;
}

@media only screen and (max-width: 429px) {

  h2,
  .subpage .page-title {
    font-size: 26px;
  }

  h3 {
    color: var(--ag-text-dark-color);
    font-size: clamp(26px, 1.8vw, 34px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 10px;
  }

  .date {
    color: var(--ag-light-color);
    display: block;
    font-size: 14px;
    padding: 4px 0;
  }
}

.line {
  background-color: var(--ag-dark-color);
  height: 1px;
  margin: 20px auto;
}

.container {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 50px;
  position: relative;
  z-index: 1;
}

@media only screen and (max-width: 1024px) {
  .container {
    padding: 0 40px;
  }
}

@media only screen and (max-width: 720px) {
  .container {
    padding: 0 30px;
  }
}

@media only screen and (max-width: 560px) {
  .container {
    padding: 0 20px;
  }
}


.nav-wrapper {
  background-color: var(--ag-dark-color);
  position: sticky;
  top: 0;
  transition: all 0.1s ease-in-out;
  z-index: 99;
}

.nav-wrapper.is-scrolled {
  box-shadow: 0 2px 20px var(--ag-text-dark-color);
}

.nav-wrapper .container {
  max-width: 1378px;
  padding: 0 25px;
}

.nav-wrapper .container .navbar {
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-align: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  padding: 22px 0;
}

.nav-wrapper .container .navbar .navbar-brand {
  margin-right: auto;
  max-width: 180px;
  z-index: 2;
}

.nav-wrapper .container .navbar .main-menu-container {
  -webkit-box-pack: end;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: end;
  -webkit-justify-content: flex-end;
  justify-content: flex-end;
  margin-left: 30px;
  z-index: 1;
}

.nav-wrapper .container .navbar .main-menu-container .menu-main-menu-container {
  max-width: 800px;
  width: 100%;
}

.nav-wrapper .container .navbar .main-menu-container .menu-main-menu-container ul {
  -webkit-box-pack: justify;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: flex-end;
  list-style-type: none;
}

.nav-wrapper .container .navbar .main-menu-container .menu-main-menu-container ul li a {
  color: var(--ag-light-color);
  font-size: 14px;
  margin-right: 1.875rem;
}

.nav-wrapper .container .navbar .main-menu-container .menu-main-menu-container ul li a:hover {
  color: var(--ag-primary-color);
  opacity: 0.7;
  text-decoration: none;
}

.navbar .menu-linkedin {
  background-color: var(--ag-dark-color);
  border-radius: 5px;
  display: flex;
  margin-bottom: auto;
  padding: 2px 1px 2px 4px;
  transition: all 0.25s ease-in-out;
}

.navbar .menu-linkedin svg {
  color: var(--ag-light-color);
  height: 24px;
  transition: all 0.25s ease-in-out;
  width: 24px;
}

.navbar .menu-linkedin:hover {
  background-color: var(--ag-light-color);
}

.navbar .menu-linkedin:hover svg {
  color: var(--ag-dark-color);
}


@media only screen and (max-width: 992px) {
  .nav-wrapper .container .navbar .main-menu-container {
    align-items: center;
    background-color: var(--ag-dark-color);
    flex-direction: column;
    left: 0;
    margin: 0;
    opacity: 0;
    padding: 120px 25px 25px;
    position: absolute;
    top: 0px;
    transition: opacity 0.4s ease, visibility 0s linear 0.4s;
    visibility: hidden;
    width: 100%;
  }

  .nav-wrapper .container .navbar .main-menu-container.is-open {
    opacity: 1;
    transition: opacity 0.4s ease, visibility 0s linear 0s;
    visibility: visible;
  }

  .nav-wrapper .container .navbar .main-menu-container .menu-main-menu-container {
    max-width: 100%;
  }

  .nav-wrapper .container .navbar .main-menu-container .menu-main-menu-container ul {
    display: block;
    padding-left: 0;
    text-align: center;
  }

  .nav-wrapper .container .navbar .main-menu-container .menu-main-menu-container ul li {
    padding: 5px 0;
  }

  .nav-wrapper .container .navbar .main-menu-container .menu-main-menu-container ul li a {
    margin-right: 0;
  }

  .nav-wrapper .navbar .menu-linkedin {
    justify-content: center;
  }
}

@media only screen and (max-width: 560px) {
  .nav-wrapper .container .navbar .navbar-brand {
    max-width: 150px;
  }
}

@media only screen and (max-width: 360px) {
  .nav-wrapper .container .navbar .navbar-brand {
    max-width: 120px;
  }
}

.nav-wrapper .container .navbar a.toggle-nav {
  z-index: 1;
}

.nav-wrapper .container .navbar a.toggle-nav .icon-bar {
  background-color: var(--ag-light-color);
  border-radius: 10px;
  display: block;
  height: 2px;
  margin: 6px;
  width: 25px;
}

.nav-wrapper .container .navbar a.toggle-nav .icon-bar.toggled:nth-of-type(1) {
  -webkit-transform: rotate(45deg) translate(3px, 4px);
  transform: rotate(45deg) translate(3px, 4px);
}

.nav-wrapper .container .navbar a.toggle-nav .icon-bar.toggled:nth-of-type(2) {
  opacity: 0;
}

.nav-wrapper .container .navbar a.toggle-nav .icon-bar.toggled:nth-of-type(3) {
  -webkit-transform: rotate(-45deg) translate(7px, -8px);
  transform: rotate(-45deg) translate(7px, -8px);
}

@media only screen and (min-width: 993px) {
  .nav-wrapper .container .navbar a.toggle-nav {
    display: none;
  }
}

@media only screen and (min-width: 769px) {
  .nav-wrapper .container .navbar.dark #logo {
    fill: var(--ag-dark-color);
  }

  .nav-wrapper .container .navbar.dark .main-menu-container ul li a {
    color: var(--ag-dark-color);
  }

  .nav-wrapper .container .navbar.dark a.toggle-nav .icon-bar {
    background-color: var(--ag-dark-color);
  }
}

/* Main Section */

#page_title {
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

#page_title .container {
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-align: center;
  -webkit-box-pack: start;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  -ms-flex-pack: start;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
  min-height: 580px;
}

#page_title h1 {
  color: var(--ag-dark-color);
  color: var(--ag-light-color);
  font-size: clamp(32px, 3.1vw, 44px);
  line-height: 1.2;
  margin: 0 0 10px;
  text-transform: uppercase;
}

@media only screen and (max-width: 429px) {
  #page_title h1 {
    font-size: 26px;
  }
}

#page_title .desc {
  max-width: 420px;
}

#page_title .desc h2,
#page_title .desc p {
  color: var(--ag-light-color);
  margin-bottom: 20px;
}

.front-page #page_title {
  position: relative;
}

.front-page #page_title:after {
  background: rgba(0, 0, 0, 0.4);
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

/* Offer Section */
#offer_title .heading-big {
  padding: 50px 0px 30px 0px;
}

#offer_title h3 {
  color: var(--ag-text-dark-color);
  padding-bottom: 30px;
}

#offices_features {
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(139, 180, 62, 0)), to(rgba(139, 180, 62, 0.15)));
  background: linear-gradient(180deg, rgba(139, 180, 62, 0) 0%, rgba(139, 180, 62, 0.15) 100%);
  padding-bottom: 80px;
}

#offices_features .container {
  display: grid;
  grid-auto-rows: 1fr;
  grid-gap: 25px;
  grid-template-columns: repeat(3, 1fr);
}

#offices_features .container .box {
  background-color: var(--ag-dark-color);
  border: 3px solid var(--ag-dark-color);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  min-height: 437px;
  overflow: hidden;
  padding: 20px 38px;
  position: relative;
  transition: all 0.25s ease-in-out;
  width: 100%;
}

#offices_features .container .box:hover {
  border-color: var(--ag-primary-color);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  text-decoration: none;
}

#offices_features .container .box .line {
  background-color: var(--ag-primary-color);
  height: 2px;
  margin: 20px auto;
  width: 90%;
  z-index: 1;
}

#offices_features .container .box .box-content .box-icon {
  display: flex;
  height: 50px;
  margin: 0 auto;
  width: auto;
  z-index: 1;
}

#offices_features .container .box span {
  color: var(--ag-light-color);
  display: block;
  position: relative;
}

#offices_features .container .box h3 {
  color: var(--ag-light-color);
  display: block;
  padding-bottom: 0px;
  position: relative;
}

#offices_features .box-content {
  z-index: 1;
}

#offices_features .line {
  background-color: var(--ag-primary-color);
  height: 2px;
  margin: 20px auto;
  width: 80%;
}

#offices_features .text-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: flex-start;
}


#offices_features .text-content span {
  color: var(--ag-light-color);
  margin-top: 10px;
}

#offices_features .box-footer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 150px;
}

#offices_features .box-footer a {
  align-self: flex-end;
  color: var(--ag-light-color);
  display: inline-block;
  text-decoration: none;

}

@media only screen and (max-width: 922px) {
  #offices_features .container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 640px) {
  #offices_features .container {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

/* Realizacje */
.realizations-list {
  display: grid;
  grid-auto-rows: 1fr;
  grid-gap: 25px;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}

.realizations-list.archive-list {
  padding: 0;
}

.realization-tile {
  border: 1px solid transparent;
  border-radius: 15px;
  margin-bottom: 23px;
  overflow: hidden;
  padding: 10px;
  position: relative;
  transition: all 0.25s ease-in-out;
}

.realization-tile:hover {
  border-color: var(--ag-primary-color);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.realization-tile:hover a,
.realization-tile a:hover {
  text-decoration: none;
}

.realization-tile .realization-thumbnail img {
  border-radius: 10px;
  height: 400px;
  object-fit: cover;
  width: 100%;
}

.realization-tile .realization-title {
  color: var(--ag-dark-color);
  min-height: 160px;
  padding-bottom: 10px;
  padding-top: 15px;
}

.realization-tile .realization-description {
  color: var(--ag-text-lighter-color);
}

/* Realizations on homepage */
#realization_title {
  background-color: var(--ag-dark-color);
  color: var(--ag-light-color);
  padding-bottom: 80px;
  padding-top: 50px;
}

#realization_title .heading-big {
  margin-bottom: 40px;
}

#realization_title .realization-tile .realization-title {
  color: var(--ag-light-color);
}

#realization_title .realizations-list {
  margin-top: 40px;
}

/* Realizations archive */
.realizations-archive .page-subtitle {
  font-size: 1.75rem;
  font-size: clamp(1.375rem, 3.1vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
  padding: 20px 0 30px
}

@media only screen and (max-width: 922px) {
  .realizations-list {
    grid-template-columns: repeat(2, 1fr);
  }

  #realization_title a.btn {
    width: 100%;
  }
}

@media only screen and (max-width: 640px) {
  .realizations-list {
    grid-template-columns: 1fr;
  }
}

/* Dla kogo */

#forwho_features {
  padding-bottom: 80px;
}

#forwho_features .forwho-features-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#forwho_features .box {
  border-radius: 15px;
  margin-bottom: 23px;
  overflow: hidden;
  padding: 10px;
  width: calc(33.33% - 15px);
}

#forwho_features .box-image {
  border-radius: 15px 15px 0 0;
  height: auto;
  width: 100%;
}

#forwho_features .text-content {
  color: var(--ag-light-color);
  padding-top: 15px;
}

#forwho_title .page-subtitle {
  font-weight: 500;
}

#forwho_title h3 {
  color: var(--ag-text-darker-color);
  padding: 20px 0 30px 0;
}

#forwho_features .text-content h3 {
  color: var(--ag-text-darker-color);
  margin: 10px 0;
  text-align: center;
}

#forwho_title {
  background-position: right;
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom: 40px;
  padding: 50px 0px 30px 0px;
}

#forwho_features .text-content p {
  margin: 10px 0;
}

#forwho_features .box-footer {
  margin-top: 15px;
}

#forwho_features .box-footer a {
  color: var(--ag-light-color);
  font-weight: bold;
  text-decoration: none;
}

@media only screen and (max-width: 1026px) {
  #forwho_features {
    padding-bottom: 50px;
  }
}

@media only screen and (max-width: 922px) {
  #forwho_features .forwho-features-content .box {
    margin-bottom: 20px;
    width: calc(50% - 10px);
  }
}

@media only screen and (max-width: 860px) {
  #forwho_features {
    padding-bottom: 30px;
  }
}

@media only screen and (max-width: 640px) {
  #forwho_features {
    padding-bottom: 0;
  }

  #forwho_features .forwho-features-content .box {
    width: 100%;
  }
}

/* About us */

#about_title h3 {
  font-weight: 600;
  padding: 20px 0 30px 0;
}

#about_title p {
  color: var(--ag-text-dark-color);
}

#about_features .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#about_features .box {
  border-radius: 15px;
  margin-bottom: 23px;
  overflow: hidden;
  padding: 10px;
  width: calc(33% - 15px);
}

#about_features .box-image {
  border-radius: 15px 15px 0 0;
  height: auto;
}

#about_features .text-content {
  color: var(--ag-light-color);
  padding-top: 15px;
}

#about_features .text-content h3 {
  color: var(--ag-dark-color);
  font-weight: 600;
  margin: 10px 0;
  padding: 20px 0 30px 0;
}

#about_features .text-content p {
  margin: 10px 0;
}

#about_features .box-footer {
  margin-top: 15px;
}

#about_features .box-footer a {
  color: var(--ag-light-color);
  font-weight: bold;
  text-decoration: none;
}

@media only screen and (max-width: 922px) {
  #about_features .container .box {
    margin-bottom: 20px;
    width: calc(50% - 10px);
  }
}

@media only screen and (max-width: 640px) {
  #about_features .container .box {
    width: 100%;
  }
}

/* Klienci Galeria Ikon */

#clients-gallery .clients-gallery-logotypes {
  background-color: var(--ag-light-color);
  padding: 20px 0;
}

#clients-gallery .clients-gallery-logotypes h3 {
  color: var(--ag-dark-color);
  font-weight: 700;
  margin: 0 0 8% 0;
}

#clients-gallery .clients-gallery-logotypes .clients-gallery-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0 20px;
}

#clients-gallery .clients-gallery-logotypes .clients-gallery-nav .logo {
  box-sizing: border-box;
  flex: 1 1 calc(20% - 40px);
  max-width: calc(20% - 40px);
  text-align: center;
}

#clients-gallery .clients-gallery-logotypes .clients-gallery-nav .logo img {
  display: inline-block;
  height: auto;
  max-width: 100%;
}

@media only screen and (max-width: 1200px) {
  #clients-gallery .clients-gallery-logotypes .clients-gallery-nav .logo {
    flex: 1 1 calc(25% - 40px);
    max-width: calc(25% - 40px);
  }
}

@media only screen and (max-width: 992px) {
  #clients-gallery .clients-gallery-logotypes .clients-gallery-nav .logo {
    flex: 1 1 calc(33.33% - 40px);
    max-width: calc(33.33% - 40px);
  }
}

@media only screen and (max-width: 768px) {
  #clients-gallery .clients-gallery-logotypes .clients-gallery-nav .logo {
    flex: 1 1 calc(50% - 40px);
    max-width: calc(50% - 40px);
  }
}

@media only screen and (max-width: 480px) {
  #clients-gallery .clients-gallery-logotypes .clients-gallery-nav .logo {
    flex: 1 1 calc(100% - 40px);
    max-width: calc(100% - 40px);
  }
}



/* Page with Image */
#about_title_image p,
#about_features_image p {
  color: var(--ag-text-dark-color);
  margin-bottom: 8%;
}

/* Page only text */

#about_title_text h3 {
  color: var(--ag-dark-color);
  font-weight: 600;
  padding: 20px 0 30px 0;
}

#about_title_text p {
  color: var(--ag-text-dark-color);
}

#about_features_image .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#about_features_image .box {
  border-radius: 15px;
  margin-bottom: 23px;
  overflow: hidden;
  padding: 10px;
  width: calc(33% - 15px);
}

#about_features_image .box-image {
  border-radius: 15px 15px 0 0;
  height: auto;
}

#about_features_image .text-content {
  color: var(--ag-light-color);
  padding-top: 15px;
}

#about_features_image .text-content h3 {
  color: var(--ag-dark-color);
  font-weight: 600;
  margin: 10px 0;
  padding: 20px 0 30px 0;
}

#about_features_image .text-content p {
  margin: 10px 0;
}

#about_features_image .box-footer {
  margin-top: 15px;
}

#about_features_image .box-footer a {
  color: var(--ag-light-color);
  font-weight: bold;
  text-decoration: none;
}

.description-content-img {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.description-content-img p {
  flex: 1;
  margin-right: 20px;
}

.description-content-img img {
  height: auto;
  max-width: 50%;
}

@media (max-width: 768px) {
  .description-content-img {
    flex-direction: column;
  }

  .description-content-img p {
    margin-bottom: 20px;
    margin-right: 0;
  }

  .description-content-img img {
    max-width: 100%;
  }
}


@media only screen and (max-width: 922px) {
  #about_features_image .container .box {
    margin-bottom: 20px;
    width: calc(50% - 10px);
  }
}

@media only screen and (max-width: 640px) {
  #about_features_image .container .box {
    width: 100%;
  }
}

/* Wpisy Realizacje */
#about_realizations_title p {
  color: var(--ag-dark-color);
  margin-bottom: 2%;
}

#about_realizations_title ul {
  list-style-type: disc;
  padding-left: 20px;
}

#about_realizations_title ul ul {
  list-style-type: disc;
  padding-left: 40px;
}

#graybox .realizations-gray-box {
  background-color: var(--ag-bg-light-color);
  border-radius: 25px;
  margin: 50px auto;
  max-width: 80%;
  padding: 70px;
  text-align: center;
}

#graybox .text-gray-box {
  color: var(--ag-dark-color);
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
}

#graybox .text-gray-box .opinion {
  font-weight: 400;
}

/* Realizacje Galeria */

#gallery {
  margin-top: 60px;
  padding: 60px 0 0;
  position: relative;
}

#gallery .gallery-grid {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

#gallery .gallery-grid>div {
  overflow: hidden;
  padding: 5px;
  width: 25%;
}

#gallery .gallery-grid>div img {
  display: block;
  height: 200px;
  object-fit: cover;
  width: 100%;
}

#gallery .gallery-grid>div a {
  display: block;
  overflow: hidden;
}

#gallery .gallery-grid>div a img {
  transition: all 0.25s ease-in-out;
}

#gallery .gallery-grid>div a:hover img {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

@media only screen and (max-width: 992px) {
  #gallery .gallery-grid>div {
    width: 33.33%;
  }
}

@media only screen and (max-width: 640px) {
  #gallery .gallery-grid>div {
    width: 50%;
  }
}



/* Footer */

footer {
  background-color: var(--ag-dark-color);
  padding: 50px 0;
}

footer .container {
  max-width: 1378px;
  padding: 0 25px;
}

footer .container .navbar {
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-align: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  flex-direction: column;
  padding: 22px 0;
}

footer .container .navbar .navbar-brand {
  margin: 0 auto;
  max-width: 180px;
  z-index: 2;
}

footer .container .navbar .main-menu-container {
  -webkit-box-pack: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  margin-top: 30px;
  z-index: 1;
}

footer .container .navbar .main-menu-container .menu-main-menu-container {
  max-width: 800px;
  width: 100%;
}

footer .container .navbar .main-menu-container .menu-main-menu-container ul {
  -webkit-box-pack: justify;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: flex-end;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

footer .container .navbar .main-menu-container .menu-main-menu-container ul li a {
  color: var(--ag-light-color);
  font-size: 14px;
  margin-right: 1.875rem;
}

footer .container .navbar .main-menu-container .menu-main-menu-container ul li a:hover {
  color: var(--ag-primary-color);
  text-decoration: none;
}

footer .privacy-links {
  color: var(--ag-light-color);
  font-size: 14px;
  margin-top: 1rem;
  text-align: center;
}

footer .privacy-links a {
  color: var(--ag-light-color);
  font-size: 14px;
  margin-left: 10px;
  margin-right: 10px;
  text-decoration: none;
  white-space: nowrap;
}

footer .privacy-links a:hover {
  color: var(--ag-primary-color);
  text-decoration: none;
}

#overlay {
  background-color: rgba(0, 0, 0, 0.2);
  height: 100vh;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  transition: opacity 0.3s ease;
  width: 100vw;
  z-index: 999;
}

/* Slider */


.clients-nav .slide {
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 10px;
}

.company_logo {
  height: auto;
  max-width: 150px;
}


*:not(.slick-track):not(.slick-list) {
  box-sizing: border-box;
}

.slick-next:before,
.slick-prev:before {
  color: var(--ag-dark-color) !important;
}

/* antispam */
.schowanko {
  left: -9999px;
  position: absolute;
}

hr.separator {
  border-color: var(--ag-dark-color);
}


ul.wp-block-list {
  padding-left: 18px;
}

ol.wp-block-list li,
ul.wp-block-list li {
  margin-bottom: 10px;
}

ol.wp-block-list li {
  padding-left: 10px;
}

.wp-block-quote {
  background-color: var(--ag-bg-light-color);
  border-radius: 25px;
  color: var(--ag-dark-color);
  font-style: normal;
  font-weight: 400;
  margin: 50px auto;
  max-width: 80%;
  padding: 70px;
  text-align: center;
}

.wp-block-quote cite {
  font-style: normal;
  font-weight: 600;
}

/* 404 */
.error-page {
  margin: 100px auto;
}

.error-page-header {
  background: none;
}

.error-page-title {
  font-size: 130px;
  letter-spacing: 0.5rem;
}

.error-page-text {
  font-size: clamp(24px, 3.1vw, 28px);
  margin: 30px auto 70px auto;
}

/* Back to top button */
.back-to-top {
  align-items: center;
  background-color: var(--ag-text-darker-color);
  border: none;
  border-radius: 50%;
  bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .5);
  color: var(--ag-light-color);
  cursor: pointer;
  display: flex;
  height: 40px;
  justify-content: center;
  opacity: 0;
  position: fixed;
  right: 20px;
  transition: all 0.25s ease-in-out;
  visibility: hidden;
  width: 40px;
  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--ag-primary-color);
}

.back-to-top:after {
  background: url("./images/chevron-down-light.svg") no-repeat center center;
  background-size: contain;
  content: "";
  height: 18px;
  position: relative;
  top: 0px;
  transform: rotate(180deg);
  width: 18px;
}


@media only screen and (max-width: 922px) {
  .wp-block-group.is-layout-grid {
    gap: 20px;
  }


  main .wp-block-group.is-layout-grid.is-cols-1 {
    grid-template-columns: 1fr;
  }

  main .wp-block-group.is-layout-grid,
  main .video-grid.is-layout-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  main .wp-block-group.is-layout-grid.is-cols-3 .is-col-span-3,
  main .video-grid.is-layout-grid.is-cols-3 .is-col-span-3 {
    grid-column: span 2;
  }

  footer .container .navbar .main-menu-container .menu-main-menu-container ul {
    flex-wrap: wrap;
  }

  footer .container .navbar .main-menu-container .menu-main-menu-container ul li a {
    margin-right: 1rem;
  }
}

@media only screen and (max-width: 640px) {

  main .wp-block-group.is-layout-grid,
  main .video-grid.is-layout-grid {
    gap: 20px 0;
    grid-template-columns: 1fr;
  }

  main .video-grid.is-layout-grid>.wp-block-group,
  main .wp-block-group.is-layout-grid.is-cols-3 .is-col-span-3,
  main .video-grid.is-layout-grid.is-cols-3 .is-col-span-3 {
    grid-column: span 1;
    grid-row: span 1;
  }
}

@media only screen and (max-width: 560px) {

  footer .container .navbar .main-menu-container,
  footer .container .navbar .main-menu-container .menu-main-menu-container ul {
    align-items: center;
    flex-direction: column;
  }

  footer .container .navbar .main-menu-container .menu-main-menu-container ul li {
    margin-bottom: 1rem;
  }

  footer .container .navbar .main-menu-container .menu-main-menu-container ul li a {
    margin-right: 0;
  }
}

/* Headings */
.heading-medium {
  color: var(--ag-dark-color);
  font-weight: 500;
  margin: 0 0 8% 0;
}

.text-meta {
  color: var(--ag-grey-color);
  font-size: 14px;
  font-style: italic;
  font-weight: normal;
}

@media (min-width: 1200px) {
  .heading-medium {
    font-size: 1.75rem;
  }
}

@media only screen and (max-width: 429px) {
  .heading-medium {
    color: var(--ag-text-dark-color);
    font-size: clamp(26px, 1.8vw, 34px);
    line-height: 1.2;
    margin: 0 0 10px;
  }
}


/* Block info card */
.info-card {
  cursor: pointer;
  perspective: 1000px;
}

.info-card .info-card-content {
  height: 100%;
  position: relative;
  position: relative;
  text-align: center;
  transform-style: preserve-3d;
  transition: transform 0.8s;
  width: 100%;
}


.wp-block-group.wp-block-group-is-layout-grid {
  gap: 30px;
}

.info-card:hover .info-card-content {
  transform: rotateY(180deg);
}

.info-card .info-card-front,
.info-card .info-card-back {
  backface-visibility: hidden;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 30px 40px 20px 40px;
  width: 100%;
}

.info-card .info-card-front {
  background-color: var(--ag-dark-color);
  border: 2px solid var(--ag-dark-color);
  color: var(--ag-light-color);
  position: absolute;
  top: 0;
}

.info-card .info-card-back {
  background-color: var(--ag-light-color);
  border: 2px solid var(--ag-primary-color);
  transform: rotateY(180deg);
}

.info-card .info-card-heading,
.info-card .info-card-front {
  text-align: center;
}

.info-card .info-card-heading:not(:has(+ .info-card-excerpt)) {
  margin-bottom: auto;
  margin-top: auto;
}

.info-card .info-card-excerpt {
  margin-bottom: auto;
  margin-top: auto;
}



.info-card .info-card-icon-wrapper {
  border-bottom: 2px solid var(--ag-primary-color);
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.info-card .info-card-icon {
  height: 60px;
  margin: 0 auto;
  width: auto;
}

.info-card .info-card-back .info-card-icon {
  filter: invert(1);
}

.info-card .info-card-details {
  text-align: left;
}

.info-card .info-card-details ol {
  list-style-type: decimal;
  padding-left: 2rem;
}

.info-card .info-card-details ul {
  list-style-type: disc;
  padding-left: 2rem;
}

.info-card .arrow-down {
  margin: 15px auto 10px auto;
  width: 40px;
}



/* Block clients logotypes */
.clients-logotypes {
  background-color: var(--ag-light-color);
  padding: 20px 0;
}

.page-content .clients-logotypes {
  padding-bottom: 40px;
  padding-top: 40px;
}

.clients-logotypes header {
  background: none;
}

.page-content .clients-logotypes .clients-logotypes-heading-wrapper {
  border-bottom: 1px solid var(--ag-dark-color);
  padding-bottom: 30px;
}

.page-content .clients-logotypes .clients-logotypes-heading {
  margin-bottom: 0;
}

.clients-logotypes .clients-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 0 45px;
}

.page-content .clients-logotypes .clients-nav {
  border-bottom: 1px solid var(--ag-dark-color);
  padding-bottom: 10px;
  padding-top: 10px;
}

.clients-logotypes .clients-nav .logo {
  box-sizing: border-box;
  text-align: center;
}

.clients-logotypes .clients-nav .logo img {
  display: inline-block;
  height: 100px;
  object-fit: contain;
  width: 100%;
}

/* Block realization with video */
.realization-video-tile {
  border: 2px solid var(--ag-dark-color);
  border-radius: 15px;
  color: var(--ag-light-color);
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 10px 10px 15px 10px;
  text-align: center;
  transition: all 0.25s ease-in-out;
  width: 100%;
}

.realization-video-tile:hover {
  border-color: var(--ag-primary-color);
}

.realization-video-tile .realization-heading {
  margin-bottom: 20px;
}

.realization-video-tile .realization-info,
.realization-video-tile .realization-bottom {
  font-size: 14px;
}

.realization-video-tile .realization-info {
  margin-bottom: 20px;
}

.realization-video-tile .realization-info .characteristic,
.realization-video-tile .realization-bottom {
  color: var(--ag-text-medium-color);
}

.realization-video-tile .realization-info .value {
  margin-bottom: 10px;
}

.realization-video-tile .realization-bottom {
  margin-top: auto;
}

.realization-video-tile .video-wrapper {
  aspect-ratio: 16/9;
  border-radius: 10px;
  display: flex;
  margin-bottom: 20px;
  width: 100%;
}

.realization-video-tile .video-wrapper>span,
.wp-block-embed.is-type-video>.wp-block-embed__wrapper>span {
  aspect-ratio: 16/9;
  display: flex !important;
  position: relative;
  width: 100%;
  z-index: 1;
}

.realization-video-tile .video-wrapper>span:after,
.wp-block-embed.is-type-video>.wp-block-embed__wrapper>span:after {
  background-color: var(--ag-bg-medium-light-color);
  border-radius: 10px;
  content: "";
  height: calc(100% - 2px);
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 2px);
  z-index: 2;
}

.realization-video-tile .video-wrapper iframe {
  aspect-ratio: 16/9;
  border-radius: 10px;
  height: unset;
  position: relative;
  width: 100%;
  z-index: 3;
}

/* Page header */
.page-header:not(.page-header-with-bg) {
  margin-top: 50px;
}

.page-header:not(.page-header-with-bg)+.post-content {
  margin-top: 35px;
}

.page-header.page-header-with-bg {
  display: flex;
  min-height: 800px;
  position: relative;
}

.page-header.page-header-with-bg .page-featured-image {
  height: 100%;
  left: 0;
  object-fit: cover;
  position: absolute;
  top: 0;
  width: 100%;
}

.page-header.page-header-with-bg .container {
  margin-bottom: auto;
  margin-top: auto;
  padding-bottom: 50px;
  padding-top: 50px;
}

.page-header.page-header-with-bg .page-header-content {
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, .7);
  border-radius: 15px;
  max-width: 60%;
  max-width: 650px;
  padding: 30px 35px;
  position: relative;
}

.page-header.page-header-with-bg.text-on-right .page-header-content {
  margin-left: auto;
}

.page-header.page-header-with-bg .page-header-content .page-title {
  padding-top: 0;
}

@media only screen and (max-width: 1280px) {
  .page-header.page-header-with-bg {
    min-height: unset;
  }
}

@media only screen and (max-width: 1024px) {

  .info-card .info-card-front,
  .info-card .info-card-back {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media only screen and (max-width: 720px) {
  .page-header.page-header-with-bg .page-header-content {
    padding: 20px;
  }

  .info-card .info-card-front,
  .info-card .info-card-back {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media only screen and (max-width: 560px) {
  .page-header.page-header-with-bg .container {
    padding-bottom: 20px;
    padding-top: 20px;
  }
}

/* Block contact */

.company-data-wrapper {
  align-items: stretch;
  display: flex;
  justify-content: space-between;
  padding: 40px 0 90px;
}

.company-data-wrapper .content,
.company-data-wrapper .form {
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease-in-out;
  width: 50%;
}

.company-data-wrapper .content {
  background-color: var(--ag-dark-color);
  color: var(--ag-light-color);
  justify-content: center;
  max-width: 600px;
  padding: 40px;
  padding-right: 20px;
}

.company-data-wrapper h3 {
  color: var(--ag-light-color);
  font-size: clamp(26px, 1.8vw, 34px);
  margin-bottom: 40px;
}

.company-data-wrapper p {
  color: var(--ag-light-color);
  line-height: 1.2;
}

.company-data-wrapper .company-data-item {
  align-items: center;
  display: flex;
  margin-bottom: 30px;
  padding: 0 0 0 30px;
}

.company-data-wrapper a.company-data-item {
  color: var(--ag-light-color);
  text-decoration: underline;
}

.company-data-wrapper a.company-data-item:hover {
  text-decoration: none;
}

.company-data-wrapper .company-data-item img {
  width: 30px;
}

.company-data-wrapper .company-data-item.text-long img {
  margin-bottom: auto;
  margin-top: 10px;
}

.company-data-wrapper .company-data-item .data-txt {
  margin-left: 25px;
}

.company-data-wrapper .form {
  background-color: var(--ag-light-color);
  justify-content: center;
  min-height: 330px;
  padding: 0px 45px 0px 70px;
  position: relative;
}

.company-data-wrapper .wpcf7-form {
  grid-column-gap: 18px;
  grid-row-gap: 18px;
}

.company-data-wrapper .wpcf7-form input,
.company-data-wrapper .wpcf7-form textarea {
  background-color: var(--ag-light-color);
  border: 1px solid var(--ag-dark-color);
  border-radius: 10px;
  color: var(--ag-text-dark-color);
  font-family: 'Mulish';
  font-size: 14px;
  margin-bottom: 3px;
  margin-top: 6px;
  padding: 8px 13px;
  width: 100%;
}

.company-data-wrapper .wpcf7-form input {
  max-height: 192px;
}

.company-data-wrapper .wpcf7-form input::placeholder,
.company-data-wrapper .wpcf7-form textarea::placeholder,
.company-data-wrapper .wpcf7-form select::placeholder,
.company-data-wrapper .wpcf7-form label {
  color: var(--ag-text-dark-color);
}

.company-data-wrapper .wpcf7-form label {
  font-size: 14px;
  margin-bottom: 10px;
  width: 100%;
}

.company-data-wrapper .wpcf7-acceptance .wpcf7-list-item {
  margin-left: 0;
}

.company-data-wrapper .wpcf7-acceptance .wpcf7-list-item label {
  display: flex;
  font-size: 12px;
  line-height: 1.3;
  padding-left: 30px;
}

.company-data-wrapper .wpcf7-acceptance input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: unset;
  appearance: none;
  border: none;
  flex-shrink: 0;
  height: 18px;
  height: 0;
  left: -30px;
  padding: 0;
  position: absolute;
  width: 18px;
  width: 0;
}

.company-data-wrapper .wpcf7-acceptance input[type=checkbox]:after,
.company-data-wrapper .wpcf7-acceptance input[type=checkbox]:before {
  border: 1px solid var(--ag-dark-color);
  content: '';
  position: absolute;
  top: 10px;
  -webkit-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
}

.company-data-wrapper .wpcf7-acceptance input[type=checkbox]:after {
  background: var(--ag-light-color);
  border-radius: 4px;
  height: 17px;
  left: 30px;
  transform: translateY(-13px);
  width: 17px;
}

.company-data-wrapper .wpcf7-acceptance input[type=checkbox]:before {
  border-color: var(--ag-light-color);
  border-width: 0 2px 2px 0;
  height: 8px;
  left: 36px;
  opacity: 0;
  padding: 0;
  top: 11px;
  transform: translateY(-11px) rotate(45deg);
  width: 5px;
  z-index: 1;
}

.company-data-wrapper .wpcf7-acceptance input[type=checkbox]:checked:checked:after {
  background-color: var(--ag-dark-color);
}

.company-data-wrapper .wpcf7-acceptance input[type=checkbox]:checked:checked:before {
  opacity: 1;
}

.company-data-wrapper .wpcf7-form .submit-wrapper p {
  display: flex;
  position: relative;
}

.company-data-wrapper .wpcf7-form .wpcf7-submit {
  background-color: var(--ag-dark-color);
  border: none;
  color: var(--ag-light-color);
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  min-width: 122px;
  padding: 10px 20px;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
}

.company-data-wrapper .wpcf7-form .wpcf7-submit:hover {
  background-color: var(--ag-primary-color);
}

.company-data-wrapper .wpcf7-form .wpcf7-spinner {
  background-color: var(--ag-bg-light-transparent-color);
  margin-right: 5px;
  position: absolute;
  right: 20px;
  top: 15px;
}

.company-data-wrapper .wpcf7-form .wpcf7-spinner:before {
  background-color: var(--ag-dark-color);
}

.company-data-wrapper .wpcf7-not-valid-tip {
  color: var(--ag-primary-color);
  font-size: 12px;
  line-height: 1.2
}

.company-data-wrapper .wpcf7 form .wpcf7-response-output {
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.3;
  margin: 10px 0;
  padding: 7px;
  text-align: center;
}

/* More decorative contact block */

.contact-section.is-full-with {
  padding-bottom: 70px;
  padding-top: 50px;
  position: relative;
  z-index: 1;
}

.contact-section.is-full-with .company-data-wrapper .content {
  font-size: 14px;
}

.contact-section.is-full-wit .company-data-wrapper .company-data-item .data-txt {
  margin-left: 20px;
}

.contact-section.is-full-with .company-data-wrapper .content,
.contact-section.is-full-with .company-data-wrapper .form {
  background: none;
}

.contact-section.is-full-with .company-data-wrapper .content-txt {
  margin: 30px 0;
}

.contact-section.is-full-with .company-data-wrapper .company-data-item {
  padding-left: 0;
}

.contact-section.is-full-with .bg_image.is-centered {
  bottom: 0;
  left: 50%;
  max-width: 20%;
  position: absolute;
  transform: translateX(calc(-100% + 30px));
  z-index: -1;
}

.contact-section.is-full-with:after {
  background-color: var(--ag-dark-color);
  content: "";
  height: 100%;
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 100vw;
  z-index: -2;
}

.contact-section.is-full-with .company-data-wrapper .wpcf7-form input,
.contact-section.is-full-with .company-data-wrapper .wpcf7-form textarea {
  background-color: var(--ag-dark-color);
  border: 1px solid var(--ag-primary-color);
  color: var(--ag-light-color);
}

.contact-section.is-full-with .company-data-wrapper .wpcf7-form input:active,
.contact-section.is-full-with .company-data-wrapper .wpcf7-form input:focus,
.contact-section.is-full-with .company-data-wrapper .wpcf7-form textarea:active,
.contact-section.is-full-with .company-data-wrapper .wpcf7-form textarea:focus {
  border-color: var(--ag-light-color);
}

.contact-section.is-full-with .company-data-wrapper .wpcf7-form input::placeholder,
.contact-section.is-full-with .company-data-wrapper .wpcf7-form textarea::placeholder,
.contact-section.is-full-with .company-data-wrapper .wpcf7-form select::placeholder,
.contact-section.is-full-with .company-data-wrapper .wpcf7-form label {
  color: var(--ag-light-color);
}

.contact-section.is-full-with .company-data-wrapper .wpcf7-form .wpcf7-submit {
  background-color: var(--ag-primary-color);
}

.contact-section.is-full-with .company-data-wrapper .wpcf7-form .wpcf7-submit:hover {
  background-color: var(--ag-light-color);
  color: var(--ag-primary-color);
}

.contact-section.is-full-with .company-data-wrapper .wpcf7-form .wpcf7-spinner {
  background-color: var(--ag-dark-color);
}

.contact-section.is-full-with .company-data-wrapper .wpcf7-form .wpcf7-spinner:before {
  background-color: var(--ag-primary-color);
}

.contact-section.is-full-with .wpcf7-acceptance input[type="checkbox"] {
  border: none;
}

.contact-section.is-full-with .wpcf7-acceptance input[type=checkbox]:after {
  background-color: transparent;
  border: 1px solid var(--ag-primary-color);
}

.contact-section.is-full-with .wpcf7-acceptance input[type=checkbox]:before {
  background: transparent;
  border: none;
  border-radius: 2px;
  height: 11px;
  left: 33px;
  top: 13px;
  transform: translateY(-13px);
  width: 11px;
}

.contact-section.is-full-with .wpcf7-acceptance input[type=checkbox]:checked:checked:after {
  background-color: transparent;
}

.contact-section.is-full-with .wpcf7-acceptance input[type=checkbox]:checked:checked:before {
  background: var(--ag-primary-color);
}

.contact-section.is-full-with .wpcf7 form .wpcf7-response-output {
  color: var(--ag-light-color);
}

.contact-section.is-image-right .company-data-wrapper {
  padding: 0 0 20px 0;

}

.contact-section.is-image-right .content {
  margin-right: auto;
  max-width: 460px;
  padding: 0 30px 0 0;
  width: 50%;
}

.contact-section.is-image-right .image-wrapper {
  display: flex;
  width: 50%;
}

.contact-section.is-image-right .image-wrapper img {
  margin: auto;
  width: 100%;
}

.contact-section .wpcf7 form .is-hidden {
  display: none;
}

@media only screen and (max-width: 1120px) {
  .company-data-wrapper .form {
    padding: 0px 40px;
  }
}

@media only screen and (max-width: 1024px) {
  .company-data-wrapper {
    padding-top: 30px;
  }

  .company-data-wrapper h3 {
    font-size: 30px;
  }

  .company-data-wrapper .content {
    padding-left: 30px;
  }
}

@media only screen and (max-width: 768px) {
  .company-data-wrapper {
    display: block;
    padding-top: 20px;
  }

  .company-data-wrapper h3 {
    font-size: clamp(24px, 3.1vw, 28px);
  }

  .company-data-wrapper .content {
    max-width: 100%;
    padding: 35px 0 35px 30px;
    width: 100%;
  }

  .company-data-wrapper .form {
    margin-top: 30px;
    width: 100%;
  }

  .contact-section.is-image-right .content {
    max-width: unset;
    width: 100%;
  }

  .contact-section.is-full-with .bg_image.is-centered {
    display: none;
  }

  .contact-section.is-image-right .image-wrapper {
    display: none;
  }
}

@media only screen and (max-width: 560px) {
  .company-data-wrapper .content {
    padding: 25px 0 25px 20px;
  }

  .company-data-wrapper .form {
    padding: 0 20px;
  }

  .company-data-wrapper .company-data-item {
    padding-left: 20px;
  }

  .company-data-wrapper .company-data-item .data-txt {
    margin-left: 20px;
  }
}

@media only screen and (max-width: 360px) {
  .company-data-wrapper h3 {
    font-size: 26px;
  }

  .company-data-wrapper .content {
    padding-left: 10px;
    padding-right: 10px;
  }

  .company-data-wrapper .company-data-item {
    padding-left: 5px;
  }
}

/* Block details */
.details-wrapper {
  counter-reset: details-counter;
  padding: 20px 0;
}

details {
  border-bottom: 1px solid var(--ag-text-lighter-color);
  counter-increment: details-counter;
  display: flex;
  flex-direction: column;
}

.details-wrapper details:last-of-type {
  border: none;
}

details summary {
  cursor: pointer;
  display: flex;
  font-size: 1.75rem;
  font-weight: bold;
  font-weight: 500;
  padding: 20px 20px 20px 0;
  position: relative;
}

details summary::-webkit-details-marker {
  display: none;
}

details summary::after {
  background: url("./images/chevron-right.svg") no-repeat center center;
  content: "";
  height: 20px;
  position: absolute;
  right: 0;
  top: calc(50% - 10px);
  transition: all 0.25s ease-in-out;
  width: 10px;
}

details[open] summary::after {
  transform: rotate(90deg);
}

details[open] p {
  max-height: 1000px;
  opacity: 1;
  overflow: auto;
}

details p {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.15s ease-out;
}

details[open] p:last-of-type {
  padding-bottom: 30px;
}

.details-wrapper details summary .summary-counter {
  align-items: baseline;
  display: flex;
}

.details-wrapper details summary .summary-counter:before {
  color: var(--ag-text-lighter-color);
  content: counter(details-counter);
  display: inline-block;
}

.details-wrapper details summary .summary-counter:after {
  background-color: var(--ag-primary-color);
  content: "";
  display: inline-block;
  height: 4px;
  margin: 0 10px 0 2px;
  width: 4px;
}

/* Block elements */
.wp-block-buttons {
  margin-bottom: 15px;
  margin-top: 15px;
}

/* Cover custom style */
.wp-block-cover.is-style-image-full-width,
.wp-block-cover.is-style-cover-cta {
  overflow: visible;
}

.wp-block-cover.is-style-image-full-width .wp-block-cover__image-background,
.wp-block-cover.is-style-cover-cta .wp-block-cover__image-background {
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
}

.wp-block-cover.is-style-image-full-width .wp-block-cover__background,
.wp-block-cover.is-style-cover-cta .wp-block-cover__background {
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
}

.wp-block-cover.is-style-cover-cta {
  margin: 50px auto;
  min-height: unset;
  padding: 40px;
}

/* Group custom style */
.wp-block-group.is-style-feature-details {
  border-radius: 15px;
  gap: 30px;
  margin: 30px 50px 40px 50px;
  padding: 40px;
}

.wp-block-group.is-style-feature-details ol {
  padding-left: 2rem;
}

.wp-block-group.is-style-feature-details ul {
  padding-left: 2rem;
}

.wp-block-group.is-style-feature-details ol+* {
  padding-left: 2rem;
}

.wp-block-group.is-style-feature-details ul+* {
  padding-left: 1rem;
}

.wp-block-group.is-style-feature-details p {
  margin-top: 15px;
  padding-bottom: 0;
  padding-top: 0;
}

.wp-block-group.is-style-feature-details .wp-block-image {
  flex-shrink: 0;
}

.is-style-feature-details-wrapper {
  border-radius: 15px;
  margin: 30px 50px 40px 50px;
  padding: 40px;
}

.is-style-feature-details-wrapper .is-style-feature-details {
  margin: 0;
  padding: 0 0 20px 0;
  width: 100%;
}

.is-style-feature-details-wrapper .is-style-feature-details:last-of-type {
  padding-bottom: 0;
}

/* Features numbered */
.wp-block-group.is-style-numbered-children {
  counter-reset: group-counter;
  gap: 3rem;
}

.wp-block-group.is-style-numbered-children>.wp-block-group {
  align-content: flex-start;
  counter-increment: group-counter;
  display: flex;
  flex-wrap: wrap;
}

.wp-block-group.is-style-numbered-children>.wp-block-group .wp-block-group__inner-container {
  width: 100%;
}

.wp-block-group.is-style-numbered-children:not(.has-custom-numbered-item)>.wp-block-group:before,
.wp-block-group.is-style-numbered-children.has-custom-numbered-item .numbered-item:before {
  color: var(--ag-text-lighter-color);
  content: counter(group-counter);
  display: inline-block;
  font-size: 63px;
  font-weight: 900;
  line-height: 1;
  order: -2;
}

.wp-block-group.is-style-numbered-children:not(.has-custom-numbered-item)>.wp-block-group:after,
.wp-block-group.is-style-numbered-children.has-custom-numbered-item .numbered-item:after {
  align-self: flex-end;
  background-color: var(--ag-primary-color);
  content: "";
  display: inline-block;
  height: 10px;
  margin-left: 19px;
  order: -1;
  transform: translateY(calc(-100% + 2px));
  width: 10px;
}

.wp-block-group.is-style-numbered-children.has-custom-numbered-item .numbered-item:after {
  margin-bottom: auto;
  margin-top: 44px;
  transform: unset;
}

.wp-block-group.is-style-numbered-children .wp-block-group .wp-block-heading {
  font-weight: 600;
  margin: 30px 0 40px 0;
}

.wp-block-group.is-style-numbered-children.has-custom-numbered-item .numbered-item {
  display: flex;
  justify-content: flex-start;
}

.wp-block-group.is-style-numbered-children.has-custom-numbered-item .numbered-item .wp-block-group__inner-container {
  margin-left: 40px;
}

.wp-block-group.is-style-numbered-children.has-custom-numbered-item .numbered-item .has-large-font-size {
  padding-bottom: 15px;
}

.wp-block-group.is-style-numbered-children.has-custom-numbered-item .numbered-item .has-medium-font-size {
  padding-bottom: 0;
}

/* Grupa ozdobnych lewo/prawo */
.is-style-decorated-left-right .wp-block-group {
  margin-bottom: 100px;
  max-width: 72%;
}

.is-style-decorated-left-right .wp-block-group:nth-child(odd) {
  border-left: 2px solid var(--ag-primary-color);
  margin-right: auto;
  padding-left: 100px;
}

.is-style-decorated-left-right .wp-block-group:nth-child(even) {
  border-right: 2px solid var(--ag-primary-color);
  margin-left: auto;
  padding-right: 100px;
}

/* Grupa - czarny kafelek podstawowy */
.is-style-black-tile-basic {
  background-color: var(--ag-dark-color);
  border-radius: 15px;
  min-height: 500px;
  padding: 30px 10px 20px 10px;
}

.is-style-black-tile-basic .wp-block-group__inner-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.is-style-black-tile-basic p:first-child {
  margin-bottom: 60px;
  margin-left: 20px;
  margin-right: 20px;
}

.is-style-black-tile-basic .wp-block-group__inner-container>.wp-block-group:last-child {
  margin-left: 20px;
  margin-right: 20px;
  margin-top: auto;
}

.is-style-black-tile-basic .wp-block-group__inner-container>.wp-block-group:last-child p {
  margin-top: 5px;
}

@media only screen and (min-width: 641px) {
  .max-width-280 {
    max-width: 280px;
  }
}

@media only screen and (max-width: 1024px) {
  .is-style-decorated-left-right .wp-block-group {
    margin-bottom: 80px;
    max-width: 80%;
  }

  .is-style-decorated-left-right .wp-block-group:nth-child(odd) {
    padding-left: 70px;
  }

  .is-style-decorated-left-right .wp-block-group:nth-child(even) {
    padding-right: 70px;
  }
}

@media only screen and (max-width: 922px) {
  .wp-block-group.is-style-feature-details .wp-block-image {
    max-width: 70px;
  }
}

@media only screen and (max-width: 860px) {
  .wp-block-group.is-style-feature-details {
    padding: 25px;
  }

  .is-style-feature-details-wrapper {
    padding: 25px;
  }

  .is-style-feature-details-wrapper .is-style-feature-details {
    padding: 0 0 20px 0;
  }

  .is-style-feature-details-wrapper .is-style-feature-details:last-of-type {
    padding-bottom: 0;
  }

  .is-style-decorated-left-right .wp-block-group {
    max-width: 100%;
  }

  .is-style-decorated-left-right .wp-block-group:nth-child(odd) {
    padding-left: 60px;
  }

  .is-style-decorated-left-right .wp-block-group:nth-child(even) {
    padding-right: 60px;
  }
}

@media only screen and (max-width: 720px) {
  .wp-block-group.is-style-feature-details {
    margin: 20px 30px 30px 30px;
  }

  .is-style-feature-details-wrapper {
    margin: 20px 30px 30px 30px;
  }

  .is-style-feature-details-wrapper .is-style-feature-details {
    margin: 0;
  }
}

@media only screen and (max-width: 640px) {
  .is-style-decorated-left-right .wp-block-group:nth-child(odd) {
    padding-left: 40px;
  }

  .is-style-decorated-left-right .wp-block-group:nth-child(even) {
    padding-right: 40px;
  }
}

@media only screen and (max-width: 560px) {
  .wp-block-group.is-style-numbered-children.has-custom-numbered-item .numbered-item {
    flex-wrap: wrap;
  }

  .wp-block-group.is-style-numbered-children.has-custom-numbered-item .numbered-item .wp-block-group__inner-container {
    margin-left: 0;
  }

  .wp-block-group.is-style-feature-details {
    flex-direction: column;
    margin-left: 0;
    margin-right: 0;
  }

  .is-style-feature-details-wrapper {
    margin-left: 0;
    margin-right: 0;
  }

  .wp-block-group.is-style-feature-details figure {
    order: -1;
  }
}

@media only screen and (max-width: 480px) {
  .is-style-decorated-left-right .wp-block-group:nth-child(odd) {
    padding-left: 20px;
  }

  .is-style-decorated-left-right .wp-block-group:nth-child(even) {
    padding-right: 20px;
  }
}

/* Iframe embedded */
.video-grid.is-layout-grid {
  gap: 18px 32px;
  margin-bottom: 70px;
  margin-top: 25px;
}

.video-grid.is-layout-grid .wp-block-group {
  aspect-ratio: 16 / 9;
  height: 100%;
  width: 100%;
}

.video-grid.is-layout-grid figure {
  height: 100%;
  width: 100%;
}

.video-grid.is-layout-grid figure .wp-block-embed__wrapper {
  background-color: var(--ag-bg-medium-light-color);
  border-radius: 15px;
  height: 100%;
  width: 100%;
}

.wp-embed-aspect-16-9 iframe {
  aspect-ratio: 16/9;
  border-radius: 15px;
  height: unset;
  position: relative;
  width: 100%;
  z-index: 3;
}

.wp-block-embed.is-type-video>.wp-block-embed__wrapper>span:after {
  border-radius: 15px;
}

.table-of-contents ul {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  list-style: none;
  margin-top: 35px;
  padding: 0;
}

.table-of-contents ul li {
  margin-bottom: 25px;
}

.table-of-contents ul li a {
  display: inline-block;
  margin: 0;
  padding: 0;
}

.table-of-contents ul li a:hover {
  color: var(--ag-primary-color);
  padding-left: 30px;
  text-decoration: none;
}

/* Process graph */

.process-graph {
  margin: 30px 0;
}

.process-graph ul {
  text-align: left;
}

.process-graph .step {
  margin-bottom: 240px;
}

.process-graph.variant-complex .process-start+.step {
  margin-bottom: 80px;
}

.process-graph.variant-complex .step {
  margin-bottom: 210px;
}

.process-graph .step-content,
.process-graph .sub-step-content {
  background-color: var(--ag-dark-color);
  border-radius: 15px;
  color: var(--ag-light-color);
  font-size: 14px;
  padding: 30px 30px 20px 30px;
  text-align: center;
  transition: all 0.25s ease-in-out;
}

.process-graph .step-content:hover,
.process-graph .sub-step-content:hover,
.process-graph.variant-basic .step.is-highlighted .step-content,
.process-graph .step-content.is-highlighted {
  background-color: var(--ag-primary-color);
}

.process-graph .step-content:hover a,
.process-graph .sub-step-content:hover a,
.process-graph.variant-basic .step.is-highlighted .step-content a,
.process-graph .step-content.is-highlighted a {
  color: var(--ag-dark-color);
}

.process-graph .step.has-children {
  background: url("./images/graph-step-children-lines.svg") no-repeat center center;
  display: flex;
}

.process-graph .step.has-children .step-content {
  margin-bottom: auto;
  margin-top: auto;
}

.process-graph .step.has-children .children {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-bottom: auto;
  margin-left: 200px;
  margin-top: auto;
  max-width: 500px;
}

.process-graph .sub-step-content {
  background-color: var(--ag-grey-color);
}

.process-graph .title {
  line-height: 1.5;
}

.process-graph.variant-basic {
  background: url("./images/graph-line-full.svg") no-repeat center center;
}

.process-graph.variant-basic .step {
  display: flex;
  gap: 40px;
  width: 100%;
}

.process-graph.variant-basic .step:last-of-type {
  margin-bottom: 0;
}

.process-graph.variant-basic .step-content,
.process-graph.variant-basic .step-title {
  width: 50%;
}

.process-graph.variant-basic .step-title-content {
  display: flex;
  flex-direction: column;
  margin-bottom: auto;
  margin-top: auto;
  text-align: left;
  width: auto;
  width: 100%;
}

.process-graph.variant-basic .step-title {
  display: flex;
}

.process-graph.variant-basic .step-title .title {
  color: var(--ag-primary-color);
  text-transform: uppercase;
}

.process-graph.variant-basic .step-title .subtitle {
  font-weight: bold;
  margin-top: 5px;
}

.process-graph.variant-basic .step:nth-child(2n-1) .step-content {
  order: 1;
}

.process-graph.variant-basic .step:nth-child(2n-1) .step-title-content {
  text-align: right;
}

.process-graph.variant-basic .step:nth-child(2n-1) .step-title {
  order: 2;
}

.process-graph.variant-complex .title {
  display: block;
  font-size: 28px;
  margin-bottom: 25px;
  margin-left: auto;
  margin-right: auto;
  max-width: 380px;
}

.process-graph.variant-complex .step-content {
  max-width: 600px;
}

.process-graph .process-start,
.process-graph .process-end {
  font-size: 24px;
  max-width: 300px;
  position: relative;
  text-align: center;
}

.process-graph .process-start {
  left: calc(50% - 445px);
  margin-bottom: 100px;
  padding-bottom: 60px;
  position: relative;
}

.process-graph .process-end {
  margin-left: auto;
  padding-top: 110px;
}

.process-graph .process-start:after,
.process-graph .process-end:after,
.process-graph .process-end:before {
  content: "";
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  transition: all 0.25s ease-in-out;
}

.process-graph .process-start:hover:after,
.process-graph .process-end:hover:after,
.process-graph .process-end:hover:before,
.process-graph .process-start.is-highlighted:after,
.process-graph .process-end.is-highlighted:after,
.process-graph .process-end.is-highlighted:before {
  background-color: var(--ag-primary-color);
}

.process-graph .process-start:after {
  background-color: var(--ag-dark-color);
  border-radius: 100%;
  bottom: 0;
  height: 50px;
  width: 50px;
}

.process-graph .process-end:before {
  background-color: var(--ag-dark-color);
  border-radius: 100%;
  height: 100px;
  top: 0;
  width: 100px;
}

.process-graph .process-end:after {
  background-color: var(--ag-dark-color);
  border: 15px solid var(--ag-bg-light-color);
  border-radius: 100%;
  height: 80px;
  top: 10px;
  width: 80px;
}

.process-graph.variant-complex {
  background: url("./images/graph-line-full-complex.svg") no-repeat center center;
}

.process-graph.variant-complex .step:nth-of-type(odd):not(.process-start) .step-content {
  margin-left: auto;
}

@media only screen and (max-width: 1100px) {
  .process-graph.variant-complex {
    background-position-y: 110px;
  }

  .process-graph.variant-complex .step {
    margin-bottom: 210px;
  }

  .process-graph .step-content,
  .process-graph .sub-step-content {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media only screen and (max-width: 1030px) {
  .process-graph.variant-complex .step {
    margin-bottom: 194px;
  }
}

@media only screen and (max-width: 1024px) {

  .process-graph.variant-basic .step-content {
    width: 60%;
  }

  .process-graph.variant-basic .step-title {
    width: 40%;
  }
}

@media only screen and (max-width: 1024px) {

  .process-graph.variant-basic,
  .process-graph.variant-complex {
    background: none;
  }

  .process-graph .step,
  .process-graph.variant-complex .step,
  .process-graph.variant-complex .process-start+.step {
    margin-bottom: 100px;
    position: relative;
  }

  .process-graph .step:after {
    background: url("./images/graph-line-straight.svg") no-repeat center center;
    background-size: contain;
    content: "";
    height: 80px;
    left: 50%;
    position: absolute;
    top: calc(100% + 10px);
    transform: translateX(-50%);
    width: 10px;
  }

  .process-graph .process-start+.step:before {
    background: url("./images/graph-line-straight.svg") no-repeat center center;
    background-size: contain;
    content: "";
    height: 80px;
    left: 50%;
    position: absolute;
    top: -90px;
    transform: translateX(-50%);
    width: 10px;
  }

  .process-graph.variant-basic .step:last-of-type:after {
    content: none;
  }

  .process-graph.variant-basic .step-content,
  .process-graph.variant-basic .step-title {
    width: 100%;
  }

  .process-graph.variant-basic .step {
    flex-direction: column;
    gap: 25px;
  }

  .process-graph.variant-basic .step-title-content,
  .process-graph.variant-basic .step:nth-child(2n-1) .step-title-content {
    text-align: center;
  }

  .process-graph.variant-basic .step:nth-child(2n-1) .step-title {
    order: 1;
  }

  .process-graph.variant-basic .step:nth-child(2n-1) .step-content {
    order: 2;
  }

  .process-graph.variant-complex .step-content {
    max-width: unset;
    width: 100%;
  }

  .process-graph .step.has-children {
    background: var(--ag-dark-color);
    border-radius: 15px;
    flex-direction: column;
    padding: 30px;
    transition: all 0.25s ease-in-out;
  }

  .process-graph .step.has-children:hover {
    background-color: var(--ag-primary-color);
  }

  .process-graph .step.has-children:hover a {
    color: var(--ag-dark-color);
  }

  .process-graph.variant-complex .step.has-children .step-content {
    background: none;
    width: 100%;
  }

  .process-graph.variant-complex .step.has-children .step-content:hover {
    background: none;
  }

  .process-graph .sub-step-content:hover {
    background-color: var(--ag-grey-color);
  }

  .process-graph .step.has-children .children {
    gap: 15px;
    margin: auto;
    max-width: unset;
    width: 100%;
  }

  .process-graph .process-start {
    left: 50%;
    transform: translateX(-50%);
  }

  .process-graph .process-end {
    margin-left: auto;
    margin-right: auto;
  }

  .process-graph.variant-complex .step.is-highlighted.has-children {
    background-color: var(--ag-primary-color);
  }
}


@media only screen and (max-width: 720px) {
  .table-of-contents ul li a:hover {
    padding-left: 15px;
  }
}


/* Blog */
.archive-list {
  list-style: none;
  margin: 0;
  padding: 70px 0;
}

.blog-filters {
  margin-top: 100px;
}

.blog-filters-list.for-desktop {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.btn.btn-category {
  background: var(--ag-light-color);
  border: 1px solid var(--ag-dark-color);
  border-radius: 15px;
  color: var(--ag-dark-color);
  font-size: 20px;
  font-weight: normal;
  letter-spacing: normal;
  padding: 7px 20px;
}

.blog-filters-list-item.is-active .btn.btn-category,
.btn.btn-category:active,
.btn.btn-category:hover {
  background-color: var(--ag-primary-color);
  border-color: var(--ag-primary-color);
  color: var(--ag-light-color);
}

.blog-filters-list.for-mobile {
  appearance: none;
  background-color: var(--ag-light-color);
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAyNCAyNCcgc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjIiIGZpbGw9Im5vbmUiPjxwYXRoIGQ9Ik02IDlsNiA2IDYtNiIvPjwvc3ZnPg==");
  background-position: right 10px center;
  background-repeat: no-repeat;
  background-size: 16px;
  border: 1px solid var(--ag-dark-color);
  border-radius: 5px;
  display: none;
  height: 40px;
  line-height: 39px;
  padding: 0 10px;
  position: relative;
  width: 100%;
}

.pagination-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 80px;
}

.pagination {
  display: flex;
  gap: 15px;
  margin-left: auto;
  margin-right: auto;
}

.pagination .page-numbers {
  background-color: var(--ag-light-color);
  border: 1px solid var(--ag-dark-color);
  border-radius: 15px;
  color: var(--ag-dark-color);
  height: 40px;
  line-height: 28px;
  padding: 5px;
  text-align: center;
  width: 40px;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background-color: var(--ag-primary-color);
  border-color: var(--ag-primary-color);
  color: var(--ag-light-color);
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
  padding: 5px 10px;
  width: auto;
}

.ajax-content .is-hidden {
  display: none !important;
}

.btn.load-more {
  align-items: center;
  background-color: var(--ag-light-color);
  border: 1px solid var(--ag-dark-color);
  border-radius: 15px;
  color: var(--ag-dark-color);
  display: flex;
  font-size: 20px;
  height: 50px;
  justify-content: center;
  line-height: 1;
  margin-left: auto;
  margin-right: auto;
  padding: 10px 30px;
  position: relative;
  text-transform: uppercase;
}

.btn.load-more:hover,
.btn.load-more:active {
  background-color: var(--ag-primary-color);
  border-color: var(--ag-primary-color);
  color: var(--ag-light-color);
}

.btn.load-more .is-loading-text {
  left: 50%;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.25s ease-in-out;
  width: 100%;
}

.btn.load-more:after {
  animation: spin 0.6s linear infinite;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top: 3px solid #333;
  content: "";
  height: 26px;
  left: calc(50% - 13px);
  margin: auto;
  opacity: 0;
  position: absolute;
  top: calc(50% - 13px);
  width: 26px;
}

.btn.load-more .load-more-text {
  opacity: 1;
  transition: all 0.1s ease-in-out;
}

.btn.load-more.is-loading::after {
  opacity: 1;
}

.btn.load-more.is-loading .load-more-text {
  opacity: 0;
}

#pagination-error {
  border: 2px solid var(--ag-primary-color);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  margin: 20px 0;
  padding: 10px;
  text-align: center;
}

.blog-item-wrapper {
  background-color: var(--ag-light-color);
  padding-bottom: 15px;
  width: calc((100% / 3) - 10px);
}

.blog-item {
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 10px;
  transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}

.blog-item:hover {
  box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.6);
  text-decoration: none;
}

.blog-item:hover .blog-item-image {
  transform: scale(1.1);
}

.blog-item-image {
  height: 100%;
  object-fit: cover;
  transition: all .75s ease-out;
  width: 100%;
}

.blog-item-image-wrapper {
  aspect-ratio: 5 / 3;
  background-color: var(--ag-grey-color);
  border-radius: 15px;
  margin-bottom: 30px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.blog-item-category {
  background-color: var(--local-category-color);
  border-radius: 5px;
  bottom: 10px;
  color: var(--ag-light-color);
  font-size: 16px;
  left: 10px;
  padding: 1px 12px;
  position: absolute;
  text-transform: uppercase;
}

.blog-item-title {
  color: var(--ag-dark-color);
  font-size: calc(1.3rem + .6vw);
  font-weight: normal;
  line-height: 1.2;
  line-height: 1.3;
  margin-bottom: 10px;
}

.blog-item-excerpt {
  -webkit-box-orient: vertical;
  color: var(--ag-dark-color);
  display: -webkit-box;
  font-size: 14px;
  -webkit-line-clamp: 7;
  line-height: 1.6;
  overflow: hidden;
  padding: 0;
  text-overflow: ellipsis;
}

li.blog-item-wrapper:nth-child(3n+2) .blog-item-excerpt {
  -webkit-line-clamp: 3;
}

li.blog-item-wrapper:nth-child(3n+3) .blog-item-excerpt {
  -webkit-line-clamp: 5;
}

.blog-item-date {
  color: #999999;
  font-size: 14px;
  font-style: italic;
  margin-top: 20px;
}

/* Post */

.post-content {
  margin-bottom: 80px;
  margin-top: 100px;
}

.post-content .wp-block-gallery {
  margin: 25px 0;
}

.post-content .wp-block-image {
  border-radius: 15px;
  overflow: hidden;
}

.post-content .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
  font-size: 12px;
}

.post-content h6 {
  font-weight: bold;
}

.post-about {
  margin-bottom: 100px;
}

.post-about-content {
  border-top: 1px solid var(--ag-grey-color);
  display: flex;
  gap: 15px;
  padding-top: 5px;
}

.post-about-social-list {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  margin-top: 20px;
  padding: 0;
}

.post-meta {
  margin-left: auto;
}

.sr-only {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* Blog no js */
.no-js .archive-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: space-between;
}

.no-js li.blog-item-wrapper .blog-item {
  height: 100%;
}

.no-js .blog-item-excerpt,
.no-js li.blog-item-wrapper:nth-child(3n+2) .blog-item-excerpt,
.no-js li.blog-item-wrapper:nth-child(3n+3) .blog-item-excerpt {
  -webkit-line-clamp: 5;
}

.pswp__caption,
.pswp__caption__exif {
  padding-bottom: 2.5em;
}

@media (min-width: 1200px) {
  .blog-item-title {
    font-size: 1.75rem;
  }
}



@media only screen and (max-width: 1024px) {
  .blog-filters {
    margin-top: 80px;
  }

  .blog-filters-list.for-desktop {
    gap: 18px;
  }

  .archive-list {
    padding: 50px 0;
  }

  .btn.load-more,
  .btn.btn-category {
    font-size: 18px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .btn.load-more {
    height: auto;
  }
}

@media only screen and (max-width: 992px) {
  .blog-item-wrapper {
    width: calc((100% / 2) - 10px);
  }
}

@media only screen and (max-width: 720px) {
  .blog-filters-list.for-desktop {
    display: none;
  }

  .blog-filters-list.for-mobile {
    display: block;
  }
}

@media only screen and (max-width: 640px) {
  .blog-item-wrapper {
    width: 100%;
  }
}