.content-panel,
.contact-form,
.custom-form,
.lead-address,
.lead-pop-up,
.home-evaluation-form,
.home-evaluation-form-variant,
.contact-bar,
.testimonials,
.music-widget,
.legal-content,
.split-content-panel,
.video-widget,
.pages-grid,
.roster,
.user-info,
.mls-featured-properties,
.mls-registration,
.mls-community,
.my-location-map,
.social-share,
.navigation-agent-listings,
.virtual-tours-featured,
.virtual-tours-property {
  padding: 3rem 0;
  margin-bottom: 3rem;
}

.content-panel:last-child,
.contact-form:last-child,
.custom-form:last-child,
.lead-address:last-child,
.lead-pop-up:last-child,
.home-evaluation-form:last-child,
.home-evaluation-form-variant:last-child,
.contact-bar:last-child,
.testimonials:last-child,
.music-widget:last-child,
.legal-content:last-child,
.split-content-panel:last-child,
.video-widget:last-child,
.pages-grid:last-child,
.roster:last-child,
.user-info:last-child,
.mls-featured-properties:last-child,
.mls-registration:last-child,
.mls-community:last-child,
.my-location-map:last-child,
.social-share:last-child,
.navigation-agent-listings:last-child,
.virtual-tours-featured:last-child,
.virtual-tours-property:last-child {
  margin-bottom: 0;
}

.widget__title,
.widget__panel-title,
[class$=-panel] h2,
[class$=-form] h2,
[class$=-widget] h2,
[class$=-roster] h2,
[class$=-search] h2,
[class$=-properties] h2,
[class$=-info] h2,
[class$=-gallery] h2,
[class$=-collection] h2,
[class$=-form] h2,
.content-panel h2,
.contact-form h2,
.custom-form h2,
.testimonials h2,
.video-widget h2,
.user-info h2,
.roster h2,
.pages-grid h2,
.mls-search h2,
.mls-featured-properties h2,
.home-evaluation-form h2,
.lead-address h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #5e214d;
}

.widget__subtitle,
[class$=-form] > p:first-of-type,
[class$=-search] > p {
  color: #6b6b6b;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

[class$=__placeholder],
[class$=__shell] p {
  color: #6b6b6b;
  font-size: 0.875rem;
  font-style: italic;
  padding: 1.5rem;
  background: #f0f0f0;
  border-radius: 0.5rem;
}

.form-field,
[class$=-form] __field,
[class$=-form] .custom-form__field,
[class$=-form] .lead-address__field,
[class$=-form] .home-evaluation-form__field {
  margin-bottom: 1.5rem;
}

.form-field__label,
.form-field label,
[class$=-form] label,
[class$=-form] label {
  display: block;
  font-weight: 500;
  font-size: 0.875rem;
  color: #1a1a1a;
  margin-bottom: 0.25rem;
}

.form-field__input,
input[type=text],
input[type=email],
input[type=tel],
input[type=number],
input[type=url],
input[type=search] {
  width: 100%;
  max-width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-family: inherit;
  color: #1a1a1a;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 0.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field__input:focus,
input[type=text]:focus,
input[type=email]:focus,
input[type=tel]:focus,
input[type=number]:focus,
input[type=url]:focus,
input[type=search]:focus {
  outline: none;
  border-color: #5e214d;
  box-shadow: 0 0 0 3px rgba(94, 33, 77, 0.15);
}
.form-field__input::placeholder,
input[type=text]::placeholder,
input[type=email]::placeholder,
input[type=tel]::placeholder,
input[type=number]::placeholder,
input[type=url]::placeholder,
input[type=search]::placeholder {
  color: #6b6b6b;
  opacity: 0.8;
}
.form-field__input:disabled,
input[type=text]:disabled,
input[type=email]:disabled,
input[type=tel]:disabled,
input[type=number]:disabled,
input[type=url]:disabled,
input[type=search]:disabled {
  background: #f0f0f0;
  cursor: not-allowed;
  opacity: 0.7;
}

.form-field__textarea,
textarea {
  width: 100%;
  max-width: 100%;
  min-height: 6rem;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-family: inherit;
  color: #1a1a1a;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 0.5rem;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field__textarea:focus,
textarea:focus {
  outline: none;
  border-color: #5e214d;
  box-shadow: 0 0 0 3px rgba(94, 33, 77, 0.15);
}
.form-field__textarea::placeholder,
textarea::placeholder {
  color: #6b6b6b;
  opacity: 0.8;
}

.form-actions,
[class$=-form] button[type=submit],
[class$=-form] .btn-submit {
  margin-top: 1.5rem;
}

[class$=-form] button[type=submit],
[class$=-form] .btn-submit,
button[type=submit] {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 2rem;
  color: #ffffff;
  background: #ef6b62;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s;
}
[class$=-form] button[type=submit]:hover,
[class$=-form] .btn-submit:hover,
button[type=submit]:hover {
  background: #e55a50;
}
[class$=-form] button[type=submit]:focus,
[class$=-form] .btn-submit:focus,
button[type=submit]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(239, 107, 98, 0.4);
}
[class$=-form] button[type=submit]:disabled,
[class$=-form] .btn-submit:disabled,
button[type=submit]:disabled {
  background: #6b6b6b;
  cursor: not-allowed;
  opacity: 0.7;
}

.form-note,
[class$=__note] {
  font-size: 0.875rem;
  color: #6b6b6b;
  margin-top: 1rem;
}

.content-panel {
  background: #ffffff;
  padding: 3rem 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
@media (min-width: 768px) {
  .content-panel {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
}
.content-panel__body {
  line-height: 1.75;
}
.content-panel__body p {
  margin-bottom: 1rem;
}
.content-panel__body ul, .content-panel__body ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}
.content-panel__body a {
  color: #5e214d;
}

.spacer {
  display: block;
  min-height: 1px;
}

.contact-bar {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid #e5e5e5;
}
.contact-bar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.contact-bar li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.contact-bar__label {
  font-weight: 500;
  color: #6b6b6b;
}
.contact-bar a {
  color: #5e214d;
}
.contact-bar a:hover {
  text-decoration: underline;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}
.testimonials__item {
  background: #ffffff;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #ef6b62;
  margin: 0;
}
.testimonials__photo {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  object-fit: cover;
  margin-bottom: 1rem;
}
.testimonials q {
  display: block;
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: 1rem;
}
.testimonials cite {
  font-size: 0.875rem;
  color: #6b6b6b;
  font-style: normal;
}

.music-widget audio {
  width: 100%;
  max-width: 24rem;
}

.legal-content {
  background: #ffffff;
  padding: 3rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.legal-content .legal-body {
  line-height: 1.75;
  margin-top: 1.5rem;
}
.legal-content .legal-body p {
  margin-bottom: 1rem;
}
.legal-content .legal-body h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
.legal-content .legal-body ul, .legal-content .legal-body ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}
.legal-content .legal-body a {
  color: #5e214d;
}

.split-content-panel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}
@media (max-width: 767px) {
  .split-content-panel__grid {
    grid-template-columns: 1fr;
  }
}
.split-content-panel__grid--mirror {
  direction: rtl;
}
.split-content-panel__grid--mirror > * {
  direction: ltr;
}
.split-content-panel__left, .split-content-panel__right {
  min-height: 12rem;
}
.split-content-panel__body {
  padding: 2rem;
  border-radius: 0.75rem;
}
.split-content-panel__body p {
  margin-bottom: 1rem;
}
.split-content-panel__body a {
  color: #5e214d;
}
.split-content-panel__btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  color: #ffffff;
  background: #ef6b62;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 0.2s;
}
.split-content-panel__btn:hover {
  background: #e55a50;
  text-decoration: none;
}
.split-content-panel__video {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #2d2d2d;
}
.split-content-panel__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.split-content-panel__video-placeholder {
  padding: 1.5rem;
  color: #6b6b6b;
  font-size: 0.875rem;
}
.split-content-panel img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.75rem;
}

.video-widget__embed {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0.75rem;
  background: #2d2d2d;
}
.video-widget__embed--16by9 {
  aspect-ratio: 16/9;
}
.video-widget__embed--4by3 {
  aspect-ratio: 4/3;
}
.video-widget__embed--1by1 {
  aspect-ratio: 1/1;
}
.video-widget__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.video-widget__placeholder {
  padding: 1.5rem;
  color: #6b6b6b;
  font-size: 0.875rem;
}

.pages-grid .container-narrow, .pages-grid__inner {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.pages-grid__heading {
  text-align: center;
  margin-bottom: 2rem;
}
.pages-grid__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem;
}
.pages-grid__item {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}
.pages-grid__item:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transform: translateY(-2px);
}
.pages-grid__item:focus-visible {
  outline: 2px solid #5e214d;
  outline-offset: 2px;
}
.pages-grid__image-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f8f8f8;
}
.pages-grid__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pages-grid__title {
  padding: 1.5rem;
  font-weight: 600;
  color: #5e214d;
  text-align: center;
}

.roster__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem;
}
.roster__item {
  background: #ffffff;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.roster__photo {
  width: 6rem;
  height: 6rem;
  border-radius: 9999px;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
}
.roster h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}
.roster__title {
  font-size: 0.875rem;
  color: #6b6b6b;
  margin-bottom: 0.5rem;
}
.roster__caption {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
.roster p {
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}
.roster a {
  color: #5e214d;
}

.photo-collection,
.photo-gallery {
  padding: 3rem 1.5rem !important;
  width: 100%;
  box-sizing: border-box;
}
.photo-collection__grid,
.photo-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.photo-collection__item, .photo-collection__item figure,
.photo-gallery__item,
.photo-gallery__item figure {
  margin: 0;
  overflow: hidden;
  border-radius: 0.5rem;
}
.photo-collection img,
.photo-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: transform 0.2s;
}
.photo-collection__item:hover img,
.photo-gallery__item:hover img {
  transform: scale(1.03);
}

.navigation-agent-listings__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}
.navigation-agent-listings__item {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}
.navigation-agent-listings__item:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}
.navigation-agent-listings img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.navigation-agent-listings span {
  padding: 1rem;
  font-weight: 500;
  color: #5e214d;
}

.virtual-tours-featured__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}
.virtual-tours-featured__item {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}
.virtual-tours-featured__item:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}
.virtual-tours-featured img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.virtual-tours-featured span {
  padding: 1rem;
  font-weight: 500;
  color: #5e214d;
}

.user-info {
  background: #ffffff;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.user-info__logo {
  max-width: 8rem;
  margin-bottom: 1rem;
}
.user-info__name {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}
.user-info__address {
  color: #6b6b6b;
}
.user-info p {
  margin-bottom: 0.25rem;
}
.user-info a {
  color: #5e214d;
}

.contact-form {
  background: #ffffff;
  padding: 3rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.contact-form__shell {
  margin-top: 1.5rem;
}

.custom-form {
  background: #ffffff;
  padding: 3rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}
.custom-form__form {
  margin-top: 1.5rem;
}

.lead-address {
  background: #ffffff;
  padding: 3rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}
.lead-address__form {
  margin-top: 1.5rem;
}

.home-evaluation-form {
  background: #ffffff;
  padding: 3rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}
.home-evaluation-form__form {
  margin-top: 1.5rem;
}

.home-evaluation-form-variant {
  background: #ffffff;
  padding: 3rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}
.home-evaluation-form-variant__form {
  margin-top: 1.5rem;
}

.lead-pop-up__placeholder {
  padding: 1.5rem;
  color: #6b6b6b;
  font-size: 0.875rem;
  font-style: italic;
}
.lead-pop-up__form {
  margin-top: 1.5rem;
}

.mls-search {
  padding: 0 !important;
}
.mls-search--fullwidth {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.mls-search__hero {
  position: relative;
  min-height: 20rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #2d2d2d;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.mls-search__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}
.mls-search__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  text-align: center;
}
.mls-search__title {
  color: #ffffff !important;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.mls-search__subtitle {
  color: #ffffff;
  opacity: 0.95;
  margin-bottom: 2rem;
}
.mls-search__form {
  max-width: 36rem;
  margin: 0 auto;
}
.mls-search__placeholder {
  color: #ffffff;
  opacity: 0.9;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
}

.mls-featured-properties__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.mls-featured-properties__item {
  background: #ffffff;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  min-height: 8rem;
}
.mls-featured-properties__placeholder {
  color: #6b6b6b;
  font-size: 0.875rem;
}
.mls-featured-properties__fallback {
  color: #6b6b6b;
  font-size: 0.875rem;
  font-style: italic;
}

.my-location-map {
  min-height: 16rem;
  background: #f0f0f0;
  border-radius: 0.75rem;
  overflow: hidden;
}
.my-location-map__container {
  min-height: 16rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.my-location-map__placeholder {
  padding: 2rem;
  color: #6b6b6b;
  font-size: 0.875rem;
  text-align: center;
}

.mls-registration {
  padding: 0 !important;
  position: relative;
  min-height: 20rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #2d2d2d;
  background-image: var(--mls-registration-bg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
.mls-registration__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}
.mls-registration__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  text-align: center;
  color: #ffffff;
}
.mls-registration__panel h2 {
  color: #ffffff !important;
  font-size: 2rem;
  margin-bottom: 1rem;
}
.mls-registration__panel p {
  color: #ffffff;
  opacity: 0.95;
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
.mls-registration__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.mls-registration__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-weight: 600;
  color: #ffffff;
  background: #ef6b62;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 0.2s;
}
.mls-registration__btn:hover {
  background: #e55a50;
  text-decoration: none;
}
.mls-registration__placeholder {
  position: relative;
  z-index: 1;
  color: #ffffff;
  opacity: 0.9;
}

.social-share__meta {
  font-size: 0.875rem;
  color: #6b6b6b;
  margin-bottom: 1rem;
}
.social-share__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.social-share__btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #5e214d;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s;
}
.social-share__btn:hover {
  border-color: #5e214d;
  background: rgba(94, 33, 77, 0.05);
  text-decoration: none;
}

.custom-slider,
.ms-slider {
  position: relative;
  width: 100%;
  min-height: 20rem;
  padding: 0 !important;
  margin-left: 0;
  margin-right: 0;
  background: #2d2d2d;
  overflow: hidden;
  border-radius: 0.75rem;
  --ms-color-primary: #5e214d;
  --ms-color-surface: #2d2d2d;
  --ms-color-text: #ffffff;
  --ms-radius-base: 0.5rem;
  --ms-space-unit: 0.5rem;
}

.custom-slider__slide,
.ms-slider__slide--first {
  position: relative;
  width: 100%;
  min-height: 20rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
}

.custom-slider img,
.custom-slider__slide--first .ms-slider__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.custom-slider__textline {
  position: relative;
  z-index: 2;
  margin: 0.35rem 1rem;
  font-size: 1.25rem;
}

.custom-slider__placeholder {
  display: grid;
  place-items: center;
  min-height: 12rem;
  opacity: 0.7;
}

.search-shell__btn,
.mls-spa-mount .search-shell__btn {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.search-shell__btn--primary,
.mls-spa-mount .search-shell__btn--primary,
.search-shell__error .search-shell__btn--primary,
.filter-popover__apply.search-shell__btn--primary {
  background-color: #ef6b62 !important;
  border-color: #ef6b62 !important;
  color: #ffffff !important;
}
.search-shell__btn--primary:hover:not(:disabled),
.mls-spa-mount .search-shell__btn--primary:hover:not(:disabled),
.search-shell__error .search-shell__btn--primary:hover:not(:disabled),
.filter-popover__apply.search-shell__btn--primary:hover:not(:disabled) {
  background-color: #e55a50 !important;
  border-color: #e55a50 !important;
  color: #ffffff !important;
}
.search-shell__btn--primary:focus,
.mls-spa-mount .search-shell__btn--primary:focus,
.search-shell__error .search-shell__btn--primary:focus,
.filter-popover__apply.search-shell__btn--primary:focus {
  outline: 2px solid #5e214d;
  outline-offset: 2px;
}

.search-shell__btn:not(.search-shell__btn--primary),
.mls-spa-mount .search-shell__btn:not(.search-shell__btn--primary) {
  background-color: #ffffff;
  border-color: #e5e5e5;
  color: #1a1a1a;
}
.search-shell__btn:not(.search-shell__btn--primary):hover,
.mls-spa-mount .search-shell__btn:not(.search-shell__btn--primary):hover {
  background-color: #f0f0f0;
  border-color: #e5e5e5;
}

.search-shell__filter-option,
.mls-spa-mount .search-shell__filter-option {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  border-color: #e5e5e5;
  background-color: #ffffff;
  color: #1a1a1a;
}
.search-shell__filter-option:hover,
.mls-spa-mount .search-shell__filter-option:hover {
  background-color: #f0f0f0;
}

.search-shell__filter-option--active,
.mls-spa-mount .search-shell__filter-option--active {
  background-color: #ef6b62 !important;
  border-color: #ef6b62 !important;
  color: #ffffff !important;
}
.search-shell__filter-option--active:hover,
.mls-spa-mount .search-shell__filter-option--active:hover {
  background-color: #e55a50 !important;
  border-color: #e55a50 !important;
  color: #ffffff !important;
}

.search-shell__login,
.mls-spa-mount .search-shell__login,
.search-shell__auth-guest .search-shell__btn.search-shell__login {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #ef6b62 !important;
  font-weight: 500;
}
.search-shell__login:hover,
.mls-spa-mount .search-shell__login:hover,
.search-shell__auth-guest .search-shell__btn.search-shell__login:hover {
  color: #e55a50 !important;
  text-decoration: underline;
}
.search-shell__login:focus,
.mls-spa-mount .search-shell__login:focus,
.search-shell__auth-guest .search-shell__btn.search-shell__login:focus {
  outline: 2px solid #5e214d;
  outline-offset: 2px;
}

.auth-modal__btn--primary {
  background-color: #ef6b62 !important;
  border-color: #ef6b62 !important;
  color: #ffffff !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
}
.auth-modal__btn--primary:hover:not(:disabled) {
  background-color: #e55a50 !important;
  border-color: #e55a50 !important;
}

.auth-modal__link {
  color: #ef6b62 !important;
}
.auth-modal__link:hover {
  color: #e55a50 !important;
}

.mls-map-popover__link {
  background-color: #ef6b62 !important;
  color: #ffffff !important;
  font-weight: 600;
}
.mls-map-popover__link:hover {
  background-color: #e55a50 !important;
  color: #ffffff !important;
}

.search-shell__filter-btn,
.mls-spa-mount .search-shell__filter-btn {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  border-color: #e5e5e5;
  background-color: #ffffff;
  color: #1a1a1a;
}
.search-shell__filter-btn:hover,
.mls-spa-mount .search-shell__filter-btn:hover {
  background-color: #f0f0f0;
}
.search-shell__filter-btn:focus,
.mls-spa-mount .search-shell__filter-btn:focus {
  outline: 2px solid #5e214d;
  outline-offset: 2px;
}

.search-shell__map,
.mls-spa-mount .search-shell__map {
  --mls-boundary-stroke: #5e214d;
  --mls-boundary-fill: #ef6b62;
  --mls-boundary-fill-opacity: 0.25;
  --mls-boundary-vertex-fill: #ef6b62;
  --mls-boundary-vertex-stroke: #ffffff;
}

.search-shell__map-toolbar-btn,
.mls-spa-mount .search-shell__map-toolbar-btn {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  background-color: #ffffff;
  border-color: #e5e5e5;
  color: #1a1a1a;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.search-shell__map-toolbar-btn:hover:not(:disabled),
.mls-spa-mount .search-shell__map-toolbar-btn:hover:not(:disabled) {
  background-color: #f0f0f0;
  border-color: #e5e5e5;
}
.search-shell__map-toolbar-btn:focus,
.mls-spa-mount .search-shell__map-toolbar-btn:focus {
  outline: 2px solid #5e214d;
  outline-offset: 2px;
}
.search-shell__map-toolbar-btn.search-shell__map-toolbar-btn--active,
.mls-spa-mount .search-shell__map-toolbar-btn.search-shell__map-toolbar-btn--active {
  background-color: #ef6b62 !important;
  border-color: #ef6b62 !important;
  color: #ffffff !important;
}
.search-shell__map-toolbar-btn.search-shell__map-toolbar-btn--active:hover,
.mls-spa-mount .search-shell__map-toolbar-btn.search-shell__map-toolbar-btn--active:hover {
  background-color: #e55a50 !important;
  border-color: #e55a50 !important;
  color: #ffffff !important;
}

@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
  --color-primary: var(--ms-color-primary, #5e214d);
  --color-accent: var(--ms-color-accent, #ef6b62);
  --color-bg: var(--ms-color-surface, #f8f8f8);
  --color-text: var(--ms-color-text, #1a1a1a);
  --font-sans: var(--ms-font-body, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif);
  --font-heading: var(--ms-font-heading, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif);
  --radius-base: var(--ms-radius-base, 0.375rem);
  --container-max: 1200px;
}

@layer base {
  html {
    scroll-behavior: smooth;
  }
  body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-text);
    background-color: var(--color-bg);
  }
  a {
    color: var(--color-primary);
    text-decoration: none;
  }
  a:hover {
    text-decoration: underline;
  }
  h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.25;
  }
}
@layer components {
  .container-narrow {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: opacity 0.2s, background-color 0.2s;
    cursor: pointer;
    border: none;
    text-decoration: none;
  }
  .btn-primary {
    background-color: #ef6b62;
    color: #ffffff;
  }
  .btn-primary:hover {
    background-color: #e55a50;
    text-decoration: none;
  }
  .btn-outline {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
  }
  .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: none;
  }
  .blog-card {
    background: #ffffff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s;
  }
  .blog-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  }
  .widget-placeholder {
    padding: 1.5rem;
    margin: 1rem 0;
    font-size: 0.875rem;
    color: #6b6b6b;
    background: #f0f0f0;
    border: 1px dashed #e5e5e5;
    border-radius: 0.5rem;
    text-align: center;
  }
  .form-disclaimer {
    margin-top: 3rem;
    padding: 1.5rem;
    font-size: 0.875rem;
    color: #6b6b6b;
  }
  .form-disclaimer p {
    margin-bottom: 0.5rem;
  }
  .form-disclaimer a {
    color: #5e214d;
  }
  .legal-content-page {
    padding: 3rem 0;
  }
  .article-body {
    line-height: 1.75;
  }
  .article-body p {
    margin-bottom: 1rem;
  }
  .article-body h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
  }
  .article-body h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
  }
  .article-body ul, .article-body ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
  }
  .article-body img {
    max-width: 100%;
    height: auto;
  }
  .theme-header {
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 50;
    overflow: visible;
  }
  .theme-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 4rem;
    gap: 1.5rem;
    overflow: visible;
  }
  .theme-header__nav {
    overflow: visible;
    flex: 1;
    min-width: 0;
  }
  .theme-header__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.125rem;
    color: #5e214d;
    text-decoration: none;
  }
  .theme-header__logo:hover {
    text-decoration: none;
    color: #4a1a3d;
  }
  .theme-header__logo-icon {
    color: #ef6b62;
    font-size: 1.25rem;
  }
  .theme-header__mobile-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
  }
  .theme-header__hamburger {
    display: block;
    width: 1.5rem;
    height: 2px;
    background: #1a1a1a;
    position: relative;
  }
  .theme-header__hamburger::before, .theme-header__hamburger::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #1a1a1a;
  }
  .theme-header__hamburger::before {
    top: -6px;
  }
  .theme-header__hamburger::after {
    top: 6px;
  }
  .theme-header__nav-list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .theme-header__nav-item {
    position: relative;
  }
  .theme-header__nav-link {
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #1a1a1a;
    padding: 0.5rem 0.25rem;
    display: block;
  }
  .theme-header__nav-link:hover {
    color: #5e214d;
    text-decoration: none;
  }
  .theme-header__nav-link--active {
    color: #5e214d;
    font-weight: 600;
  }
  .theme-header__dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 14rem;
    max-width: 20rem;
    background: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    z-index: 100;
    margin-top: 0;
  }
  .theme-header__nav-item--has-dropdown:hover .theme-header__dropdown,
  .theme-header__nav-item--has-dropdown:focus-within .theme-header__dropdown {
    display: block;
  }
  .theme-header__dropdown-item {
    position: relative;
  }
  .theme-header__dropdown-link {
    display: block;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    color: #1a1a1a;
    text-decoration: none;
    white-space: normal;
    line-height: 1.5;
  }
  .theme-header__dropdown-link:hover {
    background: #f8f8f8;
    color: #5e214d;
    text-decoration: none;
  }
  .theme-header__dropdown-link:focus {
    outline: 2px solid #5e214d;
    outline-offset: 2px;
  }
  .theme-header__dropdown--nested {
    top: 0;
    left: 100%;
    margin-left: 0;
    min-width: 12rem;
  }
  .theme-header__dropdown-item--has-nested:hover .theme-header__dropdown--nested,
  .theme-header__dropdown-item--has-nested:focus-within .theme-header__dropdown--nested {
    display: block;
  }
  @media (max-width: 767px) {
    .theme-header__mobile-toggle {
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .theme-header__nav {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: #ffffff;
      box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s;
    }
    .theme-header__nav--open {
      max-height: 80vh;
      overflow-y: auto;
    }
    .theme-header__nav-list {
      flex-direction: column;
      padding: 1.5rem;
      gap: 0;
      align-items: stretch;
    }
    .theme-header__nav-item--has-dropdown:hover .theme-header__dropdown {
      display: block;
    }
    .theme-header__dropdown {
      position: static;
      display: none;
      box-shadow: none;
      padding: 0 0 0 1.5rem;
      margin: 0.25rem 0;
      border-left: 2px solid #f0f0f0;
    }
    .theme-header__nav-item--has-dropdown .theme-header__dropdown {
      display: block;
    }
    .theme-header__dropdown--nested {
      position: static;
      margin-left: 1.5rem;
      display: block;
      box-shadow: none;
      padding-left: 0;
    }
    .theme-header__nav-link {
      display: block;
      padding: 1rem;
      border-bottom: 1px solid #f0f0f0;
    }
    .theme-header__dropdown-link {
      padding: 0.5rem 1rem;
      border-bottom: 1px solid #f0f0f0;
    }
    .theme-header__cta {
      margin-left: auto;
    }
  }
  .theme-footer__subscribe {
    background: #ffffff;
    padding: 4rem 1.5rem;
  }
  .theme-footer__subscribe-inner {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto;
  }
  .theme-footer__heading {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  .theme-footer__subtext {
    color: #6b6b6b;
    margin-bottom: 2rem;
  }
  .theme-footer__form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
  }
  .theme-footer__input {
    flex: 1;
    min-width: 12rem;
    padding: 1rem 1.5rem;
    border: 1px solid #e5e5e5;
    border-radius: 0.5rem;
    font-size: 1rem;
  }
  .theme-footer__submit {
    flex-shrink: 0;
  }
  .theme-footer__bottom {
    padding: 2rem 1.5rem;
    border-top: 1px solid #e5e5e5;
  }
  .theme-footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
  }
  .theme-footer__left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .theme-footer__nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .theme-footer__nav-link {
    font-size: 0.875rem;
    color: #5e214d;
  }
  .theme-footer__nav-link:hover {
    text-decoration: underline;
  }
  .theme-footer__copyright {
    font-size: 0.75rem;
    color: #6b6b6b;
    margin: 0;
  }
  .theme-footer__powered {
    font-size: 0.75rem;
    color: #6b6b6b;
    margin: 0;
  }
  .theme-footer__powered a {
    color: #5e214d;
  }
  .theme-footer__powered a:hover {
    text-decoration: underline;
  }
  .theme-footer__left .theme-footer__copyright,
  .theme-footer__left .theme-footer__powered {
    margin: 0;
  }
  .theme-footer__social {
    display: flex;
    gap: 1.5rem;
  }
  .theme-footer__social-link {
    font-size: 0.875rem;
    color: #5e214d;
  }
  .theme-footer__social-link:hover {
    text-decoration: underline;
  }
  .theme-blog {
    padding: 3rem 0;
  }
  .theme-blog__title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
  }
  .theme-blog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .theme-blog__card-link {
    display: block;
    color: inherit;
    text-decoration: none;
  }
  .theme-blog__card-link:hover {
    text-decoration: none;
  }
  .theme-blog__card-image {
    aspect-ratio: 3/2;
    overflow: hidden;
    background: #f0f0f0;
  }
  .theme-blog__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .theme-blog__card-content {
    padding: 1.5rem;
  }
  .theme-blog__card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #5e214d;
  }
  .theme-blog__card-excerpt {
    font-size: 0.875rem;
    color: #6b6b6b;
    margin-bottom: 0.5rem;
  }
  .theme-blog__card-date {
    font-size: 0.75rem;
    color: #6b6b6b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .theme-article {
    padding: 3rem 0;
  }
  .theme-article__header {
    margin-bottom: 3rem;
  }
  .theme-article__title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  .theme-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: #6b6b6b;
  }
  .theme-article__body {
    max-width: 65ch;
  }
  .theme-sitemap {
    padding: 3rem 0;
  }
  .theme-sitemap__title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
  }
  .theme-sitemap__intro {
    color: #6b6b6b;
    margin-bottom: 3rem;
  }
  .theme-sitemap__group {
    margin-bottom: 3rem;
  }
  .theme-sitemap__group-title {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: #5e214d;
  }
  .theme-sitemap__list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .theme-sitemap__item {
    margin-bottom: 0.5rem;
  }
  .theme-sitemap__item--nested {
    padding-left: 1.5rem;
  }
  .theme-sitemap__link {
    color: #5e214d;
    text-decoration: none;
  }
  .theme-sitemap__link:hover {
    text-decoration: underline;
  }
  .hero {
    padding: 4rem 1.5rem;
    text-align: center;
    background: #2d2d2d;
    color: #ffffff;
  }
  .hero h1 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  .hero p {
    font-size: 1.125rem;
    opacity: 0.9;
  }
}
