/* Eco Garden code-managed presentation layer.
   Keep layout/design fixes here instead of hiding them in Divi module settings. */

@import url("https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Roboto:wght@400;500;700&display=swap");

body,
p,
li,
input,
textarea,
select,
button,
.et_pb_text,
.et_pb_text_inner,
.woocommerce,
.woocommerce-page {
  font-family: Roboto, Helvetica, Arial, sans-serif !important;
  font-weight: 400 !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.et_pb_module_header,
.et_pb_text_inner h1,
.et_pb_text_inner h2,
.et_pb_text_inner h3,
.et_pb_text_inner h4,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce div.product .product_title {
  font-family: Merriweather, Georgia, serif !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

.et_pb_button,
button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.gform_wrapper.gravity-theme .gfield_label {
  font-family: Roboto, Helvetica, Arial, sans-serif !important;
  font-weight: 500 !important;
}

/* Header */
.header_main,
.et_pb_section_0_tb_header {
  background: rgba(255, 255, 255, .97) !important;
  border-bottom: 1px solid rgba(37, 74, 66, .12) !important;
  box-shadow: 0 10px 26px rgba(37, 74, 66, .06) !important;
  padding: 0 !important;
}

.header_main .et_pb_row,
.et_pb_row_0_tb_header {
  width: min(1180px, calc(100% - 40px)) !important;
  max-width: 1180px !important;
  min-height: 82px !important;
  padding: 10px 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.header_main .et_pb_column {
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.header_main .et_pb_column:first-child {
  width: 22% !important;
  justify-content: flex-start !important;
}

.header_main .et_pb_column:nth-child(2) {
  width: 52% !important;
  justify-content: center !important;
}

.header_main .et_pb_column:nth-child(3) {
  width: 26% !important;
  justify-content: flex-end !important;
}

.dsm_perspective_image_0_tb_header {
  width: 142px !important;
  max-width: 142px !important;
  margin: 0 !important;
  text-align: left !important;
}

.dsm_perspective_image_0_tb_header img {
  max-height: 68px !important;
  width: auto !important;
  object-fit: contain !important;
}

.et_pb_menu_0_tb_header {
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
}

.et_pb_menu_0_tb_header.et_pb_menu {
  background: transparent !important;
}

.et_pb_menu_0_tb_header .et_pb_menu__wrap,
.et_pb_menu_0_tb_header .et_pb_menu__menu,
.et_pb_menu_0_tb_header .et-menu-nav,
.et_pb_menu_0_tb_header ul.et-menu {
  justify-content: center !important;
}

.et_pb_menu_0_tb_header ul.et-menu {
  display: flex !important;
  align-items: center !important;
  gap: 28px !important;
}

.et_pb_menu_0_tb_header.et_pb_menu ul li {
  padding: 0 !important;
  margin: 0 !important;
}

.et_pb_menu_0_tb_header.et_pb_menu ul li a {
  position: relative !important;
  padding: 10px 0 !important;
  color: #254a42 !important;
  font-family: Roboto, Helvetica, Arial, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  transition: color .18s ease !important;
}

.et_pb_menu_0_tb_header.et_pb_menu ul li a:hover,
.et_pb_menu_0_tb_header.et_pb_menu ul li.current-menu-item > a {
  color: #1d7962 !important;
  opacity: 1 !important;
}

.dsm_button_0_tb_header,
.dsm_button_0_tb_header:hover {
  margin: 0 !important;
  padding: 0 !important;
}

body #page-container .et_pb_section .dsm_button_0_tb_header .et_pb_button_one.et_pb_button,
body .pum-container .et_pb_section .dsm_button_0_tb_header .et_pb_button_one.et_pb_button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 11px 18px !important;
  border: 1px solid #1d7962 !important;
  border-radius: 6px !important;
  background: #1d7962 !important;
  color: #fff !important;
  font-family: Roboto, Helvetica, Arial, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.1 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
  box-shadow: 0 10px 22px rgba(29, 121, 98, .16) !important;
  white-space: nowrap !important;
}

body #page-container .et_pb_section .dsm_button_0_tb_header .et_pb_button_one.et_pb_button:hover,
body .pum-container .et_pb_section .dsm_button_0_tb_header .et_pb_button_one.et_pb_button:hover {
  background: #254a42 !important;
  border-color: #254a42 !important;
  padding: 11px 18px !important;
}

/* Why us */
.why-us-section {
  background: #f4f8f1 !important;
  padding: 76px 0 82px !important;
  border-top: 1px solid rgba(37, 74, 66, .12);
  border-bottom: 1px solid rgba(37, 74, 66, .12);
}

.why-us-section .et_pb_row {
  max-width: 1180px !important;
}

.why-us-section .et_pb_text_inner > h2,
.why-us-section .et_pb_module_header,
.why-us-section h2 {
  color: #254a42 !important;
  font-family: Merriweather, Georgia, serif !important;
  font-size: clamp(34px, 4vw, 54px) !important;
  line-height: 1.12 !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
}

.why-us-section .why-us {
  position: relative;
  height: 100%;
  min-height: 238px;
  padding: 30px 28px 28px !important;
  background: #fff !important;
  border: 1px solid rgba(37, 74, 66, .14);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(37, 74, 66, .08);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.why-us-section .why-us:hover {
  transform: translateY(-3px);
  border-color: rgba(29, 121, 98, .32);
  box-shadow: 0 24px 46px rgba(37, 74, 66, .12);
}

.why-us-section .why-us:before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin: 0 auto 20px;
  background: #1d7962;
  border-radius: 999px;
}

.why-us-section .why-us h3 {
  color: #254a42 !important;
  font-family: Merriweather, Georgia, serif !important;
  font-size: 22px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  margin: 0 0 13px !important;
  text-align: center !important;
}

.why-us-section .why-us p,
.why-us-section .why-us .et_pb_text_inner {
  color: #33423e !important;
  font-family: Roboto, Helvetica, Arial, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.62 !important;
  font-weight: 400 !important;
  text-align: center !important;
}

/* Knowledge pages */
.eg-knowledge-wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.eg-knowledge-hero {
  background: #f4f8f1;
  padding: 76px 0 58px;
  border-bottom: 1px solid rgba(37, 74, 66, .12);
}

.eg-kicker {
  margin: 0 0 12px;
  color: #1d7962;
  font-family: Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eg-knowledge-hero h1 {
  max-width: 820px;
  margin: 0 0 18px;
  color: #254a42;
  font-family: Merriweather, Georgia, serif;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.12;
}

.eg-lead {
  max-width: 760px;
  margin: 0;
  color: #33423e;
  font-size: 19px;
  line-height: 1.65;
}

.eg-knowledge-nav,
.eg-knowledge-plan,
.eg-archive-list {
  padding: 58px 0;
  background: #fff;
}

.eg-knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.eg-knowledge-card,
.eg-post-card,
.eg-empty-note {
  display: block;
  padding: 28px;
  color: #33423e;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(37, 74, 66, .14);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(37, 74, 66, .08);
}

.eg-knowledge-card:hover {
  color: #33423e;
  transform: translateY(-3px);
  border-color: rgba(29, 121, 98, .32);
  box-shadow: 0 24px 46px rgba(37, 74, 66, .12);
}

.eg-knowledge-card span {
  display: block;
  margin-bottom: 18px;
  color: #1d7962;
  font-weight: 700;
}

.eg-knowledge-card h2,
.eg-knowledge-plan h2,
.eg-knowledge-cta h2,
.eg-topic-list h3 {
  margin: 0 0 12px;
  color: #254a42;
  font-family: Merriweather, Georgia, serif;
  font-weight: 700;
}

.eg-knowledge-card p,
.eg-topic-list p,
.eg-knowledge-cta p,
.eg-empty-note {
  color: #33423e;
  font-size: 16px;
  line-height: 1.62;
}

.eg-knowledge-cta {
  padding: 54px 0 62px;
  background: #254a42;
  text-align: center;
}

.eg-knowledge-cta h2,
.eg-knowledge-cta p {
  color: #fff;
}

.eg-knowledge-button {
  display: inline-block;
  margin-top: 24px;
  padding: 14px 24px;
  color: #254a42 !important;
  background: #fff;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 980px) {
  .header_main .et_pb_row,
  .et_pb_row_0_tb_header {
    width: min(100% - 28px, 720px) !important;
    min-height: 70px !important;
    padding: 8px 0 !important;
    flex-wrap: nowrap !important;
  }

  .header_main .et_pb_column:first-child {
    width: 36% !important;
  }

  .header_main .et_pb_column:nth-child(2) {
    width: 24% !important;
    order: 3 !important;
    justify-content: flex-end !important;
  }

  .header_main .et_pb_column:nth-child(3) {
    width: 40% !important;
    order: 2 !important;
    justify-content: center !important;
  }

  .dsm_perspective_image_0_tb_header {
    width: 112px !important;
    max-width: 112px !important;
  }

  .dsm_perspective_image_0_tb_header img {
    max-height: 56px !important;
  }

  .eg-knowledge-grid,
  .eg-topic-list {
    grid-template-columns: 1fr;
  }

  .why-us-section {
    padding: 58px 0 62px !important;
  }

  .why-us-section .why-us {
    min-height: 0;
    padding: 26px 22px 24px !important;
  }
}

@media (max-width: 560px) {
  .header_main .et_pb_column:nth-child(3) {
    display: none !important;
  }

  .header_main .et_pb_column:first-child {
    width: 55% !important;
  }

  .header_main .et_pb_column:nth-child(2) {
    width: 45% !important;
  }

  .et_pb_menu_0_tb_header .et_mobile_menu {
    top: 48px !important;
    border-top: 2px solid #1d7962 !important;
    box-shadow: 0 18px 36px rgba(37, 74, 66, .16) !important;
  }

  .why-us-section {
    padding: 46px 0 48px !important;
  }

  .why-us-section .why-us h3 {
    font-size: 20px !important;
  }

  .why-us-section .why-us p,
  .why-us-section .why-us .et_pb_text_inner {
    font-size: 15px !important;
    line-height: 1.55 !important;
  }
}
