.alert-debug {
  background-color: #fff;
  border-color: #d6e9c6;
  color: #000;
}

.alert-error {
  background-color: #f2dede;
  border-color: #eed3d7;
  color: #b94a48;
}

.dropdown-menu {
  pointer-events: auto !important;
}

.match-action a.vote {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  cursor: pointer;
}
.match-action a.vote i, .match-action a.vote svg {
  pointer-events: none;
}

.navbar-nav > li > a,
.navbar-nav .nav-link {
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 12px;
}

@media (min-width: 768px) and (max-width: 1048px) {
  .navbar-nav > li > a,
  .navbar-nav .nav-link {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 12px;
  }
}
/* Hide social icons when screen width is less than or equal to 338px */
@media (max-width: 338px) {
  .navbar-brand + div {
    display: none !important;
  }
}
/* Hide social icons when screen width is less than or equal to 1046px */
@media (max-width: 1046px) {
  .navbar-brand + div {
    display: none !important;
  }
}
/* Show social icons on mobile devices between 339px and 767px */
@media (min-width: 339px) and (max-width: 767px) {
  .navbar-brand + div {
    display: flex !important;
  }
}
/* 6. Adjust Dropdown/Collapse Width on Mobile */
@media (max-width: 767px) {
  .navbar-collapse {
    width: 50% !important;
    position: absolute !important;
    right: 0 !important;
    top: 50px !important; /* Adjust according to the navbar height */
    background-color: #fff !important;
    padding: 15px !important;
  }
  /* Ensure the navbar-toggler is visible */
  .navbar-toggler {
    position: relative !important;
    z-index: 1040 !important;
  }
  /* Adjust z-index to prevent covering the navbar */
  .navbar {
    position: relative !important;
    z-index: 1030 !important;
  }
  /* Ensure dropdown menus appear below the navbar */
  .navbar-nav .show .dropdown-menu {
    position: static !important;
    float: none !important;
    width: auto !important;
    margin-top: 0 !important;
    background-color: #fff !important;
    border: none !important;
    box-shadow: none !important;
  }
  /* Style dropdown links for better touch targets */
  .navbar-nav .dropdown-menu .dropdown-item {
    padding: 10px 20px !important;
    font-size: 16px !important;
    color: #333 !important;
    display: flex !important;
    align-items: center !important;
  }
  /* Hover effect for dropdown links */
  .navbar-nav .dropdown-menu .dropdown-item:hover {
    background-color: #f5f5f5 !important;
    color: #0F75BD !important;
  }
}
[hidden][style="display: block;"] {
  display: block !important;
}

.svg-icon {
  display: inline-block;
  align-self: center;
  position: relative;
}

.svg-icon:hover {
  -webkit-filter: drop-shadow(2px 2px 2px #666);
  filter: drop-shadow(2px 2px 2px #666);
}

.svg-icon-active {
  -webkit-filter: drop-shadow(2px 2px 2px #F785BD);
  filter: drop-shadow(2px 2px 2px #F785BD);
}

#page-alert {
  margin-top: 50px;
}

/* svg icon styles */
/* #dislike_white */
/* #maybe_white */
/* #like_white */
#dislike_white:hover {
  fill: #F785BD;
}

.white-text {
  color: whitesmoke;
}

.pink-text {
  color: #F43896;
}

.blue-text {
  color: #1C76BC;
}

.rounded-svg-icon-container {
  display: inline-block;
}

.rounded-svg-icon-container object {
  display: inline-block;
  vertical-align: middle;
}

.rounded-svg-icon {
  font-size: 1.5em;
}

object {
  pointer-events: none;
}

.img-xlg {
  width: 160px;
  height: 160px;
}

.email-link {
  padding-top: 8px;
}

#id_sexual_preference {
  -webkit-padding-start: 0px;
  margin: 0px;
  padding: 0px;
}

#id_sexual_preference li {
  list-style-type: none;
}

input[type=file] {
  -webkit-appearance: none;
  -moz-appearance: none;
  -display: inline-block;
  appearance: none;
}

.profile-form,
.settings-form,
.pay-form,
.premium-checkbox {
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}

textarea#id_bio {
  max-height: 100px;
}

.settings-form {
  margin-top: 2em;
}

.pay-form {
  margin-bottom: 2em;
}

.pay-form > p {
  font-size: 16px;
}

.form-inline .form-group input[type=number] {
  width: 70px;
}

.alert-debug {
  background-color: #fff;
  border-color: #d6e9c6;
  color: #000;
}

.alert-error {
  background-color: #f2dede;
  border-color: #eed3d7;
  color: #b94a48;
}

.navbar {
  border-radius: 0px;
}

@media (max-width: 47.9em) {
  .navbar-nav .nav-item {
    display: inline-block;
    float: none;
    width: 100%;
  }
  .navbar-nav .nav-item + .nav-item {
    margin-left: 0;
  }
  .nav.navbar-nav.pull-xs-right {
    float: none !important;
  }
}
[hidden][style="display: block;"] {
  display: block !important;
}

.svg-icon {
  display: inline-block;
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
  position: relative;
}

.svg-icon:hover {
  filter: drop-shadow(2px 2px 2px #666);
}

.svg-icon-active {
  filter: drop-shadow(2px 2px 2px #F785BD);
}

/* svg icon styles */
#dislike_white:hover {
  fill: #F785BD;
}

.white-text {
  color: whitesmoke;
}

.pink-text {
  color: #F43896;
}

.blue-text {
  color: #1C76BC;
}

.rounded-svg-icon-container {
  display: inline-block;
}

.rounded-svg-icon-container object {
  display: inline-block;
  vertical-align: middle;
}

.rounded-svg-icon {
  font-size: 1.5em;
}

object {
  pointer-events: none;
}

.img-xlg {
  width: 160px;
  height: 160px;
}

.img-xxlg {
  width: 220px;
  height: 220px;
}

.email-link {
  padding-top: 8px;
}

#id_sexual_preference {
  -webkit-padding-start: 0px;
  margin: 0px;
  padding: 0px;
}

#id_sexual_preference li {
  list-style-type: none;
}

input[type=file] {
  -webkit-appearance: none;
  -moz-appearance: none;
  -display: inline-block;
  appearance: none;
}

.form-inline .form-group input[type=number] {
  width: 70px;
}

.no-scroll {
  position: fixed;
  overflow: hidden;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.navbar-mobile-open {
  cursor: pointer;
}

.match-panels {
  display: inline-block;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.match-panel {
  border-radius: 0.5em;
  border: 1px solid #D7D7DD;
}

.match-panel-body {
  padding: 30px 30px;
}

.match-panel-container {
  display: flex;
  align-items: center;
}

.match-panel-left {
  flex: 1 1 0;
}

.match-panel-right {
  flex: 3 1 0;
  text-align: left;
  padding-left: 3em;
}

.match-info {
  color: #313131;
  font-size: 1.2em;
  display: inline-block;
  vertical-align: middle;
}

.match-info:hover {
  text-decoration: none;
}

.match-info-header {
  display: inline-block;
  vertical-align: middle;
}

.match-info-icon {
  color: #313131;
  font-size: 0.8em;
  display: inline-block;
  vertical-align: middle;
}

.match-info-icon:hover {
  text-decoration: none;
}

.match-location {
  color: #313131;
  font-size: 0.9em;
  margin-top: 0.2em;
}

.color-red {
  color: #FF0039;
}

.border-red {
  border: 2px solid #FF0039 !important;
}

.border-none {
  border: 2px solid none !important;
}

.color-blue {
  color: #1274BF;
}

.color-purple {
  color: #A466ED;
}

.pill {
  display: inline-block;
  background-color: white;
  box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.2);
  padding: 0.3em 0.5em;
  border-radius: 15em;
}

.pill-block {
  display: table;
  margin-right: auto;
  margin-bottom: 10px;
}

.pill img {
  display: inline-block;
  height: 38px;
  width: 38px;
}

.pill span {
  display: inline-block;
  vertical-align: middle;
  font-weight: bold;
  font-size: 1em;
}

.match-action {
  border: 1px solid #EAE4F5;
  display: inline-block;
  border-radius: 50%;
  padding: 0.75em;
  margin-right: 1em;
  position: relative;
  size: 70%;
}

@media (max-width: 368px) {
  .match-action {
    margin: 0px;
  }
  .match-action.match-action-like,
  .match-action.match-action-maybe,
  .match-action.match-action-dislike,
  .match-action.match-action-message {
    margin: 0px;
  }
}
.match-action.match-action-like,
.match-action.match-action-maybe {
  padding: 1.5em;
}

.explanation-p {
  padding: 0 5%;
}

.table-how {
  width: 100%;
  border-bottom: 2px solid #367ebd;
}

.button-width {
  width: 100%;
}

.match-data {
  margin-top: 2em;
  margin-bottom: 2em;
}

.match-data .pill {
  margin-right: 1em;
}

.match-page-content {
  text-align: center;
}

.match-data-mobile {
  display: inline-block;
}

.match-data .personality-pill {
  margin-top: 1em;
  margin-left: auto;
  margin-right: auto;
}

.endless_more {
  font-size: 2em;
}

@media (max-width: 950px) {
  .personality-data {
    display: inline-block;
    vertical-align: top;
    position: relative;
  }
}
@media (min-width: 1000px) {
  .personality-data {
    float: left;
    margin-bottom: 5px;
    display: table;
    vertical-align: top;
    position: relative;
  }
}
.circle-position {
  border-radius: 50%;
  background-color: #0F75BD;
  position: relative;
  width: 100%;
  height: auto;
  padding-top: 100%;
}

.circle-smaller {
  background-color: none;
  justify-content: center;
  align-items: center;
  /* border-radius: 100%; */
  text-align: center;
  display: flex;
  position: absolute;
  padding: 0 35px;
  color: white;
}

.text-circle {
  color: white;
}

@media (max-width: 321px) {
  .text-circle {
    margin-top: -130%;
    font-size: 20px;
    line-height: 30px;
  }
  .grid-container-index {
    margin-right: -30%;
  }
}
@media (min-width: 322px) and (max-width: 400px) {
  .text-circle {
    margin-top: -130%;
    font-size: 20px;
    line-height: 30px;
  }
  .grid-container-index {
    margin-left: 0%;
    margin-right: 0%;
  }
}
@media (min-width: 402px) and (max-width: 767px) {
  .text-circle {
    margin-top: -130%;
    font-size: 25px;
    line-height: 30px;
  }
  .grid-container-index {
    margin-left: 3%;
    margin-right: 0%;
  }
}
@media (min-width: 768px) {
  .text-circle {
    margin-top: -130%;
    font-size: 25px;
    line-height: 30px;
  }
  .grid-container-index {
    margin-left: 10%;
    margin-right: 10%;
  }
  .first-p {
    display: block;
    padding-left: 30%;
    padding-right: 30%;
    padding-bottom: 2%;
  }
  .explanation-p {
    padding: 0 5%;
  }
}
.match-info-verbose {
  margin: 1em;
}

.match-bio p {
  white-space: pre-line;
  text-align: left;
}

.filters-container {
  position: fixed;
  z-index: 1;
  color: #AFABB9;
  font-size: 1em;
  text-align: left;
}

.filters-container input[type=submit],
.filters-container a {
  width: 100%;
  background-color: transparent;
  border: 1px solid #3B419A;
  border-radius: 0.5em;
  color: #3B419A;
  padding: 5px;
  margin-bottom: 2px;
}

.filters-container input[type=submit]:hover,
.filters-container a:hover {
  background-color: #3B419A;
  color: white;
  border-radius: 25px;
  padding: 10px 20px;
}

.filters-container a.last_filter_btn:hover {
  background-color: green;
}

.filters-container select,
.filters-container input,
.filters-container select::placeholder,
.filters-container input::placeholder {
  color: #707070;
  font-weight: bold;
}

.filters-container select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0.5em;
  width: 100% !important;
  background-color: white;
  border: 1px solid #F1F1F6;
  background-color: white;
  outline: none;
}

.filters-container .form-group {
  width: 100%;
}

.filters-container #div_id_distance {
  display: block;
  margin-bottom: 1em;
}

.filters-container #div_id_min_age,
.filters-container #div_id_max_age,
.filters-container #div_id_min_height,
.filters-container #div_id_max_height,
.filters-container #div_id_min_weight,
.filters-container #div_id_max_weight {
  display: inline-block;
  width: 48%;
  margin-bottom: 1em;
}

.filters-container #div_id_min_age input,
.filters-container #div_id_max_age input,
.filters-container #div_id_min_height input,
.filters-container #div_id_max_height input,
.filters-container #div_id_min_weight input,
.filters-container #div_id_max_weight input {
  display: inline-block;
  width: 100%;
  border-radius: 0.5em;
}

.filters-container #div_id_min_DNA,
.filters-container #div_id_min_personality {
  margin-bottom: 1em;
}

.filters-container #div_id_min_DNA input,
.filters-container #div_id_min_personality input {
  width: 100%;
  border-radius: 0.5em;
}

.filters-container #div_id_max_age,
.filters-container #div_id_max_height,
.filters-container #div_id_max_weight {
  margin-left: 0.5em;
  float: right;
}

.filters-container #div_id_dna_matches_only,
.filters-container .filters {
  margin-bottom: 1em;
}

.filters-container .checkbox-scrollable > div,
.profile-form .checkbox-scrollable > div {
  max-height: 100px;
  overflow-y: auto;
  padding: 6px 12px;
  border-radius: 0.5em;
  border: 1px solid #F1F1F6;
  background-color: white;
  outline: none;
  margin-right: 10px;
}

.message-title,
.message-button {
  display: inline-block;
  padding: 0;
  margin: 0;
}

.message-button {
  border: 1px solid #D7D7DD;
  background-color: white;
  color: #AFABB9;
  padding: 0.3em 0.5em;
  border-radius: 0.5em;
}

.message-button img {
  display: inline-block;
  margin-right: 0.3em;
  height: 12px;
  width: 12px;
  vertical-align: middle;
}

.message-title {
  margin-left: 0.5em;
  color: #514C5C;
  font-weight: bold;
  font-size: 1.2em;
}

.pm_message {
  border: 1px solid #D7D7DD;
  border-top-left-radius: 0.5em;
  border-top-right-radius: 0.5em;
}

.message-sender-name {
  color: #514C5C;
  font-weight: 600;
  font-size: 1.1em;
  display: inline-block;
  margin-left: 0.5em;
}

.pm_date {
  margin-right: 1em;
}

.message-meta-container {
  margin-bottom: 2em;
  display: flex;
  align-items: center;
}

.pm_header {
  padding: 0;
  height: auto;
}

.pm_header_content {
  padding: 1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pm_body {
  padding: 1em;
}

.message-header {
  display: flex;
}

.pm_me {
  background-color: #FC6486;
  color: white;
  margin-left: 2em;
}

.pm_me .pm_header,
.pm_me .pm_sender,
.pm_me .message-sender-name {
  color: white;
}

.pm_me .pm_header::after {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.pm_reply_container {
  width: 100%;
  background-color: white;
  border: 1px solid #D7D7DD;
  padding: 1.5em;
  border-radius: 0.5em;
}

.pm_reply_container h2 {
  padding: 0;
  margin: 0;
  font-size: 1.1em;
}

.pm_reply_container textarea {
  -webkit-appearance: none;
  appearance: none;
  resize: none;
  flex: 10 1 0;
  width: 100%;
  border: 1px solid #D7D7DD;
  border-radius: 0.5em;
  max-height: 60px;
}

.pm_reply_container #pm_reply {
  display: flex;
  margin-top: 1em;
  align-items: center;
}

.pm_reply_container button {
  border: 0;
  -webkit-appearance: none;
  appearance: none;
  flex: 0 0 0;
  width: 100%;
  display: inline-block;
  margin: 0em 1em;
  background-color: white;
  border-radius: 50%;
  padding: 1em 1.1em 1em 1em;
  border: 1px solid #EAE4F5;
  box-shadow: 1px 0px 4px rgba(0, 0, 0, 0.1);
}

.pm_reply_container button img {
  display: inline-block;
  width: 25px;
  height: 25px;
}

.unread_count {
  background-color: red;
  float: right;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  text-align: center;
  color: white;
  font-size: 0.8em;
  vertical-align: middle;
  line-height: 20px;
  font-weight: bold;
}

.message-options-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#pm_sort_options .pm_by_mode.non_active {
  color: #FF0039;
  background-color: white;
  border: 1px solid #D7D7DD;
  font-weight: 600;
  padding: 0.3em 1.5em;
}

#pm_sort_options .pm_by_mode a {
  background-color: #F1F1F6;
  color: #AFABB9;
  border: 1px solid #D7D7DD;
  padding: 0.3em 1.5em;
  font-weight: 600;
}

#pm_sort_options .pm_by_mode:first-child,
#pm_sort_options .pm_by_mode:first-child a {
  border-top-left-radius: 0.5em;
  border-bottom-left-radius: 0.5em;
}

#pm_sort_options .pm_by_mode:last-child a,
#pm_sort_options .pm_by_mode:last-child {
  border-top-right-radius: 0.5em;
  border-bottom-right-radius: 0.5em;
}

#pm_sort_options span,
#pm_sort_options a {
  display: inline-block;
  vertical-align: middle;
}

#pm_sort_options {
  display: flex;
}

#pm_messages {
  margin-top: 2em;
  background-color: white;
  border-radius: 0.5em;
  margin-bottom: 0;
}

#pm_messages th a {
  color: #AFABB9;
  font-weight: 600;
}

#pm_messages td {
  padding: 1em;
  vertical-align: middle;
}

.message-profile-picture {
  margin-right: 1em;
}

.navbar-menu-unread-badge {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background-color: #FF0035;
  position: absolute;
  top: 5px;
  right: 5px;
}

.pm_messages_container {
  overflow-x: auto;
  margin-bottom: 1em;
}

/* Tooltip text */
.match-action .tooltiptext,
.personality-data .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 5px;
  border-radius: 6px;
  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
  top: 100%;
  left: 50%;
  margin-left: -60px;
}

/* Show the tooltip text when you mouse over the tooltip container */
.match-action:hover .tooltiptext,
.personality-data:hover .tooltiptext {
  visibility: visible;
}

.testimonial-text {
  padding-right: 10em;
}

.testimonial {
  display: table-cell;
}

.testimonial-img {
  width: 200%;
}

.dnaparent {
  display: grid;
  grid-template-columns: repeat(2, 30%);
  grid-column-gap: 3%;
  place-content: center;
}

.dnaoption1 {
  grid-area: 1/1/2/2;
  padding: 5%;
  width: 100%;
  height: fit-content;
  border: 3px solid #1A76BB;
  border-radius: 25px;
  background-color: white;
  box-shadow: 5px 5px 20px rgb(192, 192, 192);
}

.dnaoption2 {
  grid-area: 1/2/2/3;
  padding: 5%;
  width: 100%;
  height: fit-content;
  border: 3px solid #1A76BB;
  border-radius: 25px;
  background-color: white;
  box-shadow: 5px 5px 20px rgb(192, 192, 192);
}

.howto-grid {
  display: grid;
  grid-template-columns: repeat(3, 22%);
  grid-column-gap: 5%;
  place-content: center;
}

.howto-1 {
  grid-area: 1/1/2/2;
}

.howto-2 {
  grid-area: 1/2/2/3;
}

.howto-3 {
  grid-area: 1/3/2/4;
}

.readmore-1 {
  grid-area: 2/1/3/2;
}

.readmore-2 {
  grid-area: 2/2/3/3;
}

.readmore-3 {
  grid-area: 2/3/3/4;
}

@media screen and (max-width: 900px) {
  .dnaparent {
    display: grid;
    grid-template-columns: 15% 75% 15%;
    grid-column-gap: 5%;
    grid-row-gap: 3%;
    place-content: center;
  }
  .dnaoption1 {
    grid-area: 1/2/2/3;
  }
  .dnaoption2 {
    grid-area: 2/2/3/3;
  }
  .howto-grid {
    display: grid;
    grid-template-columns: 20% 60% 20%;
    grid-column-gap: 5%;
    place-content: center;
  }
  .howto-1 {
    grid-area: 1/2/2/3;
  }
  .readmore-1 {
    grid-area: 2/2/3/3;
  }
  .howto-2 {
    grid-area: 3/2/4/3;
    margin-top: 5%;
  }
  .readmore-2 {
    grid-area: 4/2/5/3;
  }
  .howto-3 {
    grid-area: 5/2/6/3;
    margin-top: 5%;
  }
  .readmore-3 {
    grid-area: 6/2/7/3;
  }
}
@media screen and (max-width: 450px) {
  .dnaparent {
    display: grid;
    grid-template-columns: 5% 90% 5%;
    grid-column-gap: 5%;
    grid-row-gap: 2%;
    place-content: center;
  }
  .dnaoption1 {
    grid-area: 1/2/2/3;
  }
  .dnaoption2 {
    grid-area: 2/2/3/3;
  }
  .howto-grid {
    display: grid;
    grid-template-columns: 10% 80% 10%;
    grid-column-gap: 5%;
    place-content: center;
  }
}
.dnafont {
  font-size: 14px;
  margin-top: 10px;
  line-height: 17px;
}

.dnafont-small {
  font-size: 12px;
  margin-top: 0px;
  line-height: 17px;
}

.dnaimg {
  padding-right: 10%;
}

@media (max-width: 768px) {
  #postman {
    margin-top: 1em;
  }
  .message-options-container {
    flex-direction: column;
  }
  #pm_buttons {
    margin-top: 1em;
    margin-bottom: 1em;
  }
  .first-p {
    display: block;
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 1%;
  }
  .explanation-p {
    padding: 0 5%;
  }
}
@media (max-width: 392px) {
  #pm_buttons button,
  .message-button {
    font-size: 0.75em;
  }
  .message-title {
    font-size: 1em;
  }
}
.unlock-mobile-container {
  background: rgb(255, 43, 18);
  background: linear-gradient(0deg, rgb(255, 43, 18) 0%, rgb(255, 96, 21) 100%);
  max-width: 343px;
  margin: 0 auto;
  height: 151px;
  position: relative;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 1em;
  cursor: pointer;
  margin-bottom: 15px;
}

.unlock-mobile-container::before {
  content: "";
}

.unlock-mobile-bg {
  display: block;
  width: 100%;
  position: absolute;
  top: -20px;
  left: -25px;
}

.unlock-mobile-header {
  color: white;
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 1em;
}

.unlock-mobile-subheader {
  color: #FF3913;
  background-color: white;
  border-radius: 0.5em;
  padding: 0.7em 1.5em;
  font-weight: bold;
  font-size: 1.1em;
  display: flex;
  align-items: center;
}

.unlock-mobile-sh-icon {
  margin-left: 1em;
}

.unlock-desktop-container {
  margin-top: 1em;
  max-width: 666px;
  height: 75px;
  position: relative;
  background-color: white;
  border-radius: 1em;
  border: 1px solid #F1F1F6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-image: url("../img/cta_heart_graphics_long.svg");
  background-repeat: no-repeat;
  background-position: bottom 0 right -80px;
  margin-bottom: 15px;
}

.unlock-desktop-bg {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
}

.unlock-desktop-header {
  color: #313131;
  opacity: 0.7;
  font-size: 1.1em;
  font-weight: bold;
  margin-left: 1em;
}

.unlock-desktop-sh-icon {
  margin-left: 1em;
}

.unlock-desktop-subheader {
  color: white;
  font-size: 1em;
  line-height: 2em;
  font-weight: bold;
  margin-left: 1em;
  display: flex;
  align-items: right;
  margin-top: 10px;
  padding-top: 10px;
}

.unlock-desktop-subheader-ladies-night {
  text-align: center;
  overflow: hidden;
}

.unlock-desktop-sh-icon-ladies-night {
  width: 100%; /* This will make the image take up the full width of its container */
  max-width: 664px; /* Prevents the image from being scaled up beyond its original size */
  height: auto; /* Maintains the aspect ratio of the image when width is changed */
  margin: 0 auto; /* This can help center the image if its max-width is less than its container's width */
}

@media (max-width: 480px) {
  .unlock-mobile-header {
    font-size: 0.9em;
  }
  .unlock-mobile-subheader {
    font-size: 0.9em;
  }
}
.sale-banner-desktop {
  margin-top: 1em;
  max-width: 666px;
  position: relative;
  cursor: pointer;
  margin-bottom: 15px;
  display: flex;
}

.sale-banner-mobile {
  max-width: 343px;
  margin: 0 auto;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin-bottom: 15px;
  display: none;
}

.badge-img {
  height: 60px;
}

.inline-img {
  height: 20px;
}

.premium-desc,
.premium-checkbox {
  font-size: 15px;
  margin-top: 10px;
  color: #222222;
  list-style: none;
}

.premium-plans-selection {
  text-align: center;
  font-size: 20px;
}

.premium-plan,
.selected-loyalty {
  display: inline-block;
  margin: 5px;
}

.premium-saving,
.premium-total {
  color: #DBE9F6;
  height: 28px;
}

.premium-length {
  font-size: 25px;
  font-weight: bold;
  color: #222222;
}

.premium-length-loyalty {
  font-size: 25px;
  font-weight: bold;
  color: #222222;
  background-color: #DBE9F6;
}

.radio-option {
  border: 5px solid #DBE9F6;
}

.radio-option.selected {
  border: 5px solid #0f75bd;
  color: #0f75bd;
  border-radius: 10px;
  display: inline-block;
}

.radio-option.selected-loyalty.selected {
  border: 5px solid #bd0f60;
  color: #ffffff;
  background-color: #bd0f60;
  border-radius: 10px;
  display: inline-block;
}

.premium-total-loyalty,
.premium-saving-loyalty {
  color: #DBE9F6;
  height: 28px;
}

.radio-option.selected .premium-saving,
.radio-option.selected .premium-total {
  background-color: #0f75bd;
}

.subscribe-btn,
.pay-btn {
  background-color: #0f75bd;
  color: white;
  font-size: 25px;
  padding: 5px 15px;
  border-radius: 25px;
  border: 1px solid transparent;
  box-shadow: 0 1px 3px 0 #e6ebf1;
  transition: box-shadow 150ms ease;
  margin-top: 1em;
}

.StripeElement {
  box-sizing: border-box;
  height: 100%;
  width: 100%;
  margin-top: 5px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  background-color: white;
  box-shadow: 0 1px 3px 0 #e6ebf1;
  -webkit-transition: box-shadow 150ms ease;
  transition: box-shadow 150ms ease;
  color: "#32325d";
  font-family: "Helvetica Neue", Helvetica, sans-serif;
  font-size: 16px;
}

.StripeElement::placeholder {
  color: #aab7c4;
}

.StripeElement--focus {
  box-shadow: 0 1px 3px 0 #cfd7df;
}

.StripeElement--invalid {
  border-color: #fa755a;
}

.StripeElement--webkit-autofill {
  background-color: #fefde5 !important;
}

.half-width {
  width: calc(50% - 2.5px);
}

.quarter-width {
  width: calc(25% - 1.25px);
}

.fieldset {
  margin: 0 15px 30px;
  padding: 0;
  border-style: none;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.disableClick {
  pointer-events: none;
}

@media (max-width: 992px) {
  .profile-form,
  .settings-form,
  .pay-form,
  .premium {
    width: auto;
    margin: 2em 2em;
  }
  .match-panel-container {
    flex-direction: column;
  }
  .match-panels {
    max-width: 368px;
    width: 100%;
  }
  .match-panel-body {
    padding: 0;
    padding-bottom: 30px;
  }
  .match-panel-left {
    width: 100%;
    flex: initial;
  }
  .match-panel-left img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
  }
  .match-panel-right {
    padding: 0;
    text-align: center;
    width: 100%;
    flex: initial;
    position: relative;
  }
  .match-action {
    margin: 0 0.5em;
    padding: 0.75em;
  }
  .match-action.match-action-like,
  .match-action.match-action-maybe {
    padding: 1em;
  }
  .match-data .pill {
    margin-left: 0.5em;
    margin-right: 0.5em;
  }
  .match-info-container {
    position: absolute;
    top: -120px;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
    padding-top: 1 em;
    height: 73px;
    background-image: url("../img/gradient_shadow.svg");
    background-size: cover;
  }
  .match-data {
    margin-top: 1em;
  }
  .pill img {
    width: 28px;
    height: 28px;
  }
  .pill span {
    font-size: 0.8em;
  }
  .match-info {
    color: white;
  }
  .match-location {
    color: rgba(255, 255, 255, 0.6);
  }
  .match-data-mobile {
    display: block;
  }
  .match-info-icon {
    color: white;
  }
  #page-content.messages-page-content {
    padding-top: 60px;
  }
  .unlock-mobile-container,
  .sale-banner-mobile {
    display: flex;
  }
  .unlock-desktop-container,
  .sale-banner-desktop {
    display: none;
  }
}
.modal-dialog {
  width: 85%;
}

.modal-header::after {
  border-bottom: none;
}

.modal-header .btn-close {
  font-size: 40px;
}

@media (min-width: 768px) {
  .modal-dialog {
    width: 680px;
  }
}
.filter-img {
  width: 25px;
}

.show-more-matches {
  width: 200px;
  border-radius: 25px;
  background-color: #0F75BD;
  border: #357ebd;
  color: white;
}

.show-more-matches:hover {
  color: white;
}

/* Press Mentions */
.c-card-container {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: center;
  justify-content: center;
}

.c-card {
  border: 1px solid lightgray;
  border-radius: 2rem;
  margin: 0.5rem;
  padding: 1.75rem;
  text-align: left;
  width: 300px;
}

.c-card:hover {
  border: 1px solid #206fd6;
  /* offset-x | offset-y | blur-radius | spread-radius | color */
  box-shadow: 0px 0px 25px 5px rgba(0, 0, 0, 0.1);
  transform: scale(1.025);
}

.c-card-company {
  font-size: 32px;
  font-weight: bold;
  width: 100%;
}

.c-card-date {
  color: #808080;
  font-size: 1.5rem;
}

.c-card-quote {
  font-size: 1.5rem;
  font-style: italic;
}

.c-card-quotation {
  font-size: 3rem;
  font-weight: bold;
}

/* Media Assets */
.c-media-container {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: center;
  justify-content: center;
}

.c-media {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  border: 1px solid lightgray;
  border-radius: 2rem;
  margin: 2rem;
  padding: 2rem;
  text-align: center;
}

.c-media-image {
  max-height: 300px;
}

.c-media-download {
  margin-top: 2rem;
}

/* Text Shadows for index.html */
.c-text-shadow {
  text-shadow: 0px 0px 10px black;
}

.carousel-title {
  text-align: center;
  padding-bottom: 15px;
}

.fine-print {
  font-size: 10px;
  color: #9c9ea9;
  margin-top: 5px;
}

#hover_div #hover_a {
  position: relative;
  color: blue;
}

#hover_div #hover_a #hover_span {
  position: absolute;
  display: none;
  z-index: 99;
}

#hover_div #hover_a:hover #hover_span {
  display: block;
}

.invalid-feedback,
.errorlist {
  color: red;
}

.couples-report-dashboard {
  padding-top: 80px;
  background: #f8f9fa;
  min-height: 100vh;
}
.couples-report-dashboard .dashboard-header {
  background: linear-gradient(135deg, #0F75BD 0%, #F72C93 100%);
  color: white;
  padding: 3rem 0;
  margin-bottom: 3rem;
  border-radius: 0 0 50px 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.couples-report-dashboard .dashboard-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.couples-report-dashboard .dashboard-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}
.couples-report-dashboard .couples-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}
.couples-report-dashboard .couples-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
.couples-report-dashboard .couples-card .card-header {
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}
.couples-report-dashboard .couples-card .card-header h3 {
  color: #0F75BD;
  font-weight: 600;
  margin: 0;
}
.couples-report-dashboard .couples-card .partner-email {
  color: #F72C93;
  font-weight: 500;
  font-size: 1.1rem;
}
.couples-report-dashboard .couples-card .action-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.couples-report-dashboard .couples-card .action-buttons .btn {
  flex: 1;
  min-width: 120px;
  border-radius: 25px;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}
.couples-report-dashboard .couples-card .action-buttons .btn.btn-primary {
  background: linear-gradient(135deg, #0F75BD 0%, #F72C93 100%);
  border: none;
}
.couples-report-dashboard .couples-card .action-buttons .btn.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(15, 117, 189, 0.3);
}
.couples-report-dashboard .couples-card .action-buttons .btn.btn-secondary {
  background: #0F75BD;
  border: none;
}
.couples-report-dashboard .couples-card .action-buttons .btn.btn-secondary:hover {
  background: rgb(11.25, 87.75, 141.75);
  transform: translateY(-2px);
}
.couples-report-dashboard .couples-card .action-buttons .btn.btn-danger {
  background: #dc3545;
  border: none;
}
.couples-report-dashboard .couples-card .action-buttons .btn.btn-danger:hover {
  background: rgb(189.2151898734, 32.7848101266, 47.7721518987);
  transform: translateY(-2px);
}
.couples-report-dashboard .create-report-section {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  margin-top: 3rem;
}
.couples-report-dashboard .create-report-section h2 {
  color: #0F75BD;
  margin-bottom: 1rem;
}
.couples-report-dashboard .create-report-section p {
  color: #6c757d;
  margin-bottom: 2rem;
}
.couples-report-dashboard .create-report-section .btn-create {
  background: linear-gradient(135deg, #0F75BD 0%, #F72C93 100%);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 1rem 3rem;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.couples-report-dashboard .create-report-section .btn-create:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(15, 117, 189, 0.3);
}

.couples-report-content .report-section {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}
.couples-report-content .report-section h2 {
  color: #0F75BD;
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}
.couples-report-content .report-section h2:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #0F75BD 0%, #F72C93 100%);
}
.couples-report-content .report-section h3 {
  color: #F72C93;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.couples-report-content .compatibility-score {
  text-align: center;
  padding: 2rem;
}
.couples-report-content .compatibility-score .score-circle {
  width: 150px;
  height: 150px;
  margin: 0 auto 2rem;
  position: relative;
}
.couples-report-content .compatibility-score .score-circle .score-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #0F75BD 0%, #F72C93 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.couples-report-content .traits-comparison .trait-row {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}
.couples-report-content .traits-comparison .trait-row:hover {
  background: #f8f9fa;
}
.couples-report-content .traits-comparison .trait-row .trait-label {
  flex: 1;
  font-weight: 500;
  color: #495057;
}
.couples-report-content .traits-comparison .trait-row .trait-value {
  flex: 2;
  display: flex;
  gap: 2rem;
}
.couples-report-content .traits-comparison .trait-row .trait-value .partner-value {
  flex: 1;
  text-align: center;
  padding: 0.5rem;
  border-radius: 10px;
  background: #f8f9fa;
}
.couples-report-content .traits-comparison .trait-row .trait-value .partner-value.partner-1 {
  border: 2px solid #0F75BD;
}
.couples-report-content .traits-comparison .trait-row .trait-value .partner-value.partner-2 {
  border: 2px solid #F72C93;
}

.value-proposition-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.value-proposition-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #0F75BD 0%, #F72C93 100%);
}
.value-proposition-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}
.value-proposition-card .icon-wrapper {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #0F75BD 0%, #F72C93 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.value-proposition-card .icon-wrapper i {
  font-size: 2rem;
  color: white;
}
.value-proposition-card h4 {
  color: #0F75BD;
  font-weight: 600;
  margin-bottom: 1rem;
}
.value-proposition-card p {
  color: #6c757d;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .couples-report-dashboard .dashboard-header h1 {
    font-size: 2rem;
  }
  .couples-report-dashboard .couples-card {
    padding: 1.5rem;
  }
  .couples-report-dashboard .couples-card .action-buttons {
    flex-direction: column;
  }
  .couples-report-dashboard .couples-card .action-buttons .btn {
    width: 100%;
  }
  .couples-report-content .report-section {
    padding: 1.5rem;
  }
}
.footer3 {
  padding-top: 3rem !important;
  background-color: #2c3e50 !important;
  color: #ecf0f1 !important;
}
.footer3 address,
.footer3 a,
.footer3 p,
.footer3 .footer-text,
.footer3 .footer-link,
.footer3 .footer-link-large {
  background-color: transparent !important;
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.footer3 .footer-text {
  color: #ecf0f1 !important;
  font-size: 14px;
  line-height: 1.6;
}
.footer3 .footer-link {
  color: #3498db !important;
  text-decoration: underline;
}
.footer3 .footer-link:hover {
  color: #F72C93 !important;
  background-color: transparent !important;
  background: none !important;
  text-decoration: underline;
}
.footer3 .footer-link-large {
  color: #ffffff !important;
  font-weight: 500;
  text-decoration: none;
  font-size: 16px;
}
.footer3 .footer-link-large:hover {
  color: #F72C93 !important;
  background-color: transparent !important;
  background: none !important;
  text-decoration: underline;
}
.footer3 .footer-address {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}
.footer3 .footer-address p {
  color: #ecf0f1 !important;
  background: none !important;
}

h1.c-text-shadow {
  text-shadow: none !important;
}

.blog-preview-image {
  height: auto !important;
  max-height: 400px !important;
  object-fit: contain !important;
  width: 100% !important;
  transition: transform 0.3s ease;
}
.blog-preview-image:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .blog-preview-image {
    max-height: 250px !important;
  }
}
.press-card {
  transition: all 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
}
.press-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}
.press-card:hover .press-icon {
  transform: scale(1.1);
}
.press-card .card-body {
  min-height: 250px;
  display: flex;
  flex-direction: column;
}
.press-card .press-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.press-card .press-icon i {
  font-size: 1.5rem;
}
.press-card .card-title {
  font-size: 1.1rem;
  color: #333;
}
.press-card h6 {
  flex-grow: 0;
  font-size: 1rem;
  line-height: 1.4;
}
.press-card .card-text {
  flex-grow: 1;
  display: flex;
  align-items: center;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .press-card .card-body {
    min-height: 200px;
  }
}
@media (max-width: 575px) {
  .press-card .press-icon {
    width: 40px;
    height: 40px;
  }
  .press-card .press-icon i {
    font-size: 1.25rem;
  }
  .press-card .card-title {
    font-size: 1rem;
  }
}
.documentary-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.documentary-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(15, 117, 189, 0.1) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}
.documentary-section .section-title {
  font-size: 3rem;
  font-weight: 700;
  color: #0F75BD;
  margin-bottom: 3rem;
  position: relative;
}
.documentary-section .section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #0F75BD, #F72C93);
  border-radius: 2px;
}
.documentary-section .video-container {
  position: relative;
  background: white;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.documentary-section .video-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(to right, #0F75BD, #F72C93);
}
.documentary-section .video-container .video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
}
.documentary-section .video-container .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.documentary-section .video-container .video-description {
  margin-top: 2rem;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #555;
  text-align: center;
}
.documentary-section .video-container .video-description .highlight {
  color: #0F75BD;
  font-weight: 600;
}
.documentary-section .video-container .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(15, 117, 189, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}
.documentary-section .video-container .play-button:hover {
  background: rgb(15, 117, 189);
  transform: translate(-50%, -50%) scale(1.1);
}
.documentary-section .video-container .play-button i {
  color: white;
  font-size: 2rem;
  margin-left: 5px;
}

@keyframes float {
  0%, 100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
}
@media (max-width: 768px) {
  .documentary-section {
    padding: 60px 0;
  }
  .documentary-section .section-title {
    font-size: 2.5rem;
  }
  .documentary-section .video-container {
    padding: 15px;
  }
  .documentary-section .video-container .video-description {
    font-size: 1.1rem;
  }
}
/* Research References Grid */
.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
}

/* Wide desktop: 4 columns */
@media (min-width: 1400px) {
  .research-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Desktop: 3 columns */
@media (min-width: 992px) and (max-width: 1399px) {
  .research-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet: 2 columns */
@media (min-width: 576px) and (max-width: 991px) {
  .research-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: 1 column */
@media (max-width: 575px) {
  .research-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.research-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.research-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.research-card .card-header {
  background: linear-gradient(135deg, #0F75BD 0%, #F72C93 100%);
  padding: 1rem 1.25rem;
  border: none;
  position: relative;
}

.research-card .card-header .card-number {
  position: absolute;
  top: 10px;
  right: 15px;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  font-size: 0.875rem;
}

.research-card .card-header h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.research-card .card-header h4 a {
  color: white !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.3s ease;
}

.research-card .card-header h4 a:hover {
  opacity: 0.9;
}

.research-card .card-header h4 a i {
  font-size: 0.875rem;
  transition: transform 0.3s ease;
}

.research-card .card-header h4 a[aria-expanded="true"] i {
  transform: rotate(45deg);
}

.research-card .card-body {
  padding: 1.25rem;
  flex: 1;
}

.research-card .card-body p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

.research-card .card-body p:last-child {
  margin-bottom: 0;
}

.research-card .card-body p a {
  color: #0F75BD;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.research-card .card-body p a:hover {
  color: #F72C93;
  text-decoration: underline;
}

.research-card .card-body strong {
  color: #F72C93;
  font-size: 1.2rem;
}

.research-card .collapse .card-body {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Fix color conflicts */
.text-primary {
  color: #0F75BD !important;
}

.panel-default .panel-heading {
  background-color: #f5f5f5;
}

.panel-default .panel-heading a {
  color: #333 !important;
}

.panel-default .panel-heading a:hover {
  color: #0F75BD !important;
}

/* Section icon styling */
.section-icon {
  margin-bottom: 2rem;
  opacity: 0.8;
  animation: float 4s ease-in-out infinite;
}

/* =============================================================================
   Banner/Background Image Fixes
   ===================================================== */
.banner3 {
  background-image: url('../images/background/couple.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: center;
}
.banner3::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}
.banner3 .container,
.banner3 .banner3-content {
  position: relative;
  z-index: 2;
}

.banner3-dnaromance,
#topp {
  background-image: url('../images/background/couple.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: center;
}
.banner3-dnaromance::before,
#topp::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}
.banner3-dnaromance .container,
.banner3-dnaromance .banner3-content,
#topp .container,
#topp .banner3-content {
  position: relative;
  z-index: 2;
}

/* DateMetriX personality-focused banner */
.banner3-datemetrix {
  background-image: url('../images/background/Personalities.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: center;
}
.banner3-datemetrix::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 20, 147, 0.4) 0%,
    rgba(30, 144, 255, 0.4) 100%
  );
  z-index: 1;
}
.banner3-datemetrix .container,
.banner3-datemetrix .banner3-content {
  position: relative;
  z-index: 2;
}

/* GenePool donor/co-parent focused banner */
.banner3-genepool {
  background-image: url('../images/donors/3pannel.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: center;
}
.banner3-genepool::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 128, 0, 0.4) 0%,
    rgba(70, 130, 180, 0.4) 100%
  );
  z-index: 1;
}
.banner3-genepool .container,
.banner3-genepool .banner3-content {
  position: relative;
  z-index: 2;
}

/* Responsive banner adjustments with A/B testing */
/* Tablet breakpoint - A/B test with couple-skyline */
@media (max-width: 1024px) and (min-width: 769px) {
  .banner3,
  #topp {
    background-image: url('../images/background/couple-skyline.jpeg');
  }
  
  /* WebP support for tablet */
  .webp .banner3,
  .webp #topp,
  .banner3.webp,
  #topp.webp {
    background-image: url('../images/background/couple-skyline.webp');
  }
  
  /* Fallback for tablet without WebP */
  .no-webp .banner3,
  .no-webp #topp,
  .banner3.no-webp,
  #topp.no-webp {
    background-image: url('../images/background/couple-skyline.jpeg');
  }
}

/* Mobile breakpoint - A/B test with couple-skyline */
@media (max-width: 768px) {
  .banner3,
  #topp {
    min-height: 500px;
    background-attachment: scroll;
    background-image: url('../images/background/couple-skyline.jpeg');
  }
  
  /* WebP support for mobile */
  .webp .banner3,
  .webp #topp,
  .banner3.webp,
  #topp.webp {
    background-image: url('../images/background/couple-skyline.webp');
  }
  
  /* Fallback for mobile without WebP */
  .no-webp .banner3,
  .no-webp #topp,
  .banner3.no-webp,
  #topp.no-webp {
    background-image: url('../images/background/couple-skyline.jpeg');
  }
}

/* =============================================================================
   Additional Color Conflict Fixes
   ===================================================== */
.bg-primary,
[class*="bg-blue"],
[style*="background: #0F75BD"],
[style*="background-color: #0F75BD"],
[style*="background: rgb(15, 117, 189)"],
[style*="background-color: rgb(15, 117, 189)"] {
  color: #ffffff !important;
}
.bg-primary h1, .bg-primary h2, .bg-primary h3, .bg-primary h4, .bg-primary h5, .bg-primary h6,
.bg-primary p, .bg-primary span, .bg-primary div, .bg-primary li, .bg-primary a,
.bg-primary .text-primary,
.bg-primary .color-primary,
.bg-primary .blue-text,
[class*="bg-blue"] h1, [class*="bg-blue"] h2, [class*="bg-blue"] h3, [class*="bg-blue"] h4, [class*="bg-blue"] h5, [class*="bg-blue"] h6,
[class*="bg-blue"] p, [class*="bg-blue"] span, [class*="bg-blue"] div, [class*="bg-blue"] li, [class*="bg-blue"] a,
[class*="bg-blue"] .text-primary,
[class*="bg-blue"] .color-primary,
[class*="bg-blue"] .blue-text,
[style*="background: #0F75BD"] h1, [style*="background: #0F75BD"] h2, [style*="background: #0F75BD"] h3, [style*="background: #0F75BD"] h4, [style*="background: #0F75BD"] h5, [style*="background: #0F75BD"] h6,
[style*="background: #0F75BD"] p, [style*="background: #0F75BD"] span, [style*="background: #0F75BD"] div, [style*="background: #0F75BD"] li, [style*="background: #0F75BD"] a,
[style*="background: #0F75BD"] .text-primary,
[style*="background: #0F75BD"] .color-primary,
[style*="background: #0F75BD"] .blue-text,
[style*="background-color: #0F75BD"] h1, [style*="background-color: #0F75BD"] h2, [style*="background-color: #0F75BD"] h3, [style*="background-color: #0F75BD"] h4, [style*="background-color: #0F75BD"] h5, [style*="background-color: #0F75BD"] h6,
[style*="background-color: #0F75BD"] p, [style*="background-color: #0F75BD"] span, [style*="background-color: #0F75BD"] div, [style*="background-color: #0F75BD"] li, [style*="background-color: #0F75BD"] a,
[style*="background-color: #0F75BD"] .text-primary,
[style*="background-color: #0F75BD"] .color-primary,
[style*="background-color: #0F75BD"] .blue-text {
  color: #ffffff !important;
}
.bg-primary a,
[class*="bg-blue"] a,
[style*="background: #0F75BD"] a,
[style*="background-color: #0F75BD"] a {
  color: #ffffff !important;
  text-decoration: underline;
}
.bg-primary a:hover,
[class*="bg-blue"] a:hover,
[style*="background: #0F75BD"] a:hover,
[style*="background-color: #0F75BD"] a:hover {
  color: #F72C93 !important;
}

.gradient-primary h1.text-primary,
.gradient-primary h1.color-primary,
.gradient-primary h1.blue-text,
.gradient-primary h2.text-primary,
.gradient-primary h2.color-primary,
.gradient-primary h2.blue-text,
.gradient-primary h3.text-primary,
.gradient-primary h3.color-primary,
.gradient-primary h3.blue-text,
.gradient-primary h4.text-primary,
.gradient-primary h4.color-primary,
.gradient-primary h4.blue-text,
.gradient-primary h5.text-primary,
.gradient-primary h5.color-primary,
.gradient-primary h5.blue-text,
.gradient-primary h6.text-primary,
.gradient-primary h6.color-primary,
.gradient-primary h6.blue-text,
.gradient-primary p.text-primary,
.gradient-primary p.color-primary,
.gradient-primary p.blue-text,
[style*="linear-gradient"] h1.text-primary,
[style*="linear-gradient"] h1.color-primary,
[style*="linear-gradient"] h1.blue-text,
[style*="linear-gradient"] h2.text-primary,
[style*="linear-gradient"] h2.color-primary,
[style*="linear-gradient"] h2.blue-text,
[style*="linear-gradient"] h3.text-primary,
[style*="linear-gradient"] h3.color-primary,
[style*="linear-gradient"] h3.blue-text,
[style*="linear-gradient"] h4.text-primary,
[style*="linear-gradient"] h4.color-primary,
[style*="linear-gradient"] h4.blue-text,
[style*="linear-gradient"] h5.text-primary,
[style*="linear-gradient"] h5.color-primary,
[style*="linear-gradient"] h5.blue-text,
[style*="linear-gradient"] h6.text-primary,
[style*="linear-gradient"] h6.color-primary,
[style*="linear-gradient"] h6.blue-text,
[style*="linear-gradient"] p.text-primary,
[style*="linear-gradient"] p.color-primary,
[style*="linear-gradient"] p.blue-text {
  color: #ffffff !important;
}

/* Site-specific WebP support */
.webp .banner3-datemetrix,
.banner3-datemetrix.webp {
  background-image: url('../images/background/Personalities.webp');
}
.no-webp .banner3-datemetrix,
.banner3-datemetrix.no-webp {
  background-image: url('../images/background/Personalities.png');
}
.webp .banner3-genepool,
.banner3-genepool.webp {
  background-image: url('../images/donors/3pannel.webp');
}
.no-webp .banner3-genepool,
.banner3-genepool.no-webp {
  background-image: url('../images/donors/3pannel.jpeg');
}