/*
Theme Name: Full Circle Gardeners
Description: A custom theme for the Full Circle Gardeners website.
Author: Simon Duun
Version: 1.0
Text Domain: fullcirclegardeners
*/

:root {
  --bg-green: #213E1B;
}

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

[x-cloak] {
  display: none !important;
}

body.auth-modal-open {
  overflow: hidden;
}

.wrapper-outer {
  width: 100%;
  flex: 1 0 auto;
}

[data-elementor-post-type="page"] p {
  margin-bottom: 20px;
}

.fullcirclegardeners-log-intro-content p {
  margin-bottom: 12px;
}

.fullcirclegardeners-log-intro-content p:last-child {
  margin-bottom: 0;
}

.wrapper-outer > .wrapper {
  width: 100%;
}


/*.grid {*/
/*  width: 100%;*/
/*  max-width: 1200px;*/
/*  margin-left: auto;*/
/*  margin-right: auto;*/
/*}*/

.main-navigation {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 40px;
}

.main-navigation__panel {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 40px;
}

.main-navigation__menu {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-navigation a:not(.btn-green) {
  color: #000 !important;
}

.main-navigation .btn-green {
  background-color: var(--bg-green);
  color: white !important;
  padding: 10px 12px;
  border-radius: 10px;
}

.main-navigation .btn-green > a,
.main-navigation a.btn-green {
  color: white !important;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--bg-green);
  border-radius: 10px;
  background: #fff;
  color: var(--bg-green);
  font-weight: 600;
}

.nav-toggle__icon {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 20px;
}

.nav-toggle__icon span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.grid-responsive {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

body:not(.page-id-15) div[data-elementor-type="wp-page"] {
  margin-top: 50px;
  margin-bottom: 50px;
}

/*
  Main Footer Widgets section
*/

#mainFooter * {
  color: #000;
}

#mainFooter {
  background-color: #F8F3EF;
}

#mainFooter .main-footer-inner {
  max-width: 1200px;
  margin: auto;
  padding: 40px 0;
}

.footer-widgets__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-widgets__nav .menu > li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-widgets__nav .menu > li::before {
  content: "";
  display: inline-block;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  background-color: #006119;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z'/%3E%3C/svg%3E") no-repeat center / contain;
}


@media screen and (min-width: 700px) {
  #mainFooter .footer-widgets__brand img {
    max-width: none; 
  }

  #mainFooter .footer-widgets {
    display: grid;
    grid-template-columns: 50% 50%;
  }
}

@media screen and (max-width: 700px) {
  #mainFooter .footer-widgets {
    display: block;
    text-align: center;
  } 

  #mainFooter .footer-widgets ul {
    text-align: left;
    margin: auto;
  }

  #mainFooter .footer-widgets__nav {
    justify-content: center;
    margin: 20px 0;
  }

  #mainFooter .footer-widgets__brand {
    display: flex;
    flex-direction: column;
  }
}


@media screen and (min-width: 900px) {
  #mainFooter #mainFooterInner {
    display: grid;
    grid-template-columns: 10% 70% 20%;
  }
}

@media (max-width: 1300px) {
  div[data-elementor-type="wp-page"] {
    max-width: 90%;
    margin: 50px auto;
  }

  .grid-responsive {
    max-width: 90%;
  }

  #mainHeroInner {
    max-width: 90%;
    margin: auto;
  }
}


@media (max-width: 940px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
  }

  .logo {
    justify-self: start;
  }

  .navigation {
    justify-self: center;
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-navigation {
    position: absolute;
    left: 50%;
    top: calc(100% + 12px);
    width: min(320px, calc(100vw - 2rem));
    z-index: 50;
    transform: translateX(-50%);
  }

  .main-navigation__panel {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    width: 100%;
    padding: 16px;
    border: 1px solid var(--brand-border, #d7e0d0);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(23, 32, 20, 0.12);
  }

  .site-header.is-menu-open .main-navigation__panel {
    display: flex;
  }

  .main-navigation__menu {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .main-navigation__menu > li,
  .main-navigation__menu > li > a {
    width: 100%;
  }

  .main-navigation .btn-green {
    display: inline-flex;
    justify-content: center;
    width: 100%;
  }
}

button,
a,
.e-button-base {
    transition: 
        background-color 0.3s ease-in,
        color 0.3s ease-in,
        transform 0.3s ease-in,
        box-shadow 0.3s ease-in;
        cursor: pointer;
}

.fullcirclegardeners-log-swiper {
}

.fullcirclegardeners-log-swiper::part(button-prev),
.fullcirclegardeners-log-swiper::part(button-next) {
  width: 15px;
  height: 15px;
  background: #fff;
  border-radius: 100%;
  padding: 5px;
}

.fullcirclegardeners-log-swiper::part(button-prev):hover,
.fullcirclegardeners-log-swiper::part(button-next):hover {

}

.fullcirclegardeners-log-swiper::part(button-next) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3Cpath d='M471.1 297.4C483.6 309.9 483.6 330.2 471.1 342.7L279.1 534.7C266.6 547.2 246.3 547.2 233.8 534.7C221.3 522.2 221.3 501.9 233.8 489.4L403.2 320L233.9 150.6C221.4 138.1 221.4 117.8 233.9 105.3C246.4 92.8 266.7 92.8 279.2 105.3L471.2 297.3z' fill='black'/%3E%3C/svg%3E");
}

.fullcirclegardeners-log-swiper::part(button-prev) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3Cpath d='M201.4 297.4C188.9 309.9 188.9 330.2 201.4 342.7L361.4 502.7C373.9 515.2 394.2 515.2 406.7 502.7C419.2 490.2 419.2 469.9 406.7 457.4L269.3 320L406.6 182.6C419.1 170.1 419.1 149.8 406.6 137.3C394.1 124.8 373.8 124.8 361.3 137.3L201.3 297.3z' fill='black'/%3E%3C/svg%3E");
}
