/**
 * White & light green theme overrides
 * Loaded after inner-pages.css to replace legacy cyan/navy palette
 */

:root {
  --green-light: #d4edda;
  --green: #90c695;
  --green-mid: #7ab882;
  --green-dark: #3d6b4f;
  --green-darker: #2d5a3d;
}

/* Legacy color replacements */
.inner-page .BoldBlueText,
.BoldBlueText {
  color: var(--green) !important;
}

.inner-page .vc_custom_1713418596809,
.inner-page .vc_custom_1713751177971,
.inner-page .vc_custom_1714549316338,
.inner-page .vc_custom_1714459475272,
.inner-page .vc_custom_1713340646794,
.inner-page [class*="vc_custom_"][class*="vc_row-has-fill"]:first-child {
  background-color: var(--green-light) !important;
}

.inner-page .HbanHead,
.inner-page .InBannerHead {
  border-left-color: var(--green) !important;
}

.inner-page .site-primary-header-wrap::before,
.inner-page .header-bar::before {
  background: linear-gradient(128deg, var(--green), var(--green-mid)) !important;
}

.inner-page .btn-31,
.inner-page .btn-31-white,
.inner-page button.btn-31.hdrBtn,
.inner-page .Btn_Tic,
.inner-page #gform_submit_button_1 {
  background-color: var(--green) !important;
}

.inner-page .btn-31:before,
.inner-page button.btn-31.hdrBtn:before {
  background: var(--green-dark) !important;
}

.inner-page .btn-31-white:before {
  background: var(--white) !important;
}

.inner-page .RLIiconsRow.RLIrow1 > div:nth-child(even),
.inner-page .RLIiconsRow.RLIrow2 > div:nth-child(odd),
.inner-page .RLIiconsRow.RLIrow3 > div:nth-child(even),
.inner-page .ConsolidateRow:before,
.inner-page .TicARL::before,
.inner-page .TicARLbtm::before,
.inner-page .homeAboutContBtm.colWt .vc_column-inner,
.inner-page .vc_custom_1721108879671 {
  background: var(--green-dark) !important;
  background-color: var(--green-dark) !important;
}

.inner-page .RLIiconsRow p {
  color: var(--green-dark) !important;
}

.inner-page .RLIiconsRow.RLIrow1 > div:nth-child(even) p,
.inner-page .RLIiconsRow.RLIrow2 > div:nth-child(odd) p,
.inner-page .RLIiconsRow.RLIrow3 > div:nth-child(even) p,
.inner-page .colWt,
.inner-page .colWt p,
.inner-page .colWt h2,
.inner-page .colWt li {
  color: var(--green-dark) !important;
}

.inner-page .RLIiconsRow.RLIrow1 > div:nth-child(even) p,
.inner-page .RLIiconsRow.RLIrow2 > div:nth-child(odd) p,
.inner-page .RLIiconsRow.RLIrow3 > div:nth-child(even) p {
  color: var(--white) !important;
}

.inner-page .HiWRow > div:nth-child(2),
.inner-page .HiWRow2 > div:nth-child(1) {
  background: rgba(144, 198, 149, 0.2) !important;
}

.inner-page .leftColUpAR::before {
  border-color: var(--green) !important;
}

.inner-page .InBannerHead p,
.inner-page .HbanCol1 > p {
  color: var(--green-dark) !important;
}

.inner-page .site-footer,
.inner-page .site-footer .footer-r a {
  background: var(--green-light) !important;
  color: var(--green-dark) !important;
}

.inner-page .MMwFooter,
.inner-page .footer-privacy {
  color: var(--green-dark) !important;
}

/* Full-width content (see also layout-full.css loaded after page inline styles) */
.inner-page .ColLefRbt > .vc_column-inner > .wpb_wrapper {
  margin-right: 0 !important;
}

/* Footer — match ticgroup.com.au reference layout */
.site-footer .footerCont {
  grid-template-columns: minmax(260px, 1.2fr) minmax(0, 2fr) !important;
  align-items: center !important;
}

.site-footer .footer-r ul {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  justify-items: end !important;
  text-align: right !important;
}

@media (max-width: 921px) {
  .site-footer .footerCont {
    grid-template-columns: 1fr !important;
  }

  .site-footer .footer-r ul {
    grid-template-columns: 1fr 1fr !important;
    justify-items: center !important;
    text-align: center !important;
  }
}
