:where(.wp-site-blocks *:focus){outline-width:2px;outline-style:solid}

/* VARIABLES */
:root {
  /* COLOURS */
  /* Primary brand colour - pink */
  --color-primary: #ff006e;
  --color-primary-mid: #ff80b7;
  --color-primary-light: #ffe5f0;

  /* Secondary brand colour - green */
  --color-secondary: #077a57;
  --color-secondary-mid: #83bdab;
  --color-secondary-light: #e6f2ee;

  /* Tertiary brand colour - purple */
  --color-tertiary: #7b617a;
  --color-tertiary-alt: #685268; /* accessible for text */
  --color-tertiary-mid: #b0a0af;
  --color-tertiary-light: #cac0ca;

  /* Neturals */
  --color-black: #1e1e1e;
  --color-grey-darkest: #454545;
  --color-grey-dark: #555;
  --color-grey-mid: #767676;
  --color-grey: #b7b7b7;
  --color-grey-base: #d6d6d6;
  --color-grey-light: #e0e0e0;
  --color-grey-lighter: #ebebeb;
  --color-grey-lightest: #f5f5f5;
  --color-white: #fff;

  /* BORDER RADIUS */
  --border-radius-large: 38px;
  --border-radius-medium: 16px;
  --border-radius-small: 12px;

  /* BORDER WIDTH */
  --border-width: 5px;
  --border-width-small: 2px;

  /* SPACING */
  --spacing-largest: 100px;
  --spacing-large: 60px;
  --spacing-medium: 46px;
  --spacing: 24px;
  --spacing-small: 20px;
  --spacing-smallest: 12px;

  /* GRID */
  --grid-desktop: repeat(12, 1fr);
  --grid-desktop-gap: 24px;
  --grid-tablet: repeat(8, 1fr);
  --grid-mobile: repeat(4, 1fr);
  --grid-mobile-gap: var(--spacing-small);

  /* CONTENT WIDTH */
  --content-desktop: 1224px;
  --content-mobile: 320px;

  /* MISCELLANEOUS */
  --boxshadow: 2px 2px 3px var(--color-grey-base);
  --transition: all 300ms;
  --opacity: .5;
  --line-height: 1.5em;
}

/* ROOT */
.page-template ::-moz-selection { background: var(--color-primary); color: #fff; }
.page-template ::selection { background: var(--color-primary);  color: #fff;  }
.page-template :focus { outline-color: var(--color-primary);  color: #fff;  }

:root :where(.is-layout-flow) > *, 
:root :where(.is-layout-constrained) > * {
  margin-top: 0;
}

:root :where(.main .is-layout-flow) > *, 
:root :where(.main .is-layout-constrained) > * {
  margin-top: 1em;
}

html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--color-white);
  color: var(--color-black);
  font-family: "Onest", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
  line-height: var(--line-height);
  overflow-wrap: break-word;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: var(--grid-desktop);
  grid-column-gap: var(--spacing);
  grid-row-gap: var(--spacing);
}

@media only screen and (max-width: 767px) {
  .grid {
    grid-template-columns: var(--grid-mobile);
    grid-column-gap: var(--spacing-small);
    grid-row-gap: var(--spacing-small);
  }
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-style: normal;
}

h1,
h2,
h3 {
  font-family: "larken", sans-serif;
  font-weight: 400;
  line-height: 1.25em;
}

h4,
h5,
h6,
.section h2,
.section h3,
.section-wrapper h2,
.section-wrapper h3,
.aside h2,
.aside h3 {
  font-family: "Onest", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  line-height: var(--line-height);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 1.875rem;
}

h3 {
  font-size: 1.5rem;
}

.section h3,
.section-wrapper h3,
.aside h3,
h4,
h5,
h6 {
  color: var(--color-grey-darkest);
}

h4,
.section h2,
.section-wrapper h2,
.aside h2 {
  font-size: 1.5rem;
}

h5,
.section h3,
.section-wrapper h3,
.aside h3 {
  font-size: 1.25rem;
}

h6,
.section h4,
.section-wrapper h4,
.aside h4 {
  font-size: 1.0625rem;
}

h5,
h6 {
  font-weight: 600;
  font-size: 1rem;
}

p {
  font-size: 1rem;
  line-height: var(--line-height);
}

b, 
strong {
  font-family: "Onest", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

small {
  font-size: .8125rem;
  line-height: 1em;
}

u {
  text-decoration: none;
  background: linear-gradient(0deg, var(--color-grey-light) 0, var(--color-grey-light) 100%);
  background-position: 0 100%;
  background-repeat: repeat-x;
  background-size: 5px 5px;
  padding-bottom: -1px;
}

blockquote {
  border-left: var(--border-width) solid var(--color-secondary);
  padding: 0 0 0 var(--spacing-small);
  margin-left: 0;
  border-radius: 0;
}

blockquote p,
blockquote ul {
  font-size: 1.125rem;
  line-height: var(--line-height);
  font-family: "Onest", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

@media only screen and (max-width: 599px) {
  h6,
  p,
  .section h4,
  .section-wrapper h4,
  .aside h4,
  .section h5,
  .aside h5 {
    font-size: .875rem;
    line-height: var(--line-height);
  }
}

@media only screen and (max-width: 1023px) {
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.375rem;
    line-height: 1.25em;
  }

  h3 {
    font-size: 1.125rem;
    line-height: 1.25em;
  }

  h4,
  .section h2,
  .section-wrapper h2,
  .aside h2 {
    font-size: 1.125rem;
    line-height: 1.5em;
  }

  h5,
  .section h3,
  .section-wrapper h3,
  .aside h3 {
    font-size: 1rem;
    line-height: var(--line-height);
  }

  small {
    font-size: .8125em;
    line-height: .875em;
  }

  blockquote p,
  blockquote ul {
    font-size: 1rem;
    line-height: var(--line-height);
  }
}

@media only screen and (min-width: 600px) and (max-width: 767px) {
  h2 {
    font-size: 1.5rem;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
  h2 {
    font-size: 1.625rem;
  }
}

@media only screen and (min-width: 600px) and (max-width: 1023px) {
  h5,
  .section h3,
  .section-wrapper h3,
  .aside h3 {
    font-size: 1rem;
  }

  h6,
  p,
  .section h4,
  .section-wrapper h4,
  .aside h4,
  .section h5,
  .section-wrapper h5,
  .aside h5 {
    font-size: 1rem;
  }
}

/* LINKS */
a {
  color: var(--color-tertiary-alt);
  text-decoration: none;
  font-family: "Onest", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  background: linear-gradient(0deg, #ece9ec 0, #ece9ec 100%);
  background-position: 0 100%;
  background-repeat: repeat-x;
  background-size: 5px 5px;
  transition: background-size .6s;
  padding-bottom: 1px;
}

a:hover {
  background-size: 5px 60px;
}

a u {
  color: var(--color-grey-darkest);
  transition: background-size .6s;
}

a u:hover {
  background: linear-gradient(0deg, var(--color-grey-light) 0, var(--color-grey-light) 100%);
  background-size: 5px 60px;
}

/* BUTTONS */
.wp-block-button a,
.wp-block-button-secondary a,
.wp-block-button-tertiary a,
.wp-block-button__secondary a,
.wp-block-button__tertiary a,
.wp-block-button.tertiary a {
  font-family: "Onest", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 1.125rem;
  line-height: 1.25em;
  background: var(--color-primary);
  color: var(--color-white);
  border: 0;
  border-radius: var(--border-radius-large);
  display: inline-block;
  padding: 15px 50px;
  margin-bottom: 10px;
  transition: var(--transition);
  text-align: center;
}

.wp-block-button a:hover {
  background: var(--color-primary-mid);
}

.wp-block-button-secondary a,
.wp-block-button__secondary a {
  background: var(--color-tertiary);
}

.wp-block-button-secondary a:hover,
.wp-block-button__secondary a:hover {
  background: var(--color-tertiary-mid);
}

.wp-block-button-tertiary a,
.wp-block-button__tertiary a,
.wp-block-button.tertiary a {
  color: var(--color-tertiary-alt);
  border: var(--border-width-small) solid var(--color-tertiary);
  background: var(--color-white);
  padding: 15px var(--spacing);
}

.wp-block-button-tertiary a:hover,
.wp-block-button__tertiary a:hover,
.wp-block-button.tertiary a:hover {
  color: var(--color-tertiary-light);
  border-color: var(--color-tertiary-light);
  background: var(--color-white);
}

@media only screen and (max-width: 767px) {
  .wp-block-button a,
  .wp-block-button-secondary a,
  .wp-block-button-tertiary a,
  .wp-block-button__secondary a,
  .wp-block-button__tertiary a,
  .wp-block-button.tertiary a {
    display: block;
    padding: .75em 1em;
    font-size: .875rem;
    text-align: center;
  }

  .wp-block-button-tertiary a,
  .wp-block-button__tertiary a,
  .wp-block-button.tertiary a {
    padding: .625em;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .wp-block-button a,
  .wp-block-button-secondary a,
  .wp-block-button-tertiary a,
  .wp-block-button__secondary a,
  .wp-block-button__tertiary a,
  .wp-block-button.tertiary a {
    padding: 12px 30px;
    font-size: 1rem;
  }
}

.aside .wp-block-button-tertiary a {
  padding: .5em 1em;
  font-size: .875rem;
  display: block;
}

@media only screen and (max-width: 767px) {
  .aside .wp-block-buttons {
    position: fixed;
    bottom: var(--spacing-small);
    right: var(--spacing-small);
    font-size: .75em;
    border-radius: 100px;
    max-width: 60px;
    z-index: 99999;
  }

  .aside .wp-block-button-tertiary a {
    font-size: .75rem;
  }
}

@media only screen and (min-width: 768px) {
  .aside .wp-block-buttons {
    display: block;
  }
}

/* IMAGES */
figure {
  padding: 0;
  margin: 0;
  line-height: 0;
  font-size: 0;
}

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

.main img {
  border-radius: var(--border-radius-medium);
  margin: 1em 0;
}

@media only screen and (max-width: 767px) {
  .main img {
    border-radius: var(--border-radius-medium);
    margin: .5em 0;
  }
}

/* LISTS */
.main ul, 
.main ol {
  margin: 1em 0;
  padding: 0;
}

.main ul,
.main ol,
.main ol[type='a'],
.main ol[type='A'] {
  padding-left: var(--spacing);
  counter-reset: item;
  list-style-type: none;
}

.main ul li ul,
.main ol li ol {
  margin-left: 0;
}

.main ul li,
.main ol li,
.main ol[type='a'] li,
.main ol[type='A'] li {
  display: block;
  line-height: var(--line-height);
  margin-bottom: 1em;
  position: relative;
}

.main ul li:first-child,
.main ol li:first-child,
.main ol[type='a'] li:first-child,
.main ol[type='A'] li:first-child {
  margin-top: 0;
}

.main ul li:last-child,
.main ol li:last-child,
.main ol[type='a'] li:last-child,
.main ol[type='A'] li:last-child {
  margin-bottom: 0;
}

.main ul li:before {
  color: var(--color-tertiary);
  content: '\2022';
  position: absolute;
  left: -24px;
  font-size: 1.75rem;
  top: 2px;
}

.main ol li:before {
  color: var(--color-tertiary);
  content: counter(item) ".  ";
  counter-increment: item;
  font-size: .75rem;
  font-family: "Onest", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;;
  position: absolute;
  top: 1px;
  left: -24px;
}

html:lang(ar) .main ul li:before,
html:lang(fa) .main ul li:before,
html:lang(ar) .main ol li:before,
html:lang(fa) .main ol li:before {
  right: -24px;
}

.main ol[type='a'] li:before {
  content: counter(item, lower-alpha) ".  ";
}

@media only screen and (max-width: 599px) {
  .main ul li,
  .main ol li,
  .main ol[type='a'] li,
  .main ol[type='A'] li {
    font-size: .875rem;
  }
}

@media only screen and (min-width: 600px) {
  .main ul li,
  .main ol li,
  .main ol[type='a'] li,
  .main ol[type='A'] li {
    font-size: 1rem;
  }
}

@media only screen and (max-width: 1023px) {
  .main ul, 
  .main ol {
    margin: 1em 0;
  }

  .main ul li:before,
  .main ol li:before {
    left: -20px;
  }

  html:lang(ar) .main ul li:before,
  html:lang(fa) .main ul li:before,
  html:lang(ar) .main ol li:before,
  html:lang(fa) .main ol li:before {
    right: -20px;
  }
}

/* FORMS */
input::-moz-focus-inner {
  border: 0;
  padding: 0
}

::placeholder,
::-ms-input-placeholder,
input[type='text']::-webkit-input-placeholder,
input[type='text']::-moz-placeholder,
input[type='text']:-ms-input-placeholder,
input[type='text']:-moz-placeholder,
input[type='textarea']::-webkit-input-placeholder,
input[type='textarea']::-moz-placeholder,
input[type='textarea']:-ms-input-placeholder,
input[type='textarea']:-moz-placeholder {
  color: var(--color-grey-base);
}

::placeholder {
  opacity: 1;
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 var(--spacing-medium) 0;
}

fieldset:last-of-type {
  margin-bottom: 0;
}

legend {
  font-family: "larken", sans-serif;
  font-weight: 400;
  font-size: 1.375rem;
  margin-bottom: .25em;
  padding: 0 0 .25em 0;
  border-bottom: 1px solid var(--color-grey-base);
  width: 100%;
}

label,
input[type='text']
input[type='textarea'] {
  font-family: "Onest", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

label {
  color: var(--color-black);
  font-size: 1rem;
  line-height: 1.25em;
  padding-top: 9px;
}

input[type='text'],
input[type='email'],
textarea {
  -webkit-appearance: none;
  border-radius: 8px;
  background: var(--colour-white);
  border: 1px solid var(--color-grey);
  color: var(--color-black);
  padding: 8px 12px;
  transition: var(--transition);
  font-family: "Onest", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: .875rem;
  line-height: var(--line-height);
}

input[type='text']:hover,
input[type='text']:focus,
input[type='email']:hover,
input[type='email']:focus,
textarea:hover,
textarea:focus {
  box-shadow: 2px 2px 3px var(--color-grey-light);
  outline: 0;
  border-color: var(--color-grey-mid);
  color: var(--color-black);
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: var(--color-white);
  border: 1px solid var(--color-grey);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: .875rem;
  color: var(--color-black) !important;
  cursor: pointer;
  outline: none;
  box-shadow: none;
  line-height: var(--line-height);
  font-family: "Onest", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  line-height: var(--line-height);
  background-image: url('/wp-content/themes/wow-blank-theme/images/select.png');
  background-repeat: no-repeat;
  background-position: right .5rem center;
  background-size: 1rem;
  padding-right: 2rem;
}

select option,
select:valid {
  color: var(--color-black);
}

select:focus {
  border-color: var(--color-grey-mid);
  box-shadow: 2px 2px 3px var(--color-grey-light);
}

.radio,
.checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
}

label.checkbox,
label.radio {
  font-weight: 400;
  width: 100% !important;
}

input[type="radio"],
input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio .custom-radio {
  width: 20px;
  height: 20px;
  border: 1px solid var(--color-grey);
  border-radius: 50%;
  display: inline-block;
  margin-right: 12px;
  position: relative;
  transition: border-color .3s ease;
}

.radio input:checked + .custom-radio {
  border-color: var(--color-black);
}

.radio input:checked + .custom-radio::before {
  content: '';
  width: 12px;
  height: 12px;
  background-color: var(--color-black);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.checkbox .custom-checkbox {
  width: 20px;
  height: 20px;
  border: 1px solid var(--color-grey);
  border-radius: 4px;
  display: inline-block;
  margin-right: 12px;
  position: relative;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.checkbox input:checked + .custom-checkbox {
  background-color: var(--color-black);
  border-color: var(--color-black);
}

.checkbox input:checked + .custom-checkbox::before {
  content: '\2713';
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 600;
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-52%, -50%);
}

input[type='submit'],
button[type='submit'] {
  font-family: "Onest", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 1.125rem;
  line-height: 1.25em;
  background: var(--color-primary);
  color: var(--color-white);
  border: 0;
  border-radius: var(--border-radius-large);
  display: inline-block;
  padding: 15px 50px;
  margin-bottom: 10px;
  transition: var(--transition);
  cursor: pointer;
}

input[type='submit']:hover,
button[type='submit']:hover {
  background: var(--color-primary-mid);
}

@media only screen and (max-width: 767px) {
  input[type='submit'],
  button[type='submit'] {
    padding: .75em 2em;
    font-size: 1rem;
  }
}

/* PAGNATION */
.wp-block-query-pagination {
  justify-content: center;
  margin: var(--spacing) 0 var(--spacing-small) 0 !important;
}

@media only screen and (min-width: 1024px) {
  .wp-block-query-pagination {
    margin: var(--spacing-medium) 0 0 0 !important;
  }
}

.wp-block-query-pagination .page-numbers {
  margin: 0 10px;
}

.wp-block-query-pagination a {
  background: none;
  margin: 0 10px;
  transition: var(--transition);
  color: var(--color-secondary);
}

.wp-block-query-pagination a:hover {
  color: var(--color-secondary-mid);
}

@media only screen and (max-width: 767px) {
  .wp-block-query-pagination a {
    font-size: .875rem;
  }
}

/* MISCELLANEOUS */
hr {
  height: 2px;
  width: 100%;
  background: var(--color-grey-base);
  margin: 1em 0 !important;
  border: 0;
}

/* LAYOUT */
.wrapper {
  margin: 0 auto;
  max-width: var(--content-desktop);
  padding: 0 var(--spacing-small);
  box-sizing: content-box;
}

@media only screen and (min-width: 768px) {
  .promotedcontent .cardwrapper,
  .page-template-home-template .promotedcontent .wrapper,
  .cta .wrapper {
    display: grid;
    grid-template-columns: var(--grid-desktop);
    grid-column-gap: var(--grid-desktop-gap);
  }
}

.main {
  padding: var(--spacing-smallest) 0;
  margin: var(--spacing-smallest) 0;
}

.page-template-landing-template .main {
  margin-top: var(--spacing);
  margin-bottom: var(--spacing);
}

@media only screen and (min-width: 768px) {
  .page-template-landing-template .aside,
  .page-template-order-template .aside,
  .page-template-aboutwow-template .aside,
  .page-template-aboutpills-template .aside {
    position: sticky;
    top: var(--spacing);
    align-self: start;
  }

  .page-template-order-template .main,
  .page-template-future-template .main {
    margin-top: var(--spacing) !important;
  }
}

.main .wrapper {
  display: flex;
  flex-direction: column-reverse;
}

.main h2 + img,
.main h3 + img {
  margin-top: 2em;
}

.main p:last-of-type {
  margin-bottom: 0;
}

.aside {
  margin-top: 0 !important;
}

.section-wrapper {
  margin-bottom: 30px !important;
}

.section h2,
.aside h2 {
  margin-top: 1em;
}

.section > h2 {
  margin-top: 0;
}

.section h2 + h3 {
  margin-top: var(--spacing-smallest);
}

.main p:last-of-type + .wp-block-button,
.main .wp-block-buttons {
  margin-top: var(--spacing-smallest);
}

.main .wp-block-buttons + h3 {
  margin-top: var(--spacing-smallest);
}

.page-template-landing-template .section p + h2 {
  margin-top: 1em;
}

@media only screen and (max-width: 767px) {
  .main h2 + img,
  .main h3 + img {
    margin-top: 1.5em;
  }
}

@media only screen and (min-width: 768px) {
  .main {
    padding: var(--spacing) 0;
    margin: var(--spacing) 0;
  }

  .main .wrapper {
    display: grid;
    grid-template-columns: var(--grid-desktop);
    grid-column-gap: var(--grid-desktop-gap);
    grid-row-gap: var(--grid-desktop-gap);
  }

  .main .section-wrapper,
  .main article,
  .main .article {
    grid-column: 1 / 8;
  }

  .main:has(.aside) .section-wrapper,
  .main:has(.aside) article,
  .main:has(.aside) .article {
    grid-column: 1 / 7;
  }

  .section {
    margin-bottom: var(--spacing-medium) !important;
  }

  .section:last-of-type {
    margin-bottom: 1em !important;
  }

  .aside:has(*) {
    grid-column: 8 / 13;
  }

  .aside:not(:has(*)) {
    display: none;
  }

  .main p:last-of-type + .wp-block-button,
  .main .wp-block-buttons {
    margin-top: var(--spacing-small);
  }
}

@media only screen and (min-width: 1024px) {
  .main {
    padding: var(--spacing-medium) 0 var(--spacing-large) 0;
  }

  .section-wrapper:has(*),
  article:has(*),
  .article:has(*) {
    grid-column: 1 / 8;
  }

  .section {
    margin-bottom: var(--spacing-large) !important;
  }

  .section:last-of-type {
    margin-bottom: 1em !important;
  }

  .aside:has(*) {
    grid-column: 9 / 13;
  }

  .main p:last-of-type + .wp-block-button,
  .main .wp-block-buttons {
    margin-top: var(--spacing);
  }
}

@media only screen and (min-width: 1200px) {
  .aside:has(*) {
    padding-left: 40px;
  }
}

/* HEADER */
@media only screen and (max-width: 599px) {
  header {
    position: sticky;
    top: 0;
    z-index: 9999;
  }
}

header,
header .has-base-background-color {
  background: var(--color-grey-lightest);
}

.quickesc {
  background: var(--color-primary);
  color: var(--color-white);
  text-align: right;
}

.quickesc a {
  color: var(--color-white);
  padding: 0;
  font-size: .875rem;
  background: linear-gradient(0deg, var(--color-primary-mid) 0, var(--color-primary-mid) 100%);
  background-position: 0 100%;
  background-repeat: repeat-x;
  background-size: 2px 2px;
  font-weight: 500;
  transition: var(--transition);
}

.quickesc a:hover {
  opacity: var(--opacity);
}

.logo .wrapper {
  display: flex;
  padding: var(--spacing-small);
  align-items: center;
}

.wp-block-polylang-language-switcher select {
  border-radius: var(--border-radius-large);
  border-color: var(--color-grey-mid);
  padding: 6px 16px 6px 36px;
  line-height: 1.25em;
  font-family: "Onest", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  background: var(--color-white) url('/wp-content/themes/wow-blank-theme/images/language.png') 12px center no-repeat;
  background-size: 18px 18px;
  transition: var(--transition);
}

.wp-block-polylang-language-switcher select:hover {
  background-color: var(--color-grey-light);
}

.wp-block-site-logo a {
  transition: var(--transition);
  background: none;
}

.wp-block-site-logo a:hover {
  opacity: var(--opacity);
}

.logo .wp-block-site-logo.is-default-size img {
  width: 155px;
}

.logo .wp-block-button a {
  font-size: .875rem;
  background: var(--color-white);
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  padding: 6px 16px;
  font-weight: 600;
  margin-bottom: 0;
}

.logo .wp-block-button a:hover {
  background: var(--color-primary-light);
}

@media only screen and (max-width: 599px) {
  .mobile-wrapper,
  .mobilewrapper {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-small);
  }

  .logo {
    display: flex;
    justify-content: space-between;
    flex: 1;
  }

  .logo .wrapper {
    padding: 0;
    width: 100%;
    justify-content: space-between;
  }

  .logo .wp-block-button a {
    display: none;
  }

  nav {
    align-items: flex-end;
    margin-left: var(--spacing-small);
  }

  .wp-block-polylang-language-switcher {
    order: 2;
  }
}

@media only screen and (min-width: 600px) {
  .logo .wrapper {
    flex-direction: row;
  }

  .logo .wp-block-polylang-language-switcher,
  .logo .wp-block-site-logo,
  .logo .wp-block-buttons {
    flex: 1;
  }

  .logo .wp-block-polylang-language-switcher,
  .logo .wp-block-site-logo {
    display: flex;
  }

  .logo .wp-block-polylang-language-switcher {
    justify-content: flex-start;
  }

  .logo .wp-block-site-logo {
    justify-content: center;
  }

  .logo .wp-block-buttons {
    justify-content: flex-end;
  }
}

@media only screen and (min-width: 600px) and (max-width: 767px) {
  .logo .wp-block-site-logo.is-default-size img {
    width: 240px;
  }
}

@media only screen and (min-width: 768px) {
  .logo .wp-block-site-logo.is-default-size img {
    width: 300px;
  }
}

/* NAVIGATION */
@media only screen and (max-width: 599px) {
  .wp-block-navigation__responsive-container-close:hover,
  .wp-block-navigation__responsive-container-open:hover {
    transition: var(--transition);
  }

  .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__responsive-container-content {
    padding-top: var(--spacing-large);
  }

  .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__responsive-container-close {
    padding: 18px var(--spacing);
  }

  .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__responsive-container-close, 
  .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__responsive-container-open {
    color: var(--color-black);
  }

  .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__responsive-container-close:hover, 
  .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__responsive-container-open:hover,
  .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__responsive-container-close:focus, 
  .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__responsive-container-open:focus,
  .wp-block-navigation__responsive-container-open:hover,
  .wp-block-navigation__responsive-container-open:focus {
    color: var(--color-primary);
  }

  .wp-block-navigation__responsive-container.has-modal-open {
    background: var(--color-grey-lighter) !important;
    padding: 0;
  }

  .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__responsive-container-content {
    border: 0;
  }

  .wp-block-navigation__responsive-container.has-modal-open ul {
    display: block !important;
    width: 100%;
    padding: 0;
  }

  .wp-block-navigation__responsive-container.has-modal-open ul:focus,
  .wp-block-navigation__responsive-container.has-modal-open li:focus,
  .wp-block-navigation__responsive-container.has-modal-open li a:focus {
    outline: none;
  }

  .wp-block-navigation__responsive-container.has-modal-open li {
    border-bottom: 1px solid var(--color-white);
  }

  .wp-block-navigation__responsive-container.has-modal-open li:last-of-type {
    border-bottom: 0;
  }

  .wp-block-navigation__responsive-container.has-modal-open li a {
    padding: 16px var(--spacing) !important;
    color: var(--color-black) !important;
    background: none;
    border: 0;
    text-transform: none;
    font-size: 1.125rem;
    display: block;
    width: 100%;
    box-sizing: border-box;
    transition: none;
    background: none !important;
  }

  .wp-block-navigation__responsive-container.has-modal-open li a:hover {
    background: var(--color-primary) !important;
    color: var(--color-white) !important;
  }

  .has-modal-open .wp-block-navigation__responsive-container-content > ul:first-of-type > li:last-child {
    padding: 16px var(--spacing) !important;
  }

  .has-modal-open .wp-block-navigation__responsive-container-content > ul:first-of-type > li:last-child a {
    background: var(--color-primary);
    color: var(--color-white) !important;
    border-radius: var(--border-radius-large);
    text-align: center;
    padding: 10px 16px !important;
    box-sizing: border-box;
    border: 2px solid var(--color-primary);
    transition: var(--transition);
    text-transform: none;
    font-size: 1.125rem;
    display: block;
    width: 100%;
  }

  .wp-block-navigation__responsive-container-content > ul:first-of-type > li:last-child a:hover {
    background: var(--color-white) !important;
    color: var(--color-primary) !important;
  }

  .wp-block-navigation__responsive-container.has-modal-open li.has-child {
    padding-bottom: 0;
  }

  .wp-block-navigation__responsive-container.has-modal-open li.has-child a {
    padding-bottom: 16px !important;
  }

  .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__submenu-container {
    padding: 0 !important;
    width: 100% !important;
  } 

  .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__submenu-container li a {
    padding-left: 32px !important;
  }

  .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__submenu-container li:first-of-type {
    border-top: 1px solid var(--color-white);
  }

  .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__submenu-container li:last-of-type {
    border-bottom: 0;
  }

  .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content span {
    font-weight: 400;
    font-size: .875rem;
  } 
}

@media only screen and (min-width: 600px) {
  header .wp-block-navigation-link:last-of-type {
    display: none;
  }

  header .wp-block-navigation__submenu-container .wp-block-navigation-link:last-of-type {
    display: block;
  }

  header .wp-block-navigation__responsive-container-content {
    margin: 0 auto;
    max-width: var(--content-desktop);
    text-transform: uppercase;
    padding: 19px 0 var(--spacing-small) 0;
    border-top: 1px solid var(--color-grey);
  }

  header .wp-block-navigation__responsive-container-content a {
    color: var(--color-primary);
  }

  header .wp-block-navigation__container {
    justify-content: center;
    gap: 10px;
  }

  header .wp-block-navigation__container li {
    padding: 0 15px;
  }

  header .wp-block-navigation-item__content {
    background: linear-gradient(0deg, var(--color-grey-lightest) 0, var(--color-grey-lightest) 100%);
    background-position: 0 100%;
    background-repeat: repeat-x;
    background-size: 5px 5px;
    transition: all .8s;
  }

  header .wp-block-navigation-item__content:hover {
    color: var(--color-tertiary-alt) !important;
    background: linear-gradient(0deg, var(--color-tertiary-light) 0, var(--color-tertiary-light) 100%);
    background-position: 0 100%;
    background-repeat: repeat-x;
    background-size: 5px 5px;
  }

  header .wp-block-navigation .wp-block-navigation__submenu-icon {
    margin-top: -3px;
    padding-left: 4px;
  }

  header .wp-block-navigation__submenu-container {
    text-transform: none;
    border: 0 !important;
    background: var(--color-grey-lightest) !important;
    border-bottom-right-radius: var(--border-radius-small);
    border-bottom-left-radius: var(--border-radius-small);
    padding: 0 !important;
    display: block;
    border-bottom: 2px solid var(--color-grey-base) !important;
  }

  header .wp-block-navigation__submenu-container a {
    font-weight: 500 !important;
    padding: 0 !important;
    flex-grow: 0 !important;
    background: none !important;
    margin: 8px 0 !important;
    display: flex !important;
  }

  header .wp-block-navigation__submenu-container a:last-of-type {
    margin-bottom: 4px !important;
  }

  header .wp-block-navigation__submenu-container a:hover,
  header .wp-block-navigation__submenu-container .current-menu-item a,
  header .wp-block-navigation__submenu-container .current-menu-item a:hover span {
    background: none !important;
  }

  header .wp-block-navigation__submenu-container a span {
    text-decoration: underline;
    text-decoration-color: var(--color-grey-lightest);
    text-decoration-thickness: 3px;
    text-underline-offset: 2px;
    transition: border 400ms ease !important;
  }

  header .wp-block-navigation__submenu-container a:hover span {
    text-decoration-color: var(--color-tertiary-light);
  }

  header .wp-block-navigation__submenu-container li:first-child {
    padding-left: 15px !important;
    margin-top: 10px;
  }

  header .wp-block-navigation__submenu-container li:last-child {
    margin-bottom: 10px;
  }

  .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content,
  .wp-block-navigation .wp-block-navigation__submenu-icon,
  .wp-block-navigation .current-menu-item .wp-block-navigation__submenu-container .wp-block-navigation-item__label {
    color: var(--color-black);
  }

  header .wp-block-navigation .wp-block-navigation-item__content.current-menu-ancestor,
  header .wp-block-navigation .wp-block-navigation-item__content.current-menu-ancestor:hover {
    color: var(--color-secondary) !important;
    background: linear-gradient(0deg, #bbd7cd 0, #bbd7cd 100%);
    background-position: 0 100%;
    background-repeat: repeat-x;
    background-size: 5px 5px;
  }
}

/* FOOTER */
footer {
  background: var(--color-black);
  color: var(--color-white);
  padding: var(--spacing) 0;
  margin-top: 0;
}

footer h2 {
  font-family: "Onest", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-size: 1.125rem;
  color: var(--color-white);
}

footer ul {
  margin: 0;
  padding: 0;
}

footer ul li {
  margin-bottom: var(--spacing-smallest);
}

footer ul li:last-of-type {
  margin-bottom: 0;
}

footer li:before {
  display: none;
}

footer .wp-block-navigation__container {
  margin-top: 10px;
  display: block;
}

footer .wp-block-navigation-item__content {
  background: none;
}

footer .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content {
  color: var(--color-white);
}

footer .submenu {
  margin-left: 10px;
}

footer .submenu a,
footer .contact a {
  font-weight: 400;
}

footer nav li:not(.parent) a span,
footer .contact a span,
footer .email a {
  text-decoration: underline;
  text-decoration-color: var(--color-black);
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
  transition: var(--transition);
  color: var(--color-white);
} 

footer nav li:not(.parent) a span:hover,
footer .contact a span:hover,
footer .email a:hover {
  color: var(--color-tertiary-light);
  text-decoration-color: var(--color-tertiary-light);
}

footer .email,
footer .social {
  margin-top: var(--spacing);
}

footer .email p {
  margin-top: 10px;
}

footer .email a {
  background: none;
  border-color: var(--color-white);
}

footer .wp-block-buttons a {
  background: var(--color-primary);
}

footer .wp-block-buttons a:hover {
  background: var(--color-primary-mid);
}

footer .copyright p,
footer .copyright ul {
  margin-top: var(--spacing);
  font-size: .875rem;
  line-height: 1.25rem;
}

@media only screen and (max-width: 767px) {
  footer .site-logo,
  footer .wp-block-buttons {
    margin-bottom: var(--spacing-smallest);
  }

  footer .logo {
    width: 200px;
  }

  footer .content {
    display: flex;
    flex-direction: column;
  }

  footer nav {
    margin-left: 0;
  }

  footer .wp-block-buttons {
    order: 1;
    margin: var(--spacing) 0 var(--spacing-small) 0 !important;
  }

  footer .wp-block-buttons a {
    padding: 10px var(--spacing-small);
  }

  footer .navigation,
  footer .contact {
    margin-bottom: var(--spacing);
  }

  footer .navigation {
    order: 2;
  }

  footer .contact {
    order: 3;
  }

  footer .copyright,
  footer .contact {
    column-count: 1;
  }

  footer .navigation .wp-block-navigation__container {
    column-count: 2;
  }

  footer .copyright {
    display: flex;
    flex-direction: column-reverse;
  }

  footer .copyright p {
    margin-top: 0;
  }

  footer .wp-block-navigation-item__content,
  footer .copyright p {
    font-size: .875rem;
  }

  footer .wp-block-navigation-item__content {
    padding: 3px 0;
  } 

  footer .copyright ul {
    margin-top: 0;
    margin-bottom: var(--spacing);
  }

  footer .copyright li {
    padding-bottom: 5px;
  } 
}

@media only screen and (min-width: 768px) {
  footer {
    padding: 30px 0 var(--spacing) 0;
  }

  footer .logo {
    width: 260px;
  } 

  footer h2 {
    font-size: 1.25rem;
  }

  footer .content {
    display: grid;
    grid-template-columns: var(--grid-desktop);
    grid-column-gap: var(--grid-desktop-gap);
    padding-top: var(--spacing);
    grid-column: 1 / 13;
  }

  footer .navigation {
    grid-column: 1 / 5;
  }

  footer .contact {
    grid-column: 6 / 10;
  }

  footer .email,
  footer .social {
    margin-top: var(--spacing-medium);
  }

  footer .wp-block-buttons {
    grid-column: 10 / 13;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
  } 

  footer .wp-block-buttons a {
    padding: 13px 35px;
  } 

  footer .copyright {
    margin-top: var(--spacing-medium);
    display: flex;
    justify-content: space-between;
    grid-column: 1 / 13;
  } 

  footer .copyright p {
    margin-top: var(--spacing) !important;
  }

  footer .copyright .wp-block-navigation .wp-block-navigation-item {
    display: inline-block;
  }

  footer .copyright li {
    padding-left: var(--spacing);
  }
}

@media only screen and (min-width: 1024px) {
  footer {
    padding: var(--spacing-large) 0;
  }

  footer .content {
    padding-top: var(--spacing-medium);
  }

  footer .logo {
    width: 320px;
  }

  footer .content .wp-block-navigation__container {
    column-count: 2;
  }

  footer .contact .wp-block-navigation__container {
    column-count: 1;
  }
}

.social .content {
  margin-top: var(--spacing-smallest);
  padding-top: 0;
}

.social .content a {
  display: inline-block !important;
  transition: var(--transition);
  text-indent: -9999em;
  overflow: hidden;
  height: 21px;
  width: 20px;
  vertical-align: middle;
}

.social .content a:first-of-type {
  margin-left: 0;
}

.social .content a:last-of-type {
  margin-right: 0;
}

.social .content a:hover {
  opacity: var(--opacity);
  border-bottom-color: var(--color-black);
}

.social .content .facebook {
  background: transparent url('/wp-content/themes/wow-blank-theme/images/facebook.png') no-repeat;
  background-size: 100% 100%;
}

.social .content .twitter {
  background: transparent url('/wp-content/themes/wow-blank-theme/images/twitter.png') no-repeat;
  background-size: 100% 100%;
}

.social .content .twitter {
  background: transparent url('/wp-content/themes/wow-blank-theme/images/twitter.png') no-repeat;
  background-size: 100% 100%;
}

.social .content .instagram {
  background: transparent url('/wp-content/themes/wow-blank-theme/images/instagram.png') no-repeat;
  background-size: 100% 100%;
}

.social .content .linkedin {
  background: transparent url('/wp-content/themes/wow-blank-theme/images/linkedin.png') no-repeat;
  background-size: 100% 100%;
  width: 21px;
}

.social .content .pinterest {
  background: transparent url('/wp-content/themes/wow-blank-theme/images/pinterest.png') no-repeat;
  background-size: 100% 100%;
  width: 15px;
  height: 19px;
}

@media only screen and (max-width: 767px) {
  .social .content {
    display: flex;
    flex-direction: row;
    gap: var(--spacing-smallest);
  }
}

/* BREADCRUMBS */
.breadcrumbs {
  padding: 12px 0 10px 0;
  background: var(--color-grey-lighter);
}

.breadcrumbs,
.breadcrumbs p {
  margin: 0;
  font-size: .875rem;
}

.breadcrumbs a {
  color: var(--color-grey-dark);
  text-decoration: underline;
  text-decoration-color: var(--color-grey-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: border 400ms ease !important;
  background: none;
  font-weight: normal;
}

.breadcrumbs a:hover {
  color: var(--color-secondary);
  text-decoration-color: var(--color-secondary-mid);
}

.breadcrumb_last {
  color: var(--color-grey-mid);
}

.breadcrumb_last strong {
  font-weight: normal;
}

@media only screen and (max-width: 767px) {
  .breadcrumbs,
  .breadcrumbs p {
    font-size: .75rem;
  }
}

/* CTAs */
.cta {
  position: relative;
  margin-top: 0 !important;
}

/* .page-template-order-template .cta,
.page-template-future-template .cta {
  margin: 0 auto;
  max-width: var(--content-desktop);
  padding: 0 var(--spacing-small);
  box-sizing: content-box;
  margin-bottom: 40px;
  margin-top: -10px !important;
}

@media only screen and (min-width: 768px) {
  .page-template-order-template .cta,
  .page-template-future-template .cta {
    margin-bottom: var(--spacing-medium);
  }
}

@media only screen and (min-width: 1024px) {
  .page-template-order-template .cta,
  .page-template-future-template .cta {
    margin-bottom: var(--spacing-largest);
  }
} */

.cta .wrapper {
  padding-top: var(--spacing-large);
  padding-bottom: var(--spacing-large);
}

.cta .content {
  background: var(--color-white);
  color: var(--color-black);
  border-radius: var(--border-radius-medium);
  padding: var(--spacing-medium);
}

.cta h2 {
  font-size: 1.75rem;
}

.cta p {
  margin-top: 1em;
  font-size: .9375rem;
}

.cta .wp-block-button a {
  margin-bottom: 0;
}

@media only screen and (max-width: 767px) {
  .cta .wrapper {
    padding-top: 160px;
    padding-bottom: var(--spacing);
  }

  .cta .content {
    padding: var(--spacing);
  }

  .cta p {
    margin: .75em 0 1em 0;
  }
}

@media only screen and (min-width: 768px) {
  .cta .content {
    grid-column: 5 / 13;
  }

  .cta p {
    font-size: 1rem;
  }

  .cta .wp-block-button a {
    margin-top: 1em;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
 .cta h2 {
  font-size: 2rem;
 }

 .cta .wp-block-button a {
    font-size: 1rem;
    padding: .75em 1.5em;
  } 
}

@media only screen and (min-width: 1024px) {
  .cta .content {
    grid-column: 7 / 13;
  }

  .cta h2 {
    font-size: 2.25rem;
  }
}

/* HEROES */
.herotitleonly,
.heroreview,
.herosmall {
  background: var(--color-grey-light);
}

.herotitleonly,
.heroreview,
body:not(.page-template-post-template, .page-template-faq-template, .page-template-research-template) .herosmall {
  margin-top: -24px !important;
}

.page-template-post-template .herosmall,
.page-template-faq-template .herosmall,
.page-template-research-template .herosmall {
  margin-top: 0 !important;
}

@media only screen and (max-width: 767px) {
  .herotitleonly,
  .herosmall {
    padding: var(--spacing) 0;
  }

  .herotitleonly .wrapper,
  .herosmall .wrapper {
    display: flex;
    flex-direction: column-reverse;
  }
}

.herotitleonly figure img,
.heroreview figure img,
.herosmall figure img {
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-small);
}

@media only screen and (min-width: 650px) {
  .herosmall .wrapper,
  .herotitleonly .wrapper {
    display: grid;
    grid-template-columns: var(--grid-desktop);
    grid-column-gap: var(--grid-desktop-gap);
  }

  .herosmall .wrapper p:last-of-type {
    margin-bottom: .25em;
  }
}

.herosmall .content,
.heroreview .content {
  text-align: left;
}

html:lang(ar) .herosmall .content,
html:lang(fa) .herosmall .content,
html:lang(ar) .heroreview .content,
html:lang(fa) .heroreview .content {
  text-align: right;
}

@media only screen and (min-width: 768px) and (max-width: 949px) {
  .heroreview h1,
  .herosmall h1 {
    font-size: 1.75rem;
  }
}

@media only screen and (min-width: 950px) {
  .heroreview h1,
  .herosmall h1 {
    font-size: 2.5rem;
  }
}

.heroreview p,
.herosmall p {
  margin-top: 1em;
}

@media only screen and (max-width: 849px) {
  .herosmall p,
  .heroreview p {
    font-size: 1rem;
  }
}

/* TO DO */
/* HERO TITLE ONLY */
.herotitleonly figure {
  grid-column: 9 / 13;
}

.herotitleonly h1 {
  grid-column: 1 / 8;
  grid-row-start: 1;
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-small) !important;
}

@media only screen and (min-width: 768px) {
  .herotitleonly h1 {
    padding: var(--spacing) 0;
    margin-bottom: 0 !important;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .herotitleonly h1 {
    font-size: 2rem;
  }
}

@media only screen and (min-width: 1024px) {
  .herotitleonly h1 {
    padding: var(--spacing-medium) 0;
  }
}

/* HERO REVIEW */
@media only screen and (min-width: 650px) and (max-width: 849px) {
  .heroreview .wrapper {
    max-width: 70%;
    margin: 0;
  }
}

@media only screen and (max-width: 849px) {
  .heroreview .wrapper {
    display: flex;
    flex-direction: column-reverse;
    padding: var(--spacing) var(--spacing-small);
  }

  .heroreview figure {
    display: none;
  }
}

@media only screen and (min-width: 850px) {
  .heroreview .wrapper {
    display: grid;
    grid-template-columns: var(--grid-desktop);
    grid-column-gap: var(--grid-desktop-gap);
  }

  .heroreview figure {
    grid-column: 7 / 13;
  }

  .heroreview .content {
    grid-column: 1 / 7;
    grid-row-start: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--spacing) var(--spacing) var(--spacing) 0;
  }
}

.herosmall .authors p,
.heroreview .authors p {
  margin: 0;
  font-size: .9375rem;
}

.herosmall .authors p:nth-child(odd),
.heroreview .authors p:nth-child(odd) {
  grid-column: 1 / 3;
  margin-bottom: 10px;
}

.herosmall .authors p:nth-child(even),
.heroreview .authors p:nth-child(even) {
  grid-column: 3 / 5;
}

@media only screen and (max-width: 599px) {
  .herosmall .authors p,
  .heroreview .authors p {
    margin-bottom: 10px;
    font-size: .875rem;
  }

  .herosmall .authors p:last-of-type,
  .heroreview .authors p:last-of-type {
    margin-bottom: 0;
  }
}

@media only screen and (min-width: 600px) {
  .herosmall .authors,
  .heroreview .authors {
    column-count: 2;
  }
}

.herosmall .authors strong,
.heroreview .authors strong {
  font-weight: 500;
}

.herosmall .authors a,
.heroreview .authors a {
  background: none;
}

.herosmall .authors a:hover,
.heroreview .authors a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
  transition: border 400ms ease !important;
  text-decoration-color: var(--color-tertiary-mid);
}

/* HERO SMALL */
.herosmall .wp-block-button a {
  margin: var(--spacing-small) 0 var(--spacing) 0;
}

@media only screen and (min-width: 650px) {
  .herosmall .content {
    grid-column: 1 / 8;
    grid-row-start: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .herosmall:has(figure) figure {
    grid-column: 7 / 13;
  }

  .herosmall:has(figure) .content {
    grid-column: 1 / 7;
  }

  .herosmall .wp-block-button a {
    margin-bottom: 0;
  }
}

@media only screen and (min-width: 768px) {
  .herosmall {
    padding: 30px 0;
  }

  .herosmall .wp-block-button a {
    margin: var(--spacing) 0 10px 0;
  }
}

@media only screen and (min-width: 1024px) {
  .herosmall {
    padding: var(--spacing) 0;
  }

  .herosmall:has(figure) {
    padding: var(--spacing-medium) 0; 
  }
}

/* HERO LARGE */
.herolarge {
  margin-top: 0;
}

.herolarge .wrapper {
  text-align: center;
  padding: var(--spacing) var(--spacing-small);
}

html:lang(ar) .herolarge .wrapper,
html:lang(fa) .herolarge .wrapper {
  text-align: right;
}

.herolarge h1 {
  font-size: 2.125rem;
  line-height: 1em;
  color: var(--color-white);
}

.herolarge p {
  font-weight: 600;
  color: var(--color-white);
  font-size: 1rem;
}

.herolarge .wp-block-buttons a {
  margin-bottom: 0;
}

.herolarge .wp-block-buttons .button2 a {
  background: var(--color-tertiary);
}

.herolarge .wp-block-buttons .button2 a:hover {
  background: var(--color-tertiary-mid);
}

@media only screen and (min-width: 450px) {
  .herolarge .wp-block-buttons {
    max-width: 370px;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 767px) {
  .herolarge > div {
    background: none !important;
    background: #b28cb2 url('/wp-content/themes/wow-blank-theme/images/gradientpurple.png') bottom left repeat-x !important;
    background-size: contain !important;
  }

  .herolarge h1 {
    margin-bottom: .5em;
    padding-top: 60px;
  }

  .herolarge .wp-block-buttons {
    padding-bottom: 10px;
  }

  .herolarge .wp-block-buttons .button1 {
    margin: var(--spacing-small) 0 var(--spacing-smallest) 0;
  }
}

@media only screen and (min-width: 768px) {
  .herolarge .wrapper {
    height: 610px;
    display: grid;
    grid-template-columns: var(--grid-desktop);
    grid-column-gap: var(--grid-desktop-gap);
    padding: 0;
  }

  .herolarge .content {
    grid-column: 2 / 12;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* html:lang(ar) .herolarge .content,
  html:lang(fa) .herolarge .content {
    justify-content: flex-start;
  } */

  .herolarge h1 {
    font-size: 3.125rem;
  }

  .herolarge p {
    padding: var(--spacing) 0;
    font-size: 1.125rem;
  }

  .herolarge .wp-block-buttons {
    max-width: none;
    flex-direction: column;
    justify-content: center;
    gap: 0;
  }

  .herolarge .wp-block-button {
    margin-bottom: var(--spacing);
  }
}

@media only screen and (max-width: 1023px) {
  .herolarge .wp-block-buttons,
  .herolarge .wp-block-buttons .button1,
  .herolarge .wp-block-buttons .button2,
  .herolarge .wp-block-buttons a {
    display: block;
  }
}

@media only screen and (min-width: 1024px) {
  .herolarge .content {
    grid-column: 3 / 11;
  }

  html:lang(en) .herolarge h1,
  html:lang(en) .herolarge p {
    max-width: 570px;
    margin: 0 auto;
  }

  .herolarge h1 {
    font-size: 5rem;
  }

  .herolarge .wp-block-buttons {
    display: flex;
    flex-direction: row;
    gap: 0;
  }

  .herolarge .wp-block-buttons .button1,
  .herolarge .wp-block-buttons .button2 {
    margin-left: var(--spacing-smallest);
    margin-right: var(--spacing-smallest);
  }

  .herolarge .wp-block-buttons .button1 {
    margin-left: 0;
  }

  html:lang(ar) .wp-block-buttons .button1,
  html:lang(fa) .wp-block-buttons .button1 {
    margin-right: 0;
  }

  .herolarge .wp-block-buttons .button2 {
    margin-right: 0;
  }
}

/* ICONS */
.icons {
  background: var(--color-grey-lighter);
  padding: var(--spacing-small) 0;
  margin-top: 0;
}

.icons .wrapper {
  text-align: center;
}

html:lang(ar) .icons .wrapper,
html:lang(fa) .icons .wrapper {
  text-align: right;
}

.icons .icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--spacing-smallest);
}

.icons .icon:last-child {
  margin-bottom: 0;
}

@media only screen and (min-width: 600px) and (max-width: 767px) {
  .icons {
    padding: var(--spacing-smallest) 0 6px 0;
  }
}

@media only screen and (min-width: 600px) and (max-width: 1023px) {
  .icons {
    padding: 16px 0 10px 0;
  }

  .icons .wrapper {
    column-count: 2;
  }
}

@media only screen and (min-width: 1024px) {
  .icons {
    padding: var(--spacing) 0;
  }

  .icons .wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .icons .icon {
    margin-bottom: 0;
    margin: 0 var(--spacing-small);
  }

  .icons .icon:first-of-type {
    margin-left: 0;
  }

  .icons .icon:last-of-type {
    margin-right: 0;
  }
}

.icons figure {
  padding: 0;
  margin: 0;
  margin-left: 0;
  margin-right: var(--spacing-smallest);
}

html:lang(ar) .icons figure,
html:lang(fa) .icons figure {
  margin: 0 0 0 var(--spacing-smallest);
}

.icons img {
  height: 28px;
  width: auto;
  max-width: none;
}

.icons p {
  font-weight: 600;
  margin: 0;
}

@media only screen and (max-width: 1023px) {
  .icons p {
    font-size: .9375rem;
  }
}

body:not(.page-template-home-template) .icons {
  background: var(--color-grey-lightest);
}

body:not(.page-template-home-template) .icons img {
  height: 18px;
}

@media only screen and (min-width: 600px) and (max-width: 767px) {
  body:not(.page-template-home-template) .icons .wrapper {
    column-count: 1;
  }

  body:not(.page-template-home-template) .icons {
    padding: 16px 0;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1299px) {
  body:not(.page-template-home-template) .icons .wrapper {
    column-count: 2;
    display: block;
  }

  body:not(.page-template-home-template) .icons {
    padding: 16px 0;
  }
}

@media only screen and (min-width: 1024px) {
  body:not(.page-template-home-template) .icons .icon {
    margin-bottom: var(--spacing-smallest);
  }

  body:not(.page-template-home-template) .icons p { 
    font-size: .9375rem;
  }
}

@media only screen and (min-width: 1300px) {
  body:not(.page-template-home-template) .icons .wrapper {
    display: flex;
    align-items: center;
    padding: 0;
    justify-content: space-between;
  }

  body:not(.page-template-home-template) .icons .icon {
    margin: 0 var(--spacing-small);
    width: 20%;
  }

  html:lang(en) body:not(.page-template-home-template) .icons .icon {
    width: auto;
  }

  body:not(.page-template-home-template) .icons .icon:first-of-type {
    margin-left: 0;
  }

  body:not(.page-template-home-template) .icons .icon:last-of-type {
    margin-right: 0;
  }

  body:not(.page-template-home-template) .icons figure {
    margin-right: 8px;
  }

  body:not(.page-template-home-template) .icons p {
    font-size: .8125rem;
  }
}

/* PROMOTED CONTENT */
.promotedcontent figure {
  max-height: 220px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top-left-radius: var(--border-radius-small);
  border-top-right-radius: var(--border-radius-small);
}

.promotedcontent .card {
  background: var(--color-grey-lightest);
  border-radius: var(--border-radius-small);
  margin: 0 0 var(--spacing-small) 0;
  cursor: pointer;
  transition: var(--transition);
}

.promotedcontent .card:last-of-type {
  margin-bottom: 0;
}

.promotedcontent .card:hover {
  box-shadow: 0px 0px 5px var(--color-tertiary-mid);
}

.promotedcontent .card:hover figure {
  opacity: .7;
}

.promotedcontent .card:hover h3 {
  color: var(--color-tertiary-alt);
}

.promotedcontent .card:hover .wp-block-button a {
  background: var(--color-tertiary);
  color: var(--color-white);
}

.promotedcontent .content {
  padding: var(--spacing-small);
  margin-top: 0;
}

.promotedcontent h3,
.promotedcontent h3 a {
  color: var(--color-secondary);
  font-family: "larken", sans-serif;
  font-weight: 400;
  background: none;
  font-size: 1.375rem;
  transition: var(--transition);
}

.promotedcontent p {
  flex: 1;
  margin-top: 1em;
}

.promotedcontent .wp-block-buttons {
  margin-top: var(--spacing-small);
}

.promotedcontent .wp-block-button a {
  margin-bottom: 0;
  border: 2px solid var(--color-tertiary);
  color: var(--color-tertiary-alt);
  background: var(--color-white);
  font-size: .875rem;
}

@media only screen and (min-width: 600px) and (max-width: 767px) {
  .promotedcontent .content {
    width: 70%;
    margin: 0 auto;
  }
}

@media only screen and (min-width: 768px) {
  .promotedcontent .cardwrapper,
  .page-template-home-template .promotedcontent .wrapper {
    display: flex;
    flex-direction: row;
    gap: var(--grid-desktop-gap);
  }

  .promotedcontent .card {
    width: 33.33%;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
  }

  .promotedcontent .content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: var(--spacing);
  }

  .promotedcontent .wp-block-buttons {
    margin-top: 2em;
  }
}

@media only screen and (min-width: 768px) and (max-width: 899px) {
  .promotedcontent .wp-block-button a {
    padding: .625em 15px;
  }
}

@media only screen and (min-width: 900px) and (max-width: 1023px) {
  .promotedcontent .wp-block-button a {
    padding: 10px 25px;
  }
}

@media only screen and (min-width: 1024px) {
  .promotedcontent .content {
    padding: var(--spacing) 36px 36px;
  }
}

@media only screen and (min-width: 1200px) {
  .promotedcontent h3,
  .promotedcontent h3 a {
    font-size: 1.875rem;
  }

  .promotedcontent .wp-block-button a {
    padding: 15px var(--spacing);
    font-size: 1.125rem;
  }
}

/* PROMOTED CONTENT - FURTHER PAGES */
body:not(.page-template-home-template) .promotedcontent {
  padding: var(--spacing) 0 34px 0;
  margin-top: 0;
  background: var(--color-grey-lighter);
}

body.page-template-donate-template .promotedcontent {
  padding: 10px 0 70px 0;
  margin-top: 0;
  background: var(--color-grey-lighter);
}

@media only screen and (min-width: 600px) {
  body:not(.page-template-home-template) .promotedcontent {
    padding: var(--spacing-small) 0;
  }

  body.page-template-donate-template .promotedcontent {
    padding: var(--spacing-small) var(--spacing-medium);
  }
}

@media only screen and (min-width: 1000px) {
  body:not(.page-template-home-template) .promotedcontent {
    padding: var(--spacing-medium) 0 var(--spacing-large) 0;
  }
}

@media only screen and (max-width: 1023px) {
  body.page-template-donate-template .promotedcontent {
    padding: 10px 0 40px 0;
  }
}

body:not(.page-template-home-template) .promotedcontent .card {
  background: var(--color-white);
}

.promotedcontent .wrapper > .wp-block-heading {
  color: var(--color-secondary);
  font-size: 1.875rem;
  margin-bottom: .75em;
}

@media only screen and (min-width: 1024px) {
  .promotedcontent .wrapper > .wp-block-heading {
    font-size: 2.25rem;
  }
}

/* TESTIMONIALS */
.testimonialshomepage,
.testimonialsalternate {
  background: var(--color-grey-lighter);
  text-align: center;
  padding: var(--spacing) 0 34px 0;
}

html:lang(ar) .testimonialshomepage,
html:lang(fa) .testimonialshomepage,
html:lang(ar) .testimonialsalternate,
html:lang(fa) .testimonialsalternate {
  text-align: right;
}

.testimonialshomepage h2,
.testimonialsalternate h2 {
  color: var(--color-secondary);
  font-size: 1.875rem;
}

.testimonialshomepage .heading,
.testimonialsalternate .heading {
  font-size: 1.125rem;
  font-family: "larken", sans-serif;
  font-weight: 400;
  display: inline-block;
  margin: .5em 0 var(--spacing) 0;
  max-width: 500px;
}

.testimonialshomepage .testimonial,
.testimonialsalternate .testimonial {
  border-radius: var(--border-radius-small);
  text-align: left;
  margin: 0 0 var(--spacing) 0;
  padding: var(--spacing-small) var(--spacing-medium);
  position: relative;
}

html:lang(ar) .testimonialshomepage .testimonial,
html:lang(fa) .testimonialshomepage .testimonial,
html:lang(ar) .testimonialsalternate .testimonial,
html:lang(fa) .testimonialsalternate .testimonial {
  text-align: right;
}

.testimonialshomepage .testimonial:last-of-type,
.testimonialsalternate .testimonial:last-of-type {
  margin-bottom: 0;
}

.testimonialshomepage .testimonial:before,
.testimonialshomepage .testimonial p:first-of-type:after,
.testimonialsalternate .testimonial:before {
  color: var(--color-tertiary-light);
  position: absolute;
  opacity: .5;
  font-size: 2.25rem;
}

.testimonialshomepage .testimonial:before,
.testimonialsalternate .testimonial:before {
  content: '\201C';
}

.testimonialshomepage p,
.testimonialsalternate p {
  margin: 0;
  position: relative;
}

.testimonialshomepage .name,
.testimonialsalternate .name {
  font-weight: 600;
  color: var(--color-tertiary-alt);
  margin-top: .5em;
}

@media only screen and (min-width: 600px) {
  .testimonialshomepage .testimonial,
  .testimonialsalternate .testimonial {
    padding: var(--spacing-small) var(--spacing-medium);
    max-width: 500px;
    margin: 0 auto;
    margin-bottom: var(--spacing);
  }

  .testimonialshomepage .testimonial:last-of-type,
  .testimonialsalternate .testimonial:last-of-type {
    margin-bottom: 0;
  }

  .testimonialshomepage .heading,
  .testimonialsalternate .heading {
    font-size: 1.25rem;
  }

  .testimonialshomepage p,
  .testimonialsalternate p {
    font-size: 1rem;
  }
}

@media only screen and (min-width: 1000px) {
  .testimonialshomepage,
  .testimonialsalternate {
    padding: var(--spacing-medium) var(--spacing-medium) var(--spacing-large) var(--spacing-medium);
  }

  .testimonialshomepage h2,
  .testimonialsalternate h2 {
    font-size: 3rem;
  }

  .testimonialshomepage .heading,
  .testimonialsalternate .heading {
    font-size: 1.5rem;
    max-width: 500px;
    margin: .5em 0 var(--spacing-medium) 0;
    line-height: 1.25em;
  }

  .testimonialshomepage .content,
  .testimonialsalternate .content {
    display: flex;
    flex-direction: row;
    gap: var(--grid-desktop-gap);
    justify-content: center;
    margin-top: 0;
  }

  .testimonialshomepage .testimonial,
  .testimonialsalternate .testimonial {
    margin-bottom: 0;
    position: relative;
    flex-grow: 1;
    flex-basis: 0;
  }

  .testimonialshomepage .name,
  .testimonialsalternate .name {
    margin-top: 1em;
    margin-bottom: 0 !important;
  }
}

@media only screen and (min-width: 1024px) {
  .testimonialshomepage .heading,
  .testimonialsalternate .heading {
    font-size: 1.375rem;
    max-width: none;
  }

  .testimonialshomepage .testimonial,
  .testimonialsalternate .testimonial {
    padding: 28px 40px 28px var(--spacing-medium);
  }

  .testimonialshomepage .testimonial:before,
  .testimonialshomepage .testimonial p:first-of-type:after,
  .testimonialsalternate .testimonial:before {
    font-size: 3rem;
  }
}

@media only screen and (min-width: 1200px) {
  .testimonialshomepage .testimonial,
  .testimonialsalternate .testimonial {
    padding: 36px 53px 36px var(--spacing-large);
  }

  .testimonialshomepage .testimonial:before,
  .testimonialshomepage .testimonial p:first-of-type:after,
  .testimonialsalternate .testimonial:before {
    font-size: 3.75rem;
  }
}

/* TESTIMONIALS HOMEPAGE */
.testimonialshomepage {
  margin-top: var(--spacing-medium);
}

.testimonialshomepage h2,
.testimonialshomepage .heading {
  text-align: center;
}

html:lang(ar) .testimonialshomepage h2,
html:lang(fa) .testimonialshomepage h2,
html:lang(ar) .testimonialshomepage .heading,
html:lang(fa) .testimonialshomepage .heading {
  text-align: right;
}

.testimonialshomepage .testimonial {
  background: var(--color-white);
}

.testimonialshomepage .testimonial p:first-of-type:after {
  content: '\201D';
  bottom: -12px;
  right: -28px;
}

@media only screen and (min-width: 768px) {
  .testimonialshomepage {
    margin-top: var(--spacing-large);
  }
}

@media only screen and (min-width: 1000px) {
  .testimonialshomepage {
    margin-top: 120px;
  }

  .testimonialsalternate .content {
    gap: 80px;
  }

  .testimonialshomepage .testimonial:before {
    top: 42px;
    left: 15px;
  }

  .testimonialshomepage .testimonial p:first-of-type:after {
    bottom: -14px;
    right: -28px;
  }

  html:lang(ar) .testimonialshomepage .testimonialshomepage .testimonial p:first-of-type:after,
  html:lang(fa) .testimonialshomepage .testimonialshomepage .testimonial p:first-of-type:after {
    right: -38px; 
  }
}

@media only screen and (min-width: 1200px) {
  .testimonialshomepage .testimonial:before {
    top: 54px;
    left: 20px;
  }

  html:lang(ar) .testimonialshomepage .testimonialshomepage .testimonial:before,
  html:lang(fa) .testimonialshomepage .testimonialshomepage .testimonial:before {
    left: 25px; 
  }
}

body:not(.page-template-home-template) .testimonialshomepage {
  margin-top: 0;
}

/* TESTIMONIALS ALT */
.testimonialsalternate {
  text-align: left;
  margin-top: 0;
}

html:lang(ar) .testimonialsalternate,
html:lang(fa) .testimonialsalternate {
  text-align: right;
}

.page-template-order-template .testimonialsalternate {
  padding-top: 0;
}

.testimonialsalternate .testimonial {
  background: none;
  padding: 0;
}

.testimonialsalternate .testimonial:before {
  display: none;
  color: var(--color-tertiary-mid);
}

.testimonialsalternate .heading {
  margin-bottom: 1em;
}

.testimonialsalternate .name {
  margin-top: .5em;
}

@media only screen and (min-width: 600px) {
  .testimonialsalternate .testimonial {
    margin-left: 0;
  }
}

@media only screen and (min-width: 768px) {
  .testimonialsalternate h2 {
    font-size: 1.875rem;
  }

  .testimonialsalternate .heading {
    margin-bottom: 36px;
  }

  .testimonialsalternate .header p {
    margin-bottom: 1.5em;
  }
}

@media only screen and (min-width: 1000px) {
  .testimonialsalternate {
    padding-left: 0;
    padding-right: 0;
  }

  .testimonialsalternate .testimonial:before {
    display: block;
    top: 14px;
    left: -32px;
  }

  .testimonialsalternate .testimonial:first-of-type:before {
    display: none;
  }
}

@media only screen and (min-width: 1024px) {
  .page-template-order-template .testimonialsalternate {
    padding-top: var(--spacing);
  }

  .testimonialsalternate h2 {
    font-size: 2.25rem;
  }
}

@media only screen and (min-width: 1200px) {
  .testimonialsalternate .testimonial:before {
    display: block;
    top: 20px;
    left: -40px;
  }
}

@media only screen and (min-width: 1300px) {
  .testimonialsalternate .testimonial:first-of-type:before {
    display: block;
  }
}

/* HOME SUMMARY */
.homesummary {
  padding: var(--spacing) 0;
}

@media only screen and (min-width: 600px) {
  .homesummary {
    padding: var(--spacing-medium) 0;
  }
}

.homesummary h2,
.homesummary p {
  max-width: 600px;
  margin: 0 auto;
}

html:lang(en) .homesummary h2 {
  max-width: 500px;
}

html:lang(en) .homesummary p {
  max-width: 550px;
}

.homesummary h2 {
  font-size: 1.75rem;
}

.homesummary p {
  margin-top: 1em;
  font-size: 1rem;
}

@media only screen and (min-width: 600px) {
  .homesummary {
    text-align: center;
  }
}

html:lang(ar) .homesummary,
html:lang(fa) .homesummary {
  text-align: right;
}

@media only screen and (min-width: 768px) {
  .homesummary {
    padding: var(--spacing-large) 0;
  }

  .homesummary h2 {
    font-size: 2.5rem;
    line-height: 1.125em;
  }

  html:lang(en) .homesummary h2 {
    max-width: 550px;
  }
}

@media only screen and (min-width: 1024px) {
  .homesummary {
    padding: var(--spacing-largest) 0 var(--spacing-large) 0;
  }
}

/* PAGE SUMMARY */
.pagesummary {
  background: var(--color-grey-lightest);
  padding: var(--spacing) 0;
}

.pagesummary h2,
.pagesummary p {
  max-width: 600px;
  margin: 0 auto;
}

.pagesummary p {
  margin-top: 1em;
  font-size: 1rem;
}

@media only screen and (max-width: 599px) {
  .pagesummary {
    display: none;
  }
}

@media only screen and (min-width: 600px) {
  .pagesummary {
    text-align: center;
  }
}

html:lang(ar) .pagesummary,
html:lang(fa) .pagesummary {
  text-align: right;
}

@media only screen and (min-width: 600px) and (max-width: 1023px) {
  html:lang(en) .pagesummary h2,
  html:lang(en) .pagesummary p {
    max-width: 550px;
  }
}

@media only screen and (min-width: 1024px) {
  .pagesummary {
    padding: var(--spacing-medium) 0;
  }
}

/* NEWS & RESEARCH */
.newshomepage .wrapper,
.researchhomepage .wrapper,
.news-listing .wrapper,
.research-listing .wrapper {
  padding: var(--spacing) var(--spacing-small);
}

.newshomepage li,
.researchhomepage li,
.news-listing li,
.research-listing li {
  padding-bottom: var(--spacing);
  flex-grow: 1;
  flex-basis: 0;
}

.newshomepage li:last-of-type,
.researchhomepage li:last-of-type,
.news-listing li:last-of-type,
.research-listing li:last-of-type {
  padding-bottom: 0;
}

.newshomepage h2,
.researchhomepage h2 {
  margin-bottom: var(--spacing-smallest);
}

.newshomepage h3,
.researchhomepage h3,
.news-listing h2,
.research-listing h2 {
  font-size: 1rem;
  font-family: "Onest", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.newshomepage h3 a,
.researchhomepage h3 a,
.news-listing h2 a,
.research-listing h2 a {
  background: none;
  color: var(--color-secondary);
  text-decoration: underline;
  text-decoration-color: var(--color-white);
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
  transition: var(--transition);
}

.newshomepage h3 a:hover,
.researchhomepage h3 a:hover,
.news-listing h2 a:hover,
.research-listing h2 a:hover,
.newshomepage h3 a:focus,
.researchhomepage h3 a:focus,
.news-listing h2 a:focus,
.research-listing h2 a:focus {
  color: var(--color-tertiary-alt);
  text-decoration-color: var(--color-tertiary-light);
}

.newshomepage .wp-block-post-excerpt,
.researchhomepage .wp-block-post-excerpt,
.news-listing .wp-block-post-excerpt,
.research-listing .wp-block-post-excerpt {
  margin: 0;
}

.newshomepage p,
.researchhomepage p,
.news-listing p,
.research-listing p {
  margin: .25em 0;
}

.newshomepage .wp-block-post-excerpt__more-text,
.researchhomepage .wp-block-post-excerpt__more-text,
.news-listing .wp-block-post-excerpt__more-text,
.research-listing .wp-block-post-excerpt__more-text {
  margin-bottom: 0;
}

.newshomepage .wp-block-post-excerpt__more-text a,
.researchhomepage .wp-block-post-excerpt__more-text a,
.newshomepage .wp-block-post-excerpt__more-text a:last-of-type,
.researchhomepage .wp-block-post-excerpt__more-text a:last-of-type,
.news-listing .wp-block-post-excerpt__more-text a,
.research-listing .wp-block-post-excerpt__more-text a,
.news-listing .wp-block-latest-posts__post-excerpt a:last-of-type,
.research-listing .wp-block-latest-posts__post-excerpt a:last-of-type {
  color: var(--color-tertiary-alt);
  transition: var(--transition);
  margin-bottom: 0;
  background: linear-gradient(0deg, #ece9ec 0, #ece9ec 100%);
  background-position: 0 100%;
  background-repeat: repeat-x;
  background-size: 5px 5px;
  transition: background-size .6s;
}

.newshomepage .wp-block-post-excerpt__more-text a:hover,
.researchhomepage .wp-block-post-excerpt__more-text a:hover,
.newshomepage .wp-block-post-excerpt__more-text a:last-of-type:hover,
.researchhomepage .wp-block-post-excerpt__more-text a:last-of-type:hover,
.news-listing .wp-block-post-excerpt__more-text a:hover,
.research-listing .wp-block-post-excerpt__more-text a:hover,
.news-listing .wp-block-latest-posts__post-excerpt a:last-of-type:hover,
.research-listing .wp-block-latest-posts__post-excerpt a:last-of-type:hover {
  background-size: 5px 60px;
}

.newshomepage .wp-block-buttons,
.researchhomepage .wp-block-buttons,
.news-listing .wp-block-buttons,
.research-listing .wp-block-buttons {
  justify-content: flex-end;
}

.newshomepage .wp-block-button__tertiary a,
.researchhomepage .wp-block-button__tertiary a,
.news-listing .wp-block-button__tertiary a,
.research-listing .wp-block-button__tertiary a {
  font-size: .875rem;
  padding: 7px var(--spacing-small);
}

.newshomepage .wp-block-buttons,
.researchhomepage .wp-block-buttons {
  margin-top: var(--spacing-small);
}

@media only screen and (min-width: 600px) {
  .newshomepage li,
  .researchhomepage li,
  .news-listing li,
  .research-listing li {
    padding-bottom: 30px;
  }
}

@media only screen and (min-width: 768px) {
  .newshomepage .wrapper,
  .researchhomepage .wrapper,
  .news-listing .wrapper,
  .research-listing .wrapper {
    padding: var(--spacing-medium) var(--spacing-small);
  }

  .newshomepage h2,
  .researchhomepage h2 {
    margin-bottom: var(--spacing);
  }

  .newshomepage ul,
  .researchhomepage ul,
  .news-listing ul,
  .research-listing ul {
    grid-template-columns: repeat(12, 1fr);
    grid-column-gap: 30px;
    grid-row-gap: 30px;
    display: grid;
  }

  .newshomepage li,
  .researchhomepage li,
  .news-listing li,
  .research-listing li {
    grid-column: span 6;
    padding-bottom: 0;
  }

  .newshomepage h3,
  .researchhomepage h3,
  .news-listing .wp-block-post-title,
  .research-listing .wp-block-post-title {
    font-size: 1.0625rem;
  }

  .newshomepage p,
  .researchhomepage p,
  .newshomepage .wp-block-latest-posts__post-excerpt,
  .researchhomepage .wp-block-latest-posts__post-excerpt,
  .news-listing .wp-block-post-excerpt,
  .research-listing .wp-block-post-excerpt {
    margin: .5em 0;
  }

  .newshomepage .wp-block-buttons,
  .researchhomepage .wp-block-buttons {
    margin-top: var(--spacing);
  }

  .newshomepage .wp-block-button__tertiary a,
  .researchhomepage .wp-block-button__tertiary a,
  .news-listing .wp-block-button__tertiary a,
  .research-listing .wp-block-button__tertiary a {
    font-size: .875rem;
    padding: 10px var(--spacing);
  }
}

@media only screen and (min-width: 1100px) {
  .news-listing .wrapper,
  .research-listing .wrapper {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .newshomepage ul,
  .researchhomepage ul,
  .news-listing ul,
  .research-listing ul {
    grid-template-columns: repeat(12, 1fr);
    grid-row-gap: var(--spacing-medium);
  }

  .newshomepage li,
  .researchhomepage li,
  .news-listing li,
  .research-listing li {
    grid-column: span 3;
  }

  .newshomepage h3,
  .researchhomepage h3,
  .news-listing .wp-block-post-title,
  .research-listing .wp-block-post-title {
    font-size: 1.25rem;
  }

  .news-listing .wp-block-post-excerpt,
  .research-listing .wp-block-post-excerpt {
    margin-bottom: 1em;
  }
}

/* RESEARCH */
.researchhomepage {
  margin-top: 0;
}

.researchhomepage .wrapper,
.research-listing .wrapper {
  padding-top: 0;
}

.researchhomepage .wp-block-heading {
  border-top: 1px solid var(--color-grey);
  padding-top: var(--spacing);
}

@media only screen and (min-width: 768px) {
  .researchhomepage .wp-block-heading {
    padding-top: var(--spacing-medium);
  }
}

@media only screen and (min-width: 1100px) {
  .researchhomepage .wrapper {
    padding-bottom: var(--spacing-large);
  }
}

/* FAQS */
.faqpage .wrapper {
  margin-top: 30px;
  margin-bottom: 30px;
}

.faqpage .herosmall .wrapper {
  margin-top: 0;
  margin-bottom: 0;
}

.faq-wrapper {
  margin-bottom: 30px;
}

.faq-wrapper:last-of-type {
  margin-bottom: 0;
}

.faq-wrapper h2 {
  font-family: "Onest", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: .875rem;
  margin-bottom: 0;
  display: grid;
  width: 100%;
  height: 100%;
}

.faq-wrapper .wp-block-heading {
  color: var(--color-secondary);
  font-family: "larken", sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  margin-bottom: .75em;
}

.faq-wrapper .wp-block-post-title a {
  color: var(--color-black);
  text-decoration: underline;
  text-decoration-color: var(--color-grey-lightest);
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
  background: var(--color-grey-lightest) url('/wp-content/themes/wow-blank-theme/images/arrow-right.png') center right 1em no-repeat;
  background-size: 20px 20px;
  padding: 1em var(--spacing-large) 1em 1em;
  border-radius: var(--border-radius-small);
  margin-bottom: var(--spacing-small);
  transition: var(--transition);
  display: block;
}

.faq-wrapper .wp-block-post-title a:hover {
  background-color: var(--color-grey-lighter);
  cursor: pointer;
  box-shadow: 0px 0px 5px var(--color-secondary-mid);
  color: var(--color-secondary);
  text-decoration-color: var(--color-secondary-mid);
}

@media only screen and (min-width: 768px) {
  .faqpage .wrapper {
    margin-top: var(--spacing-medium);
    margin-bottom: var(--spacing-medium);
  }

  .faqpage .herosmall .wrapper {
    margin-top: 0;
    margin-bottom: 0;
  }

  .faq-wrapper {
    margin-bottom: var(--spacing-large);
  }

  .faq-wrapper .wp-block-heading {
    font-size: 1.5rem;
    margin-bottom: 1em;
  }

  .faq-wrapper ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: var(--spacing);
  }

  .faq-wrapper .wp-block-post-title a { 
    margin-bottom: 0;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .faq-wrapper .wp-block-heading {
    font-size: 1.375rem;
  }
}

@media only screen and (min-width: 1024px) {
  .faq-wrapper .wp-block-post-title a {
    background-size: 28px 28px;
    padding: var(--spacing-small) var(--spacing-large) var(--spacing-small) var(--spacing-small);
  }

  .faq-wrapper h2 {
    font-size: 1rem;
  }
}

@media only screen and (min-width: 1100px) {
  .faqpage .wrapper {
    margin-top: 80px;
    margin-bottom: 80px;
  }
}

/* TABLE OF CONTENTS */
.lwptoc {
  margin: 0 0 var(--spacing) 0 !important;
}

.lwptoc_i {
  border: none !important;
  border-radius: var(--border-radius-small);
  background: var(--color-grey-lightest) !important;
  color: var(--color-black);
  padding: 0 0 14px 0;
  z-index: 1000;
  width: 100%;
}

.lwptoc .lwptoc_header {
  padding: var(--spacing-small) var(--spacing-small) 0 var(--spacing-small);
  margin-bottom: 4px;
}

.lwptoc .lwptoc_header b {
  color: var(--color-secondary) !important;
  font-family: "larken", sans-serif;
  font-weight: 400;
  font-size: 1.25rem;
}

.lwptoc_toggle a:hover {
  opacity: var(--opacity);
}

.lwptoc-light .lwptoc_i a {
  background: none;
  font-weight: 400;
  color: var(--color-black) !important;
}

.lwptoc_items {
  margin-top: 8px;
}

.lwptoc_item a {
  padding: 6px var(--spacing-small);
  display: block;
}

.lwptoc_item a:hover {
  background: var(--color-grey-light);
}

.lwptoc-notInherit .lwptoc_i DIV A {
  border-bottom: 1px solid var(--color-grey-lightest) !important;
}

.lwptoc-notInherit .lwptoc_i DIV A:hover {
  border-color: var(--color-grey-light) !important;
}

.lwptoc_itemWrap {
  margin: 0 !important;
}

.lwptoc_itemWrap .lwptoc_itemWrap .lwptoc_item a {
  padding-left: 20px;
}

.lwptoc-baseItems .lwptoc_items a {
  font-size: 100%;
}

.lwptoc_itemWrap {
  margin-left: 0;
}

.lwptoc {
  top: var(--spacing);
}

@media only screen and (max-width: 767px) {
  .page-template-order-template .lwptoc {
    margin-top: var(--spacing) !important;
  }
}

@media only screen and (min-width: 768px) {
  .lwptoc_i {
    max-width: 350px;
  }

  .lwptoc .lwptoc_header {
    padding: var(--spacing) 30px 0 30px;
  }

  .lwptoc .lwptoc_header b {
    font-size: 1.5rem;
  }

  .lwptoc_item a {
    padding: 10px 30px;
  }

  .lwptoc_itemWrap .lwptoc_itemWrap .lwptoc_item a {
    padding-left: 40px;
  }
}

/* OUR TEAMS LISTING */
.page-template-ourteam-template .main .wp-block-post-template {
  padding-left: 0;
  margin: 30px 0 var(--spacing-smallest) 0;
}

.page-template-ourteam-template .main .wp-block-post-template li {
  margin-top: 0 !important;
}

.page-template-ourteam-template .main .wp-block-post-template li:before {
  display: none;
}

.page-template-ourteam-template .wp-block-query .wp-block-post {
  background: var(--color-grey-lightest);
  border-radius: var(--border-radius-medium);
  padding: var(--spacing-small);
  margin-bottom: var(--spacing);
}

.page-template-ourteam-template .wp-block-query .wp-block-post:last-of-type {
  margin-bottom: 0;
}

.page-template-ourteam-template .wp-block-query .wp-block-post h2 a {
  color: var(--color-secondary);
  transition: var(--transition);
  background: none;
  margin-bottom: .125em;
}

.page-template-ourteam-template .wp-block-query .wp-block-post h2 a:hover {
  color: var(--color-secondary-mid);
}

.page-template-ourteam-template .wp-block-query .wp-block-post h2,
.team-member h2,
.team-member h3 {
  font-family: "larken", sans-serif;
  font-weight: 400;
  line-height: 1.25em;
  margin-top: 0;
}

.page-template-ourteam-template .wp-block-query .wp-block-post .location,
.page-template-post-template .location {
  font-weight: 600;
  margin-top: 1em;
  color: var(--color-grey-darkest);
  margin-bottom: -0.5em;
}

.page-template-ourteam-template .wp-block-query .wp-block-post .location:empty,
.page-template-post-template .location:empty {
  margin: 0;
}

.page-template-ourteam-template .wp-block-query .wp-block-post .pronouns,
.page-template-post-template .pronouns {
  color: var(--color-grey-dark);
  font-weight: 600;
  font-size: .875rem;
  text-align: right;
  margin-top: .75em;
}

.page-template-post-template .pronouns {
  text-align: left;
  font-size: 1rem;
  margin-top: var(--spacing);
}

html:lang(ar) .page-template-post-template .pronouns,
html:lang(fa) .page-template-post-template .pronouns {
  text-align: right;
}

.page-template-ourteam-template .wp-block-query .wp-block-post .credential,
.page-template-post-template .credential {
  margin: 1.5em 0 1em 0;
}

.page-template-ourteam-template .wp-block-query .wp-block-post .links p ,
.page-template-post-template .links p {
  opacity: .65;
  margin: 0 0 .5em 0;
  font-size: .8125em;
  background: transparent url('/wp-content/themes/wow-blank-theme/images/externallink.png') left 5px no-repeat;
  background-size: 14px 12px;
  padding-left: 25px;
}

.page-template-post-template .links p {
  font-size: 1rem;
}

.page-template-ourteam-template .wp-block-query .wp-block-post .links p:last-of-type,
.page-template-post-template .links p:last-of-type {
  margin-bottom: 0;
}

.page-template-ourteam-template .wp-block-query .wp-block-post .links p:hover,
.page-template-post-template .links p:hover {
  opacity: 1;
}

.page-template-ourteam-template .wp-block-query .wp-block-post .links a,
.page-template-post-template .links a {
  color: var(--color-black);
  text-decoration: underline;
  background: none;
  text-decoration-color: var(--color-grey-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  font-weight: 400;
}

.page-template-ourteam-template .aside h2:first-of-type {
  margin-top: 0;
}

@media only screen and (min-width: 768px) {
  .page-template-ourteam-template .main .section-wrapper:has(*) {
    grid-column: 1 / 10;
  }

  .page-template-ourteam-template .aside:has(*) {
    grid-column: 10 / 13;
    padding-left: var(--spacing-small);
  }

  .page-template-ourteam-template .aside h2 {
    font-size: 1rem;
  }

  .page-template-ourteam-template .aside p {
    font-size: .875rem;
  }

  .page-template-ourteam-template .wp-block-query .wp-block-post-template {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-column-gap: var(--spacing);
    grid-row-gap: var(--spacing);
    margin: 0;
  }

  .page-template-ourteam-template .wp-block-query .wp-block-post {
    grid-column: span 4;  
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
  }

  .page-template-ourteam-template .wp-block-query .wp-block-post-content {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    height: 100%;
  }

  .page-template-ourteam-template .wp-block-query .wp-block-post .credential {
    font-size: .875em;
  }

  .page-template-ourteam-template .wp-block-query .wp-block-post .links,
  .page-template-post-template .links {
    flex-grow: 1;
  }
}

@media only screen and (min-width: 1024px) {
  /* .page-template-ourteam-template .wp-block-query .wp-block-post-template {
    grid-column-gap: var(--spacing-medium);
    grid-row-gap: var(--spacing-medium);
  }

  .page-template-ourteam-template .wp-block-query .wp-block-post {
    padding: 30px 34px;
  } */

  .page-template-ourteam-template .wp-block-query .wp-block-post {
    padding: var(--spacing) 30px;
  }
}

/* TO DO */
/* DISCLAIMER */
.disclaimer {
  width: 350px;
  background: var(--color-secondary-light);
  border-top-left-radius: var(--border-radius-small);
  border-top-right-radius: var(--border-radius-small);
  padding: var(--spacing-smallest);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.disclaimer img {
  width: 90px;
}

.disclaimer p {
  font-size: .75rem;
  margin: 0;
  padding-left: var(--spacing-smallest);
}

@media only screen and (min-width: 768px) {
  .disclaimer {
    padding: var(--spacing);
    align-items: center;
  }

  .disclaimer img {
    width: 200px;
  }

  .disclaimer p {
    padding-left: var(--spacing);
  }
}