/*
Theme Name: NZHL2018_v2
Theme URI: https://www.nzhowardleague.org.nz/
Author: NZ Howard League
Description: Custom WordPress theme for the New Zealand Howard League.
Version: 1.8
Text Domain: nzhl2018
*/




/* Global Styles ------------*/

* {
  box-sizing: border-box;
}
html {
  font-family: "Helvetica", "Arial", sans-serif;
}
p {
  line-height: 1.7em;
}
strong {
  font-weight: 700;
}
h4 {
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.1em;
}
h5 {
  color: #389e47;
  margin-bottom: 10px;
  margin-top: 5px;
}
.grid {
  display: grid;
}

.woocommerce-breadcrumb {
  display:none;
}

.flexslider .slides img {
  max-height: 500px !important; /*maximum height for all slides*/
  width: auto; /*proper aspect ratio of images*/
  max-width: 100%; /*maximum width for all slides*/
  margin: 0 auto; /*centering images in the container*/
}

.v-top {
  vertical-align: top !important;
}
.max-width {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5%;
}
.volunteer-content {
  max-width: 900px;
}
.wpcf7-form-control {
  width: 100%;
}
#wpcf7-f417-o1 .wpcf7-list-item {
  width: 25%;
  margin: 0;
}
.contact-header {
  font-weight: 600;
  font-size: 1.2em;
  margin-bottom: 15px;
}
@media screen and (max-width: 1450px) {
  .max-width {
    margin: 0 2.5%;
  }
  .volunteer-content {
    margin: 0 auto;
  }
}
@media screen and (max-width: 900px) {
  .volunteer-content {
    margin: 0 2.5%;
  }
  #wpcf7-f417-o1 .wpcf7-list-item {
    width: 50%;
    margin: 0;
  }
}
.vh-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.fade {
  -webkit-transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -ms-transition: all 300ms ease-in-out;
  -o-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}
/* MastHead ------------*/
#masthead {
  background-color: white;
  padding: 1.5rem 0;
  display: inline-block;
  width: 100%;
}
#masthead .grid {
  grid-template-columns: 350px 1fr 150px;
  grid-gap: 2em;
}

/* site-branding ------------*/
.site-branding {
  display: inline-block;
}
.site-branding img {
  width: 100%;
  height: auto;
}

/* Navigation ------------*/

#site-navigation {
  display: inline-block;
  justify-self: start;
  align-self: center;
}
.mobile-wrapper {
  /* MOBILE */
  display: none;
  visibility: hidden;
  opacity: 0;
}
.open-menu,
.menu-close {
  display: none;
}
.menu-menu-1-container {
  /* DESKTOP */
  display: inline-block;
  visibility: visible;
  opacity: 1;
}
.menu-menu-1-container .menu-item {
  display: inline-block;
}
.menu-menu-1-container .menu-item a {
  text-decoration: none;
  color: #3a3a3a;
  font-weight: 300;
  font-size: 0.9em;
  margin-right: 1.5em;
  padding: 0.5em;
  width: 100%;
}
.menu-menu-1-container .sub-menu .menu-item {
  width: 100%;
}
.menu-menu-1-container .sub-menu a {
  margin-right: 0em !important;
  font-size: 0.7em;
  display: inline-block;
}
.menu-menu-1-container .menu-item a {
  margin-right: 1.5em;
}
.menu-menu-1-container .sub-menu {
  display: none;
  visibility: hidden;
  position: absolute;
  z-index: 9999;
  top: 65px;
  background-color: #fff;
  border: 1px solid #cfcfcf;
  border-radius: 3px;
  min-width: 100px;
  max-width: 160px;
  text-align: center;
  padding: 0.5em 0;
}
.menu-menu-1-container.menu-item {
  position: relative;
}

.menu-menu-1-container .menu-item:hover > .sub-menu,
.sub-menu:hover {
  display: block;
  visibility: visible;
}
#mobile-menu > li {
  border-left: 1em solid white;
  padding-left: 2em;
}
#mobile-menu .sub-menu {
  margin-top: 1em;
}
#mobile-menu .sub-menu a {
  margin-top: 0.5em;
}
.mobile-wrapper {
  transition: all 250ms;
  display: inline-block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #389e47;
  z-index: 999;
  padding: 10%;
}
.mobile-wrapper img {
  max-width: 250px;
  margin: 0 auto;
  margin-bottom: 2em;
}
.menu-menu-2-container .menu-item {
  margin-bottom: 2em;
}
.menu-menu-2-container .menu-item a {
  display: block;
  color: white;
  font-size: 2em;
  text-decoration: none;
}
.menu-menu-2-container .sub-menu {
  padding-left: 1.5em;
}
.menu-menu-2-container .sub-menu .menu-item {
  margin-bottom: 0em;
}
.menu-menu-2-container .sub-menu .menu-item a {
  font-size: 1.7em;
}
.mobile-menu-clickable {
  position: absolute;
  top: 0;
  right: 0;
  margin-top: 3%;
  margin-right: 4%;
  color: white;
}
.show-mobile-menu {
  display: inline-block !important;
  visibility: visible;
  opacity: 1;
}

@media screen and (max-width: 1100px) {
  #masthead .grid {
    grid-template-columns: 200px 1fr 150px;
  }
  #site-navigation {
    display: none;
  }
  .open-menu,
  .menu-close {
    cursor: pointer;
    display: block;
  }
}
@media screen and (max-width: 1100px) {
  .menu-menu-1-container {
    /* DESKTOP */
    display: none;
    visibility: hidden;
    opacity: 0;
  }

  .open-menu {
    justify-self: end;
    align-self: center;
  }
  .menu-close {
    padding: 10px;
  }
  #masthead .grid {
    grid-template-columns: 150px 1fr 25px;
  }
}
@media screen and (max-width: 600px) {
  .menu-menu-2-container .menu-item a {
    font-size: 1.7em;
  }
  .menu-menu-2-container .sub-menu .menu-item a {
    font-size: 1.5em;
  }
}

/* side-elements ------------*/
.side-elements {
  justify-self: end;
  align-self: center;
}
.side-elements ul li {
  display: inline-block;
  cursor: pointer;
  font-size: 0.7em;
}
.email-us {
  margin-right: 0.5em;
}
.side-elements ul li a {
  text-decoration: none;

  color: black;
}
.side-elements img {
  width: 10px;
}
@media screen and (max-width: 1100px) {
  .side-elements {
    /* display: none; */
  }
}
/* Hero ------------*/

#hero {
  height: 35vw;
  background-color: white;
  background-image: url("https://www.nzhowardleague.org.nz/wp-content/uploads/2018/03/hero_pattern.svg");
  background-size: cover;
  position: relative;
}
#hero::after {
  content: "";
  width: 100%;
  height: 35vw;
  display: block;
  position: absolute;
  top: 0px;
  background: -moz-radial-gradient(
    center,
    ellipse cover,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 100%
  ); /* FF3.6-15 */
  background: -webkit-radial-gradient(
    center,
    ellipse cover,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 100%
  ); /* Chrome10-25,Safari5.1-6 */
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 100%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
#hero .vh-center {
  z-index: 10;
  text-align: center;
  width: 100%;
}
#hero h2 {
  /* background-color: #389e47; */
  display: inline;
  color: white;
  font-size: 2.7vw;
  /* padding: 1.4%; */
  line-height: 1.7em;
  font-weight: 800;
  /* text-decoration: underline; */
}
#hero .spacer {
  width: 20px;
  display: inline-block;
}
#hero a {
  display: inline-block;
  margin-top: 30px;
  background-color: #389e47;
  color: white;
  padding: 15px 20px;
  font-size: 0.9em;
  text-decoration: none;
}
@media screen and (max-width: 1000px) {
  #hero,
  #hero::after {
    height: 400px;
  }
  #hero h2 {
    font-size: 4.5vw;
  }
}

/* Programmes ------------*/
.programmes .left,
.programmes .right {
  display: inline-block;
  width: 50%;
  height: 300px;
  position: relative;
}
.programmes .info {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  padding: 10%;
  z-index: 100;
}
.programmes .info a {
  text-decoration: none;
  text-shadow: none;
  color: white;
  margin-top: 20px;
  display: inline-block;
  padding: 15px 20px;
  border: 1px solid black;
  position: relative;
  z-index: 101;
}
.programmes .info a::before {
  content: "";
  top: 0px;
  left: 0px;
  display: inline;
  width: 0%;
  z-index: -1;
  position: absolute;
  height: 100%;
  background-color: black;
  -webkit-transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -ms-transition: all 300ms ease-in-out;
  -o-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}
.programmes .info a:hover::before {
  width: 100%;
}
.programmes .box::after {
  content: "";
  background-color: #389e47;
  opacity: 0.7;
  display: inline-block;
  position: relative;
  width: 30%;
  left: 5%;
  height: 300px;
  -webkit-transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -ms-transition: all 300ms ease-in-out;
  -o-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
  z-index: 99;
}
.programmes .box:hover::after,
.programmes .info:hover ~ .box::after {
  width: 100%;
  left: 0%;
}
.programmes article {
  overflow: hidden;
  text-shadow: 0 1px 1px #000000;
}
.programmes article img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
}
.programmes .left {
  background-color: grey;
}
.programmes .right {
  background-color: lightgray;
}
.programmes h3 {
  color: white;
  font-size: 2em;
  margin-bottom: 20px;
  font-weight: 700;
}
.programmes p {
  color: white;
  line-height: 1.5em;
}
@media screen and (max-width: 1230px) {
  .programmes h3 {
    font-size: 1.5em;
  }
}
@media screen and (max-width: 930px) {
  .programmes .left,
  .programmes .right {
    display: inline-block;
    width: 100%;
  }
  .programmes .left {
    margin-bottom: -3px;
  }
}

/* sponsors ------------*/
.sponsors {
  position: relative;
  height: 135px;
  padding: 25px;
  overflow-x: hidden;
  display: block;
  white-space: nowrap;
  overflow-y: scroll;
}
.sponsors div {
  width: 2350px;
}
.sponsors img {
  opacity: 0.4;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  max-width: 250px;
  max-height: 80px;
  vertical-align: middle;
  margin-right: 15px;
  -webkit-transition: all 100ms ease-in-out;
  -moz-transition: all 100ms ease-in-out;
  -ms-transition: all 100ms ease-in-out;
  -o-transition: all 100ms ease-in-out;
  transition: all 100ms ease-in-out;
}
.sponsors img:hover {
  opacity: 1;
  -webkit-filter: grayscale(0%);
  filter: grayscale(0%);
}
.sponsors::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}
.sponsors::-webkit-scrollbar-thumb {
  height: 0px;
  background: transparent;
}

/* content ------------*/
.content {
  -webkit-box-shadow: 0 3px 20px 1px rgba(0, 0, 0, 0.2);
  box-shadow: 0 3px 20px 1px rgba(0, 0, 0, 0.2);
  padding: 2.5%;
  overflow: hidden;
}
.woo-content {
  margin-top: 20px;
}
.product-type-donation .images,
.product-type-donation div.summary {
  display: none;
}
.content p {
  margin-bottom: 1.25em;
}
.content-title {
  opacity: 0.7;
  font-weight: 800;
  font-size: 1.3em;
  margin-bottom: 2rem;
  margin-top: 2rem;
}
.content-title::after {
  content: "";
  display: block;
  position: relative;
  top: 10px;
  margin-left: -5%;
  width: 10%;
  height: 4px;
  background-color: #389e47;
}
.content img {
  border-radius: 3px;
  -webkit-box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.2);
}
.columns {
  -webkit-columns: 300px 2;
  -moz-columns: 400px 2;
  columns: 400px 2;
}
.columns img {
  width: 100%;
}
.img-caption {
  opacity: 0.6;
  font-size: 0.8em;
  margin-top: 5px;
}
#breadcrumbs {
  margin-top: 1rem;
  font-size: 0.7em;
  opacity: 0.7;
}
#breadcrumbs a {
  text-decoration: none;
  color: black;
}

/* content news ----------*/
.news div {
  width: 33.333%;
  display: inline-block;
  vertical-align: top;
}
.news div a img {
  width: 100%;
}
.news div a {
  text-decoration: none;
  color: black;
}
.news div:first-child {
  padding-right: 1em;
}
.news div:nth-child(2) {
  padding: 0 0.5em;
}
.news div:last-child {
  padding-left: 1em;
}

.content p.publication {
  margin-bottom: 0rem;
  text-align: center;
  font-size: 0.7em;
}
.news-title {
  margin-top: 10px;
}
@media screen and (max-width: 650px) {
  .news div {
    width: 100%;
    display: inline-block;
    padding: 0rem !important;
  }
}
/*  Info bg ------------------- */
.literacy-bg {
  background: url("https://www.nzhowardleague.org.nz/wp-content/uploads/2023/01/programmes_tn-scaled.jpg")
    no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.driving-bg {
  background: url("https://www.nzhowardleague.org.nz/wp-content/uploads/2023/01/slow-down-kiwis-nz_orig.jpg")
    no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.press-bg {
  background: url("https://www.nzhowardleague.org.nz/wp-content/uploads/2018/03/press-bg.jpg")
    no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.about-bg {
  background: url("https://www.nzhowardleague.org.nz/wp-content/uploads/2023/03/about-us-fern.jpg")
    no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.help-bg {
  background: url("https://www.nzhowardleague.org.nz/wp-content/uploads/2018/04/background-img.jpg")
    no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.elect-bg {
  background: url("https://www.nzhowardleague.org.nz/wp-content/uploads/2020/08/1500530112612.jpg")
    no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}



/* info page ------------------ */
#info-page header {
  height: 500px;
  text-align: center;
  margin-bottom: -200px;
  overflow: hidden;
}
#info-page .woo-content header {
  height: auto;
  margin-bottom: 50px;
}

#info-page .content {
  background-color: white;
}
#info-page header h1 {
  font-size: 2em;
  color: black;
  display: inline;
  border-bottom: 2px solid black;
  font-weight: 700;
}
#info-page header .box-h1 {
  background-color: white;
  padding: 20px;
  display: inline-block;
  margin: 0 auto;
  margin-top: 100px;
}
.col img {
  width: 120px;
  box-shadow: none;
  margin-bottom: 1rem;
}
.content .left,
.content .right {
  width: 50%;
  display: inline-block;
  margin-bottom: 25px;
  vertical-align: middle;
}
.support .left,
.support .right {
  vertical-align: top;
}
.driving-content .right,
.pdf-content .right {
  padding-left: 1rem;
}
.driving-content .right img,
.pdf-content .right img {
  width: 100%;
}
.pdf-content .right {
  width: 49%;
}
.literacy-content ul {
  margin-bottom: 30px;
}
.literacy-content ul li {
  padding: 10px 10px 10px 13px;
  background-color: #f5f5f5;
  margin: 5px 0;
  position: relative;
}
.literacy-content ul li::before {
  content: "";
  display: inline-block;
  position: absolute;
  background-color: orange;
  height: 35px;
  width: 3px;
  top: 0px;
  left: 0px;
}
.literacy-content ul li:hover::before {
  background-color: green;
}
.four-row .col,
.three-row .col {
  display: inline-block;
  padding: 0rem 2rem;
  text-align: center;
  vertical-align: top;
}
.four-row {
  margin-bottom: 2rem;
}
.four-row .col {
  width: 25%;
}

.three-row .col {
  width: 33.333%;
}
.stat {
  font-size: 4em;
  background-color: #389e47;
  color: white;
  padding: 5px 8px 3px 8px;
}
p.count-p {
  margin-bottom: 15px;
  text-align: center;
}
p.achieved {
  text-align: center;
}

.person {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1em;
  margin-top: 1em;
}
.about-img {
  width: 100px;
  height: 100px;
  border-radius: 999px;
  overflow: hidden;
  background-color: #f0f0f0;
}
.about-img img {
  max-width: 100px;
}

.about-text {
  display: flex;
  align-items: center;
}

.about-text h3 {
  font-weight: 700;
  font-size: 1.2em;
  opacity: 0.7;
}
.page-cta {
  text-align: center;
  width: 80%;
  margin: 0 auto;
  margin-top: 50px;
}
.page-cta p {
  margin-bottom: 25px;
  font-size: 1.2em;
  font-weight: 700;
}
.buttonn {
  margin: 0em !important;
  display: inline-block;
  background-color: #389e47;
  border: none;
  padding: 15px 30px;
  font-size: 1.2em;
  font-weight: 700;
  color: white;
  text-decoration: none;
  -webkit-transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  -ms-transition: all 200ms ease-in-out;
  -o-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;
}
.mem-button {
  padding: 10px 20px;
  font-size: 0.9em;
  font-weight: 400;
  background-color: white;
  color: #389e47;
  border: 2px solid #389e47;
  cursor: pointer;
}
.volunteer-btn {
  cursor: pointer;
}
#quantity_5b1cb431c25b1,
#quantity_5b1cb4bbf1add {
  display: none;
}
#donation_amount_field {
  font-size: 1em;
  padding: 15px;
  border: 1px solid #389e47;
  height: 53px;
  margin-left: -5px;
  position: relative;
  top: -1px;
}
p.buttonn {
  padding: 9px 30px;
}
.buttonn::after {
  content: "";
  display: block;
  background-color: green;
  width: 100%;
  position: relative;
  left: -30px;
  top: 15px;
  padding: 0 30px;
  height: 0px;
  -webkit-transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  -ms-transition: all 200ms ease-in-out;
  -o-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;
}
.mem-button::after {
  content: "";
  display: block;
  background-color: #389e47;
  width: 100%;
  position: relative;
  left: -22px;
  top: 10px;
  padding: 0 22px;
  height: 0px;
  -webkit-transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  -ms-transition: all 200ms ease-in-out;
  -o-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;
}
p.buttonn::after {
  top: 9px;
}
.buttonn:hover {
  -moz-transform: translateY(-5px);
  -webkit-transform: translateY(-5px);
  -o-transform: translateY(-5px);
  -ms-transform: translateY(-5px);
  transform: translateY(-5px);
}
.buttonn:hover {
  -moz-transform: translateY(-5px);
  -webkit-transform: translateY(-5px);
  -o-transform: translateY(-5px);
  -ms-transform: translateY(-5px);
  transform: translateY(-5px);
}
.buttonn:hover::after {
  height: 5px;
  margin-bottom: -5px;
}
@media screen and (max-width: 850px) {
  .content .left,
  .content .right {
    width: 100%;
  }
  .four-row .col,
  .three-row .col {
    width: 50%;
  }
}
@media screen and (max-width: 650px) {
  .about-text > h3 {
    /* text-align: center; */
  }
}
@media screen and (max-width: 500px) {
  .four-row .col,
  .three-row .col {
    width: 100%;
  }
}
.tablenav-pages_0 {
  margin-top: 15px !important;
}
.tablenav-pages_0 a {
  padding: 10px 15px !important;
}

/* footer ------------------ */
.footer-logo {
  width: 85%;
  vertical-align: middle;
}
.site-footer {
  background-color: #f5f5f5;
  margin-top: 50px;
  padding: 2.5% 0;
}
.site-footer a {
  color: black;
  text-decoration: none;
}
.site-footer .max-width {
  padding: 0;
}
.site-info div {
  width: 20%;
  display: inline-block;
  vertical-align: middle;
}
.site-info div:last-child {
  text-align: right;
}
.site-info div li {
  line-height: 1.5em;
}
.site-info div li:first-of-type {
  font-weight: 700;
  line-height: 2em;
}
@media screen and (max-width: 1150px) {
  .site-info div {
    width: 50%;
    margin-bottom: 25px;
  }
  .site-info div:last-child {
    text-align: left;
  }
}
@media screen and (max-width: 650px) {
  .site-info div:first-child {
    margin-top: 25px;
  }
  .site-info div {
    width: 100%;
    text-align: center !important;
    margin-bottom: 25px;
  }
}

#wpcf7-f91-o1,
#wpcf7-f91-o2,
#wpcf7-f1054-o1 {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100vh;
  opacity: 0;
  visibility: hidden;
  transition: visibility 0.2s ease-out, opacity 0.2s ease-out,
    transform 0.2s ease-out, -webkit-transform 0.2s ease-out;
  background-color: rgba(0, 0, 0, 0.7);
}
#wpcf7-f91-o1 div.wpcf7-response-output,
#wpcf7-f91-o2 div.wpcf7-response-output,
#wpcf7-f417-o1 div.wpcf7-response-output,
#wpcf7-f1054-o1 div.wpcf7-response-output {
  margin: 0rem;
  text-align: center;
}
#wpcf7-f91-o1 .wpcf7-form,
#wpcf7-f91-o2 .wpcf7-form,
#wpcf7-f1054-o1 .wpcf7-form {
  width: 80%;
  max-width: 950px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 2.5%;
}
#wpcf7-f91-o1 input,
#wpcf7-f91-o2 input,
#wpcf7-f417-o1 input,
#wpcf7-f1054-o1 input {
  margin-bottom: 20px;
}
#wpcf7-f91-o1 input,
#wpcf7-f91-o1 textarea,
#wpcf7-f91-o2 input,
#wpcf7-f91-o2 textarea,
#wpcf7-f417-o1 input,
#wpcf7-f417-o1 textarea,
#wpcf7-f1054-o1 input,
#wpcf7-f1054-o1 textarea {
  width: 100%;
  padding: 5px;
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.5);
  font-size: 1em;
}
#wpcf7-f91-o1 .wpcf7-submit,
#wpcf7-f91-o2 .wpcf7-submit,
#wpcf7-f417-o1 .wpcf7-submit,
#wpcf7-f1054-o1 .wpcf7-submit {
  margin-bottom: 0px;
  border: 2px solid #389e47;
  padding: 5px;
  background-color: #389e47;
  color: white;
}
#wpcf7-f91-o1 .contact-close,
#wpcf7-f91-o2 .contact-close,
#wpcf7-f1054-o1 .contact-close {
  position: absolute;
  padding: 2px 5px;
  border-radius: 3px;
  border: 1px solid #389e47;
  right: 10px;
  top: 10px;
  display: inline-block;
  cursor: pointer;
}
.wpcf7-form input {
  padding: 5px;
}
.wpcf7-form p:first-of-type,
.wpcf7-form p:nth-of-type(2) {
  width: 48%;
  display: inline-block;
}
.wpcf7-form .right p:nth-child(3) {
  float: none;
  width: 100%;
}
.wpcf7-form .left,
.wpcf7-form .right {
  width: 49%;
}
.wpcf7-form p:nth-of-type(2) {
  float: right;
}

#wpcf7-f91-o1 .wpcf7-form {
  padding: 3em 3em 1.5em 3em;
}
#wpcf7-f91-o1 label {
  font-weight: bold;
  font-size: 0.8em;
}
.wpcf7-form input,
.wpcf7-form textarea {
  transition: all 250ms;
  font-family: "Helvetica Neue";
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  transform: translateY(-2px);
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
}
.wpcf7-form input[type="radio"],
.wpcf7-form input[type="checkbox"] {
  width: auto !important;
}
.wpcf7-form select {
  padding: 8px;
  font-size: 0.8em;
}
.show-menu {
  display: inline-block !important;
  left: 0;
  opacity: 1 !important;
  visibility: visible !important;
}
.show-menu-items {
  right: 2.5% !important;
}
.wpcf7-list-item.first {
  margin: 0em;
}
.wpcf7-form-control {
  margin-top: 0.8em;
  display: inline-block;
}
#radio-132 {
  display: inline-block;
}
/* 
CHECKOUT */
.woocommerce .input-text {
  font-size: 1em;
  padding: 4px 7px;
  border-radius: 5px;
  border: 1px solid #aaa;
}
.woocommerce p label {
  font-size: 0.8em;
  color: green;
  margin-top: 20px;
}
.woocommerce form .form-row {
  padding: 0;
}
#order_review_heading {
  margin: 20px 0 10px 0;
}
.woocommerce-additional-fields {
  margin-top: 25px;
}
#stripe-card-element {
  width: 450px;
}
@media screen and (max-width: 500px) {
  #stripe-card-element {
    width: 100%;
  }
}
.payment_box {
  background-color: #f8f8f8 !important;
}
#payment {
  background-color: #fcfcfc !important;
}
#payment div.payment_box::before,
.woocommerce-cart #payment div.payment_box::before,
.woocommerce-checkout #payment div.payment_box::before {
  border-color: #f8f8f8;
  border-right-color: transparent;
  border-left-color: transparent;
  border-top-color: transparent;
}
#add_payment_method #payment ul.payment_methods,
.woocommerce-cart #payment ul.payment_methods,
.woocommerce-checkout #payment ul.payment_methods {
  border-bottom: 0px;
}
#place_order,
.checkout-button {
  background-color: #389e47;
  border: none;
  padding: 15px 30px;
  font-size: 1.2em;
  font-weight: 700;
  color: white;
}
.woocommerce-message {
  display: none;
}

.product-price > input[type="number"] {
  width: 3.631em;
  text-align: center;
  font-size: 1em;
  padding: 4px 7px;
  border-radius: 5px;
  border: 1px solid #aaa;
}
tbody td.product-thumbnail img {
  display: none;
}





 #prison-modal {
            width: 100%;
            height: 1500px;
        }

        /* MODAL STYLES */

        .modal-lightbox {
            background-color: black;
            width: 100%;
            height: 100vh;
            position: fixed;
            z-index: 10;
            top: 0;
            left: 0;
            transition: all 500ms;
            opacity: 0.5;
        }
        .modal-wrapper {
            transition: all 200ms;
            position: fixed;
            top: 50%;
            left: 45%;
            transform: translate(-50%, -50%);
            width: 100%;
            min-width: 400px;
            max-width: 900px;
            z-index: -1;
            visibility: hidden;
            opacity: 0;
        }
        .show {
            left: 50%;
            visibility: visible;
            opacity: 1;
            z-index: 11;
        }
        .modal {
            max-width: 500px;
            margin: 0 auto;
            background-color: #fafafa;
            position: relative;
            padding: 2em;
            border-top: 10px solid #389e47;
            box-shadow: 0 0 20px 0 rgba(0,0,0,0.5);
        }
        .modal h3 {
            margin-top: 0;
            text-align: center;
            font-size: 1.6em;
            font-weight: 800;
            margin-bottom:1em;
        }
        .number-of-prisoners {
            margin-bottom: 1em;
        }
        .number-of-prisoners > p {
            margin-bottom: 0.25em;
        }
        .repeater-grid-wrapper p {
            font-size:0.9em;
            margin-bottom: 0.5em;
            border-bottom: 2px solid #cbcbcb
        }
        .repeater-grid-wrapper {
            margin-bottom: 1em;
        }
        
        .close-region-modal {
            cursor: pointer;
            position: absolute;
            top: 5px;
            right: 7px;
            font-size:0.6em;
            padding: 7px;
        }

        /* Number of Prisoners */
        .number-of-prisoners-grid {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            grid-column-gap: 1em;
            text-align: center;
            margin-bottom: 2em;
        }
        .number-of-prisoners-grid h4 {
            margin: 0.25em 0 0 0;
        }
        .number-of-prisoners > p {
            text-align: center;
        }

        /* Programmes Operating */
        .programmes-operating > p {
            font-weight: 700;
        }
        .programmes-operating > p span:last-of-type,
        .repeater-grid-wrapper > p span:last-of-type {
            float: right;
        }
        .programmes-operating {
            margin-bottom: 2em;
        }

        /* Info Footer */
        .info-footer {
            display: grid;
            grid-template-columns: 1fr 2fr 1fr;
        }
        .info-footer p {
            margin-bottom: 0;
        }
        .last-updated {
            text-align: center;
            font-size: 0.6em;
            margin-top: 0.7em;
        }
        .number-of-prisoners-grid div {
            border: 1px solid #ccc;
            border-radius:3px;
        }
        .number-of-prisoners-grid div p {
            margin-bottom: 0.5em;
        }
        .number-of-prisoners-grid div h4 {
            margin-top: 0.6em;
        }
        .next-region {
            text-align: right;
        }

        /* MAP SVG STYLES */
        .mapOpacity {
            opacity: 0.15;
        }
        .greyColor{
            fill:#4D4D4D;
        }
        .regionText{
            font-family:'Helvetica';
            fill: #fff;
            z-index: 11;
        }
        .pathLine{
            fill:none;
            stroke: #4D4D4D;
            stroke-width: 2;
            stroke-linejoin: round;
            stroke-miterlimit: 10;
        }
        .text-rect {
            transition: all 200ms;
            cursor: pointer;
        }
        .region {
            cursor: pointer;
        }
        /* MAP SVG HOVER EVENTS */
        .region-left .text-rect:hover {
            transform: translate(-5px, -2px);
        }
        .region-right .text-rect:hover {
            transform: translate(5px, -2px);
        }
        .text-rect:hover .pathLine {
            opacity: 1;
        }

    .st0{fill:#ededed;stroke:#ededed;stroke-width:16;stroke-miterlimit:10;}
  .st1{fill: #d6d6d6;}
  .st2{fill:#389e47;stroke:#389e47;stroke-width:2;stroke-miterlimit:10;enable-background:new    ;}
  .st3{fill: #d6d6d6;stroke:#389e47;stroke-width:2;stroke-miterlimit:10;}
  .st4{display:none;}
  .st5{display:inline;}
  .st6{fill:none;stroke:#4D4D4D;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:10;}
  .st7{fill:#4D4D4D;}
  .st8{fill:#FFFFFF;}
  .st9{font-family:'GothamBook';}
  .st10{font-size:13.6465px;}




  .resources, .documents {
    display: grid;
    grid-gap: 25px;
    grid-template-columns: 1fr 1fr 1fr;
}
@media screen and (max-width: 1100px) {
    .resources, .documents {
        grid-template-columns: 1fr 1fr;
    }
    .driving-content .right, .pdf-content .right {
      padding-left: 0em;
    }
}
@media screen and (max-width: 650px) {
    .resources, .documents {
        grid-template-columns: 1fr;
    }
}
.resource, .docuemnts {
    align-self: center;
    border-radius: 3px;
    border: 1px solid #cfcfcf;
    padding: 25px;
}
.resource p:last-of-type {
    margin-bottom: 0;
}
h5 a {
    color: #389e47;
}
.document a img {
    display: inline-block;
    height: 15px;
    margin-right: 15px;
    box-shadow: none;
}
.document a h5 {
    display: inline-block;
}
.word-icon {
    height: 15px;
}
.driving-content div.research .left,
.driving-content div.research .right {
  vertical-align: top;
}
.driving-content div.research div.document a > img {
  width: auto;
}
.driving-content .right > img {
  margin-bottom: 15px;
}
.driving-content {
  margin-bottom: 30px;
}







/* FAQ PAGE */

section.video {
  margin-bottom: 2em;
}

.faq-question {
  margin-top:1.5em;
  color:#389e47;
}

.faq-group ul {
  list-style-type: disc;
  padding-left: 2em;
  /* margin-bottom: 1em; */
}
.faq-group ul li {
  margin-bottom: 1em;
}

/* --------------------------------------------------------------
   Primary navigation refresh
   -------------------------------------------------------------- */
.primary-menu-container {
  display: inline-block;
  visibility: visible;
  opacity: 1;
}

#primary-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

#primary-menu > .menu-item {
  position: relative;
  display: block;
}

#primary-menu > .menu-item > a {
  position: relative;
  display: block;
  width: auto;
  margin: 0;
  padding: 0.75rem 0.85rem;
  color: #303630;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.25;
  text-decoration: none;
  transition: color 180ms ease;
}

#primary-menu > .menu-item > a::after {
  content: "";
  position: absolute;
  right: 0.85rem;
  bottom: 0.35rem;
  left: 0.85rem;
  height: 2px;
  background: #389e47;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

#primary-menu > .menu-item:hover > a,
#primary-menu > .menu-item:focus-within > a,
#primary-menu > .current-menu-item > a,
#primary-menu > .current-menu-ancestor > a {
  color: #247632;
}

#primary-menu > .menu-item:hover > a::after,
#primary-menu > .menu-item:focus-within > a::after,
#primary-menu > .current-menu-item > a::after,
#primary-menu > .current-menu-ancestor > a::after {
  transform: scaleX(1);
}

#primary-menu > .menu-item-has-children > a {
  padding-right: 2rem;
}

#primary-menu > .menu-item-has-children > a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.9rem;
  width: 0.4rem;
  height: 0.4rem;
  margin-top: -0.3rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

#primary-menu > .menu-item-has-children:hover > a::before,
#primary-menu > .menu-item-has-children:focus-within > a::before {
  margin-top: -0.1rem;
  transform: rotate(225deg);
}

.primary-menu-container .sub-menu {
  position: absolute;
  z-index: 9999;
  top: 100%;
  left: 0;
  min-width: 235px;
  margin: 0;
  padding: 0.55rem;
  list-style: none;
  background: #ffffff;
  border: 1px solid rgba(56, 158, 71, 0.18);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(27, 61, 31, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.primary-menu-container .menu-item:hover > .sub-menu,
.primary-menu-container .menu-item:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.primary-menu-container .sub-menu .menu-item {
  display: block;
  width: 100%;
}

.primary-menu-container .sub-menu a {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.7rem 0.8rem;
  color: #303630;
  border-radius: 5px;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

.primary-menu-container .sub-menu a:hover,
.primary-menu-container .sub-menu a:focus,
.primary-menu-container .sub-menu .current-menu-item > a {
  color: #1f6f2c;
  background: #eef8f0;
  outline: none;
}

#primary-menu a:focus-visible {
  outline: 3px solid rgba(56, 158, 71, 0.3);
  outline-offset: 2px;
}

@media screen and (max-width: 1100px) {
  .primary-menu-container {
    display: none;
    visibility: hidden;
    opacity: 0;
  }
}

/* --------------------------------------------------------------
   NZHL-authored News & Updates
   -------------------------------------------------------------- */
.nzhl-posts-area {
  background: #f7faf7;
}

.nzhl-posts-hero,
.nzhl-post-single__header {
  color: #ffffff;
  background:
    linear-gradient(120deg, rgba(28, 102, 40, 0.98), rgba(56, 158, 71, 0.9)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 45%);
}

.nzhl-posts-hero__inner {
  max-width: 900px;
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.nzhl-posts-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
  opacity: 0.85;
}

.nzhl-posts-hero h1,
.nzhl-post-single__title {
  margin: 0;
  color: inherit;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

@media screen and (min-width: 901px) {
  .nzhl-post-single__title {
    font-size: clamp(2.25rem, 3.5vw, 3.4rem);
  }
}

.nzhl-posts-hero__inner > p:last-child {
  max-width: 720px;
  margin: 1.25rem 0 0;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  opacity: 0.92;
}

.nzhl-posts-index {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(4rem, 7vw, 7rem);
}

.nzhl-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.nzhl-post-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(34, 80, 40, 0.1);
  border-radius: 10px;
  box-shadow: 0 8px 26px rgba(34, 80, 40, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.nzhl-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(34, 80, 40, 0.13);
}

.nzhl-post-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #e6f1e8;
}

.nzhl-post-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  transition: transform 300ms ease;
}

.nzhl-post-card:hover .nzhl-post-card__image img {
  transform: scale(1.025);
}

.nzhl-post-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(56, 158, 71, 0.92), rgba(31, 111, 44, 0.9)),
    radial-gradient(circle at 75% 20%, rgba(255, 255, 255, 0.25), transparent 35%);
}

.nzhl-post-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.4rem;
}

.nzhl-post-date {
  display: block;
  margin-bottom: 0.65rem;
  color: #247632;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.nzhl-post-card__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.25;
}

.nzhl-post-card__title a {
  color: #1e2f21;
  text-decoration: none;
}

.nzhl-post-card__title a:hover,
.nzhl-post-card__title a:focus {
  color: #247632;
}

.nzhl-post-card__excerpt {
  color: #536056;
  font-size: 0.96rem;
  line-height: 1.65;
}

.nzhl-post-card__excerpt p {
  margin: 0;
}

.nzhl-post-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1.25rem;
  color: #247632;
  font-weight: 700;
  text-decoration: none;
}

.nzhl-post-card__link span {
  transition: transform 160ms ease;
}

.nzhl-post-card__link:hover span,
.nzhl-post-card__link:focus span {
  transform: translateX(3px);
}

.nzhl-posts-index .navigation.pagination {
  margin-top: 3rem;
}

.nzhl-posts-index .nav-links {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
}

.nzhl-posts-index .page-numbers {
  display: inline-flex;
  min-width: 2.6rem;
  min-height: 2.6rem;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  color: #247632;
  background: #ffffff;
  border: 1px solid rgba(34, 80, 40, 0.14);
  border-radius: 5px;
  text-decoration: none;
}

.nzhl-posts-index .page-numbers.current,
.nzhl-posts-index a.page-numbers:hover,
.nzhl-posts-index a.page-numbers:focus {
  color: #ffffff;
  background: #389e47;
  border-color: #389e47;
}

.nzhl-posts-empty {
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem;
  text-align: center;
  background: #ffffff;
  border-radius: 10px;
}

.nzhl-post-single__header-inner {
  max-width: 960px;
  padding-top: clamp(3.5rem, 7vw, 6rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.nzhl-post-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  opacity: 0.86;
}

.nzhl-post-back:hover,
.nzhl-post-back:focus {
  color: #ffffff;
  opacity: 1;
}

.nzhl-post-single__header .nzhl-post-date {
  color: #ffffff;
  opacity: 0.8;
}

.nzhl-post-single__intro {
  max-width: 780px;
  margin: 1.5rem 0 0;
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.65;
  opacity: 0.92;
}

.nzhl-post-single__layout {
  max-width: 1000px;
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.nzhl-post-single__featured {
  margin: 0 0 clamp(2rem, 4vw, 3.5rem);
}

.nzhl-post-single__featured img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 18px 45px rgba(34, 80, 40, 0.14);
}

.nzhl-post-single__content {
  max-width: 760px;
  margin: 0 auto;
  color: #28352b;
  font-size: 1.06rem;
  line-height: 1.78;
}

.nzhl-post-single__content > *:first-child {
  margin-top: 0;
}

.nzhl-post-single__content h2,
.nzhl-post-single__content h3,
.nzhl-post-single__content h4 {
  color: #1f3724;
  line-height: 1.25;
}

.nzhl-post-single__content h2 {
  margin-top: 2.5rem;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
}

.nzhl-post-single__content h3 {
  margin-top: 2rem;
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
}

.nzhl-post-single__content a {
  color: #247632;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.nzhl-post-single__content blockquote {
  margin: 2rem 0;
  padding: 0.2rem 0 0.2rem 1.5rem;
  color: #3f5042;
  border-left: 4px solid #389e47;
  font-size: 1.15rem;
}

.nzhl-post-navigation {
  display: grid;
  max-width: 1000px;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding-top: 0;
  padding-bottom: clamp(4rem, 7vw, 7rem);
}

.nzhl-post-navigation > div:last-child {
  text-align: right;
}

.nzhl-post-navigation a {
  color: #247632;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

.nzhl-post-navigation a:hover,
.nzhl-post-navigation a:focus {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media screen and (max-width: 900px) {
  .nzhl-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 620px) {
  .nzhl-post-grid {
    grid-template-columns: 1fr;
  }

  .nzhl-post-card__body {
    padding: 1.2rem;
  }

  .nzhl-post-single__featured img {
    border-radius: 6px;
  }

  .nzhl-post-navigation {
    grid-template-columns: 1fr;
  }

  .nzhl-post-navigation > div:last-child {
    text-align: left;
  }
}


/* Gutenberg content within NZHL-authored articles. */
.nzhl-post-single__content::after {
  display: table;
  clear: both;
  content: "";
}

.nzhl-post-single__content > * {
  max-width: 100%;
}

.nzhl-post-single__content p,
.nzhl-post-single__content ul,
.nzhl-post-single__content ol,
.nzhl-post-single__content .wp-block-group,
.nzhl-post-single__content .wp-block-columns,
.nzhl-post-single__content .wp-block-media-text,
.nzhl-post-single__content .wp-block-gallery,
.nzhl-post-single__content .wp-block-video,
.nzhl-post-single__content .wp-block-embed,
.nzhl-post-single__content .wp-block-table,
.nzhl-post-single__content .wp-block-buttons,
.nzhl-post-single__content .wp-block-separator {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.nzhl-post-single__content h2,
.nzhl-post-single__content h3,
.nzhl-post-single__content h4 {
  scroll-margin-top: 7rem;
}

.nzhl-post-single__content h4 {
  margin-top: 1.75rem;
  font-size: 1.15rem;
}

.nzhl-post-single__content ul,
.nzhl-post-single__content ol {
  padding-left: 1.5em;
}

.nzhl-post-single__content li > ul,
.nzhl-post-single__content li > ol {
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
}

.nzhl-post-single__content a:hover,
.nzhl-post-single__content a:focus {
  color: #1f612a;
}

.nzhl-post-single__content .wp-block-image {
  max-width: 100%;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.nzhl-post-single__content .wp-block-image img {
  display: block;
  max-width: 100%;
  height: auto;
}

.nzhl-post-single__content .wp-block-image.is-resized,
.nzhl-post-single__content .wp-block-image.is-resized img {
  margin-right: auto;
  margin-left: auto;
}

.nzhl-post-single__content .alignleft {
  float: left;
  margin-right: 1.75rem;
  margin-left: 0;
}

.nzhl-post-single__content .alignright {
  float: right;
  margin-right: 0;
  margin-left: 1.75rem;
}

.nzhl-post-single__content .aligncenter {
  display: table;
  clear: both;
  margin-right: auto;
  margin-left: auto;
}

.nzhl-post-single__content figcaption,
.nzhl-post-single__content .wp-element-caption,
.nzhl-post-single__content .blocks-gallery-caption {
  margin-top: 0.55rem;
  color: #647067;
  font-size: 0.86rem;
  line-height: 1.5;
  text-align: center;
}

.nzhl-post-single__content .wp-block-gallery {
  gap: 1rem;
}

.nzhl-post-single__content .wp-block-gallery img,
.nzhl-post-single__content .wp-block-media-text img,
.nzhl-post-single__content .wp-block-video video {
  max-width: 100%;
  height: auto;
}

.nzhl-post-single__content .wp-block-embed iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}

.nzhl-post-single__content .wp-block-embed__wrapper {
  max-width: 100%;
  overflow: hidden;
}

.nzhl-post-single__content .wp-block-embed.is-type-video .wp-block-embed__wrapper {
  position: relative;
  padding-top: 56.25%;
}

.nzhl-post-single__content .wp-block-embed.is-type-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.nzhl-post-single__content .wp-block-media-text {
  gap: clamp(1.25rem, 4vw, 2.5rem);
}

.nzhl-post-single__content .wp-block-media-text__content {
  padding: 0;
}

.nzhl-post-single__content .wp-block-quote,
.nzhl-post-single__content .wp-block-pullquote {
  margin: 2rem 0;
}

.nzhl-post-single__content .wp-block-pullquote:not(.has-border-color):not([class*="-border-color"]) {
  border-top-color: #999999;
  border-bottom-color: #999999;
}

.nzhl-post-single__content .wp-block-pullquote {
  border-top-width: 4px;
  border-bottom-width: 4px;
  border-top-style: solid;
  border-bottom-style: solid;
  text-align: center;
}

.nzhl-post-single__content .wp-block-pullquote blockquote {
  margin: 0;
  padding: 0;
  border-left: 0;
  font-size: inherit;
}

.nzhl-post-single__content .wp-block-pullquote blockquote > *:first-child {
  margin-top: 0;
}

.nzhl-post-single__content .wp-block-pullquote blockquote > *:last-child {
  margin-bottom: 0;
}

.nzhl-post-single__content blockquote p:last-of-type {
  margin-bottom: 0;
}

.nzhl-post-single__content blockquote cite {
  display: block;
  margin-top: 0.75rem;
  color: #58635a;
  font-size: 0.85rem;
  font-style: normal;
}

.nzhl-post-single__content .wp-block-separator {
  clear: both;
  width: 100%;
  border: 0;
  border-top: 2px solid #d9e4da;
}

.nzhl-post-single__content .wp-block-table {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.nzhl-post-single__content table {
  width: 100%;
  min-width: 32rem;
  border-collapse: collapse;
}

.nzhl-post-single__content th,
.nzhl-post-single__content td {
  padding: 0.75rem;
  border: 1px solid #ccd8ce;
  text-align: left;
}

.nzhl-post-single__content th {
  color: #1f3724;
  background: #edf5ee;
}

.nzhl-post-single__content .wp-block-button__link {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  color: #ffffff;
  background: #247632;
  border-radius: 4px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.nzhl-post-single__content .wp-block-button__link:hover {
  color: #ffffff;
  background: #1f612a;
}

.nzhl-donation-cta .wp-block-buttons,
.nzhl-donation-cta .wp-block-button {
  margin-bottom: 0;
}

.nzhl-post-single__content .wp-block-button__link:focus {
  color: #ffffff;
  outline: 3px solid #1e2f21;
  outline-offset: 3px;
}

.nzhl-post-single__content .wp-block-columns {
  gap: clamp(1rem, 3vw, 2rem);
}

.nzhl-post-single__content .nzhl-donation-cta {
  clear: both;
  margin: clamp(2rem, 5vw, 3.5rem) 0;
  padding: clamp(1.5rem, 5vw, 2.75rem);
  color: #28352b;
  background: #ebebeb;
  border-radius: 8px;
}

.nzhl-post-single__content .nzhl-donation-cta h2,
.nzhl-post-single__content .nzhl-donation-cta p {
  color: #28352b;
}

.nzhl-post-single__content .nzhl-donation-cta h2 {
  margin-top: 0;
}

.nzhl-post-single__content .nzhl-donation-cta .wp-block-html {
  margin-bottom: 0;
  padding-bottom: 0;
}

.nzhl-post-single__content .nzhl-donation-cta .buttonn {
  margin-bottom: 0;
  padding-bottom: 0;
}

.nzhl-author-bio {
  display: flex;
  max-width: 760px;
  align-items: flex-start;
  gap: 0.875rem;
  margin: 0 auto;
  padding: 1.125rem;
  color: #344137;
  background: #ebebeb;
  border-left: 4px solid #389e47;
  border-radius: 6px;
}

.nzhl-author-bio__media {
  flex: 0 0 3.5rem;
}

.nzhl-author-bio__photo {
  display: block;
  width: 3.5rem;
  height: 3.5rem;
  object-fit: cover;
  border-radius: 50%;
}

.nzhl-author-bio__content {
  min-width: 0;
}

.nzhl-author-bio__label,
.nzhl-author-bio__role,
.nzhl-author-bio__description p {
  margin-top: 0;
}

.nzhl-author-bio__label {
  margin-bottom: 0.35rem;
  color: #247632;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nzhl-author-bio__name {
  margin: 0;
  color: #1f3724;
  font-size: 1.35rem;
  line-height: 1.25;
}

.nzhl-author-bio__role {
  margin-bottom: 0.65rem;
  color: #536056;
  font-size: 0.92rem;
  font-weight: 700;
}

.nzhl-author-bio__description,
.nzhl-author-bio__description p:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 620px) {
  .nzhl-post-single__content .alignleft,
  .nzhl-post-single__content .alignright {
    float: none;
    margin-right: 0;
    margin-left: 0;
  }

  .nzhl-post-single__content .wp-block-media-text {
    grid-template-columns: 100% !important;
  }

  .nzhl-post-single__content .wp-block-media-text .wp-block-media-text__media,
  .nzhl-post-single__content .wp-block-media-text .wp-block-media-text__content {
    grid-column: 1;
  }

  .nzhl-post-single__content .wp-block-media-text .wp-block-media-text__media {
    grid-row: 1;
  }

  .nzhl-post-single__content .wp-block-media-text .wp-block-media-text__content {
    grid-row: 2;
  }

  .nzhl-author-bio {
    gap: 0.75rem;
    padding: 0.875rem;
  }

  .nzhl-author-bio__media {
    flex-basis: 2.75rem;
  }

  .nzhl-author-bio__photo {
    width: 2.75rem;
    height: 2.75rem;
  }
}
