/*
Theme Name: LoveStory
Theme URI: https://example.com/lovestory
Author: GPT
Description: Одностраничная тема WordPress для сайта знакомств LoveStory.
Version: 1.0.0
Text Domain: lovestory
*/

/* ==================================================
   Базовые стили и общие компоненты
   Файл: global / all templates
================================================== */

* {
  box-sizing: border-box;
}

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

:root {
  --color-dark: #080f35;
  --color-dark-secondary: #071035;
  --color-footer: #070d2c;
  --color-violet: #27154f;
  --color-pink: #ff6fae;
  --color-gold: #f6b94e;
  --color-text: #fff4fb;
  --color-muted: #d8c9e8;
  --color-about-text: #261b4a;
  --color-about-muted: #59486f;
  --container-width: 1120px;
  --container-padding: 20px;
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;

  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--color-text);
  background: var(--color-dark);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {

  font-weight: 560;
}

.container {
  width: min(var(--container-width), calc(100% - var(--container-padding) * 2));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  padding: 15px 32px;
  background: linear-gradient(135deg, #ffd071, #f0a93e);
  color: #3b2240;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(246, 185, 78, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(246, 185, 78, 0.45);
}

@keyframes account-photo-spin {
  to {
    transform: rotate(360deg);
  }
}

.login-form {
  display: grid;
  gap: 16px;
}

.login-form__field {
  display: grid;
  gap: 6px;
}

.login-form__label {
  color: rgba(248, 240, 255, 0.72);
  font-size: 14px;
}

.login-form__input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(239, 184, 92, 0.26);
  border-radius: 12px;
  color: #fff7ff;
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  outline: none;
}

.login-form__input:focus {
  border-color: rgba(239, 184, 92, 0.75);
}

.login-form__remember {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(248, 240, 255, 0.72);
  font-size: 14px;
}

.login-form__submit {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  color: #1b1235;
  background: linear-gradient(135deg, #ffd36e 0%, #efb85c 48%, #ff8fb9 100%);
  font: inherit;
  cursor: pointer;
}

body.is-login-modal-open {
  overflow: hidden;
}

img {
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-header__messages {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  min-width: 42px;
  height: 42px;
  border: 1px solid rgba(239, 184, 92, 0.62);
  border-radius: 999px;
  color: #efb85c;
  background: rgba(255, 255, 255, 0.035);
  text-decoration: none;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.site-header__messages:hover {
  color: #1b1235;
  border-color: transparent;
  background: linear-gradient(135deg, #ffd36e 0%, #efb85c 48%, #ff8fb9 100%);
  transform: translateY(-1px);
}

.site-header__messages-icon {
  font-size: 18px;
  line-height: 1;
}

.site-header__messages-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 2px 6px;
  border: 2px solid #070b24;
  border-radius: 999px;
  color: #1b1235;
  background: linear-gradient(135deg, #ffd36e 0%, #efb85c 48%, #ff8fb9 100%);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.site-header__messages:hover .site-header__messages-badge {
  border-color: #efb85c;
  background: #fff7ff;
}

/* ==================================================
   Главная страница, шапка, футер и модалки
   Файл: front-page.php, header.php, footer.php
================================================== */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  font-size: 24px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
}

.logo__icon {
  flex: 0 0 auto;
  width: 48px;
  height: 36px;
  background: url("./img/ui/loveStory_logo.svg") center / contain no-repeat;
}

.logo__text {
  color: var(--color-text);
}

.header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  padding: 28px 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.header__logo {
  flex-shrink: 0;
}

.header__login {
  cursor: pointer;
  flex-shrink: 0;
  border: 1px solid rgba(246, 185, 78, 0.75);
  border-radius: 999px;
  padding: 12px 20px;
  background: var(--color-gold);
  color: var(--color-violet);

  font-weight: 700;
  font-size: 15px;
  transition: background var(--transition), color var(--transition);
}

.header__login:hover,
.header__login:focus-visible {
  background: #e9e9ed;
  color: #eb7134;
}

.nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 34px;
  color: var(--color-muted);
  font-size: 15px;
  font-weight: 700;
}

.nav__link {
  transition: color var(--transition);
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--color-gold);
}

.hero {
  min-height: 760px;
  padding: 134px 0 60px;
  background-color: var(--color-dark);
  background-image: url("./img/bg/hero-bg.png");
  background-position: top center;
  background-size: contain;
  background-repeat: no-repeat;
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 520px;
  padding-top: 30px;
}

.hero__title {
  margin-bottom: 26px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.95;
}

.hero__title-accent {
  color: var(--color-pink);
}

.hero__text {
  max-width: 380px;
  margin-bottom: 36px;
  color: var(--color-muted);
  font-size: 18px;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 22px;
}

.hero__video-link {
  color: var(--color-muted);
  font-weight: 700;
  transition: color var(--transition);
}

.hero__video-link:hover,
.hero__video-link:focus-visible {
  color: var(--color-gold);
}

.divider {
  display: block;
  height: 25px;
  margin-bottom: 15px;
  background: url("./img/ui/arrow_heart_devider3.svg") center / contain no-repeat;
}

.divider--left {
  width: min(100%, 360px);
  background-position: left center;
}

.divider--center {
  width: min(100%, 380px);
  margin-inline: auto;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.hero__features {
  margin-top: 70px;
}

.feature-card {
  min-height: 230px;
  padding: 34px 28px;
  text-align: center;
  border: 1px solid rgba(255, 151, 210, 0.35);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 40px rgba(255, 111, 174, 0.08);
}

.feature-card__icon {
  display: block;
  width: 96px;
  height: 96px;
  margin-inline: auto;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.feature-card__icon--match {
  background-image: url("./img/ui/ideal_align.svg");
}

.feature-card__icon--security {
  background-image: url("./img/ui/security-icon.svg");
}

.feature-card__icon--communication {
  background-image: url("./img/ui/communication-icon.svg");
}

.feature-card__icon--moments {
  background-image: url("./img/ui/moments-icon.svg");
}

.feature-card__title {
  margin: 16px 0;
  font-size: 23px;
  line-height: 1.1;
}

.feature-card__text {
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.5;
}

.section__title {
  margin-bottom: 30px;
  font-size: clamp(30px, 4vw, 40px);
  text-align: center;
}

.stories {
  padding: 24px 0 70px;
  background: var(--color-dark-secondary);
}

.stories__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.story-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid rgba(255, 151, 210, 0.25);
  border-radius: 18px;
}

.story-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(8, 15, 53, 0.88), rgba(8, 15, 53, 0.12));
}

.story-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-card__content {
  position: relative;
  z-index: 2;
  padding: 24px;
}

.story-card__title {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.9);

  font-size: 17px;
  line-height: 1.35;
}

.story-card__author {
  color: var(--color-muted);
  font-size: 14px;
}

.about {
  padding: 48px 0 220px;
  color: var(--color-about-text);
  background:
    radial-gradient(circle at 12% 40%, rgba(255, 111, 174, 0.2), transparent 14%),
    radial-gradient(circle at 80% 25%, rgba(255, 255, 255, 0.8), transparent 20%),
    linear-gradient(120deg, #fff2f8, #f4dff0);
}

.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 48px;
  align-items: center;
}

.about__media {
  min-height: 360px;
  aspect-ratio: 16 / 9;
  background: url("./img/bg/phone_bg_2.png") center / contain no-repeat;
}

.about__content {
  max-width: 520px;
}

.about__eyebrow {
  margin-bottom: 14px;
  color: var(--color-gold);
  font-weight: 700;
}

.about__title {
  margin-bottom: 22px;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.05;
}

.about__text {
  margin-bottom: 24px;
  color: var(--color-about-muted);
  line-height: 1.7;
}

.about__list {
  display: grid;
  gap: 14px;
  margin-bottom: 30px;
  color: var(--color-about-muted);
  font-weight: 700;
}

.about__item::before {
  content: "✓";
  margin-right: 12px;
  color: var(--color-gold);
}

.cta {
  position: relative;
  padding-bottom: 70px;
  background: var(--color-dark-secondary);
}

.cta__box {
  position: relative;
  transform: translateY(-50%);
  margin-bottom: -86px;
  padding: 46px 30px;
  text-align: center;
  border: 1px solid rgba(246, 185, 78, 0.6);
  border-radius: 24px;
  background: url("./img/bg/cta-bg.png") center / cover no-repeat;
}

.cta__title {
  margin-bottom: 15px;
  font-size: clamp(34px, 5vw, 50px);
}

.cta__text {
  max-width: 620px;
  margin: 0 auto 28px;
  color: #ffe6f2;
  line-height: 1.6;
}

.footer {
  padding: 50px 0 28px;
  background: var(--color-footer);
  color: var(--color-muted);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 34px;
}

.footer__title {
  margin-bottom: 18px;
  color: #ffffff;

  font-size: 16px;
  font-weight: 700;
}

.footer__text,
.footer-nav__link,
.contacts__item,
.contacts__link {
  font-size: 14px;
  line-height: 1.9;
}

.footer__text {
  max-width: 280px;
  margin-top: 18px;
}

.footer__social {
  margin-top: 20px;
}

.footer-nav__link,
.contacts__link {
  transition: color var(--transition);
}

.footer-nav__link:hover,
.footer-nav__link:focus-visible,
.contacts__link:hover,
.contacts__link:focus-visible {
  color: var(--color-gold);
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.social__link {
  display: block;
  width: 44px;
  height: 44px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform var(--transition);
}

.social__link:hover,
.social__link:focus-visible {
  transform: translateY(-2px);
}

.social__link--instagram {
  background-image: url("./img/ui/instagram.svg");
}

.social__link--vk {
  background-image: url("./img/ui/vk.svg");
}

.social__link--facebook {
  background-image: url("./img/ui/facebook.svg");
}

.social__link--telegram {
  background-image: url("./img/ui/telegram.svg");
}

.contacts {
  font-style: normal;
}

.contacts__list {
  display: grid;
  gap: 10px;
}

.contacts__item {
  position: relative;
  min-height: 24px;
  padding-left: 32px;
}

.contacts__item::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 22px;
  height: 22px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.contacts__item--email::before {
  background-image: url("./img/ui/email.svg");
}

.contacts__item--phone::before {
  background-image: url("./img/ui/phone.svg");
}

.contacts__item--location::before {
  background-image: url("./img/ui/location.svg");
}

.footer__copy {
  margin-top: 34px;
  font-size: 13px;
  text-align: center;
  opacity: 0.7;
}

.auth-panel {
  display: flex;
  align-items: center;
  gap: 14px;
}

.auth-panel__button,
.auth-panel__user {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.auth-panel__button {
  border: 1px solid rgba(239, 184, 92, 0.45);
  color: #fff7ff;
  background: rgba(255, 255, 255, 0.06);
}

.auth-panel__button--register {
  color: #1b1235;
  border: 0;
  background: linear-gradient(135deg, #ffd36e 0%, #efb85c 48%, #ff8fb9 100%);
}

.auth-panel__user {
  gap: 8px;
  color: #fff7ff;
  border: 1px solid rgba(239, 184, 92, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.auth-panel__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(239, 184, 92, 0.16);
}

.auth-panel__name {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.login-modal[hidden] {
  display: none;
}

.login-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.login-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 35, 0.72);
}

.login-modal__content {
  position: relative;
  z-index: 1;
  width: min(92vw, 440px);
  margin: 8vh auto;
  padding: 32px;
  border: 1px solid rgba(239, 184, 92, 0.35);
  border-radius: 24px;
  color: #fff7ff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    #151039;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.login-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  color: #fff7ff;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.login-modal__title {
  margin: 0 0 24px;

  font-size: 32px;
  font-weight: 500;
}

.header-user__icon {
  display: inline-block;
  background: #f2ae44;
  border-radius: 30px;
  padding: 3px;
  margin: auto;
}

.site-notice {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto;
  padding: 16px 52px 16px 20px;
  border-radius: 16px;
  font-size: 16px;
  line-height: 1.5;
}

.site-notice--success {
  color: #7be495;
  border: 1px solid rgba(123, 228, 149, 0.35);
  background: rgba(123, 228, 149, 0.08);
}

.site-notice__text {
  margin: 0;
}

.site-notice__close {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  color: inherit;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.site-notice__close:hover {
  background: rgba(255, 255, 255, 0.08);
}

.header-nav {
  position: relative;
}

.header-nav__toggle {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==================================================
   Личный профиль пользователя
   Файл: user-profile.php
================================================== */

.account-page {
  min-height: 100vh;
  padding: 72px 0;
  color: #f8f0ff;
  background: url("./img/bg/profile-bg.png") center / cover no-repeat;

}

.account {
  width: 100%;
}

.account__container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px;
  border: 1px solid rgba(239, 184, 92, 0.35);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(17, 13, 50, 0.78);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
}

.account__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.account__eyebrow {
  margin: 0 0 8px;
  color: #efb85c;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account__title {
  margin: 0;
  color: #fff7ff;

  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  font-weight: 500;
}

.account__description {
  max-width: 560px;
  margin: 14px 0 0;
  color: rgba(248, 240, 255, 0.72);
  font-size: 16px;
  line-height: 1.6;
}

.account__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(239, 184, 92, 0.35);
  background: rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.account__status-label {
  color: rgba(248, 240, 255, 0.68);
  font-size: 14px;
}

.account__status-value {
  font-size: 14px;
  font-weight: 700;
}

.account__status--active .account__status-value {
  color: #7be495;
}

.account__status--pending .account__status-value {
  color: #efb85c;
}

.account__status--blocked .account__status-value {
  color: #ff7b94;
}

.account__body {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: stretch;
}

.account__photo-panel,
.account__info-panel {
  border: 1px solid rgba(239, 184, 92, 0.22);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.065);
}

.account__photo-panel {
  padding: 22px;
}

.account__info-panel {
  padding: 26px;
}

.account__section-title {
  margin: 0;
  color: #fff7ff;

  font-size: 24px;
  line-height: 1.2;
  font-weight: 500;
}

.account__panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.account__edit-button {
  min-height: 38px;
  padding: 8px 18px;
  border: 1px solid rgba(239, 184, 92, 0.65);
  border-radius: 999px;
  color: #efb85c;
  background: transparent;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.account__edit-button:hover {
  color: #1b1235;
  background: #efb85c;
  transform: translateY(-1px);
}

.account__photo-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1.15;
  margin-top: 22px;
  border-radius: 22px;
  border: 1px solid rgba(239, 184, 92, 0.42);
  background:
    linear-gradient(135deg, rgba(239, 184, 92, 0.2), rgba(255, 99, 167, 0.18)),
    rgba(255, 255, 255, 0.08);
}

.account__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account__photo-edit {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(239, 184, 92, 0.68);
  border-radius: 50%;
  color: #efb85c;
  background: rgba(12, 10, 36, 0.78);
  cursor: pointer;
}

.account__photo-actions {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.account__data-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.account__data-item {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 58px;
  margin: 0;
  border-bottom: 1px solid rgba(239, 184, 92, 0.14);
}

.account__data-item::after {
  content: "Изменить";
  color: #efb85c;
  font-size: 14px;
}

.account__data-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(248, 240, 255, 0.64);
  font-size: 15px;
}

.account__data-value {
  margin: 0;
  color: #fff7ff;
  font-size: 16px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.account__notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
  padding: 16px 18px;
  border: 1px solid rgba(239, 184, 92, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.account__notice-icon {
  flex: 0 0 auto;
  color: #efb85c;
}

.account__notice-text {
  margin: 0;
  color: rgba(248, 240, 255, 0.68);
  font-size: 14px;
  line-height: 1.5;
}

.account__actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.account__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  border-radius: 14px;
  font: inherit;
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.account__button:hover {
  transform: translateY(-1px);
}

.account__button--primary {
  border: 0;
  color: #1b1235;
  background: linear-gradient(135deg, #ffd36e 0%, #efb85c 48%, #ff8fb9 100%);
  box-shadow: 0 14px 32px rgba(239, 184, 92, 0.22);
}

.account__button--secondary {
  border: 1px solid rgba(239, 184, 92, 0.34);
  color: #fff7ff;
  background: rgba(255, 255, 255, 0.06);
}

.account__button--ghost {
  border: 1px solid rgba(239, 184, 92, 0.22);
  color: rgba(248, 240, 255, 0.78);
  background: transparent;
}

.account__button--danger {
  border: 1px solid rgba(255, 123, 148, 0.54);
  color: #ff9daf;
  background: rgba(255, 123, 148, 0.06);
}

.account__footer {
  margin-top: 16px;
}

.account__admin-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 1px solid rgba(239, 184, 92, 0.35);
  border-radius: 14px;
  color: #efb85c;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.04);
}

.account-field-list {
  display: grid;
  gap: 0;
}

.account-field {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid rgba(239, 184, 92, 0.14);
}

.account-field__label {
  color: rgba(248, 240, 255, 0.64);
  font-size: 15px;
}

.account-field__input {
  width: 100%;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #fff7ff;
  background: transparent;
  font: inherit;
  outline: none;
}

.account-field__input:disabled {
  opacity: 1;
  -webkit-text-fill-color: #fff7ff;
}

.account-field__input:not(:disabled) {
  border-color: rgba(239, 184, 92, 0.42);
  background: rgba(255, 255, 255, 0.055);
}

.account-field__input:focus {
  border-color: rgba(239, 184, 92, 0.8);
}

.account-field__button {
  min-height: 36px;
  padding: 7px 14px;
  border: 0;
  color: #efb85c;
  background: transparent;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.account-field__button:hover {
  color: #ffd36e;
}

.account-field__button--save {
  padding-inline: 18px;
  border: 1px solid rgba(239, 184, 92, 0.55);
  border-radius: 999px;
  background: rgba(239, 184, 92, 0.08);
}

.account-photo-form {
  display: grid;
  gap: 12px;
}

.account-photo-form__message {
  min-height: 20px;
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.account-photo-form__message--success {
  color: #7be495;
}

.account-photo-form__message--error {
  color: #ff9daf;
}

.account__button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.account-photo-form__upload,
.account-photo-form__delete {
  position: relative;
  gap: 8px;
}

.account-photo-form__spinner {
  display: none;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: account-photo-spin 0.75s linear infinite;
}

.account-photo-form__upload.is-loading,
.account-photo-form__delete.is-loading {
  pointer-events: none;
  opacity: 0.72;
}

.account-photo-form__upload.is-loading .account-photo-form__spinner,
.account-photo-form__delete.is-loading .account-photo-form__spinner {
  display: inline-block;
}

.account-photo-form__upload.is-loading .account-photo-form__button-text,
.account-photo-form__delete.is-loading .account-photo-form__button-text {
  opacity: 0.78;
}

.account-photo-form__progress {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.account-photo-form__progress[hidden] {
  display: none;
}

.account-photo-form__progress-track {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.account-photo-form__progress-bar {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, #ffd36e 0%, #efb85c 48%, #ff8fb9 100%);
  transition: width 0.18s ease;
}

.account-photo-form__progress-text {
  min-width: 44px;
  color: rgba(248, 240, 255, 0.72);
  font-size: 13px;
  text-align: right;
}

.account__button--logout {
  border: 1px solid rgba(248, 240, 255, 0.28);
  color: rgba(248, 240, 255, 0.9);
  background: rgba(255, 255, 255, 0.045);
}

.account__button--logout:hover {
  color: #fff7ff;
  background: rgba(255, 255, 255, 0.08);
}

.account__button--messages {
  gap: 10px;
}

.account__button-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 3px 9px;
  border-radius: 999px;
  color: #1b1235;
  background: linear-gradient(135deg, #ffd36e 0%, #efb85c 48%, #ff8fb9 100%);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.account-admin-contact {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  padding: 26px;
  border: 1px solid rgba(239, 184, 92, 0.22);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
}

.account-admin-contact__form {
  display: grid;
  gap: 16px;
}

.account-admin-contact__field {
  display: grid;
  gap: 8px;
}

.account-admin-contact__label {
  color: rgba(248, 240, 255, 0.72);
  font-size: 14px;
}

.account-admin-contact__input,
.account-admin-contact__textarea {
  width: 100%;
  border: 1px solid rgba(239, 184, 92, 0.26);
  border-radius: 14px;
  color: #fff7ff;
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  outline: none;
}

.account-admin-contact__input {
  min-height: 46px;
  padding: 10px 14px;
}

.account-admin-contact__textarea {
  min-height: 130px;
  padding: 12px 14px;
  resize: vertical;
}

.account-admin-contact__input:focus,
.account-admin-contact__textarea:focus {
  border-color: rgba(239, 184, 92, 0.8);
  box-shadow: 0 0 0 3px rgba(239, 184, 92, 0.14);
}

.account-admin-contact__submit {
  justify-self: start;
}

.account-admin-contact__notice {
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
}

.account-admin-contact__notice--success {
  color: #7be495;
  border: 1px solid rgba(123, 228, 149, 0.35);
  background: rgba(123, 228, 149, 0.08);
}

.account-admin-contact__notice--error {
  color: #ff9daf;
  border: 1px solid rgba(255, 123, 148, 0.35);
  background: rgba(255, 123, 148, 0.08);
}

/* ==================================================
   Публичная анкета
   Файл: single-profile.php
================================================== */

.profile-page {
  min-height: 100vh;
  padding: 72px 0;
  color: #f8f0ff;
  background: url("./img/bg/profile-bg.png") center / cover no-repeat;

}

.public-profile {
  width: 100%;
}

.public-profile__container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px;
  border: 1px solid rgba(239, 184, 92, 0.35);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 4%, rgba(255, 121, 188, 0.16), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(17, 13, 50, 0.78);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
}

.public-profile__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 32px;
  color: rgba(248, 240, 255, 0.56);
  font-size: 14px;
}

.public-profile__breadcrumb-link {
  color: rgba(248, 240, 255, 0.64);
  text-decoration: none;
  transition: color 0.2s ease;
}

.public-profile__breadcrumb-link:hover {
  color: #efb85c;
}

.public-profile__breadcrumb-separator {
  color: rgba(239, 184, 92, 0.65);
}

.public-profile__breadcrumb-current {
  color: rgba(248, 240, 255, 0.82);
}

.public-profile__hero {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 42px;
  align-items: start;
}

.public-profile__media {
  display: grid;
  gap: 22px;
}

.public-profile__main-photo {
  overflow: hidden;
  aspect-ratio: 0.86 / 1;
  border: 1px solid rgba(239, 184, 92, 0.42);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(239, 184, 92, 0.18), rgba(255, 99, 167, 0.16)),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.26);
}

.public-profile__main-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-profile__message-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 14px 24px;
  border: 0;
  border-radius: 16px;
  color: #1b1235;
  background: linear-gradient(135deg, #ffd36e 0%, #efb85c 48%, #ff8fb9 100%);
  box-shadow: 0 16px 34px rgba(239, 184, 92, 0.2);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.public-profile__message-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(239, 184, 92, 0.28);
}

.public-profile__message-icon {
  font-size: 22px;
  line-height: 1;
}

.public-profile__summary {
  min-width: 0;
  padding-top: 12px;
}

.public-profile__eyebrow {
  position: relative;
  display: inline-block;
  margin: 0 0 14px;
  color: #efb85c;
  font-size: 14px;
  line-height: 1.3;
}

.public-profile__eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 42px;
  height: 1px;
  background: rgba(239, 184, 92, 0.72);
}

.public-profile__title {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 0;
  color: #fff7ff;

  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 500;
}

.public-profile__verified {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #1b1235;
  background: #efb85c;

  font-size: 18px;
  font-weight: 700;
}

.public-profile__location {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 14px 0 28px;
  color: rgba(248, 240, 255, 0.78);
  font-size: 16px;
}

.public-profile__location-icon {
  color: #efb85c;
}

.public-profile__goal {
  display: grid;
  gap: 10px;
  margin-bottom: 32px;
}

.public-profile__goal-label {
  color: rgba(248, 240, 255, 0.7);
  font-size: 15px;
}

.public-profile__goal-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  min-height: 52px;
  padding: 12px 28px;
  border: 1px solid rgba(239, 184, 92, 0.55);
  border-radius: 999px;
  color: #fff7ff;
  background: rgba(255, 255, 255, 0.04);

  font-size: 22px;
}

.public-profile__goal-icon {
  color: #efb85c;
  font-size: 26px;
}

.public-profile__quote {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  margin: 0 0 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(239, 184, 92, 0.16);
}

.public-profile__quote-text {
  max-width: 520px;
  margin: 0;
  color: rgba(248, 240, 255, 0.86);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.45;
}

.public-profile__quote-mark {
  color: #efb85c;

  font-size: 52px;
  line-height: 1;
}

.public-profile__interests {
  display: grid;
  gap: 20px;
}

.public-profile__section-title {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0;
  color: #fff7ff;

  font-size: 26px;
  line-height: 1.2;
  font-weight: 500;
}

.public-profile__section-icon {
  color: #efb85c;

}

.public-profile__tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.public-profile__tag {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 20px;
  border: 1px solid rgba(239, 184, 92, 0.44);
  border-radius: 999px;
  color: rgba(248, 240, 255, 0.88);
  background: rgba(255, 255, 255, 0.035);
  font-size: 15px;
}

.public-profile__gallery {
  position: relative;
  margin-top: 34px;
  padding: 28px 48px 34px;
  border: 1px solid rgba(239, 184, 92, 0.22);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
}

.public-profile__gallery-header {
  margin-bottom: 22px;
}

.public-profile__gallery-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.public-profile__gallery-item {
  display: block;
  overflow: hidden;
  aspect-ratio: 1.28 / 1;
  border: 1px solid rgba(239, 184, 92, 0.28);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.public-profile__gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.public-profile__gallery-item:hover img {
  transform: scale(1.04);
}

.public-profile__gallery-button {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(239, 184, 92, 0.5);
  border-radius: 50%;
  color: #efb85c;
  background: rgba(12, 10, 36, 0.88);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.public-profile__gallery-button--prev {
  left: -22px;
}

.public-profile__gallery-button--next {
  right: -22px;
}

.public-profile__details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.public-profile__card {
  padding: 28px;
  border: 1px solid rgba(239, 184, 92, 0.22);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
}

.public-profile__text {
  margin: 22px 0 0;
  color: rgba(248, 240, 255, 0.82);
  font-size: 18px;
  line-height: 1.8;
}

.public-profile__footer {
  margin-top: 32px;
}

.public-profile__moderation {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: rgba(239, 184, 92, 0.82);
  font-size: 16px;
}

.public-profile__moderation-icon {
  color: #efb85c;
}

.public-profile__moderation-check {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #0f2116;
  background: #7be495;
  font-size: 14px;
  font-weight: 700;
}

/* ==================================================
   Редактор анкеты
   Файл: edit-profile.php
================================================== */

.profile-editor-page {
  min-height: 100vh;
  padding: 72px 0;
  color: #f8f0ff;
  background:
    radial-gradient(circle at 76% 12%, rgba(255, 121, 188, 0.24), transparent 30%),
    radial-gradient(circle at 18% 6%, rgba(239, 184, 92, 0.14), transparent 26%),
    linear-gradient(135deg, #070b24 0%, #160f3b 46%, #080b25 100%);
}

.profile-editor {
  width: 100%;
}

.profile-editor__container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px;
  border: 1px solid rgba(239, 184, 92, 0.35);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 4%, rgba(255, 121, 188, 0.16), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(17, 13, 50, 0.78);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
}

.profile-editor__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.profile-editor__eyebrow,
.profile-editor__section-kicker {
  position: relative;
  display: inline-block;
  margin: 0 0 10px;
  color: #efb85c;
  font-size: 14px;
  line-height: 1.3;
}

.profile-editor__eyebrow::after,
.profile-editor__section-kicker::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 42px;
  height: 1px;
  background: rgba(239, 184, 92, 0.72);
}

.profile-editor__title {
  margin: 0;
  color: #fff7ff;

  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  font-weight: 500;
}

.profile-editor__description {
  max-width: 620px;
  margin: 14px 0 0;
  color: rgba(248, 240, 255, 0.68);
  font-size: 16px;
  line-height: 1.6;
}

.profile-editor__preview-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 22px;
  border: 1px solid rgba(239, 184, 92, 0.55);
  border-radius: 999px;
  color: #efb85c;
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.profile-editor__preview-link:hover {
  color: #1b1235;
  background: #efb85c;
}

.profile-editor__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 32px;
  color: rgba(248, 240, 255, 0.56);
  font-size: 14px;
}

.profile-editor__breadcrumb-link {
  color: rgba(248, 240, 255, 0.64);
  text-decoration: none;
  transition: color 0.2s ease;
}

.profile-editor__breadcrumb-link:hover {
  color: #efb85c;
}

.profile-editor__breadcrumb-separator {
  color: rgba(239, 184, 92, 0.65);
}

.profile-editor__breadcrumb-current {
  color: rgba(248, 240, 255, 0.82);
}

.profile-editor__hero {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 42px;
  align-items: start;
}

.profile-editor__media {
  display: grid;
  gap: 18px;
}

.profile-editor__main-photo {
  overflow: hidden;
  aspect-ratio: 0.86 / 1;
  border: 1px solid rgba(239, 184, 92, 0.42);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(239, 184, 92, 0.18), rgba(255, 99, 167, 0.16)),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.26);
}

.profile-editor__main-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-editor__photo-button,
.profile-editor__edit-button,
.profile-editor__save-order,
.profile-editor__cancel-order,
.profile-editor__slot-button,
.profile-editor__upload-slot {
  cursor: pointer;
}

.profile-editor__photo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid rgba(239, 184, 92, 0.56);
  border-radius: 14px;
  color: #efb85c;
  background: rgba(255, 255, 255, 0.04);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.profile-editor__photo-button:hover {
  color: #1b1235;
  background: #efb85c;
}

.profile-editor__hint {
  margin: 0;
  color: rgba(248, 240, 255, 0.58);
  font-size: 14px;
  line-height: 1.5;
}

.profile-editor__summary {
  min-width: 0;
  padding-top: 8px;
}

.profile-editor__section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.profile-editor__section-header--compact {
  align-items: center;
  margin-bottom: 20px;
}

.profile-editor__summary-title {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 0;
  color: #fff7ff;

  font-size: clamp(40px, 4vw, 58px);
  line-height: 1.05;
  font-weight: 500;
}

.profile-editor__verified {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #1b1235;
  background: #efb85c;

  font-size: 18px;
  font-weight: 700;
}

.profile-editor__edit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 20px;
  border: 1px solid rgba(239, 184, 92, 0.55);
  border-radius: 999px;
  color: #efb85c;
  background: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.profile-editor__edit-button:hover {
  color: #1b1235;
  background: #efb85c;
}

.profile-editor__location {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 14px 0 28px;
  color: rgba(248, 240, 255, 0.78);
  font-size: 16px;
}

.profile-editor__location-icon {
  color: #efb85c;
}

.profile-editor__goal {
  display: grid;
  gap: 10px;
  margin-bottom: 32px;
}

.profile-editor__goal-label {
  color: rgba(248, 240, 255, 0.7);
  font-size: 15px;
}

.profile-editor__goal-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  min-height: 52px;
  padding: 12px 28px;
  border: 1px solid rgba(239, 184, 92, 0.55);
  border-radius: 999px;
  color: #fff7ff;
  background: rgba(255, 255, 255, 0.04);

  font-size: 22px;
}

.profile-editor__goal-icon {
  color: #efb85c;
  font-size: 26px;
}

.profile-editor__quote {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  margin: 0 0 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(239, 184, 92, 0.16);
}

.profile-editor__quote-text {
  max-width: 520px;
  margin: 0;
  color: rgba(248, 240, 255, 0.86);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.45;
}

.profile-editor__quote-mark {
  color: #efb85c;

  font-size: 52px;
  line-height: 1;
}

.profile-editor__interests {
  display: grid;
  gap: 16px;
}

.profile-editor__section-title {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0;
  color: #fff7ff;

  font-size: 26px;
  line-height: 1.2;
  font-weight: 500;
}

.profile-editor__section-icon {
  color: #efb85c;

}

.profile-editor__tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-editor__tag {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 20px;
  border: 1px solid rgba(239, 184, 92, 0.44);
  border-radius: 999px;
  color: rgba(248, 240, 255, 0.88);
  background: rgba(255, 255, 255, 0.035);
  font-size: 15px;
}

.profile-editor__add-interest {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 8px 0;
  border: 0;
  color: rgba(239, 184, 92, 0.92);
  background: transparent;
  font-size: 15px;
}

.profile-editor__add-interest span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(239, 184, 92, 0.45);
  border-radius: 50%;
}

.profile-editor__gallery {
  margin-top: 34px;
  padding: 28px;
  border: 1px solid rgba(239, 184, 92, 0.22);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
}

.profile-editor__order-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.profile-editor__save-order,
.profile-editor__cancel-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 20px;
  border-radius: 999px;
  white-space: nowrap;
}

.profile-editor__save-order {
  border: 0;
  color: #1b1235;
  background: linear-gradient(135deg, #ffd36e 0%, #efb85c 48%, #ff8fb9 100%);
}

.profile-editor__cancel-order {
  border: 1px solid rgba(248, 240, 255, 0.22);
  color: rgba(248, 240, 255, 0.86);
  background: rgba(255, 255, 255, 0.035);
}

.profile-editor__gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
  margin-top: 24px;
}

.profile-editor__gallery-slot {
  position: relative;
  min-width: 0;
}

.profile-editor__gallery-slot--filled {
  display: grid;
  gap: 10px;
}

.profile-editor__gallery-image {
  display: block;
  width: 100%;
  aspect-ratio: 1.16 / 1;
  object-fit: cover;
  border: 1px solid rgba(239, 184, 92, 0.28);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.profile-editor__drag-handle {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(248, 240, 255, 0.18);
  border-radius: 8px;
  color: rgba(248, 240, 255, 0.88);
  background: rgba(12, 10, 36, 0.74);
  cursor: grab;
}

.profile-editor__slot-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.profile-editor__slot-button {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(239, 184, 92, 0.28);
  border-radius: 8px;
  color: rgba(248, 240, 255, 0.88);
  background: rgba(255, 255, 255, 0.035);
  font-size: 13px;
}

.profile-editor__slot-button--danger {
  color: #ff9daf;
  border-color: rgba(255, 123, 148, 0.38);
}

.profile-editor__gallery-slot--empty {
  min-height: 100%;
}

.profile-editor__upload-slot {
  display: grid;
  place-items: center;
  gap: 10px;
  width: 100%;
  min-height: 100%;
  aspect-ratio: 1.16 / 1.32;
  padding: 20px 12px;
  border: 1px dashed rgba(239, 184, 92, 0.42);
  border-radius: 14px;
  color: #efb85c;
  background: rgba(255, 255, 255, 0.025);
  text-align: center;
}

.profile-editor__upload-icon {
  font-size: 30px;
  line-height: 1;
}

.profile-editor__details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.profile-editor__card {
  padding: 28px;
  border: 1px solid rgba(239, 184, 92, 0.22);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
}

.profile-editor__text {
  margin: 22px 0 0;
  color: rgba(248, 240, 255, 0.82);
  font-size: 18px;
  line-height: 1.8;
}

.profile-editor__counter {
  margin: 18px 0 0;
  color: rgba(248, 240, 255, 0.5);
  font-size: 13px;
  text-align: right;
}

.profile-editor__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
}

.profile-editor__moderation {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0;
  color: rgba(239, 184, 92, 0.82);
  font-size: 16px;
}

.profile-editor__moderation-icon {
  color: #efb85c;
}

.profile-editor__moderation-check {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #0f2116;
  background: #7be495;
  font-size: 14px;
  font-weight: 700;
}

.profile-editor__footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.profile-editor__footer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 28px;
  border-radius: 14px;
  font-size: 15px;
  cursor: pointer;
}

.profile-editor__footer-button--secondary {
  border: 1px solid rgba(248, 240, 255, 0.22);
  color: rgba(248, 240, 255, 0.86);
  background: rgba(255, 255, 255, 0.035);
}

.profile-editor__footer-button--primary {
  border: 0;
  color: #1b1235;
  background: linear-gradient(135deg, #ffd36e 0%, #efb85c 48%, #ff8fb9 100%);
}

.profile-editor-main-form[hidden] {
  display: none;
}

.profile-editor-main-form {
  margin: -8px 0 34px;
  padding: 22px;
  border: 1px solid rgba(239, 184, 92, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.profile-editor-main-form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.profile-editor-main-form__field {
  display: grid;
  gap: 8px;
}

.profile-editor-main-form__field--full {
  grid-column: 1 / -1;
}

.profile-editor-main-form__label {
  color: rgba(248, 240, 255, 0.68);
  font-size: 14px;
}

.profile-editor-main-form__input,
.profile-editor-main-form__textarea {
  width: 100%;
  border: 1px solid rgba(239, 184, 92, 0.24);
  border-radius: 12px;
  color: #fff7ff;
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  outline: none;
}

.profile-editor-main-form__input {
  min-height: 44px;
  padding: 10px 14px;
}

.profile-editor-main-form__textarea {
  min-height: 96px;
  padding: 12px 14px;
  resize: vertical;
}

.profile-editor-main-form__input:focus,
.profile-editor-main-form__textarea:focus {
  border-color: rgba(239, 184, 92, 0.72);
}

.profile-editor-main-form__counter {
  justify-self: end;
  color: rgba(248, 240, 255, 0.52);
  font-size: 13px;
}

.profile-editor-main-form__message {
  min-height: 20px;
  margin: 14px 0 0;
  color: #7be495;
  font-size: 14px;
}

.profile-editor-main-form__message--error {
  color: #ff9daf;
}

.profile-editor-main-form__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}

.profile-editor-main-form__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
}

.profile-editor-main-form__button--secondary {
  border: 1px solid rgba(248, 240, 255, 0.22);
  color: rgba(248, 240, 255, 0.86);
  background: rgba(255, 255, 255, 0.035);
}

.profile-editor-main-form__button--primary {
  border: 0;
  color: #1b1235;
  background: linear-gradient(135deg, #ffd36e 0%, #efb85c 48%, #ff8fb9 100%);
}

.profile-editor-main-form__button[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

.profile-editor-text-form[hidden] {
  display: none;
}

.profile-editor-text-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.profile-editor-text-form__textarea {
  width: 100%;
  min-height: 150px;
  padding: 14px 16px;
  border: 1px solid rgba(239, 184, 92, 0.24);
  border-radius: 14px;
  color: #fff7ff;
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  line-height: 1.7;
  resize: vertical;
  outline: none;
}

.profile-editor-text-form__textarea:focus {
  border-color: rgba(239, 184, 92, 0.72);
}

.profile-editor-text-form__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.profile-editor-text-form__message {
  min-height: 20px;
  margin: 0;
  color: #7be495;
  font-size: 14px;
}

.profile-editor-text-form__message--error {
  color: #ff9daf;
}

.profile-editor-text-form__counter {
  flex: 0 0 auto;
  color: rgba(248, 240, 255, 0.5);
  font-size: 13px;
}

.profile-editor-text-form__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.profile-editor-text-form__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 22px;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
}

.profile-editor-text-form__button--secondary {
  border: 1px solid rgba(248, 240, 255, 0.22);
  color: rgba(248, 240, 255, 0.86);
  background: rgba(255, 255, 255, 0.035);
}

.profile-editor-text-form__button--primary {
  border: 0;
  color: #1b1235;
  background: linear-gradient(135deg, #ffd36e 0%, #efb85c 48%, #ff8fb9 100%);
}

.profile-editor-text-form__button[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

.profile-editor-interests-form[hidden] {
  display: none;
}

.profile-editor-interests-form {
  display: grid;
  gap: 18px;
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(239, 184, 92, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.profile-editor-interests-form__fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.profile-editor-interests-form__legend {
  display: block;
  margin-bottom: 12px;
  color: rgba(248, 240, 255, 0.72);
  font-size: 14px;
}

.profile-editor-interests-form__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.profile-editor-interests-form__chip {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.profile-editor-interests-form__checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.profile-editor-interests-form__chip-text {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 18px;
  border: 1px solid rgba(239, 184, 92, 0.36);
  border-radius: 999px;
  color: rgba(248, 240, 255, 0.84);
  background: rgba(255, 255, 255, 0.035);
  font-size: 15px;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.profile-editor-interests-form__checkbox:checked+.profile-editor-interests-form__chip-text {
  color: #1b1235;
  border-color: transparent;
  background: linear-gradient(135deg, #ffd36e 0%, #efb85c 48%, #ff8fb9 100%);
}

.profile-editor-interests-form__custom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
}

.profile-editor-interests-form__custom-field {
  display: grid;
  gap: 8px;
}

.profile-editor-interests-form__input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(239, 184, 92, 0.24);
  border-radius: 12px;
  color: #fff7ff;
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  outline: none;
}

.profile-editor-interests-form__input:focus {
  border-color: rgba(239, 184, 92, 0.72);
}

.profile-editor-interests-form__add-button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(239, 184, 92, 0.45);
  border-radius: 999px;
  color: #efb85c;
  background: rgba(255, 255, 255, 0.035);
  font: inherit;
  cursor: pointer;
}

.profile-editor-interests-form__message {
  min-height: 20px;
  margin: 0;
  color: #7be495;
  font-size: 14px;
}

.profile-editor-interests-form__message--error {
  color: #ff9daf;
}

.profile-editor-interests-form__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.profile-editor-interests-form__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 22px;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
}

.profile-editor-interests-form__button--secondary {
  border: 1px solid rgba(248, 240, 255, 0.22);
  color: rgba(248, 240, 255, 0.86);
  background: rgba(255, 255, 255, 0.035);
}

.profile-editor-interests-form__button--primary {
  border: 0;
  color: #1b1235;
  background: linear-gradient(135deg, #ffd36e 0%, #efb85c 48%, #ff8fb9 100%);
}

.profile-editor-interests-form__button[disabled],
.profile-editor-interests-form__add-button[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

.profile-editor__photo-message {
  min-height: 20px;
  margin: 0;
  color: #7be495;
  font-size: 14px;
  line-height: 1.4;
}

.profile-editor__photo-message--error {
  color: #ff9daf;
}

.profile-editor__photo-button.is-loading {
  opacity: 0.68;
  cursor: not-allowed;
  pointer-events: none;
}

.profile-editor__main-photo.is-loading {
  position: relative;
}

.profile-editor__main-photo.is-loading::after {
  content: "Загрузка...";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff7ff;
  background: rgba(12, 10, 36, 0.58);
  font-size: 18px;
}

.profile-editor-gallery-message {
  min-height: 20px;
  margin: 18px 0 0;
  color: #7be495;
  font-size: 14px;
}

.profile-editor-gallery-message--error {
  color: #ff9daf;
}

.profile-editor__gallery-slot.is-loading {
  pointer-events: none;
  opacity: 0.72;
}

.profile-editor__gallery-slot.is-loading::after {
  content: "Загрузка...";
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff7ff;
  background: rgba(12, 10, 36, 0.64);
  font-size: 15px;
}

.profile-editor__gallery-slot--empty.is-loading::after {
  border: 1px dashed rgba(239, 184, 92, 0.42);
}

.profile-editor__gallery:not(.is-order-mode) .profile-editor__drag-handle {
  display: none;
}

.profile-editor__gallery.is-order-mode .profile-editor__gallery-slot--filled {
  cursor: grab;
}

.profile-editor__gallery.is-order-mode .profile-editor__gallery-slot--filled:active {
  cursor: grabbing;
}

.profile-editor__gallery-slot.is-dragging {
  opacity: 0.45;
  transform: scale(0.98);
}

.profile-editor__gallery.is-order-mode .profile-editor__slot-actions,
.profile-editor__gallery.is-order-mode .profile-editor__upload-slot {
  pointer-events: none;
  opacity: 0.45;
}

.profile-editor__gallery.is-order-mode .profile-editor__drag-handle {
  display: grid;
}

/* ==================================================
   Поиск анкет
   Файл: find-match.php
================================================== */

.match-page {
  min-height: 100vh;
  padding: 48px 0 72px;
  color: #f8f0ff;
  background:
    radial-gradient(circle at 76% 8%, rgba(255, 121, 188, 0.24), transparent 28%),
    radial-gradient(circle at 18% 5%, rgba(239, 184, 92, 0.12), transparent 26%),
    linear-gradient(135deg, #070b24 0%, #160f3b 46%, #080b25 100%);
}

.match-search {
  width: 100%;
}

.match-search__container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.match-search__hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1fr);
  gap: 40px;
  align-items: center;
  min-height: 260px;
  margin-bottom: 34px;
}

.match-search__hero-content {
  position: relative;
  z-index: 2;
}

.match-search__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 42px;
  color: rgba(248, 240, 255, 0.56);
  font-size: 14px;
}

.match-search__breadcrumb-link {
  color: rgba(248, 240, 255, 0.64);
  text-decoration: none;
  transition: color 0.2s ease;
}

.match-search__breadcrumb-link:hover {
  color: #efb85c;
}

.match-search__breadcrumb-separator {
  color: rgba(239, 184, 92, 0.65);
}

.match-search__breadcrumb-current {
  color: rgba(248, 240, 255, 0.82);
}

.match-search__eyebrow {
  position: relative;
  display: inline-block;
  margin: 0 0 16px;
  color: #efb85c;
  font-size: 14px;
}

.match-search__eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 42px;
  height: 1px;
  background: rgba(239, 184, 92, 0.72);
}

.match-search__title {
  max-width: 620px;
  margin: 0;
  color: #fff7ff;

  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.05;
  font-weight: 500;
}

.match-search__title span {
  color: #ff8fb9;
}

.match-search__description {
  max-width: 520px;
  margin: 22px 0 0;
  color: rgba(248, 240, 255, 0.78);
  font-size: 18px;
  line-height: 1.7;
}

.match-search__hero-visual {
  position: relative;
  min-height: 240px;
  border-radius: 34px;
  background:
    linear-gradient(90deg, rgba(7, 11, 36, 0.18), rgba(7, 11, 36, 0.02)),
    url("./img/pics/search-hero.jpg") center / cover no-repeat;
  overflow: hidden;
}

.match-search__hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 52% 35%, rgba(255, 143, 185, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(7, 11, 36, 0.1), rgba(7, 11, 36, 0.58));
}

/*
.match-search__heart-glow {
  position: absolute;
  left: 46%;
  top: 20%;
  width: 180px;
  height: 150px;
  border: 2px solid rgba(255, 143, 185, 0.78);
  border-radius: 50% 50% 42% 42%;
  filter: drop-shadow(0 0 24px rgba(255, 143, 185, 0.56));
  transform: rotate(-4deg);
}
  */

.match-search__panel {
  margin-bottom: 36px;
  padding: 30px;
  border: 1px solid rgba(239, 184, 92, 0.35);
  border-radius: 26px;
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 121, 188, 0.1), transparent 22%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(17, 13, 50, 0.82);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(16px);
}

.match-search__panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.match-search__panel-title,
.match-search__results-title {
  margin: 0;
  color: #fff7ff;

  font-size: 28px;
  line-height: 1.2;
  font-weight: 500;
}

.match-search__results-title span {
  color: #efb85c;
}

.match-search__reset {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  color: #ff8fb9;
  background: transparent;
  cursor: pointer;
}

.match-filter__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: end;
}

.match-filter__field {
  display: grid;
  gap: 9px;
}

.match-filter__field--wide {
  grid-column: span 2;
}

.match-filter__label {
  color: rgba(248, 240, 255, 0.74);
  font-size: 14px;
}

.match-filter__control,
.match-search__sort-control {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid rgba(239, 184, 92, 0.28);
  border-radius: 10px;
  color: #fff7ff;
  background-color: rgba(255, 255, 255, 0.045);
  outline: none;
}

.match-filter__control:focus,
.match-search__sort-control:focus {
  border-color: rgba(239, 184, 92, 0.72);
}

.match-filter__checkbox {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  color: rgba(248, 240, 255, 0.82);
  cursor: pointer;
}

.match-filter__checkbox-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.match-filter__checkbox-box {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(239, 184, 92, 0.34);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

.match-filter__checkbox-input:checked+.match-filter__checkbox-box::after {
  content: "✓";
  color: #efb85c;
  font-size: 16px;
}

.match-filter__submit {
  min-height: 56px;
  padding: 12px 26px;
  border: 0;
  border-radius: 14px;
  color: #1b1235;
  background: linear-gradient(135deg, #ffd36e 0%, #efb85c 48%, #ff8fb9 100%);
  box-shadow: 0 18px 36px rgba(239, 184, 92, 0.18);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.match-filter__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 46px rgba(239, 184, 92, 0.26);
}

.match-search__results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.match-search__sort {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.match-search__sort-label {
  color: rgba(248, 240, 255, 0.72);
  font-size: 14px;
}

.match-search__sort-control {
  min-width: 220px;
}

.match-search__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.match-card {
  overflow: hidden;
  border: 1px solid rgba(239, 184, 92, 0.28);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03)),
    rgba(17, 13, 50, 0.76);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.match-card:hover {
  transform: translateY(-3px);
  border-color: rgba(239, 184, 92, 0.55);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.28);
}

.match-card__photo-link {
  position: relative;
  display: block;
  aspect-ratio: 1.45 / 1;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.match-card__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.match-card:hover .match-card__photo {
  transform: scale(1.04);
}

.match-card__age {
  position: absolute;
  top: 12px;
  left: 12px;
  min-width: 42px;
  padding: 6px 10px;
  border-radius: 8px;
  color: #1b1235;
  background: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  text-align: center;
}

.match-card__favorite {
  position: absolute;
  top: 12px;
  right: 14px;
  color: #fff7ff;
  font-size: 30px;
  line-height: 1;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.42);
}

.match-card__favorite--active {
  color: #ff8fb9;
}

.match-card__content {
  padding: 18px 16px 16px;
}

.match-card__title {
  margin: 0 0 9px;
  color: #fff7ff;

  font-size: 22px;
  line-height: 1.2;
  font-weight: 500;
}

.match-card__title a {
  color: inherit;
  text-decoration: none;
}

.match-card__title a:hover {
  color: #efb85c;
}

.match-card__location,
.match-card__goal {
  margin: 0;
  color: rgba(248, 240, 255, 0.72);
  font-size: 14px;
  line-height: 1.45;
}

.match-card__location span {
  color: #ff8fb9;
}

.match-card__goal {
  margin-top: 7px;
}

.match-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0 16px;
  padding: 0;
  list-style: none;
}

.match-card__tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 10px;
  border: 1px solid rgba(239, 184, 92, 0.18);
  border-radius: 999px;
  color: rgba(248, 240, 255, 0.8);
  background: rgba(255, 143, 185, 0.1);
  font-size: 12px;
}

.match-card__button {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(239, 184, 92, 0.42);
  border-radius: 10px;
  color: #efb85c;
  background: rgba(255, 255, 255, 0.025);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.match-card__button:hover {
  color: #1b1235;
  background: #efb85c;
}

.match-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 42px;
}

.match-pagination__button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(239, 184, 92, 0.34);
  border-radius: 10px;
  color: #fff7ff;
  background: rgba(255, 255, 255, 0.035);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.match-pagination__button:hover,
.match-pagination__button--active {
  color: #1b1235;
  background: linear-gradient(135deg, #ffd36e 0%, #efb85c 48%, #ff8fb9 100%);
}

.match-search__count-note {
  margin: 22px 0 0;
  color: rgba(248, 240, 255, 0.58);
  text-align: center;
  font-size: 14px;
}

.match-search__empty {
  padding: 38px;
  border: 1px solid rgba(239, 184, 92, 0.28);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
  text-align: center;
}

.match-search__empty-title {
  margin: 0 0 12px;
  color: #fff7ff;

  font-size: 28px;
  font-weight: 500;
}

.match-search__empty-text {
  margin: 0;
  color: rgba(248, 240, 255, 0.72);
  font-size: 16px;
  line-height: 1.6;
}

.match-search__empty--large {
  width: min(760px, 100%);
  margin: 80px auto;
  padding: 46px;
}

.match-search__empty-button {
  width: fit-content;
  min-width: 220px;
  margin: 28px auto 0;
}

.match-search__panel select option,
.match-search__sort-control option {
  color: #fff7ff;
  background-color: #241b46;
}

.match-card {
  display: flex;
  flex-direction: column;
}

.match-card__photo-link {
  flex: 0 0 auto;
}

.match-card__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.match-card__button {
  margin-top: auto;
}

.match-card__tags {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  max-width: 100%;
  margin: 14px 0 16px;
  padding: 0 28px 0 0;
  overflow-x: hidden;
  overflow-y: hidden;
  white-space: nowrap;
}

.match-card__tags::after {
  content: "...";
  position: absolute;
  right: 0;
  top: 50%;
  width: 28px;
  color: rgba(248, 240, 255, 0.72);
  background: linear-gradient(90deg,
      rgba(31, 22, 67, 0),
      rgba(31, 22, 67, 0.96) 45%,
      rgba(31, 22, 67, 1));
  font-weight: 700;
  text-align: right;
  transform: translateY(-50%);
  pointer-events: none;
}

.match-card__tag {
  flex: 0 0 auto;
}

/* ==================================================
   Сообщения и чат
   Файл: messages.php
================================================== */

.messages-page {
  min-height: 100vh;
  padding: 72px 0;
  color: #f8f0ff;
  background:
    radial-gradient(circle at 76% 12%, rgba(255, 121, 188, 0.24), transparent 30%),
    radial-gradient(circle at 18% 6%, rgba(239, 184, 92, 0.14), transparent 26%),
    linear-gradient(135deg, #070b24 0%, #160f3b 46%, #080b25 100%);
}

.messages__container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.messages__header {
  margin-bottom: 30px;
}

.messages__eyebrow {
  position: relative;
  display: inline-block;
  margin: 0 0 14px;
  color: #efb85c;
  font-size: 14px;
}

.messages__eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 42px;
  height: 1px;
  background: rgba(239, 184, 92, 0.72);
}

.messages__title {
  margin: 0;
  color: #fff7ff;

  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.05;
  font-weight: 500;
}

.messages__description {
  max-width: 560px;
  margin: 16px 0 0;
  color: rgba(248, 240, 255, 0.72);
  font-size: 17px;
  line-height: 1.6;
}

.messages__layout {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 24px;
  min-height: 620px;
}

.messages__sidebar,
.messages__chat {
  border: 1px solid rgba(239, 184, 92, 0.28);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(17, 13, 50, 0.82);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(16px);
}

.messages__sidebar {
  padding: 20px;
}

.messages__sidebar-title {
  margin: 0 0 18px;
  color: #fff7ff;

  font-size: 26px;
  font-weight: 500;
}

.messages__dialog-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.messages__dialog-link {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.messages__dialog-link:hover,
.messages__dialog-link--active {
  border-color: rgba(239, 184, 92, 0.36);
  background: rgba(255, 255, 255, 0.055);
}

.messages__dialog-avatar {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(239, 184, 92, 0.32);
  border-radius: 50%;
  object-fit: cover;
}

.messages__dialog-info {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.messages__dialog-name {
  overflow: hidden;
  color: #fff7ff;
  font-size: 15px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.messages__dialog-date {
  color: rgba(248, 240, 255, 0.52);
  font-size: 12px;
}

.messages__chat {
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.messages__chat-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(239, 184, 92, 0.18);
}

.messages__chat-kicker {
  margin: 0 0 4px;
  color: #efb85c;
  font-size: 13px;
}

.messages__chat-title {
  margin: 0;
  color: #fff7ff;

  font-size: 28px;
  font-weight: 500;
}

.messages__profile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 18px;
  border: 1px solid rgba(239, 184, 92, 0.45);
  border-radius: 999px;
  color: #efb85c;
  text-decoration: none;
}

.messages__chat-body {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 360px;
  max-height: 560px;
  padding: 24px;
  overflow-y: auto;
}

.messages__bubble {
  max-width: min(560px, 82%);
  padding: 14px 16px;
  border-radius: 18px;
}

.messages__bubble--own {
  justify-self: end;
  border: 1px solid rgba(239, 184, 92, 0.32);
  background: linear-gradient(135deg, rgba(255, 211, 110, 0.18), rgba(255, 143, 185, 0.14));
}

.messages__bubble--partner {
  justify-self: start;
  border: 1px solid rgba(248, 240, 255, 0.14);
  background: rgba(255, 255, 255, 0.055);
}

.messages__bubble-text {
  margin: 0;
  color: rgba(248, 240, 255, 0.9);
  font-size: 15px;
  line-height: 1.55;
}

.messages__bubble-time {
  display: block;
  margin-top: 8px;
  color: rgba(248, 240, 255, 0.48);
  font-size: 12px;
  text-align: right;
}

.messages__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 18px 24px 22px;
  border-top: 1px solid rgba(239, 184, 92, 0.18);
}

.messages__textarea {
  width: 100%;
  min-height: 54px;
  max-height: 160px;
  padding: 13px 15px;
  border: 1px solid rgba(239, 184, 92, 0.28);
  border-radius: 14px;
  color: #fff7ff;
  background: rgba(255, 255, 255, 0.055);
  resize: vertical;
  outline: none;
}

.messages__textarea:focus {
  border-color: rgba(239, 184, 92, 0.72);
}

.messages__submit {
  align-self: end;
  min-height: 54px;
  padding: 12px 26px;
  border: 0;
  border-radius: 14px;
  color: #1b1235;
  background: linear-gradient(135deg, #ffd36e 0%, #efb85c 48%, #ff8fb9 100%);
  font-weight: 700;
  cursor: pointer;
}

.messages__empty-state {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 520px;
  padding: 32px;
  text-align: center;
}

.messages__empty-title {
  margin: 0 0 12px;
  color: #fff7ff;

  font-size: 32px;
  font-weight: 500;
}

.messages__empty-text {
  margin: 0;
  color: rgba(248, 240, 255, 0.66);
  font-size: 15px;
  line-height: 1.6;
}

.messages__form-message {
  grid-column: 1 / -1;
  min-height: 20px;
  margin: 0;
  color: #7be495;
  font-size: 14px;
}

.messages__form-message--error {
  color: #ff9daf;
}

.messages__submit[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

.messages__dialog-link--unread {
  border-color: rgba(239, 184, 92, 0.52);
  background: rgba(239, 184, 92, 0.08);
}

.messages__dialog-link--unread .messages__dialog-name {
  color: #efb85c;
}

.messages__dialog-unread {
  display: inline-flex;
  width: fit-content;
  min-height: 22px;
  padding: 3px 9px;
  border-radius: 999px;
  color: #1b1235;
  background: linear-gradient(135deg, #ffd36e 0%, #efb85c 48%, #ff8fb9 100%);
  font-size: 12px;
  font-weight: 700;
}

.messages__tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 18px;
}

.messages__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(239, 184, 92, 0.32);
  border-radius: 999px;
  color: rgba(248, 240, 255, 0.72);
  text-decoration: none;
  font-size: 13px;
}

.messages__tab:hover,
.messages__tab--active {
  color: #1b1235;
  background: linear-gradient(135deg, #ffd36e 0%, #efb85c 48%, #ff8fb9 100%);
  border-color: transparent;
}

.messages__dialog-item {
  display: grid;
  gap: 8px;
}

.messages__dialog-action {
  justify-self: end;
  min-height: 30px;
  padding: 5px 12px;
  border: 1px solid rgba(239, 184, 92, 0.28);
  border-radius: 999px;
  color: #efb85c;
  background: rgba(255, 255, 255, 0.035);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.messages__dialog-action:hover {
  color: #1b1235;
  background: #efb85c;
}

.messages__dialog-action[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

.messages__dialog-empty {
  padding: 14px 10px;
  color: rgba(248, 240, 255, 0.62);
  font-size: 14px;
  line-height: 1.5;
}

.messages__dialog-action {
  position: relative;
  z-index: 2;
}

.messages__dialog-preview {
  overflow: hidden;
  max-width: 100%;
  color: rgba(248, 240, 255, 0.66);
  font-size: 13px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.messages__dialog-preview--empty {
  color: rgba(248, 240, 255, 0.42);
  font-style: italic;
}

.messages__dialog-link--unread .messages__dialog-preview {
  color: rgba(255, 247, 255, 0.88);
  font-weight: 700;
}

.messages__header-main {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.messages__current-user {
  display: grid;
  gap: 4px;
  min-width: 180px;
  padding: 12px 16px;
  border: 1px solid rgba(239, 184, 92, 0.26);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  text-align: right;
}

.messages__current-user-label {
  color: rgba(248, 240, 255, 0.52);
  font-size: 12px;
}

.messages__current-user-name {
  color: #efb85c;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.messages__current-user-name:hover {
  color: #ff8fb9;
}

.messages__back-link {
  display: none;
}

.messages__dialogs-toggle,
.messages__dialogs-overlay {
  display: none;
}

.messages__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.messages__profile-exit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-left: auto;
  padding: 8px 14px;
  border: 1px solid rgba(239, 184, 92, 0.36);
  border-radius: 999px;
  color: #efb85c;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.messages__profile-exit:hover {
  color: #1b1235;
  background: #efb85c;
}

.messages__dialogs-toggle-icon {
  line-height: 1;
}

.messages__dialogs-toggle-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 2px 6px;
  border: 2px solid #080b25;
  border-radius: 999px;
  color: #1b1235;
  background: #fff7ff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.messages__dialogs-toggle-badge[hidden] {
  display: none;
}

.messages__bubble-meta {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}

.messages__bubble-time {
  margin-top: 0;
}

.messages__bubble-edited {
  color: rgba(248, 240, 255, 0.42);
  font-size: 12px;
}

.messages__bubble-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}

.messages__bubble-action {
  padding: 0;
  border: 0;
  color: rgba(239, 184, 92, 0.86);
  background: transparent;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.messages__bubble-action:hover {
  color: #ffd36e;
}

.messages__bubble-action--delete {
  color: #ff9daf;
}

.messages__bubble--deleted {
  opacity: 0.72;
}

.messages__bubble--deleted .messages__bubble-text {
  color: rgba(248, 240, 255, 0.48);
  font-style: italic;
}

.messages__bubble--long-pressing {
  --press-glow-size: 0px;
  --press-glow-opacity: 0;

  box-shadow:
    0 0 0 var(--press-glow-size) rgba(239, 184, 92, var(--press-glow-opacity)),
    0 0 14px rgba(239, 184, 92, calc(var(--press-glow-opacity) * 0.55));
  transition: box-shadow 0.08s linear;

}

.messages-action-sheet__overlay[hidden],
.messages-action-sheet[hidden] {
  display: none;
}

.messages-action-sheet__overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 7, 24, 0.62);
}

.messages-action-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 210;
  padding: 16px;
}

.messages-action-sheet__panel {
  display: grid;
  gap: 10px;
  width: min(420px, 100%);
  margin: 0 auto;
  padding: 12px;
  border: 1px solid rgba(239, 184, 92, 0.28);
  border-radius: 22px;

  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    rgba(17, 13, 50, 0.98);
  box-shadow: 0 -18px 60px rgba(0, 0, 0, 0.36);

}

.messages-action-sheet__button {
  min-height: 50px;
  border: 1px solid rgba(239, 184, 92, 0.28);
  border-radius: 14px;
  color: #fff7ff;
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  font-weight: 700;
}

.messages-action-sheet__button--danger {
  color: #ff9daf;
  border-color: rgba(255, 157, 175, 0.34);
}

.messages-action-sheet__button--cancel {
  color: #1b1235;
  background: linear-gradient(135deg, #ffd36e 0%, #efb85c 48%, #ff8fb9 100%);
}

/* admin contacts */
.account-support-form {
  margin: 0;
}

.account-support-form__button {
  width: 100%;
  font: inherit;
  cursor: pointer;
}

.messages__support-notice {
  margin: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(239, 184, 92, 0.28);
  border-radius: 14px;
  color: rgba(248, 240, 255, 0.84);
  background: rgba(239, 184, 92, 0.08);
  font-size: 14px;
  line-height: 1.5;
}

.messages__block-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 18px;
  border: 1px solid rgba(239, 184, 92, 0.72);
  border-radius: 999px;
  color: #ffc861;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.messages__block-button :hover,
.messages__block-button :focus-visible {
  color: #1b1235;
  border-color: #ffc861;
  background: linear-gradient(135deg, #ffd36b, #ff8fab);
  box-shadow: 0 10px 24px rgba(255, 143, 171, 0.22);
  outline: none;
  transform: translateY(-1px);
}

.messages__user-block-button:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

/* Static content pages — page-lovestory.php */

.lovestory-page {
  min-height: 100vh;
  color: #fff7ff;
  background:
    radial-gradient(circle at top right, rgba(255, 143, 171, 0.22), transparent 34%),
    radial-gradient(circle at top left, rgba(255, 200, 97, 0.12), transparent 28%),
    linear-gradient(180deg, #100a2d 0%, #160b33 48%, #070d2c 100%);
}

.lovestory-content {
  padding: 92px 20px 96px;
}

.lovestory-content__container {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.lovestory-content__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
  color: rgba(248, 240, 255, 0.62);
  font-size: 14px;
}

.lovestory-content__breadcrumb-link {
  color: rgba(255, 200, 97, 0.9);
  text-decoration: none;
}

.lovestory-content__breadcrumb-link:hover,
.lovestory-content__breadcrumb-link:focus-visible {
  color: #ffc861;
  text-decoration: underline;
}

.lovestory-content__breadcrumb-separator {
  color: rgba(248, 240, 255, 0.38);
}

.lovestory-content__breadcrumb-current {
  color: rgba(248, 240, 255, 0.72);
}

.lovestory-content__header {
  max-width: 760px;
  margin-bottom: 34px;
}

.lovestory-content__eyebrow {
  display: inline-flex;
  margin: 0 0 10px;
  color: #ffc861;
  font-size: 14px;
  font-weight: 700;
}

.lovestory-content__eyebrow::after {
  content: "";
  width: 48px;
  height: 1px;
  margin: auto 0 auto 10px;
  background: linear-gradient(90deg, #ffc861, transparent);
}

.lovestory-content__title {
  margin: 0;
  color: #fff7ff;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.lovestory-content__intro {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(248, 240, 255, 0.78);
  font-size: 19px;
  line-height: 1.75;
}

.lovestory-content__card {
  border: 1px solid rgba(239, 184, 92, 0.24);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.028)),
    rgba(20, 14, 50, 0.9);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.lovestory-content__body {
  display: grid;
  gap: 22px;
  padding: clamp(28px, 5vw, 56px);
  color: rgba(248, 240, 255, 0.82);
  font-size: 18px;
  line-height: 1.75;
}

.lovestory-content__body>* {
  margin-top: 0;
  margin-bottom: 0;
}

.lovestory-content__body h2,
.lovestory-content__body h3,
.lovestory-content__body h4 {
  color: #fff7ff;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.15;
}

.lovestory-content__body h2 {
  margin-top: 20px;
  font-size: clamp(28px, 4vw, 42px);
}

.lovestory-content__body h3 {
  margin-top: 14px;
  color: #ffc861;
  font-size: clamp(22px, 3vw, 28px);
}

.lovestory-content__body p {
  max-width: 880px;
}

.lovestory-content__body a {
  color: #ffc861;
  text-decoration: underline;
  text-decoration-color: rgba(255, 200, 97, 0.42);
  text-underline-offset: 4px;
}

.lovestory-content__body a:hover,
.lovestory-content__body a:focus-visible {
  color: #ff8fab;
  text-decoration-color: rgba(255, 143, 171, 0.7);
}

.lovestory-content__body ul,
.lovestory-content__body ol {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.lovestory-content__body li::marker {
  color: #ffc861;
}

.lovestory-content__body blockquote {
  margin: 10px 0;
  padding: 22px 24px;
  border-left: 3px solid #ffc861;
  border-radius: 18px;
  color: rgba(248, 240, 255, 0.86);
  background: rgba(255, 255, 255, 0.055);
}

.lovestory-content__body .wp-block-button__link {
  border-radius: 999px;
  color: #160b33;
  background: linear-gradient(135deg, #ffd36b, #ff8fab);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(255, 143, 171, 0.22);
}

.lovestory-content__body .wp-block-table {
  overflow-x: auto;
}

.lovestory-content__body table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
}

.lovestory-content__body th,
.lovestory-content__body td {
  padding: 14px 16px;
  border: 1px solid rgba(239, 184, 92, 0.18);
}

.lovestory-content__body th {
  color: #ffc861;
  background: rgba(255, 255, 255, 0.06);
}


/* About page — page-about.php */

/* About LoveStory page — page-about.php */

.about-page {
  min-width: 320px;
  min-height: 100vh;
  color: #fff7ff;
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 35, 138, 0.24), transparent 28%),
    radial-gradient(circle at 14% 42%, rgba(93, 33, 188, 0.38), transparent 32%),
    linear-gradient(180deg, #050022 0%, #090034 58%, #050022 100%);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
}

.about-page *,
.about-page *::before,
.about-page *::after {
  box-sizing: border-box;
}

.about-page a {
  color: inherit;
  text-decoration: none;
}

.about-page__container {
  width: min(1780px, calc(100% - 128px));
  margin: 0 auto;
}

.about-page__hero {
  position: relative;
  min-height: 355px;
  padding: 28px 0 38px;
  isolation: isolate;
  overflow: hidden;
}

.about-page__hero-background {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 36%;
  z-index: -1;
  /*
  background:
    radial-gradient(circle at 63% 40%, rgba(255, 171, 51, 0.85), transparent 7%),
    radial-gradient(circle at 68% 42%, rgba(255, 43, 128, 0.52), transparent 22%),
    linear-gradient(115deg, rgba(8, 0, 41, 0.38), transparent 26%),
    linear-gradient(180deg, rgba(77, 16, 120, 0.72), rgba(9, 0, 48, 0.5));
    */
    background: url("./img/pics/about-hero.jpg") center / contain no-repeat;
    -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    transparent 4%,
    rgba(0, 0, 0, 0.18) 12%,
    rgba(0, 0, 0, 0.55) 24%,
    rgba(0, 0, 0, 0.88) 38%,
    #000 52%,
    #000 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    transparent 4%,
    rgba(0, 0, 0, 0.18) 12%,
    rgba(0, 0, 0, 0.55) 24%,
    rgba(0, 0, 0, 0.88) 38%,
    #000 52%,
    #000 100%
  );
}

.about-page__hero-background::before {
  /*
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 58%, #12002f 0 2%, transparent 2.3%),
    linear-gradient(to top, rgba(3, 0, 22, 0.58), transparent 48%);
    */
    /*
     content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: 42%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #12063a 0%,
    rgba(18, 6, 58, 0.92) 18%,
    rgba(18, 6, 58, 0.62) 44%,
    rgba(18, 6, 58, 0.18) 62%,
    rgba(18, 6, 58, 0) 100%
  );
  */
}

.about-page__hero-background::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 24%;
  height: 100%;
  background:
    radial-gradient(circle at 70% 20%, #ff2d8a 0 4px, transparent 5px),
    linear-gradient(135deg, transparent 0 48%, rgba(35, 0, 44, 0.4) 49%),
    radial-gradient(ellipse at 90% 0, rgba(255, 61, 140, 0.8), transparent 36%);
  clip-path: polygon(34% 0, 100% 0, 100% 100%, 10% 100%, 20% 50%);
  opacity: 0.85;
}

.about-page__hero-heart {
  position: absolute;
  color: #ff477e;
  text-shadow: 0 0 18px #ff2d8a;
}

.about-page__hero-heart--big {
  top: 40px;
  left: 47%;
  color: transparent;
  -webkit-text-stroke: 7px #ffb64d;
  filter: drop-shadow(0 0 24px #ff356f);
  font-size: 180px;
  line-height: 1;
}

.about-page__hero-heart--one {
  top: 128px;
  left: 25%;
  font-size: 44px;
}

.about-page__hero-heart--two {
  top: 150px;
  left: 40%;
  font-size: 30px;
}

.about-page__hero-heart--three {
  top: 114px;
  left: 74%;
  font-size: 32px;
}

.about-page__breadcrumbs {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 42px;
  color: #ffd465;
  font-size: 18px;
}

.about-page__breadcrumb-link:hover,
.about-page__breadcrumb-link:focus-visible {
  color: #ff62b2;
  text-decoration: underline;
  text-underline-offset: 4px;
  outline: none;
}

.about-page__breadcrumb-separator {
  color: rgba(255, 247, 255, 0.45);
}

.about-page__breadcrumb-current {
  color: #ffd465;
}

.about-page__hero-content {
  max-width: 720px;
}

.about-page__eyebrow {
  display: inline-block;
  margin: 0 0 20px;
  color: #ffd465;
  font-size: 18px;
}

.about-page__eyebrow::after {
  content: "";
  display: block;
  width: 190px;
  height: 2px;
  margin-top: 14px;
  background: linear-gradient(90deg, #ffd465, #ff2f8b, transparent);
  box-shadow: 0 0 14px #ff2f8b;
}

.about-page__title {
  margin: 0 0 20px;
  color: #fff7ff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 7vw, 96px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.about-page__lead {
  max-width: 680px;
  margin: 0;
  color: #f1eaff;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.45;
}

.about-page__overview {
  padding: 0 0 54px;
}

.about-page__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1.42fr);
  gap: 38px;
  padding: 28px 54px 32px;
  border: 1px solid rgba(255, 195, 82, 0.68);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(25, 5, 73, 0.86), rgba(17, 2, 52, 0.88));
  box-shadow: inset 0 0 70px rgba(255, 47, 139, 0.08);
}

.about-page__left-column {
  min-width: 0;
  padding-right: 6px;
}

.about-page__benefits {
  min-width: 0;
  padding-left: 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.about-page__section-title {
  margin: 0 0 22px;
  color: #fff7ff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.1;
}

.about-page__section-title--line {
  display: flex;
  align-items: center;
  gap: 20px;
}

.about-page__section-title--line::after {
  content: "♡";
  flex: 1;
  min-width: 90px;
  height: 1px;
  color: #ffd465;
  background: linear-gradient(90deg, #ffd465, transparent);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 26px;
  line-height: 0;
  text-align: right;
}

.about-page__section-title--center {
  text-align: center;
}

.about-page__section-title--center::after {
  content: " ⟶♡";
  margin-left: 20px;
  color: #ff62b2;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 28px;
}

.about-page__mission-text {
  margin: 0 0 34px;
  color: #f1eaff;
  font-size: 21px;
  line-height: 1.55;
}

.about-page__principles {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.68fr);
  gap: 28px;
  align-items: end;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 210, 101, 0.6);
}

.about-page__principles-content {
  min-width: 0;
}

.about-page__principles-list {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-page__principles-item {
  position: relative;
  min-height: 28px;
  padding-left: 44px;
  color: #fff7ff;
  font-size: 19px;
  line-height: 1.35;
}

.about-page__principles-item::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #ff76b8, #eb146d);
  box-shadow: 0 0 13px rgba(255, 58, 137, 0.9);
  font-weight: 800;
}

.about-page__principles-visual {
  /* display: grid; */
  min-height: 230px;
  height: 100%;
  /*
  place-items: end center;
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0;
  */
  /*
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 57, 134, 0.82), transparent 24%),
    radial-gradient(circle at 50% 85%, rgba(255, 189, 63, 0.32), transparent 36%),
    linear-gradient(180deg, transparent, rgba(255, 47, 139, 0.08));
*/
    background: url("./img/pics/about-heart.jpg") center / contain no-repeat;
}

/*
.about-page__principles-heart {
  margin-bottom: 34px;
  
  color: transparent;
  -webkit-text-stroke: 4px #ff5c8f;
  filter: drop-shadow(0 0 16px #ff2f8b);
  font-size: 145px;
  line-height: 1;
}
*/

.about-page__benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.about-page__benefit-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  padding: 20px 16px;
  border: 1px solid rgba(255, 100, 187, 0.35);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(44, 13, 104, 0.66), rgba(12, 2, 47, 0.72));
  box-shadow: inset 0 0 32px rgba(255, 255, 255, 0.035);
  text-align: center;
}

.about-page__benefit-icon {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  margin-bottom: 14px;
  border: 1px solid #ff58b0;
  border-radius: 50%;
  color: #ffd76a;
  background: radial-gradient(circle, rgba(255, 47, 139, 0.34), rgba(255, 47, 139, 0.06));
  box-shadow: 0 0 24px rgba(255, 47, 139, 0.55);
  font-size: 36px;
}

.about-page__benefit-title {
  margin: 0 0 8px;
  color: #fff7ff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.05;
}

.about-page__benefit-text {
  margin: 0;
  color: #f1eaff;
  font-size: 17px;
  line-height: 1.25;
}

.about-page__cta {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding: 34px clamp(28px, 6vw, 110px);
  border: 1px solid rgba(255, 47, 139, 0.75);
  border-radius: 28px;
  background: linear-gradient(100deg, rgba(37, 5, 78, 0.84), rgba(81, 11, 84, 0.74), rgba(20, 2, 58, 0.84));
  box-shadow: 0 0 32px rgba(255, 47, 139, 0.32);
}

.about-page__quote {
  position: relative;
  margin: 0;
  padding-left: 110px;
  color: #fff7ff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.28;
}

.about-page__quote::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -12px;
  color: #ffd465;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 128px;
  line-height: 1;
  text-shadow: 0 0 14px rgba(255, 183, 64, 0.55);
}

.about-page__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex: 0 0 auto;
  min-height: 74px;
  padding: 0 46px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: #fff7ff;
  background: linear-gradient(180deg, #ff6cbb, #fa146b);
  box-shadow: 0 0 34px rgba(255, 47, 139, 0.7);
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.about-page__cta-button:hover,
.about-page__cta-button:focus-visible {
  outline: none;
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 0 44px rgba(255, 47, 139, 0.86);
}