:root {
  --bg: #f6f8fc;
  --card: #fff;
  --text: #0f172a;
  --muted: #64748b;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #0f172a;
  --border: #e2e8f0;
  --success: #16a34a;
  --warning-bg: #fff7ed;
  --warning-border: #fed7aa;
  --warning-text: #9a3412;
  --shadow: 0 14px 38px rgba(15,23,42,.08);
  --radius: 22px;
  --warm: #f59e0b;
  --shadow-hover: 0 22px 55px rgba(15,23,42,.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f4f7fb !important;
  color: var(--text);
  line-height: 1.5;
  position: relative;
}

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

.container {
  width: min(1480px, 97%);
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.95) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06) !important;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  gap: 20px;
  flex-wrap: wrap;
}

.brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.brand span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 12px !important;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 500;
  align-items: center;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-primary {
  background: linear-gradient(
      135deg,
      #2563eb,
      #1d4ed8
    );
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
}

.btn-outline {
  background: #ffffff;
  border: 1px solid var(--border);
  color: #1e293b;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero {
  padding: 70px 0 30px;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  margin-bottom: 18px;
  line-height: 1.1;
}

.hero-copy p {
  color: var(--muted);
  margin-bottom: 22px;
  font-size: 1.08rem;
  max-width: 680px;
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #ffffff;
  font: inherit;
  border-color: #dbe3ef;
  transition: 0.18s ease;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.card,
.details-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

.service-grid,
.small-listings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.service-body {
  padding: 14px;
}

.rating-stars {
  color: #f59e0b;
  font-weight: 800;
  letter-spacing: 1px;
}

.rating-text {
  color: var(--muted);
  font-weight: 700;
}

.details-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 28px;
  align-items: start;
}

.main-photo {
  height: 430px;
  border-radius: 18px;
  overflow: hidden;
  width: 100%;
  background: linear-gradient(135deg, #fbcfe8, #eff6ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #be185d;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.thumbnail-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.review-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 12px;
  border: 1px solid var(--border);
  margin-top: 10px;
}

.review-summary {
  display: flex;
  gap: 10px;
  font-weight: 700;
  align-items: center;
  margin: 12px 0;
  color: var(--muted);
}

.nanny-price-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: none;
  min-width: 250px;
  padding: 8px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  padding: 10px 14px;
  display: block;
  font-weight: 400;
  margin: 2px 0;
  border-radius: 12px;
}

.dropdown-menu a:hover {
  background: #f1f5f9;
}

footer {
  padding: 50px 0 25px;
  color: #e5e7eb !important;
  margin-top: 50px;
  background: linear-gradient(180deg, rgba(15,23,42,0.96), rgba(2,6,23,0.98)) !important;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
}

.tag-row label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  background: rgba(71, 85, 105, 0.82);
  color: #94A3B8;
padding: 0 20px;
border-radius: 20px;
font-size: 0.70rem;
  font-weight: 600;
 }

.tag-row input[type="checkbox"] {
  width: auto !important;
  margin: 0;
}

.small-listings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.small-listing-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 300px;
}

.small-listing-img {
  width: 100%;
  height: 165px;
  background: linear-gradient(135deg, #bfdbfe, #eff6ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1d4ed8;
  font-weight: 800;
  font-size: 1.4rem;
}

.small-listing-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.small-listing-body {
  padding: 14px;
}

.small-listing-body h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.listing-price {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 5px;
}

.listing-meta {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.listing-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.listing-tags span {
  background: #f1f5f9;
  color: #334155;
  border-radius: 999px;
  padding: 4px 7px;
  font-size: 0.75rem;
  font-weight: 700;
}

.filter-checks {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.filter-checks label {
  background: #eff6ff;
  color: #1d4ed8;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.filter-checks input[type="checkbox"] {
  width: auto !important;
  margin: 0;
  flex: 0 0 auto;
}

.pagination-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.pagination-info {
  color: var(--muted);
  font-weight: 700;
}

.main-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #f8fafc;
}

.thumb {
  height: 82px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: #eff6ff;
}

.thumb.active {
  border-color: var(--primary);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.details-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 18px;
}

.details-price {
  color: var(--primary);
  font-size: 1.8rem;
  font-weight: 800;
  margin: 8px 0;
}

.details-meta {
  color: var(--muted);
  margin-bottom: 12px;
}

.amenity-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.amenity,
.info-item {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  font-weight: 700;
  color: #334155;
}

.contact-box {
  position: sticky;
  top: 90px;
}

.contact-line {
  margin-bottom: 10px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.back-link {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--primary);
  font-weight: 700;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-img {
  height: 160px;
  background: linear-gradient(135deg, #bfdbfe, #eff6ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1d4ed8;
  font-size: 1.5rem;
  font-weight: 800;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-price {
  color: var(--primary);
  font-weight: 600;
  margin: 6px 0;
}

.service-meta {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.service-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0;
  font-size: 0.88rem;
}

.listing-toolbar {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  margin-bottom: 22px;
}

.filters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.category-search {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.category-search input {
  width: 100%;
}

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

.category-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px;
  transition: 0.2s ease;
}

.category-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
}

.category-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #eff6ff;
  color: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.category-card h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.category-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.subcategory-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.subcategory-list span {
  background: #f1f5f9;
  color: #334155;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 0.76rem;
  font-weight: 700;
}

.featured-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.featured-card {
  background: linear-gradient(160deg, #0f172a, #1e3a8a);
  color: white;
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.featured-card p {
  color: #cbd5e1;
  margin: 8px 0 14px;
}

.quick-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.quick-links a {
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.hero-copy {
  max-width: 680px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0;
}

.hero-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--muted);
}

.hero-stats div {
  line-height: 1.4;
}

.hero-stats strong {
  color: var(--accent);
  font-weight: 800;
}

.hero-card {
  background: linear-gradient(160deg, #0f172a, #1e3a8a);
  color: white;
  padding: 28px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-card h3 {
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 16px 0 20px;
}

.hero-card li {
  background: rgba(255, 255, 255, 0.08);
  padding: 12px 14px;
  border-radius: 12px;
}

.hero-card .btn {
  width: fit-content;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.footer-grid h4 {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 1rem;
}

.footer-grid p {
  color: #94a3b8;
  max-width: 380px;
}

.footer-grid a {
  display: block;
  color: #cbd5f5;
  margin: 8px 0;
  font-weight: 600;
  transition: 0.2s;
}

.footer-grid a:hover {
  color: #60a5fa;
  transform: translateX(3px);
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #94a3b8;
  font-size: 0.9rem;
  text-align: center;
}

.footer-brand h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.footer-brand p {
  color: #94a3b8;
  margin-bottom: 16px;
  max-width: 360px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5f5;
  transition: 0.2s;
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.rating-stars,
.review-stars {
  color: #f59e0b !important;
  font-weight: 800;
  letter-spacing: 1px;
}

.fa-star,
.fa-star-half-alt,
.fa-star-half-stroke {
  color: #f59e0b !important;
}

.mt-3 {
  margin-top: 16px;
}

.mb-3 {
  margin-bottom: 16px;
}

#previewGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px !important;
}

.preview-img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px !important;
  margin-bottom: 22px;
}

.hero-professional {
  padding: 34px 0 42px !important;
  background: transparent !important;
  padding-top: 32px !important;
  position: relative;
  overflow: hidden;
  border-bottom: none !important;
}

.hero-pro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr)
    minmax(320px, 0.65fr);
  gap: 36px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.hero-pro-copy {
  max-width: 860px;
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff !important;
  color: #2563eb !important;
  border: 1px solid rgba(37,99,235,0.18) !important;
  padding: 8px 13px;
  border-radius: 999px;
  font-weight: 900 !important;
  font-size: 0.9rem;
  margin-bottom: 18px;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.08) !important;
  border-color: #bfdbfe !important;
  backdrop-filter: blur(10px);
}

.hero-pro-copy h1 {
  font-size: clamp(2.25rem, 4.6vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  color: #0f172a;
  margin-bottom: 18px;
  text-shadow: 0 1px 0 rgba(255,255,255,.45);
}

.hero-pro-copy p {
  color: #64748b;
  font-size: 0.96rem;
  line-height: 1.65;
  max-width: 650px;
  margin-bottom: 20px;
}

.hero-pro-search {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  border-radius: 22px !important;
  padding: 12px 12px 12px 18px !important;
  max-width: 100% !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18) !important;
  margin-top: 18px;
  backdrop-filter: blur(12px);
  min-height: 64px;
  width: 100%;
  box-sizing: border-box;
}

.hero-pro-search i {
  color: #94a3b8;
  font-size: 1.1rem;
}

.hero-pro-search input {
  border: none;
  background: transparent;
  padding: 12px;
  font-size: 1rem;
}

.hero-pro-search input:focus {
  outline: none;
}

.hero-pro-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  align-items: center;
  justify-content: flex-start;
}

.hero-pro-links a {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: #2563eb;
  border-radius: 999px;
  padding: 8px 13px;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.05);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: 0.2s ease;
}

.hero-pro-links a:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
  transform: translateY(-2px);
}

.hero-pro-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.97)) !important;
  border: 1px solid rgba(255,255,255,.50);
  border-radius: 28px !important;
  padding: 24px;
  box-shadow: 0 24px 52px rgba(15,23,42,.18);
  height: 100%;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 430px;
  justify-self: end;
  position: relative;
  overflow: hidden;
  gap: 8px;
  backdrop-filter: blur(10px);
}

.hero-pro-panel h3 {
  color: #0f172a;
  font-size: 1.25rem !important;
  margin-bottom: 14px;
  margin-top: 4px;
}

.hero-pro-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  color: #0f172a;
  transition: 0.2s ease;
  border: 1px solid transparent;
}

.hero-pro-panel a:hover {
  background: #f8fafc !important;
  transform: translateX(3px);
  border-color: #e2e8f0;
}

.hero-pro-panel span {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  background: #eff6ff;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex: 0 0 auto;
}

.hero-pro-panel strong {
  display: block;
  font-size: 0.9rem;
}

.hero-pro-panel small {
  display: block;
  color: #64748b;
  margin-top: 2px;
  font-size: 0.75rem;
}

.featured-section {
  padding-top: 38px;
}

.hero-image-slider {
  position: relative;
  width: 100%;
  max-width: 100% !important;
  height: 430px;
  margin: 18px 0 20px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 22px 46px rgba(15,23,42,.20);
  background: #e5e7eb;
  border: 1px solid rgba(255,255,255,.42);
  box-sizing: border-box;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-image-slider .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: block;
  z-index: 1;
}

.hero-image-slider .hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-image-slider .hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 20%;
  background: #f8fafc;
}

.hero-image-slider .hero-slide span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(15, 23, 42, 0.4);
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  max-width: calc(100% - 28px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-image-slider .muted {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.hero-pro-copy h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.05rem);
  line-height: 1.45;
  letter-spacing: -0.4px;
  color: #0f172a;
  margin-bottom: 18px;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  min-height: 100%;
}

.nanny-toolbar {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  margin-bottom: 22px;
}

.nanny-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.nanny-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.nanny-body {
  padding: 14px;
}

.nanny-img {
  height: 160px;
  background: linear-gradient(135deg, #fbcfe8, #eff6ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #be185d;
  font-size: 1.7rem;
  font-weight: 800;
}

.nanny-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nanny-price {
  color: var(--primary);
  font-weight: 600;
  margin: 6px 0;
}

.nanny-meta {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.nanny-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.nanny-tags span {
  background: #f1f5f9;
  color: #334155;
  border-radius: 999px;
  padding: 4px 7px;
  font-size: 0.75rem;
  font-weight: 700;
}

.nanny-checks {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.nanny-checks label,
.checkbox-pill {
  background: #eff6ff;
  color: #1d4ed8;
  padding: 0px 20px;
  border-radius: 8px;
  font-size: 0.70rem;
  font-weight: 200;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.nanny-checks input[type="checkbox"],
.checkbox-pill input[type="checkbox"] {
  width: auto !important;
  margin: 0;
  flex: 0 0 auto;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.info-item {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  font-weight: 600;
  color: #334155;
}

.button-stack {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.review-stars {
  color: #f59e0b;
  font-weight: 800;
  letter-spacing: 1px;
}

.review-form-grid {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.review-form-grid input,
.review-form-grid select,
.review-form-grid textarea {
  width: 100%;
  
}

.nanny-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0;
  font-size: 0.88rem;
}

#previewGrid,
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.preview-video,
.preview-img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #0f172a;
}

.main-photo video,
.service-img video,
.small-listing-img video,
.nanny-img video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0f172a;
}

.thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-item {
  position: relative;
}

.remove-preview-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  color: white;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.remove-preview-btn:hover {
  background: #dc2626;
}

.auth-card {
  max-width: 460px;
  margin: 0 auto;
}

.auth-card input {
  margin-bottom: 12px;
}

.auth-link {
  color: var(--primary);
  font-weight: 900;
}

.small-listing-img,
.service-img,
.nanny-img {
  position: relative;
  overflow: hidden;
}

.posted-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 4px 8px !important;
  margin: 0 !important;
  background: rgba(15, 23, 42, 0.4);
  color: #ffffff;
  font-size: 11px;
  font-weight: 300;
  line-height: 1.2;
  border-radius: 6px;
  white-space: nowrap;
  z-index: 10;
}

.checkbox-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 500;
}

.checkbox-inline input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.checkbox-group {
  margin-top: 10px;
}

.latest-listings-section {
  padding: 34px 0;
  padding-top: 10px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

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

.home-listing-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: 0.22s ease;
}

.home-listing-img {
  position: relative;
  height: 210px;
  background: linear-gradient(135deg, #bfdbfe, #eff6ff);
  color: #1d4ed8;
  display: block;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  width: 100%;
  overflow: hidden;
}

.home-listing-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.home-listing-img em {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(15, 23, 42, 0.68);
  color: #fff;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 600;
  bottom: 12px;
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  line-height: 1.1;
  z-index: 5;
}

.home-listing-body {
  padding: 16px;
}

.home-listing-body h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.home-listing-price {
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.home-listing-meta,
.home-listing-text {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.home-listing-text {
  min-height: 40px;
  color: #B6C2D1;
  line-height: 1.6;
  font-size: 0.92rem;
}

.lock-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lock-box,
.locked-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  text-align: center;
  color: var(--text);
}

.auth-nav-link {
  white-space: nowrap;
}

.my-listings-toolbar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.my-listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.my-listing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.my-listing-image {
  height: 185px;
  background: linear-gradient(135deg, #bfdbfe, #eff6ff);
  color: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.my-listing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.my-listing-body {
  padding: 16px;
}

.my-listing-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.listing-type-pill,
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 0.78rem;
  font-weight: 800;
}

.listing-type-pill {
  background: #eff6ff;
  color: #1d4ed8;
}

.status-pill.active {
  background: #dcfce7;
  color: #166534;
}

.status-pill.inactive {
  background: #fff7ed;
  color: #9a3412;
}

.my-listing-description {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 10px 0 14px;
}

.my-listing-actions {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  align-items: center;
  margin-top: 12px;
}

.auth-help {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 8px;
  line-height: 1.45;
}

.auth-status {
  margin-top: 12px;
  font-weight: 700;
}

.auth-status-info {
  color: var(--muted);
}

.auth-status-success {
  color: var(--success);
}

.auth-status-error {
  color: #dc2626;
}

.brand-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
  gap: 8px;
}

.brand-text {
  position: relative;
  z-index: 2;
}

.brand-top {
  font-size: 1.18rem;
  font-weight: 900;
  color: #0f172a;
}

.brand-top span {
  color: #2563eb;
}

.brand-bottom {
  margin-top: 1px;
  font-size: 1.06rem;
  font-weight: 900;
  color: #0f172a;
}

.brand-bottom span {
  color: #2563eb;
}

.brand-question {
  position: absolute;
  right: -34px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background-color: #000 !important;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  font-weight: 950;
  line-height: 1;
  font-family: Arial, sans-serif;
  z-index: 1;
  background: #0f172a;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
}

.container.site-nav,
.container.nav.site-nav,
.index-page .site-nav.container{
  width: min(1480px, 97%) !important;
  max-width: 1480px !important;

  margin-left: auto !important;
  margin-right: auto !important;

  padding-left: 0 !important;
  padding-right: 0 !important;
}

.site-nav {
  min-height: 76px !important;
  padding: 10px 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 26px !important;
  flex-wrap: nowrap !important;
}

.site-nav .brand-logo {
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 162px !important;
  min-width: 162px !important;
  text-decoration: none;
  line-height: 1;
}

.site-nav .brand-text {
  position: relative;
  z-index: 2;
  padding-right: 28px;
}

.site-nav .brand-top,
.site-nav .brand-bottom {
  display: block;
  font-size: 1.28rem !important;
  line-height: 1.02 !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em;
  color: #0f172a !important;
}

.site-nav .brand-top span,
.site-nav .brand-bottom span {
  color: var(--primary) !important;
}

.site-nav .brand-bottom {
  margin-top: 2px !important;
}

.site-nav .brand-question {
  position: absolute;
  right: 25px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 999px !important;
  background: #000000 !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.95rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  font-family: Arial, sans-serif !important;
  z-index: 1;
}

.site-nav .main-menu,
.main-menu {
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 28px !important;
  flex-wrap: nowrap !important;
  margin-left: -18px;
}

.site-nav .main-menu > a,
.site-nav .main-menu .dropdown > a,
.main-menu > a,
.main-menu .dropdown > a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  color: #475569 !important;
  font-size: 0.9rem !important;
  font-weight: 650 !important;
  white-space: nowrap !important;
  padding: 10px 0 !important;
  border-bottom: 2px solid transparent !important;
  background: transparent !important;
}

.site-nav .main-menu > a:hover,
.site-nav .main-menu .dropdown > a:hover,
.site-nav .main-menu > a.active,
.main-menu > a:hover,
.main-menu .dropdown > a:hover,
.main-menu > a.active {
  color: var(--primary) !important;
  border-bottom-color: var(--primary) !important;
}

.site-nav .header-actions,
.header-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  flex: 0 0 auto !important;
  margin-left: auto !important;
}

.guest-links {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.login-link,
.register-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  min-height: 40px !important;
  padding: 9px 15px !important;
  border-radius: 12px !important;
  font-size: 0.9rem !important;
  font-weight: 750 !important;
  white-space: nowrap !important;
  border: 1px solid var(--border) !important;
  background: #ffffff !important;
  color: #334155 !important;
}

.register-link {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #ffffff !important;
}

.login-link:hover {
  color: var(--primary) !important;
  border-color: #bfdbfe !important;
}

.register-link:hover {
  background: var(--primary-dark) !important;
  color: #ffffff !important;
}

.user-menu {
  position: relative;
}

.profile-btn {
  border: 1px solid #dbeafe !important;
  background: #f8fbff !important;
  color: #1f2937 !important;
  padding: 9px 13px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  cursor: pointer;
  font-size: 0.9rem !important;
  font-weight: 750 !important;
  white-space: nowrap !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.profile-btn .fa-user-circle {
  color: var(--primary) !important;
  font-size: 1.55rem !important;
}

.profile-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 210px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
  padding: 8px;
  z-index: 9999;
}

.profile-dropdown.show {
  display: block;
}

.profile-dropdown a,
.profile-dropdown button {
  width: 100%;
  border: 0;
  background: transparent;
  color: #374151;
  text-decoration: none;
  padding: 11px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 650;
  text-align: left;
}

.profile-dropdown a:hover,
.profile-dropdown button:hover {
  background: #f3f6ff;
  color: var(--primary);
}

.site-nav .dropdown,
.dropdown {
  position: relative;
}

.site-nav .dropdown-menu,
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 6px;
  z-index: 9999;
}

.site-nav .dropdown:hover .dropdown-menu,
.site-nav .dropdown:focus-within .dropdown-menu,
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: block;
}

.site-nav .dropdown-menu a,
.dropdown-menu a {
  display: block !important;
  padding: 10px 12px !important;
  border-radius: 9px !important;
  color: #475569 !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  border-bottom: 0 !important;
}

.site-nav .dropdown-menu a:hover,
.dropdown-menu a:hover {
  background: #f1f5f9 !important;
  color: var(--primary) !important;
}

.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: #0f172a;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex: 0 0 auto;
}

.mobile-menu-toggle:hover {
  color: var(--primary);
  border-color: #bfdbfe;
}

.auth-page-body {
  min-height: 100vh;
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.14), transparent 34%),
    radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.10), transparent 30%),
    var(--bg);
}

.auth-shell {
  padding: 42px 0 64px;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 42px;
  align-items: center;
}

.auth-welcome-panel {
  max-width: 620px;
}

.auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--primary);
  border: 1px solid #dbeafe;
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.10);
  margin-bottom: 18px;
}

.auth-welcome-panel h1 {
  color: #ffffff;
  font-size: clamp(2.25rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -1.4px;
  margin-bottom: 16px;
}

.auth-welcome-panel h1 span {
  color: var(--primary);
}

.auth-welcome-panel p {
  color: #ffffff;
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 560px;
}

.auth-benefits {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.auth-benefits div {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #cbd5e1;
  font-weight: 700;
}

.auth-benefits i {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #eff6ff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.auth-card-pro {
  background: rgba(71, 85, 105, 0.82);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.14);
  padding: 32px;
  backdrop-filter: none;
}

.auth-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.26);
}

.auth-card-pro h2 {
  font-size: 1.85rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.auth-subtitle {
  color: var(--muted);
  margin-bottom: 22px;
}

.auth-field-label {
  display: block;
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 800;
  margin: 14px 0 7px;
}

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-wrap > i {
  position: absolute;
  left: 14px;
  color: #94a3b8;
  font-size: 0.95rem;
}

.auth-input-wrap input {
  height: 52px;
  padding-left: 42px;
  padding-right: 46px;
  border-radius: 14px;
  background: #f8fafc;
  transition: 0.18s ease;
}

.auth-input-wrap input:focus {
  outline: none;
  border-color: #93c5fd;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.password-toggle {
  position: absolute;
  right: 10px;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.password-toggle:hover {
  background: #e2e8f0;
  color: var(--primary);
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 18px;
  flex-wrap: wrap;
}

.remember-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 0.92rem;
  font-weight: 650;
  cursor: pointer;
}

.remember-check input {
  width: 16px;
  height: 16px;
}

.auth-submit-btn {
  width: 100%;
  min-height: 52px;
  gap: 8px;
  border: none;
  border-radius: 14px;
  font-size: 1rem;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.24);
}

.auth-status-message{
  margin-top:14px;
  padding:12px 14px;
  border-radius:14px;
  background:none;
  color:#fecaca;
  border:0;
  font-size:0.88rem;
  line-height:1.45;
  font-weight:600;
  display:none;
}

.auth-status-message:not(:empty){
  display:block;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #94a3b8;
  font-size: 0.86rem;
  font-weight: 800;
  margin: 18px 0 12px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-switch-text {
  color: var(--muted);
  text-align: center;
  font-weight: 650;
}

.auth-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.password-hint-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 14px 0 16px !important;
}

.password-hint-grid span {
  width: 100% !important;
  max-width: 100% !important;
  background: #f8fafc;
  border: 1px solid var(--border);
  color: #475569;
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 0.78rem;
  font-weight: 800;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: normal !important;
  text-align: center;
}

.password-hint-grid i {
  color: var(--success);
  font-size: 0.75rem;
}

.terms-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.45;
  margin: 8px 0 18px;
  cursor: pointer;
}

.terms-check input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  flex: 0 0 auto;
}

.register-checklist,
.password-rules,
.auth-password-rules {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
}

.register-checklist span,
.password-rules span,
.auth-password-rules span {
  width: 100%;
  text-align: center;
  white-space: normal;
}

.contact-page-body {
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 34%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  min-height: 100vh;
}

.contact-shell {
  padding: 46px 0 70px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.75fr);
  gap: 42px;
  align-items: center;
}

.contact-welcome-panel {
  max-width: 680px;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #ffffff;
  color: var(--primary);
  border: 1px solid #dbeafe;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.10);
  margin-bottom: 18px;
}

.contact-welcome-panel h1 {
  font-size: clamp(2.35rem, 4.6vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -1.6px;
  color: #ffffff;
  margin-bottom: 18px;
}

.contact-welcome-panel h1 span {
  color: var(--primary);
}

.contact-welcome-panel p {
  color: #64748b;
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 620px;
  margin-bottom: 24px;
}

.contact-info-stack {
  display: grid;
  gap: 14px;
  max-width: 610px;
}

.contact-info-stack div {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.contact-info-stack i {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #eff6ff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 1.05rem;
}

.contact-info-stack span {
  color: #64748b;
  font-size: 0.94rem;
  line-height: 1.5;
}

.contact-info-stack strong {
  display: block;
  color: #0f172a;
  font-size: 0.98rem;
  margin-bottom: 2px;
}

.contact-card-pro {
  width: 100%;
  max-width: 520px;
  justify-self: end;
  background: rgba(71, 85, 105, 0.82);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 28px;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.14);
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.contact-card-pro::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), #60a5fa, #93c5fd);
}

.contact-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #eff6ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 16px;
}

.contact-card-pro h2 {
  color: #ffffff;
  font-size: 1.75rem;
  margin-bottom: 6px;
}

.contact-subtitle {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 20px;
}

.contact-field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 900;
  margin: 14px 0 7px;
}

.contact-field-label span {
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 800;
}

.contact-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.contact-input-wrap > i {
  position: absolute;
  left: 14px;
  color: #94a3b8;
  font-size: 0.98rem;
  z-index: 2;
}

.contact-input-wrap input,
.contact-input-wrap select {
  min-height: 48px;
  padding-left: 42px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #0f172a;
  transition: 0.2s ease;
}

.contact-input-wrap input:focus,
.contact-input-wrap select:focus,
.contact-textarea-wrap textarea:focus {
  outline: none;
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.contact-select-wrap select {
  background: rgba(15, 23, 42, 0.08);
  color: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

/* Dropdown option list */
.contact-select-wrap select option {
  background: #64748b;
  color: #f8fafc;
}

.contact-textarea-wrap textarea {
  min-height: 135px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 14px;
  color: #0f172a;
  transition: 0.2s ease;
}

.contact-submit-btn {
  width: 100%;
  min-height: 52px;
  gap: 8px;
  border: none;
  border-radius: 14px;
  font-size: 1rem;
  margin-top: 18px;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.24);
}

.contact-status-message {
  min-height: 20px;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.forgot-page-body {
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 34%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  min-height: 100vh;
}

.forgot-shell {
  padding: 42px 0 72px;
}

.forgot-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: 44px;
  align-items: center;
}

.forgot-left-panel {
  max-width: 680px;
}

.forgot-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #ffffff;
  color: var(--primary);
  border: 1px solid #dbeafe;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.10);
  margin-bottom: 18px;
}

.forgot-left-panel h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.03;
  letter-spacing: -1.7px;
  color: #ffff;
  margin-bottom: 18px;
}

.forgot-left-panel h1 span {
  color: var(--primary);
}

.forgot-left-panel p {
  color: #64748b;
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 24px;
}

.forgot-features {
  display: grid;
  gap: 14px;
  max-width: 620px;
}

.forgot-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,255,255,0.85);
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.forgot-feature-card i {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #eff6ff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 1rem;
}

.forgot-feature-card strong {
  display: block;
  color: #0f172a;
  margin-bottom: 3px;
  font-size: 0.96rem;
}

.forgot-feature-card span {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.45;
}

.forgot-card-pro {
  width: 100%;
  max-width: 500px;
  justify-self: end;
  background: rgba(71, 85, 105, 0.82);
  border: 1px solid rgba(226,232,240,0.95);
  border-radius: 30px;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.14);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.forgot-card-pro::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), #60a5fa, #93c5fd);
}

.forgot-icon {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: #eff6ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.forgot-card-pro h2 {
  color: #ffff;
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.forgot-subtitle {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 22px;
}

.forgot-label {
  display: block;
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.forgot-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.forgot-input-wrap i {
  position: absolute;
  left: 14px;
  color: #94a3b8;
  z-index: 2;
}

.forgot-input-wrap input {
  min-height: 50px;
  padding-left: 44px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #0f172a;
  transition: 0.2s ease;
}

.forgot-input-wrap input:focus {
  outline: none;
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.forgot-btn {
  width: 100%;
  min-height: 52px;
  margin-top: 18px;
  border-radius: 14px;
  border: none;
  gap: 8px;
  font-size: 1rem;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.24);
}

.forgot-status {
  min-height: 20px;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.forgot-footer-links {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  color: #64748b;
  font-size: 0.92rem;
}

.forgot-login-link {
  color: var(--primary);
  font-weight: 900;
}

.hero-professional::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.24), transparent 32%),
    radial-gradient(circle at bottom right, rgba(245, 158, 11, 0.20), transparent 34%);
  pointer-events: none;
  display: none !important;
}

.home-hero-title {
  font-size: 1.55rem !important;
  line-height: 1.45 !important;
  letter-spacing: -0.2px !important;
  color: #0f172a;
  margin-bottom: 16px;
  max-width: 760px;
}

.home-hero-subtitle {
  color: #64748b;
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 720px;
  margin-bottom: 18px;
}

.home-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.home-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.88);
  border: 1px solid #e2e8f0;
  color: #334155;
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 0.84rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.home-trust-row i {
  color: var(--success);
}

.hero-pro-search button {
  gap: 8px;
  border: none;
  min-height: 46px;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.home-hero-actions .btn {
  gap: 8px;
}

.hero-pro-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), #60a5fa, #93c5fd);
}

.home-how-section {
  padding: 34px 0 14px;
}

.home-how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.home-how-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 20px;
  box-shadow: var(--shadow);
  transition: 0.2s ease;
}

.home-how-card:hover {
  transform: translateY(-3px);
  border-color: #bfdbfe;
}

.home-how-card > span {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: #eff6ff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.home-how-card h3 {
  color: #0f172a;
  margin-bottom: 7px;
  font-size: 1.05rem;
}

.home-how-card p {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.6;
}

.section-head h2 {
  color: #0f172a;
  letter-spacing: -0.4px;
  margin: 0;
}

.home-listing-card,
.featured-card {
  transition: 0.2s ease;
}

.home-listing-card:hover,
.featured-card:hover {
  transform: translateY(-3px);
}

.roommate-listings-page {
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.11), transparent 34%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  min-height: 100vh;
}

.roommate-listings-hero {
  padding: 42px 0 34px;
  position: relative;
  overflow: hidden;
}

.roommate-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.65fr);
  gap: 34px;
  align-items: center;
}

.roommate-hero-copy {
  max-width: 720px;
}

.roommate-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #ffffff;
  color: var(--primary);
  border: 1px solid #dbeafe;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.10);
  margin-bottom: 18px;
}

.roommate-hero-copy h1 {
  font-size: clamp(1.85rem, 3.6vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -1px;
  color: #ffffff;
  margin-bottom: 14px;
}

.roommate-hero-copy p {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 20px;
}

.roommate-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.roommate-hero-actions .btn {
  gap: 8px;
}

.roommate-hero-card {
  background: rgba(71, 85, 105, 0.82);
  backdrop-filter: none;
  border: 1px solid rgba(226,232,240,0.95);
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  padding: 22px;
  display: grid;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.roommate-hero-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), #60a5fa, #93c5fd);
}

.roommate-hero-card div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
}

.roommate-hero-card span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #eff6ff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.roommate-hero-card strong {
  display: block;
  color: #0f172a;
  font-size: 0.98rem;
  margin-bottom: 2px;
}

.roommate-hero-card small {
  display: block;
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.45;
}

.roommate-results-section {
  padding: 6px 0 62px;
}

.roommate-filter-card {
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(226,232,240,0.95);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
  padding: 22px;
  margin-bottom: 26px;
}

.filter-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.filter-card-head h2,
.roommate-results-head h2 {
  color: #ffff;;
  font-size: 1.35rem;
  letter-spacing: -0.4px;
  margin-bottom: 4px;
}

.filter-card-head p {
  color: #64748b;
  font-size: 0.92rem;
}

.filter-card-head .btn {
  gap: 8px;
  white-space: nowrap;
}

.roommate-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.filter-field {
  display: grid;
  gap: 7px;
}

.filter-field label {
  color: #334155;
  font-size: 0.84rem;
  font-weight: 900;
}

.filter-field input,
.filter-field select {
  min-height: 46px;
  border-radius: 14px;
  border-color: #e2e8f0;
  background: #ffffff;
}

.filter-field input:focus,
.filter-field select:focus {
  outline: none;
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(37,99,235,0.10);
}

.roommate-amenity-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 4px;
}

.roommate-amenity-checks label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #64748b;
  color: #1d4ed8;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 0.74rem;
  font-weight: 100;
  white-space: nowrap;
}

.roommate-amenity-checks input[type="checkbox"] {
  width: 15px !important;
  height: 15px;
  margin: 0;
  flex: 0 0 auto;
}

.roommate-filter-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.roommate-filter-actions .btn {
  gap: 8px;
  border: none;
}

.roommate-results-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin: 8px 0 16px;
}

.roommate-listings-grid .small-listing-card,
.small-listings-grid .small-listing-card {
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
  transition: 0.2s ease;
}

.roommate-listings-grid .small-listing-card:hover,
.small-listings-grid .small-listing-card:hover {
  transform: translateY(-3px);
  border-color: #bfdbfe;
}

.roommate-listings-grid .small-listing-img,
.small-listings-grid .small-listing-img {
  height: 178px;
}

.roommate-pagination {
  margin-top: 28px;
}

.roommate-pagination .btn {
  gap: 8px;
}

.nanny-listings-page {
  background: radial-gradient(circle at top left, rgba(236, 72, 153, 0.10), transparent 34%),
    radial-gradient(circle at 85% 10%, rgba(37, 99, 235, 0.10), transparent 26%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  min-height: 100vh;
}

.nanny-listings-hero {
  padding: 42px 0 34px;
  position: relative;
  overflow: hidden;
}

.nanny-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.65fr);
  gap: 34px;
  align-items: center;
}

.nanny-hero-copy {
  max-width: 720px;
}

.nanny-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #ffffff;
  color: var(--primary);
  border: 1px solid #dbeafe;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.10);
  margin-bottom: 18px;
}

.nanny-hero-copy h1 {
  font-size: clamp(1.85rem, 3.6vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -1px;
  color: #ffffff;
  margin-bottom: 14px;
}

.nanny-hero-copy p {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 20px;
}

.nanny-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nanny-hero-actions .btn {
  gap: 8px;
}

.nanny-hero-card {
  background: rgba(71, 85, 105, 0.82);
  border: 1px solid rgba(226,232,240,0.95);
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  padding: 22px;
  display: grid;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.nanny-hero-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), #60a5fa, #f9a8d4);
}

.nanny-hero-card div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
}

.nanny-hero-card span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #eff6ff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.nanny-hero-card strong {
  display: block;
  color: #0f172a;
  font-size: 0.98rem;
  margin-bottom: 2px;
}

.nanny-hero-card small {
  display: block;
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.45;
}

.nanny-results-section {
  padding: 6px 0 62px;
}

.nanny-filter-card {
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(226,232,240,0.95);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
  padding: 22px;
  margin-bottom: 26px;
}

.nanny-filter-card .filter-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.nanny-filter-card .filter-card-head h2,
.nanny-results-head h2 {
  color: #ffff;
  font-size: 1.35rem;
  letter-spacing: -0.4px;
  margin-bottom: 4px;
}

.nanny-filter-card .filter-card-head p {
  color: #64748b;
  font-size: 0.92rem;
}

.nanny-filter-card .filter-card-head .btn {
  gap: 8px;
  white-space: nowrap;
}

.nanny-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.nanny-filter-grid .filter-field {
  display: grid;
  gap: 7px;
}

.nanny-filter-grid .filter-field-wide {
  grid-column: span 2;
}

.nanny-filter-grid label {
  color: #334155;
  font-size: 0.84rem;
  font-weight: 900;
}

.nanny-filter-grid input,
.nanny-filter-grid select {
  min-height: 46px;
  border-radius: 14px;
  border-color: #e2e8f0;
  background: #ffffff;
}

.nanny-filter-grid input:focus,
.nanny-filter-grid select:focus {
  outline: none;
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(37,99,235,0.10);
}

.nanny-filter-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 4px;
}

.nanny-filter-checks label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
}

.nanny-filter-checks input[type="checkbox"] {
  width: 15px !important;
  height: 15px;
  margin: 0;
  flex: 0 0 auto;
}

.nanny-filter-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.nanny-filter-actions .btn {
  gap: 8px;
  border: none;
}

.nanny-results-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin: 8px 0 16px;
}

.nanny-listings-grid .nanny-card,
.nanny-grid .nanny-card {
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
  transition: 0.2s ease;
}

.nanny-listings-grid .nanny-card:hover,
.nanny-grid .nanny-card:hover {
  transform: translateY(-3px);
  border-color: #bfdbfe;
}

.nanny-listings-grid .nanny-img,
.nanny-grid .nanny-img {
  height: 178px;
}

.nanny-pagination {
  margin-top: 28px;
}

.nanny-pagination .btn {
  gap: 8px;
}

.service-listings-page {
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 34%),
    radial-gradient(circle at 85% 10%, rgba(16, 185, 129, 0.10), transparent 24%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  min-height: 100vh;
}

.service-hero {
  padding: 40px 0 34px;
  position: relative;
  overflow: hidden;
}

.service-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.68fr);
  gap: 34px;
  align-items: center;
}

.service-hero-copy {
  max-width: 720px;
}

.service-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #ffffff;
  color: var(--primary);
  border: 1px solid #dbeafe;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.10);
  margin-bottom: 18px;
}

.service-hero-copy h1 {
  font-size: clamp(1.95rem, 3.7vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -1px;
  color: #ffffff;
  margin-bottom: 14px;
}

.service-hero-copy p {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 20px;
}

.service-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-hero-actions .btn {
  gap: 8px;
}

.service-hero-panel {
  display: grid;
  gap: 14px;
}

.service-panel-card {
  background: rgba(71, 85, 105, 0.82));
  border: 0 solid rgba(226,232,240,0.95);
  border-radius: 22px;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.10);
}

.service-panel-card span {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #eff6ff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.service-panel-card strong {
  display: block;
  color: #0f172a;
  font-size: 0.98rem;
  margin-bottom: 3px;
}

.service-panel-card small {
  color: #64748b;
  line-height: 1.45;
  font-size: 0.84rem;
}

.service-results-section {
  padding: 8px 0 64px;
}

.service-filter-card {
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(226,232,240,0.95);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
  padding: 22px;
  margin-bottom: 26px;
}

.service-filter-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.service-filter-head h2,
.service-results-head h2 {
  color: #ffff;
  font-size: 1.35rem;
  letter-spacing: -0.4px;
  margin-bottom: 4px;
}

.service-filter-head p {
  color: #64748b;
  font-size: 0.92rem;
}

.service-filter-head .btn {
  gap: 8px;
}

.service-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-filter-grid .filter-field {
  display: grid;
  gap: 7px;
}

.service-filter-grid label {
  color: #334155;
  font-size: 0.84rem;
  font-weight: 900;
}

.service-filter-grid input,
.service-filter-grid select {
  min-height: 46px;
  border-radius: 14px;
  border-color: #e2e8f0;
  background: #ffffff;
}

.service-filter-grid input:focus,
.service-filter-grid select:focus {
  outline: none;
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(37,99,235,0.10);
}

.service-filter-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.service-filter-actions .btn {
  gap: 8px;
}

.service-results-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin: 8px 0 16px;
}

.service-listings-grid .service-card,
.service-grid .service-card {
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
  transition: 0.2s ease;
}

.service-listings-grid .service-card:hover,
.service-grid .service-card:hover {
  transform: translateY(-3px);
  border-color: #bfdbfe;
}

.service-listings-grid .service-img,
.service-grid .service-img {
  height: 185px;
}

.service-listings-grid .service-body,
.service-grid .service-body {
  padding: 16px;
}

.service-pagination {
  margin-top: 30px;
}

.service-pagination .btn {
  gap: 8px;
}

.post-roommate-hero {
  padding: 42px 0 34px;
  background:  transparent !important;
}

.post-roommate-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.62fr);
  gap: 34px;
  align-items: center;
}

.post-roommate-copy {
  max-width: 720px;
}

.post-roommate-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #ffffff;
  color: var(--primary);
  border: 1px solid #dbeafe;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.10);
  margin-bottom: 18px;
}

.post-roommate-copy h1 {
  font-size: clamp(1.95rem, 3.7vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -1px;
  color: #ffffff;
  margin-bottom: 14px;
}

.post-roommate-copy p {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 650px;
}

.post-roommate-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.post-roommate-features div {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 0.88rem;
  font-weight: 800;
  color: #334155;
}

.post-roommate-sidecard {
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(226,232,240,0.95);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  padding: 22px;
}

.post-roommate-sidecard h3 {
  color: #0f172a;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.tip-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
}

.tip-item + .tip-item {
  border-top: 1px solid #e2e8f0;
}

.tip-item span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.tip-item strong {
  display: block;
  color: #0f172a;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.tip-item small {
  color: #64748b;
  line-height: 1.5;
}

.roommate-post-card {
  border-radius: 26px;
  padding: 8px;
}

.roommate-post-card .card-body {
  padding: 10px;
}

#roommateForm {
  display: grid;
  gap: 22px;
}

#roommateForm h3 {
  color: #0f172a;
  font-size: 1.15rem;
  margin-bottom: -8px;
}

#roommateForm input,
#roommateForm select,
#roommateForm textarea {
  min-height: 48px;
  border-radius: 14px;
  border-color: #e2e8f0;
  background: #ffffff;
}

#roommateForm textarea {
  min-height: 130px;
}

#roommateForm input:focus,
#roommateForm select:focus,
#roommateForm textarea:focus {
  outline: none;
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(37,99,235,0.10);
}

#photos {
  padding: 14px;
  border: 2px dashed #cbd5e1;
  background: #f8fafc;
}

#roommateForm .btn-primary {
  min-height: 52px;
  border-radius: 14px;
  font-size: 0.98rem;
  font-weight: 900;
}

#statusMessage {
  text-align: center;
  font-weight: 700;
}

.preview-item img,
.preview-item video {
  border-radius: 14px;
}

.post-nanny-hero {
  padding: 42px 0 34px;
  background:  transparent !important;
}

.post-nanny-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.62fr);
  gap: 34px;
  align-items: center;
}

.post-nanny-copy {
  max-width: 720px;
}

.post-nanny-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #ffffff;
  color: var(--primary);
  border: 1px solid #dbeafe;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.10);
  margin-bottom: 18px;
}

.post-nanny-copy h1 {
  font-size: clamp(1.95rem, 3.7vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -1px;
  color: #ffffff;
  margin-bottom: 14px;
}

.post-nanny-copy p {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 650px;
}

.post-nanny-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.post-nanny-features div {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 0.88rem;
  font-weight: 800;
  color: #334155;
}

.post-nanny-sidecard {
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(226,232,240,0.95);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.post-nanny-sidecard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), #60a5fa, #f9a8d4);
}

.post-nanny-sidecard h3 {
  color: #0f172a;
  font-size: 1.2rem;
  margin: 8px 0 16px;
}

.nanny-tip-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
}

.nanny-tip-item + .nanny-tip-item {
  border-top: 1px solid #e2e8f0;
}

.nanny-tip-item span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #eff6ff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.nanny-tip-item strong {
  display: block;
  color: #0f172a;
  font-size: 0.95rem;
  margin-bottom: 3px;
}

.nanny-tip-item small {
  color: #64748b;
  line-height: 1.5;
}

.post-nanny-card {
  border-radius: 26px;
  padding: 8px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(226,232,240,0.95);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
}

.post-nanny-card .card-body {
  padding: 10px;
}

#nannyForm {
  display: grid;
  gap: 22px;
}

#nannyForm h3 {
  color: #0f172a;
  font-size: 1.15rem;
}

#nannyForm input,
#nannyForm select,
#nannyForm textarea {
  min-height: 48px;
  border-radius: 14px;
  border-color: #e2e8f0;
  background: #ffffff;
}

#nannyForm textarea {
  min-height: 130px;
}

#nannyForm input:focus,
#nannyForm select:focus,
#nannyForm textarea:focus {
  outline: none;
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(37,99,235,0.10);
}

#nannyForm .nanny-checks label {
  border: 1px solid #dbeafe;
  font-weight: 400;
}

#nannyForm #photos {
  padding: 14px;
  border: 2px dashed #cbd5e1;
  background: #f8fafc;
}

#nannyForm .btn-primary {
  min-height: 52px;
  border-radius: 14px;
  font-size: 0.98rem;
  font-weight: 900;
}

#nannyForm #statusMessage {
  text-align: center;
  font-weight: 700;
  margin-top: 10px;
}

#previewGrid .preview-item img,
#previewGrid .preview-item video {
  border-radius: 14px;
}

.post-service-hero {
  padding: 42px 0 36px;
  background:  transparent !important;
}

.post-service-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.62fr);
  gap: 34px;
  align-items: center;
}

.post-service-copy {
  max-width: 720px;
}

.post-service-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--primary);
  border: 1px solid #dbeafe;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
  margin-bottom: 18px;
  box-shadow: 0 10px 24px rgba(37,99,235,0.10);
}

.post-service-copy h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -1px;
  color: #ffffff;
  margin-bottom: 14px;
}

.post-service-copy p {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 650px;
}

.post-service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.post-service-features div {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 0.88rem;
  font-weight: 800;
  color: #334155;
}

.post-service-sidecard {
  background: rgba(255,255,255,0.97);
  border: 1px solid rgba(226,232,240,0.95);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 24px 60px rgba(15,23,42,0.12);
  position: relative;
  overflow: hidden;
}

.post-service-sidecard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), #60a5fa, #fb923c);
}

.post-service-sidecard h3 {
  color: #0f172a;
  font-size: 1.2rem;
  margin: 8px 0 16px;
}

.service-tip-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
}

.service-tip-row + .service-tip-row {
  border-top: 1px solid #e2e8f0;
}

.service-tip-row span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #eff6ff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.service-tip-row strong {
  display: block;
  color: #0f172a;
  font-size: 0.95rem;
  margin-bottom: 3px;
}

.service-tip-row small {
  color: #64748b;
  line-height: 1.5;
}

.post-service-card {
  border-radius: 26px;
  background: rgba(255,255,255,0.97);
  border: 1px solid rgba(226,232,240,0.95);
  box-shadow: 0 18px 45px rgba(15,23,42,0.10);
  padding: 10px;
}

.post-service-card .form-note {
  background: rgba(71, 85, 105, 0.82);
  border: 1px solid #bfdbfe;
  color: #ffff;
  border-radius: 16px;
  padding: 14px 16px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 22px;
}

#serviceForm {
  display: grid;
  gap: 22px;
}

#serviceForm h3 {
  color: #ffffff;
  font-size: 1.15rem;
}

#serviceForm input,
#serviceForm select,
#serviceForm textarea {
  min-height: 48px;
  border-radius: 14px;
  border-color: #e2e8f0;
  background: #ffffff;
}

#serviceForm textarea {
  min-height: 140px;
}

#serviceForm input:focus,
#serviceForm select:focus,
#serviceForm textarea:focus {
  outline: none;
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(37,99,235,0.10);
}

#serviceForm #photos {
  padding: 14px;
  border: 2px dashed #cbd5e1;
  background: #f8fafc;
}

#serviceForm .checkbox-inline {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 400;
}

#serviceForm .btn-primary {
  min-height: 54px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 900;
}

#serviceForm #statusMessage {
  text-align: center;
  font-weight: 700;
}

.preview-grid img,
.preview-grid video {
  border-radius: 14px;
}

.roommate-details-page {
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 34%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  min-height: 100vh;
}

.roommate-details-main {
  padding: 34px 0 70px;
}

.roommate-details-shell {
  padding-top: 8px;
}

.roommate-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 900;
  font-size: 0.9rem;
  box-shadow: 0 10px 24px rgba(37,99,235,0.08);
  margin-bottom: 18px;
}

.roommate-back-link:hover {
  background: #eff6ff;
}

.roommate-details-status {
  color: #64748b;
  font-weight: 800;
  margin-bottom: 16px;
}

.roommate-details-layout {
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
  gap: 26px;
  align-items: start;
}

.roommate-details-left {
  display: grid;
  gap: 20px;
}

.roommate-gallery-card,
.roommate-title-card,
.roommate-info-card,
.roommate-contact-card {
  background: rgba(71, 85, 105, 0.82);
  border: 1px solid rgba(226,232,240,0.95);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
  }

.roommate-gallery-card {
  padding: 14px;
  overflow: hidden;
}

.roommate-main-photo {
  height: 470px;
  border-radius: 20px;
  background: linear-gradient(135deg, #bfdbfe, #eff6ff);
  color: #1d4ed8;
  box-shadow: inset 0 0 0 1px rgba(226,232,240,0.75);
}

.roommate-main-photo img {
  object-fit: contain !important;
  object-position: center !important;
  background: #f8fafc;
}

.roommate-main-photo video {
  object-fit: contain !important;
  background: #0f172a;
}

.roommate-thumbnail-row {
  margin: 14px 0 0;
}

.roommate-thumbnail-row .thumb {
  height: 86px;
  border-radius: 14px;
  border: 2px solid transparent;
  transition: 0.2s ease;
}

.roommate-thumbnail-row .thumb:hover,
.roommate-thumbnail-row .thumb.active {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.roommate-title-card {
  padding: 24px;
}

.roommate-title-top {
  margin-bottom: 12px;
}

.roommate-detail-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.82rem;
  font-weight: 900;
}

.roommate-title-card h1 {
  color: #0f172a;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -0.7px;
  margin-bottom: 8px;
}

.roommate-price {
  font-size: 1.95rem;
  margin: 10px 0 6px;
}

.roommate-location {
  color: #64748b;
  font-weight: 800;
}

.roommate-description {
  color: #475569;
  line-height: 1.75;
  margin-top: 14px;
}

.roommate-info-card {
  padding: 22px;
}

.detail-card-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.detail-card-heading span {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: #eff6ff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.detail-card-heading h2 {
  color: #0f172a;
  font-size: 1.25rem;
  letter-spacing: -0.3px;
}

.roommate-detail-grid {
  gap: 12px;
}

.roommate-detail-grid .amenity,
.roommate-detail-grid .info-item {
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  min-height: 48px;
  display: flex;
  align-items: center;
}

.roommate-contact-card {
  position: sticky;
  top: 105px;
  padding: 24px;
  overflow: hidden;
}

.roommate-contact-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), #60a5fa, #93c5fd);
}

.roommate-contact-card .contact-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #eff6ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin: 10px 0 14px;
}

.roommate-contact-card h2 {
  color: #0f172a;
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.contact-card-subtitle {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.roommate-contact-lines {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.roommate-contact-card .contact-line {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 12px;
  margin: 0;
}

.roommate-contact-card .contact-line strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #334155;
  font-size: 0.84rem;
  margin-bottom: 5px;
}

.roommate-contact-card .contact-line span {
  color: #0f172a;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.roommate-email-button {
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
  gap: 8px;
  border: none;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
}

.nanny-details-page {
  background: radial-gradient(circle at top left, rgba(236, 72, 153, 0.10), transparent 34%),
    radial-gradient(circle at 84% 10%, rgba(37, 99, 235, 0.10), transparent 28%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  min-height: 100vh;
}

.nanny-details-main {
  padding: 34px 0 70px;
}

.nanny-details-shell {
  padding-top: 8px;
}

.nanny-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 900;
  font-size: 0.9rem;
  box-shadow: 0 10px 24px rgba(37,99,235,0.08);
  margin-bottom: 18px;
}

.nanny-back-link:hover {
  background: #eff6ff;
}

.nanny-details-status {
  color: #64748b;
  font-weight: 800;
  margin-bottom: 16px;
}

.nanny-details-layout {
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
  gap: 26px;
  align-items: start;
}

.nanny-details-left {
  display: grid;
  gap: 20px;
}

.nanny-gallery-card,
.nanny-title-card,
.nanny-info-card,
.nanny-review-card,
.nanny-contact-card {
  background: rgba(255,255,255,0.97);
  border: 1px solid rgba(226,232,240,0.95);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
}

.nanny-gallery-card {
  padding: 14px;
  overflow: hidden;
}

.nanny-main-photo {
  height: 470px;
  border-radius: 20px;
  background: linear-gradient(135deg, #fbcfe8, #eff6ff);
  color: #be185d;
  box-shadow: inset 0 0 0 1px rgba(226,232,240,0.75);
}

.nanny-main-photo img {
  object-fit: contain !important;
  object-position: center !important;
  background: #f8fafc;
}

.nanny-main-photo video {
  object-fit: contain !important;
  background: #0f172a;
}

.nanny-thumbnail-row {
  margin: 14px 0 0;
}

.nanny-thumbnail-row .thumb {
  height: 86px;
  border-radius: 14px;
  border: 2px solid transparent;
  transition: 0.2s ease;
}

.nanny-thumbnail-row .thumb:hover,
.nanny-thumbnail-row .thumb.active {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.nanny-title-card {
  padding: 24px;
}

.nanny-title-top {
  margin-bottom: 12px;
}

.nanny-detail-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #be185d;
  background: #fdf2f8;
  border: 1px solid #fbcfe8;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.82rem;
  font-weight: 900;
}

.nanny-title-card h1 {
  color: #0f172a;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -0.7px;
  margin-bottom: 8px;
}

.nanny-price-detail {
	
  font-size: clamp(1.25rem, 2vw, 1.25rem);
  margin: 10px 0 6px;
  color: #ffffff;
  
  font-weight: 400;
}

.nanny-location {
  color: #64748b;
  font-weight: 800;
}

.nanny-bio {
  color: #E2E8F0;
  line-height: 1.75;
  margin-top: 14px;
}

.nanny-info-card,
.nanny-review-card {
  padding: 22px;
}

.detail-card-heading.nanny-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.detail-card-heading.nanny-heading span {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: #eff6ff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.detail-card-heading.nanny-heading h2 {
  color: #0f172a;
  font-size: 1.25rem;
  letter-spacing: -0.3px;
}

.nanny-info-grid {
  gap: 12px;
}

.nanny-info-grid .info-item {
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #9BAEC1;
  min-height: 48px;
  display: flex;
  align-items: center;
}

.nanny-review-summary {
  background: #e2e8f0;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 14px;
}

.nanny-reviews-list {
  display: grid;
  gap: 12px;
}

.nanny-reviews-list .review-card {
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
}

.review-form-panel {
  margin-top: 20px;
  background: background: rgba(71, 85, 105, 0.82);
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 18px;
}

.review-form-panel h3 {
  color: #0f172a;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.nanny-review-form input,
.nanny-review-form select,
.nanny-review-form textarea {
  min-height: 48px;
  border-radius: 14px;
  border-color: #e2e8f0;
}

.nanny-review-form textarea {
  min-height: 125px;
}

.nanny-review-form input:focus,
.nanny-review-form select:focus,
.nanny-review-form textarea:focus {
  outline: none;
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(37,99,235,0.10);
}

.nanny-review-form .btn {
  gap: 8px;
  min-height: 50px;
  border-radius: 14px;
}

.nanny-review-status {
  text-align: center;
  font-weight: 800;
}

.nanny-contact-card {
  position: sticky;
  top: 105px;
  padding: 24px;
  overflow: hidden;
}

.nanny-contact-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), #60a5fa, #f9a8d4);
}

.nanny-contact-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #eff6ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin: 10px 0 14px;
}

.nanny-contact-card h2 {
  color: #0f172a;
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.nanny-contact-subtitle {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.nanny-contact-lines {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.nanny-contact-card .contact-line {
  background: background: rgba(71, 85, 105, 0.82);
  border: 0px solid #e2e8f0;
  border-radius: 16px;
  padding: 12px;
  margin: 0;
}

.nanny-contact-card .contact-line strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0f172a;
  font-size: 0.84rem;
  margin-bottom: 5px;
}

.nanny-contact-card .contact-line span {
  color: #9BAEC1;
  overflow-wrap: anywhere;
}

.nanny-contact-buttons .btn {
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
  gap: 8px;
}

.nanny-contact-buttons .btn-primary {
  border: none;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
}

.service-details-page {
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 34%),
    radial-gradient(circle at 90% 10%, rgba(14, 165, 233, 0.10), transparent 28%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  min-height: 100vh;
}

.service-details-main {
  padding: 30px 0 70px;
}

.service-details-page .details-layout {
  gap: 28px;
  align-items: start;
}

.service-details-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #dbeafe;
  color: var(--primary);
  padding: 10px 15px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(37,99,235,0.08);
  margin-bottom: 18px;
}

.service-details-page .back-link:hover {
  background: #eff6ff;
}

.service-details-page #statusMessage {
  color: #64748b;
  font-weight: 800;
  margin-bottom: 16px;
}

.service-details-page .main-photo {
  height: 430px;
  max-height: 430px;
  border-radius: 24px;
  overflow: hidden;
  background: #f8fafc;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  margin-bottom: 16px;
}

.service-details-page .main-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center;
  background: #f8fafc;
}

.service-details-page .main-photo video {
  object-fit: contain !important;
  background: #0f172a;
}

.service-details-page .thumbnail-row {
  gap: 12px;
  margin-bottom: 22px;
}

.service-details-page .thumb {
  height: 88px;
  border-radius: 16px;
  border: 2px solid transparent;
  transition: 0.2s ease;
}

.service-details-page .thumb:hover,
.service-details-page .thumb.active {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.service-details-page .details-card {
  background: rgba(255,255,255,0.97);
  border: 1px solid rgba(226,232,240,0.95);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.10);
  padding: 24px;
  margin-bottom: 20px;
}

.service-details-page h1 {
  color: #0f172a;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.8px;
  margin-bottom: 10px;
}

.service-details-page .details-price {
  font-size: 2rem;
  margin: 10px 0;
  color: var(--primary);
}

.service-details-page .details-meta {
  color: #64748b;
  font-weight: 600;
}

.service-details-page #serviceDescription {
  margin-top: 16px;
  color: #E2E8F0;
  line-height: 1.8;
}

.service-details-page .details-card h2,
.service-details-page .details-card h3,
.service-details-page .details-card h4 {
  color: #0f172a;
  margin-bottom: 14px;
}

.service-details-page .info-grid {
  gap: 12px;
}

.service-details-page .info-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  color: #9BAEC1;
  padding: 14px;
}

.service-details-page .review-summary {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 16px;
}

.service-details-page .review-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px;
}

.service-details-page .review-form-grid {
  gap: 12px;
}

.service-details-page .review-form-grid input,
.service-details-page .review-form-grid select,
.service-details-page .review-form-grid textarea {
  border-radius: 14px;
  border-color: #dbe2ea;
  min-height: 50px;
  
}

.service-details-page .review-form-grid textarea {
  min-height: 130px;
}

.service-details-page .review-form-grid input:focus,
.service-details-page .review-form-grid select:focus,
.service-details-page .review-form-grid textarea:focus {
  outline: none;
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(37,99,235,0.10);
}

.service-details-page .review-form-grid .btn {
  min-height: 52px;
  border-radius: 14px;
  font-size: 0.96rem;
}

.service-details-page .contact-box {
  position: sticky;
  top: 100px;
  overflow: hidden;
}

.service-details-page .contact-box::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), #38bdf8);
}

.service-details-page .contact-box h2 {
  font-size: 1.45rem;
  margin-bottom: 16px;
}

.service-details-page .contact-line {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 12px;
}

.service-details-page .contact-line strong {
  display: block;
  color: #0f172a;;
  margin-bottom: 5px;
  font-size: 0.84rem;
}

.service-details-page .contact-line span {
  color: #9BAEC1;
  font-weight: 400;
}

.service-details-page .button-stack {
  gap: 12px;
}

.service-details-page .button-stack .btn {
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
  font-weight: 800;
}

.service-details-page .btn-primary {
  border: none;
  box-shadow: 0 14px 30px rgba(37,99,235,0.22);
}

.my-listings-page {
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 34%),
    radial-gradient(circle at 88% 10%, rgba(16, 185, 129, 0.10), transparent 26%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  min-height: 100vh;
}

.my-listings-main {
  padding-bottom: 70px;
}

.my-listings-hero {
  padding: 42px 0 34px;
}

.my-listings-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.62fr);
  gap: 34px;
  align-items: center;
}

.my-listings-copy {
  max-width: 740px;
}

.my-listings-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #ffffff;
  color: var(--primary);
  border: 1px solid #dbeafe;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(37,99,235,0.10);
  margin-bottom: 18px;
}

.my-listings-copy h1 {
  color: #ffffff;
  font-size: clamp(1.95rem, 3.7vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 14px;
}

.my-listings-copy p {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 650px;
  margin-bottom: 22px;
}

.my-listings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.my-listings-actions .btn {
  gap: 8px;
}

.my-listings-sidecard {
  background: rgba(255,255,255,0.97);
  border: 1px solid rgba(226,232,240,0.95);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 24px 60px rgba(15,23,42,0.12);
  position: relative;
  overflow: hidden;
}

.my-listings-sidecard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), #60a5fa, #34d399);
}

.my-listings-sidecard h3 {
  color: #0f172a;
  font-size: 1.2rem;
  margin: 8px 0 16px;
}

.my-listings-tip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
}

.my-listings-tip + .my-listings-tip {
  border-top: 1px solid #e2e8f0;
}

.my-listings-tip span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #eff6ff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.my-listings-tip strong {
  display: block;
  color: #0f172a;
  font-size: 0.95rem;
  margin-bottom: 3px;
}

.my-listings-tip small {
  color: #64748b;
  line-height: 1.5;
}

.my-listings-content-section {
  padding: 4px 0 64px;
}

.my-listings-toolbar-loved {
  background: rgba(255,255,255,0.97);
  border: 1px solid rgba(226,232,240,0.95);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(15,23,42,0.10);
  padding: 22px;
}

.my-listings-toolbar-loved strong {
  display: block;
  color: #0f172a;
  font-size: 1.15rem;
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}

.my-listings-toolbar-loved .muted {
  color: #64748b;
  font-size: 0.92rem;
}

.my-listings-toolbar-loved .btn {
  gap: 8px;
  white-space: nowrap;
}

.my-listings-page #statusMessage {
  color: #64748b;
  font-weight: 800;
  margin: 12px 0 18px;
}

.my-listings-page .my-listings-grid {
  gap: 20px;
}

.my-listings-page .my-listing-card {
  border-radius: 20px;
  border: 1px solid rgba(226,232,240,0.95);
  box-shadow: 0 14px 36px rgba(15,23,42,0.09);
  transition: 0.2s ease;
}

.my-listings-page .my-listing-card:hover {
  transform: translateY(-3px);
  border-color: #bfdbfe;
}

.my-listings-page .my-listing-image {
  height: 200px;
  background: linear-gradient(135deg, #bfdbfe, #eff6ff);
}

.my-listings-page .my-listing-image img {
  object-fit: cover;
}

.my-listings-page .my-listing-body {
  padding: 18px;
}

.my-listings-page .my-listing-topline {
  margin-bottom: 12px;
}

.my-listings-page .listing-type-pill,
.my-listings-page .status-pill {
  padding: 6px 10px;
  font-size: 0.76rem;
}

.my-listings-page .my-listing-description {
  color: #B6C2D1;
  line-height: 1.6;
}

.my-listings-page .my-listing-actions .btn {
  border-radius: 12px;
  min-height: 42px;
}

.edit-roommate-page {
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 34%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.edit-roommate-main {
  padding-bottom: 70px;
}

.edit-roommate-hero {
  padding: 42px 0 24px;
}

.edit-roommate-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #2563eb;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  padding: 8px 13px;
  font-weight: 800;
  margin-bottom: 18px;
}

.edit-roommate-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #fffff;
  line-height: 1.05;
  margin-bottom: 14px;
}

.edit-roommate-hero p {
  color: #64748b;
  max-width: 640px;
  line-height: 1.7;
}

.edit-roommate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.55fr);
  gap: 26px;
  align-items: start;
}

.edit-roommate-card,
.edit-roommate-sidecard {
  background: rgba(255,255,255,0.97);
  border: 1px solid rgba(226,232,240,0.95);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(15,23,42,0.10);
}

.edit-roommate-card {
  padding: 24px;
}

.edit-roommate-sidecard {
  padding: 22px;
  position: sticky;
  top: 100px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.section-title span {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-title h2 {
  color: #0f172a;
  font-size: 1.2rem;
}

.section-title small {
  color: #64748b;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group textarea {
  min-height: 130px;
}

label {
  display: block;
  font-weight: 800;
  margin-bottom: 8px;
  color: #334155;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.checkbox-pill {
  background: #eff6ff;
  color: #1d4ed8;
  border-radius: 999px;
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.checkbox-pill input {
  width: auto;
}

.upload-box {
  border: 2px dashed #cbd5e1;
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  background: #f8fafc;
  margin-bottom: 18px;
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.status-message {
  margin-top: 16px;
  font-weight: 800;
}

.status-message.success {
  color: #16a34a;
}

.status-message.error {
  color: #dc2626;
}

.edit-roommate-page .preview-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.edit-roommate-page .preview-img,
.edit-roommate-page .preview-video {
  width: 100%;
  height: 135px;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

.edit-roommate-page .form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.edit-roommate-page #statusMessage.auth-status-success {
  color: #16a34a;
  font-weight: 800;
}

.edit-roommate-page #statusMessage.auth-status-error {
  color: #dc2626;
  font-weight: 800;
}

.edit-roommate-page .current-media-panel,
.edit-roommate-page .new-media-panel,
.edit-roommate-page .edit-upload-box {
  margin-bottom: 22px;
  margin: 22px 0;
}

.edit-roommate-page .current-media-panel h3,
.edit-roommate-page .new-media-panel h3,
.edit-roommate-page .edit-upload-box h3 {
  color: #0f172a;
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.edit-roommate-page .single-upload-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.edit-roommate-page .single-upload-slot {
  display: grid;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px;
  margin: 0;
}

.edit-roommate-page .single-upload-slot span {
  color: #334155;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.edit-roommate-page .single-upload-slot input {
  padding: 10px;
  border-radius: 12px;
  background: #f8fafc;
}

.edit-roommate-page .primary-media-badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: rgba(37, 99, 235, 0.92);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 4px 8px;
  border-radius: 999px;
}

.edit-roommate-page .remove-preview-btn {
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 5;
}

.edit-roommate-page .post-style-upload-box {
  margin: 22px 0;
}

.edit-roommate-page .post-style-upload-box h3 {
  color: #0f172a;
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.edit-roommate-page #photos {
  margin-top: 14px;
  padding: 14px;
  border: 2px dashed #d7e3f3;
  background: #ffffff;
  border-radius: 18px;
  min-height: 64px;
}

.edit-roommate-page #previewGrid.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 22px;
  margin-bottom: 22px;
}

.edit-roommate-page #previewGrid .preview-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  box-shadow: 0 8px 22px rgba(15,23,42,0.08);
}

.edit-roommate-page #previewGrid .preview-img,
.edit-roommate-page #previewGrid .preview-video {
  width: 100%;
  height: 112px;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

.edit-roommate-page #previewGrid .remove-preview-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.90);
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.edit-roommate-page #previewGrid .remove-preview-btn:hover {
  background: #dc2626;
}

.edit-nanny-page .current-media-panel,
.edit-nanny-page .new-media-panel,
.edit-nanny-page .edit-upload-box,
.edit-service-page .current-media-panel,
.edit-service-page .new-media-panel,
.edit-service-page .edit-upload-box {
  margin: 22px 0;
}

.edit-nanny-page .current-media-panel h3,
.edit-nanny-page .post-style-upload-box h3,
.edit-service-page .current-media-panel h3,
.edit-service-page .post-style-upload-box h3 {
  color: #0f172a;
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.edit-nanny-page #photos,
.edit-service-page #photos {
  margin-top: 14px;
  padding: 14px;
  border: 2px dashed #d7e3f3;
  background: #ffffff;
  border-radius: 18px;
  min-height: 64px;
}

.edit-nanny-page #previewGrid.preview-grid,
.edit-nanny-page #currentMediaGrid.preview-grid,
.edit-service-page #previewGrid.preview-grid,
.edit-service-page #currentMediaGrid.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 22px;
  margin-bottom: 22px;
}

.edit-nanny-page .preview-item,
.edit-service-page .preview-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  box-shadow: 0 8px 22px rgba(15,23,42,0.08);
}

.edit-nanny-page .preview-img,
.edit-nanny-page .preview-video,
.edit-service-page .preview-img,
.edit-service-page .preview-video {
  width: 100%;
  height: 112px;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

.edit-nanny-page .remove-preview-btn,
.edit-service-page .remove-preview-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.90);
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.edit-nanny-page .remove-preview-btn:hover,
.edit-service-page .remove-preview-btn:hover {
  background: #dc2626;
}

.edit-nanny-page .primary-media-badge,
.edit-service-page .primary-media-badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: rgba(37, 99, 235, 0.92);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 4px 8px;
  border-radius: 999px;
}

.edit-nanny-page .form-actions,
.edit-service-page .form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.edit-nanny-page #statusMessage.auth-status-success,
.edit-service-page #statusMessage.auth-status-success {
  color: #16a34a;
  font-weight: 800;
}

.edit-nanny-page #statusMessage.auth-status-error,
.edit-service-page #statusMessage.auth-status-error {
  color: #dc2626;
  font-weight: 800;
}

.subscription-page {
  background: linear-gradient(180deg,#f8fafc,#eef2f7);
}

.subscription-success-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px;
}

.subscription-success-card {
  background: #ffffff;
  max-width: 620px;
  width: 100%;
  border-radius: 30px;
  padding: 44px;
  text-align: center;
  border: 1px solid #e5e7eb;
  box-shadow: 0 24px 60px rgba(15,23,42,0.12);
}

.success-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #eff6ff;
  color: #2563eb;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  font-size: 3rem;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.my-listing-actions .btn,
.my-listing-actions a.btn {
  padding: 8px 12px;
  font-size: 0.85rem;
  min-height: 38px;
  white-space: nowrap;
  border-radius: 10px;
  font-weight: 700;
}

.my-listing-actions .btn i,
.my-listing-actions a.btn i {
  margin-right: 5px;
}

.my-listing-actions .activate-btn {
  padding: 8px 12px;
  font-size: 0.82rem;
}

.listing-views {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #7c8798;

  padding: 3px 7px;
  height: 30px;
  line-height: 1;

  font-size: 0.8rem;
  font-weight: 650;
  margin: 8px 0 10px;

  border-radius: 999px;
}

.listing-views i {
  color: #64748b !important;
  font-size: 0.9rem;
}

.detail-views {
  display: flex;
  width: fit-content;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 7px 11px;
  margin: 8px 0 14px;
}

.small-listing-body .listing-views,
.nanny-body .listing-views,
.service-body .listing-views {
  color: #8a94a6;
  margin-top: 6px;
  margin-bottom: 10px;
}

.clickable-listing-card .listing-image-link {
  display: block;
  color: inherit;
}

.clickable-listing-card .listing-image-link:hover img {
  transform: scale(1.035);
}

.clickable-listing-card .small-listing-img img,
.clickable-listing-card .nanny-img img,
.clickable-listing-card .service-img img,
.clickable-listing-card .my-listing-image img {
  transition: transform 0.25s ease;
}

.listing-title-link {
  color: #ffffff;
  display: inline-block;
}

.listing-title-link h3 {
  transition: color 0.18s ease;
}

.listing-title-link:hover h3 {
  color: var(--primary);
}

.listing-description-link {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 8px 0 10px;
  transition: color 0.18s ease;
}

.listing-description-link:hover {
  color: var(--primary);
}

.listing-description-link:empty {
  display: none;
}

.my-listing-description.listing-description-link {
  color: #64748b;
}

.read-more-ellipsis {
  color: #dc2626;
  font-weight: 900;
  white-space: nowrap;
}

.listing-description-link:hover .read-more-ellipsis {
  color: #b91c1c;
  text-decoration: underline;
}

.listing-description-text {
  display: block;
  color: #E2E8F0;
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 8px 0 10px;
}

.listing-description-text .read-more-ellipsis,
.read-more-ellipsis {
  color: #dc2626 !important;
  font-weight: 900;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.listing-description-text .read-more-ellipsis:hover,
.read-more-ellipsis:hover {
  color: #b91c1c !important;
  text-decoration: underline;
}

.home-listing-card:hover {
  transform: translateY(-4px);
}

.home-listing-card:hover .home-listing-img img {
  transform: scale(1.04);
}

.home-listing-title-link {
  color: inherit;
}

.home-listing-title-link h3 {
  font-size: 1.08rem;
  line-height: 1.45;
  margin-bottom: 8px;
  transition: color 0.18s ease;
}

.home-listing-title-link:hover h3 {
  color: var(--primary);
}

.home-listing-meta {
  color: #64748b;
  margin-bottom: 10px;
}

.home-listing-views {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.home-listing-views i {
  color: #64748b;
}

.view-divider {
  opacity: 0.6;
}

.home-listing-more {
  color: #dc2626;
  font-weight: 900;
  text-decoration: none;
}

.home-listing-more:hover {
  text-decoration: underline;
  color: #b91c1c;
}

.home-listing-img > span {
  position: static !important;
  inset: auto !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit !important;
  box-shadow: none !important;
  display: inline !important;
  font-size: 2.4rem !important;
  line-height: 1 !important;
  transform: none !important;
}

.home-listing-img:not(:has(img)) {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  font-size: 2.4rem;
}

.admin-main {
  min-height: 70vh;
}

/* =========================================================
   ADMIN PAGE — CLEAN COMPACT MINALESH LAYOUT
   ========================================================= */
.admin-page-loved {
  background: transparent !important;
}

.admin-hero,
.admin-hero-loved {
  position: relative;
  padding: 10px 0 12px !important;
  overflow: hidden;
  background: transparent !important;
}

.admin-hero-loved::after {
  display: none !important;
}

.admin-hero-grid,
.admin-hero-grid-loved {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
}

.admin-big-container {
  padding: 22px !important;
  border-radius: 24px !important;
  overflow: visible !important;
}

.admin-hero-copy-loved {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  background: rgba(255,255,255,.10) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  color: #dbeafe !important;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 400 !important;
  margin-bottom: 10px;
}

.admin-hero h1,
.admin-hero-copy-loved h1 {
  max-width: 900px;
  font-size: clamp(1.75rem, 3vw, 2.65rem) !important;
  font-weight: 500 !important;
  line-height: 1.12;
  letter-spacing: -0.025em !important;
  color: #ffffff !important;
  margin: 0 0 8px !important;
}

.admin-hero p,
.admin-hero-copy-loved p {
  color: #e2e8f0 !important;
  font-size: .95rem !important;
  font-weight: 300 !important;
  line-height: 1.55 !important;
  max-width: 780px;
  margin: 0 !important;
}

.admin-hero-actions-loved {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.admin-hero-actions-loved .btn {
  min-height: 36px;
  padding: 8px 13px !important;
  border-radius: 10px;
  font-size: .84rem;
  font-weight: 500 !important;
}

.admin-hero-card-loved {
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 20px !important;
  padding: 18px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.admin-hero-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(37,99,235,.20) !important;
  color: #bfdbfe !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 10px;
}

.admin-hero-card-loved h3 {
  font-size: 1.05rem !important;
  font-weight: 500 !important;
  color: #ffffff !important;
  margin: 0 0 5px !important;
}

.admin-hero-card-loved p {
  color: #cbd5e1 !important;
  font-size: .82rem !important;
  line-height: 1.45 !important;
  margin-bottom: 12px !important;
}

.admin-mini-metrics-loved {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.admin-mini-metrics-loved span {
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 12px;
  padding: 9px 7px;
  text-align: center;
}

.admin-mini-metrics-loved strong {
  display: block;
  color: #ffffff !important;
  font-size: 1rem;
  line-height: 1;
}

.admin-mini-metrics-loved small {
  display: block;
  color: #cbd5e1 !important;
  font-size: .64rem;
  font-weight: 300 !important;
  margin-top: 4px;
}

.admin-content-section,
.admin-content-loved {
  padding: 0 0 28px !important;
}

.admin-content-big-container {
  margin-top: 0 !important;
}

.admin-status-loved:not(:empty) {
  background: rgba(255,255,255,.08) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 12px;
  padding: 9px 11px;
  box-shadow: none !important;
}

.admin-stat-grid,
.admin-stat-grid-loved {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px !important;
  margin: 0 0 14px !important;
}

.admin-stat-card,
.admin-stat-grid-loved .admin-stat-card {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.96) !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  padding: 9px 10px !important;
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.admin-stat-grid-loved .admin-stat-card::after {
  display: none !important;
}

.admin-stat-grid-loved .admin-stat-card:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe !important;
  box-shadow: 0 10px 22px rgba(15,23,42,.10) !important;
}

.admin-stat-card > span,
.admin-stat-grid-loved .admin-stat-card > span {
  width: 34px;
  height: 34px;
  border-radius: 10px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff !important;
  color: var(--primary) !important;
  box-shadow: none !important;
  flex: 0 0 auto;
}

.admin-stat-card strong {
  display: block;
  font-size: .92rem;
  font-weight: 400 !important;
  color: #0f172a;
  line-height: 1.1;
}

.admin-stat-card small {
  color: #64748b;
  font-size: .68rem;
  font-weight: 400 !important;
  line-height: 1.15;
}

.admin-workspace-loved,
.admin-panel-loved {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.admin-workspace-loved {
  padding: 0 !important;
  border-radius: 0 !important;
}

.admin-tabs,
.admin-tabs-loved {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  width: fit-content;
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 999px;
  padding: 4px;
  margin: 0 0 12px !important;
}

.admin-tab,
.admin-tabs-loved .admin-tab {
  border: 0 !important;
  background: transparent !important;
  border-radius: 999px;
  padding: 7px 12px !important;
  font-size: .80rem;
  font-weight: 400 !important;
  cursor: pointer;
  color: #e2e8f0 !important;
  box-shadow: none !important;
}

.admin-tab.active,
.admin-tab:hover,
.admin-tabs-loved .admin-tab.active,
.admin-tabs-loved .admin-tab:hover {
  background: #2563eb !important;
  color: #ffffff !important;
}

.admin-panel {
  display: none;
}

.admin-panel.active {
  display: block;
}

.admin-panel-loved {
  padding: 0 !important;
  border-radius: 0 !important;
}

.admin-panel-head,
.admin-panel-head-loved {
  display: flex;
  align-items: center !important;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px !important;
}

.admin-panel-head-loved h2 {
  font-size: 1.15rem !important;
  font-weight: 500 !important;
  color: #ffffff !important;
  margin-bottom: 2px;
}

.admin-panel-head-loved p,
.admin-panel-head-loved .muted {
  color: #cbd5e1 !important;
  font-size: .80rem;
  font-weight: 300 !important;
}

.admin-panel-tools-loved {
  min-width: min(100%, 340px);
}

.admin-search-loved {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.96) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 999px;
  padding: 6px 11px;
  color: #64748b;
}

.admin-search-loved input {
  border: 0 !important;
  background: transparent !important;
  padding: 3px 1px !important;
  border-radius: 0 !important;
  outline: none;
  font-size: .82rem;
  font-weight: 300 !important;
  box-shadow: none !important;
}

.admin-search-loved input::placeholder {
  font-weight: 300 !important;
  color: #94a3b8 !important;
}

.admin-table td {
  font-weight: 300 !important;
}

.admin-table td strong {
  font-weight: 400 !important;
}

.admin-table-wrap,
.admin-table-wrap-loved {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.98) !important;
}

.admin-table,
.admin-table-wrap-loved .admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 920px;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid #e5e7eb;
  padding: 10px 9px !important;
  text-align: left;
  vertical-align: middle;
  font-size: .82rem;
}

.admin-table th,
.admin-table-wrap-loved .admin-table th {
  color: #475569;
  font-size: .72rem;
  font-weight: 500 !important;
  text-transform: uppercase;
  letter-spacing: .035em;
  background: #f8fafc !important;
}

.admin-table small {
  color: #64748b;
  font-size: .72rem;
}

.admin-table-wrap-loved .admin-table tbody tr:hover {
  background: #f8fbff;
}

.btn-sm,
.admin-actions-cell .btn {
  padding: 6px 9px !important;
  border-radius: 8px;
  font-size: .74rem !important;
  font-weight: 500 !important;
  white-space: nowrap;
}

.admin-actions-cell {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.admin-panel-loved .status-pill {
  box-shadow: none !important;
  font-size: .72rem;
  font-weight: 500 !important;
}


.exchange-loved-section {
  padding: 20px 0 34px;
}

.exchange-loved-panel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: radial-gradient(circle at top left, rgba(255,255,255,.18), transparent 30%),
    linear-gradient(135deg, #0f172a, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  padding: 22px;
  max-width: 560px;
}

.exchange-loved-panel::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,.09);
}

.exchange-loved-main {
  position: relative;
  z-index: 2;
}

.exchange-loved-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.18);
  font-size: .88rem;
  font-weight: 800;
  margin-bottom: 13px;
}

.exchange-loved-rate {
  display: grid;
  gap: 6px;
}

.exchange-loved-rate span {
  font-size: .95rem;
  opacity: .88;
  font-weight: 800;
  letter-spacing: .06em;
}

.exchange-loved-rate strong {
  font-size: clamp(1.65rem, 3.4vw, 2.55rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.exchange-loved-subline {
  margin-top: 8px;
  color: rgba(255,255,255,.82);
  font-size: .95rem;
  font-weight: 650;
}

.exchange-loved-updated {
  margin-top: 14px;
  color: rgba(255,255,255,.78);
  font-size: .82rem;
  line-height: 1.45;
}

.exchange-inline-disclaimer {
  display: block;
  margin-top: 6px;
  color: #dbeafe !important;
  font-size: 0.76rem;
  font-weight: 750;
  opacity: 1;
  text-shadow: 0 1px 3px rgba(0,0,0,0.32);
}

.exchange-flash {
  animation: exchangeFlashPulse .45s ease;
}

@keyframes exchangeFlashPulse{

  0% { transform: scale(1); filter: brightness(1); }
  45% { transform: scale(1.012); filter: brightness(1.14); }
  100% { transform: scale(1); filter: brightness(1); }

}

.exchange-only-topline,
.exchange-only-footer,
.exchange-rate-table,
.exchange-rates-table,
.exchange-snapshot-card,
.exchange-snapshot,
.exchange-table-wrap,
.exchange-rates-old,
.exchange-rates-section table {
  display: none !important;
}

.home-hero-title-loved {
  max-width: 780px;
  letter-spacing: -0.055em;
}

.hero-exchange-widget {
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  padding: 18px !important;
  border-radius: 24px !important;
  color: #ffffff !important;
  background: linear-gradient(
      160deg,
      #0f172a,
      #1d4ed8
    ) !important;
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.24);
  transition: all 0.35s ease;
}

.hero-exchange-widget::after {
  content: "";
  position: absolute;
  right: -55px;
  top: -55px;
  width: 130px;
  height: 130px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
}

.hero-exchange-top,
.hero-exchange-rate,
.hero-exchange-name,
.hero-exchange-updated {
  position: relative;
  z-index: 2;
}

.hero-exchange-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.hero-exchange-top span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 850;
}

.hero-exchange-top small {
  background: rgba(250, 204, 21, 0.18);
  color: #fde68a;
  border: 1px solid rgba(253, 230, 138, 0.28);
  border-radius: 999px;
  padding: 4px 8px;
  font-weight: 850;
  font-size: 0.68rem;
  text-transform: capitalize;
}

.hero-exchange-rate {
  display: grid;
  gap: 4px;
}

.hero-exchange-rate span {
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  opacity: 0.88;
}

.hero-exchange-rate strong {
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-exchange-name {
  margin-top: 6px;
  color: rgba(255,255,255,0.84);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-exchange-updated {
  margin-top: 11px;
  color: rgba(255,255,255,0.84);
  font-size: 0.76rem;
  line-height: 1.38;
}

@keyframes exchangeFlashPulse{

  0% { transform: scale(1); filter: brightness(1); }
  45% { transform: scale(1.012); filter: brightness(1.14); }
  100% { transform: scale(1); filter: brightness(1); }

}

.exchange-loved-section,
.exchange-only-topline,
.exchange-only-footer,
.exchange-rate-table,
.exchange-rates-table,
.exchange-snapshot-card,
.exchange-snapshot,
.exchange-table-wrap,
.exchange-rates-old,
.exchange-rates-section table {
  display: none !important;
}

.hero-pro-panel .hero-exchange-widget span,
.hero-pro-panel .hero-exchange-widget small,
.hero-pro-panel .hero-exchange-widget strong {
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  display: inline !important;
  align-items: initial !important;
  justify-content: initial !important;
  flex: initial !important;
  color: inherit !important;
  font-size: inherit;
}

.hero-pro-panel .hero-exchange-widget {
  display: block !important;
  width: 100%;
  margin: 0 0 18px 0 !important;
  padding: 16px !important;
  border-radius: 18px !important;
  color: #ffffff !important;
  background: radial-gradient(circle at top right, rgba(255,255,255,.16), transparent 34%),
    linear-gradient(135deg, #0f172a, #1d4ed8) !important;
  box-shadow: 0 18px 36px rgba(37,99,235,.22);
}

.hero-pro-panel .hero-exchange-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin-bottom: 12px !important;
}

.hero-pro-panel .hero-exchange-top span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  color: #dbeafe !important;
}

.hero-pro-panel .hero-exchange-top small {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 4px 8px !important;
  border-radius: 999px !important;
  background: rgba(250, 204, 21, 0.18) !important;
  border: 1px solid rgba(253, 230, 138, 0.35) !important;
  color: #fde68a !important;
  font-size: 0.74rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.04em !important;
  text-transform: capitalize !important;
  white-space: nowrap !important;
}

.hero-pro-panel .hero-exchange-rate {
  display: grid !important;
  gap: 4px !important;
}

.hero-pro-panel .hero-exchange-rate span {
  display: block !important;
  font-size: 0.82rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  color: rgba(255,255,255,0.88) !important;
  line-height: 1.1 !important;
}

.hero-pro-panel .hero-exchange-rate strong {
  display: block !important;
  font-size: clamp(1.7rem, 3vw, 2.15rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.04em !important;
  color: #ffffff !important;
  white-space: nowrap !important;
}

.hero-pro-panel .hero-exchange-name {
  margin-top: 7px !important;
  color: rgba(255,255,255,0.82) !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  display: none !important;
}

.hero-pro-panel .hero-exchange-updated {
  margin-top: 10px !important;
  color: rgba(255,255,255,0.82) !important;
  font-size: 0.74rem !important;
  line-height: 1.35 !important;
}

.hero-pro-panel .exchange-inline-disclaimer {
  display: block !important;
  margin-top: 5px !important;
  color: #fde68a !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.35);
}

.hero-pro-panel .hero-exchange-widget i {
  color: #93c5fd !important;
  font-size: 0.78rem !important;
}

.hero-pro-panel .hero-exchange-widget span,
.hero-pro-panel .hero-exchange-widget small,
.hero-pro-panel .hero-exchange-widget strong,
.hero-pro-panel .hero-exchange-widget div {
  min-width: 0;
}

.hero-pro-panel .hero-exchange-widget span,
.hero-pro-panel .hero-exchange-widget strong {
  border-radius: 0 !important;
  background: transparent !important;
  width: auto !important;
  height: auto !important;
}

.hero-pro-panel .exchange-inline-disclaimer,
.exchange-inline-disclaimer {
  display: block !important;
  margin-top: 6px !important;
  color: #fde68a !important;
  font-size: 0.72rem !important;
  font-weight: 750 !important;
  line-height: 1.35 !important;
  opacity: 1 !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.35);
}

@keyframes exchangeFlashPulse{

  0% { transform: scale(1); filter: brightness(1); }
  45% { transform: scale(1.012); filter: brightness(1.14); }
  100% { transform: scale(1); filter: brightness(1); }

}

#zipCode,
#zipcode,
#ZipCode,
[name="zipCode"],
[name="zipcode"],
[name="ZipCode"] {
  display: none !important;
}

.hero-image-slider.hero-image-clean {
  height: 320px !important;
  max-width: 100%;
  border-radius: 22px;
}

.hero-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.hero-category-card {
  background: rgba(255,255,255,0.94) !important;
  border: 1px solid rgba(255,255,255,.46);
  border-radius: 18px;
  padding: 18px;
  text-align: center;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  box-shadow: 0 14px 28px rgba(15,23,42,.13);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.hero-category-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37,99,235,.28);
  box-shadow: 0 20px 40px rgba(15,23,42,.18);
}

.hero-category-card i {
  font-size: 1.5rem;
  color: #2563eb;
  margin-bottom: 12px;
  transform: scale(1);
  transition: transform .22s ease;
}

.hero-category-card strong {
  display: block;
  font-size: .98rem;
  color: #0f172a;
}

.hero-category-card small {
  color: #64748b;
  display: block;
  margin-top: 4px;
}

.hero-panel-clean-message {
  margin-top: 18px;
  padding: 18px;
  background: #f8fafc;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
}

.hero-panel-clean-message strong {
  display: block;
  color: #0f172a;
  margin-bottom: 6px;
}

.hero-panel-clean-message small {
  color: #64748b;
}

.hero-panel-how {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.hero-panel-how-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  transition: .25s ease;
}

.hero-panel-how-card:hover {
  background: #ffffff;
  transform: translateY(-2px);
}

.hero-panel-how-card span {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  border-radius: 12px !important;
  background: #dbeafe !important;
  color: #2563eb !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1rem !important;
  flex: 0 0 40px !important;
}

.hero-panel-how-card h4 {
  margin: 0 0 4px;
  font-size: .95rem;
  color: #0f172a;
}

.hero-panel-how-card p {
  margin: 0;
  font-size: .82rem;
  line-height: 1.45;
  color: #64748b;
}

.home-listing-type-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 18px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid rgba(255,255,255,.46);
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(15,23,42,.10);
}

.home-listing-type-filters label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #334155;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.home-listing-type-filters input[type="checkbox"] {
  position: static !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  width: 16px !important;
  height: 16px !important;
  accent-color: #2563eb;
  cursor: pointer;
  margin: 0;
}

.home-listing-type-filters span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent !important;
  border: none !important;
  color: #94a3b8 !important;
  padding: 0 !important;
  box-shadow: none !important;
  font-weight: 700;
}

.home-listing-type-filters span:hover {
  transform: none !important;
}

.home-listing-type-filters i {
  color: #2563eb;
}

.home-listing-img img,
.service-img img,
.small-listing-img img,
.nanny-img img,
.my-listing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-photo img,
#mainPhoto img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #f8fafc;
}

.home-listing-img,
.service-img,
.small-listing-img,
.nanny-img,
.my-listing-image,
.main-photo,
#mainPhoto {
  overflow: hidden;
}

.brand-top,
.brand-bottom {
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.03;
}

.brand-top span,
.brand-bottom span {
  color: var(--primary);
}

.nav-links > a,
.dropdown > a {
  padding: 9px 12px;
  border-radius: 999px;
  color: #334155;
  font-weight: 800;
  transition: 0.18s ease;
}

.nav-links > a:hover,
.dropdown > a:hover,
.nav-links a.active {
  background: #eff6ff;
  color: var(--primary);
}

.btn,
button.btn,
button[type="submit"],
input[type="submit"] {
  border: none;
  border-radius: 14px;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.08);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.listing-toolbar,
.roommate-filter-card,
.nanny-filter-card,
.card,
.details-card,
.auth-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

input[name="zipCode"],
input[name="zipcode"],
#zipCode,
#zipcode {
  display: none !important;
}

.filter-field:has(input[name="zipCode"]),
.filter-field:has(input[name="zipcode"]) {
  display: none !important;
}

.home-hero-title,
.home-hero-title-loved,
.hero-pro-copy h1 {
  max-width: 820px;
  font-size: clamp(1.75rem, 3.8vw, 3.2rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -1.8px;
}

.hero-professional > * {
  position: relative;
  z-index: 2;
}

.hero-pro-copy h1,
.home-hero-title,
.home-hero-title-loved {
  color: #0f172a !important;
  text-shadow: none !important;
  display: block;
  width: 100%;
  max-width: 100% !important;
}

.hero-pro-copy p,
.hero-subtitle,
.hero-copy {
  color: #f7f8fa !important;
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
  max-width: 600px;
  opacity: 0.94;
}

.hero-category-card strong,
.hero-category-card small {
  color: #0f172a !important;
}

/* Removed duplicate/conflicting site background rule during cleanup. */

main {
  background: transparent !important;
}

.card,
.service-card,
.small-listing-card,
.nanny-card,
.home-listing-card,
.my-listing-card,
.my-listings-card,
.listing-toolbar,
.roommate-filter-card,
.nanny-filter-card,
.details-card,
.auth-card,
.contact-box {
  background: rgba(71, 85, 105, 0.82) !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.10),
    0 2px 8px rgba(15, 23, 42, 0.04) !important;
  backdrop-filter: none !important;
}

.service-card,
.small-listing-card,
.nanny-card,
.home-listing-card {
  background: #ffffff !important;
}

.listing-toolbar,
.roommate-filter-card,
.nanny-filter-card {
  background: linear-gradient(180deg, #ffffff, #f8fafc) !important;
}

.btn-primary,
button.btn-primary,
a.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 26px rgba(37,99,235,0.26) !important;
}

.btn-outline,
a.btn-outline {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

.service-body h3,
.small-listing-body h3,
.nanny-body h3,
.home-listing-body h3,
.details-card h1,
.details-card h2,
.details-card h3,
.section-head h2 {
  color: #ffffff !important;
  font-weight: 600 !important;
}

.service-meta,
.listing-meta,
.nanny-meta,
.home-listing-meta,
.muted,
.details-meta {
  color: #94A3B8 !important;
}

.main-photo,
#mainPhoto {
  background: #ffffff !important;
  border: 1px solid rgba(226,232,240,0.95);
  box-shadow: 0 18px 42px rgba(15,23,42,0.12);
}

.service-card,
.small-listing-card,
.nanny-card,
.home-listing-card,
.card,
.details-card {
  backdrop-filter: none !important;
}

.container.site-nav {
  width: min(1480px, 97%);
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.home-listings-grid,
.service-grid,
.small-listings-grid,
.nanny-grid,
.my-listings-grid {
  gap: 20px;
}

.service-card,
.small-listing-card,
.nanny-card,
.home-listing-card,
.my-listing-card,
.my-listings-card {
  border-radius: 18px;
}

.listing-toolbar,
.roommate-filter-card,
.nanny-toolbar,
.nanny-filter-card,
.my-listings-toolbar {
  width: 100%;
}

.hero-pill,
.hero-pro-copy h1,
.hero-pro-copy h2,
.hero-pro-copy p,
.hero-pro-search,
.hero-image-slider,
.hero-pro-links {
  width: 100%;
  max-width: 760px;
}

.hero-pro-copy h1,
.hero-pro-copy h2 {
  line-height: 1.06;
  margin-bottom: 16px;
}

.hero-pro-copy h1,
.hero-pro-copy h2,
.hero-pro-copy p,
.hero-pro-search,
.hero-image-slider,
.hero-pro-links {
  width: 100%;
  max-width: 100%;
}

.hero-category-grid,
.hero-left-cards,
.home-how-section {
  width: 100%;
  max-width: 100%;
}

.section-head .hero-pro-links,
.section-head .quick-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.section-head .home-hero-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.section-head .home-hero-actions .btn {
  white-space: nowrap;
}

.hero.hero-professional {
  margin-bottom: 26px;
}

.hero-community-categories .hero-category-card {
  position: relative;
  overflow: hidden;
  min-height: 142px;
}

.hero-community-categories .hero-category-card::after {
  content: "";
  position: absolute;
  inset: auto -24px -32px auto;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
}

.category-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .01em;
}

.hero-community-categories .hero-category-card i {
  margin-top: 16px;
}

.hero-trending-strip,
.hero-trust-strip {
  margin-top: 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-trending-title {
  color: #0f172a;
  font-weight: 900;
  font-size: .9rem;
  margin-right: 2px;
}

.hero-trending-title i {
  color: #f97316;
  margin-right: 5px;
}

.hero-trending-strip a,
.hero-city-chips a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(191, 219, 254, .95);
  color: #1d4ed8;
  font-weight: 800;
  font-size: .82rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
}

.hero-trending-strip a:hover,
.hero-city-chips a:hover {
  background: #2563eb;
  color: #fff;
  transform: translateY(-1px);
}

.hero-trust-strip {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(226,232,240,.95);
  box-shadow: 0 12px 30px rgba(15,23,42,.06);
}

.hero-trust-strip span {
  color: #334155;
  font-size: .84rem;
  font-weight: 800;
}

.hero-trust-strip i {
  color: #2563eb;
  margin-right: 6px;
}

.hero-panel-community-message {
  background: linear-gradient(180deg, #f8fafc, #eff6ff) !important;
}

.hero-community-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.hero-community-stats article {
  padding: 13px 10px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #dbeafe;
  text-align: center;
  box-shadow: 0 10px 24px rgba(15,23,42,.05);
}

.hero-community-stats strong {
  display: block;
  color: #1d4ed8 !important;
  font-size: 1.1rem !important;
  line-height: 1.1;
}

.hero-community-stats span {
  display: block !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  margin-top: 4px;
  background: transparent !important;
  color: #64748b !important;
  font-size: .72rem !important;
  font-weight: 800;
}

.hero-panel-section {
  margin-top: 14px;
  padding: 14px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 24px rgba(15,23,42,.05);
}

.hero-panel-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0f172a;
  font-size: .92rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.hero-panel-section-title i {
  color: #2563eb;
}

.hero-recent-list {
  display: flex;
  gap: .7rem;
  flex-direction: column;
}

.hero-recent-list a {
  display: grid !important;
  justify-content: space-between;
  gap: .85rem !important;
  padding: .75rem .9rem !important;
  border-radius: 14px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
  font-weight: 900;
  grid-template-columns: 1.35fr .95fr !important;
  align-items: center !important;
  width: 100% !important;
  overflow: hidden !important;
}

.hero-recent-list a:hover {
  background: #eff6ff !important;
  border-color: #bfdbfe !important;
}

.hero-recent-list small {
  color: #64748b !important;
  font-weight: 700;
  text-align: right;
}

.hero-city-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-panel-trust-cards {
  margin-top: 14px;
}

.hero-featured-community {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 18px 42px rgba(15,23,42,.16);
}

.hero-featured-community .section-head {
  margin-bottom: .9rem;
}

.hero-featured-community .section-head h2 {
  font-size: 1.25rem;
  margin: 0;
  line-height: 1.2;
}

.hero-featured-community .featured-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: .8rem;
}

.hero-featured-community .featured-card {
  padding: .9rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #0f1f4d, #233b8f);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 16px 28px rgba(15,23,42,.18);
  transition: transform .22s ease, box-shadow .22s ease;
}

.hero-featured-community .featured-card h3 {
  font-size: 1rem;
  line-height: 1.3;
  margin-bottom: .55rem;
  color: #fff;
}

.hero-featured-community .featured-card p {
  font-size: .84rem;
  line-height: 1.55;
  margin-bottom: .9rem;
  color: rgba(255,255,255,.82);
}

.hero-featured-community .featured-card .btn {
  align-self: flex-start;
  padding: .5rem .8rem;
  border-radius: 999px;
  font-size: .82rem;
}

.hero-pro-panel > .hero-panel-clean-message.hero-panel-community-message:first-child {
  margin-bottom: 1rem;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(37,99,235,.16);
  box-shadow: 0 12px 28px rgba(15,23,42,.10);
}

.hero-pro-panel > .hero-panel-clean-message.hero-panel-community-message:first-child strong {
  display: block;
  font-size: 1rem;
  color: #0f172a;
  margin-bottom: .35rem;
}

.hero-pro-panel > .hero-panel-clean-message.hero-panel-community-message:first-child small {
  display: block;
  color: #52627a;
  line-height: 1.45;
}

.home-hero,
.hero-pro-section {
  position: relative;
}

.home-hero::before,
.hero-pro-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 12% 16%, rgba(37,99,235,.14), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(245,158,11,.12), transparent 30%),
    radial-gradient(circle at 48% 86%, rgba(14,165,233,.10), transparent 32%);
  z-index: 0;
}

.hero-pro-grid,
.hero-pro-layout {
  position: relative;
  z-index: 1;
}

.hero-pro-copy > .eyebrow,
.hero-kicker,
.hero-badge-line {
  box-shadow: 0 10px 24px rgba(37,99,235,.12);
}

.hero-search-panel {
  border: 1px solid rgba(255,255,255,.45);
  box-shadow: 0 18px 42px rgba(15,23,42,.18);
}

.hero-category-card::after {
  content: "";
  position: absolute;
  inset: auto -25% -65% auto;
  width: 110px;
  height: 110px;
  border-radius: 999px;
  background: rgba(37,99,235,.10);
}

.hero-category-card:hover i {
  transform: scale(1.12) rotate(-3deg);
}

.hero-featured-community .featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(15,23,42,.25);
}

.hero-panel-section,
.hero-community-stats article {
  border: 1px solid rgba(37,99,235,.12);
  box-shadow: 0 12px 26px rgba(15,23,42,.10);
}

.hero-city-chips a,
.hero-search-chips a {
  border: 1px solid rgba(37,99,235,.18);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.hero-city-chips a:hover,
.hero-search-chips a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(37,99,235,.14);
  background: rgba(37,99,235,.08);
}

.latest-listings-section .section-head {
  padding: .85rem 1rem;
  border-radius: 18px;
  background: rgba(71, 85, 105, 0.82);
  border: 1px solid rgba(255,255,255,.40);
  box-shadow: 0 12px 28px rgba(15,23,42,.10);
}

.home-listing-card,
.listing-card {
  border: 1px solid rgba(255,255,255,.45);
  box-shadow: 0 16px 32px rgba(15,23,42,.13);
  transition: transform .22s ease, box-shadow .22s ease;
}

.home-listing-card:hover,
.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(15,23,42,.18);
}

.hero-mini-cta {
  max-width: 760px;
  margin: .75rem 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.hero-mini-cta span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(37,99,235,.14);
  color: #1e3a8a;
  font-size: .86rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(15,23,42,.08);
}

.hero-recent-list a span {
  display: block !important;
  min-width: 0 !important;
  font-size: .88rem !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.hero-recent-list a small {
  display: block !important;
  min-width: 0 !important;
  font-size: .72rem !important;
  line-height: 1.25 !important;
  text-align: right !important;
  color: #64748b !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.modern-rate-card {
  position: relative;
  overflow: hidden;
  padding: 1.2rem;
  border-radius: 24px;
  background: linear-gradient(145deg, #0f1f57 0%, #1d4ed8 55%, #2563eb 100%);
  color: #fff;
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

.modern-rate-card .rate-card-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  top: -120px;
  right: -90px;
}

.modern-rate-card .rate-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.modern-rate-card .rate-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: .42rem .7rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap !important;
  max-width: 100%;
  line-height: 1;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modern-rate-card .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  flex: 0 0 auto;
}

.modern-rate-card .rate-updated {
  font-size: .66rem;
  color: rgba(255,255,255,0.76);
  text-align: right;
  line-height: 1.25;
  min-width: 72px;
  flex: 0 0 auto;
  white-space: nowrap;
}

.modern-rate-card .rate-currency-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  position: relative;
  z-index: 2;
  letter-spacing: .02em;
  flex-wrap: nowrap;
}

.modern-rate-card .rate-currency-row i {
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
}

.modern-rate-card .rate-value-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 2;
}

.modern-rate-card .rate-value {
  font-size: clamp(2.15rem, 5vw, 3rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #fff;
}

.modern-rate-card .rate-trend {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  flex: 0 0 auto;
}

.modern-rate-card .rate-trend.positive {
  background: rgba(34, 197, 94, 0.14);
  color: #bbf7d0;
  border: 1px solid rgba(34,197,94,0.25);
}

.modern-rate-card .rate-source {
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.88);
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

.modern-rate-card .rate-footer-note {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.88);
  position: relative;
  z-index: 2;
  margin-top: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  font-weight: 650;
  line-height: 1.35;
}

.modern-rate-card .rate-currency-row span,
.modern-rate-card .rate-currency-row i {
  white-space: nowrap;
  flex: 0 0 auto;
}

.rate-currency-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.4px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.rate-value {
  font-size: 3rem !important;
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
  letter-spacing: 0.5px;
}

body.index-page {
  position: relative;
  background: #081525 !important;
  min-height: 100vh;
}

/* Removed duplicate/conflicting site background rule during cleanup. */

.index-page main,
.index-page .hero-professional {
  background: transparent !important;
}

.index-page .hero-pro-copy h1,
.index-page .home-hero-title,
.index-page .home-hero-title-loved {
  color: #ffffff !important;
  text-shadow: 0 14px 36px rgba(0, 0, 0, 0.58) !important;
}

.index-page .hero-pro-copy p,
.index-page .hero-subtitle,
.index-page .hero-copy {
  color: rgba(241, 245, 249, 0.96) !important;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.38) !important;
}

.index-page .hero-pro-panel {
  background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.94),
      rgba(248, 250, 252, 0.90)
    ) !important;
  border: 1px solid rgba(255, 255, 255, 0.62) !important;
  box-shadow: 0 28px 70px rgba(2, 6, 23, 0.38),
    0 8px 24px rgba(15, 23, 42, 0.18) !important;
  backdrop-filter: blur(14px);
}

.index-page .hero-category-card {
  background: rgba(71, 85, 105, 0.78) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18),
        inset 0 1px 0 rgba(255,255,255,0.05) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.index-page .hero-category-card strong {
  color: #0f172a !important;
}

.index-page .hero-category-card small {
  color: #334155 !important;
}

.index-page .hero-pro-search,
.index-page .hero-exchange-widget {
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.28) !important;
}

.index-page .card,
.index-page .service-card,
.index-page .small-listing-card,
.index-page .nanny-card,
.index-page .home-listing-card,
.index-page .listing-toolbar {
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.20),
    0 3px 10px rgba(15, 23, 42, 0.06) !important;
}

.index-page .section-head h2 {
  color: #ffffff !important;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.42) !important;
}

.index-page .section-head p {
  color: rgba(241, 245, 249, .92) !important;
}

.index-page .card,
.index-page .service-card,
.index-page .small-listing-card,
.index-page .nanny-card,
.index-page .home-listing-card,
.index-page .listing-toolbar,
.index-page .hero-recent,
.index-page .home-listing-type-filters,
.index-page .hero-category-grid,
.index-page .filter-form,
.index-page .hero-pro-search,
.index-page .hero-exchange-widget {
  background: rgba(71, 85, 105, 0.82) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.10) !important;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.22),
        inset 0 1px 0 rgba(255,255,255,0.04) !important;
  color: #f8fafc !important;
}

.index-page .card h1,
.index-page .card h2,
.index-page .card h3,
.index-page .card h4,
.index-page .service-card h1,
.index-page .service-card h2,
.index-page .service-card h3,
.index-page .small-listing-card h3,
.index-page .nanny-card h3,
.index-page .home-listing-card h3,
.index-page .hero-category-card strong,
.index-page .section-head h2 {
  color: #ffffff !important;
}

.index-page .card p,
.index-page .card span,
.index-page .card small,
.index-page .service-card p,
.index-page .service-card span,
.index-page .small-listing-card p,
.index-page .small-listing-card span,
.index-page .nanny-card p,
.index-page .home-listing-card p,
.index-page .hero-category-card small,
.index-page .section-head p {
  color: rgbargba(241, 245, 249, .92) !important;
}

.index-page input,
.index-page select,
.index-page textarea {
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: #B6C2D1 !important;
}

.index-page input::placeholder,
.index-page textarea::placeholder {
  color: rgba(255,255,255,0.58) !important;
}

.index-page .card:hover,
.index-page .service-card:hover,
.index-page .small-listing-card:hover,
.index-page .nanny-card:hover,
.index-page .home-listing-card:hover,
.index-page .hero-category-card:hover {
  transform: translateY(-2px);
  transition: all 0.22s ease;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.28),
        inset 0 1px 0 rgba(255,255,255,0.06) !important;
}

.index-page .home-showcase-hero {
  min-height: auto;
  padding: 82px 0 54px;
  background: transparent !important;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.index-page .home-showcase-container {
  max-width: 1180px;
}

.index-page .home-showcase-intro {
  max-width: 900px;
  margin: 0 auto 28px;
  text-align: center;
}

.index-page .home-showcase-pill {
  width: fit-content;
  margin: 0 auto 18px;
  background: rgba(37, 99, 235, 0.16) !important;
  border: 1px solid rgba(147, 197, 253, 0.22);
  color: #f8fafc !important;
}

.index-page .home-showcase-title {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(2.3rem, 5vw, 4.15rem);
  line-height: 1.04;
  color: #ffffff !important;
  letter-spacing: -0.055em;
  text-shadow: 0 20px 55px rgba(0, 0, 0, 0.58);
}

.index-page .home-showcase-subtitle {
  max-width: 720px;
  margin: 20px auto 0;
  font-size: clamp(1.02rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.95) !important;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
}

.index-page .home-showcase-search {
  max-width: 960px;
  margin: 32px auto 30px;
  padding: 20px !important;
  display: grid !important;
  grid-template-columns: 1fr 0.85fr auto;
  gap: 14px;
  align-items: center;
  background: rgba(15, 23, 42, 0.62) !important;
  border: 1px solid rgba(148, 163, 184, 0.32) !important;
  border-radius: 18px !important;
  box-shadow: 0 28px 70px rgba(2, 6, 23, 0.36) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.index-page .home-search-field {
  height: 54px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(15, 23, 42, 0.38);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 13px;
}

.index-page .home-search-field i {
  color: rgba(226, 232, 240, 0.92);
  font-size: 1.1rem;
}

.index-page .home-search-field input,
.index-page .home-search-field select {
  width: 100%;
  height: 100%;
  border: 0 !important;
  outline: 0;
  background: transparent !important;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.98rem;
}

.index-page .home-search-field input::placeholder {
  color: rgba(226, 232, 240, 0.72) !important;
}

.index-page .home-location-field select option {
  color: #111827;
}

.index-page .home-showcase-search .btn {
  min-height: 54px;
  padding: 0 30px;
  border-radius: 12px;
  white-space: nowrap;
}

.index-page .home-showcase-hidden-slider {
  display: none !important;
}

.index-page .home-glass-panel {
  max-width: 1080px;
  margin: 0 auto 22px;
  padding: 26px;
  background: rgba(15, 23, 42, 0.62) !important;
  border: 1px solid rgba(148, 163, 184, 0.34) !important;
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(2, 6, 23, 0.30);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.index-page .home-panel-title,
.index-page .home-panel-title-row {
  color: #ffffff !important;
}

.index-page .home-panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 1.22rem;
  font-weight: 900;
}

.index-page .home-panel-title i {
  color: #3b82f6;
  font-size: 1.28rem;
}

.index-page .home-trending-panel .home-panel-title i {
  color: #f97316;
}

.index-page .home-chip-row,
.index-page .hero-trending-strip,
.index-page .hero-city-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.index-page .home-chip-row a,
.index-page .hero-trending-strip a,
.index-page .hero-city-chips a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.94) !important;
  border: 1px solid rgba(255, 255, 255, 0.68) !important;
  color: #1d4ed8 !important;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.index-page .home-chip-row a:hover,
.index-page .hero-trending-strip a:hover,
.index-page .hero-city-chips a:hover {
  transform: translateY(-2px);
  background: #ffffff !important;
}

.index-page .home-showcase-bottom-grid {
  max-width: 1080px;
  margin: 26px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 22px;
}

.index-page .home-showcase-bottom-grid .home-glass-panel {
  margin: 0;
  max-width: none;
}

.index-page .home-panel-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.index-page .home-panel-title-row .home-panel-title {
  margin-bottom: 8px;
}

.index-page .home-panel-title-row p {
  margin: 0;
  color: rgba(226, 232, 240, 0.88) !important;
}

.index-page .home-panel-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border-radius: 10px;
  border: 1px solid rgba(59, 130, 246, 0.45);
  background: rgba(37, 99, 235, 0.12);
  color: #93c5fd !important;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.index-page .home-featured-strip {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 14px;
}

.index-page .home-featured-strip .featured-card {
  background: rgba(15, 23, 42, 0.44) !important;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  border-radius: 16px;
  box-shadow: none !important;
  color: #ffffff !important;
}

.index-page .home-featured-strip .featured-card h3 {
  color: #ffffff !important;
}

.index-page .home-featured-strip .featured-card p {
  color: rgba(226, 232, 240, 0.88) !important;
}

.index-page .home-showcase-categories {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.index-page .home-showcase-categories .hero-category-card {
  min-height: 138px;
  padding: 18px !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(15, 23, 42, 0.44) !important;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  color: #ffffff !important;
}

.index-page .home-showcase-categories .hero-category-card i {
  font-size: 1.72rem;
  color: #60a5fa;
  margin-bottom: 12px;
}

.index-page .home-showcase-categories .hero-category-card strong {
  color: #ffffff !important;
}

.index-page .home-showcase-categories .hero-category-card small {
  color: rgba(226, 232, 240, 0.84) !important;
}

.index-page .home-showcase-bg-slider {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.index-page .home-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.6s ease;
  transform: scale(1.02);
}

.index-page .home-bg-slide.active {
  opacity: 1;
}

.index-page .home-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: linear-gradient(
      180deg,
      rgba(255,255,255,0.10),
      rgba(15,23,42,0.18),
      rgba(15,23,42,0.28)
    );
}

.index-page .home-pro-shell {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.72fr);
  gap: 44px;
  align-items: start;
  max-width: 1180px;
}

.index-page .home-pro-main {
  max-width: 900px;
}

.index-page .home-pro-kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.92);
  color: #1d4ed8;
  font-size: 0.8rem;
  font-weight: 900;
  box-shadow: 0 12px 34px rgba(2, 6, 23, 0.28);
}

.index-page .home-pro-title {
  margin: 18px 0 14px;
  max-width: 760px;
  color: #ffffff !important;
  font-size: clamp(2.25rem, 4.8vw, 2.15rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  text-shadow: 0 18px 54px rgba(0, 0, 0, 0.62);
}

.index-page .home-pro-title span {
    color: #2563eb;
}

.index-page .home-pro-subtitle {
  max-width: 660px;
  margin: 0 0 24px;
  color: rgba(226, 232, 240, 0.93) !important;
  font-size: 1.06rem;
  line-height: 1.65;
  text-shadow: 0 10px 24px rgba(0,0,0,0.38);
}

.index-page .home-pro-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: rgba(71, 85, 105, 0.62);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 24px 70px rgba(2,6,23,0.36);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.index-page .home-pro-search-input {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border-radius: 13px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
}

.index-page .home-pro-search-input i {
  color: rgba(255,255,255,0.76);
}

.index-page .home-pro-search-input input {
  width: 100%;
  height: 52px;
  border: 0 !important;
  outline: 0;
  background: transparent !important;
  color: #ffffff !important;
  font-weight: 700;
}

.index-page .home-pro-search-input input::placeholder {
  color: rgba(241,245,249,0.68) !important;
}

.index-page .home-pro-search .btn {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 13px;
  white-space: nowrap;
}

.index-page .home-pro-category-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.index-page .home-pro-category-row a {
  min-height: 120px;
  padding: 14px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: #ffffff !important;
  background: rgba(71, 85, 105, 0.68);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 14px 34px rgba(2,6,23,0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.index-page .home-pro-category-row a span {
  align-self: flex-start;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(248,250,252,0.92);
  color: #1d4ed8;
  font-size: 0.66rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.index-page .home-pro-category-row a i {
  color: #3b82f6;
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.index-page .home-pro-category-row a strong {
  color: #ffffff !important;
  font-size: 0.95rem;
}

.index-page .home-pro-category-row a small {
  color: rgba(241,245,249,0.84) !important;
  margin-top: 5px;
  line-height: 1.35;
}

.index-page .home-pro-panel,
.index-page .home-pro-featured,
.index-page .home-pro-side {
  border-radius: 20px;
}

.index-page .home-pro-panel,
.index-page .home-pro-featured {
  padding: 20px;
  margin-bottom: 18px;
  background: rgba(71, 85, 105, 0.72);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 18px 48px rgba(2,6,23,0.26);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.index-page .home-pro-panel-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: #ffffff !important;
  font-weight: 900;
  font-size: 1.03rem;
}

.index-page .home-pro-trending .home-pro-panel-title i {
  color: #f97316;
}

.index-page .home-pro-chip-row,
.index-page .hero-trending-strip,
.index-page .hero-city-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.index-page .home-pro-chip-row a,
.index-page .hero-trending-strip a,
.index-page .hero-city-chips a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.96) !important;
  color: #1d4ed8 !important;
  border: 1px solid rgba(255,255,255,0.72) !important;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(2,6,23,0.18);
}

.index-page .home-pro-section-head h2 {
  margin: 0;
  color: #ffffff !important;
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  letter-spacing: -0.035em;
}

.index-page .home-pro-section-head p {
  margin: 6px 0 16px;
  color: rgba(241,245,249,0.86) !important;
}

.index-page .home-pro-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.index-page .home-pro-feature-grid article {
  padding: 18px;
  border-radius: 16px;
  background: rgba(30, 64, 175, 0.72);
  border: 1px solid rgba(255,255,255,0.12);
  color: #ffffff !important;
  box-shadow: 0 12px 30px rgba(2,6,23,0.18);
}

.index-page .home-pro-feature-grid h3 {
  margin: 0 0 12px;
  color: #ffffff !important;
  font-size: 0.98rem;
}

.index-page .home-pro-feature-grid p {
  min-height: 72px;
  color: rgba(241,245,249,0.91) !important;
  font-size: 0.84rem;
  line-height: 1.55;
}

.index-page .home-pro-feature-grid .btn {
  min-height: 34px;
  padding: 0 13px;
  font-size: 0.78rem;
}

.index-page .home-pro-side {
  padding: 22px;
  background: rgba(71, 85, 105, 0.82);
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow: 0 28px 70px rgba(2,6,23,0.36);
  backdrop-filter: none;
  -webkit-backdrop-filter: blur(18px);
}

.index-page .home-pro-side-note,
.index-page .home-pro-side-card,
.index-page .home-pro-stats article {
  border-radius: 15px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(203,213,225,0.84);
  box-shadow: 0 12px 26px rgba(15,23,42,0.10);
}

.index-page .home-pro-side-note {
  padding: 16px;
  margin-bottom: 18px;
}

.index-page .home-pro-side-note strong {
  display: block;
  color: #0f172a;
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.index-page .home-pro-side-note span {
  color: #475569;
  font-size: 0.78rem;
  line-height: 1.4;
}

.index-page .home-pro-side .modern-rate-card {
  margin-bottom: 18px !important;
}

.index-page .home-pro-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.index-page .home-pro-stats article {
  padding: 13px 8px;
  text-align: center;
}

.index-page .home-pro-stats strong {
  display: block;
  color: #1d4ed8;
  font-size: 0.94rem;
  font-weight: 900;
}

.index-page .home-pro-stats span {
  display: block;
  margin-top: 4px;
  color: #475569;
  font-size: 0.70rem;
  font-weight: 800;
}

.index-page .home-pro-side-card {
  padding: 16px;
  margin-bottom: 18px;
}

.index-page .home-pro-side-card .home-pro-panel-title {
  color: #0f172a !important;
  margin-bottom: 12px;
}

.index-page .home-pro-side-card .home-pro-panel-title i {
  color: #2563eb;
}

.index-page .home-pro-recent-list {
  display: grid;
  gap: 9px;
}

.index-page .home-pro-recent-list a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 11px;
  border-radius: 11px;
  background: rgba(248,250,252,0.92);
  border: 1px solid rgba(203,213,225,0.76);
  text-decoration: none;
}

.index-page .home-pro-recent-list strong {
  color: #1d4ed8;
  font-size: 0.82rem;
}

.index-page .home-pro-recent-list span {
  color: #475569;
  font-size: 0.72rem;
  text-align: right;
}

.index-page .home-pro-side-card .hero-city-chips a {
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.78rem;
  box-shadow: none;
  border-color: rgba(191,219,254,0.92) !important;
}

@media (max-width: 950px) {
  .grid-4,
    .grid-3,
    .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .details-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .grid-4,
    .grid-3,
    .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1200px) {
  .small-listings-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1000px) {
  .small-listings-grid,
    .filters-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .small-listings-grid,
    .filters-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .details-layout {
    grid-template-columns: 1fr;
  }
  
  .contact-box {
    position: static;
  }
  
  .main-photo {
    height: 300px;
  }
}

@media (max-width: 600px) {
  .thumbnail-row {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .amenity-grid,
    .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1200px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1000px) {
  .service-grid,
    .filters-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .service-grid,
    .filters-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 850px) {
  .category-grid,
    .featured-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .category-search {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .category-grid,
    .featured-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 850px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-brand {
    text-align: center;
  }
}

@media (max-width: 900px) {
  .hero-pro-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-pro-search {
    grid-template-columns: 1fr;
  }
  
  .hero-pro-search i {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero-pro-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-pro-search {
    grid-template-columns: 1fr;
  }
  
  .hero-pro-search i {
    display: none;
  }
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
  }
  
  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
  }
  
  .nav-links a,
    .dropdown > a {
    font-size: 0.9rem;
  }
  
  .hero-professional {
    padding: 28px 0 34px;
  }
  
  .hero-pro-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .hero-pro-copy h1 {
    font-size: 2.3rem;
    letter-spacing: -0.8px;
  }
  
  .hero-pro-search {
    grid-template-columns: 1fr;
    padding: 12px;
  }
  
  .hero-pro-search i {
    display: none;
  }
  
  .hero-pro-panel {
    max-width: 100%;
  }
  
  .featured-strip,
    .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .container {
    width: 94%;
  }
  
  .nav {
    padding: 12px 0;
  }
  
  .brand {
    font-size: 1.25rem;
  }
  
  .nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  
  .dropdown-menu {
    position: static;
    width: 100%;
    margin-top: 6px;
  }
  
  .hero-pro-copy h1 {
    font-size: 2rem;
  }
  
  .hero-pro-copy p {
    font-size: 0.98rem;
  }
  
  .hero-pro-links {
    gap: 8px;
  }
  
  .hero-pro-links a {
    font-size: 0.82rem;
    padding: 7px 10px;
  }
}

@media (max-width: 1000px) {
  .container {
    width: min(94%, 760px);
  }
  
  .nav {
    align-items: flex-start;
  }
  
  .nav-links {
    width: 100%;
    gap: 12px;
    justify-content: flex-start;
  }
  
  .hero-professional {
    padding: 26px 0 34px;
  }
  
  .hero-pro-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .hero-pro-panel {
    max-width: 100%;
    justify-self: stretch;
  }
  
  .hero-image-slider {
    max-width: 100%;
    height: 340px;
  }
  
  .featured-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: 94%;
  }
  
  .nav {
    padding: 12px 0;
    gap: 12px;
  }
  
  .brand {
    font-size: 1.25rem;
  }
  
  .nav-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
  }
  
  .nav-links > a,
    .dropdown > a {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 12px;
  }
  
  .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    margin-top: 6px;
    box-shadow: none;
  }
  
  .dropdown:hover .dropdown-menu {
    display: block;
  }
  
  .hero-pill {
    font-size: 0.8rem;
    padding: 7px 10px;
  }
  
  .hero-pro-copy h2 {
    font-size: 1.35rem;
    line-height: 1.45;
  }
  
  .hero-image-slider {
    height: 260px;
    border-radius: 16px;
  }
  
  .hero-pro-search {
    grid-template-columns: 1fr;
    padding: 12px;
  }
  
  .hero-pro-search i {
    display: none;
  }
  
  .hero-pro-search button {
    width: 100%;
  }
  
  .hero-pro-links {
    gap: 8px;
  }
  
  .hero-pro-links a {
    font-size: 0.82rem;
    padding: 7px 10px;
  }
  
  .hero-pro-panel {
    padding: 16px;
    border-radius: 18px;
  }
  
  .hero-pro-panel a {
    padding: 10px 8px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .hero-image-slider {
    height: 220px;
  }
  
  .hero-pro-copy h2 {
    font-size: 1.2rem;
  }
  
  .hero-pro-panel small {
    font-size: 0.72rem;
  }
}

@media (max-width: 1200px) {
  .nanny-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .nanny-grid,
    .filters-grid,
    .details-layout {
    grid-template-columns: 1fr;
  }
  
  .contact-box {
    position: static;
  }
  
  .main-photo {
    height: 300px;
  }
}

@media (max-width: 650px) {
  .nanny-grid,
    .filters-grid,
    .info-grid {
    grid-template-columns: 1fr;
  }
  
  .thumbnail-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1100px) {
  .home-listings-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 850px) {
  .home-listings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .home-listings-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1000px) {
  .my-listings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .my-listings-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1080px) {
  .site-nav {
    flex-wrap: wrap !important;
    gap: 14px 22px !important;
  }
  
  .site-nav .main-menu,
    .main-menu {
    order: 3 !important;
    width: 100% !important;
    flex: 1 1 100% !important;
    justify-content: center !important;
    gap: 18px !important;
    flex-wrap: wrap !important;
  }
}

@media (max-width: 768px) {
  .container.site-nav,
    .container.nav.site-nav,
    .index-page .site-nav.container {
    width: calc(100% - 32px) !important;
    max-width: none !important;
  }
  
  .site-nav {
    min-height: auto !important;
    padding: 12px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
  
  .site-nav .brand-logo {
    flex: 0 0 152px !important;
    min-width: 152px !important;
  }
  
  .site-nav .brand-text {
    padding-right: 26px !important;
  }
  
  .site-nav .brand-top,
    .site-nav .brand-bottom {
    font-size: 1.16rem !important;
  }
  
  .site-nav .brand-question {
    width: 34px !important;
    height: 34px !important;
    right: 25px !important;
    font-size: 1.82rem !important;
  }
  
  .mobile-menu-toggle {
    display: inline-flex !important;
    margin-left: auto !important;
  }
  
  .site-nav .main-menu,
    .site-nav .header-actions,
    .main-menu,
    .header-actions {
    display: none !important;
  }
  
  .site-nav.mobile-menu-open .main-menu,
    .site-nav.mobile-menu-open .header-actions {
    display: flex !important;
    width: 100% !important;
    flex: 1 1 100% !important;
    margin-left: 0 !important;
  }
  
  .site-nav.mobile-menu-open .main-menu {
    order: 3 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    margin-top: 10px !important;
  }
  
  .site-nav.mobile-menu-open .header-actions {
    order: 4 !important;
    justify-content: flex-start !important;
  }
  
  .site-nav .main-menu > a,
    .site-nav .main-menu .dropdown > a,
    .main-menu > a,
    .main-menu .dropdown > a {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    padding: 12px 14px !important;
    border: 1px solid var(--border) !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    font-size: 0.95rem !important;
    border-bottom: 1px solid var(--border) !important;
  }
  
  .site-nav .dropdown,
    .dropdown {
    width: 100% !important;
  }
  
  .site-nav .dropdown-menu,
    .dropdown-menu {
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    margin-top: 6px !important;
    box-shadow: none !important;
    display: none !important;
  }
  
  .site-nav .dropdown:hover .dropdown-menu,
    .site-nav .dropdown:focus-within .dropdown-menu,
    .dropdown:hover .dropdown-menu,
    .dropdown:focus-within .dropdown-menu {
    display: block !important;
  }
  
  .guest-links {
    width: 100% !important;
    display: flex !important;
    gap: 10px !important;
  }
  
  .login-link,
    .register-link {
    flex: 1 1 0 !important;
  }
  
  .user-menu,
    .profile-btn {
    width: 100% !important;
  }
  
  .profile-btn {
    justify-content: center !important;
  }
  
  .profile-dropdown {
    position: static !important;
    width: 100% !important;
    margin-top: 8px !important;
    box-shadow: none !important;
  }
}

@media (max-width: 420px) {
  .site-nav .brand-logo {
    flex-basis: 142px !important;
    min-width: 142px !important;
  }
  
  .site-nav .brand-top,
    .site-nav .brand-bottom {
    font-size: 1.08rem !important;
  }
  
  .site-nav .brand-question {
    width: 32px !important;
    height: 32px !important;
    font-size: 1.7rem !important;
  }
  
  .guest-links {
    flex-direction: column !important;
  }
}

@media (max-width: 900px) {
  .auth-shell {
    padding: 28px 0 48px;
  }
  
  .auth-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  
  .auth-welcome-panel {
    text-align: center;
    margin: 0 auto;
  }
  
  .auth-welcome-panel p {
    margin: 0 auto;
  }
  
  .auth-benefits {
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
  
  .auth-card-pro {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 520px) {
  .auth-welcome-panel h1 {
    font-size: 2rem;
  }
  
  .auth-welcome-panel p {
    font-size: 0.98rem;
  }
  
  .auth-card-pro {
    padding: 22px;
    border-radius: 22px;
  }
  
  .auth-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }
  
  .auth-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .password-hint-grid {
    grid-template-columns: 1fr;
  }
  
  .password-hint-grid span {
    justify-content: flex-start;
  }
}

@media (max-width: 950px) {
  .contact-shell {
    padding: 30px 0 54px;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .contact-welcome-panel {
    text-align: center;
    margin: 0 auto;
  }
  
  .contact-welcome-panel p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .contact-info-stack {
    max-width: 560px;
    margin: 0 auto;
    text-align: left;
  }
  
  .contact-card-pro {
    justify-self: center;
    max-width: 560px;
  }
}

@media (max-width: 520px) {
  .contact-welcome-panel h1 {
    font-size: 2rem;
  }
  
  .contact-welcome-panel p {
    font-size: 0.98rem;
  }
  
  .contact-card-pro {
    padding: 22px;
    border-radius: 22px;
  }
  
  .contact-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }
  
  .contact-info-stack div {
    padding: 14px;
  }
}

@media (max-width: 950px) {
  .forgot-shell {
    padding: 28px 0 56px;
  }
  
  .forgot-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .forgot-left-panel {
    text-align: center;
    margin: 0 auto;
  }
  
  .forgot-left-panel p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .forgot-features {
    margin: 0 auto;
    text-align: left;
  }
  
  .forgot-card-pro {
    justify-self: center;
    max-width: 560px;
  }
}

@media (max-width: 520px) {
  .forgot-left-panel h1 {
    font-size: 2rem;
  }
  
  .forgot-left-panel p {
    font-size: 0.98rem;
  }
  
  .forgot-card-pro {
    padding: 24px;
    border-radius: 24px;
  }
  
  .forgot-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
  }
}

@media (max-width: 1000px) {
  .hero-pro-grid {
    grid-template-columns: 1fr !important;
  }
  
  .hero-pro-panel {
    justify-self: stretch !important;
    max-width: 100% !important;
  }
  
  .home-how-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-professional {
    padding: 28px 0 34px !important;
  }
  
  .home-hero-title {
    font-size: 2rem;
    letter-spacing: -0.8px;
  }
  
  .home-hero-subtitle {
    font-size: 0.98rem;
  }
  
  .home-trust-row span {
    width: 100%;
    justify-content: center;
  }
  
  .hero-pro-search {
    grid-template-columns: 1fr !important;
  }
  
  .hero-pro-search > i {
    display: none;
  }
  
  .home-hero-actions .btn {
    width: 100%;
  }
  
  .hero-pro-links a {
    flex: 1 1 100%;
    justify-content: center;
  }
}

@media (max-width: 1100px) {
  .roommate-filter-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .roommate-hero-grid {
    grid-template-columns: 1fr;
  }
  
  .roommate-hero-card {
    max-width: 100%;
  }
  
  .roommate-filter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .filter-card-head {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .roommate-listings-hero {
    padding: 28px 0 24px;
  }
  
  .roommate-hero-copy h1 {
    font-size: 1.65rem;
  }
  
  .roommate-hero-actions .btn,
    .roommate-filter-actions .btn,
    .filter-card-head .btn {
    width: 100%;
  }
  
  .roommate-filter-grid {
    grid-template-columns: 1fr;
  }
  
  .roommate-filter-card {
    padding: 18px;
    border-radius: 20px;
  }
  
  .roommate-amenity-checks label {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    padding-left: 16px;
    gap: 10px;
  }

  .roommate-amenity-checks input[type="checkbox"] {
    margin: 0;
    flex-shrink: 0;
  }
}

@media (max-width: 1100px) {
  .nanny-filter-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .nanny-filter-grid .filter-field-wide {
    grid-column: span 3;
  }
}

@media (max-width: 900px) {
  .nanny-hero-grid {
    grid-template-columns: 1fr;
  }
  
  .nanny-hero-card {
    max-width: 100%;
  }
  
  .nanny-filter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .nanny-filter-grid .filter-field-wide {
    grid-column: span 2;
  }
  
  .nanny-filter-card .filter-card-head {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .nanny-listings-hero {
    padding: 28px 0 24px;
  }
  
  .nanny-hero-copy h1 {
    font-size: 1.65rem;
  }
  
  .nanny-hero-actions .btn,
    .nanny-filter-actions .btn,
    .nanny-filter-card .filter-card-head .btn {
    width: 100%;
  }
  
  .nanny-filter-grid {
    grid-template-columns: 1fr;
  }
  
  .nanny-filter-grid .filter-field-wide {
    grid-column: span 1;
  }
  
  .nanny-filter-card {
    padding: 18px;
    border-radius: 20px;
  }
  
  .nanny-filter-checks label {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 1100px) {
  .service-filter-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .service-hero-grid {
    grid-template-columns: 1fr;
  }
  
  .service-filter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-filter-head {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .service-hero {
    padding: 28px 0 24px;
  }
  
  .service-hero-copy h1 {
    font-size: 1.7rem;
  }
  
  .service-filter-grid {
    grid-template-columns: 1fr;
  }
  
  .service-filter-card {
    padding: 18px;
    border-radius: 20px;
  }
  
  .service-filter-head .btn,
    .service-filter-actions .btn,
    .service-hero-actions .btn {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .post-roommate-hero-grid {
    grid-template-columns: 1fr;
  }
  
  .post-roommate-sidecard {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .post-roommate-hero {
    padding: 28px 0 24px;
  }
  
  .post-roommate-copy h1 {
    font-size: 1.8rem;
  }
  
  .post-roommate-features {
    flex-direction: column;
  }
  
  .post-roommate-features div {
    width: 100%;
    justify-content: center;
  }
  
  .roommate-post-card {
    border-radius: 20px;
  }
}

@media (max-width: 900px) {
  .post-nanny-hero-grid {
    grid-template-columns: 1fr;
  }
  
  .post-nanny-sidecard {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .post-nanny-hero {
    padding: 28px 0 24px;
  }
  
  .post-nanny-copy h1 {
    font-size: 1.8rem;
  }
  
  .post-nanny-features {
    flex-direction: column;
  }
  
  .post-nanny-features div {
    width: 100%;
    justify-content: center;
  }
  
  .post-nanny-card {
    border-radius: 20px;
  }
  
  #nannyForm .nanny-checks label {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .post-service-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .post-service-hero {
    padding: 28px 0 24px;
  }
  
  .post-service-copy h1 {
    font-size: 1.9rem;
  }
  
  .post-service-features {
    flex-direction: column;
  }
  
  .post-service-features div {
    width: 100%;
    justify-content: center;
  }
  
  .post-service-card {
    border-radius: 20px;
  }
  
  #serviceForm .checkbox-inline {
    justify-content: center;
  }
}

@media (max-width: 950px) {
  .roommate-details-layout {
    grid-template-columns: 1fr;
  }
  
  .roommate-contact-card {
    position: static;
  }
  
  .roommate-main-photo {
    height: 360px;
  }
}

@media (max-width: 640px) {
  .roommate-details-main {
    padding: 24px 0 54px;
  }
  
  .roommate-main-photo {
    height: 290px;
    border-radius: 16px;
  }
  
  .roommate-gallery-card,
    .roommate-title-card,
    .roommate-info-card,
    .roommate-contact-card {
    border-radius: 20px;
  }
  
  .roommate-title-card,
    .roommate-info-card,
    .roommate-contact-card {
    padding: 18px;
  }
  
  .roommate-thumbnail-row {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .roommate-title-card h1 {
    font-size: 1.5rem;
  }
  
  .roommate-price {
    font-size: 1.55rem;
  }
  
  .roommate-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 950px) {
  .nanny-details-layout {
    grid-template-columns: 1fr;
  }
  
  .nanny-contact-card {
    position: static;
  }
  
  .nanny-main-photo {
    height: 360px;
  }
}

@media (max-width: 640px) {
  .nanny-details-main {
    padding: 24px 0 54px;
  }
  
  .nanny-main-photo {
    height: 290px;
    border-radius: 16px;
  }
  
  .nanny-gallery-card,
    .nanny-title-card,
    .nanny-info-card,
    .nanny-review-card,
    .nanny-contact-card {
    border-radius: 20px;
  }
  
  .nanny-title-card,
    .nanny-info-card,
    .nanny-review-card,
    .nanny-contact-card {
    padding: 18px;
  }
  
  .nanny-thumbnail-row {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .nanny-title-card h1 {
    font-size: 1.5rem;
  }
  
  .nanny-price-detail {
    font-size: 1.55rem;
  }
  
  .nanny-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 950px) {
  .service-details-page .details-layout {
    grid-template-columns: 1fr;
  }
  
  .service-details-page .contact-box {
    position: static;
  }
  
  .service-details-page .main-photo {
    height: 360px;
  }
}

@media (max-width: 640px) {
  .service-details-main {
    padding: 24px 0 54px;
  }
  
  .service-details-page .main-photo {
    height: 290px;
    border-radius: 18px;
  }
  
  .service-details-page .details-card {
    border-radius: 20px;
    padding: 18px;
  }
  
  .service-details-page .thumbnail-row {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .service-details-page h1 {
    font-size: 1.55rem;
  }
  
  .service-details-page .details-price {
    font-size: 1.6rem;
  }
  
  .service-details-page .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .my-listings-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .my-listings-hero {
    padding: 28px 0 24px;
  }
  
  .my-listings-copy h1 {
    font-size: 1.75rem;
  }
  
  .my-listings-actions .btn,
    .my-listings-toolbar-loved .btn {
    width: 100%;
  }
  
  .my-listings-toolbar-loved {
    border-radius: 20px;
    padding: 18px;
  }
  
  .my-listings-page .my-listing-image {
    height: 185px;
  }
}

@media (max-width: 900px) {
  .edit-roommate-layout {
    grid-template-columns: 1fr;
  }
  
  .edit-roommate-sidecard {
    position: static;
  }
}

@media (max-width: 640px) {
  .form-grid,
    .preview-grid {
    grid-template-columns: 1fr;
  }
  
  .edit-roommate-card,
    .edit-roommate-sidecard {
    padding: 18px;
    border-radius: 20px;
  }
  
  .form-actions .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .edit-roommate-page .single-upload-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .edit-roommate-page .single-upload-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .edit-roommate-page #previewGrid.preview-grid {
    grid-template-columns: 1fr;
  }
  
  .edit-roommate-page #previewGrid .preview-img,
    .edit-roommate-page #previewGrid .preview-video {
    height: 170px;
  }
}

@media (max-width: 700px) {
  .edit-nanny-page #previewGrid.preview-grid,
    .edit-nanny-page #currentMediaGrid.preview-grid,
    .edit-service-page #previewGrid.preview-grid,
    .edit-service-page #currentMediaGrid.preview-grid {
    grid-template-columns: 1fr;
  }
  
  .edit-nanny-page .preview-img,
    .edit-nanny-page .preview-video,
    .edit-service-page .preview-img,
    .edit-service-page .preview-video {
    height: 170px;
  }
}

@media (max-width: 640px) {
  .my-listing-actions {
    flex-wrap: wrap;
  }
  
  .my-listing-actions .btn,
    .my-listing-actions a.btn {
    flex: 1 1 auto;
  }
}

@media (max-width: 1200px) {
  .home-listings-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .home-listings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .home-listings-grid {
    grid-template-columns: 1fr;
  }
  
  .home-listing-img {
    height: 220px;
  }
}

@media (max-width: 1200px) {
  .admin-stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 650px) {
  .admin-stat-grid {
    grid-template-columns: 1fr;
  }
  
  .admin-panel {
    padding: 12px;
  }
}

@media (max-width: 1200px) {
  .admin-stat-grid-loved {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .admin-hero-grid-loved {
    grid-template-columns: 1fr;
  }
  
  .admin-panel-head-loved {
    display: grid;
    grid-template-columns: 1fr;
  }
  
  .admin-panel-tools-loved {
    width: 100%;
  }
}

@media (max-width: 650px) {
  .admin-hero-loved {
    padding: 34px 0 24px;
  }
  
  .admin-hero-copy-loved h1 {
    font-size: 2rem;
    letter-spacing: -0.6px;
  }
  
  .admin-hero-actions-loved .btn {
    width: 100%;
  }
  
  .admin-mini-metrics-loved,
    .admin-stat-grid-loved {
    grid-template-columns: 1fr;
  }
  
  .admin-tabs-loved {
    width: 100%;
    border-radius: 18px;
  }
  
  .admin-tabs-loved .admin-tab {
    width: 100%;
    justify-content: center;
  }
  
  .admin-panel-loved {
    padding: 14px;
  }
}

@media (max-width: 640px) {
  .exchange-loved-panel {
    max-width: 100%;
    padding: 18px;
    border-radius: 18px;
  }
}

@media (max-width: 900px) {
  .hero-exchange-widget {
    margin-bottom: 16px;
  }
}

@media (max-width: 640px) {
  .hero-exchange-widget {
    border-radius: 16px;
    padding: 14px;
  }
  
  .hero-exchange-rate strong {
    font-size: 1.45rem;
  }
}

@media (max-width: 850px) {
  .hero-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .hero-category-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .home-listing-type-filters {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .home-listing-type-filters label {
    width: 100%;
  }
}

@media (max-width:430px) {
  .hero-category-grid {
    grid-template-columns: 1fr!important;
  }
  
  .hero-image-slider {
    height: 210px!important;
  }
  
  .btn {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .hero-professional {
    background-position: center top !important;
  }
}

@media (max-width: 720px) {
  body::before,
    body::after {
    position: fixed;
  }
  
  .hero-professional {
    background-position: center top !important;
  }
  
  .hero-pro-panel,
    .card,
    .service-card,
    .small-listing-card,
    .nanny-card,
    .home-listing-card,
    .listing-toolbar,
    .details-card {
    background: #ffffff !important;
  }
}

@media (max-width: 600px) {
  .hero-pro-copy p,
    .hero-subtitle,
    .hero-copy {
    font-size: 0.86rem !important;
    line-height: 1.5 !important;
  }
}

@media (min-width: 1300px) {
  .service-grid,
    .small-listings-grid,
    .nanny-grid,
    .home-listings-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  
  .my-listings-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1000px) {
  .container,
    .container.site-nav {
    width: min(94%, 900px);
  }
  
  .hero-pro-grid,
    .details-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container,
    .container.site-nav {
    width: 94%;
  }
  
  .home-listings-grid,
    .service-grid,
    .small-listings-grid,
    .nanny-grid,
    .my-listings-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 1000px) {
  .hero-pro-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-pro-copy,
    .hero-pro-panel,
    .hero-image-slider {
    max-width: 100%;
  }
  
  .hero-image-slider {
    height: 360px;
  }
}

@media (max-width: 640px) {
  .hero-image-slider {
    height: 280px;
  }
  
  .hero-pro-panel {
    justify-self: stretch;
  }
}

@media (max-width: 1000px) {
  .hero-pro-copy,
    .hero-pill,
    .hero-pro-copy h1,
    .hero-pro-copy h2,
    .hero-pro-copy p,
    .hero-pro-search,
    .hero-image-slider,
    .hero-pro-links {
    max-width: 100%;
  }
  
  .hero-image-slider {
    height: 360px;
  }
  
  .hero-pro-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-pro-panel {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .hero-image-slider {
    height: 260px;
    border-radius: 18px;
  }
  
  .hero-pro-copy h1 {
    line-height: 1.08;
  }
}

@media (max-width: 1000px) {
  .hero-pro-copy {
    max-width: 100%;
  }
  
  .hero-pro-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-pro-panel {
    max-width: 100%;
    justify-self: stretch;
  }
  
  .hero-image-slider {
    height: 360px;
  }
}

@media (max-width: 640px) {
  .hero-image-slider {
    height: 260px;
  }
  
  .latest-listings-section .section-head,
    .section-head {
    align-items: flex-start;
  }
  
  .latest-listings-section .section-head > div:last-child,
    .section-head > div:last-child,
    .latest-listings-section .section-head .quick-links,
    .section-head .quick-links {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .section-head .home-hero-actions {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .hero.hero-professional,
    .hero-professional {
    padding: 20px 0 28px !important;
  }
  
  .hero-pro-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    align-items: stretch !important;
  }
  
  .hero-pro-copy {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  
  .hero-pill {
    width: auto !important;
    max-width: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    white-space: normal !important;
    line-height: 1.25 !important;
    padding: 8px 12px !important;
    margin-bottom: 14px !important;
    border-radius: 999px !important;
  }
  
  .hero-pro-copy h1,
    .home-hero-title,
    .home-hero-title-loved {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(1.85rem, 9vw, 2.55rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.8px !important;
    margin-bottom: 14px !important;
  }
  
  .hero-pro-copy p,
    .hero-subtitle,
    .hero-copy {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    margin-bottom: 16px !important;
  }
  
  .hero-image-slider {
    width: 100% !important;
    max-width: 100% !important;
    height: 245px !important;
    margin: 14px 0 16px !important;
    border-radius: 18px !important;
  }
  
  .hero-image-slider .hero-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
  }
  
  .hero-pro-search {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    padding: 12px !important;
    border-radius: 18px !important;
  }
  
  .hero-pro-search i {
    display: none !important;
  }
  
  .hero-pro-search input {
    width: 100% !important;
    padding: 12px !important;
  }
  
  .hero-pro-search button,
    .hero-pro-search .btn {
    width: 100% !important;
  }
  
  .hero-pro-links {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-top: 14px !important;
  }
  
  .hero-pro-links a {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    padding: 10px 8px !important;
    border-radius: 14px !important;
  }
  
  .hero-pro-panel {
    width: 100% !important;
    max-width: 100% !important;
    justify-self: stretch !important;
    padding: 16px !important;
    border-radius: 22px !important;
    height: auto !important;
  }
  
  .hero-exchange-widget {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .hero-exchange-top {
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  
  .hero-pro-panel a {
    padding: 12px !important;
  }
}

@media (max-width: 420px) {
  .hero-pro-copy h1,
    .home-hero-title,
    .home-hero-title-loved {
    font-size: clamp(1.65rem, 9.5vw, 2.25rem) !important;
  }
  
  .hero-image-slider {
    height: 220px !important;
  }
  
  .hero-pro-links {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 850px) {
  .hero-community-stats {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .hero-community-stats {
    grid-template-columns: 1fr;
  }
  
  .hero-recent-list a {
    display: block !important;
  }
  
  .hero-recent-list small {
    display: block !important;
    text-align: left;
    margin-top: 3px;
  }
}

@media (max-width: 900px) {
  .hero-featured-community .featured-strip {
    grid-template-columns: 1fr;
  }
  
  .hero-featured-community .featured-card {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .hero-pro-copy h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }
  
  .latest-listings-section .section-head {
    padding: .75rem;
  }
}

@media (max-width:768px) {
  .hero-recent-list a {
    grid-template-columns: 1fr !important;
    gap: .35rem !important;
  }
  
  .hero-recent-list a small {
    text-align: left !important;
  }
}

@media (max-width: 768px) {
  .modern-rate-card .rate-card-top,
    .modern-rate-card .rate-value-row {
    align-items: flex-start;
    flex-direction: column;
  }
  
  .modern-rate-card .rate-updated {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .modern-rate-card .rate-live-badge {
    font-size: 0.7rem;
  }
  
  .modern-rate-card .rate-footer-note {
    font-size: 0.7rem;
  }
}

@media (max-width:768px) {
  .modern-rate-card .rate-live-badge {
    font-size: .60rem;
  }
  
  .modern-rate-card .rate-updated {
    font-size: .60rem;
  }
}

@media (max-width:768px) {
  .rate-value {
    font-size: 2.4rem !important;
  }
  
  .rate-currency-row {
    font-size: 1.15rem;
  }
}

@media (max-width: 720px) {
  body.index-page::before,
    body.index-page::after {
    position: fixed;
  }
  
  .index-page .hero-pro-panel,
    .index-page .card,
    .index-page .service-card,
    .index-page .small-listing-card,
    .index-page .nanny-card,
    .index-page .home-listing-card {
    background: rgba(255, 255, 255, 0.97) !important;
  }
}

@media (max-width: 900px) {
  .index-page .home-showcase-search {
    grid-template-columns: 1fr;
  }
  
  .index-page .home-showcase-search .btn {
    width: 100%;
  }
  
  .index-page .home-showcase-bottom-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .index-page .home-showcase-hero {
    padding-top: 44px;
  }
  
  .index-page .home-glass-panel,
    .index-page .home-showcase-search {
    border-radius: 16px !important;
    padding: 18px !important;
  }
  
  .index-page .home-chip-row a,
    .index-page .hero-trending-strip a,
    .index-page .hero-city-chips a {
    min-height: 42px;
    padding: 0 16px;
    font-size: 0.88rem;
  }
  
  .index-page .home-showcase-categories {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1020px) {
  .index-page .home-pro-shell {
    grid-template-columns: 1fr;
  }
  
  .index-page .home-pro-main {
    max-width: none;
  }
  
  .index-page .home-pro-side {
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  .index-page .home-pro-redesign {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;
    padding: 56px 0 46px !important;
    background: linear-gradient(
        180deg,
        rgba(2, 6, 23, 0.58),
        rgba(2, 6, 23, 0.72)
      ),
      url("../images/background.jpg") center center / cover no-repeat !important;
  }
  
  .index-page .home-visible-slider-wrap {
    margin: 24px 0 26px !important;
    position: relative;
    width: 100% !important;
    max-width: 760px !important;
  }
  
  .index-page .home-visible-slider {
    position: relative;
    min-height: 280px;
    border-radius: 22px;
    background: linear-gradient(
          180deg,
          rgba(2,6,23,0.14),
          rgba(2,6,23,0.52),
          rgba(2,6,23,0.82)
        ),
        rgba(15,23,42,0.88);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 26px 70px rgba(2,6,23,0.42),
        inset 0 1px 0 rgba(255,255,255,0.06);
    transition: background-image 1s ease,
        transform 0.3s ease;
  }
  
  .index-page .home-visible-slider:hover {
    transform: translateY(-2px);
  }
  
  .index-page .home-visible-slider-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
          180deg,
          rgba(255,255,255,0.04),
          rgba(15,23,42,0.10),
          rgba(15,23,42,0.22)
        );
  }
  
  .index-page .home-visible-slider-content {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 22px;
    z-index: 3;
  }
  
  .index-page .home-visible-slider-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(248,250,252,0.94);
    color: #1d4ed8;
    font-size: 0.78rem;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(2,6,23,0.24);
  }
  
  .index-page .home-visible-slider-caption {
    margin-top: 14px;
    max-width: 620px;
    color: #ffffff !important;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 0 10px 30px rgba(0,0,0,0.52);
  }
  
  @media (max-width: 768px){
  
  
      .index-page .home-visible-slider {
          min-height: 220px;
      }
  
      .index-page .home-visible-slider-content {
          left: 18px;
          right: 18px;
          bottom: 18px;
      }
  
  }
  
  .index-page .home-visible-slider.is-empty-slider,
  .index-page .hero-image-slider.is-empty-slider {
    display: none !important;
  }
  
  .index-page .home-visible-slider-wrap:has(.home-visible-slider.is-empty-slider) {
    display: none !important;
  }
  
  .index-page .home-visible-slider.is-placeholder-slider .home-visible-slider-overlay {
    background: radial-gradient(circle at 18% 20%, rgba(59,130,246,0.18), transparent 34%),
      radial-gradient(circle at 88% 16%, rgba(255,255,255,0.08), transparent 28%) !important;
  }
  
  .index-page .home-visible-slider.is-placeholder-slider .home-visible-slider-caption {
    max-width: 640px;
    font-size: clamp(1rem, 1.7vw, 1.35rem);
    color: rgba(255,255,255,0.94) !important;
  }
  
  .index-page .home-visible-slider.is-empty-slider {
    display: none !important;
  }
  
  .index-page .home-visible-slider.is-empty-slider,
  .index-page .home-visible-slider-wrap:has(.home-visible-slider.is-empty-slider),
  .index-page .hero-image-slider.is-empty-slider {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: none !important;
    box-shadow: none !important;
    border: 0 !important;
  }
  
  .index-page #latestImageSlider.hero-image-slider.home-visible-slider {
    position: relative !important;
    display: block;
    min-height: 280px !important;
    border-radius: 20px !important;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.70), rgba(30, 41, 59, 0.62)) !important;
    border: 1px solid rgba(148, 163, 184, 0.36) !important;
    box-shadow: 0 24px 70px rgba(2, 6, 23, 0.34),
      inset 0 1px 0 rgba(255,255,255,0.06) !important;
    width: 100%;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    max-height: 320px !important;
  }
  
  .index-page #latestImageSlider.hero-image-slider.is-empty-slider,
  .index-page #latestImageSlider.hero-image-slider[style*="display: none"] {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    visibility: hidden !important;
    overflow: hidden !important;
    background: none !important;
  }
  
  .index-page #latestImageSlider .hero-slide {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity .85s ease, transform .85s ease !important;
    text-decoration: none !important;
    color: #ffffff !important;
    transform: scale(1.012);
  }
  
  .index-page #latestImageSlider .hero-slide.active {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: scale(1);
  }
  
  .index-page #latestImageSlider .hero-slide img {
    width: 100% !important;
    height: 270px !important;
    object-fit: cover !important;
    display: block !important;
    filter: saturate(1.04) contrast(1.02) brightness(0.98);
    min-height: 270px !important;
    object-position: center center !important;
  }
  
  .index-page #latestImageSlider .hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2,6,23,0.36), transparent 55%),
      linear-gradient(180deg, transparent 45%, rgba(2,6,23,0.56)) !important;
    z-index: 2;
  }
  
  .index-page #latestImageSlider .hero-slide span {
    position: absolute !important;
    left: 28px !important;
    right: 28px !important;
    bottom: 26px !important;
    z-index: 4 !important;
    color: #ffffff !important;
    font-size: clamp(1.05rem, 1.8vw, 1.35rem) !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    text-shadow: 0 10px 24px rgba(0,0,0,0.52) !important;
    max-width: min(620px, calc(100% - 56px));
    letter-spacing: -0.025em;
    width: fit-content;
    padding: 14px 16px !important;
    border-radius: 14px !important;
    background: rgba(15, 23, 42, 0.52) !important;
  }
  
  @media (max-width: 768px){
  
    .index-page #latestImageSlider.hero-image-slider.home-visible-slider {
      min-height: 220px;
    }
  
    .index-page #latestImageSlider .hero-slide span {
      left: 18px;
      right: 18px;
      bottom: 18px;
    }
  
  }
  

  
  .index-page #latestImageSlider.hero-image-slider.home-visible-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(2,6,23,0.04),
        rgba(2,6,23,0.18),
        rgba(2,6,23,0.70)
      ) !important;
  }
  
  .index-page .home-pro-main #latestImageSlider {
    margin-top: 2px;
    height: 300px !important;
    min-height: 300px !important;
  }
  
  .index-page #latestImageSlider:hover {
    transform: translateY(-2px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 36px 90px rgba(2,6,23,0.48),
      inset 0 1px 0 rgba(255,255,255,0.10) !important;
  }
  
  @media (max-width: 768px){
  
    .index-page #latestImageSlider.hero-image-slider.home-visible-slider {
      min-height: 230px !important;
      border-radius: 20px !important;
    }
  
    .index-page #latestImageSlider .hero-slide img {
      min-height: 230px !important;
    }
  
    .index-page #latestImageSlider.hero-image-slider.home-visible-slider::before {
      top: 16px;
      left: 16px;
    }
  
    .index-page #latestImageSlider .hero-slide span {
      left: 18px !important;
      right: 18px !important;
      bottom: 18px !important;
    }
  
  }
  
  .index-page .home-pro-shell {
    max-width: 1200px !important;
    grid-template-columns: minmax(0,1fr) 360px !important;
    gap: 32px !important;
    align-items: start !important;
    position: relative !important;
    z-index: 2 !important;
    display: grid !important;
    margin: 0 auto !important;
    padding: 0 18px !important;
    width: 100% !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
  }
  
  .index-page .home-pro-main {
    max-width: none !important;
    min-width: 0 !important;
    grid-column: 1 !important;
    width: 100% !important;
  }
  
  .index-page .home-pro-kicker {
    min-height: 34px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    background: rgba(248, 250, 252, 0.96) !important;
    color: #1d4ed8 !important;
    font-size: 0.92rem !important;
    font-weight: 900 !important;
    box-shadow: 0 14px 34px rgba(2, 6, 23, 0.28) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: fit-content !important;
    border: 1px solid rgba(255,255,255,0.78) !important;
  }
  
  .index-page .home-pro-title {
    max-width: 760px !important;
    margin: 24px 0 18px !important;
    font-size: clamp(3.2rem,5vw,4.9rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.07em !important;
    color: #ffffff !important;
    text-shadow: 0 22px 60px rgba(0,0,0,0.52) !important;
    margin-bottom: 18px !important;
  }
  
  .index-page .home-pro-subtitle {
    max-width: 700px !important;
    margin: 0 0 24px !important;
    color: rgba(241,245,249,0.95) !important;
    font-size: 1.12rem !important;
    line-height: 1.65 !important;
    text-shadow: 0 10px 28px rgba(0,0,0,0.36) !important;
    margin-bottom: 28px !important;
  }
  
  .index-page .home-pro-search {
    margin: 0 0 22px !important;
    padding: 10px !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,.92) !important;
    border: 1px solid rgba(226,232,240,0.95) !important;
    box-shadow: 0 18px 44px rgba(2,6,23,0.26),
      inset 0 1px 0 rgba(255,255,255,0.76) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    max-width: 760px !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 8px !important;
    align-items: center !important;
    width: 100% !important;
    margin-top: 16px !important;
  }
  
  .index-page .home-pro-search-input {
    min-height: 58px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 13px !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 0 18px !important;
  }
  
  .index-page .home-pro-search .btn {
    min-height: 58px !important;
    border-radius: 14px !important;
    padding: 0 28px !important;
    font-size: 1.02rem !important;
    display: inline-flex !important;
    white-space: nowrap !important;
  }
  
  .index-page .home-pro-category-row {
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    gap: 12px !important;
    margin: 0 0 22px !important;
    max-width: 760px !important;
    display: grid !important;
    width: 100% !important;
  }
  
  .index-page .home-pro-category-row a {
    min-height: 68px !important;
    padding: 12px 14px !important;
    border-radius: 14px !important;
    background: rgba(71, 85, 105, 0.82) !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    box-shadow: 0 15px 34px rgba(2,6,23,0.20) !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    text-align: center !important;
    text-decoration: none !important;
    color: #1e3a8a !important;
    backdrop-filter: none !important;
  }
  
  .index-page .home-pro-category-row a span {
    background: rgba(248,250,252,0.96) !important;
    color: #1d4ed8 !important;
    display: none !important;
  }
  
  .index-page .home-pro-side {
    padding: 22px !important;
    border-radius: 22px !important;
    background: rgba(248,250,252,.9) !important;
    border: 1px solid rgba(255,255,255,0.84) !important;
    box-shadow: 0 30px 80px rgba(2,6,23,0.34),
      inset 0 1px 0 rgba(255,255,255,0.88) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    grid-column: 2 !important;
    width: 100% !important;
    max-width: 360px !important;
    justify-self: end !important;
    grid-row: 1 !important;
    align-self: start !important;
    position: relative !important;
    top: 0 !important;
    right: auto !important;
    left: auto !important;
    margin-top: -8px !important;
  }
  
  .index-page .home-pro-side-note,
  .index-page .home-pro-side-card,
  .index-page .home-pro-stats article {
    background: rgba(255,255,255,0.96) !important;
    border: 1px solid rgba(226,232,240,0.92) !important;
    box-shadow: 0 14px 30px rgba(15,23,42,0.10) !important;
  }
  
  .index-page .home-pro-side .modern-rate-card {
    margin-bottom: 18px !important;
    background: rgba(82, 89, 107, 0.86) !important;
    border-radius: 18px !important;
  }
  
  .index-page .home-pro-featured {
    margin-top: 28px !important;
    background: rgba(255,255,255,0.16) !important;
    border: 1px solid rgba(255,255,255,0.18) !important;
    border-radius: 18px !important;
    max-width: 790px !important;
    padding: 22px !important;
    box-shadow: 0 18px 44px rgba(2,6,23,0.18) !important;
  }
  
  .index-page .home-pro-feature-grid article {
    background: rgba(30, 64, 175, 0.82) !important;
    border-radius: 14px !important;
    padding: 16px !important;
    color: #ffffff !important;
  }
  
  @media (max-width: 1020px){
  
    .index-page .home-pro-shell {
      grid-template-columns: 1fr !important;
    }
  
    .index-page .home-pro-main {
      max-width: none !important;
    }
  
    .index-page .home-pro-side {
      max-width: 780px !important;
    }
  
  }
  
  @media (max-width: 760px){
  
    .index-page .home-pro-title {
      font-size: clamp(2.1rem, 10vw, 3.2rem) !important;
    }
  
    .index-page #latestImageSlider.hero-image-slider.home-visible-slider {
      min-height: 230px !important;
    }
  
    .index-page #latestImageSlider .hero-slide img {
      min-height: 230px !important;
    }
  
    .index-page #latestImageSlider.hero-image-slider.home-visible-slider::before {
		display: none !important;
		content: none !important;
    }
  
    .index-page .home-pro-category-row {
      grid-template-columns: 1fr 1fr !important;
    }
  
  }
  
  .index-page {
    background: #071326 !important;
  }
  
  .index-page #latestImageSlider.hero-image-slider,
  .index-page #latestImageSlider.home-visible-slider {
    position: relative !important;
    width: 100% !important;
    max-width: 790px !important;
    min-height: 315px !important;
    height: 315px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    background: rgba(15,23,42,0.28) !important;
    border: 2px solid rgba(255,255,255,0.92) !important;
    box-shadow: 0 28px 78px rgba(2,6,23,0.40),
      inset 0 1px 0 rgba(255,255,255,0.08) !important;
  }
  
  .index-page #latestImageSlider.is-empty-slider,
  .index-page #latestImageSlider[style*="display: none"] {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  
  .index-page #latestImageSlider::before {
    content: "‹";
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.96);
    color: #0f172a;
    font-size: 2.2rem;
    font-weight: 900;
    box-shadow: 0 14px 30px rgba(2,6,23,0.30);
    pointer-events: none;
  }
  
  .index-page #latestImageSlider::after {
    content: "›";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.96);
    color: #0f172a;
    font-size: 2.2rem;
    font-weight: 900;
    box-shadow: 0 14px 30px rgba(2,6,23,0.30);
    pointer-events: none;
  }
  
  .index-page .home-pro-search-input i {
    color: #64748b !important;
    font-size: 1.22rem;
  }
  
  .index-page .home-pro-search-input input {
    height: 58px !important;
    border: 0 !important;
    background: transparent !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    outline: 0 !important;
    display: block !important;
    width: 100% !important;
  }
  
  .index-page .home-pro-search-input input::placeholder {
    color: #64748b !important;
  }
  
  .index-page .home-pro-category-row a i {
    margin: 0 !important;
    color: #2563eb !important;
    font-size: 1rem !important;
  }
  
  .index-page .home-pro-category-row a strong {
    color: #94A3B8 !important;
    font-size: 0.88rem !important;
    font-weight: 900 !important;
  }
  
  .index-page .home-pro-category-row a small {
    display: none !important;
  }
  
  .index-page .home-pro-trending {
    display: none !important;
  }
  
  .index-page .home-pro-side-note {
    padding: 22px !important;
    margin-bottom: 18px !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,0.96) !important;
    border: 1px solid rgba(226,232,240,0.92) !important;
    box-shadow: 0 14px 28px rgba(15,23,42,0.08) !important;
  }
  
  .index-page .home-pro-side-note strong {
    display: block;
    color: #0f172a !important;
    font-size: 1.05rem !important;
    line-height: 1.35 !important;
    margin-bottom: 10px !important;
  }
  
  .index-page .home-pro-side-note span {
    display: block;
    color: #334155 !important;
    font-size: 0.94rem !important;
    line-height: 1.55 !important;
  }
  
  .index-page .home-pro-side .modern-rate-card,
  .index-page .home-pro-side .hero-exchange-widget {
    margin-bottom: 18px !important;
    padding: 24px !important;
    border-radius: 18px !important;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.12), transparent 32%),
      linear-gradient(145deg, rgba(15, 23, 42, 0.94), rgba(30, 58, 138, 0.84)) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.16) !important;
    box-shadow: 0 22px 54px rgba(2,6,23,0.24) !important;
  }
  
  .index-page .home-pro-stats {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
    margin-bottom: 18px !important;
  }
  
  .index-page .home-pro-stats article {
    min-height: 106px;
    padding: 18px 10px !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,0.96) !important;
    border: 1px solid rgba(226,232,240,0.94) !important;
    box-shadow: 0 14px 30px rgba(15,23,42,0.10) !important;
    text-align: center;
  }
  
  .index-page .home-pro-stats strong {
    display: block;
    color: #1d4ed8 !important;
    font-size: 1.18rem !important;
    font-weight: 900 !important;
  }
  
  .index-page .home-pro-stats span {
    display: block;
    margin-top: 8px;
    color: #0f172a !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    line-height: 1.35;
  }
  
  .index-page .home-pro-side-card {
    padding: 20px !important;
    margin-bottom: 18px !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,0.96) !important;
    border: 1px solid rgba(226,232,240,0.92) !important;
    box-shadow: 0 16px 34px rgba(15,23,42,0.10) !important;
  }
  
  .index-page .home-pro-panel-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px !important;
    color: #0f172a !important;
    font-size: 1.25rem !important;
    font-weight: 900 !important;
  }
  
  .index-page .home-pro-panel-title i {
    color: #2563eb !important;
  }
  
  .index-page .home-pro-recent-list {
    display: grid !important;
    gap: 10px !important;
  }
  
  .index-page .home-pro-recent-list a {
    display: grid !important;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 13px 14px !important;
    border-radius: 12px !important;
    background: rgba(248,250,252,0.94) !important;
    border: 1px solid rgba(203,213,225,0.88) !important;
    text-decoration: none !important;
  }
  
  .index-page .home-pro-recent-list strong {
    color: #1d4ed8 !important;
    font-weight: 900 !important;
  }
  
  .index-page .home-pro-recent-list span {
    color: #334155 !important;
    font-size: 0.86rem !important;
  }
  
  .index-page .home-pro-side-card .hero-city-chips {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
  
  .index-page .home-pro-side-card .hero-city-chips a {
    min-height: 36px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #1d4ed8 !important;
    border: 1px solid #bfdbfe !important;
    font-weight: 900 !important;
    font-size: 0.84rem !important;
    box-shadow: none !important;
  }
  
  .index-page .home-pro-feature-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
  
  .index-page .latest-listings-section {
    background: var(--bg, #f5f7fb) !important;
    padding-top: 22px !important;
  }
  
  @media (max-width: 1040px){
  
    .index-page .home-pro-shell {
      grid-template-columns: 1fr !important;
    }
  
    .index-page .home-pro-main,
    .index-page #latestImageSlider.hero-image-slider,
    .index-page .home-pro-search,
    .index-page .home-pro-category-row,
    .index-page .home-pro-featured {
      max-width: none !important;
    }
  
    .index-page .home-pro-side {
      max-width: 790px !important;
    }
  
  }
  
  @media (max-width: 760px){
  
    .index-page .home-pro-redesign {
      padding: 36px 0 32px !important;
    }
  
    .index-page .home-pro-title {
      font-size: clamp(2.25rem, 10vw, 3.25rem) !important;
    }
  
    .index-page #latestImageSlider.hero-image-slider {
      min-height: 230px !important;
      height: 230px !important;
      border-radius: 18px !important;
    }
  
    .index-page #latestImageSlider .hero-slide img {
      min-height: 230px !important;
    }
  
    .index-page #latestImageSlider::before,
    .index-page #latestImageSlider::after {
      width: 38px;
      height: 38px;
      font-size: 1.8rem;
    }
  
    .index-page .home-pro-search {
      grid-template-columns: 1fr !important;
    }
  
    .index-page .home-pro-search .btn {
      width: 100%;
    }
  
    .index-page .home-pro-category-row {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
  
    .index-page .home-pro-feature-grid,
    .index-page .home-pro-stats {
      grid-template-columns: 1fr !important;
    }
  
  }
  
  .index-page .home-pro-category-row a span,
  .index-page .home-pro-category-row a small {
    display: none !important;
  }
  
  @media (max-width: 1040px){
  
    .index-page .home-pro-shell {
      grid-template-columns: 1fr !important;
    }
  
    .index-page .home-pro-main,
    .index-page .home-visible-slider-wrap,
    .index-page #latestImageSlider.hero-image-slider,
    .index-page .home-pro-search,
    .index-page .home-pro-category-row,
    .index-page .home-pro-featured {
      max-width: none !important;
    }
  
    .index-page .home-pro-side {
      grid-column: auto !important;
      max-width: 790px !important;
      justify-self: stretch !important;
    }
  
  }
  
  @media (max-width: 760px){
  
    .index-page .home-pro-redesign {
      padding: 36px 0 32px !important;
    }
  
    .index-page .home-pro-title {
      font-size: clamp(2.25rem, 10vw, 3.25rem) !important;
    }
  
    .index-page #latestImageSlider.hero-image-slider {
      min-height: 230px !important;
      height: 230px !important;
    }
  
    .index-page #latestImageSlider .hero-slide img {
      min-height: 230px !important;
    }
  
    .index-page .home-pro-search {
      grid-template-columns: 1fr !important;
    }
  
    .index-page .home-pro-search .btn {
      width: 100%;
    }
  
    .index-page .home-pro-category-row {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
  
    .index-page .home-pro-stats {
      grid-template-columns: 1fr !important;
    }
  
  }
  
  .index-page #latestImageSlider {
    width: 100% !important;
    max-width: 760px !important;
    height: 270px !important;
    min-height: 270px !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    background: rgba(15,23,42,.22) !important;
    box-shadow: 0 24px 70px rgba(2,6,23,.38) !important;
  }
  
  .index-page .home-pro-side-card,
  .index-page .home-pro-side-note {
    border-radius: 18px !important;
  }
  
  @media(max-width:1040px){
  
      .index-page .home-pro-shell{
          grid-template-columns:1fr !important;
      }
  
      .index-page .home-pro-side{
          max-width:760px !important;
          justify-self:stretch !important;
      }
  
      .index-page .home-visible-slider-wrap,
      .index-page #latestImageSlider,
      .index-page .home-pro-search,
      .index-page .home-pro-category-row{
          max-width:none !important;
      }
  
  }
  
  .index-page .home-pro-side > * {
    width: 100% !important;
  }
  
  .index-page .home-visible-slider-wrap,
  .index-page #latestImageSlider {
    max-width: 760px !important;
  }
  
  @media(max-width:1040px){
  
  
      .index-page .home-pro-shell{
          grid-template-columns:1fr !important;
      }
  
      .index-page .home-pro-side{
          grid-column:auto !important;
          grid-row:auto !important;
          max-width:760px !important;
          justify-self:stretch !important;
          margin-top:26px !important;
      }
  
  }
  
  .index-page .home-pro-redesign > .home-pro-shell {
    display: grid !important;
    grid-template-columns: minmax(0, 760px) 360px !important;
    justify-content: center !important;
    gap: 44px !important;
    align-items: start !important;
    max-width: 1220px !important;
    margin: 0 auto !important;
  }
  
  .index-page .home-pro-redesign > .home-pro-shell > .home-pro-main {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 760px !important;
    min-width: 0 !important;
  }
  
  .index-page .home-pro-redesign > .home-pro-shell > .home-pro-side {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 360px !important;
    min-width: 0 !important;
    margin: 0 !important;
    justify-self: stretch !important;
    align-self: start !important;
  }
  
  .index-page .home-pro-redesign > .home-pro-shell > .home-pro-main .home-visible-slider-wrap,
  .index-page .home-pro-redesign > .home-pro-shell > .home-pro-main #latestImageSlider,
  .index-page .home-pro-redesign > .home-pro-shell > .home-pro-main .home-pro-search,
  .index-page .home-pro-redesign > .home-pro-shell > .home-pro-main .home-pro-category-row {
    max-width: 760px !important;
    width: 100% !important;
  }
  
  @media (max-width: 1040px){
  
    .index-page .home-pro-redesign > .home-pro-shell {
      grid-template-columns: 1fr !important;
      max-width: 760px !important;
    }
  
    .index-page .home-pro-redesign > .home-pro-shell > .home-pro-main,
    .index-page .home-pro-redesign > .home-pro-shell > .home-pro-side {
      grid-column: 1 !important;
      grid-row: auto !important;
      max-width: 760px !important;
    }
  
  }
  
  .index-page .home-pro-main > .home-visible-slider-wrap + .home-pro-search {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 760px !important;
    width: 100% !important;
    margin: 18px 0 22px !important;
    padding: 10px !important;
    grid-template-columns: 1fr auto !important;
    gap: 8px !important;
    align-items: center !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,0.96) !important;
    border: 1px solid rgba(226,232,240,0.95) !important;
    box-shadow: 0 18px 44px rgba(2,6,23,0.26) !important;
  }
  
  @media (max-width: 760px){
  
    .index-page .home-pro-main > .home-visible-slider-wrap + .home-pro-search {
      grid-template-columns: 1fr !important;
    }
  
    .index-page .home-pro-search .btn {
      width: 100% !important;
    }
  
  }
  
  .index-page .latest-listings-section .container,
  .index-page .home-pro-redesign .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
  }
  
  @media(max-width:768px){
  
  
      .index-page .home-pro-shell,
      .index-page .latest-listings-section .container,
      .index-page .home-pro-redesign .container{
          padding-left:16px !important;
          padding-right:16px !important;
      }
  
  }
  
  .index-page .home-pro-redesign > .container.home-pro-shell,
  .index-page .latest-listings-section > .container {
    width: 100% !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    box-sizing: border-box !important;
  }
  
  .index-page .home-pro-redesign > .container.home-pro-shell {
    display: grid !important;
    grid-template-columns: minmax(0, calc(100% - var(--hero-side-width) - var(--hero-gap))) var(--hero-side-width) !important;
    gap: 32px !important;
    align-items: start !important;
    justify-content: stretch !important;
    column-gap: var(--hero-gap) !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  
  .index-page .home-pro-redesign > .container.home-pro-shell > .home-pro-main {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    grid-column: 1 !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .index-page .home-pro-redesign > .container.home-pro-shell > .home-pro-side {
    width: var(--hero-side-width) !important;
    max-width: var(--hero-side-width) !important;
    justify-self: end !important;
    grid-column: 2 !important;
    margin-right: 0 !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
  
  .index-page .home-pro-main .home-visible-slider-wrap,
  .index-page .home-pro-main #latestImageSlider,
  .index-page .home-pro-main .home-pro-search,
  .index-page .home-pro-main .home-pro-category-row,
  .index-page .home-pro-main .home-pro-featured {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .index-page .latest-listings-section .section-head,
  .index-page .latest-listings-section .home-listing-type-filters,
  .index-page .latest-listings-section .home-listings-grid {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  @media (max-width: 1040px){
  
      .index-page .home-pro-redesign > .container.home-pro-shell {
          grid-template-columns: 1fr !important;
      }
  
      .index-page .home-pro-redesign > .container.home-pro-shell > .home-pro-side {
          max-width: none !important;
          justify-self: stretch !important;
      }
  
  }
  
  @media (max-width: 768px){
  
      .index-page .home-pro-redesign > .container.home-pro-shell,
      .index-page .latest-listings-section > .container {
          width: min(94%, 760px) !important;
      }
  
  }
  
  .index-page .home-pro-main .home-pro-kicker,
  .index-page .home-pro-main .home-pro-title,
  .index-page .home-pro-main .home-pro-subtitle {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }
  
  @media (max-width: 1040px){
  
      .index-page .home-pro-redesign > .container.home-pro-shell {
          grid-template-columns: 1fr !important;
      }
  
      .index-page .home-pro-redesign > .container.home-pro-shell > .home-pro-side {
          grid-column: 1 !important;
          width: 100% !important;
          max-width: 100% !important;
          justify-self: stretch !important;
      }
  
  }
  
  @media (max-width: 768px){
  
      .index-page .home-pro-redesign > .container.home-pro-shell,
      .index-page .latest-listings-section > .container {
          width: min(94vw, 760px) !important;
      }
  
  }
  
  .index-page .home-pro-main,
  .index-page .home-pro-main .home-visible-slider-wrap,
  .index-page .home-pro-main #latestImageSlider,
  .index-page .home-pro-main .home-pro-search,
  .index-page .home-pro-main .home-pro-category-row,
  .index-page .home-pro-main .home-pro-featured {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  @media (max-width: 1040px){
  
  
      .index-page .home-pro-redesign > .container.home-pro-shell {
          grid-template-columns: 1fr !important;
      }
  
      .index-page .home-pro-side {
          max-width: 100% !important;
      }
  
  }
  
  .index-page .home-pro-redesign > .container.home-pro-shell,
  .index-page #latestListingsGrid,
  .index-page .latest-listings-section > .container {
    max-width: 1180px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }
  
  .index-page .latest-listings-section > .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  
  @media (max-width: 1040px){
  
  
      .index-page .home-pro-redesign > .container.home-pro-shell {
          grid-template-columns: 1fr !important;
      }
  
      .index-page .home-pro-side {
          max-width: 100% !important;
      }
  
  }
  
  :root {
    --site-max-width: 1168px;
    --site-side-padding: 0px;
    --hero-side-width: 360px;
    --hero-gap: 32px;
  }
  
 
  .container,
  .site-header .header-inner,
  .index-page .home-pro-shell,
  .index-page .latest-listings-section > .container,
  .index-page #latestListingsGrid {
    width: 100% !important;
    max-width: var(--site-max-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: var(--site-side-padding) !important;
    padding-right: var(--site-side-padding) !important;
    box-sizing: border-box !important;
  }
  
  .site-header .header-inner {
    display: flex !important;
    align-items: center !important;
  }
  
  .index-page .home-visible-slider-wrap,
  .index-page #latestImageSlider,
  .index-page .home-pro-search,
  .index-page .home-pro-category-row,
  .index-page .home-pro-featured {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .index-page .section-head,
  .index-page .home-listing-type-filters,
  .index-page .home-listings-grid {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  section,
  .hero,
  .latest-listings-section {
    overflow-x: hidden !important;
  }
  
  @media (max-width:1040px){
  
  
      .index-page .home-pro-shell{
          grid-template-columns:1fr !important;
      }
  
      .index-page .home-pro-side{
          max-width:100% !important;
      }
  
  }
  
  @media (max-width:768px){
  
  
      :root{
          --site-side-padding: 16px;
      }
  
  }
  
  .index-page .home-pro-redesign > .container.home-pro-shell,
  .index-page .latest-listings-section > .container,
  .index-page .site-nav.container,
  .container.site-nav {
    width: min(92vw, var(--site-max-width)) !important;
    max-width: var(--site-max-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  
  .index-page .home-pro-main .home-pro-title,
  .index-page .home-pro-main .home-pro-subtitle,
  .index-page .home-pro-main .home-visible-slider-wrap,
  .index-page .home-pro-main #latestImageSlider,
  .index-page .home-pro-main .home-pro-search,
  .index-page .home-pro-main .home-pro-category-row,
  .index-page .home-pro-main .home-pro-featured {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .index-page .latest-listings-section .section-head,
  .index-page .latest-listings-section .home-listing-type-filters,
  .index-page .latest-listings-section .home-listings-grid,
  .index-page #latestListingsGrid {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
  
  @media (max-width: 1040px){
  
      .index-page .home-pro-redesign > .container.home-pro-shell {
          grid-template-columns: 1fr !important;
      }
  
      .index-page .home-pro-redesign > .container.home-pro-shell > .home-pro-side {
          grid-column: 1 !important;
          width: 100% !important;
          max-width: 100% !important;
          justify-self: stretch !important;
          margin-top: 24px !important;
      }
  
  }
  
  @media (max-width: 768px){
  
      .index-page .home-pro-redesign > .container.home-pro-shell,
      .index-page .latest-listings-section > .container,
      .index-page .site-nav.container,
      .container.site-nav {
          width: calc(100% - 32px) !important;
      }
  
  }
  
  .index-page .latest-listings-section .section-head {
    background: rgba(255, 255, 255, 0.54) !important;
    border: 1px solid rgba(255, 255, 255, 0.34) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 16px 40px rgba(2, 6, 23, 0.18) !important;
  }
  
  @media (max-width: 1040px){
  
      .index-page .home-pro-side {
          margin-top: 20px !important;
      }
  
  }
  
  @media (max-width: 760px){
  
      .index-page #latestImageSlider {
          height: 220px !important;
          min-height: 220px !important;
      }
  
      .index-page #latestImageSlider .hero-slide img {
          height: 220px !important;
          min-height: 220px !important;
      }
  
      .index-page .home-pro-category-row a {
          min-height: 60px !important;
      }
  
  }
  
  .home-listing-type-filters,
  .home-listing-type-filters * {
    color: #e2e8f0 !important;
  }
  
  .home-listing-type-filters label,
  .home-listing-type-filters span,
  .home-listing-type-filters a {
    color: #f1f5f9 !important;
    opacity: 1 !important;
    font-weight: 600 !important;
  }
  
  .home-listing-type-filters i {
    color: #93c5fd !important;
  }
  
  .home-listing-type-filters {
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
  }
  
  @media (max-width: 768px){
  
  
      .latest-listings-section .section-head {
          padding: 18px !important;
          border-radius: 20px !important;
      }
  
      .latest-listings-section .section-head h2,
      .latest-listings-section .section-head .section-title,
      .latest-listings-section .section-head strong {
          color: #ffffff !important;
          font-size: 2rem !important;
          line-height: 1.1 !important;
          opacity: 1 !important;
          text-shadow: 0 3px 10px rgba(0,0,0,.35) !important;
      }
  
      .latest-listings-section .section-head p,
      .latest-listings-section .section-head .section-subtitle,
      .latest-listings-section .section-head small {
          color: rgba(255,255,255,.92) !important;
          opacity: 1 !important;
      }
  
      .latest-listings-section .section-head .section-actions,
      .latest-listings-section .section-head .header-actions {
          display: flex !important;
          flex-direction: column !important;
          gap: 12px !important;
          width: 100% !important;
          margin-top: 16px !important;
      }
  
      .latest-listings-section .section-head .btn,
      .latest-listings-section .section-head a.btn {
          width: 100% !important;
          justify-content: center !important;
          min-height: 48px !important;
          border-radius: 14px !important;
          font-size: 1rem !important;
      }
  
  }
  
  .index-page .latest-listings-section .section-head,
  .latest-listings-section .section-head {
    background: rgba(15, 23, 42, 0.78) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 22px !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    box-shadow: 0 16px 40px rgba(2, 6, 23, 0.22),
          inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    padding: 22px 24px !important;
  }
  
  .index-page .latest-listings-section .section-head h2,
  .latest-listings-section .section-head h2,
  .latest-listings-section .section-head .section-title,
  .latest-listings-section .section-head strong {
    color: #f8fafc !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.32) !important;
    opacity: 1 !important;
  }
  
  .index-page .latest-listings-section .section-head p,
  .latest-listings-section .section-head p,
  .latest-listings-section .section-head .section-subtitle,
  .latest-listings-section .section-head small {
    color: #cbd5e1 !important;
    text-shadow: none !important;
    opacity: 1 !important;
  }
  
  .latest-listings-section .section-head .btn-primary,
  .latest-listings-section .section-head a.btn-primary {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
  }
  
  .latest-listings-section .section-head .btn-outline,
  .latest-listings-section .section-head a.btn-outline {
    background: rgba(255, 255, 255, 0.96) !important;
    color: #0f172a !important;
    border-color: rgba(203, 213, 225, 0.9) !important;
  }
  
  @media (max-width: 768px){
  
      .index-page .latest-listings-section .section-head,
      .latest-listings-section .section-head {
          background: rgba(15, 23, 42, 0.82) !important;
          border: 1px solid rgba(255, 255, 255, 0.16) !important;
          border-radius: 20px !important;
          padding: 18px !important;
      }
  
      .index-page .latest-listings-section .section-head h2,
      .latest-listings-section .section-head h2,
      .latest-listings-section .section-head .section-title,
      .latest-listings-section .section-head strong {
          color: #f8fafc !important;
          font-size: 1.65rem !important;
          line-height: 1.15 !important;
          text-shadow: 0 2px 8px rgba(0, 0, 0, 0.30) !important;
      }
  
      .index-page .latest-listings-section .section-head p,
      .latest-listings-section .section-head p,
      .latest-listings-section .section-head .section-subtitle,
      .latest-listings-section .section-head small {
          color: #cbd5e1 !important;
          font-size: 0.95rem !important;
          text-shadow: none !important;
      }
  
  }
  
  .container.site-nav,
  .container.nav.site-nav,
  .index-page .site-nav.container {
    width: min(1120px, 92%) !important;
    max-width: 1120px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  @media (max-width: 768px){
  
    .container.site-nav,
    .container.nav.site-nav,
    .index-page .site-nav.container {
      width: calc(100% - 32px) !important;
      max-width: none !important;
    }
  
  }
  
/* Removed duplicate/conflicting site background rule during cleanup. */
  
  @media (max-width: 768px){
  
/* Removed duplicate/conflicting site background rule during cleanup. */
  
  }
  
  main,
  section,
  .hero,
  .hero-professional,
  .latest-listings-section,
  .featured-section,
  .category-section,
  .listings-section,
  .details-section,
  .auth-section,
  .page-section {
    background: transparent !important;
    background-image: none !important;
  }
  
  header {
    background: rgba(245, 247, 251, 0.92) !important;
  }
  
  html {
    min-height: 100% !important;
    background: #081525 !important;
  }
  
  body {
    position: relative !important;
    min-height: 100vh !important;
    background: transparent !important;
    isolation: isolate !important;
  }
  
/* Removed duplicate/conflicting site background rule during cleanup. */
  
  main,
  section,
  .hero,
  .hero-professional,
  .latest-listings-section,
  .featured-section,
  .category-section,
  .listings-section,
  .details-section,
  .auth-section,
  .page-section,
  .container.page,
  .page-wrapper {
    background: transparent !important;
    background-image: none !important;
  }
  
  body.index-page {
    position: relative !important;
    min-height: 100vh !important;
    background: transparent !important;
    isolation: isolate !important;
  }
  
/* Removed duplicate/conflicting site background rule during cleanup. */
  
  body.index-page main,
  body.index-page section,
  body.index-page .hero,
  body.index-page .hero-professional,
  body.index-page .latest-listings-section,
  body.index-page .featured-section,
  body.index-page .category-section,
  body.index-page .listings-section,
  body.index-page .details-section,
  body.index-page .auth-section,
  body.index-page .page-section,
  body.index-page .page-wrapper {
    background: transparent !important;
    background-image: none !important;
  }
  
  body.index-page .card,
  body.index-page .details-card,
  body.index-page .service-card,
  body.index-page .small-listing-card,
  body.index-page .nanny-card,
  body.index-page .home-listing-card,
  body.index-page .listing-toolbar,
  body.index-page .nanny-toolbar,
  body.index-page .my-listings-toolbar,
  body.index-page .my-listing-card,
  body.index-page .lock-box,
  body.index-page .locked-box,
  body.index-page .auth-card,
  body.index-page .review-card,
  body.index-page .contact-box,
  body.index-page .filter-form,
  body.index-page .category-search,
  body.index-page .hero-pro-search,
  body.index-page .hero-pro-panel,
  body.index-page .hero-recent,
  body.index-page .home-listing-type-filters,
  body.index-page .hero-category-grid,
  body.index-page .hero-exchange-widget {
    background: rgba(71, 85, 105, 0.82) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
    color: #f8fafc !important;
  }
  
  body.index-page .card h1,
  body.index-page .card h2,
  body.index-page .card h3,
  body.index-page .card h4,
  body.index-page .details-card h1,
  body.index-page .details-card h2,
  body.index-page .details-card h3,
  body.index-page .service-card h1,
  body.index-page .service-card h2,
  body.index-page .service-card h3,
  body.index-page .small-listing-card h3,
  body.index-page .nanny-card h3,
  body.index-page .home-listing-card h3,
  body.index-page .my-listing-card h3,
  body.index-page .section-head h1,
  body.index-page .section-head h2,
  body.index-page .listing-toolbar h1,
  body.index-page .listing-toolbar h2,
  body.index-page .listing-toolbar h3 {
    color: #ffffff !important;
  }
  
  body.index-page .card p,
  body.index-page .card span,
  body.index-page .card small,
  body.index-page .details-card p,
  body.index-page .details-card span,
  body.index-page .details-card small,
  body.index-page .service-card p,
  body.index-page .service-card span,
  body.index-page .small-listing-card p,
  body.index-page .small-listing-card span,
  body.index-page .nanny-card p,
  body.index-page .nanny-card span,
  body.index-page .home-listing-card p,
  body.index-page .home-listing-card span,
  body.index-page .my-listing-card p,
  body.index-page .my-listing-card span,
  body.index-page .section-head p,
  body.index-page .listing-meta,
  body.index-page .service-meta,
  body.index-page .nanny-meta,
  body.index-page .details-meta,
  body.index-page .contact-line,
  body.index-page .my-listing-description {
    color: #94A3B8;
  }
  
  body.index-page input,
  body.index-page select,
  body.index-page textarea {
    background: rgba(255, 255, 255, 0.10) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
  }
  
  body.index-page input::placeholder,
  body.index-page textarea::placeholder {
    color: rgba(255, 255, 255, 0.62) !important;
  }
  
  body.index-page .service-img,
  body.index-page .small-listing-img,
  body.index-page .nanny-img,
  body.index-page .my-listing-image,
  body.index-page .main-photo,
  body.index-page .thumb {
    background: rgba(226, 232, 240, 0.22) !important;
  }
  
  @media (max-width: 768px){
  
    body.index-page::before,
    body.index-page::after {
      position: fixed !important;
    }
  
    body.index-page .card,
    body.index-page .details-card,
    body.index-page .service-card,
    body.index-page .small-listing-card,
    body.index-page .nanny-card,
    body.index-page .home-listing-card,
    body.index-page .listing-toolbar,
    body.index-page .nanny-toolbar,
    body.index-page .my-listings-toolbar,
    body.index-page .my-listing-card,
    body.index-page .auth-card {
      background: rgba(71, 85, 105, 0.88) !important;
    }
  }
}

/* =========================================================
   FINAL FILTER CARD GLASS EFFECT
   Only updates filter card color + transparency.
   ========================================================= */

.service-filter-card,
.roommate-filter-card,
.nanny-filter-card {

    background: rgba(71, 85, 105, 0.82) !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: blur(18px) saturate(145%) !important;

    border: 1px solid rgba(255,255,255,0.16) !important;

    box-shadow:
        0 24px 60px rgba(15,23,42,0.28),
        0 8px 22px rgba(15,23,42,0.14) !important;

    color: #f8fafc !important;
}

/* Keep filter grid transparent */
.service-filter-grid,
.roommate-filter-grid,
.nanny-filter-grid {
    background: transparent !important;
}

/* Titles */
.service-filter-head h1,
.service-filter-head h2,
.service-filter-head h3,
.filter-card-head h1,
.filter-card-head h2,
.filter-card-head h3 {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.35) !important;
}

/* Description text */
.service-filter-head p,
.filter-card-head p {
    color: rgba(241,245,249,0.88) !important;
}

/* Labels */
.service-filter-card label,
.roommate-filter-card label,
.nanny-filter-card label,
.filter-field label {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Inputs/selects */
.service-filter-card input,
.service-filter-card select,
.roommate-filter-card input,
.roommate-filter-card select,
.nanny-filter-card input,
.nanny-filter-card select {

    background: rgba(255,255,255,0.14) !important;

    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;

    border: 1px solid rgba(255,255,255,0.14) !important;

    box-shadow:
        inset 0 1px 2px rgba(255,255,255,0.04),
        0 2px 10px rgba(0,0,0,0.10) !important;
}

/* Placeholder */
.service-filter-card input::placeholder,
.roommate-filter-card input::placeholder,
.nanny-filter-card input::placeholder {

    color: rgba(255,255,255,0.72) !important;
    opacity: 1 !important;
}

/* Dropdown option readability */
.service-filter-card select option,
.roommate-filter-card select option,
.nanny-filter-card select option {
    background: #64748b !important;
    color: #ffffff !important;
}

/* Pills */
.filter-checks label,
.nanny-filter-checks label,
.nanny-checks label,
.checkbox-pill {

    background: rgba(255,255,255,0.10) !important;

    color: #ffffff !important;

    border: 1px solid rgba(255,255,255,0.14) !important;

    backdrop-filter: blur(8px) !important;
}


/* =========================================================
   POST PAGE DROPDOWN OPTION COLORS
   post_roommate + post_nanny + post_service
   ========================================================= */

.roommate-post-card select option,
.nanny-post-card select option,
.post-service-card select option,

.post-roommate-page select option,
.post-nanny-page select option,
.post-service-page select option {

    background: #64748b !important;

    color: #ffffff !important;
}



/* =========================================================
   MATCH POST CARD COLORS
   ========================================================= */

.roommate-post-card,
.nanny-post-card,
.post-service-card {

    background: rgba(71, 85, 105, 0.82) !important;

    backdrop-filter: backdrop-filter: none !important;
    -webkit-backdrop-filter: blur(24px) saturate(155%) !important;

    border: 1px solid rgba(255,255,255,0.14) !important;

    box-shadow:
        0 24px 60px rgba(15,23,42,0.18),
        0 8px 22px rgba(15,23,42,0.10) !important;
}

.announcement-marquee {
  width: 100%;
  overflow: hidden;
  background: rgba(71, 85, 105, 0.82)
  color: #ffffff;
  
  padding: 10px 0;
  font-weight: 900;
  font-size: 0.95rem;
  white-space: nowrap;
  backdrop-filter: none !
}

.announcement-track {
  display: inline-block;
  padding-left: 100%;
  animation: announcementScroll 22s linear infinite;
}

@keyframes announcementScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
/* =========================================================
   AUTH HEADER SAFETY FIX
   ========================================================= */
body.is-authenticated #guestLinks {
  display: none !important;
}
body.is-authenticated #userMenu {
  display: block !important;
}
body.is-guest #guestLinks {
  display: flex !important;
}
body.is-guest #userMenu {
  display: none !important;
}

/* =========================================================
   MY LISTINGS USER DEACTIVATE BUTTON
   ========================================================= */
.my-listing-actions .deactivate-btn {
  border-color: #cbd5e1 !important;
  color: #334155 !important;
  background: rgba(255,255,255,0.92) !important;
}

.my-listing-actions .deactivate-btn:hover {
  border-color: #f97316 !important;
  color: #9a3412 !important;
  background: #fff7ed !important;
}





/* ===== Roommate Details Compact Refresh ===== */

.roommate-details-main {
  padding: 22px 0 52px;
}

.roommate-details-shell {
  max-width: 1180px;
  margin: 0 auto;
}

.roommate-details-page .details-card,
.roommate-details-page .card {
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.roommate-details-page .details-section {
  margin-bottom: 16px;
}

.roommate-details-page .info-grid,
.roommate-details-page .amenity-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.roommate-details-page .info-item,
.roommate-details-page .amenity {
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.90rem;
  line-height: 1.35;
  background: #f8fafc;
}

.roommate-details-page h1,
.roommate-details-page h2,
.roommate-details-page h3 {
  margin-bottom: 10px;
}

.roommate-details-page .details-meta {
  margin-bottom: 8px;
  font-size: 0.99rem;
}

.roommate-details-page .contact-box {
  padding: 14px;
  border-radius: 14px;
}

.roommate-details-page .listing-description,
.roommate-details-page .description-box {
  line-height: 1.6;
  font-size: 0.97rem;
}

.roommate-details-page .gallery-grid img,
.roommate-details-page .gallery-grid video {
  border-radius: 14px;
}

@media (min-width: 992px) {
  .roommate-details-page .roommate-layout,
  .roommate-details-page .details-layout {
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .roommate-details-page .details-card,
  .roommate-details-page .card {
    padding: 14px;
  }

  .roommate-details-page .info-grid,
  .roommate-details-page .amenity-grid {
    grid-template-columns: 1fr 1fr;
  }
}



/* ===== Roommate Details Single Box + Clean Rows ===== */
.roommate-details-page .roommate-combined-info-card {
  padding: 18px 20px;
}

.roommate-details-page .roommate-combined-info-card .detail-card-heading {
  margin-bottom: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.75);
}

.roommate-details-page .roommate-combined-section {
  padding: 12px 0;
}

.roommate-details-page .roommate-combined-section + .roommate-combined-section {
  border-top: 1px solid rgba(226, 232, 240, 0.75);
}

.roommate-details-page .roommate-combined-section h3 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.2px;
}

.roommate-details-page .roommate-clean-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
  margin-top: 0;
}

.roommate-details-page .roommate-clean-list .amenity,
.roommate-details-page .roommate-detail-grid .amenity {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px dashed rgba(203, 213, 225, 0.9) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: auto !important;
  padding: 8px 0 !important;
  color: #334155;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.35;
}

.roommate-details-page .roommate-clean-list .amenity span {
  color: #0f172a;
  font-weight: 900;
}

@media (max-width: 768px) {
  .roommate-details-page .roommate-clean-list {
    grid-template-columns: 1fr;
  }

  .roommate-details-page .roommate-combined-info-card {
    padding: 15px;
  }
}


/* ===== Roommate Details Unified Details Box ===== */
.roommate-details-page .roommate-details-unified-card {
  padding: 18px 20px;
}

.roommate-details-page .roommate-inline-details-panel {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
}

.roommate-details-page .roommate-inline-details-panel .detail-card-heading {
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.75);
}

.roommate-details-page .roommate-inline-details-panel .roommate-combined-section {
  padding: 10px 0;
}

.roommate-details-page .roommate-inline-details-panel .roommate-combined-section:last-child {
  padding-bottom: 0;
}

@media (max-width: 768px) {
  .roommate-details-page .roommate-details-unified-card {
    padding: 15px;
  }
}

/* ===== Roommate Details Unified Box Polish ===== */
.roommate-details-page .roommate-details-unified-card {
  position: relative;
  overflow: hidden;
  padding: 24px 26px 26px !important;
  border: 1px solid rgba(148, 163, 184, 0.26) !important;
  border-radius: 24px !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(248,250,252,0.94)) !important;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.14) !important;
}

.roommate-details-page .roommate-details-unified-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, #2563eb, #38bdf8, #14b8a6);
}

.roommate-details-page .roommate-title-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.roommate-details-page .roommate-detail-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.roommate-details-page .roommate-details-unified-card h1 {
  margin: 0 0 8px !important;
  color: #0f172a;
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.roommate-details-page .roommate-price {
  display: inline-flex;
  align-items: baseline;
  margin: 4px 0 10px;
  padding: 8px 14px;
  border-radius: 16px;
  background: #334155;
  color: #ffffff;
  font-size: clamp(1.25rem, 2vw, 1.25rem);
  font-weight: 400;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
}

.roommate-details-page .roommate-location {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 8px !important;
  color: #475569;
  font-weight: 600;
}

.roommate-details-page .roommate-location::before {
  content: "\f3c5";
  font-family: "Font Awesome 6 Free";
  font-weight: 600;
  color: #2563eb;
}

.roommate-details-page .roommate-description {
  margin: 14px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(203, 213, 225, 0.75);
  color: #334155;
  font-size: 1rem;
  line-height: 1.72;
}

.roommate-details-page .roommate-inline-details-panel {
  margin-top: 22px !important;
  padding: 18px !important;
  border: 1px solid rgba(191, 219, 254, 0.95) !important;
  border-radius: 20px;
  background:
    radial-gradient(circle at top left, rgba(219,234,254,0.72), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.92));
}

.roommate-details-page .roommate-inline-details-panel .detail-card-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px !important;
  padding-bottom: 13px !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.28) !important;
}

.roommate-details-page .roommate-inline-details-panel .detail-card-heading span {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.24);
}

.roommate-details-page .roommate-inline-details-panel .detail-card-heading h2 {
  margin: 0 !important;
  color: #0f172a;
  font-size: 1.18rem;
  font-weight: 950;
  letter-spacing: -0.025em;
}

.roommate-details-page .roommate-inline-details-panel .roommate-combined-section {
  padding: 13px 0 !important;
}

.roommate-details-page .roommate-inline-details-panel .roommate-combined-section h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px !important;
  color: #1e3a8a;
  font-size: 0.88rem;
  font-weight: 950;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.roommate-details-page .roommate-inline-details-panel .roommate-combined-section h3::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.13);
}

.roommate-details-page .roommate-clean-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  column-gap: 28px !important;
  row-gap: 0 !important;
}

.roommate-details-page .roommate-clean-list .amenity,
.roommate-details-page .roommate-detail-grid .amenity {
  display: flex;
  align-items: center;
  min-height: 36px !important;
  padding: 9px 0 !important;
  border-bottom: 1px solid rgba(203, 213, 225, 0.68) !important;
  color: #475569 !important;
  background: transparent !important;
  font-size: 0.95rem !important;
  font-weight: 750 !important;
}

.roommate-details-page .roommate-clean-list .amenity::before,
.roommate-details-page .roommate-detail-grid .amenity::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  border-radius: 50%;
  background: #38bdf8;
}

.roommate-details-page .roommate-clean-list .amenity span {
  color: #94A3B8 !important;
  font-weight: 950 !important;
  margin-right: 4px;
}

@media (max-width: 768px) {
  .roommate-details-page .roommate-details-unified-card {
    padding: 19px 16px 18px !important;
    border-radius: 20px !important;
  }

  .roommate-details-page .roommate-inline-details-panel {
    padding: 14px !important;
    border-radius: 17px;
  }

  .roommate-details-page .roommate-clean-list {
    grid-template-columns: 1fr !important;
  }
}



/* ===== Roommate Details Vertical Layout Refresh ===== */

.roommate-details-page .roommate-info-combined,
.roommate-details-page .details-unified-box {
  background: transparent !important;
  box-shadow: none !important;
}

.roommate-details-page .details-vertical-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
  align-items: start;
}

.roommate-details-page .details-vertical-section {
  padding: 10px 0;
}

.roommate-details-page .details-vertical-section h3 {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(148,163,184,0.25);
  font-size: 1.05rem;
  font-weight: 700;
}

.roommate-details-page .details-vertical-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.roommate-details-page .details-vertical-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(148,163,184,0.22);
}

.roommate-details-page .details-vertical-item strong {
  font-weight: 700;
}

@media (max-width: 768px) {
  .roommate-details-page .details-vertical-wrap {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}




/* ===== Final Roommate Details Layout ===== */

.roommate-details-page .details-vertical-wrap{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:42px;
  align-items:flex-start;
  margin-top:20px;
}

.roommate-details-page .details-vertical-section{
  padding:6px 0;
}

.roommate-details-page .details-vertical-section:first-child{
  border-right:1px dashed rgba(148,163,184,.35);
  padding-right:34px;
}

.roommate-details-page .details-vertical-section:last-child{
  padding-left:8px;
}

.roommate-details-page .details-vertical-section h3{
  font-size:1.08rem;
  font-weight:700;
  margin-bottom:18px;
}

.roommate-details-page .details-vertical-list{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.roommate-details-page .details-vertical-item{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  line-height:1.6;
  padding-bottom:8px;
}

.roommate-details-page .details-vertical-item strong{
  font-weight:700;
  min-width:130px;
}

.roommate-details-page .details-vertical-item span{
  flex:1;
  text-align:left;
}

@media (max-width:768px){

  .roommate-details-page .details-vertical-wrap{
    grid-template-columns:1fr;
    gap:20px;
  }

  .roommate-details-page .details-vertical-section:first-child{
    border-right:none;
    border-bottom:1px dashed rgba(148,163,184,.35);
    padding-right:0;
    padding-bottom:18px;
  }

  .roommate-details-page .details-vertical-section:last-child{
    padding-left:0;
  }
}


/* =========================================================
   ROOMMATE DETAILS - MODERN LAYOUT MATCH
   Keeps MinAlesh colors, changes layout only
   ========================================================= */

.roommate-details-page .roommate-details-layout.roommate-details-modern {
  display: none;
  grid-template-columns: 1fr !important;
  gap: 26px !important;
  width: 100%;
}

.roommate-details-page .roommate-modern-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 34px;
  align-items: center;
  margin-top: 8px;
}

.roommate-details-page .roommate-modern-summary,
.roommate-details-page .roommate-modern-gallery,
.roommate-details-page .roommate-modern-owner-card {
  background: rgba(255,255,255,0.96) !important;
  border: 1px solid rgba(226,232,240,0.92) !important;
  border-radius: 18px !important;
  box-shadow: 0 14px 34px rgba(15,23,42,0.08) !important;
}

.roommate-details-page .roommate-modern-summary {
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.roommate-details-page .roommate-modern-summary::before,
.roommate-details-page .roommate-details-unified-card::before {
  display: none !important;
}

.roommate-details-page .roommate-modern-summary h1 {
  margin: 14px 0 12px !important;
  max-width: 720px;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.055em;
}

.roommate-details-page .roommate-modern-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}

.roommate-details-page .roommate-price {
  margin: 0 !important;
  padding: 10px 18px !important;
  border-radius: 10px !important;
}

.roommate-details-page .roommate-type-tag {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 18px;
  border-radius: 10px;
  background: #eff6ff;
  color: var(--primary-dark);
  font-weight: 800;
  border: 1px solid #dbeafe;
}

.roommate-details-page .roommate-modern-gallery {
  padding: 0 !important;
  overflow: hidden;
}

.roommate-details-page .roommate-modern-gallery .roommate-main-photo {
  height: 330px !important;
  border-radius: 18px !important;
  background: #f8fafc !important;
}

.roommate-details-page .roommate-modern-gallery .roommate-main-photo img,
.roommate-details-page .roommate-modern-gallery .roommate-main-photo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px !important;
}

.roommate-details-page .roommate-modern-gallery .roommate-thumbnail-row {
  padding: 10px 12px 12px;
}

.roommate-details-page .roommate-modern-description {
  margin: 0 !important;
  padding: 22px 0 8px !important;
  border-top: 1px solid rgba(203,213,225,0.8) !important;
  color: #E2E8F0;
  font-size: 1.02rem;
  line-height: 1.75;
}

.roommate-details-page .roommate-modern-owner-card {
  padding: 28px !important;
}

.roommate-details-page .roommate-owner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(203,213,225,0.72);
}

.roommate-details-page .roommate-owner-left {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.roommate-details-page .roommate-owner-avatar {
  width: 78px !important;
  height: 78px !important;
  border-radius: 999px !important;
  flex: 0 0 auto;
  background: #eff6ff !important;
  color: var(--primary) !important;
  box-shadow: none !important;
}

.roommate-details-page .roommate-modern-owner-card h2 {
  margin: 0 0 5px !important;
  font-size: 1.3rem !important;
}

.roommate-details-page .roommate-modern-owner-card .contact-card-subtitle {
  margin: 0 !important;
  max-width: 620px;
}

.roommate-details-page .roommate-modern-owner-card .roommate-contact-lines {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
}

.roommate-details-page .roommate-modern-owner-card .contact-line {
  margin: 0 !important;
  padding: 12px 14px !important;
  border-radius: 12px;
  border: 1px solid rgba(226,232,240,0.9);
  background: rgba(248,250,252,0.72);
}

.roommate-details-page .roommate-modern-details-panel {
  margin-top: 26px !important;
  padding: 30px 12px 10px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.roommate-details-page .roommate-modern-columns {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 42px;
  align-items: start;
}

.roommate-details-page .roommate-modern-columns::before {
  content: "";
  grid-column: 2;
  grid-row: 1;
  width: 1px;
  height: 100%;
  min-height: 310px;
  border-left: 1px dashed rgba(148,163,184,0.55);
}

.roommate-details-page .roommate-modern-column:first-child {
  grid-column: 1;
}

.roommate-details-page .roommate-modern-column:last-child {
  grid-column: 3;
}

.roommate-details-page .roommate-modern-column {
  padding: 0 !important;
  border: 0 !important;
}

.roommate-details-page .roommate-modern-column h3 {
  margin: 0 0 22px !important;
  color: var(--primary) !important;
  font-size: 1.35rem !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
}

.roommate-details-page .roommate-modern-column h3::before {
  display: none !important;
}

.roommate-details-page .roommate-modern-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  margin: 0 !important;
}

.roommate-details-page .roommate-modern-list .amenity {
  display: grid !important;
  grid-template-columns: 28px minmax(120px, 1fr) minmax(100px, 0.9fr);
  align-items: center !important;
  min-height: 56px !important;
  padding: 12px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(203,213,225,0.72) !important;
  background: transparent !important;
  color: ##94A3B8 !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
}

.roommate-details-page .roommate-modern-list .amenity::before {
  display: none !important;
}

.roommate-details-page .roommate-modern-list .amenity i {
  color: var(--primary);
  font-size: 1.1rem;
}

.roommate-details-page .roommate-modern-list .roommate-row-label {
  color: #0f172a !important;
  font-weight: 700 !important;
}

.roommate-details-page .roommate-modern-list .roommate-row-value {
  color: #0f172a !important;
  font-weight: 600 !important;
  text-align: left;
}

.roommate-details-page .roommate-modern-list .roommate-amenity-row {
  grid-template-columns: 28px 1fr !important;
}

.roommate-details-page .roommate-modern-list .roommate-amenity-row.is-yes i {
  color: #16a34a;
}

.roommate-details-page .roommate-modern-list .roommate-amenity-row.is-no i {
  color: #ef4444;
}

@media (max-width: 900px) {
  .roommate-details-page .roommate-modern-hero {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .roommate-details-page .roommate-modern-gallery {
    order: -1;
  }

  .roommate-details-page .roommate-modern-owner-card .roommate-contact-lines {
    grid-template-columns: 1fr;
  }

  .roommate-details-page .roommate-modern-columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .roommate-details-page .roommate-modern-columns::before {
    display: none;
  }

  .roommate-details-page .roommate-modern-column:first-child,
  .roommate-details-page .roommate-modern-column:last-child {
    grid-column: 1;
  }

  .roommate-details-page .roommate-modern-column:first-child {
    padding-bottom: 24px !important;
    border-bottom: 1px dashed rgba(148,163,184,0.45) !important;
  }
}

@media (max-width: 640px) {
  .roommate-details-page .roommate-modern-summary h1 {
    font-size: 2rem !important;
  }

  .roommate-details-page .roommate-modern-gallery .roommate-main-photo {
    height: 240px !important;
  }

  .roommate-details-page .roommate-owner-row,
  .roommate-details-page .roommate-owner-left {
    align-items: flex-start;
    flex-direction: column;
  }

  .roommate-details-page .roommate-modern-owner-card {
    padding: 20px !important;
  }

  .roommate-details-page .roommate-modern-list .amenity {
    grid-template-columns: 26px 1fr;
  }

  .roommate-details-page .roommate-modern-list .roommate-detail-row .roommate-row-value {
    grid-column: 2;
    margin-top: -4px;
    color: #475569 !important;
  }
}



/* Contact-only lock on roommate details page */
.roommate-details-page .roommate-contact-lock-only {
  width: 100%;
  margin-bottom: 18px;
}

.roommate-details-page .roommate-contact-lock-only + .roommate-inline-details-panel,
.roommate-details-page .roommate-modern-owner-card .roommate-inline-details-panel {
  margin-top: 18px;
}



/* ===== Beautiful roommate details layout ===== */

.roommate-beautiful-top-card{
  padding:24px;
  border-radius:28px;
}

.roommate-beautiful-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:28px;
  align-items:start;
}

.roommate-beautiful-left{
  display:flex;
  flex-direction:column;
}

.roommate-beautiful-content{
  padding-top:18px;
}

.roommate-beautiful-content h1{
  font-size:3rem;
  line-height:1.08;
  margin-bottom:14px;
}

.roommate-modern-description{
  margin-top:20px;
  line-height:1.8;
  font-size:1.04rem;
}

.roommate-contact-card{
  height:55%;
  border:none !important;
  box-shadow:none !important;
  background:transparent !important;
  padding:0 !important;
}

.roommate-main-photo{
  min-height:420px;
  overflow:hidden;
  border-radius:22px;
}

.roommate-main-photo img,
.roommate-main-photo video{
  width:100%;
  height:420px;
  object-fit:cover;
}

.roommate-contact-lines{
  margin-top:28px;
}

.contact-line{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 0;
  border-bottom:1px solid rgba(148,163,184,.18);
}

.contact-line strong{
  font-size:1rem;
}

.roommate-inline-details-panel{
  margin-top:30px;
  padding-top:24px;
  border-top:1px solid rgba(148,163,184,.18);
}

@media (max-width: 900px){

  .roommate-beautiful-grid{
    grid-template-columns:1fr;
  }

  .roommate-beautiful-content h1{
    font-size:2.2rem;
  }

  .roommate-main-photo,
  .roommate-main-photo img,
  .roommate-main-photo video{
    height:300px;
    min-height:300px;
  }

}



/* ===== Exact roommate screenshot layout ===== */

.roommate-exact-layout{
  display:flex;
  flex-direction:column;
  gap:26px;
}

.roommate-upper-section,
.roommate-lower-section{
  border-radius:28px;
  padding:24px;
}

.roommate-upper-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:34px;
  align-items:start;
}

.roommate-upper-left{
  display:flex;
  flex-direction:column;
}

.roommate-upper-content{
  padding-top:18px;
}

.roommate-upper-content h1{
  font-size:2rem;
  line-height:1.08;
  margin-bottom:14px;
}

.roommate-main-photo{
  border-radius:24px;
  overflow:hidden;
}

.roommate-main-photo img,
.roommate-main-photo video{
  width:100%;
  height:420px;
  object-fit:cover;
}

.roommate-upper-right{
  height:100%;
}

.roommate-contact-card{
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
  padding:0 !important;
}

.roommate-owner-row{
  padding-bottom:18px;
  border-bottom:1px solid rgba(148,163,184,.18);
}

.roommate-contact-lines{
  margin-top:18px;
}

.contact-line{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:22px 0;
  border-bottom:1px solid rgba(148,163,184,.18);
}

.roommate-lower-section .roommate-modern-columns{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
}

.roommate-lower-section .roommate-modern-column:first-child{
  border-right:1px dashed rgba(148,163,184,.28);
  padding-right:30px;
}

.roommate-modern-description{
  margin-top:20px;
  line-height:1.8;
}

@media (max-width: 900px){

  .roommate-upper-grid,
  .roommate-lower-section .roommate-modern-columns{
    grid-template-columns:1fr;
  }

  .roommate-lower-section .roommate-modern-column:first-child{
    border-right:none;
    border-bottom:1px dashed rgba(148,163,184,.28);
    padding-right:0;
    padding-bottom:24px;
  }

  .roommate-upper-content h1{
    font-size:2.1rem;
  }

  .roommate-main-photo img,
  .roommate-main-photo video{
    height:300px;
  }

}




/* ===== roommate details cleanup ===== */

.roommate-upper-grid{
  align-items:stretch !important;
  gap:26px !important;
}

.roommate-upper-right{
  display:flex;
}

.roommate-contact-card{
  width:100%;
  background:#ffffff !important;
  border:1px solid rgba(148,163,184,.18) !important;
  border-radius:24px !important;
  padding:26px !important;
  box-shadow:0 10px 30px rgba(15,23,42,.05) !important;
}

.roommate-owner-row{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:18px;
  padding-bottom:22px;
}

.roommate-owner-left{
  width:100%;
}

.roommate-email-button{
  width:100%;
  justify-content:center;
  border-radius:14px;
  padding:14px 18px;
  font-size:0.75rem;
}

.roommate-contact-lines{
  margin-top:8px;
}

.contact-line{
  gap:18px;
  padding:18px 0 !important;
}

.contact-line strong{
  min-width:110px;
  color:#0f172a;
}

.contact-line span{
  text-align:right;
  color:#9BAEC1;
  flex:1;
}

.roommate-lower-section .roommate-modern-columns{
  gap:26px !important;
}

.roommate-lower-section .roommate-modern-column{
  min-width:0;
}

.roommate-lower-section .roommate-modern-column:first-child{
  padding-right:22px !important;
}

.roommate-modern-list{
  width:100%;
}

.roommate-modern-list .amenity,
.roommate-modern-list .roommate-detail-row,
.roommate-modern-list .roommate-amenity-row{
  width:100%;
  justify-content:flex-start !important;
  gap:10px;
}

.roommate-modern-list .roommate-row-value{
  margin-left:auto;
  text-align:right;
}

@media (max-width:900px){

  .roommate-contact-card{
    padding:20px !important;
  }

  .contact-line{
    flex-direction:column;
    align-items:flex-start;
  }

  .contact-line span{
    text-align:left;
  }

}



/* Contact buttons */
.roommate-contact-actions{
  width:100%;
  display:flex;
  gap:12px;
}

.roommate-contact-actions .btn{
  flex:1;
}

.roommate-call-button{
  justify-content:center;
  border-radius:14px;
  padding:14px 18px;
}



/* ===== HARD REBUILD roommate_details three-box layout ===== */

body.roommate-details-page .rd3-layout{
  display:grid !important;
  grid-template-columns:minmax(0, 1.15fr) minmax(320px, .85fr) !important;
  gap:24px !important;
  align-items:stretch !important;
}

body.roommate-details-page .rd3-image-card,
body.roommate-details-page .rd3-contact-card,
body.roommate-details-page .rd3-info-card{
  border-radius:24px !important;
}

body.roommate-details-page .rd3-image-card{
  padding:18px !important;
}

body.roommate-details-page .rd3-contact-card{
  padding:24px !important;
}

body.roommate-details-page .rd3-info-card{
  grid-column:1 / -1 !important;
  padding:28px !important;
  overflow:hidden !important;
}

body.roommate-details-page .roommate-main-photo{
  border-radius:20px !important;
  overflow:hidden !important;
}

body.roommate-details-page .roommate-main-photo img,
body.roommate-details-page .roommate-main-photo video{
  width:100% !important;
  height:420px !important;
  object-fit:cover !important;
}

body.roommate-details-page .roommate-thumbnail-row{
  margin-top:12px !important;
}

body.roommate-details-page .roommate-owner-row{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  gap:18px !important;
  padding-bottom:18px !important;
  border-bottom:1px solid rgba(255,255,255,.18) !important;
}

body.roommate-details-page .roommate-owner-left{
  width:100% !important;
}

body.roommate-details-page .roommate-contact-actions{
  width:100% !important;
  display:flex !important;
  gap:12px !important;
}

body.roommate-details-page .roommate-contact-actions .btn{
  flex:1 !important;
  justify-content:center !important;
  border-radius:14px !important;
  padding:13px 16px !important;
}

body.roommate-details-page .contact-line{
  display:flex !important;
  justify-content:space-between !important;
  align-items:center !important;
  gap:18px !important;
  padding:18px 0 !important;
  border-bottom:1px solid rgba(255,255,255,.18) !important;
}

body.roommate-details-page .contact-line strong{
  min-width:105px !important;
}

body.roommate-details-page .contact-line span{
  flex:1 !important;
  text-align:right !important;
}

body.roommate-details-page .rd3-summary{
  max-width:940px !important;
}

body.roommate-details-page .rd3-summary h1{
  font-size:clamp(2rem, 4vw, 3rem) !important;
  line-height:1.08 !important;
  margin:14px 0 12px !important;
}

body.roommate-details-page .roommate-modern-description{
  margin-top:18px !important;
  line-height:1.8 !important;
}

body.roommate-details-page .rd3-two-columns{
  display:grid !important;
  grid-template-columns:minmax(0, 1fr) minmax(0, 1fr) !important;
  gap:42px !important;
  margin-top:30px !important;
  padding-top:26px !important;
  border-top:1px solid rgba(255,255,255,.18) !important;
}

body.roommate-details-page .rd3-column{
  min-width:0 !important;
}

body.roommate-details-page .rd3-room-column{
  border-right:1px dashed rgba(255,255,255,.28) !important;
  padding-right:34px !important;
}

body.roommate-details-page .rd3-column h3{
  margin:0 0 20px 0 !important;
  text-align:left !important;
}

body.roommate-details-page .rd3-list{
  display:flex !important;
  flex-direction:column !important;
  gap:0 !important;
  width:100% !important;
  color:#9BAEC1;
}

body.roommate-details-page .rd3-row{
  background:transparent !important;
  border-radius:0 !important;
  box-shadow:none !important;
  width:100% !important;
  min-height:56px !important;
  margin:0 !important;
  padding:0 !important;
  border-bottom:1px solid rgba(255,255,255,.22) !important;
}

body.roommate-details-page .rd3-detail-row{
  display:grid !important;
  grid-template-columns:28px 150px minmax(0, 1fr) !important;
  align-items:center !important;
}

body.roommate-details-page .rd3-detail-row i{
  grid-column:1 !important;
  justify-self:start !important;
}

body.roommate-details-page .rd3-detail-row .roommate-row-label{
  grid-column:2 !important;
  text-align:left !important;
}

body.roommate-details-page .rd3-detail-row .roommate-row-value{
  grid-column:3 !important;
  justify-self:end !important;
  text-align:right !important;
}

body.roommate-details-page .rd3-amenity-row{
  display:grid !important;
  grid-template-columns:28px minmax(0, 1fr) !important;
  align-items:center !important;
}

body.roommate-details-page .rd3-amenity-row i{
  grid-column:1 !important;
  justify-self:start !important;
}

body.roommate-details-page .rd3-amenity-row span{
  grid-column:2 !important;
  justify-self:start !important;
  text-align:left !important;
}

@media (max-width:900px){
  body.roommate-details-page .rd3-layout{
    grid-template-columns:1fr !important;
  }

  body.roommate-details-page .roommate-main-photo img,
  body.roommate-details-page .roommate-main-photo video{
    height:300px !important;
  }

  body.roommate-details-page .rd3-two-columns{
    grid-template-columns:1fr !important;
  }

  body.roommate-details-page .rd3-room-column{
    border-right:none !important;
    border-bottom:1px dashed rgba(255,255,255,.28) !important;
    padding-right:0 !important;
    padding-bottom:24px !important;
  }

  body.roommate-details-page .roommate-contact-actions{
    flex-direction:column !important;
  }

  body.roommate-details-page .contact-line{
    flex-direction:column !important;
    align-items:flex-start !important;
  }

  body.roommate-details-page .contact-line span{
    text-align:left !important;
  }
}



/* ===== FINAL FIX: contact info and room detail values stay close to labels ===== */

/* CONTACT INFO: stop values from going to the far right */
body.roommate-details-page .contact-line{
  display:grid !important;
  grid-template-columns:28px 90px max-content !important;
  align-items:center !important;
  justify-content:start !important;
  column-gap:10px !important;
  width:100% !important;
  padding:18px 0 !important;
}

body.roommate-details-page .contact-line strong{
  display:contents !important;
}

body.roommate-details-page .contact-line strong i{
  grid-column:1 !important;
  justify-self:start !important;
  margin:0 !important;
}

body.roommate-details-page .contact-line strong{
  min-width:0 !important;
}

body.roommate-details-page .contact-line span{
  grid-column:3 !important;
  justify-self:start !important;
  text-align:left !important;
  margin:0 !important;
  width:auto !important;
  max-width:100% !important;
}

/* fallback when icon cannot be separated */
body.roommate-details-page .contact-line > strong:not(:has(i)){
  grid-column:1 / 3 !important;
}

/* ROOM DETAILS: values close to labels */
body.roommate-details-page #roomDetails > div{
  display:grid !important;
  grid-template-columns:28px 120px max-content !important;
  align-items:center !important;
  justify-content:start !important;
  column-gap:10px !important;
  width:auto !important;
  max-width:520px !important;
}

body.roommate-details-page #roomDetails > div > i{
  grid-column:1 !important;
  justify-self:start !important;
}

body.roommate-details-page #roomDetails .roommate-row-label{
  grid-column:2 !important;
  justify-self:start !important;
  text-align:left !important;
  width:135px !important;
  margin:0 !important;
}

body.roommate-details-page #roomDetails .roommate-row-value{
  grid-column:3 !important;
  justify-self:start !important;
  text-align:left !important;
  width:auto !important;
  margin:0 !important;
}

/* Amenities: start from the left */
body.roommate-details-page #amenities > div{
  display:grid !important;
  grid-template-columns:28px max-content !important;
  align-items:center !important;
  justify-content:start !important;
  column-gap:10px !important;
  width:auto !important;
  max-width:520px !important;
}

body.roommate-details-page #amenities > div > i{
  grid-column:1 !important;
  justify-self:start !important;
}

body.roommate-details-page #amenities > div > span{
  grid-column:2 !important;
  justify-self:start !important;
  text-align:left !important;
  margin:0 !important;
}




/* ===== Shared Nanny + Service details layout to match Roommate details ===== */

body.nanny-details-page .nsd-layout,
body.service-details-page .nsd-layout{
  display:grid !important;
  grid-template-columns:minmax(0, 1.15fr) minmax(320px, .85fr) !important;
  gap:24px !important;
  align-items:stretch !important;
}

body.nanny-details-page .nsd-image-card,
body.nanny-details-page .nsd-contact-card,
body.nanny-details-page .nsd-info-card,
body.nanny-details-page .nsd-review-card,
body.service-details-page .nsd-image-card,
body.service-details-page .nsd-contact-card,
body.service-details-page .nsd-info-card,
body.service-details-page .nsd-review-card{
  border-radius:24px !important;
}

body.nanny-details-page .nsd-image-card,
body.service-details-page .nsd-image-card{
  padding:18px !important;
}

body.nanny-details-page .nsd-contact-card,
body.service-details-page .nsd-contact-card{
  position:static !important;
  top:auto !important;
  padding:24px !important;
  min-height:100% !important;
}

body.nanny-details-page .nsd-info-card,
body.nanny-details-page .nsd-review-card,
body.service-details-page .nsd-info-card,
body.service-details-page .nsd-review-card{
  grid-column:1 / -1 !important;
  padding:28px !important;
  overflow:hidden !important;
}

body.nanny-details-page .main-photo,
body.service-details-page .main-photo{
  border-radius:20px !important;
  overflow:hidden !important;
  height:420px !important;
  margin-bottom:12px !important;
}

body.nanny-details-page .main-photo img,
body.nanny-details-page .main-photo video{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
}

body.service-details-page .main-photo img,
body.service-details-page .main-photo video{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center !important;
  background:#f8fafc !important;
}

body.nanny-details-page .thumbnail-row,
body.service-details-page .thumbnail-row{
  margin-top:12px !important;
  margin-bottom:0 !important;
}

body.nanny-details-page .nsd-contact-head,
body.service-details-page .nsd-contact-head{
  display:flex !important;
  align-items:flex-start !important;
  gap:16px !important;
  padding-bottom:18px !important;
  border-bottom:1px solid rgba(255,255,255,.18) !important;
}

body.nanny-details-page .nsd-contact-head .contact-card-icon,
body.service-details-page .nsd-contact-head .contact-card-icon{
  flex:0 0 auto !important;
  margin:0 !important;
}

body.nanny-details-page .nsd-contact-head h2,
body.service-details-page .nsd-contact-head h2{
  margin:0 0 6px 0 !important;
}

body.nanny-details-page .nsd-contact-actions,
body.service-details-page .nsd-contact-actions{
  width:100% !important;
  display:flex !important;
  gap:12px !important;
  margin:18px 0 !important;
}

body.service-details-page .nsd-contact-actions{
  flex-wrap:wrap !important;
}

body.nanny-details-page .nsd-contact-actions .btn,
body.service-details-page .nsd-contact-actions .btn{
  flex:1 1 150px !important;
  justify-content:center !important;
  border-radius:14px !important;
  padding:13px 16px !important;
}

body.nanny-details-page .nsd-contact-lines,
body.service-details-page .nsd-contact-lines{
  display:flex !important;
  flex-direction:column !important;
  gap:0 !important;
  margin-top:10px !important;
}

body.nanny-details-page .contact-line,
body.service-details-page .contact-line{
  display:grid !important;
  grid-template-columns:135px 1fr !important;
  align-items:center !important;
  column-gap:12px !important;

  padding:18px 0 !important;
  margin:0 !important;

  background:transparent !important;
  border-radius:0 !important;

  border-top:none !important;
  border-left:none !important;
  border-right:none !important;
  border-bottom:1px solid rgba(255,255,255,.18) !important;
}

body.nanny-details-page .contact-line strong,
body.service-details-page .contact-line strong{
  min-width:0 !important;
  width:auto !important;
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
  justify-self:start !important;
  text-align:left !important;
}

body.nanny-details-page .contact-line span,
body.service-details-page .contact-line span{
  justify-self:start !important;
  text-align:left !important;
  width:auto !important;
  max-width:100% !important;
  overflow-wrap:anywhere !important;
  margin:0 !important;
}

body.nanny-details-page .nsd-summary,
body.service-details-page .nsd-summary{
  max-width:960px !important;
}

body.nanny-details-page .nsd-summary h1,
body.service-details-page .nsd-summary h1{
  font-size:clamp(4vw) !important;
  line-height:1.08 !important;
  margin:14px 0 12px !important;
}

body.nanny-details-page .nanny-bio,
body.service-details-page .nanny-bio,
body.service-details-page #serviceDescription{
  margin-top:18px !important;
  line-height:1.8 !important;
}

body.nanny-details-page .nsd-one-info-section,
body.service-details-page .nsd-one-info-section{
  margin-top:28px !important;
  padding-top:24px !important;
  border-top:1px solid rgba(255,255,255,.18) !important;
}

body.nanny-details-page .nsd-info-grid,
body.service-details-page .nsd-info-grid{
  display:grid !important;
  grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  gap:0 42px !important;
  margin-top:18px !important;
  }

body.nanny-details-page .nsd-info-grid .info-item,
body.service-details-page .nsd-info-grid .info-item{
  background:transparent !important;
  border:0 !important;
  border-bottom:1px solid rgba(255,255,255,.22) !important;
  border-radius:0 !important;
  padding:16px 0 !important;
  min-height:54px !important;
  display:flex !important;
  justify-content:flex-start !important;
  align-items:center !important;
  gap:10px !important;
  box-shadow:none !important;
  color: #0f172a;
}

body.nanny-details-page .nsd-info-grid .info-item span,
body.service-details-page .nsd-info-grid .info-item span{
  flex:0 0 150px !important;
  font-weight:800 !important;
}

body.nanny-details-page .nsd-review-card,
body.service-details-page .nsd-review-card{
  margin-top:0 !important;
}

body.nanny-details-page .review-summary,
body.service-details-page .review-summary{
  padding:14px 16px !important;
  border-radius:16px !important;
  margin:16px 0 !important;
}

body.nanny-details-page .nsd-reviews-list,
body.service-details-page .nsd-reviews-list{
  display:grid !important;
  gap:12px !important;
  margin-bottom:18px !important;
}

body.nanny-details-page .review-card,
body.service-details-page .review-card{
  border-radius:18px !important;
  padding:16px !important;
  background:rgba(255,255,255,.08) !important;
  border:1px solid rgba(255,255,255,.14) !important;
}

body.nanny-details-page .nsd-review-form-panel,
body.service-details-page .nsd-review-form-panel{
  margin-top:22px !important;
  padding-top:20px !important;
  border-top:1px solid rgba(255,255,255,.18) !important;
}

body.nanny-details-page .nsd-review-form,
body.service-details-page .nsd-review-form{
  display:grid !important;
  grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  gap:12px !important;
  margin-top:14px !important;
}

body.nanny-details-page .nsd-review-form textarea,
body.service-details-page .nsd-review-form textarea,
body.nanny-details-page .nsd-review-form button,
body.service-details-page .nsd-review-form button,
body.nanny-details-page .nsd-review-form .muted,
body.service-details-page .nsd-review-form .muted{
  grid-column:1 / -1 !important;
}

body.nanny-details-page .nsd-contact-lock-only,
body.service-details-page .nsd-contact-lock-only{
  width:100% !important;
  margin-top:20px !important;
}

@media (max-width:900px){
  body.nanny-details-page .nsd-layout,
  body.service-details-page .nsd-layout{
    grid-template-columns:1fr !important;
  }

  body.nanny-details-page .main-photo,
  body.service-details-page .main-photo{
    height:300px !important;
  }

  body.nanny-details-page .nsd-contact-actions,
  body.service-details-page .nsd-contact-actions{
    flex-direction:column !important;
  }

  body.nanny-details-page .contact-line,
  body.service-details-page .contact-line{
    grid-template-columns:1fr !important;
    gap:6px !important;
  }

  body.nanny-details-page .nsd-info-grid,
  body.service-details-page .nsd-info-grid,
  body.nanny-details-page .nsd-review-form,
  body.service-details-page .nsd-review-form{
    grid-template-columns:1fr !important;
  }

  body.nanny-details-page .nsd-info-grid .info-item span,
  body.service-details-page .nsd-info-grid .info-item span{
    flex:0 0 auto !important;
  }
}


body.nanny-details-page .review-form-grid select option,
body.service-details-page .review-form-grid select option {
  background: #334155;
  color: #ffffff;
}



/* ===== FINAL MOBILE FIX: compact contact buttons on details pages ===== */

@media (max-width: 900px){

  body.roommate-details-page .button-stack,
  body.roommate-details-page .roommate-contact-actions,
  body.nanny-details-page .nsd-contact-actions,
  body.nanny-details-page .nanny-contact-buttons,
  body.service-details-page .nsd-contact-actions,
  body.service-details-page .button-stack{
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:flex-start !important;
    flex-wrap:wrap !important;
    gap:10px !important;
    margin-top:14px !important;
  }

  body.roommate-details-page .button-stack .btn,
  body.roommate-details-page .roommate-contact-actions .btn,
  body.roommate-details-page #emailButton,
  body.roommate-details-page #phoneButton,
  body.nanny-details-page .nsd-contact-actions .btn,
  body.nanny-details-page .nanny-contact-buttons .btn,
  body.nanny-details-page #emailButton,
  body.nanny-details-page #phoneButton,
  body.service-details-page .nsd-contact-actions .btn,
  body.service-details-page .button-stack .btn,
  body.service-details-page #emailButton,
  body.service-details-page #phoneButton,
  body.service-details-page #websiteButton{
    flex:0 0 auto !important;
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;

    height:auto !important;
    min-height:42px !important;
    max-height:none !important;

    padding:9px 15px !important;
    font-size:0.88rem !important;
    line-height:1.15 !important;
    border-radius:12px !important;

    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:7px !important;
  }

  body.roommate-details-page .button-stack .btn i,
  body.roommate-details-page .roommate-contact-actions .btn i,
  body.nanny-details-page .nsd-contact-actions .btn i,
  body.nanny-details-page .nanny-contact-buttons .btn i,
  body.service-details-page .nsd-contact-actions .btn i,
  body.service-details-page .button-stack .btn i{
    font-size:0.88rem !important;
  }

}



/* ===== HOME PRO MAIN/SIDE HEIGHT ALIGNMENT FIX ===== */

/* Make the two home columns stretch to equal height */
.home-pro-shell,
.container.home-pro-shell{
  width: min(1480px, 97%) !important;
  max-width: 1480px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

/* Main two-column wrapper */
.home-pro-grid,
.home-pro-layout,
.home-pro-shell .hero-pro-grid,
.home-pro-shell .home-pro-grid,
.home-pro-shell .home-pro-layout{
  align-items: stretch !important;
}

/* Left and right panels should both fill the grid height */
.home-pro-main,
.home-pro-side{
  height: 100% !important;
  align-self: stretch !important;
  box-sizing: border-box !important;
}

/* Right side/card should stretch from top to bottom of the left section */
.home-pro-side,
.home-pro-side .hero-pro-panel,
.home-pro-side .home-pro-panel,
.home-pro-shell .hero-pro-panel{
  height: 100% !important;
  min-height: 100% !important;
  align-self: stretch !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Keep the side panel content stacked nicely while stretching */
.home-pro-side .hero-pro-panel,
.home-pro-side .home-pro-panel,
.home-pro-shell .hero-pro-panel{
  display: flex !important;
  flex-direction: column !important;
}

/* Service info labels */
.service-details-page .info-item span,
.service-details-page .info-item strong{
  color: #000000 !important;
}

/* Service info values */
.service-details-page .info-item{
  color: #9BAEC1 !important;
  font-weight:500 !important;
}


.title-input-wrap{
  position:relative;
}

.title-input-wrap input{
  padding-right:72px;
}

.title-counter{
  position:absolute;
  right:14px;
  top:50%;
  transform:translateY(-50%);
  font-size:0.78rem;
  font-weight:700;
  color:#94A3B8;
  pointer-events:none;
}


.mini-success-modal{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(15,23,42,.45);
  z-index:99999;
}

.mini-success-modal.hidden{
  display:none;
}

.mini-success-card{
  width:min(90%, 360px);
  background:#0f172a;
  color:#f8fafc;
  border:1px solid rgba(148,163,184,.25);
  border-radius:18px;
  padding:22px 24px;
  text-align:center;
  box-shadow:0 22px 55px rgba(0,0,0,.35);
}

.mini-success-card i{
  display:block;
  font-size:2rem;
  color:#22c55e;
  margin-bottom:10px;
}

.mini-success-card strong{
  display:block;
  font-size:1rem;
  margin-bottom:6px;
}

.mini-success-card span{
  display:block;
  font-size:.85rem;
  color:#94A3B8;
}

.password-hint-compact{
  margin-top:14px;
  padding:12px 16px;
  border-radius:14px;
  background:rgba(255,255,255,0.9);
  color:#334155;
  font-size:0.84rem;
  font-weight:600;
  line-height:1.5;
  text-align:center;
}

@media (max-width: 768px) {

  .home-pro-shell {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    align-items: stretch !important;
  }

  .home-pro-main,
  .home-pro-side {
    width: 100% !important;
    max-width: 100% !important;
    min-height: auto !important;
    height: auto !important;
  }

  .home-pro-side {
    margin-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .hero-pro-panel,
  .home-pro-side-card {
    height: auto !important;
    min-height: auto !important;
  }

}

/* =========================================================
   MOBILE FIX: Nanny filter checkbox alignment
   This targets nanny page checkbox rows even if the page uses
   .nanny-checks, .filter-checks, or .checkbox-pill.
========================================================= */
@media (max-width: 768px) {

  .nanny-filter-checks {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .nanny-filter-checks label {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    gap: 10px;

    padding: 10px 16px;
    box-sizing: border-box;
  }

  .nanny-filter-checks input[type="checkbox"] {
    margin: 0;
    flex-shrink: 0;
  }

}




/* =========================================================
   ROOMMATE PAGE - ROTATING RENTAL SERVICES
========================================================= */

.roommate-service-spotlight {
  overflow: hidden;
}

.service-spotlight-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.service-spotlight-header span {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex: 0 0 auto;
}

.service-spotlight-header strong {
  display: block;
  font-size: 1rem;
  color: #ffff;
}

.service-spotlight-header small {
  color: #64748b;
  font-size: 0.78rem;
}



.rotating-service-card.active {
  opacity: 1;
  transform: translateY(0);
}

.service-spotlight-link {
  display: block;
  color: inherit;
}

.service-spotlight-image {
  width: 100%;
  height: 200px;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 16px;
  background: #e2e8f0;
}

.service-spotlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-spotlight-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37,99,235,0.10);
  color: #2563eb;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.service-spotlight-content h3 {
  font-size: 1.12rem;
  color: #0f172a;
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-spotlight-content p {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 14px;
}



.service-spotlight-button {
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg,#2563eb,#1d4ed8);
  color: #fff;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 800;
  transition: 0.2s ease;
}

.service-spotlight-link:hover .service-spotlight-button {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(37,99,235,0.25);
}

.service-spotlight-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  color: #64748b;
  font-weight: 700;
}

@media (max-width: 768px) {

  .service-spotlight-image {
    height: 180px;
  }

}


/* =========================================================
   ROOMMATE HERO SERVICE SPOTLIGHT - FINAL SIZE CONTROL
   Right card matches hero height; image remains intentionally smaller.
========================================================= */

.roommate-hero-grid {
  display: grid !important;
  align-items: stretch !important;
}

.roommate-hero-copy,
.roommate-service-spotlight {
  height: 100% !important;
  min-height: 0 !important;
}

/* Keep the right panel inside the same visual height as the left hero copy */
.roommate-service-spotlight {
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

/* Header should not consume too much height */
.roommate-service-spotlight .service-spotlight-header {
  flex: 0 0 auto !important;
  margin-bottom: 10px !important;
}

.roommate-service-spotlight .service-spotlight-header span {
  width: 38px !important;
  height: 38px !important;
  border-radius: 12px !important;
  font-size: 0.95rem !important;
}

/* Rotating card must fit inside the parent card */
.roommate-service-spotlight .rotating-service-card {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
}



/* The link fills available space without growing beyond the card */
.roommate-service-spotlight .service-spotlight-link {
  height: 100% !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

/* Force smaller image size */
.roommate-service-spotlight .service-spotlight-image {
  height: 115px !important;
  min-height: 115px !important;
  max-height: 115px !important;
  margin-bottom: 10px !important;
  border-radius: 14px !important;
  flex: 0 0 115px !important;
}

.roommate-service-spotlight .service-spotlight-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Content is compact and forced to stay inside */
.roommate-service-spotlight .service-spotlight-content {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.roommate-service-spotlight .service-spotlight-rating {
  flex: 0 0 auto !important;
  margin-bottom: 6px !important;
  padding: 4px 8px !important;
  font-size: 0.72rem !important;
}

.roommate-service-spotlight .service-spotlight-content h3 {
  flex: 0 0 auto !important;
  font-size: 0.98rem !important;
  line-height: 1.22 !important;
  margin-bottom: 6px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  color: #f8fafc;
}

.roommate-service-spotlight .service-spotlight-content p {
  flex: 0 1 auto !important;
  font-size: 0.82rem !important;
  line-height: 1.35 !important;
  margin-bottom: 8px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  color: #cbd5e1;
}



.roommate-service-spotlight .service-spotlight-button {
  flex: 0 0 auto !important;
  margin-top: auto !important;
  padding: 9px 12px !important;
  border-radius: 12px !important;
  font-size: 0.86rem !important;
}

/* Mobile: allow natural height so it does not crush content */
@media (max-width: 900px) {
  .roommate-hero-copy,
  .roommate-service-spotlight {
    height: auto !important;
  }

  .roommate-service-spotlight .service-spotlight-image {
    height: 150px !important;
    min-height: 150px !important;
    max-height: 150px !important;
    flex-basis: 150px !important;
  }
}







/* =========================================================
   SLOW PREMIUM SERVICE SLIDE ANIMATION
========================================================= */

.rotating-service-card {
  opacity: 1;
  transform: translateX(0);
  transition:
    transform 4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 4s ease;
  will-change: transform, opacity;
}

.rotating-service-card.slide-out {
  opacity: 0;
  transform: translateX(-35px);
}

.rotating-service-card.slide-active {
  opacity: 1;
  transform: translateX(0);
}

.service-spotlight-link {
  animation: premiumSpotlightSlide 2.7s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes premiumSpotlightSlide {

  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }

}

@media (max-width: 768px) {

  input[type="date"] {
    min-height: 52px !important;
    height: 52px !important;

    padding: 0 14px !important;

    display: flex !important;
    align-items: center !important;

    line-height: 52px !important;

    -webkit-appearance: none;
    appearance: none;
  }

}

/* =========================================================
   POPULAR ROOMMATE CITIES
========================================================= */

.popular-roommate-cities-section{
  margin-top:22px;
  margin-bottom:26px;
}

.popular-roommate-cities-card{
  background:rgba(15,23,42,0.62);
  backdrop-filter:blur(16px);
  border:1px solid rgba(255,255,255,0.10);
  border-radius:24px;
  padding:22px;
}

.popular-roommate-cities-head{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:16px;
}

.popular-roommate-cities-head i{
  color:#60a5fa;
  font-size:1rem;
}

.popular-roommate-cities-head h3{
  color:#fff;
  font-size:1.05rem;
  margin:0;
}

.popular-roommate-cities-grid{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.popular-city-chip{
  border:none;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(96,165,250,0.45);
  color:#fff;
  padding:10px 14px;
  border-radius:999px;
  font-weight:700;
  transition:0.25s ease;
}

.popular-city-chip span{
  background:#2563eb;
  color:#fff;
  min-width:22px;
  height:22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  font-size:0.72rem;
}

.popular-city-chip:hover{
  transform:translateY(-2px);
  background:rgba(37,99,235,0.18);
}

.popular-city-loading{
  color:#cbd5e1;
  font-weight:600;
}

@media (max-width:768px){

  .popular-roommate-cities-card{
    padding:18px;
  }

  .popular-roommate-cities-grid{
    gap:10px;
  }

  .popular-city-chip{
    font-size:0.84rem;
    padding:9px 12px;
  }

}


/* =========================================================
   STICKY HEADER FIX
   Keeps MinAlesh header visible while scrolling
========================================================= */

header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 99999 !important;

  background: rgba(255, 255, 255, 0.94) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.95) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08) !important;
}

body {
  padding-top: 96px !important;
}

@media (max-width: 768px) {
  body {
    padding-top: 112px !important;
  }
}

.amharic-roommate-title {
  margin-top: 48px;
}



/* =========================================================
   TOP RATED NANNY SPOTLIGHT
========================================================= */

.nanny-top-rated-spotlight {
  background: rgba(71, 85, 105, 0.72) !important;
  border: 1px solid rgba(226, 232, 240, 0.75) !important;
  border-radius: 26px !important;
  padding: 28px !important;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  overflow: hidden;
  min-height: 360px;
}

.nanny-spotlight-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.nanny-spotlight-header span {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #eff6ff;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.nanny-spotlight-header strong {
  color: #ffffff;
  font-weight: 900;
  line-height: 1.35;
}

.nanny-spotlight-header small {
  display: block;
  color: #cbd5e1;
  margin-top: 3px;
  font-weight: 650;
}

.rotating-nanny-card {
  opacity: 1;
  transform: translateX(0);
  transition:
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 1.1s ease;
  will-change: transform, opacity;
}

.rotating-nanny-card.slide-out {
  opacity: 0;
  transform: translateX(-34px);
}

.rotating-nanny-card.slide-active {
  opacity: 1;
  transform: translateX(0);
}

.nanny-spotlight-link {
  display: block;
  color: inherit;
  animation: nannySpotlightSlide 1.05s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes nannySpotlightSlide {
  from {
    opacity: 0;
    transform: translateX(34px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.nanny-spotlight-image {
  width: 100%;
  height: 135px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.78);
  border: 8px solid rgba(255,255,255,0.72);
  margin-bottom: 16px;
}

.nanny-spotlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.nanny-spotlight-content {
  display: grid;
  gap: 10px;
}

.nanny-spotlight-rating {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #facc15;
  background: rgba(15, 23, 42, 0.20);
  border-radius: 999px;
  padding: 6px 11px;
  width: fit-content;
  font-weight: 900;
  font-size: 0.82rem;
}

.nanny-spotlight-rating i {
  color: #facc15 !important;
}

.nanny-spotlight-content h3 {
  color: #ffffff;
  font-size: 1.08rem;
  line-height: 1.35;
  margin: 0;
}

.nanny-spotlight-content p {
  color: #dbeafe;
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

.nanny-spotlight-location {
  color: #bfdbfe;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 750;
  font-size: 0.88rem;
}

.nanny-spotlight-button {
  margin-top: 8px;
  width: 100%;
  min-height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.nanny-spotlight-loading,
.nanny-spotlight-empty {
  color: #e2e8f0;
  font-weight: 800;
  padding: 16px 0;
}

@media (max-width: 768px) {
  .nanny-top-rated-spotlight {
    padding: 22px !important;
    min-height: auto;
  }

  .nanny-spotlight-image {
    height: 118px;
  }
}



/* =========================================================
   TOP RATED NANNY CARD - MATCH RENTAL SERVICE SPOTLIGHT LOOK
========================================================= */

.nanny-top-rated-spotlight {
  background: rgba(71, 85, 105, 0.72) !important;
  border: 1px solid rgba(226, 232, 240, 0.78) !important;
  border-top: 4px solid #60a5fa !important;
  border-radius: 26px !important;
  padding: 28px !important;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  overflow: hidden;
  min-height: 420px;
}

.nanny-spotlight-header {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-bottom: 22px !important;
}

.nanny-spotlight-header span {
  width: 44px !important;
  height: 44px !important;
  border-radius: 14px !important;
  background: #eff6ff !important;
  color: #2563eb !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
}

.nanny-spotlight-header strong {
  color: #ffffff !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
}

.nanny-spotlight-header small {
  display: block !important;
  color: #cbd5e1 !important;
  margin-top: 3px !important;
  font-weight: 650 !important;
}

.nanny-spotlight-image {
  width: 100% !important;
  height: 112px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  background: rgba(255,255,255,0.82) !important;
  border: 8px solid rgba(255,255,255,0.72) !important;
  margin: 26px 0 18px !important;
}

.nanny-spotlight-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 28% !important;
}

.nanny-spotlight-rating {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  color: #2563eb !important;
  background: transparent !important;
  border-radius: 999px !important;
  padding: 0 !important;
  width: fit-content !important;
  font-weight: 900 !important;
  font-size: 0.82rem !important;
}

.nanny-spotlight-rating i {
  color: #f59e0b !important;
}

.nanny-spotlight-content h3 {
  color: #f8fafc !important;
  font-size: 1.02rem !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  font-weight: 900 !important;
}

.nanny-spotlight-content p {
  color: #dbeafe !important;
  font-size: 0.9rem !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  opacity: 0.92;
}

.nanny-spotlight-location {
  color: #cbd5e1 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  font-weight: 750 !important;
  font-size: 0.88rem !important;
  opacity: 0.9;
}

.nanny-spotlight-location i {
  color: #0f172a !important;
}

.nanny-spotlight-button {
  margin-top: 12px !important;
  width: 100% !important;
  min-height: 44px !important;
  border-radius: 13px !important;
  background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 900 !important;
}

.rotating-nanny-card {
  opacity: 1;
  transform: translateX(0);
  transition:
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 1.2s ease;
  will-change: transform, opacity;
}

.rotating-nanny-card.slide-out {
  opacity: 0;
  transform: translateX(-35px);
}

.rotating-nanny-card.slide-active {
  opacity: 1;
  transform: translateX(0);
}

.nanny-spotlight-link {
  display: block;
  color: inherit;
  animation: nannySpotlightSlide 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 768px) {
  .nanny-top-rated-spotlight {
    padding: 22px !important;
    min-height: auto !important;
  }

  .nanny-spotlight-image {
    height: 104px !important;
    margin-top: 20px !important;
  }
}



.nanny-spotlight-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 12px !important;
  width: 100% !important;
}

.nanny-spotlight-content h3,
.nanny-spotlight-content p,
.nanny-spotlight-location,
.nanny-spotlight-rating,
.nanny-spotlight-button {
  width: 100% !important;
  display: block !important;
}

.nanny-spotlight-location {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.nanny-spotlight-button {
  margin-top: 10px !important;
}







.service-spotlight-location {
  color: #cbd5e1 !important;
  font-size: 0.88rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 7px;
}


.roommate-service-spotlight .service-spotlight-location {
  flex: 0 0 auto !important;
  font-size: 0.78rem !important;
  margin-bottom: 8px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}



/* =========================================================
   SERVICE PAGE DYNAMIC INSIGHT CARDS
   Compact right-side cards only
========================================================= */

.services-hero-insights {
  width: 100% !important;
  max-width: 440px !important;
  justify-self: end !important;
  display: grid !important;
  gap: 12px !important;
}

.services-hero-insights .service-insight-card {
  display: flex !important;
  align-items: flex-start !important;
  gap: 13px !important;

  background: rgba(71, 85, 105, 0.82) !important;
  border-radius: 18px !important;
  padding: 16px 18px !important;

  box-shadow: 0 18px 45px rgba(15,23,42,0.12) !important;
}

.services-hero-insights .service-insight-icon {
  width: 36px !important;
  height: 36px !important;
  border-radius: 12px !important;

  background: #eff6ff !important;
  color: #2563eb !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  flex: 0 0 auto !important;
  font-size: 0.95rem !important;
}

.services-hero-insights .service-insight-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  width: 100% !important;
  min-width: 0 !important;
}

.services-hero-insights .service-insight-content strong {
  color: #94a3b8 !important;
  font-weight: 900 !important;
  font-size: 0.95rem !important;
  line-height: 1.25 !important;
}

.services-hero-insights .service-insight-list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  color: #64748b !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
}

.services-hero-insights .service-insight-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  min-height: 28px !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;

  background: rgba(71, 85, 105, 0.82);
  color: #f8fafc !important;

  font-weight: 600 !important;
  font-size: 0.76rem !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

@media (max-width: 900px) {
  .services-hero-insights {
    max-width: 100% !important;
    justify-self: stretch !important;
  }

  .services-hero-insights .service-insight-card {
    padding: 15px !important;
  }

  .services-hero-insights .service-insight-pill {
    white-space: normal !important;
  }
}



.services-hero-insights {
  max-width: 520px !important;
}

.services-hero-insights .service-insight-card {
  padding: 18px 20px !important;
}

.services-hero-insights .service-insight-list {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 7px !important;
}

.services-hero-insights .service-insight-pill {
  width: 100% !important;
  justify-content: flex-start !important;
  white-space: normal !important;
  text-align: left !important;
  line-height: 1.3 !important;
  padding: 7px 10px !important;
}





.home-pro-main {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;

  min-height: 100% !important;
}

.home-pro-shell {
  align-items: stretch !important;
}

.home-pro-sidebar {
  height: 100% !important;
}

.home-pro-main,
.home-pro-sidebar {
  min-height: 100% !important;
}



/* =========================================================
   TOP RATED NANNY SPOTLIGHT IMAGE HEIGHT FIX
   Uses empty card space by increasing the profile image height
========================================================= */

.nanny-top-rated-spotlight .nanny-spotlight-image {
  height: 220px !important;
  margin: 18px 0 18px !important;
}

.nanny-top-rated-spotlight .nanny-spotlight-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 30% !important;
  border-radius: 12px !important;
}

.nanny-top-rated-spotlight .nanny-spotlight-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

/* Mobile: keep it smaller so the card does not become too tall */
@media (max-width: 768px) {
  .nanny-top-rated-spotlight .nanny-spotlight-image {
    height: 170px !important;
  }
}



/* =========================================================
   TOP RATED NANNY CARD GAP FIX
   Removes extra space between header and image
========================================================= */

.nanny-top-rated-spotlight {
  padding-top: 24px !important;
}

.nanny-top-rated-spotlight .nanny-spotlight-header {
  margin-bottom: 10px !important;
  padding-bottom: 0 !important;
}

.nanny-top-rated-spotlight .rotating-nanny-card {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.nanny-top-rated-spotlight .nanny-spotlight-image {
  height: 250px !important;
  margin-top: 0 !important;
  margin-bottom: 18px !important;
}

.nanny-top-rated-spotlight .nanny-spotlight-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 30% !important;
  display: block !important;
}

/* Keep mobile from getting too tall */
@media (max-width: 768px) {
  .nanny-top-rated-spotlight .nanny-spotlight-image {
    height: 180px !important;
  }
}



/* =========================================================
   RENTAL SERVICES SPOTLIGHT FINAL IMAGE + GAP OVERRIDE
   Overrides the older 115px forced image rule
========================================================= */

.roommate-service-spotlight .service-spotlight-header {
  margin-bottom: 8px !important;
  padding-bottom: 0 !important;
}

.roommate-service-spotlight .rotating-service-card {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.roommate-service-spotlight .service-spotlight-link {
  gap: 0 !important;
}

.roommate-service-spotlight .service-spotlight-image {
  height: 230px !important;
  min-height: 230px !important;
  max-height: 230px !important;
  flex: 0 0 230px !important;

  margin-top: 0 !important;
  margin-bottom: 14px !important;
  border-radius: 14px !important;
}

.roommate-service-spotlight .service-spotlight-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 35% !important;
  display: block !important;
}

@media (max-width: 900px) {
  .roommate-service-spotlight .service-spotlight-image {
    height: 175px !important;
    min-height: 175px !important;
    max-height: 175px !important;
    flex: 0 0 175px !important;
  }
}

.brand-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-store-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.amenity-yes {
  color: #22c55e !important;
}

.amenity-no {
  color: #ef4444 !important;
}






/*
remove this if you dont like it... 
from .rd3-detail-row .fa-bed to .rd3-detail-row .fa-user

*/



.rd3-detail-row .fa-bed {
  color: #60a5fa;
}

.rd3-detail-row .fa-bath {
  color: #67e8f9;
}

.rd3-detail-row .fa-calendar-days {
  color: #4ade80;
}

.rd3-detail-row .fa-circle-dollar-to-slot {
  color: #fbbf24;
}

.rd3-detail-row .fa-file-contract {
  color: #c084fc;
}

.rd3-detail-row .fa-user {
  color: #f9a8d4;
}
/* =========================================================
   Terms of Use Page - single dark glass document card
   ========================================================= */
body.terms-page-body {
  background: #081525 !important;
  color: #f8fafc !important;
}

/* Removed duplicate/conflicting site background rule during cleanup. */

.terms-page-shell {
  background: transparent !important;
  padding: 58px 0 70px !important;
}

.terms-document-card {
  max-width: 100% !important;
  padding: 38px 42px !important;
  border-radius: 28px !important;
  background: rgba(71, 85, 105, 0.82) !important;
  border: 1px solid rgba(203, 213, 225, 0.18) !important;
  box-shadow: 0 28px 80px rgba(2, 6, 23, 0.44), inset 0 1px 0 rgba(255,255,255,0.08) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  color: #e5edf7 !important;
}

.terms-doc-header {
  padding-bottom: 22px !important;
  margin-bottom: 26px !important;
  border-bottom: 1px solid rgba(203, 213, 225, 0.18) !important;
}

.terms-kicker {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  min-height: 34px !important;
  padding: 0 14px !important;
  margin-bottom: 14px !important;
  border-radius: 999px !important;
  background: rgba(37, 99, 235, 0.22) !important;
  color: #bfdbfe !important;
  border: 1px solid rgba(147, 197, 253, 0.28) !important;
  font-size: 0.82rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

.terms-doc-header h1 {
  margin: 0 0 8px !important;
  color: #ffffff !important;
  font-size: clamp(2rem, 4vw, 3.15rem) !important;
  line-height: 1.08 !important;
  font-weight: 900 !important;
  text-shadow: 0 14px 36px rgba(0,0,0,0.34) !important;
}

.terms-effective {
  color: #cbd5e1 !important;
  font-size: 1rem !important;
}

.terms-effective strong {
  color: #f8fafc !important;
}

.terms-doc-body,
.terms-doc-body p,
.terms-doc-body li {
  color: #e2e8f0 !important;
  font-size: 0.98rem !important;
  line-height: 1.72 !important;
}

.terms-doc-body > p {
  margin-bottom: 16px !important;
}

.terms-section {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 20px 0 !important;
  margin: 0 !important;
  border-top: 1px solid rgba(203, 213, 225, 0.14) !important;
}

.terms-section:first-of-type {
  border-top: 0 !important;
}

.terms-section h2 {
  color: #ffffff !important;
  font-size: 1.22rem !important;
  line-height: 1.28 !important;
  margin: 0 0 10px !important;
  font-weight: 900 !important;
}

.terms-section p {
  margin: 0 0 10px !important;
}

.terms-section ul {
  margin: 8px 0 14px 24px !important;
  padding-left: 18px !important;
}

.terms-section li {
  margin-bottom: 6px !important;
  padding-left: 4px !important;
}

.terms-section li::marker {
  color: #93c5fd !important;
}

body.terms-page-body .site-footer {
  background: rgba(15, 23, 42, 0.78) !important;
  color: #e2e8f0 !important;
  border-top: 1px solid rgba(203, 213, 225, 0.16) !important;
}

body.terms-page-body .site-footer a {
  color: #bfdbfe !important;
}

@media (max-width: 768px) {
  .terms-page-shell {
    padding: 32px 0 48px !important;
  }

  .terms-document-card {
    width: calc(100% - 28px) !important;
    padding: 24px 20px !important;
    border-radius: 22px !important;
  }

  .terms-doc-header h1 {
    font-size: 2rem !important;
  }

  .terms-section h2 {
    font-size: 1.08rem !important;
  }

  .terms-doc-body,
  .terms-doc-body p,
  .terms-doc-body li {
    font-size: 0.94rem !important;
  }
}





/* =========================================================
   Privacy Policy Page
   Matches MinAlesh Terms Page Styling
   ========================================================= */

.privacy-page-body {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 34%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%) !important;
  min-height: 100vh;
}

.privacy-page-body .privacy-page {
  padding-bottom: 36px;
}

.privacy-page-body .privacy-hero {
  padding: 46px 0 26px;
  position: relative;
  overflow: hidden;
}

.privacy-page-body .privacy-container {
  max-width: 1180px;
}

.privacy-page-body .privacy-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #ffffff;
  color: var(--primary);
  border: 1px solid #dbeafe;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.10);
  margin-bottom: 18px;
}

.privacy-page-body .privacy-kicker::before {
  content: "\f132";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.privacy-page-body .privacy-hero h1 {
  font-size: clamp(2.15rem, 4.2vw, 4rem);
  line-height: 1.05;
  letter-spacing: -1.4px;
  color: #ffffff;
  margin-bottom: 14px;
  text-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.privacy-page-body .privacy-effective {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0f172a;
  background: rgba(30, 41, 59, 0.84);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 999px;
  padding: 10px 14px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  font-weight: 700;
}

.privacy-page-body .privacy-card {
  max-width: 1180px;
  background: rgba(71, 85, 105, 0.86) !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  border-radius: 28px;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.14) !important;
  padding: clamp(22px, 3vw, 38px);
  color: #f8fafc;
  overflow: hidden;
  position: relative;
}

.privacy-page-body .privacy-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--primary),
    #60a5fa,
    #93c5fd
  );
}

.privacy-page-body .privacy-card > p {
  color: #f8fafc;
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 14px;
  max-width: 1040px;
}

.privacy-page-body .privacy-section {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 20px;
  padding: 20px 22px;
  margin-top: 18px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.privacy-page-body .privacy-section h2 {
  color: #0f172a;
  font-size: clamp(1.08rem, 1.5vw, 1.35rem);
  line-height: 1.25;
  letter-spacing: -0.25px;
  margin-bottom: 10px;
}

.privacy-page-body .privacy-section p {
  color: #334155;
  font-size: 0.96rem;
  line-height: 1.7;
  margin: 8px 0;
}

.privacy-page-body .privacy-section ul {
  margin: 10px 0 12px 0;
  padding-left: 0;
  display: grid;
  gap: 7px;
  list-style: none;
}

.privacy-page-body .privacy-section li {
  position: relative;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 13px;
  padding: 9px 12px 9px 36px;
  font-size: 0.94rem;
  line-height: 1.45;
}

.privacy-page-body .privacy-section li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.privacy-page-body .privacy-section a {
  color: var(--primary);
  font-weight: 800;
}

.privacy-page-body .privacy-section a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.privacy-page-body footer {
  margin-top: 54px;
}

@media (max-width: 768px) {

  .privacy-page-body .privacy-hero {
    padding: 34px 0 18px;
  }

  .privacy-page-body .privacy-card {
    border-radius: 22px;
    padding: 18px;
  }

  .privacy-page-body .privacy-section {
    padding: 16px;
    border-radius: 17px;
  }

  .privacy-page-body .privacy-section li {
    padding: 9px 10px 9px 32px;
  }
}

/* =========================================================
   Privacy Policy Page - matches Terms of Use page exactly
   ========================================================= */
body.privacy-page-body {
  background: #081525 !important;
  color: #f8fafc !important;
}

/* Removed duplicate/conflicting site background rule during cleanup. */

.privacy-page-shell {
  background: transparent !important;
  padding: 58px 0 70px !important;
}

.privacy-document-card {
  max-width: 100% !important;
  padding: 38px 42px !important;
  border-radius: 28px !important;
  background: rgba(71, 85, 105, 0.82) !important;
  border: 1px solid rgba(203, 213, 225, 0.18) !important;
  box-shadow: 0 28px 80px rgba(2, 6, 23, 0.44), inset 0 1px 0 rgba(255,255,255,0.08) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  color: #e5edf7 !important;
}

.privacy-doc-header {
  padding-bottom: 22px !important;
  margin-bottom: 26px !important;
  border-bottom: 1px solid rgba(203, 213, 225, 0.18) !important;
}

.privacy-kicker {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  min-height: 34px !important;
  padding: 0 14px !important;
  margin-bottom: 14px !important;
  border-radius: 999px !important;
  background: rgba(37, 99, 235, 0.22) !important;
  color: #bfdbfe !important;
  border: 1px solid rgba(147, 197, 253, 0.28) !important;
  font-size: 0.82rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

.privacy-doc-header h1 {
  margin: 0 0 8px !important;
  color: #ffffff !important;
  font-size: clamp(2rem, 4vw, 3.15rem) !important;
  line-height: 1.08 !important;
  font-weight: 900 !important;
  text-shadow: 0 14px 36px rgba(0,0,0,0.34) !important;
}

.privacy-effective {
  color: #cbd5e1 !important;
  font-size: 1rem !important;
}

.privacy-effective strong {
  color: #f8fafc !important;
}

.privacy-doc-body,
.privacy-doc-body p,
.privacy-doc-body li {
  color: #e2e8f0 !important;
  font-size: 0.98rem !important;
  line-height: 1.72 !important;
}

.privacy-doc-body > p {
  margin-bottom: 16px !important;
}

.privacy-section {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 20px 0 !important;
  margin: 0 !important;
  border-top: 1px solid rgba(203, 213, 225, 0.14) !important;
}

.privacy-section:first-of-type {
  border-top: 0 !important;
}

.privacy-section h2 {
  color: #ffffff !important;
  font-size: 1.22rem !important;
  line-height: 1.28 !important;
  margin: 0 0 10px !important;
  font-weight: 900 !important;
}

.privacy-section p {
  margin: 0 0 10px !important;
}

.privacy-section ul {
  margin: 8px 0 14px 24px !important;
  padding-left: 18px !important;
  display: block !important;
  list-style: disc !important;
}

.privacy-section li {
  margin-bottom: 6px !important;
  padding-left: 4px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.privacy-section li::before {
  content: none !important;
}

.privacy-section li::marker {
  color: #93c5fd !important;
}

body.privacy-page-body .site-footer {
  background: rgba(15, 23, 42, 0.78) !important;
  color: #e2e8f0 !important;
  border-top: 1px solid rgba(203, 213, 225, 0.16) !important;
}

body.privacy-page-body .site-footer a {
  color: #bfdbfe !important;
}

@media (max-width: 768px) {
  .privacy-page-shell {
    padding: 32px 0 48px !important;
  }

  .privacy-document-card {
    width: calc(100% - 28px) !important;
    padding: 24px 20px !important;
    border-radius: 22px !important;
  }

  .privacy-doc-header h1 {
    font-size: 2rem !important;
  }

  .privacy-section h2 {
    font-size: 1.08rem !important;
  }

  .privacy-doc-body,
  .privacy-doc-body p,
  .privacy-doc-body li {
    font-size: 0.94rem !important;
  }
}


/* this is for the terms of use and privacy policy in registerhml page*/
.terms-check a{
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
}

.terms-check a:hover{
  color: var(--primary-dark);
  text-decoration: underline;
}


/* adding mobile version top right menu for tems of use and privacy policy*/

@media (max-width: 900px) {
  .terms-page-body .site-nav,
  .privacy-page-body .site-nav {
    position: relative;
  }

  .terms-page-body .main-menu,
  .privacy-page-body .main-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff !important;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
    padding: 14px;
    z-index: 9999;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }

  .terms-page-body .main-menu.show,
  .privacy-page-body .main-menu.show {
    display: flex !important;
  }

  .terms-page-body .main-menu a,
  .privacy-page-body .main-menu a {
    width: 100%;
    padding: 12px 14px !important;
    border-radius: 12px;
  }

.terms-page-body .dropdown-menu,
.privacy-page-body .dropdown-menu {
  position: static !important;
  display: none !important;
  box-shadow: none !important;
  border: none !important;
  padding-left: 14px;
  background: transparent !important;
}

.terms-page-body .dropdown.open .dropdown-menu,
.privacy-page-body .dropdown.open .dropdown-menu {
  display: block !important;
}
}






/* =========================================================
   Terms / Privacy Mobile Header Fix
   Keeps Sign In / Sign Up at bottom of opened mobile menu
   ========================================================= */

@media (max-width: 900px) {

  body.terms-page-body .site-nav,
  body.privacy-page-body .site-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }

  body.terms-page-body .site-nav .brand-logo,
  body.privacy-page-body .site-nav .brand-logo {
    order: 1 !important;
  }

  body.terms-page-body .site-nav .mobile-menu-toggle,
  body.privacy-page-body .site-nav .mobile-menu-toggle {
    display: inline-flex !important;
    order: 2 !important;
    margin-left: auto !important;
  }

  body.terms-page-body .site-nav .main-menu,
  body.privacy-page-body .site-nav .main-menu,
  body.terms-page-body .site-nav .header-actions,
  body.privacy-page-body .site-nav .header-actions {
    display: none !important;
  }

  body.terms-page-body .site-nav.legal-menu-open .main-menu,
  body.privacy-page-body .site-nav.legal-menu-open .main-menu {
    display: flex !important;
    order: 3 !important;
    width: 100% !important;
    flex: 0 0 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    margin: 10px 0 0 0 !important;
    padding: 0 !important;
    position: static !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body.terms-page-body .site-nav.legal-menu-open .header-actions,
  body.privacy-page-body .site-nav.legal-menu-open .header-actions {
    display: flex !important;
    order: 4 !important;
    width: 100% !important;
    flex: 0 0 100% !important;
    margin: 12px 0 0 0 !important;
    padding: 0 !important;
    justify-content: stretch !important;
  }

  body.terms-page-body .site-nav.legal-menu-open .guest-links,
  body.privacy-page-body .site-nav.legal-menu-open .guest-links {
    width: 100% !important;
    display: flex !important;
    gap: 12px !important;
  }

  body.terms-page-body .site-nav.legal-menu-open .guest-links a,
  body.privacy-page-body .site-nav.legal-menu-open .guest-links a {
    flex: 1 1 0 !important;
    justify-content: center !important;
  }

  body.terms-page-body .site-nav .dropdown-menu,
  body.privacy-page-body .site-nav .dropdown-menu {
    display: none !important;
    position: static !important;
    min-width: 0 !important;
    width: 100% !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 6px 0 0 14px !important;
  }

  body.terms-page-body .site-nav .dropdown.open .dropdown-menu,
  body.privacy-page-body .site-nav .dropdown.open .dropdown-menu {
    display: block !important;
  }
}


/* =========================================================
   MOBILE ROOMMATE DETAILS ORDER FIX
   Move contact section below room details on mobile only
========================================================= */

@media screen and (max-width: 768px) {

  #detailsContent.rd3-layout {
    display: flex !important;
    flex-direction: column !important;
  }

  #detailsContent .rd3-image-card {
    order: 1 !important;
  }

  #detailsContent .rd3-info-card {
    order: 2 !important;
  }

  #detailsContent .rd3-contact-card {
    order: 3 !important;
    position: relative !important;
    top: auto !important;
  }
}

/* =========================================================
   MOBILE NANNY DETAILS ORDER FIX
========================================================= */

@media screen and (max-width: 768px) {

  #detailsContent.nsd-nanny-layout {
    display: flex !important;
    flex-direction: column !important;
  }

  #detailsContent.nsd-nanny-layout .nsd-image-card {
    order: 1 !important;
  }

  #detailsContent.nsd-nanny-layout .nsd-info-card {
    order: 2 !important;
  }

  #detailsContent.nsd-nanny-layout .nsd-contact-card {
    order: 3 !important;
    position: relative !important;
    top: auto !important;
  }

  #detailsContent.nsd-nanny-layout .nsd-review-card {
    order: 4 !important;
  }
}


/* =========================================================
   MOBILE SERVICE DETAILS ORDER FIX
========================================================= */

@media screen and (max-width: 768px) {

  #detailsContent.nsd-service-layout {
    display: flex !important;
    flex-direction: column !important;
  }

  #detailsContent.nsd-service-layout .nsd-image-card {
    order: 1 !important;
  }

  #detailsContent.nsd-service-layout .nsd-info-card {
    order: 2 !important;
  }

  #detailsContent.nsd-service-layout .nsd-contact-card {
    order: 3 !important;
    position: relative !important;
    top: auto !important;
  }

  #detailsContent.nsd-service-layout .nsd-review-card {
    order: 4 !important;
  }
}

/* =========================================================
   POST ROOMMATE CUSTOM DATE PLACEHOLDER FIX
   Uses real date input with a fake placeholder overlay
========================================================= */
.post-roommate-page .custom-date-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
}

.post-roommate-page .custom-date-wrap input[type="date"] {
  position: relative;
  z-index: 2;
  background: transparent;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.post-roommate-page .custom-date-placeholder {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
  transition: 0.15s ease;
  z-index: 1;
}

.post-roommate-page .custom-date-wrap input[type="date"]:valid + .custom-date-placeholder,
.post-roommate-page .custom-date-wrap input[type="date"]:focus + .custom-date-placeholder {
  opacity: 0;
}


.custom-date-wrap {
  position: relative;
  width: 100%;
}

.custom-date-wrap input[type="date"] {
  width: 100%;
  color: transparent !important;
}

.custom-date-wrap input[type="date"]:focus,
.custom-date-wrap input[type="date"]:valid {
  color: #ffffff !important;
}

.custom-date-placeholder {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #d1d5db;
  pointer-events: none;
}

.custom-date-wrap input[type="date"]:focus + .custom-date-placeholder,
.custom-date-wrap input[type="date"]:valid + .custom-date-placeholder {
  display: none;
}

/* =========================================================
   ROOMMATE DETAILS WIDTH ALIGNMENT FIX
   Match details page content width with header/nav container
========================================================= */

body.roommate-details-page .roommate-details-container,
body.roommate-details-page .roommate-details-shell > .container,
body.roommate-details-page main .container {
  width: min(1480px, 97%) !important;
  max-width: 1480px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.roommate-details-page #detailsContent.rd3-layout {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Keep the mobile ordering fix after the width alignment */
@media screen and (max-width: 768px) {
  body.roommate-details-page .roommate-details-container,
  body.roommate-details-page .roommate-details-shell > .container,
  body.roommate-details-page main .container {
    width: min(1480px, 97%) !important;
    max-width: 1480px !important;
  }

  body.roommate-details-page #detailsContent.rd3-layout {
    display: flex !important;
    flex-direction: column !important;
  }

  body.roommate-details-page #detailsContent .rd3-image-card {
    order: 1 !important;
  }

  body.roommate-details-page #detailsContent .rd3-info-card {
    order: 2 !important;
  }

  body.roommate-details-page #detailsContent .rd3-contact-card {
    order: 3 !important;
    position: relative !important;
    top: auto !important;
  }
}


/* =========================================
   FIX ROOMMATE DETAILS PAGE WIDTH
========================================= */

.roommate-details-shell {
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.roommate-details-page .roommate-details-shell > .container {
  width: min(1480px, 97%) !important;
  max-width: 1480px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.roommate-details-page #detailsContent.rd3-layout {
  width: 100% !important;
  max-width: 100% !important;

  display: grid !important;

  grid-template-columns:
    minmax(0, 1.7fr)
    minmax(380px, 0.72fr) !important;

  gap: 36px !important;
  align-items: start !important;
}

.roommate-details-page .rd3-image-card,
.roommate-details-page .rd3-contact-card,
.roommate-details-page .rd3-info-card {
  width: 100% !important;
  min-width: 0 !important;
}

/* ===== FINAL SERVICE DETAILS IMAGE FRAME FIX =====
   Keeps service detail pages consistent for portrait, landscape,
   default, and uploaded service images. */
body.service-details-page .nsd-layout {
  align-items: stretch !important;
}

body.service-details-page .nsd-image-card,
body.service-details-page .service-contact-card,
body.service-details-page .nsd-contact-card {
  height: auto !important;
  align-self: stretch !important;
}

body.service-details-page .service-main-photo,
body.service-details-page .main-photo {
  height: 420px !important;
  max-height: 420px !important;
  min-height: 420px !important;
  width: 100% !important;
  padding: 0 !important;
  margin-bottom: 12px !important;
  overflow: hidden !important;
  border-radius: 20px !important;
  background: #f8fafc !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.service-details-page .service-main-photo img,
body.service-details-page .service-main-photo video,
body.service-details-page .main-photo img,
body.service-details-page .main-photo video {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #f8fafc !important;
}

body.service-details-page .thumbnail-row {
  min-height: 82px !important;
  margin-top: 12px !important;
  margin-bottom: 0 !important;
}

@media (max-width: 900px) {
  body.service-details-page .service-main-photo,
  body.service-details-page .main-photo {
    height: 300px !important;
    max-height: 300px !important;
    min-height: 300px !important;
  }
}


/* Favorites */
.home-listing-card { position: relative; }
.favorite-btn { position:absolute; top:12px; right:12px; z-index:5; width:40px; height:40px; border-radius:50%; border:1px solid #ddd; background:#fff; cursor:pointer; display:grid; place-items:center; font-size:18px; box-shadow:0 2px 8px rgba(0,0,0,.12); }
.favorite-btn.is-favorite, .detail-favorite-btn.is-favorite { color:#c62828; }
.detail-favorite-btn { border:1px solid #ddd; background:#fff; border-radius:999px; padding:10px 16px; cursor:pointer; font-weight:600; display:inline-flex; gap:8px; align-items:center; }
.favorites-page { padding:40px 0 70px; }
.favorites-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:20px; margin-top:20px; }
.favorite-card { border:1px solid #e4e4e4; border-radius:14px; padding:20px; background:#fff; }
.favorite-card h3 { margin:8px 0; }
.favorite-card-actions { display:flex; gap:10px; align-items:center; margin-top:14px; }
.favorite-remove { border:0; background:transparent; cursor:pointer; }

/* =====================================================
   MY FAVORITES - dashboard layout based on My Listings
   ===================================================== */
.favorites-dashboard-page .favorites-category-section { margin: 34px 0 48px; }
.favorites-dashboard-page .favorites-category-heading { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:18px; padding-bottom:14px; border-bottom:1px solid rgba(15,23,42,.12); }
.favorites-dashboard-page .favorites-category-heading > div { display:flex; align-items:center; gap:13px; }
.favorites-dashboard-page .favorites-category-heading h2 { margin:0; font-size:1.45rem; }
.favorites-dashboard-page .favorites-category-heading p { margin:3px 0 0; opacity:.72; }
.favorites-dashboard-page .favorites-category-icon { width:46px; height:46px; border-radius:14px; display:grid; place-items:center; background:rgba(37,99,235,.10); font-size:1.15rem; }
.favorites-dashboard-page .favorites-browse-link { text-decoration:none; font-weight:700; white-space:nowrap; }
.favorites-dashboard-page .favorite-listing-card { overflow:hidden; }
.favorites-dashboard-page .favorite-listing-card .my-listing-image img { width:100%; height:100%; object-fit:cover; }
.favorites-dashboard-page .favorite-listing-card .status-pill i { margin-right:4px; }
@media (max-width:700px) { .favorites-dashboard-page .favorites-category-heading { align-items:flex-start; flex-direction:column; } }


/* =====================================================
   MY FAVORITES - compact 4-column cards + white headings
   ===================================================== */
.favorites-dashboard-page .favorites-category-heading,
.favorites-dashboard-page .favorites-category-heading h2,
.favorites-dashboard-page .favorites-category-heading p,
.favorites-dashboard-page .favorites-browse-link {
  color: #ffffff !important;
}

.favorites-dashboard-page .favorites-category-heading {
  border-bottom-color: rgba(255,255,255,.28) !important;
}

.favorites-dashboard-page .favorites-category-icon {
  background: rgba(255,255,255,.18) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,.32);
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}

.favorites-dashboard-page .favorites-category-icon i,
.favorites-dashboard-page .favorites-browse-link i {
  color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.favorites-dashboard-page .favorites-category-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.favorites-dashboard-page .favorite-listing-card {
  min-width: 0 !important;
  border-radius: 16px !important;
}

.favorites-dashboard-page .favorite-listing-card .my-listing-image {
  height: 150px !important;
  min-height: 150px !important;
}

.favorites-dashboard-page .favorite-listing-card .my-listing-body {
  padding: 14px !important;
}

.favorites-dashboard-page .favorite-listing-card .my-listing-topline {
  gap: 6px !important;
  margin-bottom: 8px !important;
}

.favorites-dashboard-page .favorite-listing-card .listing-type-pill,
.favorites-dashboard-page .favorite-listing-card .status-pill {
  font-size: .72rem !important;
  padding: 5px 8px !important;
}

.favorites-dashboard-page .favorite-listing-card h3 {
  font-size: 1rem !important;
  line-height: 1.25 !important;
  margin: 6px 0 !important;
}

.favorites-dashboard-page .favorite-listing-card .listing-price {
  font-size: .92rem !important;
  margin: 5px 0 !important;
}

.favorites-dashboard-page .favorite-listing-card .listing-meta,
.favorites-dashboard-page .favorite-listing-card .my-listing-description {
  font-size: .8rem !important;
  line-height: 1.35 !important;
}

.favorites-dashboard-page .favorite-listing-card .my-listing-description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.15em;
}

.favorites-dashboard-page .favorite-listing-card .my-listing-actions {
  gap: 7px !important;
  margin-top: 10px !important;
}

.favorites-dashboard-page .favorite-listing-card .my-listing-actions .btn {
  padding: 8px 10px !important;
  font-size: .78rem !important;
  min-height: 34px !important;
}

@media (max-width: 1150px) {
  .favorites-dashboard-page .favorites-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 850px) {
  .favorites-dashboard-page .favorites-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 520px) {
  .favorites-dashboard-page .favorites-category-grid {
    grid-template-columns: 1fr !important;
  }
}


/* =====================================================================
   MINALESH HOMEPAGE — FULL BACKGROUND MARKETPLACE PREVIEW
   Scoped to body.index-page.full-market-home so other pages are untouched.
   ===================================================================== */
body.index-page.full-market-home {
  min-height: 100vh !important;
  color: #fff !important;
  background: #071426 !important;
  isolation: isolate;
}

/* Removed duplicate/conflicting site background rule during cleanup. */

body.index-page.full-market-home header {
  background: rgba(3, 14, 31, .72) !important;
  border-bottom: 1px solid rgba(255,255,255,.11) !important;
  box-shadow: none !important;
  backdrop-filter: blur(10px) !important;
}

body.index-page.full-market-home .nav-links,
body.index-page.full-market-home .nav-links > a,
body.index-page.full-market-home .nav-links .dropdown > a,
body.index-page.full-market-home .login-link,
body.index-page.full-market-home .profile-btn {
  color: #f8fafc !important;
}

body.index-page.full-market-home .nav-links > a:hover,
body.index-page.full-market-home .nav-links .dropdown > a:hover {
  color: #60a5fa !important;
}

body.index-page.full-market-home .market-home-main,
body.index-page.full-market-home .marketplace-full-hero,
body.index-page.full-market-home .marketplace-latest-section {
  background: transparent !important;
  background-image: none !important;
}

body.index-page.full-market-home .marketplace-full-hero {
  padding: 58px 0 26px !important;
}

body.index-page.full-market-home .marketplace-full-hero-inner {
  width: min(1380px, 94%) !important;
}

body.index-page.full-market-home .marketplace-hero-copy {
  max-width: 1020px;
}

body.index-page.full-market-home .marketplace-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.30);
  background: rgba(30,41,59,.55);
  color: #f8fafc;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .06em;
  box-shadow: 0 10px 28px rgba(2,6,23,.18);
}

body.index-page.full-market-home .marketplace-hero-title {
  margin: 24px 0 10px !important;
  max-width: 1120px;
  color: #fff !important;
  font-size: clamp(3rem, 6.1vw, 6.1rem) !important;
  line-height: .98 !important;
  letter-spacing: -.055em;
  font-weight: 950;
  text-shadow: 0 6px 28px rgba(0,0,0,.30);
}

body.index-page.full-market-home .marketplace-hero-title span {
  color: #3b82f6 !important;
}

body.index-page.full-market-home .marketplace-hero-amharic {
  color: #fff;
  font-size: clamp(1.05rem, 1.7vw, 1.55rem);
  font-weight: 800;
  line-height: 1.45;
  text-shadow: 0 3px 14px rgba(0,0,0,.38);
  max-width: 1100px;
}

body.index-page.full-market-home .marketplace-hero-subtitle {
  margin-top: 10px;
  max-width: 760px;
  color: rgba(255,255,255,.92) !important;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.6;
  text-shadow: 0 2px 12px rgba(0,0,0,.34);
}

body.index-page.full-market-home .marketplace-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 920px;
  gap: 0;
  margin: 32px 0 30px;
}

body.index-page.full-market-home .marketplace-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 8px 30px 8px 0;
  margin-right: 30px;
  border-right: 1px solid rgba(255,255,255,.24);
}

body.index-page.full-market-home .marketplace-stat:last-child {
  border-right: 0;
  margin-right: 0;
}

body.index-page.full-market-home .marketplace-stat-icon {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.35rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.20), 0 12px 28px rgba(2,6,23,.22);
}

body.index-page.full-market-home .marketplace-stat-blue .marketplace-stat-icon { background: linear-gradient(145deg,#2563eb,#0f5eea); }
body.index-page.full-market-home .marketplace-stat-green .marketplace-stat-icon { background: linear-gradient(145deg,#65a30d,#3f8f1b); }
body.index-page.full-market-home .marketplace-stat-purple .marketplace-stat-icon { background: linear-gradient(145deg,#8b5cf6,#6d28d9); }

body.index-page.full-market-home .marketplace-stat strong {
  display: block;
  color: #fff !important;
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  line-height: 1;
  font-weight: 950;
}

body.index-page.full-market-home .marketplace-stat span {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,.92) !important;
  font-weight: 700;
}

body.index-page.full-market-home .marketplace-featured-wrap {
  margin-top: 6px;
}

body.index-page.full-market-home .marketplace-featured-heading {
  margin-bottom: 10px;
  color: rgba(255,255,255,.88);
  font-size: .88rem;
  font-weight: 800;
}

body.index-page.full-market-home .home-visible-slider-wrap {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

body.index-page.full-market-home #latestImageSlider.hero-image-slider.home-visible-slider,
body.index-page.full-market-home #latestImageSlider.marketplace-featured-slider {
  width: 100% !important;
  max-width: none !important;
  height: clamp(300px, 34vw, 470px) !important;
  min-height: 300px !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255,255,255,.62) !important;
  background: rgba(2,8,23,.28) !important;
  box-shadow: 0 24px 65px rgba(2,6,23,.34) !important;
}

body.index-page.full-market-home #latestImageSlider .hero-slide,
body.index-page.full-market-home #latestImageSlider .hero-slide.active {
  width: 100% !important;
  height: 100% !important;
  inset: 0 !important;
  border-radius: 0 !important;
}

body.index-page.full-market-home #latestImageSlider .hero-slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  filter: brightness(.83) saturate(1.03) !important;
}

body.index-page.full-market-home #latestImageSlider .hero-slide::after {
  background: linear-gradient(180deg, transparent 48%, rgba(2,6,23,.72) 100%) !important;
}

body.index-page.full-market-home #latestImageSlider .hero-slide span {
  left: 20px !important;
  bottom: 18px !important;
  max-width: min(620px, 82%) !important;
  padding: 9px 13px !important;
  border-radius: 999px !important;
  background: rgba(15,23,42,.68) !important;
  color: #fff !important;
  font-weight: 800 !important;
}

body.index-page.full-market-home .marketplace-latest-section {
  padding: 42px 0 56px !important;
}

body.index-page.full-market-home .marketplace-latest-section > .container {
  width: min(1380px, 94%) !important;
  padding: 24px !important;
  border-radius: 24px;
  background: rgba(2, 12, 28, .34) !important;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 24px 70px rgba(2,6,23,.22);
  backdrop-filter: blur(3px);
}

body.index-page.full-market-home .marketplace-section-head {
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin-bottom: 10px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.index-page.full-market-home .marketplace-section-head h2 {
  color: #fff !important;
  font-size: clamp(1.65rem,2.4vw,2.25rem) !important;
  margin: 0 0 3px !important;
}

body.index-page.full-market-home .marketplace-section-head p {
  color: rgba(255,255,255,.72) !important;
}

body.index-page.full-market-home .marketplace-view-all {
  color: #60a5fa !important;
  font-weight: 900;
  white-space: nowrap;
}

body.index-page.full-market-home .marketplace-latest-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px 0 22px;
}

body.index-page.full-market-home .home-listing-type-filters {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.index-page.full-market-home .marketplace-all-pill,
body.index-page.full-market-home .home-listing-type-filters label > span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  min-height: 40px !important;
  padding: 8px 16px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.38) !important;
  background: rgba(2,8,23,.26) !important;
  color: #fff !important;
  font-weight: 800 !important;
}

body.index-page.full-market-home .marketplace-all-pill {
  background: #2563eb !important;
  border-color: #2563eb !important;
}

body.index-page.full-market-home .home-listing-type-filters label:has(input:checked) > span {
  background: rgba(37,99,235,.92) !important;
  border-color: #60a5fa !important;
}

body.index-page.full-market-home .home-listing-type-filters input {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.index-page.full-market-home .home-listings-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

body.index-page.full-market-home .home-listing-card {
  overflow: hidden !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255,255,255,.45) !important;
  background: rgba(255,255,255,.96) !important;
  color: #0f172a !important;
  box-shadow: 0 18px 42px rgba(2,6,23,.24) !important;
  backdrop-filter: none !important;
  transition: transform .18s ease, box-shadow .18s ease !important;
}

body.index-page.full-market-home .home-listing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(2,6,23,.32) !important;
}

body.index-page.full-market-home .home-listing-img {
  height: 205px !important;
  display: block !important;
  overflow: hidden !important;
}

body.index-page.full-market-home .home-listing-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body.index-page.full-market-home .home-listing-body {
  padding: 15px 16px 17px !important;
}

body.index-page.full-market-home .home-listing-card h3 {
  color: #0f172a !important;
  font-size: 1.03rem !important;
  line-height: 1.3 !important;
  margin-bottom: 7px !important;
}

body.index-page.full-market-home .home-listing-card .home-listing-price {
  color: #1d4ed8 !important;
  font-weight: 900 !important;
}

body.index-page.full-market-home .home-listing-card p,
body.index-page.full-market-home .home-listing-card span,
body.index-page.full-market-home .home-listing-card .home-listing-meta,
body.index-page.full-market-home .home-listing-card .home-listing-views {
  color: #64748b !important;
}

body.index-page.full-market-home .home-listing-card .home-listing-text {
  color: #475569 !important;
}

body.index-page.full-market-home .favorite-btn {
  width: 38px !important;
  height: 38px !important;
  top: 10px !important;
  right: 10px !important;
  border: 1px solid rgba(148,163,184,.42) !important;
  color: #2563eb !important;
}

body.index-page.full-market-home footer {
  margin-top: 0 !important;
  padding-top: 46px !important;
  background: rgba(2, 10, 24, .58) !important;
  border-top: 1px solid rgba(255,255,255,.12) !important;
  backdrop-filter: blur(4px);
}

@media (max-width: 1050px) {
  body.index-page.full-market-home .home-listings-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
  body.index-page.full-market-home .marketplace-stats { max-width: none; }
}

@media (max-width: 760px) {
  /* Mobile duplicate homepage background removed; canonical global background applies. */
  body.index-page.full-market-home .marketplace-full-hero { padding-top: 34px !important; }
  body.index-page.full-market-home .marketplace-hero-title { font-size: clamp(2.45rem, 12vw, 4rem) !important; }
  body.index-page.full-market-home .marketplace-stats { grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
  body.index-page.full-market-home .marketplace-stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); margin: 0; padding: 10px 0 14px; }
  body.index-page.full-market-home .marketplace-stat:last-child { border-bottom: 0; }
  body.index-page.full-market-home #latestImageSlider.hero-image-slider.home-visible-slider { height: 300px !important; }
  body.index-page.full-market-home .marketplace-section-head { align-items: flex-start !important; flex-direction: column !important; }
  body.index-page.full-market-home .home-listings-grid { grid-template-columns: 1fr !important; }
  body.index-page.full-market-home .marketplace-latest-section > .container { padding: 16px !important; }
}

/* =====================================================================
   MINALESH HOMEPAGE — SLATE GLASS CARDS + FULL IMAGE DISPLAY
   Requested 2026-08-21. Homepage-only overrides.
   ===================================================================== */
/* Removed duplicate/conflicting site background rule during cleanup. */

body.index-page.full-market-home .marketplace-latest-section > .container {
  background: rgba(51, 65, 85, .58) !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  box-shadow: 0 24px 70px rgba(2,6,23,.24) !important;
  backdrop-filter: blur(5px) !important;
}

body.index-page.full-market-home .home-listing-card {
  background: rgba(71, 85, 105, .78) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  color: #fff !important;
  box-shadow: 0 14px 32px rgba(2,6,23,.24) !important;
  backdrop-filter: blur(6px) !important;
}

body.index-page.full-market-home .home-listing-card:hover {
  box-shadow: 0 22px 48px rgba(2,6,23,.34) !important;
}

body.index-page.full-market-home .home-listing-img {
  height: 205px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  background: rgba(15, 23, 42, .38) !important;
}

body.index-page.full-market-home .home-listing-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

body.index-page.full-market-home .home-listing-card h3 {
  color: #fff !important;
}

body.index-page.full-market-home .home-listing-card .home-listing-price {
  color: #1683ff !important;
}

body.index-page.full-market-home .home-listing-card p,
body.index-page.full-market-home .home-listing-card span,
body.index-page.full-market-home .home-listing-card .home-listing-meta,
body.index-page.full-market-home .home-listing-card .home-listing-views {
  color: #cbd5e1 !important;
}

body.index-page.full-market-home .home-listing-card .home-listing-text {
  color: #e2e8f0 !important;
}

body.index-page.full-market-home .favorite-btn {
  background: rgba(255,255,255,.96) !important;
  border-color: rgba(255,255,255,.70) !important;
  color: #2563eb !important;
}


/* =========================================================
   MinAlesh homepage - logged-in profile button visibility fix
   Keeps the light profile pill readable on the dark header.
   ========================================================= */
body.index-page.full-market-home .profile-btn {
  background: rgba(248, 251, 255, 0.97) !important;
  border: 1px solid rgba(219, 234, 254, 0.95) !important;
  color: #0f172a !important;
  min-width: 210px;
}

body.index-page.full-market-home .profile-btn #profileName,
body.index-page.full-market-home .profile-btn .fa-chevron-down {
  color: #0f172a !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body.index-page.full-market-home .profile-btn .fa-user-circle {
  color: #2563eb !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body.index-page.full-market-home .profile-btn:hover {
  background: #ffffff !important;
  border-color: #93c5fd !important;
  color: #0f172a !important;
}


/* =========================================================
   MinAlesh homepage - guest Sign In visibility fix
   The homepage dark-header override was making Sign In white
   on a white button. Keep Sign In dark, Sign Up white-on-blue.
   ========================================================= */
body.index-page.full-market-home .guest-links .login-link {
  background: rgba(248, 251, 255, 0.97) !important;
  border: 1px solid rgba(219, 234, 254, 0.95) !important;
  color: #0f172a !important;
}

body.index-page.full-market-home .guest-links .login-link i {
  color: #2563eb !important;
  opacity: 1 !important;
}

body.index-page.full-market-home .guest-links .login-link:hover {
  background: #ffffff !important;
  color: #2563eb !important;
  border-color: #93c5fd !important;
}

body.index-page.full-market-home .guest-links .register-link,
body.index-page.full-market-home .guest-links .register-link i {
  color: #ffffff !important;
}


/* =========================================================
   MinAlesh homepage brand logo exact markup fix
   HTML:
   .brand-top    = Min<span>Alesh</span>
   .brand-bottom = ምን<span>አለሽ</span>
   ========================================================= */
body.index-page.full-market-home .brand-logo .brand-top,
body.index-page.full-market-home .brand-logo .brand-bottom {
  color: #ffffff !important;
}

body.index-page.full-market-home .brand-logo .brand-top > span,
body.index-page.full-market-home .brand-logo .brand-bottom > span {
  color: #2563eb !important;
}


/* =====================================================================
   MINALESH GLOBAL HEADER
   Applies the homepage dark navy header style across all MinAlesh pages.
   ===================================================================== */

header {
  background: rgba(3, 14, 31, .92) !important;
  border-bottom: 1px solid rgba(255,255,255,.10) !important;
  box-shadow: none !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

/* Brand: Min + ምን white, Alesh + አለሽ blue */
.brand-logo .brand-top,
.brand-logo .brand-bottom {
  color: #ffffff !important;
}

.brand-logo .brand-top > span,
.brand-logo .brand-bottom > span {
  color: #2563eb !important;
}

/* Main navigation */
.site-nav .nav-links,
.site-nav .nav-links > a,
.site-nav .nav-links .dropdown > a {
  color: #f8fafc !important;
}

.site-nav .nav-links > a:hover,
.site-nav .nav-links > a.active,
.site-nav .nav-links .dropdown > a:hover {
  color: #60a5fa !important;
}

/* Mobile menu icon */
.mobile-menu-toggle,
.mobile-menu-toggle i {
  color: #ffffff !important;
}

/* Guest: Sign In */
.guest-links .login-link {
  background: rgba(248, 251, 255, .97) !important;
  border: 1px solid rgba(219, 234, 254, .95) !important;
  color: #0f172a !important;
}

.guest-links .login-link i {
  color: #2563eb !important;
}

.guest-links .login-link:hover {
  background: #ffffff !important;
  color: #2563eb !important;
  border-color: #93c5fd !important;
}

/* Guest: Sign Up */
.guest-links .register-link {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: #ffffff !important;
}

.guest-links .register-link i {
  color: #ffffff !important;
}

.guest-links .register-link:hover {
  background: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
  color: #ffffff !important;
}

/* Logged-in account pill */
.profile-btn {
  background: rgba(248, 251, 255, .97) !important;
  border: 1px solid rgba(219, 234, 254, .95) !important;
  color: #0f172a !important;
}

.profile-btn #profileName,
.profile-btn .fa-chevron-down {
  color: #0f172a !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.profile-btn .fa-user-circle {
  color: #2563eb !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.profile-btn:hover {
  background: #ffffff !important;
  border-color: #93c5fd !important;
  color: #0f172a !important;
}

/* Keep dropdown readable on the dark header */
.profile-dropdown,
.dropdown-menu {
  background: #ffffff !important;
  color: #0f172a !important;
}

.profile-dropdown a,
.profile-dropdown button,
.dropdown-menu a {
  color: #0f172a !important;
}

.profile-dropdown a:hover,
.profile-dropdown button:hover,
.dropdown-menu a:hover {
  background: #f1f5f9 !important;
  color: #2563eb !important;
}

/* =========================================================
   NANNY DETAILS — TEXT COLOR REFINEMENT
   Keeps the existing background/card/star colors unchanged.
   ========================================================= */
body.nanny-details-page .nsd-review-card .detail-card-heading h2,
body.nanny-details-page .nsd-review-card .review-form-panel h3 {
  color: #F8FAFC !important;
}

body.nanny-details-page .nanny-review-summary {
  color: #CBD5E1 !important;
}

/* Review title */
body.nanny-details-page .nsd-reviews-list .review-card h3,
body.nanny-details-page .nsd-reviews-list .review-card h4,
body.nanny-details-page .nsd-reviews-list .review-card strong {
  color: #F8FAFC !important;
}

/* Reviewer name/date/meta line */
body.nanny-details-page .nsd-reviews-list .review-card .muted,
body.nanny-details-page .nsd-reviews-list .review-card small,
body.nanny-details-page .nsd-reviews-list .review-card .review-meta,
body.nanny-details-page .nsd-reviews-list .review-card p:nth-of-type(1) {
  color: #AFC1D6 !important;
}

/* Review body */
body.nanny-details-page .nsd-reviews-list .review-card p:last-child {
  color: #E2E8F0 !important;
}


/* =====================================================================
   NANNY DETAILS — FINAL SINGLE-PANEL LAYOUT
   One continuous glass section. No vertical card split.
   Keeps existing page background and orange star colors.
   ===================================================================== */

body.nanny-details-page .nanny-details-shell > .container {
  width: min(1480px, 96%) !important;
  max-width: 1480px !important;
  margin: 0 auto !important;
  padding: 22px 0 48px !important;
}

body.nanny-details-page .nanny-single-profile-panel {
  width: 100% !important;
  margin: 0 auto !important;
  padding: 24px 28px 28px !important;
  border-radius: 26px !important;
  background: rgba(38, 58, 86, .76) !important;
  border: 1px solid rgba(255,255,255,.34) !important;
  box-shadow: 0 18px 48px rgba(2,8,23,.22) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  overflow: hidden !important;
}

body.nanny-details-page .nanny-back-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 0 18px !important;
  color: #cfe2f7 !important;
  font-weight: 700 !important;
}

body.nanny-details-page #detailsContent.nsd-nanny-layout {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(280px, 360px) minmax(360px, 1fr) minmax(320px, 410px) !important;
  grid-template-areas:
    "photo summary contact"
    "ninfo ninfo ninfo"
    "reviews reviews reviews" !important;
  gap: 22px 30px !important;
  align-items: start !important;
}

/* Let summary + nanny information become independent grid areas. */
body.nanny-details-page #detailsContent .nsd-info-card {
  display: contents !important;
}

/* Remove individual card boxes: the OUTER panel is the only main container. */
body.nanny-details-page #detailsContent .nsd-image-card,
body.nanny-details-page #detailsContent .nsd-contact-card,
body.nanny-details-page #detailsContent .nsd-review-card {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
}

body.nanny-details-page #detailsContent .nsd-image-card {
  grid-area: photo !important;
}

body.nanny-details-page #detailsContent .nsd-summary {
  grid-area: summary !important;
  max-width: none !important;
  padding: 8px 0 0 !important;
  align-self: start !important;
}

body.nanny-details-page #detailsContent .nsd-contact-card {
  grid-area: contact !important;
  position: static !important;
  top: auto !important;
  padding: 8px 0 0 !important;
  align-self: start !important;
}

body.nanny-details-page #detailsContent .nsd-one-info-section {
  grid-area: ninfo !important;
  margin: 0 !important;
  padding: 18px 0 4px !important;
  border-top: 1px solid rgba(255,255,255,.22) !important;
}

body.nanny-details-page #detailsContent .nsd-review-card {
  grid-area: reviews !important;
  margin: 0 !important;
  padding: 18px 0 0 !important;
  border-top: 1px solid rgba(255,255,255,.22) !important;
}

/* Photo/gallery */
body.nanny-details-page .nanny-gallery-card {
  width: 100% !important;
  margin: 0 !important;
}

body.nanny-details-page .nanny-main-photo,
body.nanny-details-page .main-photo {
  width: 100% !important;
  height: 315px !important;
  min-height: 315px !important;
  max-height: 315px !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: rgba(248,250,252,.96) !important;
  border: 1px solid rgba(255,255,255,.40) !important;
}

body.nanny-details-page .nanny-main-photo img,
body.nanny-details-page .nanny-main-photo video,
body.nanny-details-page .main-photo img,
body.nanny-details-page .main-photo video {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: contain !important;
  object-position: center !important;
}

body.nanny-details-page .nanny-thumbnail-row,
body.nanny-details-page .thumbnail-row {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 7px !important;
  margin: 8px 0 0 !important;
}

body.nanny-details-page .thumbnail-row:empty {
  display: none !important;
}

body.nanny-details-page .thumb {
  height: 58px !important;
  border-radius: 9px !important;
}

/* Summary */
body.nanny-details-page .nanny-detail-pill {
  display: none !important;
}

body.nanny-details-page .nsd-summary h1 {
  color: #f8fafc !important;
  font-size: clamp(1.55rem, 2.2vw, 2.15rem) !important;
  line-height: 1.15 !important;
  margin: 42px 0 10px !important;
  letter-spacing: -.02em !important;
}

body.nanny-details-page .nanny-location {
  color: #afc1d6 !important;
  font-weight: 700 !important;
  margin: 0 0 14px !important;
}

body.nanny-details-page .nanny-price-row {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  margin: 4px 0 14px !important;
  flex-wrap: wrap !important;
}

body.nanny-details-page .nanny-price-detail,
body.nanny-details-page #hourlyRate {
  color: #f8fafc !important;
  font-size: 1.55rem !important;
  font-weight: 500 !important;
  margin: 0 !important;
}

body.nanny-details-page #nannyViews {
  margin: 0 !important;
}

body.nanny-details-page .nanny-bio {
  color: #e2e8f0 !important;
  line-height: 1.65 !important;
  margin-top: 14px !important;
}

/* Contact area — part of same panel, not a separate vertical card */
body.nanny-details-page .nsd-contact-head {
  display: flex !important;
  gap: 13px !important;
  align-items: flex-start !important;
  padding: 0 0 12px !important;
  border: 0 !important;
}

body.nanny-details-page .nsd-contact-head h2 {
  color: #f8fafc !important;
  margin: 0 0 4px !important;
  font-size: 1.25rem !important;
}

body.nanny-details-page .nanny-contact-subtitle {
  color: #cbd5e1 !important;
  line-height: 1.45 !important;
}

body.nanny-details-page .nanny-contact-lines {
  margin-top: 8px !important;
}

body.nanny-details-page .contact-line {
  display: grid !important;
  grid-template-columns: 105px minmax(0,1fr) !important;
  column-gap: 8px !important;
  padding: 10px 0 !important;
  border: 0 !important;
  color: #e2e8f0 !important;
}

body.nanny-details-page .contact-line strong {
  color: #f8fafc !important;
}

body.nanny-details-page .contact-line span {
  color: #e2e8f0 !important;
}

body.nanny-details-page .nanny-contact-buttons {
  display: flex !important;
  flex-direction: row !important;
  gap: 10px !important;
  margin: 14px 0 0 !important;
  flex-wrap: wrap !important;
}

body.nanny-details-page .nanny-contact-buttons .btn {
  flex: 1 1 140px !important;
  min-height: 44px !important;
}

/* Nanny Information — same palette as review poster/meta */
body.nanny-details-page .nanny-heading h2 {
  color: #f8fafc !important;
}

body.nanny-details-page .nsd-info-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 42px !important;
  margin-top: 12px !important;
}

body.nanny-details-page .nsd-info-grid .info-item {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.20) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: 50px !important;
  padding: 12px 0 !important;
  display: grid !important;
  grid-template-columns: minmax(120px, 155px) 1fr !important;
  align-items: center !important;
  gap: 10px !important;
  color: #e2e8f0 !important;
  font-weight: 500 !important;
}

body.nanny-details-page .nsd-info-grid .info-item span,
body.nanny-details-page .nsd-info-grid .info-item strong {
  color: #afc1d6 !important;
  font-weight: 800 !important;
}

/* Reviews */
body.nanny-details-page .nanny-review-summary {
  color: #cbd5e1 !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 6px 0 14px !important;
}

body.nanny-details-page .nsd-reviews-list {
  display: grid !important;
  gap: 12px !important;
}

body.nanny-details-page .nsd-reviews-list .review-card {
  background: rgba(255,255,255,.045) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 14px !important;
  padding: 14px 16px !important;
  margin: 0 !important;
}

body.nanny-details-page .nsd-reviews-list .review-card h3,
body.nanny-details-page .nsd-reviews-list .review-card h4,
body.nanny-details-page .nsd-reviews-list .review-card strong {
  color: #f8fafc !important;
}

body.nanny-details-page .nsd-reviews-list .review-card .muted,
body.nanny-details-page .nsd-reviews-list .review-card small,
body.nanny-details-page .nsd-reviews-list .review-card .review-meta,
body.nanny-details-page .nsd-reviews-list .review-card p:nth-of-type(1) {
  color: #afc1d6 !important;
}

body.nanny-details-page .nsd-reviews-list .review-card p:last-child {
  color: #e2e8f0 !important;
}

/* Review form stays in the same section but visually separated below reviews. */
body.nanny-details-page .nsd-review-form-panel {
  margin-top: 18px !important;
  padding-top: 18px !important;
  border-top: 1px solid rgba(255,255,255,.18) !important;
}

body.nanny-details-page .nsd-review-form-panel h3 {
  color: #f8fafc !important;
}

/* Tablet */
@media (max-width: 1100px) {
  body.nanny-details-page #detailsContent.nsd-nanny-layout {
    grid-template-columns: 300px minmax(0,1fr) !important;
    grid-template-areas:
      "photo summary"
      "contact contact"
      "ninfo ninfo"
      "reviews reviews" !important;
  }

  body.nanny-details-page #detailsContent .nsd-contact-card {
    padding-top: 8px !important;
    border-top: 1px solid rgba(255,255,255,.18) !important;
  }

  body.nanny-details-page .nsd-info-grid {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }
}

/* Mobile */
@media (max-width: 700px) {
  body.nanny-details-page .nanny-single-profile-panel {
    padding: 16px !important;
    border-radius: 20px !important;
  }

  body.nanny-details-page #detailsContent.nsd-nanny-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "photo"
      "summary"
      "contact"
      "ninfo"
      "reviews" !important;
    gap: 18px !important;
  }

  body.nanny-details-page .nanny-main-photo,
  body.nanny-details-page .main-photo {
    height: 290px !important;
    min-height: 290px !important;
    max-height: 290px !important;
  }

  body.nanny-details-page .nsd-summary h1 {
    margin-top: 0 !important;
  }

  body.nanny-details-page .nsd-info-grid {
    grid-template-columns: 1fr !important;
  }

  body.nanny-details-page .nsd-review-form {
    grid-template-columns: 1fr !important;
  }
}
/* =====================================================================
   NANNY DETAILS — CONSOLIDATED FINAL OVERRIDES
   Replaces the duplicate nanny-details patches that previously followed.
   ===================================================================== */

/* ---------- Top three-column layout ---------- */
body.nanny-details-page .nanny-single-profile-panel {
  padding: 22px 26px 28px !important;
}

body.nanny-details-page #detailsContent.nsd-nanny-layout {
  grid-template-columns: 315px minmax(420px, 1fr) minmax(330px, 390px) !important;
  gap: 18px 28px !important;
}

body.nanny-details-page .nanny-back-link {
  padding: 9px 14px !important;
  font-size: .9rem !important;
  background: rgba(255,255,255,.10) !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  color: #dbeafe !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

/* ---------- Image container ---------- */
body.nanny-details-page #detailsContent .nsd-image-card {
  padding: 0 !important;
}

body.nanny-details-page .nanny-gallery-card {
  padding: 9px !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.07) !important;
  border: 1px solid rgba(203,213,225,.38) !important;
  box-shadow: none !important;
}

body.nanny-details-page .nanny-main-photo,
body.nanny-details-page .main-photo {
  height: 285px !important;
  min-height: 285px !important;
  max-height: 285px !important;
  margin: 0 !important;
  border-radius: 13px !important;
  background: rgba(248,250,252,.92) !important;
  border: 0 !important;
}

/* ---------- Middle profile container ---------- */
body.nanny-details-page #detailsContent .nsd-profile-inner-card {
  display: grid !important;
  grid-template-columns: 1fr !important;
  align-content: start !important;

  padding: 22px 28px 22px 34px !important;
  margin: 0 !important;
  height: 100% !important;

  background: rgba(255,255,255,.055) !important;
  border: 1px solid rgba(203,213,225,.38) !important;
  border-radius: 20px !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 10px 28px rgba(2,6,23,.10) !important;
}

body.nanny-details-page .nsd-summary h1 {
  margin: 0 0 10px !important;
  padding: 0 !important;
  font-size: clamp(1.5rem, 1.75vw, 1.85rem) !important;
  line-height: 1.14 !important;
  max-width: 100% !important;
}

body.nanny-details-page .nanny-location {
  margin: 0 0 14px !important;
  padding: 0 !important;
  color: #afc1d6 !important;
}

body.nanny-details-page .nanny-price-row {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  width: 100% !important;

  margin: 0 0 14px !important;
  padding: 0 0 14px !important;
  border-bottom: 1px solid rgba(255,255,255,.16) !important;
}

body.nanny-details-page .nanny-price-detail,
body.nanny-details-page #hourlyRate {
  flex: 0 0 auto !important;
  width: auto !important;
  margin: 0 4px 0 0 !important;
  padding: 0 !important;
  font-size: 1.45rem !important;
  line-height: 1.1 !important;
}

body.nanny-details-page #nannyViews,
body.nanny-details-page #favoriteInlineHost .detail-favorite-btn {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  float: none !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  gap: 7px !important;

  width: auto !important;
  min-width: 0 !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;

  margin: 0 !important;
  padding: 0 14px !important;

  background: #f8fafc !important;
  border: 1px solid #dbe3ef !important;
  border-radius: 999px !important;
  box-shadow: none !important;

  color: #7f91a7 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: .82rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

body.nanny-details-page #favoriteInlineHost {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.nanny-details-page #nannyViews i,
body.nanny-details-page #favoriteInlineHost .detail-favorite-btn i {
  color: #9eb2c9 !important;
  font-size: .82rem !important;
  margin: 0 !important;
}

/* Saved favorite: red heart, neutral button text. */
body.nanny-details-page #favoriteInlineHost .detail-favorite-btn.is-favorite {
  color: #64748b !important;
}

body.nanny-details-page #favoriteInlineHost .detail-favorite-btn.is-favorite i,
body.nanny-details-page #favoriteInlineHost .detail-favorite-btn.is-favorite .fa-heart {
  color: #dc2626 !important;
}

body.nanny-details-page .nanny-bio {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #e2e8f0 !important;
  line-height: 1.55 !important;
  overflow-wrap: anywhere !important;
}

/* ---------- Contact Care Provider container ---------- */
body.nanny-details-page #detailsContent .nsd-contact-inner-card,
body.nanny-details-page #detailsContent .nanny-contact-card {
  position: relative !important;
  top: auto !important;
  height: 100% !important;
  min-height: 100% !important;

  padding: 22px 24px !important;
  margin: 0 !important;
  overflow: hidden !important;

  background: rgba(255,255,255,.075) !important;
  border: 1px solid rgba(203,213,225,.38) !important;
  border-radius: 20px !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 10px 28px rgba(2,6,23,.14) !important;
}

body.nanny-details-page .nsd-contact-head {
  gap: 11px !important;
  padding-bottom: 8px !important;
}

body.nanny-details-page .nsd-contact-head .contact-card-icon {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  border-radius: 15px !important;
}

body.nanny-details-page .nsd-contact-head h2 {
  font-size: 1.15rem !important;
}

body.nanny-details-page .nanny-contact-subtitle {
  font-size: .92rem !important;
}

body.nanny-details-page .contact-line {
  grid-template-columns: 90px minmax(0,1fr) !important;
  padding: 8px 0 !important;
  font-size: .94rem !important;
}

body.nanny-details-page .nsd-contact-actions,
body.nanny-details-page .nanny-contact-buttons {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 12px !important;
  width: 100% !important;
  margin-top: 14px !important;
}

body.nanny-details-page .nsd-contact-actions .btn,
body.nanny-details-page .nanny-contact-buttons .btn,
body.nanny-details-page #emailButton,
body.nanny-details-page #phoneButton {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 9px 15px !important;
  border-radius: 12px !important;
  font-size: .88rem !important;
}

/* Locked contact presentation. */
body.nanny-details-page .contact-box .nsd-masked-contact {
  color: #cbd5e1 !important;
  font-weight: 500 !important;
  letter-spacing: .01em;
}

body.nanny-details-page .contact-box .nsd-inline-lock {
  color: #94a3b8 !important;
  font-size: .78rem !important;
  margin-left: 7px !important;
}

body.nanny-details-page .contact-box .nsd-contact-lock-only {
  width: 100% !important;
  margin-top: 18px !important;
  padding-top: 18px !important;
  border-top: 1px solid rgba(203,213,225,.24) !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  text-align: left !important;
}

body.nanny-details-page .contact-box .nsd-unlock-copy {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  margin-bottom: 14px !important;
  color: #cbd5e1 !important;
  font-size: .9rem !important;
  line-height: 1.45 !important;
}

body.nanny-details-page .contact-box .nsd-unlock-copy i {
  color: #94a3b8 !important;
  flex: 0 0 auto !important;
}

body.nanny-details-page .contact-box .nsd-unlock-btn {
  width: 100% !important;
  min-height: 46px !important;
  border: 0 !important;
  border-radius: 12px !important;
  font-size: .92rem !important;
  font-weight: 700 !important;
}

/* ---------- Nanny information ---------- */
body.nanny-details-page #detailsContent .nsd-one-info-section {
  padding-top: 16px !important;
}

body.nanny-details-page .nsd-info-grid .info-item,
body.nanny-details-page .nsd-info-grid .info-item span {
  font-weight: 400 !important;
}

/* ---------- Reviews ---------- */
body.nanny-details-page #detailsContent .nsd-review-card {
  padding-top: 16px !important;
}

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  body.nanny-details-page #detailsContent.nsd-nanny-layout {
    grid-template-columns: 290px minmax(0,1fr) !important;
  }

  body.nanny-details-page .nanny-main-photo,
  body.nanny-details-page .main-photo {
    height: 270px !important;
    min-height: 270px !important;
    max-height: 270px !important;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  body.nanny-details-page .nanny-single-profile-panel {
    width: calc(100% - 20px) !important;
    margin: 10px auto !important;
    padding: 14px !important;
    overflow: hidden !important;
  }

  body.nanny-details-page #detailsContent.nsd-nanny-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "photo"
      "summary"
      "contact"
      "ninfo"
      "reviews" !important;
    gap: 16px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body.nanny-details-page .nsd-image-card,
  body.nanny-details-page .nsd-profile-inner-card,
  body.nanny-details-page .nsd-contact-inner-card,
  body.nanny-details-page .nsd-one-info-section,
  body.nanny-details-page .nsd-review-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.nanny-details-page .nsd-image-card { grid-area: photo !important; }
  body.nanny-details-page .nsd-profile-inner-card { grid-area: summary !important; }
  body.nanny-details-page .nsd-contact-inner-card { grid-area: contact !important; }
  body.nanny-details-page .nsd-one-info-section { grid-area: ninfo !important; }
  body.nanny-details-page .nsd-review-card { grid-area: reviews !important; }

  body.nanny-details-page .nanny-main-photo,
  body.nanny-details-page .main-photo {
    width: 100% !important;
    height: auto !important;
    min-height: 260px !important;
    max-height: none !important;
  }

  body.nanny-details-page .nanny-main-photo img,
  body.nanny-details-page .main-photo img {
    width: 100% !important;
    height: auto !important;
    max-height: 360px !important;
    object-fit: contain !important;
  }

  /* This is the final mobile left-side breathing room. */
  body.nanny-details-page #detailsContent .nsd-profile-inner-card {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 20px 20px 20px 28px !important;
  }

  body.nanny-details-page .nsd-summary h1 {
    display: block !important;
    position: static !important;
    width: 100% !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    font-size: 1.45rem !important;
    line-height: 1.18 !important;
    overflow-wrap: anywhere !important;
  }

  body.nanny-details-page .nanny-location {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  body.nanny-details-page .nanny-price-row {
    display: flex !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 0 16px !important;
    padding: 0 0 14px !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    border-bottom: 1px solid rgba(255,255,255,.16) !important;
  }

  body.nanny-details-page .nanny-price-detail,
  body.nanny-details-page #hourlyRate {
    display: block !important;
    position: static !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
    font-size: 1.45rem !important;
    line-height: 1.2 !important;
  }

  body.nanny-details-page #nannyViews,
  body.nanny-details-page #favoriteInlineHost {
    display: inline-flex !important;
    position: static !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    vertical-align: middle !important;
  }

  body.nanny-details-page #favoriteInlineHost .detail-favorite-btn {
    position: static !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  body.nanny-details-page .nanny-bio {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.55 !important;
    overflow-wrap: anywhere !important;
  }

  body.nanny-details-page .contact-line,
  body.nanny-details-page .contact-line span {
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  body.nanny-details-page .contact-line {
    grid-template-columns: 1fr !important;
    gap: 4px !important;
  }

  body.nanny-details-page .nsd-contact-actions,
  body.nanny-details-page .nanny-contact-buttons {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  body.nanny-details-page .nsd-contact-actions .btn,
  body.nanny-details-page .nanny-contact-buttons .btn,
  body.nanny-details-page #emailButton,
  body.nanny-details-page #phoneButton {
    flex: 1 1 140px !important;
    width: auto !important;
    min-width: 0 !important;
  }

  body.nanny-details-page .nsd-info-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  body.nanny-details-page .nsd-info-grid .info-item {
    grid-template-columns: 140px minmax(0,1fr) !important;
    width: 100% !important;
  }

  body.nanny-details-page .nsd-reviews-list,
  body.nanny-details-page .nsd-review-form {
    width: 100% !important;
    min-width: 0 !important;
  }

  body.nanny-details-page .nsd-review-form {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 560px) {
  body.nanny-details-page #detailsContent .nsd-profile-inner-card {
    padding-left: 28px !important;
    padding-right: 18px !important;
    border-radius: 17px !important;
  }

  body.nanny-details-page .nsd-contact-inner-card {
    padding: 17px !important;
    border-radius: 17px !important;
  }
}


/* =========================================================
   NANNY DETAILS — FULLSCREEN PHOTO LIGHTBOX
   ========================================================= */

body.nanny-details-page .nanny-main-photo {
  cursor: default !important;
}

body.nanny-details-page .nanny-main-photo.nanny-photo-zoom-enabled {
  cursor: zoom-in !important;
}

body.nanny-details-page .nanny-main-photo.nanny-photo-zoom-disabled {
  cursor: default !important;
}

body.nanny-lightbox-open {
  overflow: hidden !important;
}

.nanny-photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px 80px;
  background: rgba(2, 6, 23, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nanny-photo-lightbox.open {
  display: flex !important;
}

.nanny-lightbox-stage {
  width: min(1100px, 88vw);
  height: min(86vh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nanny-lightbox-stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
}

.nanny-lightbox-close,
.nanny-lightbox-nav {
  border: 0;
  background: rgba(255,255,255,.96);
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nanny-lightbox-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.3rem;
}

.nanny-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.15rem;
}

.nanny-lightbox-prev { left: 24px; }
.nanny-lightbox-next { right: 24px; }

.nanny-lightbox-counter {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  color: #fff;
  background: rgba(15,23,42,.76);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: .9rem;
  font-weight: 700;
}

@media (max-width: 700px) {
  .nanny-photo-lightbox {
    padding: 66px 12px 56px;
  }

  .nanny-lightbox-stage {
    width: 100%;
    height: 78vh;
  }

  .nanny-lightbox-close {
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
  }

  .nanny-lightbox-nav {
    width: 44px;
    height: 44px;
  }

  .nanny-lightbox-prev { left: 8px; }
  .nanny-lightbox-next { right: 8px; }

  .nanny-lightbox-counter {
    bottom: 10px;
  }
}


/* =========================================================
   ROOMMATE PAGES — MATCH NANNY LOOK + BEHAVIOR
   ========================================================= */

/* Listing cards: same proportions, radius and lift as nanny cards */
body.roommate-listings-page .small-listings-grid {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
}

body.roommate-listings-page .small-listing-card {
  background: #fff !important;
  border: 1px solid var(--border) !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 34px rgba(15,23,42,.08) !important;
  overflow: hidden !important;
  transition: .2s ease !important;
  min-height: 0 !important;
}

body.roommate-listings-page .small-listing-card:hover {
  transform: translateY(-3px) !important;
  border-color: #bfdbfe !important;
}

body.roommate-listings-page .small-listing-img {
  height: 160px !important;
  background: linear-gradient(135deg,#fbcfe8,#eff6ff) !important;
}

body.roommate-listings-page .small-listing-body {
  padding: 14px !important;
}

body.roommate-listings-page .small-listing-body h3 {
  font-size: 1rem !important;
  margin-bottom: 6px !important;
}

body.roommate-listings-page .listing-price {
  color: var(--primary) !important;
  font-weight: 600 !important;
  margin: 6px 0 !important;
}

/* Details: one large glass panel like nanny details */
body.roommate-details-page {
  background: #071426 !important;
  min-height: 100vh !important;
}

/* Removed duplicate/conflicting site background rule during cleanup. */

body.roommate-details-page .roommate-details-main,
body.roommate-details-page .roommate-details-shell {
  background: transparent !important;
}

body.roommate-details-page .roommate-details-shell {
  padding: 30px 0 60px !important;
}

body.roommate-details-page .roommate-single-profile-panel {
  width: 100% !important;
  padding: 24px 28px 30px !important;
  border-radius: 28px !important;
  background: rgba(71,91,119,.72) !important;
  border: 1px solid rgba(255,255,255,.32) !important;
  box-shadow: 0 18px 48px rgba(2,8,23,.22) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  overflow: hidden !important;
}

body.roommate-details-page .roommate-back-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 0 18px !important;
  color: #cfe2f7 !important;
  font-weight: 700 !important;
}

body.roommate-details-page #detailsContent.roommate-matched-layout {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(280px,360px) minmax(360px,1fr) minmax(320px,410px) !important;
  grid-template-areas:
    "photo summary contact"
    "roominfo roominfo roominfo" !important;
  gap: 22px 30px !important;
  align-items: start !important;
}

body.roommate-details-page #detailsContent .roommate-match-info-card {
  display: contents !important;
}

body.roommate-details-page #detailsContent .roommate-match-image-card,
body.roommate-details-page #detailsContent .roommate-match-contact-card {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.roommate-details-page .roommate-match-image-card { grid-area: photo !important; }

body.roommate-details-page .rd3-summary {
  grid-area: summary !important;
  background: rgba(255,255,255,.96) !important;
  border: 1px solid rgba(226,232,240,.96) !important;
  border-radius: 22px !important;
  box-shadow: 0 14px 34px rgba(15,23,42,.12) !important;
  padding: 24px 26px !important;
  min-height: 100% !important;
}

body.roommate-details-page .roommate-match-contact-card {
  grid-area: contact !important;
  background: rgba(255,255,255,.96) !important;
  border: 1px solid rgba(226,232,240,.96) !important;
  border-radius: 22px !important;
  box-shadow: 0 14px 34px rgba(15,23,42,.12) !important;
  padding: 24px !important;
}

body.roommate-details-page .rd3-two-columns {
  grid-area: roominfo !important;
  margin-top: 0 !important;
  padding: 22px 0 0 !important;
  border-top: 1px solid rgba(255,255,255,.22) !important;
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 22px !important;
}

body.roommate-details-page .rd3-column {
  background: rgba(255,255,255,.96) !important;
  border: 1px solid rgba(226,232,240,.96) !important;
  border-radius: 22px !important;
  box-shadow: 0 14px 34px rgba(15,23,42,.10) !important;
  padding: 22px 24px !important;
}

body.roommate-details-page .roommate-main-photo,
body.roommate-details-page .main-photo {
  height: 350px !important;
  border-radius: 22px !important;
  background: #fff !important;
  margin-bottom: 12px !important;
}

body.roommate-details-page .roommate-main-photo img,
body.roommate-details-page .main-photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background: #fff !important;
}

body.roommate-details-page .roommate-modern-tags {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  flex-wrap: wrap !important;
}

body.roommate-details-page #listingViews,
body.roommate-details-page #favoriteInlineHost {
  display: inline-flex !important;
  align-items: center !important;
  color: #64748b !important;
  font-size: .88rem !important;
  font-weight: 400 !important;
}

body.roommate-details-page #favoriteInlineHost .detail-favorite-btn {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: #64748b !important;
  font: inherit !important;
  font-weight: 400 !important;
}

body.roommate-details-page #favoriteInlineHost .detail-favorite-btn.is-favorite,
body.roommate-details-page #favoriteInlineHost .detail-favorite-btn.is-favorite i {
  color: #e11d48 !important;
}

body.roommate-details-page .roommate-description {
  margin-top: 18px !important;
  color: #475569 !important;
  line-height: 1.72 !important;
}

/* Full-screen room photo viewer; disabled for default-room.jpg in JS */
body.roommate-details-page .roommate-main-photo { cursor: default !important; }
body.roommate-details-page .roommate-main-photo.room-photo-zoom-enabled { cursor: zoom-in !important; }
body.roommate-details-page .roommate-main-photo.room-photo-zoom-disabled { cursor: default !important; }

body.room-lightbox-open { overflow: hidden !important; }

.room-photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px 80px;
  background: rgba(2,6,23,.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.room-photo-lightbox.open { display: flex !important; }
.room-lightbox-stage {
  width: min(1100px,88vw);
  height: min(86vh,900px);
  display:flex;
  align-items:center;
  justify-content:center;
}
.room-lightbox-stage img {
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
  border-radius:14px;
  box-shadow:0 24px 70px rgba(0,0,0,.45);
}
.room-lightbox-close,.room-lightbox-nav {
  border:0;
  background:rgba(255,255,255,.96);
  color:#0f172a;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}
.room-lightbox-close {
  position:absolute; top:22px; right:24px; width:48px; height:48px; border-radius:50%; font-size:1.3rem;
}
.room-lightbox-nav {
  position:absolute; top:50%; transform:translateY(-50%); width:52px; height:52px; border-radius:50%; font-size:1.15rem;
}
.room-lightbox-prev { left:24px; }
.room-lightbox-next { right:24px; }
.room-lightbox-counter {
  position:absolute; left:50%; bottom:20px; transform:translateX(-50%);
  color:#fff; background:rgba(15,23,42,.76); border:1px solid rgba(255,255,255,.18);
  border-radius:999px; padding:7px 13px; font-size:.9rem; font-weight:700;
}

@media (max-width: 1100px) {
  body.roommate-details-page #detailsContent.roommate-matched-layout {
    grid-template-columns: minmax(260px,340px) 1fr !important;
    grid-template-areas:
      "photo summary"
      "contact contact"
      "roominfo roominfo" !important;
  }
}

@media (max-width: 700px) {
  body.roommate-listings-page .small-listings-grid { grid-template-columns: 1fr !important; }

  body.roommate-details-page .roommate-single-profile-panel {
    padding: 16px !important;
    border-radius: 20px !important;
  }

  body.roommate-details-page #detailsContent.roommate-matched-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "photo"
      "summary"
      "contact"
      "roominfo" !important;
    gap: 16px !important;
  }

  body.roommate-details-page .roommate-main-photo,
  body.roommate-details-page .main-photo {
    height: 320px !important;
  }

  body.roommate-details-page .rd3-two-columns {
    grid-template-columns: 1fr !important;
  }

  body.roommate-details-page .rd3-summary,
  body.roommate-details-page .roommate-match-contact-card,
  body.roommate-details-page .rd3-column {
    padding: 18px !important;
  }

  .room-photo-lightbox { padding:66px 12px 56px; }
  .room-lightbox-stage { width:100%; height:78vh; }
  .room-lightbox-close { top:12px; right:12px; width:44px; height:44px; }
  .room-lightbox-nav { width:44px; height:44px; }
  .room-lightbox-prev { left:8px; }
  .room-lightbox-next { right:8px; }
  .room-lightbox-counter { bottom:10px; }
}


/* =====================================================================
   ROOMMATE — EXACT NANNY COLOR MATCH
   Keeps roommate content, but mirrors nanny listing/detail palette.
   ===================================================================== */

/* ---------- ROOMMATE LISTING CARDS: same glass/card colors as nanny ---------- */
body.roommate-listings-page .small-listing-card {
  background: rgba(71, 85, 105, 0.82) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 32px rgba(2,6,23,.24) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
}

body.roommate-listings-page .small-listing-card:hover {
  border-color: rgba(255,255,255,.32) !important;
  box-shadow: 0 22px 48px rgba(2,6,23,.34) !important;
}

body.roommate-listings-page .small-listing-body h3,
body.roommate-listings-page .small-listing-body .listing-title-link,
body.roommate-listings-page .small-listing-body .listing-title-link h3 {
  color: #ffffff !important;
}

body.roommate-listings-page .small-listing-body .listing-price {
  color: #1683ff !important;
}

body.roommate-listings-page .small-listing-body .listing-meta,
body.roommate-listings-page .small-listing-body .listing-views,
body.roommate-listings-page .small-listing-body .listing-description-text {
  color: #cbd5e1 !important;
}

body.roommate-listings-page .small-listing-body .listing-description-text {
  color: #e2e8f0 !important;
}

body.roommate-listings-page .small-listing-body .listing-tags span {
  background: rgba(255,255,255,.10) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  color: #ffffff !important;
}

body.roommate-listings-page .small-listing-img {
  background: rgba(15,23,42,.38) !important;
}

/* ---------- ROOMMATE DETAILS: exact nanny glass palette ---------- */

body.roommate-details-page .roommate-single-profile-panel {
  background: rgba(38, 58, 86, .76) !important;
  border: 1px solid rgba(255,255,255,.34) !important;
  box-shadow: 0 18px 48px rgba(2,8,23,.22) !important;
}

/* Image frame matches nanny */
body.roommate-details-page .roommate-gallery-card {
  padding: 9px !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.07) !important;
  border: 1px solid rgba(203,213,225,.38) !important;
  box-shadow: none !important;
}

/* Summary + contact use the same translucent dark inner-card treatment */
body.roommate-details-page .rd3-summary,
body.roommate-details-page .roommate-match-contact-card {
  background: rgba(255,255,255,.055) !important;
  border: 1px solid rgba(203,213,225,.38) !important;
  border-radius: 20px !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 10px 28px rgba(2,6,23,.10) !important;
}

/* Match nanny text colors */
body.roommate-details-page .rd3-summary h1 {
  color: #f8fafc !important;
}

body.roommate-details-page .roommate-location {
  color: #afc1d6 !important;
}

body.roommate-details-page .roommate-price,
body.roommate-details-page #listingPrice {
  color: #f8fafc !important;
  font-weight: 500 !important;
}

body.roommate-details-page #listingViews,
body.roommate-details-page #listingViews .listing-views {
  color: #cbd5e1 !important;
}

body.roommate-details-page .roommate-description,
body.roommate-details-page .roommate-modern-description {
  color: #e2e8f0 !important;
}

/* Contact card */
body.roommate-details-page .roommate-match-contact-card h2 {
  color: #f8fafc !important;
}

body.roommate-details-page .contact-card-subtitle {
  color: #cbd5e1 !important;
}

body.roommate-details-page .roommate-contact-lines .contact-line {
  color: #e2e8f0 !important;
  border-color: rgba(255,255,255,.16) !important;
  background: transparent !important;
}

body.roommate-details-page .roommate-contact-lines .contact-line strong {
  color: #f8fafc !important;
}

body.roommate-details-page .roommate-contact-lines .contact-line span {
  color: #e2e8f0 !important;
}

/* Room Details + Amenities: same integrated glass palette, not white cards */
body.roommate-details-page .rd3-column {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #e2e8f0 !important;
}

body.roommate-details-page .rd3-column h3 {
  color: #f8fafc !important;
}

body.roommate-details-page .rd3-row {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.20) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #e2e8f0 !important;
}

body.roommate-details-page .roommate-row-label {
  color: #afc1d6 !important;
}

body.roommate-details-page .roommate-row-value,
body.roommate-details-page .rd3-amenity-row span {
  color: #e2e8f0 !important;
}

/* Favorite stays neutral until saved; saved heart red */
body.roommate-details-page #favoriteInlineHost .detail-favorite-btn {
  color: #64748b !important;
}

body.roommate-details-page #favoriteInlineHost .detail-favorite-btn.is-favorite {
  color: #64748b !important;
}

body.roommate-details-page #favoriteInlineHost .detail-favorite-btn.is-favorite i,
body.roommate-details-page #favoriteInlineHost .detail-favorite-btn.is-favorite .fa-heart {
  color: #dc2626 !important;
}


/* =====================================================================
   ROOMMATE DETAILS — MATCH FINAL NANNY DETAILS UI
   ===================================================================== */

/* 1) Back button */
body.roommate-details-page .roommate-back-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: auto !important;
  min-height: 38px !important;
  margin: 0 0 18px !important;
  padding: 9px 14px !important;
  background: rgba(255,255,255,.10) !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  color: #dbeafe !important;
  font-size: .90rem !important;
  font-weight: 700 !important;
}

body.roommate-details-page .roommate-back-link i {
  color: #dbeafe !important;
}

body.roommate-details-page .roommate-back-link:hover {
  background: rgba(255,255,255,.15) !important;
  border-color: rgba(255,255,255,.30) !important;
  color: #ffffff !important;
}

/* 2) Price + views + favorite row */
body.roommate-details-page .roommate-modern-tags {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 4px 0 14px !important;
  padding: 0 0 14px !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Price becomes plain text like nanny details */
body.roommate-details-page .roommate-modern-tags .roommate-price,
body.roommate-details-page .roommate-modern-tags #listingPrice,
body.roommate-details-page #listingPrice.roommate-price {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 38px !important;
  margin: 0 4px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #f8fafc !important;
  font-size: 1.45rem !important;
  font-weight: 500 !important;
  line-height: 1.1 !important;
}

/* Views pill */
body.roommate-details-page .roommate-modern-tags #listingViews {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  background: #f8fafc !important;
  border: 1px solid #dbe3ef !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  color: #7f91a7 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: .82rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

body.roommate-details-page .roommate-modern-tags #listingViews i {
  color: #9eb2c9 !important;
  font-size: .82rem !important;
  margin: 0 !important;
}

/* Favorite pill — same size/color as views */
body.roommate-details-page .roommate-modern-tags #favoriteInlineHost {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  height: 38px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.roommate-details-page .roommate-modern-tags #favoriteInlineHost .detail-favorite-btn {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  float: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  width: auto !important;
  min-width: 0 !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  background: #f8fafc !important;
  border: 1px solid #dbe3ef !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  color: #7f91a7 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: .82rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

body.roommate-details-page .roommate-modern-tags #favoriteInlineHost .detail-favorite-btn i {
  color: #9eb2c9 !important;
  font-size: .82rem !important;
  margin: 0 !important;
}

body.roommate-details-page .roommate-modern-tags #favoriteInlineHost .detail-favorite-btn.is-favorite {
  color: #64748b !important;
}

body.roommate-details-page .roommate-modern-tags #favoriteInlineHost .detail-favorite-btn.is-favorite i,
body.roommate-details-page .roommate-modern-tags #favoriteInlineHost .detail-favorite-btn.is-favorite .fa-heart {
  color: #dc2626 !important;
}

/* 3) Contact Listing Owner in a clear inner container */
body.roommate-details-page #detailsContent .roommate-match-contact-card,
body.roommate-details-page #detailsContent .rd3-contact-card {
  grid-area: contact !important;
  position: static !important;
  top: auto !important;
  align-self: stretch !important;
  height: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  padding: 22px 24px !important;
  overflow: hidden !important;
  background: rgba(255,255,255,.075) !important;
  border: 1px solid rgba(203,213,225,.38) !important;
  border-radius: 20px !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 10px 28px rgba(2,6,23,.14) !important;
}

body.roommate-details-page .roommate-owner-row {
  margin: 0 0 12px !important;
  padding: 0 0 12px !important;
  border-bottom: 1px solid rgba(255,255,255,.16) !important;
}

body.roommate-details-page .roommate-owner-left {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
}

body.roommate-details-page .roommate-owner-avatar {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  border-radius: 15px !important;
  background: #eff6ff !important;
  color: #2563eb !important;
}

body.roommate-details-page .roommate-match-contact-card h2 {
  margin: 0 0 4px !important;
  color: #f8fafc !important;
  font-size: 1.15rem !important;
}

body.roommate-details-page .roommate-match-contact-card .contact-card-subtitle {
  margin: 0 !important;
  color: #cbd5e1 !important;
  font-size: .92rem !important;
  line-height: 1.45 !important;
}

body.roommate-details-page .roommate-contact-lines {
  margin: 8px 0 0 !important;
}

body.roommate-details-page .roommate-contact-lines .contact-line {
  display: grid !important;
  grid-template-columns: 110px minmax(0,1fr) !important;
  column-gap: 8px !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 10px 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 0 !important;
}

body.roommate-details-page .roommate-contact-actions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  margin-top: 18px !important;
}

body.roommate-details-page .roommate-contact-actions .btn {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 44px !important;
  margin: 0 !important;
}

/* Mobile protection */
@media (max-width: 700px) {
  body.roommate-details-page .roommate-modern-tags {
    gap: 8px !important;
  }

  body.roommate-details-page .roommate-modern-tags .roommate-price,
  body.roommate-details-page .roommate-modern-tags #listingPrice {
    flex: 0 0 100% !important;
    width: 100% !important;
    margin-bottom: 4px !important;
  }

  body.roommate-details-page #detailsContent .roommate-match-contact-card,
  body.roommate-details-page #detailsContent .rd3-contact-card {
    height: auto !important;
    min-height: 0 !important;
    padding: 18px !important;
  }

  body.roommate-details-page .roommate-contact-lines .contact-line {
    grid-template-columns: 1fr !important;
    gap: 4px !important;
  }

  body.roommate-details-page .roommate-contact-actions {
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  body.roommate-details-page .roommate-contact-actions .btn {
    flex: 1 1 140px !important;
  }
}


/* =====================================================================
   ROOMMATE DETAILS — FINAL LAYOUT TUNING
   1) Remove white space around uploaded room photos
   2) 30 / 40 / 30 desktop column balance
   3) Tighten Contact Listing Owner row spacing
   ===================================================================== */

/* 1) Image fills the available photo area — no large white bands */
body.roommate-details-page .roommate-main-photo,
body.roommate-details-page .main-photo {
  height: 360px !important;
  min-height: 360px !important;
  max-height: 360px !important;
  padding: 0 !important;
  margin: 0 0 10px !important;
  overflow: hidden !important;
  background: rgba(15,23,42,.28) !important;
  border-radius: 16px !important;
}

body.roommate-details-page .roommate-main-photo img,
body.roommate-details-page .main-photo img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  background: transparent !important;
}

/* Keep default placeholder image uncropped */
body.roommate-details-page .roommate-main-photo.room-photo-zoom-disabled img,
body.roommate-details-page .main-photo.room-photo-zoom-disabled img {
  object-fit: contain !important;
  background: rgba(248,250,252,.96) !important;
}

/* 2) Desktop layout: roughly 30% / 40% / 30% */
body.roommate-details-page #detailsContent.roommate-matched-layout {
  grid-template-columns:
    minmax(300px, 30fr)
    minmax(420px, 40fr)
    minmax(330px, 30fr) !important;
  gap: 22px 24px !important;
}

/* Middle summary uses its extra width cleanly */
body.roommate-details-page .rd3-summary {
  width: 100% !important;
  min-width: 0 !important;
}

body.roommate-details-page .rd3-summary h1 {
  max-width: 100% !important;
}

/* 3) Contact rows: icon, label, value closer together */
body.roommate-details-page .roommate-contact-lines .contact-line {
  display: grid !important;
  grid-template-columns: 24px 72px minmax(0, 1fr) !important;
  column-gap: 8px !important;
  align-items: center !important;
  padding: 12px 0 !important;
}

/* The current HTML puts the icon inside <strong>.
   Flatten it so icon / label / value can align tightly. */
body.roommate-details-page .roommate-contact-lines .contact-line strong {
  display: contents !important;
}

body.roommate-details-page .roommate-contact-lines .contact-line strong i {
  grid-column: 1 !important;
  justify-self: start !important;
  width: 20px !important;
  margin: 0 !important;
}

body.roommate-details-page .roommate-contact-lines .contact-line strong::after {
  content: none !important;
}

body.roommate-details-page .roommate-contact-lines .contact-line > span {
  grid-column: 3 !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-wrap: anywhere !important;
}

/* Label text sits close to icon and value */
body.roommate-details-page .roommate-contact-lines .contact-line {
  font-size: .94rem !important;
}

body.roommate-details-page .roommate-contact-lines .contact-line strong {
  color: #f8fafc !important;
}

/* Fallback for browsers where display:contents on strong behaves differently:
   reduce the old reserved label width anyway. */
body.roommate-details-page .roommate-contact-lines {
  width: 100% !important;
}

@media (max-width: 1100px) {
  body.roommate-details-page #detailsContent.roommate-matched-layout {
    grid-template-columns: minmax(280px, 34fr) minmax(0, 66fr) !important;
    grid-template-areas:
      "photo summary"
      "contact contact"
      "roominfo roominfo" !important;
  }
}

@media (max-width: 700px) {
  body.roommate-details-page #detailsContent.roommate-matched-layout {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "photo"
      "summary"
      "contact"
      "roominfo" !important;
  }

  body.roommate-details-page .roommate-main-photo,
  body.roommate-details-page .main-photo {
    height: 300px !important;
    min-height: 300px !important;
    max-height: 300px !important;
  }

  body.roommate-details-page .roommate-contact-lines .contact-line {
    grid-template-columns: 24px 72px minmax(0,1fr) !important;
    gap: 8px !important;
  }
}


/* Default room image should fill the frame too */
body.roommate-details-page .roommate-main-photo.room-photo-zoom-disabled img,
body.roommate-details-page .main-photo.room-photo-zoom-disabled img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  background: transparent !important;
}


/* =====================================================================
   ROOMMATE DETAILS — LOCKED CONTACT MATCHES NANNY DETAILS
   ===================================================================== */

body.roommate-details-page .contact-box .roommate-masked-contact {
  color: #cbd5e1 !important;
  font-weight: 500 !important;
  letter-spacing: .01em !important;
}

body.roommate-details-page .contact-box .roommate-inline-lock {
  color: #94a3b8 !important;
  font-size: .78rem !important;
  margin-left: 7px !important;
}

body.roommate-details-page .contact-box .roommate-contact-lock-only {
  width: 100% !important;
  margin-top: 18px !important;
  padding-top: 18px !important;
  border-top: 1px solid rgba(203,213,225,.24) !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  text-align: left !important;
}

body.roommate-details-page .contact-box .roommate-unlock-copy {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  margin-bottom: 14px !important;
  color: #cbd5e1 !important;
  font-size: .90rem !important;
  line-height: 1.45 !important;
}

body.roommate-details-page .contact-box .roommate-unlock-copy i {
  color: #94a3b8 !important;
  flex: 0 0 auto !important;
}

body.roommate-details-page .contact-box .roommate-unlock-btn {
  width: 100% !important;
  min-height: 46px !important;
  border: 0 !important;
  border-radius: 12px !important;
  font-size: .92rem !important;
  font-weight: 700 !important;
}

body.roommate-details-page .roommate-contact-lock-only.locked-box,
body.roommate-details-page .locked-box.roommate-contact-lock-only {
  padding: 18px 0 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid rgba(203,213,225,.24) !important;
  box-shadow: none !important;
  color: #cbd5e1 !important;
}

@media (max-width: 700px) {
  body.roommate-details-page .contact-box .roommate-contact-lock-only {
    margin-top: 16px !important;
    padding-top: 16px !important;
  }

  body.roommate-details-page .contact-box .roommate-unlock-btn {
    min-height: 44px !important;
  }
}


/* =====================================================================
   ROOMMATE DETAILS — FINAL NANNY-STYLE MASKED CONTACT
   ===================================================================== */
body.roommate-details-page .contact-box .roommate-masked-contact {
  color: #cbd5e1 !important;
  font-weight: 500 !important;
  letter-spacing: .01em !important;
  white-space: nowrap !important;
}

body.roommate-details-page .contact-box .roommate-inline-lock {
  display: inline-block !important;
  color: #94a3b8 !important;
  font-size: .82rem !important;
  margin-left: 8px !important;
  vertical-align: middle !important;
}

body.roommate-details-page .roommate-contact-lines .contact-line > span {
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
}


/* =====================================================================
   FINAL PAGE-SCOPED IMAGE RULES
   Home/index and nanny details are intentionally separated.
   ===================================================================== */

/* HOME / INDEX ONLY */
body.index-page.full-market-home .home-listing-img {
  height: 205px !important;
  display: block !important;
  overflow: hidden !important;
}

body.index-page.full-market-home .home-listing-img img,
body.index-page.full-market-home .home-listing-img video {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  background: transparent !important;
}

/* NANNY DETAILS ONLY */
body.nanny-details-page .nanny-gallery-card {
  overflow: hidden !important;
}

body.nanny-details-page #mainPhoto.nanny-main-photo,
body.nanny-details-page .nanny-main-photo,
body.nanny-details-page .main-photo.nanny-main-photo {
  width: 100% !important;
  height: 315px !important;
  min-height: 315px !important;
  max-height: 315px !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  border-radius: 13px !important;
  background: rgba(15,23,42,.28) !important;
}

body.nanny-details-page #mainPhoto.nanny-main-photo img,
body.nanny-details-page .nanny-main-photo img,
body.nanny-details-page .main-photo.nanny-main-photo img,
body.nanny-details-page #mainPhoto.nanny-main-photo.nanny-photo-zoom-disabled img,
body.nanny-details-page .nanny-main-photo.nanny-photo-zoom-disabled img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  background: transparent !important;
}

/* Keep nanny video behavior isolated on nanny details. */
body.nanny-details-page #mainPhoto.nanny-main-photo video,
body.nanny-details-page .nanny-main-photo video {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background: #0f172a !important;
}

@media (max-width: 1100px) {
  body.nanny-details-page #mainPhoto.nanny-main-photo,
  body.nanny-details-page .nanny-main-photo,
  body.nanny-details-page .main-photo.nanny-main-photo {
    height: 300px !important;
    min-height: 300px !important;
    max-height: 300px !important;
  }
}

@media (max-width: 768px) {
  body.nanny-details-page #mainPhoto.nanny-main-photo,
  body.nanny-details-page .nanny-main-photo,
  body.nanny-details-page .main-photo.nanny-main-photo {
    height: 300px !important;
    min-height: 300px !important;
    max-height: 300px !important;
  }

  body.nanny-details-page #mainPhoto.nanny-main-photo img,
  body.nanny-details-page .nanny-main-photo img,
  body.nanny-details-page .main-photo.nanny-main-photo img,
  body.nanny-details-page #mainPhoto.nanny-main-photo.nanny-photo-zoom-disabled img,
  body.nanny-details-page .nanny-main-photo.nanny-photo-zoom-disabled img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }
}


/* =========================================================
   SERVICE DETAILS — NANNY-STYLE FINAL OVERRIDE
   Scoped to service_details only; does not affect home/cards.
   ========================================================= */
body.service-details-page .service-details-main { padding: 34px 0 60px; }
body.service-details-page .service-details-main > section > .container { width:min(1540px,94%); }
body.service-details-page .back-link {
  display:inline-flex; align-items:center; padding:12px 18px; margin:0 0 20px;
  border:1px solid rgba(203,213,225,.45); border-radius:14px;
  background:rgba(71,85,105,.72); color:#e2e8f0; font-weight:800;
}
body.service-details-page #detailsContent.nsd-service-layout {
  display:grid; grid-template-columns:30% 40% 30%;
  grid-template-areas:"photo summary contact" "info info info" "reviews reviews reviews";
  gap:28px; align-items:stretch;
}
body.service-details-page #detailsContent .nsd-image-card { grid-area:photo; }
body.service-details-page #detailsContent .service-summary-card { grid-area:summary; }
body.service-details-page #detailsContent .service-contact-card { grid-area:contact; }
body.service-details-page #detailsContent .nsd-one-info-section { grid-area:info; }
body.service-details-page #detailsContent .nsd-review-card { grid-area:reviews; }
body.service-details-page #detailsContent .details-card {
  background:rgba(51,65,85,.90)!important; color:#f8fafc;
  border:1px solid rgba(148,163,184,.58)!important; border-radius:24px!important;
  box-shadow:0 20px 45px rgba(2,6,23,.18)!important;
}
body.service-details-page #detailsContent .nsd-image-card { padding:14px!important; min-width:0; }
body.service-details-page #mainPhoto.service-main-photo {
  width:100%; height:430px; margin:0 0 12px; border-radius:18px; overflow:hidden;
  background:#f8fafc; cursor:default;
}
body.service-details-page #mainPhoto.service-main-photo.service-photo-zoom-enabled { cursor:zoom-in; }
body.service-details-page #mainPhoto.service-main-photo img,
body.service-details-page #mainPhoto.service-main-photo video {
  width:100%; height:100%; display:block; object-fit:cover; object-position:center; background:#f8fafc;
}
body.service-details-page #mainPhoto.service-main-photo.service-photo-default img { object-fit:contain; }
body.service-details-page .service-thumbnail-row { display:flex; gap:10px; flex-wrap:wrap; margin:0; }
body.service-details-page .service-thumbnail-row .thumb { width:58px; height:70px; flex:0 0 58px; }
body.service-details-page .service-summary-card { padding:30px 34px!important; min-width:0; }
body.service-details-page .nanny-detail-pill { display:inline-flex; align-items:center; gap:8px; }
body.service-details-page .nsd-summary h1 { color:#f8fafc!important; font-size:clamp(2rem,3vw,3.15rem); line-height:1.08; margin:16px 0 8px; }
body.service-details-page #serviceLocation,
body.service-details-page #serviceCategory { color:#b8c5d6!important; font-weight:700; margin:4px 0; }
body.service-details-page .service-price-action-row { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin:20px 0 18px; }
body.service-details-page #servicePrice { color:#f8fafc!important; font-size:1.55rem; font-weight:500; margin:0; }
body.service-details-page #serviceViews,
body.service-details-page #favoriteInlineHost .detail-favorite-btn {
  min-height:46px; display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:0 18px; border:0; border-radius:999px; background:#f8fafc!important;
  color:#8295ad!important; font-weight:800; white-space:nowrap; box-shadow:none;
}
body.service-details-page #serviceViews .listing-views { display:flex; align-items:center; gap:7px; }
body.service-details-page #favoriteInlineHost { display:flex; }
body.service-details-page #favoriteInlineHost .detail-favorite-btn { cursor:pointer; font:inherit; }
body.service-details-page #favoriteInlineHost .detail-favorite-btn.is-favorite i { color:#dc2626!important; }
body.service-details-page #serviceDescription { color:#eef2f7!important; font-size:1.05rem; line-height:1.65; border-top:1px solid rgba(203,213,225,.30); padding-top:20px; }
body.service-details-page .service-contact-card { padding:28px!important; position:relative!important; top:auto!important; min-width:0; }
body.service-details-page .nsd-contact-head { display:flex; gap:16px; align-items:flex-start; padding-bottom:20px; border-bottom:1px solid rgba(203,213,225,.22); }
body.service-details-page .contact-card-icon { width:64px; height:64px; border-radius:18px; background:#eff6ff; color:#2563eb; display:flex; align-items:center; justify-content:center; flex:0 0 64px; font-size:1.4rem; }
body.service-details-page .nsd-contact-head h2 { color:#fff!important; font-size:1.45rem; }
body.service-details-page .contact-card-subtitle { color:#cbd5e1!important; line-height:1.5; margin-top:4px; }
body.service-details-page .nsd-contact-lines { margin-top:18px; }
body.service-details-page .contact-line { display:grid; grid-template-columns:145px minmax(0,1fr); align-items:center; gap:10px; padding:15px 0; margin:0; border-bottom:1px solid rgba(203,213,225,.20); color:#e5e7eb!important; }
body.service-details-page .contact-line strong { display:flex; align-items:center; gap:10px; color:#fff!important; }
body.service-details-page .contact-line strong i { width:20px; text-align:center; }
body.service-details-page .contact-line span { color:#e5e7eb!important; overflow-wrap:anywhere; }
body.service-details-page .nsd-contact-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:22px; }
body.service-details-page .nsd-contact-actions .btn { width:100%; min-width:0; }
body.service-details-page #websiteButton { grid-column:1/-1; }
body.service-details-page .contact-box .nsd-contact-lock-only { margin-top:20px; padding-top:20px; border-top:1px solid rgba(203,213,225,.22); background:transparent!important; color:#cbd5e1!important; text-align:left; }
body.service-details-page .contact-box .nsd-masked-contact { color:#cbd5e1; }
body.service-details-page .contact-box .subscribe-searcher-btn { width:100%; margin-top:18px; }
body.service-details-page .nsd-one-info-section,
body.service-details-page .nsd-review-card { padding:28px!important; background:rgba(51,65,85,.90)!important; border:1px solid rgba(148,163,184,.58)!important; border-radius:24px!important; }
body.service-details-page .nsd-one-info-section { grid-column:1/-1; }
body.service-details-page .nsd-info-grid .info-item { background:rgba(71,85,105,.62)!important; border:1px solid rgba(148,163,184,.25)!important; color:#f8fafc!important; }
body.service-details-page .nsd-info-grid .info-item span { color:#cbd5e1!important; }
body.service-details-page .review-card { background:rgba(71,85,105,.58)!important; border-color:rgba(148,163,184,.25)!important; color:#f8fafc!important; }
body.service-details-page .review-card .muted { color:#cbd5e1!important; }

body.service-lightbox-open { overflow:hidden!important; }
.service-photo-lightbox { position:fixed; inset:0; z-index:99999; display:none; align-items:center; justify-content:center; padding:70px 70px 55px; background:rgba(2,6,23,.92); }
.service-photo-lightbox.open { display:flex; }
.service-lightbox-stage { width:min(1200px,92vw); height:min(82vh,900px); display:flex; align-items:center; justify-content:center; }
.service-lightbox-stage img { max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; border-radius:12px; }
.service-lightbox-close,.service-lightbox-nav { position:absolute; border:0; border-radius:50%; background:rgba(255,255,255,.94); color:#0f172a; cursor:pointer; display:flex; align-items:center; justify-content:center; }
.service-lightbox-close { top:18px; right:22px; width:48px; height:48px; font-size:1.35rem; }
.service-lightbox-nav { top:50%; transform:translateY(-50%); width:52px; height:52px; font-size:1.25rem; }
.service-lightbox-prev { left:24px; } .service-lightbox-next { right:24px; }
.service-lightbox-counter { position:absolute; bottom:16px; left:50%; transform:translateX(-50%); color:#fff; font-weight:800; }

@media (max-width:1100px) {
 body.service-details-page #detailsContent.nsd-service-layout { grid-template-columns:42% 58%; grid-template-areas:"photo summary" "contact contact" "info info" "reviews reviews"; }
 body.service-details-page .service-contact-card { grid-column:1/-1; }
}
@media (max-width:760px) {
 body.service-details-page .service-details-main > section > .container { width:min(94%,720px); }
 body.service-details-page #detailsContent.nsd-service-layout { display:grid!important; grid-template-columns:1fr; grid-template-areas:"photo" "summary" "contact" "info" "reviews"; gap:18px; }
 body.service-details-page #mainPhoto.service-main-photo { height:390px; }
 body.service-details-page .service-summary-card, body.service-details-page .service-contact-card, body.service-details-page .nsd-one-info-section, body.service-details-page .nsd-review-card { padding:22px!important; }
 body.service-details-page .nsd-summary h1 { font-size:2rem; }
 body.service-details-page .service-price-action-row { gap:10px; }
 body.service-details-page #servicePrice { width:100%; }
 body.service-details-page #serviceViews, body.service-details-page #favoriteInlineHost .detail-favorite-btn { min-height:44px; padding:0 14px; font-size:.9rem; }
 body.service-details-page .contact-line { grid-template-columns:120px minmax(0,1fr); }
 body.service-details-page .nsd-contact-actions { grid-template-columns:1fr 1fr; }
 body.service-details-page .nsd-info-grid { grid-template-columns:1fr!important; }
 .service-photo-lightbox { padding:65px 12px 52px; }
 .service-lightbox-nav { width:44px; height:44px; }
 .service-lightbox-prev { left:8px; } .service-lightbox-next { right:8px; }
}
@media (max-width:480px) {
 body.service-details-page #mainPhoto.service-main-photo { height:330px; }
 body.service-details-page .contact-line { grid-template-columns:1fr; gap:5px; }
 body.service-details-page .nsd-contact-actions { grid-template-columns:1fr; }
 body.service-details-page #websiteButton { grid-column:auto; }
}


/* Service contact card should contain Email, Phone and Website only. */
body.service-details-page .service-contact-card .contact-line.service-contact-obsolete {
  display: none !important;
}


/* =====================================================================
   SERVICE DETAILS — CLEAN 30 / 40 / 30 GRID
   Direct-child grid only. Prevents top cards from overlapping.
   ===================================================================== */

body.service-details-page #detailsContent.nsd-service-layout {
  display: grid !important;
  grid-template-columns:
    minmax(0, 3fr)
    minmax(0, 4fr)
    minmax(0, 3fr) !important;
  grid-template-areas:
    "photo summary contact"
    "info info info"
    "reviews reviews reviews" !important;
  column-gap: 24px !important;
  row-gap: 22px !important;
  align-items: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
}

/* Each top card occupies one grid cell only. */
body.service-details-page #detailsContent > .nsd-image-card {
  grid-area: photo !important;
  min-width: 0 !important;
  width: 100% !important;
  margin: 0 !important;
}

body.service-details-page #detailsContent > .service-summary-card {
  grid-area: summary !important;
  min-width: 0 !important;
  width: 100% !important;
  margin: 0 !important;
}

body.service-details-page #detailsContent > .service-contact-card {
  grid-area: contact !important;
  min-width: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  height: 100% !important;
  align-self: stretch !important;
}

body.service-details-page #detailsContent > .service-info-card {
  grid-area: info !important;
  min-width: 0 !important;
  width: 100% !important;
  margin: 0 !important;
}

body.service-details-page #detailsContent > .nsd-review-card {
  grid-area: reviews !important;
  min-width: 0 !important;
  width: 100% !important;
  margin: 0 !important;
}

/* The middle container should not internally act like another page grid. */
body.service-details-page .service-summary-card {
  display: block !important;
  overflow: hidden !important;
}

/* Keep text/content inside its own column instead of pushing into neighbors. */
body.service-details-page .service-summary-card .nsd-summary,
body.service-details-page .service-contact-card,
body.service-details-page .nsd-image-card {
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
}

/* Contact rows fit inside the 30% right column. */
body.service-details-page .service-contact-card .contact-line {
  grid-template-columns: 112px minmax(0, 1fr) !important;
  column-gap: 10px !important;
}

body.service-details-page .service-contact-card .contact-line span {
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
}

/* Service information is a true full-width card beneath the 30/40/30 row. */
body.service-details-page .service-info-card {
  padding: 28px !important;
  background: rgba(51,65,85,.90) !important;
  border: 1px solid rgba(148,163,184,.58) !important;
  border-radius: 24px !important;
  box-shadow: 0 20px 45px rgba(2,6,23,.18) !important;
}

body.service-details-page .service-info-card .nsd-info-grid {
  width: 100% !important;
}

/* Tablet */
@media (max-width: 1100px) {
  body.service-details-page #detailsContent.nsd-service-layout {
    grid-template-columns: minmax(0, 42fr) minmax(0, 58fr) !important;
    grid-template-areas:
      "photo summary"
      "contact contact"
      "info info"
      "reviews reviews" !important;
  }

  body.service-details-page #detailsContent > .service-contact-card {
    height: auto !important;
  }
}

/* Mobile */
@media (max-width: 760px) {
  body.service-details-page #detailsContent.nsd-service-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "photo"
      "summary"
      "contact"
      "info"
      "reviews" !important;
    gap: 18px !important;
  }

  body.service-details-page .service-contact-card .contact-line {
    grid-template-columns: 105px minmax(0,1fr) !important;
  }
}

@media (max-width: 480px) {
  body.service-details-page .service-contact-card .contact-line {
    grid-template-columns: 1fr !important;
    row-gap: 5px !important;
  }
}


/* =====================================================================
   SERVICE DETAILS — IMAGE FRAME MATCH NANNY DETAILS
   Uploaded and default service images fill the frame without white bands.
   ===================================================================== */
body.service-details-page #mainPhoto.service-main-photo,
body.service-details-page .service-main-photo {
  width: 100% !important;
  height: 315px !important;
  min-height: 315px !important;
  max-height: 315px !important;
  padding: 0 !important;
  margin: 0 0 10px !important;
  overflow: hidden !important;
  border-radius: 13px !important;
  background: rgba(15,23,42,.28) !important;
}

body.service-details-page #mainPhoto.service-main-photo img,
body.service-details-page .service-main-photo img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  background: transparent !important;
}

body.service-details-page #mainPhoto.service-main-photo video,
body.service-details-page .service-main-photo video {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background: #0f172a !important;
}

@media (max-width: 1100px) {
  body.service-details-page #mainPhoto.service-main-photo,
  body.service-details-page .service-main-photo {
    height: 300px !important;
    min-height: 300px !important;
    max-height: 300px !important;
  }
}

@media (max-width: 760px) {
  body.service-details-page #mainPhoto.service-main-photo,
  body.service-details-page .service-main-photo {
    height: 300px !important;
    min-height: 300px !important;
    max-height: 300px !important;
  }
}



/* =====================================================================
   SERVICE INFORMATION — MATCH NANNY INFORMATION SECTION
   3 columns, simple label/value rows, no inner cards.
   ===================================================================== */
body.service-details-page .service-info-card {
  padding: 22px 0 6px !important;
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid rgba(255,255,255,.20) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.service-details-page .service-info-card .detail-card-heading {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 0 22px !important;
}

body.service-details-page .service-info-card .detail-card-heading > span {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  border-radius: 13px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #eff6ff !important;
  color: #2563eb !important;
}

body.service-details-page .service-info-card .detail-card-heading h2 {
  margin: 0 !important;
  color: #f8fafc !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
}

body.service-details-page .service-info-card .nsd-info-grid,
body.service-details-page #serviceInfo {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  column-gap: 54px !important;
  row-gap: 0 !important;
  width: 100% !important;
  margin: 0 !important;
}

body.service-details-page .service-info-row {
  display: grid !important;
  grid-template-columns: 150px minmax(0,1fr) !important;
  align-items: center !important;
  column-gap: 14px !important;
  min-height: 64px !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.20) !important;
  background: transparent !important;
}

body.service-details-page .service-info-label {
  color: #afc1d6 !important;
  font-size: .98rem !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
}

body.service-details-page .service-info-value {
  color: #f1f5f9 !important;
  font-size: .98rem !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
}

/* Remove any old generic info-item card styling inside service info */
body.service-details-page .service-info-card .info-item,
body.service-details-page .service-info-card .service-info-row {
  border-radius: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 1100px) {
  body.service-details-page .service-info-card .nsd-info-grid,
  body.service-details-page #serviceInfo {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    column-gap: 36px !important;
  }
}

@media (max-width: 700px) {
  body.service-details-page .service-info-card .nsd-info-grid,
  body.service-details-page #serviceInfo {
    grid-template-columns: 1fr !important;
  }

  body.service-details-page .service-info-row {
    grid-template-columns: 135px minmax(0,1fr) !important;
  }
}

@media (max-width: 480px) {
  body.service-details-page .service-info-row {
    grid-template-columns: 1fr !important;
    row-gap: 5px !important;
  }
}


/* =====================================================================
   SERVICE DETAILS — ONE BIG OUTER CONTAINER
   Top image / summary / contact remain inner cards.
   Service Information + Reviews are NOT cardized.
   Leave a Review stays cardized inside the big container.
   ===================================================================== */

/* One large glass container around the entire service details content */
body.service-details-page #detailsContent.nsd-service-layout {
  padding: 24px 26px 30px !important;
  background: rgba(38, 58, 86, .76) !important;
  border: 1px solid rgba(255,255,255,.34) !important;
  border-radius: 28px !important;
  box-shadow: 0 18px 48px rgba(2,8,23,.22) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  overflow: hidden !important;
}

/* Keep only the three top sections as inner cards */
body.service-details-page #detailsContent > .nsd-image-card,
body.service-details-page #detailsContent > .service-summary-card,
body.service-details-page #detailsContent > .service-contact-card {
  background: rgba(255,255,255,.055) !important;
  border: 1px solid rgba(203,213,225,.38) !important;
  border-radius: 20px !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 10px 28px rgba(2,6,23,.10) !important;
}

/* Service Information: no separate card/container.
   A single horizontal separator is enough. */
body.service-details-page #detailsContent > .service-info-card {
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid rgba(255,255,255,.22) !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  padding: 24px 0 6px !important;
  margin: 0 !important;
}

/* Reviews: also no separate card/container */
body.service-details-page #detailsContent > .nsd-review-card {
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid rgba(255,255,255,.22) !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  padding: 24px 0 0 !important;
  margin: 0 !important;
}

/* Review summary should blend into the outer panel */
body.service-details-page .nsd-review-card .review-summary {
  background: rgba(255,255,255,.07) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 12px !important;
  color: #cbd5e1 !important;
}

/* Individual review cards remain subtle, not large outer containers */
body.service-details-page .nsd-review-card .review-card {
  background: rgba(255,255,255,.055) !important;
  border: 1px solid rgba(203,213,225,.24) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  color: #e2e8f0 !important;
}

/* Leave a Review remains clearly containerized */
body.service-details-page .nsd-review-form-panel {
  margin-top: 24px !important;
  padding: 22px !important;

  background: rgba(255,255,255,.075) !important;
  border: 1px solid rgba(203,213,225,.38) !important;
  border-radius: 18px !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 10px 28px rgba(2,6,23,.10) !important;
}

/* Keep section headings aligned with the outer panel */
body.service-details-page .service-info-card .detail-card-heading,
body.service-details-page .nsd-review-card > .detail-card-heading {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Mobile: keep the same concept, just tighter */
@media (max-width: 760px) {
  body.service-details-page #detailsContent.nsd-service-layout {
    padding: 16px !important;
    border-radius: 20px !important;
  }

  body.service-details-page #detailsContent > .service-info-card,
  body.service-details-page #detailsContent > .nsd-review-card {
    padding-top: 20px !important;
  }

  body.service-details-page .nsd-review-form-panel {
    padding: 18px !important;
  }
}


/* =====================================================================
   SERVICE DETAILS — TIGHTER SECTION SPACING
   Bring Service Information and Reviews closer to the nanny-details flow.
   ===================================================================== */

body.service-details-page #detailsContent.nsd-service-layout {
  row-gap: 14px !important;
}

/* Service Information */
body.service-details-page #detailsContent > .service-info-card {
  padding-top: 18px !important;
  padding-bottom: 2px !important;
}

body.service-details-page .service-info-card .detail-card-heading {
  margin-bottom: 14px !important;
}

body.service-details-page .service-info-card .nsd-info-grid,
body.service-details-page #serviceInfo {
  margin-bottom: 0 !important;
}

/* Reviews */
body.service-details-page #detailsContent > .nsd-review-card {
  padding-top: 18px !important;
}

body.service-details-page .nsd-review-card > .detail-card-heading {
  margin-bottom: 10px !important;
}

body.service-details-page .nsd-review-card .review-summary {
  margin: 8px 0 12px !important;
}

body.service-details-page .nsd-reviews-list {
  margin-bottom: 12px !important;
}

/* Leave-a-review stays containerized, but sits closer to review list */
body.service-details-page .nsd-review-form-panel {
  margin-top: 14px !important;
}

@media (max-width: 760px) {
  body.service-details-page #detailsContent.nsd-service-layout {
    row-gap: 12px !important;
  }

  body.service-details-page #detailsContent > .service-info-card,
  body.service-details-page #detailsContent > .nsd-review-card {
    padding-top: 16px !important;
  }

  body.service-details-page .nsd-review-form-panel {
    margin-top: 12px !important;
  }
}


/* =====================================================================
   SERVICE DETAILS — BREATHING ROOM AROUND SECTION DIVIDERS
   One visual empty-space row before and after each horizontal separator.
   ===================================================================== */

/* Space before the Service Information divider, and after it before heading */
body.service-details-page #detailsContent > .service-info-card {
  margin-top: 12px !important;
  padding-top: 24px !important;
}

/* Space before the Reviews divider, and after it before heading */
body.service-details-page #detailsContent > .nsd-review-card {
  margin-top: 12px !important;
  padding-top: 24px !important;
}

/* Keep the outer grid from adding excessive extra spacing on top of this */
body.service-details-page #detailsContent.nsd-service-layout {
  row-gap: 8px !important;
}

@media (max-width: 760px) {
  body.service-details-page #detailsContent > .service-info-card,
  body.service-details-page #detailsContent > .nsd-review-card {
    margin-top: 8px !important;
    padding-top: 20px !important;
  }
}


/* =====================================================================
   SERVICE DETAILS — LARGER BREATHING ROOM AROUND DIVIDERS
   Approx. 3–4 lines of visual space before and after each divider.
   ===================================================================== */

body.service-details-page #detailsContent > .service-info-card,
body.service-details-page #detailsContent > .nsd-review-card {
  margin-top: 42px !important;   /* space BEFORE horizontal line */
  padding-top: 42px !important;  /* space AFTER horizontal line */
}

/* Prevent grid gap from adding another large block of space */
body.service-details-page #detailsContent.nsd-service-layout {
  row-gap: 0 !important;
}

@media (max-width: 760px) {
  body.service-details-page #detailsContent > .service-info-card,
  body.service-details-page #detailsContent > .nsd-review-card {
    margin-top: 22px !important;
    padding-top: 22px !important;
  }
}


/* =====================================================================
   NANNY DETAILS — LARGER BREATHING ROOM AROUND DIVIDERS
   Match Service Details: approx. 3–4 lines before and after each divider.
   Scoped ONLY to nanny_details page.
   ===================================================================== */

body.nanny-details-page #detailsContent > .nsd-one-info-section,
body.nanny-details-page #detailsContent > .nsd-review-card {
  margin-top: 42px !important;
  padding-top: 42px !important;
}

body.nanny-details-page #detailsContent.nsd-nanny-layout {
  row-gap: 0 !important;
}

@media (max-width: 768px) {
  body.nanny-details-page #detailsContent > .nsd-one-info-section,
  body.nanny-details-page #detailsContent > .nsd-review-card {
    margin-top: 22px !important;
    padding-top: 22px !important;
  }
}


/* =====================================================================
   DETAILS PAGE MIDDLE-CARD TITLE SIZE
   Match the homepage listing-card title size (1.08rem).
   ===================================================================== */
body.nanny-details-page .nsd-summary h1,
body.roommate-details-page .rd3-summary h1,
body.service-details-page .nsd-summary h1 {
  font-size: 1.08rem !important;
  line-height: 1.45 !important;
  font-weight: 600 !important;
}


/* =====================================================================
   DETAILS PAGE — SMALLER SECONDARY TYPOGRAPHY
   Keeps the previous title sizing.
   Only reduces location, price, views and favorite pills.
   Homepage is NOT affected.
   ===================================================================== */

/* Location line */
body.roommate-details-page .roommate-location,
body.nanny-details-page .nanny-location,
body.service-details-page .service-location,
body.service-details-page #serviceLocation,
body.service-details-page .details-meta {
  font-size: 0.88rem !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
}

/* Price */
body.roommate-details-page .roommate-price,
body.roommate-details-page #listingPrice,
body.nanny-details-page .nanny-price-detail,
body.nanny-details-page #hourlyRate,
body.service-details-page .service-price-detail,
body.service-details-page #servicePrice,
body.service-details-page .details-price {
  font-size: 1.05rem !important;
  line-height: 1.25 !important;
  font-weight: 500 !important;
}

/* Views pill */
body.roommate-details-page .detail-views,
body.roommate-details-page #listingViews,
body.nanny-details-page #nannyViews,
body.service-details-page #serviceViews,
body.service-details-page .detail-views {
  font-size: 0.72rem !important;
  line-height: 1 !important;
}

/* Favorite pill */
body.roommate-details-page .detail-favorite-btn,
body.nanny-details-page .detail-favorite-btn,
body.service-details-page .detail-favorite-btn {
  font-size: 0.72rem !important;
  line-height: 1 !important;
  padding: 8px 13px !important;
  gap: 6px !important;
}

/* Keep view pills compact */
body.roommate-details-page .detail-views,
body.roommate-details-page #listingViews,
body.nanny-details-page #nannyViews,
body.service-details-page #serviceViews,
body.service-details-page .detail-views {
  padding: 8px 13px !important;
}

/* Mobile */
@media (max-width: 700px) {
  body.roommate-details-page .roommate-location,
  body.nanny-details-page .nanny-location,
  body.service-details-page .service-location,
  body.service-details-page #serviceLocation,
  body.service-details-page .details-meta {
    font-size: 0.82rem !important;
  }

  body.roommate-details-page .roommate-price,
  body.roommate-details-page #listingPrice,
  body.nanny-details-page .nanny-price-detail,
  body.nanny-details-page #hourlyRate,
  body.service-details-page .service-price-detail,
  body.service-details-page #servicePrice,
  body.service-details-page .details-price {
    font-size: 1rem !important;
  }

  body.roommate-details-page .detail-views,
  body.roommate-details-page #listingViews,
  body.nanny-details-page #nannyViews,
  body.service-details-page #serviceViews,
  body.service-details-page .detail-views,
  body.roommate-details-page .detail-favorite-btn,
  body.nanny-details-page .detail-favorite-btn,
  body.service-details-page .detail-favorite-btn {
    font-size: 0.68rem !important;
  }
}


/* =====================================================================
   EXTRA COMPACT DETAILS PRICE + VIEW + FAVORITE PILLS
   Applies consistently to Roommate, Nanny, and Service detail pages only.
   ===================================================================== */

/* ---------- PRICE ---------- */
body.roommate-details-page .roommate-modern-tags .roommate-price,
body.roommate-details-page .roommate-modern-tags #listingPrice,
body.roommate-details-page #listingPrice.roommate-price,
body.nanny-details-page .nanny-price-detail,
body.nanny-details-page #hourlyRate,
body.service-details-page .service-price-detail,
body.service-details-page #servicePrice,
body.service-details-page .details-price {
  font-size: 0.98rem !important;
  line-height: 1.1 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
}

/* ---------- VIEWS PILLS ---------- */
body.roommate-details-page .roommate-modern-tags #listingViews,
body.nanny-details-page #nannyViews,
body.service-details-page #serviceViews {
  height: 26px !important;
  min-height: 26px !important;
  max-height: 26px !important;

  padding: 0 9px !important;
  gap: 4px !important;

  font-size: 0.60rem !important;
  line-height: 1 !important;

  border-radius: 999px !important;
}

/* View icons */
body.roommate-details-page .roommate-modern-tags #listingViews i,
body.nanny-details-page #nannyViews i,
body.service-details-page #serviceViews i {
  font-size: 0.62rem !important;
}

/* ---------- FAVORITE HOSTS ---------- */
body.roommate-details-page .roommate-modern-tags #favoriteInlineHost,
body.nanny-details-page #favoriteInlineHost,
body.service-details-page #favoriteInlineHost {
  height: 26px !important;
  min-height: 26px !important;
  max-height: 26px !important;
}

/* ---------- FAVORITE PILLS ---------- */
body.roommate-details-page .roommate-modern-tags #favoriteInlineHost .detail-favorite-btn,
body.nanny-details-page #favoriteInlineHost .detail-favorite-btn,
body.service-details-page #favoriteInlineHost .detail-favorite-btn {
  height: 26px !important;
  min-height: 26px !important;
  max-height: 26px !important;

  padding: 0 9px !important;
  gap: 4px !important;

  font-size: 0.60rem !important;
  line-height: 1 !important;

  border-radius: 999px !important;
}

/* Favorite icons */
body.roommate-details-page .roommate-modern-tags #favoriteInlineHost .detail-favorite-btn i,
body.nanny-details-page #favoriteInlineHost .detail-favorite-btn i,
body.service-details-page #favoriteInlineHost .detail-favorite-btn i {
  font-size: 0.62rem !important;
}

/* ---------- MOBILE ---------- */
@media (max-width: 700px) {
  body.roommate-details-page .roommate-modern-tags .roommate-price,
  body.roommate-details-page .roommate-modern-tags #listingPrice,
  body.roommate-details-page #listingPrice.roommate-price,
  body.nanny-details-page .nanny-price-detail,
  body.nanny-details-page #hourlyRate,
  body.service-details-page .service-price-detail,
  body.service-details-page #servicePrice,
  body.service-details-page .details-price {
    font-size: 0.94rem !important;
  }

  body.roommate-details-page .roommate-modern-tags #listingViews,
  body.nanny-details-page #nannyViews,
  body.service-details-page #serviceViews,
  body.roommate-details-page .roommate-modern-tags #favoriteInlineHost,
  body.nanny-details-page #favoriteInlineHost,
  body.service-details-page #favoriteInlineHost,
  body.roommate-details-page .roommate-modern-tags #favoriteInlineHost .detail-favorite-btn,
  body.nanny-details-page #favoriteInlineHost .detail-favorite-btn,
  body.service-details-page #favoriteInlineHost .detail-favorite-btn {
    height: 25px !important;
    min-height: 25px !important;
    max-height: 25px !important;
  }
}


/* =========================================================
   SERVICE DETAILS — COMPACT CATEGORY + ONE-LINE ACTION ROW
   ========================================================= */

/* Smaller Product / Service category pill */
body.service-details-page .details-badge,
body.service-details-page .service-badge,
body.service-details-page .listing-type-badge {
    font-size: 0.68rem !important;
    padding: 6px 11px !important;
    min-height: 0 !important;
    line-height: 1 !important;
    gap: 5px !important;
}

/* Smaller category icon */
body.service-details-page .details-badge i,
body.service-details-page .service-badge i,
body.service-details-page .listing-type-badge i {
    font-size: 0.68rem !important;
}

/* PRICE + VIEWS + FAVORITE = ONE ROW */
body.service-details-page .details-price-row,
body.service-details-page .service-price-row,
body.service-details-page .nanny-price-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
}

/* Price */
body.service-details-page #servicePrice {
    flex: 0 0 auto !important;
    white-space: nowrap !important;

    font-size: 0.98rem !important;
    line-height: 1.1 !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* Views */
body.service-details-page #serviceViews {
    flex: 0 0 auto !important;
    width: auto !important;

    height: 26px !important;
    min-height: 26px !important;

    padding: 0 9px !important;
    margin: 0 !important;

    font-size: 0.60rem !important;
    white-space: nowrap !important;
}

/* Favorite host */
body.service-details-page #favoriteInlineHost {
    flex: 0 0 auto !important;

    width: auto !important;
    height: 26px !important;
    min-height: 26px !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* Favorite pill */
body.service-details-page
#favoriteInlineHost
.detail-favorite-btn {
    width: auto !important;

    height: 26px !important;
    min-height: 26px !important;

    margin: 0 !important;
    padding: 0 9px !important;

    font-size: 0.60rem !important;
    white-space: nowrap !important;
}


/* =====================================================================
   FINAL SERVICE DETAILS — ACTUAL PRICE/ACTION ROW FIX
   The HTML uses .service-price-action-row.
   Desktop: Price + Views + Favorite stay on ONE LINE.
   ===================================================================== */

/* Smaller Product / Service category pill — actual HTML class */
body.service-details-page .service-summary-card .nanny-detail-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  width: fit-content !important;
  min-height: 0 !important;
  padding: 6px 10px !important;
  font-size: .68rem !important;
  line-height: 1 !important;
}

body.service-details-page .service-summary-card .nanny-detail-pill i {
  font-size: .68rem !important;
}

/* DESKTOP/TABLET: exact real wrapper from service_details.html */
@media (min-width: 761px) {
  body.service-details-page .service-summary-card .service-price-action-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;

    width: 100% !important;
    min-width: 0 !important;
    gap: 7px !important;
    margin: 16px 0 18px !important;
  }

  /* Price */
  body.service-details-page .service-summary-card .service-price-action-row #servicePrice {
    display: inline-flex !important;
    align-items: center !important;

    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: .92rem !important;
    line-height: 1 !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
  }

  /* Views */
  body.service-details-page .service-summary-card .service-price-action-row #serviceViews {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 1 auto !important;
    width: auto !important;
    min-width: 0 !important;

    height: 25px !important;
    min-height: 25px !important;
    max-height: 25px !important;

    margin: 0 !important;
    padding: 0 8px !important;
    gap: 4px !important;

    font-size: .56rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  body.service-details-page .service-summary-card .service-price-action-row #serviceViews i {
    font-size: .60rem !important;
  }

  /* Favorite host */
  body.service-details-page .service-summary-card .service-price-action-row #favoriteInlineHost {
    display: inline-flex !important;
    align-items: center !important;

    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;

    height: 25px !important;
    min-height: 25px !important;
    max-height: 25px !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  /* Favorite button */
  body.service-details-page .service-summary-card .service-price-action-row
  #favoriteInlineHost .detail-favorite-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;

    height: 25px !important;
    min-height: 25px !important;
    max-height: 25px !important;

    margin: 0 !important;
    padding: 0 8px !important;
    gap: 4px !important;

    font-size: .56rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  body.service-details-page .service-summary-card .service-price-action-row
  #favoriteInlineHost .detail-favorite-btn i {
    font-size: .60rem !important;
  }
}

/* Mobile can wrap cleanly instead of overflowing the screen */
@media (max-width: 760px) {
  body.service-details-page .service-summary-card .service-price-action-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
  }

  body.service-details-page .service-summary-card .service-price-action-row #servicePrice {
    width: auto !important;
    flex: 0 0 auto !important;
    font-size: .92rem !important;
  }
}


/* =====================================================================
   FINAL ROOMMATE + NANNY DETAILS — MATCH SERVICE ONE-LINE ACTION ROW
   Desktop/tablet: Price + Views + Favorite on one line.
   Category pills are reduced to the same compact scale.
   ===================================================================== */

/* ---------------- ROOMMATE DETAILS ---------------- */

/* Smaller ROOM / HOUSING pill */
body.roommate-details-page .rd3-summary .roommate-detail-pill {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  min-height: 0 !important;
  padding: 6px 10px !important;
  gap: 5px !important;
  font-size: .68rem !important;
  line-height: 1 !important;
}

body.roommate-details-page .rd3-summary .roommate-detail-pill i {
  font-size: .68rem !important;
}

@media (min-width: 761px) {
  /* Actual roommate wrapper from roommate_details.html */
  body.roommate-details-page .rd3-summary .roommate-modern-tags {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;

    width: 100% !important;
    min-width: 0 !important;
    gap: 7px !important;
    margin: 14px 0 18px !important;
  }

  body.roommate-details-page .rd3-summary .roommate-modern-tags #listingPrice {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: .92rem !important;
    line-height: 1 !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
  }

  body.roommate-details-page .rd3-summary .roommate-modern-tags #listingViews {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 1 auto !important;
    width: auto !important;
    min-width: 0 !important;

    height: 25px !important;
    min-height: 25px !important;
    max-height: 25px !important;

    margin: 0 !important;
    padding: 0 8px !important;
    gap: 4px !important;

    font-size: .56rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  body.roommate-details-page .rd3-summary .roommate-modern-tags #listingViews i {
    font-size: .60rem !important;
  }

  body.roommate-details-page .rd3-summary .roommate-modern-tags #favoriteInlineHost {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;

    width: auto !important;
    min-width: 0 !important;

    height: 25px !important;
    min-height: 25px !important;
    max-height: 25px !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  body.roommate-details-page .rd3-summary .roommate-modern-tags
  #favoriteInlineHost .detail-favorite-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 0 !important;

    height: 25px !important;
    min-height: 25px !important;
    max-height: 25px !important;

    margin: 0 !important;
    padding: 0 8px !important;
    gap: 4px !important;

    font-size: .56rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  body.roommate-details-page .rd3-summary .roommate-modern-tags
  #favoriteInlineHost .detail-favorite-btn i {
    font-size: .60rem !important;
  }
}


/* ---------------- NANNY DETAILS ---------------- */

/* Smaller nanny category pill, if present */
body.nanny-details-page .nsd-summary .nanny-detail-pill {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  min-height: 0 !important;
  padding: 6px 10px !important;
  gap: 5px !important;
  font-size: .68rem !important;
  line-height: 1 !important;
}

body.nanny-details-page .nsd-summary .nanny-detail-pill i {
  font-size: .68rem !important;
}

@media (min-width: 761px) {
  /* Actual nanny wrapper already used by the page */
  body.nanny-details-page .nsd-summary .nanny-price-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;

    width: 100% !important;
    min-width: 0 !important;
    gap: 7px !important;
    margin: 14px 0 18px !important;
  }

  body.nanny-details-page .nsd-summary .nanny-price-row #hourlyRate {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;

    width: auto !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: .92rem !important;
    line-height: 1 !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
  }

  body.nanny-details-page .nsd-summary .nanny-price-row #nannyViews {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 1 auto !important;
    width: auto !important;
    min-width: 0 !important;

    height: 25px !important;
    min-height: 25px !important;
    max-height: 25px !important;

    margin: 0 !important;
    padding: 0 8px !important;
    gap: 4px !important;

    font-size: .56rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  body.nanny-details-page .nsd-summary .nanny-price-row #nannyViews i {
    font-size: .60rem !important;
  }

  body.nanny-details-page .nsd-summary .nanny-price-row #favoriteInlineHost {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;

    width: auto !important;
    min-width: 0 !important;

    height: 25px !important;
    min-height: 25px !important;
    max-height: 25px !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  body.nanny-details-page .nsd-summary .nanny-price-row
  #favoriteInlineHost .detail-favorite-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 0 !important;

    height: 25px !important;
    min-height: 25px !important;
    max-height: 25px !important;

    margin: 0 !important;
    padding: 0 8px !important;
    gap: 4px !important;

    font-size: .56rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  body.nanny-details-page .nsd-summary .nanny-price-row
  #favoriteInlineHost .detail-favorite-btn i {
    font-size: .60rem !important;
  }
}


/* Mobile: allow clean wrapping to avoid horizontal overflow */
@media (max-width: 760px) {
  body.roommate-details-page .rd3-summary .roommate-modern-tags,
  body.nanny-details-page .nsd-summary .nanny-price-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
  }

  body.roommate-details-page .rd3-summary .roommate-modern-tags #listingPrice,
  body.nanny-details-page .nsd-summary .nanny-price-row #hourlyRate {
    flex: 0 0 auto !important;
    width: auto !important;
    font-size: .92rem !important;
  }
}


/* =====================================================================
   SERVICE DETAILS — EXTRA SMALL PILLS
   Reduce Product / Service, Views, and Favorite pills further.
   ===================================================================== */

/* Product / Service pill */
body.service-details-page .service-summary-card .nanny-detail-pill {
  min-height: 0 !important;
  height: auto !important;
  padding: 4px 8px !important;
  gap: 4px !important;
  font-size: .58rem !important;
  line-height: 1 !important;
  border-radius: 999px !important;
}

body.service-details-page .service-summary-card .nanny-detail-pill i {
  font-size: .58rem !important;
}

/* Views pill */
body.service-details-page .service-summary-card
.service-price-action-row #serviceViews {
  height: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  padding: 0 7px !important;
  gap: 3px !important;
  font-size: .50rem !important;
  line-height: 1 !important;
}

body.service-details-page .service-summary-card
.service-price-action-row #serviceViews i {
  font-size: .54rem !important;
}

/* Favorite host */
body.service-details-page .service-summary-card
.service-price-action-row #favoriteInlineHost {
  height: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
}

/* Favorite pill */
body.service-details-page .service-summary-card
.service-price-action-row #favoriteInlineHost .detail-favorite-btn {
  height: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  padding: 0 7px !important;
  gap: 3px !important;
  font-size: .50rem !important;
  line-height: 1 !important;
}

body.service-details-page .service-summary-card
.service-price-action-row #favoriteInlineHost .detail-favorite-btn i {
  font-size: .54rem !important;
}


/* =========================================================
   SERVICE DETAILS — COMPACT CONTACT BUTTONS
   Smaller height AND smaller width
   ========================================================= */

body.service-details-page .contact-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 7px !important;
    width: 100% !important;
}

/* ALL CONTACT BUTTONS */
body.service-details-page .contact-actions a,
body.service-details-page .contact-actions button,
body.service-details-page #emailButton,
body.service-details-page #phoneButton,
body.service-details-page #websiteButton {
    width: auto !important;
    min-width: 145px !important;
    max-width: none !important;

    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;

    padding: 0 14px !important;
    margin: 0 !important;

    font-size: 0.72rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    border-radius: 9px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 auto !important;
    white-space: nowrap !important;
}

/* ICONS */
body.service-details-page .contact-actions a i,
body.service-details-page .contact-actions button i,
body.service-details-page #emailButton i,
body.service-details-page #phoneButton i,
body.service-details-page #websiteButton i {
    font-size: 0.72rem !important;
    margin-right: 4px !important;
}

/* Website only needs a little extra width */
body.service-details-page #websiteButton {
    min-width: 150px !important;
}

/* MOBILE */
@media (max-width: 600px) {
    body.service-details-page .contact-actions {
        gap: 6px !important;
    }

    body.service-details-page #emailButton,
    body.service-details-page #phoneButton,
    body.service-details-page #websiteButton {
        width: auto !important;
        min-width: 140px !important;
        padding: 0 12px !important;
    }
}


/* =========================================================
   SERVICE DETAILS CONTACT BUTTONS
   Email + Call side-by-side
   Website centered underneath
   ========================================================= */

body.service-details-page .service-contact-card .nsd-contact-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 8px !important;
    row-gap: 8px !important;

    width: 100% !important;
    margin-top: 18px !important;
}

/* EMAIL + CALL */
body.service-details-page .service-contact-card
.nsd-contact-actions #emailButton,

body.service-details-page .service-contact-card
.nsd-contact-actions #phoneButton {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;

    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;

    padding: 0 6px !important;
    margin: 0 !important;

    font-size: 0.64rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    border-radius: 9px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    white-space: nowrap !important;
}

/* WEBSITE */
body.service-details-page .service-contact-card
.nsd-contact-actions #websiteButton {
    grid-column: 1 / -1 !important;

    justify-self: center !important;

    width: auto !important;
    min-width: 145px !important;
    max-width: 180px !important;

    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;

    padding: 0 12px !important;
    margin: 0 !important;

    font-size: 0.64rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    border-radius: 9px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    white-space: nowrap !important;
}

/* ICONS */
body.service-details-page .service-contact-card
.nsd-contact-actions a i {
    font-size: 0.66rem !important;
    margin-right: 4px !important;
}

/* Only stack on narrow mobile */
@media (max-width: 480px) {

    body.service-details-page .service-contact-card
    .nsd-contact-actions {
        grid-template-columns: 1fr !important;
    }

    body.service-details-page .service-contact-card
    .nsd-contact-actions #emailButton,

    body.service-details-page .service-contact-card
    .nsd-contact-actions #phoneButton,

    body.service-details-page .service-contact-card
    .nsd-contact-actions #websiteButton {
        grid-column: 1 !important;
        justify-self: center !important;
        width: auto !important;
        min-width: 145px !important;
    }
}

/* =====================================================================
   DETAIL PAGES — CONSOLIDATED FINAL OVERRIDES
   Roommate + Nanny + Service
   Replaces the stacked detail-page patches that previously followed.
   ===================================================================== */

/* ---------------------------------------------------------------------
   CONTACT CARDS — remove decorative accent bars
   --------------------------------------------------------------------- */
body.service-details-page .service-contact-card::before,
body.service-details-page .service-contact-card::after,
body.nanny-details-page .nsd-contact-card::before,
body.nanny-details-page .nsd-contact-card::after,
body.nanny-details-page .nanny-contact-card::before,
body.nanny-details-page .nanny-contact-card::after {
  display: none !important;
  content: none !important;
}

body.service-details-page .service-contact-card,
body.nanny-details-page .nsd-contact-card,
body.nanny-details-page .nanny-contact-card {
  border: 1px solid rgba(255,255,255,.28) !important;
  border-top: 1px solid rgba(255,255,255,.28) !important;
  border-radius: 18px !important;
  overflow: hidden !important;
}

/* ---------------------------------------------------------------------
   CONTACT CARD HEADER ICON — 42px on all three detail pages
   --------------------------------------------------------------------- */
body.roommate-details-page .contact-card-icon,
body.roommate-details-page .roommate-contact-card .contact-card-icon,
body.nanny-details-page .contact-card-icon,
body.nanny-details-page .nanny-contact-icon,
body.nanny-details-page .nsd-contact-head .contact-card-icon,
body.service-details-page .contact-card-icon,
body.service-details-page .service-contact-card .contact-card-icon,
body.service-details-page .nsd-contact-head .contact-card-icon {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  flex: 0 0 42px !important;
  padding: 0 !important;
  border-radius: 12px !important;
  font-size: .95rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.roommate-details-page .contact-card-icon i,
body.nanny-details-page .contact-card-icon i,
body.nanny-details-page .nanny-contact-icon i,
body.service-details-page .contact-card-icon i {
  font-size: .95rem !important;
  margin: 0 !important;
}

/* ---------------------------------------------------------------------
   CONTACT ROWS — keep icon/label and value close together
   --------------------------------------------------------------------- */
body.roommate-details-page .roommate-contact-lines .contact-line,
body.nanny-details-page .nanny-contact-lines .contact-line,
body.service-details-page .service-contact-card .contact-line {
  display: grid !important;
  grid-template-columns: max-content minmax(0,1fr) !important;
  column-gap: 14px !important;
  align-items: center !important;
  justify-content: start !important;
  width: 100% !important;
  padding: 12px 0 !important;
  margin: 0 !important;
}

body.roommate-details-page .roommate-contact-lines .contact-line strong,
body.nanny-details-page .nanny-contact-lines .contact-line strong,
body.service-details-page .service-contact-card .contact-line strong {
  display: inline-flex !important;
  grid-column: 1 !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  width: auto !important;
  min-width: 0 !important;
  white-space: nowrap !important;
}

body.roommate-details-page .roommate-contact-lines .contact-line strong i,
body.nanny-details-page .nanny-contact-lines .contact-line strong i,
body.service-details-page .service-contact-card .contact-line strong i {
  width: 20px !important;
  min-width: 20px !important;
  margin: 0 !important;
  text-align: center !important;
}

body.roommate-details-page .roommate-contact-lines .contact-line > span,
body.nanny-details-page .nanny-contact-lines .contact-line > span,
body.service-details-page .service-contact-card .contact-line > span {
  grid-column: 2 !important;
  justify-self: start !important;
  text-align: left !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

/* ---------------------------------------------------------------------
   REMOVE TOP TYPE PILLS AND RECLAIM THEIR SPACE
   --------------------------------------------------------------------- */
body.roommate-details-page .rd3-summary .roommate-detail-pill,
body.nanny-details-page .nsd-summary .nanny-detail-pill,
body.service-details-page .service-summary-card .nanny-detail-pill {
  display: none !important;
}

body.roommate-details-page .roommate-title-top,
body.nanny-details-page .nanny-title-top,
body.service-details-page .nanny-title-top {
  margin: 0 !important;
  padding: 0 !important;
}

body.nanny-details-page .nsd-summary,
body.service-details-page .nsd-summary {
  padding-top: 0 !important;
}

body.nanny-details-page .nsd-summary h1,
body.service-details-page .service-summary-card .nsd-summary h1 {
  margin-top: 0 !important;
}

/* Roommate needs breathing room after its pill is removed. */
body.roommate-details-page .rd3-summary {
  padding-top: 22px !important;
}

body.roommate-details-page .rd3-summary h1 {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

/* ---------------------------------------------------------------------
   NANNY INFORMATION — values close to labels
   --------------------------------------------------------------------- */
body.nanny-details-page .nsd-info-grid .info-item {
  grid-template-columns: max-content minmax(0,1fr) !important;
  column-gap: 12px !important;
  justify-content: start !important;
}

body.nanny-details-page .nsd-info-grid .info-item span,
body.nanny-details-page .nsd-info-grid .info-item strong {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
}

/* Extra breathing room around the Nanny Information divider. */
body.nanny-details-page #detailsContent .nsd-one-info-section {
  margin-top: 42px !important;
  padding-top: 42px !important;
  border-top: 1px solid rgba(255,255,255,.22) !important;
}

/* ---------------------------------------------------------------------
   ROOMMATE DETAILS — divider and compact label/value spacing
   --------------------------------------------------------------------- */
body.roommate-details-page .rd3-summary .roommate-modern-tags {
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 18px !important;
}

body.roommate-details-page #detailsContent .rd3-two-columns {
  border-top: 1px solid rgba(255,255,255,.22) !important;
  margin-top: 26px !important;
  padding-top: 26px !important;
}

body.roommate-details-page #roomDetails > div {
  display: grid !important;
  grid-template-columns: 28px max-content minmax(0,1fr) !important;
  align-items: center !important;
  justify-content: start !important;
  column-gap: 10px !important;
  width: 100% !important;
  max-width: none !important;
}

body.roommate-details-page #roomDetails > div > i {
  grid-column: 1 !important;
  justify-self: start !important;
}

body.roommate-details-page #roomDetails .roommate-row-label {
  grid-column: 2 !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  justify-self: start !important;
  text-align: left !important;
  white-space: nowrap !important;
}

body.roommate-details-page #roomDetails .roommate-row-label::after {
  content: ":";
}

body.roommate-details-page #roomDetails .roommate-row-value {
  grid-column: 3 !important;
  justify-self: start !important;
  text-align: left !important;
  width: auto !important;
  margin: 0 !important;
}

/* ---------------------------------------------------------------------
   SERVICE INFORMATION — values close to labels
   Existing HTML supplies the colon; CSS does not add another one.
   --------------------------------------------------------------------- */
body.service-details-page .service-info-row {
  display: grid !important;
  grid-template-columns: max-content minmax(0,1fr) !important;
  align-items: center !important;
  justify-content: start !important;
  column-gap: 12px !important;
  min-height: 64px !important;
  padding: 12px 0 !important;
  width: 100% !important;
  border-bottom: 1px solid rgba(255,255,255,.20) !important;
  background: transparent !important;
}

body.service-details-page .service-info-label {
  width: auto !important;
  min-width: 0 !important;
  justify-self: start !important;
  white-space: nowrap !important;
}

body.service-details-page .service-info-value {
  width: auto !important;
  min-width: 0 !important;
  justify-self: start !important;
  text-align: left !important;
  overflow-wrap: anywhere !important;
}

/* ---------------------------------------------------------------------
   RESPONSIVE DETAIL-PAGE TUNING
   --------------------------------------------------------------------- */
@media (max-width: 768px) {
  body.nanny-details-page #detailsContent .nsd-one-info-section {
    margin-top: 30px !important;
    padding-top: 30px !important;
  }

  body.roommate-details-page #detailsContent .rd3-two-columns {
    margin-top: 22px !important;
    padding-top: 22px !important;
  }
}

@media (max-width: 760px) {
  body.roommate-details-page .roommate-contact-lines .contact-line,
  body.nanny-details-page .nanny-contact-lines .contact-line,
  body.service-details-page .service-contact-card .contact-line {
    grid-template-columns: max-content minmax(0,1fr) !important;
    column-gap: 10px !important;
  }
}

@media (max-width: 700px) {
  body.nanny-details-page .nsd-info-grid .info-item {
    grid-template-columns: max-content minmax(0,1fr) !important;
    column-gap: 10px !important;
  }

  body.roommate-details-page #roomDetails > div {
    grid-template-columns: 28px max-content minmax(0,1fr) !important;
    column-gap: 8px !important;
  }

  body.service-details-page .service-info-row {
    grid-template-columns: max-content minmax(0,1fr) !important;
    column-gap: 10px !important;
  }
}

@media (max-width: 480px) {
  body.service-details-page .service-info-row {
    grid-template-columns: 1fr !important;
    row-gap: 4px !important;
  }

  body.service-details-page .service-info-value {
    margin-left: 0 !important;
  }
}


/* =========================================================
   CONTACT PAGE — SMALLER HEADINGS + ICON
   ========================================================= */

/* Main English + Amharic headings */
.contact-page-body .contact-welcome-panel h1 {
  font-size: 2.3rem !important;
  line-height: 1.08 !important;
  margin-bottom: 8px !important;
}

/* Large paper-plane icon */
.contact-page-body .contact-card-pro .contact-card-icon {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  border-radius: 12px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  margin-bottom: 12px !important;
}

/* Paper-plane itself */
.contact-page-body .contact-card-pro .contact-card-icon i {
  font-size: 1rem !important;
}

/* Send a Message heading */
.contact-page-body .contact-card-pro h2 {
  font-size: 1.35rem !important;
  line-height: 1.25 !important;
  margin-bottom: 6px !important;
}


/* =========================================================
   CONTACT PAGE — ICON + SEND MESSAGE ON ONE LINE
   ========================================================= */

/* Turn the form header area into one row */
.contact-page-body .contact-card-pro {
  position: relative !important;
}

/* Smaller paper-plane box */
.contact-page-body .contact-card-pro .contact-card-icon {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;

  border-radius: 9px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  margin: 0 8px 0 0 !important;
  padding: 0 !important;

  vertical-align: middle !important;
}

/* Smaller paper-plane itself */
.contact-page-body .contact-card-pro .contact-card-icon i {
  font-size: 0.85rem !important;
}

/* Put heading beside icon */
.contact-page-body .contact-card-pro h2 {
  display: inline-block !important;

  font-size: 1.05rem !important;
  line-height: 34px !important;

  margin: 0 !important;
  padding: 0 !important;

  vertical-align: middle !important;
  white-space: nowrap !important;
}

/* Subtitle starts on next line */
.contact-page-body .contact-card-pro .contact-subtitle {
  display: block !important;
  clear: both !important;

  margin-top: 10px !important;
}

/* =====================================================================
   REGISTER PAGE — ONE MASTER CARD WITH TWO MATCHING INNER PANELS
   Outer card stays transparent so the background image remains visible.
   ===================================================================== */

body.auth-page-body .auth-shell {
  min-height: calc(100vh - 82px) !important;
  padding: 32px 20px 48px !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
}

/* Outer master glass container */
body.auth-page-body .auth-layout {
  width: min(1180px, 96%) !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 16px !important;

  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr) !important;
  gap: 16px !important;
  align-items: stretch !important;

  border-radius: 28px !important;
  background: rgba(20, 35, 58, .24) !important;
  border: 1px solid rgba(255,255,255,.30) !important;
  box-shadow: 0 24px 60px rgba(2,8,23,.24) !important;

  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  overflow: hidden !important;
}

/* Shared appearance for BOTH inner cards */
body.auth-page-body .auth-welcome-panel,
body.auth-page-body .auth-card-pro {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;

  border-radius: 20px !important;
  background: linear-gradient(
    160deg,
    rgba(77,96,124,.80),
    rgba(53,73,102,.74)
  ) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  box-shadow: none !important;

  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
}

/* Left inner panel */
body.auth-page-body .auth-welcome-panel {
  padding: 36px 38px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  text-align: left !important;
}

body.auth-page-body .auth-badge {
  width: fit-content !important;
  margin: 0 0 20px !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  font-size: .84rem !important;
}

body.auth-page-body .auth-welcome-panel h1 {
  max-width: 560px !important;
  margin: 0 0 12px !important;
  font-size: clamp(2rem, 3vw, 3.25rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -.025em !important;
}

body.auth-page-body .auth-welcome-panel > br {
  display: none !important;
}

body.auth-page-body .auth-welcome-panel > p {
  max-width: 590px !important;
  margin: 18px 0 22px !important;
  font-size: .96rem !important;
  line-height: 1.65 !important;
}

body.auth-page-body .auth-benefits {
  max-width: none !important;
  margin: 4px 0 0 !important;
  display: grid !important;
  gap: 10px !important;
  text-align: left !important;
}

body.auth-page-body .auth-benefits > div {
  padding: 10px 12px !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.055) !important;
  font-size: .88rem !important;
  line-height: 1.45 !important;
}

/* Right inner form panel */
body.auth-page-body .auth-card-pro {
  padding: 30px 32px !important;
  justify-self: stretch !important;
}

body.auth-page-body .auth-card-icon {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  margin: 0 0 14px !important;
  border-radius: 13px !important;
  font-size: 1rem !important;
}

body.auth-page-body .auth-card-pro h2 {
  margin: 0 0 6px !important;
  font-size: 1.55rem !important;
  line-height: 1.2 !important;
}

body.auth-page-body .auth-subtitle {
  margin: 0 0 20px !important;
  font-size: .88rem !important;
  line-height: 1.5 !important;
}

body.auth-page-body .auth-field-label {
  margin-top: 11px !important;
  margin-bottom: 6px !important;
  font-size: .80rem !important;
}

body.auth-page-body .auth-input-wrap input {
  height: 46px !important;
  min-height: 46px !important;
  border-radius: 12px !important;
  font-size: .90rem !important;
}

body.auth-page-body .password-hint-compact {
  margin-top: 8px !important;
  font-size: .75rem !important;
  line-height: 1.4 !important;
}

body.auth-page-body .terms-check {
  margin-top: 14px !important;
  font-size: .78rem !important;
  line-height: 1.45 !important;
}

body.auth-page-body .auth-submit-btn {
  min-height: 46px !important;
  margin-top: 16px !important;
  border-radius: 12px !important;
  font-size: .90rem !important;
}

body.auth-page-body .auth-divider {
  margin: 18px 0 12px !important;
}

body.auth-page-body .auth-switch-text {
  margin-bottom: 0 !important;
  font-size: .82rem !important;
}

/* Tablet */
@media (max-width: 950px) {
  body.auth-page-body .auth-layout {
    width: min(720px, 96%) !important;
    grid-template-columns: 1fr !important;
  }

  body.auth-page-body .auth-welcome-panel,
  body.auth-page-body .auth-card-pro {
    padding: 30px !important;
  }
}

/* Mobile */
@media (max-width: 600px) {
  body.auth-page-body .auth-shell {
    padding: 14px 10px 36px !important;
  }

  body.auth-page-body .auth-layout {
    width: 100% !important;
    padding: 8px !important;
    gap: 8px !important;
    border-radius: 20px !important;
  }

  body.auth-page-body .auth-welcome-panel,
  body.auth-page-body .auth-card-pro {
    padding: 22px 18px !important;
    border-radius: 15px !important;
  }

  body.auth-page-body .auth-welcome-panel h1 {
    font-size: 1.9rem !important;
  }
}




/* =========================================================
   REGISTER — LEFT CARD ALIGNMENT FIX
   ========================================================= */

body.auth-page-body .auth-welcome-panel {
  justify-content: flex-start !important;
  padding: 46px 56px !important;
}

/* Remove the large empty space above the badge */
body.auth-page-body .auth-badge {
  margin-top: 0 !important;
  margin-bottom: 24px !important;
}

/* Keep English heading on ONE line */
body.auth-page-body .auth-welcome-panel h1:first-of-type {
  max-width: none !important;
  width: 100% !important;

  white-space: nowrap !important;

  font-size: clamp(2rem, 2.7vw, 3rem) !important;
  line-height: 1.1 !important;

  margin: 0 0 18px !important;
}

/* Amharic heading */
body.auth-page-body .auth-welcome-panel h1:nth-of-type(2) {
  max-width: none !important;
  width: 100% !important;

  font-size: clamp(1.8rem, 2.5vw, 2.8rem) !important;
  line-height: 1.2 !important;

  margin: 0 0 24px !important;
}

/* Description spacing */
body.auth-page-body .auth-welcome-panel > p {
  margin: 18px 0 22px !important;
}

/* Mobile — allow heading to wrap so it doesn't overflow */
@media (max-width: 700px) {
  body.auth-page-body .auth-welcome-panel h1:first-of-type {
    white-space: normal !important;
  }
}


/* =========================================================
   REGISTER PAGE — FINAL HEADER / FONT ALIGNMENT
   ========================================================= */

/* LEFT CARD — English heading */
body.auth-page-body .auth-welcome-panel h1:first-of-type {
  width: 100% !important;
  max-width: none !important;

  font-size: 2.15rem !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;

  white-space: nowrap !important;

  margin: 0 0 18px !important;
}

/* LEFT CARD — Amharic heading */
body.auth-page-body .auth-welcome-panel h1:nth-of-type(2) {
  width: 100% !important;
  max-width: none !important;

  font-size: 1.85rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;

  margin: 0 0 26px !important;
}


/* =========================================================
   RIGHT CARD — ICON + SIGN UP HEADING ON ONE LINE
   ========================================================= */

body.auth-page-body .auth-card-pro {
  position: relative !important;
}

/* Icon */
body.auth-page-body .auth-card-icon {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  vertical-align: middle !important;

  margin: 0 10px 0 0 !important;

  border-radius: 12px !important;
}

/* Sign Up / Amharic */
body.auth-page-body .auth-card-pro h2 {
  display: inline-block !important;

  margin: 0 !important;
  padding: 0 !important;

  font-size: 1.45rem !important;
  font-weight: 700 !important;
  line-height: 42px !important;

  vertical-align: middle !important;
  white-space: nowrap !important;
}

/* Description begins underneath icon + heading */
body.auth-page-body .auth-subtitle {
  display: block !important;
  clear: both !important;

  margin: 14px 0 20px !important;

  font-size: .88rem !important;
  line-height: 1.5 !important;
}


/* Mobile can wrap if necessary */
@media (max-width: 700px) {

  body.auth-page-body .auth-welcome-panel h1:first-of-type,
  body.auth-page-body .auth-card-pro h2 {
    white-space: normal !important;
  }
}
/* =========================================================
   REGISTER PAGE — FINAL FIX (2026-08-24)
   Keeps left heading inside its card and right icon/title inline.
   ========================================================= */

/* LEFT CARD: compact, contained typography */
body.auth-page-body .auth-welcome-panel {
  padding: 46px 38px !important;
  overflow: hidden !important;
}

body.auth-page-body .auth-welcome-panel h1:first-of-type {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  font-size: clamp(1.55rem, 1.8vw, 1.85rem) !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.025em !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: clip !important;
}

body.auth-page-body .auth-welcome-panel h1:nth-of-type(2) {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  font-size: clamp(1.45rem, 1.65vw, 1.75rem) !important;
  font-weight: 700 !important;
  line-height: 1.22 !important;
  letter-spacing: 0 !important;
  white-space: normal !important;
}

/* RIGHT CARD: icon + Sign Up title stay on the same row */
body.auth-page-body .auth-card-pro .auth-card-icon {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  margin: 0 10px 0 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  border-radius: 12px !important;
  font-size: .95rem !important;
}

body.auth-page-body .auth-card-pro h2 {
  display: inline-block !important;
  width: auto !important;
  max-width: calc(100% - 58px) !important;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: middle !important;
  font-size: 1.45rem !important;
  font-weight: 700 !important;
  line-height: 42px !important;
  white-space: nowrap !important;
}

body.auth-page-body .auth-card-pro .auth-subtitle {
  display: block !important;
  clear: both !important;
  margin: 14px 0 20px !important;
}

@media (max-width: 950px) {
  body.auth-page-body .auth-welcome-panel h1:first-of-type {
    font-size: 1.8rem !important;
  }
}

@media (max-width: 700px) {
  body.auth-page-body .auth-welcome-panel {
    padding: 28px 22px !important;
  }

  body.auth-page-body .auth-welcome-panel h1:first-of-type,
  body.auth-page-body .auth-card-pro h2 {
    white-space: normal !important;
  }

  body.auth-page-body .auth-card-pro h2 {
    line-height: 1.2 !important;
  }
}

/* =========================================================
   REGISTER — COLLAPSIBLE PASSWORD REQUIREMENTS
   Final override
   ========================================================= */

body.auth-page-body .password-requirements {
  margin: 8px 0 4px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

body.auth-page-body .password-requirements-toggle {
  width: 100% !important;
  min-height: 34px !important;
  padding: 6px 4px !important;
  margin: 0 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;

  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  box-shadow: none !important;

  color: #d7e0ed !important;
  font: inherit !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  text-align: left !important;
  cursor: pointer !important;
}

body.auth-page-body .password-requirements-toggle:hover {
  background: rgba(255,255,255,.055) !important;
}

body.auth-page-body .password-requirements-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

body.auth-page-body .password-requirements-label .fa-circle-info {
  color: #7fb0ff !important;
  font-size: 0.82rem !important;
}

body.auth-page-body .password-requirements-arrow {
  flex: 0 0 auto !important;
  color: #aebed2 !important;
  font-size: 0.68rem !important;
  transition: transform .18s ease !important;
}

body.auth-page-body .password-requirements-content {
  margin: 3px 0 6px !important;
  padding: 9px 12px !important;

  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 9px !important;
  background: rgba(255,255,255,.07) !important;

  color: #cbd5e1 !important;
  font-size: 0.74rem !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  text-align: left !important;
}

body.auth-page-body .password-requirements-content[hidden] {
  display: none !important;
}

body.auth-page-body .password-requirements.open .password-requirements-arrow {
  transform: rotate(180deg) !important;
}

/* Neutralize the old large white hint if an old cached copy remains */
body.auth-page-body .password-hint-compact {
  display: none !important;
}

/* =====================================================================
   FORGOT PASSWORD — MATCH REGISTER PAGE MASTER / INNER CARD DESIGN
   Added 2026-08-24
   ===================================================================== */
body.forgot-page-body .forgot-shell {
  min-height: calc(100vh - 82px) !important;
  padding: 32px 20px 48px !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
}

body.forgot-page-body .forgot-layout {
  width: min(1180px, 96%) !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 16px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr) !important;
  gap: 16px !important;
  align-items: stretch !important;
  border-radius: 28px !important;
  background: rgba(20, 35, 58, .24) !important;
  border: 1px solid rgba(255,255,255,.30) !important;
  box-shadow: 0 24px 60px rgba(2,8,23,.24) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  overflow: hidden !important;
}

body.forgot-page-body .forgot-left-panel,
body.forgot-page-body .forgot-card-pro {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  border-radius: 20px !important;
  background: linear-gradient(160deg, rgba(77,96,124,.80), rgba(53,73,102,.74)) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  box-shadow: none !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
}

body.forgot-page-body .forgot-left-panel {
  padding: 46px 38px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  text-align: left !important;
  overflow: hidden !important;
}

body.forgot-page-body .forgot-pill {
  width: fit-content !important;
  margin: 0 0 24px !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  font-size: .84rem !important;
}

body.forgot-page-body .forgot-left-panel h1 {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  font-size: clamp(1.9rem, 2.6vw, 2.8rem) !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
  letter-spacing: -.025em !important;
  color: #fff !important;
}

body.forgot-page-body .forgot-left-panel h1 span {
  color: #2563eb !important;
}

body.forgot-page-body .forgot-left-panel > p {
  max-width: 590px !important;
  margin: 12px 0 22px !important;
  color: #d7e0ec !important;
  font-size: .96rem !important;
  line-height: 1.65 !important;
}

body.forgot-page-body .forgot-features {
  max-width: none !important;
  margin: 4px 0 0 !important;
  display: grid !important;
  gap: 10px !important;
}

body.forgot-page-body .forgot-feature-card {
  padding: 10px 12px !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.055) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  box-shadow: none !important;
  gap: 12px !important;
}

body.forgot-page-body .forgot-feature-card i {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  border-radius: 11px !important;
  font-size: .9rem !important;
}

body.forgot-page-body .forgot-feature-card strong {
  color: #f8fafc !important;
  font-size: .88rem !important;
}

body.forgot-page-body .forgot-feature-card span {
  color: #cbd5e1 !important;
  font-size: .80rem !important;
  line-height: 1.4 !important;
}

body.forgot-page-body .forgot-card-pro {
  padding: 30px 32px !important;
  justify-self: stretch !important;
  position: relative !important;
  overflow: hidden !important;
}

body.forgot-page-body .forgot-card-pro::before {
  display: none !important;
}

/* Key icon + Reset Password title on one line, like Register */
body.forgot-page-body .forgot-icon {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  margin: 0 10px 0 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  border-radius: 12px !important;
  font-size: .95rem !important;
}

body.forgot-page-body .forgot-card-pro h2 {
  display: inline-block !important;
  width: auto !important;
  max-width: calc(100% - 58px) !important;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: middle !important;
  color: #fff !important;
  font-size: 1.45rem !important;
  font-weight: 700 !important;
  line-height: 42px !important;
  white-space: nowrap !important;
}

body.forgot-page-body .forgot-subtitle {
  display: block !important;
  clear: both !important;
  margin: 14px 0 20px !important;
  color: #cbd5e1 !important;
  font-size: .88rem !important;
  line-height: 1.5 !important;
}

body.forgot-page-body .forgot-label {
  margin: 11px 0 6px !important;
  color: #cbd5e1 !important;
  font-size: .80rem !important;
}

body.forgot-page-body .forgot-input-wrap input {
  height: 46px !important;
  min-height: 46px !important;
  border-radius: 12px !important;
  font-size: .90rem !important;
  background: rgba(255,255,255,.10) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  color: #fff !important;
}

body.forgot-page-body .forgot-input-wrap input::placeholder {
  color: #cbd5e1 !important;
}

body.forgot-page-body .forgot-btn {
  min-height: 46px !important;
  margin-top: 16px !important;
  border-radius: 12px !important;
  font-size: .90rem !important;
}

body.forgot-page-body .forgot-footer-links {
  margin-top: 16px !important;
  color: #cbd5e1 !important;
  font-size: .82rem !important;
}

@media (max-width: 950px) {
  body.forgot-page-body .forgot-layout {
    width: min(720px, 96%) !important;
    grid-template-columns: 1fr !important;
  }
  body.forgot-page-body .forgot-left-panel,
  body.forgot-page-body .forgot-card-pro {
    padding: 30px !important;
  }
}

@media (max-width: 600px) {
  body.forgot-page-body .forgot-shell {
    padding: 14px 10px 36px !important;
  }
  body.forgot-page-body .forgot-layout {
    width: 100% !important;
    padding: 8px !important;
    gap: 8px !important;
    border-radius: 20px !important;
  }
  body.forgot-page-body .forgot-left-panel,
  body.forgot-page-body .forgot-card-pro {
    padding: 22px 18px !important;
    border-radius: 15px !important;
  }
  body.forgot-page-body .forgot-card-pro h2 {
    white-space: normal !important;
    line-height: 1.2 !important;
  }
}


/* =========================================================
   TERMS OF USE — REGISTER-MATCHED POLISHED DOCUMENT
   2026-08-24 final override
   ========================================================= */
body.terms-page-body .terms-page-shell {
  background: transparent !important;
  padding: 32px 20px 56px !important;
}

body.terms-page-body .terms-document-card {
  width: min(1180px, 96%) !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 16px !important;
  border-radius: 28px !important;
  background: rgba(20, 35, 58, .24) !important;
  border: 1px solid rgba(255,255,255,.30) !important;
  box-shadow: 0 24px 60px rgba(2,8,23,.24) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  color: #e5edf7 !important;
}

/* Header becomes its own inner card, matching Register */
body.terms-page-body .terms-doc-header {
  margin: 0 0 14px !important;
  padding: 30px 34px !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 20px !important;
  background: linear-gradient(160deg, rgba(77,96,124,.80), rgba(53,73,102,.74)) !important;
  box-shadow: none !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
}

body.terms-page-body .terms-kicker {
  min-height: 30px !important;
  margin: 0 0 14px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  background: rgba(37,99,235,.22) !important;
  border: 1px solid rgba(147,197,253,.30) !important;
  color: #dbeafe !important;
  font-size: .72rem !important;
  font-weight: 900 !important;
  letter-spacing: .055em !important;
}

body.terms-page-body .terms-doc-header h1 {
  margin: 0 0 8px !important;
  font-size: clamp(2rem, 3vw, 2.75rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -.025em !important;
  color: #fff !important;
  text-shadow: none !important;
}

body.terms-page-body .terms-effective {
  margin: 0 !important;
  color: #cbd5e1 !important;
  font-size: .88rem !important;
}

/* Main legal content is a second matching Register-style inner card */
body.terms-page-body .terms-doc-body {
  padding: 30px 34px 34px !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 20px !important;
  background: linear-gradient(160deg, rgba(77,96,124,.80), rgba(53,73,102,.74)) !important;
  box-shadow: none !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
}

body.terms-page-body .terms-doc-body,
body.terms-page-body .terms-doc-body p,
body.terms-page-body .terms-doc-body li {
  color: #e2e8f0 !important;
  font-size: .94rem !important;
  line-height: 1.68 !important;
}

body.terms-page-body .terms-doc-body > p {
  max-width: 1000px !important;
  margin: 0 0 14px !important;
}

body.terms-page-body .terms-section {
  position: relative !important;
  margin: 0 !important;
  padding: 22px 4px !important;
  border: 0 !important;
  border-top: 1px solid rgba(255,255,255,.12) !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.terms-page-body .terms-section:first-of-type {
  margin-top: 8px !important;
  border-top: 1px solid rgba(255,255,255,.12) !important;
}

body.terms-page-body .terms-section h2 {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  margin: 0 0 10px !important;
  color: #fff !important;
  font-size: 1.08rem !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

/* Small blue accent beside each legal section heading */
body.terms-page-body .terms-section h2::before {
  content: "" !important;
  width: 4px !important;
  height: 19px !important;
  flex: 0 0 4px !important;
  border-radius: 999px !important;
  background: #60a5fa !important;
  box-shadow: 0 0 14px rgba(96,165,250,.25) !important;
}

body.terms-page-body .terms-section p {
  margin: 0 0 9px !important;
}

body.terms-page-body .terms-section ul {
  margin: 8px 0 12px 20px !important;
  padding-left: 16px !important;
}

body.terms-page-body .terms-section li {
  margin-bottom: 5px !important;
  padding-left: 3px !important;
}

body.terms-page-body .terms-section li::marker {
  color: #93c5fd !important;
}

@media (max-width: 768px) {
  body.terms-page-body .terms-page-shell {
    padding: 16px 10px 40px !important;
  }
  body.terms-page-body .terms-document-card {
    width: 100% !important;
    padding: 8px !important;
    border-radius: 20px !important;
  }
  body.terms-page-body .terms-doc-header,
  body.terms-page-body .terms-doc-body {
    padding: 22px 18px !important;
    border-radius: 15px !important;
  }
  body.terms-page-body .terms-doc-header h1 {
    font-size: 1.85rem !important;
  }
  body.terms-page-body .terms-section h2 {
    font-size: 1rem !important;
  }
  body.terms-page-body .terms-doc-body,
  body.terms-page-body .terms-doc-body p,
  body.terms-page-body .terms-doc-body li {
    font-size: .90rem !important;
  }
}

/* =========================================================
   TERMS OF USE — MORE TRANSPARENT GLASS EFFECT
   ========================================================= */
body.terms-page-body .terms-document-card {
  background: rgba(20, 35, 58, .14) !important;
  border-color: rgba(255,255,255,.24) !important;
  backdrop-filter: blur(3px) !important;
  -webkit-backdrop-filter: blur(3px) !important;
}

body.terms-page-body .terms-doc-header,
body.terms-page-body .terms-doc-body {
  background: linear-gradient(
    160deg,
    rgba(77,96,124,.60),
    rgba(53,73,102,.54)
  ) !important;
  border-color: rgba(255,255,255,.16) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
}

/* =========================================================
   TERMS OF USE — EXTRA TRANSPARENT GLASS EFFECT
   ========================================================= */
body.terms-page-body .terms-document-card {
  background: rgba(20, 35, 58, .07) !important;
  border-color: rgba(255,255,255,.20) !important;
  backdrop-filter: blur(2px) !important;
  -webkit-backdrop-filter: blur(2px) !important;
}

body.terms-page-body .terms-doc-header,
body.terms-page-body .terms-doc-body {
  background: linear-gradient(
    160deg,
    rgba(77,96,124,.42),
    rgba(53,73,102,.36)
  ) !important;
  border-color: rgba(255,255,255,.14) !important;
  backdrop-filter: blur(3px) !important;
  -webkit-backdrop-filter: blur(3px) !important;
}

/* =========================================================
   TERMS OF USE — MORE TRANSPARENT GLASS (FINAL OVERRIDE)
   ========================================================= */
body.terms-page-body .legal-shell,
body.terms-page-body .legal-page-wrap {
  background: transparent !important;
}

body.terms-page-body .legal-card {
  background: linear-gradient(
    160deg,
    rgba(55, 75, 105, 0.38),
    rgba(35, 55, 85, 0.32)
  ) !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
  backdrop-filter: blur(3px) !important;
  -webkit-backdrop-filter: blur(3px) !important;
  box-shadow: 0 20px 50px rgba(2,8,23,0.16) !important;
}

body.terms-page-body .legal-header,
body.terms-page-body .legal-intro,
body.terms-page-body .legal-section {
  background: linear-gradient(
    160deg,
    rgba(55, 75, 105, 0.34),
    rgba(35, 55, 85, 0.28)
  ) !important;
  border: 1px solid rgba(255,255,255,0.20) !important;
  backdrop-filter: blur(3px) !important;
  -webkit-backdrop-filter: blur(3px) !important;
  box-shadow: none !important;
}

body.terms-page-body .legal-card p,
body.terms-page-body .legal-card li,
body.terms-page-body .legal-intro p,
body.terms-page-body .legal-section p,
body.terms-page-body .legal-section li {
  color: rgba(255,255,255,0.94) !important;
}

body.terms-page-body .legal-card h1,
body.terms-page-body .legal-card h2,
body.terms-page-body .legal-section h2 {
  color: #ffffff !important;
}

/* =========================================================
   TERMS OF USE — COMPLETELY TRANSPARENT CARDS
   ========================================================= */
body.terms-page-body .terms-document-card,
body.terms-page-body .terms-doc-header,
body.terms-page-body .terms-doc-body,
body.terms-page-body .legal-shell,
body.terms-page-body .legal-page-wrap,
body.terms-page-body .legal-card,
body.terms-page-body .legal-header,
body.terms-page-body .legal-intro,
body.terms-page-body .legal-section {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

/* Keep subtle outlines so the document structure remains visible */
body.terms-page-body .terms-document-card,
body.terms-page-body .terms-doc-header,
body.terms-page-body .terms-doc-body,
body.terms-page-body .legal-card,
body.terms-page-body .legal-header,
body.terms-page-body .legal-intro,
body.terms-page-body .legal-section {
  border-color: rgba(255,255,255,.22) !important;
}

/* Preserve readable text over the background photograph */
body.terms-page-body .terms-document-card,
body.terms-page-body .terms-doc-header,
body.terms-page-body .terms-doc-body,
body.terms-page-body .legal-card,
body.terms-page-body .legal-header,
body.terms-page-body .legal-intro,
body.terms-page-body .legal-section {
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0,0,0,.45) !important;
}


/* =========================================================
   PRIVACY POLICY — TERMS-MATCHED POLISHED DOCUMENT
   Complete transparent version
   ========================================================= */
body.privacy-page-body .privacy-page-shell {
  background: transparent !important;
  padding: 32px 20px 56px !important;
}

body.privacy-page-body .privacy-document-card {
  width: min(1180px, 96%) !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 16px !important;
  border-radius: 28px !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0,0,0,.45) !important;
}

body.privacy-page-body .privacy-doc-header {
  margin: 0 0 14px !important;
  padding: 30px 34px !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  border-radius: 20px !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0,0,0,.45) !important;
}

body.privacy-page-body .privacy-kicker {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 30px !important;
  margin: 0 0 14px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  background: rgba(37,99,235,.22) !important;
  border: 1px solid rgba(147,197,253,.30) !important;
  color: #dbeafe !important;
  font-size: .72rem !important;
  font-weight: 900 !important;
  letter-spacing: .055em !important;
}

body.privacy-page-body .privacy-doc-header h1 {
  margin: 0 0 8px !important;
  font-size: clamp(2rem, 3vw, 2.75rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -.025em !important;
  color: #fff !important;
}

body.privacy-page-body .privacy-effective {
  margin: 0 !important;
  color: #e2e8f0 !important;
  font-size: .88rem !important;
}

body.privacy-page-body .privacy-doc-body {
  padding: 30px 34px 34px !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  border-radius: 20px !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0,0,0,.45) !important;
}

body.privacy-page-body .privacy-doc-body,
body.privacy-page-body .privacy-doc-body p,
body.privacy-page-body .privacy-doc-body li {
  color: rgba(255,255,255,.94) !important;
  font-size: .94rem !important;
  line-height: 1.68 !important;
}

body.privacy-page-body .privacy-doc-body > p {
  max-width: 1000px !important;
  margin: 0 0 14px !important;
}

body.privacy-page-body .privacy-section {
  position: relative !important;
  margin: 0 !important;
  padding: 22px 4px !important;
  border: 0 !important;
  border-top: 1px solid rgba(255,255,255,.12) !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

body.privacy-page-body .privacy-section:first-of-type {
  margin-top: 8px !important;
  border-top: 1px solid rgba(255,255,255,.12) !important;
}

body.privacy-page-body .privacy-section h2 {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  margin: 0 0 10px !important;
  color: #fff !important;
  font-size: 1.08rem !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

body.privacy-page-body .privacy-section h2::before {
  content: "" !important;
  width: 4px !important;
  height: 19px !important;
  flex: 0 0 4px !important;
  border-radius: 999px !important;
  background: #60a5fa !important;
  box-shadow: 0 0 14px rgba(96,165,250,.25) !important;
}

body.privacy-page-body .privacy-section p {
  margin: 0 0 9px !important;
}

body.privacy-page-body .privacy-section ul {
  margin: 8px 0 12px 20px !important;
  padding-left: 16px !important;
}

body.privacy-page-body .privacy-section li {
  margin-bottom: 5px !important;
  padding-left: 3px !important;
}

body.privacy-page-body .privacy-section li::marker {
  color: #93c5fd !important;
}

@media (max-width: 768px) {
  body.privacy-page-body .privacy-page-shell {
    padding: 16px 10px 40px !important;
  }

  body.privacy-page-body .privacy-document-card {
    width: 100% !important;
    padding: 8px !important;
    border-radius: 20px !important;
  }

  body.privacy-page-body .privacy-doc-header,
  body.privacy-page-body .privacy-doc-body {
    padding: 22px 18px !important;
    border-radius: 15px !important;
  }

  body.privacy-page-body .privacy-doc-header h1 {
    font-size: 1.85rem !important;
  }

  body.privacy-page-body .privacy-section h2 {
    font-size: 1rem !important;
  }

  body.privacy-page-body .privacy-doc-body,
  body.privacy-page-body .privacy-doc-body p,
  body.privacy-page-body .privacy-doc-body li {
    font-size: .90rem !important;
  }
}


/* =========================================================
   POST ROOMMATE + POST NANNY MAIN CONTAINER MATCH
   ========================================================= */

.post-roommate-page .roommate-post-card,
.post-nanny-page .post-nanny-card {
    background: rgba(71, 85, 105, 0.82) !important;

    border: 1px solid rgba(255, 255, 255, 0.14) !important;

    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.18),
        0 8px 22px rgba(15, 23, 42, 0.10) !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}


/* =========================================================
   FINAL POST ROOMMATE / POST NANNY CONTAINER MATCH
   Keep this block at the END of style.css so older card rules
   cannot override the shared glass appearance.
   ========================================================= */

body.post-roommate-page .roommate-post-card,
body.post-nanny-page .post-nanny-card {
    background: rgba(71, 85, 105, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.18),
        0 8px 22px rgba(15, 23, 42, 0.10) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Remove any white/opaque inner-card layer from Post Nanny */
body.post-nanny-page .post-nanny-card .card-body,
body.post-nanny-page #nannyForm,
body.post-nanny-page .post-nanny-tips-inside {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Match the tip cards between the two post pages */
body.post-roommate-page .post-roommate-tips-inside .tip-item,
body.post-nanny-page .post-nanny-tips-inside .nanny-tip-item {
    background: rgba(255, 255, 255, 0.10) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: none !important;
}


/* =========================================================
   POST ROOMMATE + POST NANNY: IDENTICAL BIG OUTER CONTAINERS
   ========================================================= */
body.post-roommate-page .roommate-post-card,
body.post-nanny-page .post-nanny-card {
    background: rgba(71, 85, 105, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 24px !important;
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.18),
        0 8px 22px rgba(15, 23, 42, 0.10) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.post-nanny-page .post-nanny-card > .card-body,
body.post-nanny-page #nannyForm,
body.post-nanny-page .post-nanny-tips-inside {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}


/* =========================================================
   POST ROOMMATE + POST NANNY + POST SERVICE
   IDENTICAL BIG OUTER CONTAINERS
   ========================================================= */
body.post-roommate-page .roommate-post-card,
body.post-nanny-page .post-nanny-card,
body.post-service-page .post-service-big-container {
    background: rgba(71, 85, 105, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 24px !important;
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.18),
        0 8px 22px rgba(15, 23, 42, 0.10) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Inner layers stay transparent so only ONE big container is visible */
body.post-service-page .post-service-big-container #serviceForm.post-service-card {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Keep the service note as the small inner section */
body.post-service-page .post-service-big-container .post-service-hero-note {
    background: rgba(255, 255, 255, 0.10) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: none !important;
    border-radius: 16px !important;
}


/* =========================================================
   INDEX HOME — BIG OUTER CONTAINER
   Matches Post Roommate / Post Nanny / Post Service
   ========================================================= */
body.index-page.full-market-home .marketplace-home-big-container {
    background: rgba(71, 85, 105, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 24px !important;
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.18),
        0 8px 22px rgba(15, 23, 42, 0.10) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Avoid a second large container around the stats */
body.index-page.full-market-home .marketplace-home-big-container .marketplace-stats {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Keep homepage subsections inside the shared outer panel */
body.index-page.full-market-home .marketplace-home-big-container .marketplace-featured-wrap,
body.index-page.full-market-home .marketplace-home-big-container .marketplace-home-latest-inner {
    background: transparent !important;
}


/* =========================================================
   ROOMMATE LISTINGS — LOWER AVAILABLE LISTINGS CONTAINER
   Match Index + Post page big containers
   ========================================================= */
body.roommate-listings-page .roommate-listings-container {
    background: rgba(71, 85, 105, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 24px !important;
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.18),
        0 8px 22px rgba(15, 23, 42, 0.10) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.roommate-listings-page .roommate-listings-container .roommate-results-head,
body.roommate-listings-page .roommate-listings-container #listingsGrid,
body.roommate-listings-page .roommate-listings-container .roommate-pagination {
    background: transparent !important;
}


/* =========================================================
   NANNY LISTINGS — LOWER AVAILABLE PROFILES CONTAINER
   Match Roommate Listings + Index + Post pages
   ========================================================= */
body.nanny-listings-page .nanny-listings-container {
    background: rgba(71, 85, 105, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 24px !important;
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.18),
        0 8px 22px rgba(15, 23, 42, 0.10) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.nanny-listings-page .nanny-listings-container .nanny-results-head,
body.nanny-listings-page .nanny-listings-container #nannyGrid,
body.nanny-listings-page .nanny-listings-container .nanny-pagination {
    background: transparent !important;
}


/* =========================================================
   SERVICE LISTINGS — LOWER AVAILABLE SERVICES CONTAINER
   Match Roommate + Nanny Listings + Index + Post pages
   ========================================================= */
body.service-listings-page .service-listings-container {
    background: rgba(71, 85, 105, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 24px !important;
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.18),
        0 8px 22px rgba(15, 23, 42, 0.10) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.service-listings-page .service-listings-container .service-results-head,
body.service-listings-page .service-listings-container #serviceGrid,
body.service-listings-page .service-listings-container .service-pagination {
    background: transparent !important;
}


/* =========================================================
   CONTACT PAGE — MAIN BIG CONTAINER
   Match Index + Post pages + Listings lower containers
   ========================================================= */
body.contact-page-body .contact-single-panel {
    background: rgba(71, 85, 105, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 24px !important;
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.18),
        0 8px 22px rgba(15, 23, 42, 0.10) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.contact-page-body .contact-single-panel .contact-welcome-panel,
body.contact-page-body .contact-single-panel .contact-card-pro {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}


/* =========================================================
   ADMIN PAGE — BOTH BIG CONTAINERS
   Match Index + Post + Listings + Contact containers
   ========================================================= */
body.admin-page .admin-big-container {
  width: min(1480px, 97%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  background: rgba(71, 85, 105, 0.82) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 24px !important;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.admin-page .admin-content-big-container .admin-workspace-loved,
body.admin-page .admin-content-big-container .admin-panel-loved {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}


/* =========================================================
   LOGIN PAGE — BIG OUTER CONTAINER
   Preserve original auth-layout structure
   ========================================================= */
body.auth-page-body .auth-layout.auth-login-big-container {
    background: rgba(71, 85, 105, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 24px !important;
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.18),
        0 8px 22px rgba(15, 23, 42, 0.10) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Keep the existing left and right sections exactly as designed */
body.auth-page-body .auth-layout.auth-login-big-container .auth-welcome-panel,
body.auth-page-body .auth-layout.auth-login-big-container .auth-card-pro {
    position: relative !important;
}


/* =========================================================
   TERMS OF USE — MAIN BIG CONTAINER
   Match Login + Admin + Contact + Listings + Post + Index
   ========================================================= */
body.terms-page-body .terms-document-card.terms-big-container {
    background: rgba(71, 85, 105, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 24px !important;
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.18),
        0 8px 22px rgba(15, 23, 42, 0.10) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}


/* =========================================================
   PRIVACY POLICY — MAIN BIG CONTAINER
   Match Terms + Login + Admin + Contact + Listings + Post + Index
   ========================================================= */
body.privacy-page-body .privacy-document-card.privacy-big-container {
    background: rgba(71, 85, 105, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 24px !important;
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.18),
        0 8px 22px rgba(15, 23, 42, 0.10) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}


/* =========================================================
   ROOMMATE DETAILS — MAIN BIG OUTER CONTAINER
   Match the site's standardized big-container appearance
   ========================================================= */
body.roommate-details-page .roommate-details-big-container {
    background: rgba(71, 85, 105, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 24px !important;
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.18),
        0 8px 22px rgba(15, 23, 42, 0.10) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* The gallery, contact, and info cards remain inner sections */
body.roommate-details-page .roommate-details-big-container .details-card {
    background: rgba(255, 255, 255, 0.10) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}


/* =========================================================
   NANNY DETAILS — MAIN BIG OUTER CONTAINER
   Match Roommate Details + site standardized containers
   ========================================================= */
body.nanny-details-page .nanny-details-big-container {
    background: rgba(71, 85, 105, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 24px !important;
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.18),
        0 8px 22px rgba(15, 23, 42, 0.10) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Inner detail cards stay visually separate inside the big panel */
body.nanny-details-page .nanny-details-big-container .details-card {
    background: rgba(255, 255, 255, 0.10) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}


/* =========================================================
   SERVICE DETAILS — MAIN BIG OUTER CONTAINER
   Match Roommate Details + Nanny Details + site containers
   ========================================================= */
body.service-details-page .service-details-big-container {
    background: rgba(71, 85, 105, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 24px !important;
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.18),
        0 8px 22px rgba(15, 23, 42, 0.10) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Inner detail cards stay visually separate inside the big panel */
body.service-details-page .service-details-big-container .details-card {
    background: rgba(255, 255, 255, 0.10) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}


/* =========================================================
   SERVICE DETAILS — REMOVE MIDDLE CONTAINER
   Keep #detailsContent for JavaScript/layout, but make it
   completely transparent so only the big outer container
   and the individual inner cards are visible.
   ========================================================= */
body.service-details-page .service-details-big-container #detailsContent,
body.service-details-page .service-details-big-container .service-detail-modern,
body.service-details-page .service-details-big-container .nsd-service-layout {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}


/* =========================================================
   FAVORITES PAGE — ONE BIG OUTER CONTAINER
   Holds Rooms + Nannies + Services favorite sections
   ========================================================= */
body.favorites-dashboard-page .favorites-big-container {
    background: rgba(71, 85, 105, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 24px !important;
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.18),
        0 8px 22px rgba(15, 23, 42, 0.10) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Keep the summary/refresh toolbar integrated into the big panel */
body.favorites-dashboard-page .favorites-big-container .my-listings-toolbar,
body.favorites-dashboard-page .favorites-big-container #favoritesStatus,
body.favorites-dashboard-page .favorites-big-container #favoritesSections {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* =========================================================
   EDIT ROOMMATE — TRUE COMPACT AMENITY PILLS
   Separate classes avoid all older .tag-row / .tag rules.
   ========================================================= */
body.edit-roommate-page .edit-amenity-pills {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 5px !important;
    margin: 10px 0 12px !important;
    padding: 0 !important;
}

body.edit-roommate-page .edit-amenity-pills .edit-amenity-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex: 0 0 auto !important;

    width: fit-content !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 20px !important;
    min-height: 20px !important;
    max-height: 20px !important;

    margin: 0 !important;
    padding: 0 6px !important;
    gap: 3px !important;

    background: rgba(71, 85, 105, 0.82) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 6px !important;
    box-shadow: none !important;

    color: #94A3B8 !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

body.edit-roommate-page .edit-amenity-pills .edit-amenity-pill input[type="checkbox"] {
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    box-sizing: border-box !important;

    width: 10px !important;
    height: 10px !important;
    min-width: 10px !important;
    min-height: 10px !important;
    max-width: 10px !important;
    max-height: 10px !important;

    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 10px !important;
}

/* =========================================================
   EDIT ROOMMATE — AMENITY PILLS MATCH POST ROOMMATE
   Dedicated classes prevent older .tag-row/.tag rules from
   changing size, spacing, or order.
   ========================================================= */
body.edit-roommate-page .edit-amenity-pills {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    margin: 20px 0 14px !important;
    padding: 0 !important;
}

body.edit-roommate-page .edit-amenity-pills .edit-amenity-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex: 0 0 auto !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: max-content !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;

    margin: 0 !important;
    padding: 5px 10px !important;
    gap: 6px !important;

    background: rgba(71, 85, 105, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 9px !important;
    box-shadow: none !important;

    color: rgba(226, 232, 240, 0.78) !important;
    font-size: 0.78rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

body.edit-roommate-page .edit-amenity-pills .edit-amenity-pill input[type="checkbox"] {
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    box-sizing: border-box !important;

    width: 13px !important;
    height: 13px !important;
    min-width: 13px !important;
    min-height: 13px !important;
    max-width: 13px !important;
    max-height: 13px !important;

    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 13px !important;
}

/* Lock the visible order to Post Roommate */
body.edit-roommate-page .edit-amenity-pills .edit-amenity-pill:nth-child(1) { order: 1; } /* Furnished */
body.edit-roommate-page .edit-amenity-pills .edit-amenity-pill:nth-child(2) { order: 2; } /* Utilities */
body.edit-roommate-page .edit-amenity-pills .edit-amenity-pill:nth-child(3) { order: 3; } /* Parking */
body.edit-roommate-page .edit-amenity-pills .edit-amenity-pill:nth-child(4) { order: 4; } /* Laundry Available */
body.edit-roommate-page .edit-amenity-pills .edit-amenity-pill:nth-child(5) { order: 5; } /* Smoking */
body.edit-roommate-page .edit-amenity-pills .edit-amenity-pill:nth-child(6) { order: 6; } /* Wi-Fi */

@media (max-width: 600px) {
    body.edit-roommate-page .edit-amenity-pills {
        gap: 7px !important;
    }

    body.edit-roommate-page .edit-amenity-pills .edit-amenity-pill {
        height: 30px !important;
        min-height: 30px !important;
        max-height: 30px !important;
        padding: 4px 9px !important;
        font-size: 0.76rem !important;
    }
}

/* =========================================================
   EDIT ROOMMATE — FIELD ORDER MATCHES POST ROOMMATE
   ========================================================= */
body.edit-roommate-page .edit-post-order-fields {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    width: 900px !important;
    max-width: 100% !important;
}

body.edit-roommate-page .edit-post-order-fields > #title,
body.edit-roommate-page .edit-post-order-fields > #description {
    width: 900px !important;
    max-width: 100% !important;
    margin: 0 !important;
}

body.edit-roommate-page .edit-post-order-fields > #title {
    height: 36px !important;
    min-height: 36px !important;
}

body.edit-roommate-page .edit-post-order-fields > #description {
    min-height: 90px !important;
    height: 90px !important;
}

body.edit-roommate-page .edit-post-location-row,
body.edit-roommate-page .edit-post-room-row,
body.edit-roommate-page .edit-post-money-row {
    display: grid !important;
    grid-template-columns: repeat(3, 280px) !important;
    gap: 12px !important;
    width: max-content !important;
    max-width: 100% !important;
}

body.edit-roommate-page .edit-post-location-row > *,
body.edit-roommate-page .edit-post-room-row > *,
body.edit-roommate-page .edit-post-money-row > * {
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    height: 36px !important;
    min-height: 36px !important;
    margin: 0 !important;
}

body.edit-roommate-page .edit-post-lease-row {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: auto !important;
}

body.edit-roommate-page .edit-post-lease-row #leaseMonths,
body.edit-roommate-page .edit-post-lease-row #zipCode {
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    height: 36px !important;
    min-height: 36px !important;
    margin: 0 !important;
}

/* Pills come immediately after the Lease Months row, like Post Roommate */
body.edit-roommate-page .edit-amenity-pills {
    margin-top: 20px !important;
    margin-bottom: 14px !important;
}

@media (max-width: 950px) {
    body.edit-roommate-page .edit-post-order-fields {
        width: 100% !important;
    }

    body.edit-roommate-page .edit-post-order-fields > #title,
    body.edit-roommate-page .edit-post-order-fields > #description {
        width: 100% !important;
    }

    body.edit-roommate-page .edit-post-location-row,
    body.edit-roommate-page .edit-post-room-row,
    body.edit-roommate-page .edit-post-money-row {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        width: 100% !important;
    }

    body.edit-roommate-page .edit-post-location-row > *,
    body.edit-roommate-page .edit-post-room-row > *,
    body.edit-roommate-page .edit-post-money-row > *,
    body.edit-roommate-page .edit-post-lease-row #leaseMonths,
    body.edit-roommate-page .edit-post-lease-row #zipCode {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    body.edit-roommate-page .edit-post-lease-row {
        width: 100% !important;
        flex-wrap: wrap !important;
    }
}

@media (max-width: 600px) {
    body.edit-roommate-page .edit-post-location-row,
    body.edit-roommate-page .edit-post-room-row,
    body.edit-roommate-page .edit-post-money-row {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================================
   EDIT NANNY — MATCH POST NANNY ORDER / COMPACT LAYOUT
   ========================================================= */
body.edit-nanny-page .post-nanny-card,
body.edit-service-page .post-service-card {
  background: rgba(71,85,105,.82) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 24px !important;
  box-shadow: 0 24px 60px rgba(15,23,42,.18),0 8px 22px rgba(15,23,42,.10) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
body.edit-nanny-page #editNannyForm,
body.edit-service-page #editServiceForm { width: 900px !important; max-width:100% !important; margin:0 !important; }

body.edit-nanny-page .edit-nanny-post-order { display:flex !important; flex-direction:column !important; gap:12px !important; width:864px !important; max-width:100% !important; }
body.edit-nanny-page .edit-nanny-post-order > #editNannyFullName,
body.edit-nanny-page .edit-nanny-post-order > textarea { width:864px !important; max-width:100% !important; }
body.edit-nanny-page .edit-nanny-post-order > #editNannyFullName { height:36px !important; min-height:36px !important; }
body.edit-nanny-page .edit-nanny-post-order > textarea { height:90px !important; min-height:90px !important; padding:9px 10px !important; }
body.edit-nanny-page .edit-nanny-location-row,
body.edit-nanny-page .edit-nanny-care-row { display:grid !important; grid-template-columns:repeat(3,280px) !important; gap:12px !important; }
body.edit-nanny-page .edit-nanny-age-row { display:flex !important; gap:12px !important; }
body.edit-nanny-page .edit-nanny-location-row > *,
body.edit-nanny-page .edit-nanny-care-row > *,
body.edit-nanny-page .edit-nanny-age-row > * { width:280px !important; min-width:280px !important; max-width:280px !important; height:36px !important; min-height:36px !important; }
body.edit-nanny-page .edit-nanny-checks { display:flex !important; flex-wrap:wrap !important; gap:8px !important; margin:22px 0 20px !important; }
body.edit-nanny-page .edit-nanny-checks label,
body.edit-service-page .edit-service-mobile-pill { display:inline-flex !important; align-items:center !important; width:auto !important; min-width:0 !important; min-height:32px !important; padding:5px 10px !important; gap:6px !important; border-radius:9px !important; font-size:.78rem !important; font-weight:400 !important; line-height:1 !important; white-space:nowrap !important; background:rgba(71,85,105,.82) !important; color:rgba(226,232,240,.78) !important; border:1px solid rgba(255,255,255,.14) !important; }
body.edit-nanny-page .edit-nanny-checks input[type="checkbox"],
body.edit-service-page .edit-service-mobile-pill input[type="checkbox"] { width:13px !important; height:13px !important; min-width:13px !important; min-height:13px !important; margin:0 !important; padding:0 !important; }
body.edit-nanny-page .edit-nanny-contact-row { display:grid !important; grid-template-columns:repeat(2,220px) !important; gap:10px !important; }
body.edit-nanny-page .edit-nanny-contact-row > * { width:220px !important; min-width:220px !important; max-width:220px !important; height:34px !important; min-height:34px !important; }

/* =========================================================
   EDIT SERVICE — MATCH POST SERVICE ORDER / COMPACT LAYOUT
   ========================================================= */
body.edit-service-page .edit-service-note { margin-bottom:16px !important; font-size:.78rem !important; font-weight:400 !important; }
body.edit-service-page .edit-service-post-main { display:grid !important; grid-template-columns:repeat(2,280px) !important; justify-content:start !important; gap:12px !important; }
body.edit-service-page .edit-service-post-main > input,
body.edit-service-page .edit-service-post-main > select { width:280px !important; max-width:280px !important; height:36px !important; min-height:36px !important; }
body.edit-service-page .edit-service-post-main > input[name="serviceTitle"],
body.edit-service-page .edit-service-post-main > textarea { grid-column:1 / -1 !important; width:572px !important; max-width:572px !important; }
body.edit-service-page .edit-service-post-main > textarea { min-height:90px !important; height:90px !important; padding:9px 10px !important; }
body.edit-service-page .edit-service-location-heading { margin:18px 0 10px !important; }
body.edit-service-page .edit-service-post-location { display:grid !important; grid-template-columns:repeat(3,230px) !important; justify-content:start !important; gap:12px !important; align-items:center !important; }
body.edit-service-page .edit-service-post-location > select { width:230px !important; max-width:230px !important; height:36px !important; min-height:36px !important; }
body.edit-service-page .edit-service-post-location > input[name="zipCode"] { width:150px !important; max-width:150px !important; height:36px !important; min-height:36px !important; }
body.edit-service-page .edit-service-post-location > input[name="addressLine"] { width:300px !important; max-width:300px !important; height:36px !important; min-height:36px !important; }

/* Edit-only media + actions stay compact */
body.edit-nanny-page .current-media-panel, body.edit-nanny-page .edit-upload-box,
body.edit-service-page .current-media-panel, body.edit-service-page .edit-upload-box { width:420px !important; max-width:100% !important; padding:12px 14px !important; margin-top:14px !important; border-radius:10px !important; }
body.edit-nanny-page #photos, body.edit-service-page #photos { width:390px !important; max-width:100% !important; min-height:34px !important; margin-top:8px !important; padding:4px 6px !important; font-size:.78rem !important; }
body.edit-nanny-page .form-actions, body.edit-service-page .form-actions { display:flex !important; align-items:center !important; gap:8px !important; margin-top:14px !important; }
body.edit-nanny-page .form-actions .btn, body.edit-service-page .form-actions .btn { width:auto !important; min-width:0 !important; height:32px !important; min-height:32px !important; padding:4px 11px !important; border-radius:9px !important; font-size:.78rem !important; font-weight:400 !important; }

@media (max-width:800px) {
  body.edit-nanny-page .edit-nanny-post-order,
  body.edit-nanny-page .edit-nanny-post-order > #editNannyFullName,
  body.edit-nanny-page .edit-nanny-post-order > textarea,
  body.edit-service-page .edit-service-post-main > input[name="serviceTitle"],
  body.edit-service-page .edit-service-post-main > textarea { width:100% !important; max-width:100% !important; }
  body.edit-nanny-page .edit-nanny-location-row,
  body.edit-nanny-page .edit-nanny-care-row,
  body.edit-service-page .edit-service-post-main,
  body.edit-service-page .edit-service-post-location { grid-template-columns:1fr !important; width:100% !important; }
  body.edit-nanny-page .edit-nanny-age-row { flex-direction:column !important; width:100% !important; }
  body.edit-nanny-page .edit-nanny-location-row > *,
  body.edit-nanny-page .edit-nanny-care-row > *,
  body.edit-nanny-page .edit-nanny-age-row > *,
  body.edit-service-page .edit-service-post-main > *,
  body.edit-service-page .edit-service-post-location > *,
  body.edit-nanny-page .edit-nanny-contact-row > * { width:100% !important; min-width:0 !important; max-width:100% !important; }
  body.edit-nanny-page .edit-nanny-contact-row { grid-template-columns:1fr !important; width:100% !important; }
}

/* =========================================================
   EDIT NANNY / EDIT SERVICE — SELECT TEXT + DROPDOWN FIX
   Match Post Nanny / Post Service select controls.
   ========================================================= */

/* Prevent selected Country / State / City text from being clipped */
body.edit-nanny-page .edit-nanny-location-row select,
body.edit-service-page .edit-service-post-location select {
    height: 36px !important;
    min-height: 36px !important;
    padding: 6px 30px 6px 10px !important;
    font-size: 0.86rem !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    border-radius: 9px !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
}

/* Match the dropdown list colors used on the Post pages */
body.edit-nanny-page select option,
body.edit-service-page select option {
    background: #64748b !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Keep the selected value readable inside the closed select */
body.edit-nanny-page .edit-nanny-location-row select,
body.edit-service-page .edit-service-post-location select {
    color: rgba(226, 232, 240, 0.88) !important;
    -webkit-text-fill-color: rgba(226, 232, 240, 0.88) !important;
}

/* =========================================================
   EDIT SERVICE — FIX CLIPPED TEXT IN ALL SELECTS
   Applies to Category, Subcategory, Price Type and Location.
   ========================================================= */
body.edit-service-page #editServiceForm select {
    height: 36px !important;
    min-height: 36px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 10px !important;
    padding-right: 32px !important;
    line-height: 36px !important;
    font-size: 0.86rem !important;
    font-weight: 400 !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
}

/* Keep native dropdown list readable and consistent */
body.edit-service-page #editServiceForm select option {
    background: #64748b !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 0.86rem !important;
}


/* =========================================================
   MY LISTINGS — summary color, lighter pills, compact actions
   ========================================================= */

/* 1) Top-left listing count / active-inactive summary */
body.my-listings-page #summaryLine {
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* 2) Card pills: Room / House, Nanny, Active, Inactive */
body.my-listings-page .listing-type-pill,
body.my-listings-page .status-pill {
    font-weight: 400 !important;
}

/* 3) Compact Edit / Activate / Deactivate buttons */
body.my-listings-page .my-listing-actions .btn,
body.my-listings-page .my-listing-actions a.btn {
    min-height: 30px !important;
    padding: 4px 8px !important;
    border-radius: 9px !important;
    font-size: 0.76rem !important;
    font-weight: 500 !important;
    line-height: 1.1 !important;
    gap: 4px !important;
}

body.my-listings-page .my-listing-actions .btn i,
body.my-listings-page .my-listing-actions a.btn i {
    margin-right: 2px !important;
    font-size: 0.72rem !important;
}

body.my-listings-page .my-listing-actions {
    gap: 6px !important;
    margin-top: 9px !important;
}


/* My Listings - compact Refresh button */
body.my-listings-page #refreshButton {
    min-height: 30px !important;
    height: 30px !important;
    padding: 4px 9px !important;
    border-radius: 9px !important;

    font-size: 0.76rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    gap: 4px !important;
}

body.my-listings-page #refreshButton i {
    font-size: 0.72rem !important;
    margin-right: 2px !important;
}

/* =========================================================
   FAVORITES PAGE - simplified hero + compact action buttons
   ========================================================= */

/* Removed right-side Favorites guide: use the full hero width */
body.favorites-dashboard-page .my-listings-hero-grid {
    grid-template-columns: 1fr !important;
}

body.favorites-dashboard-page .my-listings-copy {
    max-width: 900px !important;
}

/* Refresh - compact and unbold */
body.favorites-dashboard-page #refreshFavorites {
    min-height: 30px !important;
    height: 30px !important;
    padding: 4px 9px !important;
    border-radius: 9px !important;
    font-size: 0.76rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    gap: 4px !important;
}

body.favorites-dashboard-page #refreshFavorites i {
    font-size: 0.72rem !important;
    margin-right: 2px !important;
}

/* View + Remove - compact and unbold */
body.favorites-dashboard-page #favoritesSections .my-listing-actions {
    gap: 6px !important;
    margin-top: 9px !important;
}

body.favorites-dashboard-page #favoritesSections .my-listing-actions .btn {
    min-height: 30px !important;
    height: 30px !important;
    padding: 4px 8px !important;
    border-radius: 9px !important;
    font-size: 0.76rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    gap: 4px !important;
}

body.favorites-dashboard-page #favoritesSections .my-listing-actions .btn i {
    font-size: 0.72rem !important;
    margin-right: 2px !important;
}


/* =========================================================
   FAVORITES - compact category heading rows
   Applies to Room / House, Nanny, and Service Favorites
   ========================================================= */

body.favorites-dashboard-page .favorites-category-heading {
    min-height: 48px !important;
    padding: 6px 0 8px !important;
    margin-bottom: 10px !important;
    gap: 10px !important;
}

body.favorites-dashboard-page .favorites-category-heading > div {
    gap: 10px !important;
}

/* Category icon */
body.favorites-dashboard-page .favorites-category-icon {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    border-radius: 10px !important;
    font-size: 0.82rem !important;
}

/* Room / House Favorites, Nanny Favorites, Service Favorites */
body.favorites-dashboard-page .favorites-category-heading h2 {
    font-size: 1rem !important;
    line-height: 1.15 !important;
    font-weight: 600 !important;
    margin: 0 0 2px 0 !important;
}

/* "4 saved listings", "2 saved listings", etc. */
body.favorites-dashboard-page .favorites-category-heading p {
    font-size: 0.76rem !important;
    line-height: 1.1 !important;
    font-weight: 400 !important;
    margin: 0 !important;
}

/* Browse more */
body.favorites-dashboard-page .favorites-browse-link {
    font-size: 0.76rem !important;
    line-height: 1 !important;
    font-weight: 500 !important;
    padding: 4px 0 !important;
}

/* Reduce spacing below each category heading before cards */
body.favorites-dashboard-page .favorites-category-section {
    margin-bottom: 24px !important;
}

body.favorites-dashboard-page .favorites-category-grid {
    margin-top: 8px !important;
}

/* Favorites - reduce gap above category headings by one row */
body.favorites-dashboard-page .favorites-category-section:first-child {
    margin-top: -20px !important;
}



/* =========================================================
   HOME PAGE - compact typography + checkbox listing filters
   ========================================================= */

/* 1) Main hero headline - reasonably smaller */
body.index-page.full-market-home .marketplace-hero-title {
    font-size: clamp(2.6rem, 4.8vw, 4.8rem) !important;
    line-height: 1.02 !important;
}

/* 2) KPI numbers, labels and icons - smaller + unbold */
body.index-page.full-market-home .marketplace-stat-icon {
    width: 46px !important;
    height: 46px !important;
    flex-basis: 46px !important;
    border-radius: 14px !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
}

body.index-page.full-market-home .marketplace-stat strong {
    font-size: clamp(1.1rem, 1.45vw, 1.4rem) !important;
    font-weight: 400 !important;
}

body.index-page.full-market-home .marketplace-stat span {
    margin-top: 3px !important;
    font-size: 0.82rem !important;
    font-weight: 400 !important;
}

/* 3) Featured heading + slider image title - unbold */
body.index-page.full-market-home .marketplace-featured-heading {
    font-size: 0.80rem !important;
    font-weight: 400 !important;
}

body.index-page.full-market-home #latestImageSlider .hero-slide span {
    font-size: 0.78rem !important;
    font-weight: 400 !important;
    padding: 7px 11px !important;
}

/* 4) Latest Active Listings + View all listings - smaller + unbold */
body.index-page.full-market-home .marketplace-section-head h2 {
    font-size: clamp(1.25rem, 1.8vw, 1.55rem) !important;
    font-weight: 400 !important;
}

body.index-page.full-market-home .marketplace-view-all {
    font-size: 0.82rem !important;
    font-weight: 400 !important;
}

/* 5) Remove All pill; show real checkboxes; keep category labels unbold */
body.index-page.full-market-home .marketplace-all-pill {
    display: none !important;
}

body.index-page.full-market-home .home-listing-type-filters label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    cursor: pointer !important;
}

body.index-page.full-market-home .home-listing-type-filters input[type="checkbox"] {
    position: static !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    margin: 0 !important;
    accent-color: #2563eb;
}

body.index-page.full-market-home .home-listing-type-filters label > span {
    min-height: 32px !important;
    padding: 5px 10px !important;
    gap: 5px !important;
    font-size: 0.78rem !important;
    font-weight: 400 !important;
}

body.index-page.full-market-home .home-listing-type-filters label > span i {
    font-size: 0.72rem !important;
}

body.index-page.full-market-home .home-listing-type-filters label:has(input:checked) > span {
    font-weight: 400 !important;
}

/* 6) Listing prices (monthly/hourly/etc.) - smaller + unbold */
body.index-page.full-market-home .home-listing-card .home-listing-price {
    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
}



/* =========================================================
   HOME PAGE - KPI + listing filter alignment
   ========================================================= */

/* HOME - truly center the 3 KPI items as one group */
body.index-page.full-market-home .marketplace-stats {
    display: flex !important;
    width: fit-content !important;
    max-width: 100% !important;

    margin-left: auto !important;
    margin-right: auto !important;

    justify-content: center !important;
    align-items: center !important;

    gap: 28px !important;
}

/* Prevent each KPI from stretching */
body.index-page.full-market-home .marketplace-stat {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 190px !important;
}


/* 2. Move listing-type checkboxes to the right */
body.index-page.full-market-home .marketplace-latest-toolbar {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    width: 100% !important;
}

body.index-page.full-market-home .home-listing-type-filters {
    width: auto !important;
    margin-left: auto !important;
    justify-content: flex-end !important;
}

/* =========================================================
   HOME PAGE - FOUR KPI ROW
   ========================================================= */
body.index-page.full-market-home .marketplace-stats {
    display: flex !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
}

body.index-page.full-market-home .marketplace-stat {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 175px !important;
}

body.index-page.full-market-home .marketplace-stat-orange .marketplace-stat-icon {
    background: #f59e0b !important;
}

@media (max-width: 900px) {
    body.index-page.full-market-home .marketplace-stats {
        width: 100% !important;
        flex-wrap: wrap !important;
    }
}



/* =========================================================
   ROOMMATE LISTINGS - compact pagination
   ========================================================= */

body.roommate-listings-page .pagination-controls {
    gap: 8px !important;
    margin-top: 14px !important;
}

/* Page 1 of 13 */
body.roommate-listings-page .pagination-info {
    color: #ffffff !important;
    font-size: 0.78rem !important;
    font-weight: 200 !important;
    line-height: 1 !important;
}

/* Prev + Next */
body.roommate-listings-page .pagination-controls button {
    min-height: 30px !important;
    height: 30px !important;
    min-width: 0 !important;
    padding: 4px 10px !important;
    border-radius: 9px !important;
    font-size: 0.76rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    gap: 5px !important;
}

/* Smaller arrow icons */
body.roommate-listings-page .pagination-controls button i {
    font-size: 0.70rem !important;
}

/* Roommate Listings - unbold amenity pills */
body.roommate-listings-page .listing-tags span {
    font-weight: 300 !important;
}


/* =========================================================
   NANNY LISTINGS - unbold feature pills
   ========================================================= */

body.nanny-listings-page .listing-tags span {
    font-weight: 400 !important;
}


/* =========================================================
   NANNY LISTINGS - compact pagination
   ========================================================= */

body.nanny-listings-page .pagination-controls {
    gap: 8px !important;
    margin-top: 14px !important;
}

/* Page 1 of 13 */
body.nanny-listings-page .pagination-info {
    color: #ffffff !important;
    font-size: 0.78rem !important;
    font-weight: 300 !important;
    line-height: 1 !important;
}

/* Prev + Next */
body.nanny-listings-page .pagination-controls button {
    min-height: 30px !important;
    height: 30px !important;
    min-width: 0 !important;
    padding: 4px 10px !important;
    border-radius: 9px !important;
    font-size: 0.76rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    gap: 5px !important;
}

/* Smaller arrows */
body.nanny-listings-page .pagination-controls button i {
    font-size: 0.70rem !important;
}



/* =========================================================
   NANNY LISTINGS - MATCH ROOMMATE AMENITY PILLS
   ========================================================= */

body.nanny-listings-page .nanny-card .nanny-tags span {
    background: rgba(255, 255, 255, 0.10) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;

    font-size: 0.75rem !important;
    font-weight: 300 !important;

    padding: 4px 7px !important;
    border-radius: 999px !important;
    line-height: 1.1 !important;
}


/* =========================================================
   SERVICE LISTINGS - compact pagination
   ========================================================= */

body.service-listings-page .pagination-controls {
    gap: 8px !important;
    margin-top: 14px !important;
}

/* Page 1 of 13 */
body.service-listings-page .pagination-info {
    color: #ffffff !important;
    font-size: 0.78rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;
}

/* Prev + Next */
body.service-listings-page .pagination-controls button {
    min-height: 30px !important;
    height: 30px !important;
    min-width: 0 !important;
    padding: 4px 10px !important;
    border-radius: 9px !important;
    font-size: 0.76rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    gap: 5px !important;
}

/* Smaller arrow icons */
body.service-listings-page .pagination-controls button i {
    font-size: 0.70rem !important;
}

/* =========================================================
   ALL LISTING CARDS - SAME PRICE STYLE
   Roommate + Nanny + Service
   ========================================================= */

body.roommate-listings-page .listing-price,
body.nanny-listings-page .nanny-price,
body.service-listings-page .service-price {
    color: #0d6efd !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    margin: 6px 0 !important;
}

/* =========================================================
   POST ROOMMATE - PROFESSIONAL SIMPLE HERO + VERTICAL TIPS
   ========================================================= */

/* Keep hero content and form on one clean left alignment axis */
body.post-roommate-page .post-roommate-hero-grid,
body.post-roommate-page main > section:not(.post-roommate-hero) > .container {
    width: min(1180px, 92%) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.post-roommate-page .post-roommate-copy {
    width: 100% !important;
    max-width: 820px !important;
}

body.post-roommate-page .post-roommate-copy h1 {
    max-width: 820px !important;
    line-height: 1.08 !important;
    margin-bottom: 10px !important;
}

body.post-roommate-page .post-roommate-copy > p {
    max-width: 650px !important;
    margin-top: 14px !important;
    margin-bottom: 0 !important;
    color: rgba(226,232,240,.76) !important;
    font-size: .90rem !important;
    line-height: 1.55 !important;
}

/* Three clean vertical tips with no outer card */
body.post-roommate-page .post-roommate-quick-tips {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 9px !important;
    width: 100% !important;
    max-width: 590px !important;
    margin: 20px 0 24px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.post-roommate-page .post-roommate-quick-tip {
    display: grid !important;
    grid-template-columns: 36px minmax(0,1fr) !important;
    align-items: center !important;
    gap: 11px !important;
    width: 100% !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 2px 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.post-roommate-page .quick-tip-icon {
    width: 34px !important;
    height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 9px !important;
    background: rgba(248,250,252,.96) !important;
    border: 1px solid rgba(255,255,255,.30) !important;
    color: #2563eb !important;
    font-size: .84rem !important;
    box-shadow: 0 5px 14px rgba(2,8,23,.14) !important;
}

body.post-roommate-page .quick-tip-text {
    min-width: 0 !important;
}

body.post-roommate-page .quick-tip-text strong {
    display: block !important;
    color: #f8fafc !important;
    font-size: .82rem !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    margin: 0 0 2px !important;
}

body.post-roommate-page .quick-tip-text span {
    display: block !important;
    color: rgba(203,213,225,.78) !important;
    font-size: .71rem !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
}

/* Pull the form closer to the hero and make it feel intentional */
body.post-roommate-page .post-roommate-hero {
    padding-bottom: 4px !important;
}

body.post-roommate-page main > section:not(.post-roommate-hero) {
    padding-top: 0 !important;
}

body.post-roommate-page .roommate-post-card {
    width: 100% !important;
    max-width: 980px !important;
    margin: 0 !important;
    padding: 22px !important;
    background: rgba(71,85,105,.84) !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    border-radius: 22px !important;
    box-shadow: 0 18px 45px rgba(2,8,23,.22), 0 6px 16px rgba(2,8,23,.10) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Cleaner form controls against the slate card */
body.post-roommate-page .roommate-post-card input:not([type="checkbox"]):not([type="file"]),
body.post-roommate-page .roommate-post-card select,
body.post-roommate-page .roommate-post-card textarea {
    background: rgba(255,255,255,.08) !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    color: #f8fafc !important;
    box-shadow: none !important;
}

body.post-roommate-page .roommate-post-card input::placeholder,
body.post-roommate-page .roommate-post-card textarea::placeholder {
    color: rgba(226,232,240,.68) !important;
}

body.post-roommate-page .roommate-post-card select option {
    background: #64748b !important;
    color: #fff !important;
}

@media (max-width: 700px) {
    body.post-roommate-page .post-roommate-hero-grid,
    body.post-roommate-page main > section:not(.post-roommate-hero) > .container {
        width: 94% !important;
    }

    body.post-roommate-page .post-roommate-quick-tips {
        max-width: 100% !important;
    }

    body.post-roommate-page .roommate-post-card {
        max-width: 100% !important;
        padding: 16px !important;
    }
}

/* =========================================================
   POST ROOMMATE - MINIMAL HERO TYPOGRAPHY
   ========================================================= */
body.post-roommate-page .post-roommate-copy h1 {
    max-width: 760px !important;
    font-size: clamp(2rem, 3.2vw, 3.15rem) !important;
    font-weight: 600 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.025em !important;
    margin: 0 0 10px !important;
}

body.post-roommate-page .post-roommate-copy h1 + h1 {
    margin-top: 4px !important;
    font-size: clamp(1.85rem, 2.9vw, 2.85rem) !important;
    line-height: 1.12 !important;
}

body.post-roommate-page .post-roommate-copy p {
    max-width: 610px !important;
    margin: 14px 0 0 !important;
    font-size: 0.84rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: rgba(203, 213, 225, 0.72) !important;
}

body.post-roommate-page .post-roommate-hero {
    padding-top: 42px !important;
    padding-bottom: 8px !important;
}

@media (max-width: 700px) {
    body.post-roommate-page .post-roommate-copy h1 {
        font-size: clamp(1.75rem, 8vw, 2.25rem) !important;
    }
    body.post-roommate-page .post-roommate-copy h1 + h1 {
        font-size: clamp(1.6rem, 7vw, 2.05rem) !important;
    }
}

/* =========================================================
   POST ROOMMATE - REFINED HERO TYPE + PROFESSIONAL PALETTE
   Hero/tips only. Form card intentionally untouched.
   ========================================================= */
body.post-roommate-page .post-roommate-copy h1 {
    max-width: 760px !important;
    font-size: clamp(1.72rem, 2.45vw, 2.45rem) !important;
    font-weight: 550 !important;
    line-height: 1.12 !important;
    letter-spacing: -0.018em !important;
    color: #f8fafc !important;
    text-shadow: 0 2px 12px rgba(2, 8, 23, .24) !important;
    margin: 0 0 8px !important;
}

/* Amharic heading: slightly softer blue-white for hierarchy */
body.post-roommate-page .post-roommate-copy h1 + h1 {
    max-width: 760px !important;
    margin-top: 5px !important;
    font-size: clamp(1.62rem, 2.25vw, 2.25rem) !important;
    font-weight: 500 !important;
    line-height: 1.16 !important;
    letter-spacing: 0 !important;
    color: #dbeafe !important;
    text-shadow: 0 2px 12px rgba(2, 8, 23, .22) !important;
}

/* Supporting sentence */
body.post-roommate-page .post-roommate-copy p {
    max-width: 590px !important;
    margin: 13px 0 0 !important;
    font-size: .80rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #aebed1 !important;
}

/* Keep tips readable without competing with the headings */
body.post-roommate-page .quick-tip-text strong {
    color: #eaf2ff !important;
    font-size: .78rem !important;
    font-weight: 500 !important;
}

body.post-roommate-page .quick-tip-text span {
    color: #9fb0c5 !important;
    font-size: .68rem !important;
    font-weight: 400 !important;
}

body.post-roommate-page .quick-tip-icon {
    color: #1d4ed8 !important;
    background: rgba(239, 246, 255, .96) !important;
    border-color: rgba(147, 197, 253, .38) !important;
}

@media (max-width: 700px) {
    body.post-roommate-page .post-roommate-copy h1 {
        font-size: clamp(1.55rem, 7vw, 1.95rem) !important;
    }

    body.post-roommate-page .post-roommate-copy h1 + h1 {
        font-size: clamp(1.45rem, 6.5vw, 1.82rem) !important;
    }
}


/* =====================================================================
   POST ROOMMATE — FINAL CREATIVE HERO + FORM HEADING
   ===================================================================== */
body.post-roommate-page .post-roommate-hero {
  padding-top: 54px !important;
  padding-bottom: 16px !important;
}

body.post-roommate-page .post-roommate-hero-grid {
  width: min(1120px, 92%) !important;
  margin: 0 auto !important;
}

body.post-roommate-page .post-roommate-copy {
  width: 100% !important;
  max-width: 760px !important;
}

body.post-roommate-page .post-roommate-copy > h1 {
  max-width: 750px !important;
  margin: 0 0 26px !important;
  color: #f8fafc !important;
  font-size: clamp(2rem, 3.1vw, 3.05rem) !important;
  font-weight: 600 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.025em !important;
  text-shadow: 0 2px 14px rgba(2,8,23,.25) !important;
}

/* Three guidance rows: no enclosing card and no tips heading */
body.post-roommate-page .post-roommate-creative-tips {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 520px !important;
  gap: 0 !important;
  margin: 0 0 34px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.post-roommate-page .post-roommate-creative-tip {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 52px minmax(0,1fr) 40px !important;
  align-items: center !important;
  gap: 13px !important;
  min-height: 76px !important;
  padding: 9px 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.post-roommate-page .post-roommate-creative-tip:not(:last-child)::after {
  content: "" !important;
  position: absolute !important;
  left: 65px !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 1px !important;
  background: linear-gradient(90deg, rgba(148,163,184,.34), rgba(148,163,184,.04)) !important;
}

body.post-roommate-page .creative-tip-icon {
  width: 48px !important;
  height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 14px !important;
  font-size: .98rem !important;
  border: 1px solid rgba(255,255,255,.56) !important;
  box-shadow: 0 9px 20px rgba(2,8,23,.17), inset 0 1px 0 rgba(255,255,255,.72) !important;
}

body.post-roommate-page .tip-photo .creative-tip-icon {
  color: #2563eb !important;
  background: linear-gradient(145deg,#ffffff,#dbeafe) !important;
}
body.post-roommate-page .tip-amenities .creative-tip-icon {
  color: #0f9f94 !important;
  background: linear-gradient(145deg,#f0fdfa,#ccfbf1) !important;
}
body.post-roommate-page .tip-preferences .creative-tip-icon {
  color: #ea580c !important;
  background: linear-gradient(145deg,#fff7ed,#ffedd5) !important;
}

body.post-roommate-page .creative-tip-copy strong {
  display: block !important;
  margin: 0 0 3px !important;
  color: #f8fafc !important;
  font-size: .89rem !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
}

body.post-roommate-page .creative-tip-copy span {
  display: block !important;
  color: #b8c7da !important;
  font-size: .76rem !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
}

body.post-roommate-page .creative-tip-accent {
  width: 34px !important;
  height: 34px !important;
  opacity: .82 !important;
  background-image: radial-gradient(circle,currentColor 1.3px,transparent 1.5px) !important;
  background-size: 9px 9px !important;
}
body.post-roommate-page .tip-photo .creative-tip-accent { color:#60a5fa !important; }
body.post-roommate-page .tip-amenities .creative-tip-accent { color:#2dd4bf !important; }
body.post-roommate-page .tip-preferences .creative-tip-accent { color:#fb923c !important; }

/* Keep the existing form/container styling; only add a title INSIDE it */
body.post-roommate-page .roommate-form-heading {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 0 18px !important;
  padding: 0 0 14px !important;
  border-bottom: 1px solid rgba(255,255,255,.12) !important;
}

body.post-roommate-page .roommate-form-heading-icon {
  width: 38px !important;
  height: 38px !important;
  flex: 0 0 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 11px !important;
  color: #ffffff !important;
  background: linear-gradient(135deg,#3b82f6,#2563eb) !important;
  font-size: .9rem !important;
  box-shadow: 0 8px 18px rgba(37,99,235,.22) !important;
}

body.post-roommate-page .roommate-form-heading-copy h2 {
  margin: 0 0 2px !important;
  color: #f8fafc !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
}

body.post-roommate-page .roommate-form-heading-copy p {
  margin: 0 !important;
  color: #aebed1 !important;
  font-size: .75rem !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
}

body.post-roommate-page main > section:not(.post-roommate-hero) {
  padding-top: 0 !important;
}

body.post-roommate-page .roommate-post-card {
  margin-top: 0 !important;
}

@media (max-width:700px) {
  body.post-roommate-page .post-roommate-copy > h1 { font-size: 2rem !important; }
  body.post-roommate-page .post-roommate-creative-tip {
    grid-template-columns: 46px minmax(0,1fr) !important;
    min-height: 70px !important;
  }
  body.post-roommate-page .creative-tip-icon { width:42px !important; height:42px !important; }
  body.post-roommate-page .creative-tip-accent { display:none !important; }
}



/* =========================================================
   POST ROOMMATE - FIX MOVE IN DATE OVERLAP
   ========================================================= */

body.post-roommate-page .custom-date-wrap {
    position: relative !important;
}


/* Hide browser date characters while field is empty */
body.post-roommate-page
.custom-date-wrap
input[type="date"]::-webkit-datetime-edit {
    color: transparent !important;
}


/* Show actual date while focused */
body.post-roommate-page
.custom-date-wrap
input[type="date"]:focus::-webkit-datetime-edit {
    color: #f8fafc !important;
}


/* Show actual date after a date has been selected */
body.post-roommate-page
.custom-date-wrap
input[type="date"]:valid::-webkit-datetime-edit {
    color: #f8fafc !important;
}


/* Your custom Move In Date text */
body.post-roommate-page .custom-date-placeholder {
    position: absolute !important;

    left: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;

    color: rgba(226,232,240,.70) !important;

    font-size: 0.82rem !important;
    font-weight: 400 !important;

    pointer-events: none !important;

    transition: opacity .15s ease !important;
}


/* Hide custom text when clicking the field */
body.post-roommate-page
.custom-date-wrap:focus-within
.custom-date-placeholder {
    opacity: 0 !important;
}


/* Hide custom text once a date exists */
body.post-roommate-page
.custom-date-wrap
input[type="date"]:valid + .custom-date-placeholder {
    opacity: 0 !important;
}






/* POST ROOMMATE - WIDEN TOP CONTENT */

body.post-roommate-page .post-roommate-hero-grid {
    width: min(1280px, 94%) !important;
    max-width: 1280px !important;
}

body.post-roommate-page .post-roommate-copy {
    width: 100% !important;
    max-width: 950px !important;
}

body.post-roommate-page .post-roommate-copy > h1 {
    width: 100% !important;
    max-width: 950px !important;
}


/* =====================================================================
   POST ROOMMATE - FINAL LEFT ALIGNMENT
   Align Roommate Listing Details card with hero heading/tips
   ===================================================================== */

/* Keep the preferred hero width/alignment */
body.post-roommate-page .post-roommate-hero-grid {
    width: min(1280px, 94%) !important;
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.post-roommate-page .post-roommate-copy {
    width: 100% !important;
    max-width: 950px !important;
}

body.post-roommate-page .post-roommate-copy > h1 {
    width: 100% !important;
    max-width: 950px !important;
}

/* Give the section below the hero the exact same left/right guide */
body.post-roommate-page main > section:not(.post-roommate-hero) > .container {
    width: min(1280px, 94%) !important;
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Anchor the form card to the LEFT instead of centering it */
body.post-roommate-page .roommate-post-card {
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* Preserve responsive behavior */
@media (max-width: 700px) {
    body.post-roommate-page .post-roommate-hero-grid,
    body.post-roommate-page main > section:not(.post-roommate-hero) > .container {
        width: 94% !important;
        max-width: 94% !important;
    }

    body.post-roommate-page .roommate-post-card {
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
    }
}


/* =====================================================================
   POST NANNY + POST SERVICE
   Match the approved Post Roommate page structure
   ===================================================================== */

/* Same left guide as Post Roommate */
body.post-nanny-page .post-nanny-hero-grid,
body.post-service-page .post-service-hero-grid,
body.post-nanny-page main > section:not(.post-nanny-hero) > .container,
body.post-service-page main > section:not(.post-service-hero) > .container {
    width: min(1280px, 94%) !important;
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.post-nanny-page .post-nanny-copy,
body.post-service-page .post-service-copy {
    width: 100% !important;
    max-width: 950px !important;
}

body.post-nanny-page .post-nanny-copy > h1,
body.post-service-page .post-service-copy > h1 {
    width: 100% !important;
    max-width: 950px !important;
    margin: 0 0 26px !important;
    color: #f8fafc !important;
    font-size: clamp(2rem, 3.1vw, 3.05rem) !important;
    font-weight: 600 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.025em !important;
    text-shadow: 0 2px 14px rgba(2,8,23,.25) !important;
}

/* Creative tips: no large outer tip container */
body.post-nanny-page .post-nanny-creative-tips,
body.post-service-page .post-service-creative-tips {
    width: 100% !important;
    max-width: 950px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.post-nanny-page .post-nanny-creative-tip,
body.post-service-page .post-service-creative-tip {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 38px minmax(0,1fr) auto !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 56px !important;
    padding: 9px 4px !important;
    border-bottom: 1px solid rgba(255,255,255,.13) !important;
    background: transparent !important;
}

body.post-nanny-page .post-nanny-creative-tip:last-child,
body.post-service-page .post-service-creative-tip:last-child {
    border-bottom: 0 !important;
}

body.post-nanny-page .post-nanny-creative-tip .creative-tip-icon,
body.post-service-page .post-service-creative-tip .creative-tip-icon {
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: .86rem !important;
    background: rgba(255,255,255,.94) !important;
}

body.post-nanny-page .post-nanny-creative-tip.tip-profile .creative-tip-icon,
body.post-service-page .post-service-creative-tip.tip-offer .creative-tip-icon { color: #2563eb !important; }

body.post-nanny-page .post-nanny-creative-tip.tip-availability .creative-tip-icon,
body.post-service-page .post-service-creative-tip.tip-photos .creative-tip-icon { color: #0f9f8f !important; }

body.post-nanny-page .post-nanny-creative-tip.tip-strengths .creative-tip-icon,
body.post-service-page .post-service-creative-tip.tip-contact .creative-tip-icon { color: #f59e0b !important; }

body.post-nanny-page .post-nanny-creative-tip .creative-tip-copy strong,
body.post-service-page .post-service-creative-tip .creative-tip-copy strong {
    display: block !important;
    color: #f8fafc !important;
    font-size: .89rem !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    margin-bottom: 2px !important;
}

body.post-nanny-page .post-nanny-creative-tip .creative-tip-copy span,
body.post-service-page .post-service-creative-tip .creative-tip-copy span {
    display: block !important;
    color: rgba(226,232,240,.74) !important;
    font-size: .76rem !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
}

body.post-nanny-page .post-nanny-creative-tip .creative-tip-accent,
body.post-service-page .post-service-creative-tip .creative-tip-accent {
    width: 24px !important;
    height: 8px !important;
    opacity: .65 !important;
    background-image: radial-gradient(circle, rgba(255,255,255,.60) 1.2px, transparent 1.4px) !important;
    background-size: 6px 6px !important;
}

/* Left-anchor lower large containers without changing their internal fields */
body.post-nanny-page .post-nanny-card,
body.post-service-page .post-service-big-container {
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* Form headings matching Post Roommate */
body.post-nanny-page .nanny-form-heading,
body.post-service-page .service-form-heading {
    display: flex !important;
    align-items: center !important;
    gap: 11px !important;
    padding: 0 0 14px !important;
    margin: 0 0 16px !important;
    border-bottom: 1px solid rgba(255,255,255,.14) !important;
}

body.post-nanny-page .nanny-form-heading-icon,
body.post-service-page .service-form-heading-icon {
    width: 36px !important;
    height: 36px !important;
    flex: 0 0 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    background: #2563eb !important;
    color: #fff !important;
    font-size: .86rem !important;
}

body.post-nanny-page .nanny-form-heading h2,
body.post-service-page .service-form-heading h2 {
    margin: 0 !important;
    color: #f8fafc !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

body.post-nanny-page .nanny-form-heading p,
body.post-service-page .service-form-heading p {
    margin: 3px 0 0 !important;
    color: rgba(226,232,240,.70) !important;
    font-size: .75rem !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
}

/* Service: the old explanatory note is replaced by the compact heading */
body.post-service-page .post-service-big-container .service-form-heading {
    margin-bottom: 12px !important;
}

/* Avoid old note styling affecting the new layout */
body.post-service-page .post-service-big-container #serviceForm.post-service-card {
    margin-left: 0 !important;
    margin-right: auto !important;
}

@media (max-width: 700px) {
    body.post-nanny-page .post-nanny-hero-grid,
    body.post-service-page .post-service-hero-grid,
    body.post-nanny-page main > section:not(.post-nanny-hero) > .container,
    body.post-service-page main > section:not(.post-service-hero) > .container {
        width: 94% !important;
        max-width: 94% !important;
    }

    body.post-nanny-page .post-nanny-creative-tip,
    body.post-service-page .post-service-creative-tip {
        grid-template-columns: 34px minmax(0,1fr) !important;
    }

    body.post-nanny-page .creative-tip-accent,
    body.post-service-page .creative-tip-accent {
        display: none !important;
    }
}


/* =====================================================================
   FINAL POST NANNY / POST SERVICE POLISH
   Based on the current 2026-08-28 uploaded files
   ===================================================================== */

/* Keep hero/top alignment identical to Post Roommate */
body.post-nanny-page .post-nanny-hero-grid,
body.post-service-page .post-service-hero-grid,
body.post-nanny-page main > section:not(.post-nanny-hero) > .container,
body.post-service-page main > section:not(.post-service-hero) > .container {
    width: min(1280px, 94%) !important;
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.post-nanny-page .post-nanny-copy,
body.post-service-page .post-service-copy,
body.post-nanny-page .post-nanny-copy > h1,
body.post-service-page .post-service-copy > h1 {
    width: 100% !important;
    max-width: 950px !important;
}

/* Resize the two large form containers so they do not stretch unnecessarily */
body.post-nanny-page .post-nanny-card {
    width: min(980px, 100%) !important;
    max-width: 980px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

body.post-service-page .post-service-big-container {
    width: min(980px, 100%) !important;
    max-width: 980px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* Nanny title inside the big container — same treatment as Roommate */
body.post-nanny-page .nanny-form-heading,
body.post-service-page .service-form-heading {
    display: flex !important;
    align-items: center !important;
    gap: 11px !important;
    padding: 0 0 14px !important;
    margin: 0 0 16px !important;
    border-bottom: 1px solid rgba(255,255,255,.14) !important;
}

body.post-nanny-page .nanny-form-heading-icon,
body.post-service-page .service-form-heading-icon {
    width: 36px !important;
    height: 36px !important;
    flex: 0 0 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    background: #2563eb !important;
    color: #ffffff !important;
    font-size: .86rem !important;
}

body.post-nanny-page .nanny-form-heading h2,
body.post-service-page .service-form-heading h2 {
    margin: 0 !important;
    color: #f8fafc !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

body.post-nanny-page .nanny-form-heading p,
body.post-service-page .service-form-heading p {
    margin: 3px 0 0 !important;
    color: rgba(226,232,240,.70) !important;
    font-size: .75rem !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
}

/* The Roommate-style dotted accent at the right of every tip */
body.post-nanny-page .post-nanny-creative-tip,
body.post-service-page .post-service-creative-tip {
    display: grid !important;
    grid-template-columns: 38px minmax(0,1fr) 30px !important;
    align-items: center !important;
    column-gap: 12px !important;
}

body.post-nanny-page .post-nanny-creative-tip .creative-tip-accent,
body.post-service-page .post-service-creative-tip .creative-tip-accent {
    display: block !important;
    width: 28px !important;
    height: 28px !important;
    justify-self: end !important;
    opacity: .90 !important;
    background-image: radial-gradient(circle, currentColor 1.25px, transparent 1.45px) !important;
    background-size: 7px 7px !important;
    background-position: center !important;
}

/* Match the three Roommate accent colors */
body.post-nanny-page .post-nanny-creative-tip:nth-child(1) .creative-tip-accent,
body.post-service-page .post-service-creative-tip:nth-child(1) .creative-tip-accent {
    color: #60a5fa !important;
}

body.post-nanny-page .post-nanny-creative-tip:nth-child(2) .creative-tip-accent,
body.post-service-page .post-service-creative-tip:nth-child(2) .creative-tip-accent {
    color: #2dd4bf !important;
}

body.post-nanny-page .post-nanny-creative-tip:nth-child(3) .creative-tip-accent,
body.post-service-page .post-service-creative-tip:nth-child(3) .creative-tip-accent {
    color: #fb923c !important;
}

/* Keep service form itself transparent inside the one large outer container */
body.post-service-page .post-service-big-container #serviceForm.post-service-card {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

@media (max-width: 800px) {
    body.post-nanny-page .post-nanny-card,
    body.post-service-page .post-service-big-container {
        width: 100% !important;
        max-width: 100% !important;
    }

    body.post-nanny-page .post-nanny-creative-tip,
    body.post-service-page .post-service-creative-tip {
        grid-template-columns: 34px minmax(0,1fr) !important;
    }

    body.post-nanny-page .post-nanny-creative-tip .creative-tip-accent,
    body.post-service-page .post-service-creative-tip .creative-tip-accent {
        display: none !important;
    }
}


/* NANNY + SERVICE - MATCH ROOMMATE TIP/DIVIDER VERTICAL SPACING */

body.post-nanny-page .post-nanny-creative-tip,
body.post-service-page .post-service-creative-tip {
    min-height: 76px !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

/* Horizontal divider between tips */
body.post-nanny-page .post-nanny-creative-tip:not(:last-child)::after,
body.post-service-page .post-service-creative-tip:not(:last-child)::after {
    content: "" !important;
    position: absolute !important;
    left: 65px !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 1px !important;
    background: linear-gradient(
        90deg,
        rgba(148, 163, 184, 0.34),
        rgba(148, 163, 184, 0.04)
    ) !important;
}




/* =========================================================
   POST NANNY - FINAL COMPACT BOTTOM SECTION
   ========================================================= */

/* Photos heading */
body.post-nanny-page #nannyForm h3 {
    margin-top: 6px !important;
    margin-bottom: 2px !important;
    padding: 0 !important;
    line-height: 1.15 !important;
}

/* Text below Photos */
body.post-nanny-page #nannyForm h3 + p {
    margin: 0 0 3px 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    font-size: 0.73rem !important;
}

/* File chooser */
body.post-nanny-page #nannyForm #photos {
    display: block !important;

    width: 260px !important;
    max-width: 260px !important;
    min-width: 0 !important;

    height: 29px !important;
    min-height: 29px !important;

    margin: 2px 0 5px 0 !important;
    padding: 1px 4px !important;

    font-size: 0.73rem !important;
    line-height: 1 !important;
}

/* Choose Files button */
body.post-nanny-page #nannyForm #photos::file-selector-button {
    height: 23px !important;
    padding: 1px 7px !important;
    margin: 1px 7px 1px 0 !important;

    font-size: 0.72rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    border-radius: 5px !important;
}

/* POST NANNY PROFILE - small LEFT aligned pill */
body.post-nanny-page #nannyForm button.btn.btn-primary[type="submit"],
body.post-nanny-page #nannyForm > .card-body > button.btn.btn-primary[type="submit"] {
    display: flex !important;

    width: 125px !important;
    min-width: 125px !important;
    max-width: 125px !important;

    height: 29px !important;
    min-height: 29px !important;

    margin: 5px auto 0 0 !important;
    padding: 2px 9px !important;

    font-size: 0.73rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    border-radius: 8px !important;

    align-items: center !important;
    justify-content: center !important;

    align-self: flex-start !important;
}

/* Remove unnecessary bottom space from form/card */
body.post-nanny-page #nannyForm {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

body.post-nanny-page .post-nanny-card .card-body {
    padding-bottom: 14px !important;
}


/* =========================================================
   MOBILE HEADER - FIX INVISIBLE MENU TEXT
   ========================================================= */

@media (max-width: 900px) {

    /* Mobile menu links */
    .main-menu a,
    .nav-links a,
    .nav-links .dropdown > a {
        color: #0f172a !important;
        -webkit-text-fill-color: #0f172a !important;
        opacity: 1 !important;
        font-weight: 500 !important;
    }

    /* Icons inside menu links */
    .main-menu a i,
    .nav-links a i,
    .nav-links .dropdown > a i {
        color: #2563eb !important;
        -webkit-text-fill-color: #2563eb !important;
        opacity: 1 !important;
    }

    /* Keep mobile menu button background light */
    .main-menu > a,
    .main-menu > .dropdown > a {
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
    }

    /* Dropdown arrow */
    .nav-links .dropdown > a {
        text-shadow: none !important;
    }

    /* Dropdown menu items */
    .dropdown-menu a {
        color: #0f172a !important;
        -webkit-text-fill-color: #0f172a !important;
        background: transparent !important;
    }

    .dropdown-menu a:hover {
        background: #eff6ff !important;
        color: #1d4ed8 !important;
    }

    /* Mobile profile button text */
    .profile-btn,
    .profile-btn span,
    #profileName {
        color: #0f172a !important;
        -webkit-text-fill-color: #0f172a !important;
        opacity: 1 !important;
    }
}

/* =========================================================
   MOBILE HEADER - FIX TOP RIGHT MENU BUTTON
   ========================================================= */

@media (max-width: 900px) {

    .mobile-menu-toggle {
        width: 42px !important;
        height: 42px !important;

        background: transparent !important;
        border: 1px solid rgba(255,255,255,.16) !important;

        color: #ffffff !important;

        border-radius: 10px !important;
        box-shadow: none !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        padding: 0 !important;
    }

    .mobile-menu-toggle i {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;

        font-size: 1.05rem !important;
        opacity: 1 !important;
    }

    .mobile-menu-toggle:hover,
    .mobile-menu-toggle:focus {
        background: rgba(255,255,255,.08) !important;
        border-color: rgba(255,255,255,.25) !important;
    }
}



/* =====================================================================
   SERVICE DETAILS - MOBILE CONTACT PROVIDER BEFORE REVIEWS
   Desktop layout remains unchanged.
   ===================================================================== */

@media (max-width: 850px) {

    body.service-details-page #detailsContent.nsd-layout {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "image"
            "summary"
            "info"
            "contact"
            "reviews" !important;
        gap: 14px !important;
    }

    body.service-details-page #detailsContent .nsd-image-card {
        grid-area: image !important;
    }

    body.service-details-page #detailsContent .service-summary-card {
        grid-area: summary !important;
    }

    body.service-details-page #detailsContent .service-info-card {
        grid-area: info !important;
    }

    body.service-details-page #detailsContent .service-contact-card {
        grid-area: contact !important;
        position: static !important;
        top: auto !important;
        width: 100% !important;
        margin: 0 !important;
    }

    body.service-details-page #detailsContent .nsd-review-card {
        grid-area: reviews !important;
    }
}


/* =========================================================
   NANNY DETAILS - MOBILE CONTACT BEFORE REVIEWS
   ========================================================= */

@media (max-width: 768px) {

    body.nanny-details-page #detailsContent.nsd-nanny-layout {
        grid-template-areas:
            "photo"
            "summary"
            "ninfo"
            "contact"
            "reviews" !important;
    }
}


/* =========================================================
   ROOMMATE DETAILS - MOBILE CONTACT AFTER AMENITIES
   ========================================================= */

@media (max-width: 700px) {

    body.roommate-details-page #detailsContent.roommate-matched-layout {
        grid-template-areas:
            "photo"
            "summary"
            "roominfo"
            "contact" !important;
    }
}




/* INDEX - reduce space between header and hero heading */
body.index-page.full-market-home .marketplace-full-hero {
    padding-top: 0px !important;
}

/* INDEX - keep hero subtitle on one line on desktop */
@media (min-width: 901px) {
    body.index-page.full-market-home .marketplace-hero-subtitle {
        max-width: none !important;
        width: max-content !important;
        white-space: nowrap !important;
    }
}

/* INDEX - little more space below hero subtitle */
body.index-page.full-market-home .marketplace-hero-subtitle {
    margin-bottom: 50px !important;
}











/* =========================================================
   INDEX - FINAL SEPARATE CONTAINERS
   NO VISIBLE OUTER CONTAINER

   1. KPI = own container
   2. Big image = own container
   3. Latest listings/cards = own container

   Image + Listings use same color/transparency as
   roommate_listings container.
   ========================================================= */


/* =========================================================
   INVISIBLE STRUCTURAL WRAPPER
   This exists in HTML but MUST NOT look like a container.
   ========================================================= */
body.index-page.full-market-home .marketplace-home-big-container {
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;

    box-sizing: border-box !important;
}


/* =========================================================
   IMPORTANT:
   marketplace-featured-wrap contains BOTH:
   - the large image
   - latest listings

   Therefore it cannot itself be a visible container.
   ========================================================= */
body.index-page.full-market-home .marketplace-featured-wrap {
    display: contents !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}


/* Hide old "Featured from the community" label */
body.index-page.full-market-home .marketplace-featured-heading {
    display: none !important;
}


/* =========================================================
   1. KPI - OWN CONTAINER
   ========================================================= */
body.index-page.full-market-home .marketplace-stats {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 18px 24px !important;

    background: rgba(71, 85, 105, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 24px !important;

    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.18),
        0 8px 22px rgba(15, 23, 42, 0.10) !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    box-sizing: border-box !important;
}


/* =========================================================
   2. BIG IMAGE - OWN CONTAINER

   We style the slider itself because its old parent also
   contains Latest Active Listings.
   ========================================================= */
body.index-page.full-market-home
#latestImageSlider.hero-image-slider.marketplace-featured-slider {

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;

    /*
       Thick translucent frame creates the appearance
       of its own container around the image.
    */
    border: 14px solid rgba(71, 85, 105, 0.82) !important;
    outline: 1px solid rgba(255, 255, 255, 0.14) !important;

    border-radius: 24px !important;

    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.18),
        0 8px 22px rgba(15, 23, 42, 0.10) !important;

    background: rgba(71, 85, 105, 0.82) !important;

    overflow: hidden !important;
    box-sizing: border-box !important;
}


/* Keep image rounded inside its own container */
body.index-page.full-market-home
#latestImageSlider .hero-slide,
body.index-page.full-market-home
#latestImageSlider .hero-slide.active {
    border-radius: 10px !important;
    overflow: hidden !important;
}


/* =========================================================
   3. LATEST ACTIVE LISTINGS + CARDS
   OWN SEPARATE CONTAINER
   ========================================================= */
body.index-page.full-market-home .marketplace-home-latest-inner {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 18px !important;

    background: rgba(71, 85, 105, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 24px !important;

    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.18),
        0 8px 22px rgba(15, 23, 42, 0.10) !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    box-sizing: border-box !important;
}


/* The section inside must NOT create another container */
body.index-page.full-market-home
.marketplace-home-latest-inner .marketplace-latest-section {

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    box-sizing: border-box !important;


    /* -----------------------------------------
       TITLE LEFT + FILTERS RIGHT
       CARDS BELOW
       ----------------------------------------- */
    display: grid !important;

    grid-template-columns:
        minmax(280px, 1fr)
        auto !important;

    grid-template-areas:
        "heading filters"
        "listings listings" !important;

    column-gap: 20px !important;
    row-gap: 16px !important;

    align-items: center !important;
}


/* =========================================================
   LATEST ACTIVE LISTINGS - LEFT SIDE
   ========================================================= */
body.index-page.full-market-home
.marketplace-home-latest-inner .marketplace-section-head {

    grid-area: heading !important;

    display: block !important;

    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}


/* =========================================================
   THREE CHECKBOXES - RIGHT SIDE
   ========================================================= */
body.index-page.full-market-home
.marketplace-home-latest-inner .marketplace-latest-toolbar {

    grid-area: filters !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}


body.index-page.full-market-home
.marketplace-home-latest-inner .home-listing-type-filters {

    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;

    align-items: center !important;
    justify-content: flex-end !important;

    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    gap: 8px !important;

    white-space: nowrap !important;
}


/* =========================================================
   LISTING CARDS - FULL ROW BELOW
   ========================================================= */
body.index-page.full-market-home
.marketplace-home-latest-inner #latestListingsGrid {

    grid-area: listings !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
}


/* =========================================================
   INDEX - LATEST LISTINGS CONTAINER
   MATCH ROOMMATE SEARCH CONTAINER
   ========================================================= */
body.index-page.full-market-home .marketplace-home-latest-inner {
    background: rgba(71, 85, 105, 0.82) !important;

    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 24px !important;

    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.18),
        0 8px 22px rgba(15, 23, 42, 0.10) !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    padding: 22px !important;

    box-sizing: border-box !important;
}


/* =========================================================
   INDEX - FORCE LOWER LISTINGS CONTAINER TO MATCH
   ROOMMATE SEARCH CONTAINER
   ========================================================= */

body.index-page.full-market-home
.marketplace-home-big-container
.marketplace-home-latest-inner {

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 22px !important;

    /* Same glass color as Roommate Search */
    background: rgba(71, 85, 105, 0.82) !important;

    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 24px !important;

    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.18),
        0 8px 22px rgba(15, 23, 42, 0.10) !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    box-sizing: border-box !important;
}


/* Inner latest-listings section must remain transparent */
body.index-page.full-market-home
.marketplace-home-big-container
.marketplace-home-latest-inner
.marketplace-latest-section {

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* =========================================================
   DESKTOP / TABLET - HOMEPAGE CONTAINER SPACING
   ========================================================= */

body.index-page.full-market-home .marketplace-stats {
    margin-bottom: 30px !important;
}

body.index-page.full-market-home
#latestImageSlider.hero-image-slider.marketplace-featured-slider {
    margin-bottom: 30px !important;
}


/* =========================================================
   DESKTOP ONLY - FEATURED IMAGE FIT
   ========================================================= */
@media (min-width: 701px) {

    body.index-page.full-market-home
    #latestImageSlider.hero-image-slider.marketplace-featured-slider {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    body.index-page.full-market-home
    #latestImageSlider.hero-image-slider.marketplace-featured-slider img {
        display: block !important;

        width: 100% !important;
        height: 100% !important;

        max-width: 100% !important;
        max-height: 100% !important;

        object-fit: contain !important;
        object-position: center center !important;

        margin: 0 !important;
        padding: 0 !important;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 700px) {

    /* KEEP ALL YOUR CURRENT MOBILE CODE HERE */

}


/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 700px) {

    body.index-page.full-market-home .marketplace-home-big-container {
        gap: 20px !important;
    }


    /* KPI */
    body.index-page.full-market-home .marketplace-stats {
        padding: 14px !important;
        border-radius: 18px !important;
        margin-bottom: 24px !important;
    }


    /* Featured / large image */
    body.index-page.full-market-home
    #latestImageSlider.hero-image-slider.marketplace-featured-slider {
        border-width: 8px !important;
        border-radius: 18px !important;
        margin-bottom: 24px !important;
    }


    /* Latest listings container */
    body.index-page.full-market-home .marketplace-home-latest-inner {
        width: 100% !important;
        max-width: 100% !important;
        padding: 14px !important;
        border-radius: 18px !important;
        box-sizing: border-box !important;
    }


    /* Heading, filters, cards stack */
    body.index-page.full-market-home
    .marketplace-home-latest-inner .marketplace-latest-section {
        width: 100% !important;
        max-width: 100% !important;

        grid-template-columns: minmax(0, 1fr) !important;

        grid-template-areas:
            "heading"
            "filters"
            "listings" !important;

        row-gap: 12px !important;
        box-sizing: border-box !important;
    }


    body.index-page.full-market-home
    .marketplace-home-latest-inner .marketplace-latest-toolbar {
        width: 100% !important;
        max-width: 100% !important;

        display: block !important;

        box-sizing: border-box !important;
    }


    /* =====================================================
       FILTERS - VERTICAL MOBILE LIST
       ===================================================== */
    body.index-page.full-market-home
    .marketplace-home-latest-inner .home-listing-type-filters {
        display: flex !important;
        flex-direction: column !important;

        align-items: stretch !important;
        justify-content: flex-start !important;

        gap: 8px !important;

        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 2px 0 6px !important;

        overflow: visible !important;

        box-sizing: border-box !important;
    }


    /* Individual filter row */
    body.index-page.full-market-home
    .home-listing-type-filters label {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;

        gap: 8px !important;

        flex: none !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 9px 12px !important;

        background: rgba(71, 85, 105, 0.82) !important;
        border: 1px solid rgba(255, 255, 255, 0.14) !important;
        border-radius: 12px !important;

        color: #ffffff !important;

        font-size: 0.88rem !important;
        font-weight: 400 !important;
        line-height: 1.2 !important;

        white-space: nowrap !important;

        box-sizing: border-box !important;
    }


    /* Checkbox */
    body.index-page.full-market-home
    .home-listing-type-filters input[type="checkbox"] {
        appearance: none !important;
        -webkit-appearance: none !important;

        display: inline-grid !important;
        place-content: center !important;

        flex: 0 0 16px !important;

        width: 16px !important;
        height: 16px !important;
        min-width: 16px !important;
        min-height: 16px !important;

        margin: 0 !important;
        padding: 0 !important;

        background: rgba(255, 255, 255, 0.08) !important;

        border: 1.5px solid rgba(255, 255, 255, 0.72) !important;
        border-radius: 4px !important;

        cursor: pointer !important;

        box-sizing: border-box !important;
    }


    /* Checked checkbox */
    body.index-page.full-market-home
    .home-listing-type-filters input[type="checkbox"]:checked {
        background: #2563eb !important;
        border-color: #2563eb !important;
    }


    body.index-page.full-market-home
    .home-listing-type-filters input[type="checkbox"]:checked::after {
        content: "✓" !important;

        color: #ffffff !important;

        font-size: 10px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
    }


    /* Filter icons */
    body.index-page.full-market-home
    .home-listing-type-filters label i {
        flex: 0 0 auto !important;
        margin: 0 !important;
    }


    /* =====================================================
       LISTING GRID
       ===================================================== */
    body.index-page.full-market-home
    .marketplace-home-latest-inner #latestListingsGrid {
        width: 100% !important;
        max-width: 100% !important;

        grid-template-columns: minmax(0, 1fr) !important;

        margin: 0 !important;
        padding: 0 !important;

        box-sizing: border-box !important;
    }


    body.index-page.full-market-home
    #latestListingsGrid .home-listing-card {
        width: 100% !important;
        max-width: 100% !important;

        min-width: 0 !important;

        margin: 0 !important;

        overflow: hidden !important;
        box-sizing: border-box !important;
    }


    /* =====================================================
       CARD IMAGE - DISPLAY FULL IMAGE WIDTH
       DO NOT CHANGE - THIS FIXED THE MOBILE IMAGE
       ===================================================== */
    body.index-page.full-market-home
    #latestListingsGrid .home-listing-img {
        position: relative !important;

        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: hidden !important;

        box-sizing: border-box !important;
    }


    body.index-page.full-market-home
    #latestListingsGrid .home-listing-img img {
        position: static !important;

        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;

        margin: 0 !important;
        padding: 0 !important;

        object-fit: initial !important;
        object-position: center !important;

        transform: none !important;

        box-sizing: border-box !important;
    }


    body.index-page.full-market-home
    #latestListingsGrid .home-listing-card:hover
    .home-listing-img img {
        transform: none !important;
    }

}

/* =====================================================================
   MINALESH — CANONICAL SITE BACKGROUND
   Single source of truth for every page.
   Matches the final Index page brightness/treatment.
   ===================================================================== */
html {
  min-height: 100% !important;
  background: #071426 !important;
}

body {
  position: relative !important;
  min-height: 100vh !important;
  background: transparent !important;
  isolation: isolate !important;
}

body::before {
  content: "" !important;
  position: fixed !important;
  inset: 0 !important;
  display: block !important;
  z-index: -2 !important;
  pointer-events: none !important;
  background:
    linear-gradient(
      180deg,
      rgba(9, 25, 55, .34),
      rgba(9, 25, 55, .42) 48%,
      rgba(9, 25, 55, .48)
    ),
    url("../images/background.jpg") center top / cover no-repeat !important;
  filter: saturate(1.08) brightness(1.10) contrast(1.02) !important;
}

body::after {
  content: "" !important;
  position: fixed !important;
  inset: 0 !important;
  display: block !important;
  z-index: -1 !important;
  pointer-events: none !important;
  background:
    linear-gradient(
      90deg,
      rgba(9, 25, 55, .14),
      rgba(9, 25, 55, .04) 50%,
      rgba(9, 25, 55, .16)
    ) !important;
}



/* =========================================================
   GLOBAL HEADER / NAVIGATION
   MATCH INDEX HEADER ON ALL PAGES
   ========================================================= */

body header {
  background: rgba(3, 14, 31, .72) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .11) !important;
  box-shadow: none !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

/* Main navigation text */
body header .nav-links,
body header .nav-links > a,
body header .nav-links .dropdown > a,
body header .login-link,
body header .profile-btn {
  color: #f8fafc !important;
}

/* Navigation hover */
body header .nav-links > a:hover,
body header .nav-links .dropdown > a:hover,
body header .login-link:hover {
  color: #60a5fa !important;
}



/* =========================================================
   GLOBAL FOOTER
   CONSISTENT GLASS STYLE ACROSS ALL PAGES
   ========================================================= */

body footer,
body .site-footer {
    margin-top: 50px !important;
    padding: 42px 0 22px !important;

    background: rgba(3, 14, 31, .76) !important;
    border-top: 1px solid rgba(255, 255, 255, .11) !important;

    box-shadow: none !important;

    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;

    color: #e2e8f0 !important;
}

/* Footer headings */
body footer h4,
body .site-footer h4 {
    color: #f8fafc !important;
}

/* Footer description text */
body footer p,
body .site-footer p {
    color: #94a3b8 !important;
}

/* Footer links */
body footer a,
body .site-footer a {
    color: #cbd5e1 !important;
    transition: color .2s ease, transform .2s ease;
}

body footer a:hover,
body .site-footer a:hover {
    color: #60a5fa !important;
}

/* Bottom copyright area */
body footer .footer-bottom,
body .site-footer .footer-bottom {
    margin-top: 28px !important;
    padding-top: 16px !important;
    border-top: 1px solid rgba(255,255,255,.10) !important;
    color: #94a3b8 !important;
}

/* Social icons */
body footer .footer-social a,
body .site-footer .footer-social a {
    background: rgba(255,255,255,.08) !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    color: #e2e8f0 !important;
}

body footer .footer-social a:hover,
body .site-footer .footer-social a:hover {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
}


/* =========================================================
   GLOBAL FOOTER — MATCH TOP MENU BAR
   ========================================================= */

body footer,
body .site-footer {
    background: rgba(3, 14, 31, .72) !important;

    border-top: 1px solid rgba(255, 255, 255, .11) !important;

    box-shadow: none !important;

    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;

    color: #e2e8f0 !important;
}



/* =========================================================
   GLOBAL PROFILE BUTTON — COMPACT + NORMAL WEIGHT
   ========================================================= */

body header .profile-btn {
  min-width: 0 !important;
  width: auto !important;
  height: 40px !important;

  padding: 6px 13px !important;
  gap: 7px !important;

  border-radius: 999px !important;

  font-size: 0.88rem !important;
  font-weight: 400 !important;
}

/* Username */
body header .profile-btn #profileName {
  font-size: 0.88rem !important;
  font-weight: 400 !important;
}

/* User icon */
body header .profile-btn .fa-user-circle {
  font-size: 1.25rem !important;
}

/* Down arrow */
body header .profile-btn .fa-chevron-down {
  font-size: 0.72rem !important;
}




/* =========================================================
   GLOBAL PROFILE DROPDOWN — COMPACT
   ========================================================= */

body header .profile-dropdown {
  min-width: 220px !important;
  width: 220px !important;

  padding: 7px !important;
  border-radius: 14px !important;
}

/* Links + Logout button */
body header .profile-dropdown a,
body header .profile-dropdown button {
  min-height: 0 !important;
  padding: 9px 11px !important;
  margin: 1px 0 !important;

  gap: 9px !important;

  font-size: 0.88rem !important;
  font-weight: 400 !important;
  line-height: 1.25 !important;

  border-radius: 9px !important;
}

/* Icons */
body header .profile-dropdown a i,
body header .profile-dropdown button i {
  width: 18px !important;
  font-size: 0.9rem !important;
  text-align: center !important;
}


/* =========================================================
   GLOBAL NAVIGATION — LIGHTER TEXT, KEEP ICONS
   ========================================================= */

/* Main navigation TEXT */
body header .nav-links > a,
body header .nav-links .dropdown > a {
  font-weight: 300 !important;
}

/* Dropdown TEXT */
body header .dropdown-menu a {
  font-weight: 300 !important;
}

/* Keep Font Awesome solid icons working */
body header .nav-links i,
body header .dropdown-menu i {
  font-weight: 600 !important;
}


/* =========================================================
   ROOMMATE LISTINGS — STANDARDIZED HERO
   ========================================================= */

.roommate-listings-page .roommate-listings-hero {
  padding: 34px 0 18px !important;
}

.roommate-listings-page .roommate-hero-grid {
  display: block !important;
}

.roommate-listings-page .roommate-hero-copy-clean {
  width: 100% !important;
  max-width: 760px !important;
}

.roommate-listings-page .roommate-hero-copy-clean h1 {
  margin: 0 0 9px !important;

  color: #ffffff !important;

  font-size: clamp(2rem, 4vw, 3.25rem) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em !important;

  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.30) !important;
}

.roommate-listings-page .roommate-hero-copy-clean p {
  margin: 0 !important;

  max-width: 680px !important;

  color: #e2e8f0 !important;

  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
}

@media (max-width: 600px) {
  .roommate-listings-page .roommate-listings-hero {
    padding: 26px 0 15px !important;
  }

  .roommate-listings-page .roommate-hero-copy-clean h1 {
    font-size: 2rem !important;
  }
}



/* =========================================================
   NANNY LISTINGS — STANDARDIZED HERO
   ========================================================= */

.nanny-listings-page .nanny-listings-hero {
  padding: 34px 0 18px !important;
}

.nanny-listings-page .nanny-hero-grid {
  display: block !important;
}

.nanny-listings-page .nanny-hero-copy-clean {
  width: 100% !important;
  max-width: 760px !important;
}

.nanny-listings-page .nanny-hero-copy-clean h1 {
  margin: 0 0 9px !important;

  color: #ffffff !important;

  font-size: clamp(2rem, 4vw, 3.25rem) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em !important;

  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.30) !important;
}

.nanny-listings-page .nanny-hero-copy-clean p {
  margin: 0 !important;

  max-width: 680px !important;

  color: #e2e8f0 !important;

  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
}

@media (max-width: 600px) {
  .nanny-listings-page .nanny-listings-hero {
    padding: 26px 0 15px !important;
  }

  .nanny-listings-page .nanny-hero-copy-clean h1 {
    font-size: 2rem !important;
  }
}




/* =========================================================
   SERVICE LISTINGS — STANDARDIZED HERO
   ========================================================= */

.service-listings-page .service-hero {
  padding: 34px 0 18px !important;
}

.service-listings-page .service-hero-grid {
  display: block !important;
}

.service-listings-page .service-hero-copy-clean {
  width: 100% !important;
  max-width: 760px !important;
}

.service-listings-page .service-hero-copy-clean h1 {
  margin: 0 0 9px !important;
  color: #ffffff !important;

  font-size: clamp(2rem, 4vw, 3.25rem) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em !important;

  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.30) !important;
}

.service-listings-page .service-hero-copy-clean p {
  margin: 0 !important;
  max-width: 680px !important;

  color: #e2e8f0 !important;

  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
}

@media (max-width: 600px) {
  .service-listings-page .service-hero {
    padding: 26px 0 15px !important;
  }

  .service-listings-page .service-hero-copy-clean h1 {
    font-size: 2rem !important;
  }
}


/* =========================================================
   SERVICE SEARCH — CLEAN COMPACT LAYOUT
   ========================================================= */

.service-listings-page .service-filter-card {
  width: 100% !important;
  max-width: 1120px !important;

  margin-left: 0 !important;
  margin-right: auto !important;

  padding: 20px 22px !important;
  border-radius: 22px !important;

  box-sizing: border-box !important;
}


/* =========================================================
   SEARCH HEADER
   ========================================================= */

.service-listings-page .service-filter-head {
  margin-bottom: 18px !important;
}

.service-listings-page .service-filter-head h2 {
  margin: 0 0 4px !important;
}

.service-listings-page .service-filter-head p {
  margin: 0 !important;
}


/* =========================================================
   FIRST ROW
   ========================================================= */

.service-listings-page .service-filter-grid {
  display: grid !important;

  grid-template-columns:
    180px
    180px
    180px
    180px
    180px !important;

  column-gap: 12px !important;
  row-gap: 0 !important;

  justify-content: start !important;
  align-items: end !important;
}


/* Standard first-row fields */
.service-listings-page .service-filter-grid > .filter-field {
  width: 180px !important;
  max-width: 180px !important;
}


/* =========================================================
   SECOND ROW
   ========================================================= */

.service-listings-page .service-second-row {
  grid-column: 1 / -1 !important;

  display: flex !important;
  align-items: flex-end !important;

  /* SAME SPACING AS FIRST ROW */
  gap: 12px !important;

  margin-top: 28px !important;
}


/* Keyword */
.service-listings-page .service-second-row .service-keyword-field {
  width: 280px !important;
  max-width: 280px !important;

  margin: 0 !important;
}


/* Max Price */
.service-listings-page .service-second-row .service-price-field {
  width: 180px !important;
  max-width: 180px !important;

  margin: 0 !important;
}


/* =========================================================
   LABELS
   ========================================================= */

.service-listings-page .filter-field label {
  display: block !important;

  margin: 0 0 5px !important;

  font-size: 0.82rem !important;
}


/* =========================================================
   INPUTS + SELECTS
   ========================================================= */

.service-listings-page .service-filter-grid .filter-field input,
.service-listings-page .service-filter-grid .filter-field select {
  width: 100% !important;

  height: 36px !important;
  min-height: 36px !important;

  padding: 6px 10px !important;

  font-size: 0.86rem !important;

  border-radius: 9px !important;

  box-sizing: border-box !important;
}


/* =========================================================
   SEARCH BUTTON
   ========================================================= */

.service-listings-page .service-filter-actions {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;

  margin-top: 18px !important;
}

.service-listings-page .service-filter-actions .btn {
  width: auto !important;
  min-width: 0 !important;

  height: 34px !important;
  min-height: 34px !important;

  padding: 5px 12px !important;

  font-size: 0.82rem !important;
  font-weight: 400 !important;

  border-radius: 9px !important;
}


/* =========================================================
   RESET BUTTON
   ========================================================= */

.service-listings-page #resetButton {
  width: auto !important;
  min-width: 0 !important;

  height: 34px !important;
  min-height: 34px !important;

  padding: 5px 12px !important;

  font-size: 0.82rem !important;
  font-weight: 400 !important;

  border-radius: 9px !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

  .service-listings-page .service-filter-card {
    max-width: 100% !important;
  }

  .service-listings-page .service-filter-grid {
    grid-template-columns:
      repeat(3, minmax(0, 1fr)) !important;

    gap: 16px 12px !important;
  }

  .service-listings-page .service-filter-grid > .filter-field {
    width: 100% !important;
    max-width: none !important;
  }

  .service-listings-page .service-second-row {
    margin-top: 0 !important;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

  .service-listings-page .service-filter-card {
    padding: 16px !important;
    border-radius: 18px !important;
  }

  .service-listings-page .service-filter-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr)) !important;

    gap: 14px 12px !important;
  }

  .service-listings-page .service-second-row {
    flex-wrap: wrap !important;
    gap: 12px !important;
  }

  .service-listings-page .service-second-row .service-keyword-field,
  .service-listings-page .service-second-row .service-price-field {
    width: calc(50% - 6px) !important;
    max-width: none !important;
  }

  .service-listings-page .service-filter-actions {
    justify-content: flex-start !important;
  }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 430px) {

  .service-listings-page .service-filter-grid {
    grid-template-columns: 1fr !important;
  }

  .service-listings-page .service-second-row {
    display: block !important;
  }

  .service-listings-page .service-second-row .service-keyword-field,
  .service-listings-page .service-second-row .service-price-field {
    width: 100% !important;
    max-width: none !important;
  }

  .service-listings-page .service-second-row .service-price-field {
    margin-top: 14px !important;
  }
}



/* =========================================================
   INDEX — ALIGN ALL HOME CONTENT WITH HEADER LOGO
   ========================================================= */

body.index-page.full-market-home .marketplace-full-hero-inner {
  width: 97% !important;
  max-width: none !important;

  margin-left: auto !important;
  margin-right: auto !important;

  padding-left: 0 !important;
  padding-right: 0 !important;

  box-sizing: border-box !important;
}




/* =========================================================
   FINAL POST PAGE ALIGNMENT
   Match Index / Header Logo
   ========================================================= */


/* =========================================================
   TOP HERO + LOWER SECTION
   SAME 97% PAGE ALIGNMENT
   ========================================================= */

body.post-roommate-page .post-roommate-hero-grid,
body.post-roommate-page main > section:not(.post-roommate-hero) > .container,

body.post-nanny-page .post-nanny-hero-grid,
body.post-nanny-page main > section:not(.post-nanny-hero) > .container,

body.post-service-page .post-service-hero-grid,
body.post-service-page main > section:not(.post-service-hero) > .container {
  width: 97% !important;
  max-width: none !important;

  margin-left: auto !important;
  margin-right: auto !important;

  padding-left: 0 !important;
  padding-right: 0 !important;

  box-sizing: border-box !important;
}


/* =========================================================
   KEEP FORM CARDS THEIR CURRENT SIZE
   BUT ANCHOR THEM TO THE LEFT
   ========================================================= */

body.post-roommate-page .roommate-post-card,

body.post-nanny-page .post-nanny-card,
body.post-nanny-page .nanny-post-card,

body.post-service-page .post-service-big-container,
body.post-service-page .post-service-card {
  margin-left: 0 !important;
  margin-right: auto !important;

  box-sizing: border-box !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

  body.post-roommate-page .post-roommate-hero-grid,
  body.post-roommate-page main > section:not(.post-roommate-hero) > .container,

  body.post-nanny-page .post-nanny-hero-grid,
  body.post-nanny-page main > section:not(.post-nanny-hero) > .container,

  body.post-service-page .post-service-hero-grid,
  body.post-service-page main > section:not(.post-service-hero) > .container {
    width: 94% !important;
    max-width: 94% !important;
  }
}


/* =========================================================
   POST SERVICE — ALIGN FIELDS WITH BLUE ICON
   Move ONLY form content left
   ========================================================= */

body.post-service-page
.post-service-big-container
#serviceForm.post-service-card {
    margin-left: -20px !important;
    margin-right: 0 !important;

    width: calc(100% + 20px) !important;
    max-width: none !important;
}




/* =========================================================
   POST ROOMMATE — STANDARD HERO
   ========================================================= */

body.post-roommate-page .post-roommate-hero {
    padding: 34px 0 30px !important;
}


/* Main hero content */
body.post-roommate-page .post-page-hero-copy {
    width: 100% !important;
    max-width: 950px !important;
}


/* Main page title */
body.post-roommate-page .post-page-hero-copy h1 {
    margin: 0 0 10px !important;

    color: #ffffff !important;

    font-size: clamp(2rem, 4vw, 3.25rem) !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em !important;

    text-shadow: 0 3px 14px rgba(0,0,0,.30) !important;
}


/* Subtitle */
body.post-roommate-page .post-page-hero-subtitle {
    margin: 0 0 28px !important;

    max-width: 720px !important;

    color: #e2e8f0 !important;

    font-size: 1.05rem !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
}


/* =========================================================
   THREE ROOMMATE TIPS
   ========================================================= */

body.post-roommate-page .post-roommate-creative-tips {
    margin-top: 0 !important;

    width: 100% !important;
    max-width: 760px !important;
}


/* Each tip row */
body.post-roommate-page .post-roommate-creative-tip {
    min-height: 74px !important;

    padding: 11px 14px !important;

    gap: 16px !important;
}


/* Tip icon box */
body.post-roommate-page .creative-tip-icon {
    width: 58px !important;
    height: 58px !important;
    flex: 0 0 58px !important;

    border-radius: 15px !important;
}


/* Icon itself */
body.post-roommate-page .creative-tip-icon i {
    font-size: 1.15rem !important;
}


/* Tip title */
body.post-roommate-page .creative-tip-copy strong {
    display: block !important;

    margin-bottom: 5px !important;

    color: #ffffff !important;

    font-size: 1rem !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
}


/* Tip description */
body.post-roommate-page .creative-tip-copy span {
    display: block !important;

    color: rgba(226,232,240,.88) !important;

    font-size: .88rem !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
}


/* Mobile */
@media (max-width: 600px) {

    body.post-roommate-page .post-roommate-hero {
        padding: 26px 0 22px !important;
    }

    body.post-roommate-page .post-page-hero-copy h1 {
        font-size: 2rem !important;
    }

    body.post-roommate-page .post-page-hero-subtitle {
        font-size: .95rem !important;
        margin-bottom: 22px !important;
    }

    body.post-roommate-page .post-roommate-creative-tip {
        min-height: 66px !important;
        padding: 9px 10px !important;
        gap: 12px !important;
    }

    body.post-roommate-page .creative-tip-icon {
        width: 50px !important;
        height: 50px !important;
        flex: 0 0 50px !important;
    }

    body.post-roommate-page .creative-tip-copy strong {
        font-size: .94rem !important;
    }

    body.post-roommate-page .creative-tip-copy span {
        font-size: .82rem !important;
    }
}

/* =========================================================
   POST ROOMMATE — IMPROVE HERO TEXT READABILITY
   ========================================================= */

/* Subtitle under main heading */
body.post-roommate-page .post-page-hero-subtitle {
    font-size: 1.15rem !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
    color: rgba(255,255,255,.92) !important;
}


/* Three tip TITLES */
body.post-roommate-page .post-roommate-creative-tip
.creative-tip-copy strong {
    font-size: 1.08rem !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
}


/* Three tip descriptions */
body.post-roommate-page .post-roommate-creative-tip
.creative-tip-copy span {
    font-size: .98rem !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
    color: rgba(255,255,255,.86) !important;
}


/* Give title/description a little breathing room */
body.post-roommate-page .post-roommate-creative-tip
.creative-tip-copy strong {
    margin-bottom: 5px !important;
}


/* POST ROOMMATE — HERO SUBTITLE */
body.post-roommate-page
.post-roommate-hero
.post-roommate-hero-grid
.post-roommate-copy
p.post-page-hero-subtitle {
    margin: 0 0 24px !important;
    max-width: 760px !important;

    font-size: 1.15rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;

    color: rgba(255,255,255,.92) !important;

    text-shadow: 0 2px 8px rgba(0,0,0,.35) !important;
}



/* =========================================================
   POST ROOMMATE — FINAL HERO ALIGNMENT + SMALLER TIP ICONS
   ========================================================= */


/* ---------------------------------------------------------
   1. ALIGN HERO TITLE/SUBTITLE WITH MINALESH LOGO
   --------------------------------------------------------- */

body.post-roommate-page .post-roommate-hero-grid {
    width: 97% !important;
    max-width: none !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding-left: 0 !important;
    padding-right: 0 !important;
}


/* Make sure hero copy adds NO extra left spacing */
body.post-roommate-page .post-roommate-copy,
body.post-roommate-page .post-page-hero-copy {
    margin-left: 0 !important;
    padding-left: 0 !important;
}


/* Main title */
body.post-roommate-page .post-page-hero-copy h1 {
    margin-left: 0 !important;
    padding-left: 0 !important;
}


/* Subtitle */
body.post-roommate-page
.post-roommate-hero
.post-roommate-hero-grid
.post-roommate-copy
p.post-page-hero-subtitle {
    margin-left: 0 !important;
    padding-left: 0 !important;
}


/* ---------------------------------------------------------
   2. SMALLER THREE TIP ICONS
   --------------------------------------------------------- */

body.post-roommate-page
.post-roommate-creative-tip
.creative-tip-icon {

    width: 46px !important;
    height: 46px !important;

    min-width: 46px !important;
    min-height: 46px !important;

    flex: 0 0 46px !important;

    border-radius: 12px !important;
}


/* Actual icon inside box */
body.post-roommate-page
.post-roommate-creative-tip
.creative-tip-icon i {

    font-size: 1rem !important;
}


/* Reduce gap between icon and text slightly */
body.post-roommate-page .post-roommate-creative-tip {
    gap: 12px !important;
}

/* =========================================================
   POST ROOMMATE — NUDGE TITLE + SUBTITLE LEFT
   ========================================================= */

body.post-roommate-page .post-page-hero-copy > h1,
body.post-roommate-page .post-page-hero-copy > p.post-page-hero-subtitle {
    transform: translateX(20px) !important;
}




/* =========================================================
   POST NANNY — STANDARD HERO
   MATCH POST ROOMMATE
   ========================================================= */

body.post-nanny-page .post-nanny-hero {
    padding: 34px 0 30px !important;
}


/* Hero content */
body.post-nanny-page .post-page-hero-copy {
    width: 100% !important;
    max-width: 950px !important;
}


/* Main title */
body.post-nanny-page .post-page-hero-copy h1 {
    margin: 0 0 10px !important;

    color: #ffffff !important;

    font-size: clamp(2rem, 4vw, 3.25rem) !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em !important;

    text-shadow: 0 3px 14px rgba(0,0,0,.30) !important;
}


/* Subtitle — same size as approved Post Roommate */
body.post-nanny-page
.post-nanny-hero
.post-nanny-hero-grid
.post-nanny-copy
p.post-page-hero-subtitle {

    margin: 0 0 24px !important;
    max-width: 760px !important;

    font-size: 1.15rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;

    color: rgba(255,255,255,.92) !important;

    text-shadow: 0 2px 8px rgba(0,0,0,.35) !important;
}


/* =========================================================
   THREE NANNY TIPS
   ========================================================= */

body.post-nanny-page .post-nanny-creative-tips {
    margin-top: 0 !important;

    width: 100% !important;
    max-width: 760px !important;
}


/* Each tip */
body.post-nanny-page .post-nanny-creative-tip {
    min-height: 74px !important;

    padding: 11px 14px !important;

    gap: 16px !important;
}


/* Icon box */
body.post-nanny-page .post-nanny-creative-tip .creative-tip-icon {
    width: 58px !important;
    height: 58px !important;
    flex: 0 0 58px !important;

    border-radius: 15px !important;
}


/* Icon */
body.post-nanny-page .post-nanny-creative-tip .creative-tip-icon i {
    font-size: 1.15rem !important;
}


/* Tip title */
body.post-nanny-page
.post-nanny-creative-tip
.creative-tip-copy strong {

    display: block !important;

    margin-bottom: 5px !important;

    color: #ffffff !important;

    font-size: 1.08rem !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
}


/* Tip description */
body.post-nanny-page
.post-nanny-creative-tip
.creative-tip-copy span {

    display: block !important;

    color: rgba(255,255,255,.86) !important;

    font-size: .98rem !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    body.post-nanny-page .post-nanny-hero {
        padding: 26px 0 22px !important;
    }


    body.post-nanny-page .post-page-hero-copy h1 {
        font-size: 2rem !important;
    }


    body.post-nanny-page
    .post-nanny-hero
    .post-nanny-hero-grid
    .post-nanny-copy
    p.post-page-hero-subtitle {

        font-size: .95rem !important;
        margin-bottom: 22px !important;
    }


    body.post-nanny-page .post-nanny-creative-tip {
        min-height: 66px !important;
        padding: 9px 10px !important;
        gap: 12px !important;
    }


    body.post-nanny-page .post-nanny-creative-tip .creative-tip-icon {
        width: 50px !important;
        height: 50px !important;
        flex: 0 0 50px !important;
    }


    body.post-nanny-page
    .post-nanny-creative-tip
    .creative-tip-copy strong {

        font-size: .94rem !important;
    }


    body.post-nanny-page
    .post-nanny-creative-tip
    .creative-tip-copy span {

        font-size: .82rem !important;
    }
}

/* =========================================================
   POST NANNY — MATCH FINAL POST ROOMMATE ADJUSTMENTS
   ========================================================= */


/* ---------------------------------------------------------
   NUDGE ONLY TITLE + SUBTITLE LEFT
   --------------------------------------------------------- */

body.post-nanny-page .post-page-hero-copy > h1,
body.post-nanny-page .post-page-hero-copy > p.post-page-hero-subtitle {
    transform: translateX(20px) !important;
}


/* ---------------------------------------------------------
   SMALLER THREE NANNY TIP ICONS
   --------------------------------------------------------- */

body.post-nanny-page
.post-nanny-creative-tip
.creative-tip-icon {

    width: 46px !important;
    height: 46px !important;

    min-width: 46px !important;
    min-height: 46px !important;

    flex: 0 0 46px !important;

    border-radius: 12px !important;
}


/* Actual icon inside box */
body.post-nanny-page
.post-nanny-creative-tip
.creative-tip-icon i {

    font-size: 1rem !important;
}


/* Match tighter spacing from Post Roommate */
body.post-nanny-page .post-nanny-creative-tip {
    gap: 25px !important;
}




/* =========================================================
   POST SERVICE — MATCH FINAL POST ROOMMATE HERO
   ========================================================= */


/* HERO PAGE ALIGNMENT */
body.post-service-page .post-service-hero-grid {
    width: 97% !important;
    max-width: none !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding-left: 0 !important;
    padding-right: 0 !important;
}


/* HERO COPY */
body.post-service-page .post-service-copy {
    width: 100% !important;
    max-width: 950px !important;

    margin-left: 0 !important;
    padding-left: 0 !important;
}


/* MAIN TITLE */
body.post-service-page .post-service-copy > h1 {
    margin: 0 0 10px !important;
    padding-left: 0 !important;

    color: #ffffff !important;

    font-size: clamp(2rem, 4vw, 3.25rem) !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em !important;

    text-shadow: 0 3px 14px rgba(0,0,0,.30) !important;

    /* Same final adjustment as Post Roommate */
    transform: translateX(20px) !important;
}


/* SUBTITLE */
body.post-service-page
.post-service-hero
.post-service-hero-grid
.post-service-copy
p.post-page-hero-subtitle {

    margin: 0 0 24px !important;
    padding-left: 0 !important;

    max-width: 760px !important;

    font-size: 1.15rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;

    color: rgba(255,255,255,.92) !important;

    text-shadow: 0 2px 8px rgba(0,0,0,.35) !important;

    /* Same final adjustment as Post Roommate */
    transform: translateX(20px) !important;
}


/* =========================================================
   THREE SERVICE TIPS
   ========================================================= */

body.post-service-page .post-service-creative-tips {
    margin-top: 0 !important;

    width: 100% !important;
    max-width: 760px !important;
}


/* EACH TIP */
body.post-service-page .post-service-creative-tip {
    min-height: 74px !important;
    padding: 11px 14px !important;
    gap: 25px !important;
}


/* SMALL ICON BOX */
body.post-service-page
.post-service-creative-tip
.creative-tip-icon {

    width: 46px !important;
    height: 46px !important;

    min-width: 46px !important;
    min-height: 46px !important;

    flex: 0 0 46px !important;

    border-radius: 12px !important;
}


/* ICON INSIDE BOX */
body.post-service-page
.post-service-creative-tip
.creative-tip-icon i {

    font-size: 1rem !important;
}


/* TIP TITLE */
body.post-service-page
.post-service-creative-tip
.creative-tip-copy strong {

    display: block !important;

    margin-bottom: 5px !important;

    color: #ffffff !important;

    font-size: 1.08rem !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
}


/* TIP DESCRIPTION */
body.post-service-page
.post-service-creative-tip
.creative-tip-copy span {

    display: block !important;

    color: rgba(255,255,255,.86) !important;

    font-size: .98rem !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    body.post-service-page .post-service-hero {
        padding: 26px 0 22px !important;
    }


    body.post-service-page .post-service-copy > h1 {
        font-size: 2rem !important;
    }


    body.post-service-page
    .post-service-hero
    .post-service-hero-grid
    .post-service-copy
    p.post-page-hero-subtitle {

        font-size: .95rem !important;
        margin-bottom: 22px !important;
    }


    body.post-service-page .post-service-creative-tip {
        min-height: 66px !important;
        padding: 9px 10px !important;
        gap: 12px !important;
    }


    body.post-service-page
    .post-service-creative-tip
    .creative-tip-copy strong {

        font-size: .94rem !important;
    }


    body.post-service-page
    .post-service-creative-tip
    .creative-tip-copy span {

        font-size: .82rem !important;
    }
}


/* =========================================================
   MY LISTINGS — STANDARD HERO
   ========================================================= */

body.my-listings-page .my-listings-hero {
    padding: 34px 0 30px !important;
}


/* Hero copy */
body.my-listings-page .my-listings-copy {
    width: 100% !important;
    max-width: 950px !important;
}


/* Main title */
body.my-listings-page .my-listings-copy h1 {
    margin: 0 0 10px !important;

    color: #ffffff !important;

    font-size: clamp(2rem, 4vw, 3.25rem) !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em !important;

    text-shadow: 0 3px 14px rgba(0,0,0,.30) !important;
}


/* Subtitle */
body.my-listings-page .my-listings-copy p {
    margin: 0 !important;
    max-width: 760px !important;

    font-size: 1.15rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;

    color: rgba(255,255,255,.92) !important;

    text-shadow: 0 2px 8px rgba(0,0,0,.35) !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    body.my-listings-page .my-listings-hero {
        padding: 26px 0 22px !important;
    }

    body.my-listings-page .my-listings-copy h1 {
        font-size: 2rem !important;
    }

    body.my-listings-page .my-listings-copy p {
        font-size: .95rem !important;
    }
}




/* =========================================================
   CONTACT — CLEAN HERO TYPOGRAPHY
   ========================================================= */

body.contact-page-body .contact-welcome-panel h1 {
    margin: 0 0 8px !important;

    color: #ffffff !important;

    font-size: clamp(2rem, 4vw, 3.25rem) !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em !important;

    text-shadow: 0 3px 14px rgba(0,0,0,.30) !important;
}

body.contact-page-body .contact-welcome-panel h1 span {
    color: #60a5fa !important;
}


/* Amharic second line */
body.contact-page-body .contact-welcome-panel .contact-amharic-title {
    margin: 0 0 22px !important;

    color: rgba(255,255,255,.92) !important;

    font-size: 1.15rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;

    text-shadow: 0 2px 8px rgba(0,0,0,.35) !important;
}

body.contact-page-body .contact-welcome-panel .contact-amharic-title span {
    color: #93c5fd !important;
}


/* MOBILE */
@media (max-width: 600px) {

    body.contact-page-body .contact-welcome-panel h1 {
        font-size: 2rem !important;
    }

    body.contact-page-body .contact-welcome-panel .contact-amharic-title {
        font-size: .95rem !important;
    }
}


/* =========================================================
   CONTACT — FINAL SPACING + LIGHTER FIELD LABELS
   ========================================================= */


/* 1. REDUCE SPACE BELOW THE AMHARIC SUBTITLE */
body.contact-page-body
.contact-welcome-panel
.contact-amharic-title {
    margin-bottom: 8px !important;
}


/* Reduce additional space before the form starts */
body.contact-page-body .contact-card-pro {
    padding-top: 0 !important;
}


/* 2. FIELD LABELS — LIGHTER + NOT BOLD */
body.contact-page-body .contact-field-label {
    font-size: 0.88rem !important;
    font-weight: 400 !important;
    color: rgba(226, 232, 240, 0.95) !important;
}


/* "Optional" text */
body.contact-page-body .contact-field-label span {
    font-size: 0.78rem !important;
    font-weight: 400 !important;
    color: rgba(226, 232, 240, 0.42) !important;
}




/* =========================================================
   LOGIN PAGE — CLEAN FINAL CSS
   Replace all previous Login-only redesign CSS with this block
   ========================================================= */

body.auth-page-body .login-redesign {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
}

/* =========================================================
   TOP HERO
   ========================================================= */

body.auth-page-body .login-page-hero {
    display: block !important;
    width: 100% !important;
    padding: 48px 0 34px !important;
}

body.auth-page-body .login-hero-grid {
    display: block !important;
    width: 97% !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

body.auth-page-body .login-hero-copy {
    width: 100% !important;
    max-width: 900px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateX(20px) !important;
}

body.auth-page-body .login-hero-copy h1 {
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 8px !important;
    color: #ffffff !important;
    font-size: clamp(2.2rem, 4vw, 3.4rem) !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    text-shadow: 0 3px 14px rgba(0,0,0,.35) !important;
}

body.auth-page-body .login-hero-copy h1 span {
    color: #3b82f6 !important;
}

body.auth-page-body .login-amharic-title {
    margin: 0 0 14px !important;
    font-size: 1.15rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: rgba(255,255,255,.88) !important;
}

body.auth-page-body .login-amharic-title span {
    color: #60a5fa !important;
}

body.auth-page-body .login-hero-subtitle {
    width: 100% !important;
    max-width: 720px !important;
    margin: 0 0 26px !important;
    font-size: 1.05rem !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
    color: rgba(255,255,255,.88) !important;
    text-shadow: 0 2px 8px rgba(0,0,0,.30) !important;
}

/* =========================================================
   HERO TIPS
   ========================================================= */

body.auth-page-body .login-hero-tips {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 780px !important;
    gap: 8px !important;
}

body.auth-page-body .login-hero-tip {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 62px !important;
    padding: 7px 10px !important;
    gap: 18px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

body.auth-page-body .login-tip-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    flex: 0 0 46px !important;
    border-radius: 12px !important;
    background: rgba(239,246,255,.96) !important;
    color: #2563eb !important;
    box-shadow: 0 5px 16px rgba(0,0,0,.16) !important;
}

body.auth-page-body .login-tip-icon i {
    font-size: 1rem !important;
}

body.auth-page-body .tip-post .login-tip-icon {
    color: #0f9f8f !important;
    background: rgba(236,253,245,.96) !important;
}

body.auth-page-body .tip-connect .login-tip-icon {
    color: #ea580c !important;
    background: rgba(255,247,237,.96) !important;
}

body.auth-page-body .login-tip-copy {
    min-width: 0 !important;
    flex: 1 1 auto !important;
}

body.auth-page-body .login-tip-copy strong {
    display: block !important;
    margin-bottom: 4px !important;
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    color: #ffffff !important;
}

body.auth-page-body .login-tip-copy span {
    display: block !important;
    font-size: .94rem !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    color: rgba(255,255,255,.82) !important;
}

/* =========================================================
   LOWER LOGIN SECTION
   ========================================================= */

body.auth-page-body .login-form-section {
    display: block !important;
    clear: both !important;
    width: 100% !important;
    padding: 18px 0 52px !important;
}

body.auth-page-body .login-big-container {
    display: block !important;
    width: 97% !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 18px !important;
    border-radius: 24px !important;
    background: rgba(71, 85, 105, 0.82) !important;
    border: 1px solid rgba(255,255,255,.25) !important;
    box-shadow: 0 18px 50px rgba(2,8,23,.20) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-sizing: border-box !important;
}

/* =========================================================
   LOGIN FORM CARD
   ========================================================= */

body.auth-page-body #loginForm.login-form-card {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 30px !important;
    border-radius: 18px !important;
    background: rgba(71, 85, 105, 0.82) !important;
    border: 1px solid rgba(255,255,255,.15) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-sizing: border-box !important;
}

body.auth-page-body .login-form-heading {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin-bottom: 24px !important;
}

body.auth-page-body .login-form-heading .auth-card-icon {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    margin: 0 !important;
    border-radius: 13px !important;
    background: #2563eb !important;
    color: #ffffff !important;
}

body.auth-page-body .login-form-heading h2 {
    margin: 0 0 4px !important;
    font-size: 1.45rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
}

body.auth-page-body .login-form-heading .auth-subtitle {
    margin: 0 !important;
    font-size: .9rem !important;
    font-weight: 300 !important;
    line-height: 1.4 !important;
    color: rgba(226,232,240,.68) !important;
}

body.auth-page-body #loginForm.login-form-card .auth-field-label {
    display: block !important;
    margin: 15px 0 7px !important;
    font-size: .86rem !important;
    font-weight: 300 !important;
    color: rgba(226,232,240,.58) !important;
}

body.auth-page-body #loginForm.login-form-card .auth-input-wrap {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 52px !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
}

body.auth-page-body #loginForm.login-form-card .auth-input-wrap input {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 52px !important;
    font-size: .92rem !important;
    font-weight: 400 !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
}

body.auth-page-body #loginForm.login-form-card .auth-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-top: 15px !important;
}

body.auth-page-body #loginForm.login-form-card .auth-submit-btn {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 46px !important;
    margin-top: 20px !important;
    border-radius: 11px !important;
    font-size: .92rem !important;
    font-weight: 500 !important;
}

body.auth-page-body #loginForm.login-form-card .auth-switch-text {
    text-align: center !important;
}


/* =========================================================
   DESKTOP — WELCOME LEFT / SIGN IN TOP RIGHT
   ========================================================= */

@media screen and (min-width: 851px) {

    /* Match vertical spacing below the menu on both sides */
    body.auth-page-body .login-page-hero {
        padding-top: 30px !important;
    }


    body.auth-page-body .auth-shell.login-redesign {
    position: relative !important;
    min-height: 700px !important;
	}

    /* Welcome content stays on the left */
    body.auth-page-body .login-page-hero {
        width: 50% !important;
        padding-right: 20px !important;
    }

    body.auth-page-body .login-hero-grid {
        width: 92% !important;
        max-width: 760px !important;
        margin-left: 3% !important;
        margin-right: auto !important;
        transform: none !important;
    }

    body.auth-page-body .login-hero-copy {
        width: 100% !important;
        max-width: 720px !important;
    }

    /* Sign In sits at the top-right */
    body.auth-page-body .login-form-section {
        position: absolute !important;
        top: 30px !important;
        right: 5% !important;
        width: 47% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.auth-page-body .login-big-container {
        display: block !important;
        width: 100% !important;
        max-width: 760px !important;
        margin: 0 0 0 auto !important;
        padding: 18px !important;
    }

    body.auth-page-body #loginForm.login-form-card {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }


    /* Compact email + password pills on desktop */
    body.auth-page-body #loginForm.login-form-card .auth-input-wrap {
        min-height: 42px !important;
        height: 42px !important;
        border-radius: 10px !important;
    }

    body.auth-page-body #loginForm.login-form-card .auth-input-wrap input {
        min-height: 42px !important;
        height: 42px !important;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
        font-size: .88rem !important;
        border-radius: 10px !important;
    }

}

/* =========================================================
   TABLET / MOBILE
   ========================================================= */

@media screen and (max-width: 850px) {

    body.auth-page-body .auth-shell,
    body.auth-page-body .login-redesign,
    body.auth-page-body .login-page-hero,
    body.auth-page-body .login-form-section {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow: visible !important;
    }

    body.auth-page-body .login-page-hero {
        padding-top: 26px !important;
        padding-bottom: 20px !important;
    }

    body.auth-page-body .login-hero-grid {
        display: block !important;
        width: 92% !important;
        max-width: 92% !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    body.auth-page-body .login-hero-copy {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
    }

    body.auth-page-body .login-hero-copy h1 {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 8px !important;
        font-size: 2rem !important;
        line-height: 1.12 !important;
        white-space: normal !important;
        overflow: visible !important;
        word-break: normal !important;
    }

    body.auth-page-body .login-amharic-title {
        width: 100% !important;
        margin: 0 0 12px !important;
        font-size: .95rem !important;
        line-height: 1.45 !important;
    }

    body.auth-page-body .login-hero-subtitle {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 18px !important;
        font-size: .90rem !important;
        line-height: 1.5 !important;
    }

    body.auth-page-body .login-hero-tips {
        width: 100% !important;
        max-width: 100% !important;
        gap: 6px !important;
    }

    body.auth-page-body .login-hero-tip {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 0 !important;
        padding: 7px 0 !important;
        gap: 12px !important;
        align-items: flex-start !important;
        box-sizing: border-box !important;
    }

    body.auth-page-body .login-tip-icon {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
        flex: 0 0 42px !important;
        border-radius: 11px !important;
    }

    body.auth-page-body .login-tip-icon i {
        font-size: .9rem !important;
    }

    body.auth-page-body .login-tip-copy {
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }

    body.auth-page-body .login-tip-copy strong {
        margin-bottom: 3px !important;
        font-size: .92rem !important;
        line-height: 1.3 !important;
    }

    body.auth-page-body .login-tip-copy span {
        font-size: .80rem !important;
        line-height: 1.4 !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
    }

    body.auth-page-body .login-form-section {
        position: static !important;
        clear: both !important;
        width: 100% !important;
        margin: 0 !important;
        padding-top: 12px !important;
        padding-bottom: 35px !important;
    }

    body.auth-page-body .login-big-container {
        display: block !important;
        width: 92% !important;
        max-width: 92% !important;
        min-width: 0 !important;
        margin: 0 auto !important;
        padding: 10px !important;
        gap: 10px !important;
        border-radius: 18px !important;
        box-sizing: border-box !important;
    }


    body.auth-page-body #loginForm.login-form-card {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 18px 14px !important;
        box-sizing: border-box !important;
    }

    body.auth-page-body .login-form-heading {
        gap: 10px !important;
        margin-bottom: 18px !important;
    }

    body.auth-page-body .login-form-heading .auth-card-icon {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
    }

    body.auth-page-body .login-form-heading h2 {
        font-size: 1.2rem !important;
    }

    body.auth-page-body .login-form-heading .auth-subtitle {
        font-size: .78rem !important;
        line-height: 1.4 !important;
    }

    body.auth-page-body #loginForm.login-form-card .auth-field-label {
        margin: 12px 0 6px !important;
        font-size: .8rem !important;
    }

    body.auth-page-body #loginForm.login-form-card .auth-input-wrap {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 46px !important;
        box-sizing: border-box !important;
    }

    body.auth-page-body #loginForm.login-form-card .auth-input-wrap input {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: 46px !important;
        font-size: .86rem !important;
        box-sizing: border-box !important;
    }

    body.auth-page-body #loginForm.login-form-card .auth-row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        margin-top: 13px !important;
        flex-wrap: wrap !important;
    }

    body.auth-page-body .remember-check span,
    body.auth-page-body #loginForm.login-form-card .auth-link {
        font-size: .8rem !important;
    }

    body.auth-page-body #loginForm.login-form-card .auth-submit-btn {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 44px !important;
        margin-top: 16px !important;
    }

    body.auth-page-body #loginForm.login-form-card .auth-switch-text {
        font-size: .78rem !important;
        line-height: 1.5 !important;
        text-align: center !important;
    }

    body.auth-page-body #loginForm.login-form-card .auth-divider {
        margin-top: 18px !important;
    }
}

/* =========================================================
   SMALL PHONES
   ========================================================= */

@media screen and (max-width: 480px) {
    body.auth-page-body .login-hero-grid,
    body.auth-page-body .login-big-container {
        width: 90% !important;
        max-width: 90% !important;
    }

    body.auth-page-body .login-page-hero {
        padding-top: 22px !important;
    }

    body.auth-page-body .login-hero-copy h1 {
        font-size: 1.85rem !important;
    }

    body.auth-page-body .login-form-heading {
        align-items: flex-start !important;
    }
}


/* =========================================================
   HEADER — RESTORE ORIGINAL SITE WIDTH
   Keep navigation independent from Login / Contact layouts
   ========================================================= */

body header .container.site-nav,
body header .container.nav.site-nav,
body.index-page header .site-nav.container {
    width: min(1480px, 97%) !important;
    max-width: 1480px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}



/* =========================================================
   LOGIN — ALIGN LEFT HERO WITH LOGO + SIGN-IN CARD
   ========================================================= */

@media (min-width: 851px) {

    /* Move the entire left hero toward the logo */
    body.auth-page-body .login-hero-grid {
        width: 94% !important;
        max-width: 760px !important;
        margin-left: 1.5% !important;
        margin-right: auto !important;
        transform: none !important;
    }

    /* Remove the old 20px right shift */
    body.auth-page-body .login-hero-copy {
        transform: none !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    /* Move hero upward to match top of Sign In container */
    body.auth-page-body .login-page-hero {
        padding-top: 2px !important;
    }
}







/* =========================================================
   LOGIN — COMPACT / LIGHTER CONTROLS
   ========================================================= */

/* 1. Header Sign In + Sign Up — smaller and not bold */
/* HEADER — COMPACT SIGN IN + SIGN UP PILLS */
body header .login-link,
body header .register-link {
    min-height: 30px !important;
    height: 30px !important;

    padding: 3px 10px !important;
    border-radius: 9px !important;

    font-size: 0.78rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    gap: 5px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Smaller icons inside both pills */
body header .login-link i,
body header .register-link i {
    font-size: 0.78rem !important;
    line-height: 1 !important;
}

/* Prevent other rules from making them unnecessarily wide */
body header .login-link,
body header .register-link {
    min-width: 0 !important;
    width: auto !important;
}



/* Remember me — whiter and not bold */
body.auth-page-body #loginForm.login-form-card .auth-field-label,
body.auth-page-body #loginForm.login-form-card .remember-check,
body.auth-page-body #loginForm.login-form-card .remember-check span {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 400 !important;
    opacity: 1 !important;
}


/* 3. Forgot password — blue but not bold */
body.auth-page-body #loginForm .forgot-password,
body.auth-page-body #loginForm a[href*="forgot"] {
    color: #60a5fa !important;
    font-weight: 400 !important;
    font-size: 0.84rem !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

body.auth-page-body #loginForm .forgot-password:hover,
body.auth-page-body #loginForm a[href*="forgot"]:hover {
    color: #60a5fa !important;
    text-decoration: underline !important;
}


/* 4. Email + Password pills — significantly narrower */
@media (min-width: 851px) {

    body.auth-page-body #loginForm .auth-input-wrap {
        width: 78% !important;
        max-width: 540px !important;
        min-height: 40px !important;
        height: 40px !important;
        border-radius: 10px !important;
    }

    body.auth-page-body #loginForm .auth-input-wrap input {
        min-height: 40px !important;
        height: 40px !important;
        font-size: 0.86rem !important;
        padding-top: 7px !important;
        padding-bottom: 7px !important;
    }
}

/* LOGIN — DESKTOP SHORTER EMAIL + PASSWORD PILLS */
@media (min-width: 851px) {

    body.auth-page-body #loginForm.login-form-card .auth-input-wrap {
        width: 65% !important;
        max-width: 520px !important;
        margin-left: 0 !important;
        margin-right: auto !important;
    }

}


/* =========================================================
   LOGIN — NEW ACCOUNT SECTION COLORS
   ========================================================= */

/* Divider lines */
body.auth-page-body #loginForm .auth-divider::before,
body.auth-page-body #loginForm .auth-divider::after {
    background: rgba(255, 255, 255, 0.45) !important;
}

/* "New to MinAlesh?" */
body.auth-page-body #loginForm .auth-divider,
body.auth-page-body #loginForm .auth-divider span {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 500 !important;
}

/* "Create an account to post and manage listings." */
body.auth-page-body #loginForm .auth-switch-text {
    color: rgba(255, 255, 255, 0.78) !important;
    font-weight: 400 !important;
}

/* Sign Up link */
body.auth-page-body #loginForm .auth-switch-text .auth-link {
    color: #60a5fa !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

/* Sign Up hover */
body.auth-page-body #loginForm .auth-switch-text .auth-link:hover {
    color: #93c5fd !important;
    text-decoration: underline !important;
}


/* =========================================================
   LOGIN — REMOVE OUTSIDE CONTAINER
   Keep inner Sign In form
   ========================================================= */

body.auth-page-body .login-big-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    padding: 0 !important;
    border-radius: 0 !important;
}





/* =========================================================
   REGISTER PAGE — MATCH CURRENT LOGIN PAGE
   Add this block at the VERY BOTTOM of style.css
   ========================================================= */

body.auth-page-body .auth-shell.register-redesign {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-height: 760px !important;
    padding: 0 !important;
}

/* LEFT HERO */
body.auth-page-body .register-page-hero {
    display: block !important;
    width: 100% !important;
    padding: 30px 0 34px !important;
}

body.auth-page-body .register-hero-grid {
    width: 97% !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

body.auth-page-body .register-hero-copy {
    width: 100% !important;
    max-width: 720px !important;
    color: #ffffff !important;
}

body.auth-page-body .register-hero-copy h1 {
    margin: 0 0 10px !important;
    color: #ffffff !important;
    font-size: clamp(2.2rem, 4vw, 3.4rem) !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    letter-spacing: -.035em !important;
}

body.auth-page-body .register-hero-copy h1 span,
body.auth-page-body .register-hero-amharic span {
    color: #2f6fed !important;
}

body.auth-page-body .register-hero-amharic {
    margin: 0 0 18px !important;
    color: #ffffff !important;
    font-size: 1.15rem !important;
    font-weight: 500 !important;
}

body.auth-page-body .register-hero-subtitle {
    margin: 0 0 28px !important;
    max-width: 700px !important;
    color: rgba(255,255,255,.92) !important;
    font-size: 1.05rem !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
}

body.auth-page-body .register-creative-tips {
    display: grid !important;
    gap: 16px !important;
}

body.auth-page-body .register-creative-tip {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

body.auth-page-body .register-creative-tip .creative-tip-icon {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    flex: 0 0 46px !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255,255,255,.94) !important;
    color: #2563eb !important;
}

body.auth-page-body .register-creative-tip strong {
    display: block !important;
    color: #ffffff !important;
    font-size: .95rem !important;
    font-weight: 500 !important;
    margin-bottom: 2px !important;
}

body.auth-page-body .register-creative-tip span {
    display: block !important;
    color: rgba(255,255,255,.78) !important;
    font-size: .86rem !important;
    font-weight: 400 !important;
}

/* RIGHT FORM */
body.auth-page-body .register-form-section {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.auth-page-body .register-big-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

body.auth-page-body #registerForm.register-form-card {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 30px !important;
    border-radius: 18px !important;
    background: rgba(71,85,105,.82) !important;
    border: 1px solid rgba(255,255,255,.15) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.auth-page-body .register-form-heading {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin-bottom: 20px !important;
}

body.auth-page-body .register-form-heading .auth-card-icon {
    margin: 0 !important;
    flex: 0 0 auto !important;
}

body.auth-page-body #registerForm.register-form-card h2 {
    margin: 0 0 4px !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

body.auth-page-body #registerForm.register-form-card .auth-subtitle {
    margin: 0 !important;
    color: rgba(255,255,255,.72) !important;
    font-weight: 400 !important;
}

body.auth-page-body #registerForm.register-form-card .auth-field-label {
    display: block !important;
    color: rgba(255,255,255,.95) !important;
    font-size: .88rem !important;
    font-weight: 400 !important;
    opacity: 1 !important;
    margin: 13px 0 6px !important;
}

body.auth-page-body #registerForm.register-form-card .auth-input-wrap {
    width: 78% !important;
    max-width: 540px !important;
    min-height: 34px !important;
    height: 34px !important;
    border-radius: 9px !important;
}

body.auth-page-body #registerForm.register-form-card .auth-input-wrap input {
    min-height: 34px !important;
    height: 34px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    font-size: .84rem !important;
}

body.auth-page-body #registerForm.register-form-card .auth-input-wrap > i,
body.auth-page-body #registerForm.register-form-card .password-toggle i {
    font-size: .82rem !important;
}

body.auth-page-body #registerForm.register-form-card .password-toggle {
    width: 34px !important;
    height: 34px !important;
}

body.auth-page-body #registerForm.register-form-card .password-requirements-toggle,
body.auth-page-body #registerForm.register-form-card .terms-check,
body.auth-page-body #registerForm.register-form-card .terms-check span {
    color: rgba(255,255,255,.88) !important;
    font-weight: 400 !important;
    font-size: .82rem !important;
}

body.auth-page-body #registerForm.register-form-card .terms-check a,
body.auth-page-body #registerForm.register-form-card .auth-link {
    color: #60a5fa !important;
    font-weight: 500 !important;
}

body.auth-page-body #registerForm.register-form-card .auth-submit-btn {
    margin-top: 16px !important;
}

body.auth-page-body #registerForm.register-form-card .auth-divider,
body.auth-page-body #registerForm.register-form-card .auth-divider span {
    color: rgba(255,255,255,.95) !important;
    font-weight: 500 !important;
}

body.auth-page-body #registerForm.register-form-card .auth-divider::before,
body.auth-page-body #registerForm.register-form-card .auth-divider::after {
    background: rgba(255,255,255,.45) !important;
}

body.auth-page-body #registerForm.register-form-card .auth-switch-text {
    color: rgba(255,255,255,.78) !important;
    font-weight: 400 !important;
}

/* DESKTOP — SAME LEFT / RIGHT POSITIONING AS LOGIN */
@media (min-width: 851px) {
    body.auth-page-body .auth-shell.register-redesign {
        min-height: 760px !important;
    }

    body.auth-page-body .register-page-hero {
        width: 50% !important;
        padding-top: 15px !important;
        padding-right: 20px !important;
    }

    body.auth-page-body .register-hero-grid {
        width: 94% !important;
        max-width: 760px !important;
        margin-left: 1.5% !important;
        margin-right: auto !important;
    }

    body.auth-page-body .register-form-section {
        position: absolute !important;
        top: 15px !important;
        right: 5% !important;
        width: 47% !important;
    }

    body.auth-page-body .register-big-container {
        display: block !important;
        width: 100% !important;
        max-width: 760px !important;
        margin: 0 0 0 auto !important;
    }
}

/* MOBILE */
@media (max-width: 850px) {
    body.auth-page-body .auth-shell.register-redesign {
        min-height: auto !important;
    }

    body.auth-page-body .register-page-hero,
    body.auth-page-body .register-form-section {
        width: 100% !important;
        position: static !important;
    }

    body.auth-page-body .register-hero-grid,
    body.auth-page-body .register-big-container {
        width: 92% !important;
        max-width: none !important;
        margin: 0 auto !important;
    }

    body.auth-page-body #registerForm.register-form-card .auth-input-wrap {
        width: 100% !important;
        max-width: none !important;
    }
}


/* REGISTER — MOVE LEFT HERO TO THE RIGHT */
@media (min-width: 851px) {

    body.auth-page-body .register-hero-copy {
        transform: translateX(25px) !important;
    }

}



/* =========================================================
   REGISTER — COMPACT FORM WIDTHS
   Does NOT affect header Sign In / Sign Up
   ========================================================= */

@media (min-width: 851px) {

	/* Full Name, Email, Password, Confirm Password */
	body.auth-page-body #registerForm.register-form-card .auth-input-wrap {
		width: 45% !important;
		max-width: 500px !important;
		margin-left: 0 !important;
		margin-right: auto !important;
	}

    /* Password requirements */
    body.auth-page-body #registerForm.register-form-card .password-requirements {
        width: 62% !important;
        max-width: 500px !important;
    }

    /* Terms and Privacy agreement */
    body.auth-page-body #registerForm.register-form-card .terms-check {
        width: 62% !important;
        max-width: 500px !important;
    }

	/* Create Account button */
	body.auth-page-body #registerForm.register-form-card .auth-submit-btn {
		width: 45% !important;
		max-width: 500px !important;
		margin-left: 0 !important;
		margin-right: auto !important;
	}

    /* Already registered divider */
    body.auth-page-body #registerForm.register-form-card .auth-divider {
        width: 62% !important;
        max-width: 500px !important;
    }

    /* Bottom Sign In text */
    body.auth-page-body #registerForm.register-form-card .auth-switch-text {
        width: 62% !important;
        max-width: 500px !important;
        text-align: center !important;
    }
}






/* =========================================================
   REGISTER — TERMS WIDTH + CREATE ACCOUNT WEIGHT
   ========================================================= */

@media (min-width: 851px) {

    /* Let Terms / Privacy text use more available space */
    body.auth-page-body #registerForm.register-form-card .terms-check {
        width: 100% !important;
        max-width: none !important;
        display: flex !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    body.auth-page-body #registerForm.register-form-card .terms-check span {
        flex: 1 !important;
        width: auto !important;
        max-width: none !important;
        font-weight: 400 !important;
    }

    /* Create Account — remove bold */
    body.auth-page-body #registerForm.register-form-card .auth-submit-btn {
        font-weight: 400 !important;
    }

    body.auth-page-body #registerForm.register-form-card .auth-submit-btn i {
        font-weight: 900 !important;
    }
}







/* =========================================================
   FORGOT PASSWORD — MATCH SIGN UP PAGE
   Add at the VERY BOTTOM of style.css
   ========================================================= */

body.auth-page-body .auth-shell.forgot-redesign {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-height: 700px !important;
    padding: 0 !important;
}

/* LEFT HERO */
body.auth-page-body .forgot-page-hero {
    display: block !important;
    width: 100% !important;
    padding: 15px 0 34px !important;
}

body.auth-page-body .forgot-hero-grid {
    width: 97% !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

body.auth-page-body .forgot-hero-copy {
    width: 100% !important;
    max-width: 720px !important;
    color: #ffffff !important;
    transform: translateX(25px) !important;
}

body.auth-page-body .forgot-hero-copy h1 {
    margin: 0 0 10px !important;
    color: #ffffff !important;
    font-size: clamp(2.2rem, 4vw, 3.4rem) !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    letter-spacing: -.035em !important;
}

body.auth-page-body .forgot-hero-copy h1 span,
body.auth-page-body .forgot-hero-amharic span {
    color: #2f6fed !important;
}

body.auth-page-body .forgot-hero-amharic {
    margin: 0 0 18px !important;
    color: #ffffff !important;
    font-size: 1.15rem !important;
    font-weight: 500 !important;
}

body.auth-page-body .forgot-hero-subtitle {
    margin: 0 0 28px !important;
    max-width: 700px !important;
    color: rgba(255,255,255,.92) !important;
    font-size: 1.05rem !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
}

body.auth-page-body .forgot-creative-tips {
    display: grid !important;
    gap: 16px !important;
}

body.auth-page-body .forgot-creative-tip {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

body.auth-page-body .forgot-creative-tip .creative-tip-icon {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    flex: 0 0 46px !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255,255,255,.94) !important;
    color: #2563eb !important;
}

body.auth-page-body .forgot-creative-tip strong {
    display: block !important;
    color: #ffffff !important;
    font-size: .95rem !important;
    font-weight: 500 !important;
    margin-bottom: 2px !important;
}

body.auth-page-body .forgot-creative-tip span {
    display: block !important;
    color: rgba(255,255,255,.78) !important;
    font-size: .86rem !important;
    font-weight: 400 !important;
}

/* RIGHT FORM */
body.auth-page-body .forgot-form-section {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.auth-page-body .forgot-big-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

body.auth-page-body #forgotPasswordForm.forgot-form-card {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 30px !important;
    border-radius: 18px !important;
    background: rgba(71,85,105,.82) !important;
    border: 1px solid rgba(255,255,255,.15) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.auth-page-body .forgot-form-heading {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin-bottom: 20px !important;
}

body.auth-page-body .forgot-form-heading .forgot-icon {
    margin: 0 !important;
    flex: 0 0 auto !important;
}

body.auth-page-body #forgotPasswordForm.forgot-form-card h2 {
    margin: 0 0 4px !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

body.auth-page-body #forgotPasswordForm.forgot-form-card .forgot-subtitle {
    margin: 0 !important;
    color: rgba(255,255,255,.72) !important;
    font-weight: 400 !important;
}

body.auth-page-body #forgotPasswordForm.forgot-form-card .forgot-label {
    display: block !important;
    color: rgba(255,255,255,.95) !important;
    font-size: .88rem !important;
    font-weight: 400 !important;
    opacity: 1 !important;
    margin: 13px 0 6px !important;
}

body.auth-page-body #forgotPasswordForm.forgot-form-card .forgot-input-wrap {
    width: 62% !important;
    max-width: 500px !important;
    min-height: 34px !important;
    height: 34px !important;
    border-radius: 9px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

body.auth-page-body #forgotPasswordForm.forgot-form-card .forgot-input-wrap input {
    min-height: 34px !important;
    height: 34px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    font-size: .84rem !important;
}

body.auth-page-body #forgotPasswordForm.forgot-form-card .forgot-input-wrap > i {
    font-size: .82rem !important;
}

body.auth-page-body #forgotPasswordForm.forgot-form-card .forgot-btn {
    width: 62% !important;
    max-width: 500px !important;
    margin: 18px 0 0 !important;
    font-weight: 400 !important;
}

body.auth-page-body #forgotPasswordForm.forgot-form-card .forgot-divider {
    width: 62% !important;
    max-width: 500px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 18px 0 12px !important;
    color: rgba(255,255,255,.95) !important;
    font-weight: 500 !important;
    font-size: .86rem !important;
}

body.auth-page-body #forgotPasswordForm.forgot-form-card .forgot-divider::before,
body.auth-page-body #forgotPasswordForm.forgot-form-card .forgot-divider::after {
    content: "" !important;
    height: 1px !important;
    flex: 1 !important;
    background: rgba(255,255,255,.45) !important;
}

body.auth-page-body #forgotPasswordForm.forgot-form-card .forgot-switch-text {
    width: 62% !important;
    max-width: 500px !important;
    margin: 0 !important;
    text-align: center !important;
    color: rgba(255,255,255,.78) !important;
    font-weight: 400 !important;
    font-size: .86rem !important;
}

body.auth-page-body #forgotPasswordForm.forgot-form-card .forgot-login-link {
    color: #60a5fa !important;
    font-weight: 500 !important;
}

/* DESKTOP — SAME POSITIONING AS SIGN UP */
@media (min-width: 851px) {
    body.auth-page-body .forgot-page-hero {
        width: 50% !important;
        padding-right: 20px !important;
    }

    body.auth-page-body .forgot-hero-grid {
        width: 94% !important;
        max-width: 760px !important;
        margin-left: 1.5% !important;
        margin-right: auto !important;
    }

    body.auth-page-body .forgot-form-section {
        position: absolute !important;
        top: 15px !important;
        right: 5% !important;
        width: 47% !important;
    }

    body.auth-page-body .forgot-big-container {
        display: block !important;
        width: 68% !important;
        max-width: 680px !important;
        margin-left: 0 !important;
        margin-right: auto !important;
    }
}

/* MOBILE */
@media (max-width: 850px) {
    body.auth-page-body .auth-shell.forgot-redesign {
        min-height: 0 !important;
    }

    body.auth-page-body .forgot-page-hero,
    body.auth-page-body .forgot-form-section {
        width: 100% !important;
        position: static !important;
    }

    body.auth-page-body .forgot-hero-copy {
        transform: none !important;
    }

    body.auth-page-body .forgot-big-container,
    body.auth-page-body #forgotPasswordForm.forgot-form-card {
        width: 100% !important;
        max-width: none !important;
    }

    body.auth-page-body #forgotPasswordForm.forgot-form-card .forgot-input-wrap,
    body.auth-page-body #forgotPasswordForm.forgot-form-card .forgot-btn,
    body.auth-page-body #forgotPasswordForm.forgot-form-card .forgot-divider,
    body.auth-page-body #forgotPasswordForm.forgot-form-card .forgot-switch-text {
        width: 100% !important;
        max-width: none !important;
    }
}



/* FORGOT PASSWORD — SLIGHTLY WIDER CONTAINER */
@media (min-width: 851px) {
    body.forgot-page-body .forgot-big-container {
        width: 95% !important;
        max-width: 900px !important;
    }
}

/* =========================================================
   EDIT ROOMMATE — FINAL HERO MATCH TO POST ROOMMATE
   Keeps Edit Roommate visually identical to the Post Roommate
   hero while leaving other pages untouched.
   ========================================================= */

body.edit-roommate-page .post-roommate-hero {
    padding: 34px 0 30px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.edit-roommate-page .post-roommate-hero-grid {
    display: block !important;
    width: 97% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.edit-roommate-page .post-roommate-copy,
body.edit-roommate-page .post-page-hero-copy {
    width: 100% !important;
    max-width: 950px !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Title */
body.edit-roommate-page .post-page-hero-copy h1 {
    margin: 0 0 10px !important;
    padding-left: 0 !important;
    color: #ffffff !important;
    font-size: clamp(2rem, 4vw, 3.25rem) !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em !important;
    text-shadow: 0 3px 14px rgba(0,0,0,.30) !important;
}

/* Subtitle */
body.edit-roommate-page
.post-roommate-hero
.post-roommate-hero-grid
.post-roommate-copy
p.post-page-hero-subtitle {
    margin: 0 0 24px !important;
    padding-left: 0 !important;
    max-width: 760px !important;
    background: transparent !important;
    color: rgba(255,255,255,.92) !important;
    font-size: 1.15rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    text-shadow: 0 2px 8px rgba(0,0,0,.35) !important;
}

/* Tips wrapper */
body.edit-roommate-page .post-roommate-creative-tips {
	display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 760px !important;
    gap: 0 !important;
    margin: 0 0 34px 25px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Individual tip rows */
body.edit-roommate-page .post-roommate-creative-tip {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 46px minmax(0,1fr) 40px !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 74px !important;
    padding: 9px 0 !important;
    margin: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.edit-roommate-page .post-roommate-creative-tip:not(:last-child)::after {
    content: "" !important;
    position: absolute !important;
    left: 59px !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 1px !important;
    background: linear-gradient(
        90deg,
        rgba(148,163,184,.34),
        rgba(148,163,184,.04)
    ) !important;
}

/* Tip icon boxes */
body.edit-roommate-page
.post-roommate-creative-tip
.creative-tip-icon {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    flex: 0 0 46px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255,255,255,.56) !important;
    box-shadow:
        0 9px 20px rgba(2,8,23,.17),
        inset 0 1px 0 rgba(255,255,255,.72) !important;
}

body.edit-roommate-page .tip-photo .creative-tip-icon {
    color: #2563eb !important;
    background: linear-gradient(145deg,#ffffff,#dbeafe) !important;
}

body.edit-roommate-page .tip-amenities .creative-tip-icon {
    color: #0f9f94 !important;
    background: linear-gradient(145deg,#f0fdfa,#ccfbf1) !important;
}

body.edit-roommate-page .tip-preferences .creative-tip-icon {
    color: #ea580c !important;
    background: linear-gradient(145deg,#fff7ed,#ffedd5) !important;
}

body.edit-roommate-page
.post-roommate-creative-tip
.creative-tip-icon i {
    font-size: 1rem !important;
}

/* Tip text */
body.edit-roommate-page
.post-roommate-creative-tip
.creative-tip-copy strong {
    display: block !important;
    margin: 0 0 5px !important;
    padding: 0 !important;
    background: transparent !important;
    color: #ffffff !important;
    font-size: 1.08rem !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
}

body.edit-roommate-page
.post-roommate-creative-tip
.creative-tip-copy span {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: rgba(255,255,255,.86) !important;
    font-size: .98rem !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
}

/* Decorative dotted accent */
body.edit-roommate-page .post-roommate-creative-tip .creative-tip-accent {
    width: 34px !important;
    height: 34px !important;
    opacity: .82 !important;
    background-color: transparent !important;
    background-image: radial-gradient(
        circle,
        currentColor 1.3px,
        transparent 1.5px
    ) !important;
    background-size: 9px 9px !important;
}

body.edit-roommate-page .tip-photo .creative-tip-accent {
    color: #60a5fa !important;
}

body.edit-roommate-page .tip-amenities .creative-tip-accent {
    color: #2dd4bf !important;
}

body.edit-roommate-page .tip-preferences .creative-tip-accent {
    color: #fb923c !important;
}

/* Same small right nudge used by Post Roommate */
body.edit-roommate-page .post-page-hero-copy > h1,
body.edit-roommate-page .post-page-hero-copy > p.post-page-hero-subtitle {
    transform: translateX(20px) !important;
}

@media (max-width: 600px) {
    body.edit-roommate-page .post-roommate-hero {
        padding: 26px 0 22px !important;
    }

    body.edit-roommate-page .post-page-hero-copy h1 {
        font-size: 2rem !important;
    }

    body.edit-roommate-page
    .post-roommate-hero
    .post-roommate-hero-grid
    .post-roommate-copy
    p.post-page-hero-subtitle {
        font-size: .95rem !important;
        margin-bottom: 22px !important;
    }

    body.edit-roommate-page .post-roommate-creative-tip {
        grid-template-columns: 46px minmax(0,1fr) !important;
        min-height: 66px !important;
        padding: 9px 0 !important;
        gap: 12px !important;
    }

    body.edit-roommate-page .post-roommate-creative-tip .creative-tip-accent {
        display: none !important;
    }

    body.edit-roommate-page
    .post-roommate-creative-tip
    .creative-tip-copy strong {
        font-size: .94rem !important;
    }

    body.edit-roommate-page
    .post-roommate-creative-tip
    .creative-tip-copy span {
        font-size: .82rem !important;
    }
}

/* =========================================================
   EDIT NANNY — PAGE-SPECIFIC STYLES
   Final hero/tips matched to Edit Roommate
   ========================================================= */

/* =========================================================
   EDIT NANNY — FINAL HERO MATCH TO EDIT ROOMMATE
   ========================================================= */

body.edit-nanny-page .post-roommate-hero {
    padding: 34px 0 30px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.edit-nanny-page .post-roommate-hero-grid {
    display: block !important;
    width: 97% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* This was too far left before. Now matches Edit Roommate. */
body.edit-nanny-page .post-roommate-copy,
body.edit-nanny-page .post-page-hero-copy {
    width: 100% !important;
    max-width: 950px !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Title */
body.edit-nanny-page .post-page-hero-copy h1 {
    margin: 0 0 10px !important;
    padding-left: 0 !important;
    color: #ffffff !important;
    font-size: clamp(2rem, 4vw, 3.25rem) !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em !important;
    text-shadow: 0 3px 14px rgba(0,0,0,.30) !important;
}

/* Subtitle */
body.edit-nanny-page
.post-roommate-hero
.post-roommate-hero-grid
.post-roommate-copy
p.post-page-hero-subtitle {
    margin: 0 0 24px !important;
    padding-left: 0 !important;
    max-width: 760px !important;
    background: transparent !important;
    color: rgba(255,255,255,.92) !important;
    font-size: 1.15rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    text-shadow: 0 2px 8px rgba(0,0,0,.35) !important;
}

/* Same right nudge used by final Edit Roommate */
body.edit-nanny-page .post-page-hero-copy > h1,
body.edit-nanny-page .post-page-hero-copy > p.post-page-hero-subtitle {
    transform: translateX(5px) !important;
}

/* Tips wrapper */
body.edit-nanny-page .post-roommate-creative-tips {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 760px !important;
    gap: 0 !important;
    margin: 0 0 34px 0px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Individual tip rows */
body.edit-nanny-page .post-roommate-creative-tip {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 46px minmax(0,1fr) 40px !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 74px !important;
    padding: 9px 0 !important;
    margin: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.edit-nanny-page .post-roommate-creative-tip:not(:last-child)::after {
    content: "" !important;
    position: absolute !important;
    left: 59px !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 1px !important;
    background: linear-gradient(
        90deg,
        rgba(148,163,184,.34),
        rgba(148,163,184,.04)
    ) !important;
}

/* Tip icon boxes */
body.edit-nanny-page
.post-roommate-creative-tip
.creative-tip-icon {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    flex: 0 0 46px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255,255,255,.56) !important;
    box-shadow:
        0 9px 20px rgba(2,8,23,.17),
        inset 0 1px 0 rgba(255,255,255,.72) !important;
}

body.edit-nanny-page .tip-photo .creative-tip-icon {
    color: #2563eb !important;
    background: linear-gradient(145deg,#ffffff,#dbeafe) !important;
}

body.edit-nanny-page .tip-amenities .creative-tip-icon {
    color: #0f9f94 !important;
    background: linear-gradient(145deg,#f0fdfa,#ccfbf1) !important;
}

body.edit-nanny-page .tip-preferences .creative-tip-icon {
    color: #ea580c !important;
    background: linear-gradient(145deg,#fff7ed,#ffedd5) !important;
}

body.edit-nanny-page
.post-roommate-creative-tip
.creative-tip-icon i {
    font-size: 1rem !important;
}

/* Tip text — exact Edit Roommate sizing */
body.edit-nanny-page
.post-roommate-creative-tip
.creative-tip-copy strong {
    display: block !important;
    margin: 0 0 5px !important;
    padding: 0 !important;
    background: transparent !important;
    color: #ffffff !important;
    font-size: 1.08rem !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
}

body.edit-nanny-page
.post-roommate-creative-tip
.creative-tip-copy span {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: rgba(255,255,255,.86) !important;
    font-size: .98rem !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
}

/* Decorative dotted accent */
body.edit-nanny-page .post-roommate-creative-tip .creative-tip-accent {
    width: 34px !important;
    height: 34px !important;
    opacity: .82 !important;
    background-color: transparent !important;
    background-image: radial-gradient(
        circle,
        currentColor 1.3px,
        transparent 1.5px
    ) !important;
    background-size: 9px 9px !important;
}

body.edit-nanny-page .tip-photo .creative-tip-accent {
    color: #60a5fa !important;
}

body.edit-nanny-page .tip-amenities .creative-tip-accent {
    color: #2dd4bf !important;
}

body.edit-nanny-page .tip-preferences .creative-tip-accent {
    color: #fb923c !important;
}

/* =========================================================
   EDIT NANNY — MAIN FORM
   Same compact layout established on Edit Roommate
   ========================================================= */

body.edit-nanny-page .edit-nanny-card {
    width: 960px !important;
    max-width: calc(100% - 40px) !important;
    margin-left: 5px !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

body.edit-nanny-page #editNannyForm {
    width: 100% !important;
    max-width: none !important;
}

body.edit-nanny-page .roommate-form-heading {
    margin-bottom: 18px !important;
}

body.edit-nanny-page .edit-nanny-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 280px) !important;
    justify-content: start !important;
    gap: 12px !important;
}

body.edit-nanny-page #editNannyForm .edit-field {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 5px !important;
    width: 280px !important;
    max-width: 280px !important;
    min-width: 0 !important;
}

body.edit-nanny-page #editNannyForm .edit-field-wide {
    grid-column: 1 / -1 !important;
    width: 864px !important;
    max-width: 100% !important;
}

body.edit-nanny-page #editNannyForm .edit-field label {
    display: block !important;
    margin: 0 0 1px 2px !important;
    color: rgba(255,255,255,.92) !important;
    font-size: .76rem !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;
}

body.edit-nanny-page #editNannyForm .edit-field input:not([type="checkbox"]):not([type="file"]),
body.edit-nanny-page #editNannyForm .edit-field select {
    width: 280px !important;
    max-width: 280px !important;
    min-width: 0 !important;
    min-height: 36px !important;
    height: 36px !important;
    padding: 6px 10px !important;
    box-sizing: border-box !important;
    border-radius: 9px !important;
    font-size: .86rem !important;
}

body.edit-nanny-page #editNannyForm .edit-field-wide input,
body.edit-nanny-page #editNannyForm .edit-field-wide textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

body.edit-nanny-page #editNannyForm textarea {
    min-height: 90px !important;
    height: 90px !important;
    padding: 9px 10px !important;
    font-size: .86rem !important;
    border-radius: 9px !important;
}

/* Compact nanny option pills */
body.edit-nanny-page .edit-nanny-checks {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 20px !important;
    margin-bottom: 0 !important;
}

body.edit-nanny-page .edit-nanny-checks .tag {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 32px !important;
    padding: 5px 10px !important;
    font-size: .78rem !important;
    font-weight: 400 !important;
    border-radius: 9px !important;
    gap: 6px !important;
    line-height: 1 !important;
}

body.edit-nanny-page .edit-nanny-checks input[type="checkbox"] {
    width: 13px !important;
    height: 13px !important;
    min-height: 13px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Contact */
body.edit-nanny-page .edit-nanny-contact-row {
    display: grid !important;
    grid-template-columns: repeat(2, 220px) !important;
    gap: 12px !important;
    justify-content: start !important;
    align-items: start !important;
    margin-top: 14px !important;
}

body.edit-nanny-page .edit-nanny-contact-row .edit-field {
    width: 220px !important;
    max-width: 220px !important;
}

body.edit-nanny-page .edit-nanny-contact-row .edit-field input {
    width: 220px !important;
    max-width: 220px !important;
    min-width: 0 !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 5px 9px !important;
    box-sizing: border-box !important;
    border-radius: 9px !important;
    font-size: .82rem !important;
}

/* Media aligned exactly like the final Edit Roommate adjustment */
body.edit-nanny-page .current-media-panel,
body.edit-nanny-page .edit-upload-box.post-style-upload-box {
    width: 100% !important;
    max-width: 864px !important;
    box-sizing: border-box !important;
    padding: 12px 14px !important;
    margin-top: 14px !important;
    margin-left: -14px !important;
    margin-right: auto !important;
    border-radius: 10px !important;
}

body.edit-nanny-page .current-media-panel h3,
body.edit-nanny-page .edit-upload-box.post-style-upload-box h3 {
    margin: 0 0 4px !important;
    font-size: .95rem !important;
}

body.edit-nanny-page .current-media-panel small,
body.edit-nanny-page .edit-upload-box.post-style-upload-box small {
    font-size: .75rem !important;
    line-height: 1.3 !important;
}

body.edit-nanny-page #photos {
    display: block !important;
    width: 300px !important;
    max-width: 300px !important;
    min-width: 300px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 3px 6px !important;
    margin-top: 10px !important;
    font-size: .82rem !important;
    border-radius: 9px !important;
    box-sizing: border-box !important;
}

body.edit-nanny-page #photos::file-selector-button {
    height: 26px !important;
    padding: 3px 9px !important;
    margin: 0 8px 0 0 !important;
    font-size: .82rem !important;
    font-weight: 400 !important;
    border-radius: 7px !important;
}

body.edit-nanny-page .form-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    margin-top: 18px !important;
    width: 100% !important;
    max-width: 864px !important;
}

body.edit-nanny-page .form-actions .btn {
    display: inline-flex !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 5px 14px !important;
    border-radius: 9px !important;
    font-size: .82rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    align-items: center !important;
    justify-content: center !important;
}

body.edit-nanny-page #statusMessage {
    width: 100% !important;
    max-width: 864px !important;
    margin: 7px 0 0 !important;
    font-size: .76rem !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
    text-align: left !important;
}

@media (max-width: 950px) {
    body.edit-nanny-page .edit-nanny-card {
        width: auto !important;
        max-width: calc(100% - 30px) !important;
        margin-left: 15px !important;
        margin-right: 15px !important;
    }

    body.edit-nanny-page .edit-nanny-grid {
        grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    }

    body.edit-nanny-page #editNannyForm .edit-field,
    body.edit-nanny-page #editNannyForm .edit-field-wide,
    body.edit-nanny-page .edit-nanny-contact-row .edit-field {
        width: 100% !important;
        max-width: none !important;
    }

    body.edit-nanny-page #editNannyForm .edit-field input:not([type="checkbox"]):not([type="file"]),
    body.edit-nanny-page #editNannyForm .edit-field select,
    body.edit-nanny-page .edit-nanny-contact-row .edit-field input {
        width: 100% !important;
        max-width: none !important;
    }

    body.edit-nanny-page .edit-nanny-contact-row {
        grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    }

    body.edit-nanny-page .current-media-panel,
    body.edit-nanny-page .edit-upload-box.post-style-upload-box,
    body.edit-nanny-page .form-actions,
    body.edit-nanny-page #statusMessage {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
    }
}

@media (max-width: 600px) {
    body.edit-nanny-page .post-roommate-hero {
        padding: 26px 0 22px !important;
    }

    body.edit-nanny-page .post-page-hero-copy h1 {
        font-size: 2rem !important;
    }

    body.edit-nanny-page
    .post-roommate-hero
    .post-roommate-hero-grid
    .post-roommate-copy
    p.post-page-hero-subtitle {
        font-size: .95rem !important;
        margin-bottom: 22px !important;
    }

    body.edit-nanny-page .post-roommate-creative-tip {
        grid-template-columns: 46px minmax(0,1fr) !important;
        min-height: 66px !important;
        padding: 9px 0 !important;
        gap: 12px !important;
    }

    body.edit-nanny-page .post-roommate-creative-tip .creative-tip-accent {
        display: none !important;
    }

    body.edit-nanny-page
    .post-roommate-creative-tip
    .creative-tip-copy strong {
        font-size: .94rem !important;
    }

    body.edit-nanny-page
    .post-roommate-creative-tip
    .creative-tip-copy span {
        font-size: .82rem !important;
    }

    body.edit-nanny-page .edit-nanny-grid,
    body.edit-nanny-page .edit-nanny-contact-row {
        grid-template-columns: 1fr !important;
    }

    body.edit-nanny-page #photos {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
}



/* =========================================================
   EDIT NANNY — MOBILE OUTER ALIGNMENT FIX
   ========================================================= */

@media (max-width: 950px) {

    /* Make lower form section use same width as top hero */
    body.edit-nanny-page
    main > section:not(.post-roommate-hero) > .container {
        width: 97% !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Card fills that container */
    body.edit-nanny-page .edit-nanny-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }
}


/* =========================================================
   EDIT SERVICE — FINAL OVERRIDES ADDED TO CURRENT BASE
   Current stylesheet preserved; this block intentionally comes last.
   ========================================================= */

/* =========================================================
   EDIT SERVICE — FINAL STANDARDIZED LAYOUT
   Matches Edit Roommate / Edit Nanny styling.
   ========================================================= */

/* HERO */
body.edit-service-page .post-service-hero {
    padding: 34px 0 30px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.edit-service-page .post-service-hero-grid {
    display: block !important;
    width: 97% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.edit-service-page .post-service-copy,
body.edit-service-page .post-page-hero-copy {
    width: 100% !important;
    max-width: 950px !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.edit-service-page .post-page-hero-copy > h1 {
    margin: 0 0 10px !important;
    padding: 0 !important;
    color: #ffffff !important;
    font-size: clamp(2rem, 4vw, 3.25rem) !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em !important;
    text-shadow: 0 3px 14px rgba(0,0,0,.30) !important;
    transform: translateX(0) !important;
}

body.edit-service-page .post-page-hero-subtitle {
    margin: 0 0 24px !important;
    padding: 0 !important;
    max-width: 760px !important;
    color: rgba(255,255,255,.92) !important;
    font-size: 1.15rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    text-shadow: 0 2px 8px rgba(0,0,0,.35) !important;
    transform: translateX(0) !important;
}

/* TIPS — same visual treatment as Post Service */
body.edit-service-page .post-service-creative-tips {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 760px !important;
    gap: 0 !important;
    margin: 0 0 34px 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.edit-service-page .post-service-creative-tip {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 46px minmax(0,1fr) 40px !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 74px !important;
    padding: 9px 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.edit-service-page .post-service-creative-tip:not(:last-child)::after {
    content: "" !important;
    position: absolute !important;
    left: 59px !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 1px !important;
    background: linear-gradient(
        90deg,
        rgba(148,163,184,.34),
        rgba(148,163,184,.04)
    ) !important;
}

body.edit-service-page .post-service-creative-tip .creative-tip-icon {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255,255,255,.56) !important;
    box-shadow:
        0 9px 20px rgba(2,8,23,.17),
        inset 0 1px 0 rgba(255,255,255,.72) !important;
}

body.edit-service-page .tip-offer .creative-tip-icon {
    color: #2563eb !important;
    background: linear-gradient(145deg,#ffffff,#dbeafe) !important;
}

body.edit-service-page .tip-photos .creative-tip-icon {
    color: #0f9f94 !important;
    background: linear-gradient(145deg,#f0fdfa,#ccfbf1) !important;
}

body.edit-service-page .tip-contact .creative-tip-icon {
    color: #ea580c !important;
    background: linear-gradient(145deg,#fff7ed,#ffedd5) !important;
}

body.edit-service-page .post-service-creative-tip .creative-tip-icon i {
    font-size: 1rem !important;
}

body.edit-service-page .post-service-creative-tip .creative-tip-copy strong {
    display: block !important;
    margin: 0 0 5px !important;
    color: #ffffff !important;
    font-size: 1.08rem !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
}

body.edit-service-page .post-service-creative-tip .creative-tip-copy span {
    display: block !important;
    margin: 0 !important;
    color: rgba(255,255,255,.86) !important;
    font-size: .98rem !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
}

body.edit-service-page .post-service-creative-tip .creative-tip-accent {
    width: 34px !important;
    height: 34px !important;
    opacity: .82 !important;
    background-color: transparent !important;
    background-image: radial-gradient(circle,currentColor 1.3px,transparent 1.5px) !important;
    background-size: 9px 9px !important;
}

body.edit-service-page .tip-offer .creative-tip-accent { color: #60a5fa !important; }
body.edit-service-page .tip-photos .creative-tip-accent { color: #2dd4bf !important; }
body.edit-service-page .tip-contact .creative-tip-accent { color: #fb923c !important; }

/* MAIN CARD */
body.edit-service-page .edit-service-card {
    width: 960px !important;
    max-width: calc(100% - 40px) !important;
    margin-left: 5px !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    background: rgba(71,85,105,.82) !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    border-radius: 24px !important;
    box-shadow:
        0 24px 60px rgba(15,23,42,.18),
        0 8px 22px rgba(15,23,42,.10) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.edit-service-page #editServiceForm {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

body.edit-service-page .service-form-heading {
    margin-bottom: 18px !important;
}

/* FORM FIELDS */
body.edit-service-page .edit-service-grid,
body.edit-service-page .edit-service-location-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 280px) !important;
    justify-content: start !important;
    align-items: start !important;
    gap: 12px !important;
}

body.edit-service-page .edit-service-field {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 5px !important;
    width: 280px !important;
    max-width: 280px !important;
    min-width: 0 !important;
}

body.edit-service-page .edit-service-field-wide {
    grid-column: 1 / -1 !important;
    width: 864px !important;
    max-width: 100% !important;
}

body.edit-service-page .edit-service-field label {
    display: block !important;
    margin: 0 0 1px 2px !important;
    color: rgba(255,255,255,.92) !important;
    font-size: .76rem !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;
}

body.edit-service-page .edit-service-field input:not([type="checkbox"]),
body.edit-service-page .edit-service-field select {
    width: 280px !important;
    max-width: 280px !important;
    min-width: 0 !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 6px 10px !important;
    box-sizing: border-box !important;
    border-radius: 9px !important;
    font-size: .86rem !important;
}

body.edit-service-page .edit-service-field-wide input,
body.edit-service-page .edit-service-field-wide textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

body.edit-service-page .edit-service-description {
    min-height: 160px !important;

    margin: 0 !important;
    padding: 9px 10px !important;
    border-radius: 9px !important;
    font-size: .86rem !important;
}

body.edit-service-page .edit-service-section-title {
    margin: 20px 0 10px !important;
    color: #ffffff !important;
    font-size: .92rem !important;
    font-weight: 500 !important;
}

body.edit-service-page .edit-service-options {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 12px !important;
}

body.edit-service-page .edit-service-mobile-pill {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    max-width: max-content !important;
    min-height: 32px !important;
    height: 32px !important;
    padding: 5px 10px !important;
    margin: 0 !important;
    gap: 6px !important;
    border-radius: 9px !important;
    font-size: .78rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

body.edit-service-page .edit-service-mobile-pill input[type="checkbox"] {
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    width: 13px !important;
    height: 13px !important;
    min-width: 13px !important;
    min-height: 13px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* CONTACT */
body.edit-service-page .edit-service-contact-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 220px) !important;
    gap: 12px !important;
    justify-content: start !important;
    align-items: start !important;
}

body.edit-service-page .edit-service-contact-grid .edit-service-field {
    width: 220px !important;
    max-width: 220px !important;
}

body.edit-service-page .edit-service-contact-grid .edit-service-field input {
    width: 220px !important;
    max-width: 220px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 5px 9px !important;
    box-sizing: border-box !important;
    border-radius: 9px !important;
    font-size: .82rem !important;
}

/* MEDIA */
body.edit-service-page .current-media-panel,
body.edit-service-page .edit-upload-box.post-style-upload-box {
    width: 100% !important;
    max-width: 864px !important;
    box-sizing: border-box !important;
    padding: 12px 14px !important;
    margin-top: 14px !important;
    margin-left: -14px !important;
    margin-right: auto !important;
    border-radius: 10px !important;
}

body.edit-service-page .current-media-panel h3,
body.edit-service-page .edit-upload-box.post-style-upload-box h3 {
    margin: 0 0 4px !important;
    font-size: .95rem !important;
}

body.edit-service-page .current-media-panel small,
body.edit-service-page .edit-upload-box.post-style-upload-box small {
    font-size: .75rem !important;
    line-height: 1.3 !important;
}

body.edit-service-page #photos {
    display: block !important;
    width: 300px !important;
    max-width: 300px !important;
    min-width: 300px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 3px 6px !important;
    margin-top: 10px !important;
    font-size: .82rem !important;
    border-radius: 9px !important;
    box-sizing: border-box !important;
}

body.edit-service-page #photos::file-selector-button {
    height: 26px !important;
    padding: 3px 9px !important;
    margin: 0 8px 0 0 !important;
    font-size: .82rem !important;
    font-weight: 400 !important;
    border-radius: 7px !important;
}

/* ACTIONS */
body.edit-service-page .form-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    margin-top: 18px !important;
    width: 100% !important;
    max-width: 864px !important;
}

body.edit-service-page .form-actions .btn {
    display: inline-flex !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 5px 14px !important;
    border-radius: 9px !important;
    font-size: .82rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    align-items: center !important;
    justify-content: center !important;
}

body.edit-service-page #statusMessage {
    width: 100% !important;
    max-width: 864px !important;
    margin: 7px 0 0 !important;
    font-size: .76rem !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
    text-align: left !important;
}

/* RESPONSIVE */
@media (max-width: 950px) {
    body.edit-service-page
    main > section:not(.post-service-hero) > .container {
        width: 97% !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.edit-service-page .edit-service-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    body.edit-service-page .edit-service-grid,
    body.edit-service-page .edit-service-location-grid {
        grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    }

    body.edit-service-page .edit-service-field,
    body.edit-service-page .edit-service-field-wide,
    body.edit-service-page .edit-service-contact-grid .edit-service-field {
        width: 100% !important;
        max-width: none !important;
    }

    body.edit-service-page .edit-service-field input:not([type="checkbox"]),
    body.edit-service-page .edit-service-field select,
    body.edit-service-page .edit-service-contact-grid .edit-service-field input {
        width: 100% !important;
        max-width: none !important;
    }

    body.edit-service-page .edit-service-contact-grid {
        grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    }

    body.edit-service-page .current-media-panel,
    body.edit-service-page .edit-upload-box.post-style-upload-box,
    body.edit-service-page .form-actions,
    body.edit-service-page #statusMessage {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
    }
}

@media (max-width: 600px) {
    body.edit-service-page .post-service-hero {
        padding: 26px 0 22px !important;
    }

    body.edit-service-page .post-page-hero-copy > h1 {
        font-size: 2rem !important;
    }

    body.edit-service-page .post-page-hero-subtitle {
        font-size: .95rem !important;
        margin-bottom: 22px !important;
    }

    body.edit-service-page .post-service-creative-tip {
        grid-template-columns: 46px minmax(0,1fr) !important;
        min-height: 66px !important;
        padding: 9px 0 !important;
        gap: 12px !important;
    }

    body.edit-service-page .post-service-creative-tip .creative-tip-accent {
        display: none !important;
    }

    body.edit-service-page .post-service-creative-tip .creative-tip-copy strong {
        font-size: .94rem !important;
    }

    body.edit-service-page .post-service-creative-tip .creative-tip-copy span {
        font-size: .82rem !important;
    }

    body.edit-service-page .edit-service-grid,
    body.edit-service-page .edit-service-location-grid,
    body.edit-service-page .edit-service-contact-grid {
        grid-template-columns: 1fr !important;
    }

    body.edit-service-page #photos {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
}

/* =========================================================
   EDIT SERVICE — EXACT POST SERVICE FIELD ARRANGEMENT
   2 / 2 / 1 / 2 / 2 / 1 / Description
   Location: 3 across, then Address + Mobile Service
   ========================================================= */

body.edit-service-page .edit-service-form-layout {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 700px !important;
}

body.edit-service-page .edit-service-row {
    display: grid !important;
    justify-content: start !important;
    align-items: end !important;
    gap: 12px !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
}

body.edit-service-page .edit-service-row-2 {
    grid-template-columns: repeat(2, 280px) !important;
}

body.edit-service-page .edit-service-row-1 {
    grid-template-columns: 572px !important;
}

body.edit-service-page .edit-service-row .edit-service-field {
    width: 280px !important;
    max-width: 280px !important;
    min-width: 280px !important;
    margin: 0 !important;
}

body.edit-service-page .edit-service-row .edit-service-field-full {
    width: 572px !important;
    max-width: 572px !important;
    min-width: 572px !important;
}

body.edit-service-page .edit-service-row .edit-service-field-half {
    width: 280px !important;
    max-width: 280px !important;
    min-width: 280px !important;
}

body.edit-service-page .edit-service-row .edit-service-field input:not([type="checkbox"]),
body.edit-service-page .edit-service-row .edit-service-field select {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 6px 10px !important;
    border-radius: 9px !important;
    box-sizing: border-box !important;
    font-size: .86rem !important;
}

body.edit-service-page .edit-service-row .edit-service-field-full textarea {
    width: 572px !important;
    max-width: 572px !important;
    min-width: 572px !important;

    min-height: 160px !important;
    padding: 9px 10px !important;
    border-radius: 9px !important;
    box-sizing: border-box !important;
    font-size: .86rem !important;
}

/* Keep labels compact while preserving the Edit-page label style */
body.edit-service-page .edit-service-row .edit-service-field label,
body.edit-service-page .edit-service-location-layout .edit-service-field label,
body.edit-service-page .edit-service-pill-label {
    display: block !important;
    margin: 0 0 4px 2px !important;
    color: rgba(255,255,255,.92) !important;
    font-size: .70rem !important;
    font-weight: 400 !important;
    line-height: 1.1 !important;
}

/* LOCATION */
body.edit-service-page .edit-service-location-layout {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 714px !important;
}

body.edit-service-page .edit-service-location-row {
    display: grid !important;
    justify-content: start !important;
    align-items: end !important;
    gap: 12px !important;
    width: auto !important;
    margin: 0 !important;
}

body.edit-service-page .edit-service-location-row-3 {
    grid-template-columns: repeat(3, 230px) !important;
}

body.edit-service-page .edit-service-location-row-2 {
    grid-template-columns: 230px 230px !important;
}

body.edit-service-page .edit-service-location-row .edit-service-field {
    width: 230px !important;
    max-width: 230px !important;
    min-width: 230px !important;
    margin: 0 !important;
}

body.edit-service-page .edit-service-location-row .edit-service-field input:not([type="checkbox"]),
body.edit-service-page .edit-service-location-row .edit-service-field select {
    width: 230px !important;
    max-width: 230px !important;
    min-width: 230px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 6px 10px !important;
    border-radius: 9px !important;
    box-sizing: border-box !important;
    font-size: .86rem !important;
}

/* Mobile Service pill — same footprint as the Address field */
body.edit-service-page .edit-service-pill-field {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-end !important;
    width: 230px !important;
    max-width: 230px !important;
    min-width: 230px !important;
    margin: 0 !important;
}

body.edit-service-page .edit-service-mobile-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 230px !important;
    max-width: 230px !important;
    min-width: 230px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 6px 10px !important;
    margin: 0 !important;
    gap: 7px !important;
    border-radius: 9px !important;
    box-sizing: border-box !important;
    font-size: .76rem !important;
    font-weight: 400 !important;
    white-space: nowrap !important;
}

body.edit-service-page .edit-service-mobile-pill input[type="checkbox"] {
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    width: 13px !important;
    height: 13px !important;
    min-width: 13px !important;
    min-height: 13px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 13px !important;
}

/* Keep Description, media, and actions aligned to the left field group */
body.edit-service-page .edit-service-section-title {
    width: 572px !important;
    max-width: 100% !important;
    margin: 18px 0 10px !important;
}

body.edit-service-page .current-media-panel,
body.edit-service-page .edit-upload-box.post-style-upload-box {
    width: 572px !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

body.edit-service-page .form-actions,
body.edit-service-page #statusMessage {
    width: 572px !important;
    max-width: 100% !important;
}

/* MOBILE */
@media (max-width: 700px) {
    body.edit-service-page .edit-service-form-layout,
    body.edit-service-page .edit-service-location-layout {
        width: 100% !important;
        max-width: 100% !important;
    }

    body.edit-service-page .edit-service-row,
    body.edit-service-page .edit-service-row-2,
    body.edit-service-page .edit-service-row-1,
    body.edit-service-page .edit-service-location-row,
    body.edit-service-page .edit-service-location-row-3,
    body.edit-service-page .edit-service-location-row-2 {
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }

    body.edit-service-page .edit-service-row .edit-service-field,
    body.edit-service-page .edit-service-row .edit-service-field-full,
    body.edit-service-page .edit-service-row .edit-service-field-half,
    body.edit-service-page .edit-service-location-row .edit-service-field,
    body.edit-service-page .edit-service-pill-field,
    body.edit-service-page .edit-service-mobile-pill {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    body.edit-service-page .edit-service-row .edit-service-field-full textarea,
    body.edit-service-page .edit-service-location-row .edit-service-field input:not([type="checkbox"]),
    body.edit-service-page .edit-service-location-row .edit-service-field select {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    body.edit-service-page .current-media-panel,
    body.edit-service-page .edit-upload-box.post-style-upload-box,
    body.edit-service-page .form-actions,
    body.edit-service-page #statusMessage {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* =========================================================
   RESET PASSWORD — LOGIN SCREENSHOT MATCH
   ========================================================= */

/* No visible outer two-card wrapper: content sits directly on page background */
body.reset-password-page .auth-layout.auth-login-big-container {
  width: 96% !important;
  max-width: none !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(520px, 1fr) !important;
  gap: 42px !important;
  align-items: center !important;
  padding: 42px 0 56px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Left side sits directly over the background image */
body.reset-password-page .auth-welcome-panel {
  max-width: 720px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible !important;
}

body.reset-password-page .auth-badge {
  display: none !important;
}

body.reset-password-page .auth-welcome-panel h1 {
  width: 100% !important;
  max-width: 720px !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  color: #fff !important;
  font-size: clamp(2.65rem, 4vw, 4.15rem) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em !important;
  white-space: normal !important;
  overflow: visible !important;
}

body.reset-password-page .auth-welcome-panel h1:nth-of-type(2) {
  margin-top: 6px !important;
  margin-bottom: 22px !important;
  font-size: clamp(1.25rem, 1.7vw, 1.75rem) !important;
  letter-spacing: 0 !important;
}

body.reset-password-page .auth-welcome-panel > p {
  max-width: 700px !important;
  margin: 0 0 30px !important;
  color: #f1f5f9 !important;
  font-size: 1.03rem !important;
  line-height: 1.55 !important;
}

/* Login-like benefit rows: no card backgrounds */
body.reset-password-page .auth-benefits {
  display: grid !important;
  gap: 20px !important;
  margin: 0 !important;
}

body.reset-password-page .auth-benefits > div {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #fff !important;
}

body.reset-password-page .auth-benefits i {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  border-radius: 13px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255,255,255,.92) !important;
  font-size: 1.05rem !important;
}

body.reset-password-page .auth-benefits span {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  color: #fff !important;
}

body.reset-password-page .auth-benefits strong {
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
}

body.reset-password-page .auth-benefits small {
  color: #e2e8f0 !important;
  font-size: .88rem !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
}

/* One large translucent card on the right */
body.reset-password-page .auth-card-pro {
  width: 100% !important;
  max-width: none !important;
  min-height: 520px !important;
  padding: 42px 34px 30px !important;
  margin: 0 !important;
  align-self: center !important;
  background: rgba(71,85,105,.70) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  backdrop-filter: blur(7px) !important;
  -webkit-backdrop-filter: blur(7px) !important;
}

body.reset-password-page .auth-card-icon {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  margin: 0 12px 0 0 !important;
  border-radius: 12px !important;
  font-size: 1rem !important;
}

body.reset-password-page .auth-card-pro h2 {
  display: inline-block !important;
  max-width: calc(100% - 66px) !important;
  margin: 0 !important;
  color: #fff !important;
  font-size: 1.45rem !important;
  line-height: 48px !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
}

body.reset-password-page .auth-subtitle {
  display: block !important;
  clear: both !important;
  margin: 12px 0 25px !important;
  color: #cbd5e1 !important;
  font-size: .88rem !important;
}

body.reset-password-page .auth-field-label {
  display: block !important;
  margin: 15px 0 7px !important;
  color: #fff !important;
  font-size: .88rem !important;
  font-weight: 600 !important;
}

body.reset-password-page .auth-input-wrap {
  width: 100% !important;
  margin: 0 !important;
}

body.reset-password-page .auth-input-wrap input {
  min-height: 50px !important;
}

body.reset-password-page .auth-submit-btn {
  width: 100% !important;
  min-height: 52px !important;
  margin-top: 28px !important;
  border-radius: 11px !important;
}

body.reset-password-page .auth-status-message {
  min-height: 18px !important;
  margin: 10px 0 0 !important;
}

body.reset-password-page .auth-divider {
  margin: 18px 0 14px !important;
}

body.reset-password-page .auth-switch-text {
  margin: 0 !important;
  text-align: center !important;
  color: #e2e8f0 !important;
  font-size: .82rem !important;
}

@media (max-width: 950px) {
  body.reset-password-page .auth-layout.auth-login-big-container {
    width: min(720px, 94%) !important;
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    padding-top: 28px !important;
  }

  body.reset-password-page .auth-welcome-panel {
    text-align: left !important;
  }

  body.reset-password-page .auth-card-pro {
    min-height: 0 !important;
  }
}

@media (max-width: 600px) {
  body.reset-password-page .auth-layout.auth-login-big-container {
    width: calc(100% - 24px) !important;
    padding: 22px 0 36px !important;
  }

  body.reset-password-page .auth-welcome-panel h1 {
    font-size: 2.25rem !important;
  }

  body.reset-password-page .auth-card-pro {
    padding: 26px 20px !important;
  }

  body.reset-password-page .auth-card-pro h2 {
    white-space: normal !important;
    line-height: 1.2 !important;
  }
}


/* =========================================================
   RESET PASSWORD — FINAL LOGIN VISUAL MATCH
   Bigger hero + colorful tips + translucent right card
   ========================================================= */

body.reset-password-page .auth-layout.auth-login-big-container {
  width: 96% !important;
  max-width: none !important;
  grid-template-columns: minmax(0, 1fr) minmax(520px, .98fr) !important;
  gap: 44px !important;
  align-items: center !important;
  padding: 42px 0 54px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* LEFT — same visual scale as Login */
body.reset-password-page .auth-welcome-panel {
  max-width: 760px !important;
  padding: 0 0 0 4px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.reset-password-page .auth-welcome-panel h1:first-of-type {
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  font-size: clamp(2.65rem, 4vw, 3.55rem) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em !important;
  white-space: normal !important;
  overflow: visible !important;
  text-shadow: 0 3px 14px rgba(0,0,0,.35) !important;
}

body.reset-password-page .auth-welcome-panel h1:first-of-type span {
  color: #3b82f6 !important;
}

body.reset-password-page .auth-welcome-panel h1:nth-of-type(2) {
  margin: 0 0 14px !important;
  font-size: 1.15rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: rgba(255,255,255,.88) !important;
  text-shadow: 0 2px 8px rgba(0,0,0,.28) !important;
}

body.reset-password-page .auth-welcome-panel h1:nth-of-type(2) span {
  color: #60a5fa !important;
}

body.reset-password-page .auth-welcome-panel > p {
  width: 100% !important;
  max-width: 720px !important;
  margin: 0 0 26px !important;
  font-size: 1.05rem !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  color: rgba(255,255,255,.88) !important;
  text-shadow: 0 2px 8px rgba(0,0,0,.30) !important;
}

/* Login-style colorful tips */
body.reset-password-page .reset-hero-tips {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 780px !important;
  gap: 18px !important;
  margin-bottom: 8px !important;
}

body.reset-password-page .reset-hero-tip {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 62px !important;
  padding: 7px 10px !important;
  gap: 18px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.reset-password-page .reset-tip-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  flex: 0 0 46px !important;
  border-radius: 12px !important;
  background: rgba(239,246,255,.96) !important;
  color: #2563eb !important;
  box-shadow: 0 5px 16px rgba(0,0,0,.16) !important;
}

body.reset-password-page .tip-protect .reset-tip-icon {
  color: #0f9f8f !important;
  background: rgba(236,253,245,.96) !important;
}

body.reset-password-page .tip-return .reset-tip-icon {
  color: #ea580c !important;
  background: rgba(255,247,237,.96) !important;
}

body.reset-password-page .reset-tip-copy {
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

body.reset-password-page .reset-tip-copy strong {
  display: block !important;
  margin-bottom: 4px !important;
  font-size: 1.05rem !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  color: #fff !important;
}

body.reset-password-page .reset-tip-copy span {
  display: block !important;
  font-size: .94rem !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  color: rgba(255,255,255,.82) !important;
}

/* RIGHT — lighter / more see-through like Login screenshot */
body.reset-password-page #resetPasswordForm.auth-card-pro {
  width: 100% !important;
  max-width: none !important;
  min-height: 500px !important;
  padding: 34px 30px 28px !important;
  background: rgba(71, 85, 105, 0.58) !important;
  border: 1px solid rgba(255,255,255,.15) !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.reset-password-page #resetPasswordForm .auth-card-icon {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  margin: 0 12px 0 0 !important;
  border-radius: 13px !important;
  background: #2563eb !important;
  color: #fff !important;
  box-shadow: none !important;
}

body.reset-password-page #resetPasswordForm h2 {
  font-size: 1.45rem !important;
  font-weight: 600 !important;
  color: #fff !important;
}

body.reset-password-page #resetPasswordForm .auth-subtitle {
  color: rgba(226,232,240,.68) !important;
  font-weight: 300 !important;
}

body.reset-password-page #resetPasswordForm .auth-field-label {
  color: rgba(255,255,255,.95) !important;
  font-size: .86rem !important;
  font-weight: 400 !important;
}

body.reset-password-page #resetPasswordForm .auth-input-wrap {
  min-height: 42px !important;
  height: 42px !important;
  border-radius: 10px !important;
}

body.reset-password-page #resetPasswordForm .auth-input-wrap input {
  min-height: 42px !important;
  height: 42px !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  font-size: .88rem !important;
  border-radius: 10px !important;
}

body.reset-password-page #resetPasswordForm .auth-submit-btn {
  min-height: 46px !important;
  margin-top: 24px !important;
  border-radius: 11px !important;
  font-size: .92rem !important;
  font-weight: 500 !important;
}

body.reset-password-page #resetPasswordForm .auth-divider span,
body.reset-password-page #resetPasswordForm .auth-switch-text {
  color: rgba(255,255,255,.88) !important;
}

@media (max-width: 950px) {
  body.reset-password-page .auth-layout.auth-login-big-container {
    width: 92% !important;
    grid-template-columns: 1fr !important;
    gap: 26px !important;
  }

  body.reset-password-page .auth-welcome-panel {
    padding: 0 !important;
  }

  body.reset-password-page #resetPasswordForm.auth-card-pro {
    min-height: 0 !important;
  }
}


/* =========================================================
   RESET PASSWORD — COMPACT ALIGNMENT OVERRIDE
   Based on 2026-08-31 user CSS baseline
   ========================================================= */

/* 1) Reduce vertical spacing and line up left/right columns */
body.reset-password-page .auth-layout.auth-login-big-container {
  align-items: start !important;
  padding-top: 22px !important;
  padding-bottom: 26px !important;
  gap: 34px !important;
}

body.reset-password-page .auth-welcome-panel {
  padding-top: 6px !important;
}

body.reset-password-page .auth-welcome-panel > p {
  margin-bottom: 16px !important;
}

/* body.reset-password-page .reset-hero-tips {
  gap: 2px !important;
} */

body.reset-password-page .reset-hero-tip {
  min-height: 50px !important;
  padding: 3px 8px !important;
  gap: 13px !important;
}

body.reset-password-page #resetPasswordForm.auth-card-pro {
  min-height: 0 !important;
  align-self: start !important;
  padding: 24px 28px 20px !important;
}

/* 2) Tighten and align "Enter and confirm..." subtitle */
body.reset-password-page #resetPasswordForm .auth-subtitle {
  display: block !important;
  clear: both !important;
  width: 100% !important;
  margin: 7px 0 14px !important;
  padding: 0 !important;
  text-align: left !important;
  font-size: .82rem !important;
  font-weight: 300 !important;
  line-height: 1.35 !important;
  color: rgba(226,232,240,.72) !important;
}

/* Compact the icon + Reset Password heading */
body.reset-password-page #resetPasswordForm .auth-card-icon {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  margin-right: 9px !important;
  border-radius: 10px !important;
  font-size: .88rem !important;
}

body.reset-password-page #resetPasswordForm h2 {
  font-size: 1.24rem !important;
  font-weight: 500 !important;
  line-height: 40px !important;
}

/* 3) Significantly reduce password field + button pill sizes */
body.reset-password-page #resetPasswordForm .auth-field-label {
  margin: 9px 0 4px !important;
  font-size: .78rem !important;
  font-weight: 400 !important;
}

body.reset-password-page #resetPasswordForm .auth-input-wrap {
  min-height: 34px !important;
  height: 34px !important;
  border-radius: 8px !important;
}

body.reset-password-page #resetPasswordForm .auth-input-wrap input {
  min-height: 34px !important;
  height: 34px !important;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  padding-left: 37px !important;
  padding-right: 12px !important;
  font-size: .80rem !important;
  border-radius: 8px !important;
}

body.reset-password-page #resetPasswordForm .auth-input-wrap > i {
  left: 12px !important;
  font-size: .80rem !important;
}

body.reset-password-page #resetPasswordForm .auth-submit-btn {
  min-height: 38px !important;
  height: 38px !important;
  margin-top: 16px !important;
  padding: 7px 14px !important;
  border-radius: 8px !important;
  font-size: .82rem !important;
  font-weight: 500 !important;
}

/* Keep status compact */
body.reset-password-page #resetPasswordForm .auth-status-message {
  min-height: 13px !important;
  margin: 6px 0 0 !important;
  font-size: .74rem !important;
  font-weight: 400 !important;
  line-height: 1.25 !important;
}

/* 4) Bottom-right divider/footer text: smaller and not bold */
body.reset-password-page #resetPasswordForm .auth-divider {
  margin: 10px 0 8px !important;
}

body.reset-password-page #resetPasswordForm .auth-divider span {
  font-size: .73rem !important;
  font-weight: 400 !important;
  color: rgba(255,255,255,.76) !important;
}

body.reset-password-page #resetPasswordForm .auth-switch-text {
  margin: 0 !important;
  font-size: .72rem !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  color: rgba(255,255,255,.76) !important;
}

body.reset-password-page #resetPasswordForm .auth-switch-text .auth-link,
body.reset-password-page #resetPasswordForm .auth-link {
  font-size: .72rem !important;
  font-weight: 400 !important;
  color: #60a5fa !important;
}

/* Slightly shrink left tip icon/text stack to match compact right card */
body.reset-password-page .reset-tip-icon {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  flex: 0 0 46px !important;
  border-radius: 12px !important;
  font-size: 1rem !important;
}

body.reset-password-page .reset-tip-copy strong {
  margin-bottom: 1px !important;
  font-size: .93rem !important;
  font-weight: 500 !important;
}

body.reset-password-page .reset-tip-copy span {
  font-size: .81rem !important;
  line-height: 1.3 !important;
}

@media (max-width: 950px) {
  body.reset-password-page .auth-layout.auth-login-big-container {
    align-items: stretch !important;
    padding-top: 18px !important;
    padding-bottom: 22px !important;
    gap: 20px !important;
  }

  body.reset-password-page .auth-welcome-panel {
    padding-top: 0 !important;
  }
}



/* RESET PASSWORD — narrower form pills */
body.reset-password-page #resetPasswordForm .auth-input-wrap,
body.reset-password-page #resetPasswordForm .auth-submit-btn {
  width: 50% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Keep labels aligned with the narrower fields */
body.reset-password-page #resetPasswordForm .auth-field-label {
  width: 50% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Reset Password — align compact fields */
body.reset-password-page #resetPasswordForm .auth-input-wrap,
body.reset-password-page #resetPasswordForm .auth-submit-btn,
body.reset-password-page #resetPasswordForm .auth-field-label {
  width: 50% !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}



/* RESET PASSWORD — MOBILE FINAL SPACING */
@media screen and (max-width: 700px) {

  body.reset-password-page .auth-shell {
    padding-top: 28px !important;
    padding-bottom: 40px !important;
  }

  body.reset-password-page .auth-layout.auth-login-big-container {
    width: 92% !important;
    max-width: 92% !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 auto !important;
  }

  body.reset-password-page .auth-welcome-panel {
    width: 100% !important;
    padding: 12px 4px 26px !important;
    margin: 0 !important;
  }

  body.reset-password-page .auth-welcome-panel h1:first-of-type {
    margin-bottom: 12px !important;
  }

  body.reset-password-page .auth-welcome-panel h1:nth-of-type(2) {
    margin-bottom: 18px !important;
  }

  body.reset-password-page .auth-welcome-panel > p {
    margin-bottom: 26px !important;
  }

/*   body.reset-password-page .reset-hero-tips {
    gap: 18px !important;
    margin-bottom: 8px !important;
  } */

  body.reset-password-page .reset-hero-tip {
    min-height: 62px !important;
    padding: 8px 2px !important;
    gap: 14px !important;
  }

  body.reset-password-page #resetPasswordForm.auth-card-pro {
    width: 100% !important;
    margin: 18px 0 0 !important;
    padding: 28px 22px 26px !important;
  }

  body.reset-password-page #resetPasswordForm .auth-subtitle {
    margin: 12px 0 22px !important;
  }

  body.reset-password-page #resetPasswordForm .auth-field-label {
    width: 100% !important;
    margin: 16px 0 7px !important;
  }

  body.reset-password-page #resetPasswordForm .auth-input-wrap {
    width: 100% !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 0 10px !important;
  }

  body.reset-password-page #resetPasswordForm .auth-input-wrap input {
    width: 100% !important;
    height: 42px !important;
    min-height: 42px !important;
  }

  body.reset-password-page #resetPasswordForm .auth-submit-btn {
    width: 100% !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 22px 0 0 !important;
  }

  body.reset-password-page #resetPasswordForm .auth-status-message {
    margin-top: 12px !important;
  }

  body.reset-password-page #resetPasswordForm .auth-divider {
    margin: 20px 0 14px !important;
  }

  body.reset-password-page #resetPasswordForm .auth-switch-text {
    line-height: 1.6 !important;
  }
}







/* RESET PASSWORD — match Login heading area */

body.reset-password-page #resetPasswordForm .auth-card-icon {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  min-height: 56px !important;
  margin-right: 16px !important;
  border-radius: 13px !important;
  font-size: 1rem !important;
}

body.reset-password-page #resetPasswordForm h2 {
  font-size: 1.55rem !important;
  font-weight: 600 !important;
  line-height: 56px !important;
}

/* Put subtitle underneath heading text like Login */
body.reset-password-page #resetPasswordForm .auth-subtitle {
  clear: none !important;
  width: auto !important;

  margin-top: -8px !important;
  margin-left: 72px !important;
  margin-bottom: 26px !important;

  padding: 0 !important;

  font-size: .92rem !important;
  font-weight: 300 !important;
  line-height: 1.4 !important;

  color: rgba(226,232,240,.72) !important;
}



/* =========================================================
   RESET PASSWORD — MOBILE MATCH LOGIN
   ========================================================= */
@media screen and (max-width: 700px) {

  /* Right card */
  body.reset-password-page #resetPasswordForm.auth-card-pro {
    width: 100% !important;
    max-width: 100% !important;
    padding: 24px 20px 26px !important;

    display: grid !important;
    grid-template-columns: 56px minmax(0, 1fr) !important;
    column-gap: 14px !important;
    row-gap: 0 !important;

    border-radius: 18px !important;
  }

  /* ICON — same position as Login */
  body.reset-password-page #resetPasswordForm .auth-card-icon {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;

    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;

    margin: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 13px !important;
  }

  /* TITLE — beside icon */
  body.reset-password-page #resetPasswordForm h2 {
    grid-column: 2 !important;
    grid-row: 1 !important;

    display: block !important;
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 0 4px !important;
    padding: 0 !important;

    font-size: 1.35rem !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;

    white-space: normal !important;
  }

  /* SUBTITLE — directly under title, exactly like Login */
  body.reset-password-page #resetPasswordForm .auth-subtitle {
    grid-column: 2 !important;
    grid-row: 2 !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: .86rem !important;
    font-weight: 300 !important;
    line-height: 1.45 !important;

    text-align: left !important;
  }

  /* Everything below the heading spans full card */
  body.reset-password-page #resetPasswordForm .auth-field-label,
  body.reset-password-page #resetPasswordForm .auth-input-wrap,
  body.reset-password-page #resetPasswordForm .auth-submit-btn,
  body.reset-password-page #resetPasswordForm .auth-status-message,
  body.reset-password-page #resetPasswordForm .auth-divider,
  body.reset-password-page #resetPasswordForm .auth-switch-text {
    grid-column: 1 / -1 !important;
  }

  /* Space before first password field */
  body.reset-password-page #resetPasswordForm .auth-field-label {
    width: 100% !important;
    margin: 20px 0 7px !important;
  }

  /* Login-like mobile inputs */
  body.reset-password-page #resetPasswordForm .auth-input-wrap {
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    margin: 0 !important;
  }

  body.reset-password-page #resetPasswordForm .auth-input-wrap input {
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;

    font-size: .92rem !important;
    border-radius: 12px !important;
  }

  body.reset-password-page #resetPasswordForm .auth-submit-btn {
    width: 100% !important;
    min-height: 46px !important;
    height: 46px !important;
    margin-top: 22px !important;
  }

  body.reset-password-page #resetPasswordForm .auth-divider {
    margin-top: 18px !important;
  }
}


/* REGISTER — individual tip icon colors */
body.auth-page-body .register-creative-tip:nth-child(1) .creative-tip-icon {
    color: #2563eb !important;
}

body.auth-page-body .register-creative-tip:nth-child(2) .creative-tip-icon {
    color: #0f9f94 !important;
}

body.auth-page-body .register-creative-tip:nth-child(3) .creative-tip-icon {
    color: #ea580c !important;
}





/* LOGIN — compact fields and button */
body.auth-page-body #loginForm.login-form-card .auth-input-wrap {
  height: 38px !important;
  min-height: 38px !important;
  border-radius: 9px !important;
}

body.auth-page-body #loginForm.login-form-card .auth-input-wrap input {
  height: 38px !important;
  min-height: 38px !important;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  font-size: .84rem !important;
  border-radius: 9px !important;
}

body.auth-page-body #loginForm.login-form-card .auth-submit-btn {
  height: 40px !important;
  min-height: 40px !important;
  margin-top: 16px !important;
  padding: 7px 14px !important;
  font-size: .84rem !important;
  border-radius: 9px !important;
}

/* LOGIN — narrower fields and button */
body.auth-page-body #loginForm.login-form-card .auth-input-wrap,
body.auth-page-body #loginForm.login-form-card .auth-submit-btn {
  width: 50% !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* Keep labels aligned */
body.auth-page-body #loginForm.login-form-card .auth-field-label {
  width: 50% !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}




/* FORGOT PASSWORD — colorful tip icons */

/* Email verification — Blue */
body.forgot-page-body .forgot-creative-tip:nth-child(1) .creative-tip-icon {
  color: #2563eb !important;
  background: linear-gradient(145deg, #ffffff, #dbeafe) !important;
}

/* Secure account recovery — Teal */
body.forgot-page-body .forgot-creative-tip:nth-child(2) .creative-tip-icon {
  color: #0f9f94 !important;
  background: linear-gradient(145deg, #f0fdfa, #ccfbf1) !important;
}

/* Quick recovery — Orange */
body.forgot-page-body .forgot-creative-tip:nth-child(3) .creative-tip-icon {
  color: #ea580c !important;
  background: linear-gradient(145deg, #fff7ed, #ffedd5) !important;
}


/* LOGIN — MOBILE FIX */
@media screen and (max-width: 700px) {

  body.auth-page-body #loginForm.login-form-card .auth-input-wrap,
  body.auth-page-body #loginForm.login-form-card .auth-submit-btn {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.auth-page-body #loginForm.login-form-card .auth-field-label {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.auth-page-body #loginForm.login-form-card .auth-row {
    width: 100% !important;
  }

  body.auth-page-body #loginForm.login-form-card .auth-input-wrap {
    height: 48px !important;
    min-height: 48px !important;
  }

  body.auth-page-body #loginForm.login-form-card .auth-input-wrap input {
    height: 48px !important;
    min-height: 48px !important;
  }

  body.auth-page-body #loginForm.login-form-card .auth-submit-btn {
    height: 46px !important;
    min-height: 46px !important;
    margin-top: 20px !important;
  }
}




/* RESET PASSWORD — slightly larger left tip icons */
body.reset-password-page .reset-hero-tip .creative-tip-icon {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  min-height: 52px !important;

  font-size: 1.15rem !important;
  border-radius: 12px !important;
}




/* RESET PASSWORD — MOBILE ERROR MESSAGE FIX */
@media screen and (max-width: 700px) {

  body.reset-password-page #resetPasswordForm #statusMessage {
    grid-column: 1 / -1 !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 12px 0 0 !important;
    padding: 0 !important;

    display: block !important;

    text-align: center !important;

    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;

    font-size: .78rem !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
  }
}




/* =========================================================
   INDEX — FINAL TOP SPACING
   ========================================================= */

/* Desktop */
@media screen and (min-width: 851px) {
  body.index-page.full-market-home .marketplace-full-hero {
    padding-top: 0 !important;
  }

  body.index-page.full-market-home .marketplace-hero-copy {
    transform: translateY(-20px) !important;
  }
}

/* Mobile */
@media screen and (max-width: 850px) {
  body.index-page.full-market-home .marketplace-full-hero {
    padding-top: 0 !important;
  }

  body.index-page.full-market-home .marketplace-hero-copy {
    transform: translateY(-30px) !important;
  }
}



/* =========================================================
   LOGIN — FINAL TOP SPACING
   ========================================================= */

/* Desktop */
@media screen and (min-width: 851px) {
  body.auth-page-body .login-page-hero {
    padding-top: 0 !important;
  }

  body.auth-page-body .login-hero-copy {
    transform: translateY(-30px) !important;
  }

  body.auth-page-body .login-form-section {
    top: 20px !important;
  }
}

/* Mobile */
@media screen and (max-width: 850px) {
  body.auth-page-body .login-page-hero {
    padding-top: 0 !important;
  }

  body.auth-page-body .login-hero-copy {
    transform: translateY(-30px) !important;
  }
}




/* =========================================================
   REGISTER — FINAL TOP SPACING
   ========================================================= */

/* Desktop */
@media screen and (min-width: 851px) {
  body.auth-page-body .register-page-hero {
    padding-top: 0 !important;
  }

  body.auth-page-body .register-hero-copy {
    transform: translate(25px, 10px) !important;
  }

  body.auth-page-body .register-form-section {
    top: 20px !important;
  }
}

/* Mobile */
@media screen and (max-width: 850px) {
  body.auth-page-body .register-page-hero {
    padding-top: 0 !important;
  }

  body.auth-page-body .register-hero-copy {
    transform: translateY(0px) !important;
  }
}

/* =========================================================
   REGISTER — REDUCE PILL WIDTH — DESKTOP ONLY
   ========================================================= */

@media screen and (min-width: 851px) {
  body.auth-page-body .register-form-card .auth-input-wrap,
  body.auth-page-body .register-form-card .auth-submit-btn {
    width: 90% !important;
  }
}



/* =========================================================
   FORGOT PASSWORD — MOVE RIGHT CONTAINER DOWN
   DESKTOP ONLY
   ========================================================= */

@media screen and (min-width: 851px) {
  body.auth-page-body .forgot-form-section {
    top: 30px !important;
  }
}




/* =========================================================
   FORGOT PASSWORD — RIGHT CONTAINER
   DESKTOP ONLY
   ========================================================= */

@media screen and (min-width: 851px) {
  body.auth-page-body .forgot-form-section {
    top: 30px !important;
    width: 42% !important;
    right: 7% !important;
  }

  body.auth-page-body .forgot-big-container {
    width: 100% !important;
    max-width: 620px !important;
    margin-left: auto !important;
    margin-right: 0 !important;
  }
}


/* =========================================================
   LOGIN — RIGHT CONTAINER
   DESKTOP ONLY
   ========================================================= */

@media screen and (min-width: 851px) {
  body.auth-page-body .login-form-section {
    top: 20px !important;
    width: 42% !important;
    right: 7% !important;
  }

  body.auth-page-body .login-big-container {
    width: 100% !important;
    max-width: 620px !important;
    margin-left: auto !important;
    margin-right: 0 !important;
  }
}

/* =========================================================
   REGISTER — RIGHT CONTAINER
   DESKTOP ONLY
   ========================================================= */

@media screen and (min-width: 851px) {
  body.auth-page-body .register-form-section {
    top: 25px !important;
    width: 42% !important;
    right: 7% !important;
  }

  body.auth-page-body .register-big-container {
    width: 100% !important;
    max-width: 620px !important;
    margin-left: auto !important;
    margin-right: 0 !important;
  }
}






/* =========================================================
   FORGOT PASSWORD — MOBILE CONTAINER WIDTH
   ========================================================= */

@media screen and (max-width: 850px) {
  body.auth-page-body .forgot-form-section {
    width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }

  body.auth-page-body .forgot-big-container {
    width: 100% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}




/* =========================================================
   RESET PASSWORD — FINAL DESKTOP LAYOUT
   ========================================================= */

@media screen and (min-width: 851px) {

  /* Move whole section upward */
  body.reset-password-page .auth-login-big-container {
    position: relative !important;
    top: -15px !important;
  }

  /* LEFT HERO */
  body.reset-password-page .auth-welcome-panel {
    transform: translateY(-30px) !important;
  }

  /* RIGHT CONTAINER — MATCH LOGIN WIDTH */
 body.reset-password-page #resetPasswordForm.auth-card-pro {
  width: 620px !important;
  max-width: 620px !important;
  min-width: 620px !important;
  flex: 0 0 620px !important;
  box-sizing: border-box !important;

  position: relative !important;
  right: 7% !important;
  top: 0px !important;

  margin-left: auto !important;
  margin-right: 0 !important;

  background: rgba(71, 85, 105, 0.82) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;

  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 18px !important;
  box-shadow: none !important;
}



/* body.reset-password-page .reset-hero-tips {
  gap: 18px !important;
} */
}

/* =========================================================
   POST NANNY — FINAL HERO VERTICAL POSITION
   ========================================================= */

/* Desktop */
@media screen and (min-width: 851px) {
  body.post-nanny-page .post-nanny-hero {
    padding-top: 0 !important;
  }

  body.post-nanny-page .post-nanny-copy {
    position: relative !important;
    top: 0 !important;
    transform: translateY(10px) !important;
    margin-top: 0 !important;
  }
}

/* Mobile */
@media screen and (max-width: 850px) {
  body.post-nanny-page .post-nanny-copy {
    position: relative !important;
    top: -30px !important;
    transform: none !important;
    margin-top: 0 !important;
  }
}


/* POST NANNY — MOBILE: prevent hero text from getting chopped */
@media screen and (max-width: 850px) {

  body.post-nanny-page .post-page-hero-copy > h1,
  body.post-nanny-page .post-page-hero-copy > p.post-page-hero-subtitle {
    transform: none !important;
  }

  body.post-nanny-page .post-page-hero-copy {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-right: 8px !important;
  }

  body.post-nanny-page .post-page-hero-subtitle {
    width: 100% !important;
    max-width: 100% !important;
    overflow-wrap: break-word !important;
  }
}

/* =========================================================
   POST SERVICE — MOBILE FINAL
   ========================================================= */

@media screen and (max-width: 850px) {

  /* ---------------------------------------------------------
     HERO COPY — vertical position
     --------------------------------------------------------- */

  body.post-service-page .post-service-copy {
    position: relative !important;
    top: -30px !important;
    transform: none !important;

    width: 100% !important;
    max-width: 100% !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    padding-left: 0 !important;
    padding-right: 8px !important;

    box-sizing: border-box !important;
  }


  /* ---------------------------------------------------------
     TITLE — keep current approved position
     --------------------------------------------------------- */

  body.post-service-page .post-service-copy > h1 {
    transform: none !important;

    width: 100% !important;
    max-width: 100% !important;

    margin-left: 0 !important;
    padding-left: 0 !important;

    box-sizing: border-box !important;
  }


  /* ---------------------------------------------------------
     SUBTITLE — align left with title
     --------------------------------------------------------- */

/* ---------------------------------------------------------
   SUBTITLE — align cleanly with title
   --------------------------------------------------------- */

@media screen and (max-width: 850px) {

  body.post-service-page
  .post-service-hero
  .post-service-hero-grid
  .post-service-copy
  p.post-page-hero-subtitle {

    transform: none !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    padding-left: 0 !important;
    padding-right: 8px !important;

    width: 100% !important;
    max-width: 100% !important;

    box-sizing: border-box !important;
    overflow-wrap: break-word !important;
  }

}


  /* ---------------------------------------------------------
     THREE TIPS WRAPPER
     --------------------------------------------------------- */

  body.post-service-page .post-service-creative-tips {
    width: 100% !important;
    max-width: 100% !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: -6px !important;

    padding-left: 0 !important;
    padding-right: 0 !important;

    box-sizing: border-box !important;
  }


  /* ---------------------------------------------------------
     INDIVIDUAL TIP ROW
     --------------------------------------------------------- */

  body.post-service-page .post-service-creative-tip {
    grid-template-columns: 50px minmax(0, 1fr) !important;

    column-gap: 12px !important;
    row-gap: 0 !important;

    min-height: 66px !important;

    padding: 9px 0 !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    box-sizing: border-box !important;
  }


  /* ---------------------------------------------------------
     TIP ICON — match Post Nanny mobile
     --------------------------------------------------------- */

  body.post-service-page
  .post-service-creative-tip
  .creative-tip-icon {
    width: 50px !important;
    height: 50px !important;

    min-width: 50px !important;
    min-height: 50px !important;

    flex: 0 0 50px !important;
  }


  /* ---------------------------------------------------------
     TIP TEXT
     --------------------------------------------------------- */

  body.post-service-page
  .post-service-creative-tip
  .creative-tip-copy {
    min-width: 0 !important;
    width: 100% !important;

    padding-right: 4px !important;

    box-sizing: border-box !important;
  }


  /* ---------------------------------------------------------
     REMOVE DOTTED DESKTOP ACCENT ON MOBILE
     --------------------------------------------------------- */

  body.post-service-page
  .post-service-creative-tip
  .creative-tip-accent {
    display: none !important;
  }

}


/* =========================================================
   POST SERVICE — DESKTOP HERO CLOSER TO MENU
   ========================================================= */

@media screen and (min-width: 851px) {

  body.post-service-page .post-service-hero {
    padding-top: 0 !important;
  }

  body.post-service-page .post-service-copy {
    position: relative !important;
    top: 10px !important;
  }

}


/* =========================================================
   EDIT ROOMMATE — DESKTOP HERO POSITION
   ========================================================= */

@media screen and (min-width: 851px) {

  body.edit-roommate-page .edit-roommate-hero-copy,
  body.edit-roommate-page .post-page-hero-copy {
    position: relative !important;
    top: -20px !important;
    left: 30px !important;
  }

}


/* =========================================================
   EDIT ROOMMATE — DESKTOP FORM CONTAINER UP
   ========================================================= */

@media screen and (min-width: 851px) {

  body.edit-roommate-page .edit-roommate-hero + section {
    position: relative !important;
    top: -35px !important;
  }

}


/* =========================================================
   EDIT ROOMMATE — MOBILE MATCH POST SERVICE
   ========================================================= */

@media screen and (max-width: 850px) {

  /* HERO — same compact approach as Post Service */
  body.edit-roommate-page .edit-roommate-hero {
    padding: 26px 0 22px !important;
  }

  /* HERO COPY — same -30px position as Post Service */
  body.edit-roommate-page .post-roommate-copy {
    position: relative !important;
    top: -30px !important;
    transform: none !important;

    width: 100% !important;
    max-width: 100% !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    padding-left: 0 !important;
    padding-right: 8px !important;

    box-sizing: border-box !important;
  }

  /* TITLE + SUBTITLE */
  body.edit-roommate-page
  .edit-roommate-hero
  .post-roommate-hero-grid
  .post-roommate-copy
  > h1,

  body.edit-roommate-page
  .edit-roommate-hero
  .post-roommate-hero-grid
  .post-roommate-copy
  > p.post-page-hero-subtitle {

    transform: none !important;

    width: 100% !important;
    max-width: 100% !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    padding-left: 0 !important;
    padding-right: 8px !important;

    box-sizing: border-box !important;
  }

  /* TIPS — same compact spacing */
  body.edit-roommate-page .post-roommate-creative-tips {
    width: 100% !important;
    max-width: 100% !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: -6px !important;

    padding-left: 0 !important;
    padding-right: 0 !important;

    box-sizing: border-box !important;
  }

  body.edit-roommate-page .post-roommate-creative-tip {
    grid-template-columns: 50px minmax(0, 1fr) !important;
    column-gap: 12px !important;
    row-gap: 0 !important;

    min-height: 66px !important;
    padding: 9px 0 !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    box-sizing: border-box !important;
  }

  body.edit-roommate-page
  .post-roommate-creative-tip
  .creative-tip-icon {

    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    flex: 0 0 50px !important;
  }

  /* FORM SECTION — remove excessive hero/form gap */
  body.edit-roommate-page .edit-roommate-hero + section {
    position: relative !important;
    top: -30px !important;
  }

  /* FORM CONTAINER — align left with hero */
  body.edit-roommate-page .roommate-post-card {
    width: 100% !important;
    max-width: 100% !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    box-sizing: border-box !important;
  }

}


/* =========================================================
   EDIT NANNY — DESKTOP VERTICAL SPACING
   ========================================================= */

@media screen and (min-width: 851px) {

  /* Move hero/title/tips closer to menu */
  body.edit-nanny-page .edit-nanny-hero {
    padding-top: 0 !important;
  }

  body.edit-nanny-page .edit-nanny-hero .post-roommate-copy {
    position: relative !important;
    top: 0px !important;
  }

  /* Move form container closer to tips */
  body.edit-nanny-page .edit-nanny-hero + section {
    position: relative !important;
    top: -35px !important;
  }
}

/* =========================================================
   EDIT NANNY — MOBILE VERTICAL SPACING
   ========================================================= */

@media screen and (max-width: 850px) {

  /* Reduce space between menu and hero */
  body.edit-nanny-page .edit-nanny-hero {
    padding-top: 0 !important;
  }

  body.edit-nanny-page
  .edit-nanny-hero
  .post-roommate-copy {
    position: relative !important;
    top: -5px !important;
  }

  /* Reduce space between tips and form container */
  body.edit-nanny-page .edit-nanny-hero + section {
    position: relative !important;
    top: -40px !important;
  }
}


/* =========================================================
   EDIT SERVICE — DESKTOP VERTICAL SPACING
   ========================================================= */

@media screen and (min-width: 851px) {

  /* Move hero/title/tips closer to menu */
  body.edit-service-page .edit-service-hero {
    padding-top: 0 !important;
  }

  body.edit-service-page .edit-service-hero .post-service-copy {
    position: relative !important;
    top: 0 !important;
  }

  /* Move form container closer to tips */
  body.edit-service-page .edit-service-form-section {
    position: relative !important;
    top: -35px !important;
  }

}


/* =========================================================
   EDIT SERVICE — MOBILE VERTICAL SPACING
   ========================================================= */

@media screen and (max-width: 850px) {

  /* Reduce space between menu and hero */
  body.edit-service-page .edit-service-hero {
    padding-top: 0 !important;
  }

  body.edit-service-page
  .edit-service-hero
  .post-service-copy {
    position: relative !important;
    top: -5px !important;
  }

  /* Reduce space between tips and form container */
  body.edit-service-page .edit-service-form-section {
    position: relative !important;
    top: -40px !important;
  }

}

/* =========================================================
   MY LISTINGS — DESKTOP VERTICAL SPACING
   ========================================================= */

@media screen and (min-width: 851px) {

  /* Reduce menu-to-hero spacing */
  body.my-listings-page .my-listings-hero {
    padding-top: 0 !important;
  }

  body.my-listings-page .my-listings-copy {
    position: relative !important;
    top: 0px !important;
  }

  /* Bring listings container closer to hero */
  body.my-listings-page .my-listings-content-section {
    position: relative !important;
    top: -25px !important;
  }

}

/* =========================================================
   MY LISTINGS — MOBILE VERTICAL SPACING
   ========================================================= */

@media screen and (max-width: 850px) {

  /* Reduce menu-to-hero spacing */
  body.my-listings-page .my-listings-hero {
    padding-top: 0 !important;
  }

  body.my-listings-page .my-listings-copy {
    position: relative !important;
    top: -1px !important;
  }

  /* Bring listings container closer to hero */
  body.my-listings-page .my-listings-content-section {
    position: relative !important;
    top: -25px !important;
  }

}


/* =========================================================
   ROOMMATE DETAILS — DESKTOP COMPACT TUNING
   ========================================================= */

@media screen and (min-width: 851px) {

  /* 1) Reduce vertical spacing below menu */
  body.roommate-details-page .roommate-details-main {
    padding-top: 8px !important;
  }

  body.roommate-details-page .roommate-details-shell {
    padding-top: 0 !important;
  }

  /* 2) Compact "Back to room listings" */
  body.roommate-details-page .roommate-back-link {
    width: auto !important;
    min-width: 0 !important;
    min-height: 32px !important;
    padding: 5px 10px !important;
    gap: 6px !important;
    margin-bottom: 12px !important;
    border-radius: 9px !important;
    font-size: 0.78rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;
  }

  body.roommate-details-page .roommate-back-link i {
    font-size: 0.78rem !important;
  }

  /* 3) Center locked-contact section */
  body.roommate-details-page
  .contact-box
  .roommate-contact-lock-only {
    text-align: center !important;
  }

  /* 4) Compact + center "Unlock contact info — Free" */
  body.roommate-details-page
  .contact-box
  .roommate-unlock-btn {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;

    min-height: 34px !important;
    height: 34px !important;

    padding: 5px 14px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    border-radius: 9px !important;

    font-size: 0.80rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
  }

  /* 5) Keep Email Contact + Call compact */
  body.roommate-details-page
  .roommate-contact-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-items: center !important;

    width: 100% !important;
    gap: 8px !important;
    margin-top: 12px !important;
  }

  /* 6) Compact + unbold Email Contact + Call */
  body.roommate-details-page
  .roommate-contact-actions .btn,
  body.roommate-details-page #emailButton,
  body.roommate-details-page #phoneButton {
    flex: 0 0 auto !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;

    min-height: 34px !important;
    height: 34px !important;

    padding: 5px 14px !important;
    margin: 0 !important;

    border-radius: 9px !important;

    font-size: 0.80rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
  }

  /* 7) Keep icons compact too */
  body.roommate-details-page
  .roommate-contact-actions .btn i,
  body.roommate-details-page #emailButton i,
  body.roommate-details-page #phoneButton i {
    font-size: 0.80rem !important;
  }

}



/* =========================================================
   ROOMMATE DETAILS — MOBILE COMPACT TUNING
   ========================================================= */

@media screen and (max-width: 850px) {

  /* 1) Reduce vertical spacing below menu */
  body.roommate-details-page .roommate-details-main {
    padding-top: 6px !important;
  }

  body.roommate-details-page .roommate-details-shell {
    padding-top: 0 !important;
  }

  /* 2) Compact "Back to room listings" */
  body.roommate-details-page .roommate-back-link {
    width: auto !important;
    min-width: 0 !important;
    min-height: 32px !important;

    padding: 5px 10px !important;
    margin-bottom: 10px !important;

    gap: 6px !important;
    border-radius: 9px !important;

    font-size: 0.78rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;
  }

  body.roommate-details-page .roommate-back-link i {
    font-size: 0.78rem !important;
  }

  /* 3) Center the locked-contact area */
  body.roommate-details-page
  .contact-box
  .roommate-contact-lock-only {
    text-align: center !important;
  }

  /* Compact "Unlock contact info — Free" */
  body.roommate-details-page
  .contact-box
  .roommate-unlock-btn {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;

    min-height: 34px !important;
    height: 34px !important;

    padding: 5px 14px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    border-radius: 9px !important;

    font-size: 0.80rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
  }

  /* 4) Email Contact + Call container */
  body.roommate-details-page
  .roommate-contact-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;

    justify-content: flex-start !important;
    align-items: center !important;

    width: 100% !important;
    gap: 8px !important;
    margin-top: 12px !important;
  }

  /* Compact + unbold Email Contact + Call */
  body.roommate-details-page
  .roommate-contact-actions .btn,
  body.roommate-details-page #emailButton,
  body.roommate-details-page #phoneButton {
    flex: 0 0 auto !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;

    min-height: 34px !important;
    height: 34px !important;

    padding: 5px 12px !important;
    margin: 0 !important;

    border-radius: 9px !important;

    font-size: 0.78rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
  }

  body.roommate-details-page
  .roommate-contact-actions .btn i,
  body.roommate-details-page #emailButton i,
  body.roommate-details-page #phoneButton i {
    font-size: 0.78rem !important;
  }
}


/* =========================================================
   ROOMMATE DETAILS — MOBILE CONTACT HEADER FIX
   Icon + title on same line
   ========================================================= */

@media screen and (max-width: 850px) {

  body.roommate-details-page .roommate-owner-row {
    display: block !important;
  }

  body.roommate-details-page .roommate-owner-left {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
  }

  body.roommate-details-page .roommate-owner-avatar {
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  body.roommate-details-page .roommate-owner-left > div:last-child {
    flex: 1 !important;
    min-width: 0 !important;
  }

  body.roommate-details-page .roommate-owner-left h2 {
    margin: 0 0 3px 0 !important;
  }

  body.roommate-details-page .roommate-owner-left .contact-card-subtitle {
    margin: 0 !important;
  }
}




/* =========================================================
   NANNY DETAILS — DESKTOP COMPACT TUNING
   ========================================================= */

@media screen and (min-width: 851px) {

  /* 1) Reduce vertical spacing below menu */
  body.nanny-details-page .nanny-details-main {
    padding-top: 8px !important;
  }

  body.nanny-details-page .nanny-details-shell > .container {
    padding-top: 0 !important;
  }

  /* 2) Compact + unbold Back button */
  body.nanny-details-page .nanny-back-link {
    width: auto !important;
    min-width: 0 !important;
    min-height: 32px !important;

    padding: 5px 10px !important;
    margin-bottom: 12px !important;

    gap: 6px !important;
    border-radius: 9px !important;

    font-size: 0.78rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;
  }

  body.nanny-details-page .nanny-back-link i {
    font-size: 0.78rem !important;
  }

  /* 3) Email + Call container */
  body.nanny-details-page .nsd-contact-actions,
  body.nanny-details-page .nanny-contact-buttons {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;

    justify-content: flex-start !important;
    align-items: center !important;

    width: 100% !important;
    gap: 8px !important;
    margin-top: 12px !important;
  }

  /* 4) Compact + unbold Email and Call */
  body.nanny-details-page .nsd-contact-actions .btn,
  body.nanny-details-page .nanny-contact-buttons .btn,
  body.nanny-details-page #emailButton,
  body.nanny-details-page #phoneButton {
    flex: 0 0 auto !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;

    min-height: 34px !important;
    height: 34px !important;

    padding: 5px 14px !important;
    margin: 0 !important;

    border-radius: 9px !important;

    font-size: 0.80rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
  }

  body.nanny-details-page .nsd-contact-actions .btn i,
  body.nanny-details-page .nanny-contact-buttons .btn i,
  body.nanny-details-page #emailButton i,
  body.nanny-details-page #phoneButton i {
    font-size: 0.80rem !important;
  }

  /* 5) Center locked-contact section */
  body.nanny-details-page
  .contact-box
  .nsd-contact-lock-only {
    text-align: center !important;
  }

  /* 6) Compact + center Unlock contact info */
  body.nanny-details-page
  .contact-box
  .nsd-unlock-btn {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;

    min-height: 34px !important;
    height: 34px !important;

    padding: 5px 14px !important;
    margin-left: auto !important;
    margin-right: auto !important;

    border-radius: 9px !important;

    font-size: 0.80rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;
  }
}


/* =========================================================
   NANNY DETAILS — CONTACT CARD HORIZONTAL DIVIDERS
   ========================================================= */

body.nanny-details-page
.nsd-contact-inner-card
.nsd-contact-head {
  padding-bottom: 18px !important;
  margin-bottom: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.18) !important;
}

body.nanny-details-page
.nsd-contact-inner-card
.contact-line {
  border-bottom: 1px solid rgba(255,255,255,.18) !important;
}

/* NANNY DETAILS — reduce gap below contact header */
body.nanny-details-page
.nsd-contact-inner-card
.nsd-contact-head {
  padding-bottom: 0px !important;
  margin-bottom: 0 !important;
}

body.nanny-details-page
.nsd-contact-inner-card
.nsd-contact-lines {
  margin-top: 0 !important;
}


/* =========================================================
   POST NANNY — DESKTOP CONTACT FIELDS
   ========================================================= */

@media screen and (min-width: 851px) {

  body.post-nanny-page .grid-2:has(#contactName) {
    display: grid !important;
    grid-template-columns: 120px 120px 120px !important;
    gap: 10px !important;

    width: auto !important;
    max-width: none !important;

    justify-content: start !important;
    align-items: center !important;
  }

  body.post-nanny-page #contactName,
  body.post-nanny-page #contactEmail,
  body.post-nanny-page #contactPhone {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }
}




/* =========================================================
   NANNY DETAILS — MOBILE FINAL UPDATE
   ========================================================= */
@media screen and (max-width: 850px) {

  /* ---------------------------------------------------------
     1. BIG OUTER CONTAINER — ALMOST EDGE TO EDGE
     --------------------------------------------------------- */

  body.nanny-details-page .nanny-details-shell > .container {
    width: 100% !important;
    max-width: 100% !important;

    padding-left: 4px !important;
    padding-right: 4px !important;

    box-sizing: border-box !important;
  }

  body.nanny-details-page .nanny-single-profile-panel,
  body.nanny-details-page .nanny-details-big-container {
    width: calc(100% - 8px) !important;
    max-width: none !important;

    margin-left: 4px !important;
    margin-right: 4px !important;

    padding-left: 10px !important;
    padding-right: 10px !important;

    box-sizing: border-box !important;
  }


  /* ---------------------------------------------------------
     REDUCE SPACE BELOW MENU
     --------------------------------------------------------- */

  body.nanny-details-page .nanny-details-main {
    padding-top: 0 !important;
    margin-top: -20px !important;
  }

  body.nanny-details-page .nanny-details-shell {
    padding-top: 0 !important;
  }


  /* ---------------------------------------------------------
     BACK TO BABYSITTING PROFILES
     Compact + reduced width + unbold
     --------------------------------------------------------- */

  body.nanny-details-page .nanny-back-link {
    display: inline-flex !important;

    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;

    height: 30px !important;
    min-height: 30px !important;

    padding: 4px 9px !important;

    margin-top: 0 !important;
    margin-bottom: 8px !important;

    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;

    font-size: 0.75rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    border-radius: 8px !important;
  }

  body.nanny-details-page .nanny-back-link i {
    font-size: 0.72rem !important;
  }


  /* ---------------------------------------------------------
     MOBILE SECTION ORDER / WIDTH
     --------------------------------------------------------- */

  body.nanny-details-page #detailsContent.nsd-nanny-layout {
  display: grid !important;
  grid-template-columns: 1fr !important;

  grid-template-areas:
    "photo"
    "summary"
    "ninfo"
    "contact"
    "reviews" !important;

  width: 100% !important;
  max-width: 100% !important;

  row-gap: 22px !important;
  column-gap: 0 !important;

  box-sizing: border-box !important;
}

  body.nanny-details-page .nsd-image-card {
    grid-area: photo !important;
  }

  body.nanny-details-page .nsd-profile-inner-card {
    grid-area: summary !important;
  }

  body.nanny-details-page .nsd-one-info-section {
    grid-area: ninfo !important;
  }

  body.nanny-details-page .nsd-contact-inner-card {
    grid-area: contact !important;
  }

  body.nanny-details-page .nsd-review-card {
    grid-area: reviews !important;
  }


  /* ---------------------------------------------------------
     ALL INNER SECTIONS USE AVAILABLE WIDTH
     --------------------------------------------------------- */

  body.nanny-details-page .nsd-image-card,
  body.nanny-details-page .nsd-profile-inner-card,
  body.nanny-details-page .nsd-one-info-section,
  body.nanny-details-page .nsd-contact-inner-card,
  body.nanny-details-page .nsd-review-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    box-sizing: border-box !important;
  }


  /* ---------------------------------------------------------
     2. SPACE BETWEEN IMAGE AND
        TITLE / DESCRIPTION CONTAINER
     --------------------------------------------------------- */

  body.nanny-details-page .nsd-image-card {
    margin-bottom: 16px !important;
  }

  body.nanny-details-page .nsd-profile-inner-card {
    margin-top: 0 !important;
    margin-bottom: 16px !important;
  }


  /* ---------------------------------------------------------
     3. SPACE BETWEEN NANNY INFORMATION
        AND CONTACT CARE PROVIDER
     --------------------------------------------------------- */

  body.nanny-details-page .nsd-one-info-section {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
  }

  body.nanny-details-page .nsd-contact-inner-card,
  body.nanny-details-page .nsd-contact-card {
    margin-top: 0 !important;
    margin-bottom: 16px !important;
  }


  /* ---------------------------------------------------------
     CONTACT BUTTON ROW
     --------------------------------------------------------- */

  body.nanny-details-page .nsd-contact-actions,
  body.nanny-details-page .nanny-contact-buttons {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;

    justify-content: center !important;
    align-items: center !important;

    width: 100% !important;

    gap: 7px !important;
    margin-top: 10px !important;
  }


  /* ---------------------------------------------------------
     EMAIL CONTACT + CALL NOW
     Compact + reduced width + unbold
     --------------------------------------------------------- */

  body.nanny-details-page #emailButton,
  body.nanny-details-page #phoneButton {
    width: auto !important;
    max-width: none !important;
    min-width: 78px !important;

    height: 30px !important;
    min-height: 30px !important;

    padding: 4px 8px !important;
    margin: 0 !important;

    font-size: 0.72rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    border-radius: 8px !important;
  }

  body.nanny-details-page #emailButton i,
  body.nanny-details-page #phoneButton i {
    font-size: 0.70rem !important;
  }


  /* ---------------------------------------------------------
     UNLOCK CONTACT INFO
     Compact + reduced width + unbold
     --------------------------------------------------------- */

  body.nanny-details-page #unlockContactBtn,
  body.nanny-details-page .unlock-contact-btn,
  body.nanny-details-page .nsd-unlock-btn {
    width: auto !important;
    max-width: none !important;
    min-width: 135px !important;

    height: 30px !important;
    min-height: 30px !important;

    padding: 4px 10px !important;
    margin: 10px auto 0 !important;

    font-size: 0.72rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    border-radius: 8px !important;
  }

  body.nanny-details-page #unlockContactBtn i,
  body.nanny-details-page .unlock-contact-btn i,
  body.nanny-details-page .nsd-unlock-btn i {
    font-size: 0.70rem !important;
  }


  /* ---------------------------------------------------------
     SUBMIT REVIEW
     Compact + reduced width + unbold
     --------------------------------------------------------- */

  body.nanny-details-page #reviewForm button[type="submit"] {
    width: auto !important;
    max-width: none !important;
    min-width: 125px !important;

    height: 30px !important;
    min-height: 30px !important;

    padding: 4px 10px !important;
    margin: 10px auto 0 !important;

    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;

    font-size: 0.72rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    border-radius: 8px !important;
  }

  body.nanny-details-page #reviewForm button[type="submit"] i {
    font-size: 0.70rem !important;
  }

}

@media screen and (max-width: 850px) {

  /* Space between image/gallery container and title/description container */
  body.nanny-details-page #detailsContent .nsd-image-card {
    margin-bottom: 22px !important;
  }

  body.nanny-details-page #detailsContent .nsd-profile-inner-card {
    margin-top: 0 !important;
  }

}

/* =========================================================
   SERVICE DETAILS — DESKTOP COMPACT ACTION BUTTONS
   ========================================================= */
@media screen and (min-width: 851px) {
  body.service-details-page .back-link {
    display: inline-flex !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 5px 12px !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.82rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    border-radius: 9px !important;
  }

  body.service-details-page .nsd-contact-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
  }

  body.service-details-page #emailButton,
  body.service-details-page #phoneButton,
  body.service-details-page #websiteButton {
    width: auto !important;
    max-width: none !important;
    min-width: 125px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 5px 11px !important;
    margin: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    font-size: 0.78rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    border-radius: 9px !important;
  }

  body.service-details-page #emailButton i,
  body.service-details-page #phoneButton i,
  body.service-details-page #websiteButton i {
    font-size: 0.75rem !important;
  }

  body.service-details-page .nsd-unlock-btn {
    width: auto !important;
    max-width: none !important;
    min-width: 155px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 5px 12px !important;
    margin: 10px auto 0 !important;
    font-size: 0.78rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    border-radius: 9px !important;
  }
}

/* =========================================================
   SERVICE DETAILS — DESKTOP CONTACT ACTION ALIGNMENT
   Keep remaining contact buttons compact and on one row
   ========================================================= */
@media screen and (min-width: 851px) {
  body.service-details-page .nsd-contact-actions,
  body.service-details-page .button-stack.nsd-contact-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.service-details-page #emailButton,
  body.service-details-page #phoneButton,
  body.service-details-page #websiteButton {
    flex: 0 0 118px !important;
    width: 118px !important;
    max-width: 118px !important;
    min-width: 118px !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 4px 7px !important;
    margin: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    font-size: 0.72rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    border-radius: 8px !important;
  }

  body.service-details-page #emailButton i,
  body.service-details-page #phoneButton i,
  body.service-details-page #websiteButton i {
    font-size: 0.70rem !important;
  }
}


/* SERVICE DETAILS — LEFT ALIGN CONTACT BUTTONS */
@media screen and (min-width: 851px) {

  body.service-details-page .service-contact-card .nsd-contact-actions.button-stack {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;

    justify-content: flex-start !important;
    align-items: center !important;

    width: 100% !important;
    gap: 8px !important;

    padding-left: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.service-details-page .service-contact-card #emailButton,
  body.service-details-page .service-contact-card #phoneButton,
  body.service-details-page .service-contact-card #websiteButton {
    margin: 0 !important;
  }
}


/* SERVICE DETAILS — reduce contact header-to-details gap */
@media screen and (min-width: 851px) {

  body.service-details-page
  .service-contact-card
  .nsd-contact-head {
    padding-bottom: 4px !important;
    margin-bottom: 0 !important;
  }

  body.service-details-page
  .service-contact-card
  .nsd-contact-lines {
    margin-top: 0 !important;
    padding-top: 8px !important;
  }
}



/* SERVICE DETAILS — compact contact rows */
@media screen and (min-width: 851px) {

  /* Entire Email / Phone / Website row */
  body.service-details-page
  .service-contact-card
  .contact-line {
    font-size: 0.82rem !important;
  }

  /* Email / Phone / Website labels */
  body.service-details-page
  .service-contact-card
  .contact-line strong {
    font-size: 0.80rem !important;
    font-weight: 400 !important;
    white-space: nowrap !important;
  }

  /* Actual email / phone / website values */
  body.service-details-page
  .service-contact-card
  .contact-line span {
    font-size: 0.80rem !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
  }

  /* Give the value more room */
  body.service-details-page
  .service-contact-card
  .contact-line {
    grid-template-columns: 90px minmax(0, 1fr) !important;
    column-gap: 8px !important;
  }

  /* Keep website/email on one line when space allows */
  body.service-details-page
  #email,
  body.service-details-page
  #phoneNumber,
  body.service-details-page
  #websiteUrl {
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
}


/* =========================================================
   SERVICE DETAILS — REMOVE DIVIDERS + CONTROL SECTION SPACING
   DESKTOP ONLY
   ========================================================= */

@media screen and (min-width: 851px) {

  /* ---------------------------------------------------------
     #2 — MORE SPACE:
     Top cards → Service Information
     --------------------------------------------------------- */
  body.service-details-page
  #detailsContent
  > .service-info-card {
    border-top: none !important;

    margin-top: 55px !important;
    padding-top: 0 !important;
  }


  /* ---------------------------------------------------------
     #1 — LESS SPACE:
     Service Information heading → information rows
     --------------------------------------------------------- */
/* #1 — tighten Service Information rows */
body.service-details-page
.service-info-card
.service-info-row {
  min-height: 40px !important;
  padding: 6px 0 !important;
}

  body.service-details-page
  .service-info-card
  .nsd-info-grid,

  body.service-details-page
  .service-info-card
  #serviceInfo {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }


  /* ---------------------------------------------------------
     #3 — MORE SPACE:
     Service Information → Reviews
     --------------------------------------------------------- */
  body.service-details-page
  #detailsContent
  > .nsd-review-card {
    border-top: none !important;

    margin-top: 55px !important;
    padding-top: 0 !important;
  }


  /* ---------------------------------------------------------
     Prevent grid gap from adding additional spacing
     --------------------------------------------------------- */
  body.service-details-page
  #detailsContent.nsd-service-layout {
    row-gap: 0 !important;
  }

}




/* =========================================================
   SERVICE DETAILS — MOBILE FINAL TUNING
   ========================================================= */

@media screen and (max-width: 850px) {

  /* Reduce space between menu bar and first content area */
  body.service-details-page .service-details-main {
    padding-top: 0 !important;
    margin-top: -18px !important;
  }

  body.service-details-page .service-details-big-container {
    margin-top: 0 !important;
    padding-top: 10px !important;
  }


  /* Back to services — compact, narrower, unbold */
  body.service-details-page .back-link {
    display: inline-flex !important;

    width: fit-content !important;
    min-width: 0 !important;
    max-width: none !important;

    height: 30px !important;
    min-height: 30px !important;

    padding: 4px 10px !important;
    margin-top: 0 !important;
    margin-bottom: 8px !important;

    align-items: center !important;
    justify-content: center !important;

    font-size: 0.74rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    border-radius: 8px !important;
  }


  /* Contact Provider heading area */
  body.service-details-page
  .service-contact-card
  .nsd-contact-head {
    padding-bottom: 4px !important;
    margin-bottom: 0 !important;
  }

  body.service-details-page
  .service-contact-card
  .contact-card-subtitle {
    margin-bottom: 0 !important;
  }

  /* Highlighted area — reduce subtitle to first-row spacing */
  body.service-details-page
  .service-contact-card
  .nsd-contact-lines {
    margin-top: 0 !important;
    padding-top: 4px !important;
  }


  /* Contact buttons — left aligned when one is missing */
  body.service-details-page
  .service-contact-card
  .nsd-contact-actions.button-stack {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;

    justify-content: flex-start !important;
    align-items: center !important;

    width: 100% !important;
    gap: 7px !important;

    margin-top: 10px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
  }


  /* Equal compact contact-button widths */
  body.service-details-page .service-contact-card #emailButton,
  body.service-details-page .service-contact-card #phoneButton,
  body.service-details-page .service-contact-card #websiteButton {
    width: 118px !important;
    min-width: 118px !important;
    max-width: 118px !important;

    height: 30px !important;
    min-height: 30px !important;

    padding: 4px 7px !important;
    margin: 0 !important;

    font-size: 0.70rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    gap: 5px !important;
    border-radius: 8px !important;
  }

  body.service-details-page .service-contact-card #emailButton i,
  body.service-details-page .service-contact-card #phoneButton i,
  body.service-details-page .service-contact-card #websiteButton i {
    font-size: 0.68rem !important;
  }


  /* Submit Review — compact, narrower, unbold */
  body.service-details-page #reviewForm button[type="submit"] {
    width: fit-content !important;
    min-width: 125px !important;
    max-width: none !important;

    height: 30px !important;
    min-height: 30px !important;

    padding: 4px 10px !important;
    margin: 10px auto 0 !important;

    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;

    font-size: 0.72rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    border-radius: 8px !important;
  }

  body.service-details-page #reviewForm button[type="submit"] i {
    font-size: 0.70rem !important;
  }

}

/* =========================================================
   FAVORITES — DESKTOP TOP INNER SPACING
   ========================================================= */

@media screen and (min-width: 851px) {

  /* Reduce empty space at top of Favorites big container */
  body.favorites-dashboard-page .favorites-big-container {
    padding-top: 18px !important;
  }

  /* Pull summary / Refresh row upward */
  body.favorites-dashboard-page
  .favorites-big-container
  .my-listings-toolbar-loved {
    margin-top: 0 !important;
    padding-top: 0 !important;
    transform: translateY(-12px) !important;
  }

}



/* =========================================================
   FAVORITES — MOBILE FILTERS
   ========================================================= */

@media screen and (max-width: 850px) {

  body.favorites-dashboard-page
  .favorites-toolbar-right {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 10px !important;
  }

  body.favorites-dashboard-page
  .favorites-listing-type-filters {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 8px !important;

    gap: 6px !important;

    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
  }

  body.favorites-dashboard-page
  .favorites-listing-type-filters label {
    display: flex !important;
    align-items: center !important;

    width: 100% !important;

    gap: 7px !important;
    margin: 0 !important;
    padding: 5px 6px !important;

    font-size: 0.72rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    white-space: nowrap !important;
  }

  body.favorites-dashboard-page
  .favorites-listing-type-filters input[type="checkbox"] {
    width: 14px !important;
    height: 14px !important;

    min-width: 14px !important;

    margin: 0 !important;
  }

  body.favorites-dashboard-page
  .favorites-listing-type-filters span {
    display: inline-flex !important;
    align-items: center !important;

    gap: 6px !important;

    padding: 0 !important;

    font-size: 0.72rem !important;
    font-weight: 400 !important;
  }

  body.favorites-dashboard-page
  .favorites-listing-type-filters i {
    font-size: 0.70rem !important;
  }

  body.favorites-dashboard-page #refreshFavorites {
    width: fit-content !important;
    min-width: 115px !important;

    align-self: flex-start !important;

    height: 30px !important;
    min-height: 30px !important;

    padding: 4px 10px !important;

    font-size: 0.72rem !important;
    font-weight: 400 !important;
  }

}

/* =========================================================
   FAVORITES — MOBILE CATEGORY SPACING
   ========================================================= */

@media screen and (max-width: 850px) {

  /* More space between Roommate → Nanny → Service sections */
  body.favorites-dashboard-page .favorites-category-section {
    margin-bottom: 80px !important;
  }

  /* Don't add unnecessary space after the final category */
  body.favorites-dashboard-page .favorites-category-section:last-child {
    margin-bottom: 10px !important;
  }

}

/* =========================================================
   MY LISTINGS — FAVORITES-STYLE ORGANIZED SECTIONS + FILTERS
   ========================================================= */

body.my-listings-page .my-listings-toolbar-loved {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
}

body.my-listings-page .my-listings-summary-copy {
  flex: 1 1 auto !important;
  min-width: 260px !important;
}

body.my-listings-page .my-listings-toolbar-right {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  flex: 0 0 auto !important;
}

body.my-listings-page .my-listings-type-filters {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 12px !important;
  border: 1px solid rgba(255,255,255,.24) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.10) !important;
}

body.my-listings-page .my-listings-type-filters label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 !important;
  white-space: nowrap !important;
  color: #ffffff !important;
  font-size: .78rem !important;
  font-weight: 400 !important;
  cursor: pointer !important;
}

body.my-listings-page .my-listings-type-filters input[type="checkbox"] {
  width: 15px !important;
  height: 15px !important;
  margin: 0 !important;
  flex: 0 0 auto !important;
  accent-color: #2563eb !important;
}

body.my-listings-page .my-listings-type-filters span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}

body.my-listings-page .my-listings-type-filters i {
  color: #60a5fa !important;
  font-size: .76rem !important;
}

body.my-listings-page .my-listings-sections {
  display: block !important;
  width: 100% !important;
}

body.my-listings-page .my-listings-category-section {
  margin: 28px 0 44px !important;
}

body.my-listings-page .my-listings-category-section:first-child {
  margin-top: 18px !important;
}

body.my-listings-page .my-listings-category-section:last-child {
  margin-bottom: 8px !important;
}

body.my-listings-page .my-listings-category-heading {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  padding-bottom: 12px !important;
  margin-bottom: 16px !important;
  border-bottom: 1px solid rgba(255,255,255,.28) !important;
  color: #ffffff !important;
}

body.my-listings-page .my-listings-category-heading > div {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

body.my-listings-page .my-listings-category-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 13px !important;
  display: grid !important;
  place-items: center !important;
  background: rgba(255,255,255,.18) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,.32) !important;
}

body.my-listings-page .my-listings-category-heading h2 {
  margin: 0 !important;
  color: #ffffff !important;
  font-size: 1.22rem !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
}

body.my-listings-page .my-listings-category-heading p {
  margin: 3px 0 0 !important;
  color: rgba(255,255,255,.72) !important;
  font-size: .78rem !important;
  font-weight: 400 !important;
}

body.my-listings-page .my-listings-category-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

body.my-listings-page .my-listings-filter-empty {
  padding: 28px 0 !important;
  text-align: center !important;
  color: rgba(255,255,255,.78) !important;
}

@media screen and (max-width: 1200px) {
  body.my-listings-page .my-listings-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media screen and (max-width: 850px) {
  body.my-listings-page .my-listings-toolbar-loved {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  body.my-listings-page .my-listings-summary-copy {
    min-width: 0 !important;
  }

  body.my-listings-page .my-listings-toolbar-right {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 9px !important;
  }

  body.my-listings-page .my-listings-type-filters {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 5px !important;
    padding: 8px !important;
    border-radius: 12px !important;
  }

  body.my-listings-page .my-listings-type-filters label {
    width: 100% !important;
    padding: 4px 5px !important;
    font-size: .72rem !important;
  }

  body.my-listings-page #refreshButton {
    align-self: flex-start !important;
  }

  body.my-listings-page .my-listings-category-section {
    margin-top: 24px !important;
    margin-bottom: 52px !important;
  }

  body.my-listings-page .my-listings-category-heading {
    padding-bottom: 9px !important;
    margin-bottom: 12px !important;
  }

  body.my-listings-page .my-listings-category-icon {
    width: 38px !important;
    height: 38px !important;
  }

  body.my-listings-page .my-listings-category-heading h2 {
    font-size: 1rem !important;
  }

  body.my-listings-page .my-listings-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}

@media screen and (max-width: 600px) {
  body.my-listings-page .my-listings-category-grid {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
   MY LISTINGS — DESKTOP TOP CONTENT SPACING
   ========================================================= */

@media screen and (min-width: 851px) {

  /* Reduce empty space at top INSIDE the big container */
  body.my-listings-page .my-listings-big-container {
    padding-top: 12px !important;
  }

  /* Move summary/filter toolbar to the top of container */
  body.my-listings-page .my-listings-toolbar-loved {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

}






/* =========================================================
   MY LISTINGS — DESKTOP SUMMARY STATS
   ========================================================= */

@media screen and (min-width: 851px) {

  /* Main summary line */
  body.my-listings-page #summaryLine {
    display: inline-flex !important;
    align-items: center !important;

    width: fit-content !important;

    margin: 0 0 7px !important;
    padding: 7px 13px !important;

    color: rgba(255, 255, 255, 0.94) !important;
    background: rgba(15, 23, 42, 0.24) !important;

    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 10px !important;

    font-size: 0.92rem !important;
    font-weight: 500 !important;
    line-height: 1.15 !important;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
  }


  /* Explanation underneath */
  body.my-listings-page
  .my-listings-toolbar-loved
  .muted {
    margin: 0 !important;
    padding-left: 3px !important;

    color: rgba(203, 213, 225, 0.76) !important;

    font-size: 0.80rem !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
  }

}




/* =========================================================
   MY LISTINGS — MOBILE POLISH
   ========================================================= */

@media screen and (max-width: 850px) {

  /* 1. REDUCE MENU → HERO VERTICAL SPACE */
  body.my-listings-page .my-listings-hero {
    padding-top: 0 !important;
  }

  body.my-listings-page .my-listings-copy {
    position: relative !important;
    top: -1px !important;
  }


  /* 2. SUMMARY COUNTS — GIVE IT SOME LOVE */
  body.my-listings-page #summaryLine {
    display: inline-flex !important;
    align-items: center !important;

    width: fit-content !important;
    max-width: 100% !important;

    margin: 0 0 7px !important;
    padding: 7px 11px !important;

    color: rgba(255,255,255,.95) !important;
    background: rgba(15,23,42,.24) !important;

    border: 1px solid rgba(255,255,255,.14) !important;
    border-radius: 10px !important;

    font-size: 0.88rem !important;
    font-weight: 500 !important;
    line-height: 1.15 !important;

    box-shadow: 0 4px 14px rgba(0,0,0,.08) !important;
  }

  body.my-listings-page
  .my-listings-toolbar-loved
  .muted {
    margin: 0 !important;
    padding-left: 2px !important;

    color: rgba(203,213,225,.76) !important;

    font-size: 0.76rem !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
  }


  /* 3. EDIT + ACTIVATE / DEACTIVATE — SAME ROW, COMPACT */
  body.my-listings-page
  .my-listing-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;

    align-items: center !important;
    justify-content: flex-start !important;

    gap: 7px !important;

    width: 100% !important;

    margin-top: 10px !important;
  }


  body.my-listings-page
  .my-listing-actions
  .btn {
    flex: 0 0 auto !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;

    height: 30px !important;
    min-height: 30px !important;

    padding: 4px 9px !important;

    border-radius: 8px !important;

    font-size: 0.70rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    gap: 5px !important;

    white-space: nowrap !important;
  }


  /* EDIT */
  body.my-listings-page
  .my-listing-actions
  a.btn {
    min-width: 78px !important;
  }


  /* ACTIVATE / DEACTIVATE */
  body.my-listings-page
  .my-listing-actions
  .activate-btn,
  body.my-listings-page
  .my-listing-actions
  .deactivate-btn {
    min-width: 120px !important;
  }


  /* Smaller icons */
  body.my-listings-page
  .my-listing-actions
  .btn i {
    font-size: 0.68rem !important;
  }

}


/* =========================================================
   FAVORITES — MOBILE FULL-WIDTH REFRESH
   ========================================================= */

@media screen and (max-width: 850px) {

  body.favorites-dashboard-page #refreshFavorites {
    display: flex !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    height: 34px !important;
    min-height: 34px !important;

    margin: 0 !important;
    padding: 5px 10px !important;

    align-items: center !important;
    justify-content: center !important;

    font-size: 0.74rem !important;
    font-weight: 400 !important;

    border-radius: 9px !important;

    box-sizing: border-box !important;
  }

}



/* =========================================================
   LISTING PAGES — HERO CLOSER TO MENU
   Desktop + Mobile
   ========================================================= */

body.roommate-listings-page .roommate-listings-hero,
body.nanny-listings-page .nanny-listings-hero,
body.service-listings-page .service-hero {
  padding-top: 0px !important;
}


/* =========================================================
   FAVORITES + MY LISTINGS
   MORE SPACE BETWEEN HERO TEXT AND MAIN CONTAINER
   Desktop + Mobile
   ========================================================= */

body.my-listings-page .my-listings-content-section {
  padding-top: 28px !important;
}

/* =========================================================
   CONTACT PAGE — MOVE CONTAINER UP
   Desktop + Mobile
   ========================================================= */

body.contact-page-body .contact-shell,
body.contact-page-body .contact-layout,
body.contact-page-body .contact-single-panel {
  overflow: visible !important;
}

/* Desktop */
@media screen and (min-width: 851px) {
  body.contact-page-body .contact-single-panel {
    margin-top: -22px !important;
  }
}

/* Mobile */
@media screen and (max-width: 850px) {
  body.contact-page-body .contact-single-panel {
    margin-top: -22px !important;
  }
}


/* =========================================================
   CONTACT PAGE — COMPACT FIELDS + BUTTON
   MESSAGE BOX UNTOUCHED
   Desktop + Mobile
   ========================================================= */


/* =========================================================
   BASE — INPUT / SELECT PILLS ONLY
   ========================================================= */

/* Full Name / Email / Phone / Reason wrappers */
body.contact-page-body .contact-input-wrap {
  min-height: 34px !important;
  height: 34px !important;
  border-radius: 10px !important;
}

/* Actual inputs and select */
body.contact-page-body .contact-input-wrap input,
body.contact-page-body .contact-input-wrap select {
  height: 34px !important;
  min-height: 34px !important;

  padding-top: 4px !important;
  padding-bottom: 4px !important;

  font-size: 0.84rem !important;
  font-weight: 400 !important;
}

/* Unbold labels */
body.contact-page-body .contact-field-label {
  font-size: 0.84rem !important;
  font-weight: 400 !important;
}


/* =========================================================
   SEND MESSAGE BUTTON
   ========================================================= */

body.contact-page-body .contact-submit-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 150px !important;

  min-height: 34px !important;
  height: 34px !important;

  padding: 5px 14px !important;

  margin: 18px auto 0 !important;

  font-size: 0.84rem !important;
  font-weight: 400 !important;

  border-radius: 10px !important;
}


/* =========================================================
   DESKTOP
   ========================================================= */

@media screen and (min-width: 851px) {

  /* Full Name / Email / Phone / Reason */
  body.contact-page-body .contact-input-wrap {
    width: 285px !important;
    max-width: 285px !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Labels follow same left edge */
  body.contact-page-body .contact-field-label {
    width: 285px !important;
    max-width: 285px !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Keep Send Message centered */
  body.contact-page-body .contact-submit-btn {
    width: 150px !important;

    margin-left: auto !important;
    margin-right: auto !important;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 850px) {

  /* Keep pills compact but responsive */
  body.contact-page-body .contact-input-wrap,
  body.contact-page-body .contact-field-label {
    width: 100% !important;
    max-width: 100% !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Keep Send Message centered */
  body.contact-page-body .contact-submit-btn {
    width: 150px !important;

    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* =========================================================
   CONTACT PAGE — REDUCE GAP BELOW AMHARIC HEADING
   Desktop + Mobile
   ========================================================= */

body.contact-page-body .contact-welcome-panel {
  margin-bottom: -8px !important;
}

/* =========================================================
   GLOBAL FOOTER — FINAL COMPACT 4-COLUMN VERSION
   Desktop + Mobile
   ========================================================= */

body footer,
body .site-footer {
  height: auto !important;
  min-height: 0 !important;

  margin-top: 30px !important;

  padding-top: 14px !important;
  padding-bottom: 6px !important;
}


/* =========================================================
   FOOTER GRID
   ========================================================= */

body footer .footer-grid,
body .site-footer .footer-grid {
  display: grid !important;

  grid-template-columns:
    minmax(280px, 2fr)
    minmax(130px, 1fr)
    minmax(130px, 1fr)
    minmax(130px, 1fr) !important;

  align-items: start !important;

  gap: 28px !important;

  height: auto !important;
  min-height: 0 !important;

  margin-top: 0 !important;
  margin-bottom: 0 !important;

  padding-top: 0 !important;
  padding-bottom: 4px !important;
}


/* =========================================================
   FOOTER HEADINGS
   ========================================================= */

body footer .footer-grid h4,
body .site-footer .footer-grid h4 {
  margin-top: 0 !important;
  margin-bottom: 6px !important;

  font-size: 0.95rem !important;
  line-height: 1.2 !important;
}


/* =========================================================
   FOOTER LINKS
   ========================================================= */

body footer .footer-grid a,
body .site-footer .footer-grid a {
  display: block !important;

  margin-top: 0 !important;
  margin-bottom: 5px !important;

  line-height: 1.25 !important;
  font-size: 0.88rem !important;
}


/* =========================================================
   BRAND AREA
   ========================================================= */

body footer .footer-brand,
body .site-footer .footer-brand {
  height: auto !important;
  min-height: 0 !important;

  margin: 0 !important;
  padding: 0 !important;
}

body footer .footer-brand h4,
body .site-footer .footer-brand h4 {
  margin-bottom: 6px !important;
}

body footer .footer-brand p,
body .site-footer .footer-brand p {
  margin-top: 0 !important;
  margin-bottom: 8px !important;

  line-height: 1.4 !important;
  font-size: 0.88rem !important;
}


/* =========================================================
   SOCIAL ICONS
   ========================================================= */

body footer .footer-social,
body .site-footer .footer-social {
  margin-top: 8px !important;
  margin-bottom: 0 !important;

  padding: 0 !important;

  gap: 10px !important;
}


/* =========================================================
   COPYRIGHT
   ========================================================= */

body footer .footer-bottom,
body .site-footer .footer-bottom {
  height: auto !important;
  min-height: 0 !important;

  margin-top: 6px !important;
  margin-bottom: 0 !important;

  padding-top: 8px !important;
  padding-bottom: 2px !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 850px) {

  body footer,
  body .site-footer {
    margin-top: 24px !important;

    padding-top: 12px !important;
    padding-bottom: 6px !important;
  }

  body footer .footer-grid,
  body .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr !important;

    gap: 16px 24px !important;

    padding-bottom: 4px !important;
  }

  body footer .footer-brand,
  body .site-footer .footer-brand {
    grid-column: 1 / -1 !important;
  }

  body footer .footer-bottom,
  body .site-footer .footer-bottom {
    margin-top: 6px !important;

    padding-top: 8px !important;
    padding-bottom: 2px !important;
  }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media screen and (max-width: 520px) {

  body footer .footer-grid,
  body .site-footer .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  body footer .footer-brand,
  body .site-footer .footer-brand {
    grid-column: auto !important;
  }
}




/* =========================================================
   INDEX — FINAL COMPACT HERO + KPI BAR
   Desktop + Mobile
   ========================================================= */


/* =========================================================
   DESKTOP
   ========================================================= */
/* =========================================================
   INDEX — MORE COMPACT STATS BAR
   ========================================================= */

@media screen and (min-width: 851px) {

  body.index-page.full-market-home .marketplace-stats {
    margin-top: 0 !important;

    /* reduce overall bar height */
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;

    min-height: 0 !important;
    height: auto !important;

    border-radius: 18px !important;
  }

  body.index-page.full-market-home .marketplace-stat {
    min-height: 0 !important;
    padding-top: 1px !important;
    padding-bottom: 1px !important;
  }

  /* slightly smaller colored icon boxes */
  body.index-page.full-market-home .marketplace-stat-icon {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
  }

  /* number */
  body.index-page.full-market-home .marketplace-stat-number {
    margin: 0 !important;
    line-height: 1.05 !important;
  }

  /* text under number */
  body.index-page.full-market-home .marketplace-stat-label {
    margin-top: 2px !important;
    margin-bottom: 0 !important;
    line-height: 1.05 !important;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 850px) {

  /* Reduce gap below subtitle */
  body.index-page.full-market-home .marketplace-hero-subtitle {
    margin-bottom: 0px !important;
  }

  /* Compact KPI container */
  body.index-page.full-market-home .marketplace-stats {
    margin-top: 0 !important;

    padding: 10px 12px !important;

    min-height: 0 !important;
    height: auto !important;

    border-radius: 16px !important;
  }

  /* Compact individual KPIs */
  body.index-page.full-market-home .marketplace-stat {
    min-height: 0 !important;

    padding-top: 3px !important;
    padding-bottom: 3px !important;
  }

  /* Smaller mobile icons */
  body.index-page.full-market-home .marketplace-stat-icon {
    width: 42px !important;
    height: 42px !important;

    min-width: 42px !important;
    min-height: 42px !important;
  }
}


/* =========================================================
   INDEX — REDUCE SUBTITLE → STATS VERTICAL GAP
   ========================================================= */

@media screen and (min-width: 851px) {

  /* Text above stats */
  body.index-page.full-market-home .marketplace-hero-subtitle {
    margin-bottom: 5px !important;
  }

  /* Stats bar */
  body.index-page.full-market-home .marketplace-stats {
    margin-top: 0 !important;
  }
}


/* =====================================================================
   SERVICE DETAILS — FINAL CLEAN SUMMARY / ACTION GROUP
   Desktop: Price + Views + Favorite on one line.
   Mobile: Tight vertical group with no distributed spacing.
   ===================================================================== */

/* Summary text spacing */
body.service-details-page .service-summary-card .nsd-summary {
  display: block !important;
}

body.service-details-page .service-summary-card .nsd-summary h1 {
  margin-top: 8px !important;
  margin-bottom: 6px !important;
}

body.service-details-page .service-summary-card #serviceLocation,
body.service-details-page .service-summary-card #serviceCategory {
  margin: 1px 0 !important;
  padding: 0 !important;
  color: #cbd5e1 !important;
  font-weight: 400 !important;
  line-height: 1.18 !important;
}

body.service-details-page .service-summary-card #serviceCategory i {
  opacity: 1 !important;
}


/* =========================================================
   DESKTOP / TABLET
   ========================================================= */

body.service-details-page .service-summary-card .service-price-action-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  align-content: flex-start !important;
  flex-wrap: nowrap !important;

  width: 100% !important;
  min-width: 0 !important;

  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;

  gap: 10px !important;
  margin: 3px 0 4px !important;
  padding: 0 !important;
}

body.service-details-page .service-summary-card
.service-price-action-row #servicePrice,
body.service-details-page .service-summary-card
.service-price-action-row #serviceViews,
body.service-details-page .service-summary-card
.service-price-action-row #favoriteInlineHost {
  position: static !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  float: none !important;

  flex: 0 0 auto !important;

  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.service-details-page .service-summary-card
.service-price-action-row #servicePrice {
  display: inline-flex !important;
  align-items: center !important;

  width: auto !important;
  min-width: 0 !important;

  height: auto !important;
  min-height: 0 !important;

  padding-left: 0 !important;
  padding-right: 0 !important;

  color: #f8fafc !important;

  font-size: 1rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;

  white-space: nowrap !important;
}

body.service-details-page .service-summary-card
.service-price-action-row #serviceViews {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;

  width: auto !important;
  min-width: 0 !important;

  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;

  padding-left: 0 !important;
  padding-right: 0 !important;

  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  color: #f1f5f9 !important;
  opacity: 1 !important;

  font-size: .66rem !important;
  font-weight: 400 !important;
  line-height: 1 !important;

  white-space: nowrap !important;
}

body.service-details-page .service-summary-card
.service-price-action-row #serviceViews i {
  color: #f1f5f9 !important;
  opacity: 1 !important;
  font-size: .66rem !important;
  margin-right: 4px !important;
}

body.service-details-page .service-summary-card
.service-price-action-row #favoriteInlineHost {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;

  width: auto !important;
  min-width: 0 !important;

  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;

  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.service-details-page .service-summary-card
.service-price-action-row #favoriteInlineHost .detail-favorite-btn {
  position: static !important;
  transform: none !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: auto !important;
  min-width: 0 !important;

  height: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;

  margin: 0 !important;
  padding: 0 7px !important;

  gap: 3px !important;

  background: rgba(255,255,255,.03) !important;
  border: 1px solid rgba(241,245,249,.80) !important;
  border-radius: 999px !important;

  color: #f1f5f9 !important;

  font-size: .50rem !important;
  font-weight: 400 !important;
  line-height: 1 !important;

  white-space: nowrap !important;
  box-shadow: none !important;
}

body.service-details-page .service-summary-card
.service-price-action-row #favoriteInlineHost .detail-favorite-btn i {
  color: #f1f5f9 !important;
  font-size: .56rem !important;
}

body.service-details-page .service-summary-card
.service-price-action-row #favoriteInlineHost .detail-favorite-btn.is-favorite i {
  color: #ef4444 !important;
}

body.service-details-page .service-summary-card #serviceDescription {
  margin: 0 !important;
  padding-top: 4px !important;
}


/* =========================================================
   SERVICE DETAILS — MOBILE FINAL VERTICAL SPACING
   ========================================================= */

@media screen and (max-width: 600px) {

  /* ---------------------------------------------------------
     CATEGORY → PRICE
     Keep a little breathing room above $150
     --------------------------------------------------------- */

  body.service-details-page .service-summary-card
  #serviceCategory {
    margin-top: 0 !important;
    margin-bottom: 5px !important;
    padding: 0 !important;
  }


  /* ---------------------------------------------------------
     PRICE / VIEWS / FAVORITE GROUP
     --------------------------------------------------------- */

  body.service-details-page .service-summary-card
  .service-price-action-row {
    display: grid !important;

    grid-template-columns: max-content max-content !important;
    grid-template-rows: min-content min-content !important;

    justify-content: start !important;
    align-items: center !important;

    column-gap: 10px !important;

    /* No artificial vertical gap between the two rows */
    row-gap: 0 !important;

    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;

    height: auto !important;
    min-height: 0 !important;

    margin-top: 0 !important;
    margin-bottom: 3px !important;

    padding: 0 !important;
  }


  /* ---------------------------------------------------------
     $150
     Pull views/favorite closer underneath
     --------------------------------------------------------- */

body.service-details-page .service-summary-card
.service-price-action-row > #servicePrice {
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;

  display: inline-flex !important;
  align-items: center !important;

  width: auto !important;
  min-width: 0 !important;

  height: auto !important;
  min-height: 0 !important;

  margin-top: 0 !important;
  margin-bottom: -5px !important;

  padding: 0 !important;

  font-size: .86rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;

  white-space: nowrap !important;
}


  /* ---------------------------------------------------------
     VIEWS
     --------------------------------------------------------- */

  body.service-details-page .service-summary-card
  .service-price-action-row > #serviceViews {
    grid-column: 1 !important;
    grid-row: 2 !important;

    display: inline-flex !important;
    align-items: center !important;

    width: auto !important;
    min-width: 0 !important;

    height: auto !important;
    min-height: 0 !important;

    margin-top: 0 !important;
    margin-bottom: 0 !important;

    padding: 0 !important;

    position: static !important;
    transform: none !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    color: #f1f5f9 !important;
    opacity: 1 !important;

    font-size: .58rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    white-space: nowrap !important;
  }

  body.service-details-page .service-summary-card
  .service-price-action-row > #serviceViews i {
    color: #f1f5f9 !important;

    font-size: .60rem !important;

    margin-right: 3px !important;
  }


  /* ---------------------------------------------------------
     FAVORITE — SAME ROW AS VIEWS
     --------------------------------------------------------- */

  body.service-details-page .service-summary-card
  .service-price-action-row > #favoriteInlineHost {
    grid-column: 2 !important;
    grid-row: 2 !important;

    display: inline-flex !important;
    align-items: center !important;

    width: auto !important;
    min-width: 0 !important;

    height: auto !important;
    min-height: 0 !important;

    margin-top: 0 !important;
    margin-bottom: 0 !important;

    padding: 0 !important;

    position: static !important;
    transform: none !important;
  }


  /* Favorite pill */
  body.service-details-page .service-summary-card
  .service-price-action-row >
  #favoriteInlineHost .detail-favorite-btn {
    height: 20px !important;
    min-height: 20px !important;
    max-height: 20px !important;

    margin: 0 !important;
    padding: 0 6px !important;

    gap: 3px !important;

    font-size: .46rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;
  }

  body.service-details-page .service-summary-card
  .service-price-action-row >
  #favoriteInlineHost .detail-favorite-btn i {
    font-size: .52rem !important;
  }


  /* ---------------------------------------------------------
     DESCRIPTION
     --------------------------------------------------------- */

  body.service-details-page .service-summary-card
  #serviceDescription {
    margin-top: 0 !important;
    margin-bottom: 0 !important;

    padding-top: 4px !important;
  }
}



/* =========================================================
   SERVICE DETAILS — DESKTOP TWO-ROW PRICE / ACTION LAYOUT
   Row 1: Price
   Row 2: Views + Favorite
   ========================================================= */

@media screen and (min-width: 601px) {

  body.service-details-page .service-summary-card
  .service-price-action-row {
    display: grid !important;

    grid-template-columns: max-content max-content !important;
    grid-template-rows: min-content min-content !important;

    justify-content: start !important;
    align-items: center !important;

    column-gap: 14px !important;
    row-gap: 0 !important;

    width: auto !important;
    max-width: 100% !important;

    height: auto !important;
    min-height: 0 !important;

    margin-top: 8px !important;
    margin-bottom: 8px !important;

    padding: 0 !important;
  }


  /* =====================================================
     ROW 1 — PRICE ONLY
     ===================================================== */

  body.service-details-page .service-summary-card
  .service-price-action-row > #servicePrice {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;

    display: inline-flex !important;
    align-items: center !important;

    width: auto !important;
    min-width: 0 !important;

    height: auto !important;
    min-height: 0 !important;

    margin: 0 0 -3px 0 !important;
    padding: 0 !important;

    position: static !important;
    transform: none !important;

    line-height: 1 !important;
    white-space: nowrap !important;
  }


  /* =====================================================
     ROW 2 — VIEWS
     ===================================================== */

  body.service-details-page .service-summary-card
  .service-price-action-row > #serviceViews {
    grid-column: 1 !important;
    grid-row: 2 !important;

    display: inline-flex !important;
    align-items: center !important;

    width: auto !important;
    min-width: 0 !important;

    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    position: static !important;
    transform: none !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    white-space: nowrap !important;
  }


  /* =====================================================
     ROW 2 — FAVORITE
     ===================================================== */

  body.service-details-page .service-summary-card
  .service-price-action-row > #favoriteInlineHost {
    grid-column: 2 !important;
    grid-row: 2 !important;

    display: inline-flex !important;
    align-items: center !important;

    width: auto !important;
    min-width: 0 !important;

    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    position: static !important;
    transform: none !important;
  }


  /* =====================================================
     FAVORITE — EXTRA COMPACT PILL
     ===================================================== */

  body.service-details-page .service-summary-card
  .service-price-action-row >
  #favoriteInlineHost .detail-favorite-btn {

    width: auto !important;
    min-width: 0 !important;

    height: 22px !important;
    min-height: 22px !important;
    max-height: 22px !important;

    margin: 0 !important;
    padding: 0 7px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 4px !important;

    font-size: 0.62rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    border-radius: 999px !important;

    white-space: nowrap !important;
  }


  /* Favorite heart icon */
  body.service-details-page .service-summary-card
  .service-price-action-row >
  #favoriteInlineHost .detail-favorite-btn i {

    font-size: 0.66rem !important;

    margin: 0 !important;
    padding: 0 !important;
  }


  /* =====================================================
     DESCRIPTION — KEEP CLOSE TO ACTION ROW
     ===================================================== */

  body.service-details-page .service-summary-card
  #serviceDescription {
    margin-top: 0 !important;
    padding-top: 10px !important;
  }
}

/* =========================================================
   FOOTER — CENTER SOCIAL ICONS INSIDE CIRCLES
   ========================================================= */

body footer .footer-social a,
body .site-footer .footer-social a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 52px !important;
  height: 52px !important;

  padding: 0 !important;
  margin: 0 !important;

  line-height: 1 !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

/* Center the actual Font Awesome icon */
body footer .footer-social a i,
body .site-footer .footer-social a i {
  display: block !important;

  width: auto !important;
  height: auto !important;

  margin: 0 !important;
  padding: 0 !important;

  line-height: 1 !important;
  position: static !important;
  transform: none !important;
}




/* =========================================================
   GLOBAL HEADER — ACTUAL COMPACT DESKTOP FIX
   ========================================================= */

@media screen and (min-width: 851px) {

  /* Main header navigation container */
  body header .site-nav,
  body header .container.nav.site-nav {
    min-height: 58px !important;
    height: 58px !important;

    padding-top: 4px !important;
    padding-bottom: 4px !important;

    align-items: center !important;
  }


  /* Main navigation links */
  body header .site-nav .main-menu > a,
  body header .site-nav .main-menu .dropdown > a {
    padding-top: 6px !important;
    padding-bottom: 6px !important;

    line-height: 1 !important;
  }


  /* Slightly smaller logo area */
  body header .site-nav .brand-logo {
    min-height: 0 !important;
    height: auto !important;
  }

  body header .site-nav .brand-top,
  body header .site-nav .brand-bottom {
    font-size: 1.15rem !important;
    line-height: 1 !important;
  }


  /* Slightly smaller ? circle */
  body header .site-nav .brand-question {
    width: 32px !important;
    height: 32px !important;

    font-size: 1.05rem !important;
  }


  /* Compact logged-in profile pill */
  body header .profile-btn {
    height: 34px !important;
    min-height: 34px !important;

    padding: 4px 11px !important;

    gap: 6px !important;

    font-size: 0.82rem !important;
  }

  body header .profile-btn #profileName {
    font-size: 0.82rem !important;
  }

  body header .profile-btn .fa-user-circle {
    font-size: 1.08rem !important;
  }

  body header .profile-btn .fa-chevron-down {
    font-size: 0.65rem !important;
  }
}




/* =========================================================
   POST PAGE CSS MOVED OUT OF HTML — 2026-09-05
   All former <style> blocks are centralized below.
   ========================================================= */


/* =========================================================
   POST ROOMMATE — FORMER HTML-LOCAL CSS
   ========================================================= */


/* --- Former local block 1 --- */
/* Post Roommate: simplify hero to one text column */
    .post-roommate-page .post-roommate-hero-grid {
      display: block !important;
    }

    .post-roommate-page .post-roommate-copy {
      width: 100% !important;
      max-width: 900px !important;
    }

    /* Desktop positioning */
    @media screen and (min-width: 851px) {
      .post-roommate-page .post-roommate-copy {
        transform: translateY(-25px) !important;
      }

      .post-roommate-page .roommate-post-card {
        transform: translateY(-40px) !important;
      }
    }

    /* Mobile: keep hero and form in normal document flow */
/* MOBILE — move hero up without leaving phantom space */
@media screen and (max-width: 850px) {

  .post-roommate-page .post-roommate-copy {
    transform: none !important;
    margin-top: -30px !important;
  }

  .post-roommate-page .roommate-post-card {
    transform: none !important;
  }
}


/* --- Former local block 2 --- */
/* Compact Post Roommate form controls */
    .post-roommate-page .roommate-post-card input:not([type="checkbox"]):not([type="file"]),
    .post-roommate-page .roommate-post-card select {
      min-height: 36px !important;
      height: 36px !important;
      padding: 6px 10px !important;
      font-size: 0.86rem !important;
      border-radius: 9px !important;
    }

    /* Keep description comfortable but more compact */
    .post-roommate-page .roommate-post-card textarea {
      min-height: 90px !important;
      padding: 9px 10px !important;
      font-size: 0.86rem !important;
      border-radius: 9px !important;
    }

    /* Compact amenity checkbox pills */
    .post-roommate-page .roommate-post-card .tag-row {
      gap: 8px !important;
      margin-top: 20px !important;
    }

    .post-roommate-page .roommate-post-card .tag-row .tag {
      min-height: 32px !important;
      padding: 5px 10px !important;
      font-size: 0.78rem !important;
      font-weight: 400 !important;
      border-radius: 9px !important;
      gap: 6px !important;
      line-height: 1 !important;
    }

    .post-roommate-page .roommate-post-card .tag-row .tag input[type="checkbox"] {
      width: 13px !important;
      height: 13px !important;
      min-height: 13px !important;
      margin: 0 !important;
      padding: 0 !important;
    }


/* --- Former local block 3 --- */
/* Compact widths for Post Roommate fields */
    .post-roommate-page .roommate-post-card .grid-3 {
      grid-template-columns: repeat(3, 280px) !important;
      justify-content: start !important;
      gap: 12px !important;
    }

    .post-roommate-page .roommate-post-card .grid-3 > input:not([type="file"]),
    .post-roommate-page .roommate-post-card .grid-3 > select,
    .post-roommate-page .roommate-post-card .grid-3 > .custom-date-wrap {
      width: 280px !important;
      max-width: 280px !important;
    }

    .post-roommate-page .roommate-post-card .custom-date-wrap input {
      width: 100% !important;
      box-sizing: border-box !important;
    }

    /* Keep title and description full-width */
    .post-roommate-page .roommate-post-card .title-input-wrap,
    .post-roommate-page .roommate-post-card textarea {
      width: 100% !important;
      max-width: none !important;
    }

    @media (max-width: 950px) {
      .post-roommate-page .roommate-post-card .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
      }

      .post-roommate-page .roommate-post-card .grid-3 > input:not([type="file"]),
      .post-roommate-page .roommate-post-card .grid-3 > select,
      .post-roommate-page .roommate-post-card .grid-3 > .custom-date-wrap {
        width: 100% !important;
        max-width: none !important;
      }
    }

    @media (max-width: 600px) {
      .post-roommate-page .roommate-post-card .grid-3 {
        grid-template-columns: 1fr !important;
      }
    }


/* --- Former local block 4 --- */
/* Compact contact fields, photo upload, and Save Listing button */
    .post-roommate-page .roommate-post-card .grid-3:has(#contactName) {
      grid-template-columns: repeat(3, 280px) !important;
      justify-content: start !important;
      gap: 12px !important;
    }

    .post-roommate-page #contactName,
    .post-roommate-page #contactEmail,
    .post-roommate-page #contactPhone {
      width: 280px !important;
      max-width: 280px !important;
    }

    .post-roommate-page #photos {
      width: 420px !important;
      max-width: 100% !important;
      min-height: 36px !important;
      height: auto !important;
      padding: 5px 8px !important;
      font-size: 0.82rem !important;
      border-radius: 9px !important;
      box-sizing: border-box !important;
    }

    .post-roommate-page #photos::file-selector-button {
      padding: 5px 10px !important;
      margin-right: 8px !important;
      font-size: 0.82rem !important;
      font-weight: 400 !important;
      border-radius: 7px !important;
    }

    .post-roommate-page #roommateForm > .btn.btn-primary[type="submit"] {
      width: auto !important;
      min-width: 130px !important;
      min-height: 34px !important;
      height: 34px !important;
      padding: 5px 14px !important;
      font-size: 0.82rem !important;
      font-weight: 400 !important;
      border-radius: 9px !important;
      margin-top: 18px !important;
    }

    @media (max-width: 950px) {
      .post-roommate-page #contactName,
      .post-roommate-page #contactEmail,
      .post-roommate-page #contactPhone {
        width: 100% !important;
        max-width: none !important;
      }
    }

    @media (max-width: 600px) {
      .post-roommate-page #photos {
        width: 100% !important;
      }
    }


/* --- Former local block 5 --- */
/* FINAL bottom-section width overrides */
    .post-roommate-page #roommateForm .grid-3:has(#contactName) {
      display: grid !important;
      grid-template-columns: repeat(3, 280px) !important;
      justify-content: start !important;
      gap: 12px !important;
    }

    .post-roommate-page #contactName,
    .post-roommate-page #contactEmail,
    .post-roommate-page #contactPhone {
      width: 280px !important;
      max-width: 280px !important;
      min-width: 0 !important;
    }

    .post-roommate-page #photos {
      display: block !important;
      width: 420px !important;
      max-width: 420px !important;
      min-width: 0 !important;
    }

    .post-roommate-page #roommateForm > button.btn.btn-primary[type="submit"] {
      display: inline-flex !important;
      width: 140px !important;
      max-width: 140px !important;
      min-width: 140px !important;
      height: 34px !important;
      min-height: 34px !important;
      padding: 5px 14px !important;
      margin-top: 18px !important;
      justify-content: center !important;
      align-items: center !important;
      font-size: 0.82rem !important;
      font-weight: 400 !important;
      border-radius: 9px !important;
    }

    @media (max-width: 950px) {
      .post-roommate-page #roommateForm .grid-3:has(#contactName) {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
      }

      .post-roommate-page #contactName,
      .post-roommate-page #contactEmail,
      .post-roommate-page #contactPhone {
        width: 100% !important;
        max-width: none !important;
      }
    }

    @media (max-width: 600px) {
      .post-roommate-page #roommateForm .grid-3:has(#contactName) {
        grid-template-columns: 1fr !important;
      }

      .post-roommate-page #photos {
        width: 100% !important;
        max-width: 100% !important;
      }
    }


/* --- Former local block 6 --- */
/* Extra compact contact section */
  .post-roommate-page #roommateForm .grid-3:has(#contactName) {
    grid-template-columns: repeat(3, 220px) !important;
    gap: 10px !important;
    justify-content: start !important;
    margin-top: 14px !important;
  }

  .post-roommate-page #contactName,
  .post-roommate-page #contactEmail,
  .post-roommate-page #contactPhone {
    width: 220px !important;
    max-width: 220px !important;
    min-width: 220px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 5px 9px !important;
    font-size: 0.82rem !important;
    border-radius: 9px !important;
  }

  @media (max-width: 750px) {
    .post-roommate-page #roommateForm .grid-3:has(#contactName) {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .post-roommate-page #contactName,
    .post-roommate-page #contactEmail,
    .post-roommate-page #contactPhone {
      width: 100% !important;
      max-width: none !important;
      min-width: 0 !important;
    }
  }

  @media (max-width: 500px) {
    .post-roommate-page #roommateForm .grid-3:has(#contactName) {
      grid-template-columns: 1fr !important;
    }
  }


/* --- Former local block 7 --- */
/* Final compact Room Photos file picker */
  .post-roommate-page #roommateForm #photos {
    display: block !important;
    width: 300px !important;
    max-width: 300px !important;
    min-width: 300px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 3px 6px !important;
    margin-top: 10px !important;
    font-size: 0.82rem !important;
    border-radius: 9px !important;
    box-sizing: border-box !important;
  }

  .post-roommate-page #roommateForm #photos::file-selector-button {
    height: 26px !important;
    padding: 3px 9px !important;
    margin: 0 8px 0 0 !important;
    font-size: 0.82rem !important;
    font-weight: 400 !important;
    border-radius: 7px !important;
  }

  @media (max-width: 500px) {
    .post-roommate-page #roommateForm #photos {
      width: 100% !important;
      max-width: 100% !important;
      min-width: 0 !important;
    }
  }


/* =========================================================
   POST NANNY — FORMER HTML-LOCAL CSS
   ========================================================= */


/* --- Former local block 1 --- */
/* Post Nanny: single-column hero */
    .post-nanny-page .post-nanny-hero-grid {
      display: block !important;
    }

    .post-nanny-page .post-nanny-copy {
      width: 100% !important;
      max-width: 900px !important;
    }

    /* Horizontal nanny tips above form */
    .post-nanny-page .post-nanny-tips-strip {
      margin: 22px 0 20px;
      padding: 18px 20px;
      border-radius: 22px;
      background: rgba(71, 91, 119, 0.72);
      border: 1px solid rgba(255,255,255,.32);
      box-shadow: 0 14px 36px rgba(2,8,23,.16);
      backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(5px);
    }

    .post-nanny-page .post-nanny-tips-heading {
      display: flex;
      align-items: center;
      gap: 9px;
      margin-bottom: 14px;
      color: #fff;
    }

    .post-nanny-page .post-nanny-tips-heading h2 {
      margin: 0;
      color: #fff !important;
      font-size: 1.1rem;
    }

    .post-nanny-page .post-nanny-tips-heading i {
      color: #60a5fa;
    }

    .post-nanny-page .post-nanny-tips-row {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
    }

    .post-nanny-page .post-nanny-tips-row .nanny-tip-item {
      display: flex;
      align-items: flex-start;
      gap: 11px;
      margin: 0 !important;
      padding: 14px !important;
      border: 1px solid rgba(255,255,255,.18);
      border-radius: 16px;
      background: rgba(255,255,255,.10);
      color: #fff;
    }

    .post-nanny-page .post-nanny-tips-row .nanny-tip-item > span {
      flex: 0 0 34px;
      width: 34px;
      height: 34px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 10px;
      background: rgba(255,255,255,.94);
      color: #2563eb;
    }

    .post-nanny-page .post-nanny-tips-row .nanny-tip-item strong {
      display: block;
      color: #fff !important;
      margin-bottom: 4px;
    }

    .post-nanny-page .post-nanny-tips-row .nanny-tip-item small {
      display: block;
      color: rgba(255,255,255,.76) !important;
      line-height: 1.4;
    }

    @media (max-width: 850px) {
      .post-nanny-page .post-nanny-tips-row {
        grid-template-columns: 1fr;
      }
    }


/* --- Former local block 2 --- */
/* Match Post Roommate compact form formatting */

  /* Main 2-column nanny fields: compact fixed widths */
  .post-nanny-page .post-nanny-card .grid-2 {
    grid-template-columns: repeat(2, 280px) !important;
    justify-content: start !important;
    gap: 12px !important;
  }

  /* Location fields: compact fixed widths */
  .post-nanny-page .post-nanny-card .grid-3 {
    grid-template-columns: repeat(3, 280px) !important;
    justify-content: start !important;
    gap: 12px !important;
  }

  .post-nanny-page .post-nanny-card input:not([type="checkbox"]):not([type="file"]),
  .post-nanny-page .post-nanny-card select {
    width: 280px !important;
    max-width: 280px !important;
    min-width: 0 !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 6px 10px !important;
    font-size: 0.86rem !important;
    border-radius: 9px !important;
    box-sizing: border-box !important;
  }

  /* Listing title stays wider */
  .post-nanny-page .post-nanny-card .title-input-wrap {
    width: 572px !important;
    max-width: 572px !important;
    grid-column: 1 / -1 !important;
  }

  .post-nanny-page .post-nanny-card .title-input-wrap #fullName {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Bio stays wider but compact vertically */
  .post-nanny-page .post-nanny-card textarea[name="bio"] {
    grid-column: 1 / -1 !important;
    width: 572px !important;
    max-width: 572px !important;
    min-height: 90px !important;
    padding: 9px 10px !important;
    font-size: 0.86rem !important;
    border-radius: 9px !important;
    box-sizing: border-box !important;
  }

  /* Qualification checkbox pills */
  .post-nanny-page .post-nanny-card .nanny-checks {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 22px !important;
  }

  .post-nanny-page .post-nanny-card .nanny-checks label {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    min-height: 32px !important;
    padding: 5px 10px !important;
    gap: 6px !important;
    font-size: 0.78rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    border-radius: 9px !important;
  }

  .post-nanny-page .post-nanny-card .nanny-checks input[type="checkbox"] {
    width: 13px !important;
    height: 13px !important;
    min-width: 13px !important;
    min-height: 13px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Compact contact fields — Full Name + Email + Phone */
.post-nanny-page .post-nanny-card .grid-2:has(#contactName) {
  display: grid !important;
  grid-template-columns: 200px 200px 120px !important;
  gap: 10px !important;
  justify-content: start !important;
}

.post-nanny-page #contactName,
.post-nanny-page #contactEmail {
  width: 200px !important;
  max-width: 200px !important;
  min-width: 200px !important;
}

.post-nanny-page input[name="contactPhone"] {
  width: 120px !important;
  max-width: 120px !important;
  min-width: 120px !important;
}

.post-nanny-page
.post-nanny-card
.grid-2:has(#contactName)
input[name="contactPhone"] {
  width: 180px !important;
  max-width: 180px !important;
  min-width: 180px !important;
  flex: 0 0 180px !important;
  box-sizing: border-box !important;
}

  /* Compact photo upload */
  .post-nanny-page #nannyForm #photos {
    display: block !important;
    width: 300px !important;
    max-width: 300px !important;
    min-width: 300px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 3px 6px !important;
    margin-top: 10px !important;
    font-size: 0.82rem !important;
    border-radius: 9px !important;
    box-sizing: border-box !important;
  }

  .post-nanny-page #nannyForm #photos::file-selector-button {
    height: 26px !important;
    padding: 3px 9px !important;
    margin: 0 8px 0 0 !important;
    font-size: 0.82rem !important;
    font-weight: 400 !important;
    border-radius: 7px !important;
  }

  /* Compact submit button */
  .post-nanny-page #nannyForm > .card-body > button.btn.btn-primary[type="submit"] {
    display: inline-flex !important;
    width: auto !important;
    min-width: 150px !important;
    max-width: none !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 5px 14px !important;
    margin-top: 18px !important;
    justify-content: center !important;
    align-items: center !important;
    font-size: 0.82rem !important;
    font-weight: 400 !important;
    border-radius: 9px !important;
  }

  @media (max-width: 750px) {
    .post-nanny-page .post-nanny-card .grid-2,
    .post-nanny-page .post-nanny-card .grid-3,
    .post-nanny-page .post-nanny-card .grid-2:has(#contactEmail) {
      grid-template-columns: 1fr !important;
    }

    .post-nanny-page .post-nanny-card input:not([type="checkbox"]):not([type="file"]),
    .post-nanny-page .post-nanny-card select,
    .post-nanny-page .post-nanny-card .title-input-wrap,
    .post-nanny-page .post-nanny-card textarea[name="bio"],
    .post-nanny-page #contactEmail,
    .post-nanny-page input[name="contactPhone"] {
      width: 100% !important;
      max-width: 100% !important;
      min-width: 0 !important;
    }

    .post-nanny-page #nannyForm #photos {
      width: 100% !important;
      max-width: 100% !important;
      min-width: 0 !important;
    }
  }


/* --- Former local block 3 --- */
/* Requested Post Nanny field order */
  .post-nanny-page .post-nanny-card .nanny-main-fields {
    grid-template-columns: repeat(3, 280px) !important;
    justify-content: start !important;
    gap: 12px !important;
  }

  .post-nanny-page .post-nanny-card .nanny-main-fields .title-input-wrap,
  .post-nanny-page .post-nanny-card .nanny-main-fields textarea[name="bio"] {
    grid-column: 1 / -1 !important;
    width: 864px !important;
    max-width: 864px !important;
  }

  .post-nanny-page .post-nanny-card .nanny-main-fields .title-input-wrap #fullName {
    width: 100% !important;
    max-width: 100% !important;
  }

  @media (max-width: 950px) {
    .post-nanny-page .post-nanny-card .nanny-main-fields {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .post-nanny-page .post-nanny-card .nanny-main-fields .title-input-wrap,
    .post-nanny-page .post-nanny-card .nanny-main-fields textarea[name="bio"] {
      width: 100% !important;
      max-width: 100% !important;
    }
  }

  @media (max-width: 600px) {
    .post-nanny-page .post-nanny-card .nanny-main-fields {
      grid-template-columns: 1fr !important;
    }
  }


/* --- Former local block 4 --- */
/* Requested individual field width adjustments */
  .post-nanny-page .post-nanny-card .nanny-main-fields {
    display: grid !important;
    grid-template-columns: 230px 230px 230px !important;
    gap: 12px !important;
    justify-content: start !important;
  }

  /* Title and bio */
  .post-nanny-page .post-nanny-card .nanny-main-fields .title-input-wrap,
  .post-nanny-page .post-nanny-card .nanny-main-fields textarea[name="bio"] {
    grid-column: 1 / -1 !important;
    width: 714px !important;
    max-width: 714px !important;
  }

  /* Country / State / City - more compact */
  .post-nanny-page #country,
  .post-nanny-page #state,
  .post-nanny-page #city {
    width: 230px !important;
    max-width: 230px !important;
  }

  /* Availability - wider */
  .post-nanny-page input[name="availability"] {
    width: 330px !important;
    max-width: 330px !important;
  }

  /* Years of experience and rate - narrower */
  .post-nanny-page input[name="yearsExperience"] {
    width: 180px !important;
    max-width: 180px !important;
  }

  .post-nanny-page input[name="hourlyRate"] {
    width: 190px !important;
    max-width: 190px !important;
  }

  /* Age group - wider */
  .post-nanny-page input[name="ageGroups"] {
    width: 360px !important;
    max-width: 360px !important;
  }

  /* Put Availability / Experience / Rate neatly on one row */
  .post-nanny-page input[name="availability"] {
    grid-column: 1;
  }

  .post-nanny-page input[name="yearsExperience"] {
    grid-column: 2;
    margin-left: 100px;
  }

  .post-nanny-page input[name="hourlyRate"] {
    grid-column: 3;
    margin-left: 62px;
  }

  /* Age group begins next row */
  .post-nanny-page input[name="ageGroups"] {
    grid-column: 1 / span 2;
  }

  /* Keep zip code after age group without changing functionality */
@media (max-width: 950px) {
    .post-nanny-page .post-nanny-card .nanny-main-fields {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .post-nanny-page .post-nanny-card .nanny-main-fields .title-input-wrap,
    .post-nanny-page .post-nanny-card .nanny-main-fields textarea[name="bio"],
    .post-nanny-page #country,
    .post-nanny-page #state,
    .post-nanny-page #city,
    .post-nanny-page input[name="availability"],
    .post-nanny-page input[name="yearsExperience"],
    .post-nanny-page input[name="hourlyRate"],
    .post-nanny-page input[name="ageGroups"],
.post-nanny-page input[name="availability"],
    .post-nanny-page input[name="yearsExperience"],
    .post-nanny-page input[name="hourlyRate"],
    .post-nanny-page input[name="ageGroups"],
}

  @media (max-width: 600px) {
    .post-nanny-page .post-nanny-card .nanny-main-fields {
      grid-template-columns: 1fr !important;
    }
  }


/* --- Former local block 5 --- */
/* FINAL nanny field alignment - no overlap */

  .post-nanny-page .post-nanny-card .nanny-main-fields {
    display: grid !important;
    grid-template-columns: 330px 180px 190px !important;
    column-gap: 14px !important;
    row-gap: 12px !important;
    justify-content: start !important;
    align-items: start !important;
  }

  /* Listing title + bio span the full compact form width */
  .post-nanny-page .post-nanny-card .nanny-main-fields .title-input-wrap,
  .post-nanny-page .post-nanny-card .nanny-main-fields textarea[name="bio"] {
    grid-column: 1 / -1 !important;
    width: 728px !important;
    max-width: 728px !important;
    margin-left: 0 !important;
  }

  .post-nanny-page .post-nanny-card .nanny-main-fields .title-input-wrap #fullName {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Country / State / City stay compact and aligned */
  .post-nanny-page #country,
  .post-nanny-page #state,
  .post-nanny-page #city {
    width: 230px !important;
    max-width: 230px !important;
    margin-left: 0 !important;
  }

  .post-nanny-page #country { grid-column: 1 !important; }
  .post-nanny-page #state   { grid-column: 2 !important; width: 230px !important; max-width: 230px !important; }
  .post-nanny-page #city    { grid-column: 3 !important; width: 230px !important; max-width: 230px !important; }

  /* Availability / experience / rate on one clean row */
  .post-nanny-page input[name="availability"] {
    grid-column: 1 !important;
    width: 330px !important;
    max-width: 330px !important;
    margin-left: 0 !important;
  }

  .post-nanny-page input[name="yearsExperience"] {
    grid-column: 2 !important;
    width: 180px !important;
    max-width: 180px !important;
    margin-left: 0 !important;
  }

  .post-nanny-page input[name="hourlyRate"] {
    grid-column: 3 !important;
    width: 190px !important;
    max-width: 190px !important;
    margin-left: 0 !important;
  }

  /* Wider Age Groups field */
  .post-nanny-page input[name="ageGroups"] {
    grid-column: 1 / span 2 !important;
    width: 430px !important;
    max-width: 430px !important;
    margin-left: 0 !important;
  }

  /* Zip stays on the same row to the right */
/* Keep some breathing room before checkbox pills */
  .post-nanny-page .post-nanny-card .nanny-checks {
    margin-top: 24px !important;
  }

  @media (max-width: 950px) {
    .post-nanny-page .post-nanny-card .nanny-main-fields {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .post-nanny-page .post-nanny-card .nanny-main-fields .title-input-wrap,
    .post-nanny-page .post-nanny-card .nanny-main-fields textarea[name="bio"],
    .post-nanny-page #country,
    .post-nanny-page #state,
    .post-nanny-page #city,
    .post-nanny-page input[name="availability"],
    .post-nanny-page input[name="yearsExperience"],
    .post-nanny-page input[name="hourlyRate"],
    .post-nanny-page input[name="ageGroups"],
}

  @media (max-width: 600px) {
    .post-nanny-page .post-nanny-card .nanny-main-fields {
      grid-template-columns: 1fr !important;
    }
  }


/* --- Former local block 6 --- */
/* Stable Post Nanny layout: explicit rows prevent overlap */
  .post-nanny-page .nanny-main-fields-fixed {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .post-nanny-page .nanny-main-fields-fixed .title-input-wrap,
  .post-nanny-page .nanny-main-fields-fixed textarea[name="bio"] {
    width: 714px !important;
    max-width: 714px !important;
    margin: 0 !important;
  }

  .post-nanny-page .nanny-main-fields-fixed .title-input-wrap #fullName {
    width: 100% !important;
    max-width: 100% !important;
  }

  .post-nanny-page .nanny-main-fields-fixed textarea[name="bio"] {
    min-height: 90px !important;
  }

  .post-nanny-page .nanny-location-row,
  .post-nanny-page .nanny-care-row,
  .post-nanny-page .nanny-age-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 14px !important;
  }

  /* Country / State / City compact and equal */
  .post-nanny-page .nanny-location-row #country,
  .post-nanny-page .nanny-location-row #state,
  .post-nanny-page .nanny-location-row #city {
    width: 230px !important;
    max-width: 230px !important;
    min-width: 230px !important;
    margin: 0 !important;
  }

  /* Availability wider; Experience + Rate compact and aligned */
  .post-nanny-page .nanny-care-row input[name="availability"] {
    width: 330px !important;
    max-width: 330px !important;
    min-width: 330px !important;
    margin: 0 !important;
  }

  .post-nanny-page .nanny-care-row input[name="yearsExperience"] {
    width: 180px !important;
    max-width: 180px !important;
    min-width: 180px !important;
    margin: 0 !important;
  }

  .post-nanny-page .nanny-care-row input[name="hourlyRate"] {
    width: 190px !important;
    max-width: 190px !important;
    min-width: 190px !important;
    margin: 0 !important;
  }

  /* Age Groups extended a little more */
  .post-nanny-page .nanny-age-row input[name="ageGroups"] {
    width: 460px !important;
    max-width: 460px !important;
    min-width: 460px !important;
    margin: 0 !important;
  }
.post-nanny-page .post-nanny-card .nanny-checks {
    margin-top: 24px !important;
  }

  @media (max-width: 820px) {
    .post-nanny-page .nanny-main-fields-fixed .title-input-wrap,
    .post-nanny-page .nanny-main-fields-fixed textarea[name="bio"] {
      width: 100% !important;
      max-width: 100% !important;
    }

    .post-nanny-page .nanny-location-row,
    .post-nanny-page .nanny-care-row,
    .post-nanny-page .nanny-age-row {
      width: 100% !important;
      flex-wrap: wrap !important;
    }

    .post-nanny-page .nanny-location-row #country,
    .post-nanny-page .nanny-location-row #state,
    .post-nanny-page .nanny-location-row #city,
    .post-nanny-page .nanny-care-row input[name="availability"],
    .post-nanny-page .nanny-care-row input[name="yearsExperience"],
    .post-nanny-page .nanny-care-row input[name="hourlyRate"],
    .post-nanny-page .nanny-age-row input[name="ageGroups"],
}


/* --- Former local block 7 --- */
/* Final correction: no Zip Code on Post Nanny */
  .post-nanny-page input[name="ageGroups"] {
    width: 460px !important;
    max-width: 460px !important;
    margin-left: 0 !important;
  }

  @media (max-width: 600px) {
    .post-nanny-page input[name="ageGroups"] {
      width: 100% !important;
      max-width: 100% !important;
    }
  }


/* --- Former local block 8 --- */
/* Final compact care row: Availability | Experience | Rate */
  .post-nanny-page .nanny-care-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 12px !important;
    width: auto !important;
  }

  .post-nanny-page .nanny-care-row input[name="availability"] {
    flex: 0 0 330px !important;
    width: 330px !important;
    max-width: 330px !important;
    min-width: 330px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .post-nanny-page .nanny-care-row input[name="yearsExperience"] {
    flex: 0 0 145px !important;
    width: 145px !important;
    max-width: 145px !important;
    min-width: 145px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .post-nanny-page .nanny-care-row input[name="hourlyRate"] {
    flex: 0 0 155px !important;
    width: 155px !important;
    max-width: 155px !important;
    min-width: 155px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  /* Extend Age Groups a little more */
  .post-nanny-page .nanny-age-row input[name="ageGroups"] {
    flex: 0 0 500px !important;
    width: 500px !important;
    max-width: 500px !important;
    min-width: 500px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  @media (max-width: 820px) {
    .post-nanny-page .nanny-care-row {
      flex-wrap: wrap !important;
      width: 100% !important;
    }

    .post-nanny-page .nanny-care-row input[name="availability"],
    .post-nanny-page .nanny-care-row input[name="yearsExperience"],
    .post-nanny-page .nanny-care-row input[name="hourlyRate"],
    .post-nanny-page .nanny-age-row input[name="ageGroups"] {
      flex: 1 1 100% !important;
      width: 100% !important;
      max-width: 100% !important;
      min-width: 0 !important;
    }
  }


/* --- Former local block 9 --- */
/* Slightly extend Experience and Rate fields */
  .post-nanny-page .nanny-care-row input[name="yearsExperience"] {
    flex: 0 0 165px !important;
    width: 165px !important;
    max-width: 165px !important;
    min-width: 165px !important;
  }

  .post-nanny-page .nanny-care-row input[name="hourlyRate"] {
    flex: 0 0 175px !important;
    width: 175px !important;
    max-width: 175px !important;
    min-width: 175px !important;
  }


/* --- Former local block 10 --- */
/* Extend Age Groups field slightly */
  .post-nanny-page .nanny-age-row input[name="ageGroups"],
  .post-nanny-page input[name="ageGroups"] {
    flex: 0 0 540px !important;
    width: 540px !important;
    max-width: 540px !important;
    min-width: 540px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  @media (max-width: 820px) {
    .post-nanny-page .nanny-age-row input[name="ageGroups"],
    .post-nanny-page input[name="ageGroups"] {
      flex: 1 1 100% !important;
      width: 100% !important;
      max-width: 100% !important;
      min-width: 0 !important;
    }
  }


/* --- Former local block 11 --- */
/* Force Age Groups row and input to actually extend */
  .post-nanny-page .nanny-age-row {
    display: block !important;
    width: 560px !important;
    max-width: 560px !important;
    min-width: 560px !important;
  }

  .post-nanny-page .nanny-age-row input[name="ageGroups"] {
    display: block !important;
    flex: none !important;
    width: 560px !important;
    max-width: 560px !important;
    min-width: 560px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  @media (max-width: 820px) {
    .post-nanny-page .nanny-age-row,
    .post-nanny-page .nanny-age-row input[name="ageGroups"] {
      width: 100% !important;
      max-width: 100% !important;
      min-width: 0 !important;
    }
  }


/* --- Former local block 12 --- */
/* Match checkbox pill text color to the rest of the form fields */
  .post-nanny-page .post-nanny-card .nanny-checks label {
    color: rgba(226, 232, 240, 0.78) !important;
    font-weight: 400 !important;
  }


/* --- Former local block 13 --- */
/* Post Nanny shared-container structure.
     Visual color/transparency now comes from style.css. */
  .post-nanny-page #nannyForm.post-nanny-card {
    padding: 18px !important;
    border-radius: 24px !important;
  }

  .post-nanny-page .post-nanny-tips-inside {
    margin: 0 0 18px 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .post-nanny-page .post-nanny-tips-inside .post-nanny-tips-heading {
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
  }

  .post-nanny-page .post-nanny-tips-inside .post-nanny-tips-row {
    margin: 0 !important;
    padding: 0 !important;
  }

  .post-nanny-page #nannyForm .card-body {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  @media (max-width: 850px) {
    .post-nanny-page #nannyForm.post-nanny-card {
      padding: 12px !important;
      border-radius: 18px !important;
    }
  }


/* --- Former local block 14 --- */
/* Post Nanny: same big-container structure as Post Roommate */
  .post-nanny-page .post-nanny-card {
    padding: 18px !important;
    border-radius: 24px !important;
  }

  .post-nanny-page .post-nanny-card > .card-body {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .post-nanny-page #nannyForm {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  @media (max-width: 850px) {
    .post-nanny-page .post-nanny-card {
      padding: 12px !important;
      border-radius: 18px !important;
    }
  }


/* --- Former local block 15 --- */
/* =========================================================
   POST NANNY — MOBILE FINAL
   ========================================================= */
@media screen and (max-width: 850px) {

  /* Reduce space below menu */
  body.post-nanny-page .post-nanny-hero {
    padding-top: 0 !important;
  }

  body.post-nanny-page .post-nanny-copy {
    position: relative !important;
    top: 0px !important;
  }

  /* Contact row */
  body.post-nanny-page
  .post-nanny-card
  .grid-2:has(#contactName) {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    gap: 10px !important;
  }

  /* Full Name / Email / Phone — same width */
  body.post-nanny-page
  .post-nanny-card
  .grid-2:has(#contactName)
  #contactName,

  body.post-nanny-page
  .post-nanny-card
  .grid-2:has(#contactName)
  #contactEmail,

  body.post-nanny-page
  .post-nanny-card
  .grid-2:has(#contactName)
  input[name="contactPhone"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

}


/* =========================================================
   POST SERVICE — FORMER HTML-LOCAL CSS
   ========================================================= */


/* --- Former local block 1 --- */
/* Post Service: single unified upper section */
    .post-service-page .post-service-hero-grid {
      display: block !important;
    }

    .post-service-page .post-service-copy {
      width: 100% !important;
      max-width: 1050px !important;
    }

    .post-service-page .post-service-hero-note {
      margin-top: 24px;
      padding: 16px 18px;
      border-radius: 18px;
      background: rgba(71, 91, 119, 0.58);
      border: 1px solid rgba(255,255,255,.30);
      box-shadow: 0 12px 30px rgba(2,8,23,.14);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      color: rgba(255,255,255,.92);
      line-height: 1.55;
      max-width: 100%;
    }

    .post-service-page .post-service-hero-note br {
      display: block;
      content: "";
      margin-top: 8px;
    }

    /* Bring the form closer to the unified hero section */
    .post-service-page .post-service-hero + section {
      margin-top: 0 !important;
      padding-top: 10px !important;
    }


/* --- Former local block 2 --- */
/* Match compact styling used on Post Roommate / Post Nanny */

  /* Main service fields */
  .post-service-page .post-service-card .grid-2 {
    grid-template-columns: repeat(2, 280px) !important;
    justify-content: start !important;
    gap: 12px !important;
  }

  .post-service-page .post-service-card .grid-3 {
    grid-template-columns: repeat(3, 230px) !important;
    justify-content: start !important;
    gap: 12px !important;
  }

  .post-service-page .post-service-card input:not([type="checkbox"]):not([type="file"]),
  .post-service-page .post-service-card select {
    height: 36px !important;
    min-height: 36px !important;
    padding: 6px 10px !important;
    font-size: 0.86rem !important;
    font-weight: 400 !important;
    border-radius: 9px !important;
    box-sizing: border-box !important;
  }

  .post-service-page .post-service-card .grid-2 > input:not([type="file"]),
  .post-service-page .post-service-card .grid-2 > select,
  .post-service-page .post-service-card .grid-2 > .title-input-wrap {
    width: 280px !important;
    max-width: 280px !important;
  }

  .post-service-page .post-service-card .grid-3 > input:not([type="file"]),
  .post-service-page .post-service-card .grid-3 > select {
    width: 230px !important;
    max-width: 230px !important;
  }

  /* Make Service Title wider */
  .post-service-page .post-service-card .title-input-wrap {
    width: 572px !important;
    max-width: 572px !important;
    grid-column: 1 / -1 !important;
  }

  .post-service-page .post-service-card .title-input-wrap #serviceTitle {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Description wider but compact vertically */
  .post-service-page .post-service-card textarea[name="serviceDescription"] {
    grid-column: 1 / -1 !important;
    width: 572px !important;
    max-width: 572px !important;
    min-height: 90px !important;
    padding: 9px 10px !important;
    font-size: 0.86rem !important;
    font-weight: 400 !important;
    border-radius: 9px !important;
    box-sizing: border-box !important;
  }

  /* Compact location fields */
  .post-service-page #country,
  .post-service-page #state,
  .post-service-page #city {
    width: 230px !important;
    max-width: 230px !important;
  }

  .post-service-page input[name="zipCode"] {
    width: 150px !important;
    max-width: 150px !important;
  }

  .post-service-page input[name="addressLine"] {
    width: 300px !important;
    max-width: 300px !important;
  }

  /* Mobile Service pill */
  .post-service-page .checkbox-inline {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    min-height: 32px !important;
    padding: 5px 10px !important;
    gap: 6px !important;
    font-size: 0.78rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    border-radius: 9px !important;
    color: rgba(226, 232, 240, 0.78) !important;
  }

  .post-service-page .checkbox-inline input[type="checkbox"] {
    width: 13px !important;
    height: 13px !important;
    min-width: 13px !important;
    min-height: 13px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Compact file upload */
  .post-service-page #serviceForm #photos {
    display: block !important;
    width: 300px !important;
    max-width: 300px !important;
    min-width: 300px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 3px 6px !important;
    margin-top: 10px !important;
    font-size: 0.82rem !important;
    border-radius: 9px !important;
    box-sizing: border-box !important;
  }

  .post-service-page #serviceForm #photos::file-selector-button {
    height: 26px !important;
    padding: 3px 9px !important;
    margin: 0 8px 0 0 !important;
    font-size: 0.82rem !important;
    font-weight: 400 !important;
    border-radius: 7px !important;
  }

  /* Compact submit button */
  .post-service-page #serviceForm > button.btn.btn-primary[type="submit"] {
    display: inline-flex !important;
    width: auto !important;
    min-width: 130px !important;
    max-width: none !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 5px 14px !important;
    margin-top: 18px !important;
    justify-content: center !important;
    align-items: center !important;
    font-size: 0.82rem !important;
    font-weight: 400 !important;
    border-radius: 9px !important;
  }

  @media (max-width: 800px) {
    .post-service-page .post-service-card .grid-2,
    .post-service-page .post-service-card .grid-3 {
      grid-template-columns: 1fr !important;
    }

    .post-service-page .post-service-card .grid-2 > input:not([type="file"]),
    .post-service-page .post-service-card .grid-2 > select,
    .post-service-page .post-service-card .grid-2 > .title-input-wrap,
    .post-service-page .post-service-card .grid-3 > input:not([type="file"]),
    .post-service-page .post-service-card .grid-3 > select,
    .post-service-page .post-service-card textarea[name="serviceDescription"],
    .post-service-page #country,
    .post-service-page #state,
    .post-service-page #city,
    .post-service-page input[name="zipCode"],
    .post-service-page input[name="addressLine"] {
      width: 100% !important;
      max-width: 100% !important;
    }

    .post-service-page #serviceForm #photos {
      width: 100% !important;
      max-width: 100% !important;
      min-width: 0 !important;
    }
  }


/* --- Former local block 3 --- */
/* FINAL Service Title width fix: override the existing grid-2 child rule */
.post-service-page .post-service-card .grid-2 > .title-input-wrap {
    grid-column: 1 / span 2 !important;
    width: 572px !important;
    max-width: 572px !important;
    min-width: 572px !important;
    justify-self: start !important;
}

.post-service-page .post-service-card .grid-2 > .title-input-wrap > #serviceTitle {
    display: block !important;
    width: 572px !important;
    max-width: 572px !important;
    min-width: 572px !important;
    box-sizing: border-box !important;
}

/* Keep the character counter inside the widened title field */
.post-service-page .post-service-card .grid-2 > .title-input-wrap .title-counter {
    right: 10px !important;
}

@media (max-width: 800px) {
    .post-service-page .post-service-card .grid-2 > .title-input-wrap,
    .post-service-page .post-service-card .grid-2 > .title-input-wrap > #serviceTitle {
        grid-column: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
}


/* --- Former local block 4 --- */
/* Compact Post Service submit button */
.post-service-page #serviceForm > button.btn.btn-primary[type="submit"] {
    display: inline-flex !important;
    width: 140px !important;
    max-width: 140px !important;
    min-width: 140px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 5px 14px !important;
    margin-top: 18px !important;
    justify-content: center !important;
    align-items: center !important;
    font-size: 0.82rem !important;
    font-weight: 400 !important;
    border-radius: 9px !important;
}


/* --- Former local block 5 --- */
/* One large outer container holding both note + service form */
  .post-service-page .post-service-form-section {
    padding-top: 10px !important;
  }

  .post-service-page .post-service-big-container {
    padding: 18px !important;
    border-radius: 24px !important;
    background: rgba(71, 91, 119, 0.42) !important;
    border: 1px solid rgba(255,255,255,.28) !important;
    box-shadow: 0 14px 36px rgba(2,8,23,.16) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
  }

  /* Keep the two inner sections distinct, but inside the one big panel */
  .post-service-page .post-service-big-container .post-service-hero-note {
    margin: 0 0 18px 0 !important;
    padding: 16px 18px !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,.08) !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    box-shadow: none !important;
  }

  .post-service-page .post-service-big-container #serviceForm.post-service-card {
    margin: 0 !important;
    padding: 18px !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,.08) !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    box-shadow: none !important;
  }

  @media (max-width: 800px) {
    .post-service-page .post-service-big-container {
      padding: 12px !important;
      border-radius: 18px !important;
    }
  }


/* --- Former local block 6 --- */
/* Post Service: same big-container structure as Post Roommate / Post Nanny */
  .post-service-page .post-service-big-container {
    padding: 18px !important;
    border-radius: 24px !important;
  }

  .post-service-page .post-service-big-container .post-service-hero-note {
    margin: 0 0 18px 0 !important;
  }

  .post-service-page .post-service-big-container #serviceForm.post-service-card {
    margin: 0 !important;
    padding: 18px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  @media (max-width: 850px) {
    .post-service-page .post-service-big-container {
      padding: 12px !important;
      border-radius: 18px !important;
    }
  }


/* =========================================================
   POST PAGES — FORMER INLINE style="..." DECLARATIONS
   ========================================================= */

/* User menus start hidden; JavaScript inline style changes can still show them. */
body.post-roommate-page #userMenu,
body.post-nanny-page #userMenu,
body.post-service-page #userMenu {
  display: none;
}

/* Post Roommate former inline grid placement. */
body.post-roommate-page #roommateForm .title-input-wrap,
body.post-roommate-page #roommateForm #description {
  grid-column: 1 / -1;
}

/* Post Nanny former inline spacing. */
body.post-nanny-page #nannyForm .grid-2:has(#contactName) {
  margin-top: 20px;
}

body.post-nanny-page #nannyForm h3 {
  margin: 22px 0 12px;
}

body.post-nanny-page #previewGrid {
  margin-top: 14px;
}

body.post-nanny-page #nannyForm button[type="submit"] {
  margin-top: 20px;
}

/* Post Service former inline description grid placement. */
body.post-service-page #serviceForm textarea[name="serviceDescription"] {
  grid-column: 1 / -1;
}

/* =========================================================
   POST PAGES — FINAL DESKTOP MENU-TO-HERO SPACING
   ========================================================= */
@media screen and (min-width: 851px) {
  body.post-roommate-page .post-roommate-hero,
  body.post-nanny-page .post-nanny-hero,
  body.post-service-page .post-service-hero {
    padding-top: 10px !important;
  }
}



/* =========================================================
   POST ROOMMATE — ALIGN ENTIRE PAGE WITH MINALESH LOGO
   DESKTOP ONLY
   ========================================================= */

@media screen and (min-width: 851px) {

  /* ---------------------------------------------------------
     HERO — same left/right width as header container
     --------------------------------------------------------- */
  body.post-roommate-page .post-roommate-hero-grid {
    width: 97% !important;
    max-width: none !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding-left: 0 !important;
    padding-right: 0 !important;
  }


  /* Remove old title/subtitle horizontal nudge */
  body.post-roommate-page .post-page-hero-copy > h1,
  body.post-roommate-page .post-page-hero-copy > p.post-page-hero-subtitle {
    transform: none !important;

    margin-left: 0 !important;
    padding-left: 0 !important;
  }


  /* Make sure ALL hero content starts at same left edge */
  body.post-roommate-page .post-roommate-copy,
  body.post-roommate-page .post-page-hero-copy,
  body.post-roommate-page .post-roommate-creative-tips {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }


  /* ---------------------------------------------------------
     FORM SECTION — align with MinAlesh logo
     --------------------------------------------------------- */

  body.post-roommate-page main > section:not(.post-roommate-hero) > .container {
    width: 97% !important;
    max-width: none !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding-left: 0 !important;
    padding-right: 0 !important;
  }


  /* Form/card itself should not introduce another left offset */
  body.post-roommate-page .roommate-post-card {
    margin-left: 0 !important;
  }

  body.post-roommate-page .roommate-post-card .card-body {
    margin-left: 0 !important;
  }

}
/* =========================================================
   POST PAGES — FINAL DESKTOP SPACING + LOGO LEFT ALIGNMENT
   Post Roommate / Post Nanny / Post Service
   ========================================================= */
@media screen and (min-width: 851px) {

  /* Zero space above hero content */
  body.post-roommate-page .post-roommate-hero,
  body.post-nanny-page .post-nanny-hero,
  body.post-service-page .post-service-hero {
    padding-top: 0 !important;
  }

  /* NANNY — match header/logo container edge */
  body.post-nanny-page .post-nanny-hero-grid {
    width: 97% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.post-nanny-page .post-nanny-copy,
  body.post-nanny-page .post-page-hero-copy,
  body.post-nanny-page .post-nanny-creative-tips,
  body.post-nanny-page .post-nanny-tips-strip {
    margin-left: 0 !important;
    padding-left: 0 !important;
    transform: none !important;
    left: auto !important;
  }

  body.post-nanny-page .post-page-hero-copy > h1,
  body.post-nanny-page .post-page-hero-copy > p.post-page-hero-subtitle {
    margin-left: 0 !important;
    padding-left: 0 !important;
    transform: none !important;
  }

  /* SERVICE — match header/logo container edge */
  body.post-service-page .post-service-hero-grid {
    width: 97% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.post-service-page .post-service-copy,
  body.post-service-page .post-page-hero-copy,
  body.post-service-page .post-service-creative-tips {
    margin-left: 0 !important;
    padding-left: 0 !important;
    transform: none !important;
    left: auto !important;
  }

  body.post-service-page .post-service-copy > h1,
  body.post-service-page .post-service-copy > p.post-page-hero-subtitle {
    margin-left: 0 !important;
    padding-left: 0 !important;
    transform: none !important;
  }
}

/* =========================================================
   POST PAGES — TRUE FINAL DESKTOP MATCH TO POST ROOMMATE
   Keep all three hero starts and page left edges identical.
   ========================================================= */
@media screen and (min-width: 851px) {

  /* Same menu-to-hero spacing on all three pages. */
  body.post-roommate-page .post-roommate-hero,
  body.post-nanny-page .post-nanny-hero,
  body.post-service-page .post-service-hero {
    padding-top: 20px !important;
  }

  /* Match the approved Post Roommate visual lift exactly. */
  body.post-roommate-page .post-roommate-copy,
  body.post-nanny-page .post-nanny-copy,
  body.post-service-page .post-service-copy {
    position: relative !important;
    top: 0 !important;
    transform: translateY(-25px) !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
  }

  /* Same left edge as the 97% site-nav/logo container. */
  body.post-roommate-page .post-roommate-hero-grid,
  body.post-nanny-page .post-nanny-hero-grid,
  body.post-service-page .post-service-hero-grid,
  body.post-roommate-page main > section:not(.post-roommate-hero) > .container,
  body.post-nanny-page main > section:not(.post-nanny-hero) > .container,
  body.post-service-page main > section:not(.post-service-hero) > .container {
    width: 97% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Remove any remaining title/subtitle horizontal offsets. */
  body.post-roommate-page .post-roommate-copy > h1,
  body.post-nanny-page .post-nanny-copy > h1,
  body.post-service-page .post-service-copy > h1,
  body.post-roommate-page .post-roommate-copy > p.post-page-hero-subtitle,
  body.post-nanny-page .post-nanny-copy > p.post-page-hero-subtitle,
  body.post-service-page .post-service-copy > p.post-page-hero-subtitle {
    margin-left: 0 !important;
    padding-left: 0 !important;
    transform: none !important;
  }

  /* Prevent Service from keeping its old extra section gap. */
  body.post-service-page .post-service-hero + section,
  body.post-service-page .post-service-form-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}


body.admin-page #userMenu {
  display: none;
}


/* ADMIN — final responsive cleanup */
@media screen and (max-width: 900px) {
  body.admin-page .admin-hero-grid-loved {
    grid-template-columns: 1fr !important;
  }

  body.admin-page .admin-panel-head-loved {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: start !important;
  }

  body.admin-page .admin-panel-tools-loved {
    width: 100% !important;
    min-width: 0 !important;
  }
}

@media screen and (max-width: 700px) {
  body.admin-page .admin-hero,
  body.admin-page .admin-hero-loved {
    padding: 8px 0 10px !important;
  }

  body.admin-page .admin-big-container {
    padding: 14px !important;
    border-radius: 18px !important;
  }

  body.admin-page .admin-hero-copy-loved h1 {
    font-size: 1.65rem !important;
  }

  body.admin-page .admin-hero-actions-loved .btn {
    width: 100%;
  }

  body.admin-page .admin-mini-metrics-loved {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body.admin-page .admin-stat-grid-loved {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.admin-page .admin-tabs-loved {
    width: 100% !important;
    border-radius: 14px !important;
  }

  body.admin-page .admin-tabs-loved .admin-tab {
    flex: 1 1 0;
    width: auto !important;
    justify-content: center;
  }
}

@media screen and (max-width: 460px) {
  /* Keep the six Admin summary cards in two columns on small phones. */
  body.admin-page .admin-stat-grid-loved {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.admin-page .admin-mini-metrics-loved {
    grid-template-columns: 1fr !important;
  }
}




/* =========================================================
   ADMIN MOBILE TABLES — STACKED CARDS ONLY
   ========================================================= */
@media screen and (max-width: 700px) {

  body.admin-page .admin-table-wrap,
  body.admin-page .admin-table-wrap-loved {
    overflow-x: visible !important;
    background: transparent !important;
    border: none !important;
  }

  body.admin-page .admin-table,
  body.admin-page .admin-table-wrap-loved .admin-table {
    min-width: 0 !important;
    width: 100% !important;
  }

  body.admin-page .admin-table thead {
    display: none !important;
  }

  body.admin-page .admin-table,
  body.admin-page .admin-table tbody,
  body.admin-page .admin-table tr,
  body.admin-page .admin-table td {
    display: block !important;
    width: 100% !important;
  }

  body.admin-page .admin-table tr {
    background: rgba(255,255,255,.96) !important;
    border-radius: 14px !important;
    padding: 10px 12px !important;
    margin-bottom: 12px !important;
  }

  body.admin-page .admin-table td {
    display: grid !important;
    grid-template-columns: 90px 1fr !important;
    gap: 10px !important;
    align-items: center !important;
    padding: 7px 0 !important;
    border-bottom: 1px solid #e5e7eb !important;
    font-size: .80rem !important;
    font-weight: 300 !important;
  }

  body.admin-page .admin-table td:last-child {
    border-bottom: none !important;
  }

  body.admin-page .admin-table td::before {
    font-size: .70rem !important;
    font-weight: 500 !important;
    color: #64748b !important;
  }

  /* Listing table */
  body.admin-page #adminListings td:nth-child(1)::before {
    content: "Listing";
  }

  body.admin-page #adminListings td:nth-child(2)::before {
    content: "Type";
  }

  body.admin-page #adminListings td:nth-child(3)::before {
    content: "Owner";
  }

  body.admin-page #adminListings td:nth-child(4)::before {
    content: "Status";
  }

  body.admin-page #adminListings td:nth-child(5)::before {
    content: "Views";
  }

  body.admin-page #adminListings td:nth-child(6)::before {
    content: "Posted";
  }

  body.admin-page #adminListings td:nth-child(7)::before {
    content: "Actions";
  }

}

/* =========================================================
   ADMIN MOBILE — ACTION BUTTONS ONE ROW
   ========================================================= */
@media screen and (max-width: 700px) {

  body.admin-page #adminListings td.admin-actions-cell {
    display: grid !important;
    grid-template-columns: 80px 1fr 1fr !important;
    gap: 7px !important;
    align-items: center !important;
  }

  body.admin-page #adminListings td.admin-actions-cell .btn {
    width: 100% !important;
    min-width: 0 !important;
    height: 32px !important;
    padding: 4px 8px !important;
    font-size: 0.74rem !important;
    white-space: nowrap !important;
    margin: 0 !important;
  }

}

/* =========================================================
   ADMIN — LISTING TYPE + STATUS FILTERS
   ========================================================= */
body.admin-page .admin-listing-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 14px;
}

body.admin-page .admin-type-filters,
body.admin-page .admin-status-filters {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

body.admin-page .admin-filter-pill,
body.admin-page .admin-status-filter {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  color: #f8fafc;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 400;
  box-shadow: none;
}

body.admin-page .admin-filter-pill {
  min-width: 128px;
  padding: 7px 10px;
  text-align: left;
}

body.admin-page .admin-filter-pill span {
  display: block;
  font-size: .78rem;
  font-weight: 400;
  line-height: 1.15;
}

body.admin-page .admin-filter-pill small {
  display: block;
  margin-top: 2px;
  color: #cbd5e1;
  font-size: .64rem;
  font-weight: 300;
  white-space: nowrap;
}

body.admin-page .admin-filter-pill small b {
  font-weight: 400;
}

body.admin-page .admin-status-filter {
  padding: 7px 10px;
  font-size: .72rem;
  white-space: nowrap;
}

body.admin-page .admin-filter-pill:hover,
body.admin-page .admin-status-filter:hover,
body.admin-page .admin-filter-pill.active,
body.admin-page .admin-status-filter.active {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

body.admin-page .admin-filter-pill.active small {
  color: #dbeafe;
}

@media screen and (max-width: 700px) {
  body.admin-page .admin-listing-filters {
    align-items: stretch;
    gap: 9px;
  }

  body.admin-page .admin-type-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 7px;
  }

  body.admin-page .admin-filter-pill {
    min-width: 0;
    width: 100%;
    padding: 7px 8px;
  }

  body.admin-page .admin-status-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 7px;
  }

  body.admin-page .admin-status-filter {
    width: 100%;
    padding: 7px 5px;
  }
}




/* =========================================================
   ADMIN — COMPACT SUMMARY CARDS + SEARCH
   ========================================================= */
@media screen and (min-width: 701px) {

  /* -----------------------------------------
     TOP SUMMARY CARDS
     ----------------------------------------- */
  body.admin-page .admin-stat-card,
  body.admin-page .admin-stat-grid-loved .admin-stat-card {
    min-height: 0 !important;
    height: 58px !important;

    padding: 7px 12px !important;
    gap: 8px !important;

    background: rgba(255, 255, 255, 0.10) !important;
    border: 1px solid rgba(255, 255, 255, 0.20) !important;

    border-radius: 14px !important;
    box-shadow: none !important;
  }

  /* Smaller icon circle */
  body.admin-page .admin-stat-card > span,
  body.admin-page .admin-stat-grid-loved .admin-stat-card > span {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
  }

  body.admin-page .admin-stat-card > span i {
    font-size: 0.82rem !important;
  }

  /* Number */
  body.admin-page .admin-stat-card strong {
    font-size: 0.88rem !important;
    font-weight: 400 !important;
    line-height: 1.05 !important;
    color: #ffffff !important;
  }

  /* Label */
  body.admin-page .admin-stat-card small {
    font-size: 0.66rem !important;
    font-weight: 300 !important;
    line-height: 1.05 !important;
    color: rgba(255, 255, 255, 0.78) !important;
  }


  /* -----------------------------------------
     COMPACT SEARCH BOX
     ----------------------------------------- */
  body.admin-page .admin-search-loved {
    width: 340px !important;
    max-width: 340px !important;
    min-height: 38px !important;
    height: 38px !important;

    padding: 4px 12px !important;
    border-radius: 12px !important;

    background: rgba(255, 255, 255, 0.10) !important;
    border: 1px solid rgba(255, 255, 255, 0.20) !important;
    box-shadow: none !important;
  }

  body.admin-page .admin-search-loved i {
    font-size: 0.82rem !important;
    color: rgba(255, 255, 255, 0.80) !important;
  }

  body.admin-page .admin-search-loved input {
    height: 28px !important;
    min-height: 0 !important;
    padding: 2px 4px !important;

    font-size: 0.76rem !important;
    font-weight: 300 !important;
    color: #ffffff !important;
  }

  body.admin-page .admin-search-loved input::placeholder {
    font-size: 0.76rem !important;
    font-weight: 300 !important;
    color: rgba(255, 255, 255, 0.62) !important;
  }
}


/* =========================================================
   ADMIN LISTINGS — ALTERNATING ROW COLORS
   ========================================================= */
@media screen and (min-width: 701px) {

  /* Row 1, 3, 5, etc. */
  body.admin-page .admin-table tbody tr:nth-child(odd) td {
    background: rgba(255, 255, 255, 0.97) !important;
  }

  /* Row 2, 4, 6, etc. */
body.admin-page .admin-table tbody tr:nth-child(even) td {
  background: rgba(245, 243, 255, 0.97) !important;
}

  /* Subtle hover so you can easily follow a row */
  body.admin-page .admin-table tbody tr:hover td {
    background: rgba(219, 234, 254, 0.98) !important;
  }

}

/* =========================================================
   ADMIN MOBILE — MATCH DESKTOP COMPACT STATS / SEARCH / ROWS
   Uses the same glass treatment and alternating row colors
   already approved on desktop.
   ========================================================= */
@media screen and (max-width: 700px) {

  /* Six summary cards: compact, translucent, two per row. */
  body.admin-page .admin-stat-grid-loved {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  body.admin-page .admin-stat-card,
  body.admin-page .admin-stat-grid-loved .admin-stat-card {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: 54px !important;
    padding: 6px 9px !important;
    gap: 7px !important;
    background: rgba(255, 255, 255, 0.10) !important;
    border: 1px solid rgba(255, 255, 255, 0.20) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
  }

  body.admin-page .admin-stat-card > span,
  body.admin-page .admin-stat-grid-loved .admin-stat-card > span {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    flex: 0 0 30px !important;
  }

  body.admin-page .admin-stat-card > span i {
    font-size: 0.78rem !important;
  }

  body.admin-page .admin-stat-card strong {
    font-size: 0.82rem !important;
    font-weight: 400 !important;
    line-height: 1.05 !important;
    color: #ffffff !important;
  }

  body.admin-page .admin-stat-card small {
    font-size: 0.60rem !important;
    font-weight: 300 !important;
    line-height: 1.05 !important;
    color: rgba(255, 255, 255, 0.76) !important;
  }

  /* Search: same compact glass look as desktop, sized for mobile. */
  body.admin-page .admin-panel-tools-loved {
    width: 100% !important;
    min-width: 0 !important;
  }

  body.admin-page .admin-search-loved {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    height: 36px !important;
    padding: 3px 10px !important;
    border-radius: 11px !important;
    background: rgba(255, 255, 255, 0.10) !important;
    border: 1px solid rgba(255, 255, 255, 0.20) !important;
    box-shadow: none !important;
  }

  body.admin-page .admin-search-loved i {
    font-size: 0.78rem !important;
    color: rgba(255, 255, 255, 0.80) !important;
  }

  body.admin-page .admin-search-loved input {
    height: 26px !important;
    min-height: 0 !important;
    padding: 1px 4px !important;
    font-size: 0.72rem !important;
    font-weight: 300 !important;
    color: #ffffff !important;
    background: transparent !important;
  }

  body.admin-page .admin-search-loved input::placeholder {
    font-size: 0.72rem !important;
    font-weight: 300 !important;
    color: rgba(255, 255, 255, 0.58) !important;
  }

  /* Mobile stacked listing cards: same alternating colors as desktop. */
  body.admin-page .admin-table tbody tr:nth-child(odd) {
    background: rgba(255, 255, 255, 0.97) !important;
  }

  body.admin-page .admin-table tbody tr:nth-child(even) {
    background: rgba(245, 243, 255, 0.97) !important;
  }

  /* Let the card background show through each stacked cell. */
  body.admin-page .admin-table tbody tr td {
    background: transparent !important;
  }
}





/* =========================================================
   ADMIN HERO — MATCH OTHER MINALESH PAGE HERO TYPOGRAPHY
   ========================================================= */

body.admin-page .admin-hero-copy-loved h1 {
    margin: 0 0 10px !important;

    color: #ffffff !important;

    font-size: clamp(2rem, 4vw, 3.25rem) !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em !important;

    text-shadow: 0 3px 14px rgba(0,0,0,.30) !important;
}

body.admin-page .admin-hero-copy-loved > p {
    margin: 0 0 24px !important;
    max-width: 760px !important;

    color: rgba(255,255,255,.92) !important;

    font-size: 1.15rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;

    text-shadow: 0 2px 8px rgba(0,0,0,.35) !important;
}


/* MOBILE — MATCH OTHER PAGE HERO MOBILE TYPOGRAPHY */
@media screen and (max-width: 600px) {

    body.admin-page .admin-hero-copy-loved h1 {
        font-size: 2rem !important;
    }

    body.admin-page .admin-hero-copy-loved > p {
        font-size: .95rem !important;
        margin-bottom: 22px !important;
    }
}





/* =========================================================

/* =========================================================
   REGISTER — CLEAN FINAL FIXES
   Keeps the approved desktop/mobile layout intact.
   ========================================================= */

/* Password requirements: light text; body stays hidden until JS removes [hidden]. */
body.auth-page-body .password-requirements-toggle,
body.auth-page-body .password-requirements-label,
body.auth-page-body .password-requirements-content {
  font-weight: 300 !important;
}

body.auth-page-body .password-requirements-content[hidden] {
  display: none !important;
}

/* Create Account button: compact, centered, and unbold. */
body.auth-page-body #registerForm.register-form-card .auth-submit-btn {
  width: 300px !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex !important;
  justify-content: center !important;
  font-weight: 400 !important;
}

/* Success and validation/error messages: keep existing green/red colors, remove bold. */
body.auth-page-body #statusMessage,
body.auth-page-body #statusMessage *,
body.auth-page-body .auth-status-message,
body.auth-page-body .auth-status-message *,
body.auth-page-body .auth-status,
body.auth-page-body .auth-status * {
  font-weight: 300 !important;
}

/* Desktop only: give the absolutely-positioned form enough page height
   so the footer starts below the full form. Do NOT change the existing layout. */
@media screen and (min-width: 851px) {
  body.auth-page-body .auth-shell.register-redesign {
    display: block !important;
    min-height: 900px !important;
    overflow: visible !important;
  }
}





/* =========================================================
   REGISTER — COMPACT CREATE ACCOUNT BUTTON / LEFT ALIGNED
   ========================================================= */

body.auth-page-body #registerForm.register-form-card .auth-submit-btn {
  width: 240px !important;
  max-width: 240px !important;
  min-height: 40px !important;

  padding: 8px 14px !important;

  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-top: 14px !important;

  justify-content: center !important;

  font-size: 0.84rem !important;
  font-weight: 400 !important;

  border-radius: 10px !important;
}





/* =========================================================
   REGISTER — MATCH SIGN IN TOP SPACING
   DESKTOP ONLY
   ========================================================= */

@media screen and (min-width: 851px) {

  /* Same menu-to-hero spacing as Sign In */
  body.auth-page-body .register-page-hero {
    padding-top: 30px !important;
  }

  /* Keep Register's 25px horizontal position,
     but use the SAME -30px vertical position as Sign In */
  body.auth-page-body .register-hero-copy {
    transform: translate(25px, -30px) !important;
  }

  /* Same menu-to-form-container spacing as Sign In */
  body.auth-page-body .register-form-section {
    top: 20px !important;
  }
}





/* =========================================================
   INLINE FIELD VALIDATION
   ========================================================= */

.field-error {
  display: none;
  margin-top: 5px;
  margin-left: 4px;

  color: #ff4d4d;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
}

/* Show error */
.field-error.show {
  display: block;
}

/* Optional red outline around invalid field */
input.invalid-field,
select.invalid-field,
textarea.invalid-field {
  border: 1px solid #ff4d4d !important;
}

/* Remove bold from any existing validation message */
.error-message,
.validation-message {
  color: #ff4d4d !important;
  font-weight: 400 !important;
}

/* MINALESH STANDARD INLINE VALIDATION */
.field-error{display:none;width:100%;margin:5px 0 0 4px;padding:0;color:#ff4d4d!important;font-size:13px;font-weight:400!important;line-height:1.25;text-align:left}.field-error.show{display:block}input.invalid-field,select.invalid-field,textarea.invalid-field{border-color:#ff4d4d!important;box-shadow:0 0 0 1px rgba(255,77,77,.12)}

/* =========================================================
   REGISTER — INLINE VALIDATION LAYOUT FIX
   Desktop + mobile: errors stay BELOW controls, never beside them.
   ========================================================= */
body.auth-page-body #registerForm.register-form-card .register-field {
  display: block !important;
  width: 45% !important;
  max-width: 500px !important;
  margin: 0 !important;
}

body.auth-page-body #registerForm.register-form-card .register-field .auth-input-wrap {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.auth-page-body #registerForm.register-form-card .field-error {
  display: none !important;
  width: 100% !important;
  margin: 4px 0 1px 2px !important;
  padding: 0 !important;
  color: #ff5a5a !important;
  font-size: 0.76rem !important;
  font-weight: 300 !important;
  line-height: 1.25 !important;
  text-align: left !important;
  white-space: normal !important;
}

body.auth-page-body #registerForm.register-form-card .field-error.show {
  display: block !important;
}

body.auth-page-body #registerForm.register-form-card .auth-input-wrap:has(input.invalid-field) {
  border-color: #ff5a5a !important;
  box-shadow: 0 0 0 1px rgba(255,90,90,.16) !important;
}

/* The input itself lives inside .auth-input-wrap, so don't double-outline it. */
body.auth-page-body #registerForm.register-form-card .auth-input-wrap input.invalid-field {
  border-color: transparent !important;
  box-shadow: none !important;
}

body.auth-page-body #registerForm.register-form-card .register-terms-group {
  width: 100% !important;
  max-width: none !important;
  margin-top: 10px !important;
}

body.auth-page-body #registerForm.register-form-card .register-terms-group .terms-check {
  width: 100% !important;
  max-width: none !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin: 0 !important;
}

body.auth-page-body #registerForm.register-form-card .register-terms-group .terms-check input {
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  margin: 2px 0 0 !important;
  flex: 0 0 18px !important;
}

body.auth-page-body #registerForm.register-form-card .register-terms-group .terms-check span {
  display: block !important;
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  line-height: 1.45 !important;
}

body.auth-page-body #registerForm.register-form-card #registerTermsError {
  margin-left: 28px !important;
  width: calc(100% - 28px) !important;
}

@media screen and (max-width: 850px) {
  body.auth-page-body #registerForm.register-form-card .register-field {
    width: 100% !important;
    max-width: none !important;
  }

  body.auth-page-body #registerForm.register-form-card .field-error {
    margin-top: 4px !important;
    margin-left: 2px !important;
    font-size: 0.74rem !important;
  }

  body.auth-page-body #registerForm.register-form-card .register-terms-group .terms-check {
    width: 100% !important;
    gap: 9px !important;
  }

  body.auth-page-body #registerForm.register-form-card #registerTermsError {
    margin-left: 27px !important;
    width: calc(100% - 27px) !important;
  }
}

/* =========================================================
   REGISTER — VALIDATION PLACEMENT CORRECTION v2
   Keep desktop inputs compact, but errors BELOW them.
   Mobile inputs/errors use full width.
   Also suppress any legacy validation node inside input wrappers.
   ========================================================= */

/* Legacy/duplicate error nodes must never sit beside the input. */
body.auth-page-body #registerForm.register-form-card .auth-input-wrap > .field-error,
body.auth-page-body #registerForm.register-form-card .auth-input-wrap > .validation-message,
body.auth-page-body #registerForm.register-form-card .auth-input-wrap > .error-message {
  display: none !important;
}

/* Each logical field occupies its own row. */
body.auth-page-body #registerForm.register-form-card .register-field {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 10px 0 !important;
  clear: both !important;
}

/* Keep the approved compact desktop input width. */
body.auth-page-body #registerForm.register-form-card .register-field > .auth-input-wrap {
  display: flex !important;
  width: 45% !important;
  max-width: 500px !important;
  margin: 0 !important;
}

/* Our one authoritative error is directly below the input. */
body.auth-page-body #registerForm.register-form-card .register-field > .field-error {
  display: none !important;
  width: 45% !important;
  max-width: 500px !important;
  margin: 4px 0 0 2px !important;
  padding: 0 !important;
  color: #ff5a5a !important;
  font-size: 0.76rem !important;
  font-weight: 300 !important;
  line-height: 1.2 !important;
  text-align: left !important;
  white-space: normal !important;
}

body.auth-page-body #registerForm.register-form-card .register-field > .field-error.show {
  display: block !important;
}

/* Terms remain a normal full-width row. */
body.auth-page-body #registerForm.register-form-card .register-terms-group {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 8px 0 14px 0 !important;
  clear: both !important;
}

body.auth-page-body #registerForm.register-form-card .register-terms-group > .terms-check {
  display: flex !important;
  width: 100% !important;
  max-width: none !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin: 0 !important;
}

body.auth-page-body #registerForm.register-form-card .register-terms-group > .field-error {
  display: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 4px 0 0 28px !important;
  padding: 0 !important;
  color: #ff5a5a !important;
  font-size: 0.76rem !important;
  font-weight: 300 !important;
  line-height: 1.2 !important;
}

body.auth-page-body #registerForm.register-form-card .register-terms-group > .field-error.show {
  display: block !important;
}

@media screen and (max-width: 850px) {
  body.auth-page-body #registerForm.register-form-card .register-field {
    width: 100% !important;
    margin-bottom: 9px !important;
  }

  body.auth-page-body #registerForm.register-form-card .register-field > .auth-input-wrap,
  body.auth-page-body #registerForm.register-form-card .register-field > .field-error {
    width: 100% !important;
    max-width: none !important;
  }

  body.auth-page-body #registerForm.register-form-card .register-field > .field-error,
  body.auth-page-body #registerForm.register-form-card .register-terms-group > .field-error {
    font-size: 0.74rem !important;
  }

  body.auth-page-body #registerForm.register-form-card .register-terms-group > .terms-check {
    width: 100% !important;
    max-width: none !important;
  }
}


/* =========================================================
   LOGIN — INLINE VALIDATION PLACEMENT FIX
   Desktop + mobile: validation stays BELOW the field.
   ========================================================= */
body.auth-page-body #loginForm.login-form-card .auth-input-wrap {
  position: relative !important;
  overflow: visible !important;
}

/* The validation JS currently places the message inside the input wrapper.
   Take it out of the horizontal flex flow and place it below the control. */
body.auth-page-body #loginForm.login-form-card .auth-input-wrap > .field-error,
body.auth-page-body #loginForm.login-form-card .auth-input-wrap > .validation-message,
body.auth-page-body #loginForm.login-form-card .auth-input-wrap > .error-message {
  position: absolute !important;
  top: calc(100% + 4px) !important;
  left: 2px !important;
  right: auto !important;
  width: max-content !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #ff5a5a !important;
  font-size: .76rem !important;
  font-weight: 300 !important;
  line-height: 1.2 !important;
  text-align: left !important;
  white-space: normal !important;
  z-index: 2 !important;
}

/* Give the shown message its own vertical room before the next label/row. */
body.auth-page-body #loginForm.login-form-card .auth-input-wrap:has(> .field-error.show),
body.auth-page-body #loginForm.login-form-card .auth-input-wrap:has(> .validation-message:not(:empty)),
body.auth-page-body #loginForm.login-form-card .auth-input-wrap:has(> .error-message:not(:empty)) {
  margin-bottom: 24px !important;
}

/* Red outline belongs on the wrapper, not as a second border on the input. */
body.auth-page-body #loginForm.login-form-card .auth-input-wrap:has(input.invalid-field) {
  border-color: #ff5a5a !important;
  box-shadow: 0 0 0 1px rgba(255,90,90,.16) !important;
}
body.auth-page-body #loginForm.login-form-card .auth-input-wrap input.invalid-field {
  border-color: transparent !important;
  box-shadow: none !important;
}

@media screen and (max-width: 850px) {
  body.auth-page-body #loginForm.login-form-card .auth-input-wrap > .field-error,
  body.auth-page-body #loginForm.login-form-card .auth-input-wrap > .validation-message,
  body.auth-page-body #loginForm.login-form-card .auth-input-wrap > .error-message {
    width: 100% !important;
    max-width: 100% !important;
    font-size: .74rem !important;
  }
}


/* =========================================================
   LOGIN — SINGLE AUTHORITATIVE INLINE VALIDATION
   Desktop + mobile
   ========================================================= */
body.auth-page-body #loginForm.login-form-card .auth-input-wrap > .field-error,
body.auth-page-body #loginForm.login-form-card .auth-input-wrap > .validation-message,
body.auth-page-body #loginForm.login-form-card .auth-input-wrap > .error-message {
  display: none !important;
}

body.auth-page-body #loginForm.login-form-card .login-field-error {
  display: none !important;
  width: 45% !important;
  max-width: 500px !important;
  margin: 4px 0 8px 2px !important;
  padding: 0 !important;
  color: #ff5a5a !important;
  font-size: 0.76rem !important;
  font-weight: 300 !important;
  line-height: 1.2 !important;
  text-align: left !important;
  white-space: normal !important;
  position: static !important;
}

body.auth-page-body #loginForm.login-form-card .login-field-error.show {
  display: block !important;
}

body.auth-page-body #loginForm.login-form-card .auth-input-wrap:has(input.invalid-field) {
  border-color: #ff5a5a !important;
  box-shadow: 0 0 0 1px rgba(255,90,90,.16) !important;
}

body.auth-page-body #loginForm.login-form-card .auth-input-wrap input.invalid-field {
  border-color: transparent !important;
  box-shadow: none !important;
}

@media screen and (max-width: 850px) {
  body.auth-page-body #loginForm.login-form-card .login-field-error {
    width: 100% !important;
    max-width: none !important;
    margin: 4px 0 8px 2px !important;
    font-size: 0.74rem !important;
  }
}


/* =========================================================
   FORGOT PASSWORD — SINGLE INLINE VALIDATION
   Desktop + mobile
   ========================================================= */

body.forgot-page-body #forgotPasswordForm .forgot-input-wrap > .field-error,
body.forgot-page-body #forgotPasswordForm .forgot-input-wrap > .validation-message,
body.forgot-page-body #forgotPasswordForm .forgot-input-wrap > .error-message {
  display: none !important;
}

body.forgot-page-body #forgotPasswordForm .forgot-field-error {
  display: none !important;
  width: 100% !important;
  margin: 4px 0 10px 2px !important;
  padding: 0 !important;
  color: #ff5a5a !important;
  font-size: 0.76rem !important;
  font-weight: 300 !important;
  line-height: 1.2 !important;
  text-align: left !important;
  white-space: normal !important;
  position: static !important;
}

body.forgot-page-body #forgotPasswordForm .forgot-field-error.show {
  display: block !important;
}

body.forgot-page-body #forgotPasswordForm .forgot-input-wrap:has(input.invalid-field) {
  border-color: #ff5a5a !important;
  box-shadow: 0 0 0 1px rgba(255,90,90,.16) !important;
}

body.forgot-page-body #forgotPasswordForm .forgot-input-wrap input.invalid-field {
  border-color: transparent !important;
  box-shadow: none !important;
}

@media screen and (max-width: 850px) {
  body.forgot-page-body #forgotPasswordForm .forgot-field-error {
    width: 100% !important;
    margin: 4px 0 8px 2px !important;
    font-size: 0.74rem !important;
  }
}


/* =========================================================
   POST ROOMMATE — SINGLE INLINE FIELD VALIDATION
   Desktop + mobile
   ========================================================= */

body.post-roommate-page #roommateForm .roommate-validation-field {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-self: start;
}

body.post-roommate-page #roommateForm .roommate-validation-field > input,
body.post-roommate-page #roommateForm .roommate-validation-field > select,
body.post-roommate-page #roommateForm .roommate-validation-field > textarea {
  width: 100% !important;
}

body.post-roommate-page #roommateForm .roommate-field-error {
  display: none !important;
  width: 100% !important;
  margin: 4px 0 2px 3px !important;
  padding: 0 !important;
  color: #ff4d4d !important;
  font-size: 0.76rem !important;
  font-weight: 300 !important;
  line-height: 1.2 !important;
  text-align: left !important;
  white-space: normal !important;
  position: static !important;
}

body.post-roommate-page #roommateForm .roommate-field-error.show {
  display: block !important;
}

body.post-roommate-page #roommateForm input.invalid-field,
body.post-roommate-page #roommateForm select.invalid-field,
body.post-roommate-page #roommateForm textarea.invalid-field {
  border-color: #ff4d4d !important;
  box-shadow: 0 0 0 1px rgba(255,77,77,.14) !important;
}

/* Preserve the full-row fields after JS adds validation wrappers. */
body.post-roommate-page #roommateForm .title-input-wrap.roommate-validation-field,
body.post-roommate-page #roommateForm .roommate-validation-field:has(#description) {
  grid-column: 1 / -1 !important;
}

/* Keep the custom date placeholder inside its existing date wrapper. */
body.post-roommate-page #roommateForm .custom-date-wrap.roommate-validation-field {
  position: relative;
}

/* Error message must flow below the date control, not over the placeholder. */
body.post-roommate-page #roommateForm .custom-date-wrap.roommate-validation-field .roommate-field-error {
  position: static !important;
}

@media screen and (max-width: 850px) {
  body.post-roommate-page #roommateForm .roommate-field-error {
    margin: 4px 0 3px 2px !important;
    font-size: 0.74rem !important;
  }
}


/* =========================================================
   POST ROOMMATE — HIDE LEGACY/DUPLICATE VALIDATION
   The only visible inline error on this page is
   .roommate-field-error created by post_roommate.js.
   ========================================================= */
body.post-roommate-page #roommateForm .validation-message,
body.post-roommate-page #roommateForm .error-message {
  display: none !important;
}

/* =========================================================
   POST NANNY — SINGLE INLINE FIELD VALIDATION
   Desktop + mobile
   ========================================================= */
body.post-nanny-page #nannyForm .nanny-validation-field {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-self: start;
}

body.post-nanny-page #nannyForm .nanny-validation-field > input,
body.post-nanny-page #nannyForm .nanny-validation-field > select,
body.post-nanny-page #nannyForm .nanny-validation-field > textarea {
  width: 100% !important;
}

body.post-nanny-page #nannyForm .nanny-field-error {
  display: none !important;
  width: 100% !important;
  margin: 4px 0 2px 3px !important;
  padding: 0 !important;
  color: #ff4d4d !important;
  font-size: 0.76rem !important;
  font-weight: 300 !important;
  line-height: 1.2 !important;
  text-align: left !important;
  white-space: normal !important;
  position: static !important;
}

body.post-nanny-page #nannyForm .nanny-field-error.show {
  display: block !important;
}

body.post-nanny-page #nannyForm input.invalid-field,
body.post-nanny-page #nannyForm select.invalid-field,
body.post-nanny-page #nannyForm textarea.invalid-field {
  border-color: #ff4d4d !important;
  box-shadow: 0 0 0 1px rgba(255,77,77,.14) !important;
}

/* Preserve the profile-title full-row layout. */
body.post-nanny-page #nannyForm .title-input-wrap.nanny-validation-field {
  grid-column: 1 / -1 !important;
}

/* Keep each location/control wrapper inside its existing grid cell. */
body.post-nanny-page #nannyForm .nanny-location-row > .nanny-validation-field,
body.post-nanny-page #nannyForm .nanny-care-row > .nanny-validation-field,
body.post-nanny-page #nannyForm .grid-2 > .nanny-validation-field {
  min-width: 0 !important;
}

/* Hide any older/general validation messages on Post Nanny. */
body.post-nanny-page #nannyForm .validation-message,
body.post-nanny-page #nannyForm .error-message {
  display: none !important;
}

@media screen and (max-width: 850px) {
  body.post-nanny-page #nannyForm .nanny-field-error {
    margin: 4px 0 3px 2px !important;
    font-size: 0.74rem !important;
  }
}


/* =========================================================
   POST NANNY — VALIDATION WRAPPER SIZE CORRECTION
   Preserve the original compact field sizes after adding
   inline validation wrappers.
   ========================================================= */

@media screen and (min-width: 821px) {

  /* Country / State / City */
  body.post-nanny-page #nannyForm .nanny-location-row > .nanny-validation-field {
    flex: 0 0 230px !important;
    width: 230px !important;
    max-width: 230px !important;
    min-width: 230px !important;
  }

  body.post-nanny-page #nannyForm .nanny-location-row > .nanny-validation-field > select {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  /* Experience */
  body.post-nanny-page #nannyForm .nanny-care-row > .nanny-validation-field:has(input[name="yearsExperience"]) {
    flex: 0 0 165px !important;
    width: 165px !important;
    max-width: 165px !important;
    min-width: 165px !important;
  }

  /* Rate */
  body.post-nanny-page #nannyForm .nanny-care-row > .nanny-validation-field:has(input[name="hourlyRate"]) {
    flex: 0 0 175px !important;
    width: 175px !important;
    max-width: 175px !important;
    min-width: 175px !important;
  }

  body.post-nanny-page #nannyForm .nanny-care-row > .nanny-validation-field > input {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 36px !important;
    min-height: 36px !important;
  }

  /* Contact row */
  body.post-nanny-page #nannyForm .grid-2:has(#contactName) {
    grid-template-columns: 200px 200px 180px !important;
    gap: 10px !important;
    align-items: start !important;
  }

  body.post-nanny-page #nannyForm .grid-2:has(#contactName)
  > .nanny-validation-field:has(#contactName) {
    width: 200px !important;
    max-width: 200px !important;
    min-width: 200px !important;
  }

  body.post-nanny-page #nannyForm .grid-2:has(#contactName)
  > .nanny-validation-field:has(#contactEmail) {
    width: 200px !important;
    max-width: 200px !important;
    min-width: 200px !important;
  }

  body.post-nanny-page #nannyForm .grid-2:has(#contactName)
  > .nanny-validation-field:has(input[name="contactPhone"]) {
    width: 180px !important;
    max-width: 180px !important;
    min-width: 180px !important;
  }

  body.post-nanny-page #nannyForm .grid-2:has(#contactName)
  > .nanny-validation-field > input {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 36px !important;
    min-height: 36px !important;
  }

  /* Bio stays at the original intended width */
  body.post-nanny-page #nannyForm .nanny-validation-field:has(textarea[name="bio"]) {
    width: 714px !important;
    max-width: 714px !important;
  }

  body.post-nanny-page #nannyForm .nanny-validation-field:has(textarea[name="bio"])
  > textarea[name="bio"] {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media screen and (max-width: 820px) {
  body.post-nanny-page #nannyForm .nanny-validation-field,
  body.post-nanny-page #nannyForm .nanny-location-row > .nanny-validation-field,
  body.post-nanny-page #nannyForm .nanny-care-row > .nanny-validation-field,
  body.post-nanny-page #nannyForm .grid-2:has(#contactName) > .nanny-validation-field,
  body.post-nanny-page #nannyForm .nanny-validation-field:has(textarea[name="bio"]) {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 100% !important;
  }

  body.post-nanny-page #nannyForm .nanny-validation-field > input,
  body.post-nanny-page #nannyForm .nanny-validation-field > select,
  body.post-nanny-page #nannyForm .nanny-validation-field > textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.post-nanny-page #nannyForm .grid-2:has(#contactName) {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
   POST NANNY — FINAL WRAPPED INPUT HEIGHT FIX
   Older desktop rules used flex-basis on the INPUT itself.
   After validation wrapping, that flex-basis becomes vertical
   height inside the wrapper. Reset it here.
   ========================================================= */

@media screen and (min-width: 821px) {

  body.post-nanny-page #nannyForm
  .nanny-care-row > .nanny-validation-field > input[name="yearsExperience"],

  body.post-nanny-page #nannyForm
  .nanny-care-row > .nanny-validation-field > input[name="hourlyRate"],

  body.post-nanny-page #nannyForm
  .grid-2:has(#contactName) > .nanny-validation-field > input[name="contactPhone"] {

    flex: 0 0 auto !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
  }

  body.post-nanny-page #nannyForm
  .grid-2:has(#contactName) > .nanny-validation-field > #contactName,

  body.post-nanny-page #nannyForm
  .grid-2:has(#contactName) > .nanny-validation-field > #contactEmail {

    flex: 0 0 auto !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
  }
}

@media screen and (max-width: 820px) {

  body.post-nanny-page #nannyForm
  .nanny-validation-field > input {

    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
}


/* =========================================================
   POST NANNY — MOBILE CONTACT FIELD FINAL FIX
   Prevent validation wrappers from stretching vertically.
   ========================================================= */
@media screen and (max-width: 820px) {

  body.post-nanny-page #nannyForm
  .grid-2:has(#contactName) > .nanny-validation-field {
    display: flex !important;
    flex-direction: column !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    align-self: auto !important;
  }

  body.post-nanny-page #nannyForm
  .grid-2:has(#contactName) > .nanny-validation-field > #contactName,

  body.post-nanny-page #nannyForm
  .grid-2:has(#contactName) > .nanny-validation-field > #contactEmail,

  body.post-nanny-page #nannyForm
  .grid-2:has(#contactName) > .nanny-validation-field > input[name="contactPhone"] {
    display: block !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  body.post-nanny-page #nannyForm
  .grid-2:has(#contactName) {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    align-items: start !important;
  }
}


/* =========================================================
   POST SERVICE — SINGLE INLINE FIELD VALIDATION
   Desktop + mobile
   ========================================================= */

body.post-service-page #serviceForm .service-validation-field {
  width: 100% !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-self: start !important;
}

body.post-service-page #serviceForm .service-validation-field > input,
body.post-service-page #serviceForm .service-validation-field > select,
body.post-service-page #serviceForm .service-validation-field > textarea {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  flex: 0 0 auto !important;
}

body.post-service-page #serviceForm .service-validation-full {
  grid-column: 1 / -1 !important;
}

body.post-service-page #serviceForm .service-validation-full > textarea {
  width: 100% !important;
}

body.post-service-page #serviceForm .service-field-error {
  display: none !important;
  width: 100% !important;
  margin: 4px 0 2px 3px !important;
  padding: 0 !important;
  color: #ff4d4d !important;
  font-size: 0.76rem !important;
  font-weight: 300 !important;
  line-height: 1.2 !important;
  text-align: left !important;
  white-space: normal !important;
  position: static !important;
}

body.post-service-page #serviceForm .service-field-error.show {
  display: block !important;
}

body.post-service-page #serviceForm input.invalid-field,
body.post-service-page #serviceForm select.invalid-field,
body.post-service-page #serviceForm textarea.invalid-field {
  border-color: #ff4d4d !important;
  box-shadow: 0 0 0 1px rgba(255,77,77,.14) !important;
}

/* Hide older site-wide validation messages on Post Service.
   .service-field-error remains the only visible validator. */
body.post-service-page #serviceForm .validation-message,
body.post-service-page #serviceForm .error-message {
  display: none !important;
}

@media screen and (max-width: 850px) {
  body.post-service-page #serviceForm .service-validation-field,
  body.post-service-page #serviceForm .service-validation-full {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.post-service-page #serviceForm .service-field-error {
    margin: 4px 0 3px 2px !important;
    font-size: 0.74rem !important;
  }
}


/* =========================================================
   EDIT ROOMMATE — SINGLE INLINE FIELD VALIDATION
   Desktop + mobile
   ========================================================= */

body.edit-roommate-page #editRoommateForm .edit-roommate-field-error {
  display: none !important;
  width: 100% !important;
  margin: 4px 0 1px 2px !important;
  padding: 0 !important;
  color: #ff4d4d !important;
  font-size: 0.76rem !important;
  font-weight: 300 !important;
  line-height: 1.2 !important;
  text-align: left !important;
  white-space: normal !important;
  position: static !important;
}

body.edit-roommate-page #editRoommateForm .edit-roommate-field-error.show {
  display: block !important;
}

body.edit-roommate-page #editRoommateForm input.invalid-field,
body.edit-roommate-page #editRoommateForm select.invalid-field,
body.edit-roommate-page #editRoommateForm textarea.invalid-field {
  border-color: #ff4d4d !important;
  box-shadow: 0 0 0 1px rgba(255,77,77,.14) !important;
}

/* Hide older site-wide validation messages on this page.
   .edit-roommate-field-error is the only visible field validator. */
body.edit-roommate-page #editRoommateForm .validation-message,
body.edit-roommate-page #editRoommateForm .error-message {
  display: none !important;
}

@media screen and (max-width: 850px) {
  body.edit-roommate-page #editRoommateForm .edit-roommate-field-error {
    margin: 4px 0 2px 2px !important;
    font-size: 0.74rem !important;
  }
}


/* =========================================================
   EDIT NANNY — FINAL CONTACT ROW / PILLS / INLINE VALIDATION
   Authoritative override
   ========================================================= */

/* Inline validation */
body.edit-nanny-page #editNannyForm .edit-nanny-field-error {
  display: none !important;
  width: 100% !important;
  margin: 4px 0 1px 2px !important;
  padding: 0 !important;
  color: #ff4d4d !important;
  font-size: 0.76rem !important;
  font-weight: 300 !important;
  line-height: 1.2 !important;
  text-align: left !important;
  white-space: normal !important;
  position: static !important;
}

body.edit-nanny-page #editNannyForm .edit-nanny-field-error.show {
  display: block !important;
}

body.edit-nanny-page #editNannyForm input.invalid-field,
body.edit-nanny-page #editNannyForm select.invalid-field,
body.edit-nanny-page #editNannyForm textarea.invalid-field {
  border-color: #ff4d4d !important;
  box-shadow: 0 0 0 1px rgba(255,77,77,.14) !important;
}

body.edit-nanny-page #editNannyForm .validation-message,
body.edit-nanny-page #editNannyForm .error-message {
  display: none !important;
}


/* =========================
   DESKTOP
   ========================= */

@media screen and (min-width: 851px) {

  /* Compact option pills */
  body.edit-nanny-page #editNannyForm .edit-nanny-checks {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 5px !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 12px 0 18px 0 !important;
    padding: 0 !important;
  }

  body.edit-nanny-page #editNannyForm .edit-nanny-checks .tag {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;

    height: 28px !important;
    min-height: 28px !important;

    margin: 0 !important;
    padding: 3px 7px !important;

    gap: 4px !important;

    font-size: 0.70rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    border-radius: 8px !important;
  }

  body.edit-nanny-page #editNannyForm
  .edit-nanny-checks .tag input[type="checkbox"] {
    flex: 0 0 12px !important;
    width: 12px !important;
    min-width: 12px !important;
    max-width: 12px !important;
    height: 12px !important;
    min-height: 12px !important;
    max-height: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
  }


  /* Contact row — exact compact widths */
  body.edit-nanny-page #editNannyForm .edit-nanny-contact-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;

    gap: 12px !important;

    width: 684px !important;
    max-width: 684px !important;
    min-width: 684px !important;

    height: auto !important;
    min-height: 0 !important;

    margin: 0 0 34px 0 !important;
    padding: 0 !important;

    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
  }

  /* Reset ALL three wrappers first */
  body.edit-nanny-page #editNannyForm
  .edit-nanny-contact-row > .edit-field {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;

    flex: 0 0 auto !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    position: relative !important;
    inset: auto !important;
    transform: none !important;

    overflow: visible !important;
  }

  /* Full Name */
  body.edit-nanny-page #editNannyForm
  .edit-nanny-contact-row > .edit-field:has(#nannyContactName) {
    width: 210px !important;
    min-width: 210px !important;
    max-width: 210px !important;
  }

  /* Email */
  body.edit-nanny-page #editNannyForm
  .edit-nanny-contact-row > .edit-field:has(#nannyContactEmail) {
    width: 250px !important;
    min-width: 250px !important;
    max-width: 250px !important;
  }

  /* Phone */
  body.edit-nanny-page #editNannyForm
  .edit-nanny-contact-row > .edit-field:has(#nannyContactPhone) {
    width: 200px !important;
    min-width: 200px !important;
    max-width: 200px !important;
  }

  /* Labels */
  body.edit-nanny-page #editNannyForm
  .edit-nanny-contact-row > .edit-field > label {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 0 6px 2px !important;
    padding: 0 !important;
    position: static !important;
    transform: none !important;
  }

  /* Inputs — override every older 220/280px rule */
  body.edit-nanny-page #editNannyForm #nannyContactName,
  body.edit-nanny-page #editNannyForm #nannyContactEmail,
  body.edit-nanny-page #editNannyForm #nannyContactPhone {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;

    margin: 0 !important;
    padding: 6px 10px !important;

    position: static !important;
    inset: auto !important;
    transform: none !important;

    flex: none !important;
    box-sizing: border-box !important;
  }

  /* Keep Current Photos clearly below the contact row */
  body.edit-nanny-page #editNannyForm .current-media-panel {
    display: block !important;
    clear: both !important;
    position: relative !important;
    z-index: 1 !important;
    margin-top: 0 !important;
  }
}


/* =========================
   MOBILE / TABLET
   ========================= */

@media screen and (max-width: 850px) {

  body.edit-nanny-page #editNannyForm .edit-nanny-contact-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    height: auto !important;
    margin: 14px 0 24px 0 !important;
  }

  body.edit-nanny-page #editNannyForm
  .edit-nanny-contact-row > .edit-field,
  body.edit-nanny-page #editNannyForm
  .edit-nanny-contact-row > .edit-field:has(#nannyContactName),
  body.edit-nanny-page #editNannyForm
  .edit-nanny-contact-row > .edit-field:has(#nannyContactEmail),
  body.edit-nanny-page #editNannyForm
  .edit-nanny-contact-row > .edit-field:has(#nannyContactPhone) {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
  }

  body.edit-nanny-page #editNannyForm #nannyContactName,
  body.edit-nanny-page #editNannyForm #nannyContactEmail,
  body.edit-nanny-page #editNannyForm #nannyContactPhone {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 38px !important;
    min-height: 38px !important;
  }

  body.edit-nanny-page #editNannyForm .edit-nanny-checks {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    width: 100% !important;
  }

  body.edit-nanny-page #editNannyForm .edit-nanny-checks .tag {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 28px !important;
    padding: 3px 7px !important;
    gap: 4px !important;
    font-size: 0.70rem !important;
  }

  body.edit-nanny-page #editNannyForm
  .edit-nanny-checks .tag input[type="checkbox"] {
    width: 12px !important;
    min-width: 12px !important;
    height: 12px !important;
    min-height: 12px !important;
  }

  body.edit-nanny-page #editNannyForm .edit-nanny-field-error {
    margin: 4px 0 2px 2px !important;
    font-size: 0.74rem !important;
  }
}


/* =========================================================
   EDIT SERVICE — INLINE VALIDATION
   ========================================================= */

body.edit-service-page #editServiceForm .edit-service-field-error {
  display: none !important;
  width: 100% !important;
  margin: 4px 0 0 2px !important;
  padding: 0 !important;

  color: #ff4d4d !important;
  font-size: 0.76rem !important;
  font-weight: 300 !important;
  line-height: 1.2 !important;

  text-align: left !important;
  white-space: normal !important;
  position: static !important;
}

body.edit-service-page #editServiceForm .edit-service-field-error.show {
  display: block !important;
}

body.edit-service-page #editServiceForm input.invalid-field,
body.edit-service-page #editServiceForm select.invalid-field,
body.edit-service-page #editServiceForm textarea.invalid-field {
  border-color: #ff4d4d !important;
  box-shadow: 0 0 0 1px rgba(255, 77, 77, 0.14) !important;
}

@media screen and (max-width: 850px) {
  body.edit-service-page #editServiceForm .edit-service-field-error {
    margin-top: 4px !important;
    font-size: 0.74rem !important;
  }
}


/* Never put the red border on the wrapper itself. */
body.contact-page-body #contactForm .contact-input-wrap {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

body.contact-page-body #contactForm .contact-message-group {
  width: 100% !important;
  max-width: 100% !important;
}

body.contact-page-body #contactForm .contact-message-group .contact-field-label,
body.contact-page-body #contactForm .contact-message-group .contact-textarea-wrap,
body.contact-page-body #contactForm .contact-message-group .contact-field-error {
  width: 100% !important;
  max-width: 100% !important;
}

@media screen and (max-width: 850px) {
  body.contact-page-body #contactForm .contact-field-group {
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* =========================================================
   CONTACT — SINGLE VALIDATION SYSTEM
   Keep original Contact layout. Only .contact-field-error is visible.
   ========================================================= */

/* Hide any older/global validation nodes that may be injected beside controls. */
body.contact-page-body #contactForm .field-error,
body.contact-page-body #contactForm .validation-message,
body.contact-page-body #contactForm .error-message {
  display: none !important;
}

/* Preserve each existing field block and its original width/layout. */
body.contact-page-body #contactForm .contact-field-group {
  display: block !important;
  position: relative !important;
  float: none !important;
}

/* Keep the existing input/select/textarea wrappers untouched horizontally. */
body.contact-page-body #contactForm .contact-input-wrap,
body.contact-page-body #contactForm .contact-textarea-wrap {
  position: relative !important;
  float: none !important;
}

/* Our one authoritative Contact error: always below its field. */
body.contact-page-body #contactForm .contact-field-error {
  display: none !important;
  position: static !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 4px 0 0 4px !important;
  padding: 0 !important;
  color: #ff4d4d !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.25 !important;
  text-align: left !important;
  white-space: normal !important;
  transform: none !important;
  inset: auto !important;
}

body.contact-page-body #contactForm .contact-field-error.show {
  display: block !important;
}

/* Red outline only on the actual invalid control. */
body.contact-page-body #contactForm input.invalid-field,
body.contact-page-body #contactForm select.invalid-field,
body.contact-page-body #contactForm textarea.invalid-field {
  border-color: #ff4d4d !important;
  box-shadow: 0 0 0 1px rgba(255,77,77,.12) !important;
}

/* Do not put validation borders on wrappers. */
body.contact-page-body #contactForm .contact-input-wrap,
body.contact-page-body #contactForm .contact-textarea-wrap {
  outline: none !important;
}

/* Message keeps its existing full-width layout. */
body.contact-page-body #contactForm .contact-message-group,
body.contact-page-body #contactForm .contact-message-group .contact-textarea-wrap,
body.contact-page-body #contactForm .contact-message-group .contact-field-error {
  width: 100% !important;
  max-width: 100% !important;
}


/* =========================================================
   TERMS OF USE — LISTING-PAGE STYLE
   2026-09-10
   Header sits directly on background; one glass content card.
   ========================================================= */

/* Match listing-page content width and spacing */
body.terms-page-body .terms-page-shell {
    padding: 0 0 42px !important;
    background: transparent !important;
}

/* Outer wrapper is ONLY layout now — no visible card */
body.terms-page-body .terms-document-card.terms-big-container {
    width: min(1480px, 97%) !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 0 !important;

    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;

    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    color: #ffffff !important;
    text-shadow: none !important;
}

/* Header: same open treatment as Roommate/Nanny/Service listing heroes */
body.terms-page-body .terms-doc-header {
    width: 100% !important;
    max-width: 760px !important;

    margin: 0 !important;
    padding: 0 0 18px !important;

    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;

    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    text-shadow: none !important;
}

/* Remove old legal-information badge completely */
body.terms-page-body .terms-kicker {
    display: none !important;
}

/* Same family of heading treatment as listing pages */
body.terms-page-body .terms-doc-header h1 {
    margin: 0 0 9px !important;
    padding: 0 !important;

    color: #ffffff !important;

    font-size: clamp(2rem, 4vw, 3.25rem) !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em !important;

    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.30) !important;
}

/* Effective date behaves like listing subtitle */
body.terms-page-body .terms-effective {
    margin: 0 !important;
    padding: 0 !important;

    color: #e2e8f0 !important;

    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;

    text-shadow: 0 2px 8px rgba(0,0,0,.26) !important;
}

body.terms-page-body .terms-effective strong {
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* ONE main glass container for the legal document body */
body.terms-page-body .terms-doc-body {
    width: 100% !important;
    margin: 10px 0 0 !important;
    padding: 32px 38px 36px !important;

    background: rgba(71, 85, 105, 0.76) !important;
    background-image: none !important;

    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 24px !important;

    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.18),
        0 8px 22px rgba(15, 23, 42, 0.10) !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    color: #e2e8f0 !important;
    text-shadow: none !important;
}

/* Readable legal copy */
body.terms-page-body .terms-doc-body,
body.terms-page-body .terms-doc-body p,
body.terms-page-body .terms-doc-body li {
    color: #e2e8f0 !important;
    font-size: 0.96rem !important;
    font-weight: 400 !important;
    line-height: 1.68 !important;
    text-shadow: none !important;
}

body.terms-page-body .terms-doc-body > p {
    max-width: none !important;
    margin: 0 0 16px !important;
}

/* Clean section separators, no inner cards */
body.terms-page-body .terms-section {
    position: relative !important;
    margin: 0 !important;
    padding: 22px 0 !important;

    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;

    border: 0 !important;
    border-top: 1px solid rgba(255,255,255,.16) !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    text-shadow: none !important;
}

body.terms-page-body .terms-section:first-of-type {
    margin-top: 8px !important;
    border-top: 1px solid rgba(255,255,255,.16) !important;
}

body.terms-page-body .terms-section h2 {
    display: block !important;
    margin: 0 0 10px !important;

    color: #ffffff !important;

    font-size: 1.12rem !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;

    text-shadow: none !important;
}

/* Remove old blue vertical accent */
body.terms-page-body .terms-section h2::before {
    display: none !important;
    content: none !important;
}

body.terms-page-body .terms-section p {
    margin: 0 0 9px !important;
}

body.terms-page-body .terms-section ul {
    margin: 8px 0 12px 20px !important;
    padding-left: 16px !important;
}

body.terms-page-body .terms-section li {
    margin-bottom: 5px !important;
    padding-left: 3px !important;
}

body.terms-page-body .terms-section li::marker {
    color: #cbd5e1 !important;
}

/* Remove extra gap before the one remaining global footer */
body.terms-page-body footer {
    margin-top: 0 !important;
}

/* Mobile */
@media screen and (max-width: 600px) {
    body.terms-page-body .terms-page-shell {
        padding-bottom: 28px !important;
    }

    body.terms-page-body .terms-document-card.terms-big-container {
        width: min(1480px, 97%) !important;
    }

    body.terms-page-body .terms-doc-header {
        padding: 0 0 15px !important;
    }

    body.terms-page-body .terms-doc-header h1 {
        font-size: 2rem !important;
    }

    body.terms-page-body .terms-effective {
        font-size: 0.95rem !important;
    }

    body.terms-page-body .terms-doc-body {
        margin-top: 6px !important;
        padding: 24px 18px 28px !important;
        border-radius: 18px !important;
    }

    body.terms-page-body .terms-doc-body,
    body.terms-page-body .terms-doc-body p,
    body.terms-page-body .terms-doc-body li {
        font-size: 0.92rem !important;
    }

    body.terms-page-body .terms-section {
        padding: 18px 0 !important;
    }

    body.terms-page-body .terms-section h2 {
        font-size: 1.02rem !important;
    }
}


/* =========================================================
   PRIVACY POLICY — LISTING-PAGE STYLE
   2026-09-10
   Header sits directly on background; one glass content card.
   ========================================================= */

body.privacy-page-body .privacy-page-shell {
    padding: 0 0 42px !important;
    background: transparent !important;
}

body.privacy-page-body .privacy-document-card.privacy-big-container {
    width: min(1480px, 97%) !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 0 !important;

    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;

    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    color: #ffffff !important;
    text-shadow: none !important;
}

body.privacy-page-body .privacy-doc-header {
    width: 100% !important;
    max-width: 760px !important;

    margin: 0 !important;
    padding: 0 0 18px !important;

    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;

    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    text-shadow: none !important;
}

body.privacy-page-body .privacy-kicker {
    display: none !important;
}

body.privacy-page-body .privacy-doc-header h1 {
    margin: 0 0 9px !important;
    padding: 0 !important;

    color: #ffffff !important;

    font-size: clamp(2rem, 4vw, 3.25rem) !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em !important;

    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.30) !important;
}

body.privacy-page-body .privacy-effective {
    margin: 0 !important;
    padding: 0 !important;

    color: #e2e8f0 !important;

    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;

    text-shadow: 0 2px 8px rgba(0,0,0,.26) !important;
}

body.privacy-page-body .privacy-effective strong {
    color: #ffffff !important;
    font-weight: 600 !important;
}

body.privacy-page-body .privacy-doc-body {
    width: 100% !important;
    margin: 10px 0 0 !important;
    padding: 32px 38px 36px !important;

    background: rgba(71, 85, 105, 0.76) !important;
    background-image: none !important;

    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 24px !important;

    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.18),
        0 8px 22px rgba(15, 23, 42, 0.10) !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    color: #e2e8f0 !important;
    text-shadow: none !important;
}

body.privacy-page-body .privacy-doc-body,
body.privacy-page-body .privacy-doc-body p,
body.privacy-page-body .privacy-doc-body li {
    color: #e2e8f0 !important;
    font-size: 0.96rem !important;
    font-weight: 400 !important;
    line-height: 1.68 !important;
    text-shadow: none !important;
}

body.privacy-page-body .privacy-doc-body > p {
    max-width: none !important;
    margin: 0 0 16px !important;
}

body.privacy-page-body .privacy-section {
    position: relative !important;
    margin: 0 !important;
    padding: 22px 0 !important;

    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;

    border: 0 !important;
    border-top: 1px solid rgba(255,255,255,.16) !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    text-shadow: none !important;
}

body.privacy-page-body .privacy-section:first-of-type {
    margin-top: 8px !important;
    border-top: 1px solid rgba(255,255,255,.16) !important;
}

body.privacy-page-body .privacy-section h2 {
    display: block !important;
    margin: 0 0 10px !important;

    color: #ffffff !important;

    font-size: 1.12rem !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;

    text-shadow: none !important;
}

body.privacy-page-body .privacy-section h2::before {
    display: none !important;
    content: none !important;
}

body.privacy-page-body .privacy-section p {
    margin: 0 0 9px !important;
}

body.privacy-page-body .privacy-section ul {
    margin: 8px 0 12px 20px !important;
    padding-left: 16px !important;
}

body.privacy-page-body .privacy-section li {
    margin-bottom: 5px !important;
    padding-left: 3px !important;
}

body.privacy-page-body .privacy-section li::marker {
    color: #cbd5e1 !important;
}

body.privacy-page-body footer {
    margin-top: 0 !important;
}

@media screen and (max-width: 600px) {
    body.privacy-page-body .privacy-page-shell {
        padding-bottom: 28px !important;
    }

    body.privacy-page-body .privacy-document-card.privacy-big-container {
        width: min(1480px, 97%) !important;
    }

    body.privacy-page-body .privacy-doc-header {
        padding: 0 0 15px !important;
    }

    body.privacy-page-body .privacy-doc-header h1 {
        font-size: 2rem !important;
    }

    body.privacy-page-body .privacy-effective {
        font-size: 0.95rem !important;
    }

    body.privacy-page-body .privacy-doc-body {
        margin-top: 6px !important;
        padding: 24px 18px 28px !important;
        border-radius: 18px !important;
    }

    body.privacy-page-body .privacy-doc-body,
    body.privacy-page-body .privacy-doc-body p,
    body.privacy-page-body .privacy-doc-body li {
        font-size: 0.92rem !important;
    }

    body.privacy-page-body .privacy-section {
        padding: 18px 0 !important;
    }

    body.privacy-page-body .privacy-section h2 {
        font-size: 1.02rem !important;
    }
}





/* PRIVACY POLICY — Effective Date: text only, no pill */
body.privacy-page-body .privacy-effective {
    display: block !important;
    width: fit-content !important;

    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;

    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    padding: 0 !important;
    margin: 0 !important;

    color: #e2e8f0 !important;
}

body.privacy-page-body .privacy-effective strong {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;

    color: #ffffff !important;
}

/* =========================================================
   AUTH PAGES — LARGE / ULTRAWIDE SCREEN WIDTH FIX
   Login + Forgot Password + Reset Password
   Desktop only — mobile layout is unchanged
   ========================================================= */

@media screen and (min-width: 851px) {

  /* ---------------------------------------------------------
     SIGN IN
     --------------------------------------------------------- */
  body.auth-page-body .auth-shell.login-redesign {
    position: relative !important;
    width: min(94%, 1500px) !important;
    max-width: 1500px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.auth-page-body .login-page-hero {
    width: 54% !important;
    padding-right: 40px !important;
  }

  body.auth-page-body .login-hero-grid {
    width: 100% !important;
    max-width: 760px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    transform: none !important;
  }

  body.auth-page-body .login-hero-copy {
    width: 100% !important;
    max-width: 720px !important;
    transform: none !important;
  }

  body.auth-page-body .login-form-section {
    position: absolute !important;
    top: 30px !important;
    right: 0 !important;
    width: 43% !important;
    max-width: 620px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.auth-page-body .login-big-container {
    width: 100% !important;
    max-width: 620px !important;
    margin: 0 !important;
  }


  /* ---------------------------------------------------------
     FORGOT PASSWORD
     --------------------------------------------------------- */
  body.auth-page-body .auth-shell.forgot-redesign {
    position: relative !important;
    width: min(94%, 1500px) !important;
    max-width: 1500px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.auth-page-body .forgot-page-hero {
    width: 54% !important;
    padding-right: 40px !important;
  }

  body.auth-page-body .forgot-hero-grid {
    width: 100% !important;
    max-width: 760px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  body.auth-page-body .forgot-hero-copy {
    width: 100% !important;
    max-width: 720px !important;
  }

  body.auth-page-body .forgot-form-section {
    position: absolute !important;
    top: 15px !important;
    right: 0 !important;
    width: 43% !important;
    max-width: 620px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.auth-page-body .forgot-big-container,
  body.forgot-page-body .forgot-big-container {
    width: 100% !important;
    max-width: 620px !important;
    margin: 0 !important;
  }


  /* ---------------------------------------------------------
     RESET PASSWORD
     --------------------------------------------------------- */
  body.reset-password-page .auth-layout.auth-login-big-container {
    width: min(94%, 1500px) !important;
    max-width: 1500px !important;
    margin-left: auto !important;
    margin-right: auto !important;

    grid-template-columns:
      minmax(0, 1fr)
      minmax(430px, 620px) !important;

    gap: 70px !important;
    align-items: start !important;
  }

  body.reset-password-page .auth-welcome-panel {
    width: 100% !important;
    max-width: 760px !important;
    margin: 0 !important;
  }

  body.reset-password-page #resetPasswordForm.auth-card-pro {
    width: 100% !important;
    max-width: 620px !important;
    justify-self: end !important;
    margin: 0 !important;
  }
}

/* =========================================================
   REGISTER — LARGE / ULTRAWIDE SCREEN WIDTH FIX
   Desktop only — mobile layout is unchanged
   ========================================================= */
@media screen and (min-width: 851px) {

  body.auth-page-body .auth-shell.register-redesign {
    position: relative !important;
    width: min(94%, 1500px) !important;
    max-width: 1500px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.auth-page-body .register-page-hero {
    width: 54% !important;
    padding-right: 40px !important;
  }

  body.auth-page-body .register-hero-grid {
    width: 100% !important;
    max-width: 760px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  body.auth-page-body .register-hero-copy {
    transform: translate(0, -30px) !important;
  }

  body.auth-page-body .register-form-section {
    position: absolute !important;
    top: 20px !important;
    right: 0 !important;
    width: 43% !important;
    max-width: 620px !important;
  }

  body.auth-page-body .register-big-container {
    width: 100% !important;
    max-width: 620px !important;
    margin: 0 !important;
  }
}





/* =========================================================
   GLOBAL — KEEP FOOTER AT BOTTOM ON SHORT PAGES
   ========================================================= */

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body > main {
  flex: 1 0 auto;
}

body > footer {
  margin-top: auto;
  flex-shrink: 0;
}


/* =========================================================
   POST ROOMMATE — TRUE HEADER/LOGO LEFT ALIGNMENT
   Desktop / wide screens
   ========================================================= */
@media screen and (min-width: 851px) {

  /* Hero outer content width = same as header .container */
  body.post-roommate-page .post-roommate-hero-grid {
    width: min(1480px, 97%) !important;
    max-width: 1480px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Hero content must begin at that container's left edge */
  body.post-roommate-page .post-roommate-copy,
  body.post-roommate-page .post-page-hero-copy {
    width: 100% !important;
    max-width: 950px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    transform: none !important;
  }

  /* Tips stay directly under title */
  body.post-roommate-page .post-roommate-creative-tips,
  body.post-roommate-page .post-roommate-quick-tips {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }

  /* Form section uses the exact same left boundary */
  body.post-roommate-page
  main > section:not(.post-roommate-hero) > .container {
    width: min(1480px, 97%) !important;
    max-width: 1480px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Form itself starts at same left edge */
  body.post-roommate-page .roommate-post-card {
    margin-left: 0 !important;
    margin-right: auto !important;
  }
}

/* =========================================================
   POST NANNY — TRUE HEADER/LOGO LEFT ALIGNMENT
   Desktop / wide screens
   ========================================================= */
@media screen and (min-width: 851px) {

  /* Hero outer content width = same as header .container */
  body.post-nanny-page .post-nanny-hero-grid {
    width: min(1480px, 97%) !important;
    max-width: 1480px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Hero content starts exactly at container left edge */
  body.post-nanny-page .post-nanny-copy,
  body.post-nanny-page .post-page-hero-copy {
    width: 100% !important;
    max-width: 950px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    transform: none !important;
  }

  /* Tips stay aligned with title/subtitle */
  body.post-nanny-page .post-nanny-creative-tips,
  body.post-nanny-page .post-nanny-tips-strip {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }

  /* Form section uses same left boundary */
  body.post-nanny-page
  main > section:not(.post-nanny-hero) > .container {
    width: min(1480px, 97%) !important;
    max-width: 1480px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Form card starts at same left edge */
  body.post-nanny-page .nanny-post-card {
    margin-left: 0 !important;
    margin-right: auto !important;
  }
}


/* =========================================================
   POST SERVICE — TRUE HEADER/LOGO LEFT ALIGNMENT
   Desktop / wide screens
   ========================================================= */
@media screen and (min-width: 851px) {

  /* Hero outer content width = same as header .container */
  body.post-service-page .post-service-hero-grid {
    width: min(1480px, 97%) !important;
    max-width: 1480px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Hero content starts exactly at container left edge */
  body.post-service-page .post-service-copy,
  body.post-service-page .post-page-hero-copy {
    width: 100% !important;
    max-width: 950px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    transform: none !important;
  }

  /* Tips stay aligned with title/subtitle */
  body.post-service-page .post-service-creative-tips,
  body.post-service-page .post-service-tips-strip {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }

  /* Form section uses same left boundary */
  body.post-service-page
  main > section:not(.post-service-hero) > .container {
    width: min(1480px, 97%) !important;
    max-width: 1480px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Form card starts at same left edge */
  body.post-service-page .service-post-card {
    margin-left: 0 !important;
    margin-right: auto !important;
  }
}

/* =========================================================
   INDEX — TRUE HEADER/LOGO LEFT ALIGNMENT
   Desktop / wide screens only
   Uses the exact same 1480px cap as the site header.
   ========================================================= */
@media screen and (min-width: 851px) {

  body.index-page.full-market-home .marketplace-full-hero-inner {
    width: min(1480px, 97%) !important;
    max-width: 1480px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding-left: 0 !important;
    padding-right: 0 !important;

    box-sizing: border-box !important;
  }

  /* Hero copy starts directly on the shared container edge */
  body.index-page.full-market-home .marketplace-hero-copy {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
  }

  /* All homepage blocks remain on the same alignment axis */
  body.index-page.full-market-home .marketplace-stats,
  body.index-page.full-market-home .marketplace-featured-wrap,
  body.index-page.full-market-home .marketplace-home-latest-inner {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}


/* =========================================================
   ADMIN — DEMO MODE CONTROL
   ========================================================= */
body.admin-page .admin-demo-mode-btn.is-on {
  background: #ffffff !important;
  color: #166534 !important;
  border-color: #86efac !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .12) !important;
}

body.admin-page .admin-demo-mode-btn:disabled {
  opacity: .65;
  cursor: wait;
}

body.admin-page .admin-demo-mode-status {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: #e2e8f0;
  font-size: .78rem;
  font-weight: 400;
  line-height: 1.35;
  max-width: 330px;
}

@media screen and (max-width: 850px) {
  body.admin-page .admin-demo-mode-status {
    flex-basis: 100%;
    max-width: 100%;
    min-height: 0;
  }
}



/* =========================================================
   FINAL FOOTER SOCIAL SIZE
   ========================================================= */

body footer .footer-social a {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    max-width: 30px !important;
    max-height: 30px !important;

    flex: 0 0 42px !important;

    padding: 0 !important;
    margin: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 50% !important;
    box-sizing: border-box !important;
}

body footer .footer-social a i {
    width: auto !important;
    height: auto !important;
    font-size: 16px !important;
    padding: 0 !important;
    margin: 0 !important;
}

body footer .footer-social {
    gap: 10px !important;
}







/* =========================================================
   MINALESH FOOTER — SOCIAL MEDIA BRAND COLORS
   ========================================================= */

/* Facebook */
.footer-social a:nth-child(1) {
  background: #1877F2 !important;
  border-color: #1877F2 !important;
  color: #ffffff !important;
}

/* Instagram */
.footer-social a:nth-child(2) {
  background: linear-gradient(
    135deg,
    #833AB4 0%,
    #C13584 35%,
    #E1306C 55%,
    #F77737 75%,
    #FCAF45 100%
  ) !important;
  border-color: #C13584 !important;
  color: #ffffff !important;
}

/* X */
.footer-social a:nth-child(3) {
  background: #000000 !important;
  border-color: #444444 !important;
  color: #ffffff !important;
}

/* LinkedIn */
.footer-social a:nth-child(4) {
  background: #0A66C2 !important;
  border-color: #0A66C2 !important;
  color: #ffffff !important;
}

/* Make sure Font Awesome icons stay white */
.footer-social a i {
  color: #ffffff !important;
}

/* Hover effect */
.footer-social a:hover {
  transform: translateY(-3px);
  filter: brightness(1.12);
}
/* POST ITEM */
body.post-item-page #itemForm textarea[name="description"]{width:100%;}
body.post-item-page #itemForm .service-validation-field{min-width:0;}


/* =========================================================
   MY LISTINGS — FOR SALE MODULE
   Added with ItemListing support.
   ========================================================= */
body.my-listings-page .my-listings-category-item .my-listings-category-icon {
  color: #2563eb;
}

body.my-listings-page .my-listings-type-filters label:has(input[value="item"]) i {
  color: #60a5fa;
}


/* =========================================================
   EDIT ITEM — MATCH EDIT ROOMMATE HERO
   ========================================================= */
.edit-item-main .edit-item-hero .post-roommate-copy {
  max-width: 950px;
}
.edit-item-main .edit-item-hero .post-page-hero-subtitle {
  max-width: 760px;
}
.edit-item-main .edit-item-hero .post-roommate-creative-tips {
  max-width: 900px;
}
@media screen and (max-width: 850px) {
  .edit-item-main .edit-item-hero .post-roommate-copy {
    max-width: 100%;
  }
}


/* =========================================================
   EDIT ITEM — MATCH EDIT SERVICE VISUAL SYSTEM
   ========================================================= */
body.edit-service-page .edit-item-form-section {
  position: relative;
}
body.edit-service-page .edit-item-card #editItemForm > h3 {
  margin-top: 18px;
  margin-bottom: 10px;
}
body.edit-service-page .edit-item-card #editItemForm .grid-2,
body.edit-service-page .edit-item-card #editItemForm .grid-3 {
  gap: 12px !important;
}
body.edit-service-page .edit-item-card #editItemForm .checkbox-inline {
  min-height: 48px;
  align-items: center;
}
@media (max-width: 700px) {
  body.edit-service-page .edit-item-card #editItemForm .grid-2,
  body.edit-service-page .edit-item-card #editItemForm .grid-3 {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
   EDIT ITEM — PRICE NEGOTIABLE LABEL VISIBILITY
   edit_item.html uses body.edit-service-page, so target the
   unique Edit Item form/card rather than body.edit-item-page.
   ========================================================= */
.edit-item-card #editItemForm label.checkbox-inline {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  color: #ffffff !important;
  opacity: 1 !important;
  font-weight: 400 !important;
  padding-left: 0 !important;
}

.edit-item-card #editItemForm label.checkbox-inline span {
  color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-weight: 400 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.28);
}

.edit-item-card #editItemForm label.checkbox-inline input[type="checkbox"] {
  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  flex: 0 0 17px !important;
  margin: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  accent-color: #2563eb;
}


/* =========================================================
   POST JOB - EXPIRATION DATE PLACEHOLDER
   Match Post Roommate date behavior while keeping native picker
   ========================================================= */
body.post-job-page .custom-date-wrap {
    position: relative !important;
}

/* Hide browser mm/dd/yyyy while the field is empty */
body.post-job-page
.custom-date-wrap
input[type="date"]::-webkit-datetime-edit {
    color: transparent !important;
}

/* Show the real selected date while focused */
body.post-job-page
.custom-date-wrap
input[type="date"]:focus::-webkit-datetime-edit {
    color: #f8fafc !important;
}

/* Show the real selected date after a date has been chosen */
body.post-job-page
.custom-date-wrap
input[type="date"]:valid::-webkit-datetime-edit {
    color: #f8fafc !important;
}

/* Custom field name shown before a date is selected */
body.post-job-page .custom-date-placeholder {
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: rgba(226,232,240,.70) !important;
    font-size: inherit !important;
    font-weight: 400 !important;
    pointer-events: none !important;
    transition: opacity .15s ease !important;
    z-index: 3 !important;
}

/* Hide custom field name while choosing a date */
body.post-job-page
.custom-date-wrap:focus-within
.custom-date-placeholder {
    opacity: 0 !important;
}

/* Hide custom field name once a date exists */
body.post-job-page
.custom-date-wrap
input[type="date"]:valid + .custom-date-placeholder {
    opacity: 0 !important;
}


/* =========================================================
   MY LISTINGS — EXPIRED JOB STATUS
   ========================================================= */
.status-pill.expired {
  background: #fff3cd;
  color: #7a5200;
  border: 1px solid #e5c66b;
}

/* =========================================================
   JOB LISTINGS — FINAL FILTER LAYOUT
   Desktop:
   Row 1: Category | Employment Type | Workplace Type | Country | State
   Row 2: City | Keyword
   Scoped only to Job Listings.
   ========================================================= */

body.job-listings-page .service-filter-grid {
  display: grid !important;
  grid-template-columns:
    180px
    180px
    180px
    180px
    180px !important;
  column-gap: 12px !important;
  row-gap: 28px !important;
  justify-content: start !important;
  align-items: end !important;
}

body.job-listings-page .service-filter-grid > .filter-field {
  width: 180px !important;
  max-width: 180px !important;
  min-width: 0 !important;
}

/* City — first field on row 2 */
body.job-listings-page .service-filter-grid > .filter-field:nth-child(6) {
  grid-column: 1 !important;
  width: 180px !important;
  max-width: 180px !important;
  min-width: 0 !important;
}

/* Keyword — directly beside City */
body.job-listings-page .service-filter-grid > .service-keyword-field {
  grid-column: 2 / span 2 !important;
  width: 260px !important;
  max-width: 260px !important;
  min-width: 0 !important;
  margin: 0 !important;
}

body.job-listings-page .service-filter-grid > .filter-field:nth-child(6) select,
body.job-listings-page .service-filter-grid > .service-keyword-field input {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

/* Tablet / smaller desktop */
@media screen and (max-width: 1050px) {
  body.job-listings-page .service-filter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px 12px !important;
  }

  body.job-listings-page .service-filter-grid > .filter-field,
  body.job-listings-page .service-filter-grid > .filter-field:nth-child(6),
  body.job-listings-page .service-filter-grid > .service-keyword-field {
    grid-column: auto !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }
}

/* Mobile */
@media screen and (max-width: 700px) {
  body.job-listings-page .service-filter-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 16px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  body.job-listings-page .service-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 12px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.job-listings-page .service-filter-grid > .filter-field,
  body.job-listings-page .service-filter-grid > .filter-field:nth-child(6),
  body.job-listings-page .service-filter-grid > .service-keyword-field {
    grid-column: auto !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  body.job-listings-page .service-filter-grid input,
  body.job-listings-page .service-filter-grid select {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
}

/* Small phones — one full-width filter per row */
@media screen and (max-width: 430px) {
  body.job-listings-page .service-filter-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    column-gap: 0 !important;
    row-gap: 14px !important;
  }

  body.job-listings-page .service-filter-grid > .filter-field,
  body.job-listings-page .service-filter-grid > .filter-field:nth-child(6),
  body.job-listings-page .service-filter-grid > .service-keyword-field {
    grid-column: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.job-listings-page .service-filter-actions {
    width: 100% !important;
    margin-top: 16px !important;
    justify-content: stretch !important;
  }

  body.job-listings-page .service-filter-actions .btn {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* =========================================================
   JOB LISTINGS — WIDE SEARCH CARD + ONE-ROW DESKTOP FILTERS
   Desktop/wide:
   Category | Employment Type | Workplace Type | Country |
   State | City | Keyword
   Search card aligns with Available Jobs container.
   ========================================================= */

body.job-listings-page .service-filter-card {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

/* Full desktop / wide screen */
@media screen and (min-width: 1251px) {
  body.job-listings-page .service-filter-grid {
    display: grid !important;
    grid-template-columns:
      repeat(6, minmax(140px, 1fr))
      minmax(220px, 1.35fr) !important;
    column-gap: 12px !important;
    row-gap: 0 !important;
    width: 100% !important;
    align-items: end !important;
  }

  body.job-listings-page .service-filter-grid > .filter-field,
  body.job-listings-page .service-filter-grid > .filter-field:nth-child(6),
  body.job-listings-page .service-filter-grid > .service-keyword-field {
    grid-column: auto !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  body.job-listings-page .service-filter-grid input,
  body.job-listings-page .service-filter-grid select {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
}

/* Medium desktop: wrap before controls become cramped */
@media screen and (min-width: 1051px) and (max-width: 1250px) {
  body.job-listings-page .service-filter-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px 12px !important;
  }

  body.job-listings-page .service-filter-grid > .filter-field,
  body.job-listings-page .service-filter-grid > .filter-field:nth-child(6),
  body.job-listings-page .service-filter-grid > .service-keyword-field {
    grid-column: auto !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }
}

/* =========================================================
   SERVICE LISTINGS — FINAL FILTER LAYOUT
   Desktop/wide:
   Category | Subcategory | Country | State | City | Keyword
   Max Price removed from HTML.
   Search card aligns with Available Services container.
   ========================================================= */

body.service-listings-page:not(.item-listings-page):not(.job-listings-page) .service-filter-card {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

/* Regular desktop and wide screens — all 6 filters in one row */
@media screen and (min-width: 1051px) {
  body.service-listings-page:not(.item-listings-page):not(.job-listings-page) .service-filter-grid {
    display: grid !important;
    grid-template-columns:
      minmax(165px, 1.05fr)   /* Category */
      minmax(175px, 1.10fr)   /* Subcategory */
      minmax(155px, 1fr)      /* Country */
      minmax(125px, .78fr)    /* State */
      minmax(125px, .78fr)    /* City */
      minmax(220px, 1.35fr)   /* Keyword */
      !important;
    column-gap: 12px !important;
    row-gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    align-items: end !important;
  }

  body.service-listings-page:not(.item-listings-page):not(.job-listings-page) .service-filter-grid > .filter-field,
  body.service-listings-page:not(.item-listings-page):not(.job-listings-page) .service-filter-grid > .filter-field:nth-child(6),
  body.service-listings-page:not(.item-listings-page):not(.job-listings-page) .service-filter-grid > .service-keyword-field {
    grid-column: auto !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  body.service-listings-page:not(.item-listings-page):not(.job-listings-page) .service-filter-grid input,
  body.service-listings-page:not(.item-listings-page):not(.job-listings-page) .service-filter-grid select {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
}

/* Tablet / smaller desktop */
@media screen and (min-width: 701px) and (max-width: 1050px) {
  body.service-listings-page:not(.item-listings-page):not(.job-listings-page) .service-filter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px 12px !important;
  }

  body.service-listings-page:not(.item-listings-page):not(.job-listings-page) .service-filter-grid > .filter-field,
  body.service-listings-page:not(.item-listings-page):not(.job-listings-page) .service-filter-grid > .filter-field:nth-child(6),
  body.service-listings-page:not(.item-listings-page):not(.job-listings-page) .service-filter-grid > .service-keyword-field {
    grid-column: auto !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
}

/* Mobile */
@media screen and (max-width: 700px) {
  body.service-listings-page:not(.item-listings-page):not(.job-listings-page) .service-filter-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 16px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  body.service-listings-page:not(.item-listings-page):not(.job-listings-page) .service-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 12px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.service-listings-page:not(.item-listings-page):not(.job-listings-page) .service-filter-grid > .filter-field,
  body.service-listings-page:not(.item-listings-page):not(.job-listings-page) .service-filter-grid > .filter-field:nth-child(6),
  body.service-listings-page:not(.item-listings-page):not(.job-listings-page) .service-filter-grid > .service-keyword-field {
    grid-column: auto !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  body.service-listings-page:not(.item-listings-page):not(.job-listings-page) .service-filter-grid input,
  body.service-listings-page:not(.item-listings-page):not(.job-listings-page) .service-filter-grid select {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
}

/* Small phones — one full-width filter per row */
@media screen and (max-width: 430px) {
  body.service-listings-page:not(.item-listings-page):not(.job-listings-page) .service-filter-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    column-gap: 0 !important;
    row-gap: 14px !important;
  }

  body.service-listings-page:not(.item-listings-page):not(.job-listings-page) .service-filter-grid > .filter-field,
  body.service-listings-page:not(.item-listings-page):not(.job-listings-page) .service-filter-grid > .filter-field:nth-child(6),
  body.service-listings-page:not(.item-listings-page):not(.job-listings-page) .service-filter-grid > .service-keyword-field {
    grid-column: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.service-listings-page:not(.item-listings-page):not(.job-listings-page) .service-filter-actions {
    width: 100% !important;
    margin-top: 16px !important;
    justify-content: stretch !important;
  }

  body.service-listings-page:not(.item-listings-page):not(.job-listings-page) .service-filter-actions .btn {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* =========================================================
   SERVICE LISTINGS — DEFINITIVE DESKTOP ONE-ROW OVERRIDE
   Keep this block at the END of style.css.
   ========================================================= */

/* If an older HTML version still wraps Keyword in service-second-row,
   flatten that wrapper so Keyword participates directly in the grid. */
body.service-listings-page.index-page .service-filter-grid > .service-second-row {
  display: contents !important;
}

/* Desktop: Category | Subcategory | Country | State | City | Keyword */
body.service-listings-page.index-page .service-filter-grid {
  display: grid !important;
  grid-template-columns:
    minmax(150px, 1.05fr)
    minmax(165px, 1.10fr)
    minmax(145px, 1fr)
    minmax(115px, .78fr)
    minmax(115px, .78fr)
    minmax(210px, 1.35fr) !important;
  column-gap: 12px !important;
  row-gap: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  align-items: end !important;
}

body.service-listings-page.index-page .service-filter-grid > .filter-field,
body.service-listings-page.index-page .service-filter-grid > .service-keyword-field,
body.service-listings-page.index-page .service-filter-grid > .service-second-row > .filter-field,
body.service-listings-page.index-page .service-filter-grid > .service-second-row > .service-keyword-field {
  grid-column: auto !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
}

body.service-listings-page.index-page .service-filter-grid input,
body.service-listings-page.index-page .service-filter-grid select {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

/* Tablet */
@media screen and (max-width: 1050px) {
  body.service-listings-page.index-page .service-filter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px 12px !important;
  }
}

/* Mobile */
@media screen and (max-width: 700px) {
  body.service-listings-page.index-page .service-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 12px !important;
  }

  body.service-listings-page.index-page .service-filter-grid > .filter-field,
  body.service-listings-page.index-page .service-filter-grid > .service-keyword-field,
  body.service-listings-page.index-page .service-filter-grid > .service-second-row > .filter-field,
  body.service-listings-page.index-page .service-filter-grid > .service-second-row > .service-keyword-field {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }
}

/* Small phones */
@media screen and (max-width: 430px) {
  body.service-listings-page.index-page .service-filter-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    column-gap: 0 !important;
    row-gap: 14px !important;
  }
}

/* =========================================================
   ITEM LISTINGS — CLEAN ISOLATED FINAL LAYOUT
   Desktop: Category | Subcategory | Country | State | City | Condition | Keyword
   Tablet/mobile: responsive wrapping.
   Scoped ONLY to body.item-listings-page.
   ========================================================= */

body.item-listings-page .service-filter-card {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

@media screen and (min-width: 1051px) {
  body.item-listings-page .service-filter-grid {
    display: grid !important;
    grid-template-columns:
      minmax(145px, 1.00fr)
      minmax(155px, 1.05fr)
      minmax(140px, .95fr)
      minmax(105px, .72fr)
      minmax(105px, .72fr)
      minmax(125px, .82fr)
      minmax(165px, 1.10fr) !important;
    column-gap: 10px !important;
    row-gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-content: stretch !important;
    align-items: end !important;
  }

  body.item-listings-page .service-filter-grid > .filter-field,
  body.item-listings-page .service-filter-grid > .service-keyword-field {
    grid-column: auto !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  body.item-listings-page .service-filter-grid input,
  body.item-listings-page .service-filter-grid select {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
}

@media screen and (max-width: 1050px) {
  body.item-listings-page .service-filter-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px 12px !important;
  }

  body.item-listings-page .service-filter-grid > .filter-field,
  body.item-listings-page .service-filter-grid > .service-keyword-field {
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
}

@media screen and (max-width: 700px) {
  body.item-listings-page .service-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 12px !important;
  }
}

@media screen and (max-width: 430px) {
  body.item-listings-page .service-filter-card {
    padding: 16px !important;
    overflow: hidden !important;
  }

  body.item-listings-page .service-filter-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    column-gap: 0 !important;
    row-gap: 14px !important;
  }

  body.item-listings-page .service-filter-actions {
    width: 100% !important;
    margin-top: 16px !important;
    justify-content: stretch !important;
  }

  body.item-listings-page .service-filter-actions .btn {
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* =========================================================
   ITEM LISTINGS — IMAGE DISPLAY FIX
   Keep item photos fully visible without changing filter layout.
   Scoped ONLY to the For Sale / Item Listings page.
   ========================================================= */
body.item-listings-page .small-listing-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
}

/* =========================================================
   ITEM LISTINGS — FINAL CARD IMAGE FIX
   The Item Listings JS renders item cards with .service-img,
   so this rule intentionally targets .service-img (not
   .small-listing-img). Keeps the complete item photo visible.
   ========================================================= */
body.item-listings-page .service-card .listing-image-link {
  display: block !important;
  width: 100% !important;
}

body.item-listings-page .service-card .service-img {
  width: 100% !important;
  height: 250px !important;
  min-height: 250px !important;
  max-height: 250px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(15, 23, 42, 0.16) !important;
}

body.item-listings-page .service-card .service-img img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
}

@media screen and (max-width: 700px) {
  body.item-listings-page .service-card .service-img {
    height: 230px !important;
    min-height: 230px !important;
    max-height: 230px !important;
  }
}



/* =========================================================
   JOB + ITEM LISTING CARDS — FAVORITE HEART + FEATURE PILLS
   Matches the established Roommate listing-card treatment.
   ========================================================= */
.enhanced-listing-card .service-img {
  position: relative;
}

.enhanced-listing-card .listing-favorite-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 20;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.82);
  background: rgba(255,255,255,.95);
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
  font-size: 18px;
  transition: transform .16s ease, color .16s ease;
}

.enhanced-listing-card .listing-favorite-btn:hover {
  transform: scale(1.06);
}

.enhanced-listing-card .listing-favorite-btn.is-favorite {
  color: #e11d48;
}

.enhanced-listing-card .listing-favorite-btn:disabled {
  opacity: .65;
  cursor: wait;
}

.enhanced-listing-card .listing-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.enhanced-listing-card .listing-tags span {
  background: #f1f5f9;
  color: #334155;
  border-radius: 999px;
  padding: 4px 7px;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.25;
}

@media (max-width: 430px) {
  .enhanced-listing-card .listing-favorite-btn {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }
}


/* =========================================================
   ITEM LISTINGS — ROOMMATE-STYLE RED HEART + RED [...]
   ========================================================= */
body.item-listings-page .enhanced-listing-card .listing-favorite-btn,
body.item-listings-page .enhanced-listing-card .listing-favorite-btn i {
  color: #dc2626 !important;
}

body.item-listings-page .enhanced-listing-card .listing-favorite-btn {
  background: rgba(255,255,255,.95) !important;
  border-color: rgba(255,255,255,.90) !important;
}

body.item-listings-page .enhanced-listing-card .listing-favorite-btn.is-favorite,
body.item-listings-page .enhanced-listing-card .listing-favorite-btn.is-favorite i {
  color: #dc2626 !important;
}

body.item-listings-page .enhanced-listing-card .read-more-ellipsis {
  color: #ff1f2d !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  margin-left: 3px !important;
}

body.item-listings-page .enhanced-listing-card .read-more-ellipsis:hover {
  text-decoration: underline !important;
}



/* =========================================================
   JOB LISTINGS — RED FAVORITE HEART
   Match Roommate / Nanny / Item cards
   ========================================================= */

body.job-listings-page .enhanced-listing-card .listing-favorite-btn,
body.job-listings-page .enhanced-listing-card .listing-favorite-btn i {
    color: #dc2626 !important;
}

body.job-listings-page .enhanced-listing-card .listing-favorite-btn {
    background: rgba(255,255,255,.95) !important;
    border-color: rgba(255,255,255,.90) !important;
}

/* Favorited = solid red heart */
body.job-listings-page .enhanced-listing-card .listing-favorite-btn.is-favorite,
body.job-listings-page .enhanced-listing-card .listing-favorite-btn.is-favorite i {
    color: #dc2626 !important;
}






/* =========================================================
   ITEM LISTINGS — FULL IMAGE, EDGE TO EDGE
   No cropping
   ========================================================= */

body.item-listings-page
.enhanced-listing-card
.service-img {
    width: 100% !important;

    /* IMPORTANT: don't force a fixed height */
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;

    display: block !important;
}

body.item-listings-page
.enhanced-listing-card
.service-img img {
    width: 100% !important;

    /* preserve original image proportions */
    height: auto !important;

    max-width: 100% !important;
    max-height: none !important;

    object-fit: contain !important;
    object-position: center center !important;

    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}






/* =========================================================
   INDEX — HOMEPAGE LISTING IMAGES
   Equal height + full width + no cropping
   ========================================================= */

body.index-page .home-listing-card .home-listing-img {
    width: 100% !important;
    height: 240px !important;
    min-height: 240px !important;
    max-height: 240px !important;

    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;

    display: block !important;
}

body.index-page .home-listing-card .home-listing-img img {
    width: 100% !important;
    height: 100% !important;

    /* Stretch to fill the image box without cropping */
    object-fit: fill !important;

    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}







/* =========================================================
   JOB LISTINGS — FILTER GRID
   Desktop:
   Row 1: Category | Employment Type | Workplace Type | Country
   Row 2: State | City | Keyword
   ========================================================= */

@media screen and (min-width: 1051px) {

    body.job-listings-page #serviceFilters.service-filter-grid {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 16px 18px !important;
        align-items: end !important;
    }

    body.job-listings-page #serviceFilters.service-filter-grid
    > .filter-field {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        grid-column: auto !important;
        grid-row: auto !important;
    }

    body.job-listings-page #serviceFilters.service-filter-grid
    > .service-keyword-field {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    body.job-listings-page #serviceFilters.service-filter-grid
    input,
    body.job-listings-page #serviceFilters.service-filter-grid
    select {
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box !important;
    }
}


/* =========================================================
   JOB LISTINGS — TABLET
   3 fields per row
   ========================================================= */

@media screen and (min-width: 701px) and (max-width: 1050px) {

    body.job-listings-page #serviceFilters.service-filter-grid {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 14px 12px !important;
    }

    body.job-listings-page #serviceFilters.service-filter-grid
    > .filter-field {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }
}


/* =========================================================
   JOB LISTINGS — MOBILE
   2 columns
   ========================================================= */

@media screen and (max-width: 700px) {

    body.job-listings-page #serviceFilters.service-filter-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px 12px !important;
    }

    body.job-listings-page #serviceFilters.service-filter-grid
    > .filter-field {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }
}


/* =========================================================
   JOB LISTINGS — SMALL PHONE
   1 column
   ========================================================= */

@media screen and (max-width: 430px) {

    body.job-listings-page #serviceFilters.service-filter-grid {
        grid-template-columns: 1fr !important;
    }
}




/* =========================================================
   NANNY LISTINGS — CLEAN ONE-ROW DESKTOP FILTERS
   Country | State | City | Rate | Experience | Keyword
   ========================================================= */

@media screen and (min-width: 1051px) {

    body.nanny-listings-page .nanny-filter-grid {
        display: grid !important;

        grid-template-columns:
            180px   /* Country */
            165px   /* State */
            165px   /* City */
            190px   /* Max Hourly Rate */
            205px   /* Minimum Experience */
            260px   /* Keyword */
            !important;

        column-gap: 12px !important;
        row-gap: 0 !important;

        justify-content: start !important;
        align-items: end !important;

        width: 100% !important;
        max-width: 100% !important;
    }

    body.nanny-listings-page
    .nanny-filter-grid
    .filter-field,
    
    body.nanny-listings-page
    .nanny-filter-grid
    .filter-field-wide {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        grid-column: auto !important;
    }

    body.nanny-listings-page
    .nanny-filter-grid input,

    body.nanny-listings-page
    .nanny-filter-grid select {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        box-sizing: border-box !important;
    }

    /* Keyword — specifically control the last field */
    body.nanny-listings-page
    .nanny-filter-grid
    .filter-field-wide {
        width: 260px !important;
        max-width: 260px !important;
    }
}

/* =========================================================
   INDEX — MARKETPLACE STATS FINAL SIX-ITEM FIT
   Desktop: keep all 6 stats inside the bar with equal width
   No horizontal shifting / no left or right clipping
   ========================================================= */
@media screen and (min-width: 1051px) {

    body.index-page.full-market-home .marketplace-stats {
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        gap: 0 !important;
        transform: none !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    body.index-page.full-market-home .marketplace-stat {
        flex: 1 1 0 !important;
        width: 0 !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 6px 16px !important;
        gap: 12px !important;
        box-sizing: border-box !important;
        justify-content: flex-start !important;
    }

    body.index-page.full-market-home .marketplace-stat:first-child {
        padding-left: 0 !important;
    }

    body.index-page.full-market-home .marketplace-stat:last-child {
        padding-right: 0 !important;
        border-right: 0 !important;
    }

    body.index-page.full-market-home .marketplace-stat-icon {
        flex: 0 0 40px !important;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }

    body.index-page.full-market-home .marketplace-stat > div:last-child {
        min-width: 0 !important;
    }

    body.index-page.full-market-home .marketplace-stat strong,
    body.index-page.full-market-home .marketplace-stat span {
        white-space: nowrap !important;
    }
}

/* ITEM LISTINGS — COMPACT NANNY-STYLE CARD (FINAL OVERRIDE) */
body.item-listings-page #itemGrid.service-listings-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;align-items:start!important}
body.item-listings-page #itemGrid .enhanced-listing-card{align-self:start!important;height:auto!important;min-height:0!important}
body.item-listings-page #itemGrid .enhanced-listing-card .service-img{width:100%!important;height:178px!important;min-height:178px!important;max-height:178px!important;display:block!important;overflow:hidden!important;padding:0!important;margin:0!important}
body.item-listings-page #itemGrid .enhanced-listing-card .service-img img{width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;object-fit:cover!important;object-position:center center!important;display:block!important}
body.item-listings-page #itemGrid .enhanced-listing-card .service-body{padding:14px!important}
body.item-listings-page #itemGrid .enhanced-listing-card .service-body h3{margin:0 0 6px!important;line-height:1.25!important}
body.item-listings-page #itemGrid .enhanced-listing-card .service-price{margin:4px 0 5px!important}
body.item-listings-page #itemGrid .enhanced-listing-card .service-meta{margin-bottom:5px!important;line-height:1.35!important}
body.item-listings-page #itemGrid .enhanced-listing-card .listing-views{margin:7px 0!important}
body.item-listings-page #itemGrid .enhanced-listing-card .listing-description-text{margin:8px 0 0!important;line-height:1.45!important}
body.item-listings-page #itemGrid .enhanced-listing-card .listing-tags{gap:5px!important;margin-top:8px!important}
body.item-listings-page #itemGrid .enhanced-listing-card .listing-tags span{padding:3px 7px!important;font-size:.72rem!important}
@media(max-width:1050px){body.item-listings-page #itemGrid.service-listings-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:700px){body.item-listings-page #itemGrid.service-listings-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.item-listings-page #itemGrid .enhanced-listing-card .service-img{height:178px!important;min-height:178px!important;max-height:178px!important}}
@media(max-width:430px){body.item-listings-page #itemGrid.service-listings-grid{grid-template-columns:minmax(0,1fr)!important}}


/* =========================================================
   FOR SALE — RESULTS CONTAINER SPACING TO MATCH NANNY
   Scoped only to item_listings page.
   ========================================================= */
body.item-listings-page .service-listings-container {
    padding: 18px 20px 20px !important;
}

/* Keep heading/status comfortably separated from first item card */
body.item-listings-page .service-listings-container .service-results-head {
    margin: 0 0 16px !important;
}

/* Keep the card grid aligned with the heading inset */
body.item-listings-page .service-listings-container #itemGrid {
    margin: 0 !important;
}


/* =========================================================
   JOB LISTINGS — COMPACT CARD BODY
   Scoped to .job-listing-card only; does not affect Services,
   Nanny, Roommate, For Sale, Home, or Details cards.
   ========================================================= */
.job-listing-card .service-body {
    padding: 12px 14px 13px !important;
}

.job-listing-card .service-body h3 {
    margin: 0 0 4px !important;
    line-height: 1.35;
}

.job-listing-card .service-meta {
    margin-bottom: 5px !important;
    line-height: 1.35;
}

.job-listing-card .service-price {
    margin: 4px 0 5px !important;
}

.job-listing-card .listing-views {
    margin: 8px 0 9px !important;
}

.job-listing-card .listing-description-text {
    margin: 8px 0 7px !important;
    line-height: 1.45;
}

.job-listing-card .listing-tags {
    margin-top: 6px !important;
    gap: 5px !important;
}

/* Job listing balanced height: between original and overly short version. */
.job-listing-card { height: auto !important; min-height: 0 !important; align-self: start !important; }
.job-listing-card .service-img { height: 185px !important; min-height: 185px !important; max-height: 185px !important; overflow: hidden !important; }
.job-listing-card .service-img img { height: 100% !important; width: 100% !important; object-fit: cover !important; }
.job-listing-card .service-body { padding: 13px 14px 14px !important; }
.job-listing-card .service-body h3 { margin: 0 0 5px !important; line-height: 1.32 !important; }
.job-listing-card .service-meta { margin-bottom: 5px !important; line-height: 1.35 !important; }
.job-listing-card .service-price { margin: 4px 0 6px !important; }
.job-listing-card .listing-views { margin: 9px 0 10px !important; }
.job-listing-card .listing-description-text { margin: 8px 0 !important; line-height: 1.42 !important; display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden !important; }
.job-listing-card .listing-tags { margin-top: 7px !important; gap: 5px !important; }


/* POST ITEM — aligned with the established MinAlesh posting pages */
body.post-item-page .post-service-hero,
body.post-item-page .post-service-form-section { padding-top: 18px; }
body.post-item-page .post-service-hero-grid,
body.post-item-page .post-service-form-section > .container { width: min(1480px,97%); max-width:1480px; margin-inline:auto; }
body.post-item-page .post-service-copy { max-width:1000px; }
body.post-item-page .post-service-big-container { width:100%; max-width:none; }
body.post-item-page #itemForm .grid-2,
body.post-item-page #itemForm .grid-3 { gap:14px; }
body.post-item-page #itemForm .service-validation-field { min-width:0; }
body.post-item-page #itemForm input:not([type=checkbox]):not([type=file]),
body.post-item-page #itemForm select { min-height:42px; font-weight:400; }
body.post-item-page #itemForm textarea { width:100%; min-height:110px; font-weight:400; }
body.post-item-page #itemForm .service-field-error { color:#dc2626; font-weight:400; font-size:.8rem; margin:4px 0 0; }
body.post-item-page #itemForm .service-field-error:not(.show) { display:none; }
body.post-item-page #itemForm .invalid-field { border-color:#dc2626 !important; }
body.post-item-page #itemForm .checkbox-inline { align-self:center; font-weight:400; }
body.post-item-page #itemForm h3 { margin:18px 0 10px; font-size:1rem; }
body.post-item-page #itemForm .preview-grid { margin-bottom:16px; }
@media (max-width:700px) {
  body.post-item-page #itemForm .grid-2,
  body.post-item-page #itemForm .grid-3 { grid-template-columns:minmax(0,1fr); gap:12px; }
  body.post-item-page .post-service-hero,
  body.post-item-page .post-service-form-section { padding-top:12px; }
}

/* POST ITEM — final form alignment, scoped only to For Sale posting */
body.post-item-page .post-service-big-container { padding: 18px 20px 20px !important; }
body.post-item-page #itemForm.form-card.post-service-card {
  background: transparent !important; border: 0 !important; box-shadow: none !important;
  border-radius: 0 !important; padding: 12px 0 0 !important; margin: 0 !important;
  max-width: none !important; width: 100% !important;
}
body.post-item-page #itemForm .item-main-fields { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 12px !important; }
body.post-item-page #itemForm .item-full-row { grid-column: 1 / -1 !important; }
body.post-item-page #itemForm #itemDescription { display:block; width:100% !important; min-height: 92px !important; resize:vertical; }
body.post-item-page #itemForm .item-location-fields { grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:12px !important; max-width:100% !important; }
body.post-item-page #itemForm .item-section-heading { color:#f8fafc !important; font-size:1rem !important; font-weight:600 !important; margin:22px 0 10px !important; }
body.post-item-page #itemForm .item-photo-help { display:block; color:#cbd5e1 !important; font-size:.82rem !important; font-weight:400 !important; margin:0 0 10px !important; }
body.post-item-page #itemForm #photos { display:block; width:min(320px,100%) !important; max-width:320px !important; padding:5px 8px !important; font-size:.8rem !important; min-height:36px !important; }
body.post-item-page #itemForm #photos::file-selector-button { font-size:.78rem; padding:4px 8px; margin-right:8px; }
body.post-item-page #itemForm button[type="submit"] { width:auto !important; min-width:0 !important; min-height:36px !important; padding:8px 15px !important; font-size:.8rem !important; border-radius:12px !important; margin-top:10px !important; }
@media(max-width:700px) {
 body.post-item-page #itemForm .item-main-fields,body.post-item-page #itemForm .item-location-fields {grid-template-columns:minmax(0,1fr) !important;}
 body.post-item-page .post-service-big-container {padding:14px !important;}
}

/* Post Item: compact and align the detail fields, without touching photo upload */
body.post-item-page #itemForm .item-main-fields,
body.post-item-page #itemForm .item-location-fields {
  width: 100% !important;
  max-width: 860px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}
body.post-item-page #itemForm .item-main-fields > *,
body.post-item-page #itemForm .item-location-fields > * { min-width: 0; }
body.post-item-page #itemForm .item-main-fields input:not([type="file"]),
body.post-item-page #itemForm .item-main-fields select,
body.post-item-page #itemForm .item-location-fields select {
  width: 100% !important;
  box-sizing: border-box !important;
}
body.post-item-page #itemForm button[type="submit"] { font-weight: 400 !important; }

/* POST ITEM — narrow form to the marked vertical boundary.
   Keep the photo upload field and its sizing untouched. */
@media (min-width: 701px) {
  body.post-item-page #itemForm .item-main-fields,
  body.post-item-page #itemForm .item-location-fields {
    width: min(570px, 100%) !important;
    max-width: 570px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
}

/* POST JOB — compact Post Item-style layout; scoped to this page only */
body.post-job-page .post-service-hero,
body.post-job-page .post-service-form-section { padding-top: 18px; }
body.post-job-page .post-service-hero-grid,
body.post-job-page .post-service-form-section > .container {
  width: min(1480px,97%); max-width: 1480px; margin-inline: auto;
}
body.post-job-page .post-service-copy { max-width: 1000px; }
body.post-job-page .post-service-big-container {
  width: 100%; max-width: none; padding: 18px 20px 20px !important;
}
body.post-job-page #jobForm.form-card.post-service-card {
  background: transparent !important; border: 0 !important;
  box-shadow: none !important; border-radius: 0 !important;
  padding: 12px 0 0 !important; margin: 0 !important;
  width: 100% !important; max-width: none !important;
}
body.post-job-page #jobForm .job-main-fields,
body.post-job-page #jobForm .job-contact-fields {
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 12px !important;
}
body.post-job-page #jobForm .job-location-fields {
  display: grid !important;
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  gap: 12px !important;
}
body.post-job-page #jobForm .job-main-fields,
body.post-job-page #jobForm .job-location-fields,
body.post-job-page #jobForm .job-contact-fields {
  width: min(570px,100%) !important; max-width: 570px !important;
  margin-left: 0 !important; margin-right: auto !important;
}
body.post-job-page #jobForm .job-main-fields > *,
body.post-job-page #jobForm .job-contact-fields > *,
body.post-job-page #jobForm .job-location-fields > * { min-width: 0 !important; }
body.post-job-page #jobForm .service-validation-full {
  grid-column: 1 / -1 !important;
}
body.post-job-page #jobForm input:not([type="file"]),
body.post-job-page #jobForm select,
body.post-job-page #jobForm textarea {
  width: 100% !important; max-width: 100% !important;
  box-sizing: border-box !important; font-weight: 400 !important;
}
body.post-job-page #jobForm textarea#jobDescription {
  display: block; min-height: 92px !important; resize: vertical;
}
body.post-job-page #jobForm h3 {
  margin: 20px 0 10px !important; font-size: 1rem !important;
  font-weight: 600 !important;
}
body.post-job-page #jobForm button[type="submit"] {
  width: auto !important; min-width: 0 !important;
  min-height: 36px !important; padding: 8px 15px !important;
  font-size: .8rem !important; font-weight: 400 !important;
  border-radius: 12px !important; margin-top: 10px !important;
}
body.post-job-page #jobForm .service-field-error {
  color: #dc2626; font-weight: 400; font-size: .8rem;
}
@media (max-width:700px) {
  body.post-job-page #jobForm .job-main-fields,
  body.post-job-page #jobForm .job-location-fields,
  body.post-job-page #jobForm .job-contact-fields {
    grid-template-columns: minmax(0,1fr) !important;
  }
  body.post-job-page .post-service-big-container { padding: 14px !important; }
}

/* POST JOB — requested form refinements, isolated to Post Job */
body.post-job-page #jobForm.post-service-card,
body.post-job-page #jobForm.form-card {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  backdrop-filter: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
body.post-job-page #jobForm::before,
body.post-job-page #jobForm::after { display: none !important; content: none !important; }
body.post-job-page #jobForm > .job-main-fields,
body.post-job-page #jobForm > .job-location-fields,
body.post-job-page #jobForm > .job-contact-fields {
  width: min(570px, 100%) !important;
  max-width: 570px !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  justify-content: start !important;
  align-items: start !important;
  column-gap: 12px !important;
  row-gap: 12px !important;
}
body.post-job-page #jobForm > .job-main-fields,
body.post-job-page #jobForm > .job-contact-fields {
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
}
body.post-job-page #jobForm > .job-location-fields {
  grid-template-columns: repeat(3, minmax(0,1fr)) !important;
}
body.post-job-page #jobForm .job-main-fields > .service-validation-full,
body.post-job-page #jobForm .job-main-fields > div:has(#jobDescription) {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}
body.post-job-page #jobForm textarea#jobDescription {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  min-height: 115px !important;
  font-weight: 400 !important;
}
body.post-job-page #jobForm .job-location-fields > div {
  min-width: 0 !important; width: 100% !important;
}
body.post-job-page #jobForm .job-location-fields select {
  min-width: 0 !important; width: 100% !important; max-width: 100% !important;
  padding-left: 10px !important; padding-right: 24px !important;
}
body.post-job-page #jobForm > h3 {
  color: #64748b !important;
  font-size: 0.96rem !important;
  line-height: 1.35 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  margin: 24px 0 12px !important;
}
body.post-job-page #jobForm > .job-main-fields + h3 {
  margin-top: 28px !important;
}
body.post-job-page #jobForm > .job-location-fields + h3 {
  margin-top: 28px !important;
}
body.post-job-page #jobForm > .job-contact-fields + small + h3 {
  margin-top: 28px !important;
}
body.post-job-page #jobForm #logo[type="file"] {
  display: block !important;
  width: min(570px, 100%) !important;
  max-width: 570px !important;
  min-height: 0 !important;
  padding: 7px 10px !important;
  font-size: 0.85rem !important;
  border-radius: 12px !important;
}
body.post-job-page #jobForm > button[type="submit"] {
  font-weight: 400 !important;
  font-size: 0.82rem !important;
  padding: 8px 15px !important;
  min-height: 35px !important;
}
@media(max-width: 620px) {
  body.post-job-page #jobForm > .job-main-fields,
  body.post-job-page #jobForm > .job-contact-fields {
    grid-template-columns: minmax(0,1fr) !important;
  }
  body.post-job-page #jobForm > .job-location-fields {
    grid-template-columns: minmax(0,1fr) !important;
  }
}

/* Post Job: section headings and logo picker matched to Post Roommate reference */
body.post-job-page #jobForm > h3 {
  color: #ffffff !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  letter-spacing: normal !important;
}
body.post-job-page #jobForm input#logo[type="file"] {
  width: min(300px, 100%) !important;
  max-width: 300px !important;
  padding: 5px 7px !important;
  min-height: 34px !important;
  height: auto !important;
  border-radius: 9px !important;
}


/* =========================================================
   EDIT JOB — targeted Post Job visual parity
   IMPORTANT: preserves the original Edit Job card/container.
   ========================================================= */

/* Hero: same content width/alignment and compact vertical rhythm as Post Job */
body.edit-job-page .edit-job-hero {
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}
body.edit-job-page .edit-job-hero .post-service-hero-grid,
body.edit-job-page .edit-job-form-section > .container {
  width: min(1480px, 97%) !important;
  max-width: 1480px !important;
  margin-inline: auto !important;
}
body.edit-job-page .edit-job-hero .post-service-copy {
  width: 100% !important;
  max-width: 1000px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}
body.edit-job-page .edit-job-hero .post-page-hero-copy > h1 {
  margin-top: 0 !important;
}
body.edit-job-page .edit-job-hero .post-page-hero-subtitle {
  margin-bottom: 14px !important;
}
body.edit-job-page .edit-job-hero .post-service-creative-tips {
  margin-bottom: 0 !important;
}

/* Reduce hero-to-form gap without removing the form container */
body.edit-job-page .edit-job-form-section {
  padding-top: 12px !important;
}
body.edit-job-page .edit-job-card {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
body.edit-job-page .edit-job-card > .card-body {
  padding: 18px 20px 20px !important;
}

/* Form field area: EXACT same desktop width/gaps as Post Job */
body.edit-job-page #editJobForm .edit-job-main-fields,
body.edit-job-page #editJobForm .edit-job-contact-fields {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  gap: 12px !important;
}
body.edit-job-page #editJobForm .edit-job-location-fields {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  gap: 12px !important;
}
body.edit-job-page #editJobForm .edit-job-main-fields,
body.edit-job-page #editJobForm .edit-job-location-fields,
body.edit-job-page #editJobForm .edit-job-contact-fields {
  width: min(570px, 100%) !important;
  max-width: 570px !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  align-items: start !important;
}
body.edit-job-page #editJobForm .edit-job-main-fields > *,
body.edit-job-page #editJobForm .edit-job-location-fields > *,
body.edit-job-page #editJobForm .edit-job-contact-fields > * {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Compact pills to match Post Job */
body.edit-job-page #editJobForm input:not([type="file"]),
body.edit-job-page #editJobForm select {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 42px !important;
  height: 42px !important;
  box-sizing: border-box !important;
  font-weight: 400 !important;
  padding-top: 7px !important;
  padding-bottom: 7px !important;
}
body.edit-job-page #editJobForm textarea#jobDescription {
  grid-column: 1 / -1 !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 115px !important;
  box-sizing: border-box !important;
  font-weight: 400 !important;
  resize: vertical !important;
}

/* Bottom section headings/spacing match Post Job */
body.edit-job-page #editJobForm > h3 {
  color: #ffffff !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  letter-spacing: normal !important;
  margin: 28px 0 12px !important;
}
body.edit-job-page #editJobForm .edit-job-main-fields + h3,
body.edit-job-page #editJobForm .edit-job-location-fields + h3 {
  margin-top: 28px !important;
}
body.edit-job-page #editJobForm .edit-job-contact-fields + small {
  display: block !important;
  width: min(570px,100%) !important;
  max-width: 570px !important;
  margin-top: 7px !important;
}

/* Keep edit-only logo sections, but size them consistently with Post Job */
body.edit-job-page #editJobForm .current-media-panel,
body.edit-job-page #editJobForm .edit-upload-box.post-style-upload-box {
  width: min(570px, 100%) !important;
  max-width: 570px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}
body.edit-job-page #editJobForm .current-media-panel {
  margin-top: 28px !important;
}
body.edit-job-page #editJobForm .current-media-panel > h3,
body.edit-job-page #editJobForm .edit-upload-box > h3 {
  color: #ffffff !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  margin: 0 0 8px !important;
}
body.edit-job-page #editJobForm .edit-upload-box.post-style-upload-box {
  margin-top: 22px !important;
}
body.edit-job-page #editJobForm input#logo[type="file"] {
  display: block !important;
  width: min(300px,100%) !important;
  max-width: 300px !important;
  min-height: 34px !important;
  height: auto !important;
  padding: 5px 7px !important;
  border-radius: 9px !important;
  font-size: .85rem !important;
}

/* Edit actions remain intact, but visually compact like Post Job */
body.edit-job-page #editJobForm .form-actions {
  width: min(570px,100%) !important;
  max-width: 570px !important;
  margin: 20px 0 0 !important;
  gap: 10px !important;
}
body.edit-job-page #editJobForm .form-actions .btn {
  width: auto !important;
  min-width: 0 !important;
  min-height: 35px !important;
  padding: 8px 15px !important;
  border-radius: 12px !important;
  font-size: .82rem !important;
  font-weight: 400 !important;
}

/* Mobile */
@media (max-width: 700px) {
  body.edit-job-page #editJobForm .edit-job-main-fields,
  body.edit-job-page #editJobForm .edit-job-location-fields,
  body.edit-job-page #editJobForm .edit-job-contact-fields {
    grid-template-columns: minmax(0,1fr) !important;
  }
  body.edit-job-page .edit-job-card > .card-body {
    padding: 14px !important;
  }
}


/* =========================================================
   EDIT JOB — screenshot tuning v2
   1) visible gap between hero and container
   2) shorter pills
   3) container width like Post Job
   4) slightly wider fields; logo/file pill unchanged
   ========================================================= */

/* Clear breathing room between hero guidance and form container */
body.edit-job-page .edit-job-hero {
  padding-bottom: 24px !important;
}
body.edit-job-page .edit-job-form-section {
  padding-top: 18px !important;
}

/* Post Job-like panel width: do not stretch across the viewport */
body.edit-job-page .edit-job-form-section > .container {
  width: min(1480px, 97%) !important;
  max-width: 1480px !important;
  margin-inline: auto !important;
}
body.edit-job-page .edit-job-card {
  width: min(820px, 100%) !important;
  max-width: 820px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* Slightly wider than before, but still compact */
body.edit-job-page #editJobForm .edit-job-main-fields,
body.edit-job-page #editJobForm .edit-job-location-fields,
body.edit-job-page #editJobForm .edit-job-contact-fields,
body.edit-job-page #editJobForm .current-media-panel,
body.edit-job-page #editJobForm .edit-upload-box.post-style-upload-box,
body.edit-job-page #editJobForm .form-actions,
body.edit-job-page #editJobForm #statusMessage {
  width: min(620px, 100%) !important;
  max-width: 620px !important;
}

/* Shorter input/select pills */
body.edit-job-page #editJobForm input:not([type="file"]),
body.edit-job-page #editJobForm select {
  min-height: 34px !important;
  height: 34px !important;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  padding-left: 10px !important;
  padding-right: 26px !important;
  border-radius: 10px !important;
  font-size: .82rem !important;
}

/* Keep description wider with the new field width */
body.edit-job-page #editJobForm textarea#jobDescription {
  min-height: 100px !important;
  border-radius: 10px !important;
  font-size: .82rem !important;
  padding: 8px 10px !important;
}

/* Do NOT widen the photo/logo file pill */
body.edit-job-page #editJobForm input#logo[type="file"] {
  width: min(300px, 100%) !important;
  max-width: 300px !important;
  min-height: 34px !important;
  height: auto !important;
}

/* Keep the heading aligned with the narrower Post Job-like panel */
body.edit-job-page .edit-job-card .service-form-heading {
  width: min(620px, 100%) !important;
  max-width: 620px !important;
}

@media (max-width: 700px) {
  body.edit-job-page .edit-job-card {
    width: 100% !important;
    max-width: 100% !important;
  }
  body.edit-job-page #editJobForm .edit-job-main-fields,
  body.edit-job-page #editJobForm .edit-job-location-fields,
  body.edit-job-page #editJobForm .edit-job-contact-fields {
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* EDIT JOB — increase space between hero guidance and form container only */
body.edit-job-page .edit-job-hero {
  padding-bottom: 34px !important;
}
body.edit-job-page .edit-job-form-section {
  padding-top: 28px !important;
}


/* EDIT JOB — widen outer panel to match the Post Job visual width */
body.edit-job-page .edit-job-card {
  width: min(1000px, 100%) !important;
  max-width: 1000px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

@media (max-width: 700px) {
  body.edit-job-page .edit-job-card {
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* =========================================================
   EDIT ITEM — compact Edit Job-style layout
   ========================================================= */
body.edit-item-page .edit-item-hero {
  padding-top: 18px !important;
  padding-bottom: 34px !important;
}
body.edit-item-page .edit-item-hero .post-service-hero-grid,
body.edit-item-page .edit-item-form-section > .container {
  width: min(1480px, 97%) !important;
  max-width: 1480px !important;
  margin-inline: auto !important;
}
body.edit-item-page .edit-item-hero .post-service-copy {
  width: 100% !important;
  max-width: 1000px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}
body.edit-item-page .edit-item-hero .post-page-hero-copy > h1 {
  margin-top: 0 !important;
}
body.edit-item-page .edit-item-hero .post-page-hero-subtitle {
  margin-bottom: 14px !important;
}
body.edit-item-page .edit-item-hero .post-service-creative-tips {
  margin-bottom: 0 !important;
}

/* Deliberate gap between guidance and panel */
body.edit-item-page .edit-item-form-section {
  padding-top: 28px !important;
}

/* Keep the translucent form container, but prevent full-page stretching */
body.edit-item-page .edit-item-card {
  display: block !important;
  width: min(1000px, 100%) !important;
  max-width: 1000px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}
body.edit-item-page .edit-item-card > .card-body {
  padding: 18px 20px 20px !important;
}

/* Slightly wider field area, compact gaps */
body.edit-item-page #editItemForm .edit-item-main-fields {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  gap: 12px !important;
}
body.edit-item-page #editItemForm .edit-item-location-fields {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  gap: 12px !important;
}
body.edit-item-page #editItemForm .edit-item-main-fields,
body.edit-item-page #editItemForm .edit-item-location-fields,
body.edit-item-page #editItemForm .current-media-panel,
body.edit-item-page #editItemForm .edit-upload-box.post-style-upload-box,
body.edit-item-page #editItemForm .form-actions,
body.edit-item-page #editItemForm #statusMessage {
  width: min(620px, 100%) !important;
  max-width: 620px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}
body.edit-item-page #editItemForm .edit-item-main-fields > *,
body.edit-item-page #editItemForm .edit-item-location-fields > * {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Shorter regular pills */
body.edit-item-page #editItemForm input:not([type="file"]),
body.edit-item-page #editItemForm select {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 34px !important;
  height: 34px !important;
  box-sizing: border-box !important;
  padding: 4px 26px 4px 10px !important;
  border-radius: 10px !important;
  font-size: .82rem !important;
  font-weight: 400 !important;
}
body.edit-item-page #editItemForm textarea#description {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 100px !important;
  box-sizing: border-box !important;
  border-radius: 10px !important;
  padding: 8px 10px !important;
  font-size: .82rem !important;
  font-weight: 400 !important;
}

/* Section headings */
body.edit-item-page #editItemForm > h3,
body.edit-item-page #editItemForm .current-media-panel > h3,
body.edit-item-page #editItemForm .edit-upload-box > h3 {
  color: #ffffff !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  letter-spacing: normal !important;
}
body.edit-item-page #editItemForm > h3 {
  margin: 28px 0 12px !important;
}
body.edit-item-page #editItemForm .current-media-panel {
  margin-top: 28px !important;
}
body.edit-item-page #editItemForm .current-media-panel > h3,
body.edit-item-page #editItemForm .edit-upload-box > h3 {
  margin: 0 0 8px !important;
}
body.edit-item-page #editItemForm .edit-upload-box.post-style-upload-box {
  margin-top: 22px !important;
}

/* Current/new photo grids stay functional but compact */
body.edit-item-page #editItemForm #currentMediaGrid,
body.edit-item-page #editItemForm #previewGrid {
  grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  gap: 10px !important;
  margin-top: 12px !important;
}
body.edit-item-page #editItemForm .preview-img {
  height: 100px !important;
  object-fit: cover !important;
}

/* Photo file picker intentionally stays narrower */
body.edit-item-page #editItemForm input#photos[type="file"] {
  display: block !important;
  width: min(300px,100%) !important;
  max-width: 300px !important;
  min-height: 34px !important;
  height: auto !important;
  padding: 5px 7px !important;
  border-radius: 9px !important;
  font-size: .85rem !important;
}

/* Compact edit actions */
body.edit-item-page #editItemForm .form-actions {
  margin-top: 20px !important;
  gap: 10px !important;
}
body.edit-item-page #editItemForm .form-actions .btn {
  width: auto !important;
  min-width: 0 !important;
  min-height: 35px !important;
  padding: 8px 15px !important;
  border-radius: 12px !important;
  font-size: .82rem !important;
  font-weight: 400 !important;
}

@media (max-width: 700px) {
  body.edit-item-page .edit-item-card {
    width: 100% !important;
    max-width: 100% !important;
  }
  body.edit-item-page #editItemForm .edit-item-main-fields,
  body.edit-item-page #editItemForm .edit-item-location-fields {
    grid-template-columns: minmax(0,1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  body.edit-item-page .edit-item-card > .card-body {
    padding: 14px !important;
  }
}


/* =========================================================
   ITEM DETAILS — middle summary card refinement
   ========================================================= */

/* Give the center card a stronger internal hierarchy without changing the 3-card layout */
body.item-details-page .service-summary-card {
  padding: 30px 32px !important;
}

body.item-details-page .service-summary-card .nsd-summary {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-width: 0 !important;
}

body.item-details-page .service-summary-card .nanny-detail-pill {
  width: fit-content !important;
  margin-bottom: 16px !important;
}

body.item-details-page .service-summary-card #itemTitle {
  font-size: 1.22rem !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  margin: 0 0 5px !important;
  color: #ffffff !important;
}

body.item-details-page .service-summary-card #itemLocation {
  margin: 0 0 10px !important;
  font-size: .91rem !important;
  line-height: 1.45 !important;
  color: rgba(226,232,240,.78) !important;
}

body.item-details-page .service-summary-card #itemCategory {
  margin: 0 0 18px !important;
  font-size: .91rem !important;
  line-height: 1.45 !important;
  font-weight: 600 !important;
  color: rgba(226,232,240,.78) !important;
}

/* Price / views / favorite become one intentional action strip */
body.item-details-page .service-summary-card .item-detail-action-row {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin: 0 0 22px !important;
  padding: 0 0 20px !important;
  border-bottom: 1px solid rgba(255,255,255,.14) !important;
}

body.item-details-page .service-summary-card #itemPrice {
  margin: 0 !important;
  min-width: fit-content !important;
  font-size: 1.05rem !important;
  line-height: 1 !important;
  font-weight: 700 !important;
}

body.item-details-page .service-summary-card #itemViews {
  margin: 0 !important;
}

body.item-details-page .service-summary-card #favoriteInlineHost {
  margin: 0 !important;
}

/* Description gets its own readable area instead of floating loose text */
body.item-details-page .item-description-block {
  margin-top: 0 !important;
  padding: 16px 18px !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  border-radius: 14px !important;
  background: rgba(15,23,42,.12) !important;
}

body.item-details-page .item-description-heading {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 9px !important;
  color: rgba(255,255,255,.92) !important;
  font-size: .86rem !important;
  font-weight: 700 !important;
}

body.item-details-page .item-description-heading i {
  color: #60a5fa !important;
  font-size: .82rem !important;
}

body.item-details-page .item-description-block #itemDescription {
  margin: 0 !important;
  max-width: none !important;
  color: rgba(241,245,249,.88) !important;
  font-size: .94rem !important;
  line-height: 1.65 !important;
  white-space: pre-line !important;
  overflow-wrap: anywhere !important;
}

/* Keep the refinement clean on smaller screens */
@media (max-width: 850px) {
  body.item-details-page .service-summary-card {
    padding: 22px !important;
  }

  body.item-details-page .service-summary-card .item-detail-action-row {
    gap: 8px !important;
  }

  body.item-details-page .item-description-block {
    padding: 14px !important;
  }
}


/* ITEM DETAILS — Favorite pill same compact size as Total Views pill */
body.item-details-page .service-summary-card #favoriteInlineHost .btn,
body.item-details-page .service-summary-card #favoriteInlineHost button,
body.item-details-page .service-summary-card #favoriteInlineHost .favorite-btn,
body.item-details-page .service-summary-card #favoriteInlineHost .favorite-button {
  min-height: 28px !important;
  height: 28px !important;
  width: auto !important;
  min-width: 0 !important;
  padding: 4px 11px !important;
  border-radius: 999px !important;
  font-size: .78rem !important;
  line-height: 1 !important;
  gap: 5px !important;
  white-space: nowrap !important;
}
body.item-details-page .service-summary-card #favoriteInlineHost i {
  font-size: .76rem !important;
}

/* JOB DETAILS — refined summary/application card + image lightbox */
body.job-details-page .service-summary-card{padding:30px 32px!important}
body.job-details-page .service-summary-card .nsd-summary{display:flex!important;flex-direction:column!important;height:100%!important;min-width:0!important}
body.job-details-page .service-summary-card .nanny-detail-pill{width:fit-content!important;margin-bottom:15px!important}
body.job-details-page .service-summary-card #jobTitle{margin:0 0 5px!important;color:#fff!important;font-size:1.18rem!important;line-height:1.35!important;font-weight:700!important}
body.job-details-page .service-summary-card #jobLocation,
body.job-details-page .service-summary-card #jobCompany{margin:0 0 7px!important;color:rgba(226,232,240,.76)!important;font-size:.90rem!important;line-height:1.4!important}
body.job-details-page .service-summary-card #jobCompany{margin-bottom:17px!important}
body.job-details-page .job-detail-action-row{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:9px!important;margin:0 0 20px!important;padding:0 0 19px!important;border-bottom:1px solid rgba(255,255,255,.14)!important}
body.job-details-page .job-detail-action-row #jobPay{margin:0!important;min-width:fit-content!important;font-size:1rem!important;line-height:1!important;font-weight:500!important}
body.job-details-page .job-detail-action-row #jobViews,
body.job-details-page .job-detail-action-row #favoriteInlineHost{margin:0!important}
body.job-details-page #favoriteInlineHost .btn,
body.job-details-page #favoriteInlineHost button,
body.job-details-page #favoriteInlineHost .favorite-btn,
body.job-details-page #favoriteInlineHost .favorite-button{width:auto!important;min-width:0!important;min-height:30px!important;height:30px!important;padding:4px 11px!important;border-radius:9px!important;font-size:.76rem!important;line-height:1!important;font-weight:400!important;gap:5px!important;white-space:nowrap!important}
body.job-details-page #favoriteInlineHost i{font-size:.73rem!important}
body.job-details-page .job-description-block{padding:15px 17px!important;border:1px solid rgba(255,255,255,.13)!important;border-radius:14px!important;background:rgba(15,23,42,.12)!important}
body.job-details-page .job-description-heading{display:flex!important;align-items:center!important;gap:8px!important;margin-bottom:9px!important;color:rgba(255,255,255,.92)!important;font-size:.86rem!important;font-weight:700!important}
body.job-details-page .job-description-heading i{color:#60a5fa!important;font-size:.82rem!important}
body.job-details-page .job-description-block #jobDescription{margin:0!important;max-width:none!important;color:rgba(241,245,249,.88)!important;font-size:.93rem!important;line-height:1.62!important;white-space:pre-line!important;overflow-wrap:anywhere!important}
body.job-details-page .service-contact-card .nsd-contact-lines{margin-top:18px!important}
body.job-details-page .service-contact-card .contact-line{display:grid!important;grid-template-columns:minmax(105px,.8fr) minmax(0,1.4fr)!important;align-items:center!important;column-gap:14px!important;margin:0!important;padding:12px 2px!important;border-bottom:1px solid rgba(255,255,255,.14)!important}
body.job-details-page .service-contact-card .contact-line:first-child{border-top:1px solid rgba(255,255,255,.14)!important}
body.job-details-page .service-contact-card .contact-line strong{display:inline-flex!important;align-items:center!important;gap:8px!important;min-width:0!important;color:rgba(255,255,255,.88)!important;font-size:.79rem!important;line-height:1.25!important;font-weight:500!important;white-space:nowrap!important}
body.job-details-page .service-contact-card .contact-line>span{min-width:0!important;color:rgba(241,245,249,.88)!important;font-size:.79rem!important;line-height:1.35!important;font-weight:400!important;overflow-wrap:anywhere!important;word-break:break-word!important}
body.job-details-page .service-contact-card .nsd-contact-actions{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important;margin-top:16px!important}
body.job-details-page .service-contact-card .nsd-contact-actions .btn{width:auto!important;min-width:0!important;min-height:32px!important;height:32px!important;padding:5px 12px!important;border-radius:9px!important;font-size:.76rem!important;line-height:1!important;font-weight:400!important;gap:5px!important;white-space:nowrap!important}
body.job-details-page .service-contact-card .nsd-contact-actions .btn i{font-size:.72rem!important}
body.job-details-page .job-main-image-clickable{cursor:zoom-in!important}
body.job-lightbox-open{overflow:hidden!important}
.job-image-lightbox{position:fixed;inset:0;z-index:10000;display:none;align-items:center;justify-content:center;padding:34px;background:rgba(2,6,23,.88);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.job-image-lightbox.is-open{display:flex}
.job-image-lightbox img{display:block;max-width:min(1100px,92vw);max-height:88vh;width:auto;height:auto;object-fit:contain;border-radius:16px;box-shadow:0 26px 70px rgba(0,0,0,.48)}
.job-image-lightbox-close{position:fixed;top:22px;right:26px;width:42px;height:42px;border:1px solid rgba(255,255,255,.25);border-radius:50%;background:rgba(15,23,42,.72);color:#fff;font-size:1.15rem;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
@media(max-width:850px){
 body.job-details-page .service-summary-card{padding:22px!important}
 body.job-details-page .service-contact-card .contact-line{grid-template-columns:1fr!important;row-gap:6px!important}
 .job-image-lightbox{padding:18px}
 .job-image-lightbox-close{top:14px;right:14px}
}


/* =========================================================
   JOB DETAILS V2 — action rows + full gallery controls
   ========================================================= */

/* Middle card:
   Row 1 = Views + Favorite
   Row 2 = Price
*/
body.job-details-page .job-detail-action-row{
  display:grid!important;
  grid-template-columns:auto auto 1fr!important;
  grid-template-areas:
    "views favorite ."
    "price price ."!important;
  align-items:center!important;
  justify-content:start!important;
  column-gap:8px!important;
  row-gap:11px!important;
}

body.job-details-page .job-detail-action-row #jobViews{
  grid-area:views!important;
  margin:0!important;
  width:fit-content!important;
}

body.job-details-page .job-detail-action-row #favoriteInlineHost{
  grid-area:favorite!important;
  margin:0!important;
  width:fit-content!important;
}

body.job-details-page .job-detail-action-row #jobPay{
  grid-area:price!important;
  margin:0!important;
  width:fit-content!important;
  font-size:1rem!important;
  font-weight:500!important;
}

/* Put both row-1 pills on the same compact visual scale */
body.job-details-page .job-detail-action-row #jobViews,
body.job-details-page #favoriteInlineHost .btn,
body.job-details-page #favoriteInlineHost button,
body.job-details-page #favoriteInlineHost .favorite-btn,
body.job-details-page #favoriteInlineHost .favorite-button{
  min-height:30px!important;
  height:30px!important;
  padding:4px 11px!important;
  border-radius:9px!important;
  font-size:.76rem!important;
  line-height:1!important;
  font-weight:400!important;
}

/* Lightbox controls intentionally sit above the image */
.job-image-lightbox{
  z-index:2147483000!important;
}

.job-image-lightbox img{
  position:relative!important;
  z-index:1!important;
}

.job-image-lightbox-close,
.job-image-lightbox-nav{
  position:fixed!important;
  z-index:2147483640!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:54px!important;
  height:54px!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  background:#fff!important;
  color:#0f172a!important;
  box-shadow:0 10px 30px rgba(0,0,0,.30)!important;
  cursor:pointer!important;
  opacity:1!important;
  visibility:visible!important;
}

.job-image-lightbox-close{
  top:24px!important;
  right:28px!important;
  font-size:1.45rem!important;
}

.job-image-lightbox-prev{
  left:28px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  font-size:1.35rem!important;
}

.job-image-lightbox-next{
  right:28px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  font-size:1.35rem!important;
}

.job-image-lightbox-count{
  position:fixed!important;
  z-index:2147483640!important;
  left:50%!important;
  bottom:24px!important;
  transform:translateX(-50%)!important;
  color:#fff!important;
  font-size:1rem!important;
  font-weight:700!important;
  text-shadow:0 2px 10px rgba(0,0,0,.7)!important;
}

@media(max-width:850px){
 body.job-details-page .job-detail-action-row{
   grid-template-columns:auto auto!important;
   grid-template-areas:"views favorite" "price price"!important;
 }
 .job-image-lightbox-close{top:14px!important;right:14px!important}
 .job-image-lightbox-prev{left:14px!important}
 .job-image-lightbox-next{right:14px!important}
 .job-image-lightbox-close,.job-image-lightbox-nav{width:46px!important;height:46px!important}
 .job-image-lightbox-count{bottom:14px!important}
}


/* JOB DETAILS V3 — exact requested order */
body.job-details-page .job-detail-action-row{
  display:grid!important;
  grid-template-columns:max-content max-content!important;
  grid-template-rows:30px auto!important;
  grid-template-areas:
    "views favorite"
    "price price"!important;
  justify-content:start!important;
  align-items:center!important;
  gap:9px 8px!important;
  width:100%!important;
}
body.job-details-page .job-detail-action-row #jobViews{
  grid-area:views!important;
  display:inline-flex!important;
  width:max-content!important;
  max-width:max-content!important;
  margin:0!important;
}
body.job-details-page .job-detail-action-row #favoriteInlineHost{
  grid-area:favorite!important;
  display:inline-flex!important;
  width:max-content!important;
  max-width:max-content!important;
  margin:0!important;
}
body.job-details-page .job-detail-action-row #jobPay{
  grid-area:price!important;
  display:block!important;
  width:max-content!important;
  max-width:100%!important;
  margin:2px 0 0!important;
  padding:0!important;
  justify-self:start!important;
}

/* Close button must always receive clicks above every lightbox layer */
#jobImageLightbox .job-image-lightbox-close{
  pointer-events:auto!important;
  z-index:2147483647!important;
}
#jobImageLightboxImage{
  pointer-events:none!important;
}


/* =========================================================
   JOB DETAILS V4 — structural fix
   Row 1: Views + Favorite
   Row 2: Salary
   ========================================================= */
body.job-details-page .job-detail-action-stack{
  display:block!important;
  width:100%!important;
  margin:0 0 20px!important;
  padding:0 0 19px!important;
  border-bottom:1px solid rgba(255,255,255,.14)!important;
}
body.job-details-page .job-detail-pill-row{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:nowrap!important;
  gap:8px!important;
  width:100%!important;
  margin:0 0 10px!important;
}
body.job-details-page .job-detail-pill-row #jobViews,
body.job-details-page .job-detail-pill-row #favoriteInlineHost{
  display:inline-flex!important;
  flex:0 0 auto!important;
  width:auto!important;
  max-width:none!important;
  margin:0!important;
}
body.job-details-page .job-detail-price-row{
  display:block!important;
  width:100%!important;
  margin:0!important;
}
body.job-details-page .job-detail-price-row #jobPay{
  display:block!important;
  width:auto!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  font-size:1rem!important;
  font-weight:500!important;
}

/* X and arrows are above the image and clickable */
#jobImageLightbox .job-image-lightbox-close,
#jobImageLightbox .job-image-lightbox-nav{
  pointer-events:auto!important;
  z-index:2147483647!important;
}
#jobImageLightboxImage{
  pointer-events:none!important;
}


/* =====================================================================
   ROOMMATE DETAILS — SUMMARY POLISH (2026-10-07)
   Compact views/favorite row, price on second line, description panel.
   ===================================================================== */
body.roommate-details-page .rd3-summary {
  display: flex !important;
  flex-direction: column !important;
}

body.roommate-details-page .rd3-summary .roommate-modern-tags {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 14px 0 14px !important;
}

body.roommate-details-page .roommate-summary-actions {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 7px !important;
  width: auto !important;
  min-width: 0 !important;
}

body.roommate-details-page .rd3-summary .roommate-modern-tags #listingViews,
body.roommate-details-page .rd3-summary .roommate-modern-tags #favoriteInlineHost,
body.roommate-details-page .rd3-summary .roommate-modern-tags #favoriteInlineHost .detail-favorite-btn {
  height: 25px !important;
  min-height: 25px !important;
  max-height: 25px !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  font-size: .60rem !important;
  line-height: 1 !important;
  font-weight: 400 !important;
  white-space: nowrap !important;
}

body.roommate-details-page .rd3-summary .roommate-modern-tags #listingViews,
body.roommate-details-page .rd3-summary .roommate-modern-tags #favoriteInlineHost .detail-favorite-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 9px !important;
  gap: 4px !important;
  border-radius: 999px !important;
}

body.roommate-details-page .rd3-summary .roommate-modern-tags #listingPrice {
  display: block !important;
  order: 2 !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  font-size: .92rem !important;
  line-height: 1.3 !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
}

body.roommate-details-page .roommate-description-block {
  margin-top: 4px !important;
  padding: 14px 16px 15px !important;
  border-top: 1px solid rgba(255,255,255,.22) !important;
  background: rgba(15,23,42,.10) !important;
  border-radius: 14px !important;
}

body.roommate-details-page .roommate-description-heading {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 9px !important;
  color: #f8fafc !important;
  font-size: .82rem !important;
  font-weight: 600 !important;
}

body.roommate-details-page .roommate-description-heading i {
  color: #60a5fa !important;
  font-size: .78rem !important;
}

body.roommate-details-page .roommate-description-block .roommate-modern-description {
  margin: 0 !important;
  padding: 0 !important;
  color: #f1f5f9 !important;
  font-size: .90rem !important;
  line-height: 1.65 !important;
  font-weight: 400 !important;
  overflow-wrap: anywhere !important;
}

@media (max-width: 760px) {
  body.roommate-details-page .roommate-summary-actions {
    flex-wrap: wrap !important;
  }
  body.roommate-details-page .roommate-description-block {
    padding: 12px 13px 13px !important;
  }
}

/* ROOMMATE DETAILS — keep views, favorite and price on one line */
body.roommate-details-page .rd3-summary .roommate-modern-tags {
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 7px !important;
}
body.roommate-details-page .rd3-summary .roommate-modern-tags .roommate-summary-actions {
  display: contents !important;
}
body.roommate-details-page .rd3-summary .roommate-modern-tags #listingPrice {
  order: initial !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  font-size: .92rem !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
}
body.roommate-details-page .rd3-summary .roommate-modern-tags #favoriteInlineHost,
body.roommate-details-page .rd3-summary .roommate-modern-tags #favoriteInlineHost .detail-favorite-btn {
  height: 23px !important;
  min-height: 23px !important;
  max-height: 23px !important;
  font-weight: 400 !important;
  font-size: .60rem !important;
}
body.roommate-details-page .rd3-summary .roommate-modern-tags #favoriteInlineHost .detail-favorite-btn {
  padding: 0 8px !important;
}
@media (max-width: 650px) {
  body.roommate-details-page .rd3-summary .roommate-modern-tags {
    flex-wrap: wrap !important;
  }
}


/* ROOMMATE DETAILS — Favorite pill match compact Views pill */
body.roommate-details-page #favoriteInlineHost .btn,
body.roommate-details-page #favoriteInlineHost button,
body.roommate-details-page #favoriteInlineHost .favorite-btn,
body.roommate-details-page #favoriteInlineHost .favorite-button {
  width: auto !important;
  min-width: 0 !important;
  min-height: 23px !important;
  height: 23px !important;
  padding: 2px 8px !important;
  border-radius: 999px !important;
  font-size: .72rem !important;
  line-height: 1 !important;
  font-weight: 400 !important;
  white-space: nowrap !important;
  gap: 4px !important;
}

body.roommate-details-page #favoriteInlineHost .btn i,
body.roommate-details-page #favoriteInlineHost button i,
body.roommate-details-page #favoriteInlineHost .favorite-btn i,
body.roommate-details-page #favoriteInlineHost .favorite-button i {
  font-size: .70rem !important;
}


/* ROOMMATE DETAILS — final pill/description polish */

/* Views pill: regular weight and same white treatment as Favorite */
body.roommate-details-page #roommateViews,
body.roommate-details-page .roommate-detail-action-row #roommateViews,
body.roommate-details-page .listing-views.detail-views {
  background: #ffffff !important;
  color: #334155 !important;
  font-weight: 400 !important;
  border-color: rgba(255,255,255,.85) !important;
}

body.roommate-details-page #roommateViews *,
body.roommate-details-page .roommate-detail-action-row #roommateViews * {
  color: #334155 !important;
  font-weight: 400 !important;
}

/* Remove horizontal divider immediately under the Description area */
body.roommate-details-page .roommate-description-block,
body.roommate-details-page .roommate-description-block #roommateDescription {
  border-bottom: 0 !important;
}

body.roommate-details-page .roommate-detail-action-row {
  border-bottom: 0 !important;
}


/* ROOMMATE DETAILS — corrected selectors */

/* Actual Views element is #listingViews */
body.roommate-details-page #listingViews,
body.roommate-details-page .rd3-summary #listingViews,
body.roommate-details-page .rd3-summary .roommate-modern-tags #listingViews {
  background: #ffffff !important;
  color: #334155 !important;
  border-color: rgba(255,255,255,.85) !important;
  font-weight: 400 !important;
}

body.roommate-details-page #listingViews *,
body.roommate-details-page .rd3-summary #listingViews * {
  color: #334155 !important;
  font-weight: 400 !important;
}

/* The line shown above the description text is the block's top border */
body.roommate-details-page .roommate-description-block {
  border-top: 0 !important;
  border-bottom: 0 !important;
}


/* ROOMMATE DETAILS — remove Description underline + equalize pills */

/* Remove the thin underline directly beneath the Description heading */
body.roommate-details-page .roommate-description-heading,
body.roommate-details-page .roommate-description-block .roommate-description-heading {
  border-bottom: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

/* Views and Favorite: exact same height */
body.roommate-details-page #listingViews,
body.roommate-details-page #favoriteInlineHost .btn,
body.roommate-details-page #favoriteInlineHost button,
body.roommate-details-page #favoriteInlineHost .favorite-btn,
body.roommate-details-page #favoriteInlineHost .favorite-button {
  box-sizing: border-box !important;
  min-height: 23px !important;
  height: 23px !important;
  padding-top: 2px !important;
  padding-bottom: 2px !important;
  line-height: 1 !important;
  font-weight: 400 !important;
  align-items: center !important;
}


/* =========================================================
   ROOMMATE DETAILS — exact pill parity + no Description rule
   ========================================================= */

/* Give Views and Favorite the exact same rendered box model. */
body.roommate-details-page #listingViews,
body.roommate-details-page #favoriteInlineHost > *,
body.roommate-details-page #favoriteInlineHost .btn,
body.roommate-details-page #favoriteInlineHost button,
body.roommate-details-page #favoriteInlineHost .favorite-btn,
body.roommate-details-page #favoriteInlineHost .favorite-button {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 24px !important;
  min-height: 24px !important;
  max-height: 24px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  border: 1px solid rgba(255,255,255,.92) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #334155 !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 22px !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

body.roommate-details-page #listingViews *,
body.roommate-details-page #favoriteInlineHost > * *,
body.roommate-details-page #favoriteInlineHost .btn *,
body.roommate-details-page #favoriteInlineHost button * {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  color: #334155 !important;
}

/* Preserve a small gap between icon and text without changing pill height. */
body.roommate-details-page #listingViews,
body.roommate-details-page #favoriteInlineHost > *,
body.roommate-details-page #favoriteInlineHost .btn,
body.roommate-details-page #favoriteInlineHost button {
  gap: 5px !important;
}

/* Remove every rule that can create the visible horizontal line
   around/below the Description heading. */
body.roommate-details-page .roommate-description-block,
body.roommate-details-page .roommate-description-heading,
body.roommate-details-page .roommate-description-text,
body.roommate-details-page #roommateDescription {
  border-top: 0 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  border-left: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  text-decoration: none !important;
}

body.roommate-details-page .roommate-description-heading::before,
body.roommate-details-page .roommate-description-heading::after,
body.roommate-details-page .roommate-description-block::before,
body.roommate-details-page .roommate-description-block::after {
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  content: none !important;
}


/* ROOMMATE DETAILS — selected Favorite state.
   Preserve the compact white pill; highlight only the saved heart. */
body.roommate-details-page #favoriteInlineHost .roommate-favorite-selected i,
body.roommate-details-page #favoriteInlineHost .is-favorite i,
body.roommate-details-page #favoriteInlineHost [aria-pressed="true"] i {
  color: #dc2626 !important;
  font-weight: 900 !important;
}

body.roommate-details-page #favoriteInlineHost .roommate-favorite-selected,
body.roommate-details-page #favoriteInlineHost .is-favorite,
body.roommate-details-page #favoriteInlineHost [aria-pressed="true"] {
  background: #ffffff !important;
  color: #334155 !important;
  border-color: rgba(255,255,255,.92) !important;
  font-weight: 400 !important;
}


/* ROOMMATE DETAILS — keep favorite highlight, remove Description separator */
body.roommate-details-page .roommate-description-block,
body.roommate-details-page .roommate-description-heading,
body.roommate-details-page #listingDescription,
body.roommate-details-page .roommate-description-text {
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  outline: none !important;
}

body.roommate-details-page .roommate-description-block::before,
body.roommate-details-page .roommate-description-block::after,
body.roommate-details-page .roommate-description-heading::before,
body.roommate-details-page .roommate-description-heading::after,
body.roommate-details-page #listingDescription::before,
body.roommate-details-page #listingDescription::after {
  display: none !important;
  content: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* =========================================================
   JOB DETAILS — FINAL SUMMARY MATCH TO ROOMMATE DETAILS
   2026-10-07
   ========================================================= */
body.job-details-page .job-detail-action-stack{
  display:block!important;
  width:100%!important;
  margin:14px 0 14px!important;
  padding:0!important;
  border:0!important;
}

body.job-details-page .job-detail-pill-row{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:nowrap!important;
  gap:7px!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}

/* Views + Favorite: exact same compact pill dimensions as Roommate Details */
body.job-details-page #jobViews,
body.job-details-page #favoriteInlineHost > *,
body.job-details-page #favoriteInlineHost .btn,
body.job-details-page #favoriteInlineHost button,
body.job-details-page #favoriteInlineHost .detail-favorite-btn,
body.job-details-page #favoriteInlineHost .favorite-btn,
body.job-details-page #favoriteInlineHost .favorite-button{
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  height:24px!important;
  min-height:24px!important;
  max-height:24px!important;
  margin:0!important;
  padding:0 10px!important;
  border:1px solid rgba(255,255,255,.92)!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#334155!important;
  font-family:inherit!important;
  font-size:12px!important;
  font-weight:400!important;
  line-height:22px!important;
  vertical-align:middle!important;
  white-space:nowrap!important;
  gap:5px!important;
  appearance:none!important;
  -webkit-appearance:none!important;
}

body.job-details-page #jobViews *,
body.job-details-page #favoriteInlineHost > * *,
body.job-details-page #favoriteInlineHost .btn *,
body.job-details-page #favoriteInlineHost button *{
  margin:0!important;
  padding:0!important;
  font-size:12px!important;
  font-weight:400!important;
  line-height:1!important;
  color:#334155!important;
}

/* Salary: same visual treatment as Roommate price and stay on this same row */
body.job-details-page .job-detail-pill-row #jobPay,
body.job-details-page #jobPay.details-price{
  display:inline-flex!important;
  align-items:center!important;
  flex:0 0 auto!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  color:#f8fafc!important;
  font-size:.92rem!important;
  font-weight:500!important;
  line-height:1.3!important;
  white-space:nowrap!important;
}

/* Remove the separator/rule above Description without changing its panel. */
body.job-details-page .job-description-block,
body.job-details-page .job-description-heading,
body.job-details-page #jobDescription{
  border-top:0!important;
  border-bottom:0!important;
  box-shadow:none!important;
  outline:0!important;
  text-decoration:none!important;
}
body.job-details-page .job-description-block::before,
body.job-details-page .job-description-block::after,
body.job-details-page .job-description-heading::before,
body.job-details-page .job-description-heading::after{
  display:none!important;
  content:none!important;
  border:0!important;
  box-shadow:none!important;
}

/* Keep Saved state: white pill with red heart. */
body.job-details-page #favoriteInlineHost .job-favorite-selected,
body.job-details-page #favoriteInlineHost .is-favorite,
body.job-details-page #favoriteInlineHost [aria-pressed="true"]{
  background:#fff!important;
  color:#334155!important;
  border-color:rgba(255,255,255,.92)!important;
  font-weight:400!important;
}
body.job-details-page #favoriteInlineHost .job-favorite-selected i,
body.job-details-page #favoriteInlineHost .is-favorite i,
body.job-details-page #favoriteInlineHost [aria-pressed="true"] i{
  color:#dc2626!important;
  font-weight:900!important;
}

@media(max-width:650px){
  body.job-details-page .job-detail-pill-row{
    flex-wrap:wrap!important;
  }
}


/* =========================================================
   NANNY DETAILS — FINAL POLISH (merged into main style.css)
   ========================================================= */

/* NANNY DETAILS — approved Roommate/Job detail-page treatment */

body.nanny-details-page .nanny-details-big-container {
  padding: 24px !important;
  border-radius: 24px !important;
  overflow: visible !important;
}
body.nanny-details-page .nanny-details-big-container .details-card {
  background: rgba(255,255,255,.10) !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  box-shadow: none !important;
}

/* Middle/profile section */
body.nanny-details-page .nsd-profile-inner-card { padding: 24px 26px !important; }
body.nanny-details-page #fullName { margin: 0 0 7px !important; }
body.nanny-details-page .nanny-location { margin: 0 0 18px !important; }

body.nanny-details-page .nanny-detail-action-row {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 0 0 24px !important;
}
body.nanny-details-page .nanny-detail-action-row #nannyViews,
body.nanny-details-page .nanny-detail-action-row #favoriteInlineHost {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
}

/* Views + Favorite: identical compact pills */
body.nanny-details-page #nannyViews,
body.nanny-details-page #favoriteInlineHost > * {
  box-sizing: border-box !important;
  height: 24px !important;
  min-height: 24px !important;
  line-height: 1 !important;
  padding: 0 11px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  margin: 0 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  white-space: nowrap !important;
  background: #fff !important;
  color: #334155 !important;
  border: 1px solid rgba(255,255,255,.92) !important;
}
body.nanny-details-page #nannyViews i { color: #94a3b8 !important; }

/* Rate: plain light text, same idea as Roommate price */
body.nanny-details-page .nanny-price-detail {
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 24px !important;
  white-space: nowrap !important;
  background: transparent !important;
  border: 0 !important;
}

/* Saved state: red filled heart, pill stays compact and white */
body.nanny-details-page #favoriteInlineHost .nanny-favorite-selected,
body.nanny-details-page #favoriteInlineHost .is-favorite,
body.nanny-details-page #favoriteInlineHost [aria-pressed="true"] {
  background: #fff !important;
  color: #334155 !important;
  font-weight: 400 !important;
}
body.nanny-details-page #favoriteInlineHost .nanny-favorite-selected i,
body.nanny-details-page #favoriteInlineHost .is-favorite i,
body.nanny-details-page #favoriteInlineHost [aria-pressed="true"] i {
  color: #dc2626 !important;
  font-weight: 900 !important;
}

/* Description: clean heading, no divider/underline */
body.nanny-details-page .nanny-description-section {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}
body.nanny-details-page .nanny-description-section::before,
body.nanny-details-page .nanny-description-section::after,
body.nanny-details-page .nanny-description-title::before,
body.nanny-details-page .nanny-description-title::after {
  content: none !important;
  display: none !important;
}
body.nanny-details-page .nanny-description-title {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #fff !important;
}
body.nanny-details-page .nanny-description-title i { color: #38a3ff !important; }
body.nanny-details-page .nanny-bio {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  line-height: 1.65 !important;
}

/* Contact card: keep values aligned and buttons compact */
body.nanny-details-page .nsd-contact-lines .contact-line {
  display: grid !important;
  grid-template-columns: minmax(105px, auto) minmax(0,1fr) !important;
  align-items: center !important;
  column-gap: 12px !important;
}
body.nanny-details-page .nsd-contact-lines .contact-line > span {
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
}
body.nanny-details-page .nanny-contact-buttons {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}
body.nanny-details-page .nanny-contact-buttons .btn {
  width: auto !important;
  min-width: 0 !important;
  min-height: 34px !important;
  padding: 7px 14px !important;
}

/* Uploaded photo pop-out */
body.nanny-details-page .nanny-photo-zoom-enabled { cursor: zoom-in !important; }
body.nanny-details-page .nanny-photo-lightbox {
  position: fixed !important;
  inset: 0 !important;
  z-index: 100000 !important;
  background: rgba(2,8,23,.94) !important;
}
body.nanny-details-page .nanny-photo-lightbox.open {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
body.nanny-details-page .nanny-lightbox-stage {
  position: relative !important;
  z-index: 100001 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: min(86vw,1100px) !important;
  height: 84vh !important;
}
body.nanny-details-page .nanny-lightbox-stage img {
  display: block !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  border-radius: 14px !important;
}
body.nanny-details-page .nanny-lightbox-close,
body.nanny-details-page .nanny-lightbox-nav {
  position: fixed !important;
  z-index: 100005 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48px !important;
  height: 48px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #0f172a !important;
  opacity: 1 !important;
  visibility: visible !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}
body.nanny-details-page .nanny-lightbox-close { top: 22px !important; right: 22px !important; }
body.nanny-details-page .nanny-lightbox-prev {
  left: 18px !important; top: 50% !important; transform: translateY(-50%) !important;
}
body.nanny-details-page .nanny-lightbox-next {
  right: 18px !important; top: 50% !important; transform: translateY(-50%) !important;
}
body.nanny-details-page .nanny-lightbox-counter {
  position: fixed !important;
  z-index: 100005 !important;
  left: 50% !important;
  bottom: 18px !important;
  transform: translateX(-50%) !important;
  color: #fff !important;
  font-weight: 600 !important;
}

@media (max-width:850px) {
  body.nanny-details-page .nanny-details-big-container {
    padding: 16px !important;
    border-radius: 18px !important;
  }
  body.nanny-details-page .nanny-detail-action-row { flex-wrap: wrap !important; }
  body.nanny-details-page .nsd-profile-inner-card { padding: 18px !important; }
  body.nanny-details-page .nanny-lightbox-close { top: 14px !important; right: 14px !important; }
  body.nanny-details-page .nanny-lightbox-prev { left: 10px !important; }
  body.nanny-details-page .nanny-lightbox-next { right: 10px !important; }
}


/* =========================================================
   SERVICE DETAILS — PRICE + VIEWS + FAVORITE, ONE ROW
   Views and Favorite use matching white pills.
   ========================================================= */
body.service-details-page .service-details-big-container {
  padding: 24px !important;
  border-radius: 24px !important;
  overflow: visible !important;
}
body.service-details-page .service-details-big-container .details-card {
  background: rgba(255,255,255,.10) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  box-shadow: none !important;
}

/* PRICE | VIEWS | FAVORITE — one horizontal row */
body.service-details-page .service-summary-card .service-price-action-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 10px 0 18px !important;
  padding: 0 !important;
  border: 0 !important;
}

/* Price stays plain white text */
body.service-details-page .service-summary-card #servicePrice.details-price {
  order: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: max-content !important;
  height: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #f8fafc !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 24px !important;
  white-space: nowrap !important;
}

/* Views outer host — SAME white pill background as Favorite */
body.service-details-page .service-summary-card #serviceViews {
  order: 2 !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 24px !important;
  min-height: 24px !important;
  max-height: 24px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  border: 1px solid rgba(255,255,255,.92) !important;
  border-radius: 999px !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #334155 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 22px !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}

/* viewsHtml() inserts another .listing-views inside #serviceViews.
   Make that inner element transparent so the OUTER white pill remains visible. */
body.service-details-page .service-summary-card #serviceViews > .listing-views,
body.service-details-page .service-summary-card #serviceViews .listing-views {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 5px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #334155 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}
body.service-details-page .service-summary-card #serviceViews i {
  color: #64748b !important;
  font-size: 12px !important;
}

/* Favorite — same dimensions/background as Views */
body.service-details-page .service-summary-card #favoriteInlineHost {
  order: 3 !important;
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.service-details-page .service-summary-card #favoriteInlineHost > *,
body.service-details-page .service-summary-card #favoriteInlineHost button,
body.service-details-page .service-summary-card #favoriteInlineHost .btn,
body.service-details-page .service-summary-card #favoriteInlineHost .detail-favorite-btn,
body.service-details-page .service-summary-card #favoriteInlineHost .favorite-btn,
body.service-details-page .service-summary-card #favoriteInlineHost .favorite-button {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  height: 24px !important;
  min-height: 24px !important;
  max-height: 24px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  gap: 5px !important;
  border: 1px solid rgba(255,255,255,.92) !important;
  border-radius: 999px !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #334155 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 22px !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}

/* Description, no separator */
body.service-details-page .service-description-block,
body.service-details-page .service-description-heading,
body.service-details-page #serviceDescription {
  border: 0 !important;
  box-shadow: none !important;
}
body.service-details-page .service-description-heading {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 0 10px !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}
body.service-details-page .service-description-heading i {
  color: #38a3ff !important;
}

@media (max-width: 650px) {
  body.service-details-page .service-summary-card .service-price-action-row {
    flex-wrap: wrap !important;
  }
}


/* =========================================================
   SERVICE DETAILS — CACHE-SAFE FINAL VISUAL FIX
   CSS ONLY: do not alter service loading logic.
   ========================================================= */

/* Views pill — visibly identical white background treatment to Favorite. */
body.service-details-page .service-summary-card .service-price-action-row > #serviceViews {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  height: 24px !important;
  min-height: 24px !important;
  max-height: 24px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  border: 1px solid #ffffff !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #475569 !important;
  opacity: 1 !important;
  box-shadow: none !important;
  white-space: nowrap !important;
}

/* The JS places a second .listing-views inside #serviceViews.
   It must stay transparent so the white OUTER pill is visible. */
body.service-details-page .service-summary-card .service-price-action-row > #serviceViews > .listing-views {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #475569 !important;
  opacity: 1 !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
}
body.service-details-page .service-summary-card .service-price-action-row > #serviceViews i {
  color: #64748b !important;
  opacity: 1 !important;
}

/* Saved Favorite — white pill with a RED solid heart. */
body.service-details-page .service-summary-card #favoriteInlineHost .detail-favorite-btn.is-favorite,
body.service-details-page .service-summary-card #favoriteInlineHost .favorite-btn.is-favorite,
body.service-details-page .service-summary-card #favoriteInlineHost button.is-favorite,
body.service-details-page .service-summary-card #favoriteInlineHost [aria-pressed="true"] {
  background: #ffffff !important;
  color: #334155 !important;
}
body.service-details-page .service-summary-card #favoriteInlineHost .detail-favorite-btn.is-favorite .fa-heart,
body.service-details-page .service-summary-card #favoriteInlineHost .favorite-btn.is-favorite .fa-heart,
body.service-details-page .service-summary-card #favoriteInlineHost button.is-favorite .fa-heart,
body.service-details-page .service-summary-card #favoriteInlineHost [aria-pressed="true"] .fa-heart {
  color: #dc2626 !important;
  font-weight: 900 !important;
}


/* =========================================================
   SERVICE DETAILS — FINAL ORDER + LOCATION EMPHASIS
   CSS ONLY. Preserve service loading logic.
   ========================================================= */

/* Requested order: Views | Favorite | Price */
body.service-details-page .service-summary-card .service-price-action-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
}
body.service-details-page .service-summary-card #serviceViews {
  order: 1 !important;
}
body.service-details-page .service-summary-card #favoriteInlineHost {
  order: 2 !important;
}
body.service-details-page .service-summary-card #servicePrice {
  order: 3 !important;
  margin-left: 1px !important;
}

/* City, State, Country: bold and slightly separated from category/subcategory */
body.service-details-page .service-summary-card #serviceLocation {
  display: block !important;
  margin: 0 0 7px !important;
  color: #f8fafc !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}

/* Category row starts a little lower than location. */
body.service-details-page .service-summary-card #serviceCategory {
  display: block !important;
  margin-top: 0 !important;
  margin-bottom: 8px !important;
}

/* Keep all three action items on one line at desktop/tablet widths. */
@media (min-width: 651px) {
  body.service-details-page .service-summary-card .service-price-action-row {
    flex-wrap: nowrap !important;
  }
}
@media (max-width: 650px) {
  body.service-details-page .service-summary-card .service-price-action-row {
    flex-wrap: wrap !important;
  }
}


/* SERVICE DETAILS — bold location while preserving its original muted color */
body.service-details-page .service-summary-card #serviceLocation {
  font-weight: 700 !important;
  color: inherit !important;
}


/* SERVICE DETAILS — location: bold but preserve the original muted gray appearance */
body.service-details-page .service-summary-card #serviceLocation,
body.service-details-page .service-summary-card #serviceLocation.details-meta {
  font-weight: 700 !important;
  color: #cbd5e1 !important;
  opacity: 1 !important;
}

/* SERVICE DETAILS: approved order and Roommate-style description panel */
body.service-details-page .service-summary-card .service-price-action-row {display:flex!important;align-items:center!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:8px!important;}
body.service-details-page .service-summary-card #serviceViews {order:1!important;}
body.service-details-page .service-summary-card #favoriteInlineHost {order:2!important;}
body.service-details-page .service-summary-card #servicePrice {order:3!important;margin:0!important;color:#f8fafc!important;white-space:nowrap!important;}
body.service-details-page .service-description-block {margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;}
body.service-details-page .service-description-heading {margin:0 0 10px!important;}
body.service-details-page .service-description-block #serviceDescription {display:block!important;margin:0!important;padding:13px 16px!important;border:0!important;border-radius:12px!important;background:rgba(255,255,255,.055)!important;box-shadow:none!important;color:#f8fafc!important;line-height:1.65!important;white-space:pre-line!important;}
@media(max-width:650px){body.service-details-page .service-summary-card .service-price-action-row{flex-wrap:wrap!important;}}


/* MINALESH — Nanny and Service description panels match Roommate exactly.
   Roommate reference: background rgba(15,23,42,.10), radius 14px. */
body.nanny-details-page .nsd-summary #bio.nanny-bio,
body.service-details-page .service-description-block #serviceDescription {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 14px 16px 15px !important;
  background: rgba(15,23,42,.10) !important;
  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  color: #f1f5f9 !important;
  font-size: .90rem !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  overflow-wrap: anywhere !important;
}

/* Description heading AND text share the Roommate-style panel. */
body.service-details-page .service-description-block,
body.nanny-details-page .nanny-description-section {
  background: rgba(15,23,42,.10) !important;
  border: 0 !important;
  border-radius: 14px !important;
  padding: 14px 16px 15px !important;
  box-shadow: none !important;
}
body.service-details-page .service-description-block #serviceDescription,
body.nanny-details-page .nanny-description-section #bio,
body.nanny-details-page .nanny-description-section .nanny-bio {
  background: transparent !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.service-details-page .service-description-heading,
body.nanny-details-page .nanny-description-section .nanny-description-title {
  margin: 0 0 9px !important;
}

/* NANNY/SERVICE DETAILS — one unified Description panel, heading included.
   Override earlier nested bio backgrounds without touching other pages. */
body.nanny-details-page .nsd-summary .nanny-description-section,
body.service-details-page .service-summary-card .service-description-block {
  background: rgba(15,23,42,.10) !important;
  border: 0 !important;
  border-radius: 14px !important;
  padding: 14px 16px 15px !important;
  box-shadow: none !important;
}
body.nanny-details-page .nsd-summary .nanny-description-section #bio.nanny-bio,
body.nanny-details-page .nsd-summary .nanny-description-section .nanny-bio,
body.service-details-page .service-summary-card .service-description-block #serviceDescription {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}
body.nanny-details-page .nanny-description-section .nanny-description-title,
body.service-details-page .service-description-block .service-description-heading {
  margin: 0 0 9px !important;
}


/* ITEM DETAILS — align metadata and actions with other details pages.
   Description panel intentionally untouched. */
body.item-details-page .service-summary-card #itemCategory,
body.item-details-page .service-summary-card #itemCategory * {
  font-weight: 400 !important;
}
body.item-details-page .service-summary-card .service-price-action-row,
body.item-details-page .service-summary-card .item-detail-action-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  padding: 0 !important;
  border: 0 !important;
}
body.item-details-page .service-summary-card #itemViews { order: 1 !important; }
body.item-details-page .service-summary-card #favoriteInlineHost { order: 2 !important; }
body.item-details-page .service-summary-card #itemPrice {
  order: 3 !important;
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: #f8fafc !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 24px !important;
  white-space: nowrap !important;
}
body.item-details-page .service-summary-card #itemViews,
body.item-details-page .service-summary-card #favoriteInlineHost button,
body.item-details-page .service-summary-card #favoriteInlineHost .btn,
body.item-details-page .service-summary-card #favoriteInlineHost .favorite-btn,
body.item-details-page .service-summary-card #favoriteInlineHost .favorite-button {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  height: 24px !important;
  min-height: 24px !important;
  max-height: 24px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  gap: 5px !important;
  background: #fff !important;
  border: 1px solid #fff !important;
  border-radius: 999px !important;
  color: #334155 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 22px !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}
body.item-details-page .service-summary-card #itemViews .listing-views {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  color: #334155 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
body.item-details-page .service-summary-card #itemViews *,
body.item-details-page .service-summary-card #favoriteInlineHost button *,
body.item-details-page .service-summary-card #favoriteInlineHost .btn * {
  font-size: 12px !important;
  font-weight: 400 !important;
}
body.item-details-page .service-summary-card #favoriteInlineHost .is-favorite .fa-heart,
body.item-details-page .service-summary-card #favoriteInlineHost [aria-pressed="true"] .fa-heart {
  color: #dc2626 !important;
  font-weight: 900 !important;
}
@media(max-width:650px){
  body.item-details-page .service-summary-card .service-price-action-row,
  body.item-details-page .service-summary-card .item-detail-action-row {
    flex-wrap: wrap !important;
  }
}


/* JOB DETAILS — compact company spacing and consistent action order */
body.job-details-page .service-summary-card #jobCompany {
  font-weight: 400 !important;
  margin-bottom: 7px !important;
  /* Existing muted company color intentionally preserved. */
}
body.job-details-page .service-summary-card .job-detail-action-stack {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
body.job-details-page .service-summary-card .job-detail-pill-row,
body.job-details-page .service-summary-card .service-price-action-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}
body.job-details-page .service-summary-card #jobViews { order: 1 !important; }
body.job-details-page .service-summary-card #favoriteInlineHost { order: 2 !important; }
body.job-details-page .service-summary-card #jobPay {
  order: 3 !important;
  margin: 0 !important;
  color: #f8fafc !important;
  white-space: nowrap !important;
}
@media(max-width:650px) {
 body.job-details-page .service-summary-card .job-detail-pill-row,
 body.job-details-page .service-summary-card .service-price-action-row { flex-wrap: wrap !important; }
}

/* My Listings — all listing photos: stretch to fill existing box only. */
body.my-listings-page .my-listing-image img {
  object-fit: fill !important;
  object-position: center !important;
}


/* ============================================================
   MINALESH — LISTING PHOTOS FILL THEIR EXISTING IMAGE BOXES
   Applies to displayed listing photos only, site-wide.
   Does not alter upload previews, logos, icons or lightboxes.
   ============================================================ */
body .small-listing-img > img,
body .nanny-img > img,
body .service-img > img,
body .my-listing-image > img,
body .roommate-main-photo > img,
body .nanny-main-photo > img,
body .main-photo > img,
body .nanny-spotlight-image > img,
body .service-spotlight-image > img,
body .roommate-modern-gallery .roommate-main-photo > img,
body .favorite-listing-card .my-listing-image > img {
  width: 100% !important;
  height: 100% !important;
  object-fit: fill !important;
}

/* Item Details only: show full listing image in existing photo box. */
body.item-details-page #mainPhoto.service-main-photo img {
  object-fit: fill !important;
}


/* Service Details only — fill existing main photo and thumbnail boxes. */
body.service-details-page #mainPhoto.service-main-photo img {
  object-fit: fill !important;
}
body.service-details-page #thumbnailRow.service-thumbnail-row .thumb img {
  object-fit: fill !important;
}



/* MinAlesh homepage: mobile featured image only.
   Preserve the full image without cropping; desktop remains unchanged. */
@media (max-width: 700px) {
  body.index-page.full-market-home
  #latestImageSlider.hero-image-slider.marketplace-featured-slider {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
  }

  body.index-page.full-market-home
  #latestImageSlider .hero-slide img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: contain !important;
    object-position: center center !important;
  }
}


/* MinAlesh listing descriptions: desktop resize in both directions;
   touch/mobile remains vertical. Scoped to posting/editing forms only. */
@media (min-width: 851px) and (pointer: fine) {
  body.post-roommate-page #roommateForm textarea#description,
  body.edit-roommate-page textarea#description,
  body.post-nanny-page #nannyForm textarea#bio,
  body.edit-nanny-page textarea#bio,
  body.post-service-page #serviceForm textarea[name="serviceDescription"],
  body.edit-service-page textarea[name="serviceDescription"],
  body.post-item-page #itemForm textarea#itemDescription,
  body.edit-item-page #editItemForm textarea#description,
  body.post-job-page #jobForm textarea#jobDescription,
  body.edit-job-page #editJobForm textarea#jobDescription,
  body.post-roommate-page .minalesh-description-shell textarea,
  body.edit-roommate-page .minalesh-description-shell textarea,
  body.post-nanny-page .minalesh-description-shell textarea,
  body.edit-nanny-page .minalesh-description-shell textarea,
  body.post-service-page .minalesh-description-shell textarea,
  body.edit-service-page .minalesh-description-shell textarea,
  body.post-item-page .minalesh-description-shell textarea,
  body.edit-item-page .minalesh-description-shell textarea,
  body.post-job-page .minalesh-description-shell textarea,
  body.edit-job-page .minalesh-description-shell textarea {
    resize: both !important;
    overflow: auto;
    max-width: 100% !important;
    min-width: min(240px, 100%);
  }
}
@media (max-width: 850px), (pointer: coarse) {
  body .minalesh-description-shell textarea {
    resize: vertical !important;
  }
}
