/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/*--mindk styles---*/

p.is-style-cite.wp-block-paragraph {
    font-size: .8385744235em !important;
    font-family: "Work Sans", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    line-height: calc((0.8385744235em) + 5px);
    letter-spacing: -.15px;
    color: #74878f;
}

.gform_fields input, .gform_fields select {
    height: 35px;
    justify-content: center;
}

.gform_fields {
    grid-row-gap: 10px;
}

.single-post .brxe-post-content strong {
    font-weight: normal;
}




/*----------*/

/* Read more toggle (.tmw-readmore) */
.tmw-readmore__toggle {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 1px 8px;
  background: none;
  border: 1px solid #eaeaea;
  border-radius: 0;
  color: #088d94;
  font-family: "Work Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.8386rem;
  font-weight: 400;
  line-height: inherit;
  text-transform: uppercase;
  letter-spacing: 0.25px;
  cursor: pointer;
}

.tmw-readmore__toggle:hover,
.tmw-readmore__toggle:focus-visible {
  border-color: #088d94;
}

/* Read more: hidden state */
.tmw-readmore [hidden] {
  display: none !important;
}

/* toggleFollowing: migrated collapsible section */
.toggleFollowing {
  position: relative;
  border-bottom: 1px solid #d1d1d1;
  padding-bottom: 6px;
  margin-bottom: 14px;
  color: #465d70;
  cursor: pointer;
}

/* toggleFollowing arrow */
.toggleFollowing::after {
  content: '';
  position: absolute;
  right: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 158.1 101.1'><polygon fill='%23A0A3AF' points='79,101.1 158.1,0 0,0'/></svg>") no-repeat right center;
  background-size: contain;
  transition: transform 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.toggleFollowing.active::after {
  transform: rotate(180deg);
}

/* toggleFollowing on a coloured background */
.has-text-color .toggleFollowing {
  color: inherit;
  border-bottom-color: rgba(255, 255, 255, 0.4);
}

/* toggleFollowing quiet variant */
.toggleFollowing.quiet {
  display: inline-block;
  padding: 1px 8px;
  margin: 0 0 0 0;
  border: 1px solid #eaeaea;
  color: #088d94;
  font-family: "Work Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.8386rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.25px;
}

.toggleFollowing.quiet::after {
  display: none;
}

.toggle.hidden {
  display: none !important;
}

.toggleFollowing:focus-visible {
  outline: 2px solid #088d94;
  outline-offset: 2px;
}

/* Floated content images go full width on phones */
@media only screen and (max-width: 600px) {
  :is(.brxe-post-content, .brxe-text) .wp-block-image .alignleft,
  :is(.brxe-post-content, .brxe-text) .wp-block-image .alignright,
  :is(.brxe-post-content, .brxe-text) .wp-block-image.alignleft,
  :is(.brxe-post-content, .brxe-text) .wp-block-image.alignright {
    float: none;
    display: block;
    width: 100%;
    margin: 0 0 1.25rem 0;
  }
  /* Beat the inline width on the img */
  :is(.brxe-post-content, .brxe-text) .wp-block-image .alignleft img,
  :is(.brxe-post-content, .brxe-text) .wp-block-image .alignright img,
  :is(.brxe-post-content, .brxe-text) .wp-block-image.alignleft img,
  :is(.brxe-post-content, .brxe-text) .wp-block-image.alignright img {
    display: block;
    width: 100% !important;
    height: auto !important;
  }
}

/* Video captions */
:is(.brxe-post-content, .brxe-text) .wp-block-embed figcaption {
  margin-top: 5px;
  margin-bottom: 1em;
  padding-left: 15px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 101.1 158.1'><polygon points='101.1 79.1 0 0 0 158.1 101.1 79.1' fill='%23c9c9c9'/></svg>") no-repeat 0 5px;
  background-size: 8px auto;
  color: #171a25;
  font-size: 0.8386rem;
  line-height: 1.8;
  text-align: left;
}

/* Captions inside a group that sets its own text colour */
:is(.brxe-post-content, .brxe-text) .has-text-color :is(.wp-block-embed, .wp-block-image) figcaption {
  color: inherit;
}

:is(.brxe-post-content, .brxe-text) .has-text-color .wp-block-embed figcaption {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 101.1 158.1'><polygon points='101.1 79.1 0 0 0 158.1 101.1 79.1' fill='%23ffffff'/></svg>");
}

/* Quote attributions */
blockquote cite {
  font-weight: 400;
}

/* Attributions on a coloured background */
.has-text-color blockquote cite {
  color: inherit;
}

/* Image captions */
:is(.brxe-post-content, .brxe-text) .wp-block-image figcaption {
  max-width: 80%;
  margin: 5px auto 0;
  color: #171a25;
  font-family: "Work Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.7407rem;
  line-height: calc(0.7407407407em + 5px);
  text-align: center;
}

/* Columns: cancel the rhythm rule top margin */
:is(.brxe-post-content, .brxe-text) .wp-block-columns.wp-block-columns > .wp-block-column {
  margin-block-start: 0;
}

/* Let bare URLs wrap */
:is(.brxe-post-content, .brxe-text) {
  overflow-wrap: anywhere;
}

/* Video duration badge */
.tmw-video-duration {
  --tmw-video-gap: 5px;
  position: relative;
  z-index: 3;
  width: fit-content;
  margin: calc(-23.78px - var(--tmw-video-gap)) 0 var(--tmw-video-gap) 0;
  padding: 5px 10px 5px 28px;
  background: #088d94 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300'><path d='M150,20a130,130,0,0,1,91.9239,221.9239A130,130,0,0,1,58.0761,58.0761,129.1493,129.1493,0,0,1,150,20m0-20A150,150,0,1,0,300,150,150,150,0,0,0,150,0Z' fill='%23fff'/><polyline points='152.604 44.208 152.604 150 223.044 150' fill='none' stroke='%23fff' stroke-width='20'/></svg>") no-repeat 9px 6px;
  background-size: 11px auto;
  color: #fff;
  font-family: "Work Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.7407rem;
  font-weight: 500;
  line-height: calc(0.7407407407em + 5px);
  letter-spacing: -0.15px;
  text-transform: uppercase;
  pointer-events: none;
}

/* Password-protected pages */
#brx-content.wordpress {
  max-width: 100%;
  margin-inline: auto;
  padding: var(--tmw-space-xl) var(--tmw-space-l);
  background: var(--tmw-white);
}

/* Password form layout */
.post-password-form p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.post-password-form label {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0.5rem;
}

.post-password-form input[type="password"] {
  width: 15rem;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--tmw-border);
  border-radius: 2px;
  font: inherit;
}

.post-password-form input[type="submit"] {
  padding: 9px 16px;
  border: 0;
  border-radius: 2px;
  background: var(--tmw-teal-500);
  color: var(--tmw-white);
  font-family: "Work Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
}

/* Testimonial "Read More": expands in place */
:is(.brxe-post-content, .brxe-text) .showHidden ~ .hidden {
  display: none;
}

:is(.brxe-post-content, .brxe-text) .showHidden ~ .hidden.tmw-open {
  display: block;
}

/* Excerpt gives way to the full quote */
:is(.brxe-post-content, .brxe-text) .showHidden[hidden],
:is(.brxe-post-content, .brxe-text) .showHidden ~ [hidden] {
  display: none !important;
}

/* Payment-link generator ([tmw_payment_links]) */
.tmw-linkgen__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 28rem;
}

.tmw-linkgen__field input,
.tmw-linkgen__field select {
  padding: 8px 12px;
  border: 1px solid var(--tmw-border);
  border-radius: 2px;
  font: inherit;
}

.tmw-linkgen__error {
  color: #b3261e;
}

.tmw-linkgen__submit {
  padding: 9px 16px;
  border: 0;
  border-radius: 2px;
  background: var(--tmw-teal-500);
  color: var(--tmw-white);
  font-family: "Work Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
}

/* Let the generated link wrap */
.tmw-linkgen__url {
  padding: 12px;
  background: var(--tmw-surface);
  word-break: break-all;
}

/* Nested 4-up columns wrap below the core breakpoint */
:is(.brxe-post-content, .brxe-text) .wp-block-column .wp-block-columns:has(> .wp-block-column:nth-child(4)) {
  flex-wrap: wrap !important;
}

:is(.brxe-post-content, .brxe-text) .wp-block-column .wp-block-columns:has(> .wp-block-column:nth-child(4)) > .wp-block-column {
  flex-basis: calc(50% - var(--wp--style--block-gap, 1.5em));
  flex-grow: 1;
}

/* Jump navs (.sub-nav) */
:is(.brxe-post-content, .brxe-text) ul.sub-nav {
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

:is(.brxe-post-content, .brxe-text) ul.sub-nav.sub-nav li {
  display: inline-block;
  margin: 0 1rem 0 0;
  padding: 0 1rem 0 0;
  border-right: 1px solid rgba(234, 234, 234, 0.2);
  font-family: "Work Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.8386rem;
  font-weight: 400;
  letter-spacing: -0.25px;
  text-transform: uppercase;
}

/* Jump-nav links */
:is(.brxe-post-content, .brxe-text) ul.sub-nav.sub-nav li a {
  color: var(--tmw-teal-500);
  font-weight: 400;
  text-decoration: none;
}

:is(.brxe-post-content, .brxe-text) ul.sub-nav.sub-nav li a:hover {
  text-decoration: underline;
}

/* Jump-nav links on a coloured block */
:is(.brxe-post-content, .brxe-text) .has-background ul.sub-nav.sub-nav li a {
  color: inherit;
  text-decoration: underline;
}

:is(.brxe-post-content, .brxe-text) .has-background ul.sub-nav.sub-nav li a:hover {
  text-decoration: none;
}

:is(.brxe-post-content, .brxe-text) ul.sub-nav.sub-nav li:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: 0;
}

@media only screen and (max-width: 600px) {
  :is(.brxe-post-content, .brxe-text) ul.sub-nav.sub-nav li {
    display: block;
    margin: 0 0 10px 0;
    padding: 0 0 10px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(234, 234, 234, 0.2);
  }
}

/* People grid, bios in a <dialog> */
:is(.brxe-post-content, .brxe-text) div.tmw-people.tmw-people {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 1rem;
  margin: 1.5rem 0 0;
}

:is(.brxe-post-content, .brxe-text) div.tmw-people.tmw-people > * {
  margin: 0;
}

.tmw-person {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.tmw-person__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 179 / 204;
  object-fit: cover;
}

.tmw-person__name {
  color: var(--tmw-teal-500);
  font-family: "Work Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.8386rem;
  line-height: 1.4;
}

.tmw-person:hover .tmw-person__name,
.tmw-person:focus-visible .tmw-person__name {
  text-decoration: underline;
}

.tmw-person-dialog {
  width: min(42rem, calc(100vw - 2rem));
  max-height: calc(100vh - 4rem);
  padding: var(--tmw-space-l);
  border: 0;
  background: var(--tmw-white);
  color: var(--tmw-ink);
}

.tmw-person-dialog::backdrop {
  background: rgba(23, 26, 37, 0.6);
}

.tmw-person-dialog__close {
  float: right;
  padding: 0 4px;
  background: none;
  border: 0;
  color: var(--tmw-teal-500);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.tmw-person-dialog__name {
  margin-top: 0;
}

@media only screen and (max-width: 782px) {
  :is(.brxe-post-content, .brxe-text) div.tmw-people.tmw-people {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Bare wp:button with no .wp-block-buttons wrapper */
:is(.brxe-post-content, .brxe-text) :not(.wp-block-buttons) > .wp-block-button > .wp-block-button__link {
  padding: 10px 20px 11px;
  border-radius: 2px;
  font-family: "Work Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

:is(.brxe-post-content, .brxe-text) :not(.wp-block-buttons) > .wp-block-button > .wp-block-button__link.has-white-background-color {
  color: var(--tmw-teal-500);
}

/* "TM can increase / reduce" arrow lists */
:is(.brxe-post-content, .brxe-text) ul.gain,
:is(.brxe-post-content, .brxe-text) ul.reduce {
  padding-left: 0;
  list-style: none;
}

:is(.brxe-post-content, .brxe-text) ul.gain.gain li,
:is(.brxe-post-content, .brxe-text) ul.reduce.reduce li {
  margin: 0;
  padding: 0 0 5px 32px;
  background-repeat: no-repeat;
  background-position: 0 5px;
  background-size: 11px auto;
  list-style: none;
}

:is(.brxe-post-content, .brxe-text) ul.gain.gain li {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13.8 15.7'><g fill='none' stroke='%2323783C' stroke-width='1.25' stroke-miterlimit='10'><line x1='6.9' y1='15.7' x2='6.9' y2='0.7'/><polyline points='0.4,7.2 6.9,0.7 13.4,7.2'/></g></svg>");
}

:is(.brxe-post-content, .brxe-text) ul.reduce.reduce li {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13.8 15.7'><g fill='none' stroke='%23EF1707' stroke-width='1.25' stroke-miterlimit='10'><line x1='6.9' y1='0' x2='6.9' y2='15'/><polyline points='0.4,8.5 6.9,15 13.4,8.5'/></g></svg>");
}

/* Caption duration badge */
.tmw-caption-duration {
  display: inline-block;
  margin-right: 4px;
  padding: 2px 8px 2px 24px;
  background: var(--tmw-teal-500) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300'><path d='M150,20a130,130,0,0,1,91.9239,221.9239A130,130,0,0,1,58.0761,58.0761,129.1493,129.1493,0,0,1,150,20m0-20A150,150,0,1,0,300,150,150,150,0,0,0,150,0Z' fill='%23fff'/><polyline points='152.604 44.208 152.604 150 223.044 150' fill='none' stroke='%23fff' stroke-width='20'/></svg>") no-repeat 8px 5px;
  background-size: 10px auto;
  color: var(--tmw-white);
  font-family: "Work Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.7407rem;
  font-weight: 500;
  letter-spacing: -0.15px;
  text-transform: uppercase;
}

/* Blog pagination: worded prev/next */
.bricks-pagination ul .page-numbers.prev,
.bricks-pagination ul .page-numbers.next {
  width: auto !important;
  padding: 0 12px !important;
  font-size: 0 !important;
}

.bricks-pagination ul .page-numbers.prev::after,
.bricks-pagination ul .page-numbers.next::after {
  font-family: "Work Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.8386rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.bricks-pagination ul .page-numbers.prev::after {
  content: "Newer";
}

.bricks-pagination ul .page-numbers.next::after {
  content: "Older";
}

/* Required asterisk takes the label colour */
.gform_wrapper.gravity-theme .gfield_required.gfield_required {
  color: inherit;
}

/* Gravity Forms labels in ink */
.gform_wrapper.gravity-theme .gfield_label.gfield_label {
  color: var(--tmw-ink);
  font-weight: 400;
}

/* Collapse the template hero when there is no featured image */
body.tmw-no-hero #brx-content > section:first-of-type {
  display: none;
}

body.tmw-no-hero #brx-content > section:first-of-type + section {
  padding-top: var(--tmw-space-l);
}

/* Hero overlay: band under the header */
:is(
  body.single-benefit,
  body.single-initiative,
  body.home,
  body.page-id-34,
  body.page-id-136,
  body.page-id-2000,
  body.page-id-126
):not(.tmw-bricks-built) #brx-content > section:first-of-type::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to bottom, rgba(0, 10, 60, 0.3) 0%, rgba(0, 0, 0, 0) 100%);
  background-size: 100% 200px;
  background-repeat: no-repeat;
  background-position: top;
  pointer-events: none;
}

/* Heroes in normal flow must contain the overlay */
:is(body.home, body.page-id-34) #brx-content > section:first-of-type {
  position: relative;
}

/* /how-to-learn-tm/: second gradient at the foot of the hero */
body.page-id-34 #brx-content > section:first-of-type::before {
  background-image:
    linear-gradient(to bottom, rgba(0, 10, 60, 0.3) 0%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(to top, rgba(0, 10, 60, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
  background-size: 100% 200px, 100% 100%;
  background-position: top, bottom;
}

/* [tmw_blog_archive] on /blog-archive/ */
.tmw-blog-archive {
  margin: 0;
  padding-left: 48px;
  list-style: disc;
}

.tmw-blog-archive li {
  margin: 0;
  line-height: 1.8;
}

.tmw-blog-archive a {
  color: var(--tmw-link);
  text-decoration: underline;
}

.tmw-blog-archive a:hover {
  text-decoration: none;
}

/* "What is TM" boxes: whole box clickable */
.brxe-block:has(> a.bricks-link-wrapper > svg.brxe-svg):has(> :is(h2, h3, h4, h5)) {
  position: relative;
  transition: box-shadow 0.45s ease-in-out;
}

.brxe-block:has(> a.bricks-link-wrapper > svg.brxe-svg):has(> :is(h2, h3, h4, h5)) > a.bricks-link-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* Video cards: thumbnail opens the Vimeo lightbox */
.brxe-block:has(> .brxe-video):has(> a.bricks-lightbox) {
  position: relative;
}

.brxe-block:has(> .brxe-video):has(> a.bricks-lightbox) > a.bricks-lightbox::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* Migrated from Bricks > Theme Styles > Custom CSS */
body h5, body h6 { font-family: "Work Sans", "Helvetica Neue", Arial, sans-serif; }
b, strong { font-weight: var(--tmw-weight-bold); }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

/* Blockquote rule */
blockquote {
  font-family: "Merriweather", Georgia, "Times New Roman", serif;
  font-size: var(--tmw-text-s);
  border-left: 1px solid var(--tmw-border);
  padding-left: var(--tmw-space-l);
  margin-block: var(--tmw-space-l);
}

/* /research/: smaller quote text */
body.page-id-2358 blockquote {
  font-size: var(--tmw-text-xs);
}

blockquote cite {
  font-family: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--tmw-text-xs);
  color: var(--tmw-ink-muted);
  opacity: 1;
  text-transform: uppercase;
  letter-spacing: var(--tmw-tracking-caps);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.title-white {
  color: var(--tmw-white);
}

.title-yellow {
  color: var(--tmw-gold-500);
}

/* Fee table */
.fee-table {
  width: 100%;
  border-collapse: collapse;
  margin-block: var(--tmw-space-l);
  font-family: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--tmw-text-s);
}

/* Fee table label strip */
.fee-table caption {
  caption-side: top;
  text-align: left;
  background-color: var(--tmw-teal-100);
  color: var(--tmw-ink);
  font-weight: 500;
  padding: var(--tmw-space-xs) var(--tmw-space-m);
}

.fee-table th,
.fee-table td {
  padding: var(--tmw-space-xs) var(--tmw-space-m);
  border-bottom: 1px solid var(--tmw-border);
  vertical-align: top;
  text-align: left;
}

/* Fee table first column */
.fee-table th[scope="row"] {
  font-weight: 400;
  color: var(--tmw-ink);
  width: 45%;
}

/* Fee table second column */
.fee-table td {
  color: var(--tmw-ink);
}

.fee-table tbody tr:last-child th,
.fee-table tbody tr:last-child td {
  border-bottom: 0;
}

/* Fee table zebra striping */
.fee-table tbody tr:nth-child(odd) {
  background-color: var(--tmw-surface);
}

/* Fee table stacks on narrow screens */
@media (max-width: 560px) {
  .fee-table,
  .fee-table caption,
  .fee-table tbody,
  .fee-table tr,
  .fee-table th,
  .fee-table td {
    display: block;
    width: auto;
  }
  .fee-table th[scope="row"] {
    width: auto;
    border-bottom: 0;
    padding-bottom: 0;
    font-weight: 500;
  }
  .fee-table td {
    padding-top: 0;
  }
  .fee-table tbody tr {
    border-bottom: 1px solid var(--tmw-border);
    padding-block: var(--tmw-space-xs);
  }
  .fee-table tbody tr:last-child {
    border-bottom: 0;
  }
}

/* Gravity Forms */
.gform_wrapper.gravity-theme input,
.gform_wrapper.gravity-theme select,
.gform_wrapper.gravity-theme label {
  font-family: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  padding: 0 10px !important;
}

.gform_wrapper.gravity-theme .gform_button {
	color: var(--tmw-teal-500);
  text-transform: uppercase;
  letter-spacing: .5px;
  font-family: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: var(--tmw-space-xs);
  text-decoration: none;
  box-shadow: 0 0 15px 0 #ffc41299;
  border-radius: 2px;
  background-color: var(--tmw-gold-500);
  padding: 10px 50px;
  transition: background-color .45s ease-in-out, color .45s ease-in-out, transform .45s ease-in-out;
}

/* Content buttons: production geometry */
.wp-block-buttons .wp-block-button__link {
  color: var(--tmw-teal-500);
  text-transform: uppercase;
  letter-spacing: normal;
  font-family: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1;
  text-decoration: none;
  box-shadow: 3px 3px 10px 0 #ffc41299;
  border-radius: 2px;
  background-color: var(--tmw-gold-500);
  padding: 10px 20px 11px;
  transition: background-color .45s ease-in-out, color .45s ease-in-out, transform .45s ease-in-out;
}

.gform_wrapper.gravity-theme .gform_button:hover,
.wp-block-buttons .wp-block-button__link:hover {
  background-color: #ffcc30;
  transform: scaleX(1.03) scaleY(1.03);
}

/* Gravity Forms: the remaining field types */
.gform_wrapper.gravity-theme textarea,
.gform_wrapper.gravity-theme legend,
.gform_wrapper.gravity-theme .gfield_description {
  font-family: "Work Sans", "Helvetica Neue", Arial, sans-serif;
}

.gform_wrapper.gravity-theme textarea,
.gform_wrapper.gravity-theme legend {
  padding-inline: 10px !important;
}

/* Mini Magazines */
.brxe-post-content .sectionBeige {
  padding: 40px 0;
  border-top: 1px solid var(--tmw-border);
  border-bottom: 1px solid var(--tmw-border);
}
.brxe-post-content .sectionBeige--filled {
  background-color: #fbf9f4;
  padding: 40px;
}
.brxe-post-content .sectionBeige--thin {
  border-top-width: 1px;
  border-bottom-width: 1px;
}
.brxe-post-content .sectionBeige .wp-block-group__inner-container *:first-child,
.brxe-post-content .sectionGreen .wp-block-group__inner-container *:first-child {
  margin-top: 0 !important;
}
.brxe-post-content .sectionBeige .wp-block-group__inner-container .wp-block-image:first-child figure,
.brxe-post-content .sectionGreen .wp-block-group__inner-container .wp-block-image:first-child figure {
  margin-top: 0 !important;
}

/* Coloured band whose only content is a heading */
:is(.brxe-post-content, .brxe-text) .wp-block-group.has-background .wp-block-group__inner-container > :is(h1, h2, h3, h4, h5, h6):only-child {
  margin-bottom: 0;
}

.brxe-post-content h2 {
  font-size: var(--tmw-text-l);
}
.brxe-post-content h3 {
  font-size: var(--tmw-text-m);
  color: var(--tmw-teal-500);
}
.brxe-post-content h3 a {
  color: var(--tmw-teal-500);
}

.brxe-post-content h2 a,
.brxe-post-content h3 a,
.brxe-post-content h4 a {
  text-decoration: none !important;
}

.brxe-post-content .sectionGreen {
  background-color: #487f84;
  color: #fff;
  padding: 40px;
}
.brxe-post-content .sectionGreen a { color: #d6eeff; }
.brxe-post-content .sectionGreen h2,
.brxe-post-content .sectionGreen h3,
.brxe-post-content .sectionGreen h2 strong,
.brxe-post-content .sectionGreen h3 strong { color: #fde5c6; }

.brxe-post-content p.temp-title {
  color: #d58b2d;
  font-size: 25px;
  margin-bottom: 0 !important;
  text-decoration: underline;
  text-underline-offset: 35px;
  text-decoration-thickness: 1px;
}
.brxe-post-content p.temp-title-2 {
  color: #d58b2d;
  font-size: 25px;
  margin-bottom: -20px !important;
}

.brxe-post-content .wp-block-separator,
.brxe-post-content hr {
  height: 1px;
  background-color: var(--tmw-border);
  clear: both;
  border: 0;
  padding: 0;
  margin-bottom: 3rem;
}

.brxe-post-content hr.wp-block-separator.wp-block-separator {
  margin-top: 3rem;
}
.brxe-post-content hr.smaller-hr { height: 1px !important; }

.brxe-post-content .wp-block-group {
  display: flow-root;
}

.brxe-post-content hr.wp-block-separator.is-style-clear {
  margin-bottom: 0;
  background-color: transparent;
  opacity: 0;
}
.brxe-post-content hr.wp-block-separator.is-style-blue {
  height: 3px;
  background-color: #088d94;
}

/* Separators using the palette "button" colour */
.brxe-post-content hr.wp-block-separator.has-button-color {
  color: var(--tmw-gold-500);
}
.brxe-post-content hr.wp-block-separator.has-button-background-color {
  height: 2px;
  background-color: var(--tmw-gold-500);
}

/* Separator block styles (is-style-wide / -wideShort / -rule) */
.brxe-post-content hr.wp-block-separator.is-style-wideTall.is-style-wideTall {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.brxe-post-content hr.wp-block-separator.is-style-wideShort.is-style-wideShort {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.brxe-post-content hr.wp-block-separator.is-style-rule.is-style-rule {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.brxe-post-content div.small-divider.small-divider {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
  margin-bottom: 3rem;
}
/* Magazine small divider */
.brxe-post-content .small-divider .small-divider-line {
  height: 1px;
  background-color: #e1c29a;
  width: 50%;
}

/* Home testimonial slider: arrows outside the slide (desktop only) */
@media (min-width: 992px) {
  #brxe-vkkmtb .splide__arrow--prev {
    left: -70px;
  }
  #brxe-vkkmtb .splide__arrow--next {
    right: -70px;
  }
}

/* .orange-button matches the Bricks Orange Button component */
a.orange-button.orange-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6.4px 12.8px;
  border-radius: 2px;
  background-color: var(--tmw-gold-500);
  box-shadow: 0 0 15px 0 #ffc41299;
  color: var(--tmw-teal-500);
  font-family: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--tmw-space-xs);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: .5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .45s ease-in-out, color .45s ease-in-out, transform .45s ease-in-out;
}

a.orange-button.orange-button:hover {
  background-color: #ffcc30;
  color: var(--tmw-teal-500);
  text-decoration: none;
  transform: scaleX(1.03) scaleY(1.03);
}
