#cluster-map {
    width: 100%;
    height: 500px;
}

#map {
    width: 100%;
    height: 300px;
}

header {
    background-image:
/*make image darker*/
    linear-gradient(
      rgba(0, 0, 0, 0.1),
      rgba(0, 0, 0, 0.1)
    ),
    url("https://i.imgur.com/k8025Lb.jpg") !important;
    background-size: cover !important;
    padding: 100px 0 100px;
    height: 100%;
    width: 100%;
/*    margin-left: -150px;*/
/*    margin-top: -10px;
    margin-right: -150px;*/
    color: white;
}


/*line under the headings*/
.headline {
    line-height: 1.2;
}

.form-contact {
    width: 100%;
    max-width: 600px;
    padding: 10px;
    margin: 0 auto;
  }


:root { --navbar-h: 72px; }

html{
  scroll-padding-top: var(--navbar-h);
}

.center-narrow {
  max-width: 800px;      
  margin: 0 auto;
}


.legal-page,
.info-page {
    max-width: 900px;
    line-height: 1.7;
}

.policy-text {
    white-space: pre-wrap;
    font-size: 1rem;
}

.legal-page h1,
.info-page h1 {
    font-weight: 600;
}

.site-footer a {
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

#faqAccordion .card-header {
    background-color: #f8f9fa;
}

#faqAccordion .btn-link {
    color: #212529;
}

#faqAccordion .btn-link:hover {
    color: #0d6efd;
}

.terms-page {
    max-width: 950px;
    line-height: 1.7;
}

.terms-page p {
    margin-bottom: 0.9rem;
}

.terms-page ul {
    margin-bottom: 1.2rem;
    padding-left: 1.5rem;
}

.terms-page li {
    margin-bottom: 0.35rem;
}

.legal-section {
    margin-bottom: 3rem;
    scroll-margin-top: 90px;
}

.legal-section h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #dee2e6;
}

.terms-toc {
    font-size: 0.95rem;
}

.terms-toc a {
    color: #212529;
    text-decoration: none;
}

.terms-toc a:hover {
    color: #0d6efd;
    text-decoration: underline;
}

.privacy-page {
    max-width: 950px;
    line-height: 1.7;
}

.privacy-page p {
    margin-bottom: 0.9rem;
}

.privacy-page ul {
    margin-bottom: 1.2rem;
    padding-left: 1.5rem;
}

.privacy-page li {
    margin-bottom: 0.35rem;
}

.privacy-page h5 {
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.privacy-toc {
    font-size: 0.95rem;
}

.privacy-toc a {
    color: #212529;
    text-decoration: none;
}

.privacy-toc a:hover {
    color: #0d6efd;
    text-decoration: underline;
}

.faq-page {
    max-width: 950px;
    line-height: 1.7;
}

.faq-category {
    scroll-margin-top: 90px;
}

.faq-category-title {
    font-size: 1.35rem;
    font-weight: 600;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #dee2e6;
}

.faq-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

.faq-card-header {
    background-color: #fff;
    padding: 0;
}

.faq-question {
    color: #212529;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: normal;
}

.faq-question:hover {
    color: #0d6efd;
    text-decoration: none;
}

.faq-plus {
    font-size: 1.25rem;
    line-height: 1;
    margin-left: 1rem;
    color: #6c757d;
}

.faq-answer {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

.faq-answer p:last-child,
.faq-answer ul:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    padding-left: 1.5rem;
}

.faq-answer li {
    margin-bottom: 0.35rem;
}

.faq-quick-links a {
    text-decoration: none;
}

.faq-bottom-cta {
    margin-bottom: 2rem;
}

@media (max-width: 576px) {
    .faq-question {
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
    }

    .faq-category-title {
        font-size: 1.2rem;
    }
}

.site-footer {
    font-size: 0.95rem;
}

.footer-link-row {
    max-width: 620px;
    margin: 0 auto;
}

.footer-link-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-link-heading {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.footer-link-group a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    margin-bottom: 0.45rem;
}

.footer-link-group a:hover {
    color: #ffffff;
    text-decoration: underline;
}

@media (min-width: 768px) {
    .footer-link-row {
        gap: 4rem;
    }

    .footer-link-group {
        min-width: 160px;
    }
}

@media (max-width: 575px) {
    .site-footer {
        font-size: 0.9rem;
    }

    .footer-link-heading {
        font-size: 0.8rem;
    }

    .footer-link-group a {
        margin-bottom: 0.55rem;
    }
}

.currency-select {
    cursor: pointer;
    background-color: #fff;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    appearance: auto;
}

.recent-listing-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.recent-listing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.recent-listing-img {
    height: 150px;
    object-fit: cover;
}

.recent-listing-title {
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 700;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

    min-height: 2.6em;
}

.recent-listing-location {
    font-size: 0.9rem;
    color: #6c757d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recent-listing-price {
    font-size: 0.95rem;
    font-weight: 600;
}

.listing-gallery-main {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.listing-gallery-main-img {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    background: #f8fafc;
}

.listing-gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.listing-gallery-thumb {
    width: 72px;
    height: 72px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
    cursor: pointer;
    flex: 0 0 auto;
}

.listing-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.listing-gallery-thumb.active {
    border-color: #0ea5e9;
}

.listing-gallery-thumb:hover {
    border-color: #38bdf8;
}

@media (max-width: 768px) {
    .listing-gallery-main-img {
        max-height: 430px;
    }

    .listing-gallery-thumb {
        width: 64px;
        height: 64px;
    }
}