h2 {
    text-transform: none;
    font-weight: 600;
    font-size: 2.2em;
}

h3 {
    text-transform: none;
    font-weight: 600;
    font-size: 1.6em;
}

h4, h5, h6 {
    text-transform: none;
    font-weight: 600;
}

#header .header-top {
    border-bottom-width: 1px;
}

@media (min-width: 992px) {
    #header .header-nav-main nav > ul > li > a {
            text-transform: capitalize;
            font-size: 1.1em;
    }
    #header .header-nav-main.header-nav-main-dropdown-modern nav > ul > li.dropdown .dropdown-menu li a {
            font-weight: 500;
            color: var(--default);
    }
}

.custom-card-info {
    background: transparent;
    max-width: 100%;
}

.custom-card-info.custom-card-info-shadow:before {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    content: '';
    box-shadow: 0 30px 110px #bbb;
    border-radius: .25rem;
    transition: opacity 0.2s ease-in-out;
}

.custom-card-info .custom-card-info-arrow {
    transition: all 0.2s ease-in-out;
    right: 0 !important;
}

.custom-card-info:hover.custom-card-info-shadow:before {
    opacity: 0.5;
}

.custom-card-info:hover .custom-card-info-arrow {
    right: -7px !important;
}

.custom-card-info .card-body {
    padding: 0;
    border-radius: .25rem;
    background: var(--light);
}

.custom-card-info .featured-tag {
    color: var(--light);
    text-transform: uppercase;
    padding: 15px 102px;
    position: absolute;
    right: -24%;
    top: 6%;
    transform: rotate(45deg);
    transition: none 0s ease 0s;
    text-align: inherit;
    line-height: 24px;
    border-width: 0px;
    margin: 0px;
    letter-spacing: -0.5px;
    font-weight: 600;
    font-size: 14px;
}

.custom-card-info .custom-card-info-header {
    border-bottom: 1px solid #E7E7E7;
    padding: 16px;
    padding: 1rem;
}

.custom-card-info .custom-card-info-content {
    padding: 16px;
    padding: 1rem;
}

.custom-card-info-slider {
    max-width: 390px;
}

.custom-card-info-slider .custom-card-info-header {
    padding: 32px;
    padding: 2rem;
}

.custom-card-info-slider .custom-card-info-content {
    padding: 32px;
    padding: 2rem;
}

.custom-card-info-locations img {
    transition: ease all 300ms;
    filter: grayscale(100%);
}

.custom-card-info-locations .card-body:before {
    transition: ease all 300ms;
}

.custom-card-info-locations:hover img {
    filter: none;
}

.custom-card-info-locations:hover .card-body:before {
    opacity: 0.4 !important;
}

.custom-card-info-locations .custom-card-info-desc {
    top: 50%;
    position: absolute;
    transform: translateY(-50%);
    width: 100%;
    text-align: center;
    display: block;
    z-index: 10;
}

.custom-card-info-special-offers .custom-card-info-desc {
    top: 50%;
    position: absolute;
    transform: translateY(-50%);
    width: 100%;
    text-align: center;
    display: block;
    z-index: 10;
}

.custom-view-more svg {
    transition: ease transform 300ms;
}

.custom-view-more:hover svg {
    transform: translate3d(7px, 0, 0);
}

.btn.custom-btn-search-page-header {
    padding-top: 16px;
    padding-top: 1rem;
    padding-bottom: 16px;
    padding-bottom: 1rem;
    position: relative;
    bottom: 5px;
}

.page-header .form-style-3 {
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

#footer {
    border: 0;
    background: #333;
}

#footer .footer-copyright {
    border-top: 1px solid #454545;
    background: #333;
}

#footer .footer-copyright p {
    color: #999;
}

/* Skin */
@media (min-width: 992px) {
    html #header .header-nav:not(.header-nav-line):not(.header-nav-links) .header-nav-main nav > ul:not(:hover) > li.dropdown-full-color.dropdown-quaternary > a.active {
            color: var(--primary);
    }
}

/* ========================================================
   MODULE THEME OVERRIDES — Light Real Estate Theme
   --------------------------------------------------------
   skin-real-estate defines:
     --primary: #1c5fa8 (blue)
     --secondary: #00a4f2 (light blue) → too bright for section bg
     --quaternary: #f4f4f4 (light grey) → good for muted bg
     --dark: #333

   These rules convert the dark module theme to a clean,
   light aesthetic with blue accents.
   ======================================================== */

/* === 1. Section Backgrounds → Light grey === */
html.demo-real-estate .main section[style*="--secondary"]:not(.page-header) {
	background-color: #f4f4f4 !important;
}

/* === 2. Card/Panel Backgrounds → White with subtle border === */
html.demo-real-estate .main section div[style*="background-color: var(--dark)"],
html.demo-real-estate .main section aside [style*="background-color: var(--dark)"] {
	background-color: #fff !important;
	border: 1px solid #e8e8e8 !important;
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

/* === 3. Cards por clase → White with hover === */
html.demo-real-estate .main section[style*="--secondary"] .blog-card,
html.demo-real-estate .main section[style*="--secondary"] .service-card,
html.demo-real-estate .main section[style*="--secondary"] .project-card {
	background-color: #fff !important;
	border: 1px solid #e8e8e8 !important;
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

html.demo-real-estate .main section[style*="--secondary"] .blog-card:hover,
html.demo-real-estate .main section[style*="--secondary"] .service-card:hover,
html.demo-real-estate .main section[style*="--secondary"] .project-card:hover {
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1) !important;
}

/* === 4. Text colors: revert light→dark === */
html.demo-real-estate .main section[style*="--secondary"] [style*="color: var(--light)"] {
	color: #212529 !important;
}

html.demo-real-estate .main section[style*="--secondary"] [style*="color: var(--quaternary)"] {
	color: #777 !important;
}

html.demo-real-estate .main section[style*="--secondary"] strong[style*="--light"] {
	color: #212529 !important;
}

/* === 5. Cyan borders → Subtle grey === */
html.demo-real-estate .main [style*="rgba(0, 240, 255"] {
	border-color: #e8e8e8 !important;
}

html.demo-real-estate .main [style*="border: 1px solid rgba(0, 240, 255"] {
	border: 1px solid #e8e8e8 !important;
}

html.demo-real-estate .main [style*="background-color: rgba(0, 240, 255"] {
	background-color: #f4f4f4 !important;
	border-color: #ddd !important;
}

/* === 6. Gallery filter pills === */
html.demo-real-estate .main .btn-outline-light {
	color: #555 !important;
	border-color: #ccc !important;
	background: #fff !important;
}

html.demo-real-estate .main .btn-outline-light:hover {
	color: var(--primary) !important;
	border-color: var(--primary) !important;
	background: var(--primary-rgba-10) !important;
}

html.demo-real-estate .main .text-muted {
	color: #777 !important;
}

html.demo-real-estate .main .portfolio-grid-item {
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* === 7. FAQs MODULE — Light Theme === */
html.demo-real-estate .faq-category-section {
	background: #fff !important;
	border: 1px solid #e8e8e8 !important;
}

html.demo-real-estate .faq-item {
	background: #fff !important;
	border: 1px solid #e8e8e8 !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

html.demo-real-estate .faq-item:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08) !important;
	border-color: #ddd !important;
}

html.demo-real-estate .faq-question {
	background: #f8f8f8 !important;
	border-bottom: 1px solid #e8e8e8 !important;
}

html.demo-real-estate .faq-question h5 {
	color: #212529 !important;
}

html.demo-real-estate .faq-question:hover h5 {
	color: var(--primary) !important;
}

html.demo-real-estate .faq-answer {
	background: #fff !important;
	border-top: 1px solid #e8e8e8 !important;
}

html.demo-real-estate .faq-content {
	color: #555 !important;
}

html.demo-real-estate .category-header h4 {
	color: #212529 !important;
}

/* === 8. Sidebar card === */
html.demo-real-estate .main aside.card {
	background-color: #fff !important;
	border: 1px solid #e8e8e8 !important;
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

html.demo-real-estate .main aside .card-header {
	background-color: #f8f8f8 !important;
	border-bottom: 1px solid #e8e8e8 !important;
}

html.demo-real-estate .main aside .card-header h5 {
	color: #212529 !important;
}

/* === 9. Category navigation === */
html.demo-real-estate .category-nav-item {
	color: #555 !important;
	border: 1px solid #e8e8e8 !important;
}

html.demo-real-estate .category-nav-item:hover {
	background: var(--primary-rgba-10) !important;
	color: var(--primary) !important;
	border-color: var(--primary-rgba-20) !important;
}

html.demo-real-estate .category-nav-item.active {
	background: var(--primary) !important;
	color: #fff !important;
	border-color: var(--primary) !important;
}

html.demo-real-estate .category-nav-item.active .badge-count {
	background: rgba(255, 255, 255, 0.3) !important;
	color: #fff !important;
}

html.demo-real-estate .badge-count {
	background: #eee !important;
	color: #777 !important;
}

/* === 10. Quick actions === */
html.demo-real-estate .quick-actions {
	background: #f8f8f8 !important;
	border: 1px solid #e8e8e8 !important;
}

html.demo-real-estate .quick-actions h6 {
	color: #212529 !important;
}
