/* Anonymous homepage only. Shared member pages keep their existing styles. */
.marriage-home {
  --mh-pink: #f62068;
  --mh-action: #ce1553;
  --mh-yellow: #ffda4c;
  --mh-ink: #382332;
  --mh-muted: #715968;
  --mh-paper: #fffafb;
  --mh-blush: #fceef3;
  --mh-line: #eadce2;
  color: var(--mh-ink);
  background: var(--mh-paper);
  font-family: "Vazirmatn", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: break-word;
}
.marriage-home *, .marriage-home *::before, .marriage-home *::after { box-sizing: border-box; }
.marriage-home ::selection { color: var(--mh-ink); background: var(--mh-yellow); }
.marriage-home a { text-decoration: none; }
.marriage-home a:focus-visible, .marriage-home button:focus-visible, .marriage-home input:focus-visible {
  outline: 3px solid #97365c;
  outline-offset: 5px;
}
.marriage-home input { caret-color: var(--mh-action); }
.marriage-home h1, .marriage-home h2, .marriage-home h3, .marriage-home h4 {
  color: var(--mh-ink);
  font-family: inherit;
  font-weight: 700;
  text-wrap: balance;
}
.marriage-home p { margin: 0; }
.mh-wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.mh-skip { position: fixed; top: -100px; right: 24px; z-index: 10000; padding: 12px 24px; background: var(--mh-yellow); color: var(--mh-ink); }
.mh-skip:focus { top: 12px; }
.mh-header { background: var(--mh-pink); }
.mh-nav { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.mh-brand { display: flex; flex-shrink: 0; align-items: center; }
.mh-brand img { display: block; width: 234px; height: auto; }
.mh-nav-links, .mh-nav-actions { display: flex; align-items: center; gap: 28px; }
.mh-nav a:not(.mh-button) { color: #fff; }
.mh-nav-links a, .mh-nav-login { font-size: 14px; font-weight: 700; }
.mh-nav a:not(.mh-button):hover { text-decoration: underline; text-underline-offset: 6px; }
.mh-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 24px;
  min-height: 54px; padding: 13px 26px; border: 0; border-radius: 9px;
  font: inherit; font-weight: 700; font-size: 15px; cursor: pointer;
  transition: background-color 180ms ease-out, box-shadow 180ms ease-out;
}
.mh-button i, .mh-text-link i { font-size: 13px; }
.mh-button-primary { color: #fff; background: var(--mh-action); }
.mh-button-primary:hover { color: #fff; background: #a90e42; box-shadow: 0 6px 16px #a90e4226; }
.mh-button-yellow { color: var(--mh-ink); background: var(--mh-yellow); }
.mh-button-yellow:hover { color: var(--mh-ink); background: #ffe779; }
.mh-button:disabled { opacity: .6; cursor: wait; }
.mh-nav-join { min-height: 44px; padding: 9px 20px; font-size: 13px; gap: 16px; }
.mh-hero { background: var(--mh-blush); }
.mh-hero-layout { display: grid; grid-template-columns: 1.08fr 1fr; gap: 90px; align-items: center; padding-block: 62px 32px; }
.mh-hero-copy { padding-block: 20px; }
.marriage-home .mh-hero h1 { margin: 0 0 24px; font-size: clamp(42px, 4.7vw, 68px); line-height: 1.55; letter-spacing: -.035em; }
.mh-hero h1 span { color: var(--mh-action); }
.mh-hero-description { max-width: 480px; font-size: 17px; line-height: 2.05; color: var(--mh-muted); }
.mh-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 32px; }
.mh-text-link { display: inline-flex; align-items: center; gap: 16px; font-size: 14px; font-weight: 700; color: var(--mh-action); }
.mh-text-link:hover { color: #a90e42; text-decoration: underline; text-underline-offset: 5px; }
.mh-hero-note { display: flex; align-items: center; gap: 10px; margin-top: 24px; font-size: 12px; color: var(--mh-muted); }
.mh-hero-note i { font-size: 11px; color: var(--mh-action); }
.mh-hero-visual { position: relative; margin: 0; padding-inline: 12px; }
.mh-hero-image { display: block; width: 100%; height: 470px; object-fit: cover; border-radius: 220px 220px 14px 14px; }
.mh-hero-visual figcaption { display: flex; justify-content: center; align-items: center; gap: 12px; padding-top: 17px; font-size: 12px; color: var(--mh-muted); }
.mh-caption-line { display: inline-block; width: 28px; height: 1px; background: var(--mh-action); }
.mh-visual-seal { position: absolute; right: -28px; bottom: 76px; display: flex; width: 112px; height: 112px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; border-radius: 50%; background: var(--mh-yellow); color: var(--mh-ink); font-size: 13px; font-weight: 700; line-height: 1.5; transform: rotate(9deg); }
.mh-visual-seal i { color: var(--mh-action); font-size: 16px; }
.mh-values { display: flex; justify-content: space-between; gap: 24px; padding-block: 26px; border-top: 1px solid #e7d3dc; }
.mh-values span { display: flex; align-items: center; justify-content: center; gap: 12px; flex: 1; color: #604354; font-size: 13px; }
.mh-values span + span { border-inline-start: 1px solid #dfc7d2; }
.mh-values i { color: var(--mh-action); font-size: 17px; }
.mh-login-section { scroll-margin-top: 24px; background: #fff; border-bottom: 1px solid var(--mh-line); padding-block: 36px; }
.mh-login-layout { display: grid; grid-template-columns: 1fr 3fr; gap: 46px; align-items: start; }
.marriage-home .mh-login-heading h2 { font-size: 25px; margin: 0 0 5px; }
.mh-login-heading p { color: var(--mh-muted); font-size: 13px; }
.mh-login-form { min-width: 0; }
.mh-login-fields { display: grid; grid-template-columns: 1.25fr 1fr auto; align-items: end; gap: 16px; }
.mh-field { min-width: 0; }
.mh-field label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; }
.mh-input { width: 100%; min-height: 50px; border: 1px solid #d8c8d1; border-radius: 7px; background: #fff; color: var(--mh-ink); padding: 11px 14px; font: inherit; font-size: 13px; }
.mh-input::placeholder { color: #796371; opacity: 1; }
.mh-login-fields .mh-button { min-height: 50px; font-size: 13px; padding: 11px 22px; gap: 18px; }
.mh-login-options { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 12px; font-size: 11px; color: var(--mh-muted); }
.mh-login-options a { color: var(--mh-action); }
.mh-login-options a:hover { text-decoration: underline; }
.mh-login-options > span { margin-inline-start: auto; }
.mh-remember { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.mh-remember input { accent-color: var(--mh-action); width: 15px; height: 15px; }
.mh-form-errors { background: #fff0f3; color: #9b1745; border: 1px solid #e9bacb; padding: 14px 18px; border-radius: 7px; margin-bottom: 18px; font-size: 13px; }
.mh-form-errors ul { margin: 6px 0 0; padding-inline-start: 20px; }
.mh-social-login { display: flex; align-items: center; gap: 16px; margin-top: 18px; font-size: 12px; }
.mh-section { padding-block: 88px; scroll-margin-top: 24px; }
.mh-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 36px; }
.marriage-home .mh-section-heading h2 { margin: 0; font-size: 34px; line-height: 1.65; letter-spacing: -.025em; }
.mh-section-heading p { color: var(--mh-muted); font-size: 14px; line-height: 1.9; }
.mh-section-heading h2 + p { margin-top: 10px; }
.mh-journey { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; list-style: none; padding: 0; margin: 0; }
.mh-journey li { display: flex; gap: 18px; padding-top: 24px; border-top: 1px solid var(--mh-line); }
.mh-step-index { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 36px; height: 36px; color: var(--mh-action); background: #fbe5ed; border-radius: 50%; font-size: 18px; }
.marriage-home .mh-journey h3 { margin: 1px 0 10px; font-size: 19px; }
.mh-journey p { color: var(--mh-muted); font-size: 13px; }
.mh-members-section { padding-block: 78px; background: #f7f1f4; scroll-margin-top: 24px; }
.mh-collection-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 38px 0 18px; }
.marriage-home .mh-collection-heading h3 { font-size: 18px; margin: 0; }
.mh-collection-heading > span, .mh-collection-heading > a { font-size: 12px; color: var(--mh-muted); }
.mh-collection-heading > a { color: var(--mh-action); }
.mh-collection-heading a i { margin-inline-start: 8px; font-size: 10px; }
.mh-profile-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.mh-profile { min-width: 0; border: 1px solid #e7dce2; border-radius: 12px; background: #fff; transition: border-color 180ms ease-out; }
.mh-profile:hover { border-color: var(--mh-action); }
.mh-profile-link { display: flex; align-items: center; flex-direction: column; padding: 24px 12px 16px; height: 100%; color: var(--mh-ink); }
.mh-avatar-wrap { position: relative; width: 76px; height: 76px; margin-bottom: 15px; background: var(--mh-blush); border-radius: 50%; }
.mh-avatar { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; }
.mh-online { position: absolute; bottom: 3px; left: 1px; width: 14px; height: 14px; background: #368153; border: 3px solid #fff; border-radius: 50%; }
.marriage-home .mh-profile h4 { margin: 0 0 5px; font-size: 14px; line-height: 1.8; text-align: center; overflow-wrap: anywhere; }
.mh-tier { font-size: 10px; color: #8a6512; margin-inline-start: 4px; }
.mh-profile-age { font-size: 11px; color: var(--mh-muted); }
.mh-profile-location { margin-block: 10px 14px !important; font-size: 11px; text-align: center; color: var(--mh-muted); }
.mh-profile-location i { color: #a98497; font-size: 10px; }
.mh-profile-view { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; padding-top: 12px; margin-top: auto; border-top: 1px solid #f1e9ed; color: var(--mh-action); font-size: 11px; font-weight: 700; }
.mh-profile-view i { font-size: 10px; }
.mh-empty { grid-column: 1 / -1; padding: 25px; color: var(--mh-muted); }
.mh-member-links { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; margin-top: 30px; }
.mh-member-links a { color: var(--mh-action); font-size: 13px; }
.mh-member-links i { margin-inline-start: 12px; font-size: 11px; }
.mh-story { display: grid; grid-template-columns: 1fr 1.1fr; gap: 96px; padding-block: 88px; border-bottom: 1px solid var(--mh-line); }
.mh-story-intro > i { color: var(--mh-action); font-size: 32px; margin-bottom: 22px; }
.marriage-home .mh-story h2 { font-size: 36px; line-height: 1.65; margin: 0 0 22px; }
.mh-story-content { align-self: center; padding-block: 16px; }
.mh-story-content blockquote { font: inherit; font-size: 20px; line-height: 2; color: var(--mh-ink); margin: 0 0 24px; max-width: 50ch; }
.mh-story-content p { font-size: 14px; font-weight: 700; margin-bottom: 12px; color: var(--mh-muted); }
.mh-story-content a { font-size: 12px; color: var(--mh-action); }
.mh-story-content a i { margin-inline-start: 10px; }
.mh-directory-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.mh-matchmaker { display: flex; align-items: center; gap: 18px; padding-block: 22px; color: var(--mh-ink); border-bottom: 1px solid var(--mh-line); }
.mh-matchmaker:hover { color: var(--mh-action); }
.mh-matchmaker-icon { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; background: var(--mh-blush); color: var(--mh-action); border-radius: 50%; font-size: 16px; }
.mh-matchmaker strong { display: block; font-size: 15px; }
.mh-matchmaker small { display: block; color: var(--mh-muted); font-size: 12px; margin-top: 3px; }
.mh-matchmaker > i { margin-inline-start: auto; font-size: 12px; color: var(--mh-action); }
.mh-ad { text-align: center; padding-bottom: 48px; }
.mh-ad > span { display: block; color: var(--mh-muted); font-size: 10px; margin-bottom: 10px; }
.mh-ad img { display: block; width: auto; height: auto; max-height: 160px; max-width: 100%; margin-inline: auto; border-radius: 9px; }
.mh-final { background: #ed1a60; padding-block: 58px; }
.mh-final-layout { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.marriage-home .mh-final h2 { color: #fff; font-size: 38px; line-height: 1.65; margin: 0 0 12px; }
.mh-final p { color: #fff; font-size: 14px; }
.marriage-home .mh-footer { background: var(--mh-paper); padding: 0; margin: 0; }
.mh-footer-top { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-block: 48px 32px; }
.mh-footer-brand img { display: block; width: 205px; height: auto; }
.mh-footer-brand p { font-size: 12px; color: var(--mh-muted); margin-top: 16px; }
.mh-footer-top nav { display: flex; flex-wrap: wrap; gap: 28px; }
.mh-footer a { color: var(--mh-ink); font-size: 12px; }
.mh-footer a:hover { color: var(--mh-action); text-decoration: underline; text-underline-offset: 5px; }
.mh-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; border-top: 1px solid var(--mh-line); font-size: 10px; color: var(--mh-muted); }
.mh-footer-bottom > div { display: flex; gap: 22px; }
.mh-footer-bottom a { font-size: 10px; }
.mh-footer-bottom .mh-social { gap: 18px; }
.mh-social a { font-size: 15px; }
@media (min-width: 769px) and (prefers-reduced-motion: no-preference) {
  .mh-hero-visual { animation: mh-unfold 900ms cubic-bezier(.16, 1, .3, 1) both; }
  @keyframes mh-unfold { from { clip-path: inset(0 0 4% 0 round 18px); } to { clip-path: inset(0 0 0 0 round 0); } }
}
@media (max-width: 1100px) {
  .mh-wrap { width: calc(100% - 64px); }
  .mh-nav { gap: 24px; }
  .mh-brand img { width: 205px; }
  .mh-nav-links, .mh-nav-actions { gap: 20px; }
  .mh-nav-links a, .mh-nav-login { font-size: 12px; }
  .mh-hero-layout { gap: 60px; }
  .mh-hero-image { height: 430px; }
  .mh-profile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .mh-login-layout { grid-template-columns: 1fr 3.5fr; gap: 30px; }
  .mh-login-fields { gap: 12px; }
}
@media (max-width: 768px) {
  .mh-wrap { width: calc(100% - 40px); }
  .mh-nav { min-height: 80px; gap: 16px; }
  .mh-brand img { width: 185px; }
  .mh-nav-links { display: none; }
  .mh-nav-actions { gap: 16px; }
  .mh-nav-login { font-size: 12px; white-space: nowrap; }
  .mh-nav-join { display: none; }
  .mh-hero-layout { grid-template-columns: 1fr 1fr; gap: 32px; padding-block: 38px 26px; }
  .marriage-home .mh-hero h1 { font-size: 39px; line-height: 1.65; }
  .mh-hero-description { font-size: 14px; }
  .mh-hero-actions { gap: 20px; }
  .mh-hero-actions .mh-button { font-size: 13px; padding-inline: 20px; gap: 16px; }
  .mh-hero-actions .mh-text-link { font-size: 12px; }
  .mh-hero-image { height: 365px; }
  .mh-visual-seal { width: 84px; height: 84px; right: -16px; bottom: 64px; font-size: 11px; }
  .mh-values { gap: 12px; padding-block: 22px; }
  .mh-values span { flex-direction: column; gap: 8px; font-size: 11px; }
  .mh-login-layout { grid-template-columns: 1fr; gap: 20px; }
  .mh-login-heading { display: flex; align-items: center; gap: 16px; }
  .marriage-home .mh-login-heading h2 { font-size: 22px; margin: 0; }
  .mh-section { padding-block: 56px; }
  .marriage-home .mh-section-heading h2 { font-size: 29px; }
  .mh-section-heading { gap: 20px; margin-bottom: 28px; }
  .mh-section-heading p { font-size: 12px; }
  .mh-journey { gap: 22px; }
  .mh-journey li { flex-direction: column; gap: 14px; }
  .marriage-home .mh-journey h3 { font-size: 17px; }
  .mh-journey p { font-size: 12px; }
  .mh-members-section { padding-block: 56px; }
  .mh-story { gap: 40px; padding-block: 56px; }
  .marriage-home .mh-story h2 { font-size: 29px; }
  .mh-story-content blockquote { font-size: 17px; }
  .mh-directory-list { gap: 0 28px; }
  .mh-final { padding-block: 40px; }
  .marriage-home .mh-final h2 { font-size: 30px; }
  .mh-footer-top { align-items: start; }
  .mh-footer-top nav { gap: 16px 24px; max-width: 220px; }
}
@media (max-width: 540px) {
  .mh-hero-layout { grid-template-columns: 1fr; gap: 32px; padding-top: 30px; }
  .mh-hero-copy { padding-block: 0; }
  .marriage-home .mh-hero h1 { font-size: 44px; line-height: 1.55; margin-bottom: 16px; }
  .mh-hero-description { font-size: 14px; max-width: 37ch; }
  .mh-hero-actions { margin-top: 24px; gap: 24px; }
  .mh-hero-note { margin-top: 18px; font-size: 11px; }
  .mh-hero-visual { width: min(320px, calc(100% - 16px)); margin-inline: auto; padding-inline: 0; }
  .mh-hero-image { height: 315px; border-radius: 160px 160px 12px 12px; object-position: center 56%; }
  .mh-visual-seal { right: -15px; bottom: 60px; width: 86px; height: 86px; }
  .mh-hero-visual figcaption { font-size: 11px; padding-top: 12px; }
  .mh-values { gap: 8px; }
  .mh-values span { font-size: 10px; text-align: center; }
  .mh-login-section { padding-block: 28px; }
  .mh-login-heading { align-items: baseline; gap: 12px; }
  .mh-login-heading p { font-size: 11px; }
  .mh-login-fields { grid-template-columns: 1fr; gap: 14px; }
  .mh-login-fields .mh-button { width: 100%; margin-top: 2px; }
  .mh-login-options { font-size: 11px; gap: 10px 20px; }
  .mh-login-options > span { flex-basis: 100%; margin-inline-start: 0; }
  .mh-section-heading { align-items: start; flex-direction: column; gap: 12px; }
  .marriage-home .mh-section-heading h2 { font-size: 28px; }
  .mh-section-heading > p br { display: none; }
  .mh-journey { grid-template-columns: 1fr; gap: 20px; }
  .mh-journey li { flex-direction: row; gap: 16px; padding-top: 20px; }
  .mh-journey p { font-size: 13px; max-width: 32ch; }
  .mh-profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .mh-profile-link { padding-inline: 10px; padding-top: 20px; }
  .mh-collection-heading { margin-top: 30px; }
  .mh-collection-heading > span { font-size: 10px; }
  .mh-member-links { justify-content: start; gap: 14px; }
  .mh-member-links a { font-size: 12px; }
  .mh-story { grid-template-columns: 1fr; gap: 24px; }
  .mh-story-intro > i { margin-bottom: 16px; }
  .mh-story-content { padding: 24px 0 0; border-top: 1px solid var(--mh-line); }
  .mh-directory-list { grid-template-columns: 1fr; }
  .mh-directory .mh-section-heading { margin-bottom: 10px; }
  .mh-final-layout { flex-direction: column; align-items: start; gap: 26px; }
  .mh-final p { font-size: 13px; }
  .mh-footer-top { flex-direction: column; gap: 30px; padding-top: 36px; }
  .mh-footer-top nav { max-width: none; gap: 16px 24px; }
  .mh-footer-bottom { flex-direction: column; align-items: start; gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .marriage-home *, .marriage-home *::before, .marriage-home *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
