/*
---------------------------------------
BASIC STUFF AND TYPOGRAPHY
------------------------------------ */
html {
  overflow-y: scroll;
}

article, aside, figure, footer, header, hgroup, nav, section {
  display: block;
}

.touch body {
  -webkit-text-size-adjust: none;
}

:focus {
  -moz-outline-style: none;
  outline: none;
}

body {
  margin: 0;
  font-size: 18px;
  line-height: 1.55em;
  font-family: "TTChocolates", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #203C42;
}
@media screen and (max-width: 767px) {
  body {
    font-size: 16px;
  }
}

a {
  color: inherit;
  text-decoration: none;
  outline: none;
}

a img {
  border: 0;
}

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

div.clear {
  clear: both;
}

h1 {
  font: bold normal 58px/1.1em "TTChocolates", Helvetica, Arial, sans-serif;
  margin: 20px 0 10px 0;
}
@media screen and (max-width: 767px) {
  h1 {
    font-size: 42px;
  }
}

h2 {
  font: bold normal 52px/1.1em "TTChocolates", Helvetica, Arial, sans-serif;
  margin: 16px 0 6px 0;
}
@media screen and (max-width: 767px) {
  h2 {
    font-size: 32px;
  }
}

h1 em, h2 em {
  font-style: normal;
  font-weight: normal;
}

h3 {
  font: bold normal 40px/1.25em "TTChocolates", Helvetica, Arial, sans-serif;
  margin: 16px 0 6px 0;
}
@media screen and (max-width: 767px) {
  h3 {
    font-size: 26px;
  }
}

h4 {
  font: normal normal 26px/1.35em "TTChocolates", Helvetica, Arial, sans-serif;
  margin: 10px 0 5px 0;
}
@media screen and (max-width: 767px) {
  h4 {
    font-size: 18px;
  }
}

/* ------------------------------------
HEADER
------------------------------------ */
header.main {
  background: white;
  width: 100%;
  height: 100px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
@media screen and (max-width: 767px) {
  header.main {
    height: 70px;
  }
}
header.main .header_inner {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
header.main .header_inner .logo {
  display: block;
  font-size: 0;
  line-height: 0;
}
header.main .header_inner .logo img {
  width: 230px;
}
@media screen and (max-width: 767px) {
  header.main .header_inner .logo img {
    width: 160px;
  }
}
@media screen and (max-width: 767px) {
  header.main .header_inner nav {
    display: none;
  }
}
header.main .header_inner nav ul.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
header.main .header_inner nav ul.menu li {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  text-align: center;
}
header.main .header_inner nav ul.menu li a {
  font: normal normal 18px/normal "TTChocolates", Helvetica, Arial, sans-serif;
  text-decoration: none;
  display: block;
  padding: 8px 20px;
  overflow: hidden;
  text-align: center;
  color: black;
}
header.main .header_inner nav ul.menu li.current_page_item > a, header.main .header_inner nav ul.menu li.current_page_parent > a {
  font-weight: bold;
}
header.main .header_inner nav ul.menu ul.sub-menu {
  display: none;
}

.post-type-archive-review li#menu-item-40 a {
  font-weight: normal !important;
}

header.main nav ul.menu > li {
  position: relative;
}
header.main nav ul.menu > li > ul.sub-menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  display: none;
  background: white;
  margin: 0;
  padding: 6px 0;
  min-width: 260px;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-radius: 0 0 8px 8px;
  border-top: 2px solid #DB5C26;
}
header.main nav ul.menu > li > ul.sub-menu li {
  display: block;
}
header.main nav ul.menu > li > ul.sub-menu li a {
  display: block;
  padding: 8px 25px;
  color: black;
  text-align: left;
}
header.main nav ul.menu > li > ul.sub-menu li a:after {
  display: none !important;
}
header.main nav ul.menu > li > ul.sub-menu li a:hover {
  color: #DB5C26 !important;
  background: #faf7f4;
}
header.main nav ul.menu > li > ul.sub-menu li:first-child a {
  padding-top: 14px;
}
header.main nav ul.menu > li > ul.sub-menu li:last-child a {
  padding-bottom: 14px;
}
header.main nav ul.menu > li > ul.sub-menu ul.sub-menu {
  display: none !important;
}
header.main nav ul.menu > li.menu-item-has-children:hover ul.sub-menu {
  display: block;
}

.menu_toggle {
  display: none;
}
@media screen and (max-width: 767px) {
  .menu_toggle {
    display: inline-block;
  }
}

.wpmm-menu {
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.mm-menu--offcanvas:not(.mm-menu--opened) {
  left: -100%;
}

/* ------------------------------------
GENERAL LAYOUT
------------------------------------ */
.wrapper {
  margin: 0 auto;
}

.maxwidth {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 50px;
  padding-right: 50px;
}
@media screen and (max-width: 767px) {
  .maxwidth {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.modules div.beige {
  background: #F5E5D6;
  padding: 1px 0;
}
.modules section {
  padding-top: 20px;
  padding-bottom: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}
@media screen and (max-width: 767px) {
  .modules section {
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: 0;
    margin-bottom: 0;
  }
}
.modules section.module_text_only.module_header {
  padding-bottom: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 50px;
}
.modules section.module_text_only.module_header h1, .modules section.module_text_only.module_header h2, .modules section.module_text_only.module_header h3 {
  color: #DB5C26;
  margin: 0;
  font-size: 1.6em;
}
.modules section.module_text_only.module_header h4 {
  font-size: 0.95em;
  line-height: 1.4;
}
@media screen and (max-width: 767px) {
  .modules section.module_text_only.module_header {
    display: block;
    text-align: center;
  }
}
.modules section.module_two_columns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 50px;
}
@media screen and (max-width: 767px) {
  .modules section.module_two_columns {
    display: block;
    padding-top: 0;
    padding-bottom: 0;
  }
}
.modules section.module_two_columns .col {
  width: 100%;
}
@media screen and (max-width: 767px) {
  .modules section.module_two_columns .col {
    width: auto;
    text-align: center;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 40px;
    margin-bottom: 40px;
  }
}
.modules section.module_two_columns.blog_teasers img {
  width: 100%;
  aspect-ratio: 320/190;
  -o-object-fit: cover;
     object-fit: cover;
}
.modules section.module_two_columns.blog_teasers h4 {
  font-size: 0.95em;
  line-height: 1.3;
}
.modules section.module_two_columns.blog_teasers p {
  font-size: 0.85em;
  line-height: 1.4;
}
.modules section.module_two_columns.blog_listing {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[4];
  grid-template-columns: repeat(4, 1fr);
}
@media screen and (max-width: 767px) {
  .modules section.module_two_columns.blog_listing {
    display: block;
  }
}
.modules section.module_two_columns.blog_listing img {
  width: 100%;
  aspect-ratio: 320/190;
  -o-object-fit: cover;
     object-fit: cover;
}
.modules section.module_two_columns.reviews_listing {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[4];
  grid-template-columns: repeat(4, 1fr);
}
@media screen and (max-width: 767px) {
  .modules section.module_two_columns.reviews_listing {
    display: block;
  }
}
.modules section.module_two_columns .swipe_scrolly {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 50px;
}
@media screen and (max-width: 767px) {
  .modules section.module_two_columns .swipe_scrolly {
    padding-top: 0;
    padding-bottom: 0;
    white-space: nowrap;
    overflow-x: scroll;
    overflow-y: hidden;
    margin: 0 -20px;
    display: block !important;
  }
  .modules section.module_two_columns .swipe_scrolly .col {
    white-space: normal;
    display: inline-block;
    margin: 0 8px 10px 8px;
    width: 80%;
    vertical-align: top;
  }
  .modules section.module_two_columns .swipe_scrolly .col .blog_teaser_text {
    padding: 0 20px;
  }
}
.modules section.module_cta {
  text-align: center;
  background: #193136;
  color: white;
  padding: 50px 20px;
  margin-top:0;
  margin-bottom:0;
}
.modules section.module_cta h1, .modules section.module_cta h2, .modules section.module_cta h3 {
  color: #F5E5D6;
  font-size: 1.8em;
}
.modules section.module_cta p {
  font-size: 0.95em;
}
@media screen and (max-width: 767px) {
  .modules section.module_cta {
    margin-top: 0;
    margin-bottom: 0;
    border-radius: 0;
    padding: 20px 0;
  }
}
.modules section.module_cta .module_cta_inner {
  max-width: 900px;
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  .modules section.module_cta .module_cta_inner {
    max-width: none;
  }
}
.modules section.module_tiles {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 10px 1fr;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 10px;
}
@media screen and (max-width: 767px) {
  .modules section.module_tiles {
    display: block;
  }
}
.modules section.module_tiles .tile {
  padding: 40px;
  background-size: cover;
  background-position: center center;
  position: relative;
  min-height: 300px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
@media screen and (max-width: 767px) {
  .modules section.module_tiles .tile {
    min-height: 200px;
    padding: 20px;
    margin: 0 0 10px 0;
    text-align: center;
  }
}
.modules section.module_tiles .tile::after {
  display: block;
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.2)), color-stop(81.8%, rgba(0, 0, 0, 0.6)));
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 81.8%);
}
.modules section.module_tiles .tile .tile-content {
  position: relative;
  z-index: 2;
  color: white;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.modules section.module_tiles .tile .tile-content .tile-text {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}
.modules section.module_tiles .tile .tile-content h1, .modules section.module_tiles .tile .tile-content h2, .modules section.module_tiles .tile .tile-content h3 {
  color: white;
  margin: 0;
}
/* Compact product category tiles — only inside product category archive pages */
.product_cat_modules .modules section.module_product_cats {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 8px;
}
.product_cat_modules .modules section.module_product_cats .tile {
  min-height: 180px;
  padding: 20px;
}
.product_cat_modules .modules section.module_product_cats .tile .tile-content h2 {
  font-size: 1.2em;
  margin-bottom: 4px;
}
.product_cat_modules .modules section.module_product_cats .tile .tile-content p {
  font-size: 0.85em;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media screen and (max-width: 767px) {
  .product_cat_modules .modules section.module_product_cats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .product_cat_modules .modules section.module_product_cats .tile {
    min-height: 140px;
    padding: 15px;
    margin: 0;
  }
}
.modules section.module_gallery {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 20px 1fr 20px 1fr 20px 1fr;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media screen and (max-width: 767px) {
  .modules section.module_gallery {
    -ms-grid-columns: (1fr)[2];
    grid-template-columns: repeat(2, 1fr);
  }
}
.modules section.module_gallery a {
  display: block;
  width: 100%;
  display: block;
}
.modules section.module_gallery a:hover {
  opacity: 0.6;
}
.modules section.module_gallery a img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  -o-object-fit: cover;
     object-fit: cover;
}
@media screen and (max-width: 767px) {
  .modules section.module_text_and_image {
    padding: 0;
  }
}
.modules section.module_text_and_image .module_text_and_image_inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.modules section.module_text_and_image .module_text_and_image_inner iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
@media screen and (max-width: 767px) {
  .modules section.module_text_and_image .module_text_and_image_inner {
    display: block;
    padding: 0;
  }
}
.modules section.module_text_and_image .module_text_and_image_inner .module_text_and_image_image {
  width: 48%;
  position: relative;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 500px;
}
@media screen and (max-width: 767px) {
  .modules section.module_text_and_image .module_text_and_image_inner .module_text_and_image_image {
    width: auto;
    margin-left: 0;
    min-height: 200px;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
  }
}
.modules section.module_text_and_image .module_text_and_image_inner .module_text_and_image_text {
  width: 48%;
}
@media screen and (max-width: 767px) {
  .modules section.module_text_and_image .module_text_and_image_inner .module_text_and_image_text {
    width: auto;
    text-align: center;
    padding: 20px;
  }
}
.modules section.module_text_and_image.module_text_and_map .module_text_and_image_inner {
  position: relative;
}
.modules section.module_text_and_image.right .module_text_and_image_inner {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
}
.modules section.module_text_and_image.fullwidth {
  position: relative;
  padding: 100px 0;
  color: white;
  margin-top:0;
  margin-bottom:0;
}
.modules section.module_text_and_image.fullwidth h1, .modules section.module_text_and_image.fullwidth h2, .modules section.module_text_and_image.fullwidth h3 {
  color: #F5E5D6;
}
@media screen and (max-width: 1400px) {
  .modules section.module_text_and_image.fullwidth {
    padding: 50px 0;
  }
}
@media screen and (max-width: 767px) {
  .modules section.module_text_and_image.fullwidth {
    padding-top: 0;
    padding-bottom: 0;
  }
}
.modules section.module_text_and_image.fullwidth .module_text_and_image_inner .module_text_and_image_image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.modules section.module_text_and_image.fullwidth .module_text_and_image_inner .module_text_and_image_image::after {
  display: block;
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: -webkit-gradient(linear, right top, left top, color-stop(18.27%, rgba(32, 60, 66, 0)), color-stop(53.93%, rgba(23, 38, 41, 0.74)));
  background: linear-gradient(270deg, rgba(32, 60, 66, 0) 18.27%, rgba(23, 38, 41, 0.74) 53.93%);
  background-blend-mode: multiply, normal;
}
@media screen and (max-width: 767px) {
  .modules section.module_text_and_image.fullwidth .module_text_and_image_inner .module_text_and_image_image::after {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  .modules section.module_text_and_image.fullwidth .module_text_and_image_inner .module_text_and_image_image {
    padding: 0;
    position: static;
    height: 200px;
  }
}
.modules section.module_text_and_image.fullwidth .module_text_and_image_inner .module_text_and_image_text {
  position: relative;
  z-index: 2;
}
@media screen and (max-width: 767px) {
  .modules section.module_text_and_image.fullwidth .module_text_and_image_inner .module_text_and_image_text {
    background: #203C42;
  }
}
.modules section.module_text_and_image.fullwidth.left .module_text_and_image_inner {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
}
.modules section.module_text_and_image.fullwidth.left .module_text_and_image_inner .module_text_and_image_image::after {
  background: -webkit-gradient(linear, left top, right top, color-stop(18.27%, rgba(32, 60, 66, 0)), color-stop(53.93%, rgba(23, 38, 41, 0.74)));
  background: linear-gradient(90deg, rgba(32, 60, 66, 0) 18.27%, rgba(23, 38, 41, 0.74) 53.93%);
  background-blend-mode: multiply, normal;
}
.modules section.module_text_and_image.fullwidth.right .module_text_and_image_inner {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}

.page_header {
  background: #203C42;
  color: white;
}
.page_header h1, .page_header h2 {
  color: #F5E5D6;
}
.page_header h1, .page_header h2, .page_header h4 {
  max-width: 60%;
}
.page_header .maxwidth {
  background-image: url(../images/logo_outline.svg);
  background-repeat: no-repeat;
  background-position: right center;
  padding-top: 50px;
  padding-bottom: 50px;
}
@media screen and (max-width: 767px) {
  .page_header .maxwidth {
    padding-top: 20px;
    padding-bottom: 20px;
    background-size: 40% auto;
  }
}
.page_header.single_post .maxwidth {
  background: none;
}
.page_header.single_post h1, .page_header.single_post h2, .page_header.single_post h4 {
  max-width: none;
}

/* ------------------------------------
WOOCOMMERCE
------------------------------------ */
.woocommerce_content {
  padding: 40px 0;
}
@media screen and (max-width: 767px) {
  .woocommerce_content {
    padding: 20px 0;
  }
}

@media screen and (max-width: 767px) {
  .woocommerce-checkout .woocommerce_content {
    padding-top: 0;
  }
}

.woocommerce-notices-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1px;
}
.woocommerce-notices-wrapper .woocommerce-message {
  margin: 20px 0;
  background: #F5E5D6;
}
@media screen and (max-width: 767px) {
  .woocommerce-notices-wrapper .woocommerce-message a.button {
    float: none !important;
    margin: 10px 0 0 0 !important;
  }
}

.woocommerce .product_listing_wrapper {
  background: #FBF3ED;
  padding: 1px 50px;
  min-height: 400px;
}
@media screen and (max-width: 767px) {
  .woocommerce .product_listing_wrapper {
    padding: 1px 20px;
  }
}
.woocommerce .product_listing_wrapper .product_filters {
  padding: 20px 0;
}
.woocommerce .product_listing_wrapper .product_filters .woocommerce-result-count, .woocommerce .product_listing_wrapper .product_filters form.woocommerce-ordering {
  margin: 0;
  vertical-align: middle;
}
.woocommerce .product_listing_wrapper .product_filters p.woocommerce-result-count {
  margin-top: 8px;
}
.woocommerce .product_listing_wrapper ul.products {
  max-width: 1400px;
  margin: 0 auto;
}
.woocommerce .product_listing_wrapper ul.products a.ajax_add_to_cart {
  display: none !important;
}
.woocommerce .product_listing_wrapper ul.products li.product span.price {
  font-weight: bold;
  color: #DB5C26;
  font-size: 26px;
}
@media screen and (max-width: 767px) {
  .woocommerce .product_listing_wrapper ul.products li.product span.price {
    font-size: 20px;
  }
}
.woocommerce .product_listing_wrapper ul.products li.product h2.woocommerce-loop-product__title {
  font-weight: normal;
  font-size: 19px;
}
@media screen and (max-width: 767px) {
  .woocommerce .product_listing_wrapper ul.products li.product h2.woocommerce-loop-product__title {
    font-size: 16px;
  }
}

.single-product.woocommerce .wrapper {
  background: #FBF3ED;
}
.single-product.woocommerce div.product {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px;
}
@media screen and (max-width: 767px) {
  .single-product.woocommerce div.product {
    display: block;
    padding: 20px;
  }
}
.single-product.woocommerce div.product h1 {
  font-size: 40px;
}
@media screen and (max-width: 767px) {
  .single-product.woocommerce div.product h1 {
    font-size: 30px;
  }
}
.single-product.woocommerce div.product p.price {
  font-weight: bold;
  color: #DB5C26;
}
.single-product.woocommerce div.product .calculate {
  background: #F5E5D6;
  padding: 12px;
  display: inline-block;
}
.single-product.woocommerce div.product .calculate p {
  margin: 0;
  font-weight: bold;
}
.single-product.woocommerce div.product .calculate p a {
  margin-left: 8px;
}
@media screen and (max-width: 767px) {
  .single-product.woocommerce div.product .calculate p a {
    display: block;
    margin: 8px 0 0 0;
    text-align: center;
  }
}
.single-product.woocommerce div.product div.images,
.single-product.woocommerce div.product div.summary {
  float: none !important;
  width: auto;
  margin: 0;
  -webkit-box-flex: 1;
      -ms-flex: 1 1 50%;
          flex: 1 1 50%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@media screen and (max-width: 767px) {
  .single-product.woocommerce div.product div.images {
    padding-bottom: 20px;
  }
}
.single-product.woocommerce .single-product main.site-main {
  background: #FBF3ED;
}
.single-product.woocommerce section.related.products {
  padding: 40px;
  max-width: 1400px;
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  .single-product.woocommerce section.related.products {
    padding: 20px;
  }
}
.single-product.woocommerce section.related.products > h2 {
  color: #DB5C26;
  margin: 0 0 20px 0;
}
.single-product.woocommerce section.related.products a.ajax_add_to_cart {
  display: none !important;
}
.single-product.woocommerce section.related.products li.product span.price {
  font-weight: bold;
  color: #DB5C26;
  font-size: 26px;
}
@media screen and (max-width: 767px) {
  .single-product.woocommerce section.related.products li.product span.price {
    font-size: 20px;
  }
}
.single-product.woocommerce section.related.products li.product h2.woocommerce-loop-product__title {
  font-weight: normal;
  font-size: 19px;
}
@media screen and (max-width: 767px) {
  .single-product.woocommerce section.related.products li.product h2.woocommerce-loop-product__title {
    font-size: 16px;
  }
}

/* ------------------------------------
HOMEPAGE
------------------------------------ */
.homebanner {
  background-size: cover;
  color: white;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  aspect-ratio: 3/1;
  padding: 50px 0;
}
@media screen and (max-width: 767px) {
  .homebanner {
    padding: 20px 0;
    text-align: center;
  }
}
.homebanner h1, .homebanner h2, .homebanner h3, .homebanner h4 {
  color: #F5E5D6;
}
.homebanner .homebanner_inner {
  position: relative;
  z-index: 2;
  width: 100%;
}
.homebanner .homebanner_inner .homebanner_text {
  max-width: 820px;
}
.homebanner .homebanner_inner .homebanner_text h1 {
  font-size: 70px;
}
@media screen and (max-width: 767px) {
  .homebanner .homebanner_inner .homebanner_text h1 {
    font-size: 40px;
  }
}
.homebanner::after {
  display: block;
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: -webkit-gradient(linear, right top, left top, color-stop(18.27%, rgba(32, 60, 66, 0)), color-stop(53.93%, rgba(23, 38, 41, 0.74)));
  background: linear-gradient(270deg, rgba(32, 60, 66, 0) 18.27%, rgba(23, 38, 41, 0.74) 53.93%);
  background-blend-mode: multiply, normal;
}
@media screen and (max-width: 767px) {
  .homebanner::after {
    background: rgba(23, 38, 41, 0.74);
  }
}

/* Homepage — tighter product category tiles (3-col instead of 2) */
.home .home_modules .modules section.module_product_cats {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 8px;
}
.home .home_modules .modules section.module_product_cats .tile {
  min-height: 200px;
  padding: 24px;
}
.home .home_modules .modules section.module_product_cats .tile .tile-content h2 {
  font-size: 28px;
  margin-bottom: 4px;
}
.home .home_modules .modules section.module_product_cats .tile .tile-content p {
  font-size: 14px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media screen and (max-width: 900px) {
  .home .home_modules .modules section.module_product_cats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 767px) {
  .home .home_modules .modules section.module_product_cats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .home .home_modules .modules section.module_product_cats .tile {
    min-height: 150px;
    padding: 16px;
    margin: 0;
  }
  .home .home_modules .modules section.module_product_cats .tile .tile-content h2 {
    font-size: 20px;
  }
}

/* Homepage — Custom Electric Sliding Gates premium section */
.home_gates {
  position: relative;
  background: #193136;
  padding: 0 !important;
  overflow: hidden;
}
.home_gates_inner {
  display: flex;
  align-items: center;
  min-height: 500px;
}
@media screen and (max-width: 767px) {
  .home_gates_inner {
    display: block;
    min-height: auto;
  }
}
.home_gates_text {
  width: 50%;
  padding: 60px 60px 60px 0;
  color: white;
  position: relative;
  z-index: 2;
}
@media screen and (max-width: 767px) {
  .home_gates_text {
    width: auto;
    padding: 40px 20px;
    text-align: center;
  }
}
.home_gates_label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #DB5C26;
  border: 1px solid #DB5C26;
  padding: 5px 14px;
  border-radius: 3px;
  margin-bottom: 16px;
}
.home_gates_text h2 {
  color: #F5E5D6;
  font-size: 48px;
  margin: 0 0 16px;
}
@media screen and (max-width: 767px) {
  .home_gates_text h2 {
    font-size: 32px;
  }
}
.home_gates_text h2 em {
  display: block;
}
.home_gates_text p {
  color: rgba(245, 229, 214, 0.8);
  font-size: 17px;
  line-height: 1.6;
  max-width: 500px;
}
@media screen and (max-width: 767px) {
  .home_gates_text p {
    max-width: none;
  }
}
.home_gates_price {
  font-weight: 700;
  color: #F5E5D6 !important;
  font-size: 19px !important;
}
.home_gates_image {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
.home_gates_image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(to right, #193136, transparent);
}
@media screen and (max-width: 767px) {
  .home_gates_image {
    position: relative;
    width: 100%;
    height: 250px;
  }
  .home_gates_image::after {
    display: none;
  }
}

/* Homepage — Council Hub (search + sign-up + blog promo) */
.home_council_hub {
  padding-top: 50px !important;
  padding-bottom: 50px !important;
}
.home_council_hub_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media screen and (max-width: 900px) {
  .home_council_hub_grid {
    grid-template-columns: 1fr;
  }
}
/* Left column — heading + search */
.home_council_hub_left h2 {
  font-size: 38px;
  color: #203C42;
  margin: 0 0 12px;
}
@media screen and (max-width: 767px) {
  .home_council_hub_left h2 {
    font-size: 28px;
  }
}
.home_council_hub_left > p {
  font-size: 16px;
  color: rgba(32, 60, 66, 0.75);
  line-height: 1.55;
  margin: 0 0 28px;
}
.home_council_hub_search {
  background: white;
  border-radius: 10px;
  padding: 28px;
}
.home_council_hub_search h3 {
  font-size: 20px;
  color: #203C42;
  margin: 0 0 14px;
}
.home_council_hub_search .home_council_search_wrap {
  position: relative;
  margin-bottom: 16px;
}
.home_council_hub_councils {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.home_council_hub_councils a {
  font-size: 13px;
  color: #DB5C26;
  text-decoration: none;
  padding: 4px 10px;
  background: #faf7f4;
  border-radius: 4px;
  transition: background 0.15s;
}
.home_council_hub_councils a:hover {
  background: #F5E5D6;
}
/* Right column — sign-up */
.home_council_hub_signup {
  background: white;
  border-radius: 10px;
  padding: 32px;
}
.home_council_hub_signup h3 {
  font-size: 22px;
  color: #203C42;
  margin: 0 0 10px;
}
.home_council_hub_signup > p {
  font-size: 15px;
  color: rgba(32, 60, 66, 0.75);
  line-height: 1.5;
  margin: 0 0 20px;
}
.home_council_signup_form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.home_council_signup_form input,
.home_council_signup_form select {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  border: 2px solid #f0ebe6;
  border-radius: 6px;
  background: white;
  color: #203C42;
  font-family: "TTChocolates", Helvetica, Arial, sans-serif;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.home_council_signup_form input:focus,
.home_council_signup_form select:focus {
  border-color: #DB5C26;
}
.home_council_signup_form input::placeholder {
  color: #bbb;
}
/* Dropdown select styling */
.home_council_signup_select_wrap {
  position: relative;
}
.home_council_signup_select_wrap::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: #999;
  pointer-events: none;
}
.home_council_signup_select_wrap select {
  cursor: pointer;
  padding-right: 40px;
}
.home_council_signup_select_wrap select option[disabled] {
  color: #bbb;
}
/* Suburb text field — shown when "Other" selected */
.home_council_signup_suburb_input {
  display: none;
}
.home_council_signup_suburb_input.visible {
  display: block;
}
.home_council_signup_form .button {
  align-self: flex-start;
  margin-top: 4px;
}
.home_council_hub_preview {
  margin-top: 20px;
}
/* Articles row */
.home_council_hub_articles_header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}
.home_council_hub_articles_header h3 {
  font-size: 22px;
  color: #203C42;
  margin: 0;
}
.home_council_hub_articles_row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media screen and (max-width: 900px) {
  .home_council_hub_articles_row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 500px) {
  .home_council_hub_articles_row {
    grid-template-columns: 1fr;
  }
}
.home_council_hub_article {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  border: 2px solid transparent;
}
.home_council_hub_article:hover {
  border-color: #DB5C26;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.home_council_hub_article_img img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}
.home_council_hub_article_no_img {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #f0ebe6 0%, #F5E5D6 100%);
  background:url(../images/placeholder.png) no-repeat center center;
  background-size:cover;
}
.home_council_hub_article .resource_cat_label {
  padding: 8px 14px 0;
}
.home_council_hub_article h4 {
  font-size: 14px;
  font-weight: 600;
  color: #203C42;
  margin: 0;
  padding: 6px 14px 14px;
  line-height: 1.35;
}

/* Homepage — Why Probuild trust section (manufacturing + showroom) */
.home_trust {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}
.home_trust_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media screen and (max-width: 900px) {
  .home_trust_grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.home_trust_card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #f0ebe6;
  transition: border-color 0.2s;
}
.home_trust_card:hover {
  border-color: #DB5C26;
}
.home_trust_card_img {
  height: 220px;
  background-size: cover;
  background-position: center;
}
@media screen and (max-width: 767px) {
  .home_trust_card_img {
    height: 180px;
  }
}
.home_trust_card_text {
  padding: 28px 32px 32px;
}
@media screen and (max-width: 767px) {
  .home_trust_card_text {
    padding: 20px 24px 24px;
  }
}
.home_trust_card_text h3 {
  font-size: 26px;
  color: #203C42;
  margin: 0 0 12px;
}
@media screen and (max-width: 767px) {
  .home_trust_card_text h3 {
    font-size: 22px;
  }
}
.home_trust_card_text p {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(32, 60, 66, 0.8);
  margin: 0 0 16px;
}
.home_trust_details {
  font-weight: 600;
  color: #203C42 !important;
  font-size: 15px !important;
}

/* ------------------------------------
FOOTER
------------------------------------ */
.usps {
  background: #F5E5D6;
  padding: 20px 0;
}
@media screen and (max-width: 1400px) {
  .usps {
    font-size: 14px;
  }
}
@media screen and (max-width: 767px) {
  .usps {
    display: none;
  }
}
.usps .maxwidth {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (max-width: 1400px) {
  .usps .maxwidth {
    gap: 4px;
    padding: 0 10px;
    -webkit-box-pack: space-evenly;
        -ms-flex-pack: space-evenly;
            justify-content: space-evenly;
  }
}
.usps .maxwidth .usp {
  text-transform: uppercase;
}

footer {
  padding: 50px 0;
}
footer .footer_inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
@media screen and (max-width: 1400px) {
  footer .footer_inner {
    display: block;
    text-align: center;
  }
}
@media screen and (max-width: 767px) {
  footer .footer_inner {
    display: block;
  }
}
footer .footer_inner p.fineprint {
  font-size: 14px;
}
footer .footer_inner .footer_col {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}
footer .footer_inner .footer_col ul.menu {
  display: block;
  list-style: none;
  margin: 0;
  padding: 20px 0 0 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
@media screen and (max-width: 1400px) {
  footer .footer_inner .footer_col ul.menu {
    display: none;
  }
}
footer .footer_inner .footer_col ul.menu li {
  list-style: none;
  margin: 0;
  padding: 0;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}
footer .footer_inner .footer_col ul.menu li.cart-link {
  display: none;
}
footer .footer_inner .footer_col ul.menu li a {
  padding: 4px 16px;
  font-weight: bold;
  display: block;
}
footer .footer_inner .footer_col ul.menu li ul {
  padding: 0;
  margin: 0;
}
footer .footer_inner .footer_col ul.menu li ul li a {
  font-weight: normal;
}

/* ------------------------------------
FORMS
------------------------------------ */
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], select, textarea {
  font: 16px "TTChocolates", Helvetica, Arial, sans-serif;
  padding: 15px;
  border-radius: 0;
  border: 1px solid black;
  width: 100%;
  -webkit-appearance: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
@media screen and (max-width: 767px) {
  input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], select, textarea {
    padding: 12px;
  }
}

input[type=submit], button, a.button, a.wc-block-components-button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt {
  font-family: "TTChocolates", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55em;
  font-weight: bold;
  color: white;
  display: inline-block;
  padding: 12px 28px;
  background: #DB5C26;
  -webkit-appearance: none;
  border-radius: 0;
  border: 0;
  outline: 0;
  white-space: nowrap;
}
input[type=submit]:hover, button:hover, a.button:hover, a.wc-block-components-button:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover {
  background: #c1430e;
  color: white;
}
input[type=submit].beige, button.beige, a.button.beige, a.wc-block-components-button.beige, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.beige, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.beige, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt.beige {
  background: #F5E5D6;
  color: #203C42;
}
input[type=submit].beige:hover, button.beige:hover, a.button.beige:hover, a.wc-block-components-button.beige:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.beige:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.beige:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt.beige:hover {
  background: #e2cbb6;
}
input[type=submit].navy, button.navy, a.button.navy, a.wc-block-components-button.navy, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.navy, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.navy, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt.navy {
  background: #203C42;
}
input[type=submit].navy:hover, button.navy:hover, a.button.navy:hover, a.wc-block-components-button.navy:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.navy:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.navy:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt.navy:hover {
  background: #203C42;
}
@media screen and (max-width: 767px) {
  input[type=submit], button, a.button, a.wc-block-components-button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt {
    font-size: 16px;
    padding: 10px 20px;
  }
}

input[type=number] {
  -moz-appearance: textfield;
}

input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.gform_ajax_spinner {
  vertical-align: middle;
  margin: 0 8px;
}

.gform_wrapper {
  max-width: 800px;
  margin: 0 auto;
}
.gform_wrapper ul, .gform_wrapper li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.gform_wrapper ul.gform_fields {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.gform_wrapper ul.gform_fields li.gfield {
  width: 100%;
}
.gform_wrapper ul.gform_fields li.gfield > label {
  display: none;
}
.gform_wrapper ul.gform_fields li.gfield .ginput_container {
  padding: 10px;
}
.gform_wrapper ul.gform_fields li.gfield.half {
  width: 50%;
}
@media screen and (max-width: 767px) {
  .gform_wrapper ul.gform_fields li.gfield.half {
    width: 100%;
  }
}
.gform_wrapper .gform_footer {
  text-align: center;
}
.gform_wrapper .validation_error {
  display: none;
}
.gform_wrapper .validation_message {
  color: red;
  font-size: 13px;
  text-align: center;
}

#custom_login_form input[type=text], #custom_login_form input[type=email], #custom_login_form input[type=number], #custom_login_form input[type=password], #custom_login_form select, #custom_login_form textarea {
  max-width: 600px;
  display: block;
}

/* ------------------------------------
EVERYTHING ELSE, MISCELLANEOUS STUFF
------------------------------------ */
.alignright {
  clear: right;
  float: right;
  margin: 0px 0px 20px 20px;
}

.alignleft {
  clear: left;
  float: left;
  margin: 0px 20px 20px 0px;
}

.wp-caption-text {
  font-style: italic;
  font-size: 11px;
  line-height: 16px;
  margin-top: 3px;
}

.oldie [data-aos] {
  opacity: 1 !important;
  -webkit-transform: none !important;
          transform: none !important;
}

.wp-caption {
  width: auto !important;
}

button.mfp-close, button.mfp-close:hover {
  background: transparent !important;
}

a {
  -webkit-tap-highlight-color: #9ce2ff;
}

::-moz-selection {
  background: #9ce2ff !important;
}

::selection {
  background: #9ce2ff !important;
}

::-webkit-input-placeholder {
  color: #999;
}

:-moz-placeholder {
  color: #999;
}

::-moz-placeholder {
  color: #999;
}

:-ms-input-placeholder {
  color: #999;
}

.woocommerce-no-products-found {
  max-width: 1400px;
  margin: 20px auto;
}

.woocommerce-error, .woocommerce-info, .woocommerce-message {
  background: white;
}

/* ------------------------------------
FONTS
------------------------------------ */
@font-face {
  font-family: "TTChocolates";
  src: url("../fonts/TT_Chocolates_Regular.woff2") format("woff2"), url("../fonts/TT_Chocolates_Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "TTChocolates";
  src: url("../fonts/TT_Chocolates_Bold.woff2") format("woff2"), url("../fonts/TT_Chocolates_Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
}

/* ------------------------------------
HOMEPAGE — COUNCIL SEARCH
------------------------------------ */
.home_council_search {
  padding: 40px 0 !important;
}
.home_council_inner {
  display: flex;
  align-items: center;
  gap: 40px;
}
.home_council_text {
  flex: 1;
}
.home_council_text h2 {
  color: #203C42;
  font-size: 22px;
  margin: 0 0 8px 0;
}
.home_council_text p {
  color: #888;
  font-size: 14px;
  margin: 0;
  line-height: 1.4;
}
.home_council_search_wrap {
  position: relative;
  flex: 1;
  max-width: 400px;
}
@media screen and (max-width: 767px) {
  .home_council_inner {
    display: block;
  }
  .home_council_search_wrap {
    max-width: 100%;
    margin-top: 16px;
  }
}

/* ------------------------------------
RESOURCES PAGE — Redesigned
------------------------------------ */

/* --- Hero with crossfading background images --- */
.resource_hero {
  position: relative;
  aspect-ratio: 3/1;
  min-height: 420px;
  overflow: hidden;
}
@media screen and (max-width: 767px) {
  .resource_hero {
    aspect-ratio: auto;
    min-height: 340px;
  }
}
.resource_hero_images {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.resource_hero_img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.resource_hero_img.active {
  opacity: 1;
}
.resource_hero_overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: linear-gradient(270deg, rgba(32, 60, 66, 0) 18.27%, rgba(32, 60, 66, 0.78) 53.93%);
  background-blend-mode: multiply, normal;
  display: flex;
  align-items: center;
  color: white;
}
@media screen and (max-width: 767px) {
  .resource_hero_overlay {
    background: rgba(32, 60, 66, 0.7);
    text-align: center;
    justify-content: center;
  }
}
.resource_hero_overlay h1 {
  font-size: 72px;
  color: #F5E5D6;
  margin: 0 0 10px;
  max-width: 820px;
}
.resource_hero_overlay h4 {
  color: #F5E5D6;
  max-width: 600px;
}
@media screen and (max-width: 767px) {
  .resource_hero_overlay h1 {
    font-size: 38px;
  }
}

/* Category pill badge */
.resource_cat_pill {
  display: inline-block;
  background: #DB5C26;
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Category label (subtle, for teasers) */
.resource_cat_label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #DB5C26;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}
.resource_teaser_meta {
  display: block;
  font-size: 13px;
  color: #999;
  margin-top: 4px;
}

/* --- Category Pathway Tiles --- */
.resource_category_tiles {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 10px;
}
@media screen and (max-width: 900px) {
  .resource_category_tiles {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media screen and (max-width: 550px) {
  .resource_category_tiles {
    display: block !important;
  }
}
.resource_category_tiles .tile {
  min-height: 220px;
  text-decoration: none;
  cursor: pointer;
}
.resource_category_tiles .tile:hover {
  opacity: 0.92;
}
.resource_category_tiles .tile .tile-content p {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  margin: 4px 0 0;
  line-height: 1.4;
}

/* --- Suburb search (shared styles) --- */
#suburb-search {
  width: 100%;
  padding: 14px 20px;
  font-size: 16px;
  border: 2px solid #f0ebe6;
  border-radius: 8px;
  background: white;
  color: #203C42;
  font-family: "TTChocolates", Helvetica, Arial, sans-serif;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
#suburb-search:focus {
  border-color: #DB5C26;
}
#suburb-search::placeholder {
  color: #bbb;
}
#suburb-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  z-index: 100;
  max-height: 320px;
  overflow-y: auto;
}
a.suburb_result {
  display: block;
  padding: 12px 20px;
  color: #203C42;
  text-decoration: none;
  border-bottom: 1px solid #f0ebe6;
  transition: background 0.15s;
  text-align: left;
  font-size: 15px;
}
a.suburb_result:hover {
  background: #F5E5D6;
}
a.suburb_result strong {
  color: #203C42;
}
.suburb_no_match {
  padding: 12px 20px;
  color: #888;
  font-size: 14px;
  text-align: left;
}

/* --- Latest Articles scroller --- */
.resource_latest {
  margin-bottom: 0 !important;
}
.resource_card_no_img_inline {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #f0ebe6 0%, #F5E5D6 100%);
  background:url(../images/placeholder.png) no-repeat center center;
  background-size:cover;
  border-radius: 6px;
}
.resource_card_no_img {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #f0ebe6 0%, #F5E5D6 100%);
  background:url(../images/placeholder.png) no-repeat center center;
  background-size:cover;
}

/* --- Article Cards (shared across category sections) --- */
.resource_cards_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media screen and (max-width: 1000px) {
  .resource_cards_grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 700px) {
  .resource_cards_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 450px) {
  .resource_cards_grid {
    grid-template-columns: 1fr;
  }
}
.resource_card {
  display: block;
  background: white;
  border: 2px solid #f0ebe6;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.resource_card:hover {
  border-color: #DB5C26;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.resource_card_img img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}
.resource_card_body {
  padding: 14px 16px 16px;
}
.resource_card h4 {
  color: #203C42;
  font-size: 15px;
  margin: 0;
  line-height: 1.35;
  font-weight: 600;
}
.resource_card_meta {
  display: block;
  font-size: 13px;
  color: #999;
  margin-top: 6px;
}

/* --- Category Sections (stacked rows) --- */
.resource_category_section {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}
.resource_category_header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #F5E5D6;
}
.resource_category_header h2 {
  font-size: 28px;
  color: #203C42;
  margin: 0;
}
@media screen and (max-width: 767px) {
  .resource_category_header h2 {
    font-size: 22px;
  }
}
.resource_view_all {
  font-size: 15px;
  font-weight: 600;
  color: #DB5C26;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
.resource_view_all:hover {
  text-decoration: underline;
}

/* --- Category archive hero (text+image variant) --- */
.resources_hero {
  margin-top: 0 !important;
}

/* --- Pagination --- */
.resource_pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 40px;
  padding-bottom: 20px;
}
.resource_pagination a,
.resource_pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
}
.resource_pagination a {
  color: #203C42;
  background: #faf7f4;
}
.resource_pagination a:hover {
  background: #F5E5D6;
  color: #DB5C26;
}
.resource_pagination span.current {
  background: #DB5C26;
  color: white;
}

/* ------------------------------------
BLOG POST — SINGLE POST LAYOUT
------------------------------------ */

/* Hero banner with featured image */
.blog_hero {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
}
@media screen and (max-width: 767px) {
  .blog_hero {
    height: 300px;
  }
}
.blog_hero_image {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
}
.blog_hero_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.blog_hero_overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to right, rgba(32, 60, 66, 0.92) 0%, rgba(32, 60, 66, 0.7) 50%, rgba(32, 60, 66, 0.2) 100%);
  display: flex;
  align-items: flex-end;
}
.blog_hero_overlay .maxwidth {
  padding-bottom: 50px;
  width: 100%;
}
@media screen and (max-width: 767px) {
  .blog_hero_overlay .maxwidth {
    padding-bottom: 25px;
  }
}
.blog_hero_overlay h1 {
  color: #F5E5D6;
  font-size: 42px;
  line-height: 1.15em;
  margin: 0 0 8px 0;
  max-width: 65%;
}
@media screen and (max-width: 767px) {
  .blog_hero_overlay h1 {
    font-size: 26px;
    max-width: 90%;
  }
}
.blog_hero_overlay h4 {
  color: rgba(245, 229, 214, 0.7);
  font-weight: normal;
  margin: 0;
  font-size: 16px;
}

/* Blog meta (date + reading time) */
.blog_meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}
.blog_date {
  color: rgba(245, 229, 214, 0.7);
  font-size: 16px;
}
.blog_reading_time {
  color: rgba(245, 229, 214, 0.7);
  font-size: 16px;
  padding-left: 16px;
  border-left: 1px solid rgba(245, 229, 214, 0.3);
}
.page_header.single_post .blog_meta {
  margin-top: 8px;
}

/* Blog two-column layout */
.blog_layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  padding-top: 30px;
}
@media screen and (max-width: 1000px) {
  .blog_layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Left sidebar navigation */
.blog_sidebar {
  position: relative;
}
.blog_sidebar_nav {
  position: sticky;
  top: 30px;
  padding-top: 10px;
}
.blog_sidebar_label {
  display: block;
  font-size: 12px;
  font-weight: bold;
  color: #203C42;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #DB5C26;
}
.blog_sidebar_label_also {
  margin-top: 24px;
  border-bottom-color: #F5E5D6;
}
.blog_sidebar_nav ul {
  list-style: none;
  margin: 0 0 0 0;
  padding: 0;
}
.blog_sidebar_nav ul li {
  margin: 0;
  padding: 0;
}
.blog_sidebar_nav ul li a {
  display: block;
  font-size: 13px;
  line-height: 1.35em;
  color: #666;
  text-decoration: none;
  padding: 5px 0 5px 12px;
  border-left: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.blog_sidebar_nav ul li a:hover {
  color: #DB5C26;
  border-left-color: #DB5C26;
}
.blog_sidebar_also li a {
  color: #999;
  font-size: 12px;
}
.blog_sidebar_also li a:hover {
  color: #DB5C26;
}

/* Hide sidebar on mobile, show compact list instead */
@media screen and (max-width: 1000px) {
  .blog_sidebar {
    padding: 0 20px 20px 20px;
    border-bottom: 1px solid #f0ebe6;
  }
  .blog_sidebar_nav {
    position: static;
    padding-top: 0;
  }
  .blog_sidebar_nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }
  .blog_sidebar_nav ul li a {
    padding: 4px 10px;
    border-left: none;
    background: #faf7f4;
    border-radius: 4px;
    font-size: 13px;
  }
  .blog_sidebar_nav ul li a:hover {
    background: #F5E5D6;
    border-left: none;
  }
  .blog_sidebar_label {
    border-bottom: none;
    margin-bottom: 8px;
    padding-bottom: 0;
  }
}

/* Article column */
.blog_article {
  max-width: none;
  min-width: 0;
}

/* Blog related articles (bottom cards) */
.blog_related {
  margin-top: 20px !important;
  padding-top: 40px !important;
  border-top: 2px solid #F5E5D6;
}
.blog_related h2 {
  font-size: 24px;
  color: #203C42;
  margin: 0 0 24px 0;
}
.blog_related_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media screen and (max-width: 1000px) {
  .blog_related_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 767px) {
  .blog_related_grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.blog_related_card {
  display: block;
  text-decoration: none;
  color: #203C42;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #f0ebe6;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.blog_related_card:hover {
  border-color: #DB5C26;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.blog_related_card_img {
  aspect-ratio: 320 / 190;
  overflow: hidden;
  background: #F5E5D6;
}
.blog_related_card_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog_related_no_img {
  background:url(../images/placeholder.png) no-repeat center center;
  background-size:cover;
}
.blog_related_card_text {
  padding: 16px;
}
.blog_related_card_text h4 {
  font-size: 16px;
  line-height: 1.35em;
  margin: 0 0 6px 0;
  color: #203C42;
}
.blog_related_card:hover .blog_related_card_text h4 {
  color: #DB5C26;
}
.blog_related_time {
  font-size: 13px;
  color: #999;
}

/* Blog back button wrap */
.blog_back_wrap {
  text-align: center;
  padding: 40px 0 60px 0;
}
@media screen and (max-width: 767px) {
  .blog_back_wrap {
    padding: 30px 0 40px 0;
  }
}

/* Blog content area */
.blog_content {
  max-width: none;
  margin: 0;
  padding-top: 0;
  padding-bottom: 60px;
  padding-top: 0 !important;
  margin-top: 0 !important;
}
@media screen and (max-width: 767px) {
  .blog_content {
    padding-top: 30px;
    padding-bottom: 40px;
  }
}

/* Blog headings */
.blog_content h2 {
  color: #203C42;
  font-size: 28px;
  line-height: 1.25em;
  margin-top: 50px;
  margin-bottom: 16px;
  padding-top: 30px;
  border-top: 2px solid #F5E5D6;
}
.blog_content h2:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}
.blog_content h3 {
  color: #DB5C26;
  font-size: 21px;
  line-height: 1.3em;
  margin-top: 30px;
  margin-bottom: 12px;
}

/* Blog paragraphs */
.blog_content p {
  margin-bottom: 18px;
  line-height: 1.7em;
}

/* Blog lists */
.blog_content ul, .blog_content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}
.blog_content li {
  margin-bottom: 10px;
  line-height: 1.65em;
}
.blog_content ol li {
  padding-left: 4px;
}

/* Blog tables */
.blog_content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 30px 0;
  font-size: 16px;
  line-height: 1.5em;
}
.blog_content thead {
  background: #203C42;
  color: #F5E5D6;
}
.blog_content thead th {
  padding: 12px 16px;
  text-align: left;
  font-weight: bold;
}
.blog_content tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid #e8e0d8;
}
.blog_content tbody tr:nth-child(even) {
  background: #faf7f4;
}
.blog_content tbody tr:hover {
  background: #F5E5D6;
}
@media screen and (max-width: 767px) {
  .blog_content table {
    font-size: 14px;
  }
  .blog_content thead th, .blog_content tbody td {
    padding: 8px 10px;
  }
}

/* Blog strong/bold emphasis */
.blog_content strong {
  color: #203C42;
}

/* Blog links */
.blog_content a {
  color: #DB5C26;
  text-decoration: underline;
  text-decoration-color: rgba(219, 92, 38, 0.3);
  text-underline-offset: 3px;
}
.blog_content a:hover {
  text-decoration-color: #DB5C26;
}

/* Blog inline images */
.blog_content .blog_inline_image {
  margin: 30px 0;
  border-radius: 4px;
  overflow: hidden;
}
.blog_content .blog_inline_image img {
  width: 100%;
  height: auto;
  display: block;
}
.blog_content .blog_inline_image figcaption {
  font-size: 14px;
  color: #888;
  padding: 10px 0;
  font-style: italic;
}

/* Blog image pair — two images side by side */
.blog_content .blog_image_pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}
@media screen and (max-width: 767px) {
  .blog_content .blog_image_pair {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.blog_content .blog_image_pair img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 4px;
}

/* Blog callout/highlight box */
.blog_content .blog_callout {
  background: #F5E5D6;
  padding: 24px 28px;
  border-radius: 4px;
  margin: 30px 0;
  border-left: 4px solid #DB5C26;
}
.blog_content .blog_callout p:last-child {
  margin-bottom: 0;
}

/* Blog back button */
.blog_content .blog_back {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 2px solid #F5E5D6;
}

/* Blog disclaimer */
.blog_content > p:last-of-type em {
  font-size: 14px;
  color: #888;
  line-height: 1.6em;
}

/* Homepage — hide ACF modules replaced by hardcoded sections */
.home_modules .modules > section.module_text_and_image.left.fullwidth { display: none; }
.home_modules .modules > section.module_text_and_image.right.fullwidth:not([style]) { display: none; }
.home_modules .modules > section.module_text_and_image.left.normal { display: none; }