@charset "UTF-8";

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

main {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

body {
  overflow-x: hidden;
  background-color: #fff;
}

h1,
h2,
h3,
h4 {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  color: #FF6F57;
}

h1 {
  font-size: 50px;
}

h2 {
  width: -moz-fit-content;
  width: fit-content;
  font-size: 30px;
}

h3 {
  font-size: 22px;
}

P {
  font-family: "open sans", sans-serif;
  line-height: 1.5;
  font-weight: 300;
  font-size: 17px;
  color: #000;
}

li {
  font-family: "open sans", sans-serif;
  font-size: 17px;
  font-weight: 300;
  color: #000;
}

a {
  font-family: "open sans", sans-serif;
  color: #FF6F57;
}

small {
  padding: 10px 0;
  font-family: "open sans", sans-serif;
}

small a {
  font-family: "open sans", sans-serif;
}

input,
select,
textarea {
  border-radius: 0 !important;
}

.wrapper {
  max-width: 90rem;
  margin: 0 auto;
  padding: 0px 10px;
}

.page-not-found {
  padding: 100px 0;
}

.page-not-found .wrapper h1 {
  font-size: 3rem;
}

.caret {
  position: absolute;
  background-color: #FF6F57;
  bottom: 0;
  right: 0;
  padding: 40px;
  -webkit-clip-path: polygon(100% 0, 0% 100%, 100% 100%);
          clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  display: flex;
  transition: all 0.5s;
}

.caret svg {
  width: 20px;
  position: absolute;
  right: 13px;
  bottom: 6px;
  fill: #fff;
  transition: all 0.5s;
}

.page-title {
  padding-top: 20px;
  padding-bottom: 20px;
  color: #000;
}

.page-title h1 {
  font-weight: 500;
  margin-bottom: 0;
  color: #FF6F57;
  width: -moz-fit-content;
  width: fit-content;
  display: flex;
  flex-direction: column;
}

.page-title p {
  width: 786px;
  font-size: 20px;
}

@media screen and (max-width: 37.5rem) {
  .page-title p {
    width: 100%;
  }
}

@media screen and (min-width: 81.25rem) {
  .wrapper {
    padding: 0;
  }
}

@media screen and (min-width: 103.75rem) {
  .wrapper-wide {
    padding: 0;
  }
}

.wrapper-wide {
  max-width: 100rem;
  margin: 0 auto;
  padding: 0 10px;
}

::marker {
  color: #FF6F57;
  font-size: 1.2rem;
}

.alignfull {
  margin: 0px calc(50% - 50vw);
  max-width: 100vw;
  width: 100vw;
}

*,
::after,
::before {
  box-sizing: inherit;
  box-sizing: border-box;
}

**,
*:before,
*:after {
  box-sizing: inherit;
  box-sizing: border-box;
  -webkit-box-sizing: content-box;
}

.content {
  position: relative;
  z-index: 50;
}

.gform_button {
  background-color: #FF6F57;
  color: #fff;
  border-radius: 3px;
  border: 0;
  padding: 10px;
  transition: all 0.5s;
}

.gform_button:hover {
  background-color: #EA5D5F;
}

#gform_wrapper_1 {
  font-family: "open sans", sans-serif;
  padding: 20px 40px;
  padding-bottom: 60px;
  padding-left: 0;
  background-color: #fff;
  border-top: 2px solid #2c3e63;
}

#gform_wrapper_1 .gform_title::after {
  border: 0;
  margin-top: 0;
}

#gform_wrapper_1 .gfield_radio {
  display: flex;
  flex-direction: row;
}

#gform_wrapper_1 .ginput_container input {
  border-color: #e1e1e1;
}

#gform_wrapper_1 .ginput_container textarea {
  border-color: #e1e1e1;
}

#gform_wrapper_1 .gform_button {
  padding: 10px 60px;
  background-color: #2c3e63;
  border-radius: 5px !important;
}

.wp-block-gallery {
  max-width: 75rem;
  margin: 0 auto;
}

.tribe-common-c-btn {
  background-color: #2c3e63 !important;
}

.tribe-common-c-btn-border {
  border-color: #2c3e63 !important;
  color: #2c3e63 !important;
}

.tribe-common-c-btn-border:hover {
  background-color: #222939 !important;
  color: #fff !important;
}

.tribe-common-l-container {
  padding-top: 0 !important;
}

.text-image-block {
  width: 100%;
  background: #fff5f2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: visible;
  border-radius: 3px;
}

.text-image-block.margin {
  margin-bottom: 6rem;
  margin-top: 6rem;
}

.text-image-block .text-image-image {
  right: 48px;
  float: right;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 40%;
  position: absolute;
  z-index: 5;
  height: calc(100% + 110px);
  top: -55px;
  order: 1;
  display: flex;
  border-radius: 6px;
}

.text-image-block .text-image-image .chevron-container {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.text-image-block .text-image-image .chevron-container svg {
  width: 3.5rem;
  fill: #fff;
  color: #fff;
}

.text-image-block.image-margin .text-image-image {
  margin-top: 4rem;
  margin-left: 4rem;
}

.text-image-block .text-image-content {
  left: 0;
  float: left;
  width: 55%;
  position: absolute;
  z-index: 5;
  order: 2;
  display: flex;
}

.text-image-block .wrapper {
  z-index: 10;
  display: flex;
}

.text-image-block .text-image-image-overlay {
  order: 2;
  flex: 1;
}

.text-image-block .text-image-content-overlay {
  order: 1;
  padding-top: 8rem;
  padding-bottom: 8rem;
  width: 55%;
  padding-right: 3rem;
  border-left: none;
  font-weight: 400;
  padding-left: 0;
}

.text-image-block .text-image-content-overlay h2 {
  width: -moz-fit-content;
  width: fit-content;
  margin-top: 0;
  color: #9E0A69;
  font-size: 34px;
  font-weight: 400;
}

.text-image-block .text-image-content-overlay h2 strong {
  color: #ED117A;
  font-weight: 400;
  font-size: 34px;
}

.text-image-block .text-image-content-overlay p {
  color: #2E2E2E;
  font-size: 16px;
  font-weight: 400;
}

.text-image-block .text-image-content-overlay p strong {
  color: #000;
  font-size: 20px;
  font-weight: 600;
}

.alignfull .text-image-block .text-image-content-overlay {
  padding-left: 0;
}

.text-image-block p {
  font-weight: 400;
  font-size: 1rem;
}

.text-image-block h2 {
  font-size: 2rem;
}

.text-image-block .button {
  padding: 10px 30px;
  background-color: #FF6F57;
  color: #fff;
  border-radius: 3px;
  text-decoration: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
  transition: all 0.5s;
  margin-top: 30px;
}

.text-image-block .button svg {
  width: 20px;
  margin-left: 15px;
  fill: #fff;
  transition: all 0.5s;
}

.text-image-block .button:hover {
  background-color: #0e74ff;
  color: #fff;
}

.text-image-block .button:hover svg {
  transform: translate(3px);
}

.text-image-block.reverse {
  flex-direction: row-reverse;
}

.text-image-block.reverse .text-image-image {
  float: left;
  right: unset;
  left: 48px;
  width: 45%;
}

.text-image-block.reverse .text-image-content {
  float: right;
  width: 55%;
}

.text-image-block.reverse .wrapper {
  flex-direction: row-reverse;
}

.text-image-block.reverse .text-image-content-overlay {
  width: 55%;
  padding-left: 4rem;
  padding-right: 0px;
  border-right: none;
}

.alignfull .text-image-block.reverse .text-image-content-overlay {
  padding-right: 0;
}

@media screen and (max-width: 87.5rem) {
  .text-image-block .text-image-content-overlay {
    padding-right: 2.25rem;
  }

  .text-image-block.reverse .text-image-content-overlay {
    padding-left: 2.25rem;
  }
}

@media screen and (max-width: 50rem) {
  .text-image-block .text-image-image {
    width: 100%;
    height: 440px;
    position: relative;
    top: 0;
  }

  .text-image-block .text-image-content {
    width: 100%;
  }

  .text-image-block .wrapper {
    order: 2;
  }

  .text-image-block .text-image-image-overlay {
    width: 100%;
  }

  .text-image-block .text-image-content-overlay {
    width: 100%;
    flex: none;
    padding-right: 0;
    padding-top: 120px;
    padding-bottom: 120px;
    padding-left: 24px;
    border-left: none !important;
  }

  .text-image-block.reverse .text-image-content-overlay {
    padding-right: 0;
    padding-left: 0px;
  }
}

.panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 19em;
  height: 100%;
  background: #fff;
  overflow-y: scroll;
  border-right: 3px solid #FF6F57;
  padding-top: 50px;
  z-index: 99999;
  box-sizing: border-box;
  transform: translate3d(-100%, 0px, 0px);
  visibility: hidden;
  transition: 0.3s;
  transition-property: transform, visibility;
}

.panel.active {
  transform: translate3d(0px, 0px, 0px);
  visibility: visible;
}

.panel ul {
  margin-left: 0;
  padding-left: 0;
  margin-bottom: 0;
  margin-top: 0;
  width: 100%;
}

.panel ul li {
  list-style: none;
  margin-left: 0;
  border-top: 1px #FF6F57 solid;
  background-color: #FF6F57;
  margin-bottom: 0;
}

.panel ul li a {
  font-size: 1.2rem;
  text-decoration: none;
  color: #fff;
  padding: 25px 0 25px 30px;
  position: relative;
  display: inline-block;
  width: 100%;
  background-color: #FF6F57;
  transition: all 0.5s;
}

.panel #menu-top-header-navigation li {
  background-color: #ffffff;
}

.panel ul li a:hover {
  color: #fff;
}

.panel ul li a:focus {
  color: #ffffff;
}

.panel .menu-back {
  display: block;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  font-weight: 400;
  font-family: "Open Sans", Sans-Serif;
  text-decoration: none;
  padding: 12px 30px;
}

.panel .menu-item-has-children ul.sub-menu {
  position: absolute;
  display: block;
  top: 10rem;
  bottom: 0;
  left: 0;
  right: 0;
  transition: 0.3s ease;
  background: #fff;
  transform: translateX(-100%);
  z-index: 999;
}

.panel .menu-item-has-children ul.sub-menu.open-sub {
  transform: translateX(0);
}

.panel .menu-item-has-children > a:after {
  content: " >";
}

.panel .mobile-navigation-logo {
  width: 100%;
  text-align: center;
  padding-top: 25px;
  padding-bottom: 15px;
  position: relative;
  display: inline-block;
  margin: 0 auto;
  background-color: #fff;
}

.panel .mobile-navigation-logo img {
  max-width: 200px;
  margin: 0 auto;
  padding-top: 10px;
}

.panel .mobile-navigation-social-icons {
  padding: 20px 0;
  background: #fff;
}

.panel .mobile-navigation-social-icons h4 {
  margin: 0;
  padding: 0;
  font-size: 1.2rem;
  padding-left: 10px;
  padding-right: 25px;
  margin-bottom: 5px;
  color: #fff;
}

.panel .mobile-navigation-social-icons .list {
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  padding-left: 10px;
  padding-right: 10px;
  gap: 5px;
  justify-content: center;
}

.panel .mobile-navigation-social-icons svg {
  color: #fff;
  width: 3rem;
  margin-right: 5px;
  transition: all 0.5s;
  fill: #FF6F57;
}

.panel .mobile-navigation-social-icons svg:hover {
  color: #EA5D5F;
  fill: #EA5D5F;
}

.panel .mobile-navigation-social-icons svg:focus {
  color: #EA5D5F;
  fill: #EA5D5F;
}

.panel #menu-secondary-header-menu li a {
  font-weight: 100;
  text-transform: none;
}

.mobile-button-link {
  text-decoration: none;
}

.mobile-button-link .mobile-button {
  background-color: #EA5D5F;
  width: 60%;
  margin: 0 auto;
  padding: 10px;
  margin-top: 20px;
  margin-bottom: 10px;
  transition: all 0.5s;
}

.mobile-button-link .mobile-button h4 {
  text-align: center;
  color: #fff;
  margin: 0;
}

.mobile-button-link:hover > .mobile-button {
  background-color: #EA5D5F;
}

@media screen and (max-width: 800px) {
  .panel .menu-item-has-children ul.sub-menu {
    position: absolute;
    top: 0rem;
    padding-top: 5rem;
    bottom: 0;
    left: 0;
    right: 0;
    transition: 0.3s ease;
    background: #fff;
    transform: translateX(-100%);
  }

  body.open-menu #bcore-mobile-nav {
    transform: translateX(0);
  }
}

.panel .button {
  background-color: #FF6F57;
  color: #fff;
  padding: 1.125rem 1.25rem;
  line-height: 1rem;
  border-radius: 5px;
  margin-left: 5px;
  transition: all 0.5s;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 5px;
  margin-block: 1rem;
}

.panel .button svg {
  width: 1rem;
}

.panel .button:hover {
  background-color: #EA5D5F;
}

@media screen and (max-width: 400px) {
  .main-header .wrapper {
    justify-content: space-evenly !important;
  }

  .main-header .wrapper .logo {
    width: 20%;
  }
}

.header-main {
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 9999;
  padding: 20px 0;
}

.header-main .wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.header-main .wrapper .header-col-left {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.header-main .wrapper .header-col-left img {
  width: 290px;
  position: relative;
  z-index: 0;
}

.header-main .wrapper .header-col-right {
  display: flex;
  flex-direction: row;
}

#header-navigation {
  list-style: none;
  display: flex;
  flex-direction: row;
  margin: 0;
  padding-left: 0;
  gap: 40px;
}

#header-navigation a {
  color: #2E2E2E;
  text-decoration: none;
  font-weight: 600;
  padding: 15px;
  display: flex;
  align-items: center;
}

#header-navigation .menu-item-has-children {
  position: relative;
}

#header-navigation .menu-item-has-children > a {
  display: flex;
  align-items: center;
  gap: 6px;
}

#header-navigation .menu-item-has-children > a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid #FF6F57;
  border-bottom: 2px solid #FF6F57;
  transform: rotate(45deg);
  margin-bottom: 3px;
  transition: transform 0.3s ease;
}

#header-navigation .menu-item-has-children:hover > a::after {
  transform: rotate(-135deg);
  margin-bottom: 0;
}

#header-navigation .menu-item-has-children:hover > a {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

#header-navigation .menu-item-has-children:hover .sub-menu {
  left: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  -webkit-clip-path: inset(0 -12px -16px -12px);
          clip-path: inset(0 -12px -16px -12px);
}

#header-navigation li .sub-menu {
  list-style: none;
  background-color: #fff;
  padding: 20px 50px 20px 15px;
  position: absolute;
  z-index: 999;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  top: 100%;
  width: 300px;
  left: -9999px;
  border-bottom: 4px solid #FF6F57;
}

#header-navigation li .sub-menu li {
  padding: 10px;
  padding-left: 0;
}

#header-navigation li .sub-menu a {
  padding: 0;
}

.menu-link {
  position: relative;
  transition: all 0.3s ease-in-out;
  display: none;
}

.menu-link:hover .line {
  background-color: #FF6F57;
}

.menu-link .line {
  width: 50px;
  height: 5px;
  background-color: #FF6F57;
  display: block;
  margin: 8px auto;
  transition: all 0.3s ease-in-out;
}

.menu-link.active {
  transform: rotate(45deg);
}

.menu-link.active:before {
  border: 5px solid #fff;
}

.menu-link.active .line {
  width: 35px;
}

.menu-link.active .line:nth-child(2) {
  opacity: 0;
}

.menu-link.active .line:nth-child(1) {
  transform: translateY(13px);
}

.menu-link.active .line:nth-child(3) {
  transform: translateY(-13px) rotate(90deg);
}

@media screen and (max-width: 67.5rem) {
  .header-menu {
    padding: 0 20px;
  }

  #header-navigation {
    display: none;
  }

  .menu-link {
    display: block;
  }
}

footer {
  position: relative;
}

.footer-content-main {
  padding: 70px 0 60px;
  position: relative;
  background-color: #9e0a69;
  color: #fff;
  border-top: 4px solid #ED117A;
}

.footer-content-main .wrapper {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
}

.footer-content-main .wrapper .col-left {
  width: 50%;
  z-index: 2;
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
}

.footer-content-main .wrapper .col-left img {
  width: 170px;
  height: auto;
  margin: 0;
}

.footer-content-main .wrapper .col-left .footer-content-text {
  max-width: 520px;
  font-size: 15px;
  line-height: 1.6;
}

.footer-content-main .wrapper .col-left .footer-content-text p {
  margin: 0;
  color: #fff;
}

.footer-content-main .wrapper .col-right {
  width: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #fff;
  align-items: flex-start;
}

.footer-content-main .wrapper .col-right .footer-gravity-form {
  width: 100%;
  max-width: none;
}

.footer-content-main .wrapper .col-right .footer-gravity-form .footer-form-title {
  margin: 0 0 18px;
  color: #fff;
  font-family: "Roboto Slab", serif;
  font-size: 35px;
  font-weight: 400;
  line-height: 1.2;
}

.footer-content-main .wrapper .col-right .gform_wrapper {
  background-color: transparent !important;
  border: none !important;
  padding: 0 !important;
  color: #fff !important;
  width: 100%;
}

.footer-content-main .wrapper .col-right .gform_wrapper form {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}

.footer-content-main .wrapper .col-right .gform_wrapper .gform_body {
  flex: 1 1 auto;
  min-width: 0;
}

.footer-content-main .wrapper .col-right .gform_wrapper .gform_fields {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-content-main .wrapper .col-right .gform_wrapper .gfield {
  margin: 0;
  flex: 1 1 180px;
  display: flex;
  align-items: center;
  min-height: 46px;
}

.footer-content-main .wrapper .col-right .gform_wrapper .gfield .ginput_container,
.footer-content-main .wrapper .col-right .gform_wrapper .gfield input,
.footer-content-main .wrapper .col-right .gform_wrapper .gfield textarea,
.footer-content-main .wrapper .col-right .gform_wrapper .gfield select {
  width: 100%;
}

.footer-content-main .wrapper .col-right .gform_wrapper .gfield .ginput_container {
  height: 46px;
  display: flex;
  align-items: center;
}

.footer-content-main .wrapper .col-right .gform_wrapper .gform_footer {
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 0;
  display: flex;
  align-items: stretch;
}

.footer-content-main .wrapper .col-right .gform_wrapper .gform_button {
  height: 46px;
  min-height: 46px;
  align-self: center;
  padding: 0 26px;
  white-space: nowrap;
  border-radius: 4px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
}

.footer-content-main .wrapper .col-right .gform_wrapper input,
.footer-content-main .wrapper .col-right .gform_wrapper textarea,
.footer-content-main .wrapper .col-right .gform_wrapper select {
  background-color: #fff !important;
  border: 1px solid #e6e6e6 !important;
  border-radius: 4px !important;
  box-sizing: border-box;
  height: 46px;
  padding: 0 14px !important;
}

.footer-content-main .wrapper .col-right .gform_wrapper .gform_button {
  background-color: #ED117A !important;
  border: 0 !important;
  color: #fff !important;
  border-radius: 4px !important;
  font-size: 14px !important;
  font-weight: bold !important;
}

.footer-credit-main {
  background-color: #9e0a69;
  padding: 10px 0;
}

.footer-credit-main .wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  color: #fff;
}

.footer-credit-main .wrapper a {
  color: #fff;
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  .footer-credit-main .wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-content-main .wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .footer-content-main .col-left {
    width: 100%;
  }

  .footer-content-main .col-right {
    width: 100%;
    align-items: flex-start;
  }

  .footer-content-main .col-right .footer-gravity-form {
    max-width: none;
  }

  .footer-gravity-form .gform_wrapper form {
    flex-direction: column;
    gap: 10px;
  }

  .footer-gravity-form .gform_wrapper .gform_fields {
    flex-direction: column;
  }

  .footer-gravity-form .gform_wrapper .gform_footer {
    width: 100%;
  }
}

.hero-main {
  background-color: transparent;
  padding: 90px 0;
  position: relative;
}

.hero-main .wrapper {
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}

.hero-main .wrapper .hero-content {
  position: relative;
  z-index: 2;
  color: #2E2E2E;
  font-size: 20px;
  background-color: #fbf6f3;
  padding: clamp(28px, 4vw, 80px);
  border-radius: 4px 0 0 4px;
  width: 100%;
}

.hero-main .wrapper .hero-content h1 {
  color: #9E0A69;
  font-size: 50px;
  font-weight: 500;
  margin-bottom: 30px;
  margin-top: 0;
  width: auto;
}

.hero-main .wrapper .hero-content h1 strong {
  color: #ED117A;
  font-weight: 500;
}

.hero-main .wrapper .hero-content p {
  color: #2E2E2E;
  font-size: 16px;
  font-weight: 400;
}

.hero-main .wrapper .hero-content p strong {
  color: #000;
  font-size: 20px;
  font-weight: 600;
}

.hero-main .wrapper .hero-content .hero-button {
  padding: 10px 30px;
  background-color: #FF6F57;
  color: #fff;
  border-radius: 3px;
  text-decoration: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
  transition: all 0.5s;
}

.hero-main .wrapper .hero-content .hero-button svg {
  width: 20px;
  margin-left: 15px;
  fill: #fff;
  transition: all 0.5s;
}

.hero-main .wrapper .hero-content .hero-button:hover {
  background-color: #0e74ff;
  color: #fff;
}

.hero-main .wrapper .hero-content .hero-button:hover svg {
  transform: translate(3px);
}

.hero-main .wrapper .hero-content img {
  width: 400px;
  margin-bottom: 20px;
}

.hero-main .wrapper .hero-image {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 0 4px 4px 0;
}

.hero-main.front-page {
  padding-top: 110px;
}

@media screen and (max-width: 768px) {
  .hero-main {
    padding: 60px 0;
  }

  .hero-main .wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-main .wrapper .hero-content {
    max-width: none;
    border-radius: 4px;
  }

  .hero-main .wrapper .hero-content h1 {
    font-size: 30px;
  }

  .hero-main .wrapper .hero-image {
    height: auto;
    min-height: 320px;
    border-radius: 4px;
  }
}

.events-disclaimer-main {
  background-color: #FF6F57;
  color: #fff;
  padding: 14px 30px;
  font-size: 20px;
  font-weight: 600;
  display: block;
  width: 100%;
  margin-bottom: 15px;
}

.hero-main > .events-disclaimer-wrapper {
  display: block;
}

.post-type-archive-events .hero-main .hero-content {
  background-color: #FF6F57;
}

.page-template-events-archive-page .hero-main .hero-content {
  background-color: #FF6F57;
}

.post-type-archive-events .hero-main .hero-content h1,
.post-type-archive-events .hero-main .hero-content p,
.page-template-events-archive-page .hero-main .hero-content h1,
.page-template-events-archive-page .hero-main .hero-content p {
  color: #fff;
}

.events-archive-main {
  padding: 30px 0 80px;
}

.events-archive-grid {
  list-style: none;
  margin: 0;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  /* All rows share the same height so every card is identical, not just
     cards within the same row. */
  grid-auto-rows: 1fr;
  gap: 26px;
}

.events-archive-item {
  background: transparent;
  display: flex;
}

.events-archive-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.events-archive-image {
  position: relative;
  width: 100%;
  /* Every card has an identical-sized frame. */
  aspect-ratio: 16/9;
  border-radius: 3px;
  margin-bottom: 12px;
  flex: none;
  overflow: hidden;
  background-color: #fbf6f3;
  /* Backdrop: a blurred, zoomed copy of the same poster fills the frame, so
     there's no empty letterbox space and every card looks uniform. */
  /* Foreground: the full poster, contained and centered — nothing cropped. */
}

.events-archive-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--event-img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(22px) saturate(1.08);
  transform: scale(1.25);
}

.events-archive-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--event-img);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.events-archive-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.events-archive-title {
  margin: 0 0 8px;
  font-size: 40px;
  line-height: 1.15;
  color: #FF6F57;
  font-family: "Roboto Slab", serif;
  font-weight: 400;
}

.events-archive-date {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  color: #2E2E2E;
}

.events-archive-excerpt {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: #2E2E2E;
}

.events-info-main {
  padding: 0;
}

.events-how-book-main {
  padding: 60px 0 0;
}

.events-how-book-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}

.events-how-book-col {
  background: #fff;
  padding: 30px 38px;
  border-radius: 4px;
}

.events-how-book-title {
  margin: 0 0 14px;
  font-family: "Roboto Slab", serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
  color: #9E0A69;
}

.events-how-book-title--right {
  font-size: 22px;
}

.events-how-book-content p,
.events-terms-content p {
  margin: 0 0 12px;
  color: #2E2E2E;
  line-height: 1.6;
}

.events-how-book-content ul,
.events-how-book-content ol,
.events-terms-content ul,
.events-terms-content ol {
  margin: 0 0 12px;
  padding-left: 1.25em;
}

.events-how-book-content li,
.events-terms-content li {
  margin: 0 0 10px;
}

.events-how-book-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 12px 22px;
  border-radius: 4px;
  background-color: #9E0A69;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.events-gallery-main {
  padding: 50px 0 80px;
}

.events-gallery-title {
  font-family: "Roboto Slab", serif;
  font-size: 35px;
  font-weight: 400;
  line-height: 1.2;
  color: #9E0A69;
  margin: 0 0 18px;
}

.events-gallery-grid {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.events-gallery-grid--1 {
  grid-template-columns: 1fr;
}

.events-gallery-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.events-gallery-image {
  border-radius: 10px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  aspect-ratio: 4/3;
}

.events-gallery-grid--1 .events-gallery-image {
  aspect-ratio: 16/9;
}

@media screen and (max-width: 1024px) {
  .events-how-book-grid {
    grid-template-columns: 1fr;
  }

  .events-how-book-col {
    padding: 24px 20px;
  }

  .events-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .events-gallery-grid--1 {
    grid-template-columns: 1fr;
  }
}

.events-info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}

.events-info-card {
  background-color: #9E0A69;
  color: #fff;
  padding: 18px 20px;
  border-radius: 4px;
  min-height: 68px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex: 0 0 auto;
  max-width: 100%;
  text-align: center;
}

.events-info-card__label {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0;
  color: rgb(255, 255, 255);
  white-space: normal;
  text-align: center;
  font-family: "open sans", sans-serif;
}

.events-info-card__label::after {
  content: ":";
}

.events-info-card__value {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  white-space: pre-line;
  word-break: break-word;
  text-align: center;
  font-family: "open sans", sans-serif;
}

body.single-events .events-info-main {
  margin-top: -70px;
}

/* On single event pages, the hero image is a theatre poster — show the full
   image (no cropping) with a soft cream letterbox that ties to the content
   panel beside it. Scoped to events to avoid affecting other heroes that use
   background photos meant to fill the panel. */

body.single-events .hero-main .hero-image {
  background-size: contain;
  background-position: center;
  background-color: #fbf6f3;
}

@media screen and (max-width: 900px) {
  .events-info-grid {
    gap: 14px;
  }
}

@media screen and (max-width: 768px) {
  .events-archive-grid {
    grid-template-columns: 1fr;
  }

  .events-archive-title {
    font-size: 28px;
  }

  .events-disclaimer-main {
    padding: 12px 0;
    font-size: 11px;
  }

  .events-info-grid {
    gap: 14px;
  }

  body.single-events .events-info-main {
    margin-top: -30px;
  }

  .events-gallery-grid {
    grid-template-columns: 1fr;
  }
}

.events-bottom-promo-main {
  padding: 60px 0;
}

.events-bottom-promo-block {
  position: relative;
  overflow: visible;
  border-radius: 8px;
  background-color: #9E0A69;
  background-size: cover;
  background-position: center;
  padding: 70px 60px;
  min-height: 280px;
}

.events-bottom-promo-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(237, 17, 122, 0.78);
}

.events-bottom-promo-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.events-bottom-promo-content h1,
.events-bottom-promo-content h2,
.events-bottom-promo-content h3 {
  color: #fff;
  font-size: 34px;
  font-weight: 400;
}

.events-bottom-promo-content p {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}

.events-bottom-promo-content p strong {
  font-weight: 600;
  font-size: 20px;
  color: #fff;
}

.events-bottom-promo-content a {
  color: #fff;
}

.events-bottom-promo-circle {
  position: absolute;
  right: 70px;
  top: -70px;
  bottom: -70px;
  transform: none;
  width: 550px;
  border-radius: 50%;
  z-index: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.events-bottom-promo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 12px 40px;
  border-radius: 4px;
  background-color: #fff;
  color: #ED117A !important;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
}

@media screen and (max-width: 900px) {
  .events-bottom-promo-block {
    padding: 50px 24px;
    min-height: 240px;
  }

  .events-bottom-promo-circle {
    right: 24px;
    width: 320px;
    top: -55px;
    bottom: -55px;
  }
}

@media screen and (max-width: 768px) {
  .events-bottom-promo-main {
    padding: 40px 0;
  }

  .events-bottom-promo-circle {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin: 24px auto 0;
    width: 220px;
    height: 220px;
  }

  .events-bottom-promo-button {
    margin-top: 14px;
  }
}

.quick-link-main .wrapper .quick-link-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.quick-link-main .wrapper .quick-link-header .quick-link-header-title {
  margin: 0;
  color: #FF6F57;
}

.quick-link-main .wrapper .quick-link-header .quick-link-header-button {
  background-color: #FF6F57;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 4px;
  white-space: nowrap;
}

.quick-link-main .wrapper .quick-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-left: 0;
  list-style: none;
  gap: 20px;
  margin: 0;
}

.quick-link-main .wrapper .quick-link-grid .single-quick-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: 6px;
  overflow: hidden;
}

.quick-link-main .wrapper .quick-link-grid .quick-link-card {
  text-decoration: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  color: inherit;
}

.quick-link-main .wrapper .quick-link-grid .ql-button {
  padding: 10px 12px;
  background-color: #fff;
  color: #000;
  width: -moz-fit-content;
  width: fit-content;
  border-radius: 5px;
  margin-top: auto;
  z-index: 2;
  position: relative;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
}

.quick-link-main .wrapper .quick-link-grid .quick-link-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 22px;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.quick-link-main .wrapper .quick-link-grid .quick-link-content h2,
.quick-link-main .wrapper .quick-link-grid .quick-link-content h3 {
  color: inherit;
  margin-top: 0;
  font-size: 20px;
  font-weight: 500;
}

.quick-link-main .wrapper .quick-link-grid .quick-link-content p {
  margin-top: 0;
  opacity: 1;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}

.quick-link-main .wrapper .quick-link-grid .quick-link-content svg {
  position: absolute;
  bottom: -90px;
  right: 0;
}

.quick-link-main .wrapper .quick-link-grid .quick-link-image {
  padding: 160px 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.quick-link-main .wrapper .quick-link-grid .single-quick-link:nth-child(4n+1) .quick-link-content {
  background-color: #ff6f57;
}

.quick-link-main .wrapper .quick-link-grid .single-quick-link:nth-child(4n+2) .quick-link-content {
  background-color: #d0107a;
}

.quick-link-main .wrapper .quick-link-grid .single-quick-link:nth-child(4n+3) .quick-link-content {
  background-color: #7b167a;
}

.quick-link-main .wrapper .quick-link-grid .single-quick-link:nth-child(4n+4) .quick-link-content {
  background-color: #f2a3c8;
}

.quick-link-main.front-page {
  position: relative;
  z-index: 3;
}

@media screen and (max-width: 768px) {
  .quick-link-main .wrapper .quick-link-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .quick-link-main .wrapper .quick-link-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 1100px) {
  .quick-link-main .wrapper .quick-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.guide-price-main {
  position: relative;
  margin: 100px 0;
}

.guide-price-main .wrapper {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='1201' height='242' viewBox='0 0 1201 242'%3e%3crect id='Rectangle_49' data-name='Rectangle 49' width='1200' height='242' rx='3' fill='%23acce31'/%3e%3crect id='Rectangle_49-2' data-name='Rectangle 49' width='1200' height='242' rx='3' fill='%23acce31'/%3e%3cpath id='Path_38' data-name='Path 38' d='M3,0H248L188,242H3a3,3,0,0,1-3-3V3A3,3,0,0,1,3,0Z' fill='%23a2c22e'/%3e%3cpath id='Path_39' data-name='Path 39' d='M-16,0H-72l-60,242H-16a3,3,0,0,0,3-3V3A3,3,0,0,0-16,0Z' transform='translate(1214)' fill='%23222939'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  padding: 20px 80px;
}

.guide-price-main .wrapper .gform_wrapper {
  color: #fff !important;
  width: 60%;
  background-color: transparent;
  border: none;
  padding: none;
}

.guide-price-main .wrapper .gform_wrapper h2 {
  color: #fff;
  margin-bottom: 10px;
}

.guide-price-main .wrapper .gform_wrapper h2::after {
  margin: 0 !important;
  border: 0 !important;
}

.guide-price-main .wrapper .gform_wrapper .gform_button {
  display: none;
}

.guide-price-main .wrapper .gform_wrapper .gform_heading .gform_description {
  margin-top: 0 !important;
}

.cta-main {
  margin-top: 50px;
  margin-bottom: 50px;
  background-color: #fff;
}

.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 280px;
}

/* ----- Left: random testimonial ---------------------------------------- */

.cta-testimonial {
  background-color: #FEF8F6;
  padding: 44px 48px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  position: relative;
  overflow: hidden;
}

.cta-testimonial__header {
  margin-bottom: 24px;
}

.cta-testimonial__eyebrow {
  margin: 0 0 8px;
  font-family: "open sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FF6F57;
}

.cta-testimonial__title {
  margin: 0;
  font-family: "DM Serif Display", serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.1;
  color: #9e0a69;
}

.cta-testimonial__card {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  flex: 1;
  justify-content: center;
}

/* Large decorative quote mark — sits behind the testimonial as a soft
   editorial accent rather than a small floating badge. */

.cta-testimonial__mark {
  position: absolute;
  top: -10px;
  left: -8px;
  pointer-events: none;
  z-index: 0;
  line-height: 0;
  opacity: 0.18;
}

.cta-testimonial__mark svg {
  width: 84px;
  height: 84px;
  fill: #FF6F57;
}

.cta-testimonial__quote {
  margin: 0;
  padding: 0;
  border: 0;
  color: #9e0a69;
  position: relative;
  z-index: 1;
}

.cta-testimonial__quote p {
  margin: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.4;
  font-style: italic;
  color: #9e0a69;
}

.cta-testimonial__quote p::before {
  content: "\201C";
}

.cta-testimonial__quote p::after {
  content: "\201D";
}

.cta-testimonial__meta {
  position: relative;
  z-index: 1;
}

.cta-testimonial__meta {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cta-testimonial__name {
  font-family: "open sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2e2e2e;
}

.cta-testimonial__company {
  font-family: "open sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(46, 46, 46, 0.7);
}

.cta-testimonial__empty {
  margin: 0;
  font-family: "open sans", sans-serif;
  color: rgba(46, 46, 46, 0.6);
  font-style: italic;
}

/* ----- Right: coral CTA panel (unchanged from previous) ---------------- */

.cta-promo {
  background-color: #FF6F57;
  padding: 44px 48px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.cta-promo__inner {
  max-width: 520px;
}

.cta-promo__content {
  margin-bottom: 22px;
}

.cta-promo__content h1,
.cta-promo__content h2,
.cta-promo__content h3 {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 16px;
}

.cta-promo__content h1 em,
.cta-promo__content h1 .cta-promo-accent,
.cta-promo__content h2 em,
.cta-promo__content h2 .cta-promo-accent,
.cta-promo__content h3 em,
.cta-promo__content h3 .cta-promo-accent {
  color: #9e0a69;
  font-style: italic;
  font-weight: inherit;
}

.cta-promo__content p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.55;
  color: #fff;
}

.cta-promo__content p:last-child {
  margin-bottom: 0;
}

.cta-promo__content a {
  color: #fff;
  text-decoration: underline;
}

.cta-promo__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background-color: #9e0a69;
  border-radius: 4px;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

.cta-promo__button:hover,
.cta-promo__button:focus {
  color: #fff;
  opacity: 0.92;
}

@media screen and (max-width: 900px) {
  .cta-split {
    grid-template-columns: 1fr;
  }

  .cta-testimonial {
    padding: 32px 24px 36px;
  }

  .cta-promo {
    padding: 36px 24px 40px;
  }

  .cta-promo__inner {
    max-width: none;
  }
}

@media screen and (max-width: 768px) {
  .cta-testimonial__quote p {
    font-size: 18px;
  }

  .cta-promo__content {
    text-align: left;
  }
}

.testimonial-block {
  position: relative;
  margin: 100px 0;
}

.testimonial-grid {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.testimonial-item {
  background-color: transparent;
  padding: 18px 18px 12px;
  text-align: center;
  position: relative;
  max-width: 920px;
  margin: 0 auto;
}

.testimonial-copy {
  margin: 0;
  color: #FF6F57;
  font-weight: 500;
  font-size: 35px;
  line-height: 1.12;
}

.testimonial-quotes {
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  display: flex;
  justify-content: space-between;
  padding: 0 14px;
  pointer-events: none;
}

.testimonial-quotes svg {
  width: 16px;
  height: 16px;
  fill: #ff6f57;
}

.meta {
  margin-top: 10px;
}

.meta p {
  margin: 0;
  color: #2e2e2e;
  font-weight: 600;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.meta strong {
  font-weight: 600;
}

@media screen and (max-width: 768px) {
  .testimonial-item {
    padding: 18px 16px 12px;
  }

  .testimonial-copy {
    font-size: 30px;
  }
}

.case-study-main {
  background-color: #222939;
}

.case-study-page .case-study-single {
  margin: 60px 0;
}

.case-study-grid {
  list-style: none;
  padding-left: 0;
}

.case-study-single {
  display: flex;
  flex-direction: row;
}

.case-study-single .case-study-content {
  width: 35%;
  padding: 40px;
}

.case-study-single .case-study-content h2 {
  font-size: 30px;
  color: #fff;
  width: -moz-fit-content;
  width: fit-content;
}

.case-study-single .case-study-content P {
  color: #fff;
  font-size: 17px;
}

.case-study-single .case-study-content .case-study-buttons {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 100px;
}

.case-study-single .case-study-content .case-study-buttons a {
  text-decoration: none;
}

.case-study-single .case-study-content .case-study-buttons .more-button {
  padding: 15px;
  border: 2px solid #fff;
  color: #fff;
  padding-right: 60px;
}

.case-study-single .case-study-content .case-study-buttons .all-button {
  padding: 10px;
  border: 2px solid #FF6F57;
  color: #FF6F57;
  display: flex;
  align-items: center;
  padding-left: 15px;
  padding-right: 15px;
}

.case-study-single .case-study-image {
  width: 65%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 250px 0;
}

@media screen and (max-width: 768px) {
  .case-study-main .case-study-grid {
    grid-template-columns: 1fr;
  }
}

.content-block-main .wrapper .content {
  width: 80%;
}

.content-block-main .wrapper .content h1 {
  margin-bottom: 10px;
}

.content-block-main .wrapper .content h2 {
  font-size: 34px;
  font-weight: 400;
  color: #9E0A69;
  margin-bottom: 10px;
  margin-top: 0;
}

.content-block-main .wrapper .content h4 {
  font-size: 24px;
  font-weight: 300;
  color: #2c3e63;
  font-family: "open sans", sans-serif;
  margin-top: 0;
}

.content-block-main .wrapper .content ul,
.content-block-main .wrapper .content ol {
  margin: 0 0 18px;
  padding-left: 1.25em;
}

.content-block-main .wrapper .content li {
  margin: 0 0 12px;
}

.content-block-main .wrapper .content li:last-child {
  margin-bottom: 0;
}

.content-block-main .wrapper .content-right ul,
.content-block-main .wrapper .content-right ol {
  margin: 0 0 18px;
  padding-left: 1.25em;
}

.content-block-main .wrapper .content-right li {
  margin: 0 0 12px;
}

.content-block-main .wrapper .content-right li:last-child {
  margin-bottom: 0;
}

.content-block-main .wrapper .content-right h1 {
  margin-bottom: 10px;
}

.content-block-main .wrapper .content-right h2 {
  font-size: 34px;
  font-weight: 400;
  color: #9E0A69;
  margin-bottom: 10px;
  margin-top: 0;
}

.content-block-main .wrapper .content-right h4 {
  font-size: 24px;
  font-weight: 300;
  color: #2c3e63;
  font-family: "open sans", sans-serif;
  margin-top: 0;
}

.content-block-main.two-col .wrapper {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.content-block-main.two-col .content {
  width: 50%;
  padding: 80px 30px 80px 0;
  border-radius: 4px 0 0 4px;
  min-height: 0;
}

.content-block-main.two-col .content-right {
  width: 50%;
  padding: 80px 0 80px 30px;
  border-radius: 0 4px 4px 0;
}

.content-block-main.two-col .content-right h1,
.content-block-main.two-col .content-right h2,
.content-block-main.two-col .content-right h3,
.content-block-main.two-col .content-right h4 {
  color: #ff6f57;
}

.content-block-main.two-col .content-right p {
  color: #2c3e63;
}

.content-block-main.two-col.text-on-colour .wrapper .content {
  color: #fff;
  padding-left: 60px;
}

.content-block-main.two-col.text-on-colour .wrapper .content h1,
.content-block-main.two-col.text-on-colour .wrapper .content h2,
.content-block-main.two-col.text-on-colour .wrapper .content h4,
.content-block-main.two-col.text-on-colour .wrapper .content p {
  color: #fff !important;
}

.content-block-main.margin {
  margin-top: 5rem;
  margin-bottom: 5rem;
}

.content-block-main.image .wrapper {
  display: flex;
  flex-direction: row;
  gap: 0;
  align-items: stretch;
}

.content-block-main.image .wrapper .content {
  width: 50%;
  padding: 120px 30px 120px 0;
  border-radius: 4px 0 0 4px;
  min-height: 0;
}

.content-block-main.image .wrapper .content-block-media {
  width: 50%;
  flex: 0 0 50%;
  overflow: hidden;
  border-radius: 0 4px 4px 0;
  align-self: stretch;
  min-height: 0;
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 1px;
}

.content-block-main.image.text-on-colour .wrapper .content {
  color: #fff;
  padding-left: 60px;
}

.content-block-main.image.text-on-colour .wrapper .content h1,
.content-block-main.image.text-on-colour .wrapper .content h2,
.content-block-main.image.text-on-colour .wrapper .content h4,
.content-block-main.image.text-on-colour .wrapper .content p {
  color: #fff;
}

.content-block-main.image.reverse .wrapper {
  flex-direction: row-reverse;
}

.content-block-main.image.reverse .wrapper .content {
  border-radius: 0 4px 4px 0;
}

.content-block-main.image.reverse .wrapper .content-block-media {
  border-radius: 4px 0 0 4px;
}

@media screen and (max-width: 768px) {
  .content-block-main .wrapper .content {
    width: 100%;
  }

  .content-block-main.image .wrapper {
    flex-direction: column;
  }

  .content-block-main.image .wrapper .content {
    border-radius: 4px 4px 0 0;
  }

  .content-block-main.image .wrapper .content-block-media {
    width: 100%;
    flex: 0 0 auto;
    border-radius: 0 0 4px 4px;
    height: auto;
    aspect-ratio: 16/9;
  }

  .content-block-main.two-col .wrapper {
    flex-direction: column;
  }

  .content-block-main.two-col .content {
    width: 100%;
    border-radius: 4px 4px 0 0;
  }

  .content-block-main.two-col .content-right {
    width: 100%;
    border-radius: 0 0 4px 4px;
  }
}

.team-members-main .wrapper .team-members-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  list-style: none;
  padding-left: 0;
  gap: 40px;
}

.team-members-main .wrapper .team-members-grid .single-team-member {
  display: flex;
  flex-direction: column;
}

.team-members-main .wrapper .team-members-grid .single-team-member .team-member-image {
  padding: 225px 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.team-members-main .wrapper .team-members-grid .single-team-member .team-member-content {
  background-color: #222939;
  color: #fff;
  padding: 30px 80px 30px 40px;
}

.team-members-main .wrapper .team-members-grid .single-team-member .team-member-content h2 {
  color: #fff;
  font-weight: 400;
  font-size: 30px;
  margin-bottom: 0;
}

.team-members-main .wrapper .team-members-grid .single-team-member .team-member-content h2::after {
  display: none;
}

.team-members-main .wrapper .team-members-grid .single-team-member .team-member-content h3 {
  color: #FF6F57;
  width: -moz-fit-content;
  width: fit-content;
  display: flex;
  flex-direction: column;
  font-weight: 400;
}

.team-members-main .wrapper .team-members-grid .single-team-member .team-member-content h3::after {
  content: "";
  border-top: 1px solid #FF6F57;
  width: 140%;
  margin-top: 20px;
  font-size: 18px;
  font-weight: 400;
}

.team-members-main .wrapper .team-members-grid .single-team-member .team-member-content P {
  font-size: 17px;
}

.contact-block {
  padding: 40px 0 20px;
}

.contact-block .wrapper {
  display: grid;
  grid-template-columns: 1fr minmax(380px, 46%);
  gap: 40px;
  align-items: start;
}

.contact-block .contact-col-left .company-name {
  margin: 0 0 18px;
  color: #9E0A69;
  font-family: "Roboto Slab", serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.15;
}

.contact-block .contact-col-left .company-name strong {
  color: #ED117A;
  font-weight: 400;
}

.contact-block .contact-col-left .contact-meta p {
  margin: 0 0 10px;
  color: #2e2e2e;
  font-size: 16px;
}

.contact-block .contact-col-left .contact-meta strong {
  color: #000;
}

.contact-block .contact-col-left .contact-meta a {
  color: #2e2e2e;
  text-decoration: none;
}

.contact-block .contact-col-right {
  background-color: #FEF8F6;
  border-radius: 4px;
  padding: 22px 24px 26px;
}

.contact-block .contact-col-right .contact-form-title {
  margin: 0 0 14px;
  color: #9e0a69;
  font-family: "Roboto Slab", serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.15;
}

.contact-block .contact-form-wrap .gform_wrapper {
  margin: 0;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}

.contact-block .contact-form-wrap .gform_wrapper .gform_fields {
  gap: 10px;
}

.contact-block .contact-form-wrap .gform_wrapper .gfield {
  margin: 0;
}

.contact-block .contact-form-wrap .gform_wrapper input,
.contact-block .contact-form-wrap .gform_wrapper textarea,
.contact-block .contact-form-wrap .gform_wrapper select {
  width: 100%;
  border: 0 !important;
  background-color: #fff !important;
  border-radius: 2px !important;
  padding: 12px 14px !important;
  color: #2e2e2e;
}

.contact-block .contact-form-wrap .gform_wrapper textarea {
  min-height: 130px;
}

.contact-block .contact-form-wrap .gform_wrapper .gform_footer {
  margin: 0 !important;
  padding: 2px 0 0 !important;
}

.contact-block .contact-form-wrap .gform_wrapper .gform_button {
  background-color: #ed117a !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 4px !important;
  width: auto !important;
  min-width: 0 !important;
  display: inline-block !important;
  padding: 10px 30px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
}

@media screen and (max-width: 900px) {
  .contact-block .wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-block .contact-col-right {
    padding: 20px;
  }

  .contact-block .contact-col-left .company-name,
  .contact-block .contact-col-right .contact-form-title {
    font-size: 34px;
  }
}

.case-study-page .wrapper .case-study-grid.archive {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.case-study-page .wrapper .case-study-grid.archive .case-study-single {
  flex-direction: column;
  background-color: #222939;
  overflow: hidden;
  position: relative;
}

.case-study-page .wrapper .case-study-grid.archive .case-study-single .case-study-content {
  width: 100%;
  order: 2;
  position: relative;
  display: flex;
  flex: 1;
  justify-content: space-between;
  flex-direction: column;
}

.case-study-page .wrapper .case-study-grid.archive .case-study-single .case-study-content .case-study-buttons {
  margin-top: 50px;
}

.case-study-page .wrapper .case-study-grid.archive .case-study-single .case-study-image {
  width: 100%;
  order: 1;
  padding: 225px;
}

.case-study-page .wrapper .case-study-grid.archive .case-study-single svg {
  position: absolute;
  z-index: 2;
  right: 50px;
  bottom: -100px;
  fill: #707070;
  width: 133px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 4rem 0;
}

.pagination .page-numbers {
  background-color: #222939;
  padding: 1rem;
  color: #fff;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.188rem;
  font-weight: 500;
  min-width: 2rem;
  transition: all 0.5s;
}

.pagination .page-numbers.current {
  background-color: #222939;
}

.pagination .page-numbers:hover {
  background-color: #222939;
}

.pagination .page-numbers.next {
  background-color: #FF6F57;
}

.pagination .page-numbers.next svg {
  fill: #fff;
}

.pagination .page-numbers.prev {
  background-color: #FF6F57;
}

.pagination .page-numbers.prev svg {
  fill: #fff;
}

.pagination svg {
  width: 0.75rem;
}

.blog {
  background-color: #fff;
}

.news-page-title {
  position: relative;
  padding-top: 25px;
  padding-bottom: 20px;
  color: #fff;
}

.news-page-title .wrapper {
  position: relative;
  z-index: 2;
}

.news-page-title h1 {
  font-size: 2.5rem;
  margin-bottom: 0;
  color: #fff;
  padding: 20px;
  background-color: #19489e;
  width: -moz-fit-content;
  width: fit-content;
}

.news-page-title p {
  width: 60%;
  font-size: 18px;
  color: #222939;
}

.news-index-title {
  font-size: 3.5rem;
  margin-bottom: 0;
  color: #FF6F57;
}

.news-main {
  background-color: #fff;
}

.news-main .wrapper .news-grid {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 24px;
}

.news-main .wrapper .news-grid .single-news {
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.news-main .wrapper .news-grid .single-news > a {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.news-main .wrapper .news-grid .news-image {
  flex: 0 0 auto;
  height: 350px;
  min-height: 350px;
  padding: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.news-main .wrapper .news-grid .news-content {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  color: #fff;
}

.news-main .wrapper .news-grid .news-date {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  padding-bottom: 10px;
}

.news-main .wrapper .news-grid .news-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}

.news-main .wrapper .news-grid .news-excerpt {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  flex: 1 1 auto;
  min-height: 0;
  color: #fff;
  padding-bottom: 20px;
}

.news-main .wrapper .news-grid .news-button {
  flex-shrink: 0;
  margin-top: auto;
  margin-bottom: 8px;
  align-self: flex-start;
  padding: 8px 16px;
  border-radius: 4px;
  background-color: #fff;
  color: #000;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.news-main .wrapper .news-grid .single-news:nth-child(3n+1) .news-content {
  background-color: #ff6f57;
}

.news-main .wrapper .news-grid .single-news:nth-child(3n+2) .news-content {
  background-color: #d0107a;
}

.news-main .wrapper .news-grid .single-news:nth-child(3n+3) .news-content {
  background-color: #7b167a;
}

.pagination {
  margin: 0 auto;
  margin-block: 3rem;
  display: flex;
  justify-content: flex-start;
  gap: 10px;
}

.pagination .page-numbers {
  text-decoration: none;
  color: #fff;
  background-color: #4a4556;
  padding: 1.2rem 1.4rem;
  display: inline-block;
  transition: all 0.5s;
  display: flex;
  align-items: center;
  font-size: 1.2rem;
}

.pagination .current {
  background-color: #222939;
  font-family: "open Sans", sans-serif;
  color: #ffffff;
  cursor: pointer;
  border-radius: 5px;
  font-weight: 600;
}

.pagination svg {
  width: 11px;
}

.pagination .page-numbers.current:hover {
  background-color: #222939;
  color: #fff;
}

.pagination .page-numbers:hover {
  background-color: #e0e0e0;
  color: #000;
}

.pagination .page-numbers:hover svg {
  fill: #000;
}

.prev {
  padding: 0.5rem 0.8rem !important;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.prev svg {
  fill: #fff;
  width: 15px;
}

.next {
  padding: 0.5rem 0.8rem !important;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.next svg {
  width: 15px;
  fill: #fff;
}

@media screen and (max-width: 50rem) {
  .news-main .wrapper .news-grid {
    grid-template-columns: 1fr;
  }
}

.latest-news-main {
  padding: 40px 0;
}

.latest-news-main .wrapper .latest-news-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.latest-news-main .wrapper .latest-news-header .latest-news-title {
  font-size: 34px;
  font-weight: 400;
  margin-bottom: 4px;
  color: #9e0a69;
  margin-top: 0;
}

.latest-news-main .wrapper .latest-news-header .all-news-button {
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  padding: 12px 20px;
  color: #fff;
  background-color: #9e0a69;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
}

.latest-news-main .wrapper .news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 24px;
  list-style: none;
  padding-left: 0;
}

.latest-news-main .wrapper .news-grid .single-news {
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.latest-news-main .wrapper .news-grid .single-news > a {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.latest-news-main .wrapper .news-grid .news-image {
  flex: 0 0 auto;
  height: 350px;
  min-height: 350px;
  padding: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.latest-news-main .wrapper .news-grid .news-content {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  color: #fff;
}

.latest-news-main .wrapper .news-grid .news-date {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  opacity: 0.9;
  color: #fff;
  margin-bottom: 0px;
  padding-bottom: 10px;
}

.latest-news-main .wrapper .news-grid .news-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  font-family: "open sans", sans-serif;
}

.latest-news-main .wrapper .news-grid .news-excerpt {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  flex: 1 1 auto;
  min-height: 0;
  color: #fff;
  padding-bottom: 20px;
}

.latest-news-main .wrapper .news-grid .news-button {
  flex-shrink: 0;
  margin-top: auto;
  margin-bottom: 8px;
  align-self: flex-start;
  padding: 8px 16px;
  border-radius: 4px;
  background-color: #fff;
  color: #000;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.latest-news-main .wrapper .news-grid .single-news:nth-child(3n+1) .news-content {
  background-color: #ff6f57;
}

.latest-news-main .wrapper .news-grid .single-news:nth-child(3n+2) .news-content {
  background-color: #d0107a;
}

.latest-news-main .wrapper .news-grid .single-news:nth-child(3n+3) .news-content {
  background-color: #7b167a;
}

@media screen and (max-width: 768px) {
  .latest-news-main .wrapper .news-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-block-main {
  margin: 100px 0;
}

.gallery-block-main .wrapper .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  padding-left: 0;
  gap: 20px;
}

.gallery-block-main .wrapper .gallery-grid .image {
  height: 100%;
  padding: 133px 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.gallery-block-main .wrapper .gallery-grid .single-image {
  border-radius: 10px;
}

.gallery-block-main .wrapper .gallery-grid .single-image:nth-child(7n+4) {
  grid-column: span 2;
}

.gallery-block-main .wrapper .gallery-grid .single-image:nth-child(7n+5) {
  grid-row: span 2;
}

.gallery-block-main.small .gallery-grid {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-block-main.small .gallery-grid .single-image:nth-child(3n+1) {
  grid-column: span 2;
}

.gallery-block-main.small .gallery-grid .single-image:nth-child(3n+2) {
  grid-column: span 1;
}

.gallery-block-main.constrain {
  width: 80%;
}

.gallery-block-main.remove-margin {
  margin: 50px 0 !important;
}

@media screen and (max-width: 750px) {
  .gallery-block-main.constrain {
    width: 100% !important;
  }
}

.local-links-main .wrapper .local-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding-left: 0;
  list-style: none;
  gap: 40px;
}

.local-links-main .wrapper .local-links-grid .single-local-link {
  background-color: #1E3055;
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 30px;
  outline: 5px solid #fff;
  outline-offset: -10px;
}

.local-links-main .wrapper .local-links-grid .single-local-link h2 {
  color: #fff;
  margin-top: 0;
}

.local-links-main .wrapper .local-links-grid .single-local-link a {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}

.local-links-main .wrapper .local-links-grid .single-local-link a svg {
  width: 22px;
  fill: #fff;
}

.accreditations-main {
  background-color: #FEF8F6;
  padding: 40px 0;
}

.accreditations-main .wrapper p {
  margin-bottom: 0;
  margin-top: 30px;
  text-align: center;
}

.accreditations-main .wrapper .accreditations {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 60px;
}

.accreditations-main .wrapper .accreditations img {
  width: 117px;
}

@media screen and (max-width: 915px) {
  .accreditations {
    flex-wrap: wrap !important;
  }
}

.client-block-main {
  background-color: #FFFBFA;
  padding: 0;
  margin-top: 60px;
  margin-bottom: 60px;
}

.client-block-main .client-block-inner {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  border-radius: 6px;
  overflow: visible;
}

.client-block-main .client-block-left {
  background-color: #fff5f2;
  color: #FF6F57;
  padding: 22px 26px;
  flex: 0 0 420px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 0;
}

.client-block-main .client-block-left::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  right: -8px;
  background-color: #fff5f2;
  z-index: -1;
}

.client-block-main .client-block-brand-logo {
  width: 112px;
  height: 112px;
  -o-object-fit: contain;
     object-fit: contain;
  flex: 0 0 auto;
}

.client-block-main .client-block-brand-text {
  font-size: 34px;
  font-weight: 400;
  line-height: 1.2;
  color: #ED117A;
  flex: 1;
}

.client-block-main .client-block-right {
  background-color: #FFFBFA;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.5vw, 40px);
  padding: 18px 32px;
  flex-wrap: wrap;
  border-radius: 0 6px 6px 0;
}

.client-block-main .client-block-logo {
  height: 56px;
  width: auto;
  max-width: 220px;
  -o-object-fit: contain;
     object-fit: contain;
  filter: grayscale(0);
  opacity: 0.95;
}

@media screen and (max-width: 900px) {
  .client-block-main .client-block-inner {
    flex-direction: column;
  }

  .client-block-main .client-block-left {
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
  }

  .client-block-main .client-block-left::before {
    display: none;
  }

  .client-block-main .client-block-right {
    justify-content: flex-start;
    border-radius: 0 0 6px 6px;
  }
}

.feature-links-main {
  margin-bottom: 150px;
}

.feature-links-main .feature-links-left {
  --feature-accent: #ed117a;
}

.feature-links-main .feature-links-right {
  --feature-accent: #9e0a69;
}

.feature-links-main .feature-links-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
}

.feature-links-main .feature-links-left,
.feature-links-main .feature-links-right {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.feature-links-main .feature-links-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.feature-links-main .feature-links-header .feature-links-header-content h2 {
  margin: 0;
  color: var(--feature-accent);
}

.feature-links-main .feature-links-header .feature-links-header-content p {
  margin: 6px 0 0;
  color: #2e2e2e;
  font-size: 14px;
  line-height: 1.4;
}

.feature-links-main .feature-links-header-button {
  background-color: var(--feature-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 4px;
  white-space: nowrap;
  margin-top: 4px;
}

.feature-links-main .feature-links-left-image {
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  flex: 1;
  min-height: 420px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.feature-links-main .feature-links-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  flex: 1;
}

.feature-links-main .feature-links-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  min-height: 150px;
  display: flex;
  flex-direction: column;
}

.feature-links-main .feature-links-item-image {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: saturate(0.95);
}

.feature-links-main .feature-links-item-overlay {
  position: relative;
  z-index: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #fff;
  flex: 1;
  text-align: center;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.feature-links-main .feature-links-item-overlay h3 {
  margin: 0;
  font-size: 33px;
  font-weight: 400;
  color: #fff;
}

.feature-links-main .feature-links-item-overlay p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  opacity: 1;
  color: #fff;
}

.feature-links-main .feature-links-item-button {
  margin-top: 12px;
  align-self: center;
  background-color: #fff;
  color: #000;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 6px;
  border: 2px solid rgba(0, 0, 0, 0.6);
}

@media screen and (max-width: 1100px) {
  .feature-links-main .feature-links-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media screen and (max-width: 620px) {
  .feature-links-main .feature-links-items {
    grid-template-columns: 1fr;
  }
}

.membership-block {
  padding: 50px 0;
}

.membership-block .membership-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.membership-block .membership-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 60px 30px;
  border: 1px solid var(--membership-accent, #9E0A69);
  border-radius: 2px;
  background-color: #FEF8F6;
}

.membership-block .membership-title {
  margin: 0 0 12px;
  color: var(--membership-accent, #9E0A69);
  font-size: 34px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.15;
}

.membership-block .membership-intro {
  margin: 0 0 18px;
  color: #2f2f2f;
  font-size: 18px;
  line-height: 1.45;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(158, 10, 105, 0.22);
}

.membership-block .membership-items {
  margin-bottom: 26px;
  flex: 1 1 auto;
}

.membership-block .membership-item {
  margin-bottom: 15px;
}

.membership-block .membership-item:last-child {
  margin-bottom: 0;
}

.membership-block .membership-item h4 {
  margin: 0 0 3px;
  color: #2E2E2E;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 500;
}

.membership-block .membership-item p {
  margin: 0;
  color: #3d3d3d;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
}

.membership-block .membership-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 9px 18px;
  border-radius: 4px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background-color: var(--membership-accent, #9E0A69);
}

@media screen and (max-width: 900px) {
  .membership-block .membership-grid {
    grid-template-columns: 1fr;
  }

  .membership-block .membership-title {
    font-size: 32px;
  }

  .membership-block .membership-item h4 {
    font-size: 22px;
  }
}

/* ==========================================================================
   Membership Pricing Cards block
   Aligned to the Elaine Grant theme: pink-cream panels, magenta + coral
   accents, DM Serif Display headings, flat cards (no SaaS shadows/pills).
   ========================================================================== */

.membership-pricing {
  /* Full-bleed cream band (matches the theme hero panel); breaks out of the
     constrained content container, same technique as the .alignfull helper. */
  margin: 50px calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
  background: #fbf6f3;
  padding: clamp(48px, 6vw, 80px) 0;
  position: relative;
}

.membership-pricing .wrapper {
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.membership-pricing__panel {
  position: relative;
}

/* ----- Header ----------------------------------------------------------- */

.membership-pricing__topline {
  font-family: "open sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff6f57;
  text-align: center;
  margin-bottom: 14px;
}

.membership-pricing__heading {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.12;
  text-align: center;
  margin: 0 auto 16px;
  max-width: 820px;
  color: #2e2e2e;
}

.membership-pricing__heading em {
  font-style: italic;
  color: #9e0a69;
}

.membership-pricing__lead {
  text-align: center;
  color: #3d3d3d;
  font-family: "open sans", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  max-width: 600px;
  margin: 0 auto 20px;
}

/* ----- Savings line (quiet editorial pull-line, no pill) ---------------- */

.membership-pricing__savings-wrap {
  text-align: center;
  margin: 0 auto clamp(36px, 5vw, 52px);
  max-width: 600px;
  padding-top: 18px;
  border-top: 1px solid rgba(158, 10, 105, 0.18);
}

.membership-pricing__savings {
  font-family: "open sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #3d3d3d;
}

.membership-pricing__savings strong {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-style: italic;
  font-size: 22px;
  color: #9e0a69;
}

/* ----- Cards grid ------------------------------------------------------- */

.membership-pricing__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  max-width: 1000px;
  margin: 0 auto;
}

.membership-pricing__cards[data-count="1"] {
  grid-template-columns: minmax(0, 500px);
  justify-content: center;
}

.membership-pricing__cards[data-count="3"] {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1180px;
}

.membership-pricing__card {
  background: #fff;
  border: 1px solid rgba(158, 10, 105, 0.18);
  border-radius: 2px;
  padding: clamp(32px, 4vw, 48px) clamp(26px, 3vw, 34px);
  position: relative;
  display: flex;
  flex-direction: column;
  /* Featured card: solid magenta fill — the same treatment the theme uses on
     events info cards and the CTA promo panel. Carries weight without a
     drop-shadow. (Editor "dark" style maps to this.) */
}

.membership-pricing__card--dark {
  background: #9e0a69;
  border-color: #9e0a69;
  color: #fff;
}

.membership-pricing__badge {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 7px 14px;
  background: #ff6f57;
  color: #fff;
  font-family: "open sans", sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 4px;
}

.membership-pricing__tier-name {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-style: italic;
  font-size: 34px;
  line-height: 1.1;
  margin: 0 0 4px;
  color: #9e0a69;
}

.membership-pricing__card--dark .membership-pricing__tier-name {
  color: #fff;
}

.membership-pricing__tier-sub {
  font-family: "open sans", sans-serif;
  font-size: 15px;
  color: #6f6f6f;
  margin: 0 0 24px;
}

.membership-pricing__card--dark .membership-pricing__tier-sub {
  color: rgba(255, 255, 255, 0.75);
}

.membership-pricing__price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid rgba(158, 10, 105, 0.18);
  padding-bottom: 22px;
  margin-bottom: 24px;
}

.membership-pricing__card--dark .membership-pricing__price-row {
  border-color: rgba(255, 255, 255, 0.25);
}

.membership-pricing__price {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-size: clamp(44px, 5vw, 56px);
  line-height: 1;
  color: #9e0a69;
  /* On sale: the offer price reads in coral (the attention colour) so it
     stands apart from the struck-through original. */
}

.membership-pricing__card--dark .membership-pricing__price {
  color: #fff;
}

.membership-pricing__price--sale {
  color: #ff6f57;
}

.membership-pricing__card--dark .membership-pricing__price--sale {
  color: #ff6f57;
}

/* Original price, struck through when a sale price is set. */

.membership-pricing__price-was {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1;
  color: #6f6f6f;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  -webkit-text-decoration-color: rgba(117, 105, 99, 0.7);
          text-decoration-color: rgba(117, 105, 99, 0.7);
}

.membership-pricing__card--dark .membership-pricing__price-was {
  color: rgba(255, 255, 255, 0.7);
  -webkit-text-decoration-color: rgba(255, 255, 255, 0.55);
          text-decoration-color: rgba(255, 255, 255, 0.55);
}

.membership-pricing__price-suffix {
  font-family: "open sans", sans-serif;
  font-size: 14px;
  color: #6f6f6f;
}

.membership-pricing__card--dark .membership-pricing__price-suffix {
  color: rgba(255, 255, 255, 0.8);
}

/* ----- Feature list ----------------------------------------------------- */

.membership-pricing__features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.membership-pricing__features li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 12px;
  align-items: start;
  font-family: "open sans", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #3d3d3d;
}

.membership-pricing__features li b,
.membership-pricing__features li strong {
  color: #2e2e2e;
  font-weight: 600;
}

.membership-pricing__card--dark .membership-pricing__features li {
  color: rgba(255, 255, 255, 0.9);
}

.membership-pricing__card--dark .membership-pricing__features li b,
.membership-pricing__card--dark .membership-pricing__features li strong {
  color: #fff;
  font-weight: 600;
}

/* Simple check glyph in the accent colour — no circular chip. */

.membership-pricing__check {
  color: #ff6f57;
  margin-top: 3px;
}

.membership-pricing__check svg {
  width: 14px;
  height: 14px;
  display: block;
}

.membership-pricing__card--dark .membership-pricing__check {
  color: #ff6f57;
}

/* ----- CTAs (match the theme button idiom: uppercase, 700, 4px) --------- */

.membership-pricing__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: flex-start;
  padding: 13px 26px;
  border-radius: 4px;
  font-family: "open sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  /* Primary CTA on the featured card — coral, the theme's primary action colour. */
}

.membership-pricing__cta--ghost {
  background: transparent;
  color: #9e0a69;
  border-color: #9e0a69;
}

.membership-pricing__cta--ghost:hover,
.membership-pricing__cta--ghost:focus {
  background: #9e0a69;
  color: #fff;
}

.membership-pricing__cta--gold {
  background: #ff6f57;
  color: #fff;
  border-color: #ff6f57;
}

.membership-pricing__cta--gold:hover,
.membership-pricing__cta--gold:focus {
  background: #ea5d5f;
  border-color: #ea5d5f;
  color: #fff;
}

.membership-pricing__cta-arrow {
  font-size: 15px;
  line-height: 1;
}

.membership-pricing__cta-foot {
  font-family: "open sans", sans-serif;
  font-size: 13px;
  color: #6f6f6f;
  margin-top: 14px;
}

.membership-pricing__card--dark .membership-pricing__cta-foot {
  color: rgba(255, 255, 255, 0.7);
}

/* ----- Trust row (editorial numerals, not a stat bar) ------------------- */

.membership-pricing__trust {
  margin: clamp(40px, 5vw, 56px) auto 0;
  padding-top: 32px;
  border-top: 1px solid rgba(158, 10, 105, 0.18);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1000px;
}

.membership-pricing__trust-item {
  text-align: center;
}

.membership-pricing__trust-num {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-size: 38px;
  line-height: 1.1;
  color: #2e2e2e;
  margin-bottom: 6px;
}

.membership-pricing__trust-num em {
  color: #9e0a69;
  font-style: italic;
}

.membership-pricing__trust-label {
  font-family: "open sans", sans-serif;
  font-size: 14px;
  color: #6f6f6f;
  line-height: 1.45;
}

/* ----- Responsive ------------------------------------------------------- */

@media screen and (max-width: 900px) {
  .membership-pricing__cards,
  .membership-pricing__cards[data-count="3"],
  .membership-pricing__trust {
    grid-template-columns: 1fr;
  }

  .membership-pricing__trust {
    gap: 24px;
  }
}

/* ==========================================================================
   MemberPress login & account — Elaine Grant theme styling
   --------------------------------------------------------------------------
   Every rule scoped under body.eg-mp-login or body.eg-mp-account so we win
   specificity over the plugin's own stylesheet without using !important.
   Body classes are set in includes/memberpress-customisations.php.
   ========================================================================== */

/* Local design tokens — refer back to _variables.scss for the canon. */

/* ==========================================================================
   1. Shared base — both login & account
   ========================================================================== */

body.eg-mp-login,
body.eg-mp-account {
  background-color: #fbf6f3;
}

body.eg-mp-login .mp_wrapper,
body.eg-mp-account .mp_wrapper {
  font-family: "open sans", sans-serif;
}

body.eg-mp-login:not(.eg-mp-account) .page-title {
  display: none;
}

body.eg-mp-account .page-title {
  padding-top: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(20px, 3vw, 36px);
}

body.eg-mp-account .page-title h1 {
  font-family: "DM Serif Display", serif;
  color: #9E0A69;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05;
  font-weight: 400;
  margin: 0;
}

/* ==========================================================================
   2. Login hero
   --------------------------------------------------------------------------
   ReadyLaunch path: #mepro-login-hero > .mepro-boxed > .mepro-login-contents
   Legacy path:      .mp_wrapper.mp_login_form > form.mepr-form (no boxed split)

   Both share the cream-card aesthetic; ReadyLaunch additionally supports a
   side image when a welcome image is configured (.with-sidebar variant).
   ========================================================================== */

/* ReadyLaunch path */

body.eg-mp-login #mepro-login-hero {
  max-width: 90rem;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 80px) 10px;
}

body.eg-mp-login #mepro-login-hero > .mepro-boxed {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

@media (min-width: 900px) {
  body.eg-mp-login #mepro-login-hero.with-sidebar > .mepro-boxed {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
  }
}

body.eg-mp-login #mepro-login-hero .mepro-login-contents {
  background-color: #FEF8F6;
  padding: clamp(28px, 4vw, 72px);
  border-radius: 4px;
  box-shadow: 0 12px 30px rgba(34, 41, 57, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 900px) {
  body.eg-mp-login #mepro-login-hero.with-sidebar .mepro-login-contents {
    border-radius: 4px 0 0 4px;
    box-shadow: none;
  }
}

body.eg-mp-login #mepro-login-hero .mepro-login-hero-image {
  margin: 0;
  display: block;
  min-height: 320px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(34, 41, 57, 0.08);
}

body.eg-mp-login #mepro-login-hero .mepro-login-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

@media (min-width: 900px) {
  body.eg-mp-login #mepro-login-hero .mepro-login-hero-image {
    border-radius: 0 4px 4px 0;
    box-shadow: none;
  }
}

/* Legacy path: .mp_wrapper.mp_login_form is the form container — render
   it as a single cream card with full padding. The .eg-login-ribbon
   (injected AFTER the form via hook) sits inside this card as a nested
   white callout — its own contrasting bg and magenta border make it pop. */

body.eg-mp-login .mp_wrapper.mp_login_form {
  max-width: 760px;
  margin: clamp(28px, 5vw, 64px) auto clamp(40px, 6vw, 80px);
  padding: clamp(28px, 4vw, 56px);
  background-color: #FEF8F6;
  border-radius: 4px;
  box-shadow: 0 12px 30px rgba(34, 41, 57, 0.08);
}

/* Children are transparent — share the cream wrapper's bg with no shadows */

body.eg-mp-login .mp_wrapper.mp_login_form > form#mepr_loginform,
body.eg-mp-login .mp_wrapper.mp_login_form > form.mepr-form {
  background: transparent;
  padding: 0;
  margin: 0;
}

body.eg-mp-login .mp_wrapper.mp_login_form > .mp-spacer {
  background: transparent;
  height: 8px;
  margin: 0;
  padding: 0;
}

body.eg-mp-login .mp_wrapper.mp_login_form > .mepr-login-actions {
  background: transparent;
  margin: 0;
  padding: 0;
  box-shadow: none;
}

/* "Already logged in" notice — small badge inside the cream card */

body.eg-mp-login .mp_wrapper.mp_login_form > .mepr-already-logged-in {
  margin: 0;
  padding: 18px 22px;
  background: #fbf6f3;
  border-left: 4px solid #FF6F57;
  border-radius: 3px;
}

body.eg-mp-login .mp_wrapper.mp_login_form > .mepr-already-logged-in a {
  color: #FF6F57;
  font-weight: 600;
}

/* Children sit inside the cream card with no own background or shadow. */

body.eg-mp-login .mp_wrapper.mp_login_form > form#mepr_loginform,
body.eg-mp-login .mp_wrapper.mp_login_form > form.mepr-form {
  background: transparent;
  padding: 0;
  margin: 0;
}

body.eg-mp-login .mp_wrapper.mp_login_form > .mp-spacer {
  background: transparent;
  height: 8px;
  margin: 0;
  padding: 0;
}

body.eg-mp-login .mp_wrapper.mp_login_form > .mepr-login-actions {
  background: transparent;
  margin: 0;
  padding: 0;
  box-shadow: none;
}

/* The injected hero headline's own bottom margin spaces it from the form. */

/* "Already logged in" notice — small badge inside the cream card */

body.eg-mp-login .mp_wrapper.mp_login_form > .mepr-already-logged-in {
  margin: 0;
  padding: 18px 22px;
  background: #fbf6f3;
  border-left: 4px solid #FF6F57;
  border-radius: 3px;
}

body.eg-mp-login .mp_wrapper.mp_login_form > .mepr-already-logged-in a {
  color: #FF6F57;
  font-weight: 600;
}

/* Hide any default heading the plugin emits (we use the injected hero) */

body.eg-mp-login #mepro-login-hero #mepr-template-login > h1,
body.eg-mp-login #mepro-login-hero .mepro-form > h1,
body.eg-mp-login .mp_login_form > h1 {
  display: none;
}

/* ==========================================================================
   3. Login hero headline (injected via mepr_before_login_form)
   ========================================================================== */

body.eg-mp-login .eg-login-hero-headline {
  margin: 0 0 28px;
}

body.eg-mp-login .eg-login-hero-headline__eyebrow {
  font-family: "open sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  font-weight: 600;
  color: #FF6F57;
  margin: 0 0 12px;
}

body.eg-mp-login .eg-login-hero-headline__title {
  font-family: "DM Serif Display", serif;
  color: #9E0A69;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.05;
  font-weight: 400;
  margin: 0 0 18px;
}

body.eg-mp-login .eg-login-hero-headline__title strong {
  color: #ED117A;
  font-weight: 400;
}

body.eg-mp-login .eg-login-hero-headline__copy {
  font-family: "open sans", sans-serif;
  color: #2E2E2E;
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   4. Login forms — fields, submit, layout inside the cream panel
   --------------------------------------------------------------------------
   Targets both .mepro-form (ReadyLaunch) and .mepr-form/.mp_login_form (Legacy).
   ========================================================================== */

body.eg-mp-login .mepro-form,
body.eg-mp-login .mp_login_form > form,
body.eg-mp-login .mp_login_form .mepr-form,
body.eg-mp-login .mp_wrapper > form,
body.eg-mp-login form#mepr_loginform,
body.eg-mp-login form#mepr_forgot_password_form,
body.eg-mp-login form#mepr_reset_password_form {
  margin: 0;
}

body.eg-mp-login .mepro-form .mp-form-row,
body.eg-mp-login .mp_login_form > form .mp-form-row,
body.eg-mp-login .mp_login_form .mepr-form .mp-form-row,
body.eg-mp-login .mp_wrapper > form .mp-form-row,
body.eg-mp-login form#mepr_loginform .mp-form-row,
body.eg-mp-login form#mepr_forgot_password_form .mp-form-row,
body.eg-mp-login form#mepr_reset_password_form .mp-form-row {
  margin: 0 0 18px;
}

body.eg-mp-login .mepro-form .mp-form-label label,
body.eg-mp-login .mepro-form label.placeholder-text,
body.eg-mp-login .mp_login_form > form .mp-form-label label,
body.eg-mp-login .mp_login_form > form label.placeholder-text,
body.eg-mp-login .mp_login_form .mepr-form .mp-form-label label,
body.eg-mp-login .mp_login_form .mepr-form label.placeholder-text,
body.eg-mp-login .mp_wrapper > form .mp-form-label label,
body.eg-mp-login .mp_wrapper > form label.placeholder-text,
body.eg-mp-login form#mepr_loginform .mp-form-label label,
body.eg-mp-login form#mepr_loginform label.placeholder-text,
body.eg-mp-login form#mepr_forgot_password_form .mp-form-label label,
body.eg-mp-login form#mepr_forgot_password_form label.placeholder-text,
body.eg-mp-login form#mepr_reset_password_form .mp-form-label label,
body.eg-mp-login form#mepr_reset_password_form label.placeholder-text {
  display: inline-block;
  margin: 0 0 6px;
  font-family: "open sans", sans-serif;
  color: #2E2E2E;
  font-weight: 600;
  font-size: 15px;
}

body.eg-mp-login .mepro-form input[type=text],
body.eg-mp-login .mepro-form input[type=email],
body.eg-mp-login .mepro-form input[type=password],
body.eg-mp-login .mepro-form input[type=tel],
body.eg-mp-login .mepro-form input[type=url],
body.eg-mp-login .mepro-form input[type=number],
body.eg-mp-login .mp_login_form > form input[type=text],
body.eg-mp-login .mp_login_form > form input[type=email],
body.eg-mp-login .mp_login_form > form input[type=password],
body.eg-mp-login .mp_login_form > form input[type=tel],
body.eg-mp-login .mp_login_form > form input[type=url],
body.eg-mp-login .mp_login_form > form input[type=number],
body.eg-mp-login .mp_login_form .mepr-form input[type=text],
body.eg-mp-login .mp_login_form .mepr-form input[type=email],
body.eg-mp-login .mp_login_form .mepr-form input[type=password],
body.eg-mp-login .mp_login_form .mepr-form input[type=tel],
body.eg-mp-login .mp_login_form .mepr-form input[type=url],
body.eg-mp-login .mp_login_form .mepr-form input[type=number],
body.eg-mp-login .mp_wrapper > form input[type=text],
body.eg-mp-login .mp_wrapper > form input[type=email],
body.eg-mp-login .mp_wrapper > form input[type=password],
body.eg-mp-login .mp_wrapper > form input[type=tel],
body.eg-mp-login .mp_wrapper > form input[type=url],
body.eg-mp-login .mp_wrapper > form input[type=number],
body.eg-mp-login form#mepr_loginform input[type=text],
body.eg-mp-login form#mepr_loginform input[type=email],
body.eg-mp-login form#mepr_loginform input[type=password],
body.eg-mp-login form#mepr_loginform input[type=tel],
body.eg-mp-login form#mepr_loginform input[type=url],
body.eg-mp-login form#mepr_loginform input[type=number],
body.eg-mp-login form#mepr_forgot_password_form input[type=text],
body.eg-mp-login form#mepr_forgot_password_form input[type=email],
body.eg-mp-login form#mepr_forgot_password_form input[type=password],
body.eg-mp-login form#mepr_forgot_password_form input[type=tel],
body.eg-mp-login form#mepr_forgot_password_form input[type=url],
body.eg-mp-login form#mepr_forgot_password_form input[type=number],
body.eg-mp-login form#mepr_reset_password_form input[type=text],
body.eg-mp-login form#mepr_reset_password_form input[type=email],
body.eg-mp-login form#mepr_reset_password_form input[type=password],
body.eg-mp-login form#mepr_reset_password_form input[type=tel],
body.eg-mp-login form#mepr_reset_password_form input[type=url],
body.eg-mp-login form#mepr_reset_password_form input[type=number] {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  background-color: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 3px;
  color: #2E2E2E;
  font-family: "open sans", sans-serif;
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.eg-mp-login .mepro-form input[type=text]:focus,
body.eg-mp-login .mepro-form input[type=email]:focus,
body.eg-mp-login .mepro-form input[type=password]:focus,
body.eg-mp-login .mepro-form input[type=tel]:focus,
body.eg-mp-login .mepro-form input[type=url]:focus,
body.eg-mp-login .mepro-form input[type=number]:focus,
body.eg-mp-login .mp_login_form > form input[type=text]:focus,
body.eg-mp-login .mp_login_form > form input[type=email]:focus,
body.eg-mp-login .mp_login_form > form input[type=password]:focus,
body.eg-mp-login .mp_login_form > form input[type=tel]:focus,
body.eg-mp-login .mp_login_form > form input[type=url]:focus,
body.eg-mp-login .mp_login_form > form input[type=number]:focus,
body.eg-mp-login .mp_login_form .mepr-form input[type=text]:focus,
body.eg-mp-login .mp_login_form .mepr-form input[type=email]:focus,
body.eg-mp-login .mp_login_form .mepr-form input[type=password]:focus,
body.eg-mp-login .mp_login_form .mepr-form input[type=tel]:focus,
body.eg-mp-login .mp_login_form .mepr-form input[type=url]:focus,
body.eg-mp-login .mp_login_form .mepr-form input[type=number]:focus,
body.eg-mp-login .mp_wrapper > form input[type=text]:focus,
body.eg-mp-login .mp_wrapper > form input[type=email]:focus,
body.eg-mp-login .mp_wrapper > form input[type=password]:focus,
body.eg-mp-login .mp_wrapper > form input[type=tel]:focus,
body.eg-mp-login .mp_wrapper > form input[type=url]:focus,
body.eg-mp-login .mp_wrapper > form input[type=number]:focus,
body.eg-mp-login form#mepr_loginform input[type=text]:focus,
body.eg-mp-login form#mepr_loginform input[type=email]:focus,
body.eg-mp-login form#mepr_loginform input[type=password]:focus,
body.eg-mp-login form#mepr_loginform input[type=tel]:focus,
body.eg-mp-login form#mepr_loginform input[type=url]:focus,
body.eg-mp-login form#mepr_loginform input[type=number]:focus,
body.eg-mp-login form#mepr_forgot_password_form input[type=text]:focus,
body.eg-mp-login form#mepr_forgot_password_form input[type=email]:focus,
body.eg-mp-login form#mepr_forgot_password_form input[type=password]:focus,
body.eg-mp-login form#mepr_forgot_password_form input[type=tel]:focus,
body.eg-mp-login form#mepr_forgot_password_form input[type=url]:focus,
body.eg-mp-login form#mepr_forgot_password_form input[type=number]:focus,
body.eg-mp-login form#mepr_reset_password_form input[type=text]:focus,
body.eg-mp-login form#mepr_reset_password_form input[type=email]:focus,
body.eg-mp-login form#mepr_reset_password_form input[type=password]:focus,
body.eg-mp-login form#mepr_reset_password_form input[type=tel]:focus,
body.eg-mp-login form#mepr_reset_password_form input[type=url]:focus,
body.eg-mp-login form#mepr_reset_password_form input[type=number]:focus {
  outline: none;
  border-color: #FF6F57;
  box-shadow: 0 0 0 3px rgba(255, 111, 87, 0.15);
}

body.eg-mp-login .mepro-form .mp-hide-pw,
body.eg-mp-login .mp_login_form > form .mp-hide-pw,
body.eg-mp-login .mp_login_form .mepr-form .mp-hide-pw,
body.eg-mp-login .mp_wrapper > form .mp-hide-pw,
body.eg-mp-login form#mepr_loginform .mp-hide-pw,
body.eg-mp-login form#mepr_forgot_password_form .mp-hide-pw,
body.eg-mp-login form#mepr_reset_password_form .mp-hide-pw {
  position: relative;
}

body.eg-mp-login .mepro-form .mp-hide-pw input[type=password],
body.eg-mp-login .mepro-form .mp-hide-pw input[type=text],
body.eg-mp-login .mp_login_form > form .mp-hide-pw input[type=password],
body.eg-mp-login .mp_login_form > form .mp-hide-pw input[type=text],
body.eg-mp-login .mp_login_form .mepr-form .mp-hide-pw input[type=password],
body.eg-mp-login .mp_login_form .mepr-form .mp-hide-pw input[type=text],
body.eg-mp-login .mp_wrapper > form .mp-hide-pw input[type=password],
body.eg-mp-login .mp_wrapper > form .mp-hide-pw input[type=text],
body.eg-mp-login form#mepr_loginform .mp-hide-pw input[type=password],
body.eg-mp-login form#mepr_loginform .mp-hide-pw input[type=text],
body.eg-mp-login form#mepr_forgot_password_form .mp-hide-pw input[type=password],
body.eg-mp-login form#mepr_forgot_password_form .mp-hide-pw input[type=text],
body.eg-mp-login form#mepr_reset_password_form .mp-hide-pw input[type=password],
body.eg-mp-login form#mepr_reset_password_form .mp-hide-pw input[type=text] {
  padding-right: 46px;
}

body.eg-mp-login .mepro-form .mp-hide-pw button.mp-hide-pw,
body.eg-mp-login .mepro-form .mp-hide-pw button.button.link,
body.eg-mp-login .mp_login_form > form .mp-hide-pw button.mp-hide-pw,
body.eg-mp-login .mp_login_form > form .mp-hide-pw button.button.link,
body.eg-mp-login .mp_login_form .mepr-form .mp-hide-pw button.mp-hide-pw,
body.eg-mp-login .mp_login_form .mepr-form .mp-hide-pw button.button.link,
body.eg-mp-login .mp_wrapper > form .mp-hide-pw button.mp-hide-pw,
body.eg-mp-login .mp_wrapper > form .mp-hide-pw button.button.link,
body.eg-mp-login form#mepr_loginform .mp-hide-pw button.mp-hide-pw,
body.eg-mp-login form#mepr_loginform .mp-hide-pw button.button.link,
body.eg-mp-login form#mepr_forgot_password_form .mp-hide-pw button.mp-hide-pw,
body.eg-mp-login form#mepr_forgot_password_form .mp-hide-pw button.button.link,
body.eg-mp-login form#mepr_reset_password_form .mp-hide-pw button.mp-hide-pw,
body.eg-mp-login form#mepr_reset_password_form .mp-hide-pw button.button.link {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  padding: 6px;
  cursor: pointer;
  color: #2E2E2E;
}

body.eg-mp-login .mepro-form .mp-hide-pw button.mp-hide-pw .dashicons,
body.eg-mp-login .mepro-form .mp-hide-pw button.button.link .dashicons,
body.eg-mp-login .mp_login_form > form .mp-hide-pw button.mp-hide-pw .dashicons,
body.eg-mp-login .mp_login_form > form .mp-hide-pw button.button.link .dashicons,
body.eg-mp-login .mp_login_form .mepr-form .mp-hide-pw button.mp-hide-pw .dashicons,
body.eg-mp-login .mp_login_form .mepr-form .mp-hide-pw button.button.link .dashicons,
body.eg-mp-login .mp_wrapper > form .mp-hide-pw button.mp-hide-pw .dashicons,
body.eg-mp-login .mp_wrapper > form .mp-hide-pw button.button.link .dashicons,
body.eg-mp-login form#mepr_loginform .mp-hide-pw button.mp-hide-pw .dashicons,
body.eg-mp-login form#mepr_loginform .mp-hide-pw button.button.link .dashicons,
body.eg-mp-login form#mepr_forgot_password_form .mp-hide-pw button.mp-hide-pw .dashicons,
body.eg-mp-login form#mepr_forgot_password_form .mp-hide-pw button.button.link .dashicons,
body.eg-mp-login form#mepr_reset_password_form .mp-hide-pw button.mp-hide-pw .dashicons,
body.eg-mp-login form#mepr_reset_password_form .mp-hide-pw button.button.link .dashicons {
  color: #2E2E2E;
}

body.eg-mp-login .mepro-form .mp-hide-pw button.mp-hide-pw:hover .dashicons,
body.eg-mp-login .mepro-form .mp-hide-pw button.button.link:hover .dashicons,
body.eg-mp-login .mp_login_form > form .mp-hide-pw button.mp-hide-pw:hover .dashicons,
body.eg-mp-login .mp_login_form > form .mp-hide-pw button.button.link:hover .dashicons,
body.eg-mp-login .mp_login_form .mepr-form .mp-hide-pw button.mp-hide-pw:hover .dashicons,
body.eg-mp-login .mp_login_form .mepr-form .mp-hide-pw button.button.link:hover .dashicons,
body.eg-mp-login .mp_wrapper > form .mp-hide-pw button.mp-hide-pw:hover .dashicons,
body.eg-mp-login .mp_wrapper > form .mp-hide-pw button.button.link:hover .dashicons,
body.eg-mp-login form#mepr_loginform .mp-hide-pw button.mp-hide-pw:hover .dashicons,
body.eg-mp-login form#mepr_loginform .mp-hide-pw button.button.link:hover .dashicons,
body.eg-mp-login form#mepr_forgot_password_form .mp-hide-pw button.mp-hide-pw:hover .dashicons,
body.eg-mp-login form#mepr_forgot_password_form .mp-hide-pw button.button.link:hover .dashicons,
body.eg-mp-login form#mepr_reset_password_form .mp-hide-pw button.mp-hide-pw:hover .dashicons,
body.eg-mp-login form#mepr_reset_password_form .mp-hide-pw button.button.link:hover .dashicons {
  color: #FF6F57;
}

body.eg-mp-login .mepro-form .mepr_remember_me,
body.eg-mp-login .mp_login_form > form .mepr_remember_me,
body.eg-mp-login .mp_login_form .mepr-form .mepr_remember_me,
body.eg-mp-login .mp_wrapper > form .mepr_remember_me,
body.eg-mp-login form#mepr_loginform .mepr_remember_me,
body.eg-mp-login form#mepr_forgot_password_form .mepr_remember_me,
body.eg-mp-login form#mepr_reset_password_form .mepr_remember_me {
  display: flex;
  align-items: center;
  gap: 8px;
}

body.eg-mp-login .mepro-form .mepr_remember_me input[type=checkbox],
body.eg-mp-login .mp_login_form > form .mepr_remember_me input[type=checkbox],
body.eg-mp-login .mp_login_form .mepr-form .mepr_remember_me input[type=checkbox],
body.eg-mp-login .mp_wrapper > form .mepr_remember_me input[type=checkbox],
body.eg-mp-login form#mepr_loginform .mepr_remember_me input[type=checkbox],
body.eg-mp-login form#mepr_forgot_password_form .mepr_remember_me input[type=checkbox],
body.eg-mp-login form#mepr_reset_password_form .mepr_remember_me input[type=checkbox] {
  width: auto;
  min-height: 0;
  margin: 0;
}

body.eg-mp-login .mepro-form .mepr_remember_me label,
body.eg-mp-login .mp_login_form > form .mepr_remember_me label,
body.eg-mp-login .mp_login_form .mepr-form .mepr_remember_me label,
body.eg-mp-login .mp_wrapper > form .mepr_remember_me label,
body.eg-mp-login form#mepr_loginform .mepr_remember_me label,
body.eg-mp-login form#mepr_forgot_password_form .mepr_remember_me label,
body.eg-mp-login form#mepr_reset_password_form .mepr_remember_me label {
  margin: 0;
  font-weight: 400;
  color: #2E2E2E;
}

body.eg-mp-login .mepro-form .submit,
body.eg-mp-login .mp_login_form > form .submit,
body.eg-mp-login .mp_login_form .mepr-form .submit,
body.eg-mp-login .mp_wrapper > form .submit,
body.eg-mp-login form#mepr_loginform .submit,
body.eg-mp-login form#mepr_forgot_password_form .submit,
body.eg-mp-login form#mepr_reset_password_form .submit {
  margin-top: 8px;
}

body.eg-mp-login .mepro-form input[type=submit],
body.eg-mp-login .mepro-form button[type=submit],
body.eg-mp-login .mepro-form .mepr-submit,
body.eg-mp-login .mp_login_form > form input[type=submit],
body.eg-mp-login .mp_login_form > form button[type=submit],
body.eg-mp-login .mp_login_form > form .mepr-submit,
body.eg-mp-login .mp_login_form .mepr-form input[type=submit],
body.eg-mp-login .mp_login_form .mepr-form button[type=submit],
body.eg-mp-login .mp_login_form .mepr-form .mepr-submit,
body.eg-mp-login .mp_wrapper > form input[type=submit],
body.eg-mp-login .mp_wrapper > form button[type=submit],
body.eg-mp-login .mp_wrapper > form .mepr-submit,
body.eg-mp-login form#mepr_loginform input[type=submit],
body.eg-mp-login form#mepr_loginform button[type=submit],
body.eg-mp-login form#mepr_loginform .mepr-submit,
body.eg-mp-login form#mepr_forgot_password_form input[type=submit],
body.eg-mp-login form#mepr_forgot_password_form button[type=submit],
body.eg-mp-login form#mepr_forgot_password_form .mepr-submit,
body.eg-mp-login form#mepr_reset_password_form input[type=submit],
body.eg-mp-login form#mepr_reset_password_form button[type=submit],
body.eg-mp-login form#mepr_reset_password_form .mepr-submit {
  display: inline-block;
  background-color: #FF6F57;
  color: #fff;
  border: 0;
  border-radius: 3px;
  padding: 12px 32px;
  font-family: "open sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

body.eg-mp-login .mepro-form input[type=submit]:hover,
body.eg-mp-login .mepro-form button[type=submit]:hover,
body.eg-mp-login .mepro-form .mepr-submit:hover,
body.eg-mp-login .mp_login_form > form input[type=submit]:hover,
body.eg-mp-login .mp_login_form > form button[type=submit]:hover,
body.eg-mp-login .mp_login_form > form .mepr-submit:hover,
body.eg-mp-login .mp_login_form .mepr-form input[type=submit]:hover,
body.eg-mp-login .mp_login_form .mepr-form button[type=submit]:hover,
body.eg-mp-login .mp_login_form .mepr-form .mepr-submit:hover,
body.eg-mp-login .mp_wrapper > form input[type=submit]:hover,
body.eg-mp-login .mp_wrapper > form button[type=submit]:hover,
body.eg-mp-login .mp_wrapper > form .mepr-submit:hover,
body.eg-mp-login form#mepr_loginform input[type=submit]:hover,
body.eg-mp-login form#mepr_loginform button[type=submit]:hover,
body.eg-mp-login form#mepr_loginform .mepr-submit:hover,
body.eg-mp-login form#mepr_forgot_password_form input[type=submit]:hover,
body.eg-mp-login form#mepr_forgot_password_form button[type=submit]:hover,
body.eg-mp-login form#mepr_forgot_password_form .mepr-submit:hover,
body.eg-mp-login form#mepr_reset_password_form input[type=submit]:hover,
body.eg-mp-login form#mepr_reset_password_form button[type=submit]:hover,
body.eg-mp-login form#mepr_reset_password_form .mepr-submit:hover {
  background-color: #EA5D5F;
  transform: translateY(-1px);
}

body.eg-mp-login .mepro-form .mp-spacer,
body.eg-mp-login .mp_login_form > form .mp-spacer,
body.eg-mp-login .mp_login_form .mepr-form .mp-spacer,
body.eg-mp-login .mp_wrapper > form .mp-spacer,
body.eg-mp-login form#mepr_loginform .mp-spacer,
body.eg-mp-login form#mepr_forgot_password_form .mp-spacer,
body.eg-mp-login form#mepr_reset_password_form .mp-spacer {
  height: 8px;
}

body.eg-mp-login .mepr-login-actions {
  margin-top: 18px;
}

body.eg-mp-login .mepr-login-actions a {
  color: #FF6F57;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

body.eg-mp-login .mepr-login-actions a:hover {
  color: #EA5D5F;
  border-bottom-color: #EA5D5F;
}

body.eg-mp-login .mepr-already-logged-in {
  background: #fbf6f3;
  border-left: 4px solid #FF6F57;
  padding: 16px 20px;
  border-radius: 3px;
  color: #2E2E2E;
}

body.eg-mp-login .mepr-already-logged-in a {
  color: #FF6F57;
  font-weight: 600;
}

/* ==========================================================================
   5. Forgot / reset password — same hero shell, slightly different copy
   --------------------------------------------------------------------------
   Some MemberPress versions emit a richer wrapper (#mepr-template-login).
   Others emit a minimal .mp_wrapper > h3 + form structure. Style both.
   ========================================================================== */

/* Container card for forgot/reset password (minimal-template path). */

body.eg-mp-login .mp_wrapper:not(.mp_login_form) {
  max-width: 760px;
  margin: clamp(28px, 5vw, 64px) auto clamp(40px, 6vw, 80px);
  padding: clamp(28px, 4vw, 56px);
  background-color: #FEF8F6;
  border-radius: 4px;
  box-shadow: 0 12px 30px rgba(34, 41, 57, 0.08);
}

body.eg-mp-login #mepr-template-login > h3,
body.eg-mp-login .mp_wrapper > h3 {
  font-family: "DM Serif Display", serif;
  color: #9E0A69;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  font-weight: 400;
  margin: 0 0 18px;
}

body.eg-mp-login .eg-form-helper {
  font-family: "open sans", sans-serif;
  color: #2E2E2E;
  font-size: 15px;
  margin: 0 0 18px;
  opacity: 0.85;
}

body.eg-mp-login .eg-form-back-link {
  margin: 18px 0 0;
}

body.eg-mp-login .eg-form-back-link a {
  color: #FF6F57;
  font-weight: 600;
  text-decoration: none;
}

body.eg-mp-login .eg-form-back-link a:hover {
  color: #EA5D5F;
}

body.eg-mp-login .mepr-unauthorized-excerpt,
body.eg-mp-login .mepr-unauthorized-message {
  background: #fbf6f3;
  border-left: 4px solid #FF6F57;
  padding: 18px 22px;
  border-radius: 3px;
  margin: 0 0 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

body.eg-mp-login .mepr-unauthorized-excerpt svg,
body.eg-mp-login .mepr-unauthorized-message svg {
  flex: 0 0 24px;
  color: #FF6F57;
  stroke: #FF6F57;
}

body.eg-mp-login .mepr-unauthorized-excerpt p,
body.eg-mp-login .mepr-unauthorized-message p {
  margin: 0 0 6px;
  font-family: "open sans", sans-serif;
  color: #2E2E2E;
}

body.eg-mp-login .mepr-unauthorized-excerpt p:last-child,
body.eg-mp-login .mepr-unauthorized-message p:last-child {
  margin-bottom: 0;
}

/* Account-page unauthorized state — MemberPress renders an inline login form
   on the account page when the visitor is unauthenticated. The DOM has TWO
   .mp_wrapper siblings: one with the unauthorized message, one with the
   login form. We make them read as a single coherent unit. */

/* First .mp_wrapper: contains the unauthorized message. Render as a clean
   info banner above the login form. */

body.eg-mp-unauthorized .mp_wrapper:first-of-type {
  max-width: 760px;
  margin: clamp(28px, 5vw, 56px) auto 8px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.eg-mp-unauthorized .mepr-unauthorized-excerpt,
body.eg-mp-unauthorized .mepr-unauthorized-message {
  background-color: #FEF8F6;
  border: 1px solid #f0e6df;
  border-left: 4px solid #FF6F57;
  border-radius: 4px;
  padding: clamp(18px, 2.5vw, 24px) clamp(20px, 3vw, 28px);
  margin: 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: 0 6px 18px rgba(34, 41, 57, 0.06);
}

body.eg-mp-unauthorized .mepr-unauthorized-excerpt p,
body.eg-mp-unauthorized .mepr-unauthorized-message p {
  font-family: "open sans", sans-serif;
  color: #2E2E2E;
  font-size: 16px;
  margin: 0;
}

body.eg-mp-unauthorized .mepr-unauthorized-excerpt svg,
body.eg-mp-unauthorized .mepr-unauthorized-message svg {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: #FF6F57;
  stroke: #FF6F57;
  margin-top: 2px;
}

/* Pull the inline login form (second .mp_wrapper.mp_login_form) up tight
   against the unauthorized banner so they read as one section. */

body.eg-mp-unauthorized .mp_wrapper.mp_login_form {
  margin-top: 16px;
}

/* ==========================================================================
   6. "Not yet a member?" CTA ribbon (injected after login form)
   ========================================================================== */

.eg-login-ribbon {
  background-color: #fff;
  border: 1px solid #f0e6df;
  border-top: 4px solid #ED117A;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(34, 41, 57, 0.06);
  padding: clamp(28px, 4vw, 48px);
  margin-top: clamp(28px, 4vw, 40px);
}

.eg-login-ribbon__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}

@media (min-width: 768px) {
  .eg-login-ribbon__inner {
    grid-template-columns: 1fr auto;
    gap: 32px;
  }
}

.eg-login-ribbon__title {
  font-family: "DM Serif Display", serif;
  color: #9E0A69;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  font-weight: 400;
  margin: 0 0 8px;
}

.eg-login-ribbon__sub {
  font-family: "open sans", sans-serif;
  color: #2E2E2E;
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
  max-width: 56ch;
}

.eg-login-ribbon__cta {
  display: inline-flex;
  align-items: center;
  background-color: #FF6F57;
  color: #fff;
  padding: 14px 32px;
  border-radius: 3px;
  text-decoration: none;
  font-family: "open sans", sans-serif;
  font-weight: 600;
  font-size: 16px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.eg-login-ribbon__cta:hover {
  background-color: #EA5D5F;
  transform: translateY(-1px);
  color: #fff;
}

/* ==========================================================================
   7. Account banner (injected via mepr_rl_before_main)
   ========================================================================== */

.eg-account-banner {
  background-color: #FEF8F6;
  border-bottom: 1px solid #f0e6df;
  padding: clamp(40px, 5vw, 72px) 0 clamp(28px, 4vw, 56px);
}

.eg-account-banner__eyebrow {
  font-family: "open sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  font-weight: 600;
  color: #FF6F57;
  margin: 0 0 10px;
}

.eg-account-banner__heading {
  font-family: "DM Serif Display", serif;
  color: #9E0A69;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05;
  font-weight: 400;
  margin: 0 0 12px;
}

.eg-account-banner__copy {
  font-family: "open sans", sans-serif;
  color: #2E2E2E;
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
  max-width: 56ch;
}

/* ==========================================================================
   8. Account dashboard layout
   --------------------------------------------------------------------------
   Two markup paths to support:
   - ReadyLaunch: .mepr-account-container > nav + #mepr-account-content
                  → 2-column grid (rail + content)
   - Legacy:      .mp_wrapper > nav + form/message
                  → single-column with nav as horizontal tab bar above content card
   ========================================================================== */

/* ReadyLaunch path: two-column grid rail layout */

body.eg-mp-account .mepr-account-container {
  max-width: 90rem;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 56px) 10px clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

@media (min-width: 900px) {
  body.eg-mp-account .mepr-account-container {
    grid-template-columns: minmax(220px, 28%) minmax(0, 1fr);
    gap: 36px;
  }
}

/* Legacy path: nav and content render as two sibling .mp_wrapper elements
   inside the theme's .wrapper. The first one holds the nav, subsequent one
   holds the form/welcome-message. Use :first-of-type + sibling selectors for
   broad CSS compatibility (no :has, no @supports).
   :not(.eg-mp-unauthorized) excludes the unauthorized-state pages, where the
   first .mp_wrapper is a message banner (not a nav) and gets different rules. */

/* First .mp_wrapper — the nav. Just top spacer. */

body.eg-mp-account:not(.eg-mp-unauthorized) .mp_wrapper:first-of-type {
  max-width: 90rem;
  margin: clamp(28px, 4vw, 56px) auto 0;
  padding: 0;
}

/* Any subsequent .mp_wrapper — the content. Bottom margin for breathing room. */

body.eg-mp-account:not(.eg-mp-unauthorized) .mp_wrapper:first-of-type ~ .mp_wrapper,
body.eg-mp-account:not(.eg-mp-unauthorized) .mp_wrapper + .mp_wrapper {
  max-width: 90rem;
  margin: 0 auto clamp(40px, 6vw, 80px);
  padding: 0;
}

/* ==========================================================================
   9. Account nav — ReadyLaunch (vertical rail) + Legacy (horizontal tabs)
   ========================================================================== */

/* Shared item styling — links + active states */

body.eg-mp-account #mepr-account-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.eg-mp-account #mepr-account-nav li,
body.eg-mp-account #mepr-account-nav .mepr-nav-item {
  margin: 0;
}

body.eg-mp-account #mepr-account-nav li a,
body.eg-mp-account #mepr-account-nav .mepr-nav-item a {
  display: block;
  padding: 12px 18px;
  border-radius: 3px;
  font-family: "open sans", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #2E2E2E;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

body.eg-mp-account #mepr-account-nav li a:hover,
body.eg-mp-account #mepr-account-nav li a:focus,
body.eg-mp-account #mepr-account-nav .mepr-nav-item a:hover,
body.eg-mp-account #mepr-account-nav .mepr-nav-item a:focus {
  background-color: rgba(255, 111, 87, 0.12);
  color: #FF6F57;
}

body.eg-mp-account #mepr-account-nav li.mepr-active-nav-tab a,
body.eg-mp-account #mepr-account-nav li a.mepr-active-nav-tab,
body.eg-mp-account #mepr-account-nav .mepr-nav-item.mepr-active-nav-tab a,
body.eg-mp-account #mepr-account-nav .mepr-nav-item a.mepr-active-nav-tab {
  background-color: #FF6F57;
  color: #fff;
}

body.eg-mp-account #mepr-account-nav li.mepr-active-nav-tab a:hover,
body.eg-mp-account #mepr-account-nav li a.mepr-active-nav-tab:hover,
body.eg-mp-account #mepr-account-nav .mepr-nav-item.mepr-active-nav-tab a:hover,
body.eg-mp-account #mepr-account-nav .mepr-nav-item a.mepr-active-nav-tab:hover {
  background-color: #EA5D5F;
  color: #fff;
}

/* ReadyLaunch path — sits inside the 2-column grid as a rail */

body.eg-mp-account .mepr-account-container #mepr-account-nav {
  background-color: #FEF8F6;
  border-radius: 4px;
  padding: 14px;
  box-shadow: 0 6px 18px rgba(34, 41, 57, 0.06);
  border-top: 4px solid #FF6F57;
}

body.eg-mp-account .mepr-account-container #mepr-account-nav > ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

@media (max-width: 899px) {
  body.eg-mp-account .mepr-account-container #mepr-account-nav > ul {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* Legacy path — render as a horizontal tab bar above the form */

body.eg-mp-account .mp_wrapper > #mepr-account-nav,
body.eg-mp-account .mp_wrapper #mepr-account-nav {
  background-color: #FEF8F6;
  border-radius: 4px;
  padding: 8px;
  box-shadow: 0 6px 18px rgba(34, 41, 57, 0.06);
  border-top: 4px solid #FF6F57;
  margin: 0 0 24px;
}

body.eg-mp-account .mp_wrapper > #mepr-account-nav > ul,
body.eg-mp-account .mp_wrapper #mepr-account-nav > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

/* Legacy nav: MemberPress sometimes outputs nav links as direct children
   of <nav> without a <ul>. Catch those too. */

body.eg-mp-account .mp_wrapper > #mepr-account-nav > a,
body.eg-mp-account #mepr-account-nav:not(:has(ul)) > a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 3px;
  font-family: "open sans", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #2E2E2E;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
  margin: 2px;
}

body.eg-mp-account .mp_wrapper > #mepr-account-nav > a:hover,
body.eg-mp-account .mp_wrapper > #mepr-account-nav > a:focus,
body.eg-mp-account #mepr-account-nav:not(:has(ul)) > a:hover,
body.eg-mp-account #mepr-account-nav:not(:has(ul)) > a:focus {
  background-color: rgba(255, 111, 87, 0.12);
  color: #FF6F57;
}

body.eg-mp-account .mp_wrapper > #mepr-account-nav > a.mepr-active-nav-tab,
body.eg-mp-account .mp_wrapper > #mepr-account-nav > a.active,
body.eg-mp-account #mepr-account-nav:not(:has(ul)) > a.mepr-active-nav-tab,
body.eg-mp-account #mepr-account-nav:not(:has(ul)) > a.active {
  background-color: #FF6F57;
  color: #fff;
}

/* ==========================================================================
   10. Account main content card — ReadyLaunch (#mepr-account-content) +
       Legacy (.mepr-account-form direct in .mp_wrapper)
   ========================================================================== */

/* Legacy path: the form IS the main card */

body.eg-mp-account .mp_wrapper > .mepr-account-form,
body.eg-mp-account .mp_wrapper > form.mepr-account-form,
body.eg-mp-account .mp_wrapper > form#mepr_account_form {
  background-color: #fff;
  border: 1px solid #f0e6df;
  border-top: 4px solid #222939;
  border-radius: 4px;
  box-shadow: 0 12px 30px rgba(34, 41, 57, 0.08);
  padding: clamp(24px, 3vw, 48px);
  margin: 0;
}

/* Legacy welcome / user messages above the form */

body.eg-mp-account .mp_wrapper > #mepr-account-welcome-message,
body.eg-mp-account .mp_wrapper > #mepr-account-user-message,
body.eg-mp-account .mp_wrapper > .mepr-account-message,
body.eg-mp-account .mp_wrapper > .mepr-message {
  background-color: #FEF8F6;
  border-left: 4px solid #ED117A;
  border-radius: 4px;
  padding: 18px 22px;
  margin: 0 0 24px;
  font-family: "open sans", sans-serif;
  color: #2E2E2E;
  box-shadow: 0 6px 18px rgba(34, 41, 57, 0.06);
  font-size: 16px;
}

body.eg-mp-account .mp_wrapper > #mepr-account-welcome-message p,
body.eg-mp-account .mp_wrapper > #mepr-account-user-message p,
body.eg-mp-account .mp_wrapper > .mepr-account-message p,
body.eg-mp-account .mp_wrapper > .mepr-message p {
  margin: 0 0 8px;
}

body.eg-mp-account .mp_wrapper > #mepr-account-welcome-message p:last-child,
body.eg-mp-account .mp_wrapper > #mepr-account-user-message p:last-child,
body.eg-mp-account .mp_wrapper > .mepr-account-message p:last-child,
body.eg-mp-account .mp_wrapper > .mepr-message p:last-child {
  margin-bottom: 0;
}

/* Legacy form rows + fields */

body.eg-mp-account .mepr-account-form,
body.eg-mp-account form.mepr-form {
  /* Legacy nests label + cc-error inside .mp-form-label, with the input
     immediately following as a sibling of .mp-form-label. */
  /* Inline membership-status card injected at top of legacy form */
  /* Empty spacer in legacy template */
  /* Hide the loading gif spinner — replace with subtle button state if needed */
}

body.eg-mp-account .mepr-account-form .mp-form-row,
body.eg-mp-account form.mepr-form .mp-form-row {
  margin: 0 0 18px;
}

body.eg-mp-account .mepr-account-form .mp-form-label,
body.eg-mp-account form.mepr-form .mp-form-label {
  display: block;
  margin: 0 0 6px;
}

body.eg-mp-account .mepr-account-form label,
body.eg-mp-account form.mepr-form label {
  display: inline-block;
  margin: 0;
  font-family: "open sans", sans-serif;
  color: #2E2E2E;
  font-weight: 600;
  font-size: 15px;
}

body.eg-mp-account .mepr-account-form .cc-error,
body.eg-mp-account form.mepr-form .cc-error {
  display: none;
  margin-left: 8px;
  color: #c0392b;
  font-size: 13px;
  font-weight: 600;
}

body.eg-mp-account .mepr-account-form .mepr-field-required.mepr-validation-failed .cc-error,
body.eg-mp-account .mepr-account-form .mepr-validation-error .cc-error,
body.eg-mp-account form.mepr-form .mepr-field-required.mepr-validation-failed .cc-error,
body.eg-mp-account form.mepr-form .mepr-validation-error .cc-error {
  display: inline;
}

body.eg-mp-account .mepr-account-form input[type=text],
body.eg-mp-account .mepr-account-form input[type=email],
body.eg-mp-account .mepr-account-form input[type=password],
body.eg-mp-account .mepr-account-form input[type=tel],
body.eg-mp-account .mepr-account-form input[type=url],
body.eg-mp-account .mepr-account-form input[type=number],
body.eg-mp-account .mepr-account-form select,
body.eg-mp-account .mepr-account-form textarea,
body.eg-mp-account form.mepr-form input[type=text],
body.eg-mp-account form.mepr-form input[type=email],
body.eg-mp-account form.mepr-form input[type=password],
body.eg-mp-account form.mepr-form input[type=tel],
body.eg-mp-account form.mepr-form input[type=url],
body.eg-mp-account form.mepr-form input[type=number],
body.eg-mp-account form.mepr-form select,
body.eg-mp-account form.mepr-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  background-color: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 3px;
  color: #2E2E2E;
  font-family: "open sans", sans-serif;
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.eg-mp-account .mepr-account-form input[type=text]:focus,
body.eg-mp-account .mepr-account-form input[type=email]:focus,
body.eg-mp-account .mepr-account-form input[type=password]:focus,
body.eg-mp-account .mepr-account-form input[type=tel]:focus,
body.eg-mp-account .mepr-account-form input[type=url]:focus,
body.eg-mp-account .mepr-account-form input[type=number]:focus,
body.eg-mp-account .mepr-account-form select:focus,
body.eg-mp-account .mepr-account-form textarea:focus,
body.eg-mp-account form.mepr-form input[type=text]:focus,
body.eg-mp-account form.mepr-form input[type=email]:focus,
body.eg-mp-account form.mepr-form input[type=password]:focus,
body.eg-mp-account form.mepr-form input[type=tel]:focus,
body.eg-mp-account form.mepr-form input[type=url]:focus,
body.eg-mp-account form.mepr-form input[type=number]:focus,
body.eg-mp-account form.mepr-form select:focus,
body.eg-mp-account form.mepr-form textarea:focus {
  outline: none;
  border-color: #FF6F57;
  box-shadow: 0 0 0 3px rgba(255, 111, 87, 0.15);
}

body.eg-mp-account .mepr-account-form textarea,
body.eg-mp-account form.mepr-form textarea {
  min-height: 120px;
}

body.eg-mp-account .mepr-account-form input[type=submit],
body.eg-mp-account .mepr-account-form button[type=submit],
body.eg-mp-account .mepr-account-form .mepr-submit,
body.eg-mp-account .mepr-account-form .mepr-share-button,
body.eg-mp-account form.mepr-form input[type=submit],
body.eg-mp-account form.mepr-form button[type=submit],
body.eg-mp-account form.mepr-form .mepr-submit,
body.eg-mp-account form.mepr-form .mepr-share-button {
  display: inline-block;
  background-color: #FF6F57;
  color: #fff;
  border: 0;
  border-radius: 3px;
  padding: 12px 30px;
  margin-top: 8px;
  font-family: "open sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

body.eg-mp-account .mepr-account-form input[type=submit]:hover,
body.eg-mp-account .mepr-account-form button[type=submit]:hover,
body.eg-mp-account .mepr-account-form .mepr-submit:hover,
body.eg-mp-account .mepr-account-form .mepr-share-button:hover,
body.eg-mp-account form.mepr-form input[type=submit]:hover,
body.eg-mp-account form.mepr-form button[type=submit]:hover,
body.eg-mp-account form.mepr-form .mepr-submit:hover,
body.eg-mp-account form.mepr-form .mepr-share-button:hover {
  background-color: #EA5D5F;
  transform: translateY(-1px);
}

body.eg-mp-account .mepr-account-form .eg-membership-status,
body.eg-mp-account form.mepr-form .eg-membership-status {
  margin-top: 0;
  margin-bottom: 28px;
}

body.eg-mp-account .mepr-account-form .mepr_spacer,
body.eg-mp-account form.mepr-form .mepr_spacer {
  height: 8px;
}

body.eg-mp-account .mepr-account-form .mepr-loading-gif,
body.eg-mp-account form.mepr-form .mepr-loading-gif {
  margin-left: 12px;
  vertical-align: middle;
}

/* Legacy empty-state messages (no subscriptions / no payments / etc.) */

body.eg-mp-account .mp-wrapper,
body.eg-mp-account .mp-no-subs,
body.eg-mp-account .mp-no-payments,
body.eg-mp-account .mepr-account-empty-state,
body.eg-mp-account .wrapper > p:only-child {
  max-width: 90rem;
  margin: 0 auto clamp(40px, 6vw, 80px);
  padding: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px);
  background-color: #fff;
  border: 1px solid #f0e6df;
  border-top: 4px solid #222939;
  border-radius: 4px;
  box-shadow: 0 12px 30px rgba(34, 41, 57, 0.08);
  font-family: "open sans", sans-serif;
  color: #2E2E2E;
  font-size: 17px;
  text-align: center;
}

/* "Change Password" link below the form (legacy) */

body.eg-mp-account .mp_wrapper > .mepr-account-change-password,
body.eg-mp-account .mp_wrapper .mepr-account-change-password {
  display: inline-block;
  margin: 20px 0 0;
}

body.eg-mp-account .mp_wrapper > .mepr-account-change-password a,
body.eg-mp-account .mp_wrapper .mepr-account-change-password a {
  display: inline-block;
  background: #fff;
  border: 1px solid #FF6F57;
  color: #FF6F57;
  border-radius: 3px;
  padding: 11px 22px;
  text-decoration: none;
  font-family: "open sans", sans-serif;
  font-weight: 600;
  font-size: 15px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

body.eg-mp-account .mp_wrapper > .mepr-account-change-password a:hover,
body.eg-mp-account .mp_wrapper .mepr-account-change-password a:hover {
  background-color: #FF6F57;
  color: #fff;
}

/* ReadyLaunch main content card */

body.eg-mp-account #mepr-account-content {
  background-color: #fff;
  border: 1px solid #f0e6df;
  border-top: 4px solid #222939;
  border-radius: 4px;
  box-shadow: 0 12px 30px rgba(34, 41, 57, 0.08);
  padding: clamp(24px, 3vw, 48px);
  min-width: 0;
}

body.eg-mp-account #mepr-account-content > h1.mepr_page_header,
body.eg-mp-account #mepr-account-content > h1,
body.eg-mp-account #mepr-account-content > h2 {
  font-family: "DM Serif Display", serif;
  color: #FF6F57;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.15;
  font-weight: 400;
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0e6df;
}

body.eg-mp-account #mepr-account-content .mepr-account-message {
  background-color: #fbf6f3;
  border-left: 3px solid #FF6F57;
  border-radius: 3px;
  padding: 14px 18px;
  margin: 0 0 24px;
  font-family: "open sans", sans-serif;
  color: #2E2E2E;
}

body.eg-mp-account #mepr-account-content .mepr-account-message p {
  margin: 0 0 8px;
}

body.eg-mp-account #mepr-account-content .mepr-account-message p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   11. Profile dl — serif labels, sans values, inline edit pencils
   ========================================================================== */

body.eg-mp-account .mepr-profile-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 1024px) {
  body.eg-mp-account .mepr-profile-wrapper {
    grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
    align-items: start;
    gap: 40px;
  }
}

body.eg-mp-account #mepr-profile-image {
  margin: 0;
}

body.eg-mp-account #mepr-profile-image img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 4px;
  display: block;
}

body.eg-mp-account .mepr-profile-details__list {
  margin: 0;
  padding: 0;
}

body.eg-mp-account .mepr-profile-details__list dt {
  font-family: "DM Serif Display", serif;
  color: #9E0A69;
  font-size: 18px;
  font-weight: 400;
  margin: 18px 0 4px;
  padding-bottom: 6px;
  border-bottom: 1px solid #f0e6df;
  display: flex;
  align-items: center;
  gap: 6px;
}

body.eg-mp-account .mepr-profile-details__list dt:first-child {
  margin-top: 0;
}

body.eg-mp-account .mepr-profile-details__list dd {
  font-family: "open sans", sans-serif;
  color: #2E2E2E;
  font-size: 16px;
  margin: 8px 0 0;
  line-height: 1.5;
}

body.eg-mp-account .mepr-profile-details__button.btn-link {
  background: transparent;
  border: 0;
  padding: 4px 6px;
  cursor: pointer;
  color: #FF6F57;
  border-radius: 3px;
  transition: background-color 0.2s ease;
}

body.eg-mp-account .mepr-profile-details__button.btn-link:hover {
  background-color: rgba(255, 111, 87, 0.1);
}

body.eg-mp-account .mepr-profile-details__icon path {
  fill: #FF6F57;
}

/* ==========================================================================
   12. Membership status card (injected via mepr_account_home_before_name)
   ========================================================================== */

body.eg-mp-account .eg-membership-status {
  background-color: #fbf6f3;
  border-radius: 4px;
  padding: 18px 22px;
  margin: 0 0 28px;
  border-left: 4px solid #ED117A;
}

body.eg-mp-account .eg-membership-status__label {
  font-family: "open sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 700;
  color: #9E0A69;
  margin: 0 0 10px;
}

body.eg-mp-account .eg-membership-status__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.eg-mp-account .eg-membership-status__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(34, 41, 57, 0.06);
}

body.eg-mp-account .eg-membership-status__pill {
  background-color: #FF6F57;
  color: #fff;
  font-family: "open sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 999px;
}

body.eg-mp-account .eg-membership-status__name {
  font-family: "open sans", sans-serif;
  font-weight: 600;
  color: #2E2E2E;
  font-size: 14px;
}

body.eg-mp-account .eg-membership-status__empty {
  font-family: "open sans", sans-serif;
  color: #2E2E2E;
  font-size: 15px;
  margin: 0;
}

/* ==========================================================================
   13. Profile footer button group (View Payments / Subscriptions / Password)
   ========================================================================== */

body.eg-mp-account .mepr-profile-wrapper__footer {
  list-style: none;
  margin: 32px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid #f0e6df;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

body.eg-mp-account .mepr-profile-wrapper__footer > li {
  margin: 0;
}

body.eg-mp-account .mepr-profile-wrapper__footer .mepr-button.btn-outline,
body.eg-mp-account .mepr-profile-wrapper__footer .btn-outline {
  display: inline-block;
  background: #fff;
  border: 1px solid #FF6F57;
  color: #FF6F57;
  border-radius: 3px;
  padding: 11px 22px;
  text-decoration: none;
  font-family: "open sans", sans-serif;
  font-weight: 600;
  font-size: 15px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

body.eg-mp-account .mepr-profile-wrapper__footer .mepr-button.btn-outline:hover,
body.eg-mp-account .mepr-profile-wrapper__footer .btn-outline:hover {
  background-color: #FF6F57;
  color: #fff;
}

/* ==========================================================================
   14. Account tables (payments, subscriptions)
   ========================================================================== */

body.eg-mp-account .table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

body.eg-mp-account .mepr-pro-account-table,
body.eg-mp-account table.mepr-account-table,
body.eg-mp-account #mepr-account-content table {
  width: 100%;
  border-collapse: collapse;
  font-family: "open sans", sans-serif;
  font-size: 15px;
}

body.eg-mp-account .mepr-pro-account-table thead th,
body.eg-mp-account table.mepr-account-table thead th,
body.eg-mp-account #mepr-account-content table thead th {
  background-color: #fbf6f3;
  color: #222939;
  font-weight: 700;
  text-align: left;
  padding: 14px 14px;
  border-bottom: 2px solid #FF6F57;
  letter-spacing: 0.02em;
}

body.eg-mp-account .mepr-pro-account-table tbody td,
body.eg-mp-account table.mepr-account-table tbody td,
body.eg-mp-account #mepr-account-content table tbody td {
  padding: 16px 14px;
  border-bottom: 1px solid #f0e6df;
  color: #2E2E2E;
  vertical-align: middle;
}

body.eg-mp-account .mepr-pro-account-table tbody tr:nth-child(even) td,
body.eg-mp-account table.mepr-account-table tbody tr:nth-child(even) td,
body.eg-mp-account #mepr-account-content table tbody tr:nth-child(even) td {
  background-color: rgba(251, 246, 243, 0.4);
}

body.eg-mp-account .mepr-pro-account-table tbody tr:hover td,
body.eg-mp-account table.mepr-account-table tbody tr:hover td,
body.eg-mp-account #mepr-account-content table tbody tr:hover td {
  background-color: rgba(255, 111, 87, 0.04);
}

body.eg-mp-account .mepr-pro-account-table a,
body.eg-mp-account table.mepr-account-table a,
body.eg-mp-account #mepr-account-content table a {
  color: #FF6F57;
  font-weight: 600;
  text-decoration: none;
}

body.eg-mp-account .mepr-pro-account-table a:hover,
body.eg-mp-account table.mepr-account-table a:hover,
body.eg-mp-account #mepr-account-content table a:hover {
  color: #EA5D5F;
  text-decoration: underline;
}

body.eg-mp-account .mepr-pro-account-table__badge,
body.eg-mp-account .mepr-status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background-color: #fbf6f3;
  color: #222939;
}

body.eg-mp-account .mepr-pro-account-table__badge.\--is-confirmed,
body.eg-mp-account .mepr-pro-account-table__badge.is-active,
body.eg-mp-account .mepr-pro-account-table__badge.\--is-active,
body.eg-mp-account .mepr-status-badge.\--is-confirmed,
body.eg-mp-account .mepr-status-badge.is-active,
body.eg-mp-account .mepr-status-badge.\--is-active {
  background-color: #edf9f0;
  color: #1f5d2e;
}

body.eg-mp-account .mepr-pro-account-table__badge.\--is-pending,
body.eg-mp-account .mepr-pro-account-table__badge.is-pending,
body.eg-mp-account .mepr-status-badge.\--is-pending,
body.eg-mp-account .mepr-status-badge.is-pending {
  background-color: #fff7e0;
  color: #8b5d00;
}

body.eg-mp-account .mepr-pro-account-table__badge.\--is-failed,
body.eg-mp-account .mepr-pro-account-table__badge.is-failed,
body.eg-mp-account .mepr-pro-account-table__badge.\--is-cancelled,
body.eg-mp-account .mepr-pro-account-table__badge.is-cancelled,
body.eg-mp-account .mepr-status-badge.\--is-failed,
body.eg-mp-account .mepr-status-badge.is-failed,
body.eg-mp-account .mepr-status-badge.\--is-cancelled,
body.eg-mp-account .mepr-status-badge.is-cancelled {
  background-color: #fff1f0;
  color: #8a1f1b;
}

/* ==========================================================================
   15. Account password form
   ========================================================================== */

body.eg-mp-account #mepr-account-content form.mepr-form,
body.eg-mp-account #mepr-account-content form.mepr-account-form {
  display: block;
  margin: 0;
}

body.eg-mp-account #mepr-account-content form.mepr-form .mp-form-row,
body.eg-mp-account #mepr-account-content form.mepr-account-form .mp-form-row {
  margin: 0 0 18px;
}

body.eg-mp-account #mepr-account-content form.mepr-form label,
body.eg-mp-account #mepr-account-content form.mepr-account-form label {
  display: inline-block;
  margin: 0 0 6px;
  font-family: "open sans", sans-serif;
  color: #2E2E2E;
  font-weight: 600;
  font-size: 15px;
}

body.eg-mp-account #mepr-account-content form.mepr-form input[type=text],
body.eg-mp-account #mepr-account-content form.mepr-form input[type=email],
body.eg-mp-account #mepr-account-content form.mepr-form input[type=password],
body.eg-mp-account #mepr-account-content form.mepr-form input[type=tel],
body.eg-mp-account #mepr-account-content form.mepr-form input[type=url],
body.eg-mp-account #mepr-account-content form.mepr-form input[type=number],
body.eg-mp-account #mepr-account-content form.mepr-form select,
body.eg-mp-account #mepr-account-content form.mepr-form textarea,
body.eg-mp-account #mepr-account-content form.mepr-account-form input[type=text],
body.eg-mp-account #mepr-account-content form.mepr-account-form input[type=email],
body.eg-mp-account #mepr-account-content form.mepr-account-form input[type=password],
body.eg-mp-account #mepr-account-content form.mepr-account-form input[type=tel],
body.eg-mp-account #mepr-account-content form.mepr-account-form input[type=url],
body.eg-mp-account #mepr-account-content form.mepr-account-form input[type=number],
body.eg-mp-account #mepr-account-content form.mepr-account-form select,
body.eg-mp-account #mepr-account-content form.mepr-account-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  background-color: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 3px;
  color: #2E2E2E;
  font-family: "open sans", sans-serif;
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.eg-mp-account #mepr-account-content form.mepr-form input[type=text]:focus,
body.eg-mp-account #mepr-account-content form.mepr-form input[type=email]:focus,
body.eg-mp-account #mepr-account-content form.mepr-form input[type=password]:focus,
body.eg-mp-account #mepr-account-content form.mepr-form input[type=tel]:focus,
body.eg-mp-account #mepr-account-content form.mepr-form input[type=url]:focus,
body.eg-mp-account #mepr-account-content form.mepr-form input[type=number]:focus,
body.eg-mp-account #mepr-account-content form.mepr-form select:focus,
body.eg-mp-account #mepr-account-content form.mepr-form textarea:focus,
body.eg-mp-account #mepr-account-content form.mepr-account-form input[type=text]:focus,
body.eg-mp-account #mepr-account-content form.mepr-account-form input[type=email]:focus,
body.eg-mp-account #mepr-account-content form.mepr-account-form input[type=password]:focus,
body.eg-mp-account #mepr-account-content form.mepr-account-form input[type=tel]:focus,
body.eg-mp-account #mepr-account-content form.mepr-account-form input[type=url]:focus,
body.eg-mp-account #mepr-account-content form.mepr-account-form input[type=number]:focus,
body.eg-mp-account #mepr-account-content form.mepr-account-form select:focus,
body.eg-mp-account #mepr-account-content form.mepr-account-form textarea:focus {
  outline: none;
  border-color: #FF6F57;
  box-shadow: 0 0 0 3px rgba(255, 111, 87, 0.15);
}

body.eg-mp-account #mepr-account-content form.mepr-form textarea,
body.eg-mp-account #mepr-account-content form.mepr-account-form textarea {
  min-height: 120px;
}

body.eg-mp-account #mepr-account-content form.mepr-form input[type=submit],
body.eg-mp-account #mepr-account-content form.mepr-form button[type=submit],
body.eg-mp-account #mepr-account-content form.mepr-form .mepr-submit,
body.eg-mp-account #mepr-account-content form.mepr-form .mepr-button,
body.eg-mp-account #mepr-account-content form.mepr-form .btn-primary,
body.eg-mp-account #mepr-account-content form.mepr-account-form input[type=submit],
body.eg-mp-account #mepr-account-content form.mepr-account-form button[type=submit],
body.eg-mp-account #mepr-account-content form.mepr-account-form .mepr-submit,
body.eg-mp-account #mepr-account-content form.mepr-account-form .mepr-button,
body.eg-mp-account #mepr-account-content form.mepr-account-form .btn-primary {
  display: inline-block;
  background-color: #FF6F57;
  color: #fff;
  border: 0;
  border-radius: 3px;
  padding: 12px 30px;
  font-family: "open sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

body.eg-mp-account #mepr-account-content form.mepr-form input[type=submit]:hover,
body.eg-mp-account #mepr-account-content form.mepr-form button[type=submit]:hover,
body.eg-mp-account #mepr-account-content form.mepr-form .mepr-submit:hover,
body.eg-mp-account #mepr-account-content form.mepr-form .mepr-button:hover,
body.eg-mp-account #mepr-account-content form.mepr-form .btn-primary:hover,
body.eg-mp-account #mepr-account-content form.mepr-account-form input[type=submit]:hover,
body.eg-mp-account #mepr-account-content form.mepr-account-form button[type=submit]:hover,
body.eg-mp-account #mepr-account-content form.mepr-account-form .mepr-submit:hover,
body.eg-mp-account #mepr-account-content form.mepr-account-form .mepr-button:hover,
body.eg-mp-account #mepr-account-content form.mepr-account-form .btn-primary:hover {
  background-color: #EA5D5F;
  transform: translateY(-1px);
  color: #fff;
}

/* ==========================================================================
   16. Profile edit modal
   ========================================================================== */

body.eg-mp-account .mepr_modal .mepr_modal__overlay {
  background-color: rgba(34, 41, 57, 0.55);
}

body.eg-mp-account .mepr_modal .mepr_modal__box {
  background-color: #fff;
  border-radius: 4px;
  border-top: 4px solid #FF6F57;
  box-shadow: 0 12px 30px rgba(34, 41, 57, 0.08);
  padding: clamp(24px, 3vw, 40px);
}

body.eg-mp-account .mepr_modal .mepr_modal__title,
body.eg-mp-account .mepr_modal h2,
body.eg-mp-account .mepr_modal h3 {
  font-family: "DM Serif Display", serif;
  color: #9E0A69;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 400;
  margin: 0 0 18px;
}

body.eg-mp-account .mepr_modal input[type=text],
body.eg-mp-account .mepr_modal input[type=email],
body.eg-mp-account .mepr_modal input[type=password],
body.eg-mp-account .mepr_modal select,
body.eg-mp-account .mepr_modal textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #e1e1e1;
  border-radius: 3px;
  background: #fff;
  font-family: "open sans", sans-serif;
  font-size: 16px;
}

body.eg-mp-account .mepr_modal input[type=text]:focus,
body.eg-mp-account .mepr_modal input[type=email]:focus,
body.eg-mp-account .mepr_modal input[type=password]:focus,
body.eg-mp-account .mepr_modal select:focus,
body.eg-mp-account .mepr_modal textarea:focus {
  outline: none;
  border-color: #FF6F57;
  box-shadow: 0 0 0 3px rgba(255, 111, 87, 0.15);
}

body.eg-mp-account .mepr_modal button,
body.eg-mp-account .mepr_modal .mepr-button {
  background-color: #FF6F57;
  color: #fff;
  border: 0;
  border-radius: 3px;
  padding: 11px 24px;
  font-family: "open sans", sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

body.eg-mp-account .mepr_modal button:hover,
body.eg-mp-account .mepr_modal .mepr-button:hover {
  background-color: #EA5D5F;
}

body.eg-mp-account .mepr_modal .mepr_modal__close {
  background: transparent;
  color: #2E2E2E;
  padding: 6px;
}

body.eg-mp-account .mepr_modal .mepr_modal__close:hover {
  background: rgba(255, 111, 87, 0.1);
  color: #FF6F57;
}

/* ==========================================================================
   17. Errors / validation messages — both surfaces
   ========================================================================== */

body.eg-mp-login .mepr_error,
body.eg-mp-login .mepr-validation-error,
body.eg-mp-login .mp_error,
body.eg-mp-login #mepr_error_msg,
body.eg-mp-account .mepr_error,
body.eg-mp-account .mepr-validation-error,
body.eg-mp-account .mp_error,
body.eg-mp-account #mepr_error_msg {
  background-color: #fff1f0;
  border: 1px solid #f5c2c0;
  border-left: 4px solid #c0392b;
  color: #8a1f1b;
  border-radius: 3px;
  padding: 12px 16px;
  margin: 0 0 18px;
  font-family: "open sans", sans-serif;
  font-size: 15px;
}

body.eg-mp-login .mepr_message,
body.eg-mp-login .mepr-success,
body.eg-mp-login .mepr_updated,
body.eg-mp-account .mepr_message,
body.eg-mp-account .mepr-success,
body.eg-mp-account .mepr_updated {
  background-color: #edf9f0;
  border: 1px solid #b8e2c1;
  border-left: 4px solid #1f7a3a;
  color: #1f5d2e;
  border-radius: 3px;
  padding: 12px 16px;
  margin: 0 0 18px;
  font-family: "open sans", sans-serif;
  font-size: 15px;
}

/* ==========================================================================
   17.5 Registration page (memberpressproduct singles)
   --------------------------------------------------------------------------
   Page renders the membership description (from the post editor) followed
   by the [mepr-membership-registration-form] shortcode output, which emits:
     .wrapper > .mp_wrapper > form#mepr_signup_form.mepr-signup-form.mepr-form
   The form contains a payment-methods area, the price line, then a long
   list of .mp-form-row blocks for first/last name + custom address fields.
   ========================================================================== */

body.eg-mp-register {
  background-color: #fbf6f3;
  /* The page-title section above the content gets the same elegant treatment
     as the account page (DM Serif Display heading in purple). */
  /* Body copy from the membership description (above the form) — Render in
     the theme's body type so it doesn't look like a stack of bare paragraphs. */
  /* The .mp_wrapper from MemberPress wraps the signup form. Render it as a
     cream card with shadow, matching the login page treatment. Left-aligned
     to sit under the page title rather than centered. */
  /* Constrain the membership description column to a readable width and
     left-align it under the page title. */
  /* Membership item headings + paragraphs */
  /* The error banner (e.g. "There are no active payment methods") */
  /* The signup form itself sits inside the cream card */
  /* Form rows */
  /* Labels — the legacy template wraps labels in .mp-form-label or has them
     directly above inputs */
  /* Inputs */
  /* The price/terms line above the form fields */
  /* Payment methods / payment gateway section. Default to transparent so a
     wrapper containing only an error doesn't look like a redundant card; only
     give it the white-card treatment when it actually holds payment options. */
  /* The .mepr_error inside that wrapper gets the standalone red banner look */
  /* Coupon link */
  /* Submit button */
  /* Validation errors */
  /* The form's own error wrapper at the top */
  /* The "Terms: $60 / Year" looks generic — let's give it a clean treatment.
     The plugin emits this as a div with class "mepr-product-purchase-terms"
     or similar, OR as bare text in some templates. Catch both. */
}

body.eg-mp-register .page-title {
  padding-top: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(20px, 3vw, 36px);
}

body.eg-mp-register .page-title h1 {
  font-family: "DM Serif Display", serif;
  color: #9E0A69;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05;
  font-weight: 400;
  margin: 0;
}

body.eg-mp-register .wrapper > p {
  font-family: "open sans", sans-serif;
  color: #2E2E2E;
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 1em;
}

body.eg-mp-register .wrapper > h2,
body.eg-mp-register .wrapper > h3,
body.eg-mp-register .wrapper > h4 {
  font-family: "DM Serif Display", serif;
  color: #FF6F57;
  font-weight: 400;
  margin: 1.4em 0 0.5em;
}

body.eg-mp-register .mp_wrapper {
  max-width: 760px;
  margin: clamp(28px, 4vw, 56px) 0 clamp(40px, 6vw, 80px);
  padding: clamp(28px, 4vw, 56px);
  background-color: #FEF8F6;
  border-radius: 4px;
  box-shadow: 0 12px 30px rgba(34, 41, 57, 0.08);
}

body.eg-mp-register > .wrapper {
  max-width: 90rem;
}

body.eg-mp-register .wrapper > p,
body.eg-mp-register .wrapper > h2,
body.eg-mp-register .wrapper > h3,
body.eg-mp-register .wrapper > h4,
body.eg-mp-register .wrapper > ul,
body.eg-mp-register .wrapper > ol,
body.eg-mp-register .wrapper > .membership-intro,
body.eg-mp-register .wrapper > .membership-items,
body.eg-mp-register .wrapper > .membership-item,
body.eg-mp-register .wrapper > .membership-content {
  max-width: 760px;
  margin-left: 0;
  margin-right: auto;
}

body.eg-mp-register .membership-item h2,
body.eg-mp-register .membership-item h3,
body.eg-mp-register .membership-item h4 {
  font-family: "DM Serif Display", serif;
  color: #FF6F57;
  font-weight: 400;
  margin: 1.4em 0 0.4em;
}

body.eg-mp-register .membership-item h2 {
  font-size: clamp(24px, 2.5vw, 32px);
}

body.eg-mp-register .membership-item h3 {
  font-size: clamp(22px, 2.2vw, 28px);
}

body.eg-mp-register .membership-item h4 {
  font-size: clamp(20px, 2vw, 24px);
}

body.eg-mp-register .membership-item p {
  font-family: "open sans", sans-serif;
  color: #2E2E2E;
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 1em;
}

body.eg-mp-register .membership-intro {
  font-size: 19px;
  line-height: 1.55;
  color: #2E2E2E;
  text-align: left;
  margin-bottom: 36px;
}

body.eg-mp-register .mepr_error,
body.eg-mp-register .mepr-error,
body.eg-mp-register > .wrapper > .mepr_error {
  max-width: 760px;
  margin: 24px 0;
  background-color: #fff1f0;
  border: 1px solid #f5c2c0;
  border-left: 4px solid #c0392b;
  border-radius: 4px;
  padding: 14px 18px;
  font-family: "open sans", sans-serif;
  color: #8a1f1b;
  font-size: 15px;
  box-shadow: 0 6px 18px rgba(34, 41, 57, 0.06);
}

body.eg-mp-register form#mepr_signup_form,
body.eg-mp-register form.mepr-signup-form {
  background: transparent;
  padding: 0;
  margin: 0;
}

body.eg-mp-register form#mepr_signup_form .mp-form-row,
body.eg-mp-register form.mepr-signup-form .mp-form-row {
  margin: 0 0 18px;
}

body.eg-mp-register form#mepr_signup_form label,
body.eg-mp-register form.mepr-signup-form label,
body.eg-mp-register form#mepr_signup_form .mp-form-label label {
  display: block;
  margin: 0 0 6px;
  font-family: "open sans", sans-serif;
  color: #2E2E2E;
  font-weight: 600;
  font-size: 15px;
}

body.eg-mp-register form#mepr_signup_form input[type=text],
body.eg-mp-register form#mepr_signup_form input[type=email],
body.eg-mp-register form#mepr_signup_form input[type=password],
body.eg-mp-register form#mepr_signup_form input[type=tel],
body.eg-mp-register form#mepr_signup_form input[type=url],
body.eg-mp-register form#mepr_signup_form input[type=number],
body.eg-mp-register form#mepr_signup_form select,
body.eg-mp-register form#mepr_signup_form textarea,
body.eg-mp-register form.mepr-signup-form input[type=text],
body.eg-mp-register form.mepr-signup-form input[type=email],
body.eg-mp-register form.mepr-signup-form input[type=password],
body.eg-mp-register form.mepr-signup-form input[type=tel],
body.eg-mp-register form.mepr-signup-form input[type=url],
body.eg-mp-register form.mepr-signup-form input[type=number],
body.eg-mp-register form.mepr-signup-form select,
body.eg-mp-register form.mepr-signup-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  background-color: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 3px;
  color: #2E2E2E;
  font-family: "open sans", sans-serif;
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.eg-mp-register form#mepr_signup_form input[type=text]:focus,
body.eg-mp-register form#mepr_signup_form input[type=email]:focus,
body.eg-mp-register form#mepr_signup_form input[type=password]:focus,
body.eg-mp-register form#mepr_signup_form input[type=tel]:focus,
body.eg-mp-register form#mepr_signup_form input[type=url]:focus,
body.eg-mp-register form#mepr_signup_form input[type=number]:focus,
body.eg-mp-register form#mepr_signup_form select:focus,
body.eg-mp-register form#mepr_signup_form textarea:focus,
body.eg-mp-register form.mepr-signup-form input[type=text]:focus,
body.eg-mp-register form.mepr-signup-form input[type=email]:focus,
body.eg-mp-register form.mepr-signup-form input[type=password]:focus,
body.eg-mp-register form.mepr-signup-form input[type=tel]:focus,
body.eg-mp-register form.mepr-signup-form input[type=url]:focus,
body.eg-mp-register form.mepr-signup-form input[type=number]:focus,
body.eg-mp-register form.mepr-signup-form select:focus,
body.eg-mp-register form.mepr-signup-form textarea:focus {
  outline: none;
  border-color: #FF6F57;
  box-shadow: 0 0 0 3px rgba(255, 111, 87, 0.15);
}

body.eg-mp-register form#mepr_signup_form textarea,
body.eg-mp-register form.mepr-signup-form textarea {
  min-height: 120px;
}

body.eg-mp-register form#mepr_signup_form .mp-form-row.mepr_price,
body.eg-mp-register form#mepr_signup_form .mp-form-row.mepr_bold,
body.eg-mp-register form.mepr-signup-form .mp-form-row.mepr_price,
body.eg-mp-register form.mepr-signup-form .mp-form-row.mepr_bold {
  background-color: #fff;
  border: 1px solid #f0e6df;
  border-left: 4px solid #FF6F57;
  border-radius: 4px;
  padding: 14px 18px;
  margin: 0 0 28px;
  font-family: "DM Serif Display", serif;
  color: #9E0A69;
  font-size: 22px;
  font-weight: 400;
}

body.eg-mp-register form#mepr_signup_form .mepr_wrapper,
body.eg-mp-register form.mepr-signup-form .mepr_wrapper {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0 0 18px;
}

body.eg-mp-register form#mepr_signup_form .mepr_wrapper label,
body.eg-mp-register form.mepr-signup-form .mepr_wrapper label {
  font-family: "open sans", sans-serif;
  font-weight: 600;
  color: #2E2E2E;
}

body.eg-mp-register form#mepr_signup_form .mepr_wrapper .mepr_error,
body.eg-mp-register form.mepr-signup-form .mepr_wrapper .mepr_error {
  background-color: #fff1f0;
  border: 1px solid #f5c2c0;
  border-left: 4px solid #c0392b;
  border-radius: 4px;
  padding: 14px 18px;
  color: #8a1f1b;
  font-family: "open sans", sans-serif;
  font-size: 15px;
  margin: 0;
}

body.eg-mp-register form#mepr_signup_form .mepr-coupon,
body.eg-mp-register form#mepr_signup_form .have-coupon,
body.eg-mp-register form.mepr-signup-form .mepr-coupon,
body.eg-mp-register form.mepr-signup-form .have-coupon {
  margin: 18px 0;
}

body.eg-mp-register form#mepr_signup_form .mepr-coupon a,
body.eg-mp-register form#mepr_signup_form .have-coupon a,
body.eg-mp-register form.mepr-signup-form .mepr-coupon a,
body.eg-mp-register form.mepr-signup-form .have-coupon a {
  color: #FF6F57;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

body.eg-mp-register form#mepr_signup_form .mepr-coupon a:hover,
body.eg-mp-register form#mepr_signup_form .have-coupon a:hover,
body.eg-mp-register form.mepr-signup-form .mepr-coupon a:hover,
body.eg-mp-register form.mepr-signup-form .have-coupon a:hover {
  color: #EA5D5F;
  border-bottom-color: #EA5D5F;
}

body.eg-mp-register form#mepr_signup_form input[type=submit],
body.eg-mp-register form#mepr_signup_form button[type=submit],
body.eg-mp-register form#mepr_signup_form .mepr-submit,
body.eg-mp-register form#mepr_signup_form .mepr-share-button,
body.eg-mp-register form.mepr-signup-form input[type=submit],
body.eg-mp-register form.mepr-signup-form button[type=submit],
body.eg-mp-register form.mepr-signup-form .mepr-submit,
body.eg-mp-register form.mepr-signup-form .mepr-share-button {
  display: inline-block;
  background-color: #FF6F57;
  color: #fff;
  border: 0;
  border-radius: 3px;
  padding: 12px 32px;
  margin-top: 8px;
  font-family: "open sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

body.eg-mp-register form#mepr_signup_form input[type=submit]:hover,
body.eg-mp-register form#mepr_signup_form button[type=submit]:hover,
body.eg-mp-register form#mepr_signup_form .mepr-submit:hover,
body.eg-mp-register form#mepr_signup_form .mepr-share-button:hover,
body.eg-mp-register form.mepr-signup-form input[type=submit]:hover,
body.eg-mp-register form.mepr-signup-form button[type=submit]:hover,
body.eg-mp-register form.mepr-signup-form .mepr-submit:hover,
body.eg-mp-register form.mepr-signup-form .mepr-share-button:hover {
  background-color: #EA5D5F;
  transform: translateY(-1px);
}

body.eg-mp-register form#mepr_signup_form .mepr-validation-error,
body.eg-mp-register form#mepr_signup_form .cc-error,
body.eg-mp-register form.mepr-signup-form .mepr-validation-error,
body.eg-mp-register form.mepr-signup-form .cc-error {
  color: #c0392b;
  font-size: 13px;
  font-weight: 600;
  display: none;
}

body.eg-mp-register form#mepr_signup_form .mepr-field-required.mepr-validation-failed .cc-error,
body.eg-mp-register form.mepr-signup-form .mepr-field-required.mepr-validation-failed .cc-error,
body.eg-mp-register form#mepr_signup_form .mepr-validation-error.mepr-show,
body.eg-mp-register form.mepr-signup-form .mepr-validation-error.mepr-show {
  display: inline;
}

body.eg-mp-register form#mepr_signup_form > .mepr_error,
body.eg-mp-register form.mepr-signup-form > .mepr_error {
  background-color: #fff1f0;
  border: 1px solid #f5c2c0;
  border-left: 4px solid #c0392b;
  border-radius: 4px;
  padding: 12px 16px;
  margin: 0 0 24px;
  color: #8a1f1b;
  font-family: "open sans", sans-serif;
  font-size: 15px;
}

body.eg-mp-register .mepr-product-purchase-terms,
body.eg-mp-register .mepr-product-terms {
  font-family: "open sans", sans-serif;
  color: #2E2E2E;
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 18px;
}

/* ==========================================================================
   18. Responsive — stack the login hero on mobile
   ========================================================================== */

@media (max-width: 899px) {
  body.eg-mp-login #mepro-login-hero {
    padding: 32px 10px;
  }

  body.eg-mp-login #mepro-login-hero.with-sidebar > .mepro-boxed {
    grid-template-columns: 1fr;
  }

  body.eg-mp-login #mepro-login-hero .mepro-login-hero-image {
    order: -1;
    min-height: 220px;
  }

  body.eg-mp-login #mepro-login-hero .mepro-login-hero-image img {
    min-height: 220px;
  }

  body.eg-mp-login #mepro-login-hero .mepro-login-contents {
    border-radius: 4px;
  }
}

@media (max-width: 768px) {
  .eg-login-ribbon__inner {
    grid-template-columns: 1fr;
  }

  .eg-login-ribbon__inner .eg-login-ribbon__cta {
    justify-self: start;
  }

  body.eg-mp-account .mepr-profile-wrapper__footer .mepr-button.btn-outline,
  body.eg-mp-account .mepr-profile-wrapper__footer .btn-outline {
    width: 100%;
    text-align: center;
  }
}

