/* RateMy public-site finishing layer.
   Extends the warm hidden-club skin across legacy public pages without changing behaviour. */

:root {
  --rm-club-bg: #100b0c;
  --rm-club-panel: #1b1213;
  --rm-club-panel-2: #241719;
  --rm-club-wine: #6f1824;
  --rm-club-wine-light: #8b1e2d;
  --rm-club-cream: #ead8c1;
  --rm-club-gold: #c5a16b;
  --rm-club-text: #e5d8cf;
  --rm-club-muted: #ad9d97;
  --rm-club-line: rgba(197,161,107,.20);
}

/* Kill legacy white islands across public pages. */
body,
body .body,
.page,
.bg-style1,
#about-section,
#cta-section,
#partners-section,
#social-section,
.contact,
.contact-form,
.well,
.jumbotron,
.panel,
.panel-body,
.panel-heading,
.panel-footer,
.list-group-item {
  color: var(--rm-club-text);
}

.page,
.bg-style1,
#about-section,
#cta-section,
#partners-section,
#social-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(111,24,36,.12), transparent 42%),
    linear-gradient(180deg, #181011 0%, #0f0a0b 100%) !important;
}

.page-header h1,
.page-header h2,
.page-header h3,
.page h1,
.page h2,
.page h3,
#about-section h1,
#about-section h2,
#cta-section h1,
#cta-section h2 {
  color: #f1e5d8 !important;
}

.page p,
#about-section p,
#cta-section p,
#partners-section p,
#social-section p,
p.subtitle {
  color: #c5b5ac !important;
}

/* Homepage / old content blocks. */
.rotate-box-1,
.rotate-box-2,
.rotate-box-info,
.portfolio_area,
.portfolio,
.portfolio_content,
.thumbnail,
.TopMemberEach,
.TopPicsEach,
.r_wrapper,
.rateimgsc {
  color: var(--rm-club-text) !important;
}

.thumbnail,
.TopMemberEach,
.TopPicsEach,
.r_wrapper,
.rateimgsc,
.well,
.jumbotron,
.panel,
.panel-body,
.panel-heading,
.panel-footer,
.list-group-item {
  background: linear-gradient(180deg, #211617, #171011) !important;
  border-color: var(--rm-club-line) !important;
}

.rotate-box-1 h4,
.rotate-box-2 h4,
.rotate-box-info h4,
.rotate-box-info p,
a.rotate-box-1,
a.rotate-box-2 {
  color: #dfd0c6 !important;
}

/* Homepage Top Lists lives as naked root-level blocks, outside a section. */
body > .body > .extra-space-l,
body > .body > .page-header-wrapper,
body > .body > .rotate-box-1-wrapper {
  background:
    radial-gradient(circle at 50% 0%, rgba(111,24,36,.10), transparent 44%),
    linear-gradient(180deg, #171011 0%, #100b0c 100%) !important;
}

body > .body > .page-header-wrapper {
  padding-top: 30px;
}

body > .body > .rotate-box-1-wrapper {
  padding: 6px 0 28px;
}

body > .body > .page-header-wrapper h2,
body > .body > .rotate-box-1-wrapper h4 {
  color: #f1e5d8 !important;
}

body > .body > .page-header-wrapper .subtitle,
body > .body > .rotate-box-1-wrapper p {
  color: #c5b5ac !important;
}

/* Register page. */
.ratemy-register-wrap {
  background: transparent !important;
}

.ratemy-register-card {
  background: linear-gradient(180deg, #211617 0%, #181112 100%) !important;
  border: 1px solid rgba(197,161,107,.24) !important;
  box-shadow: 0 14px 38px rgba(0,0,0,.34) !important;
  color: var(--rm-club-text) !important;
}

.ratemy-register-card h1 {
  color: #f1e4d7 !important;
}

.ratemy-register-intro,
.ratemy-register-agreement {
  color: var(--rm-club-muted) !important;
}

.ratemy-register-card label,
.ratemy-profile-option {
  color: #e5d8cf !important;
}

.ratemy-profile-option {
  background: #171011 !important;
  border-color: rgba(197,161,107,.24) !important;
}

.ratemy-profile-option:hover {
  background: #241719 !important;
  border-color: rgba(197,161,107,.45) !important;
}

.ratemy-register-card .form-control,
.ratemy-register-card input[type="text"],
.ratemy-register-card input[type="email"],
.ratemy-register-card input[type="password"],
.ratemy-register-card input[type="number"] {
  background: #100b0c !important;
  color: #f0e4da !important;
  border: 1px solid rgba(197,161,107,.25) !important;
}

.ratemy-register-card .form-control:focus {
  background: #151011 !important;
  border-color: var(--rm-club-wine-light) !important;
}

.ratemy-register-agreement a {
  color: var(--rm-club-gold) !important;
}

.ratemy-create-account,
.ratemy-register-card .btn-info {
  background: var(--rm-club-wine) !important;
  color: #fff0e5 !important;
  border: 1px solid #54131c !important;
}

.ratemy-create-account:hover,
.ratemy-register-card .btn-info:hover {
  background: var(--rm-club-wine-light) !important;
}

/* Login page. */
.contact-form form[name="login"] {
  padding: 22px !important;
  background: linear-gradient(180deg, #211617, #171011) !important;
  border: 1px solid rgba(197,161,107,.22) !important;
  box-shadow: 0 12px 32px rgba(0,0,0,.28);
}

.contact-form form[name="login"] .form-control {
  background: #100b0c !important;
  color: #eee1d7 !important;
  border-color: rgba(197,161,107,.25) !important;
}

.contact-form form[name="login"] .form-control::placeholder {
  color: #887a75 !important;
  opacity: 1;
}

.contact-form form[name="login"] button[type="submit"] {
  background: var(--rm-club-wine) !important;
  color: #fff0e5 !important;
  border: 1px solid #54131c !important;
  padding: 9px 22px;
}

.contact-form form[name="login"] button[type="submit"]:hover {
  background: var(--rm-club-wine-light) !important;
}

.contact-form form[name="login"] a {
  color: var(--rm-club-gold) !important;
}

/* Legacy promo / broadcaster blocks: preserve content, restore contrast. */
#cta-section .container,
#about-section .container,
.page .container {
  color: var(--rm-club-text);
}

#cta-section a,
#about-section a,
.page a {
  color: var(--rm-club-gold);
}

#cta-section .text-white,
#about-section .text-white,
.page .text-white {
  color: #f1e5da !important;
}

#cta-section [style*="color"],
#about-section [style*="color"] {
  text-shadow: none;
}

/* Common legacy light cards/rows with inline white backgrounds. Public scope only. */
.body .page [style*="background:#fff"],
.body .page [style*="background: #fff"],
.body .page [style*="background-color:#fff"],
.body .page [style*="background-color: #fff"],
#cta-section [style*="background:#fff"],
#cta-section [style*="background: #fff"],
#cta-section [style*="background-color:#fff"],
#cta-section [style*="background-color: #fff"] {
  background: #1b1213 !important;
  color: var(--rm-club-text) !important;
}

/* Keep inputs readable even on old pages. */
.body input:not([type="radio"]):not([type="checkbox"]),
.body textarea,
.body select {
  background-color: #100b0c !important;
  color: #eadfd6 !important;
  border-color: rgba(197,161,107,.24) !important;
}

.body input::placeholder,
.body textarea::placeholder {
  color: #8f817c !important;
  opacity: 1;
}

@media (max-width: 767px) {
  .ratemy-register-card {
    margin: 0 5px;
  }

  .contact-form form[name="login"] {
    margin: 0 8px;
    padding: 16px !important;
  }

  .page,
  #about-section,
  #cta-section {
    background:
      radial-gradient(circle at 50% 0%, rgba(111,24,36,.10), transparent 44%),
      linear-gradient(180deg, #171011, #0e0a0a) !important;
  }

  body > .body > .page-header-wrapper {
    padding-top: 26px;
  }

  body > .body > .rotate-box-1-wrapper {
    padding-bottom: 18px;
  }
}
