/*
Theme Name: profipostheme
Author: Val
Text Domain: profipostheme
*/

/* ------------------- */
/* Custom properties   */
/* ------------------- */

:root {
  /* colors */
  --clr-accent: 55 87% 53%;
  --clr-secondary: 311 74% 49%;
  --clr-light: 55 100% 50%;
  --clr-white: 0 0% 100%;
  --clr-dark: 0 0% 38%;
  --clr-black: 0 0% 0%;

  /* font-families */
  --ff-main: "Fira Sans", sans-serif;
}

@media (min-width: 35em) {
  :root {
    --fs-800: 3rem;
    --fs-700: 2.5rem;
    --fs-600: 1.5rem;
    --fs-400: 1rem;
  }
}

/* ------------------- */
/* Reset               */
/* ------------------- */

/* https://piccalil.li/blog/a-modern-css-reset/ */
html {
  scroll-behavior: smooth;
}
/* Box sizing */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Reset margins */
body,
h1,
h2,
h3,
h4,
h5,
p,
figure,
picture {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-weight: 400;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
  background-color: #444;
}
.wp-block-table.is-style-stripes {
  border-right: 1px solid #444;
  border-left: 1px solid #444;
  border-bottom: 1px solid #444;
  border: 1px solid #333;
}
/* set up the body */
body {
  font-family: var(--ff-main);
  font-size: var(--fs-400);
  color: hsl(var(--clr-white));
  background-color: #555;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
main {
  flex-grow: 1;
}
/* make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* make form elements easier to work with */
input,
button,
textarea,
select {
  font: inherit;
}
a {
  color: hsl(var(--clr-accent) / 1);
}
a:hover {
  color: hsl(var(--clr-accent) / 0.5);
}
/* remove animations for people who've turned them off */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ------------------- */
/* Utility classes     */
/* ------------------- */

/* general */

.flex {
  display: flex;
  gap: var(--gap, 1rem);
}

.grid {
  display: grid;
  gap: var(--gap, 1rem);
}
.d-block {
  display: block;
}

.flow > *:where(:not(:first-child)) {
  margin-top: var(--flow-space, 1rem);
}

.container {
  margin-inline: auto;
  width: 100%;
}

.grid-container {
  display: grid;
  text-align: center;
  place-items: center;
  padding-inline: 1rem;
}

.grid-container * {
  max-width: 50ch;
}

@media (min-width: 45em) {
  .grid-container {
    text-align: left;
    column-gap: var(--container-gap, 2rem);
    grid-template-columns: minmax(2rem, 1fr) repeat(2, minmax(0, 30rem)) minmax(
        2rem,
        1fr
      );
  }

  .grid-container > *:first-child {
    grid-column: 2;
  }

  .grid-container > *:last-child {
    grid-column: 3;
  }
  .grid-container--home {
    padding-bottom: max(6rem, 20vh);
    align-items: end;
  }
}

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

/* colors */

.numbered-title {
  font-size: var(--fs-500);
  text-transform: uppercase;
  letter-spacing: 4.72px;
}

.numbered-title span {
  margin-right: 0.5em;
  font-weight: 700;
  color: hsl(var(--clr-white) / 0.25);
}

/* ------------------- */
/* Compontents         */
/* ------------------- */

.large-button {
  font-size: 2rem;
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  padding: 0 2em;
  border-radius: 50%;
  aspect-ratio: 1;
  text-decoration: none;
}

.large-button::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: hsl(var(--clr-white) / 0.1);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 500ms linear, transform 750ms ease-in-out;
}

.large-button:hover::after,
.large-button:focus::after {
  opacity: 1;
  transform: scale(1.5);
}

.primary-navigation a {
  text-decoration: none;
}

.primary-navigation a > span {
  font-weight: 700;
  margin-right: 0.5em;
}

header.primary-header {
  background-color: hsl(var(--clr-dark));
  border-bottom: 1px solid #444;
  padding: 0.125rem;
  -webkit-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.15);
}

.footer {
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
}
.footer {
  background-color: #333;
}

.footer-inner {
  margin-inline: auto;
  display: flex;
  padding: 1.5rem 2rem;
  justify-content: center;
  gap: 0.5rem;

  flex-direction: column;
}
.footer-inner > * {
  width: 100%;
}
.footer-inner h5 {
  background-color: hsl(var(--clr-dark) / 0.1);
  color: hsl(var(--clr-dark));
  font-size: 1rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--br-small);
  text-align: center;
}
.footer-inner p {
  margin: 0.25rem 0.625rem;
  font-size: 0.875rem;
}
.footer-copyright {
  color: #fff;

  width: 100%;
  margin-inline: auto;
  display: flex;
  padding: 1rem 2rem;
  justify-content: center;
}
.footer-copyright p {
  font-size: 1rem;
}

.primary-header > * {
  width: 100%;
}

.logo-and-phones {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
}
.header-logo-img,
.header-phones {
  width: 100%;
  display: flex;
  align-items: center;
}
.header-logo-img figure {
  display: flex;
  align-items: center;
}
.header-phones {
  flex-direction: column;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .header-phones {
    justify-content: flex-end;
    align-items: flex-end;
  }

  .logo-and-phones .footer-inner {
    flex-direction: row;
  }
}

.perevagy-wrapper .perevagy {
  border-radius: var(--br-medium);
  background-color: hsl(var(--clr-accent) / 0.05);
}
.perevagy figure {
  padding-top: 1.5rem;
}
.perevagy p {
  font-size: 1rem;
}
.perevagy p:last-child {
  margin-bottom: 1.5rem;
}

.phone-header-text,
.header-phones a {
  text-decoration: none;
  color: hsl(var(--clr-dark));
}

.header-phones--phone {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.header-phones--location {
  display: flex;
  font-size: 0.875rem;
}
.dropdown-social a,
.dropdown-social svg {
  display: inline-block;
}
.dropdown-social,
.dropdown-social a {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.header-logo-img .wp-block-image img {
  height: auto;
}

@media (max-width: 35rem) {
  .header-logo-img {
    width: 80%;
  }
}

.full-width-div-inner .uagb-image-caption {
  padding: 0.375rem 1rem;
  background-color: hsl(var(--clr-white) / 1);
  color: hsl(var(--clr-dark) / 1);
  border-radius: var(--br-small);

  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  transform: translateY(-10px);
}
.full-width-div-inner:hover .uagb-image-caption {
  transform: translateY(-30px);
}
.full-width-div-inner figure img {
  -webkit-transition: all 1s ease;
  transition: all 500ms ease;
}
.full-width-div-inner:hover figure img {
  -webkit-filter: brightness(60%);
  filter: brightness(60%);
}

/* navbar-1 */
.mobile-nav-toggle {
  display: none;
}
.catalog-menu-wrapper {
  background-color: hsl(var(--clr-accent) / 0.1);
  /* height: 100px; */
}

header.primary-header {
  position: sticky;
  top: 0;
  z-index: 999;
}
@media only screen and (max-width: 768px) {
  header.primary-header {
    position: relative;
  }
  .navbar-1 {
    position: absolute;
    z-index: 1011;
    right: 8px;
    top: 12px;
    width: auto;
    height: 40px;
    z-index: 99999999999;
  }
}

h2 {
  font-size: 2.5rem;
}

h2 {
  position: relative;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
h2::before {
  content: " ";
  height: 2px;
  width: 130px;
  background: hsl(var(--clr-accent) / 1);
  display: block;
  margin-right: 1rem;
}
h2::after {
  content: " ";
  height: 2px;
  width: 130px;
  background: hsl(var(--clr-accent) / 1);
  display: block;
  margin-left: 1rem;
}
.slogan {
  border-radius: var(--br-small);
  background-color: hsl(var(--clr-accent) / 1);
  background: hsla(28, 25%, 47%, 1);
  background: linear-gradient(
    135deg,
    hsla(28, 25%, 47%, 1) 0%,
    hsla(28, 59%, 27%, 1) 100%
  );

  background: -moz-linear-gradient(
    135deg,
    hsla(28, 25%, 47%, 1) 0%,
    hsla(28, 59%, 27%, 1) 100%
  );

  background: -webkit-linear-gradient(
    135deg,
    hsla(28, 25%, 47%, 1) 0%,
    hsla(28, 59%, 27%, 1) 100%
  );

  filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#957559", endColorstr="#6D421C", GradientType=1 );
  padding: 2rem 2rem;
  text-align: center;
  font-size: 2rem;
  font-weight: 400;
}
.slogan p {
  color: hsl(var(--clr-white));
  font-style: italic;
}
/*--------------*/
/*Buttons*/
/*--------------*/

.btn2 {
  background-color: hsl(var(--clr-accent) / 0.1);
  color: hsl(var(--clr-dark) / 0.9);
  padding: 0.5rem 1rem;
  border-radius: var(--br-small);
  display: inline-block;
  text-decoration: none;
}
.btn2:hover {
  background-color: hsl(var(--clr-accent) / 0.3);
}

.products-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  grid-template-rows: auto;
  gap: 0.5rem;
  border: 0px dotted green;
}
.product {
  border: 1px solid hsl(var(--clr-accent) / 0.1);
  border-radius: var(--br-small);
  overflow: hidden;
}
.product h3 {
  padding: 0.25rem 0.5rem;
}
.product h3 {
  background-color: hsl(var(--clr-accent) / 0.1);
}
.product p {
  font-size: 0.875rem;
  padding: 0.25rem 0.5rem 0 0.5rem;
  margin: 0;
}
p.product-short-info {
  background-image: url(images/info-square.svg);
  background-position: left 5px top 7px;
  background-repeat: no-repeat;
  background-size: 20px;
  padding-left: 32px;
}
p.product-price {
  background-image: url(images/pricetag-outline.svg);
  background-position: left 5px top 7px;
  background-repeat: no-repeat;
  background-size: 20px;
  padding-left: 32px;
}
.product a img:hover {
  opacity: 0.8;
}

.product a.product-btn {
  margin: 0.25rem 0.5rem 0.25rem 0.5rem;
  /* padding-right: 1.25rem; */
  padding: 0.25rem 0.75rem 0.25rem 0.75rem;
  background-color: hsl(var(--clr-accent) / 0.05);
  display: inline-block;
  text-decoration: none;
  color: hsl(var(--clr-accent) / 1);
  font-size: 0.75rem;
  transition: background-color 200ms;
  border-radius: var(--br-small);
  border: 1px solid hsl(var(--clr-accent) / 0.5);
}
.product a.product-btn:hover {
  background-color: hsl(var(--clr-accent) / 0.2);
}
.card {
  border: 1px solid hsl(var(--clr-accent) / 0.1);
  padding: 1rem;
  border-radius: var(--br-medium);
}
.card a {
  text-decoration: none;
  color: hsl(var(--clr-accent) / 1);
}
.card h4 {
  font-size: 1.5rem;
}

.product-img img {
  width: 100%;
  height: 245px;
  object-fit: cover;
}

/* breadcrumbs */
.breadcrumbs {
  font-size: 0.75rem;
  margin-top: 0.25rem;
}
.breadcrumbs a {
  text-decoration: none;
  color: hsl(var(--clr-accent) / 0.75);
}
.breadcrumbs a:hover {
  color: hsl(var(--clr-accent) / 1);
  text-decoration: underline;
}

.modal-overlay,
.modal-overlay-footer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  display: grid;
  place-items: center;
  display: none;
  background-color: hsl(var(--clr-dark) / 0.3);
  z-index: 9999;
}
.modal-overlay.show-modal,
.modal-overlay-footer.show-modal {
  display: grid;
}
.modal {
  width: 400px;
  max-width: 95%;
  background-color: hsl(var(--clr-white) / 1);
  padding: 1rem;
  border-radius: var(--br-medium);
}
.modal div.wpforms-container-full {
  margin: 0;
}
.modal div.wpforms-container-full .wpforms-form .wpforms-head-container {
  padding: 0;
}
.modal .wpforms-title {
  text-align: center;
}
.modal .wpforms-container .wpforms-field {
  padding: 0.5rem;
}
.close-modal {
  cursor: pointer;
}
.modal-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 0.25rem;
}
.modal-title h4 {
  font-size: 1.25rem;
}
body.modal-open {
  overflow-y: hidden;
}

.forminator-row.forminator-row-last .forminator-field {
  display: flex;
  justify-content: center;
}

div.wpforms-container-full button[type="submit"] {
  background-color: hsl(var(--clr-accent) / 1) !important;
}
div.wpforms-container-full button[type="submit"]:hover {
  background-color: hsl(var(--clr-accent) / 0.75) !important;
}
div.wpforms-container-full input[type="checkbox"]:checked:before,
div.wpforms-container-full input[type="radio"]:checked:before {
  border-color: hsl(var(--clr-accent) / 1) !important;
  box-shadow: 0 0 0 1px hsl(var(--clr-accent) / 1),
    0px 1px 2px rgba(0, 0, 0, 0.15) !important;
}
div.wpforms-container-full input[type="checkbox"]:checked:after {
  border-left: 4px solid hsl(var(--clr-accent) / 1) !important;
  border-bottom: 4px solid hsl(var(--clr-accent) / 1) !important;
  background-color: transparent;
}

div.wpforms-container-full button[type="submit"] {
  left: 50%;
  transform: translateX(-50%);
}
.modal div.wpforms-container-full .wpforms-confirmation-container-full,
div[submit-success] > .wpforms-confirmation-container-full {
  margin: 0 auto;
}

.postheader {
  text-align: center;
  margin-top: 1rem;
}

@media (min-width: 20rem) and (max-width: 42rem) {
  .container {
    padding-inline: 0rem;
  }
  .products-wrapper {
    grid-template-columns: repeat(auto-fill, minmax(160px, 2fr));

    grid-template-rows: auto;
    gap: 0.5rem;
  }
  .product-img img {
    width: 100%;
  }
}
.font-900 {
  font-weight: 900;
}
.text-underline {
  color: #fff;
  border-radius: 3px;
  padding: 0.375rem 0.25rem;
  background-color: #333;
}
.btn-header {
  cursor: pointer;
  border-radius: 3px;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  border: 1px solid hsl(var(--clr-accent));
  background-color: hsl(var(--clr-accent));
  color: #fff;
  width: 100%;
  transition: background-color 0.3s ease-in-out;
}
.header-phone-link {
  border-radius: 3px;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  border: 1px solid hsl(var(--clr-accent));
  background-color: #fff;
  background-image: url("images/phone.svg");
  background-position: left 10px center;
  background-repeat: no-repeat;
  background-size: 20px;
  width: 100%;
  text-align: right;
  transition: background-color 0.3s ease-in-out;
}
.btn-header:hover {
  color: #222;
}
.btn-header:hover,
.header-phone-link:hover {
  background-color: hsl(var(--clr-accent) / 0.15);
}

.phone-icon-header {
  border-radius: 6px;
  border: 1px solid hsl(var(--clr-accent));
  background-color: #fff;
  padding: 5px;
  border-radius: 3px;
}
a.phone-header-text {
  align-items: center;
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.logo-and-phones {
  width: 100%;
  max-width: 1280px;
  margin: 5px auto;
  padding: 0px;
  display: flex;
  justify-content: space-between;
}
.logo-and-phones .navbar-1 {
  flex-grow: 1;
  display: flex;
  align-items: center;
  /* background: #fff; */
  justify-content: flex-end;
  padding: 0;
}
.logo-and-phones .header-logo-img,
.logo-and-phones .header-phones {
  width: auto;
}
.logo-and-phones .header-logo-img {
  width: 300px;
}
.logo-and-phones .header-phones {
  margin: 0;
}
.logo-and-phones .header-phones--phone {
  display: flex;
  flex-direction: column;
  /* 	flex-direction:row; */
  gap: 0.25rem;
  justify-content: flex-end;
  align-items: end;
}

/* HERO */
.hero-before-title {
  /* border: 1px solid hsl(var(--clr-dark) / 0.1); */
  border-left: 3px solid hsl(var(--clr-accent));
  /* border-bottom: 5px solid hsl(var(--clr-secondary-400)); */
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: hsl(var(--clr-white) / 0.08);
  font-size: 0.875rem;
}
.hero-title {
  font-weight: 900;
  line-height: 1.2;
  margin: 2rem 0;
  color: #333;
}

.custom-list-1 {
  list-style: none;
}
.custom-list-1 li {
  font-size: 1rem;
  margin: 0.25rem 0.25rem;
  background-image: url("images/checkmark-yellow-bg.png");
  background-position: left center;
  background-repeat: no-repeat;
  padding: 0.25rem;
  padding-left: 42px;
  background-size: 28px;
}

p.hero-underline::after {
  content: "";
  display: block;
  margin-top: 5px;
  height: 5px;
  width: 30%;
  background: hsl(var(--clr-accent));
  transition: all 0.5s ease-out;
}
.hero-hover:hover p.hero-underline::after {
  width: 60%;
  background: hsl(var(--clr-accent));
}
.hero-underline {
  background-image: url("images/gg-arrow-right-o.svg");
  background-position: right 38%;
  background-repeat: no-repeat;
  padding: 0.25rem;
  padding-right: 32px;
  background-size: 24px;
}

@media all and (max-width: 680px) {
  h2 {
    position: relative;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    /* color:#222; */
    font-size: 1.75rem;
    line-height: 1.2;
  }
  h2::before {
    content: " ";
    height: 2px;
    width: 20px;
    background: hsl(var(--clr-accent) / 1);
    display: block;
    margin-right: 1rem;
  }
  h2::after {
    content: " ";
    height: 2px;
    width: 20px;
    background: hsl(var(--clr-accent) / 1);
    display: block;
    margin-left: 1rem;
  }
  .logo-and-phones .header-phones--phone {
    flex-direction: row;
    width: 100%;
  }
}
.news-item,
.news-image {
  background-color: #333;
  border-radius: 10px;
  border: 3px solid transparent;
  transition: border 0.3s ease-in-out;
}
.news-item {
  padding: 1rem;
}
.news-item:hover {
  border: 3px solid hsl(var(--clr-accent));
}
.news-item-date {
  color: hsl(var(--clr-white) / 0.7);
}
.news-item h3 {
  margin: 0.6rem 0;
  line-height: 1.3;
}
.news-item p,
.news-item li {
  color: hsl(var(--clr-white) / 0.8);
}
.news-item ul,
.news-item ol {
  padding-left: 1rem;
  margin: 0.25rem;
}
.news-item ol::marker {
  margin-right: 0.5rem;
}
@media all and (max-width: 680px) {
  .news-item {
    border-radius: 0px 0px 10px 10px;
    -moz-border-radius: 0px 0px 10px 10px;
    -webkit-border-radius: 0px 0px 10px 10px;
  }
  .news-image {
    border-radius: 10px 10px 0px 0px;
    -moz-border-radius: 10px 10px 0px 0px;
    -webkit-border-radius: 10px 10px 0px 0px;
  }
}
.max-width-1200 {
  width: 100%;
  max-width: 1200px;
}

.lang-item img {
  border-radius: 8px;
  width: 28px;
  height: auto;
}
@media all and (max-width: 680px) {
  .lang-item {
    margin-top: 8px;
  }
}

/*--------------main navigation  */
.main-nav {
  display: flex;
  align-items: center;
}
.main-nav ul {
  list-style-type: none;
  display: flex;
}
.main-nav .nav li {
  font-weight: 400;
  /* text-transform: uppercase; */
  font-size: 1rem;
  border-left: 1px solid rgba(34, 34, 34, 0.704);
  box-shadow: inset 1px 0 0 0 rgba(255, 255, 255, 0.1);
}
.main-nav .nav a {
  margin: 0px;
  display: block;
  color: hsl(var(--clr-white));
  text-decoration: none;
  padding: 0 15px;
  transition: color 0.3s ease-in-out;
}
.main-nav .nav li:first-of-type {
  border-left: 0;
  box-shadow: none;
}

.main-nav .nav a:hover,
.main-nav .nav .current_page_item a {
  color: hsl(var(--clr-accent));
}
/* .main-nav .nav a::after {
  content: "";
  width: auto;
  height: 1px;
  display: block;
  border-radius: 0px;
  margin: 5px auto 0;
  -webkit-transition: background 0.5s;
  transition: background 0.5s;
  background: transparent;
  position: relative;
}
.main-nav .nav a:hover:after,
.main-nav .nav .current_page_item a::after {
  content: "";
  width: auto;
  height: 1px;
  display: block;
  border-radius: 0px;
  margin: 5px auto 0;
  background: hsl(var(--clr-accent));
} */

/* .nav-toggle-label,
.nav-toggle {
  display: none;
} */
.header-social-languages {
  margin-left: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: space-between;
  align-items: center;
}
.header-languages,
.header-social {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 3px;
  justify-content: space-between;
  align-items: center;
}
.header-languages a {
  text-transform: uppercase;
  display: flex;
  gap: 3px;
  text-decoration: none;
  color: hsl(var(--clr-white) / 0.8);
  font-size: 14px;
  padding: 3px;
}
.header-languages ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.header-languages a:hover {
  color: hsl(var(--clr-accent) / 1);
}
.header-social a {
  color: hsl(var(--clr-dark) / 0.4);
  transition: color 0.3s ease-in-out;
}
.header-social a:hover {
  color: hsl(var(--clr-accent) / 1);
}
@media only screen and (min-width: 768px) {
  .page-template-menu-overlay-dark-bg .header-social a {
    color: hsl(var(--clr-white) / 0.4);
    transition: color 0.3s ease-in-out;
  }
  .page-template-menu-overlay-dark-bg .header-social a:hover {
    color: hsl(var(--clr-white) / 1);
  }
  .page-template-menu-overlay-dark-bg .main-nav .nav a {
    color: hsl(var(--clr-white) / 1);
  }
  .page-template-menu-overlay-dark-bg .main-nav .nav a:hover,
  .page-template-menu-overlay-dark-bg .main-nav .nav .current_page_item a {
    color: rgb(157, 251, 93);
  }
  .page-template-menu-overlay-dark-bg .header-languages a {
    color: hsl(var(--clr-white) / 0.8);
  }
  .page-template-menu-overlay-dark-bg .header-languages a:hover {
    color: hsl(var(--clr-white) / 1);
  }
}

.header-social span a {
  display: flex;
  align-items: center;
}
.hamburger {
  display: none;
  width: 40px;
  height: 40px;
}
@media only screen and (max-width: 768px) {
  .hamburger {
    position: absolute;
    z-index: 101;
    right: 15px;
    top: 22px;
    padding: 0px;
    display: flex;
    cursor: pointer;
    transition-property: opacity, filter, top;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    overflow: visible;
  }
  .sticky .hamburger {
    /* top: 22px; */
  }
  .hamburger:hover {
    /* opacity: 0.7; */
  }
  .hamburger.is-active:hover {
    /* opacity: 0.7; */
  }
  .hamburger.is-active .hamburger-inner,
  .hamburger.is-active .hamburger-inner::before,
  .hamburger.is-active .hamburger-inner::after {
    background-color: hsl(var(--clr-white));
  }

  .hamburger-box {
    width: 40px;
    height: 24px;
    display: inline-block;
    position: relative;
  }

  .hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
  }

  .hamburger-inner,
  .hamburger-inner::before,
  .hamburger-inner::after {
    width: 30px;
    height: 3px;
    background-color: hsl(var(--clr-white));
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
  }

  .page-template-menu-overlay-dark-bg .hamburger-inner,
  .page-template-menu-overlay-dark-bg .hamburger-inner::before,
  .page-template-menu-overlay-dark-bg .hamburger-inner::after {
    background-color: hsl(var(--clr-white));
    transition: background-color 0.3s ease-in-out;
  }

  .hamburger-inner::before,
  .hamburger-inner::after {
    content: "";
    display: block;
  }
  .hamburger-inner::before {
    top: -8px;
  }
  .hamburger-inner::after {
    bottom: -8px;
  }

  .hamburger--squeeze .hamburger-inner {
    transition-duration: 0.075s;
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }
  .hamburger--squeeze .hamburger-inner::before {
    transition: top 0.075s 0.12s ease, opacity 0.075s ease;
  }
  .hamburger--squeeze .hamburger-inner::after {
    transition: bottom 0.075s 0.12s ease,
      transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  .hamburger--squeeze.is-active .hamburger-inner {
    transform: rotate(45deg);
    transition-delay: 0.12s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  .hamburger--squeeze.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition: top 0.075s ease, opacity 0.075s 0.12s ease;
  }

  .hamburger--squeeze.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    transition: bottom 0.075s ease,
      transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  .page-template-menu-overlay-dark-bg
    .hamburger-inner
    .hamburger--squeeze.is-active
    .hamburger-inner,
  .page-template-menu-overlay-dark-bg
    .hamburger--squeeze.is-active
    .hamburger-inner::before,
  .page-template-menu-overlay-dark-bg
    .hamburger--squeeze.is-active
    .hamburger-inner::after {
    background-color: hsl(var(--clr-dark));
  }

  .main-nav {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    position: absolute;
    z-index: 99;
    text-align: left;
    top: 0;
    left: 0;
    /* background: hsl(var(--clr-black)); */
    background: #454545;
    width: 100%;
    height: 100vh;
    padding: 20px 10px 10px 30px;
    /* transform:scale(1, 0);*/
    transform: translateX(-100%);
    transition: transform 400ms ease-in-out;
  }
  .main-nav.show-nav {
    transform: translateX(0);
  }
  .main-nav ul {
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 10px 0px;
    gap: 15px;
  }
  .main-nav ul.polylang_langswitcher {
    padding: 0;
  }
  .main-nav .nav li {
    border: 0;
    box-shadow: none;
    margin: 5px 0;
  }
  .main-nav nav ul li {
  }

  .footer-copyright {
    flex-direction: column;
    gap: 15px;
  }
}

/*-------------
/* Styling the language switcher container */
.header-social-languages {
  position: relative;
  display: inline-block;
}

.header-languages .polylang_langswitcher > li {
  /* padding: 0 5px; */
}
.header-languages .polylang_langswitcher > li.current-lang {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  padding: 5px;
}

.header-languages .polylang_langswitcher > li.current-lang::after {
  content: "▼"; 
  margin-top: 2px;
  margin-left: 5px;
  font-size: 10px;
}

.header-languages .polylang_langswitcher > li:not(.current-lang) {
  display: block; 
  position: absolute;
  left: 0;
  top: 100%; 
  background-color: hsl(var(--clr-dark) / 0.8);
  padding: 5px;
  z-index: 1;
  opacity: 0; 
  transform: translateY(-10px); 
  transition: opacity 0.3s ease, transform 0.3s ease; 
  pointer-events: none; 
  -webkit-border-bottom-right-radius: 6px;
  -webkit-border-bottom-left-radius: 6px;
  -moz-border-radius-bottomright: 6px;
  -moz-border-radius-bottomleft: 6px;
  border-bottom-right-radius: 6px;
  border-bottom-left-radius: 6px;
}

.header-languages:hover .polylang_langswitcher > li:not(.current-lang) {
  opacity: 1; 
  transform: translateY(0); 
  pointer-events: auto; 
}
@media only screen and (max-width: 768px) {
  .header-languages .polylang_langswitcher > li:not(.current-lang) {
    background-color: #454545;
  }
}
