:root {
  --black: #000000;
  --white: #FFFFFF;
  --green: #1a6e33;
  --light-grey: #f0f0f0;
  --light-grey-2: #f7f5f5;
  --dark-grey: #333732;
  --text: var(--white);
  --fontBody: "Poppins", sans-serif;
  --br: 15px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
html.no-scroll {
  overflow: hidden;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: var(--fontBody);
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  color: var(--black);
  text-align: left;
  background-color: var(--white);
}

[tabindex="-1"]:focus:not(.focus-visible),
[tabindex="-1"]:focus:not(:focus-visible) {
  outline: 0 !important;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

img {
  width: 100%;
}

.h1,
h1 {
  font-family: var(--fontBody);
  font-size: 2em;
  line-height: 1.19;
  font-weight: 700;
  position: relative;
  margin: 0 0 20px;
}

.h2,
h2 {
  font-family: var(--fontBody);
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  border-bottom: 8px solid var(--green);
  width: fit-content;
  width: -moz-fit-content;
  margin: 0 0 20px;
}
@media (max-width: 992px) {
  .h2,
  h2 {
    font-size: 20px;
  }
}

.h3,
h3 {
  font-family: var(--fontBody);
  font-size: 75px;
  line-height: 1.11;
  font-style: normal;
  font-weight: 700;
  margin: 0 0 16px;
}
@media (max-width: 992px) {
  .h3,
  h3 {
    font-size: 32px;
    line-height: normal;
  }
}
.h3 span,
.h3 em,
h3 span,
h3 em {
  color: var(--green);
  font-style: normal;
}

.h4,
h4 {
  font-family: var(--fontBody);
  font-size: 34px;
  font-style: normal;
  font-weight: 700;
  margin: 0 0 16px;
}
@media (max-width: 992px) {
  .h4,
  h4 {
    font-size: 24px;
  }
}

.b2 {
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 157.143%;
  letter-spacing: -0.14px;
}

.b3 {
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 200%;
  letter-spacing: -0.12px;
  text-transform: uppercase;
}

.quote {
  font-family: var(--fontQuote);
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 122.222%;
  text-transform: uppercase;
}

strong {
  font-weight: 700;
}

em {
  font-style: normal;
  color: var(--green);
}

a {
  text-decoration: none;
  transition: 0.3s;
  color: var(--green);
}

p {
  line-height: 1.43;
  margin-bottom: 20px;
}
p a {
  display: inline-block;
  text-decoration: underline;
}
p a:hover {
  opacity: 0.5;
}

ul:not(.ignore) {
  padding: 0;
  margin-left: 16px;
}
ul:not(.ignore) li {
  margin-bottom: 10px;
}

.btn,
.button {
  background-color: var(--green);
  margin: 15px 0;
  padding: 10px 0;
  width: 100%;
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  transition: 0.3s;
}
.btn:hover,
.button:hover {
  opacity: 0.5;
}

.section {
  padding: 75px 0;
}
@media (max-width: 768px) {
  .section {
    padding: 50px 0;
  }
}
.section.grey {
  background-color: var(--light-grey-2);
}
.section.no-pd {
  padding-top: 0;
}
.section.no-pdb {
  padding-bottom: 0;
}

.wrap {
  width: 100%;
  margin: 0 auto;
  position: relative;
  padding: 0 25px;
  max-width: 1275px;
  z-index: 3;
}

.header {
  padding: 20px 24px;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 999;
  background-color: var(--green);
  box-shadow: rgba(0, 0, 0, 0.4) 0px 10px 30px;
  position: relative;
  z-index: 999;
  position: sticky;
  top: 0;
}
.header.menu {
  background-color: var(--light-grey);
  box-shadow: none;
}
.header.menu .header__logo {
  background-image: url("/wp-content/themes/ivy-farm/assets/images/logo-full.svg");
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.header__logo {
  display: flex;
  width: 90px;
  height: 40px;
  background-image: url("/wp-content/themes/ivy-farm/assets/images/logo.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transition: 0.3s;
}
.header__logo:hover {
  opacity: 0.5;
}
.header__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}
.header__right__icon {
  width: 30px;
  height: 30px;
  transition: 0.3s;
}
.header__right__icon:hover {
  opacity: 0.5;
}
.header__right__icon.hide {
  opacity: 0;
}
.header__right__icon img {
  height: 100%;
}
.header__right__menu {
  width: 23px;
  height: 19px;
  position: relative;
  cursor: pointer;
  transition: 0.3s;
}
.header__right__menu:hover {
  opacity: 0.5;
}
.header__right__menu span {
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--white);
  left: 50%;
  transform: translateX(-50%);
  transition: 0.3s;
}
.header__right__menu span:nth-child(1) {
  top: 0;
}
.header__right__menu span:nth-child(2), .header__right__menu span:nth-child(3) {
  top: 50%;
  transform: translate(-50%, -50%);
}
.header__right__menu span:nth-child(4) {
  bottom: 0;
}
.header__right__menu.open span {
  background-color: var(--black);
}
.header__right__menu.open span:nth-child(1), .header__right__menu.open span:nth-child(4) {
  opacity: 0;
}
.header__right__menu.open span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(45deg);
}
.header__right__menu.open span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.main-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  background-color: var(--light-grey);
  z-index: 998;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  display: none;
  margin: 70px 0;
  padding: 50px 0;
  overflow-y: scroll;
}
.main-menu.open {
  display: flex;
}
.main-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.main-menu ul li {
  margin: 0;
  position: relative;
  width: fit-content;
  width: -moz-fit-content;
}
.main-menu ul li a {
  width: auto;
  display: inline-block;
  outline: 0px;
  font-size: 22px;
  letter-spacing: 2px;
  text-align: center;
  position: relative;
  padding: 10px 0px 3px;
  color: var(--black);
  text-decoration: none;
  font-weight: 700;
}
.main-menu ul li:before {
  content: "";
  position: absolute;
  width: 0%;
  height: 6px;
  bottom: -14%;
  margin-top: -0.5px;
  background: rgb(26, 110, 51);
  transition: 0.6s;
}
.main-menu ul li:hover:before, .main-menu ul li.current-menu-item:before {
  width: 100%;
}
.main-menu img {
  max-width: 30px;
  margin: 30px 0;
}

.footer {
  background-color: var(--light-grey);
  padding: 40px 0;
}
.footer__inner__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.footer__inner__top ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(4, 1fr);
  gap: 10px 100px;
}
@media (max-width: 992px) {
  .footer__inner__top ul {
    gap: 10px 50px;
  }
}
@media (max-width: 768px) {
  .footer__inner__top ul {
    grid-auto-flow: row;
    grid-template-rows: inherit;
    grid-template-columns: 1fr;
  }
}
.footer__inner__top ul li {
  margin: 0;
}
.footer__inner__top ul li a {
  color: var(--dark-grey);
  font-weight: 600;
}
.footer__inner__top img {
  max-width: 230px;
}
@media (max-width: 480px) {
  .footer__inner__top img {
    display: none;
  }
}
.footer__inner__bottom {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 50px;
  flex-wrap: wrap;
}
@media (max-width: 480px) {
  .footer__inner__bottom .text {
    width: 100%;
  }
}

.hero-banner.image {
  padding: 100px 0;
}
.hero-banner.image .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}
@media (max-width: 992px) {
  .hero-banner.image .wrap {
    flex-direction: column;
  }
}
.hero-banner__video {
  padding-top: 56.5%;
  position: relative;
}
.hero-banner__video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.hero-banner__content h1 {
  font-size: 96px;
  line-height: 110px;
}
@media (max-width: 768px) {
  .hero-banner__content h1 {
    font-size: 40px;
    line-height: normal;
  }
}
.hero-banner__content h1 .svg-wrap {
  display: inline-block;
  width: 130px;
  height: 120px;
}
.hero-banner__content h1 .svg-wrap svg {
  width: 100%;
  height: 100%;
}
.hero-banner__content h1 strong {
  font-weight: 700;
  position: relative;
}
.hero-banner__content h1 strong:after {
  content: "";
  height: 15px;
  background-color: var(--green);
  width: 100%;
  display: block;
  position: absolute;
  top: 88%;
  left: 0;
}
@media (max-width: 768px) {
  .hero-banner__content h1 strong:after {
    height: 8px;
  }
}
.hero-banner__image {
  max-width: 500px;
}
.hero-banner.video .animate {
  position: absolute;
  right: 50px;
  top: 50%;
  max-width: 400px;
  transition: 0.3;
  opacity: 1;
}
@media (max-width: 992px) {
  .hero-banner.video .animate {
    display: none;
  }
}
.hero-banner.video .animate.go {
  animation: animationGo 3s linear both;
}

@keyframes animationGo {
  0% {
    transform: translate(0%, -50%);
    opacity: 1;
  }
  100% {
    transform: translate(0%, 150%);
  }
}
.content-block__inner {
  max-width: 700px;
}
.content-block__inner h1,
.content-block__inner h2 {
  font-weight: 700;
  font-size: 46px;
  line-height: 1.22;
}
@media (max-width: 992px) {
  .content-block__inner h1,
  .content-block__inner h2 {
    font-size: 20px;
    line-height: normal;
  }
}
.content-block__inner h2 {
  border-bottom: 8px solid var(--green);
  width: fit-content;
  width: -moz-fit-content;
}
.content-block__inner .h3-image {
  display: flex;
  align-items: center;
  gap: 10px;
}
.content-block__inner iframe {
  width: 600px;
  height: 350px;
  margin: 0 0 20px;
}
@media (max-width: 768px) {
  .content-block__inner iframe {
    width: 100%;
    height: 250px;
  }
}
.content-block__inner img {
  width: fit-content;
  width: -moz-fit-content;
}

.block-title {
  width: 100%;
  position: sticky;
  top: 80px;
  background-color: var(--white);
  padding: 20px 0 10px;
  margin-top: 30px;
  z-index: 997;
}
.block-title h2 {
  width: fit-content;
  width: -moz-fit-content;
  font-size: 20px;
}

.split-block__inner {
  display: flex;
  align-items: center;
  gap: 100px;
}
@media (max-width: 992px) {
  .split-block__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
@media (max-width: 992px) {
  .split-block__inner.image {
    flex-direction: column-reverse;
  }
}
.split-block__inner .h3-image {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.split-block__inner .h3-image img {
  max-width: 100px;
}
.split-block__inner__left {
  width: 100%;
  max-width: 530px;
}
.split-block__inner__left__gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.split-block__inner__left__gallery img {
  aspect-ratio: 1/1;
  object-fit: cover;
}
.split-block__inner__image {
  max-width: 450px;
  width: 100%;
}
@media (max-width: 992px) {
  .split-block__inner__image {
    max-width: 300px;
  }
}
.split-block__inner__content {
  width: 100%;
  max-width: 530px;
}
.split-block__inner__embed {
  width: 100%;
  padding-top: 56.5%;
  position: relative;
}
.split-block__inner__embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.split-block img {
  max-width: 530px;
}
.split-block.grey .split-block__inner__left__image img {
  max-width: inherit;
}
.split-block .embed {
  width: 100%;
  padding-top: 56.5%;
  position: relative;
}
.split-block .embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.split-block h2 {
  font-size: 26px;
  line-height: 32px;
}
.split-block h4 {
  font-size: 20px;
}
.split-block p em {
  font-size: 10px;
  font-style: normal;
  color: var(--black);
}

.blogs__title {
  margin-bottom: 30px;
}
.blogs__big-title {
  margin-bottom: 30px;
}
.blogs__big-title p {
  font-size: 120px;
  text-align: center;
  font-weight: 700;
  margin: 0;
}
@media (max-width: 992px) {
  .blogs__big-title p {
    font-size: 32px;
    text-align: left;
  }
}
.blogs__big-title__container span {
  position: relative;
}
.blogs__big-title__container span img {
  position: absolute;
  top: 5%;
  left: -62%;
  height: 100%;
  width: auto;
}
@media (max-width: 992px) {
  .blogs__big-title__container span img {
    width: 45px;
    height: 45px;
    top: 5%;
    left: -65%;
  }
}
.blogs__inner__item {
  display: flex;
  align-items: flex-start;
  gap: 100px;
  margin-bottom: 100px;
}
@media (max-width: 992px) {
  .blogs__inner__item {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
  }
}
.blogs__inner__item img {
  max-width: 460px;
}
.blogs__inner__item__info {
  color: var(--black) !important;
}
.blogs__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.blogs__pagination__button.prev svg {
  transform: rotate(90deg);
}
.blogs__pagination__button.next svg {
  transform: rotate(-90deg);
}
.blogs__pagination__numbers a {
  background-color: var(--light-grey);
  color: var(--black);
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 3px;
}
.blogs__pagination__numbers a:hover {
  background-color: var(--green);
  color: var(--white);
}
.blogs__pagination__numbers .current {
  background-color: var(--green);
  color: var(--white);
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 3px;
}
.blogs__pagination__numbers span {
  background-color: transparent;
  text-decoration: none;
  padding: 5px 10px;
}

.single-article__inner {
  max-width: 1040px;
  margin: 0 auto;
}
.single-article__inner img {
  max-width: 500px;
}

.signup__title {
  margin-bottom: 30px;
}
.signup__title p {
  font-size: 120px;
  text-align: center;
  font-weight: 700;
  margin: 0;
}
@media (max-width: 768px) {
  .signup__title p {
    font-size: 32px;
  }
}
.signup__title__container span {
  position: relative;
}
.signup__title__container span img {
  position: absolute;
  top: 5%;
  left: -62%;
  height: 100%;
  width: auto;
}
@media (max-width: 768px) {
  .signup__title__container span img {
    width: 45px;
    height: 45px;
    top: 5%;
    left: -65%;
  }
}
.signup form {
  max-width: 600px;
  margin: 0 auto;
}
.signup form .inputs {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.signup form .inputs input {
  padding: 10px 10px;
  outline: none;
  border: 1px solid #000;
  width: 100%;
}
.signup form .form-container {
  display: block;
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin: 15px 0;
}
.signup form .form-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.signup form .form-container input:checked ~ .checkmark {
  background-color: var(--green);
}
.signup form .form-container input:checked ~ .checkmark:after {
  display: block;
}
.signup form .form-container .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  margin-top: 5px;
}
.signup form .form-container .checkmark:after {
  content: "";
  display: none;
  position: absolute;
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.faqs__title {
  margin-bottom: 30px;
}
.faqs__title p {
  font-size: 120px;
  text-align: center;
  font-weight: 700;
  margin: 0;
}
@media (max-width: 768px) {
  .faqs__title p {
    font-size: 32px;
    text-align: left;
  }
}
.faqs__title__container span {
  position: relative;
}
.faqs__title__container span img {
  position: absolute;
  width: 300px;
  height: 300px;
  top: -34%;
  left: -95%;
}
@media (max-width: 768px) {
  .faqs__title__container span img {
    width: 80px;
    height: 79px;
    top: -33%;
    left: -95%;
  }
}
.faqs__sub-title {
  font-size: 24px;
  text-align: center;
}
.faqs__wrap {
  max-width: 920px;
  margin: 0 auto;
}
.faqs__wrap__faq {
  border-bottom: 1px solid var(--black);
}
.faqs__wrap__faq__question {
  font-size: 34px;
  font-weight: 700;
  line-height: 40px;
  padding: 30px 50px 20px 30px;
  position: relative;
  cursor: pointer;
}
@media (max-width: 768px) {
  .faqs__wrap__faq__question {
    font-size: 24px;
  }
}
.faqs__wrap__faq__question:after {
  content: "";
  display: block;
  background: url(/wp-content/themes/ivy-farm/assets/images/arrow-icon.svg) center center no-repeat;
  width: 20px;
  height: 20px;
  margin: 0 6px 0 0;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.3s;
}
.faqs__wrap__faq__question p {
  margin: 0;
}
.faqs__wrap__faq__question.open {
  color: var(--green);
}
.faqs__wrap__faq__question.open:after {
  transform: translateY(-50%) rotate(180deg);
}
.faqs__wrap__faq__answer {
  padding: 0 30px 30px;
  display: none;
}

.team__title p {
  max-width: 500px;
}
.team__members {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
@media (max-width: 992px) {
  .team__members {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 768px) {
  .team__members {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 480px) {
  .team__members {
    grid-template-columns: repeat(2, 1fr);
  }
}
.team__members__member {
  aspect-ratio: 1/1;
  position: relative;
}
.team__members__member img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 1;
}
.team__members__member img.hide {
  opacity: 0;
  transition: 0.3s;
}
.team__members__member__info {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 5px 10px;
  opacity: 0;
  transition: 0.3s;
}
.team__members__member__info p {
  margin: 0;
}
.team__members__member__info p:first-of-type {
  font-weight: 700;
  margin-bottom: 10px;
}
.team__members__member__info p:nth-child(2) {
  font-size: 12px;
  font-style: italic;
}
.team__members__member__info .link {
  margin-top: 15px;
  font-size: 12px;
  border-bottom: 4px solid var(--green);
  width: fit-content;
  width: -moz-fit-content;
  cursor: pointer;
}
.team__members__member:hover img.hide {
  opacity: 1;
}
.team__members__member:hover .team__members__member__info {
  opacity: 1;
}

.team-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: none;
  overflow-y: scroll;
}
.team-overlay .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
@media (max-width: 768px) {
  .team-overlay .wrap {
    align-items: flex-start;
  }
}
.team-overlay__box {
  background-color: var(--white);
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 50px;
  width: 100%;
  position: relative;
}
@media (max-width: 992px) {
  .team-overlay__box {
    padding: 25px;
    gap: 25px;
  }
}
@media (max-width: 768px) {
  .team-overlay__box {
    flex-direction: column;
  }
}
.team-overlay__box .cross {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}
@media (max-width: 992px) {
  .team-overlay__box .cross {
    top: 10px;
    right: 10px;
  }
}
.team-overlay__box .cross span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 3px;
  background-color: var(--black);
}
.team-overlay__box .cross span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}
.team-overlay__box .cross span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.team-overlay__box img {
  max-width: 400px;
}
@media (max-width: 992px) {
  .team-overlay__box img {
    max-width: 200px;
  }
}
.team-overlay__box__content p {
  margin: 0 0 1rem;
}
.team-overlay__box__content p#memberName, .team-overlay__box__content p#memberRole {
  font-weight: 700;
  color: var(--green);
}
